1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | interface JQueryAjaxSettings {
|
26 | |
27 |
|
28 |
|
29 | accepts?: any;
|
30 | |
31 |
|
32 |
|
33 | async?: boolean;
|
34 | |
35 |
|
36 |
|
37 | beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;
|
38 | |
39 |
|
40 |
|
41 | cache?: boolean;
|
42 | |
43 |
|
44 |
|
45 | complete? (jqXHR: JQueryXHR, textStatus: string): any;
|
46 | |
47 |
|
48 |
|
49 | contents?: { [key: string]: any; };
|
50 |
|
51 |
|
52 | |
53 |
|
54 |
|
55 | contentType?: any;
|
56 | |
57 |
|
58 |
|
59 | context?: any;
|
60 | |
61 |
|
62 |
|
63 | converters?: { [key: string]: any; };
|
64 | |
65 |
|
66 |
|
67 | crossDomain?: boolean;
|
68 | |
69 |
|
70 |
|
71 | data?: any;
|
72 | |
73 |
|
74 |
|
75 | dataFilter? (data: any, ty: any): any;
|
76 | |
77 |
|
78 |
|
79 | dataType?: string;
|
80 | |
81 |
|
82 |
|
83 | error? (jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any;
|
84 | |
85 |
|
86 |
|
87 | global?: boolean;
|
88 | |
89 |
|
90 |
|
91 | headers?: { [key: string]: any; };
|
92 | |
93 |
|
94 |
|
95 | ifModified?: boolean;
|
96 | |
97 |
|
98 |
|
99 | isLocal?: boolean;
|
100 | |
101 |
|
102 |
|
103 | jsonp?: any;
|
104 | |
105 |
|
106 |
|
107 | jsonpCallback?: any;
|
108 | |
109 |
|
110 |
|
111 | mimeType?: string;
|
112 | |
113 |
|
114 |
|
115 | password?: string;
|
116 | |
117 |
|
118 |
|
119 | processData?: boolean;
|
120 | |
121 |
|
122 |
|
123 | scriptCharset?: string;
|
124 | |
125 |
|
126 |
|
127 | statusCode?: { [key: string]: any; };
|
128 | |
129 |
|
130 |
|
131 | success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;
|
132 | |
133 |
|
134 |
|
135 | timeout?: number;
|
136 | |
137 |
|
138 |
|
139 | traditional?: boolean;
|
140 | |
141 |
|
142 |
|
143 | type?: string;
|
144 | |
145 |
|
146 |
|
147 | url?: string;
|
148 | |
149 |
|
150 |
|
151 | username?: string;
|
152 | |
153 |
|
154 |
|
155 | xhr?: any;
|
156 | |
157 |
|
158 |
|
159 | xhrFields?: { [key: string]: any; };
|
160 | }
|
161 |
|
162 |
|
163 |
|
164 |
|
165 | interface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {
|
166 | |
167 |
|
168 |
|
169 | overrideMimeType(mimeType: string): any;
|
170 | |
171 |
|
172 |
|
173 |
|
174 |
|
175 | abort(statusText?: string): void;
|
176 | |
177 |
|
178 |
|
179 | then(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => void, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<any>;
|
180 | |
181 |
|
182 |
|
183 | responseJSON?: any;
|
184 | }
|
185 |
|
186 |
|
187 |
|
188 |
|
189 | interface JQueryCallback {
|
190 | |
191 |
|
192 |
|
193 |
|
194 |
|
195 | add(callbacks: Function): JQueryCallback;
|
196 | |
197 |
|
198 |
|
199 |
|
200 |
|
201 | add(callbacks: Function[]): JQueryCallback;
|
202 |
|
203 | |
204 |
|
205 |
|
206 | disable(): JQueryCallback;
|
207 |
|
208 | |
209 |
|
210 |
|
211 | disabled(): boolean;
|
212 |
|
213 | |
214 |
|
215 |
|
216 | empty(): JQueryCallback;
|
217 |
|
218 | |
219 |
|
220 |
|
221 |
|
222 |
|
223 | fire(...arguments: any[]): JQueryCallback;
|
224 |
|
225 | |
226 |
|
227 |
|
228 | fired(): boolean;
|
229 |
|
230 | |
231 |
|
232 |
|
233 |
|
234 |
|
235 |
|
236 | fireWith(context?: any, ...args: any[]): JQueryCallback;
|
237 |
|
238 | |
239 |
|
240 |
|
241 |
|
242 |
|
243 | has(callback: Function): boolean;
|
244 |
|
245 | |
246 |
|
247 |
|
248 | lock(): JQueryCallback;
|
249 |
|
250 | |
251 |
|
252 |
|
253 | locked(): boolean;
|
254 |
|
255 | |
256 |
|
257 |
|
258 |
|
259 |
|
260 | remove(callbacks: Function): JQueryCallback;
|
261 | |
262 |
|
263 |
|
264 |
|
265 |
|
266 | remove(callbacks: Function[]): JQueryCallback;
|
267 | }
|
268 |
|
269 |
|
270 |
|
271 |
|
272 | interface JQueryGenericPromise<T> {
|
273 | |
274 |
|
275 |
|
276 |
|
277 |
|
278 |
|
279 | then<U>(doneFilter: (value: T) => U, failFilter?: (reason: any) => U): JQueryGenericPromise<U>;
|
280 | /**
|
281 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
282 | *
|
283 | * @param doneFilter A function that is called when the Deferred is resolved.
|
284 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
285 | */
|
286 | then<U>(doneFilter: (value: T) => JQueryGenericPromise<U>, failFilter?: (reason: any) => U): JQueryGenericPromise<U>;
|
287 | /**
|
288 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
289 | *
|
290 | * @param doneFilter A function that is called when the Deferred is resolved.
|
291 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
292 | */
|
293 | then<U>(doneFilter: (value: T) => U, failFilter?: (reason: any) => JQueryGenericPromise<U>): JQueryGenericPromise<U>;
|
294 | /**
|
295 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
296 | *
|
297 | * @param doneFilter A function that is called when the Deferred is resolved.
|
298 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
299 | */
|
300 | then<U>(doneFilter: (value: T) => JQueryGenericPromise<U>, failFilter?: (reason: any) => JQueryGenericPromise<U>): JQueryGenericPromise<U>;
|
301 | }
|
302 |
|
303 | /**
|
304 | * Interface for the JQuery promise/deferred callbacks
|
305 | */
|
306 | interface JQueryPromiseCallback<T> {
|
307 | (value?: T, ...args: any[]): void;
|
308 | }
|
309 |
|
310 | interface JQueryPromiseOperator<T, R> {
|
311 | (callback: JQueryPromiseCallback<T>, ...callbacks: JQueryPromiseCallback<T>[]): JQueryPromise<R>;
|
312 | (callback: JQueryPromiseCallback<T>[], ...callbacks: JQueryPromiseCallback<T>[]): JQueryPromise<R>;
|
313 | }
|
314 |
|
315 | /**
|
316 | * Interface for the JQuery promise, part of callbacks
|
317 | */
|
318 | interface JQueryPromise<T> {
|
319 | /**
|
320 | * Add handlers to be called when the Deferred object is either resolved or rejected.
|
321 | *
|
322 | * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
|
323 | * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
|
324 | */
|
325 | always: JQueryPromiseOperator<any, T>;
|
326 | /**
|
327 | * Add handlers to be called when the Deferred object is resolved.
|
328 | *
|
329 | * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
|
330 | * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
|
331 | */
|
332 | done: JQueryPromiseOperator<T, T>;
|
333 | /**
|
334 | * Add handlers to be called when the Deferred object is rejected.
|
335 | *
|
336 | * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
|
337 | * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
|
338 | */
|
339 | fail: JQueryPromiseOperator<any, T>;
|
340 | /**
|
341 | * Add handlers to be called when the Deferred object generates progress notifications.
|
342 | *
|
343 | * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
|
344 | */
|
345 | progress(progressCallback: JQueryPromiseCallback<T>): JQueryPromise<T>;
|
346 | progress(progressCallbacks: JQueryPromiseCallback<T>[]): JQueryPromise<T>;
|
347 |
|
348 | /**
|
349 | * Determine the current state of a Deferred object.
|
350 | */
|
351 | state(): string;
|
352 |
|
353 | // Deprecated - given no typings
|
354 | pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
|
355 |
|
356 | /**
|
357 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
358 | *
|
359 | * @param doneFilter A function that is called when the Deferred is resolved.
|
360 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
361 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
362 | */
|
363 | then<U>(doneFilter: (value: T) => U, failFilter?: (...reasons: any[]) => U, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
364 | /**
|
365 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
366 | *
|
367 | * @param doneFilter A function that is called when the Deferred is resolved.
|
368 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
369 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
370 | */
|
371 | then<U>(doneFilter: (value: T) => JQueryGenericPromise<U>, failFilter?: (...reasons: any[]) => U, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
372 | /**
|
373 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
374 | *
|
375 | * @param doneFilter A function that is called when the Deferred is resolved.
|
376 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
377 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
378 | */
|
379 | then<U>(doneFilter: (value: T) => U, failFilter?: (...reasons: any[]) => JQueryGenericPromise<U>, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
380 | /**
|
381 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
382 | *
|
383 | * @param doneFilter A function that is called when the Deferred is resolved.
|
384 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
385 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
386 | */
|
387 | then<U>(doneFilter: (value: T) => JQueryGenericPromise<U>, failFilter?: (...reasons: any[]) => JQueryGenericPromise<U>, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
388 |
|
389 | // Because JQuery Promises Suck
|
390 | /**
|
391 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
392 | *
|
393 | * @param doneFilter A function that is called when the Deferred is resolved.
|
394 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
395 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
396 | */
|
397 | then<U>(doneFilter: (...values: any[]) => U, failFilter?: (...reasons: any[]) => U, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
398 | /**
|
399 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
400 | *
|
401 | * @param doneFilter A function that is called when the Deferred is resolved.
|
402 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
403 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
404 | */
|
405 | then<U>(doneFilter: (...values: any[]) => JQueryGenericPromise<U>, failFilter?: (...reasons: any[]) => U, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
406 | /**
|
407 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
408 | *
|
409 | * @param doneFilter A function that is called when the Deferred is resolved.
|
410 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
411 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
412 | */
|
413 | then<U>(doneFilter: (...values: any[]) => U, failFilter?: (...reasons: any[]) => JQueryGenericPromise<U>, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
414 | /**
|
415 | * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
|
416 | *
|
417 | * @param doneFilter A function that is called when the Deferred is resolved.
|
418 | * @param failFilter An optional function that is called when the Deferred is rejected.
|
419 | * @param progressFilter An optional function that is called when progress notifications are sent to the Deferred.
|
420 | */
|
421 | then<U>(doneFilter: (...values: any[]) => JQueryGenericPromise<U>, failFilter?: (...reasons: any[]) => JQueryGenericPromise<U>, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
|
422 | }
|
423 |
|
424 | /**
|
425 | * Interface for the JQuery deferred, part of callbacks
|
426 | */
|
427 | interface JQueryDeferred<T> extends JQueryPromise<T> {
|
428 | /**
|
429 | * Add handlers to be called when the Deferred object is either resolved or rejected.
|
430 | *
|
431 | * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
|
432 | * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
|
433 | */
|
434 | always(alwaysCallbacks1?: JQueryPromiseCallback<T>, ...alwaysCallbacks2: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
435 | always(alwaysCallbacks1?: JQueryPromiseCallback<T>[], ...alwaysCallbacks2: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
436 | always(alwaysCallbacks1?: JQueryPromiseCallback<T>, ...alwaysCallbacks2: any[]): JQueryDeferred<T>;
|
437 | always(alwaysCallbacks1?: JQueryPromiseCallback<T>[], ...alwaysCallbacks2: any[]): JQueryDeferred<T>;
|
438 | /**
|
439 | * Add handlers to be called when the Deferred object is resolved.
|
440 | *
|
441 | * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
|
442 | * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
|
443 | */
|
444 | done(doneCallbacks1?: JQueryPromiseCallback<T>, ...doneCallbacks2: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
445 | done(doneCallbacks1?: JQueryPromiseCallback<T>[], ...doneCallbacks2: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
446 | done(doneCallbacks1?: JQueryPromiseCallback<T>, ...doneCallbacks2: any[]): JQueryDeferred<T>;
|
447 | done(doneCallbacks1?: JQueryPromiseCallback<T>[], ...doneCallbacks2: any[]): JQueryDeferred<T>;
|
448 | /**
|
449 | * Add handlers to be called when the Deferred object is rejected.
|
450 | *
|
451 | * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
|
452 | * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
|
453 | */
|
454 | fail(failCallbacks1?: JQueryPromiseCallback<T>, ...failCallbacks2: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
455 | fail(failCallbacks1?: JQueryPromiseCallback<T>[], ...failCallbacks2: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
456 | fail(failCallbacks1?: JQueryPromiseCallback<T>, ...failCallbacks2: any[]): JQueryDeferred<T>;
|
457 | fail(failCallbacks1?: JQueryPromiseCallback<T>[], ...failCallbacks2: any[]): JQueryDeferred<T>;
|
458 | /**
|
459 | * Add handlers to be called when the Deferred object generates progress notifications.
|
460 | *
|
461 | * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
|
462 | */
|
463 | progress(progressCallback: JQueryPromiseCallback<T>): JQueryDeferred<T>;
|
464 | progress(progressCallbacks: JQueryPromiseCallback<T>[]): JQueryDeferred<T>;
|
465 |
|
466 | /**
|
467 | * Call the progressCallbacks on a Deferred object with the given args.
|
468 | *
|
469 | * @param args Optional arguments that are passed to the progressCallbacks.
|
470 | */
|
471 | notify(...args: any[]): JQueryDeferred<T>;
|
472 |
|
473 | /**
|
474 | * Call the progressCallbacks on a Deferred object with the given context and args.
|
475 | *
|
476 | * @param context Context passed to the progressCallbacks as the this object.
|
477 | * @param args Optional arguments that are passed to the progressCallbacks.
|
478 | */
|
479 | notifyWith(context: any, ...args: any[]): JQueryDeferred<T>;
|
480 |
|
481 | /**
|
482 | * Reject a Deferred object and call any failCallbacks with the given args.
|
483 | *
|
484 | * @param args Optional arguments that are passed to the failCallbacks.
|
485 | */
|
486 | reject(...args: any[]): JQueryDeferred<T>;
|
487 | /**
|
488 | * Reject a Deferred object and call any failCallbacks with the given context and args.
|
489 | *
|
490 | * @param context Context passed to the failCallbacks as the this object.
|
491 | * @param args An optional array of arguments that are passed to the failCallbacks.
|
492 | */
|
493 | rejectWith(context: any, ...args: any[]): JQueryDeferred<T>;
|
494 |
|
495 | /**
|
496 | * Resolve a Deferred object and call any doneCallbacks with the given args.
|
497 | *
|
498 | * @param value First argument passed to doneCallbacks.
|
499 | * @param args Optional subsequent arguments that are passed to the doneCallbacks.
|
500 | */
|
501 | resolve(value?: T, ...args: any[]): JQueryDeferred<T>;
|
502 |
|
503 | /**
|
504 | * Resolve a Deferred object and call any doneCallbacks with the given context and args.
|
505 | *
|
506 | * @param context Context passed to the doneCallbacks as the this object.
|
507 | * @param args An optional array of arguments that are passed to the doneCallbacks.
|
508 | */
|
509 | resolveWith(context: any, ...args: any[]): JQueryDeferred<T>;
|
510 |
|
511 | /**
|
512 | * Return a Deferred's Promise object.
|
513 | *
|
514 | * @param target Object onto which the promise methods have to be attached
|
515 | */
|
516 | promise(target?: any): JQueryPromise<T>;
|
517 | }
|
518 |
|
519 | /**
|
520 | * Interface of the JQuery extension of the W3C event object
|
521 | */
|
522 | interface BaseJQueryEventObject extends Event {
|
523 | data: any;
|
524 | delegateTarget: Element;
|
525 | isDefaultPrevented(): boolean;
|
526 | isImmediatePropagationStopped(): boolean;
|
527 | isPropagationStopped(): boolean;
|
528 | namespace: string;
|
529 | originalEvent: Event;
|
530 | preventDefault(): any;
|
531 | relatedTarget: Element;
|
532 | result: any;
|
533 | stopImmediatePropagation(): void;
|
534 | stopPropagation(): void;
|
535 | pageX: number;
|
536 | pageY: number;
|
537 | which: number;
|
538 | metaKey: boolean;
|
539 | }
|
540 |
|
541 | interface JQueryInputEventObject extends BaseJQueryEventObject {
|
542 | altKey: boolean;
|
543 | ctrlKey: boolean;
|
544 | metaKey: boolean;
|
545 | shiftKey: boolean;
|
546 | }
|
547 |
|
548 | interface JQueryMouseEventObject extends JQueryInputEventObject {
|
549 | button: number;
|
550 | clientX: number;
|
551 | clientY: number;
|
552 | offsetX: number;
|
553 | offsetY: number;
|
554 | pageX: number;
|
555 | pageY: number;
|
556 | screenX: number;
|
557 | screenY: number;
|
558 | }
|
559 |
|
560 | interface JQueryKeyEventObject extends JQueryInputEventObject {
|
561 | char: any;
|
562 | charCode: number;
|
563 | key: any;
|
564 | keyCode: number;
|
565 | }
|
566 |
|
567 | interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject {
|
568 | }
|
569 |
|
570 | interface JQueryPostMessageEvent extends JQueryEventObject {
|
571 | originalEvent: PostMessageEvent;
|
572 | }
|
573 |
|
574 | interface PostMessageEvent extends BaseJQueryEventObject {
|
575 | data: string;
|
576 | source: Window;
|
577 | }
|
578 |
|
579 | /*
|
580 | Collection of properties of the current browser
|
581 | */
|
582 |
|
583 | interface JQuerySupport {
|
584 | ajax?: boolean;
|
585 | boxModel?: boolean;
|
586 | changeBubbles?: boolean;
|
587 | checkClone?: boolean;
|
588 | checkOn?: boolean;
|
589 | cors?: boolean;
|
590 | cssFloat?: boolean;
|
591 | hrefNormalized?: boolean;
|
592 | htmlSerialize?: boolean;
|
593 | leadingWhitespace?: boolean;
|
594 | noCloneChecked?: boolean;
|
595 | noCloneEvent?: boolean;
|
596 | opacity?: boolean;
|
597 | optDisabled?: boolean;
|
598 | optSelected?: boolean;
|
599 | scriptEval? (): boolean;
|
600 | style?: boolean;
|
601 | submitBubbles?: boolean;
|
602 | tbody?: boolean;
|
603 | }
|
604 |
|
605 | interface JQueryParam {
|
606 | /**
|
607 | * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
|
608 | *
|
609 | * @param obj An array or object to serialize.
|
610 | */
|
611 | (obj: any): string;
|
612 |
|
613 | /**
|
614 | * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
|
615 | *
|
616 | * @param obj An array or object to serialize.
|
617 | * @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization.
|
618 | */
|
619 | (obj: any, traditional: boolean): string;
|
620 | }
|
621 |
|
622 | /**
|
623 | * The interface used to construct jQuery events (with $.Event). It is
|
624 | * defined separately instead of inline in JQueryStatic to allow
|
625 | * overriding the construction function with specific strings
|
626 | * returning specific event objects.
|
627 | */
|
628 | interface JQueryEventConstructor {
|
629 | (name: string, eventProperties?: any): JQueryEventObject;
|
630 | new (name: string, eventProperties?: any): JQueryEventObject;
|
631 | }
|
632 |
|
633 | /**
|
634 | * The interface used to specify coordinates.
|
635 | */
|
636 | interface JQueryCoordinates {
|
637 | left: number;
|
638 | top: number;
|
639 | }
|
640 |
|
641 | interface JQueryAnimationOptions {
|
642 | /**
|
643 | * A string or number determining how long the animation will run.
|
644 | */
|
645 | duration?: any;
|
646 | /**
|
647 | * A string indicating which easing function to use for the transition.
|
648 | */
|
649 | easing?: string;
|
650 | /**
|
651 | * A function to call once the animation is complete.
|
652 | */
|
653 | complete?: Function;
|
654 | /**
|
655 | * A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set.
|
656 | */
|
657 | step?: (now: number, tween: any) => any;
|
658 | |
659 |
|
660 |
|
661 | progress?: (animation: JQueryPromise<any>, progress: number, remainingMs: number) => any;
|
662 | |
663 |
|
664 |
|
665 | start?: (animation: JQueryPromise<any>) => any;
|
666 | |
667 |
|
668 |
|
669 | done?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any;
|
670 | |
671 |
|
672 |
|
673 | fail?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any;
|
674 | |
675 |
|
676 |
|
677 | always?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any;
|
678 | |
679 |
|
680 |
|
681 | queue?: any;
|
682 | |
683 |
|
684 |
|
685 | specialEasing?: Object;
|
686 | }
|
687 |
|
688 |
|
689 |
|
690 |
|
691 | interface JQueryStatic {
|
692 |
|
693 | |
694 |
|
695 |
|
696 |
|
697 |
|
698 | ajax(settings: JQueryAjaxSettings): JQueryXHR;
|
699 | |
700 |
|
701 |
|
702 |
|
703 |
|
704 |
|
705 | ajax(url: string, settings?: JQueryAjaxSettings): JQueryXHR;
|
706 |
|
707 | |
708 |
|
709 |
|
710 |
|
711 |
|
712 |
|
713 | ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
|
714 | |
715 |
|
716 |
|
717 |
|
718 |
|
719 | ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
|
720 |
|
721 | ajaxSettings: JQueryAjaxSettings;
|
722 |
|
723 | |
724 |
|
725 |
|
726 |
|
727 |
|
728 | ajaxSetup(options: JQueryAjaxSettings): void;
|
729 |
|
730 | |
731 |
|
732 |
|
733 |
|
734 |
|
735 |
|
736 |
|
737 | get(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
|
738 | |
739 |
|
740 |
|
741 |
|
742 |
|
743 |
|
744 |
|
745 |
|
746 | get(url: string, data?: Object, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
|
747 | |
748 |
|
749 |
|
750 |
|
751 |
|
752 |
|
753 |
|
754 |
|
755 | get(url: string, data?: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
|
756 | |
757 |
|
758 |
|
759 |
|
760 |
|
761 |
|
762 | getJSON(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
|
763 | |
764 |
|
765 |
|
766 |
|
767 |
|
768 |
|
769 |
|
770 | getJSON(url: string, data?: Object, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
|
771 | |
772 |
|
773 |
|
774 |
|
775 |
|
776 |
|
777 |
|
778 | getJSON(url: string, data?: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
|
779 | |
780 |
|
781 |
|
782 |
|
783 |
|
784 |
|
785 | getScript(url: string, success?: (script: string, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
|
786 |
|
787 | |
788 |
|
789 |
|
790 | param: JQueryParam;
|
791 |
|
792 | |
793 |
|
794 |
|
795 |
|
796 |
|
797 |
|
798 |
|
799 | post(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
|
800 | |
801 |
|
802 |
|
803 |
|
804 |
|
805 |
|
806 |
|
807 |
|
808 | post(url: string, data?: Object, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
|
809 | |
810 |
|
811 |
|
812 |
|
813 |
|
814 |
|
815 |
|
816 |
|
817 | post(url: string, data?: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
|
818 |
|
819 | |
820 |
|
821 |
|
822 |
|
823 |
|
824 | Callbacks(flags?: string): JQueryCallback;
|
825 |
|
826 | |
827 |
|
828 |
|
829 |
|
830 |
|
831 | holdReady(hold: boolean): void;
|
832 |
|
833 | |
834 |
|
835 |
|
836 |
|
837 |
|
838 |
|
839 | (selector: string, context?: Element): JQuery;
|
840 | |
841 |
|
842 |
|
843 |
|
844 |
|
845 |
|
846 | (selector: string, context?: JQuery): JQuery;
|
847 | |
848 |
|
849 |
|
850 |
|
851 |
|
852 | (element: Element): JQuery;
|
853 | |
854 |
|
855 |
|
856 |
|
857 |
|
858 | (elementArray: Element[]): JQuery;
|
859 | |
860 |
|
861 |
|
862 |
|
863 |
|
864 | (object: {}): JQuery;
|
865 | |
866 |
|
867 |
|
868 |
|
869 |
|
870 | (object: JQuery): JQuery;
|
871 | |
872 |
|
873 |
|
874 | (): JQuery;
|
875 |
|
876 | |
877 |
|
878 |
|
879 |
|
880 |
|
881 |
|
882 | (html: string, ownerDocument?: Document): JQuery;
|
883 | |
884 |
|
885 |
|
886 |
|
887 |
|
888 |
|
889 | (html: string, attributes: Object): JQuery;
|
890 |
|
891 | |
892 |
|
893 |
|
894 |
|
895 |
|
896 | (callback: Function): JQuery;
|
897 |
|
898 | |
899 |
|
900 |
|
901 |
|
902 |
|
903 | noConflict(removeAll?: boolean): Object;
|
904 |
|
905 | |
906 |
|
907 |
|
908 |
|
909 |
|
910 | when<T>(...deferreds: JQueryGenericPromise<T>[]): JQueryPromise<T>;
|
911 | |
912 |
|
913 |
|
914 |
|
915 |
|
916 | when<T>(...deferreds: T[]): JQueryPromise<T>;
|
917 | |
918 |
|
919 |
|
920 |
|
921 |
|
922 | when<T>(...deferreds: any[]): JQueryPromise<T>;
|
923 |
|
924 | |
925 |
|
926 |
|
927 | cssHooks: { [key: string]: any; };
|
928 | cssNumber: any;
|
929 |
|
930 | |
931 |
|
932 |
|
933 |
|
934 |
|
935 |
|
936 |
|
937 | data<T>(element: Element, key: string, value: T): T;
|
938 | |
939 |
|
940 |
|
941 |
|
942 |
|
943 |
|
944 | data(element: Element, key: string): any;
|
945 | |
946 |
|
947 |
|
948 |
|
949 |
|
950 | data(element: Element): any;
|
951 |
|
952 | |
953 |
|
954 |
|
955 |
|
956 |
|
957 |
|
958 | dequeue(element: Element, queueName?: string): void;
|
959 |
|
960 | |
961 |
|
962 |
|
963 |
|
964 |
|
965 | hasData(element: Element): boolean;
|
966 |
|
967 | |
968 |
|
969 |
|
970 |
|
971 |
|
972 |
|
973 | queue(element: Element, queueName?: string): any[];
|
974 | |
975 |
|
976 |
|
977 |
|
978 |
|
979 |
|
980 |
|
981 | queue(element: Element, queueName: string, newQueue: Function[]): JQuery;
|
982 | |
983 |
|
984 |
|
985 |
|
986 |
|
987 |
|
988 |
|
989 | queue(element: Element, queueName: string, callback: Function): JQuery;
|
990 |
|
991 | |
992 |
|
993 |
|
994 |
|
995 |
|
996 |
|
997 | removeData(element: Element, name?: string): JQuery;
|
998 |
|
999 | |
1000 |
|
1001 |
|
1002 |
|
1003 |
|
1004 | Deferred<T>(beforeStart?: (deferred: JQueryDeferred<T>) => any): JQueryDeferred<T>;
|
1005 |
|
1006 | /**
|
1007 | * Effects
|
1008 | */
|
1009 | fx: {
|
1010 | tick: () => void;
|
1011 | |
1012 |
|
1013 |
|
1014 | interval: number;
|
1015 | stop: () => void;
|
1016 | speeds: { slow: number; fast: number; };
|
1017 | |
1018 |
|
1019 |
|
1020 | off: boolean;
|
1021 | step: any;
|
1022 | };
|
1023 |
|
1024 | |
1025 |
|
1026 |
|
1027 |
|
1028 |
|
1029 |
|
1030 |
|
1031 | proxy(fnction: (...args: any[]) => any, context: Object, ...additionalArguments: any[]): any;
|
1032 | |
1033 |
|
1034 |
|
1035 |
|
1036 |
|
1037 |
|
1038 |
|
1039 | proxy(context: Object, name: string, ...additionalArguments: any[]): any;
|
1040 |
|
1041 | Event: JQueryEventConstructor;
|
1042 |
|
1043 | |
1044 |
|
1045 |
|
1046 |
|
1047 |
|
1048 | error(message: any): JQuery;
|
1049 |
|
1050 | expr: any;
|
1051 | fn: any;
|
1052 |
|
1053 | isReady: boolean;
|
1054 |
|
1055 |
|
1056 | support: JQuerySupport;
|
1057 |
|
1058 | |
1059 |
|
1060 |
|
1061 |
|
1062 |
|
1063 |
|
1064 | contains(container: Element, contained: Element): boolean;
|
1065 |
|
1066 | |
1067 |
|
1068 |
|
1069 |
|
1070 |
|
1071 |
|
1072 | each<T>(
|
1073 | collection: T[],
|
1074 | callback: (indexInArray: number, valueOfElement: T) => any
|
1075 | ): any;
|
1076 |
|
1077 | |
1078 |
|
1079 |
|
1080 |
|
1081 |
|
1082 |
|
1083 | each(
|
1084 | collection: any,
|
1085 | callback: (indexInArray: any, valueOfElement: any) => any
|
1086 | ): any;
|
1087 |
|
1088 | |
1089 |
|
1090 |
|
1091 |
|
1092 |
|
1093 |
|
1094 |
|
1095 | extend(target: any, object1?: any, ...objectN: any[]): any;
|
1096 | |
1097 |
|
1098 |
|
1099 |
|
1100 |
|
1101 |
|
1102 |
|
1103 |
|
1104 | extend(deep: boolean, target: any, object1?: any, ...objectN: any[]): any;
|
1105 |
|
1106 | |
1107 |
|
1108 |
|
1109 |
|
1110 |
|
1111 | globalEval(code: string): any;
|
1112 |
|
1113 | |
1114 |
|
1115 |
|
1116 |
|
1117 |
|
1118 |
|
1119 |
|
1120 | grep<T>(array: T[], func: (elementOfArray: T, indexInArray: number) => boolean, invert?: boolean): T[];
|
1121 |
|
1122 | /**
|
1123 | * Search for a specified value within an array and return its index (or -1 if not found).
|
1124 | *
|
1125 | * @param value The value to search for.
|
1126 | * @param array An array through which to search.
|
1127 | * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array.
|
1128 | */
|
1129 | inArray<T>(value: T, array: T[], fromIndex?: number): number;
|
1130 |
|
1131 | /**
|
1132 | * Determine whether the argument is an array.
|
1133 | *
|
1134 | * @param obj Object to test whether or not it is an array.
|
1135 | */
|
1136 | isArray(obj: any): boolean;
|
1137 | /**
|
1138 | * Check to see if an object is empty (contains no enumerable properties).
|
1139 | *
|
1140 | * @param obj The object that will be checked to see if it's empty.
|
1141 | */
|
1142 | isEmptyObject(obj: any): boolean;
|
1143 | /**
|
1144 | * Determine if the argument passed is a Javascript function object.
|
1145 | *
|
1146 | * @param obj Object to test whether or not it is a function.
|
1147 | */
|
1148 | isFunction(obj: any): boolean;
|
1149 | /**
|
1150 | * Determines whether its argument is a number.
|
1151 | *
|
1152 | * @param obj The value to be tested.
|
1153 | */
|
1154 | isNumeric(value: any): boolean;
|
1155 | /**
|
1156 | * Check to see if an object is a plain object (created using "{}" or "new Object").
|
1157 | *
|
1158 | * @param obj The object that will be checked to see if it's a plain object.
|
1159 | */
|
1160 | isPlainObject(obj: any): boolean;
|
1161 | /**
|
1162 | * Determine whether the argument is a window.
|
1163 | *
|
1164 | * @param obj Object to test whether or not it is a window.
|
1165 | */
|
1166 | isWindow(obj: any): boolean;
|
1167 | /**
|
1168 | * Check to see if a DOM node is within an XML document (or is an XML document).
|
1169 | *
|
1170 | * @param node he DOM node that will be checked to see if it's in an XML document.
|
1171 | */
|
1172 | isXMLDoc(node: Node): boolean;
|
1173 |
|
1174 | /**
|
1175 | * Convert an array-like object into a true JavaScript array.
|
1176 | *
|
1177 | * @param obj Any object to turn into a native Array.
|
1178 | */
|
1179 | makeArray(obj: any): any[];
|
1180 |
|
1181 | /**
|
1182 | * Translate all items in an array or object to new array of items.
|
1183 | *
|
1184 | * @param array The Array to translate.
|
1185 | * @param callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object.
|
1186 | */
|
1187 | map<T, U>(array: T[], callback: (elementOfArray: T, indexInArray: number) => U): U[];
|
1188 | /**
|
1189 | * Translate all items in an array or object to new array of items.
|
1190 | *
|
1191 | * @param arrayOrObject The Array or Object to translate.
|
1192 | * @param callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.
|
1193 | */
|
1194 | map(arrayOrObject: any, callback: (value: any, indexOrKey: any) => any): any;
|
1195 |
|
1196 | /**
|
1197 | * Merge the contents of two arrays together into the first array.
|
1198 | *
|
1199 | * @param first The first array to merge, the elements of second added.
|
1200 | * @param second The second array to merge into the first, unaltered.
|
1201 | */
|
1202 | merge<T>(first: T[], second: T[]): T[];
|
1203 |
|
1204 | /**
|
1205 | * An empty function.
|
1206 | */
|
1207 | noop(): any;
|
1208 |
|
1209 | /**
|
1210 | * Return a number representing the current time.
|
1211 | */
|
1212 | now(): number;
|
1213 |
|
1214 | /**
|
1215 | * Takes a well-formed JSON string and returns the resulting JavaScript object.
|
1216 | *
|
1217 | * @param json The JSON string to parse.
|
1218 | */
|
1219 | parseJSON(json: string): any;
|
1220 |
|
1221 | /**
|
1222 | * Parses a string into an XML document.
|
1223 | *
|
1224 | * @param data a well-formed XML string to be parsed
|
1225 | */
|
1226 | parseXML(data: string): XMLDocument;
|
1227 |
|
1228 | /**
|
1229 | * Remove the whitespace from the beginning and end of a string.
|
1230 | *
|
1231 | * @param str Remove the whitespace from the beginning and end of a string.
|
1232 | */
|
1233 | trim(str: string): string;
|
1234 |
|
1235 | /**
|
1236 | * Determine the internal JavaScript [[Class]] of an object.
|
1237 | *
|
1238 | * @param obj Object to get the internal JavaScript [[Class]] of.
|
1239 | */
|
1240 | type(obj: any): string;
|
1241 |
|
1242 | /**
|
1243 | * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.
|
1244 | *
|
1245 | * @param array The Array of DOM elements.
|
1246 | */
|
1247 | unique(array: Element[]): Element[];
|
1248 |
|
1249 | /**
|
1250 | * Parses a string into an array of DOM nodes.
|
1251 | *
|
1252 | * @param data HTML string to be parsed
|
1253 | * @param context DOM element to serve as the context in which the HTML fragment will be created
|
1254 | * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string
|
1255 | */
|
1256 | parseHTML(data: string, context?: HTMLElement, keepScripts?: boolean): any[];
|
1257 |
|
1258 | /**
|
1259 | * Parses a string into an array of DOM nodes.
|
1260 | *
|
1261 | * @param data HTML string to be parsed
|
1262 | * @param context DOM element to serve as the context in which the HTML fragment will be created
|
1263 | * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string
|
1264 | */
|
1265 | parseHTML(data: string, context?: Document, keepScripts?: boolean): any[];
|
1266 | }
|
1267 |
|
1268 | /**
|
1269 | * The jQuery instance members
|
1270 | */
|
1271 | interface JQuery {
|
1272 | /**
|
1273 | * Register a handler to be called when Ajax requests complete. This is an AjaxEvent.
|
1274 | *
|
1275 | * @param handler The function to be invoked.
|
1276 | */
|
1277 | ajaxComplete(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any): JQuery;
|
1278 | /**
|
1279 | * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
|
1280 | *
|
1281 | * @param handler The function to be invoked.
|
1282 | */
|
1283 | ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): JQuery;
|
1284 | /**
|
1285 | * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
|
1286 | *
|
1287 | * @param handler The function to be invoked.
|
1288 | */
|
1289 | ajaxSend(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
|
1290 | /**
|
1291 | * Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
|
1292 | *
|
1293 | * @param handler The function to be invoked.
|
1294 | */
|
1295 | ajaxStart(handler: () => any): JQuery;
|
1296 | /**
|
1297 | * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
|
1298 | *
|
1299 | * @param handler The function to be invoked.
|
1300 | */
|
1301 | ajaxStop(handler: () => any): JQuery;
|
1302 | /**
|
1303 | * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
|
1304 | *
|
1305 | * @param handler The function to be invoked.
|
1306 | */
|
1307 | ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
|
1308 |
|
1309 | /**
|
1310 | * Load data from the server and place the returned HTML into the matched element.
|
1311 | *
|
1312 | * @param url A string containing the URL to which the request is sent.
|
1313 | * @param data A plain object or string that is sent to the server with the request.
|
1314 | * @param complete A callback function that is executed when the request completes.
|
1315 | */
|
1316 | load(url: string, data?: string, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery;
|
1317 | /**
|
1318 | * Load data from the server and place the returned HTML into the matched element.
|
1319 | *
|
1320 | * @param url A string containing the URL to which the request is sent.
|
1321 | * @param data A plain object or string that is sent to the server with the request.
|
1322 | * @param complete A callback function that is executed when the request completes.
|
1323 | */
|
1324 | load(url: string, data?: Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery;
|
1325 |
|
1326 | /**
|
1327 | * Encode a set of form elements as a string for submission.
|
1328 | */
|
1329 | serialize(): string;
|
1330 | /**
|
1331 | * Encode a set of form elements as an array of names and values.
|
1332 | */
|
1333 | serializeArray(): Object[];
|
1334 |
|
1335 | /**
|
1336 | * Adds the specified class(es) to each of the set of matched elements.
|
1337 | *
|
1338 | * @param className One or more space-separated classes to be added to the class attribute of each matched element.
|
1339 | */
|
1340 | addClass(className: string): JQuery;
|
1341 | /**
|
1342 | * Adds the specified class(es) to each of the set of matched elements.
|
1343 | *
|
1344 | * @param function A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set.
|
1345 | */
|
1346 | addClass(func: (index: number, className: string) => string): JQuery;
|
1347 |
|
1348 | /**
|
1349 | * Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
|
1350 | */
|
1351 | addBack(selector?: string): JQuery;
|
1352 |
|
1353 | /**
|
1354 | * Get the value of an attribute for the first element in the set of matched elements.
|
1355 | *
|
1356 | * @param attributeName The name of the attribute to get.
|
1357 | */
|
1358 | attr(attributeName: string): string;
|
1359 | /**
|
1360 | * Set one or more attributes for the set of matched elements.
|
1361 | *
|
1362 | * @param attributeName The name of the attribute to set.
|
1363 | * @param value A value to set for the attribute.
|
1364 | */
|
1365 | attr(attributeName: string, value: string): JQuery;
|
1366 | /**
|
1367 | * Set one or more attributes for the set of matched elements.
|
1368 | *
|
1369 | * @param attributeName The name of the attribute to set.
|
1370 | * @param value A value to set for the attribute.
|
1371 | */
|
1372 | attr(attributeName: string, value: number): JQuery;
|
1373 | /**
|
1374 | * Set one or more attributes for the set of matched elements.
|
1375 | *
|
1376 | * @param attributeName The name of the attribute to set.
|
1377 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.
|
1378 | */
|
1379 | attr(attributeName: string, func: (index: number, attr: any) => any): JQuery;
|
1380 | /**
|
1381 | * Set one or more attributes for the set of matched elements.
|
1382 | *
|
1383 | * @param attributes An object of attribute-value pairs to set.
|
1384 | */
|
1385 | attr(attributes: Object): JQuery;
|
1386 |
|
1387 | /**
|
1388 | * Determine whether any of the matched elements are assigned the given class.
|
1389 | *
|
1390 | * @param className The class name to search for.
|
1391 | */
|
1392 | hasClass(className: string): boolean;
|
1393 |
|
1394 | /**
|
1395 | * Get the HTML contents of the first element in the set of matched elements.
|
1396 | */
|
1397 | html(): string;
|
1398 | /**
|
1399 | * Set the HTML contents of each element in the set of matched elements.
|
1400 | *
|
1401 | * @param htmlString A string of HTML to set as the content of each matched element.
|
1402 | */
|
1403 | html(htmlString: string): JQuery;
|
1404 | /**
|
1405 | * Set the HTML contents of each element in the set of matched elements.
|
1406 | *
|
1407 | * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.
|
1408 | */
|
1409 | html(func: (index: number, oldhtml: string) => string): JQuery;
|
1410 | /**
|
1411 | * Set the HTML contents of each element in the set of matched elements.
|
1412 | *
|
1413 | * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.
|
1414 | */
|
1415 |
|
1416 | /**
|
1417 | * Get the value of a property for the first element in the set of matched elements.
|
1418 | *
|
1419 | * @param propertyName The name of the property to get.
|
1420 | */
|
1421 | prop(propertyName: string): any;
|
1422 | /**
|
1423 | * Set one or more properties for the set of matched elements.
|
1424 | *
|
1425 | * @param propertyName The name of the property to set.
|
1426 | * @param value A value to set for the property.
|
1427 | */
|
1428 | prop(propertyName: string, value: string): JQuery;
|
1429 | /**
|
1430 | * Set one or more properties for the set of matched elements.
|
1431 | *
|
1432 | * @param propertyName The name of the property to set.
|
1433 | * @param value A value to set for the property.
|
1434 | */
|
1435 | prop(propertyName: string, value: number): JQuery;
|
1436 | /**
|
1437 | * Set one or more properties for the set of matched elements.
|
1438 | *
|
1439 | * @param propertyName The name of the property to set.
|
1440 | * @param value A value to set for the property.
|
1441 | */
|
1442 | prop(propertyName: string, value: boolean): JQuery;
|
1443 | /**
|
1444 | * Set one or more properties for the set of matched elements.
|
1445 | *
|
1446 | * @param properties An object of property-value pairs to set.
|
1447 | */
|
1448 | prop(properties: Object): JQuery;
|
1449 | /**
|
1450 | * Set one or more properties for the set of matched elements.
|
1451 | *
|
1452 | * @param propertyName The name of the property to set.
|
1453 | * @param func A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.
|
1454 | */
|
1455 | prop(propertyName: string, func: (index: number, oldPropertyValue: any) => any): JQuery;
|
1456 |
|
1457 | /**
|
1458 | * Remove an attribute from each element in the set of matched elements.
|
1459 | *
|
1460 | * @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.
|
1461 | */
|
1462 | removeAttr(attributeName: string): JQuery;
|
1463 |
|
1464 | /**
|
1465 | * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
|
1466 | *
|
1467 | * @param className One or more space-separated classes to be removed from the class attribute of each matched element.
|
1468 | */
|
1469 | removeClass(className?: string): JQuery;
|
1470 | /**
|
1471 | * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
|
1472 | *
|
1473 | * @param function A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments.
|
1474 | */
|
1475 | removeClass(func: (index: number, className: string) => string): JQuery;
|
1476 |
|
1477 | /**
|
1478 | * Remove a property for the set of matched elements.
|
1479 | *
|
1480 | * @param propertyName The name of the property to remove.
|
1481 | */
|
1482 | removeProp(propertyName: string): JQuery;
|
1483 |
|
1484 | /**
|
1485 | * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
1486 | *
|
1487 | * @param className One or more class names (separated by spaces) to be toggled for each element in the matched set.
|
1488 | * @param swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.
|
1489 | */
|
1490 | toggleClass(className: string, swtch?: boolean): JQuery;
|
1491 | /**
|
1492 | * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
1493 | *
|
1494 | * @param swtch A boolean value to determine whether the class should be added or removed.
|
1495 | */
|
1496 | toggleClass(swtch?: boolean): JQuery;
|
1497 | /**
|
1498 | * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
1499 | *
|
1500 | * @param func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments.
|
1501 | * @param swtch A boolean value to determine whether the class should be added or removed.
|
1502 | */
|
1503 | toggleClass(func: (index: number, className: string, swtch: boolean) => string, swtch?: boolean): JQuery;
|
1504 |
|
1505 | /**
|
1506 | * Get the current value of the first element in the set of matched elements.
|
1507 | */
|
1508 | val(): any;
|
1509 | /**
|
1510 | * Set the value of each element in the set of matched elements.
|
1511 | *
|
1512 | * @param value A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.
|
1513 | */
|
1514 | val(value: string): JQuery;
|
1515 | /**
|
1516 | * Set the value of each element in the set of matched elements.
|
1517 | *
|
1518 | * @param value A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.
|
1519 | */
|
1520 | val(value: string[]): JQuery;
|
1521 | /**
|
1522 | * Set the value of each element in the set of matched elements.
|
1523 | *
|
1524 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1525 | */
|
1526 | val(func: (index: number, value: string) => string): JQuery;
|
1527 | /**
|
1528 | * Set the value of each element in the set of matched elements.
|
1529 | *
|
1530 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1531 | */
|
1532 | val(func: (index: number, value: string[]) => string): JQuery;
|
1533 | /**
|
1534 | * Set the value of each element in the set of matched elements.
|
1535 | *
|
1536 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1537 | */
|
1538 | val(func: (index: number, value: number) => string): JQuery;
|
1539 | /**
|
1540 | * Set the value of each element in the set of matched elements.
|
1541 | *
|
1542 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1543 | */
|
1544 | val(func: (index: number, value: string) => string[]): JQuery;
|
1545 | /**
|
1546 | * Set the value of each element in the set of matched elements.
|
1547 | *
|
1548 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1549 | */
|
1550 | val(func: (index: number, value: string[]) => string[]): JQuery;
|
1551 | /**
|
1552 | * Set the value of each element in the set of matched elements.
|
1553 | *
|
1554 | * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1555 | */
|
1556 | val(func: (index: number, value: number) => string[]): JQuery;
|
1557 |
|
1558 | /**
|
1559 | * Get the value of style properties for the first element in the set of matched elements.
|
1560 | *
|
1561 | * @param propertyName A CSS property.
|
1562 | */
|
1563 | css(propertyName: string): string;
|
1564 | /**
|
1565 | * Set one or more CSS properties for the set of matched elements.
|
1566 | *
|
1567 | * @param propertyName A CSS property name.
|
1568 | * @param value A value to set for the property.
|
1569 | */
|
1570 | css(propertyName: string, value: string): JQuery;
|
1571 | /**
|
1572 | * Set one or more CSS properties for the set of matched elements.
|
1573 | *
|
1574 | * @param propertyName A CSS property name.
|
1575 | * @param value A value to set for the property.
|
1576 | */
|
1577 | css(propertyName: string, value: number): JQuery;
|
1578 | /**
|
1579 | * Set one or more CSS properties for the set of matched elements.
|
1580 | *
|
1581 | * @param propertyName A CSS property name.
|
1582 | * @param value A value to set for the property.
|
1583 | */
|
1584 | css(propertyName: string, value: string[]): JQuery;
|
1585 | /**
|
1586 | * Set one or more CSS properties for the set of matched elements.
|
1587 | *
|
1588 | * @param propertyName A CSS property name.
|
1589 | * @param value A value to set for the property.
|
1590 | */
|
1591 | css(propertyName: string, value: number[]): JQuery;
|
1592 | /**
|
1593 | * Set one or more CSS properties for the set of matched elements.
|
1594 | *
|
1595 | * @param propertyName A CSS property name.
|
1596 | * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1597 | */
|
1598 | css(propertyName: string, value: (index: number, value: string) => string): JQuery;
|
1599 | /**
|
1600 | * Set one or more CSS properties for the set of matched elements.
|
1601 | *
|
1602 | * @param propertyName A CSS property name.
|
1603 | * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
1604 | */
|
1605 | css(propertyName: string, value: (index: number, value: number) => number): JQuery;
|
1606 | /**
|
1607 | * Set one or more CSS properties for the set of matched elements.
|
1608 | *
|
1609 | * @param properties An object of property-value pairs to set.
|
1610 | */
|
1611 | css(properties: Object): JQuery;
|
1612 |
|
1613 | /**
|
1614 | * Get the current computed height for the first element in the set of matched elements.
|
1615 | */
|
1616 | height(): number;
|
1617 | /**
|
1618 | * Set the CSS height of every matched element.
|
1619 | *
|
1620 | * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).
|
1621 | */
|
1622 | height(value: number): JQuery;
|
1623 | /**
|
1624 | * Set the CSS height of every matched element.
|
1625 | *
|
1626 | * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).
|
1627 | */
|
1628 | height(value: string): JQuery;
|
1629 | /**
|
1630 | * Set the CSS height of every matched element.
|
1631 | *
|
1632 | * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.
|
1633 | */
|
1634 | height(func: (index: number, height: number) => number): JQuery;
|
1635 | /**
|
1636 | * Set the CSS height of every matched element.
|
1637 | *
|
1638 | * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.
|
1639 | */
|
1640 | height(func: (index: number, height: string) => string): JQuery;
|
1641 | /**
|
1642 | * Set the CSS height of every matched element.
|
1643 | *
|
1644 | * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.
|
1645 | */
|
1646 | height(func: (index: number, height: string) => number): JQuery;
|
1647 | /**
|
1648 | * Set the CSS height of every matched element.
|
1649 | *
|
1650 | * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.
|
1651 | */
|
1652 | height(func: (index: number, height: number) => string): JQuery;
|
1653 |
|
1654 | /**
|
1655 | * Get the current computed height for the first element in the set of matched elements, including padding but not border.
|
1656 | */
|
1657 | innerHeight(): number;
|
1658 |
|
1659 | /**
|
1660 | * Sets the inner height on elements in the set of matched elements, including padding but not border.
|
1661 | *
|
1662 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1663 | */
|
1664 | innerHeight(height: number): JQuery;
|
1665 |
|
1666 | /**
|
1667 | * Sets the inner height on elements in the set of matched elements, including padding but not border.
|
1668 | *
|
1669 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1670 | */
|
1671 | innerHeight(height: string): JQuery;
|
1672 |
|
1673 | /**
|
1674 | * Get the current computed width for the first element in the set of matched elements, including padding but not border.
|
1675 | */
|
1676 | innerWidth(): number;
|
1677 |
|
1678 | /**
|
1679 | * Sets the inner width on elements in the set of matched elements, including padding but not border.
|
1680 | *
|
1681 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1682 | */
|
1683 | innerWidth(width: number): JQuery;
|
1684 |
|
1685 | /**
|
1686 | * Sets the inner width on elements in the set of matched elements, including padding but not border.
|
1687 | *
|
1688 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1689 | */
|
1690 | innerWidth(width: string): JQuery;
|
1691 |
|
1692 | /**
|
1693 | * Get the current coordinates of the first element in the set of matched elements, relative to the document.
|
1694 | */
|
1695 | offset(): JQueryCoordinates;
|
1696 | /**
|
1697 | * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
|
1698 | *
|
1699 | * @param coordinates An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
|
1700 | */
|
1701 | offset(coordinates: JQueryCoordinates): JQuery;
|
1702 | /**
|
1703 | * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
|
1704 | *
|
1705 | * @param func A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.
|
1706 | */
|
1707 | offset(func: (index: number, coords: JQueryCoordinates) => JQueryCoordinates): JQuery;
|
1708 |
|
1709 | /**
|
1710 | * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements.
|
1711 | *
|
1712 | * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.
|
1713 | */
|
1714 | outerHeight(includeMargin?: boolean): number;
|
1715 |
|
1716 | /**
|
1717 | * Sets the outer height on elements in the set of matched elements, including padding and border.
|
1718 | *
|
1719 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1720 | */
|
1721 | outerHeight(height: number): JQuery;
|
1722 |
|
1723 | /**
|
1724 | * Sets the outer height on elements in the set of matched elements, including padding and border.
|
1725 | *
|
1726 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1727 | */
|
1728 | outerHeight(height: string): JQuery;
|
1729 |
|
1730 | /**
|
1731 | * Get the current computed width for the first element in the set of matched elements, including padding and border.
|
1732 | *
|
1733 | * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.
|
1734 | */
|
1735 | outerWidth(includeMargin?: boolean): number;
|
1736 |
|
1737 | /**
|
1738 | * Sets the outer width on elements in the set of matched elements, including padding and border.
|
1739 | *
|
1740 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1741 | */
|
1742 | outerWidth(width: number): JQuery;
|
1743 |
|
1744 | /**
|
1745 | * Sets the outer width on elements in the set of matched elements, including padding and border.
|
1746 | *
|
1747 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1748 | */
|
1749 | outerWidth(width: string): JQuery;
|
1750 |
|
1751 | /**
|
1752 | * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
|
1753 | */
|
1754 | position(): JQueryCoordinates;
|
1755 |
|
1756 | /**
|
1757 | * Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.
|
1758 | */
|
1759 | scrollLeft(): number;
|
1760 | /**
|
1761 | * Set the current horizontal position of the scroll bar for each of the set of matched elements.
|
1762 | *
|
1763 | * @param value An integer indicating the new position to set the scroll bar to.
|
1764 | */
|
1765 | scrollLeft(value: number): JQuery;
|
1766 |
|
1767 | /**
|
1768 | * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.
|
1769 | */
|
1770 | scrollTop(): number;
|
1771 | /**
|
1772 | * Set the current vertical position of the scroll bar for each of the set of matched elements.
|
1773 | *
|
1774 | * @param value An integer indicating the new position to set the scroll bar to.
|
1775 | */
|
1776 | scrollTop(value: number): JQuery;
|
1777 |
|
1778 | /**
|
1779 | * Get the current computed width for the first element in the set of matched elements.
|
1780 | */
|
1781 | width(): number;
|
1782 | /**
|
1783 | * Set the CSS width of each element in the set of matched elements.
|
1784 | *
|
1785 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1786 | */
|
1787 | width(value: number): JQuery;
|
1788 | /**
|
1789 | * Set the CSS width of each element in the set of matched elements.
|
1790 | *
|
1791 | * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
|
1792 | */
|
1793 | width(value: string): JQuery;
|
1794 | /**
|
1795 | * Set the CSS width of each element in the set of matched elements.
|
1796 | *
|
1797 | * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.
|
1798 | */
|
1799 | width(func: (index: number, width: number) => number): JQuery;
|
1800 | /**
|
1801 | * Set the CSS width of each element in the set of matched elements.
|
1802 | *
|
1803 | * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.
|
1804 | */
|
1805 | width(func: (index: number, width: string) => string): JQuery;
|
1806 | /**
|
1807 | * Set the CSS width of each element in the set of matched elements.
|
1808 | *
|
1809 | * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.
|
1810 | */
|
1811 | width(func: (index: number, width: string) => number): JQuery;
|
1812 | /**
|
1813 | * Set the CSS width of each element in the set of matched elements.
|
1814 | *
|
1815 | * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.
|
1816 | */
|
1817 | width(func: (index: number, width: number) => string): JQuery;
|
1818 |
|
1819 | /**
|
1820 | * Remove from the queue all items that have not yet been run.
|
1821 | *
|
1822 | * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
1823 | */
|
1824 | clearQueue(queueName?: string): JQuery;
|
1825 |
|
1826 | /**
|
1827 | * Store arbitrary data associated with the matched elements.
|
1828 | *
|
1829 | * @param key A string naming the piece of data to set.
|
1830 | * @param value The new data value; it can be any Javascript type including Array or Object.
|
1831 | */
|
1832 | data(key: string, value: any): JQuery;
|
1833 | /**
|
1834 | * Store arbitrary data associated with the matched elements.
|
1835 | *
|
1836 | * @param obj An object of key-value pairs of data to update.
|
1837 | */
|
1838 | data(obj: { [key: string]: any; }): JQuery;
|
1839 | /**
|
1840 | * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
1841 | *
|
1842 | * @param key Name of the data stored.
|
1843 | */
|
1844 | data(key: string): any;
|
1845 | /**
|
1846 | * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
1847 | */
|
1848 | data(): any;
|
1849 |
|
1850 | /**
|
1851 | * Execute the next function on the queue for the matched elements.
|
1852 | *
|
1853 | * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
1854 | */
|
1855 | dequeue(queueName?: string): JQuery;
|
1856 |
|
1857 | /**
|
1858 | * Remove a previously-stored piece of data.
|
1859 | *
|
1860 | * @param name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.
|
1861 | */
|
1862 | removeData(name: string): JQuery;
|
1863 | /**
|
1864 | * Remove a previously-stored piece of data.
|
1865 | *
|
1866 | * @param list An array of strings naming the pieces of data to delete.
|
1867 | */
|
1868 | removeData(list: string[]): JQuery;
|
1869 |
|
1870 | /**
|
1871 | * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
|
1872 | *
|
1873 | * @param type The type of queue that needs to be observed. (default: fx)
|
1874 | * @param target Object onto which the promise methods have to be attached
|
1875 | */
|
1876 | promise(type?: string, target?: Object): JQueryPromise<any>;
|
1877 |
|
1878 | /**
|
1879 | * Perform a custom animation of a set of CSS properties.
|
1880 | *
|
1881 | * @param properties An object of CSS properties and values that the animation will move toward.
|
1882 | * @param duration A string or number determining how long the animation will run.
|
1883 | * @param complete A function to call once the animation is complete.
|
1884 | */
|
1885 | animate(properties: Object, duration?: string, complete?: Function): JQuery;
|
1886 | /**
|
1887 | * Perform a custom animation of a set of CSS properties.
|
1888 | *
|
1889 | * @param properties An object of CSS properties and values that the animation will move toward.
|
1890 | * @param duration A string or number determining how long the animation will run.
|
1891 | * @param complete A function to call once the animation is complete.
|
1892 | */
|
1893 | animate(properties: Object, duration?: number, complete?: Function): JQuery;
|
1894 | /**
|
1895 | * Perform a custom animation of a set of CSS properties.
|
1896 | *
|
1897 | * @param properties An object of CSS properties and values that the animation will move toward.
|
1898 | * @param duration A string or number determining how long the animation will run.
|
1899 | * @param easing A string indicating which easing function to use for the transition. (default: swing)
|
1900 | * @param complete A function to call once the animation is complete.
|
1901 | */
|
1902 | animate(properties: Object, duration?: string, easing?: string, complete?: Function): JQuery;
|
1903 | /**
|
1904 | * Perform a custom animation of a set of CSS properties.
|
1905 | *
|
1906 | * @param properties An object of CSS properties and values that the animation will move toward.
|
1907 | * @param duration A string or number determining how long the animation will run.
|
1908 | * @param easing A string indicating which easing function to use for the transition. (default: swing)
|
1909 | * @param complete A function to call once the animation is complete.
|
1910 | */
|
1911 | animate(properties: Object, duration?: number, easing?: string, complete?: Function): JQuery;
|
1912 | /**
|
1913 | * Perform a custom animation of a set of CSS properties.
|
1914 | *
|
1915 | * @param properties An object of CSS properties and values that the animation will move toward.
|
1916 | * @param options A map of additional options to pass to the method.
|
1917 | */
|
1918 | animate(properties: Object, options: JQueryAnimationOptions): JQuery;
|
1919 |
|
1920 | /**
|
1921 | * Set a timer to delay execution of subsequent items in the queue.
|
1922 | *
|
1923 | * @param duration An integer indicating the number of milliseconds to delay execution of the next item in the queue.
|
1924 | * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
1925 | */
|
1926 | delay(duration: number, queueName?: string): JQuery;
|
1927 |
|
1928 | /**
|
1929 | * Display the matched elements by fading them to opaque.
|
1930 | *
|
1931 | * @param duration A string or number determining how long the animation will run.
|
1932 | * @param complete A function to call once the animation is complete.
|
1933 | */
|
1934 | fadeIn(duration?: number, complete?: Function): JQuery;
|
1935 | /**
|
1936 | * Display the matched elements by fading them to opaque.
|
1937 | *
|
1938 | * @param duration A string or number determining how long the animation will run.
|
1939 | * @param complete A function to call once the animation is complete.
|
1940 | */
|
1941 | fadeIn(duration?: string, complete?: Function): JQuery;
|
1942 | /**
|
1943 | * Display the matched elements by fading them to opaque.
|
1944 | *
|
1945 | * @param duration A string or number determining how long the animation will run.
|
1946 | * @param easing A string indicating which easing function to use for the transition.
|
1947 | * @param complete A function to call once the animation is complete.
|
1948 | */
|
1949 | fadeIn(duration?: number, easing?: string, complete?: Function): JQuery;
|
1950 | /**
|
1951 | * Display the matched elements by fading them to opaque.
|
1952 | *
|
1953 | * @param duration A string or number determining how long the animation will run.
|
1954 | * @param easing A string indicating which easing function to use for the transition.
|
1955 | * @param complete A function to call once the animation is complete.
|
1956 | */
|
1957 | fadeIn(duration?: string, easing?: string, complete?: Function): JQuery;
|
1958 | /**
|
1959 | * Display the matched elements by fading them to opaque.
|
1960 | *
|
1961 | * @param options A map of additional options to pass to the method.
|
1962 | */
|
1963 | fadeIn(options: JQueryAnimationOptions): JQuery;
|
1964 |
|
1965 | /**
|
1966 | * Hide the matched elements by fading them to transparent.
|
1967 | *
|
1968 | * @param duration A string or number determining how long the animation will run.
|
1969 | * @param complete A function to call once the animation is complete.
|
1970 | */
|
1971 | fadeOut(duration?: number, complete?: Function): JQuery;
|
1972 | /**
|
1973 | * Hide the matched elements by fading them to transparent.
|
1974 | *
|
1975 | * @param duration A string or number determining how long the animation will run.
|
1976 | * @param complete A function to call once the animation is complete.
|
1977 | */
|
1978 | fadeOut(duration?: string, complete?: Function): JQuery;
|
1979 | /**
|
1980 | * Hide the matched elements by fading them to transparent.
|
1981 | *
|
1982 | * @param duration A string or number determining how long the animation will run.
|
1983 | * @param easing A string indicating which easing function to use for the transition.
|
1984 | * @param complete A function to call once the animation is complete.
|
1985 | */
|
1986 | fadeOut(duration?: number, easing?: string, complete?: Function): JQuery;
|
1987 | /**
|
1988 | * Hide the matched elements by fading them to transparent.
|
1989 | *
|
1990 | * @param duration A string or number determining how long the animation will run.
|
1991 | * @param easing A string indicating which easing function to use for the transition.
|
1992 | * @param complete A function to call once the animation is complete.
|
1993 | */
|
1994 | fadeOut(duration?: string, easing?: string, complete?: Function): JQuery;
|
1995 | /**
|
1996 | * Hide the matched elements by fading them to transparent.
|
1997 | *
|
1998 | * @param options A map of additional options to pass to the method.
|
1999 | */
|
2000 | fadeOut(options: JQueryAnimationOptions): JQuery;
|
2001 |
|
2002 | /**
|
2003 | * Adjust the opacity of the matched elements.
|
2004 | *
|
2005 | * @param duration A string or number determining how long the animation will run.
|
2006 | * @param opacity A number between 0 and 1 denoting the target opacity.
|
2007 | * @param complete A function to call once the animation is complete.
|
2008 | */
|
2009 | fadeTo(duration: string, opacity: number, complete?: Function): JQuery;
|
2010 | /**
|
2011 | * Adjust the opacity of the matched elements.
|
2012 | *
|
2013 | * @param duration A string or number determining how long the animation will run.
|
2014 | * @param opacity A number between 0 and 1 denoting the target opacity.
|
2015 | * @param complete A function to call once the animation is complete.
|
2016 | */
|
2017 | fadeTo(duration: number, opacity: number, complete?: Function): JQuery;
|
2018 | /**
|
2019 | * Adjust the opacity of the matched elements.
|
2020 | *
|
2021 | * @param duration A string or number determining how long the animation will run.
|
2022 | * @param opacity A number between 0 and 1 denoting the target opacity.
|
2023 | * @param easing A string indicating which easing function to use for the transition.
|
2024 | * @param complete A function to call once the animation is complete.
|
2025 | */
|
2026 | fadeTo(duration: string, opacity: number, easing?: string, complete?: Function): JQuery;
|
2027 | /**
|
2028 | * Adjust the opacity of the matched elements.
|
2029 | *
|
2030 | * @param duration A string or number determining how long the animation will run.
|
2031 | * @param opacity A number between 0 and 1 denoting the target opacity.
|
2032 | * @param easing A string indicating which easing function to use for the transition.
|
2033 | * @param complete A function to call once the animation is complete.
|
2034 | */
|
2035 | fadeTo(duration: number, opacity: number, easing?: string, complete?: Function): JQuery;
|
2036 |
|
2037 | /**
|
2038 | * Display or hide the matched elements by animating their opacity.
|
2039 | *
|
2040 | * @param duration A string or number determining how long the animation will run.
|
2041 | * @param complete A function to call once the animation is complete.
|
2042 | */
|
2043 | fadeToggle(duration?: number, complete?: Function): JQuery;
|
2044 | /**
|
2045 | * Display or hide the matched elements by animating their opacity.
|
2046 | *
|
2047 | * @param duration A string or number determining how long the animation will run.
|
2048 | * @param complete A function to call once the animation is complete.
|
2049 | */
|
2050 | fadeToggle(duration?: string, complete?: Function): JQuery;
|
2051 | /**
|
2052 | * Display or hide the matched elements by animating their opacity.
|
2053 | *
|
2054 | * @param duration A string or number determining how long the animation will run.
|
2055 | * @param easing A string indicating which easing function to use for the transition.
|
2056 | * @param complete A function to call once the animation is complete.
|
2057 | */
|
2058 | fadeToggle(duration?: number, easing?: string, complete?: Function): JQuery;
|
2059 | /**
|
2060 | * Display or hide the matched elements by animating their opacity.
|
2061 | *
|
2062 | * @param duration A string or number determining how long the animation will run.
|
2063 | * @param easing A string indicating which easing function to use for the transition.
|
2064 | * @param complete A function to call once the animation is complete.
|
2065 | */
|
2066 | fadeToggle(duration?: string, easing?: string, complete?: Function): JQuery;
|
2067 | /**
|
2068 | * Display or hide the matched elements by animating their opacity.
|
2069 | *
|
2070 | * @param options A map of additional options to pass to the method.
|
2071 | */
|
2072 | fadeToggle(options: JQueryAnimationOptions): JQuery;
|
2073 |
|
2074 | /**
|
2075 | * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
|
2076 | *
|
2077 | * @param queue The name of the queue in which to stop animations.
|
2078 | */
|
2079 | finish(queue?: string): JQuery;
|
2080 |
|
2081 | /**
|
2082 | * Hide the matched elements.
|
2083 | *
|
2084 | * @param duration A string or number determining how long the animation will run.
|
2085 | * @param complete A function to call once the animation is complete.
|
2086 | */
|
2087 | hide(duration?: number, complete?: Function): JQuery;
|
2088 | /**
|
2089 | * Hide the matched elements.
|
2090 | *
|
2091 | * @param duration A string or number determining how long the animation will run.
|
2092 | * @param complete A function to call once the animation is complete.
|
2093 | */
|
2094 | hide(duration?: string, complete?: Function): JQuery;
|
2095 | /**
|
2096 | * Hide the matched elements.
|
2097 | *
|
2098 | * @param duration A string or number determining how long the animation will run.
|
2099 | * @param easing A string indicating which easing function to use for the transition.
|
2100 | * @param complete A function to call once the animation is complete.
|
2101 | */
|
2102 | hide(duration?: number, easing?: string, complete?: Function): JQuery;
|
2103 | /**
|
2104 | * Hide the matched elements.
|
2105 | *
|
2106 | * @param duration A string or number determining how long the animation will run.
|
2107 | * @param easing A string indicating which easing function to use for the transition.
|
2108 | * @param complete A function to call once the animation is complete.
|
2109 | */
|
2110 | hide(duration?: string, easing?: string, complete?: Function): JQuery;
|
2111 | /**
|
2112 | * Hide the matched elements.
|
2113 | *
|
2114 | * @param options A map of additional options to pass to the method.
|
2115 | */
|
2116 | hide(options: JQueryAnimationOptions): JQuery;
|
2117 |
|
2118 | /**
|
2119 | * Display the matched elements.
|
2120 | *
|
2121 | * @param duration A string or number determining how long the animation will run.
|
2122 | * @param complete A function to call once the animation is complete.
|
2123 | */
|
2124 | show(duration?: number, complete?: Function): JQuery;
|
2125 | /**
|
2126 | * Display the matched elements.
|
2127 | *
|
2128 | * @param duration A string or number determining how long the animation will run.
|
2129 | * @param complete A function to call once the animation is complete.
|
2130 | */
|
2131 | show(duration?: string, complete?: Function): JQuery;
|
2132 | /**
|
2133 | * Display the matched elements.
|
2134 | *
|
2135 | * @param duration A string or number determining how long the animation will run.
|
2136 | * @param easing A string indicating which easing function to use for the transition.
|
2137 | * @param complete A function to call once the animation is complete.
|
2138 | */
|
2139 | show(duration?: number, easing?: string, complete?: Function): JQuery;
|
2140 | /**
|
2141 | * Display the matched elements.
|
2142 | *
|
2143 | * @param duration A string or number determining how long the animation will run.
|
2144 | * @param easing A string indicating which easing function to use for the transition.
|
2145 | * @param complete A function to call once the animation is complete.
|
2146 | */
|
2147 | show(duration?: string, easing?: string, complete?: Function): JQuery;
|
2148 | /**
|
2149 | * Display the matched elements.
|
2150 | *
|
2151 | * @param options A map of additional options to pass to the method.
|
2152 | */
|
2153 | show(options: JQueryAnimationOptions): JQuery;
|
2154 |
|
2155 | /**
|
2156 | * Display the matched elements with a sliding motion.
|
2157 | *
|
2158 | * @param duration A string or number determining how long the animation will run.
|
2159 | * @param complete A function to call once the animation is complete.
|
2160 | */
|
2161 | slideDown(duration?: number, complete?: Function): JQuery;
|
2162 | /**
|
2163 | * Display the matched elements with a sliding motion.
|
2164 | *
|
2165 | * @param duration A string or number determining how long the animation will run.
|
2166 | * @param complete A function to call once the animation is complete.
|
2167 | */
|
2168 | slideDown(duration?: string, complete?: Function): JQuery;
|
2169 | /**
|
2170 | * Display the matched elements with a sliding motion.
|
2171 | *
|
2172 | * @param duration A string or number determining how long the animation will run.
|
2173 | * @param easing A string indicating which easing function to use for the transition.
|
2174 | * @param complete A function to call once the animation is complete.
|
2175 | */
|
2176 | slideDown(duration?: number, easing?: string, complete?: Function): JQuery;
|
2177 | /**
|
2178 | * Display the matched elements with a sliding motion.
|
2179 | *
|
2180 | * @param duration A string or number determining how long the animation will run.
|
2181 | * @param easing A string indicating which easing function to use for the transition.
|
2182 | * @param complete A function to call once the animation is complete.
|
2183 | */
|
2184 | slideDown(duration?: string, easing?: string, complete?: Function): JQuery;
|
2185 | /**
|
2186 | * Display the matched elements with a sliding motion.
|
2187 | *
|
2188 | * @param options A map of additional options to pass to the method.
|
2189 | */
|
2190 | slideDown(options: JQueryAnimationOptions): JQuery;
|
2191 |
|
2192 | /**
|
2193 | * Display or hide the matched elements with a sliding motion.
|
2194 | *
|
2195 | * @param duration A string or number determining how long the animation will run.
|
2196 | * @param complete A function to call once the animation is complete.
|
2197 | */
|
2198 | slideToggle(duration?: number, complete?: Function): JQuery;
|
2199 | /**
|
2200 | * Display or hide the matched elements with a sliding motion.
|
2201 | *
|
2202 | * @param duration A string or number determining how long the animation will run.
|
2203 | * @param complete A function to call once the animation is complete.
|
2204 | */
|
2205 | slideToggle(duration?: string, complete?: Function): JQuery;
|
2206 | /**
|
2207 | * Display or hide the matched elements with a sliding motion.
|
2208 | *
|
2209 | * @param duration A string or number determining how long the animation will run.
|
2210 | * @param easing A string indicating which easing function to use for the transition.
|
2211 | * @param complete A function to call once the animation is complete.
|
2212 | */
|
2213 | slideToggle(duration?: number, easing?: string, complete?: Function): JQuery;
|
2214 | /**
|
2215 | * Display or hide the matched elements with a sliding motion.
|
2216 | *
|
2217 | * @param duration A string or number determining how long the animation will run.
|
2218 | * @param easing A string indicating which easing function to use for the transition.
|
2219 | * @param complete A function to call once the animation is complete.
|
2220 | */
|
2221 | slideToggle(duration?: string, easing?: string, complete?: Function): JQuery;
|
2222 | /**
|
2223 | * Display or hide the matched elements with a sliding motion.
|
2224 | *
|
2225 | * @param options A map of additional options to pass to the method.
|
2226 | */
|
2227 | slideToggle(options: JQueryAnimationOptions): JQuery;
|
2228 |
|
2229 | /**
|
2230 | * Hide the matched elements with a sliding motion.
|
2231 | *
|
2232 | * @param duration A string or number determining how long the animation will run.
|
2233 | * @param complete A function to call once the animation is complete.
|
2234 | */
|
2235 | slideUp(duration?: number, complete?: Function): JQuery;
|
2236 | /**
|
2237 | * Hide the matched elements with a sliding motion.
|
2238 | *
|
2239 | * @param duration A string or number determining how long the animation will run.
|
2240 | * @param complete A function to call once the animation is complete.
|
2241 | */
|
2242 | slideUp(duration?: string, complete?: Function): JQuery;
|
2243 | /**
|
2244 | * Hide the matched elements with a sliding motion.
|
2245 | *
|
2246 | * @param duration A string or number determining how long the animation will run.
|
2247 | * @param easing A string indicating which easing function to use for the transition.
|
2248 | * @param complete A function to call once the animation is complete.
|
2249 | */
|
2250 | slideUp(duration?: number, easing?: string, complete?: Function): JQuery;
|
2251 | /**
|
2252 | * Hide the matched elements with a sliding motion.
|
2253 | *
|
2254 | * @param duration A string or number determining how long the animation will run.
|
2255 | * @param easing A string indicating which easing function to use for the transition.
|
2256 | * @param complete A function to call once the animation is complete.
|
2257 | */
|
2258 | slideUp(duration?: string, easing?: string, complete?: Function): JQuery;
|
2259 | /**
|
2260 | * Hide the matched elements with a sliding motion.
|
2261 | *
|
2262 | * @param options A map of additional options to pass to the method.
|
2263 | */
|
2264 | slideUp(options: JQueryAnimationOptions): JQuery;
|
2265 |
|
2266 | /**
|
2267 | * Stop the currently-running animation on the matched elements.
|
2268 | *
|
2269 | * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.
|
2270 | * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.
|
2271 | */
|
2272 | stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
|
2273 | /**
|
2274 | * Stop the currently-running animation on the matched elements.
|
2275 | *
|
2276 | * @param queue The name of the queue in which to stop animations.
|
2277 | * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.
|
2278 | * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.
|
2279 | */
|
2280 | stop(queue?: string, clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
|
2281 |
|
2282 | /**
|
2283 | * Display or hide the matched elements.
|
2284 | *
|
2285 | * @param duration A string or number determining how long the animation will run.
|
2286 | * @param complete A function to call once the animation is complete.
|
2287 | */
|
2288 | toggle(duration?: number, complete?: Function): JQuery;
|
2289 | /**
|
2290 | * Display or hide the matched elements.
|
2291 | *
|
2292 | * @param duration A string or number determining how long the animation will run.
|
2293 | * @param complete A function to call once the animation is complete.
|
2294 | */
|
2295 | toggle(duration?: string, complete?: Function): JQuery;
|
2296 | /**
|
2297 | * Display or hide the matched elements.
|
2298 | *
|
2299 | * @param duration A string or number determining how long the animation will run.
|
2300 | * @param easing A string indicating which easing function to use for the transition.
|
2301 | * @param complete A function to call once the animation is complete.
|
2302 | */
|
2303 | toggle(duration?: number, easing?: string, complete?: Function): JQuery;
|
2304 | /**
|
2305 | * Display or hide the matched elements.
|
2306 | *
|
2307 | * @param duration A string or number determining how long the animation will run.
|
2308 | * @param easing A string indicating which easing function to use for the transition.
|
2309 | * @param complete A function to call once the animation is complete.
|
2310 | */
|
2311 | toggle(duration?: string, easing?: string, complete?: Function): JQuery;
|
2312 | /**
|
2313 | * Display or hide the matched elements.
|
2314 | *
|
2315 | * @param options A map of additional options to pass to the method.
|
2316 | */
|
2317 | toggle(options: JQueryAnimationOptions): JQuery;
|
2318 | /**
|
2319 | * Display or hide the matched elements.
|
2320 | *
|
2321 | * @param showOrHide A Boolean indicating whether to show or hide the elements.
|
2322 | */
|
2323 | toggle(showOrHide: boolean): JQuery;
|
2324 |
|
2325 | /**
|
2326 | * Attach a handler to an event for the elements.
|
2327 | *
|
2328 | * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
|
2329 | * @param eventData An object containing data that will be passed to the event handler.
|
2330 | * @param handler A function to execute each time the event is triggered.
|
2331 | */
|
2332 | bind(eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2333 | /**
|
2334 | * Attach a handler to an event for the elements.
|
2335 | *
|
2336 | * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
|
2337 | * @param handler A function to execute each time the event is triggered.
|
2338 | */
|
2339 | bind(eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2340 | /**
|
2341 | * Attach a handler to an event for the elements.
|
2342 | *
|
2343 | * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
|
2344 | * @param eventData An object containing data that will be passed to the event handler.
|
2345 | * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.
|
2346 | */
|
2347 | bind(eventType: string, eventData: any, preventBubble: boolean): JQuery;
|
2348 | /**
|
2349 | * Attach a handler to an event for the elements.
|
2350 | *
|
2351 | * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
|
2352 | * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.
|
2353 | */
|
2354 | bind(eventType: string, preventBubble: boolean): JQuery;
|
2355 | /**
|
2356 | * Attach a handler to an event for the elements.
|
2357 | *
|
2358 | * @param events An object containing one or more DOM event types and functions to execute for them.
|
2359 | */
|
2360 | bind(events: any): JQuery;
|
2361 |
|
2362 | /**
|
2363 | * Trigger the "blur" event on an element
|
2364 | */
|
2365 | blur(): JQuery;
|
2366 | /**
|
2367 | * Bind an event handler to the "blur" JavaScript event
|
2368 | *
|
2369 | * @param handler A function to execute each time the event is triggered.
|
2370 | */
|
2371 | blur(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2372 | /**
|
2373 | * Bind an event handler to the "blur" JavaScript event
|
2374 | *
|
2375 | * @param eventData An object containing data that will be passed to the event handler.
|
2376 | * @param handler A function to execute each time the event is triggered.
|
2377 | */
|
2378 | blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2379 |
|
2380 | /**
|
2381 | * Trigger the "change" event on an element.
|
2382 | */
|
2383 | change(): JQuery;
|
2384 | /**
|
2385 | * Bind an event handler to the "change" JavaScript event
|
2386 | *
|
2387 | * @param handler A function to execute each time the event is triggered.
|
2388 | */
|
2389 | change(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2390 | /**
|
2391 | * Bind an event handler to the "change" JavaScript event
|
2392 | *
|
2393 | * @param eventData An object containing data that will be passed to the event handler.
|
2394 | * @param handler A function to execute each time the event is triggered.
|
2395 | */
|
2396 | change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2397 |
|
2398 | /**
|
2399 | * Trigger the "click" event on an element.
|
2400 | */
|
2401 | click(): JQuery;
|
2402 | /**
|
2403 | * Bind an event handler to the "click" JavaScript event
|
2404 | *
|
2405 | * @param eventData An object containing data that will be passed to the event handler.
|
2406 | */
|
2407 | click(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2408 | /**
|
2409 | * Bind an event handler to the "click" JavaScript event
|
2410 | *
|
2411 | * @param eventData An object containing data that will be passed to the event handler.
|
2412 | * @param handler A function to execute each time the event is triggered.
|
2413 | */
|
2414 | click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2415 |
|
2416 | /**
|
2417 | * Trigger the "dblclick" event on an element.
|
2418 | */
|
2419 | dblclick(): JQuery;
|
2420 | /**
|
2421 | * Bind an event handler to the "dblclick" JavaScript event
|
2422 | *
|
2423 | * @param handler A function to execute each time the event is triggered.
|
2424 | */
|
2425 | dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2426 | /**
|
2427 | * Bind an event handler to the "dblclick" JavaScript event
|
2428 | *
|
2429 | * @param eventData An object containing data that will be passed to the event handler.
|
2430 | * @param handler A function to execute each time the event is triggered.
|
2431 | */
|
2432 | dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2433 |
|
2434 | delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2435 | delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2436 |
|
2437 | /**
|
2438 | * Trigger the "focus" event on an element.
|
2439 | */
|
2440 | focus(): JQuery;
|
2441 | /**
|
2442 | * Bind an event handler to the "focus" JavaScript event
|
2443 | *
|
2444 | * @param handler A function to execute each time the event is triggered.
|
2445 | */
|
2446 | focus(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2447 | /**
|
2448 | * Bind an event handler to the "focus" JavaScript event
|
2449 | *
|
2450 | * @param eventData An object containing data that will be passed to the event handler.
|
2451 | * @param handler A function to execute each time the event is triggered.
|
2452 | */
|
2453 | focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2454 |
|
2455 | /**
|
2456 | * Bind an event handler to the "focusin" JavaScript event
|
2457 | *
|
2458 | * @param handler A function to execute each time the event is triggered.
|
2459 | */
|
2460 | focusin(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2461 | /**
|
2462 | * Bind an event handler to the "focusin" JavaScript event
|
2463 | *
|
2464 | * @param eventData An object containing data that will be passed to the event handler.
|
2465 | * @param handler A function to execute each time the event is triggered.
|
2466 | */
|
2467 | focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2468 |
|
2469 | /**
|
2470 | * Bind an event handler to the "focusout" JavaScript event
|
2471 | *
|
2472 | * @param handler A function to execute each time the event is triggered.
|
2473 | */
|
2474 | focusout(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2475 | /**
|
2476 | * Bind an event handler to the "focusout" JavaScript event
|
2477 | *
|
2478 | * @param eventData An object containing data that will be passed to the event handler.
|
2479 | * @param handler A function to execute each time the event is triggered.
|
2480 | */
|
2481 | focusout(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2482 |
|
2483 | /**
|
2484 | * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
|
2485 | *
|
2486 | * @param handlerIn A function to execute when the mouse pointer enters the element.
|
2487 | * @param handlerOut A function to execute when the mouse pointer leaves the element.
|
2488 | */
|
2489 | hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;
|
2490 | /**
|
2491 | * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
|
2492 | *
|
2493 | * @param handlerInOut A function to execute when the mouse pointer enters or leaves the element.
|
2494 | */
|
2495 | hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;
|
2496 |
|
2497 | /**
|
2498 | * Trigger the "keydown" event on an element.
|
2499 | */
|
2500 | keydown(): JQuery;
|
2501 | /**
|
2502 | * Bind an event handler to the "keydown" JavaScript event
|
2503 | *
|
2504 | * @param handler A function to execute each time the event is triggered.
|
2505 | */
|
2506 | keydown(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
2507 | /**
|
2508 | * Bind an event handler to the "keydown" JavaScript event
|
2509 | *
|
2510 | * @param eventData An object containing data that will be passed to the event handler.
|
2511 | * @param handler A function to execute each time the event is triggered.
|
2512 | */
|
2513 | keydown(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
2514 |
|
2515 | /**
|
2516 | * Trigger the "keypress" event on an element.
|
2517 | */
|
2518 | keypress(): JQuery;
|
2519 | /**
|
2520 | * Bind an event handler to the "keypress" JavaScript event
|
2521 | *
|
2522 | * @param handler A function to execute each time the event is triggered.
|
2523 | */
|
2524 | keypress(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
2525 | /**
|
2526 | * Bind an event handler to the "keypress" JavaScript event
|
2527 | *
|
2528 | * @param eventData An object containing data that will be passed to the event handler.
|
2529 | * @param handler A function to execute each time the event is triggered.
|
2530 | */
|
2531 | keypress(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
2532 |
|
2533 | /**
|
2534 | * Trigger the "keyup" event on an element.
|
2535 | */
|
2536 | keyup(): JQuery;
|
2537 | /**
|
2538 | * Bind an event handler to the "keyup" JavaScript event
|
2539 | *
|
2540 | * @param handler A function to execute each time the event is triggered.
|
2541 | */
|
2542 | keyup(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
2543 | /**
|
2544 | * Bind an event handler to the "keyup" JavaScript event
|
2545 | *
|
2546 | * @param eventData An object containing data that will be passed to the event handler.
|
2547 | * @param handler A function to execute each time the event is triggered.
|
2548 | */
|
2549 | keyup(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
2550 |
|
2551 | /**
|
2552 | * Bind an event handler to the "load" JavaScript event.
|
2553 | *
|
2554 | * @param handler A function to execute when the event is triggered.
|
2555 | */
|
2556 | load(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2557 | /**
|
2558 | * Bind an event handler to the "load" JavaScript event.
|
2559 | *
|
2560 | * @param eventData An object containing data that will be passed to the event handler.
|
2561 | * @param handler A function to execute when the event is triggered.
|
2562 | */
|
2563 | load(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2564 |
|
2565 | /**
|
2566 | * Trigger the "mousedown" event on an element.
|
2567 | */
|
2568 | mousedown(): JQuery;
|
2569 | /**
|
2570 | * Bind an event handler to the "mousedown" JavaScript event.
|
2571 | *
|
2572 | * @param handler A function to execute when the event is triggered.
|
2573 | */
|
2574 | mousedown(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2575 | /**
|
2576 | * Bind an event handler to the "mousedown" JavaScript event.
|
2577 | *
|
2578 | * @param eventData An object containing data that will be passed to the event handler.
|
2579 | * @param handler A function to execute when the event is triggered.
|
2580 | */
|
2581 | mousedown(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2582 |
|
2583 | /**
|
2584 | * Trigger the "mouseenter" event on an element.
|
2585 | */
|
2586 | mouseenter(): JQuery;
|
2587 | /**
|
2588 | * Bind an event handler to be fired when the mouse enters an element.
|
2589 | *
|
2590 | * @param handler A function to execute when the event is triggered.
|
2591 | */
|
2592 | mouseenter(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2593 | /**
|
2594 | * Bind an event handler to be fired when the mouse enters an element.
|
2595 | *
|
2596 | * @param eventData An object containing data that will be passed to the event handler.
|
2597 | * @param handler A function to execute when the event is triggered.
|
2598 | */
|
2599 | mouseenter(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2600 |
|
2601 | /**
|
2602 | * Trigger the "mouseleave" event on an element.
|
2603 | */
|
2604 | mouseleave(): JQuery;
|
2605 | /**
|
2606 | * Bind an event handler to be fired when the mouse leaves an element.
|
2607 | *
|
2608 | * @param handler A function to execute when the event is triggered.
|
2609 | */
|
2610 | mouseleave(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2611 | /**
|
2612 | * Bind an event handler to be fired when the mouse leaves an element.
|
2613 | *
|
2614 | * @param eventData An object containing data that will be passed to the event handler.
|
2615 | * @param handler A function to execute when the event is triggered.
|
2616 | */
|
2617 | mouseleave(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2618 |
|
2619 | /**
|
2620 | * Trigger the "mousemove" event on an element.
|
2621 | */
|
2622 | mousemove(): JQuery;
|
2623 | /**
|
2624 | * Bind an event handler to the "mousemove" JavaScript event.
|
2625 | *
|
2626 | * @param handler A function to execute when the event is triggered.
|
2627 | */
|
2628 | mousemove(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2629 | /**
|
2630 | * Bind an event handler to the "mousemove" JavaScript event.
|
2631 | *
|
2632 | * @param eventData An object containing data that will be passed to the event handler.
|
2633 | * @param handler A function to execute when the event is triggered.
|
2634 | */
|
2635 | mousemove(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2636 |
|
2637 | /**
|
2638 | * Trigger the "mouseout" event on an element.
|
2639 | */
|
2640 | mouseout(): JQuery;
|
2641 | /**
|
2642 | * Bind an event handler to the "mouseout" JavaScript event.
|
2643 | *
|
2644 | * @param handler A function to execute when the event is triggered.
|
2645 | */
|
2646 | mouseout(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2647 | /**
|
2648 | * Bind an event handler to the "mouseout" JavaScript event.
|
2649 | *
|
2650 | * @param eventData An object containing data that will be passed to the event handler.
|
2651 | * @param handler A function to execute when the event is triggered.
|
2652 | */
|
2653 | mouseout(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2654 |
|
2655 | /**
|
2656 | * Trigger the "mouseover" event on an element.
|
2657 | */
|
2658 | mouseover(): JQuery;
|
2659 | /**
|
2660 | * Bind an event handler to the "mouseover" JavaScript event.
|
2661 | *
|
2662 | * @param handler A function to execute when the event is triggered.
|
2663 | */
|
2664 | mouseover(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2665 | /**
|
2666 | * Bind an event handler to the "mouseover" JavaScript event.
|
2667 | *
|
2668 | * @param eventData An object containing data that will be passed to the event handler.
|
2669 | * @param handler A function to execute when the event is triggered.
|
2670 | */
|
2671 | mouseover(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2672 |
|
2673 | /**
|
2674 | * Trigger the "mouseup" event on an element.
|
2675 | */
|
2676 | mouseup(): JQuery;
|
2677 | /**
|
2678 | * Bind an event handler to the "mouseup" JavaScript event.
|
2679 | *
|
2680 | * @param handler A function to execute when the event is triggered.
|
2681 | */
|
2682 | mouseup(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2683 | /**
|
2684 | * Bind an event handler to the "mouseup" JavaScript event.
|
2685 | *
|
2686 | * @param eventData An object containing data that will be passed to the event handler.
|
2687 | * @param handler A function to execute when the event is triggered.
|
2688 | */
|
2689 | mouseup(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
|
2690 |
|
2691 | /**
|
2692 | * Remove an event handler.
|
2693 | */
|
2694 | off(): JQuery;
|
2695 | /**
|
2696 | * Remove an event handler.
|
2697 | *
|
2698 | * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
|
2699 | * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
|
2700 | * @param handler A handler function previously attached for the event(s), or the special value false.
|
2701 | */
|
2702 | off(events: string, selector?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2703 | /**
|
2704 | * Remove an event handler.
|
2705 | *
|
2706 | * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
|
2707 | * @param handler A handler function previously attached for the event(s), or the special value false.
|
2708 | */
|
2709 | off(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2710 | /**
|
2711 | * Remove an event handler.
|
2712 | *
|
2713 | * @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).
|
2714 | * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
|
2715 | */
|
2716 | off(events: { [key: string]: any; }, selector?: string): JQuery;
|
2717 |
|
2718 | /**
|
2719 | * Attach an event handler function for one or more events to the selected elements.
|
2720 | *
|
2721 | * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
2722 | * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).
|
2723 | */
|
2724 | on(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
|
2725 | /**
|
2726 | * Attach an event handler function for one or more events to the selected elements.
|
2727 | *
|
2728 | * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
2729 | * @param data Data to be passed to the handler in event.data when an event is triggered.
|
2730 | * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
2731 | */
|
2732 | on(events: string, data: any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
|
2733 | /**
|
2734 | * Attach an event handler function for one or more events to the selected elements.
|
2735 | *
|
2736 | * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
2737 | * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
|
2738 | * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
2739 | */
|
2740 | on(events: string, selector: string, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;
|
2741 | /**
|
2742 | * Attach an event handler function for one or more events to the selected elements.
|
2743 | *
|
2744 | * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
2745 | * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
|
2746 | * @param data Data to be passed to the handler in event.data when an event is triggered.
|
2747 | * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
2748 | */
|
2749 | on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;
|
2750 | /**
|
2751 | * Attach an event handler function for one or more events to the selected elements.
|
2752 | *
|
2753 | * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
|
2754 | * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
|
2755 | * @param data Data to be passed to the handler in event.data when an event occurs.
|
2756 | */
|
2757 | on(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;
|
2758 | /**
|
2759 | * Attach an event handler function for one or more events to the selected elements.
|
2760 | *
|
2761 | * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
|
2762 | * @param data Data to be passed to the handler in event.data when an event occurs.
|
2763 | */
|
2764 | on(events: { [key: string]: any; }, data?: any): JQuery;
|
2765 |
|
2766 | /**
|
2767 | * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
|
2768 | *
|
2769 | * @param events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.
|
2770 | * @param handler A function to execute at the time the event is triggered.
|
2771 | */
|
2772 | one(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2773 | /**
|
2774 | * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
|
2775 | *
|
2776 | * @param events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.
|
2777 | * @param data An object containing data that will be passed to the event handler.
|
2778 | * @param handler A function to execute at the time the event is triggered.
|
2779 | */
|
2780 | one(events: string, data: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2781 |
|
2782 | /**
|
2783 | * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
|
2784 | *
|
2785 | * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
2786 | * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
|
2787 | * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
2788 | */
|
2789 | one(events: string, selector: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2790 | /**
|
2791 | * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
|
2792 | *
|
2793 | * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
2794 | * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
|
2795 | * @param data Data to be passed to the handler in event.data when an event is triggered.
|
2796 | * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
2797 | */
|
2798 | one(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2799 |
|
2800 | /**
|
2801 | * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
|
2802 | *
|
2803 | * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
|
2804 | * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
|
2805 | * @param data Data to be passed to the handler in event.data when an event occurs.
|
2806 | */
|
2807 | one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;
|
2808 |
|
2809 | /**
|
2810 | * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
|
2811 | *
|
2812 | * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
|
2813 | * @param data Data to be passed to the handler in event.data when an event occurs.
|
2814 | */
|
2815 | one(events: { [key: string]: any; }, data?: any): JQuery;
|
2816 |
|
2817 |
|
2818 | /**
|
2819 | * Specify a function to execute when the DOM is fully loaded.
|
2820 | *
|
2821 | * @param handler A function to execute after the DOM is ready.
|
2822 | */
|
2823 | ready(handler: Function): JQuery;
|
2824 |
|
2825 | /**
|
2826 | * Trigger the "resize" event on an element.
|
2827 | */
|
2828 | resize(): JQuery;
|
2829 | /**
|
2830 | * Bind an event handler to the "resize" JavaScript event.
|
2831 | *
|
2832 | * @param handler A function to execute each time the event is triggered.
|
2833 | */
|
2834 | resize(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2835 | /**
|
2836 | * Bind an event handler to the "resize" JavaScript event.
|
2837 | *
|
2838 | * @param eventData An object containing data that will be passed to the event handler.
|
2839 | * @param handler A function to execute each time the event is triggered.
|
2840 | */
|
2841 | resize(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2842 |
|
2843 | /**
|
2844 | * Trigger the "scroll" event on an element.
|
2845 | */
|
2846 | scroll(): JQuery;
|
2847 | /**
|
2848 | * Bind an event handler to the "scroll" JavaScript event.
|
2849 | *
|
2850 | * @param handler A function to execute each time the event is triggered.
|
2851 | */
|
2852 | scroll(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2853 | /**
|
2854 | * Bind an event handler to the "scroll" JavaScript event.
|
2855 | *
|
2856 | * @param eventData An object containing data that will be passed to the event handler.
|
2857 | * @param handler A function to execute each time the event is triggered.
|
2858 | */
|
2859 | scroll(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2860 |
|
2861 | /**
|
2862 | * Trigger the "select" event on an element.
|
2863 | */
|
2864 | select(): JQuery;
|
2865 | /**
|
2866 | * Bind an event handler to the "select" JavaScript event.
|
2867 | *
|
2868 | * @param handler A function to execute each time the event is triggered.
|
2869 | */
|
2870 | select(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2871 | /**
|
2872 | * Bind an event handler to the "select" JavaScript event.
|
2873 | *
|
2874 | * @param eventData An object containing data that will be passed to the event handler.
|
2875 | * @param handler A function to execute each time the event is triggered.
|
2876 | */
|
2877 | select(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2878 |
|
2879 | /**
|
2880 | * Trigger the "submit" event on an element.
|
2881 | */
|
2882 | submit(): JQuery;
|
2883 | /**
|
2884 | * Bind an event handler to the "submit" JavaScript event
|
2885 | *
|
2886 | * @param handler A function to execute each time the event is triggered.
|
2887 | */
|
2888 | submit(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2889 | /**
|
2890 | * Bind an event handler to the "submit" JavaScript event
|
2891 | *
|
2892 | * @param eventData An object containing data that will be passed to the event handler.
|
2893 | * @param handler A function to execute each time the event is triggered.
|
2894 | */
|
2895 | submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2896 |
|
2897 | /**
|
2898 | * Execute all handlers and behaviors attached to the matched elements for the given event type.
|
2899 | *
|
2900 | * @param eventType A string containing a JavaScript event type, such as click or submit.
|
2901 | * @param extraParameters Additional parameters to pass along to the event handler.
|
2902 | */
|
2903 | trigger(eventType: string, extraParameters?: any[]): JQuery;
|
2904 | /**
|
2905 | * Execute all handlers and behaviors attached to the matched elements for the given event type.
|
2906 | *
|
2907 | * @param eventType A string containing a JavaScript event type, such as click or submit.
|
2908 | * @param extraParameters Additional parameters to pass along to the event handler.
|
2909 | */
|
2910 | trigger(eventType: string, extraParameters?: Object): JQuery;
|
2911 | /**
|
2912 | * Execute all handlers and behaviors attached to the matched elements for the given event type.
|
2913 | *
|
2914 | * @param event A jQuery.Event object.
|
2915 | * @param extraParameters Additional parameters to pass along to the event handler.
|
2916 | */
|
2917 | trigger(event: JQueryEventObject, extraParameters?: any[]): JQuery;
|
2918 | /**
|
2919 | * Execute all handlers and behaviors attached to the matched elements for the given event type.
|
2920 | *
|
2921 | * @param event A jQuery.Event object.
|
2922 | * @param extraParameters Additional parameters to pass along to the event handler.
|
2923 | */
|
2924 | trigger(event: JQueryEventObject, extraParameters?: Object): JQuery;
|
2925 |
|
2926 | /**
|
2927 | * Execute all handlers attached to an element for an event.
|
2928 | *
|
2929 | * @param eventType A string containing a JavaScript event type, such as click or submit.
|
2930 | * @param extraParameters An array of additional parameters to pass along to the event handler.
|
2931 | */
|
2932 | triggerHandler(eventType: string, ...extraParameters: any[]): Object;
|
2933 |
|
2934 | /**
|
2935 | * Remove a previously-attached event handler from the elements.
|
2936 | *
|
2937 | * @param eventType A string containing a JavaScript event type, such as click or submit.
|
2938 | * @param handler The function that is to be no longer executed.
|
2939 | */
|
2940 | unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2941 | /**
|
2942 | * Remove a previously-attached event handler from the elements.
|
2943 | *
|
2944 | * @param eventType A string containing a JavaScript event type, such as click or submit.
|
2945 | * @param fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).
|
2946 | */
|
2947 | unbind(eventType: string, fls: boolean): JQuery;
|
2948 | /**
|
2949 | * Remove a previously-attached event handler from the elements.
|
2950 | *
|
2951 | * @param evt A JavaScript event object as passed to an event handler.
|
2952 | */
|
2953 | unbind(evt: any): JQuery;
|
2954 |
|
2955 | /**
|
2956 | * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
2957 | */
|
2958 | undelegate(): JQuery;
|
2959 | /**
|
2960 | * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
2961 | *
|
2962 | * @param selector A selector which will be used to filter the event results.
|
2963 | * @param eventType A string containing a JavaScript event type, such as "click" or "keydown"
|
2964 | * @param handler A function to execute at the time the event is triggered.
|
2965 | */
|
2966 | undelegate(selector: string, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2967 | /**
|
2968 | * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
2969 | *
|
2970 | * @param selector A selector which will be used to filter the event results.
|
2971 | * @param events An object of one or more event types and previously bound functions to unbind from them.
|
2972 | */
|
2973 | undelegate(selector: string, events: Object): JQuery;
|
2974 | /**
|
2975 | * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
2976 | *
|
2977 | * @param namespace A string containing a namespace to unbind all events from.
|
2978 | */
|
2979 | undelegate(namespace: string): JQuery;
|
2980 |
|
2981 | /**
|
2982 | * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8)
|
2983 | *
|
2984 | * @param handler A function to execute when the event is triggered.
|
2985 | */
|
2986 | unload(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
2987 | /**
|
2988 | * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8)
|
2989 | *
|
2990 | * @param eventData A plain object of data that will be passed to the event handler.
|
2991 | * @param handler A function to execute when the event is triggered.
|
2992 | */
|
2993 | unload(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
2994 |
|
2995 | /**
|
2996 | * The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. (DEPRECATED from v1.10)
|
2997 | */
|
2998 | context: Element;
|
2999 |
|
3000 | jquery: string;
|
3001 |
|
3002 | /**
|
3003 | * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8)
|
3004 | *
|
3005 | * @param handler A function to execute when the event is triggered.
|
3006 | */
|
3007 | error(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
3008 | /**
|
3009 | * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8)
|
3010 | *
|
3011 | * @param eventData A plain object of data that will be passed to the event handler.
|
3012 | * @param handler A function to execute when the event is triggered.
|
3013 | */
|
3014 | error(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
3015 |
|
3016 | /**
|
3017 | * Add a collection of DOM elements onto the jQuery stack.
|
3018 | *
|
3019 | * @param elements An array of elements to push onto the stack and make into a new jQuery object.
|
3020 | */
|
3021 | pushStack(elements: any[]): JQuery;
|
3022 | /**
|
3023 | * Add a collection of DOM elements onto the jQuery stack.
|
3024 | *
|
3025 | * @param elements An array of elements to push onto the stack and make into a new jQuery object.
|
3026 | * @param name The name of a jQuery method that generated the array of elements.
|
3027 | * @param arguments The arguments that were passed in to the jQuery method (for serialization).
|
3028 | */
|
3029 | pushStack(elements: any[], name: string, arguments: any[]): JQuery;
|
3030 |
|
3031 | /**
|
3032 | * Insert content, specified by the parameter, after each element in the set of matched elements.
|
3033 | *
|
3034 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.
|
3035 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
|
3036 | */
|
3037 | after(content1: JQuery, ...content2: any[]): JQuery;
|
3038 | /**
|
3039 | * Insert content, specified by the parameter, after each element in the set of matched elements.
|
3040 | *
|
3041 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.
|
3042 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
|
3043 | */
|
3044 | after(content1: any[], ...content2: any[]): JQuery;
|
3045 | /**
|
3046 | * Insert content, specified by the parameter, after each element in the set of matched elements.
|
3047 | *
|
3048 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.
|
3049 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
|
3050 | */
|
3051 | after(content1: Element, ...content2: any[]): JQuery;
|
3052 | /**
|
3053 | * Insert content, specified by the parameter, after each element in the set of matched elements.
|
3054 | *
|
3055 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.
|
3056 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
|
3057 | */
|
3058 | after(content1: Text, ...content2: any[]): JQuery;
|
3059 | /**
|
3060 | * Insert content, specified by the parameter, after each element in the set of matched elements.
|
3061 | *
|
3062 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.
|
3063 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
|
3064 | */
|
3065 | after(content1: string, ...content2: any[]): JQuery;
|
3066 | /**
|
3067 | * Insert content, specified by the parameter, after each element in the set of matched elements.
|
3068 | *
|
3069 | * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
|
3070 | */
|
3071 | after(func: (index: number) => any): JQuery;
|
3072 |
|
3073 | /**
|
3074 | * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
3075 | *
|
3076 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
|
3077 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
|
3078 | */
|
3079 | append(content1: JQuery, ...content2: any[]): JQuery;
|
3080 | /**
|
3081 | * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
3082 | *
|
3083 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
|
3084 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
|
3085 | */
|
3086 | append(content1: any[], ...content2: any[]): JQuery;
|
3087 | /**
|
3088 | * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
3089 | *
|
3090 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
|
3091 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
|
3092 | */
|
3093 | append(content1: Element, ...content2: any[]): JQuery;
|
3094 | /**
|
3095 | * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
3096 | *
|
3097 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
|
3098 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
|
3099 | */
|
3100 | append(content1: Text, ...content2: any[]): JQuery;
|
3101 | /**
|
3102 | * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
3103 | *
|
3104 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
|
3105 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
|
3106 | */
|
3107 | append(content1: string, ...content2: any[]): JQuery;
|
3108 | /**
|
3109 | * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
3110 | *
|
3111 | * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
|
3112 | */
|
3113 | append(func: (index: number, html: string) => any): JQuery;
|
3114 |
|
3115 | /**
|
3116 | * Insert every element in the set of matched elements to the end of the target.
|
3117 | *
|
3118 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.
|
3119 | */
|
3120 | appendTo(target: JQuery): JQuery;
|
3121 | /**
|
3122 | * Insert every element in the set of matched elements to the end of the target.
|
3123 | *
|
3124 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.
|
3125 | */
|
3126 | appendTo(target: any[]): JQuery;
|
3127 | /**
|
3128 | * Insert every element in the set of matched elements to the end of the target.
|
3129 | *
|
3130 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.
|
3131 | */
|
3132 | appendTo(target: Element): JQuery;
|
3133 | /**
|
3134 | * Insert every element in the set of matched elements to the end of the target.
|
3135 | *
|
3136 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.
|
3137 | */
|
3138 | appendTo(target: string): JQuery;
|
3139 |
|
3140 | /**
|
3141 | * Insert content, specified by the parameter, before each element in the set of matched elements.
|
3142 | *
|
3143 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.
|
3144 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
|
3145 | */
|
3146 | before(content1: JQuery, ...content2: any[]): JQuery;
|
3147 | /**
|
3148 | * Insert content, specified by the parameter, before each element in the set of matched elements.
|
3149 | *
|
3150 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.
|
3151 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
|
3152 | */
|
3153 | before(content1: any[], ...content2: any[]): JQuery;
|
3154 | /**
|
3155 | * Insert content, specified by the parameter, before each element in the set of matched elements.
|
3156 | *
|
3157 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.
|
3158 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
|
3159 | */
|
3160 | before(content1: Element, ...content2: any[]): JQuery;
|
3161 | /**
|
3162 | * Insert content, specified by the parameter, before each element in the set of matched elements.
|
3163 | *
|
3164 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.
|
3165 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
|
3166 | */
|
3167 | before(content1: Text, ...content2: any[]): JQuery;
|
3168 | /**
|
3169 | * Insert content, specified by the parameter, before each element in the set of matched elements.
|
3170 | *
|
3171 | * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.
|
3172 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
|
3173 | */
|
3174 | before(content1: string, ...content2: any[]): JQuery;
|
3175 | /**
|
3176 | * Insert content, specified by the parameter, before each element in the set of matched elements.
|
3177 | *
|
3178 | * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
|
3179 | */
|
3180 | before(func: (index: number) => any): JQuery;
|
3181 |
|
3182 | /**
|
3183 | * Create a deep copy of the set of matched elements.
|
3184 | *
|
3185 | * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false.
|
3186 | * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).
|
3187 | */
|
3188 | clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery;
|
3189 |
|
3190 | /**
|
3191 | * Remove the set of matched elements from the DOM.
|
3192 | *
|
3193 | * param selector A selector expression that filters the set of matched elements to be removed.
|
3194 | */
|
3195 | detach(selector?: string): JQuery;
|
3196 |
|
3197 | /**
|
3198 | * Remove all child nodes of the set of matched elements from the DOM.
|
3199 | */
|
3200 | empty(): JQuery;
|
3201 |
|
3202 | /**
|
3203 | * Insert every element in the set of matched elements after the target.
|
3204 | *
|
3205 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
|
3206 | */
|
3207 | insertAfter(target: JQuery): JQuery;
|
3208 | /**
|
3209 | * Insert every element in the set of matched elements after the target.
|
3210 | *
|
3211 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
|
3212 | */
|
3213 | insertAfter(target: any[]): JQuery;
|
3214 | /**
|
3215 | * Insert every element in the set of matched elements after the target.
|
3216 | *
|
3217 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
|
3218 | */
|
3219 | insertAfter(target: Element): JQuery;
|
3220 | /**
|
3221 | * Insert every element in the set of matched elements after the target.
|
3222 | *
|
3223 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
|
3224 | */
|
3225 | insertAfter(target: Text): JQuery;
|
3226 | /**
|
3227 | * Insert every element in the set of matched elements after the target.
|
3228 | *
|
3229 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
|
3230 | */
|
3231 | insertAfter(target: string): JQuery;
|
3232 |
|
3233 | /**
|
3234 | * Insert every element in the set of matched elements before the target.
|
3235 | *
|
3236 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
|
3237 | */
|
3238 | insertBefore(target: JQuery): JQuery;
|
3239 | /**
|
3240 | * Insert every element in the set of matched elements before the target.
|
3241 | *
|
3242 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
|
3243 | */
|
3244 | insertBefore(target: any[]): JQuery;
|
3245 | /**
|
3246 | * Insert every element in the set of matched elements before the target.
|
3247 | *
|
3248 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
|
3249 | */
|
3250 | insertBefore(target: Element): JQuery;
|
3251 | /**
|
3252 | * Insert every element in the set of matched elements before the target.
|
3253 | *
|
3254 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
|
3255 | */
|
3256 | insertBefore(target: Text): JQuery;
|
3257 | /**
|
3258 | * Insert every element in the set of matched elements before the target.
|
3259 | *
|
3260 | * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
|
3261 | */
|
3262 | insertBefore(target: string): JQuery;
|
3263 |
|
3264 | /**
|
3265 | * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
3266 | *
|
3267 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
|
3268 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
|
3269 | */
|
3270 | prepend(content1: JQuery, ...content2: any[]): JQuery;
|
3271 | /**
|
3272 | * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
3273 | *
|
3274 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
|
3275 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
|
3276 | */
|
3277 | prepend(content1: any[], ...content2: any[]): JQuery;
|
3278 | /**
|
3279 | * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
3280 | *
|
3281 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
|
3282 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
|
3283 | */
|
3284 | prepend(content1: Element, ...content2: any[]): JQuery;
|
3285 | /**
|
3286 | * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
3287 | *
|
3288 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
|
3289 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
|
3290 | */
|
3291 | prepend(content1: Text, ...content2: any[]): JQuery;
|
3292 | /**
|
3293 | * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
3294 | *
|
3295 | * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
|
3296 | * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
|
3297 | */
|
3298 | prepend(content1: string, ...content2: any[]): JQuery;
|
3299 | /**
|
3300 | * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
3301 | *
|
3302 | * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
|
3303 | */
|
3304 | prepend(func: (index: number, html: string) => any): JQuery;
|
3305 |
|
3306 | /**
|
3307 | * Insert every element in the set of matched elements to the beginning of the target.
|
3308 | *
|
3309 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.
|
3310 | */
|
3311 | prependTo(target: JQuery): JQuery;
|
3312 | /**
|
3313 | * Insert every element in the set of matched elements to the beginning of the target.
|
3314 | *
|
3315 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.
|
3316 | */
|
3317 | prependTo(target: any[]): JQuery;
|
3318 | /**
|
3319 | * Insert every element in the set of matched elements to the beginning of the target.
|
3320 | *
|
3321 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.
|
3322 | */
|
3323 | prependTo(target: Element): JQuery;
|
3324 | /**
|
3325 | * Insert every element in the set of matched elements to the beginning of the target.
|
3326 | *
|
3327 | * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.
|
3328 | */
|
3329 | prependTo(target: string): JQuery;
|
3330 |
|
3331 | /**
|
3332 | * Remove the set of matched elements from the DOM.
|
3333 | *
|
3334 | * @param selector A selector expression that filters the set of matched elements to be removed.
|
3335 | */
|
3336 | remove(selector?: string): JQuery;
|
3337 |
|
3338 | /**
|
3339 | * Replace each target element with the set of matched elements.
|
3340 | *
|
3341 | * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
|
3342 | */
|
3343 | replaceAll(target: JQuery): JQuery;
|
3344 | /**
|
3345 | * Replace each target element with the set of matched elements.
|
3346 | *
|
3347 | * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
|
3348 | */
|
3349 | replaceAll(target: any[]): JQuery;
|
3350 | /**
|
3351 | * Replace each target element with the set of matched elements.
|
3352 | *
|
3353 | * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
|
3354 | */
|
3355 | replaceAll(target: Element): JQuery;
|
3356 | /**
|
3357 | * Replace each target element with the set of matched elements.
|
3358 | *
|
3359 | * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
|
3360 | */
|
3361 | replaceAll(target: string): JQuery;
|
3362 |
|
3363 | /**
|
3364 | * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
3365 | *
|
3366 | * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
|
3367 | */
|
3368 | replaceWith(newContent: JQuery): JQuery;
|
3369 | /**
|
3370 | * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
3371 | *
|
3372 | * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
|
3373 | */
|
3374 | replaceWith(newContent: any[]): JQuery;
|
3375 | /**
|
3376 | * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
3377 | *
|
3378 | * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
|
3379 | */
|
3380 | replaceWith(newContent: Element): JQuery;
|
3381 | /**
|
3382 | * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
3383 | *
|
3384 | * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
|
3385 | */
|
3386 | replaceWith(newContent: Text): JQuery;
|
3387 | /**
|
3388 | * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
3389 | *
|
3390 | * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
|
3391 | */
|
3392 | replaceWith(newContent: string): JQuery;
|
3393 | /**
|
3394 | * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
3395 | *
|
3396 | * param func A function that returns content with which to replace the set of matched elements.
|
3397 | */
|
3398 | replaceWith(func: () => any): JQuery;
|
3399 |
|
3400 | /**
|
3401 | * Get the combined text contents of each element in the set of matched elements, including their descendants.
|
3402 | */
|
3403 | text(): string;
|
3404 | /**
|
3405 | * Set the content of each element in the set of matched elements to the specified text.
|
3406 | *
|
3407 | * @param text The text to set as the content of each matched element.
|
3408 | */
|
3409 | text(text: string): JQuery;
|
3410 | /**
|
3411 | * Set the content of each element in the set of matched elements to the specified text.
|
3412 | *
|
3413 | * @param text The text to set as the content of each matched element.
|
3414 | */
|
3415 | text(text: number): JQuery;
|
3416 | /**
|
3417 | * Set the content of each element in the set of matched elements to the specified text.
|
3418 | *
|
3419 | * @param text The text to set as the content of each matched element.
|
3420 | */
|
3421 | text(text: boolean): JQuery;
|
3422 | /**
|
3423 | * Set the content of each element in the set of matched elements to the specified text.
|
3424 | *
|
3425 | * @param func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.
|
3426 | */
|
3427 | text(func: (index: number, text: string) => string): JQuery;
|
3428 |
|
3429 | /**
|
3430 | * Retrieve all the elements contained in the jQuery set, as an array.
|
3431 | */
|
3432 | toArray(): any[];
|
3433 |
|
3434 | /**
|
3435 | * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
|
3436 | */
|
3437 | unwrap(): JQuery;
|
3438 |
|
3439 | /**
|
3440 | * Wrap an HTML structure around each element in the set of matched elements.
|
3441 | *
|
3442 | * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
3443 | */
|
3444 | wrap(wrappingElement: JQuery): JQuery;
|
3445 | /**
|
3446 | * Wrap an HTML structure around each element in the set of matched elements.
|
3447 | *
|
3448 | * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
3449 | */
|
3450 | wrap(wrappingElement: Element): JQuery;
|
3451 | /**
|
3452 | * Wrap an HTML structure around each element in the set of matched elements.
|
3453 | *
|
3454 | * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
3455 | */
|
3456 | wrap(wrappingElement: string): JQuery;
|
3457 | /**
|
3458 | * Wrap an HTML structure around each element in the set of matched elements.
|
3459 | *
|
3460 | * @param func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
|
3461 | */
|
3462 | wrap(func: (index: number) => any): JQuery;
|
3463 |
|
3464 | /**
|
3465 | * Wrap an HTML structure around all elements in the set of matched elements.
|
3466 | *
|
3467 | * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
3468 | */
|
3469 | wrapAll(wrappingElement: JQuery): JQuery;
|
3470 | /**
|
3471 | * Wrap an HTML structure around all elements in the set of matched elements.
|
3472 | *
|
3473 | * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
3474 | */
|
3475 | wrapAll(wrappingElement: Element): JQuery;
|
3476 | /**
|
3477 | * Wrap an HTML structure around all elements in the set of matched elements.
|
3478 | *
|
3479 | * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
3480 | */
|
3481 | wrapAll(wrappingElement: string): JQuery;
|
3482 |
|
3483 | /**
|
3484 | * Wrap an HTML structure around the content of each element in the set of matched elements.
|
3485 | *
|
3486 | * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.
|
3487 | */
|
3488 | wrapInner(wrappingElement: JQuery): JQuery;
|
3489 | /**
|
3490 | * Wrap an HTML structure around the content of each element in the set of matched elements.
|
3491 | *
|
3492 | * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.
|
3493 | */
|
3494 | wrapInner(wrappingElement: Element): JQuery;
|
3495 | /**
|
3496 | * Wrap an HTML structure around the content of each element in the set of matched elements.
|
3497 | *
|
3498 | * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.
|
3499 | */
|
3500 | wrapInner(wrappingElement: string): JQuery;
|
3501 | /**
|
3502 | * Wrap an HTML structure around the content of each element in the set of matched elements.
|
3503 | *
|
3504 | * @param func A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
|
3505 | */
|
3506 | wrapInner(func: (index: number) => any): JQuery;
|
3507 |
|
3508 | /**
|
3509 | * Iterate over a jQuery object, executing a function for each matched element.
|
3510 | *
|
3511 | * @param func A function to execute for each matched element.
|
3512 | */
|
3513 | each(func: (index: number, elem: Element) => any): JQuery;
|
3514 |
|
3515 | /**
|
3516 | * Retrieve one of the elements matched by the jQuery object.
|
3517 | *
|
3518 | * @param index A zero-based integer indicating which element to retrieve.
|
3519 | */
|
3520 | get(index: number): HTMLElement;
|
3521 | /**
|
3522 | * Retrieve the elements matched by the jQuery object.
|
3523 | */
|
3524 | get(): any[];
|
3525 |
|
3526 | /**
|
3527 | * Search for a given element from among the matched elements.
|
3528 | */
|
3529 | index(): number;
|
3530 | /**
|
3531 | * Search for a given element from among the matched elements.
|
3532 | *
|
3533 | * @param selector A selector representing a jQuery collection in which to look for an element.
|
3534 | */
|
3535 | index(selector: string): number;
|
3536 | /**
|
3537 | * Search for a given element from among the matched elements.
|
3538 | *
|
3539 | * @param element The DOM element or first element within the jQuery object to look for.
|
3540 | */
|
3541 | index(element: JQuery): number;
|
3542 | /**
|
3543 | * Search for a given element from among the matched elements.
|
3544 | *
|
3545 | * @param element The DOM element or first element within the jQuery object to look for.
|
3546 | */
|
3547 | index(element: Element): number;
|
3548 | index(element: any): number;
|
3549 |
|
3550 | /**
|
3551 | * The number of elements in the jQuery object.
|
3552 | */
|
3553 | length: number;
|
3554 | /**
|
3555 | * A selector representing selector passed to jQuery(), if any, when creating the original set.
|
3556 | * version deprecated: 1.7, removed: 1.9
|
3557 | */
|
3558 | selector: string;
|
3559 | [index: string]: any;
|
3560 | [index: number]: HTMLElement;
|
3561 |
|
3562 | /**
|
3563 | * Add elements to the set of matched elements.
|
3564 | *
|
3565 | * @param selector A string representing a selector expression to find additional elements to add to the set of matched elements.
|
3566 | * @param context The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.
|
3567 | */
|
3568 | add(selector: string, context?: Element): JQuery;
|
3569 | /**
|
3570 | * Add elements to the set of matched elements.
|
3571 | *
|
3572 | * @param elements One or more elements to add to the set of matched elements.
|
3573 | */
|
3574 | add(...elements: Element[]): JQuery;
|
3575 | /**
|
3576 | * Add elements to the set of matched elements.
|
3577 | *
|
3578 | * @param html An HTML fragment to add to the set of matched elements.
|
3579 | */
|
3580 | add(html: string): JQuery;
|
3581 | /**
|
3582 | * Add elements to the set of matched elements.
|
3583 | *
|
3584 | * @param obj An existing jQuery object to add to the set of matched elements.
|
3585 | */
|
3586 | add(obj: JQuery): JQuery;
|
3587 |
|
3588 | /**
|
3589 | * Get the children of each element in the set of matched elements, optionally filtered by a selector.
|
3590 | *
|
3591 | * @param selector A string containing a selector expression to match elements against.
|
3592 | */
|
3593 | children(selector?: string): JQuery;
|
3594 | children(selector?: any): JQuery;
|
3595 |
|
3596 | /**
|
3597 | * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
3598 | *
|
3599 | * @param selector A string containing a selector expression to match elements against.
|
3600 | */
|
3601 | closest(selector: string): JQuery;
|
3602 | /**
|
3603 | * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
3604 | *
|
3605 | * @param selector A string containing a selector expression to match elements against.
|
3606 | * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.
|
3607 | */
|
3608 | closest(selector: string, context?: Element): JQuery;
|
3609 | /**
|
3610 | * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
3611 | *
|
3612 | * @param obj A jQuery object to match elements against.
|
3613 | */
|
3614 | closest(obj: JQuery): JQuery;
|
3615 | /**
|
3616 | * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
3617 | *
|
3618 | * @param element An element to match elements against.
|
3619 | */
|
3620 | closest(element: Element): JQuery;
|
3621 |
|
3622 | /**
|
3623 | * Get an array of all the elements and selectors matched against the current element up through the DOM tree.
|
3624 | *
|
3625 | * @param selectors An array or string containing a selector expression to match elements against (can also be a jQuery object).
|
3626 | * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.
|
3627 | */
|
3628 | closest(selectors: any, context?: Element): any[];
|
3629 |
|
3630 | /**
|
3631 | * Get the children of each element in the set of matched elements, including text and comment nodes.
|
3632 | */
|
3633 | contents(): JQuery;
|
3634 |
|
3635 | /**
|
3636 | * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
|
3637 | */
|
3638 | end(): JQuery;
|
3639 |
|
3640 | /**
|
3641 | * Reduce the set of matched elements to the one at the specified index.
|
3642 | *
|
3643 | * @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.
|
3644 | *
|
3645 | */
|
3646 | eq(index: number): JQuery;
|
3647 |
|
3648 | /**
|
3649 | * Reduce the set of matched elements to those that match the selector or pass the function's test.
|
3650 | *
|
3651 | * @param selector A string containing a selector expression to match the current set of elements against.
|
3652 | */
|
3653 | filter(selector: string): JQuery;
|
3654 | /**
|
3655 | * Reduce the set of matched elements to those that match the selector or pass the function's test.
|
3656 | *
|
3657 | * @param func A function used as a test for each element in the set. this is the current DOM element.
|
3658 | */
|
3659 | filter(func: (index: number, element: Element) => any): JQuery;
|
3660 | /**
|
3661 | * Reduce the set of matched elements to those that match the selector or pass the function's test.
|
3662 | *
|
3663 | * @param element An element to match the current set of elements against.
|
3664 | */
|
3665 | filter(element: Element): JQuery;
|
3666 | /**
|
3667 | * Reduce the set of matched elements to those that match the selector or pass the function's test.
|
3668 | *
|
3669 | * @param obj An existing jQuery object to match the current set of elements against.
|
3670 | */
|
3671 | filter(obj: JQuery): JQuery;
|
3672 |
|
3673 | /**
|
3674 | * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
3675 | *
|
3676 | * @param selector A string containing a selector expression to match elements against.
|
3677 | */
|
3678 | find(selector: string): JQuery;
|
3679 | /**
|
3680 | * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
3681 | *
|
3682 | * @param element An element to match elements against.
|
3683 | */
|
3684 | find(element: Element): JQuery;
|
3685 | /**
|
3686 | * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
3687 | *
|
3688 | * @param obj A jQuery object to match elements against.
|
3689 | */
|
3690 | find(obj: JQuery): JQuery;
|
3691 |
|
3692 | /**
|
3693 | * Reduce the set of matched elements to the first in the set.
|
3694 | */
|
3695 | first(): JQuery;
|
3696 |
|
3697 | /**
|
3698 | * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
|
3699 | *
|
3700 | * @param selector A string containing a selector expression to match elements against.
|
3701 | */
|
3702 | has(selector: string): JQuery;
|
3703 | /**
|
3704 | * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
|
3705 | *
|
3706 | * @param contained A DOM element to match elements against.
|
3707 | */
|
3708 | has(contained: Element): JQuery;
|
3709 |
|
3710 | /**
|
3711 | * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
|
3712 | *
|
3713 | * @param selector A string containing a selector expression to match elements against.
|
3714 | */
|
3715 | is(selector: string): boolean;
|
3716 | /**
|
3717 | * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
|
3718 | *
|
3719 | * @param func A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.
|
3720 | */
|
3721 | is(func: (index: number) => any): boolean;
|
3722 | /**
|
3723 | * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
|
3724 | *
|
3725 | * @param obj An existing jQuery object to match the current set of elements against.
|
3726 | */
|
3727 | is(obj: JQuery): boolean;
|
3728 | /**
|
3729 | * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
|
3730 | *
|
3731 | * @param elements One or more elements to match the current set of elements against.
|
3732 | */
|
3733 | is(elements: any): boolean;
|
3734 |
|
3735 | /**
|
3736 | * Reduce the set of matched elements to the final one in the set.
|
3737 | */
|
3738 | last(): JQuery;
|
3739 |
|
3740 | /**
|
3741 | * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.
|
3742 | *
|
3743 | * @param callback A function object that will be invoked for each element in the current set.
|
3744 | */
|
3745 | map(callback: (index: number, domElement: Element) => any): JQuery;
|
3746 |
|
3747 | /**
|
3748 | * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
|
3749 | *
|
3750 | * @param selector A string containing a selector expression to match elements against.
|
3751 | */
|
3752 | next(selector?: string): JQuery;
|
3753 |
|
3754 | /**
|
3755 | * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
|
3756 | *
|
3757 | * @param selector A string containing a selector expression to match elements against.
|
3758 | */
|
3759 | nextAll(selector?: string): JQuery;
|
3760 |
|
3761 | /**
|
3762 | * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
3763 | *
|
3764 | * @param selector A string containing a selector expression to indicate where to stop matching following sibling elements.
|
3765 | * @param filter A string containing a selector expression to match elements against.
|
3766 | */
|
3767 | nextUntil(selector?: string, filter?: string): JQuery;
|
3768 | /**
|
3769 | * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
3770 | *
|
3771 | * @param element A DOM node or jQuery object indicating where to stop matching following sibling elements.
|
3772 | * @param filter A string containing a selector expression to match elements against.
|
3773 | */
|
3774 | nextUntil(element?: Element, filter?: string): JQuery;
|
3775 | /**
|
3776 | * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
3777 | *
|
3778 | * @param obj A DOM node or jQuery object indicating where to stop matching following sibling elements.
|
3779 | * @param filter A string containing a selector expression to match elements against.
|
3780 | */
|
3781 | nextUntil(obj?: JQuery, filter?: string): JQuery;
|
3782 |
|
3783 | /**
|
3784 | * Remove elements from the set of matched elements.
|
3785 | *
|
3786 | * @param selector A string containing a selector expression to match elements against.
|
3787 | */
|
3788 | not(selector: string): JQuery;
|
3789 | /**
|
3790 | * Remove elements from the set of matched elements.
|
3791 | *
|
3792 | * @param func A function used as a test for each element in the set. this is the current DOM element.
|
3793 | */
|
3794 | not(func: (index: number) => any): JQuery;
|
3795 | /**
|
3796 | * Remove elements from the set of matched elements.
|
3797 | *
|
3798 | * @param elements One or more DOM elements to remove from the matched set.
|
3799 | */
|
3800 | not(...elements: Element[]): JQuery;
|
3801 | /**
|
3802 | * Remove elements from the set of matched elements.
|
3803 | *
|
3804 | * @param obj An existing jQuery object to match the current set of elements against.
|
3805 | */
|
3806 | not(obj: JQuery): JQuery;
|
3807 |
|
3808 | /**
|
3809 | * Get the closest ancestor element that is positioned.
|
3810 | */
|
3811 | offsetParent(): JQuery;
|
3812 |
|
3813 | /**
|
3814 | * Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
|
3815 | *
|
3816 | * @param selector A string containing a selector expression to match elements against.
|
3817 | */
|
3818 | parent(selector?: string): JQuery;
|
3819 |
|
3820 | /**
|
3821 | * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
|
3822 | *
|
3823 | * @param selector A string containing a selector expression to match elements against.
|
3824 | */
|
3825 | parents(selector?: string): JQuery;
|
3826 |
|
3827 | /**
|
3828 | * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
3829 | *
|
3830 | * @param selector A string containing a selector expression to indicate where to stop matching ancestor elements.
|
3831 | * @param filter A string containing a selector expression to match elements against.
|
3832 | */
|
3833 | parentsUntil(selector?: string, filter?: string): JQuery;
|
3834 | /**
|
3835 | * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
3836 | *
|
3837 | * @param element A DOM node or jQuery object indicating where to stop matching ancestor elements.
|
3838 | * @param filter A string containing a selector expression to match elements against.
|
3839 | */
|
3840 | parentsUntil(element?: Element, filter?: string): JQuery;
|
3841 | /**
|
3842 | * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
3843 | *
|
3844 | * @param obj A DOM node or jQuery object indicating where to stop matching ancestor elements.
|
3845 | * @param filter A string containing a selector expression to match elements against.
|
3846 | */
|
3847 | parentsUntil(obj?: JQuery, filter?: string): JQuery;
|
3848 |
|
3849 | /**
|
3850 | * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
|
3851 | *
|
3852 | * @param selector A string containing a selector expression to match elements against.
|
3853 | */
|
3854 | prev(selector?: string): JQuery;
|
3855 |
|
3856 | /**
|
3857 | * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
|
3858 | *
|
3859 | * @param selector A string containing a selector expression to match elements against.
|
3860 | */
|
3861 | prevAll(selector?: string): JQuery;
|
3862 |
|
3863 | /**
|
3864 | * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
3865 | *
|
3866 | * @param selector A string containing a selector expression to indicate where to stop matching preceding sibling elements.
|
3867 | * @param filter A string containing a selector expression to match elements against.
|
3868 | */
|
3869 | prevUntil(selector?: string, filter?: string): JQuery;
|
3870 | /**
|
3871 | * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
3872 | *
|
3873 | * @param element A DOM node or jQuery object indicating where to stop matching preceding sibling elements.
|
3874 | * @param filter A string containing a selector expression to match elements against.
|
3875 | */
|
3876 | prevUntil(element?: Element, filter?: string): JQuery;
|
3877 | /**
|
3878 | * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
3879 | *
|
3880 | * @param obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements.
|
3881 | * @param filter A string containing a selector expression to match elements against.
|
3882 | */
|
3883 | prevUntil(obj?: JQuery, filter?: string): JQuery;
|
3884 |
|
3885 | /**
|
3886 | * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
|
3887 | *
|
3888 | * @param selector A string containing a selector expression to match elements against.
|
3889 | */
|
3890 | siblings(selector?: string): JQuery;
|
3891 |
|
3892 | /**
|
3893 | * Reduce the set of matched elements to a subset specified by a range of indices.
|
3894 | *
|
3895 | * @param start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.
|
3896 | * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.
|
3897 | */
|
3898 | slice(start: number, end?: number): JQuery;
|
3899 |
|
3900 | /**
|
3901 | * Show the queue of functions to be executed on the matched elements.
|
3902 | *
|
3903 | * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
3904 | */
|
3905 | queue(queueName?: string): any[];
|
3906 | /**
|
3907 | * Manipulate the queue of functions to be executed, once for each matched element.
|
3908 | *
|
3909 | * @param newQueue An array of functions to replace the current queue contents.
|
3910 | */
|
3911 | queue(newQueue: Function[]): JQuery;
|
3912 | /**
|
3913 | * Manipulate the queue of functions to be executed, once for each matched element.
|
3914 | *
|
3915 | * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.
|
3916 | */
|
3917 | queue(callback: Function): JQuery;
|
3918 | /**
|
3919 | * Manipulate the queue of functions to be executed, once for each matched element.
|
3920 | *
|
3921 | * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
3922 | * @param newQueue An array of functions to replace the current queue contents.
|
3923 | */
|
3924 | queue(queueName: string, newQueue: Function[]): JQuery;
|
3925 | /**
|
3926 | * Manipulate the queue of functions to be executed, once for each matched element.
|
3927 | *
|
3928 | * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
3929 | * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.
|
3930 | */
|
3931 | queue(queueName: string, callback: Function): JQuery;
|
3932 |
|
3933 | // InfoNav plugins/extensions
|
3934 | multiline(text: string): JQuery;
|
3935 | togglePanelControl(): JQuery;
|
3936 | }
|
3937 |
|
3938 | interface JQueryEventHandler {
|
3939 | (eventObject: JQueryEventObject, data?: any): void;
|
3940 | (eventObject: JQueryEventObject): void;
|
3941 | }
|
3942 |
|
3943 | declare module "jquery" {
|
3944 | export = $;
|
3945 | }
|
3946 | declare var jQuery: JQueryStatic;
|
3947 | declare var $: JQueryStatic;
|
3948 |
|
3949 | declare module Microsoft.Maps {
|
3950 |
|
3951 | /*
|
3952 | Global functions
|
3953 | */
|
3954 | export module Globals {
|
3955 | export var roadUriFormat: any;
|
3956 | }
|
3957 |
|
3958 | /*
|
3959 | Loads the specified registered module, making its functionality available. An optional function can be specified that is called when the module is loaded.
|
3960 | To register a module, use the registerModule method.
|
3961 |
|
3962 | The following Bing Maps modules are available:
|
3963 |
|
3964 | Microsoft.Maps.AdvancedShapes
|
3965 | Microsoft.Maps.Directions
|
3966 | Microsoft.Maps.Overlays.Style
|
3967 | Microsoft.Maps.Search
|
3968 | Microsoft.Maps.Themes.BingTheme
|
3969 | Microsoft.Maps.Traffic
|
3970 | Microsoft.Maps.VenueMaps
|
3971 | */
|
3972 | export function loadModule(moduleKey: string, options?: { callback: () => void; }): void;
|
3973 | /*
|
3974 | Signals that the specified module has been loaded and if specified, calls the callback function in loadModule. Call this method at the end of your module script.
|
3975 | */
|
3976 | export function moduleLoaded(moduleKey: string): void;
|
3977 |
|
3978 | /*
|
3979 | Registers a module with the map control. The name of the module is specified in moduleKey, the module script is defined in scriptUrl, and the options provides the location of a *.css file to load with the module.
|
3980 | Tip: To minimize possible conflicts with other custom modules, choose a unique module name (defined in moduleKey). For example, you can use your company name in the name of the module.
|
3981 | Once you have registered a module, you can make its functionality available by loading it using loadModule.
|
3982 | */
|
3983 | export function registerModule(moduleKey: string, scriptUrl: string, options?: string[]): void;
|
3984 |
|
3985 | /*
|
3986 | Tagging interface for items in an EntityCollection
|
3987 | */
|
3988 | export interface Entity {
|
3989 | //No members
|
3990 | }
|
3991 |
|
3992 | /*
|
3993 | Represents the coordinates of the position of the user.
|
3994 | */
|
3995 | export class Coordinates {
|
3996 | /*************
|
3997 | * PROPERTIES *
|
3998 | **************/
|
3999 | /*
|
4000 | The accuracy, in meters, of the latitude and longitude values.
|
4001 | */
|
4002 | accuracy: number;
|
4003 |
|
4004 | /*
|
4005 | The altitude of the location.
|
4006 | */
|
4007 | altitude: number;
|
4008 |
|
4009 | /*
|
4010 | The accuracy, in meters, of the altitude value.
|
4011 | */
|
4012 | altitudeAccuracy: number;
|
4013 |
|
4014 | /*
|
4015 | The direction of travel of the hosting device.
|
4016 | */
|
4017 | heading: number;
|
4018 |
|
4019 | /*
|
4020 | The latitude of the location.
|
4021 | */
|
4022 | latitude: number;
|
4023 |
|
4024 | /*
|
4025 | The longitude of the location.
|
4026 | */
|
4027 | longitude: number;
|
4028 |
|
4029 | /*
|
4030 | The ground speed of the hosting device, in meters per second.
|
4031 | */
|
4032 | speed: number;
|
4033 | }
|
4034 |
|
4035 | /*
|
4036 | Contains methods for obtaining and displaying the user’s current location.
|
4037 | Note: This functionality is only available on browsers that support the W3C GeoLocation API.
|
4038 | */
|
4039 | export class GeoLocationProvider {
|
4040 | constructor (map: Map);
|
4041 |
|
4042 | /*
|
4043 | Renders a geo location accuracy circle on the map. The accuracy circle is created with the center at the specified location, using the given radiusInMeters, and with the specified number of segments for the accuracy circle polygon. Additional options are also available to adjust the style of the polygon.
|
4044 | */
|
4045 | addAccuracyCircle(center: Location, radiusInMeters: number, segments: number, options: PositionCircleOptions): void;
|
4046 |
|
4047 | /*
|
4048 | Cancels the processing of the current getCurrentPosition request. This method prevents the response from being processed.
|
4049 | */
|
4050 | cancelCurrentRequest(): void;
|
4051 |
|
4052 | /*
|
4053 | Obtains the user’s current location and displays it on the map.
|
4054 | Important:
|
4055 | The accuracy of the user location obtained using this method varies widely depending on the desktop browser or mobile device of the requesting client. Desktop users may experience low user location accuracy (accuracy circles with large radiuses), while mobile user location accuracy may be much greater (a few meters).
|
4056 | */
|
4057 | getCurrentPosition(options: PositionOptions): void;
|
4058 |
|
4059 | /*
|
4060 | Removes the current geo location accuracy circle.
|
4061 | */
|
4062 | removeAccuracyCircle(): void;
|
4063 | }
|
4064 |
|
4065 | export class MouseEventArgs {
|
4066 | eventName: string;
|
4067 | handled: boolean;
|
4068 | isPrmary: boolean;
|
4069 | isSecondary: boolean;
|
4070 | isTouchEvent: boolean;
|
4071 | originalEvent: any;
|
4072 | pageX: number;
|
4073 | pageY: number;
|
4074 | target: any;
|
4075 | targetType: string;
|
4076 | wheelDelta: number;
|
4077 |
|
4078 | getX(): number;
|
4079 | getY(): number;
|
4080 | }
|
4081 |
|
4082 | export class KeyEventArgs {
|
4083 | altKey: boolean;
|
4084 | ctrlKey: boolean;
|
4085 | eventName: string;
|
4086 | //A boolean indicating whether the event is handled. If this property is set to true, the default map control behavior for the event is cancelled.
|
4087 | handled: boolean;
|
4088 | //The ASCII character code that identifies the keyboard key that was pressed.
|
4089 | keyCode: string;
|
4090 | originalEvent: any;
|
4091 | shiftKey: boolean;
|
4092 | }
|
4093 |
|
4094 | export class LocationRect {
|
4095 | constructor (center: Location, width: number, height: number);
|
4096 |
|
4097 | center: Location;
|
4098 | height: number;
|
4099 | width: number;
|
4100 |
|
4101 | static fromCorners(northwest: Location, southeast: Location): LocationRect;
|
4102 | static fromEdges(north: number, west: number, south: number, east: number, altitude: number, altitudeReference: AltitudeReference): LocationRect;
|
4103 |
|
4104 | static fromLocations(...locations: Location[]): LocationRect;
|
4105 | static fromString(str: string): LocationRect;
|
4106 |
|
4107 | clone(): LocationRect;
|
4108 | contains(location: Location): boolean;
|
4109 | getEast(): number;
|
4110 | getNorth(): number;
|
4111 | getNorthwest(): Location;
|
4112 | getSouth(): number;
|
4113 | getSoutheast(): Location;
|
4114 | getWest(): number;
|
4115 | insersects(rect: LocationRect): boolean;
|
4116 | toString(): string;
|
4117 | }
|
4118 |
|
4119 | export class Location {
|
4120 | constructor (latitude: number, longitude: number, altitude?: number, altitudeReference?: AltitudeReference);
|
4121 |
|
4122 | altitude: number;
|
4123 | altitudeReference: AltitudeReference;
|
4124 | latitude: number;
|
4125 | longitude: number;
|
4126 |
|
4127 | static areEqual(location1: Location, location2: Location): boolean;
|
4128 | static normalizeLongitude(longitude: number): number;
|
4129 |
|
4130 | clone(): Location;
|
4131 | toString(): string;
|
4132 | }
|
4133 |
|
4134 | /*
|
4135 | Defines the reference point from which the altitude is measured.
|
4136 | */
|
4137 | export class AltitudeReference {
|
4138 | /*
|
4139 | The altitude is measured from the ground level.
|
4140 | */
|
4141 | static ground: string;
|
4142 | /*
|
4143 | The altitude is measured from the WGS 84 ellipsoid of the Earth.
|
4144 | */
|
4145 | static ellipsoid: string;
|
4146 |
|
4147 | /*
|
4148 | Determines if the specified reference is a supported AltitudeReference.
|
4149 | */
|
4150 | static isValid(reference: AltitudeReference): boolean;
|
4151 | }
|
4152 |
|
4153 | export class MapMode {
|
4154 | getDrawShapesInSingleLayer(): boolean;
|
4155 | setDrawShapesInSingleLayer(drawInSingleLayer: boolean): void;
|
4156 | setViewChangeEndDelay(delay: number): void;
|
4157 | }
|
4158 |
|
4159 | export class MapTypeId {
|
4160 | static aerial: string;
|
4161 | static auto: string;
|
4162 | static birdseye: string;
|
4163 | static collinsBart: string;
|
4164 | static mercator: string;
|
4165 | static ordnanceSurvey: string;
|
4166 | static road: string;
|
4167 | }
|
4168 |
|
4169 | /*
|
4170 | Represents a color.
|
4171 | */
|
4172 | export class Color {
|
4173 | /*
|
4174 | Initializes a new instance of the Color class. The a parameter represents opacity. The range of valid values for all parameters is 0 to 255.
|
4175 | */
|
4176 | constructor (a: number, r: number, g: number, b: number);
|
4177 |
|
4178 | /*
|
4179 | The opacity of the color. The range of valid values is 0 to 255.
|
4180 | */
|
4181 | a: number;
|
4182 |
|
4183 | /*
|
4184 | The red value of the color. The range of valid values is 0 to 255.
|
4185 | */
|
4186 | r: number;
|
4187 |
|
4188 | /*
|
4189 | The green value of the color. The range of valid values is 0 to 255.
|
4190 | */
|
4191 | g: number;
|
4192 |
|
4193 | /*
|
4194 | The blue value of the color. The range of valid values is 0 to 255.
|
4195 | */
|
4196 | b: number;
|
4197 |
|
4198 | /*
|
4199 | Creates a copy of the Color object.
|
4200 | */
|
4201 | static clone(color: Color): Color;
|
4202 |
|
4203 | /*
|
4204 | Converts the specified hex string to a Color.
|
4205 | */
|
4206 | static fromHex(hex: string): Color;
|
4207 |
|
4208 | /*
|
4209 | Returns a copy of the Color object.
|
4210 | */
|
4211 | clone(): Color;
|
4212 |
|
4213 | /*
|
4214 | Returns the opacity of the Color as a value between 0 (a=0) and 1 (a=255).
|
4215 | */
|
4216 | getOpacity(): number;
|
4217 |
|
4218 | /*
|
4219 | Converts the Color into a 6-digit hex string. Opacity is ignored. For example, a Color with values (255,0,0,0) is returned as hex string #000000.
|
4220 | */
|
4221 | toHex(): string;
|
4222 |
|
4223 | /*
|
4224 | Converts the Color object to a string.
|
4225 | */
|
4226 | toString(): string;
|
4227 | }
|
4228 |
|
4229 | export interface MapOptions {
|
4230 | backgroundColor?: Color;
|
4231 | credentials?: string;
|
4232 | customizeOverlays?: boolean;
|
4233 | disableBirdseye?: boolean;
|
4234 | disableKeyboardInput?: boolean;
|
4235 | disableMouseInput?: boolean;
|
4236 | disablePanning?: boolean;
|
4237 | disableTouchInput?: boolean;
|
4238 | disableUserInput?: boolean;
|
4239 | disableZooming?: boolean;
|
4240 | enableClickableLogo?: boolean;
|
4241 | enableSearchLogo?: boolean;
|
4242 | fixedMapPosition?: boolean;
|
4243 | height?: number;
|
4244 | inertiaIntensity?: number;
|
4245 | showBreadcrumb?: boolean;
|
4246 | showCopyright?: boolean;
|
4247 | showDashboard?: boolean;
|
4248 | showMapTypeSelector?: boolean;
|
4249 | showScalebar?: boolean;
|
4250 | theme?: any;
|
4251 | tileBuffer?: number;
|
4252 | useInertia?: boolean;
|
4253 | width?: number;
|
4254 | }
|
4255 |
|
4256 | export interface ViewOptions {
|
4257 | //Properties
|
4258 | animate?: boolean;
|
4259 | bounds?: LocationRect;
|
4260 | center?: Location;
|
4261 | centerOffset?: Point;
|
4262 | heading?: number;
|
4263 | labelOverlay?: LabelOverlay;
|
4264 | mapTypeId?: string;
|
4265 | padding?: number;
|
4266 | zoom?: number;
|
4267 | }
|
4268 |
|
4269 | export class PixelReference {
|
4270 | //The pixel is defined relative to the map control’s root element, where the top left corner of the map control is (0, 0). Using this option might cause a page reflow which may negatively impact performance.
|
4271 | static control: string;
|
4272 | //The pixel is defined relative to the page, where the top left corner of the HTML page is (0, 0). This option is best used when working with mouse or touch events. Using this option might cause a page reflow which may negatively impact performance.
|
4273 | static page: string;
|
4274 | //The pixel is defined in viewport coordinates, relative to the center of the map, where the center of the map is (0, 0). This option is best used for positioning geo-aligned entities added to the user layer.
|
4275 | static viewport: string;
|
4276 |
|
4277 | static isValid(reference: PixelReference): boolean;
|
4278 | }
|
4279 |
|
4280 | export class Point {
|
4281 | constructor (x: number, y: number);
|
4282 |
|
4283 | x: number;
|
4284 | y: number;
|
4285 |
|
4286 | static areEqual(point1: Point, point2: Point): boolean;
|
4287 | static clone(point: Point): Point;
|
4288 |
|
4289 | clone(): Point;
|
4290 | toString(): string;
|
4291 | }
|
4292 |
|
4293 | export class Infobox implements Entity { }
|
4294 |
|
4295 | export class Polygon implements Entity {
|
4296 | constructor (locations: Location[], options?: PolygonOptions);
|
4297 |
|
4298 | getFillColor(): Color;
|
4299 | getLocations(): Location[];
|
4300 | getStrokeColor(): Color;
|
4301 | getStrokeDashArray(): string;
|
4302 | getStrokeThickness(): number;
|
4303 | getVisible(): boolean;
|
4304 | setLocations(locations: Location[]): void;
|
4305 | setOptions(options: PolylineOptions): void;
|
4306 | toString(): string;
|
4307 |
|
4308 | click: (eventArgs: MouseEventArgs) => any;
|
4309 | dbclick: (eventArgs: MouseEventArgs) => any;
|
4310 | entitychanged: (entity: Entity) => any;
|
4311 | mousedown: (eventArgs: MouseEventArgs) => any;
|
4312 | mouseout: (eventArgs: MouseEventArgs) => any;
|
4313 | mouseover: (eventArgs: MouseEventArgs) => any;
|
4314 | mouseup: (eventArgs: MouseEventArgs) => any;
|
4315 | rightclick: (eventArgs: MouseEventArgs) => any;
|
4316 | }
|
4317 |
|
4318 | export class Polyline implements Entity {
|
4319 | constructor (locations: Location[], options?: PolylineOptions);
|
4320 |
|
4321 | getLocations(): Location[];
|
4322 | getStrokeColor(): Color;
|
4323 | getStrokeDashArray(): string;
|
4324 | getStrokeThickness(): number;
|
4325 | getVisible(): boolean;
|
4326 | setLocations(locations: Location[]): void;
|
4327 | setOptions(options: PolylineOptions): void;
|
4328 | toString(): string;
|
4329 |
|
4330 | click: (eventArgs: MouseEventArgs) => any;
|
4331 | dbclick: (eventArgs: MouseEventArgs) => any;
|
4332 | entitychanged: (entity: Entity) => any;
|
4333 | mousedown: (eventArgs: MouseEventArgs) => any;
|
4334 | mouseout: (eventArgs: MouseEventArgs) => any;
|
4335 | mouseover: (eventArgs: MouseEventArgs) => any;
|
4336 | mouseup: (eventArgs: MouseEventArgs) => any;
|
4337 | rightclick: (eventArgs: MouseEventArgs) => any;
|
4338 | }
|
4339 |
|
4340 | export class Pushpin implements Entity {
|
4341 | constructor (location: Location, options?: PushpinOptions);
|
4342 | getAnchor(): Point;
|
4343 | getIcon(): string;
|
4344 | getHeight(): number;
|
4345 | getLocation(): Location;
|
4346 | getText(): string;
|
4347 | getTextOffset(): Point;
|
4348 | getTypeName(): string;
|
4349 | getVisible(): boolean;
|
4350 | getWidth(): number;
|
4351 | getZIndex(): number;
|
4352 | setLocation(location: Location): void;
|
4353 | setOptions(options: PushpinOptions): void;
|
4354 | toString(): string;
|
4355 |
|
4356 | click: (eventArgs: MouseEventArgs) => any;
|
4357 | dblclick: (eventArgs: MouseEventArgs) => any;
|
4358 | drag: (object: Pushpin) => any;
|
4359 | dragend: (eventArgs: MouseEventArgs) => any;
|
4360 | dragstart: (eventArgs: MouseEventArgs) => any;
|
4361 | entitychanged: (object: { entity: Entity; }) => any;
|
4362 | mousedown: (eventArgs: MouseEventArgs) => any;
|
4363 | mouseout: (eventArgs: MouseEventArgs) => any;
|
4364 | mouseover: (eventArgs: MouseEventArgs) => any;
|
4365 | mouseup: (eventArgs: MouseEventArgs) => any;
|
4366 | rightclick: (eventArgs: MouseEventArgs) => any;
|
4367 | }
|
4368 |
|
4369 | export class TileLayer implements Entity {
|
4370 | constructor (options: TileLayerOptions);
|
4371 |
|
4372 | getOpacty(): number;
|
4373 | /*
|
4374 | Returns the tile source of the tile layer.
|
4375 | The projection parameter accepts the following values: mercator, enhancedBirdseyeNorthUp, enhancedBirdseyeSouthUp, enhancedBirdseyeEastUp, enhancedBirdseyeWestUp
|
4376 | */
|
4377 | getTileSource(projection: string): TileSource;
|
4378 | getZIndex(): number;
|
4379 | setOptions(options: TileLayerOptions): void;
|
4380 | toString(): string;
|
4381 |
|
4382 | tiledownloadcomplete: () => any;
|
4383 | }
|
4384 |
|
4385 | export class PositionError {
|
4386 | |
4387 |
|
4388 |
|
4389 |
|
4390 |
|
4391 |
|
4392 |
|
4393 |
|
4394 |
|
4395 |
|
4396 |
|
4397 | code: number;
|
4398 |
|
4399 |
|
4400 | message: string;
|
4401 | }
|
4402 |
|
4403 | export class LabelOverlay {
|
4404 |
|
4405 | static hidden: string;
|
4406 |
|
4407 | static visible: string;
|
4408 |
|
4409 | static isValid(labelOverlay: LabelOverlay): boolean;
|
4410 | }
|
4411 |
|
4412 | export class EntityState {
|
4413 |
|
4414 | static highlighted: string;
|
4415 |
|
4416 |
|
4417 | static none: string;
|
4418 |
|
4419 |
|
4420 | static selected: string;
|
4421 | }
|
4422 |
|
4423 | |
4424 |
|
4425 |
|
4426 | export class AnimationVisibility {
|
4427 |
|
4428 | static auto: string;
|
4429 |
|
4430 |
|
4431 | static hide: string;
|
4432 |
|
4433 |
|
4434 | static show: string;
|
4435 | }
|
4436 |
|
4437 | export class InfoboxType {
|
4438 |
|
4439 | static mini: string;
|
4440 |
|
4441 |
|
4442 | static standard: string;
|
4443 | }
|
4444 |
|
4445 | export class Position {
|
4446 |
|
4447 | coords: Coordinates;
|
4448 |
|
4449 | timestamp: string;
|
4450 | }
|
4451 |
|
4452 | export interface TileSourceOptions {
|
4453 | height?: number;
|
4454 |
|
4455 | uriConstructor: string;
|
4456 | width?: number;
|
4457 | }
|
4458 |
|
4459 | export class TileSource {
|
4460 | constructor (options: TileSourceOptions);
|
4461 |
|
4462 | getHeight(): number;
|
4463 | getUriConstructor(): string;
|
4464 | getWidth(): string;
|
4465 | toString(): string;
|
4466 | }
|
4467 |
|
4468 | export interface TileLayerOptions {
|
4469 | animationDisplay?: AnimationVisibility;
|
4470 | downloadTimeout?: number;
|
4471 | mercator?: TileSource;
|
4472 | opacity?: number;
|
4473 | visible?: boolean;
|
4474 | zIndex?: number;
|
4475 | }
|
4476 |
|
4477 | export interface PushpinOptions {
|
4478 | anchor?: Point;
|
4479 | draggable?: boolean;
|
4480 | height?: number;
|
4481 | htmlContent?: string;
|
4482 | icon?: string;
|
4483 | infobox?: Infobox;
|
4484 | state?: EntityState;
|
4485 | text?: string;
|
4486 | textOffset?: Point;
|
4487 | typeName?: string;
|
4488 | visible?: boolean;
|
4489 | width?: number;
|
4490 | zIndex?: number;
|
4491 | }
|
4492 |
|
4493 | export interface PositionOptions {
|
4494 | enableHighAccuracy?: boolean;
|
4495 | |
4496 |
|
4497 |
|
4498 |
|
4499 |
|
4500 |
|
4501 |
|
4502 |
|
4503 |
|
4504 |
|
4505 |
|
4506 |
|
4507 |
|
4508 |
|
4509 |
|
4510 | errorCallback?: (internalError: PositionError, errorCode: number) => void;
|
4511 | maximumAge?: number;
|
4512 | showAccuracyCircle?: boolean;
|
4513 | successCallback?: (center: Location, position: Position) => void;
|
4514 | timeout?: number;
|
4515 | updateMapView?: boolean;
|
4516 | }
|
4517 |
|
4518 |
|
4519 | export interface PositionCircleOptions {
|
4520 |
|
4521 | polygonOptions?: PolygonOptions;
|
4522 |
|
4523 | showOnMap?: boolean;
|
4524 | }
|
4525 |
|
4526 | export interface PolylineOptions {
|
4527 |
|
4528 | strokeColor?: Color;
|
4529 |
|
4530 | strokeDashArray?: string;
|
4531 |
|
4532 | strokeThickness?: number;
|
4533 |
|
4534 | visible?: boolean;
|
4535 | }
|
4536 |
|
4537 | export interface PolygonOptions {
|
4538 |
|
4539 | fillColor?: Color;
|
4540 |
|
4541 | infobox?: Infobox;
|
4542 |
|
4543 | strokeColor?: Color;
|
4544 |
|
4545 | strokeDashArray?: string;
|
4546 |
|
4547 | strokeThickness?: number;
|
4548 |
|
4549 | visible?: boolean;
|
4550 | }
|
4551 |
|
4552 | export interface InfoboxOptions {
|
4553 |
|
4554 | actions?: { label?: string; icon?: string; eventHandler: () => void; };
|
4555 |
|
4556 | description?: string;
|
4557 | htmlContent?: string;
|
4558 | id?: string;
|
4559 | location?: Location;
|
4560 | offset?: Point;
|
4561 | showCloseButton?: boolean;
|
4562 | showPointer?: boolean;
|
4563 | pushpin?: Pushpin;
|
4564 | title?: string;
|
4565 | titleAction?: { label?: string; eventHandler: () => void; };
|
4566 | titleClickHandler?: string;
|
4567 | typeName?: InfoboxType;
|
4568 | visible?: boolean;
|
4569 | width?: number;
|
4570 | height?: number;
|
4571 | }
|
4572 |
|
4573 | |
4574 |
|
4575 |
|
4576 | export interface EntityCollectionOptions {
|
4577 | bubble?: boolean;
|
4578 | visible?: boolean;
|
4579 | zIndex?: number;
|
4580 | }
|
4581 |
|
4582 | export class EntityCollection implements Entity {
|
4583 | |
4584 |
|
4585 |
|
4586 |
|
4587 | |
4588 |
|
4589 |
|
4590 | EntityCollection(options?: EntityCollectionOptions);
|
4591 |
|
4592 | |
4593 |
|
4594 |
|
4595 |
|
4596 | |
4597 |
|
4598 |
|
4599 | clear(): void;
|
4600 | get(index: number): Entity;
|
4601 | getLength(): number;
|
4602 | getVisible(): boolean;
|
4603 | getZIndex(): number;
|
4604 | indexOf(entity: Entity): number;
|
4605 | insert(entity: Entity, index: number): void;
|
4606 | pop(): Entity;
|
4607 | push(entity: Entity): void;
|
4608 | remove(entity: Entity): Entity;
|
4609 | removeAt(index: number): Entity;
|
4610 | setOptions(options: EntityCollectionOptions): void;
|
4611 | toString(): string;
|
4612 |
|
4613 |
|
4614 | entityAdded: (object: { collection: EntityCollection; entity: Entity; }) => any;
|
4615 | entityChanged: (object: { collection: EntityCollection; entity: Entity; }) => any;
|
4616 | entityRemoved: (object: { collection: EntityCollection; entity: Entity; }) => any;
|
4617 | }
|
4618 |
|
4619 | export class Map {
|
4620 |
|
4621 | constructor (mapElement: HTMLElement, options?: MapOptions);
|
4622 | constructor (mapElement: HTMLElement, options?: ViewOptions);
|
4623 | width: number;
|
4624 | height: number;
|
4625 |
|
4626 | //Properties
|
4627 | entities: EntityCollection;
|
4628 |
|
4629 | //Static Methods
|
4630 | getVersion(): string;
|
4631 |
|
4632 | //Methods
|
4633 | blur(): void;
|
4634 | dispose(): void;
|
4635 | focus(): void;
|
4636 | getBounds(): LocationRect;
|
4637 | getCenter(): Location;
|
4638 | getCopyrights(callback: (attributions: string[]) => void ): string[];
|
4639 | getCredentials(callback: (credentials: string) => void ): void;
|
4640 | getHeading(): number;
|
4641 | getHeight(): number;
|
4642 | getImageryId(): string;
|
4643 | getMapTypeId(): string;
|
4644 | getMetersPerPixel(): number;
|
4645 | getMode(): MapMode;
|
4646 | getModeLayer(): Node;
|
4647 | getOptions(): MapOptions;
|
4648 | getPageX(): number;
|
4649 | getRootElement(): Node;
|
4650 | getTargetBounds(): LocationRect;
|
4651 | getTargetCenter(): Location;
|
4652 | getTargetHeading(): number;
|
4653 | getTargetMetersPerPixel(): number;
|
4654 | getTargetZoom(): number;
|
4655 | getUserLayer(): Node;
|
4656 | getViewportX(): number;
|
4657 | getViewportY(): number;
|
4658 | getWidth(): number;
|
4659 | getZoom(): number;
|
4660 | getZoomRange(): { min: number; max: number; };
|
4661 | isDownloadingTiles(): boolean;
|
4662 | isMercator(): boolean;
|
4663 | isRotationEnabled(): boolean;
|
4664 | setMapType(mapTypeId: string): void;
|
4665 | setOptions(options: { height: number; width: number; }): void;
|
4666 | setView(options: ViewOptions): void;
|
4667 | restrictZoom(min: number, max: number);
|
4668 | tryLocationToPixel(location: Location, reference?: PixelReference): Point;
|
4669 | tryLocationToPixel(location: Location[], reference?: PixelReference): Point[];
|
4670 | tryPixelToLocation(point: Point, reference?: PixelReference): Location;
|
4671 | tryPixelToLocation(point: Point[], reference?: PixelReference): Location[];
|
4672 |
|
4673 | //Events
|
4674 | click: (eventArgs: MouseEventArgs) => any;
|
4675 | copyrightchanged: () => any;
|
4676 | dblclick: (eventArgs: MouseEventArgs) => any;
|
4677 | imagerychanged: () => any;
|
4678 | keydown: (eventArgs: KeyEventArgs) => any;
|
4679 | keypress: (eventArgs: KeyEventArgs) => any;
|
4680 | keyup: (eventArgs: KeyEventArgs) => any;
|
4681 | maptypechanged: () => any;
|
4682 | mousedown: (eventArgs: MouseEventArgs) => any;
|
4683 | mousemove: (eventArgs: MouseEventArgs) => any;
|
4684 | mouseout: (eventArgs: MouseEventArgs) => any;
|
4685 | mouseover: (eventArgs: MouseEventArgs) => any;
|
4686 | mouseup: (eventArgs: MouseEventArgs) => any;
|
4687 | mousewheel: (eventArgs: MouseEventArgs) => any;
|
4688 | rightlick: (eventArgs: MouseEventArgs) => any;
|
4689 | targetviewchanged: () => any;
|
4690 | tiledownloadcomplete: () => any;
|
4691 | viewchange: () => any;
|
4692 | viewchangeend: () => any;
|
4693 | viewchangestart: () => any;
|
4694 | }
|
4695 |
|
4696 | module Events {
|
4697 | function addHandler(target: any, eventName: string, handler: any);
|
4698 | function addThrottledHandler(target: any, eventName: string, handler: any, throttleInterval: any);
|
4699 | }
|
4700 | }
|
4701 | declare var Quill: quill.QuillStatic;
|
4702 | declare var Delta: quill.DeltaStatic;
|
4703 |
|
4704 | declare module quill {
|
4705 | interface EventEmitter2 {
|
4706 | on(event: string, listener: Function);
|
4707 | off(event: string, listener: Function);
|
4708 | removeAllListeners(event?: string);
|
4709 | emit(event: string, ...args: any[]);
|
4710 | }
|
4711 |
|
4712 | interface Range {
|
4713 | start: number;
|
4714 | end: number;
|
4715 | }
|
4716 |
|
4717 | interface QuillEvents {
|
4718 | FORMAT_INIT: string;
|
4719 | MODULE_INIT: string;
|
4720 | POST_EVENT: string;
|
4721 | PRE_EVENT: string;
|
4722 | SELECTION_CHANGE: string;
|
4723 | TEXT_CHANGE: string;
|
4724 | }
|
4725 |
|
4726 | interface Quill extends EventEmitter2 {
|
4727 | container: HTMLElement;
|
4728 | root: HTMLElement;
|
4729 | getText(start?: number, end?: number): string;
|
4730 | getLength(): number;
|
4731 | getContents(start?: number, end?: number): Delta;
|
4732 | getHTML(): string;
|
4733 |
|
4734 | insertText(index: number, text: string)
|
4735 | insertText(index: number, text: string, name: string, value: string)
|
4736 | insertText(index: number, text: string, formats: FormatAttributes)
|
4737 | insertText(index: number, text: string, source: string)
|
4738 | insertText(index: number, text: string, name: string, value: string, source: string)
|
4739 | insertText(index: number, text: string, formats: FormatAttributes, source: string)
|
4740 |
|
4741 | deleteText(start, end, source): void;
|
4742 | formatText(start: number, end: number, name: string, value: any, source: string): void;
|
4743 | formatText(range: any, name: string, value: any, source: string): void;
|
4744 | insertEmbed(index, type, url, source): void;
|
4745 | updateContents(delta, source): void;
|
4746 | setContents(delta, source): void;
|
4747 | setHTML(html, source): void;
|
4748 | setText(text, source): void;
|
4749 |
|
4750 | getSelection(): Range;
|
4751 |
|
4752 | setSelection(start: number, end: number, source?: string): void;
|
4753 | setSelection(range: Range, source?: string): void;
|
4754 |
|
4755 | prepareFormat(name, value, source): any;
|
4756 | focus(): any;
|
4757 |
|
4758 | addModule(name, options): any;
|
4759 | getModule(name): any;
|
4760 | onModuleLoad(name, callback): any;
|
4761 | addFormat(name, config): any;
|
4762 | addContainer(className, before): any;
|
4763 | }
|
4764 |
|
4765 | interface FormatAttributes {
|
4766 | bold?: boolean;
|
4767 | italic?: boolean;
|
4768 | strike?: boolean;
|
4769 | underline?: boolean;
|
4770 | font?: string;
|
4771 | size?: string;
|
4772 | color?: string;
|
4773 | background?: string;
|
4774 | image?: string;
|
4775 | link?: string;
|
4776 | bullet?: boolean;
|
4777 | list?: boolean;
|
4778 | align?: string
|
4779 | }
|
4780 |
|
4781 | interface QuillStatic {
|
4782 | new (container: any): Quill;
|
4783 | new (container: any, configs: any): Quill;
|
4784 | events: QuillEvents;
|
4785 | }
|
4786 |
|
4787 | interface Delta {
|
4788 | ops?: Op[];
|
4789 |
|
4790 | insert(text: string, attributes?: FormatAttributes): Delta;
|
4791 | insert(embed: number, attributes?: FormatAttributes): Delta;
|
4792 |
|
4793 | delete(length: number): Delta;
|
4794 |
|
4795 | retain(length: number, attributes?: FormatAttributes): Delta;
|
4796 |
|
4797 | length(): number;
|
4798 |
|
4799 | slice(): Delta;
|
4800 | slice(start: number): Delta;
|
4801 | slice(start: number, end: number): Delta;
|
4802 |
|
4803 | compose(other: Delta): Delta;
|
4804 |
|
4805 | transform(other: Delta, priority: boolean): Delta;
|
4806 | transform(index: number): number;
|
4807 |
|
4808 | transformPosition(index: number): number;
|
4809 |
|
4810 | diff(other: Delta): Delta;
|
4811 | }
|
4812 |
|
4813 | interface DeltaStatic {
|
4814 | new (): Delta;
|
4815 | }
|
4816 |
|
4817 | type Op = InsertOp | DeleteOp | RetainOp;
|
4818 |
|
4819 | interface InsertOp {
|
4820 | insert: string | number;
|
4821 | attributes?: FormatAttributes;
|
4822 | }
|
4823 |
|
4824 | interface DeleteOp {
|
4825 | delete: number;
|
4826 | }
|
4827 |
|
4828 | interface RetainOp {
|
4829 | retain: number;
|
4830 | attributes?: FormatAttributes;
|
4831 | }
|
4832 | }
|
4833 |
|
4834 |
|
4835 |
|
4836 |
|
4837 |
|
4838 | declare var _: _.LoDashStatic;
|
4839 |
|
4840 | declare module _ {
|
4841 | interface LoDashStatic {
|
4842 | |
4843 |
|
4844 |
|
4845 |
|
4846 |
|
4847 |
|
4848 |
|
4849 |
|
4850 |
|
4851 |
|
4852 |
|
4853 |
|
4854 |
|
4855 |
|
4856 |
|
4857 |
|
4858 |
|
4859 |
|
4860 |
|
4861 |
|
4862 |
|
4863 |
|
4864 |
|
4865 |
|
4866 |
|
4867 |
|
4868 |
|
4869 |
|
4870 |
|
4871 |
|
4872 |
|
4873 | (value: number): LoDashWrapper<number>;
|
4874 | (value: string): LoDashWrapper<string>;
|
4875 | (value: boolean): LoDashWrapper<boolean>;
|
4876 | <T>(value: Array<T>): LoDashArrayWrapper<T>;
|
4877 | <T extends {}>(value: T): LoDashObjectWrapper<T>;
|
4878 | (value: any): LoDashWrapper<any>;
|
4879 |
|
4880 | |
4881 |
|
4882 |
|
4883 | VERSION: string;
|
4884 |
|
4885 | |
4886 |
|
4887 |
|
4888 | support: Support;
|
4889 |
|
4890 | |
4891 |
|
4892 |
|
4893 |
|
4894 | templateSettings: TemplateSettings;
|
4895 | }
|
4896 |
|
4897 | |
4898 |
|
4899 |
|
4900 |
|
4901 | interface TemplateSettings {
|
4902 | |
4903 |
|
4904 |
|
4905 | escape?: RegExp;
|
4906 |
|
4907 | |
4908 |
|
4909 |
|
4910 | evaluate?: RegExp;
|
4911 |
|
4912 | |
4913 |
|
4914 |
|
4915 | imports?: Dictionary<any>;
|
4916 |
|
4917 | |
4918 |
|
4919 |
|
4920 | interpolate?: RegExp;
|
4921 |
|
4922 | |
4923 |
|
4924 |
|
4925 | variable?: string;
|
4926 | }
|
4927 |
|
4928 | |
4929 |
|
4930 |
|
4931 | interface Support {
|
4932 | |
4933 |
|
4934 |
|
4935 | argsClass: boolean;
|
4936 |
|
4937 | |
4938 |
|
4939 |
|
4940 | argsObject: boolean;
|
4941 |
|
4942 | |
4943 |
|
4944 |
|
4945 |
|
4946 | enumErrorProps: boolean;
|
4947 |
|
4948 | |
4949 |
|
4950 |
|
4951 | fastBind: boolean;
|
4952 |
|
4953 | |
4954 |
|
4955 |
|
4956 |
|
4957 | funcDecomp: boolean;
|
4958 |
|
4959 | |
4960 |
|
4961 |
|
4962 | funcNames: boolean;
|
4963 |
|
4964 | |
4965 |
|
4966 |
|
4967 |
|
4968 | nonEnumArgs: boolean;
|
4969 |
|
4970 | |
4971 |
|
4972 |
|
4973 |
|
4974 |
|
4975 |
|
4976 | nonEnumShadows: boolean;
|
4977 |
|
4978 | |
4979 |
|
4980 |
|
4981 | ownLast: boolean;
|
4982 |
|
4983 | |
4984 |
|
4985 |
|
4986 |
|
4987 |
|
4988 |
|
4989 |
|
4990 |
|
4991 |
|
4992 | spliceObjects: boolean;
|
4993 |
|
4994 | |
4995 |
|
4996 |
|
4997 |
|
4998 |
|
4999 |
|
5000 | unindexedChars: boolean;
|
5001 | }
|
5002 |
|
5003 | interface LoDashWrapperBase<T, TWrapper> {
|
5004 | |
5005 |
|
5006 |
|
5007 |
|
5008 | toString(): string;
|
5009 |
|
5010 | |
5011 |
|
5012 |
|
5013 |
|
5014 | valueOf(): T;
|
5015 |
|
5016 | |
5017 |
|
5018 |
|
5019 | value(): T;
|
5020 | }
|
5021 |
|
5022 | interface LoDashWrapper<T> extends LoDashWrapperBase<T, LoDashWrapper<T>> { }
|
5023 |
|
5024 | interface LoDashObjectWrapper<T> extends LoDashWrapperBase<T, LoDashObjectWrapper<T>> { }
|
5025 |
|
5026 | interface LoDashArrayWrapper<T> extends LoDashWrapperBase<T[], LoDashArrayWrapper<T>> {
|
5027 | concat(...items: T[]): LoDashArrayWrapper<T>;
|
5028 | join(seperator?: string): LoDashWrapper<string>;
|
5029 | pop(): LoDashWrapper<T>;
|
5030 | push(...items: T[]): void;
|
5031 | reverse(): LoDashArrayWrapper<T>;
|
5032 | shift(): LoDashWrapper<T>;
|
5033 | slice(start: number, end?: number): LoDashArrayWrapper<T>;
|
5034 | sort(compareFn?: (a: T, b: T) => number): LoDashArrayWrapper<T>;
|
5035 | splice(start: number): LoDashArrayWrapper<T>;
|
5036 | splice(start: number, deleteCount: number, ...items: any[]): LoDashArrayWrapper<T>;
|
5037 | unshift(...items: any[]): LoDashWrapper<number>;
|
5038 | }
|
5039 |
|
5040 |
|
5041 | interface LoDashStatic {
|
5042 | |
5043 |
|
5044 |
|
5045 |
|
5046 |
|
5047 | chain(value: number): LoDashWrapper<number>;
|
5048 | chain(value: string): LoDashWrapper<string>;
|
5049 | chain(value: boolean): LoDashWrapper<boolean>;
|
5050 | chain<T>(value: Array<T>): LoDashArrayWrapper<T>;
|
5051 | chain<T extends {}>(value: T): LoDashObjectWrapper<T>;
|
5052 | chain(value: any): LoDashWrapper<any>;
|
5053 | }
|
5054 |
|
5055 | interface LoDashWrapperBase<T, TWrapper> {
|
5056 | |
5057 |
|
5058 |
|
5059 |
|
5060 |
|
5061 | chain(): TWrapper;
|
5062 | }
|
5063 |
|
5064 |
|
5065 | interface LoDashStatic {
|
5066 | |
5067 |
|
5068 |
|
5069 |
|
5070 |
|
5071 |
|
5072 |
|
5073 |
|
5074 | tap<T>(
|
5075 | value: T,
|
5076 | interceptor: (value: T) => void): T;
|
5077 | }
|
5078 |
|
5079 | interface LoDashWrapperBase<T, TWrapper> {
|
5080 | |
5081 |
|
5082 |
|
5083 | tap(interceptor: (value: T) => void): TWrapper;
|
5084 | }
|
5085 |
|
5086 | |
5087 |
|
5088 |
|
5089 |
|
5090 |
|
5091 | interface LoDashStatic {
|
5092 | |
5093 |
|
5094 |
|
5095 |
|
5096 |
|
5097 |
|
5098 | compact<T>(array: Array<T>): T[];
|
5099 |
|
5100 | |
5101 |
|
5102 |
|
5103 | compact<T>(array: List<T>): T[];
|
5104 | }
|
5105 |
|
5106 | interface LoDashArrayWrapper<T> {
|
5107 | |
5108 |
|
5109 |
|
5110 | compact(): LoDashArrayWrapper<T>;
|
5111 | }
|
5112 |
|
5113 |
|
5114 | interface LoDashStatic {
|
5115 | |
5116 |
|
5117 |
|
5118 |
|
5119 |
|
5120 |
|
5121 |
|
5122 | difference<T>(
|
5123 | array: Array<T>,
|
5124 | ...others: Array<T>[]): T[];
|
5125 | |
5126 |
|
5127 |
|
5128 | difference<T>(
|
5129 | array: List<T>,
|
5130 | ...others: List<T>[]): T[];
|
5131 | }
|
5132 |
|
5133 | interface LoDashArrayWrapper<T> {
|
5134 | |
5135 |
|
5136 |
|
5137 | difference(
|
5138 | ...others: Array<T>[]): LoDashArrayWrapper<T>;
|
5139 | |
5140 |
|
5141 |
|
5142 | difference(
|
5143 | ...others: List<T>[]): LoDashArrayWrapper<T>;
|
5144 | }
|
5145 |
|
5146 |
|
5147 | interface LoDashStatic {
|
5148 | |
5149 |
|
5150 |
|
5151 |
|
5152 |
|
5153 |
|
5154 |
|
5155 |
|
5156 |
|
5157 | findIndex<T>(
|
5158 | array: Array<T>,
|
5159 | callback: ListIterator<T, boolean>,
|
5160 | thisArg?: any): number;
|
5161 |
|
5162 | |
5163 |
|
5164 |
|
5165 | findIndex<T>(
|
5166 | array: List<T>,
|
5167 | callback: ListIterator<T, boolean>,
|
5168 | thisArg?: any): number;
|
5169 |
|
5170 | |
5171 |
|
5172 |
|
5173 | findIndex<T>(
|
5174 | array: Array<T>,
|
5175 | pluckValue: string): number;
|
5176 |
|
5177 | |
5178 |
|
5179 |
|
5180 | findIndex<T>(
|
5181 | array: List<T>,
|
5182 | pluckValue: string): number;
|
5183 |
|
5184 | |
5185 |
|
5186 |
|
5187 | findIndex<W, T>(
|
5188 | array: Array<T>,
|
5189 | whereDictionary: W): number;
|
5190 |
|
5191 | |
5192 |
|
5193 |
|
5194 | findIndex<W, T>(
|
5195 | array: List<T>,
|
5196 | whereDictionary: W): number;
|
5197 | }
|
5198 |
|
5199 |
|
5200 | interface LoDashStatic {
|
5201 | |
5202 |
|
5203 |
|
5204 |
|
5205 |
|
5206 |
|
5207 |
|
5208 |
|
5209 | findLastIndex<T>(
|
5210 | array: Array<T>,
|
5211 | callback: ListIterator<T, boolean>,
|
5212 | thisArg?: any): number;
|
5213 |
|
5214 | |
5215 |
|
5216 |
|
5217 | findLastIndex<T>(
|
5218 | array: List<T>,
|
5219 | callback: ListIterator<T, boolean>,
|
5220 | thisArg?: any): number;
|
5221 |
|
5222 | |
5223 |
|
5224 |
|
5225 | findLastIndex<T>(
|
5226 | array: Array<T>,
|
5227 | pluckValue: string): number;
|
5228 |
|
5229 | |
5230 |
|
5231 |
|
5232 | findLastIndex<T>(
|
5233 | array: List<T>,
|
5234 | pluckValue: string): number;
|
5235 |
|
5236 | |
5237 |
|
5238 |
|
5239 | findLastIndex<T>(
|
5240 | array: Array<T>,
|
5241 | whereDictionary: Dictionary<any>): number;
|
5242 |
|
5243 | |
5244 |
|
5245 |
|
5246 | findLastIndex<T>(
|
5247 | array: List<T>,
|
5248 | whereDictionary: Dictionary<any>): number;
|
5249 | }
|
5250 |
|
5251 |
|
5252 | interface LoDashStatic {
|
5253 | |
5254 |
|
5255 |
|
5256 |
|
5257 |
|
5258 |
|
5259 |
|
5260 |
|
5261 |
|
5262 |
|
5263 |
|
5264 |
|
5265 |
|
5266 |
|
5267 | first<T>(array: Array<T>): T;
|
5268 |
|
5269 | |
5270 |
|
5271 |
|
5272 | first<T>(array: List<T>): T;
|
5273 |
|
5274 | |
5275 |
|
5276 |
|
5277 |
|
5278 | first<T>(
|
5279 | array: Array<T>,
|
5280 | n: number): T[];
|
5281 |
|
5282 | |
5283 |
|
5284 |
|
5285 |
|
5286 | first<T>(
|
5287 | array: List<T>,
|
5288 | n: number): T[];
|
5289 |
|
5290 | |
5291 |
|
5292 |
|
5293 |
|
5294 |
|
5295 | first<T>(
|
5296 | array: Array<T>,
|
5297 | callback: ListIterator<T, boolean>,
|
5298 | thisArg?: any): T[];
|
5299 |
|
5300 | |
5301 |
|
5302 |
|
5303 |
|
5304 |
|
5305 | first<T>(
|
5306 | array: List<T>,
|
5307 | callback: ListIterator<T, boolean>,
|
5308 | thisArg?: any): T[];
|
5309 |
|
5310 | |
5311 |
|
5312 |
|
5313 |
|
5314 | first<T>(
|
5315 | array: Array<T>,
|
5316 | pluckValue: string): T[];
|
5317 |
|
5318 | |
5319 |
|
5320 |
|
5321 |
|
5322 | first<T>(
|
5323 | array: List<T>,
|
5324 | pluckValue: string): T[];
|
5325 |
|
5326 | |
5327 |
|
5328 |
|
5329 |
|
5330 | first<W, T>(
|
5331 | array: Array<T>,
|
5332 | whereValue: W): T[];
|
5333 |
|
5334 | |
5335 |
|
5336 |
|
5337 |
|
5338 | first<W, T>(
|
5339 | array: List<T>,
|
5340 | whereValue: W): T[];
|
5341 |
|
5342 | |
5343 |
|
5344 |
|
5345 | head<T>(array: Array<T>): T;
|
5346 |
|
5347 | |
5348 |
|
5349 |
|
5350 | head<T>(array: List<T>): T;
|
5351 |
|
5352 | |
5353 |
|
5354 |
|
5355 | head<T>(
|
5356 | array: Array<T>,
|
5357 | n: number): T[];
|
5358 |
|
5359 | |
5360 |
|
5361 |
|
5362 | head<T>(
|
5363 | array: List<T>,
|
5364 | n: number): T[];
|
5365 |
|
5366 | |
5367 |
|
5368 |
|
5369 | head<T>(
|
5370 | array: Array<T>,
|
5371 | callback: ListIterator<T, boolean>,
|
5372 | thisArg?: any): T[];
|
5373 |
|
5374 | |
5375 |
|
5376 |
|
5377 | head<T>(
|
5378 | array: List<T>,
|
5379 | callback: ListIterator<T, boolean>,
|
5380 | thisArg?: any): T[];
|
5381 |
|
5382 | |
5383 |
|
5384 |
|
5385 | head<T>(
|
5386 | array: Array<T>,
|
5387 | pluckValue: string): T[];
|
5388 |
|
5389 | |
5390 |
|
5391 |
|
5392 | head<T>(
|
5393 | array: List<T>,
|
5394 | pluckValue: string): T[];
|
5395 |
|
5396 | |
5397 |
|
5398 |
|
5399 | head<W, T>(
|
5400 | array: Array<T>,
|
5401 | whereValue: W): T[];
|
5402 |
|
5403 | |
5404 |
|
5405 |
|
5406 | head<W, T>(
|
5407 | array: List<T>,
|
5408 | whereValue: W): T[];
|
5409 |
|
5410 | |
5411 |
|
5412 |
|
5413 | take<T>(array: Array<T>): T;
|
5414 |
|
5415 | |
5416 |
|
5417 |
|
5418 | take<T>(array: List<T>): T;
|
5419 |
|
5420 | |
5421 |
|
5422 |
|
5423 | take<T>(
|
5424 | array: Array<T>,
|
5425 | n: number): T[];
|
5426 |
|
5427 | |
5428 |
|
5429 |
|
5430 | take<T>(
|
5431 | array: List<T>,
|
5432 | n: number): T[];
|
5433 |
|
5434 | |
5435 |
|
5436 |
|
5437 | take<T>(
|
5438 | array: Array<T>,
|
5439 | callback: ListIterator<T, boolean>,
|
5440 | thisArg?: any): T[];
|
5441 |
|
5442 | |
5443 |
|
5444 |
|
5445 | take<T>(
|
5446 | array: List<T>,
|
5447 | callback: ListIterator<T, boolean>,
|
5448 | thisArg?: any): T[];
|
5449 |
|
5450 | |
5451 |
|
5452 |
|
5453 | take<T>(
|
5454 | array: Array<T>,
|
5455 | pluckValue: string): T[];
|
5456 |
|
5457 | |
5458 |
|
5459 |
|
5460 | take<T>(
|
5461 | array: List<T>,
|
5462 | pluckValue: string): T[];
|
5463 |
|
5464 | |
5465 |
|
5466 |
|
5467 | take<W, T>(
|
5468 | array: Array<T>,
|
5469 | whereValue: W): T[];
|
5470 |
|
5471 | |
5472 |
|
5473 |
|
5474 | take<W, T>(
|
5475 | array: List<T>,
|
5476 | whereValue: W): T[];
|
5477 | }
|
5478 |
|
5479 | interface LoDashArrayWrapper<T> {
|
5480 | |
5481 |
|
5482 |
|
5483 | first(): T;
|
5484 |
|
5485 | |
5486 |
|
5487 |
|
5488 |
|
5489 | first(n: number): LoDashArrayWrapper<T>;
|
5490 |
|
5491 | |
5492 |
|
5493 |
|
5494 |
|
5495 |
|
5496 | first(
|
5497 | callback: ListIterator<T, boolean>,
|
5498 | thisArg?: any): LoDashArrayWrapper<T>;
|
5499 |
|
5500 | |
5501 |
|
5502 |
|
5503 |
|
5504 | first(pluckValue: string): LoDashArrayWrapper<T>;
|
5505 |
|
5506 | |
5507 |
|
5508 |
|
5509 |
|
5510 | first<W>(whereValue: W): LoDashArrayWrapper<T>;
|
5511 |
|
5512 | |
5513 |
|
5514 |
|
5515 | head(): T;
|
5516 |
|
5517 | |
5518 |
|
5519 |
|
5520 |
|
5521 | head(n: number): LoDashArrayWrapper<T>;
|
5522 |
|
5523 | |
5524 |
|
5525 |
|
5526 |
|
5527 |
|
5528 | head(
|
5529 | callback: ListIterator<T, boolean>,
|
5530 | thisArg?: any): LoDashArrayWrapper<T>;
|
5531 |
|
5532 | |
5533 |
|
5534 |
|
5535 |
|
5536 | head(pluckValue: string): LoDashArrayWrapper<T>;
|
5537 |
|
5538 | |
5539 |
|
5540 |
|
5541 |
|
5542 | head<W>(whereValue: W): LoDashArrayWrapper<T>;
|
5543 |
|
5544 | |
5545 |
|
5546 |
|
5547 | take(): T;
|
5548 |
|
5549 | |
5550 |
|
5551 |
|
5552 |
|
5553 | take(n: number): LoDashArrayWrapper<T>;
|
5554 |
|
5555 | |
5556 |
|
5557 |
|
5558 |
|
5559 |
|
5560 | take(
|
5561 | callback: ListIterator<T, boolean>,
|
5562 | thisArg?: any): LoDashArrayWrapper<T>;
|
5563 |
|
5564 | |
5565 |
|
5566 |
|
5567 |
|
5568 | take(pluckValue: string): LoDashArrayWrapper<T>;
|
5569 |
|
5570 | |
5571 |
|
5572 |
|
5573 |
|
5574 | take<W>(whereValue: W): LoDashArrayWrapper<T>;
|
5575 | }
|
5576 |
|
5577 |
|
5578 | interface LoDashStatic {
|
5579 | |
5580 |
|
5581 |
|
5582 |
|
5583 |
|
5584 |
|
5585 |
|
5586 |
|
5587 |
|
5588 |
|
5589 |
|
5590 |
|
5591 |
|
5592 |
|
5593 |
|
5594 | flatten<T>(array: Array<any>, isShallow?: boolean): T[];
|
5595 |
|
5596 | |
5597 |
|
5598 |
|
5599 | flatten<T>(array: List<any>, isShallow?: boolean): T[];
|
5600 |
|
5601 | |
5602 |
|
5603 |
|
5604 | flatten<T>(
|
5605 | array: Array<any>,
|
5606 | isShallow: boolean,
|
5607 | callback: ListIterator<any, T>,
|
5608 | thisArg?: any): T[];
|
5609 |
|
5610 | |
5611 |
|
5612 |
|
5613 | flatten<T>(
|
5614 | array: List<any>,
|
5615 | isShallow: boolean,
|
5616 | callback: ListIterator<any, T>,
|
5617 | thisArg?: any): T[];
|
5618 |
|
5619 | |
5620 |
|
5621 |
|
5622 | flatten<T>(
|
5623 | array: Array<any>,
|
5624 | callback: ListIterator<any, T>,
|
5625 | thisArg?: any): T[];
|
5626 |
|
5627 | |
5628 |
|
5629 |
|
5630 | flatten<T>(
|
5631 | array: List<any>,
|
5632 | callback: ListIterator<any, T>,
|
5633 | thisArg?: any): T[];
|
5634 |
|
5635 | |
5636 |
|
5637 |
|
5638 | flatten<W, T>(
|
5639 | array: Array<any>,
|
5640 | isShallow: boolean,
|
5641 | whereValue: W): T[];
|
5642 |
|
5643 | |
5644 |
|
5645 |
|
5646 | flatten<W, T>(
|
5647 | array: List<any>,
|
5648 | isShallow: boolean,
|
5649 | whereValue: W): T[];
|
5650 |
|
5651 | |
5652 |
|
5653 |
|
5654 | flatten<W, T>(
|
5655 | array: Array<any>,
|
5656 | whereValue: W): T[];
|
5657 |
|
5658 | |
5659 |
|
5660 |
|
5661 | flatten<W, T>(
|
5662 | array: List<any>,
|
5663 | whereValue: W): T[];
|
5664 |
|
5665 | |
5666 |
|
5667 |
|
5668 | flatten<T>(
|
5669 | array: Array<any>,
|
5670 | isShallow: boolean,
|
5671 | pluckValue: string): T[];
|
5672 |
|
5673 | |
5674 |
|
5675 |
|
5676 | flatten<T>(
|
5677 | array: List<any>,
|
5678 | isShallow: boolean,
|
5679 | pluckValue: string): T[];
|
5680 |
|
5681 | |
5682 |
|
5683 |
|
5684 | flatten<T>(
|
5685 | array: Array<any>,
|
5686 | pluckValue: string): T[];
|
5687 |
|
5688 | |
5689 |
|
5690 |
|
5691 | flatten<T>(
|
5692 | array: List<any>,
|
5693 | pluckValue: string): T[];
|
5694 | }
|
5695 |
|
5696 | interface LoDashArrayWrapper<T> {
|
5697 | |
5698 |
|
5699 |
|
5700 | flatten<Flat>(isShallow?: boolean): LoDashArrayWrapper<Flat>;
|
5701 |
|
5702 | |
5703 |
|
5704 |
|
5705 | flatten<Flat>(
|
5706 | isShallow: boolean,
|
5707 | callback: ListIterator<T, Flat>,
|
5708 | thisArg?: any): LoDashArrayWrapper<Flat>;
|
5709 |
|
5710 | |
5711 |
|
5712 |
|
5713 | flatten<Flat>(
|
5714 | callback: ListIterator<T, Flat>,
|
5715 | thisArg?: any): LoDashArrayWrapper<Flat>;
|
5716 |
|
5717 | |
5718 |
|
5719 |
|
5720 | flatten<Flat>(
|
5721 | isShallow: boolean,
|
5722 | pluckValue: string): LoDashArrayWrapper<Flat>;
|
5723 |
|
5724 | |
5725 |
|
5726 |
|
5727 | flatten<Flat>(
|
5728 | pluckValue: string): LoDashArrayWrapper<Flat>;
|
5729 |
|
5730 | |
5731 |
|
5732 |
|
5733 | flatten<Flat, W>(
|
5734 | isShallow: boolean,
|
5735 | whereValue: W): LoDashArrayWrapper<Flat>;
|
5736 |
|
5737 | |
5738 |
|
5739 |
|
5740 | flatten<Flat, W>(
|
5741 | whereValue: W): LoDashArrayWrapper<Flat>;
|
5742 | }
|
5743 |
|
5744 |
|
5745 | interface LoDashStatic {
|
5746 | |
5747 |
|
5748 |
|
5749 |
|
5750 |
|
5751 |
|
5752 |
|
5753 |
|
5754 |
|
5755 | indexOf<T>(
|
5756 | array: Array<T>,
|
5757 | value: T): number;
|
5758 |
|
5759 | |
5760 |
|
5761 |
|
5762 | indexOf<T>(
|
5763 | array: List<T>,
|
5764 | value: T): number;
|
5765 |
|
5766 | |
5767 |
|
5768 |
|
5769 |
|
5770 | indexOf<T>(
|
5771 | array: Array<T>,
|
5772 | value: T,
|
5773 | fromIndex: number): number;
|
5774 |
|
5775 | |
5776 |
|
5777 |
|
5778 |
|
5779 | indexOf<T>(
|
5780 | array: List<T>,
|
5781 | value: T,
|
5782 | fromIndex: number): number;
|
5783 |
|
5784 | |
5785 |
|
5786 |
|
5787 |
|
5788 | indexOf<T>(
|
5789 | array: Array<T>,
|
5790 | value: T,
|
5791 | isSorted: boolean): number;
|
5792 |
|
5793 | |
5794 |
|
5795 |
|
5796 |
|
5797 | indexOf<T>(
|
5798 | array: List<T>,
|
5799 | value: T,
|
5800 | isSorted: boolean): number;
|
5801 | }
|
5802 |
|
5803 |
|
5804 | interface LoDashStatic {
|
5805 | |
5806 |
|
5807 |
|
5808 |
|
5809 |
|
5810 |
|
5811 |
|
5812 |
|
5813 |
|
5814 |
|
5815 |
|
5816 |
|
5817 |
|
5818 |
|
5819 |
|
5820 | initial<T>(
|
5821 | array: Array<T>): T[];
|
5822 |
|
5823 | |
5824 |
|
5825 |
|
5826 | initial<T>(
|
5827 | array: List<T>): T[];
|
5828 |
|
5829 | |
5830 |
|
5831 |
|
5832 |
|
5833 | initial<T>(
|
5834 | array: Array<T>,
|
5835 | n: number): T[];
|
5836 |
|
5837 | |
5838 |
|
5839 |
|
5840 |
|
5841 | initial<T>(
|
5842 | array: List<T>,
|
5843 | n: number): T[];
|
5844 |
|
5845 | |
5846 |
|
5847 |
|
5848 |
|
5849 | initial<T>(
|
5850 | array: Array<T>,
|
5851 | callback: ListIterator<T, boolean>): T[];
|
5852 |
|
5853 | |
5854 |
|
5855 |
|
5856 |
|
5857 | initial<T>(
|
5858 | array: List<T>,
|
5859 | callback: ListIterator<T, boolean>): T[];
|
5860 |
|
5861 | |
5862 |
|
5863 |
|
5864 |
|
5865 | initial<T>(
|
5866 | array: Array<T>,
|
5867 | pluckValue: string): T[];
|
5868 |
|
5869 | |
5870 |
|
5871 |
|
5872 |
|
5873 | initial<T>(
|
5874 | array: List<T>,
|
5875 | pluckValue: string): T[];
|
5876 |
|
5877 | |
5878 |
|
5879 |
|
5880 |
|
5881 | initial<W, T>(
|
5882 | array: Array<T>,
|
5883 | whereValue: W): T[];
|
5884 |
|
5885 | |
5886 |
|
5887 |
|
5888 |
|
5889 | initial<W, T>(
|
5890 | array: List<T>,
|
5891 | whereValue: W): T[];
|
5892 | }
|
5893 |
|
5894 |
|
5895 | interface LoDashStatic {
|
5896 | |
5897 |
|
5898 |
|
5899 |
|
5900 |
|
5901 |
|
5902 | intersection<T>(...arrays: Array<T>[]): T[];
|
5903 |
|
5904 | |
5905 |
|
5906 |
|
5907 | intersection<T>(...arrays: List<T>[]): T[];
|
5908 | }
|
5909 |
|
5910 |
|
5911 | interface LoDashStatic {
|
5912 | |
5913 |
|
5914 |
|
5915 |
|
5916 |
|
5917 |
|
5918 |
|
5919 |
|
5920 |
|
5921 |
|
5922 |
|
5923 |
|
5924 |
|
5925 | last<T>(array: Array<T>): T;
|
5926 |
|
5927 | |
5928 |
|
5929 |
|
5930 | last<T>(array: List<T>): T;
|
5931 |
|
5932 | |
5933 |
|
5934 |
|
5935 |
|
5936 | last<T>(
|
5937 | array: Array<T>,
|
5938 | n: number): T[];
|
5939 |
|
5940 | |
5941 |
|
5942 |
|
5943 |
|
5944 | last<T>(
|
5945 | array: List<T>,
|
5946 | n: number): T[];
|
5947 |
|
5948 | |
5949 |
|
5950 |
|
5951 |
|
5952 | last<T>(
|
5953 | array: Array<T>,
|
5954 | callback: ListIterator<T, boolean>,
|
5955 | thisArg?: any): T[];
|
5956 |
|
5957 | |
5958 |
|
5959 |
|
5960 |
|
5961 | last<T>(
|
5962 | array: List<T>,
|
5963 | callback: ListIterator<T, boolean>,
|
5964 | thisArg?: any): T[];
|
5965 |
|
5966 | |
5967 |
|
5968 |
|
5969 |
|
5970 | last<T>(
|
5971 | array: Array<T>,
|
5972 | pluckValue: string): T[];
|
5973 |
|
5974 | |
5975 |
|
5976 |
|
5977 |
|
5978 | last<T>(
|
5979 | array: List<T>,
|
5980 | pluckValue: string): T[];
|
5981 |
|
5982 | |
5983 |
|
5984 |
|
5985 |
|
5986 | last<W, T>(
|
5987 | array: Array<T>,
|
5988 | whereValue: W): T[];
|
5989 |
|
5990 | |
5991 |
|
5992 |
|
5993 |
|
5994 | last<W, T>(
|
5995 | array: List<T>,
|
5996 | whereValue: W): T[];
|
5997 | }
|
5998 |
|
5999 |
|
6000 | interface LoDashStatic {
|
6001 | |
6002 |
|
6003 |
|
6004 |
|
6005 |
|
6006 |
|
6007 |
|
6008 |
|
6009 |
|
6010 | lastIndexOf<T>(
|
6011 | array: Array<T>,
|
6012 | value: T,
|
6013 | fromIndex?: number): number;
|
6014 |
|
6015 | |
6016 |
|
6017 |
|
6018 | lastIndexOf<T>(
|
6019 | array: List<T>,
|
6020 | value: T,
|
6021 | fromIndex?: number): number;
|
6022 | }
|
6023 |
|
6024 |
|
6025 | interface LoDashStatic {
|
6026 | |
6027 |
|
6028 |
|
6029 |
|
6030 |
|
6031 |
|
6032 |
|
6033 | pull(
|
6034 | array: Array<any>,
|
6035 | ...values: any[]): any[];
|
6036 |
|
6037 | |
6038 |
|
6039 |
|
6040 | pull(
|
6041 | array: List<any>,
|
6042 | ...values: any[]): any[];
|
6043 | }
|
6044 |
|
6045 |
|
6046 | interface LoDashStatic {
|
6047 | |
6048 |
|
6049 |
|
6050 |
|
6051 |
|
6052 |
|
6053 |
|
6054 |
|
6055 |
|
6056 | range(
|
6057 | start: number,
|
6058 | stop: number,
|
6059 | step?: number): number[];
|
6060 |
|
6061 | |
6062 |
|
6063 |
|
6064 |
|
6065 |
|
6066 |
|
6067 | range(stop: number): number[];
|
6068 | }
|
6069 |
|
6070 |
|
6071 | interface LoDashStatic {
|
6072 | |
6073 |
|
6074 |
|
6075 |
|
6076 |
|
6077 |
|
6078 |
|
6079 |
|
6080 |
|
6081 |
|
6082 |
|
6083 |
|
6084 |
|
6085 |
|
6086 |
|
6087 | remove(
|
6088 | array: Array<any>,
|
6089 | callback?: ListIterator<any, boolean>,
|
6090 | thisArg?: any): any[];
|
6091 |
|
6092 | |
6093 |
|
6094 |
|
6095 | remove(
|
6096 | array: List<any>,
|
6097 | callback?: ListIterator<any, boolean>,
|
6098 | thisArg?: any): any[];
|
6099 |
|
6100 | |
6101 |
|
6102 |
|
6103 |
|
6104 | remove(
|
6105 | array: Array<any>,
|
6106 | pluckValue?: string): any[];
|
6107 |
|
6108 | |
6109 |
|
6110 |
|
6111 |
|
6112 | remove(
|
6113 | array: List<any>,
|
6114 | pluckValue?: string): any[];
|
6115 |
|
6116 | |
6117 |
|
6118 |
|
6119 |
|
6120 | remove(
|
6121 | array: Array<any>,
|
6122 | wherealue?: Dictionary<any>): any[];
|
6123 |
|
6124 | |
6125 |
|
6126 |
|
6127 |
|
6128 | remove(
|
6129 | array: List<any>,
|
6130 | wherealue?: Dictionary<any>): any[];
|
6131 | }
|
6132 |
|
6133 |
|
6134 | interface LoDashStatic {
|
6135 | |
6136 |
|
6137 |
|
6138 |
|
6139 |
|
6140 |
|
6141 |
|
6142 |
|
6143 |
|
6144 |
|
6145 |
|
6146 |
|
6147 |
|
6148 |
|
6149 |
|
6150 |
|
6151 |
|
6152 |
|
6153 | rest<T>(array: Array<T>): T[];
|
6154 |
|
6155 | |
6156 |
|
6157 |
|
6158 | rest<T>(array: List<T>): T[];
|
6159 |
|
6160 | |
6161 |
|
6162 |
|
6163 | rest<T>(
|
6164 | array: Array<T>,
|
6165 | callback: ListIterator<T, boolean>,
|
6166 | thisArg?: any): T[];
|
6167 |
|
6168 | |
6169 |
|
6170 |
|
6171 | rest<T>(
|
6172 | array: List<T>,
|
6173 | callback: ListIterator<T, boolean>,
|
6174 | thisArg?: any): T[];
|
6175 |
|
6176 | |
6177 |
|
6178 |
|
6179 | rest<T>(
|
6180 | array: Array<T>,
|
6181 | n: number): T[];
|
6182 |
|
6183 | |
6184 |
|
6185 |
|
6186 | rest<T>(
|
6187 | array: List<T>,
|
6188 | n: number): T[];
|
6189 |
|
6190 | |
6191 |
|
6192 |
|
6193 | rest<T>(
|
6194 | array: Array<T>,
|
6195 | pluckValue: string): T[];
|
6196 |
|
6197 | |
6198 |
|
6199 |
|
6200 | rest<T>(
|
6201 | array: List<T>,
|
6202 | pluckValue: string): T[];
|
6203 |
|
6204 | |
6205 |
|
6206 |
|
6207 | rest<W, T>(
|
6208 | array: Array<T>,
|
6209 | whereValue: W): T[];
|
6210 |
|
6211 | |
6212 |
|
6213 |
|
6214 | rest<W, T>(
|
6215 | array: List<T>,
|
6216 | whereValue: W): T[];
|
6217 |
|
6218 | |
6219 |
|
6220 |
|
6221 | drop<T>(array: Array<T>): T[];
|
6222 |
|
6223 | |
6224 |
|
6225 |
|
6226 | drop<T>(array: List<T>): T[];
|
6227 |
|
6228 | |
6229 |
|
6230 |
|
6231 | drop<T>(
|
6232 | array: Array<T>,
|
6233 | callback: ListIterator<T, boolean>,
|
6234 | thisArg?: any): T[];
|
6235 |
|
6236 | |
6237 |
|
6238 |
|
6239 | drop<T>(
|
6240 | array: List<T>,
|
6241 | callback: ListIterator<T, boolean>,
|
6242 | thisArg?: any): T[];
|
6243 |
|
6244 | |
6245 |
|
6246 |
|
6247 | drop<T>(
|
6248 | array: Array<T>,
|
6249 | n: number): T[];
|
6250 |
|
6251 | |
6252 |
|
6253 |
|
6254 | drop<T>(
|
6255 | array: List<T>,
|
6256 | n: number): T[];
|
6257 |
|
6258 | |
6259 |
|
6260 |
|
6261 | drop<T>(
|
6262 | array: Array<T>,
|
6263 | pluckValue: string): T[];
|
6264 |
|
6265 | |
6266 |
|
6267 |
|
6268 | drop<T>(
|
6269 | array: List<T>,
|
6270 | pluckValue: string): T[];
|
6271 |
|
6272 | |
6273 |
|
6274 |
|
6275 | drop<W, T>(
|
6276 | array: Array<T>,
|
6277 | whereValue: W): T[];
|
6278 |
|
6279 | |
6280 |
|
6281 |
|
6282 | drop<W, T>(
|
6283 | array: List<T>,
|
6284 | whereValue: W): T[];
|
6285 |
|
6286 | |
6287 |
|
6288 |
|
6289 | tail<T>(array: Array<T>): T[];
|
6290 |
|
6291 | |
6292 |
|
6293 |
|
6294 | tail<T>(array: List<T>): T[];
|
6295 |
|
6296 | |
6297 |
|
6298 |
|
6299 | tail<T>(
|
6300 | array: Array<T>,
|
6301 | callback: ListIterator<T, boolean>,
|
6302 | thisArg?: any): T[];
|
6303 |
|
6304 | |
6305 |
|
6306 |
|
6307 | tail<T>(
|
6308 | array: List<T>,
|
6309 | callback: ListIterator<T, boolean>,
|
6310 | thisArg?: any): T[];
|
6311 |
|
6312 | |
6313 |
|
6314 |
|
6315 | tail<T>(
|
6316 | array: Array<T>,
|
6317 | n: number): T[];
|
6318 |
|
6319 | |
6320 |
|
6321 |
|
6322 | tail<T>(
|
6323 | array: List<T>,
|
6324 | n: number): T[];
|
6325 |
|
6326 | |
6327 |
|
6328 |
|
6329 | tail<T>(
|
6330 | array: Array<T>,
|
6331 | pluckValue: string): T[];
|
6332 |
|
6333 | |
6334 |
|
6335 |
|
6336 | tail<T>(
|
6337 | array: List<T>,
|
6338 | pluckValue: string): T[];
|
6339 |
|
6340 | |
6341 |
|
6342 |
|
6343 | tail<W, T>(
|
6344 | array: Array<T>,
|
6345 | whereValue: W): T[];
|
6346 |
|
6347 | |
6348 |
|
6349 |
|
6350 | tail<W, T>(
|
6351 | array: List<T>,
|
6352 | whereValue: W): T[];
|
6353 | }
|
6354 |
|
6355 |
|
6356 | interface LoDashStatic {
|
6357 | |
6358 |
|
6359 |
|
6360 |
|
6361 |
|
6362 |
|
6363 |
|
6364 |
|
6365 |
|
6366 |
|
6367 |
|
6368 |
|
6369 |
|
6370 |
|
6371 |
|
6372 |
|
6373 | sortedIndex<T, TSort>(
|
6374 | array: Array<T>,
|
6375 | value: T,
|
6376 | callback?: (x: T) => TSort,
|
6377 | thisArg?: any): number;
|
6378 |
|
6379 | |
6380 |
|
6381 |
|
6382 | sortedIndex<T, TSort>(
|
6383 | array: List<T>,
|
6384 | value: T,
|
6385 | callback?: (x: T) => TSort,
|
6386 | thisArg?: any): number;
|
6387 |
|
6388 | |
6389 |
|
6390 |
|
6391 |
|
6392 | sortedIndex<T>(
|
6393 | array: Array<T>,
|
6394 | value: T,
|
6395 | pluckValue: string): number;
|
6396 |
|
6397 | |
6398 |
|
6399 |
|
6400 |
|
6401 | sortedIndex<T>(
|
6402 | array: List<T>,
|
6403 | value: T,
|
6404 | pluckValue: string): number;
|
6405 |
|
6406 | |
6407 |
|
6408 |
|
6409 |
|
6410 | sortedIndex<W, T>(
|
6411 | array: Array<T>,
|
6412 | value: T,
|
6413 | whereValue: W): number;
|
6414 |
|
6415 | |
6416 |
|
6417 |
|
6418 |
|
6419 | sortedIndex<W, T>(
|
6420 | array: List<T>,
|
6421 | value: T,
|
6422 | whereValue: W): number;
|
6423 | }
|
6424 |
|
6425 |
|
6426 | interface LoDashStatic {
|
6427 | |
6428 |
|
6429 |
|
6430 |
|
6431 |
|
6432 |
|
6433 | union<T>(...arrays: Array<T>[]): T[];
|
6434 |
|
6435 | |
6436 |
|
6437 |
|
6438 | union<T>(...arrays: List<T>[]): T[];
|
6439 | }
|
6440 |
|
6441 |
|
6442 | interface LoDashStatic {
|
6443 | |
6444 |
|
6445 |
|
6446 |
|
6447 |
|
6448 |
|
6449 |
|
6450 |
|
6451 |
|
6452 |
|
6453 |
|
6454 |
|
6455 |
|
6456 |
|
6457 |
|
6458 |
|
6459 |
|
6460 |
|
6461 | uniq<T, TSort>(array: Array<T>, isSorted?: boolean): T[];
|
6462 |
|
6463 | |
6464 |
|
6465 |
|
6466 | uniq<T, TSort>(array: List<T>, isSorted?: boolean): T[];
|
6467 |
|
6468 | |
6469 |
|
6470 |
|
6471 | uniq<T, TSort>(
|
6472 | array: Array<T>,
|
6473 | isSorted: boolean,
|
6474 | callback: ListIterator<T, TSort>,
|
6475 | thisArg?: any): T[];
|
6476 |
|
6477 | |
6478 |
|
6479 |
|
6480 | uniq<T, TSort>(
|
6481 | array: List<T>,
|
6482 | isSorted: boolean,
|
6483 | callback: ListIterator<T, TSort>,
|
6484 | thisArg?: any): T[];
|
6485 |
|
6486 | |
6487 |
|
6488 |
|
6489 | uniq<T, TSort>(
|
6490 | array: Array<T>,
|
6491 | callback: ListIterator<T, TSort>,
|
6492 | thisArg?: any): T[];
|
6493 |
|
6494 | |
6495 |
|
6496 |
|
6497 | uniq<T, TSort>(
|
6498 | array: List<T>,
|
6499 | callback: ListIterator<T, TSort>,
|
6500 | thisArg?: any): T[];
|
6501 |
|
6502 | |
6503 |
|
6504 |
|
6505 |
|
6506 | uniq<T>(
|
6507 | array: Array<T>,
|
6508 | isSorted: boolean,
|
6509 | pluckValue: string): T[];
|
6510 |
|
6511 | |
6512 |
|
6513 |
|
6514 |
|
6515 | uniq<T>(
|
6516 | array: List<T>,
|
6517 | isSorted: boolean,
|
6518 | pluckValue: string): T[];
|
6519 |
|
6520 | |
6521 |
|
6522 |
|
6523 |
|
6524 | uniq<T>(
|
6525 | array: Array<T>,
|
6526 | pluckValue: string): T[];
|
6527 |
|
6528 | |
6529 |
|
6530 |
|
6531 |
|
6532 | uniq<T>(
|
6533 | array: List<T>,
|
6534 | pluckValue: string): T[];
|
6535 |
|
6536 | |
6537 |
|
6538 |
|
6539 |
|
6540 | uniq<W, T>(
|
6541 | array: Array<T>,
|
6542 | isSorted: boolean,
|
6543 | whereValue: W): T[];
|
6544 |
|
6545 | |
6546 |
|
6547 |
|
6548 |
|
6549 | uniq<W, T>(
|
6550 | array: List<T>,
|
6551 | isSorted: boolean,
|
6552 | whereValue: W): T[];
|
6553 |
|
6554 | |
6555 |
|
6556 |
|
6557 |
|
6558 | uniq<W, T>(
|
6559 | array: Array<T>,
|
6560 | whereValue: W): T[];
|
6561 |
|
6562 | |
6563 |
|
6564 |
|
6565 |
|
6566 | uniq<W, T>(
|
6567 | array: List<T>,
|
6568 | whereValue: W): T[];
|
6569 |
|
6570 | |
6571 |
|
6572 |
|
6573 | unique<T>(array: Array<T>, isSorted?: boolean): T[];
|
6574 |
|
6575 | |
6576 |
|
6577 |
|
6578 | unique<T>(array: List<T>, isSorted?: boolean): T[];
|
6579 |
|
6580 | |
6581 |
|
6582 |
|
6583 | unique<T, TSort>(
|
6584 | array: Array<T>,
|
6585 | callback: ListIterator<T, TSort>,
|
6586 | thisArg?: any): T[];
|
6587 |
|
6588 | |
6589 |
|
6590 |
|
6591 | unique<T, TSort>(
|
6592 | array: List<T>,
|
6593 | callback: ListIterator<T, TSort>,
|
6594 | thisArg?: any): T[];
|
6595 |
|
6596 | |
6597 |
|
6598 |
|
6599 | unique<T, TSort>(
|
6600 | array: Array<T>,
|
6601 | isSorted: boolean,
|
6602 | callback: ListIterator<T, TSort>,
|
6603 | thisArg?: any): T[];
|
6604 |
|
6605 | |
6606 |
|
6607 |
|
6608 | unique<T, TSort>(
|
6609 | array: List<T>,
|
6610 | isSorted: boolean,
|
6611 | callback: ListIterator<T, TSort>,
|
6612 | thisArg?: any): T[];
|
6613 |
|
6614 | |
6615 |
|
6616 |
|
6617 |
|
6618 | unique<T>(
|
6619 | array: Array<T>,
|
6620 | isSorted: boolean,
|
6621 | pluckValue: string): T[];
|
6622 |
|
6623 | |
6624 |
|
6625 |
|
6626 |
|
6627 | unique<T>(
|
6628 | array: List<T>,
|
6629 | isSorted: boolean,
|
6630 | pluckValue: string): T[];
|
6631 |
|
6632 | |
6633 |
|
6634 |
|
6635 |
|
6636 | unique<T>(
|
6637 | array: Array<T>,
|
6638 | pluckValue: string): T[];
|
6639 |
|
6640 | |
6641 |
|
6642 |
|
6643 |
|
6644 | unique<T>(
|
6645 | array: List<T>,
|
6646 | pluckValue: string): T[];
|
6647 |
|
6648 | |
6649 |
|
6650 |
|
6651 |
|
6652 | unique<W, T>(
|
6653 | array: Array<T>,
|
6654 | whereValue?: W): T[];
|
6655 |
|
6656 | |
6657 |
|
6658 |
|
6659 |
|
6660 | unique<W, T>(
|
6661 | array: List<T>,
|
6662 | whereValue?: W): T[];
|
6663 |
|
6664 | |
6665 |
|
6666 |
|
6667 |
|
6668 | unique<W, T>(
|
6669 | array: Array<T>,
|
6670 | isSorted: boolean,
|
6671 | whereValue?: W): T[];
|
6672 |
|
6673 | |
6674 |
|
6675 |
|
6676 |
|
6677 | unique<W, T>(
|
6678 | array: List<T>,
|
6679 | isSorted: boolean,
|
6680 | whereValue?: W): T[];
|
6681 | }
|
6682 |
|
6683 | interface LoDashArrayWrapper<T> {
|
6684 | |
6685 |
|
6686 |
|
6687 | uniq<TSort>(isSorted?: boolean): LoDashArrayWrapper<T>;
|
6688 |
|
6689 | |
6690 |
|
6691 |
|
6692 | uniq<TSort>(
|
6693 | isSorted: boolean,
|
6694 | callback: ListIterator<T, TSort>,
|
6695 | thisArg?: any): LoDashArrayWrapper<T>;
|
6696 |
|
6697 | |
6698 |
|
6699 |
|
6700 | uniq<TSort>(
|
6701 | callback: ListIterator<T, TSort>,
|
6702 | thisArg?: any): LoDashArrayWrapper<T>;
|
6703 |
|
6704 | |
6705 |
|
6706 |
|
6707 |
|
6708 | uniq(
|
6709 | isSorted: boolean,
|
6710 | pluckValue: string): LoDashArrayWrapper<T>;
|
6711 |
|
6712 | |
6713 |
|
6714 |
|
6715 |
|
6716 | uniq(pluckValue: string): LoDashArrayWrapper<T>;
|
6717 |
|
6718 | |
6719 |
|
6720 |
|
6721 |
|
6722 | uniq<W>(
|
6723 | isSorted: boolean,
|
6724 | whereValue: W): LoDashArrayWrapper<T>;
|
6725 |
|
6726 | |
6727 |
|
6728 |
|
6729 |
|
6730 | uniq<W>(
|
6731 | whereValue: W): LoDashArrayWrapper<T>;
|
6732 |
|
6733 | |
6734 |
|
6735 |
|
6736 | unique<TSort>(isSorted?: boolean): LoDashArrayWrapper<T>;
|
6737 |
|
6738 | |
6739 |
|
6740 |
|
6741 | unique<TSort>(
|
6742 | isSorted: boolean,
|
6743 | callback: ListIterator<T, TSort>,
|
6744 | thisArg?: any): LoDashArrayWrapper<T>;
|
6745 |
|
6746 | |
6747 |
|
6748 |
|
6749 | unique<TSort>(
|
6750 | callback: ListIterator<T, TSort>,
|
6751 | thisArg?: any): LoDashArrayWrapper<T>;
|
6752 |
|
6753 | |
6754 |
|
6755 |
|
6756 |
|
6757 | unique(
|
6758 | isSorted: boolean,
|
6759 | pluckValue: string): LoDashArrayWrapper<T>;
|
6760 |
|
6761 | |
6762 |
|
6763 |
|
6764 |
|
6765 | unique(pluckValue: string): LoDashArrayWrapper<T>;
|
6766 |
|
6767 | |
6768 |
|
6769 |
|
6770 |
|
6771 | unique<W>(
|
6772 | isSorted: boolean,
|
6773 | whereValue: W): LoDashArrayWrapper<T>;
|
6774 |
|
6775 | |
6776 |
|
6777 |
|
6778 |
|
6779 | unique<W>(
|
6780 | whereValue: W): LoDashArrayWrapper<T>;
|
6781 | }
|
6782 |
|
6783 |
|
6784 | interface LoDashStatic {
|
6785 | |
6786 |
|
6787 |
|
6788 |
|
6789 |
|
6790 |
|
6791 | without<T>(
|
6792 | array: Array<T>,
|
6793 | ...values: T[]): T[];
|
6794 |
|
6795 | |
6796 |
|
6797 |
|
6798 | without<T>(
|
6799 | array: List<T>,
|
6800 | ...values: T[]): T[];
|
6801 | }
|
6802 |
|
6803 |
|
6804 | interface LoDashStatic {
|
6805 | |
6806 |
|
6807 |
|
6808 |
|
6809 |
|
6810 |
|
6811 | xor<T>(
|
6812 | array: Array<T>,
|
6813 | ...others: Array<T>[]): T[];
|
6814 | |
6815 |
|
6816 |
|
6817 | xor<T>(
|
6818 | array: List<T>,
|
6819 | ...others: List<T>[]): T[];
|
6820 | }
|
6821 |
|
6822 | interface LoDashArrayWrapper<T> {
|
6823 | |
6824 |
|
6825 |
|
6826 | xor(
|
6827 | ...others: Array<T>[]): LoDashArrayWrapper<T>;
|
6828 | |
6829 |
|
6830 |
|
6831 | xor(
|
6832 | ...others: List<T>[]): LoDashArrayWrapper<T>;
|
6833 | }
|
6834 |
|
6835 |
|
6836 | interface LoDashStatic {
|
6837 | |
6838 |
|
6839 |
|
6840 |
|
6841 |
|
6842 |
|
6843 |
|
6844 | zip(...arrays: any[][]): any[][];
|
6845 |
|
6846 | |
6847 |
|
6848 |
|
6849 | zip(...arrays: any[]): any[];
|
6850 |
|
6851 | |
6852 |
|
6853 |
|
6854 | unzip(...arrays: any[][]): any[][];
|
6855 |
|
6856 | |
6857 |
|
6858 |
|
6859 | unzip(...arrays: any[]): any[];
|
6860 | }
|
6861 |
|
6862 | interface LoDashArrayWrapper<T> {
|
6863 | |
6864 |
|
6865 |
|
6866 | zip(...arrays: any[][]): _.LoDashArrayWrapper<any[][]>;
|
6867 |
|
6868 | |
6869 |
|
6870 |
|
6871 | unzip(...arrays: any[]): _.LoDashArrayWrapper<any[][]>;
|
6872 | }
|
6873 |
|
6874 |
|
6875 | interface LoDashStatic {
|
6876 | |
6877 |
|
6878 |
|
6879 |
|
6880 |
|
6881 |
|
6882 |
|
6883 |
|
6884 | zipObject<TResult extends {}>(
|
6885 | keys: List<string>,
|
6886 | values: List<any>): TResult;
|
6887 |
|
6888 | |
6889 |
|
6890 |
|
6891 | object<TResult extends {}>(
|
6892 | keys: List<string>,
|
6893 | values: List<any>): TResult;
|
6894 | }
|
6895 |
|
6896 | |
6897 |
|
6898 |
|
6899 |
|
6900 |
|
6901 | interface LoDashStatic {
|
6902 | |
6903 |
|
6904 |
|
6905 |
|
6906 |
|
6907 |
|
6908 |
|
6909 |
|
6910 | at<T>(
|
6911 | collection: Array<T>,
|
6912 | indexes: number[]): T[];
|
6913 |
|
6914 | |
6915 |
|
6916 |
|
6917 | at<T>(
|
6918 | collection: List<T>,
|
6919 | indexes: number[]): T[];
|
6920 |
|
6921 | |
6922 |
|
6923 |
|
6924 | at<T>(
|
6925 | collection: Dictionary<T>,
|
6926 | indexes: number[]): T[];
|
6927 |
|
6928 | |
6929 |
|
6930 |
|
6931 | at<T>(
|
6932 | collection: Array<T>,
|
6933 | ...indexes: number[]): T[];
|
6934 |
|
6935 | |
6936 |
|
6937 |
|
6938 | at<T>(
|
6939 | collection: List<T>,
|
6940 | ...indexes: number[]): T[];
|
6941 |
|
6942 | |
6943 |
|
6944 |
|
6945 | at<T>(
|
6946 | collection: Dictionary<T>,
|
6947 | ...indexes: number[]): T[];
|
6948 | }
|
6949 |
|
6950 |
|
6951 | interface LoDashStatic {
|
6952 | |
6953 |
|
6954 |
|
6955 |
|
6956 |
|
6957 |
|
6958 |
|
6959 |
|
6960 | contains<T>(
|
6961 | collection: Array<T>,
|
6962 | target: T,
|
6963 | fromIndex?: number): boolean;
|
6964 |
|
6965 | |
6966 |
|
6967 |
|
6968 | contains<T>(
|
6969 | collection: List<T>,
|
6970 | target: T,
|
6971 | fromIndex?: number): boolean;
|
6972 |
|
6973 | |
6974 |
|
6975 |
|
6976 |
|
6977 |
|
6978 | contains<T>(
|
6979 | dictionary: Dictionary<T>,
|
6980 | key: string,
|
6981 | fromIndex?: number): boolean;
|
6982 |
|
6983 | |
6984 |
|
6985 |
|
6986 |
|
6987 |
|
6988 | contains(
|
6989 | searchString: string,
|
6990 | targetString: string,
|
6991 | fromIndex?: number): boolean;
|
6992 |
|
6993 | |
6994 |
|
6995 |
|
6996 | include<T>(
|
6997 | collection: Array<T>,
|
6998 | target: T,
|
6999 | fromIndex?: number): boolean;
|
7000 |
|
7001 | |
7002 |
|
7003 |
|
7004 | include<T>(
|
7005 | collection: List<T>,
|
7006 | target: T,
|
7007 | fromIndex?: number): boolean;
|
7008 |
|
7009 | |
7010 |
|
7011 |
|
7012 | include<T>(
|
7013 | dictionary: Dictionary<T>,
|
7014 | key: string,
|
7015 | fromIndex?: number): boolean;
|
7016 |
|
7017 | |
7018 |
|
7019 |
|
7020 | include(
|
7021 | searchString: string,
|
7022 | targetString: string,
|
7023 | fromIndex?: number): boolean;
|
7024 | }
|
7025 |
|
7026 |
|
7027 | interface LoDashStatic {
|
7028 | |
7029 |
|
7030 |
|
7031 |
|
7032 |
|
7033 |
|
7034 |
|
7035 |
|
7036 |
|
7037 |
|
7038 |
|
7039 |
|
7040 |
|
7041 |
|
7042 |
|
7043 |
|
7044 | countBy<T>(
|
7045 | collection: Array<T>,
|
7046 | callback?: ListIterator<T, any>,
|
7047 | thisArg?: any): Dictionary<number>;
|
7048 |
|
7049 | |
7050 |
|
7051 |
|
7052 |
|
7053 | countBy<T>(
|
7054 | collection: List<T>,
|
7055 | callback?: ListIterator<T, any>,
|
7056 | thisArg?: any): Dictionary<number>;
|
7057 |
|
7058 | |
7059 |
|
7060 |
|
7061 |
|
7062 | countBy<T>(
|
7063 | collection: Dictionary<T>,
|
7064 | callback?: ListIterator<T, any>,
|
7065 | thisArg?: any): Dictionary<number>;
|
7066 |
|
7067 | |
7068 |
|
7069 |
|
7070 |
|
7071 | countBy<T>(
|
7072 | collection: Array<T>,
|
7073 | callback: string,
|
7074 | thisArg?: any): Dictionary<number>;
|
7075 |
|
7076 | |
7077 |
|
7078 |
|
7079 |
|
7080 | countBy<T>(
|
7081 | collection: List<T>,
|
7082 | callback: string,
|
7083 | thisArg?: any): Dictionary<number>;
|
7084 |
|
7085 | |
7086 |
|
7087 |
|
7088 |
|
7089 | countBy<T>(
|
7090 | collection: Dictionary<T>,
|
7091 | callback: string,
|
7092 | thisArg?: any): Dictionary<number>;
|
7093 | }
|
7094 |
|
7095 | interface LoDashArrayWrapper<T> {
|
7096 | |
7097 |
|
7098 |
|
7099 | countBy(
|
7100 | callback?: ListIterator<T, any>,
|
7101 | thisArg?: any): LoDashObjectWrapper<Dictionary<number>>;
|
7102 |
|
7103 | |
7104 |
|
7105 |
|
7106 |
|
7107 | countBy(
|
7108 | callback: string,
|
7109 | thisArg?: any): LoDashObjectWrapper<Dictionary<number>>;
|
7110 | }
|
7111 |
|
7112 |
|
7113 | interface LoDashStatic {
|
7114 | |
7115 |
|
7116 |
|
7117 |
|
7118 |
|
7119 |
|
7120 |
|
7121 |
|
7122 |
|
7123 |
|
7124 |
|
7125 |
|
7126 |
|
7127 |
|
7128 |
|
7129 | every<T>(
|
7130 | collection: Array<T>,
|
7131 | callback?: ListIterator<T, boolean>,
|
7132 | thisArg?: any): boolean;
|
7133 |
|
7134 | |
7135 |
|
7136 |
|
7137 |
|
7138 | every<T>(
|
7139 | collection: List<T>,
|
7140 | callback?: ListIterator<T, boolean>,
|
7141 | thisArg?: any): boolean;
|
7142 |
|
7143 | |
7144 |
|
7145 |
|
7146 |
|
7147 | every<T>(
|
7148 | collection: Dictionary<T>,
|
7149 | callback?: ListIterator<T, boolean>,
|
7150 | thisArg?: any): boolean;
|
7151 |
|
7152 | |
7153 |
|
7154 |
|
7155 |
|
7156 | every<T>(
|
7157 | collection: Array<T>,
|
7158 | pluckValue: string): boolean;
|
7159 |
|
7160 | |
7161 |
|
7162 |
|
7163 |
|
7164 | every<T>(
|
7165 | collection: List<T>,
|
7166 | pluckValue: string): boolean;
|
7167 |
|
7168 | |
7169 |
|
7170 |
|
7171 |
|
7172 | every<T>(
|
7173 | collection: Dictionary<T>,
|
7174 | pluckValue: string): boolean;
|
7175 |
|
7176 | |
7177 |
|
7178 |
|
7179 |
|
7180 | every<W, T>(
|
7181 | collection: Array<T>,
|
7182 | whereValue: W): boolean;
|
7183 |
|
7184 | |
7185 |
|
7186 |
|
7187 |
|
7188 | every<W, T>(
|
7189 | collection: List<T>,
|
7190 | whereValue: W): boolean;
|
7191 |
|
7192 | |
7193 |
|
7194 |
|
7195 |
|
7196 | every<W, T>(
|
7197 | collection: Dictionary<T>,
|
7198 | whereValue: W): boolean;
|
7199 |
|
7200 | |
7201 |
|
7202 |
|
7203 | all<T>(
|
7204 | collection: Array<T>,
|
7205 | callback?: ListIterator<T, boolean>,
|
7206 | thisArg?: any): boolean;
|
7207 |
|
7208 | |
7209 |
|
7210 |
|
7211 | all<T>(
|
7212 | collection: List<T>,
|
7213 | callback?: ListIterator<T, boolean>,
|
7214 | thisArg?: any): boolean;
|
7215 |
|
7216 | |
7217 |
|
7218 |
|
7219 | all<T>(
|
7220 | collection: Dictionary<T>,
|
7221 | callback?: ListIterator<T, boolean>,
|
7222 | thisArg?: any): boolean;
|
7223 |
|
7224 | |
7225 |
|
7226 |
|
7227 |
|
7228 | all<T>(
|
7229 | collection: Array<T>,
|
7230 | pluckValue: string): boolean;
|
7231 |
|
7232 | |
7233 |
|
7234 |
|
7235 |
|
7236 | all<T>(
|
7237 | collection: List<T>,
|
7238 | pluckValue: string): boolean;
|
7239 |
|
7240 | |
7241 |
|
7242 |
|
7243 |
|
7244 | all<T>(
|
7245 | collection: Dictionary<T>,
|
7246 | pluckValue: string): boolean;
|
7247 |
|
7248 | |
7249 |
|
7250 |
|
7251 |
|
7252 | all<W, T>(
|
7253 | collection: Array<T>,
|
7254 | whereValue: W): boolean;
|
7255 |
|
7256 | |
7257 |
|
7258 |
|
7259 |
|
7260 | all<W, T>(
|
7261 | collection: List<T>,
|
7262 | whereValue: W): boolean;
|
7263 |
|
7264 | |
7265 |
|
7266 |
|
7267 |
|
7268 | all<W, T>(
|
7269 | collection: Dictionary<T>,
|
7270 | whereValue: W): boolean;
|
7271 | }
|
7272 |
|
7273 |
|
7274 | interface LoDashStatic {
|
7275 | |
7276 |
|
7277 |
|
7278 |
|
7279 |
|
7280 |
|
7281 |
|
7282 |
|
7283 |
|
7284 |
|
7285 |
|
7286 |
|
7287 |
|
7288 |
|
7289 |
|
7290 | filter<T>(
|
7291 | collection: Array<T>,
|
7292 | callback: ListIterator<T, boolean>,
|
7293 | thisArg?: any): T[];
|
7294 |
|
7295 | |
7296 |
|
7297 |
|
7298 | filter<T>(
|
7299 | collection: List<T>,
|
7300 | callback: ListIterator<T, boolean>,
|
7301 | thisArg?: any): T[];
|
7302 |
|
7303 | |
7304 |
|
7305 |
|
7306 | filter<T>(
|
7307 | collection: Dictionary<T>,
|
7308 | callback: ListIterator<T, boolean>,
|
7309 | thisArg?: any): T[];
|
7310 |
|
7311 | |
7312 |
|
7313 |
|
7314 |
|
7315 | filter<T>(
|
7316 | collection: Array<T>,
|
7317 | pluckValue: string): T[];
|
7318 |
|
7319 | |
7320 |
|
7321 |
|
7322 |
|
7323 | filter<T>(
|
7324 | collection: List<T>,
|
7325 | pluckValue: string): T[];
|
7326 |
|
7327 | |
7328 |
|
7329 |
|
7330 |
|
7331 | filter<T>(
|
7332 | collection: Dictionary<T>,
|
7333 | pluckValue: string): T[];
|
7334 |
|
7335 | |
7336 |
|
7337 |
|
7338 |
|
7339 | filter<W, T>(
|
7340 | collection: Array<T>,
|
7341 | whereValue: W): T[];
|
7342 |
|
7343 | |
7344 |
|
7345 |
|
7346 |
|
7347 | filter<W, T>(
|
7348 | collection: List<T>,
|
7349 | whereValue: W): T[];
|
7350 |
|
7351 | |
7352 |
|
7353 |
|
7354 |
|
7355 | filter<W, T>(
|
7356 | collection: Dictionary<T>,
|
7357 | whereValue: W): T[];
|
7358 |
|
7359 | |
7360 |
|
7361 |
|
7362 | select<T>(
|
7363 | collection: Array<T>,
|
7364 | callback: ListIterator<T, boolean>,
|
7365 | thisArg?: any): T[];
|
7366 |
|
7367 | |
7368 |
|
7369 |
|
7370 | select<T>(
|
7371 | collection: List<T>,
|
7372 | callback: ListIterator<T, boolean>,
|
7373 | thisArg?: any): T[];
|
7374 |
|
7375 | |
7376 |
|
7377 |
|
7378 | select<T>(
|
7379 | collection: Dictionary<T>,
|
7380 | callback: ListIterator<T, boolean>,
|
7381 | thisArg?: any): T[];
|
7382 |
|
7383 | |
7384 |
|
7385 |
|
7386 |
|
7387 | select<T>(
|
7388 | collection: Array<T>,
|
7389 | pluckValue: string): T[];
|
7390 |
|
7391 | |
7392 |
|
7393 |
|
7394 |
|
7395 | select<T>(
|
7396 | collection: List<T>,
|
7397 | pluckValue: string): T[];
|
7398 |
|
7399 | |
7400 |
|
7401 |
|
7402 |
|
7403 | select<T>(
|
7404 | collection: Dictionary<T>,
|
7405 | pluckValue: string): T[];
|
7406 |
|
7407 | |
7408 |
|
7409 |
|
7410 |
|
7411 | select<W, T>(
|
7412 | collection: Array<T>,
|
7413 | whereValue: W): T[];
|
7414 |
|
7415 | |
7416 |
|
7417 |
|
7418 |
|
7419 | select<W, T>(
|
7420 | collection: List<T>,
|
7421 | whereValue: W): T[];
|
7422 |
|
7423 | |
7424 |
|
7425 |
|
7426 |
|
7427 | select<W, T>(
|
7428 | collection: Dictionary<T>,
|
7429 | whereValue: W): T[];
|
7430 | }
|
7431 |
|
7432 | interface LoDashArrayWrapper<T> {
|
7433 | |
7434 |
|
7435 |
|
7436 | filter(
|
7437 | callback: ListIterator<T, boolean>,
|
7438 | thisArg?: any): LoDashArrayWrapper<T>;
|
7439 |
|
7440 | |
7441 |
|
7442 |
|
7443 |
|
7444 | filter(
|
7445 | pluckValue: string): LoDashArrayWrapper<T>;
|
7446 |
|
7447 | |
7448 |
|
7449 |
|
7450 |
|
7451 | filter<W>(
|
7452 | whereValue: W): LoDashArrayWrapper<T>;
|
7453 |
|
7454 | |
7455 |
|
7456 |
|
7457 | select(
|
7458 | callback: ListIterator<T, boolean>,
|
7459 | thisArg?: any): LoDashArrayWrapper<T>;
|
7460 |
|
7461 | |
7462 |
|
7463 |
|
7464 |
|
7465 | select(
|
7466 | pluckValue: string): LoDashArrayWrapper<T>;
|
7467 |
|
7468 | |
7469 |
|
7470 |
|
7471 |
|
7472 | select<W>(
|
7473 | whereValue: W): LoDashArrayWrapper<T>;
|
7474 | }
|
7475 |
|
7476 | interface LoDashObjectWrapper<T> {
|
7477 | |
7478 |
|
7479 |
|
7480 | filter<T extends {}>(
|
7481 | callback: ObjectIterator<T, boolean>,
|
7482 | thisArg?: any): LoDashObjectWrapper<T>;
|
7483 | }
|
7484 |
|
7485 |
|
7486 | interface LoDashStatic {
|
7487 | |
7488 |
|
7489 |
|
7490 |
|
7491 |
|
7492 |
|
7493 |
|
7494 |
|
7495 |
|
7496 |
|
7497 |
|
7498 |
|
7499 |
|
7500 |
|
7501 |
|
7502 | find<T>(
|
7503 | collection: Array<T>,
|
7504 | callback: ListIterator<T, boolean>,
|
7505 | thisArg?: any): T;
|
7506 |
|
7507 | |
7508 |
|
7509 |
|
7510 | find<T>(
|
7511 | collection: List<T>,
|
7512 | callback: ListIterator<T, boolean>,
|
7513 | thisArg?: any): T;
|
7514 |
|
7515 | |
7516 |
|
7517 |
|
7518 | find<T>(
|
7519 | collection: Dictionary<T>,
|
7520 | callback: ListIterator<T, boolean>,
|
7521 | thisArg?: any): T;
|
7522 |
|
7523 | |
7524 |
|
7525 |
|
7526 |
|
7527 | find<W, T>(
|
7528 | collection: Array<T>,
|
7529 | whereValue: W): T;
|
7530 |
|
7531 | |
7532 |
|
7533 |
|
7534 |
|
7535 | find<W, T>(
|
7536 | collection: List<T>,
|
7537 | whereValue: W): T;
|
7538 |
|
7539 | |
7540 |
|
7541 |
|
7542 |
|
7543 | find<W, T>(
|
7544 | collection: Dictionary<T>,
|
7545 | whereValue: W): T;
|
7546 |
|
7547 | |
7548 |
|
7549 |
|
7550 |
|
7551 | find<T>(
|
7552 | collection: Array<T>,
|
7553 | pluckValue: string): T;
|
7554 |
|
7555 | |
7556 |
|
7557 |
|
7558 |
|
7559 | find<T>(
|
7560 | collection: List<T>,
|
7561 | pluckValue: string): T;
|
7562 |
|
7563 | |
7564 |
|
7565 |
|
7566 |
|
7567 | find<T>(
|
7568 | collection: Dictionary<T>,
|
7569 | pluckValue: string): T;
|
7570 |
|
7571 | |
7572 |
|
7573 |
|
7574 | detect<T>(
|
7575 | collection: Array<T>,
|
7576 | callback: ListIterator<T, boolean>,
|
7577 | thisArg?: any): T;
|
7578 |
|
7579 | |
7580 |
|
7581 |
|
7582 | detect<T>(
|
7583 | collection: List<T>,
|
7584 | callback: ListIterator<T, boolean>,
|
7585 | thisArg?: any): T;
|
7586 |
|
7587 | |
7588 |
|
7589 |
|
7590 | detect<T>(
|
7591 | collection: Dictionary<T>,
|
7592 | callback: ListIterator<T, boolean>,
|
7593 | thisArg?: any): T;
|
7594 |
|
7595 | |
7596 |
|
7597 |
|
7598 |
|
7599 | detect<W, T>(
|
7600 | collection: Array<T>,
|
7601 | whereValue: W): T;
|
7602 |
|
7603 | |
7604 |
|
7605 |
|
7606 |
|
7607 | detect<W, T>(
|
7608 | collection: List<T>,
|
7609 | whereValue: W): T;
|
7610 |
|
7611 | |
7612 |
|
7613 |
|
7614 |
|
7615 | detect<W, T>(
|
7616 | collection: Dictionary<T>,
|
7617 | whereValue: W): T;
|
7618 |
|
7619 | |
7620 |
|
7621 |
|
7622 |
|
7623 | detect<T>(
|
7624 | collection: Array<T>,
|
7625 | pluckValue: string): T;
|
7626 |
|
7627 | |
7628 |
|
7629 |
|
7630 |
|
7631 | detect<T>(
|
7632 | collection: List<T>,
|
7633 | pluckValue: string): T;
|
7634 |
|
7635 | |
7636 |
|
7637 |
|
7638 |
|
7639 | detect<T>(
|
7640 | collection: Dictionary<T>,
|
7641 | pluckValue: string): T;
|
7642 |
|
7643 | |
7644 |
|
7645 |
|
7646 | findWhere<T>(
|
7647 | collection: Array<T>,
|
7648 | callback: ListIterator<T, boolean>,
|
7649 | thisArg?: any): T;
|
7650 |
|
7651 | |
7652 |
|
7653 |
|
7654 | findWhere<T>(
|
7655 | collection: List<T>,
|
7656 | callback: ListIterator<T, boolean>,
|
7657 | thisArg?: any): T;
|
7658 |
|
7659 | |
7660 |
|
7661 |
|
7662 | findWhere<T>(
|
7663 | collection: Dictionary<T>,
|
7664 | callback: ListIterator<T, boolean>,
|
7665 | thisArg?: any): T;
|
7666 |
|
7667 | |
7668 |
|
7669 |
|
7670 |
|
7671 | findWhere<W, T>(
|
7672 | collection: Array<T>,
|
7673 | whereValue: W): T;
|
7674 |
|
7675 | |
7676 |
|
7677 |
|
7678 |
|
7679 | findWhere<W, T>(
|
7680 | collection: List<T>,
|
7681 | whereValue: W): T;
|
7682 |
|
7683 | |
7684 |
|
7685 |
|
7686 |
|
7687 | findWhere<W, T>(
|
7688 | collection: Dictionary<T>,
|
7689 | whereValue: W): T;
|
7690 |
|
7691 | |
7692 |
|
7693 |
|
7694 |
|
7695 | findWhere<T>(
|
7696 | collection: Array<T>,
|
7697 | pluckValue: string): T;
|
7698 |
|
7699 | |
7700 |
|
7701 |
|
7702 |
|
7703 | findWhere<T>(
|
7704 | collection: List<T>,
|
7705 | pluckValue: string): T;
|
7706 |
|
7707 | |
7708 |
|
7709 |
|
7710 |
|
7711 | findWhere<T>(
|
7712 | collection: Dictionary<T>,
|
7713 | pluckValue: string): T;
|
7714 | }
|
7715 |
|
7716 | interface LoDashArrayWrapper<T> {
|
7717 | |
7718 |
|
7719 |
|
7720 | find(
|
7721 | callback: ListIterator<T, boolean>,
|
7722 | thisArg?: any): T;
|
7723 | |
7724 |
|
7725 |
|
7726 |
|
7727 | find<W>(
|
7728 | whereValue: W): T;
|
7729 |
|
7730 | |
7731 |
|
7732 |
|
7733 |
|
7734 | find(
|
7735 | pluckValue: string): T;
|
7736 | }
|
7737 |
|
7738 |
|
7739 | interface LoDashStatic {
|
7740 | |
7741 |
|
7742 |
|
7743 |
|
7744 |
|
7745 |
|
7746 |
|
7747 |
|
7748 | findLast<T>(
|
7749 | collection: Array<T>,
|
7750 | callback: ListIterator<T, boolean>,
|
7751 | thisArg?: any): T;
|
7752 |
|
7753 | |
7754 |
|
7755 |
|
7756 | findLast<T>(
|
7757 | collection: List<T>,
|
7758 | callback: ListIterator<T, boolean>,
|
7759 | thisArg?: any): T;
|
7760 |
|
7761 | |
7762 |
|
7763 |
|
7764 | findLast<T>(
|
7765 | collection: Dictionary<T>,
|
7766 | callback: ListIterator<T, boolean>,
|
7767 | thisArg?: any): T;
|
7768 |
|
7769 | |
7770 |
|
7771 |
|
7772 |
|
7773 | findLast<W, T>(
|
7774 | collection: Array<T>,
|
7775 | whereValue: W): T;
|
7776 |
|
7777 | |
7778 |
|
7779 |
|
7780 |
|
7781 | findLast<W, T>(
|
7782 | collection: List<T>,
|
7783 | whereValue: W): T;
|
7784 |
|
7785 | |
7786 |
|
7787 |
|
7788 |
|
7789 | findLast<W, T>(
|
7790 | collection: Dictionary<T>,
|
7791 | whereValue: W): T;
|
7792 |
|
7793 | |
7794 |
|
7795 |
|
7796 |
|
7797 | findLast<T>(
|
7798 | collection: Array<T>,
|
7799 | pluckValue: string): T;
|
7800 |
|
7801 | |
7802 |
|
7803 |
|
7804 |
|
7805 | findLast<T>(
|
7806 | collection: List<T>,
|
7807 | pluckValue: string): T;
|
7808 |
|
7809 | |
7810 |
|
7811 |
|
7812 |
|
7813 | findLast<T>(
|
7814 | collection: Dictionary<T>,
|
7815 | pluckValue: string): T;
|
7816 | }
|
7817 |
|
7818 | interface LoDashArrayWrapper<T> {
|
7819 | |
7820 |
|
7821 |
|
7822 | findLast(
|
7823 | callback: ListIterator<T, boolean>,
|
7824 | thisArg?: any): T;
|
7825 | |
7826 |
|
7827 |
|
7828 |
|
7829 | findLast<W>(
|
7830 | whereValue: W): T;
|
7831 |
|
7832 | |
7833 |
|
7834 |
|
7835 |
|
7836 | findLast(
|
7837 | pluckValue: string): T;
|
7838 | }
|
7839 |
|
7840 |
|
7841 | interface LoDashStatic {
|
7842 | |
7843 |
|
7844 |
|
7845 |
|
7846 |
|
7847 |
|
7848 |
|
7849 |
|
7850 |
|
7851 |
|
7852 |
|
7853 |
|
7854 |
|
7855 |
|
7856 |
|
7857 | groupBy<T>(
|
7858 | collection: Array<T>,
|
7859 | callback?: ListIterator<T, any>,
|
7860 | thisArg?: any): Dictionary<T[]>;
|
7861 |
|
7862 | |
7863 |
|
7864 |
|
7865 | groupBy<T>(
|
7866 | collection: List<T>,
|
7867 | callback?: ListIterator<T, any>,
|
7868 | thisArg?: any): Dictionary<T[]>;
|
7869 |
|
7870 | |
7871 |
|
7872 |
|
7873 |
|
7874 | groupBy<T>(
|
7875 | collection: Array<T>,
|
7876 | pluckValue: string): Dictionary<T[]>;
|
7877 |
|
7878 | |
7879 |
|
7880 |
|
7881 |
|
7882 | groupBy<T>(
|
7883 | collection: List<T>,
|
7884 | pluckValue: string): Dictionary<T[]>;
|
7885 |
|
7886 | |
7887 |
|
7888 |
|
7889 |
|
7890 | groupBy<W, T>(
|
7891 | collection: Array<T>,
|
7892 | whereValue: W): Dictionary<T[]>;
|
7893 |
|
7894 | |
7895 |
|
7896 |
|
7897 |
|
7898 | groupBy<W, T>(
|
7899 | collection: List<T>,
|
7900 | whereValue: W): Dictionary<T[]>;
|
7901 |
|
7902 | |
7903 |
|
7904 |
|
7905 | groupBy<T>(
|
7906 | collection: Dictionary<T>,
|
7907 | callback?: ListIterator<T, any>,
|
7908 | thisArg?: any): Dictionary<T[]>;
|
7909 |
|
7910 | |
7911 |
|
7912 |
|
7913 |
|
7914 | groupBy<TValue>(
|
7915 | collection: Dictionary<TValue>,
|
7916 | pluckValue: string): Dictionary<TValue[]>;
|
7917 |
|
7918 | |
7919 |
|
7920 |
|
7921 |
|
7922 | groupBy<W, TValue>(
|
7923 | collection: Dictionary<TValue>,
|
7924 | whereValue: W): Dictionary<TValue[]>;
|
7925 | }
|
7926 |
|
7927 | interface LoDashArrayWrapper<T> {
|
7928 | |
7929 |
|
7930 |
|
7931 | groupBy(
|
7932 | callback: ListIterator<T, any>,
|
7933 | thisArg?: any): _.LoDashObjectWrapper<_.Dictionary<T[]>>;
|
7934 |
|
7935 | |
7936 |
|
7937 |
|
7938 | groupBy(
|
7939 | pluckValue: string): _.LoDashObjectWrapper<_.Dictionary<T[]>>;
|
7940 |
|
7941 | |
7942 |
|
7943 |
|
7944 | groupBy<W>(
|
7945 | whereValue: W): _.LoDashObjectWrapper<_.Dictionary<T[]>>;
|
7946 | }
|
7947 |
|
7948 | interface LoDashObjectWrapper<T> {
|
7949 | |
7950 |
|
7951 |
|
7952 | groupBy<TValue>(
|
7953 | callback: ListIterator<TValue, any>,
|
7954 | thisArg?: any): _.LoDashObjectWrapper<_.Dictionary<TValue[]>>;
|
7955 |
|
7956 | |
7957 |
|
7958 |
|
7959 | groupBy<TValue>(
|
7960 | pluckValue: string): _.LoDashObjectWrapper<_.Dictionary<TValue[]>>;
|
7961 |
|
7962 | |
7963 |
|
7964 |
|
7965 | groupBy<W, TValue>(
|
7966 | whereValue: W): _.LoDashObjectWrapper<_.Dictionary<TValue[]>>;
|
7967 | }
|
7968 |
|
7969 |
|
7970 | interface LoDashStatic {
|
7971 | |
7972 |
|
7973 |
|
7974 |
|
7975 |
|
7976 |
|
7977 |
|
7978 |
|
7979 |
|
7980 |
|
7981 |
|
7982 |
|
7983 |
|
7984 |
|
7985 |
|
7986 |
|
7987 | indexBy<T>(
|
7988 | list: Array<T>,
|
7989 | iterator: ListIterator<T, any>,
|
7990 | context?: any): Dictionary<T>;
|
7991 |
|
7992 | |
7993 |
|
7994 |
|
7995 | indexBy<T>(
|
7996 | list: List<T>,
|
7997 | iterator: ListIterator<T, any>,
|
7998 | context?: any): Dictionary<T>;
|
7999 |
|
8000 | |
8001 |
|
8002 |
|
8003 |
|
8004 | indexBy<T>(
|
8005 | collection: Array<T>,
|
8006 | pluckValue: string): Dictionary<T>;
|
8007 |
|
8008 | |
8009 |
|
8010 |
|
8011 |
|
8012 | indexBy<T>(
|
8013 | collection: List<T>,
|
8014 | pluckValue: string): Dictionary<T>;
|
8015 |
|
8016 | |
8017 |
|
8018 |
|
8019 |
|
8020 | indexBy<W, T>(
|
8021 | collection: Array<T>,
|
8022 | whereValue: W): Dictionary<T>;
|
8023 |
|
8024 | |
8025 |
|
8026 |
|
8027 |
|
8028 | indexBy<W, T>(
|
8029 | collection: List<T>,
|
8030 | whereValue: W): Dictionary<T>;
|
8031 | }
|
8032 |
|
8033 |
|
8034 | interface LoDashStatic {
|
8035 | |
8036 |
|
8037 |
|
8038 |
|
8039 |
|
8040 |
|
8041 |
|
8042 |
|
8043 |
|
8044 | invoke<T extends {}>(
|
8045 | collection: Array<T>,
|
8046 | methodName: string,
|
8047 | ...args: any[]): any;
|
8048 |
|
8049 | |
8050 |
|
8051 |
|
8052 | invoke<T extends {}>(
|
8053 | collection: List<T>,
|
8054 | methodName: string,
|
8055 | ...args: any[]): any;
|
8056 |
|
8057 | |
8058 |
|
8059 |
|
8060 | invoke<T extends {}>(
|
8061 | collection: Dictionary<T>,
|
8062 | methodName: string,
|
8063 | ...args: any[]): any;
|
8064 |
|
8065 | |
8066 |
|
8067 |
|
8068 | invoke<T extends {}>(
|
8069 | collection: Array<T>,
|
8070 | method: Function,
|
8071 | ...args: any[]): any;
|
8072 |
|
8073 | |
8074 |
|
8075 |
|
8076 | invoke<T extends {}>(
|
8077 | collection: List<T>,
|
8078 | method: Function,
|
8079 | ...args: any[]): any;
|
8080 |
|
8081 | |
8082 |
|
8083 |
|
8084 | invoke<T extends {}>(
|
8085 | collection: Dictionary<T>,
|
8086 | method: Function,
|
8087 | ...args: any[]): any;
|
8088 | }
|
8089 |
|
8090 |
|
8091 | interface LoDashStatic {
|
8092 | |
8093 |
|
8094 |
|
8095 |
|
8096 |
|
8097 |
|
8098 |
|
8099 |
|
8100 |
|
8101 |
|
8102 |
|
8103 |
|
8104 |
|
8105 |
|
8106 |
|
8107 | map<T, TResult>(
|
8108 | collection: Array<T>,
|
8109 | callback: ListIterator<T, TResult>,
|
8110 | thisArg?: any): TResult[];
|
8111 |
|
8112 | |
8113 |
|
8114 |
|
8115 | map<T, TResult>(
|
8116 | collection: List<T>,
|
8117 | callback: ListIterator<T, TResult>,
|
8118 | thisArg?: any): TResult[];
|
8119 |
|
8120 | |
8121 |
|
8122 |
|
8123 |
|
8124 |
|
8125 |
|
8126 |
|
8127 | map<T extends {}, TResult>(
|
8128 | object: Dictionary<T>,
|
8129 | callback: ObjectIterator<T, TResult>,
|
8130 | thisArg?: any): TResult[];
|
8131 |
|
8132 | |
8133 |
|
8134 |
|
8135 |
|
8136 | map<T, TResult>(
|
8137 | collection: Array<T>,
|
8138 | pluckValue: string): TResult[];
|
8139 |
|
8140 | |
8141 |
|
8142 |
|
8143 |
|
8144 | map<T, TResult>(
|
8145 | collection: List<T>,
|
8146 | pluckValue: string): TResult[];
|
8147 |
|
8148 | |
8149 |
|
8150 |
|
8151 | collect<T, TResult>(
|
8152 | collection: Array<T>,
|
8153 | callback: ListIterator<T, TResult>,
|
8154 | thisArg?: any): TResult[];
|
8155 |
|
8156 | |
8157 |
|
8158 |
|
8159 | collect<T, TResult>(
|
8160 | collection: List<T>,
|
8161 | callback: ListIterator<T, TResult>,
|
8162 | thisArg?: any): TResult[];
|
8163 |
|
8164 | |
8165 |
|
8166 |
|
8167 | collect<T extends {}, TResult>(
|
8168 | object: Dictionary<T>,
|
8169 | callback: ObjectIterator<T, TResult>,
|
8170 | thisArg?: any): TResult[];
|
8171 |
|
8172 | |
8173 |
|
8174 |
|
8175 | collect<T, TResult>(
|
8176 | collection: Array<T>,
|
8177 | pluckValue: string): TResult[];
|
8178 |
|
8179 | |
8180 |
|
8181 |
|
8182 | collect<T, TResult>(
|
8183 | collection: List<T>,
|
8184 | pluckValue: string): TResult[];
|
8185 | }
|
8186 |
|
8187 | interface LoDashArrayWrapper<T> {
|
8188 | |
8189 |
|
8190 |
|
8191 | map<TResult>(
|
8192 | callback: ListIterator<T, TResult>,
|
8193 | thisArg?: any): LoDashArrayWrapper<TResult>;
|
8194 |
|
8195 | |
8196 |
|
8197 |
|
8198 |
|
8199 | map<TResult>(
|
8200 | pluckValue: string): LoDashArrayWrapper<TResult>;
|
8201 |
|
8202 | |
8203 |
|
8204 |
|
8205 | collect<TResult>(
|
8206 | callback: ListIterator<T, TResult>,
|
8207 | thisArg?: any): LoDashArrayWrapper<TResult>;
|
8208 |
|
8209 | |
8210 |
|
8211 |
|
8212 | collect<TResult>(
|
8213 | pluckValue: string): LoDashArrayWrapper<TResult>;
|
8214 | }
|
8215 |
|
8216 | interface LoDashObjectWrapper<T> {
|
8217 | |
8218 |
|
8219 |
|
8220 | map<T extends {}, TResult>(
|
8221 | callback: ObjectIterator<T, TResult>,
|
8222 | thisArg?: any): LoDashArrayWrapper<TResult>;
|
8223 |
|
8224 | |
8225 |
|
8226 |
|
8227 | collect<T extends {}, TResult>(
|
8228 | callback: ObjectIterator<T, TResult>,
|
8229 | thisArg?: any): LoDashArrayWrapper<TResult>;
|
8230 | }
|
8231 |
|
8232 |
|
8233 | interface LoDashStatic {
|
8234 | |
8235 |
|
8236 |
|
8237 |
|
8238 |
|
8239 |
|
8240 |
|
8241 |
|
8242 |
|
8243 |
|
8244 |
|
8245 |
|
8246 |
|
8247 |
|
8248 |
|
8249 |
|
8250 | max<T>(
|
8251 | collection: Array<T>,
|
8252 | callback?: ListIterator<T, any>,
|
8253 | thisArg?: any): T;
|
8254 |
|
8255 | |
8256 |
|
8257 |
|
8258 | max<T>(
|
8259 | collection: List<T>,
|
8260 | callback?: ListIterator<T, any>,
|
8261 | thisArg?: any): T;
|
8262 |
|
8263 | |
8264 |
|
8265 |
|
8266 | max<T>(
|
8267 | collection: Dictionary<T>,
|
8268 | callback?: ListIterator<T, any>,
|
8269 | thisArg?: any): T;
|
8270 |
|
8271 | |
8272 |
|
8273 |
|
8274 |
|
8275 | max<T>(
|
8276 | collection: Array<T>,
|
8277 | pluckValue: string): T;
|
8278 |
|
8279 | |
8280 |
|
8281 |
|
8282 |
|
8283 | max<T>(
|
8284 | collection: List<T>,
|
8285 | pluckValue: string): T;
|
8286 |
|
8287 | |
8288 |
|
8289 |
|
8290 |
|
8291 | max<T>(
|
8292 | collection: Dictionary<T>,
|
8293 | pluckValue: string): T;
|
8294 |
|
8295 | |
8296 |
|
8297 |
|
8298 |
|
8299 | max<W, T>(
|
8300 | collection: Array<T>,
|
8301 | whereValue: W): T;
|
8302 |
|
8303 | |
8304 |
|
8305 |
|
8306 |
|
8307 | max<W, T>(
|
8308 | collection: List<T>,
|
8309 | whereValue: W): T;
|
8310 |
|
8311 | |
8312 |
|
8313 |
|
8314 |
|
8315 | max<W, T>(
|
8316 | collection: Dictionary<T>,
|
8317 | whereValue: W): T;
|
8318 | }
|
8319 |
|
8320 | interface LoDashArrayWrapper<T> {
|
8321 | |
8322 |
|
8323 |
|
8324 | max(
|
8325 | callback?: ListIterator<T, any>,
|
8326 | thisArg?: any): LoDashWrapper<T>;
|
8327 |
|
8328 | |
8329 |
|
8330 |
|
8331 |
|
8332 | max(
|
8333 | pluckValue: string): LoDashWrapper<T>;
|
8334 |
|
8335 | |
8336 |
|
8337 |
|
8338 |
|
8339 | max<W>(
|
8340 | whereValue: W): LoDashWrapper<T>;
|
8341 | }
|
8342 |
|
8343 |
|
8344 | interface LoDashStatic {
|
8345 | |
8346 |
|
8347 |
|
8348 |
|
8349 |
|
8350 |
|
8351 |
|
8352 |
|
8353 |
|
8354 |
|
8355 |
|
8356 |
|
8357 |
|
8358 |
|
8359 |
|
8360 |
|
8361 | min<T>(
|
8362 | collection: Array<T>,
|
8363 | callback?: ListIterator<T, any>,
|
8364 | thisArg?: any): T;
|
8365 |
|
8366 | |
8367 |
|
8368 |
|
8369 | min<T>(
|
8370 | collection: List<T>,
|
8371 | callback?: ListIterator<T, any>,
|
8372 | thisArg?: any): T;
|
8373 |
|
8374 | |
8375 |
|
8376 |
|
8377 | min<T>(
|
8378 | collection: Dictionary<T>,
|
8379 | callback?: ListIterator<T, any>,
|
8380 | thisArg?: any): T;
|
8381 |
|
8382 | |
8383 |
|
8384 |
|
8385 |
|
8386 | min<T>(
|
8387 | collection: Array<T>,
|
8388 | pluckValue: string): T;
|
8389 |
|
8390 | |
8391 |
|
8392 |
|
8393 |
|
8394 | min<T>(
|
8395 | collection: List<T>,
|
8396 | pluckValue: string): T;
|
8397 |
|
8398 | |
8399 |
|
8400 |
|
8401 |
|
8402 | min<T>(
|
8403 | collection: Dictionary<T>,
|
8404 | pluckValue: string): T;
|
8405 |
|
8406 | |
8407 |
|
8408 |
|
8409 |
|
8410 | min<W, T>(
|
8411 | collection: Array<T>,
|
8412 | whereValue: W): T;
|
8413 |
|
8414 | |
8415 |
|
8416 |
|
8417 |
|
8418 | min<W, T>(
|
8419 | collection: List<T>,
|
8420 | whereValue: W): T;
|
8421 |
|
8422 | |
8423 |
|
8424 |
|
8425 |
|
8426 | min<W, T>(
|
8427 | collection: Dictionary<T>,
|
8428 | whereValue: W): T;
|
8429 | }
|
8430 |
|
8431 | interface LoDashArrayWrapper<T> {
|
8432 | |
8433 |
|
8434 |
|
8435 | min(
|
8436 | callback?: ListIterator<T, any>,
|
8437 | thisArg?: any): LoDashWrapper<T>;
|
8438 |
|
8439 | |
8440 |
|
8441 |
|
8442 |
|
8443 | min(
|
8444 | pluckValue: string): LoDashWrapper<T>;
|
8445 |
|
8446 | |
8447 |
|
8448 |
|
8449 |
|
8450 | min<W>(
|
8451 | whereValue: W): LoDashWrapper<T>;
|
8452 | }
|
8453 |
|
8454 |
|
8455 | interface LoDashStatic {
|
8456 | |
8457 |
|
8458 |
|
8459 |
|
8460 |
|
8461 |
|
8462 |
|
8463 |
|
8464 | sum(
|
8465 | collection: Array<number>): number;
|
8466 |
|
8467 | |
8468 |
|
8469 |
|
8470 | sum(
|
8471 | collection: List<number>): number;
|
8472 |
|
8473 | |
8474 |
|
8475 |
|
8476 | sum(
|
8477 | collection: Dictionary<number>): number;
|
8478 |
|
8479 | |
8480 |
|
8481 |
|
8482 | sum<T>(
|
8483 | collection: Array<T>,
|
8484 | iteratee: ListIterator<T, number>,
|
8485 | thisArg?: any): number;
|
8486 |
|
8487 | |
8488 |
|
8489 |
|
8490 | sum<T>(
|
8491 | collection: List<T>,
|
8492 | iteratee: ListIterator<T, number>,
|
8493 | thisArg?: any): number;
|
8494 |
|
8495 | |
8496 |
|
8497 |
|
8498 | sum<T>(
|
8499 | collection: Dictionary<T>,
|
8500 | iteratee: ObjectIterator<T, number>,
|
8501 | thisArg?: any): number;
|
8502 |
|
8503 | |
8504 |
|
8505 |
|
8506 |
|
8507 | sum<T>(
|
8508 | collection: Array<T>,
|
8509 | property: string): number;
|
8510 |
|
8511 | |
8512 |
|
8513 |
|
8514 |
|
8515 | sum<T>(
|
8516 | collection: List<T>,
|
8517 | property: string): number;
|
8518 |
|
8519 | |
8520 |
|
8521 |
|
8522 |
|
8523 | sum<T>(
|
8524 | collection: Dictionary<T>,
|
8525 | property: string): number;
|
8526 | }
|
8527 |
|
8528 | interface LoDashNumberArrayWrapper {
|
8529 | |
8530 |
|
8531 |
|
8532 | sum(): number;
|
8533 |
|
8534 | |
8535 |
|
8536 |
|
8537 | sum(
|
8538 | iteratee: ListIterator<number, number>,
|
8539 | thisArg?: any): number;
|
8540 | }
|
8541 |
|
8542 | interface LoDashArrayWrapper<T> {
|
8543 | |
8544 |
|
8545 |
|
8546 | sum(): number;
|
8547 |
|
8548 | |
8549 |
|
8550 |
|
8551 | sum(
|
8552 | iteratee: ListIterator<T, number>,
|
8553 | thisArg?: any): number;
|
8554 |
|
8555 | |
8556 |
|
8557 |
|
8558 |
|
8559 | sum(
|
8560 | property: string): number;
|
8561 | }
|
8562 |
|
8563 | interface LoDashObjectWrapper<T> {
|
8564 | |
8565 |
|
8566 |
|
8567 | sum(): number;
|
8568 |
|
8569 | |
8570 |
|
8571 |
|
8572 | sum(
|
8573 | iteratee: ObjectIterator<any, number>,
|
8574 | thisArg?: any): number;
|
8575 |
|
8576 | |
8577 |
|
8578 |
|
8579 |
|
8580 | sum(
|
8581 | property: string): number;
|
8582 | }
|
8583 |
|
8584 |
|
8585 | interface LoDashStatic {
|
8586 | |
8587 |
|
8588 |
|
8589 |
|
8590 |
|
8591 |
|
8592 | pluck<T extends {}>(
|
8593 | collection: Array<T>,
|
8594 | property: string): any[];
|
8595 |
|
8596 | |
8597 |
|
8598 |
|
8599 | pluck<T extends {}>(
|
8600 | collection: List<T>,
|
8601 | property: string): any[];
|
8602 |
|
8603 | |
8604 |
|
8605 |
|
8606 | pluck<T extends {}>(
|
8607 | collection: Dictionary<T>,
|
8608 | property: string): any[];
|
8609 | }
|
8610 |
|
8611 | interface LoDashArrayWrapper<T> {
|
8612 | |
8613 |
|
8614 |
|
8615 | pluck<TResult>(
|
8616 | property: string): LoDashArrayWrapper<TResult>;
|
8617 | }
|
8618 |
|
8619 | interface LoDashObjectWrapper<T> {
|
8620 | |
8621 |
|
8622 |
|
8623 | pluck<TResult>(
|
8624 | property: string): LoDashArrayWrapper<TResult>;
|
8625 | }
|
8626 |
|
8627 |
|
8628 | interface LoDashStatic {
|
8629 | |
8630 |
|
8631 |
|
8632 |
|
8633 |
|
8634 |
|
8635 |
|
8636 |
|
8637 |
|
8638 |
|
8639 |
|
8640 |
|
8641 | reduce<T, TResult>(
|
8642 | collection: Array<T>,
|
8643 | callback: MemoIterator<T, TResult>,
|
8644 | accumulator: TResult,
|
8645 | thisArg?: any): TResult;
|
8646 |
|
8647 | |
8648 |
|
8649 |
|
8650 | reduce<T, TResult>(
|
8651 | collection: List<T>,
|
8652 | callback: MemoIterator<T, TResult>,
|
8653 | accumulator: TResult,
|
8654 | thisArg?: any): TResult;
|
8655 |
|
8656 | |
8657 |
|
8658 |
|
8659 | reduce<T, TResult>(
|
8660 | collection: Dictionary<T>,
|
8661 | callback: MemoIterator<T, TResult>,
|
8662 | accumulator: TResult,
|
8663 | thisArg?: any): TResult;
|
8664 |
|
8665 | |
8666 |
|
8667 |
|
8668 | reduce<T, TResult>(
|
8669 | collection: Array<T>,
|
8670 | callback: MemoIterator<T, TResult>,
|
8671 | thisArg?: any): TResult;
|
8672 |
|
8673 | |
8674 |
|
8675 |
|
8676 | reduce<T, TResult>(
|
8677 | collection: List<T>,
|
8678 | callback: MemoIterator<T, TResult>,
|
8679 | thisArg?: any): TResult;
|
8680 |
|
8681 | |
8682 |
|
8683 |
|
8684 | reduce<T, TResult>(
|
8685 | collection: Dictionary<T>,
|
8686 | callback: MemoIterator<T, TResult>,
|
8687 | thisArg?: any): TResult;
|
8688 |
|
8689 | |
8690 |
|
8691 |
|
8692 | inject<T, TResult>(
|
8693 | collection: Array<T>,
|
8694 | callback: MemoIterator<T, TResult>,
|
8695 | accumulator: TResult,
|
8696 | thisArg?: any): TResult;
|
8697 |
|
8698 | |
8699 |
|
8700 |
|
8701 | inject<T, TResult>(
|
8702 | collection: List<T>,
|
8703 | callback: MemoIterator<T, TResult>,
|
8704 | accumulator: TResult,
|
8705 | thisArg?: any): TResult;
|
8706 |
|
8707 | |
8708 |
|
8709 |
|
8710 | inject<T, TResult>(
|
8711 | collection: Dictionary<T>,
|
8712 | callback: MemoIterator<T, TResult>,
|
8713 | accumulator: TResult,
|
8714 | thisArg?: any): TResult;
|
8715 |
|
8716 | |
8717 |
|
8718 |
|
8719 | inject<T, TResult>(
|
8720 | collection: Array<T>,
|
8721 | callback: MemoIterator<T, TResult>,
|
8722 | thisArg?: any): TResult;
|
8723 |
|
8724 | |
8725 |
|
8726 |
|
8727 | inject<T, TResult>(
|
8728 | collection: List<T>,
|
8729 | callback: MemoIterator<T, TResult>,
|
8730 | thisArg?: any): TResult;
|
8731 |
|
8732 | |
8733 |
|
8734 |
|
8735 | inject<T, TResult>(
|
8736 | collection: Dictionary<T>,
|
8737 | callback: MemoIterator<T, TResult>,
|
8738 | thisArg?: any): TResult;
|
8739 |
|
8740 | |
8741 |
|
8742 |
|
8743 | foldl<T, TResult>(
|
8744 | collection: Array<T>,
|
8745 | callback: MemoIterator<T, TResult>,
|
8746 | accumulator: TResult,
|
8747 | thisArg?: any): TResult;
|
8748 |
|
8749 | |
8750 |
|
8751 |
|
8752 | foldl<T, TResult>(
|
8753 | collection: List<T>,
|
8754 | callback: MemoIterator<T, TResult>,
|
8755 | accumulator: TResult,
|
8756 | thisArg?: any): TResult;
|
8757 |
|
8758 | |
8759 |
|
8760 |
|
8761 | foldl<T, TResult>(
|
8762 | collection: Dictionary<T>,
|
8763 | callback: MemoIterator<T, TResult>,
|
8764 | accumulator: TResult,
|
8765 | thisArg?: any): TResult;
|
8766 |
|
8767 | |
8768 |
|
8769 |
|
8770 | foldl<T, TResult>(
|
8771 | collection: Array<T>,
|
8772 | callback: MemoIterator<T, TResult>,
|
8773 | thisArg?: any): TResult;
|
8774 |
|
8775 | |
8776 |
|
8777 |
|
8778 | foldl<T, TResult>(
|
8779 | collection: List<T>,
|
8780 | callback: MemoIterator<T, TResult>,
|
8781 | thisArg?: any): TResult;
|
8782 |
|
8783 | |
8784 |
|
8785 |
|
8786 | foldl<T, TResult>(
|
8787 | collection: Dictionary<T>,
|
8788 | callback: MemoIterator<T, TResult>,
|
8789 | thisArg?: any): TResult;
|
8790 | }
|
8791 |
|
8792 | interface LoDashArrayWrapper<T> {
|
8793 | |
8794 |
|
8795 |
|
8796 | reduce<TResult>(
|
8797 | callback: MemoIterator<T, TResult>,
|
8798 | accumulator: TResult,
|
8799 | thisArg?: any): TResult;
|
8800 |
|
8801 | |
8802 |
|
8803 |
|
8804 | reduce<TResult>(
|
8805 | callback: MemoIterator<T, TResult>,
|
8806 | thisArg?: any): TResult;
|
8807 |
|
8808 | |
8809 |
|
8810 |
|
8811 | inject<TResult>(
|
8812 | callback: MemoIterator<T, TResult>,
|
8813 | accumulator: TResult,
|
8814 | thisArg?: any): TResult;
|
8815 |
|
8816 | |
8817 |
|
8818 |
|
8819 | inject<TResult>(
|
8820 | callback: MemoIterator<T, TResult>,
|
8821 | thisArg?: any): TResult;
|
8822 |
|
8823 | |
8824 |
|
8825 |
|
8826 | foldl<TResult>(
|
8827 | callback: MemoIterator<T, TResult>,
|
8828 | accumulator: TResult,
|
8829 | thisArg?: any): TResult;
|
8830 |
|
8831 | |
8832 |
|
8833 |
|
8834 | foldl<TResult>(
|
8835 | callback: MemoIterator<T, TResult>,
|
8836 | thisArg?: any): TResult;
|
8837 | }
|
8838 |
|
8839 | interface LoDashObjectWrapper<T> {
|
8840 | |
8841 |
|
8842 |
|
8843 | reduce<TValue, TResult>(
|
8844 | callback: MemoIterator<TValue, TResult>,
|
8845 | accumulator: TResult,
|
8846 | thisArg?: any): TResult;
|
8847 |
|
8848 | |
8849 |
|
8850 |
|
8851 | reduce<TValue, TResult>(
|
8852 | callback: MemoIterator<TValue, TResult>,
|
8853 | thisArg?: any): TResult;
|
8854 |
|
8855 | |
8856 |
|
8857 |
|
8858 | inject<TValue, TResult>(
|
8859 | callback: MemoIterator<TValue, TResult>,
|
8860 | accumulator: TResult,
|
8861 | thisArg?: any): TResult;
|
8862 |
|
8863 | |
8864 |
|
8865 |
|
8866 | inject<TValue, TResult>(
|
8867 | callback: MemoIterator<TValue, TResult>,
|
8868 | thisArg?: any): TResult;
|
8869 |
|
8870 | |
8871 |
|
8872 |
|
8873 | foldl<TValue, TResult>(
|
8874 | callback: MemoIterator<TValue, TResult>,
|
8875 | accumulator: TResult,
|
8876 | thisArg?: any): TResult;
|
8877 |
|
8878 | |
8879 |
|
8880 |
|
8881 | foldl<TValue, TResult>(
|
8882 | callback: MemoIterator<TValue, TResult>,
|
8883 | thisArg?: any): TResult;
|
8884 | }
|
8885 |
|
8886 |
|
8887 | interface LoDashStatic {
|
8888 | |
8889 |
|
8890 |
|
8891 |
|
8892 |
|
8893 |
|
8894 |
|
8895 |
|
8896 |
|
8897 | reduceRight<T, TResult>(
|
8898 | collection: Array<T>,
|
8899 | callback: MemoIterator<T, TResult>,
|
8900 | accumulator: TResult,
|
8901 | thisArg?: any): TResult;
|
8902 |
|
8903 | |
8904 |
|
8905 |
|
8906 | reduceRight<T, TResult>(
|
8907 | collection: List<T>,
|
8908 | callback: MemoIterator<T, TResult>,
|
8909 | accumulator: TResult,
|
8910 | thisArg?: any): TResult;
|
8911 |
|
8912 | |
8913 |
|
8914 |
|
8915 | reduceRight<T, TResult>(
|
8916 | collection: Dictionary<T>,
|
8917 | callback: MemoIterator<T, TResult>,
|
8918 | accumulator: TResult,
|
8919 | thisArg?: any): TResult;
|
8920 |
|
8921 | |
8922 |
|
8923 |
|
8924 | reduceRight<T, TResult>(
|
8925 | collection: Array<T>,
|
8926 | callback: MemoIterator<T, TResult>,
|
8927 | thisArg?: any): TResult;
|
8928 |
|
8929 | |
8930 |
|
8931 |
|
8932 | reduceRight<T, TResult>(
|
8933 | collection: List<T>,
|
8934 | callback: MemoIterator<T, TResult>,
|
8935 | thisArg?: any): TResult;
|
8936 |
|
8937 | |
8938 |
|
8939 |
|
8940 | reduceRight<T, TResult>(
|
8941 | collection: Dictionary<T>,
|
8942 | callback: MemoIterator<T, TResult>,
|
8943 | thisArg?: any): TResult;
|
8944 |
|
8945 | |
8946 |
|
8947 |
|
8948 | foldr<T, TResult>(
|
8949 | collection: Array<T>,
|
8950 | callback: MemoIterator<T, TResult>,
|
8951 | accumulator: TResult,
|
8952 | thisArg?: any): TResult;
|
8953 |
|
8954 | |
8955 |
|
8956 |
|
8957 | foldr<T, TResult>(
|
8958 | collection: List<T>,
|
8959 | callback: MemoIterator<T, TResult>,
|
8960 | accumulator: TResult,
|
8961 | thisArg?: any): TResult;
|
8962 |
|
8963 | |
8964 |
|
8965 |
|
8966 | foldr<T, TResult>(
|
8967 | collection: Dictionary<T>,
|
8968 | callback: MemoIterator<T, TResult>,
|
8969 | accumulator: TResult,
|
8970 | thisArg?: any): TResult;
|
8971 |
|
8972 | |
8973 |
|
8974 |
|
8975 | foldr<T, TResult>(
|
8976 | collection: Array<T>,
|
8977 | callback: MemoIterator<T, TResult>,
|
8978 | thisArg?: any): TResult;
|
8979 |
|
8980 | |
8981 |
|
8982 |
|
8983 | foldr<T, TResult>(
|
8984 | collection: List<T>,
|
8985 | callback: MemoIterator<T, TResult>,
|
8986 | thisArg?: any): TResult;
|
8987 |
|
8988 | |
8989 |
|
8990 |
|
8991 | foldr<T, TResult>(
|
8992 | collection: Dictionary<T>,
|
8993 | callback: MemoIterator<T, TResult>,
|
8994 | thisArg?: any): TResult;
|
8995 | }
|
8996 |
|
8997 |
|
8998 | interface LoDashStatic {
|
8999 | |
9000 |
|
9001 |
|
9002 |
|
9003 |
|
9004 |
|
9005 |
|
9006 |
|
9007 |
|
9008 |
|
9009 |
|
9010 |
|
9011 |
|
9012 |
|
9013 | reject<T>(
|
9014 | collection: Array<T>,
|
9015 | callback: ListIterator<T, boolean>,
|
9016 | thisArg?: any): T[];
|
9017 |
|
9018 | |
9019 |
|
9020 |
|
9021 | reject<T>(
|
9022 | collection: List<T>,
|
9023 | callback: ListIterator<T, boolean>,
|
9024 | thisArg?: any): T[];
|
9025 |
|
9026 | |
9027 |
|
9028 |
|
9029 | reject<T>(
|
9030 | collection: Dictionary<T>,
|
9031 | callback: ListIterator<T, boolean>,
|
9032 | thisArg?: any): T[];
|
9033 |
|
9034 | |
9035 |
|
9036 |
|
9037 |
|
9038 | reject<T>(
|
9039 | collection: Array<T>,
|
9040 | pluckValue: string): T[];
|
9041 |
|
9042 | |
9043 |
|
9044 |
|
9045 |
|
9046 | reject<T>(
|
9047 | collection: List<T>,
|
9048 | pluckValue: string): T[];
|
9049 |
|
9050 | |
9051 |
|
9052 |
|
9053 |
|
9054 | reject<T>(
|
9055 | collection: Dictionary<T>,
|
9056 | pluckValue: string): T[];
|
9057 |
|
9058 | |
9059 |
|
9060 |
|
9061 |
|
9062 | reject<W, T>(
|
9063 | collection: Array<T>,
|
9064 | whereValue: W): T[];
|
9065 |
|
9066 | |
9067 |
|
9068 |
|
9069 |
|
9070 | reject<W, T>(
|
9071 | collection: List<T>,
|
9072 | whereValue: W): T[];
|
9073 |
|
9074 | |
9075 |
|
9076 |
|
9077 |
|
9078 | reject<W, T>(
|
9079 | collection: Dictionary<T>,
|
9080 | whereValue: W): T[];
|
9081 | }
|
9082 |
|
9083 | interface LoDashArrayWrapper<T> {
|
9084 | |
9085 |
|
9086 |
|
9087 | reject(
|
9088 | callback: ListIterator<T, boolean>,
|
9089 | thisArg?: any): LoDashArrayWrapper<T>;
|
9090 |
|
9091 | |
9092 |
|
9093 |
|
9094 |
|
9095 | reject(pluckValue: string): LoDashArrayWrapper<T>;
|
9096 |
|
9097 | |
9098 |
|
9099 |
|
9100 |
|
9101 | reject<W>(whereValue: W): LoDashArrayWrapper<T>;
|
9102 | }
|
9103 |
|
9104 |
|
9105 | interface LoDashStatic {
|
9106 | |
9107 |
|
9108 |
|
9109 |
|
9110 |
|
9111 | sample<T>(collection: Array<T>): T;
|
9112 |
|
9113 | |
9114 |
|
9115 |
|
9116 | sample<T>(collection: List<T>): T;
|
9117 |
|
9118 | |
9119 |
|
9120 |
|
9121 | sample<T>(collection: Dictionary<T>): T;
|
9122 |
|
9123 | |
9124 |
|
9125 |
|
9126 |
|
9127 | sample<T>(collection: Array<T>, n: number): T[];
|
9128 |
|
9129 | |
9130 |
|
9131 |
|
9132 |
|
9133 | sample<T>(collection: List<T>, n: number): T[];
|
9134 |
|
9135 | |
9136 |
|
9137 |
|
9138 |
|
9139 | sample<T>(collection: Dictionary<T>, n: number): T[];
|
9140 | }
|
9141 |
|
9142 |
|
9143 | interface LoDashStatic {
|
9144 | |
9145 |
|
9146 |
|
9147 |
|
9148 |
|
9149 |
|
9150 | shuffle<T>(collection: Array<T>): T[];
|
9151 |
|
9152 | |
9153 |
|
9154 |
|
9155 | shuffle<T>(collection: List<T>): T[];
|
9156 |
|
9157 | |
9158 |
|
9159 |
|
9160 | shuffle<T>(collection: Dictionary<T>): T[];
|
9161 | }
|
9162 |
|
9163 |
|
9164 | interface LoDashStatic {
|
9165 | |
9166 |
|
9167 |
|
9168 |
|
9169 |
|
9170 |
|
9171 | size<T>(collection: Array<T>): number;
|
9172 |
|
9173 | |
9174 |
|
9175 |
|
9176 | size<T>(collection: List<T>): number;
|
9177 |
|
9178 | |
9179 |
|
9180 |
|
9181 |
|
9182 |
|
9183 | size<T extends {}>(object: T): number;
|
9184 |
|
9185 | |
9186 |
|
9187 |
|
9188 |
|
9189 |
|
9190 | size(aString: string): number;
|
9191 | }
|
9192 |
|
9193 |
|
9194 | interface LoDashStatic {
|
9195 | |
9196 |
|
9197 |
|
9198 |
|
9199 |
|
9200 |
|
9201 |
|
9202 |
|
9203 |
|
9204 |
|
9205 |
|
9206 |
|
9207 |
|
9208 |
|
9209 |
|
9210 | some<T>(
|
9211 | collection: Array<T>,
|
9212 | callback?: ListIterator<T, boolean>,
|
9213 | thisArg?: any): boolean;
|
9214 |
|
9215 | |
9216 |
|
9217 |
|
9218 | some<T>(
|
9219 | collection: List<T>,
|
9220 | callback?: ListIterator<T, boolean>,
|
9221 | thisArg?: any): boolean;
|
9222 |
|
9223 | |
9224 |
|
9225 |
|
9226 | some<T>(
|
9227 | collection: Dictionary<T>,
|
9228 | callback?: ListIterator<T, boolean>,
|
9229 | thisArg?: any): boolean;
|
9230 |
|
9231 | |
9232 |
|
9233 |
|
9234 | some(
|
9235 | collection: {},
|
9236 | callback?: ListIterator<{}, boolean>,
|
9237 | thisArg?: any): boolean;
|
9238 |
|
9239 | |
9240 |
|
9241 |
|
9242 |
|
9243 | some<T>(
|
9244 | collection: Array<T>,
|
9245 | pluckValue: string): boolean;
|
9246 |
|
9247 | |
9248 |
|
9249 |
|
9250 |
|
9251 | some<T>(
|
9252 | collection: List<T>,
|
9253 | pluckValue: string): boolean;
|
9254 |
|
9255 | |
9256 |
|
9257 |
|
9258 |
|
9259 | some<T>(
|
9260 | collection: Dictionary<T>,
|
9261 | pluckValue: string): boolean;
|
9262 |
|
9263 | |
9264 |
|
9265 |
|
9266 |
|
9267 | some<W, T>(
|
9268 | collection: Array<T>,
|
9269 | whereValue: W): boolean;
|
9270 |
|
9271 | |
9272 |
|
9273 |
|
9274 |
|
9275 | some<W, T>(
|
9276 | collection: List<T>,
|
9277 | whereValue: W): boolean;
|
9278 |
|
9279 | |
9280 |
|
9281 |
|
9282 |
|
9283 | some<W, T>(
|
9284 | collection: Dictionary<T>,
|
9285 | whereValue: W): boolean;
|
9286 |
|
9287 | |
9288 |
|
9289 |
|
9290 | any<T>(
|
9291 | collection: Array<T>,
|
9292 | callback?: ListIterator<T, boolean>,
|
9293 | thisArg?: any): boolean;
|
9294 |
|
9295 | |
9296 |
|
9297 |
|
9298 | any<T>(
|
9299 | collection: List<T>,
|
9300 | callback?: ListIterator<T, boolean>,
|
9301 | thisArg?: any): boolean;
|
9302 |
|
9303 | |
9304 |
|
9305 |
|
9306 | any<T>(
|
9307 | collection: Dictionary<T>,
|
9308 | callback?: ListIterator<T, boolean>,
|
9309 | thisArg?: any): boolean;
|
9310 |
|
9311 | |
9312 |
|
9313 |
|
9314 | any(
|
9315 | collection: {},
|
9316 | callback?: ListIterator<{}, boolean>,
|
9317 | thisArg?: any): boolean;
|
9318 |
|
9319 | |
9320 |
|
9321 |
|
9322 |
|
9323 | any<T>(
|
9324 | collection: Array<T>,
|
9325 | pluckValue: string): boolean;
|
9326 |
|
9327 | |
9328 |
|
9329 |
|
9330 |
|
9331 | any<T>(
|
9332 | collection: List<T>,
|
9333 | pluckValue: string): boolean;
|
9334 |
|
9335 | |
9336 |
|
9337 |
|
9338 |
|
9339 | any<T>(
|
9340 | collection: Dictionary<T>,
|
9341 | pluckValue: string): boolean;
|
9342 |
|
9343 | |
9344 |
|
9345 |
|
9346 |
|
9347 | any<W, T>(
|
9348 | collection: Array<T>,
|
9349 | whereValue: W): boolean;
|
9350 |
|
9351 | |
9352 |
|
9353 |
|
9354 |
|
9355 | any<W, T>(
|
9356 | collection: List<T>,
|
9357 | whereValue: W): boolean;
|
9358 |
|
9359 | |
9360 |
|
9361 |
|
9362 |
|
9363 | any<W, T>(
|
9364 | collection: Dictionary<T>,
|
9365 | whereValue: W): boolean;
|
9366 | }
|
9367 |
|
9368 |
|
9369 | interface LoDashStatic {
|
9370 | |
9371 |
|
9372 |
|
9373 |
|
9374 |
|
9375 |
|
9376 |
|
9377 |
|
9378 |
|
9379 |
|
9380 |
|
9381 |
|
9382 |
|
9383 |
|
9384 |
|
9385 |
|
9386 | sortBy<T, TSort>(
|
9387 | collection: Array<T>,
|
9388 | callback?: ListIterator<T, TSort>,
|
9389 | thisArg?: any): T[];
|
9390 |
|
9391 | |
9392 |
|
9393 |
|
9394 | sortBy<T, TSort>(
|
9395 | collection: List<T>,
|
9396 | callback?: ListIterator<T, TSort>,
|
9397 | thisArg?: any): T[];
|
9398 |
|
9399 | |
9400 |
|
9401 |
|
9402 |
|
9403 | sortBy<T>(
|
9404 | collection: Array<T>,
|
9405 | pluckValue: string): T[];
|
9406 |
|
9407 | |
9408 |
|
9409 |
|
9410 |
|
9411 | sortBy<T>(
|
9412 | collection: List<T>,
|
9413 | pluckValue: string): T[];
|
9414 |
|
9415 | |
9416 |
|
9417 |
|
9418 |
|
9419 | sortBy<W, T>(
|
9420 | collection: Array<T>,
|
9421 | whereValue: W): T[];
|
9422 |
|
9423 | |
9424 |
|
9425 |
|
9426 |
|
9427 | sortBy<W, T>(
|
9428 | collection: List<T>,
|
9429 | whereValue: W): T[];
|
9430 | }
|
9431 |
|
9432 | interface LoDashArrayWrapper<T> {
|
9433 | |
9434 |
|
9435 |
|
9436 | sortBy<TSort>(
|
9437 | callback?: ListIterator<T, TSort>,
|
9438 | thisArg?: any): LoDashArrayWrapper<T>;
|
9439 |
|
9440 | |
9441 |
|
9442 |
|
9443 |
|
9444 | sortBy(pluckValue: string): LoDashArrayWrapper<T>;
|
9445 |
|
9446 | |
9447 |
|
9448 |
|
9449 |
|
9450 | sortBy<W>(whereValue: W): LoDashArrayWrapper<T>;
|
9451 | }
|
9452 |
|
9453 |
|
9454 | interface LoDashStatic {
|
9455 | |
9456 |
|
9457 |
|
9458 |
|
9459 |
|
9460 | toArray<T>(collection: Array<T>): T[];
|
9461 |
|
9462 | |
9463 |
|
9464 |
|
9465 | toArray<T>(collection: List<T>): T[];
|
9466 |
|
9467 | |
9468 |
|
9469 |
|
9470 | toArray<T>(collection: Dictionary<T>): T[];
|
9471 | }
|
9472 |
|
9473 | interface LoDashArrayWrapper<T> {
|
9474 | |
9475 |
|
9476 |
|
9477 | toArray(): LoDashArrayWrapper<T>;
|
9478 | }
|
9479 |
|
9480 | interface LoDashObjectWrapper<T> {
|
9481 | |
9482 |
|
9483 |
|
9484 | toArray<TValue>(): LoDashArrayWrapper<TValue>;
|
9485 | }
|
9486 |
|
9487 |
|
9488 | interface LoDashStatic {
|
9489 | |
9490 |
|
9491 |
|
9492 |
|
9493 |
|
9494 |
|
9495 |
|
9496 | toPlainObject<TResult extends {}>(value?: any): TResult;
|
9497 | }
|
9498 |
|
9499 |
|
9500 | interface LoDashStatic {
|
9501 | |
9502 |
|
9503 |
|
9504 |
|
9505 |
|
9506 |
|
9507 |
|
9508 | where<T, U extends {}>(
|
9509 | list: Array<T>,
|
9510 | properties: U): T[];
|
9511 |
|
9512 | |
9513 |
|
9514 |
|
9515 | where<T, U extends {}>(
|
9516 | list: List<T>,
|
9517 | properties: U): T[];
|
9518 |
|
9519 | |
9520 |
|
9521 |
|
9522 | where<T, U extends {}>(
|
9523 | list: Dictionary<T>,
|
9524 | properties: U): T[];
|
9525 | }
|
9526 |
|
9527 | interface LoDashArrayWrapper<T> {
|
9528 | |
9529 |
|
9530 |
|
9531 | where<T, U extends {}>(properties: U): LoDashArrayWrapper<T>;
|
9532 | }
|
9533 |
|
9534 | |
9535 |
|
9536 |
|
9537 |
|
9538 |
|
9539 | interface LoDashStatic {
|
9540 | |
9541 |
|
9542 |
|
9543 |
|
9544 |
|
9545 |
|
9546 |
|
9547 | after(
|
9548 | n: number,
|
9549 | func: Function): Function;
|
9550 | }
|
9551 |
|
9552 | interface LoDashWrapper<T> {
|
9553 | |
9554 |
|
9555 |
|
9556 | after(func: Function): LoDashObjectWrapper<Function>;
|
9557 | }
|
9558 |
|
9559 |
|
9560 | interface LoDashStatic {
|
9561 | |
9562 |
|
9563 |
|
9564 |
|
9565 |
|
9566 |
|
9567 |
|
9568 |
|
9569 | bind(
|
9570 | func: Function,
|
9571 | thisArg: any,
|
9572 | ...args: any[]): () => any;
|
9573 | }
|
9574 |
|
9575 | interface LoDashObjectWrapper<T> {
|
9576 | |
9577 |
|
9578 |
|
9579 | bind(
|
9580 | thisArg: any,
|
9581 | ...args: any[]): LoDashObjectWrapper<() => any>;
|
9582 | }
|
9583 |
|
9584 |
|
9585 | interface LoDashStatic {
|
9586 | |
9587 |
|
9588 |
|
9589 |
|
9590 |
|
9591 |
|
9592 |
|
9593 |
|
9594 |
|
9595 | bindAll<T>(
|
9596 | object: T,
|
9597 | ...methodNames: string[]): T;
|
9598 | }
|
9599 |
|
9600 | interface LoDashObjectWrapper<T> {
|
9601 | |
9602 |
|
9603 |
|
9604 | bindAll(...methodNames: string[]): LoDashWrapper<T>;
|
9605 | }
|
9606 |
|
9607 |
|
9608 | interface LoDashStatic {
|
9609 | |
9610 |
|
9611 |
|
9612 |
|
9613 |
|
9614 |
|
9615 |
|
9616 |
|
9617 |
|
9618 |
|
9619 | bindKey<T>(
|
9620 | object: T,
|
9621 | key: string,
|
9622 | ...args: any[]): Function;
|
9623 | }
|
9624 |
|
9625 | interface LoDashObjectWrapper<T> {
|
9626 | |
9627 |
|
9628 |
|
9629 | bindKey(
|
9630 | key: string,
|
9631 | ...args: any[]): LoDashObjectWrapper<Function>;
|
9632 | }
|
9633 |
|
9634 |
|
9635 | interface LoDashStatic {
|
9636 | |
9637 |
|
9638 |
|
9639 |
|
9640 |
|
9641 |
|
9642 |
|
9643 |
|
9644 | compose(...funcs: Function[]): Function;
|
9645 | }
|
9646 |
|
9647 | interface LoDashObjectWrapper<T> {
|
9648 | |
9649 |
|
9650 |
|
9651 | compose(...funcs: Function[]): LoDashObjectWrapper<Function>;
|
9652 | }
|
9653 |
|
9654 |
|
9655 | interface LoDashStatic {
|
9656 | |
9657 |
|
9658 |
|
9659 |
|
9660 |
|
9661 |
|
9662 |
|
9663 |
|
9664 |
|
9665 |
|
9666 | createCallback(
|
9667 | func: string,
|
9668 | thisArg?: any,
|
9669 | argCount?: number): () => any;
|
9670 |
|
9671 | |
9672 |
|
9673 |
|
9674 | createCallback(
|
9675 | func: Dictionary<any>,
|
9676 | thisArg?: any,
|
9677 | argCount?: number): () => boolean;
|
9678 | }
|
9679 |
|
9680 | interface LoDashWrapper<T> {
|
9681 | |
9682 |
|
9683 |
|
9684 | createCallback(
|
9685 | thisArg?: any,
|
9686 | argCount?: number): LoDashObjectWrapper<() => any>;
|
9687 | }
|
9688 |
|
9689 | interface LoDashObjectWrapper<T> {
|
9690 | |
9691 |
|
9692 |
|
9693 | createCallback(
|
9694 | thisArg?: any,
|
9695 | argCount?: number): LoDashObjectWrapper<() => any>;
|
9696 | }
|
9697 |
|
9698 |
|
9699 | interface LoDashStatic {
|
9700 | |
9701 |
|
9702 |
|
9703 |
|
9704 |
|
9705 |
|
9706 |
|
9707 |
|
9708 |
|
9709 | curry(
|
9710 | func: Function,
|
9711 | arity?: number): Function;
|
9712 | }
|
9713 |
|
9714 | interface LoDashObjectWrapper<T> {
|
9715 | |
9716 |
|
9717 |
|
9718 | curry(arity?: number): LoDashObjectWrapper<Function>;
|
9719 | }
|
9720 |
|
9721 |
|
9722 | interface LoDashStatic {
|
9723 | |
9724 |
|
9725 |
|
9726 |
|
9727 |
|
9728 |
|
9729 |
|
9730 |
|
9731 |
|
9732 |
|
9733 |
|
9734 |
|
9735 |
|
9736 |
|
9737 |
|
9738 |
|
9739 |
|
9740 | debounce<T extends Function>(
|
9741 | func: T,
|
9742 | wait: number,
|
9743 | options?: DebounceSettings): T;
|
9744 | }
|
9745 |
|
9746 | interface LoDashObjectWrapper<T> {
|
9747 | |
9748 |
|
9749 |
|
9750 | debounce(
|
9751 | wait: number,
|
9752 | options?: DebounceSettings): LoDashObjectWrapper<Function>;
|
9753 | }
|
9754 |
|
9755 | interface DebounceSettings {
|
9756 | |
9757 |
|
9758 |
|
9759 | leading?: boolean;
|
9760 |
|
9761 | |
9762 |
|
9763 |
|
9764 | maxWait?: number;
|
9765 |
|
9766 | |
9767 |
|
9768 |
|
9769 | trailing?: boolean;
|
9770 | }
|
9771 |
|
9772 |
|
9773 | interface LoDashStatic {
|
9774 | |
9775 |
|
9776 |
|
9777 |
|
9778 |
|
9779 |
|
9780 |
|
9781 | defer(
|
9782 | func: Function,
|
9783 | ...args: any[]): number;
|
9784 | }
|
9785 |
|
9786 | interface LoDashObjectWrapper<T> {
|
9787 | |
9788 |
|
9789 |
|
9790 | defer(...args: any[]): LoDashWrapper<number>;
|
9791 | }
|
9792 |
|
9793 |
|
9794 | interface LoDashStatic {
|
9795 | |
9796 |
|
9797 |
|
9798 |
|
9799 |
|
9800 |
|
9801 |
|
9802 |
|
9803 | delay(
|
9804 | func: Function,
|
9805 | wait: number,
|
9806 | ...args: any[]): number;
|
9807 | }
|
9808 |
|
9809 | interface LoDashObjectWrapper<T> {
|
9810 | |
9811 |
|
9812 |
|
9813 | delay(
|
9814 | wait: number,
|
9815 | ...args: any[]): LoDashWrapper<number>;
|
9816 | }
|
9817 |
|
9818 |
|
9819 | interface LoDashStatic {
|
9820 | |
9821 |
|
9822 |
|
9823 |
|
9824 |
|
9825 |
|
9826 |
|
9827 |
|
9828 |
|
9829 |
|
9830 | memoize<T extends Function>(
|
9831 | func: T,
|
9832 | resolver?: Function): T;
|
9833 | }
|
9834 |
|
9835 |
|
9836 | interface LoDashStatic {
|
9837 | |
9838 |
|
9839 |
|
9840 |
|
9841 |
|
9842 |
|
9843 |
|
9844 | once<T extends Function>(func: T): T;
|
9845 | }
|
9846 |
|
9847 |
|
9848 | interface LoDashStatic {
|
9849 | |
9850 |
|
9851 |
|
9852 |
|
9853 |
|
9854 |
|
9855 |
|
9856 |
|
9857 | partial(
|
9858 | func: Function,
|
9859 | ...args: any[]): Function;
|
9860 | }
|
9861 |
|
9862 |
|
9863 | interface LoDashStatic {
|
9864 | |
9865 |
|
9866 |
|
9867 |
|
9868 |
|
9869 |
|
9870 |
|
9871 | partialRight(
|
9872 | func: Function,
|
9873 | ...args: any[]): Function;
|
9874 | }
|
9875 |
|
9876 |
|
9877 | interface LoDashStatic {
|
9878 | |
9879 |
|
9880 |
|
9881 |
|
9882 |
|
9883 |
|
9884 |
|
9885 |
|
9886 |
|
9887 |
|
9888 |
|
9889 |
|
9890 |
|
9891 |
|
9892 |
|
9893 | throttle<T extends Function>(
|
9894 | func: T,
|
9895 | wait: number,
|
9896 | options?: ThrottleSettings): T;
|
9897 | }
|
9898 |
|
9899 | interface ThrottleSettings {
|
9900 |
|
9901 | |
9902 |
|
9903 |
|
9904 | leading?: boolean;
|
9905 |
|
9906 | |
9907 |
|
9908 |
|
9909 | trailing?: boolean;
|
9910 | }
|
9911 |
|
9912 |
|
9913 | interface LoDashStatic {
|
9914 | |
9915 |
|
9916 |
|
9917 |
|
9918 |
|
9919 |
|
9920 |
|
9921 |
|
9922 | wrap(
|
9923 | value: any,
|
9924 | wrapper: (func: Function, ...args: any[]) => any): Function;
|
9925 | }
|
9926 |
|
9927 | |
9928 |
|
9929 |
|
9930 |
|
9931 |
|
9932 | interface LoDashStatic {
|
9933 | |
9934 |
|
9935 |
|
9936 |
|
9937 |
|
9938 |
|
9939 |
|
9940 |
|
9941 |
|
9942 |
|
9943 |
|
9944 | assign<P, T, S1, Value, Result>(
|
9945 | object: T,
|
9946 | s1: S1,
|
9947 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
9948 | thisArg?: any): Result;
|
9949 |
|
9950 | |
9951 |
|
9952 |
|
9953 | assign<P, T, S1, S2, Value, Result>(
|
9954 | object: T,
|
9955 | s1: S1,
|
9956 | s2: S2,
|
9957 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
9958 | thisArg?: any): Result;
|
9959 |
|
9960 | |
9961 |
|
9962 |
|
9963 | assign<P, T, S1, S2, S3, Value, Result>(
|
9964 | object: T,
|
9965 | s1: S1,
|
9966 | s2: S2,
|
9967 | s3: S3,
|
9968 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
9969 | thisArg?: any): Result;
|
9970 |
|
9971 | |
9972 |
|
9973 |
|
9974 | assign<P, T, S1, S2, S3, S4, Value, Result>(
|
9975 | object: T,
|
9976 | s1: S1,
|
9977 | s2: S2,
|
9978 | s3: S3,
|
9979 | s4: S4,
|
9980 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
9981 | thisArg?: any): Result;
|
9982 |
|
9983 | |
9984 |
|
9985 |
|
9986 | extend<P, T, S1, Value, Result>(
|
9987 | object: T,
|
9988 | s1: S1,
|
9989 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
9990 | thisArg?: any): Result;
|
9991 |
|
9992 | |
9993 |
|
9994 |
|
9995 | extend<P, T, S1, S2, Value, Result>(
|
9996 | object: T,
|
9997 | s1: S1,
|
9998 | s2: S2,
|
9999 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10000 | thisArg?: any): Result;
|
10001 |
|
10002 | |
10003 |
|
10004 |
|
10005 | extend<P, T, S1, S2, S3, Value, Result>(
|
10006 | object: T,
|
10007 | s1: S1,
|
10008 | s2: S2,
|
10009 | s3: S3,
|
10010 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10011 | thisArg?: any): Result;
|
10012 |
|
10013 | |
10014 |
|
10015 |
|
10016 | extend<P, T, S1, S2, S3, S4, Value, Result>(
|
10017 | object: T,
|
10018 | s1: S1,
|
10019 | s2: S2,
|
10020 | s3: S3,
|
10021 | s4: S4,
|
10022 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10023 | thisArg?: any): Result;
|
10024 | }
|
10025 |
|
10026 | interface LoDashObjectWrapper<T> {
|
10027 | |
10028 |
|
10029 |
|
10030 | assign<S1, Value, TResult>(
|
10031 | s1: S1,
|
10032 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10033 | thisArg?: any): TResult;
|
10034 |
|
10035 | |
10036 |
|
10037 |
|
10038 | assign<S1, S2, Value, TResult>(
|
10039 | s1: S1,
|
10040 | s2: S2,
|
10041 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10042 | thisArg?: any): TResult;
|
10043 | |
10044 |
|
10045 |
|
10046 | assign<S1, S2, S3, Value, TResult>(
|
10047 | s1: S1,
|
10048 | s2: S2,
|
10049 | s3: S3,
|
10050 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10051 | thisArg?: any): TResult;
|
10052 | |
10053 |
|
10054 |
|
10055 | assign<S1, S2, S3, S4, Value, TResult>(
|
10056 | s1: S1,
|
10057 | s2: S2,
|
10058 | s3: S3,
|
10059 | s4: S4,
|
10060 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10061 | thisArg?: any): TResult;
|
10062 | |
10063 |
|
10064 |
|
10065 | assign<S1, S2, S3, S4, S5, Value, TResult>(
|
10066 | s1: S1,
|
10067 | s2: S2,
|
10068 | s3: S3,
|
10069 | s4: S4,
|
10070 | s5: S5,
|
10071 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10072 | thisArg?: any): TResult;
|
10073 |
|
10074 | |
10075 |
|
10076 |
|
10077 | extend<S1, Value, TResult>(
|
10078 | s1: S1,
|
10079 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10080 | thisArg?: any): TResult;
|
10081 |
|
10082 | |
10083 |
|
10084 |
|
10085 | extend<S1, S2, Value, TResult>(
|
10086 | s1: S1,
|
10087 | s2: S2,
|
10088 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10089 | thisArg?: any): TResult;
|
10090 | |
10091 |
|
10092 |
|
10093 | extend<S1, S2, S3, Value, TResult>(
|
10094 | s1: S1,
|
10095 | s2: S2,
|
10096 | s3: S3,
|
10097 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10098 | thisArg?: any): TResult;
|
10099 | |
10100 |
|
10101 |
|
10102 | extend<S1, S2, S3, S4, Value, TResult>(
|
10103 | s1: S1,
|
10104 | s2: S2,
|
10105 | s3: S3,
|
10106 | s4: S4,
|
10107 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10108 | thisArg?: any): TResult;
|
10109 | |
10110 |
|
10111 |
|
10112 | extend<S1, S2, S3, S4, S5, Value, TResult>(
|
10113 | s1: S1,
|
10114 | s2: S2,
|
10115 | s3: S3,
|
10116 | s4: S4,
|
10117 | s5: S5,
|
10118 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10119 | thisArg?: any): TResult;
|
10120 |
|
10121 | }
|
10122 |
|
10123 |
|
10124 | interface LoDashStatic {
|
10125 | |
10126 |
|
10127 |
|
10128 |
|
10129 |
|
10130 |
|
10131 |
|
10132 |
|
10133 |
|
10134 |
|
10135 |
|
10136 | clone<T>(
|
10137 | value: T,
|
10138 | deep?: boolean,
|
10139 | callback?: (value: any) => any,
|
10140 | thisArg?: any): T;
|
10141 | }
|
10142 |
|
10143 |
|
10144 | interface LoDashStatic {
|
10145 | |
10146 |
|
10147 |
|
10148 |
|
10149 |
|
10150 |
|
10151 |
|
10152 |
|
10153 |
|
10154 |
|
10155 |
|
10156 |
|
10157 |
|
10158 |
|
10159 | cloneDeep<T>(
|
10160 | value: T,
|
10161 | callback?: (value: any) => any,
|
10162 | thisArg?: any): T;
|
10163 | }
|
10164 |
|
10165 |
|
10166 | interface LoDashStatic {
|
10167 | |
10168 |
|
10169 |
|
10170 |
|
10171 |
|
10172 |
|
10173 |
|
10174 |
|
10175 | defaults<T, TResult>(
|
10176 | object: T,
|
10177 | ...sources: any[]): TResult;
|
10178 | }
|
10179 |
|
10180 | interface LoDashObjectWrapper<T> {
|
10181 | |
10182 |
|
10183 |
|
10184 | defaults<T, TResult>(...sources: any[]): LoDashObjectWrapper<TResult>
|
10185 | }
|
10186 |
|
10187 |
|
10188 | interface LoDashStatic {
|
10189 | |
10190 |
|
10191 |
|
10192 |
|
10193 |
|
10194 |
|
10195 |
|
10196 |
|
10197 | findKey(
|
10198 | object: any,
|
10199 | callback: (value: any) => boolean,
|
10200 | thisArg?: any): string;
|
10201 |
|
10202 | |
10203 |
|
10204 |
|
10205 |
|
10206 | findKey(
|
10207 | object: any,
|
10208 | pluckValue: string): string;
|
10209 |
|
10210 | |
10211 |
|
10212 |
|
10213 |
|
10214 | findKey<W extends Dictionary<any>, T>(
|
10215 | object: T,
|
10216 | whereValue: W): string;
|
10217 | }
|
10218 |
|
10219 |
|
10220 | interface LoDashStatic {
|
10221 | |
10222 |
|
10223 |
|
10224 |
|
10225 |
|
10226 |
|
10227 |
|
10228 | findLastKey(
|
10229 | object: any,
|
10230 | callback: (value: any) => boolean,
|
10231 | thisArg?: any): string;
|
10232 |
|
10233 | |
10234 |
|
10235 |
|
10236 |
|
10237 | findLastKey(
|
10238 | object: any,
|
10239 | pluckValue: string): string;
|
10240 |
|
10241 | |
10242 |
|
10243 |
|
10244 |
|
10245 | findLastKey<W extends Dictionary<any>, T>(
|
10246 | object: T,
|
10247 | whereValue: W): string;
|
10248 | }
|
10249 |
|
10250 |
|
10251 | interface LoDashStatic {
|
10252 | |
10253 |
|
10254 |
|
10255 |
|
10256 |
|
10257 |
|
10258 |
|
10259 |
|
10260 |
|
10261 | forOwn<T extends {}>(
|
10262 | object: Dictionary<T>,
|
10263 | callback?: ObjectIterator<T, void>,
|
10264 | thisArg?: any): Dictionary<T>;
|
10265 |
|
10266 | |
10267 |
|
10268 |
|
10269 | forOwn<T extends {}>(
|
10270 | object: T,
|
10271 | callback?: ObjectIterator<any, void>,
|
10272 | thisArg?: any): T;
|
10273 | }
|
10274 |
|
10275 | interface LoDashObjectWrapper<T> {
|
10276 | |
10277 |
|
10278 |
|
10279 | forOwn<T extends {}>(
|
10280 | callback: ObjectIterator<T, void>,
|
10281 | thisArg?: any): _.LoDashObjectWrapper<T>;
|
10282 | }
|
10283 |
|
10284 |
|
10285 | interface LoDashStatic {
|
10286 | |
10287 |
|
10288 |
|
10289 |
|
10290 |
|
10291 |
|
10292 |
|
10293 |
|
10294 | forOwnRight<T extends {}>(
|
10295 | object: Dictionary<T>,
|
10296 | callback?: ObjectIterator<T, void>,
|
10297 | thisArg?: any): Dictionary<T>;
|
10298 | |
10299 |
|
10300 |
|
10301 | forOwnRight<T extends {}>(
|
10302 | object: T,
|
10303 | callback?: ObjectIterator<any, void>,
|
10304 | thisArg?: any): T;
|
10305 | }
|
10306 |
|
10307 | interface LoDashObjectWrapper<T> {
|
10308 | |
10309 |
|
10310 |
|
10311 | forOwnRight<T extends {}>(
|
10312 | callback: ObjectIterator<T, void>,
|
10313 | thisArg?: any): _.LoDashObjectWrapper<T>;
|
10314 | }
|
10315 |
|
10316 |
|
10317 | interface LoDashStatic {
|
10318 | |
10319 |
|
10320 |
|
10321 |
|
10322 |
|
10323 |
|
10324 | functions(object: any): string[];
|
10325 |
|
10326 | |
10327 |
|
10328 |
|
10329 | methods(object: any): string[];
|
10330 | }
|
10331 |
|
10332 | interface LoDashObjectWrapper<T> {
|
10333 | |
10334 |
|
10335 |
|
10336 | functions(): _.LoDashArrayWrapper<string>;
|
10337 |
|
10338 | |
10339 |
|
10340 |
|
10341 | methods(): _.LoDashArrayWrapper<string>;
|
10342 | }
|
10343 |
|
10344 |
|
10345 | interface LoDashStatic {
|
10346 | |
10347 |
|
10348 |
|
10349 |
|
10350 |
|
10351 |
|
10352 |
|
10353 | has(object: any, property: string): boolean;
|
10354 | }
|
10355 |
|
10356 |
|
10357 | interface LoDashStatic {
|
10358 | |
10359 |
|
10360 |
|
10361 |
|
10362 |
|
10363 | invert(object: any): any;
|
10364 | }
|
10365 |
|
10366 |
|
10367 | interface LoDashStatic {
|
10368 | |
10369 |
|
10370 |
|
10371 |
|
10372 |
|
10373 | isArguments(value: any): boolean;
|
10374 | }
|
10375 |
|
10376 |
|
10377 | interface LoDashStatic {
|
10378 | |
10379 |
|
10380 |
|
10381 |
|
10382 |
|
10383 | isArray(value: any): boolean;
|
10384 | }
|
10385 |
|
10386 |
|
10387 | interface LoDashStatic {
|
10388 | |
10389 |
|
10390 |
|
10391 |
|
10392 |
|
10393 | isBoolean(value: any): boolean;
|
10394 | }
|
10395 |
|
10396 |
|
10397 | interface LoDashStatic {
|
10398 | |
10399 |
|
10400 |
|
10401 |
|
10402 |
|
10403 | isDate(value: any): boolean;
|
10404 | }
|
10405 |
|
10406 |
|
10407 | interface LoDashStatic {
|
10408 | |
10409 |
|
10410 |
|
10411 |
|
10412 |
|
10413 | isElement(value: any): boolean;
|
10414 | }
|
10415 |
|
10416 |
|
10417 | interface LoDashStatic {
|
10418 | |
10419 |
|
10420 |
|
10421 |
|
10422 |
|
10423 |
|
10424 | isEmpty(value: any[]): boolean;
|
10425 |
|
10426 | |
10427 |
|
10428 |
|
10429 | isEmpty(value: Dictionary<any>): boolean;
|
10430 |
|
10431 | |
10432 |
|
10433 |
|
10434 | isEmpty(value: string): boolean;
|
10435 |
|
10436 | |
10437 |
|
10438 |
|
10439 | isEmpty(value: any): boolean;
|
10440 | }
|
10441 |
|
10442 |
|
10443 | interface LoDashStatic {
|
10444 | |
10445 |
|
10446 |
|
10447 |
|
10448 |
|
10449 |
|
10450 |
|
10451 |
|
10452 |
|
10453 |
|
10454 |
|
10455 | isEqual(
|
10456 | a: any,
|
10457 | b: any,
|
10458 | callback?: (a: any, b: any) => boolean,
|
10459 | thisArg?: any): boolean;
|
10460 | }
|
10461 |
|
10462 |
|
10463 | interface LoDashStatic {
|
10464 | |
10465 |
|
10466 |
|
10467 |
|
10468 |
|
10469 |
|
10470 |
|
10471 |
|
10472 | isFinite(value: any): boolean;
|
10473 | }
|
10474 |
|
10475 |
|
10476 | interface LoDashStatic {
|
10477 | |
10478 |
|
10479 |
|
10480 |
|
10481 |
|
10482 | isFunction(value: any): boolean;
|
10483 | }
|
10484 |
|
10485 |
|
10486 | interface LoDashStatic {
|
10487 | |
10488 |
|
10489 |
|
10490 |
|
10491 |
|
10492 |
|
10493 |
|
10494 |
|
10495 | isNaN(value: any): boolean;
|
10496 | }
|
10497 |
|
10498 |
|
10499 | interface LoDashStatic {
|
10500 | |
10501 |
|
10502 |
|
10503 |
|
10504 |
|
10505 |
|
10506 |
|
10507 | isNumber(value: any): boolean;
|
10508 | }
|
10509 |
|
10510 |
|
10511 | interface LoDashStatic {
|
10512 | |
10513 |
|
10514 |
|
10515 |
|
10516 |
|
10517 |
|
10518 | isObject(value: any): boolean;
|
10519 | }
|
10520 |
|
10521 |
|
10522 | interface LoDashStatic {
|
10523 | |
10524 |
|
10525 |
|
10526 |
|
10527 |
|
10528 | isPlainObject(value: any): boolean;
|
10529 | }
|
10530 |
|
10531 |
|
10532 | interface LoDashStatic {
|
10533 | |
10534 |
|
10535 |
|
10536 |
|
10537 |
|
10538 | isRegExp(value: any): boolean;
|
10539 | }
|
10540 |
|
10541 |
|
10542 | interface LoDashStatic {
|
10543 | |
10544 |
|
10545 |
|
10546 |
|
10547 |
|
10548 | isString(value: any): boolean;
|
10549 | }
|
10550 |
|
10551 |
|
10552 | interface LoDashStatic {
|
10553 | |
10554 |
|
10555 |
|
10556 |
|
10557 |
|
10558 | keys(object: any): string[];
|
10559 | }
|
10560 |
|
10561 | interface LoDashObjectWrapper<T> {
|
10562 | |
10563 |
|
10564 |
|
10565 | keys(): LoDashArrayWrapper<string>
|
10566 | }
|
10567 |
|
10568 |
|
10569 | interface LoDashStatic {
|
10570 | |
10571 |
|
10572 |
|
10573 |
|
10574 |
|
10575 |
|
10576 |
|
10577 |
|
10578 |
|
10579 |
|
10580 |
|
10581 |
|
10582 |
|
10583 |
|
10584 |
|
10585 |
|
10586 | mapValues<T, TResult>(obj: Dictionary<T>, callback: ObjectIterator<T, TResult>, thisArg?: any): Dictionary<TResult>;
|
10587 | mapValues<T>(obj: Dictionary<T>, where: Dictionary<T>): Dictionary<boolean>;
|
10588 | mapValues<T, TMapped>(obj: T, pluck: string): TMapped;
|
10589 | mapValues<T>(obj: T, callback: ObjectIterator<any, any>, thisArg?: any): T;
|
10590 | }
|
10591 |
|
10592 |
|
10593 | interface LoDashStatic {
|
10594 | |
10595 |
|
10596 |
|
10597 |
|
10598 |
|
10599 |
|
10600 |
|
10601 |
|
10602 |
|
10603 |
|
10604 |
|
10605 |
|
10606 |
|
10607 | merge<P, T, S1, Value, Result>(
|
10608 | object: T,
|
10609 | s1: S1,
|
10610 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10611 | thisArg?: any): Result;
|
10612 |
|
10613 | |
10614 |
|
10615 |
|
10616 | merge<P, T, S1, S2, Value, Result>(
|
10617 | object: T,
|
10618 | s1: S1,
|
10619 | s2: S2,
|
10620 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10621 | thisArg?: any): Result;
|
10622 |
|
10623 | |
10624 |
|
10625 |
|
10626 | merge<P, T, S1, S2, S3, Value, Result>(
|
10627 | object: T,
|
10628 | s1: S1,
|
10629 | s2: S2,
|
10630 | s3: S3,
|
10631 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10632 | thisArg?: any): Result;
|
10633 |
|
10634 | |
10635 |
|
10636 |
|
10637 | merge<P, T, S1, S2, S3, S4, Value, Result>(
|
10638 | object: T,
|
10639 | s1: S1,
|
10640 | s2: S2,
|
10641 | s3: S3,
|
10642 | s4: S4,
|
10643 | callback?: (objectValue: Value, sourceValue: Value) => Value,
|
10644 | thisArg?: any): Result;
|
10645 | }
|
10646 |
|
10647 |
|
10648 | interface LoDashStatic {
|
10649 | |
10650 |
|
10651 |
|
10652 |
|
10653 |
|
10654 |
|
10655 |
|
10656 |
|
10657 |
|
10658 |
|
10659 | omit<Omitted, T>(
|
10660 | object: T,
|
10661 | ...keys: string[]): Omitted;
|
10662 |
|
10663 | |
10664 |
|
10665 |
|
10666 | omit<Omitted, T>(
|
10667 | object: T,
|
10668 | keys: string[]): Omitted;
|
10669 |
|
10670 | |
10671 |
|
10672 |
|
10673 | omit<Omitted, T>(
|
10674 | object: T,
|
10675 | callback: ObjectIterator<any, boolean>,
|
10676 | thisArg?: any): Omitted;
|
10677 | }
|
10678 |
|
10679 | interface LoDashObjectWrapper<T> {
|
10680 | |
10681 |
|
10682 |
|
10683 | omit<Omitted>(
|
10684 | ...keys: string[]): LoDashObjectWrapper<Omitted>;
|
10685 |
|
10686 | |
10687 |
|
10688 |
|
10689 | omit<Omitted>(
|
10690 | keys: string[]): LoDashObjectWrapper<Omitted>;
|
10691 |
|
10692 | |
10693 |
|
10694 |
|
10695 | omit<Omitted>(
|
10696 | callback: ObjectIterator<any, boolean>,
|
10697 | thisArg?: any): LoDashObjectWrapper<Omitted>;
|
10698 | }
|
10699 |
|
10700 |
|
10701 | interface LoDashStatic {
|
10702 | |
10703 |
|
10704 |
|
10705 |
|
10706 |
|
10707 |
|
10708 | pairs(object: any): any[][];
|
10709 | }
|
10710 |
|
10711 | interface LoDashObjectWrapper<T> {
|
10712 | |
10713 |
|
10714 |
|
10715 | pairs(): LoDashArrayWrapper<any[]>;
|
10716 | }
|
10717 |
|
10718 |
|
10719 | interface LoDashStatic {
|
10720 | |
10721 |
|
10722 |
|
10723 |
|
10724 |
|
10725 |
|
10726 |
|
10727 |
|
10728 |
|
10729 |
|
10730 | pick<Picked, T>(
|
10731 | object: T,
|
10732 | ...keys: string[]): Picked;
|
10733 |
|
10734 | |
10735 |
|
10736 |
|
10737 | pick<Picked, T>(
|
10738 | object: T,
|
10739 | keys: string[]): Picked;
|
10740 |
|
10741 | |
10742 |
|
10743 |
|
10744 | pick<Picked, T>(
|
10745 | object: T,
|
10746 | callback: ObjectIterator<any, boolean>,
|
10747 | thisArg?: any): Picked;
|
10748 | }
|
10749 |
|
10750 |
|
10751 | interface LoDashStatic {
|
10752 | |
10753 |
|
10754 |
|
10755 |
|
10756 |
|
10757 |
|
10758 |
|
10759 |
|
10760 |
|
10761 |
|
10762 |
|
10763 |
|
10764 | transform<T, Acc>(
|
10765 | collection: Array<T>,
|
10766 | callback: MemoVoidIterator<T, Acc>,
|
10767 | accumulator: Acc,
|
10768 | thisArg?: any): Acc;
|
10769 |
|
10770 | |
10771 |
|
10772 |
|
10773 | transform<T, Acc>(
|
10774 | collection: List<T>,
|
10775 | callback: MemoVoidIterator<T, Acc>,
|
10776 | accumulator: Acc,
|
10777 | thisArg?: any): Acc;
|
10778 |
|
10779 | |
10780 |
|
10781 |
|
10782 | transform<T, Acc>(
|
10783 | collection: Dictionary<T>,
|
10784 | callback: MemoVoidIterator<T, Acc>,
|
10785 | accumulator: Acc,
|
10786 | thisArg?: any): Acc;
|
10787 |
|
10788 | |
10789 |
|
10790 |
|
10791 | transform<T, Acc>(
|
10792 | collection: Array<T>,
|
10793 | callback?: MemoVoidIterator<T, Acc>,
|
10794 | thisArg?: any): Acc;
|
10795 |
|
10796 | |
10797 |
|
10798 |
|
10799 | transform<T, Acc>(
|
10800 | collection: List<T>,
|
10801 | callback?: MemoVoidIterator<T, Acc>,
|
10802 | thisArg?: any): Acc;
|
10803 |
|
10804 | |
10805 |
|
10806 |
|
10807 | transform<T, Acc>(
|
10808 | collection: Dictionary<T>,
|
10809 | callback?: MemoVoidIterator<T, Acc>,
|
10810 | thisArg?: any): Acc;
|
10811 | }
|
10812 |
|
10813 |
|
10814 | interface LoDashStatic {
|
10815 | |
10816 |
|
10817 |
|
10818 |
|
10819 |
|
10820 | values(object: any): any[];
|
10821 | }
|
10822 |
|
10823 | |
10824 |
|
10825 |
|
10826 |
|
10827 | interface LoDashStatic {
|
10828 | camelCase(str?: string): string;
|
10829 | capitalize(str?: string): string;
|
10830 | deburr(str?: string): string;
|
10831 | endsWith(str?: string, target?: string, position?: number): boolean;
|
10832 | escape(str?: string): string;
|
10833 | escapeRegExp(str?: string): string;
|
10834 | kebabCase(str?: string): string;
|
10835 | pad(str?: string, length?: number, chars?: string): string;
|
10836 | padLeft(str?: string, length?: number, chars?: string): string;
|
10837 | padRight(str?: string, length?: number, chars?: string): string;
|
10838 | repeat(str?: string, n?: number): string;
|
10839 | snakeCase(str?: string): string;
|
10840 | startCase(str?: string): string;
|
10841 | startsWith(str?: string, target?: string, position?: number): boolean;
|
10842 | trim(str?: string, chars?: string): string;
|
10843 | trimLeft(str?: string, chars?: string): string;
|
10844 | trimRight(str?: string, chars?: string): string;
|
10845 | trunc(str?: string, len?: number): string;
|
10846 | trunc(str?: string, options?: { length?: number; omission?: string; separator?: string }): string;
|
10847 | trunc(str?: string, options?: { length?: number; omission?: string; separator?: RegExp }): string;
|
10848 | words(str?: string, pattern?: string): string[];
|
10849 | words(str?: string, pattern?: RegExp): string[];
|
10850 | }
|
10851 |
|
10852 |
|
10853 | interface LoDashStatic {
|
10854 | |
10855 |
|
10856 |
|
10857 |
|
10858 |
|
10859 |
|
10860 |
|
10861 |
|
10862 |
|
10863 |
|
10864 | parseInt(value: string, radix?: number): number;
|
10865 | }
|
10866 |
|
10867 | |
10868 |
|
10869 |
|
10870 |
|
10871 | interface LoDashStatic {
|
10872 | |
10873 |
|
10874 |
|
10875 |
|
10876 |
|
10877 | escape(str: string): string;
|
10878 | }
|
10879 |
|
10880 |
|
10881 | interface LoDashStatic {
|
10882 | |
10883 |
|
10884 |
|
10885 |
|
10886 |
|
10887 | identity<T>(value: T): T;
|
10888 | }
|
10889 |
|
10890 |
|
10891 | interface LoDashStatic {
|
10892 | |
10893 |
|
10894 |
|
10895 |
|
10896 | mixin(object: Dictionary<(value: any) => any>): void;
|
10897 | }
|
10898 |
|
10899 |
|
10900 | interface LoDashStatic {
|
10901 | |
10902 |
|
10903 |
|
10904 |
|
10905 | noConflict(): typeof _;
|
10906 | }
|
10907 |
|
10908 |
|
10909 | interface LoDashStatic {
|
10910 | |
10911 |
|
10912 |
|
10913 |
|
10914 |
|
10915 |
|
10916 | property<T,RT>(key: string): (obj: T) => RT;
|
10917 | }
|
10918 |
|
10919 |
|
10920 | interface LoDashStatic {
|
10921 | |
10922 |
|
10923 |
|
10924 |
|
10925 |
|
10926 |
|
10927 |
|
10928 |
|
10929 | random(max: number, floating?: boolean): number;
|
10930 |
|
10931 | |
10932 |
|
10933 |
|
10934 |
|
10935 |
|
10936 | random(min: number, max: number, floating?: boolean): number;
|
10937 | }
|
10938 |
|
10939 |
|
10940 | interface LoDashStatic {
|
10941 | |
10942 |
|
10943 |
|
10944 |
|
10945 |
|
10946 |
|
10947 |
|
10948 |
|
10949 | result(object: any, property: string): any;
|
10950 | }
|
10951 |
|
10952 |
|
10953 | interface LoDashStatic {
|
10954 | |
10955 |
|
10956 |
|
10957 |
|
10958 |
|
10959 | runInContext(context: any): typeof _;
|
10960 | }
|
10961 |
|
10962 |
|
10963 | interface LoDashStatic {
|
10964 | |
10965 |
|
10966 |
|
10967 |
|
10968 |
|
10969 |
|
10970 |
|
10971 |
|
10972 |
|
10973 |
|
10974 |
|
10975 |
|
10976 |
|
10977 |
|
10978 |
|
10979 |
|
10980 |
|
10981 |
|
10982 |
|
10983 |
|
10984 |
|
10985 |
|
10986 |
|
10987 | template(
|
10988 | text: string): TemplateExecutor;
|
10989 |
|
10990 | |
10991 |
|
10992 |
|
10993 | template(
|
10994 | text: string,
|
10995 | data: any,
|
10996 | options?: TemplateSettings,
|
10997 | sourceURL?: string,
|
10998 | variable?: string): any ;
|
10999 | }
|
11000 |
|
11001 | interface TemplateExecutor {
|
11002 | (...data: any[]): string;
|
11003 | source: string;
|
11004 | }
|
11005 |
|
11006 |
|
11007 | interface LoDashStatic {
|
11008 | |
11009 |
|
11010 |
|
11011 |
|
11012 |
|
11013 |
|
11014 |
|
11015 | times<TResult>(
|
11016 | n: number,
|
11017 | callback: (num: number) => TResult,
|
11018 | context?: any): TResult[];
|
11019 | }
|
11020 |
|
11021 |
|
11022 | interface LoDashStatic {
|
11023 | |
11024 |
|
11025 |
|
11026 |
|
11027 |
|
11028 |
|
11029 | unescape(
|
11030 | string: string): string;
|
11031 | }
|
11032 |
|
11033 |
|
11034 | interface LoDashStatic {
|
11035 | |
11036 |
|
11037 |
|
11038 |
|
11039 |
|
11040 | uniqueId(prefix?: string): string;
|
11041 | }
|
11042 |
|
11043 |
|
11044 | interface LoDashStatic {
|
11045 | |
11046 |
|
11047 |
|
11048 | noop(): void;
|
11049 | }
|
11050 |
|
11051 |
|
11052 | interface LoDashStatic {
|
11053 | |
11054 |
|
11055 |
|
11056 | constant<T>(value: T): () => T;
|
11057 | }
|
11058 |
|
11059 |
|
11060 | interface LoDashStatic {
|
11061 | |
11062 |
|
11063 |
|
11064 |
|
11065 |
|
11066 | create<T>(prototype: Object, properties?: Object): Object;
|
11067 | }
|
11068 |
|
11069 | interface ListIterator<T, TResult> {
|
11070 | (value: T, index: number, list: T[]): TResult;
|
11071 | }
|
11072 |
|
11073 | interface ObjectIterator<T, TResult> {
|
11074 | (element: T, key: string, list: any): TResult;
|
11075 | }
|
11076 |
|
11077 | interface MemoVoidIterator<T, TResult> {
|
11078 | (prev: TResult, curr: T, indexOrKey: any, list?: T[]): void;
|
11079 | }
|
11080 | interface MemoIterator<T, TResult> {
|
11081 | (prev: TResult, curr: T, indexOrKey: any, list?: T[]): TResult;
|
11082 | }
|
11083 | |
11084 |
|
11085 |
|
11086 |
|
11087 |
|
11088 |
|
11089 |
|
11090 |
|
11091 |
|
11092 |
|
11093 |
|
11094 |
|
11095 | interface List<T> {
|
11096 | [index: number]: T;
|
11097 | length: number;
|
11098 | }
|
11099 |
|
11100 | interface Dictionary<T> {
|
11101 | [index: string]: T;
|
11102 | }
|
11103 | }
|
11104 |
|
11105 | declare module "lodash" {
|
11106 | export = _;
|
11107 | }
|
11108 |
|
11109 |
|
11110 |
|
11111 |
|
11112 |
|
11113 |
|
11114 | declare module D3 {
|
11115 | export interface Selectors {
|
11116 | |
11117 |
|
11118 |
|
11119 | select: {
|
11120 | |
11121 |
|
11122 |
|
11123 |
|
11124 |
|
11125 | (selector: string): Selection;
|
11126 | |
11127 |
|
11128 |
|
11129 |
|
11130 |
|
11131 | (element: EventTarget): Selection;
|
11132 | };
|
11133 |
|
11134 | |
11135 |
|
11136 |
|
11137 | selectAll: {
|
11138 | |
11139 |
|
11140 |
|
11141 |
|
11142 |
|
11143 | (selector: string): Selection;
|
11144 | |
11145 |
|
11146 |
|
11147 |
|
11148 |
|
11149 | (elements: EventTarget[]): Selection;
|
11150 | };
|
11151 | }
|
11152 |
|
11153 | export interface D3Event extends Event{
|
11154 | dx: number;
|
11155 | dy: number;
|
11156 | clientX: number;
|
11157 | clientY: number;
|
11158 | translate: number[];
|
11159 | scale: number;
|
11160 | sourceEvent: D3Event;
|
11161 | x: number;
|
11162 | y: number;
|
11163 | keyCode: number;
|
11164 | altKey: any;
|
11165 | ctrlKey: any;
|
11166 | shiftKey: any;
|
11167 | type: string;
|
11168 | }
|
11169 |
|
11170 | export interface Base extends Selectors {
|
11171 | |
11172 |
|
11173 |
|
11174 | behavior: Behavior.Behavior;
|
11175 | |
11176 |
|
11177 |
|
11178 | event: D3Event;
|
11179 |
|
11180 | |
11181 |
|
11182 |
|
11183 |
|
11184 |
|
11185 |
|
11186 |
|
11187 | ascending<T>(a: T, b: T): number;
|
11188 | |
11189 |
|
11190 |
|
11191 |
|
11192 |
|
11193 |
|
11194 |
|
11195 | descending<T>(a: T, b: T): number;
|
11196 | |
11197 |
|
11198 |
|
11199 |
|
11200 |
|
11201 |
|
11202 | min<T, U>(arr: T[], map: (v?: T, i?: number) => U): U;
|
11203 | /**
|
11204 | * Find the minimum value in an array
|
11205 | *
|
11206 | * @param arr Array to search
|
11207 | */
|
11208 | min<T>(arr: T[]): T;
|
11209 | /**
|
11210 | * Find the maximum value in an array
|
11211 | *
|
11212 | * @param arr Array to search
|
11213 | * @param map Accsessor function
|
11214 | */
|
11215 | max<T, U>(arr: T[], map: (v?: T, i?: number) => U): U;
|
11216 | /**
|
11217 | * Find the maximum value in an array
|
11218 | *
|
11219 | * @param arr Array to search
|
11220 | */
|
11221 | max<T>(arr: T[]): T;
|
11222 | /**
|
11223 | * Find the minimum and maximum value in an array
|
11224 | *
|
11225 | * @param arr Array to search
|
11226 | * @param map Accsessor function
|
11227 | */
|
11228 | extent<T, U>(arr: T[], map: (v: T) => U): U[];
|
11229 | /**
|
11230 | * Find the minimum and maximum value in an array
|
11231 | *
|
11232 | * @param arr Array to search
|
11233 | */
|
11234 | extent<T>(arr: T[]): T[];
|
11235 | /**
|
11236 | * Compute the sum of an array of numbers
|
11237 | *
|
11238 | * @param arr Array to search
|
11239 | * @param map Accsessor function
|
11240 | */
|
11241 | sum<T>(arr: T[], map: (v: T) => number): number;
|
11242 | /**
|
11243 | * Compute the sum of an array of numbers
|
11244 | *
|
11245 | * @param arr Array to search
|
11246 | */
|
11247 | sum(arr: number[]): number;
|
11248 | /**
|
11249 | * Compute the arithmetic mean of an array of numbers
|
11250 | *
|
11251 | * @param arr Array to search
|
11252 | * @param map Accsessor function
|
11253 | */
|
11254 | mean<T>(arr: T[], map: (v: T) => number): number;
|
11255 | /**
|
11256 | * Compute the arithmetic mean of an array of numbers
|
11257 | *
|
11258 | * @param arr Array to search
|
11259 | */
|
11260 | mean(arr: number[]): number;
|
11261 | /**
|
11262 | * Compute the median of an array of numbers (the 0.5-quantile).
|
11263 | *
|
11264 | * @param arr Array to search
|
11265 | * @param map Accsessor function
|
11266 | */
|
11267 | median<T>(arr: T[], map: (v: T) => number): number;
|
11268 | /**
|
11269 | * Compute the median of an array of numbers (the 0.5-quantile).
|
11270 | *
|
11271 | * @param arr Array to search
|
11272 | */
|
11273 | median(arr: number[]): number;
|
11274 | /**
|
11275 | * Compute a quantile for a sorted array of numbers.
|
11276 | *
|
11277 | * @param arr Array to search
|
11278 | * @param p The quantile to return
|
11279 | */
|
11280 | quantile: (arr: number[], p: number) => number;
|
11281 | |
11282 |
|
11283 |
|
11284 |
|
11285 |
|
11286 |
|
11287 |
|
11288 |
|
11289 | bisect<T>(arr: T[], x: T, low?: number, high?: number): number;
|
11290 | |
11291 |
|
11292 |
|
11293 |
|
11294 |
|
11295 |
|
11296 |
|
11297 |
|
11298 | bisectLeft<T>(arr: T[], x: T, low?: number, high?: number): number;
|
11299 | |
11300 |
|
11301 |
|
11302 |
|
11303 |
|
11304 |
|
11305 |
|
11306 |
|
11307 | bisectRight<T>(arr: T[], x: T, low?: number, high?: number): number;
|
11308 | |
11309 |
|
11310 |
|
11311 |
|
11312 |
|
11313 | bisector(accessor: (data: any, index: number) => any): any;
|
11314 | |
11315 |
|
11316 |
|
11317 |
|
11318 |
|
11319 | shuffle<T>(arr: T[]): T[];
|
11320 | |
11321 |
|
11322 |
|
11323 |
|
11324 |
|
11325 |
|
11326 | permute(arr: any[], indexes: any[]): any[];
|
11327 | |
11328 |
|
11329 |
|
11330 |
|
11331 |
|
11332 | zip(...arrs: any[]): any[];
|
11333 | |
11334 |
|
11335 |
|
11336 |
|
11337 |
|
11338 | transform(definition: string): any;
|
11339 | |
11340 |
|
11341 |
|
11342 |
|
11343 |
|
11344 | transpose(matrix: any[]): any[];
|
11345 | |
11346 |
|
11347 |
|
11348 |
|
11349 |
|
11350 |
|
11351 | pairs(arr: any[]): any[][];
|
11352 | |
11353 |
|
11354 |
|
11355 |
|
11356 |
|
11357 | keys(map: any): string[];
|
11358 | |
11359 |
|
11360 |
|
11361 |
|
11362 |
|
11363 | values(map: any): any[];
|
11364 | |
11365 |
|
11366 |
|
11367 |
|
11368 |
|
11369 | entries(map: any): any[];
|
11370 | |
11371 |
|
11372 |
|
11373 |
|
11374 |
|
11375 | merge(...map: any[]): any[];
|
11376 | |
11377 |
|
11378 |
|
11379 | range: {
|
11380 | |
11381 |
|
11382 |
|
11383 |
|
11384 |
|
11385 |
|
11386 | (stop: number, step?: number): number[];
|
11387 | |
11388 |
|
11389 |
|
11390 |
|
11391 |
|
11392 |
|
11393 |
|
11394 | (start: number, stop?: number, step?: number): number[];
|
11395 | };
|
11396 | |
11397 |
|
11398 |
|
11399 | nest(): Nest;
|
11400 | |
11401 |
|
11402 |
|
11403 | xhr: {
|
11404 | |
11405 |
|
11406 |
|
11407 |
|
11408 |
|
11409 |
|
11410 | (url: string, callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11411 | |
11412 |
|
11413 |
|
11414 |
|
11415 |
|
11416 |
|
11417 |
|
11418 | (url: string, mime: string, callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11419 | };
|
11420 | |
11421 |
|
11422 |
|
11423 | text: {
|
11424 | |
11425 |
|
11426 |
|
11427 |
|
11428 |
|
11429 |
|
11430 | (url: string, callback?: (response: string) => void ): Xhr;
|
11431 | |
11432 |
|
11433 |
|
11434 |
|
11435 |
|
11436 |
|
11437 |
|
11438 | (url: string, mime: string, callback?: (response: string) => void ): Xhr;
|
11439 | };
|
11440 | |
11441 |
|
11442 |
|
11443 |
|
11444 |
|
11445 |
|
11446 | json: (url: string, callback?: (error: any, data: any) => void ) => Xhr;
|
11447 | |
11448 |
|
11449 |
|
11450 | xml: {
|
11451 | |
11452 |
|
11453 |
|
11454 |
|
11455 |
|
11456 |
|
11457 | (url: string, callback?: (response: Document) => void ): Xhr;
|
11458 | |
11459 |
|
11460 |
|
11461 |
|
11462 |
|
11463 |
|
11464 |
|
11465 | (url: string, mime: string, callback?: (response: Document) => void ): Xhr;
|
11466 | };
|
11467 | |
11468 |
|
11469 |
|
11470 |
|
11471 |
|
11472 |
|
11473 | html: (url: string, callback?: (response: DocumentFragment) => void ) => Xhr;
|
11474 | |
11475 |
|
11476 |
|
11477 | csv: Dsv;
|
11478 | |
11479 |
|
11480 |
|
11481 | tsv: Dsv;
|
11482 | |
11483 |
|
11484 |
|
11485 | time: Time.Time;
|
11486 | |
11487 |
|
11488 |
|
11489 | scale: Scale.ScaleBase;
|
11490 | |
11491 |
|
11492 |
|
11493 | interpolate: Transition.BaseInterpolate;
|
11494 | |
11495 |
|
11496 |
|
11497 | interpolateNumber: Transition.BaseInterpolate;
|
11498 | |
11499 |
|
11500 |
|
11501 | interpolateRound: Transition.BaseInterpolate;
|
11502 | |
11503 |
|
11504 |
|
11505 | interpolateString: Transition.BaseInterpolate;
|
11506 | |
11507 |
|
11508 |
|
11509 | interpolateRgb: Transition.BaseInterpolate;
|
11510 | |
11511 |
|
11512 |
|
11513 | interpolateHsl: Transition.BaseInterpolate;
|
11514 | |
11515 |
|
11516 |
|
11517 | interpolateHcl: Transition.BaseInterpolate;
|
11518 | |
11519 |
|
11520 |
|
11521 | interpolateLab: Transition.BaseInterpolate;
|
11522 | |
11523 |
|
11524 |
|
11525 | interpolateArray: Transition.BaseInterpolate;
|
11526 | |
11527 |
|
11528 |
|
11529 | interpolateObject: Transition.BaseInterpolate;
|
11530 | |
11531 |
|
11532 |
|
11533 | interpolateTransform: Transition.BaseInterpolate;
|
11534 | |
11535 |
|
11536 |
|
11537 | interpolators: Transition.InterpolateFactory[];
|
11538 | |
11539 |
|
11540 |
|
11541 | layout: Layout.Layout;
|
11542 | |
11543 |
|
11544 |
|
11545 | svg: Svg.Svg;
|
11546 | |
11547 |
|
11548 |
|
11549 | random: Random;
|
11550 | |
11551 |
|
11552 |
|
11553 |
|
11554 |
|
11555 | format(specifier: string): (value: number) => string;
|
11556 | |
11557 |
|
11558 |
|
11559 | formatPrefix(value: number, precision?: number): MetricPrefix;
|
11560 | |
11561 |
|
11562 |
|
11563 | version: string;
|
11564 | |
11565 |
|
11566 |
|
11567 | selection(): Selection;
|
11568 | ns: {
|
11569 | |
11570 |
|
11571 |
|
11572 | prefix: {
|
11573 | svg: string;
|
11574 | xhtml: string;
|
11575 | xlink: string;
|
11576 | xml: string;
|
11577 | xmlns: string;
|
11578 | };
|
11579 | |
11580 |
|
11581 |
|
11582 | qualify(name: string): { space: string; local: string; };
|
11583 | };
|
11584 | |
11585 |
|
11586 |
|
11587 | ease: (type: string, ...arrs: any[]) => D3.Transition.Transition;
|
11588 | |
11589 |
|
11590 |
|
11591 | rgb: {
|
11592 | |
11593 |
|
11594 |
|
11595 | (r: number, g: number, b: number): D3.Color.RGBColor;
|
11596 | |
11597 |
|
11598 |
|
11599 | (color: string): D3.Color.RGBColor;
|
11600 | };
|
11601 | |
11602 |
|
11603 |
|
11604 | hcl: {
|
11605 | |
11606 |
|
11607 |
|
11608 | (h: number, c: number, l: number): Color.HCLColor;
|
11609 | |
11610 |
|
11611 |
|
11612 | (color: string): Color.HCLColor;
|
11613 | };
|
11614 | |
11615 |
|
11616 |
|
11617 | hsl: {
|
11618 | |
11619 |
|
11620 |
|
11621 | (h: number, s: number, l: number): Color.HSLColor;
|
11622 | |
11623 |
|
11624 |
|
11625 | (color: string): Color.HSLColor;
|
11626 | };
|
11627 | |
11628 |
|
11629 |
|
11630 | lab: {
|
11631 | |
11632 |
|
11633 |
|
11634 | (l: number, a: number, b: number): Color.LABColor;
|
11635 | |
11636 |
|
11637 |
|
11638 | (color: string): Color.LABColor;
|
11639 | };
|
11640 | geo: Geo.Geo;
|
11641 | geom: Geom.Geom;
|
11642 | |
11643 |
|
11644 |
|
11645 | mouse(container: any): number[];
|
11646 | |
11647 |
|
11648 |
|
11649 | touches(container: any): number[][];
|
11650 |
|
11651 | |
11652 |
|
11653 |
|
11654 |
|
11655 | functor<R,T>(value: (p : R) => T): (p : R) => T;
|
11656 | functor<T>(value: T): (p : any) => T;
|
11657 |
|
11658 | map(): Map<any>;
|
11659 | set(): Set<any>;
|
11660 | map<T>(object: {[key: string]: T; }): Map<T>;
|
11661 | set<T>(array: T[]): Set<T>;
|
11662 | dispatch(...types: string[]): Dispatch;
|
11663 | rebind(target: any, source: any, ...names: any[]): any;
|
11664 | requote(str: string): string;
|
11665 | timer: {
|
11666 | (funct: () => boolean, delay?: number, mark?: number): void;
|
11667 | flush(): void;
|
11668 | }
|
11669 | transition(): Transition.Transition;
|
11670 |
|
11671 | round(x: number, n: number): number;
|
11672 | }
|
11673 |
|
11674 | export interface Dispatch {
|
11675 | [event: string]: any;
|
11676 | on: {
|
11677 | (type: string): any;
|
11678 | (type: string, listener: any): any;
|
11679 | }
|
11680 | }
|
11681 |
|
11682 | export interface MetricPrefix {
|
11683 | |
11684 |
|
11685 |
|
11686 | scale: (d: number) => number;
|
11687 | |
11688 |
|
11689 |
|
11690 | symbol: string;
|
11691 | }
|
11692 |
|
11693 | export interface Xhr {
|
11694 | |
11695 |
|
11696 |
|
11697 | header: {
|
11698 | |
11699 |
|
11700 |
|
11701 |
|
11702 |
|
11703 | (name: string): string;
|
11704 | |
11705 |
|
11706 |
|
11707 |
|
11708 |
|
11709 |
|
11710 | (name: string, value: string): Xhr;
|
11711 | };
|
11712 | |
11713 |
|
11714 |
|
11715 | mimeType: {
|
11716 | |
11717 |
|
11718 |
|
11719 | (): string;
|
11720 | |
11721 |
|
11722 |
|
11723 |
|
11724 |
|
11725 | (type: string): Xhr;
|
11726 | };
|
11727 | |
11728 |
|
11729 |
|
11730 | response: {
|
11731 | |
11732 |
|
11733 |
|
11734 | (): (xhr: XMLHttpRequest) => any;
|
11735 | |
11736 |
|
11737 |
|
11738 |
|
11739 |
|
11740 | (value: (xhr: XMLHttpRequest) => any): Xhr;
|
11741 | };
|
11742 | |
11743 |
|
11744 |
|
11745 |
|
11746 |
|
11747 | get(callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11748 | |
11749 |
|
11750 |
|
11751 | post: {
|
11752 | |
11753 |
|
11754 |
|
11755 |
|
11756 |
|
11757 | (callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11758 | |
11759 |
|
11760 |
|
11761 |
|
11762 |
|
11763 |
|
11764 | (data: any, callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11765 | };
|
11766 | |
11767 |
|
11768 |
|
11769 | send: {
|
11770 | |
11771 |
|
11772 |
|
11773 |
|
11774 |
|
11775 |
|
11776 | (method: string, callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11777 | |
11778 |
|
11779 |
|
11780 |
|
11781 |
|
11782 |
|
11783 |
|
11784 | (method: string, data: any, callback?: (xhr: XMLHttpRequest) => void ): Xhr;
|
11785 | };
|
11786 | |
11787 |
|
11788 |
|
11789 | abort(): Xhr;
|
11790 | |
11791 |
|
11792 |
|
11793 |
|
11794 |
|
11795 |
|
11796 | on: (type: string, listener: (data: any, index?: number) => any) => Xhr;
|
11797 | }
|
11798 |
|
11799 | export interface Dsv {
|
11800 | |
11801 |
|
11802 |
|
11803 |
|
11804 |
|
11805 |
|
11806 | (url: string, callback?: (error: any, response: any[]) => void ): Xhr;
|
11807 | |
11808 |
|
11809 |
|
11810 |
|
11811 |
|
11812 | parse(string: string): any[];
|
11813 | |
11814 |
|
11815 |
|
11816 |
|
11817 |
|
11818 | parseRows(string: string, accessor: (row: any[], index: number) => any): any;
|
11819 | |
11820 |
|
11821 |
|
11822 |
|
11823 |
|
11824 | format(rows: any[]): string;
|
11825 | }
|
11826 |
|
11827 | export interface Selection extends Selectors, Array<any> {
|
11828 | attr: {
|
11829 | (name: string): string;
|
11830 | (name: string, value: any): Selection;
|
11831 | (name: string, valueFunction: (data: any, index: number) => any): Selection;
|
11832 | (attrValueMap : Object): Selection;
|
11833 | };
|
11834 |
|
11835 | classed: {
|
11836 | (name: string): string;
|
11837 | (name: string, value: any): Selection;
|
11838 | (name: string, valueFunction: (data: any, index: number) => any): Selection;
|
11839 | (classValueMap: Object): Selection;
|
11840 | };
|
11841 |
|
11842 | style: {
|
11843 | (name: string): string;
|
11844 | (name: string, value: any, priority?: string): Selection;
|
11845 | (name: string, valueFunction: (data: any, index: number) => any, priority?: string): Selection;
|
11846 | (styleValueMap : Object): Selection;
|
11847 | };
|
11848 |
|
11849 | property: {
|
11850 | (name: string): void;
|
11851 | (name: string, value: any): Selection;
|
11852 | (name: string, valueFunction: (data: any, index: number) => any): Selection;
|
11853 | (propertyValueMap : Object): Selection;
|
11854 | };
|
11855 |
|
11856 | text: {
|
11857 | (): string;
|
11858 | (value: any): Selection;
|
11859 | (valueFunction: (data: any, index: number) => any): Selection;
|
11860 | };
|
11861 |
|
11862 | html: {
|
11863 | (): string;
|
11864 | (value: any): Selection;
|
11865 | (valueFunction: (data: any, index: number) => any): Selection;
|
11866 | };
|
11867 |
|
11868 | append: (name: string) => Selection;
|
11869 | insert: (name: string, before: string) => Selection;
|
11870 | remove: () => Selection;
|
11871 | empty: () => boolean;
|
11872 |
|
11873 | data: {
|
11874 | (values: (data: any, index?: number) => any[], key?: (data: any, index?: number) => any): UpdateSelection;
|
11875 | (values: any[], key?: (data: any, index?: number) => any): UpdateSelection;
|
11876 | (): any[];
|
11877 | };
|
11878 |
|
11879 | datum: {
|
11880 | (values: (data: any, index: number) => any): UpdateSelection;
|
11881 | (values: any): UpdateSelection;
|
11882 | () : any;
|
11883 | };
|
11884 |
|
11885 | filter: {
|
11886 | (filter: (data: any, index: number) => boolean, thisArg?: any): UpdateSelection;
|
11887 | (filter: string): UpdateSelection;
|
11888 | };
|
11889 |
|
11890 | call(callback: (selection: Selection, ...args: any[]) => void, ...args: any[]): Selection;
|
11891 | each(eachFunction: (data: any, index: number) => any): Selection;
|
11892 | on: {
|
11893 | (type: string): (data: any, index: number) => any;
|
11894 | (type: string, listener: (data: any, index: number) => any, capture?: boolean): Selection;
|
11895 | };
|
11896 |
|
11897 | |
11898 |
|
11899 |
|
11900 | size(): number;
|
11901 |
|
11902 | |
11903 |
|
11904 |
|
11905 |
|
11906 | transition(): Transition.Transition;
|
11907 |
|
11908 | |
11909 |
|
11910 |
|
11911 |
|
11912 | interrupt(name?: string): Selection;
|
11913 |
|
11914 | |
11915 |
|
11916 |
|
11917 |
|
11918 |
|
11919 |
|
11920 |
|
11921 |
|
11922 | sort<T>(comparator?: (a: T, b: T) => number): Selection;
|
11923 |
|
11924 | /**
|
11925 | * Re-inserts elements into the document such that the document order matches the selection
|
11926 | * order. This is equivalent to calling sort() if the data is already sorted, but much
|
11927 | * faster.
|
11928 | */
|
11929 | order: () => Selection;
|
11930 |
|
11931 | |
11932 |
|
11933 |
|
11934 |
|
11935 | node: <T extends Element>() => T;
|
11936 | }
|
11937 |
|
11938 | export interface EnterSelection {
|
11939 | append: (name: string) => Selection;
|
11940 | insert: (name: string, before?: string) => Selection;
|
11941 | select: (selector: string) => Selection;
|
11942 | empty: () => boolean;
|
11943 | node: () => Element;
|
11944 | call: (callback: (selection: EnterSelection) => void) => EnterSelection;
|
11945 | size: () => number;
|
11946 | }
|
11947 |
|
11948 | export interface UpdateSelection extends Selection {
|
11949 | enter: () => EnterSelection;
|
11950 | update: () => Selection;
|
11951 | exit: () => Selection;
|
11952 | }
|
11953 |
|
11954 | export interface NestKeyValue {
|
11955 | key: string;
|
11956 | values: any;
|
11957 | }
|
11958 |
|
11959 | export interface Nest {
|
11960 | key(keyFunction: (data: any, index: number) => string): Nest;
|
11961 | sortKeys(comparator: (d1: any, d2: any) => number): Nest;
|
11962 | sortValues(comparator: (d1: any, d2: any) => number): Nest;
|
11963 | rollup(rollupFunction: (data: any, index: number) => any): Nest;
|
11964 | map(values: any[]): any;
|
11965 | entries(values: any[]): NestKeyValue[];
|
11966 | }
|
11967 |
|
11968 | export interface MapKeyValue<T> {
|
11969 | key: string;
|
11970 | value: T;
|
11971 | }
|
11972 |
|
11973 | export interface Map<T> {
|
11974 | has(key: string): boolean;
|
11975 | get(key: string): T;
|
11976 | set(key: string, value: T): T;
|
11977 | remove(key: string): boolean;
|
11978 | keys(): string[];
|
11979 | values(): T[];
|
11980 | entries(): MapKeyValue<T>[];
|
11981 | forEach(func: (key: string, value: T) => void ): void;
|
11982 | empty(): boolean;
|
11983 | size(): number;
|
11984 | }
|
11985 |
|
11986 | export interface Set<T> {
|
11987 | has(value: T): boolean;
|
11988 | add(value: T): T;
|
11989 | remove(value: T): boolean;
|
11990 | values(): string[];
|
11991 | forEach(func: (value: string) => void ): void;
|
11992 | empty(): boolean;
|
11993 | size(): number;
|
11994 | }
|
11995 |
|
11996 | export interface Random {
|
11997 | |
11998 |
|
11999 |
|
12000 |
|
12001 |
|
12002 |
|
12003 | normal(mean?: number, deviation?: number): () => number;
|
12004 | |
12005 |
|
12006 |
|
12007 |
|
12008 |
|
12009 |
|
12010 | logNormal(mean?: number, deviation?: number): () => number;
|
12011 | |
12012 |
|
12013 |
|
12014 |
|
12015 |
|
12016 | irwinHall(count: number): () => number;
|
12017 | }
|
12018 |
|
12019 |
|
12020 | export module Transition {
|
12021 | export interface Transition {
|
12022 | duration: {
|
12023 | (duration: number): Transition;
|
12024 | (duration: (data: any, index: number) => any): Transition;
|
12025 | };
|
12026 | delay: {
|
12027 | (delay: number): Transition;
|
12028 | (delay: (data: any, index: number) => any): Transition;
|
12029 | };
|
12030 | attr: {
|
12031 | (name: string): string;
|
12032 | (name: string, value: any): Transition;
|
12033 | (name: string, valueFunction: (data: any, index: number) => any): Transition;
|
12034 | (attrValueMap : any): Transition;
|
12035 | };
|
12036 | style: {
|
12037 | (name: string): string;
|
12038 | (name: string, value: any, priority?: string): Transition;
|
12039 | (name: string, valueFunction: (data: any, index: number) => any, priority?: string): Transition;
|
12040 | (styleValueMap : Object): Transition;
|
12041 | };
|
12042 | call(callback: (selection: Selection) => void): Transition;
|
12043 | call(callback: (selection: any, anything: any) => void, ...arguments: any[]): Transition;
|
12044 | |
12045 |
|
12046 |
|
12047 | select: {
|
12048 | |
12049 |
|
12050 |
|
12051 |
|
12052 |
|
12053 | (selector: string): Transition;
|
12054 | |
12055 |
|
12056 |
|
12057 |
|
12058 |
|
12059 | (element: EventTarget): Transition;
|
12060 | };
|
12061 |
|
12062 | |
12063 |
|
12064 |
|
12065 | selectAll: {
|
12066 | |
12067 |
|
12068 |
|
12069 |
|
12070 |
|
12071 | (selector: string): Transition;
|
12072 | |
12073 |
|
12074 |
|
12075 |
|
12076 |
|
12077 | (elements: EventTarget[]): Transition;
|
12078 | }
|
12079 | each: (type?: string, eachFunction?: (data: any, index: number) => any) => Transition;
|
12080 | transition: () => Transition;
|
12081 | ease: (value: string, ...arrs: any[]) => Transition;
|
12082 | attrTween(name: string, tween: (d: any, i: number, a: any) => BaseInterpolate): Transition;
|
12083 | styleTween(name: string, tween: (d: any, i: number, a: any) => BaseInterpolate, priority?: string): Transition;
|
12084 | text: {
|
12085 | (text: string): Transition;
|
12086 | (text: (d: any, i: number) => string): Transition;
|
12087 | }
|
12088 | tween(name: string, factory: InterpolateFactory): Transition;
|
12089 | filter: {
|
12090 | (selector: string): Transition;
|
12091 | (selector: (data: any, index: number) => boolean): Transition;
|
12092 | };
|
12093 | remove(): Transition;
|
12094 | }
|
12095 |
|
12096 | export interface InterpolateFactory {
|
12097 | (a?: any, b?: any): BaseInterpolate;
|
12098 | }
|
12099 |
|
12100 | export interface BaseInterpolate {
|
12101 | (a: any, b?: any): any;
|
12102 | }
|
12103 |
|
12104 | export interface Interpolate {
|
12105 | (t: any): any;
|
12106 | }
|
12107 | }
|
12108 |
|
12109 |
|
12110 | export module Time {
|
12111 | export interface Time {
|
12112 | second: Interval;
|
12113 | minute: Interval;
|
12114 | hour: Interval;
|
12115 | day: Interval;
|
12116 | week: Interval;
|
12117 | sunday: Interval;
|
12118 | monday: Interval;
|
12119 | tuesday: Interval;
|
12120 | wednesday: Interval;
|
12121 | thursday: Interval;
|
12122 | friday: Interval;
|
12123 | saturday: Interval;
|
12124 | month: Interval;
|
12125 | year: Interval;
|
12126 |
|
12127 | seconds: Range;
|
12128 | minutes: Range;
|
12129 | hours: Range;
|
12130 | days: Range;
|
12131 | weeks: Range;
|
12132 | months: Range;
|
12133 | years: Range;
|
12134 |
|
12135 | sundays: Range;
|
12136 | mondays: Range;
|
12137 | tuesdays: Range;
|
12138 | wednesdays: Range;
|
12139 | thursdays: Range;
|
12140 | fridays: Range;
|
12141 | saturdays: Range;
|
12142 | format: {
|
12143 | |
12144 |
|
12145 |
|
12146 | (specifier: string): TimeFormat;
|
12147 | |
12148 |
|
12149 |
|
12150 | multi: (formats: any[][]) => TimeFormat;
|
12151 |
|
12152 | utc: {
|
12153 | |
12154 |
|
12155 |
|
12156 | (specifier: string): TimeFormat;
|
12157 | |
12158 |
|
12159 |
|
12160 | multi: (formats: any[][]) => TimeFormat;
|
12161 | };
|
12162 |
|
12163 | |
12164 |
|
12165 |
|
12166 | iso: TimeFormat;
|
12167 | };
|
12168 |
|
12169 | scale: {
|
12170 | |
12171 |
|
12172 |
|
12173 |
|
12174 | (): Scale.TimeScale;
|
12175 | |
12176 |
|
12177 |
|
12178 |
|
12179 | utc(): Scale.TimeScale;
|
12180 | };
|
12181 | }
|
12182 |
|
12183 | export interface Range {
|
12184 | (start: Date, end: Date, step?: number): Date[];
|
12185 | }
|
12186 |
|
12187 | export interface Interval {
|
12188 | (date: Date): Date;
|
12189 | floor: (date: Date) => Date;
|
12190 | round: (date: Date) => Date;
|
12191 | ceil: (date: Date) => Date;
|
12192 | range: Range;
|
12193 | offset: (date: Date, step: number) => Date;
|
12194 | utc?: Interval;
|
12195 | }
|
12196 |
|
12197 | export interface TimeFormat {
|
12198 | (date: Date): string;
|
12199 | parse: (string: string) => Date;
|
12200 | }
|
12201 | }
|
12202 |
|
12203 |
|
12204 | export module Layout {
|
12205 | export interface Layout {
|
12206 | |
12207 |
|
12208 |
|
12209 | stack(): StackLayout;
|
12210 | |
12211 |
|
12212 |
|
12213 | pie(): PieLayout;
|
12214 | |
12215 |
|
12216 |
|
12217 | force(): ForceLayout;
|
12218 | |
12219 |
|
12220 |
|
12221 | tree(): TreeLayout;
|
12222 | bundle(): BundleLayout;
|
12223 | chord(): ChordLayout;
|
12224 | cluster(): ClusterLayout;
|
12225 | hierarchy(): HierarchyLayout;
|
12226 | histogram(): HistogramLayout;
|
12227 | pack(): PackLayout;
|
12228 | partition(): PartitionLayout;
|
12229 | treemap(): TreeMapLayout;
|
12230 | }
|
12231 |
|
12232 | export interface StackLayout {
|
12233 | <T>(layers: T[], index?: number): T[];
|
12234 | values(accessor?: (d: any) => any): StackLayout;
|
12235 | offset(offset: string): StackLayout;
|
12236 | x(accessor: (d: any, i: number) => any): StackLayout;
|
12237 | y(accessor: (d: any, i: number) => any): StackLayout;
|
12238 | out(setter: (d: any, y0: number, y: number) => void): StackLayout;
|
12239 | }
|
12240 |
|
12241 | export interface TreeLayout {
|
12242 | |
12243 |
|
12244 |
|
12245 | sort: {
|
12246 | |
12247 |
|
12248 |
|
12249 | (): (d1: any, d2: any) => number;
|
12250 | |
12251 |
|
12252 |
|
12253 | (comparator: (d1: any, d2: any) => number): TreeLayout;
|
12254 | };
|
12255 | |
12256 |
|
12257 |
|
12258 | children: {
|
12259 | |
12260 |
|
12261 |
|
12262 | (): (d: any) => any;
|
12263 | |
12264 |
|
12265 |
|
12266 | (children: (d: any) => any): TreeLayout;
|
12267 | };
|
12268 | |
12269 |
|
12270 |
|
12271 | nodes(root: GraphNode): GraphNode[];
|
12272 | |
12273 |
|
12274 |
|
12275 | links(nodes: GraphNode[]): GraphLink[];
|
12276 | |
12277 |
|
12278 |
|
12279 | seperation: {
|
12280 | |
12281 |
|
12282 |
|
12283 | (): (a: GraphNode, b: GraphNode) => number;
|
12284 | |
12285 |
|
12286 |
|
12287 | (seperation: (a: GraphNode, b: GraphNode) => number): TreeLayout;
|
12288 | };
|
12289 | |
12290 |
|
12291 |
|
12292 | size: {
|
12293 | |
12294 |
|
12295 |
|
12296 | (): number[];
|
12297 | |
12298 |
|
12299 |
|
12300 | (size: number[]): TreeLayout;
|
12301 | };
|
12302 | |
12303 |
|
12304 |
|
12305 | nodeSize: {
|
12306 | |
12307 |
|
12308 |
|
12309 | (): number[];
|
12310 | |
12311 |
|
12312 |
|
12313 | (size: number[]): TreeLayout;
|
12314 | };
|
12315 | }
|
12316 |
|
12317 | export interface PieLayout {
|
12318 | (values: any[], index?: number): ArcDescriptor[];
|
12319 | value: {
|
12320 | (): (d: any, index: number) => number;
|
12321 | (accessor: (d: any, index: number) => number): PieLayout;
|
12322 | };
|
12323 | sort: {
|
12324 | (): (d1: any, d2: any) => number;
|
12325 | (comparator: (d1: any, d2: any) => number): PieLayout;
|
12326 | };
|
12327 | startAngle: {
|
12328 | (): number;
|
12329 | (angle: number): PieLayout;
|
12330 | (angle: () => number): PieLayout;
|
12331 | (angle: (d : any) => number): PieLayout;
|
12332 | (angle: (d : any, i: number) => number): PieLayout;
|
12333 | };
|
12334 | endAngle: {
|
12335 | (): number;
|
12336 | (angle: number): PieLayout;
|
12337 | (angle: () => number): PieLayout;
|
12338 | (angle: (d : any) => number): PieLayout
|
12339 | (angle: (d : any, i: number) => number): PieLayout;
|
12340 | };
|
12341 | }
|
12342 |
|
12343 | export interface ArcDescriptor {
|
12344 | value: any;
|
12345 | data: any;
|
12346 | startAngle: number;
|
12347 | endAngle: number;
|
12348 | index: number;
|
12349 | }
|
12350 |
|
12351 | export interface GraphNode {
|
12352 | id?: number;
|
12353 | index?: number;
|
12354 | name: string;
|
12355 | dx?: number;
|
12356 | dy?: number;
|
12357 | px?: number;
|
12358 | py?: number;
|
12359 | size?: number;
|
12360 | weight?: number;
|
12361 | x?: number;
|
12362 | y?: number;
|
12363 | subindex?: number;
|
12364 | startAngle?: number;
|
12365 | endAngle?: number;
|
12366 | value?: number;
|
12367 | fixed?: boolean;
|
12368 | children?: GraphNode[];
|
12369 | _children?: GraphNode[];
|
12370 | parent?: GraphNode;
|
12371 | depth?: number;
|
12372 | }
|
12373 |
|
12374 | export interface GraphLink {
|
12375 | source: GraphNode;
|
12376 | target: GraphNode;
|
12377 | }
|
12378 |
|
12379 | export interface GraphNodeForce {
|
12380 | index?: number;
|
12381 | x?: number;
|
12382 | y?: number;
|
12383 | px?: number;
|
12384 | py?: number;
|
12385 | fixed?: boolean;
|
12386 | weight?: number;
|
12387 | }
|
12388 |
|
12389 | export interface GraphLinkForce {
|
12390 | source: GraphNodeForce;
|
12391 | target: GraphNodeForce;
|
12392 | }
|
12393 |
|
12394 | export interface ForceLayout {
|
12395 | (): ForceLayout;
|
12396 | size: {
|
12397 | (): number;
|
12398 | (mysize: number[]): ForceLayout;
|
12399 | (accessor: (d: any, index: number) => {}): ForceLayout;
|
12400 |
|
12401 | };
|
12402 | linkDistance: {
|
12403 | (): number;
|
12404 | (number:number): ForceLayout;
|
12405 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12406 | };
|
12407 | linkStrength:
|
12408 | {
|
12409 | (): number;
|
12410 | (number:number): ForceLayout;
|
12411 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12412 | };
|
12413 | friction:
|
12414 | {
|
12415 | (): number;
|
12416 | (number:number): ForceLayout;
|
12417 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12418 | };
|
12419 | alpha: {
|
12420 | (): number;
|
12421 | (number:number): ForceLayout;
|
12422 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12423 | };
|
12424 | charge: {
|
12425 | (): number;
|
12426 | (number:number): ForceLayout;
|
12427 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12428 | };
|
12429 |
|
12430 | theta: {
|
12431 | (): number;
|
12432 | (number:number): ForceLayout;
|
12433 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12434 | };
|
12435 |
|
12436 | gravity: {
|
12437 | (): number;
|
12438 | (number:number): ForceLayout;
|
12439 | (accessor: (d: any, index: number) => number): ForceLayout;
|
12440 | };
|
12441 |
|
12442 | links: {
|
12443 | (): GraphLinkForce[];
|
12444 | (arLinks: GraphLinkForce[]): ForceLayout;
|
12445 |
|
12446 | };
|
12447 | nodes:
|
12448 | {
|
12449 | (): GraphNodeForce[];
|
12450 | (arNodes: GraphNodeForce[]): ForceLayout;
|
12451 |
|
12452 | };
|
12453 | start(): ForceLayout;
|
12454 | resume(): ForceLayout;
|
12455 | stop(): ForceLayout;
|
12456 | tick(): ForceLayout;
|
12457 | on(type: string, listener: () => void ): ForceLayout;
|
12458 | drag(): ForceLayout;
|
12459 | }
|
12460 |
|
12461 | export interface BundleLayout{
|
12462 | (links: GraphLink[]): GraphNode[][];
|
12463 | }
|
12464 |
|
12465 | export interface ChordLayout {
|
12466 | matrix: {
|
12467 | (): number[][];
|
12468 | (matrix: number[][]): ChordLayout;
|
12469 | }
|
12470 | padding: {
|
12471 | (): number;
|
12472 | (padding: number): ChordLayout;
|
12473 | }
|
12474 | sortGroups: {
|
12475 | (): (a: number, b: number) => number;
|
12476 | (comparator: (a: number, b: number) => number): ChordLayout;
|
12477 | }
|
12478 | sortSubgroups: {
|
12479 | (): (a: number, b: number) => number;
|
12480 | (comparator: (a: number, b: number) => number): ChordLayout;
|
12481 | }
|
12482 | sortChords: {
|
12483 | (): (a: number, b: number) => number;
|
12484 | (comparator: (a: number, b: number) => number): ChordLayout;
|
12485 | }
|
12486 | chords(): GraphLink[];
|
12487 | groups(): ArcDescriptor[];
|
12488 | }
|
12489 |
|
12490 | export interface ClusterLayout{
|
12491 | sort: {
|
12492 | (): (a: GraphNode, b: GraphNode) => number;
|
12493 | (comparator: (a: GraphNode, b: GraphNode) => number): ClusterLayout;
|
12494 | }
|
12495 | children: {
|
12496 | (): (d: any, i?: number) => GraphNode[];
|
12497 | (children: (d: any, i?: number) => GraphNode[]): ClusterLayout;
|
12498 | }
|
12499 | nodes(root: GraphNode): GraphNode[];
|
12500 | links(nodes: GraphNode[]): GraphLink[];
|
12501 | seperation: {
|
12502 | (): (a: GraphNode, b: GraphNode) => number;
|
12503 | (seperation: (a: GraphNode, b: GraphNode) => number): ClusterLayout;
|
12504 | }
|
12505 | size: {
|
12506 | (): number[];
|
12507 | (size: number[]): ClusterLayout;
|
12508 | }
|
12509 | value: {
|
12510 | (): (node: GraphNode) => number;
|
12511 | (value: (node: GraphNode) => number): ClusterLayout;
|
12512 | }
|
12513 | }
|
12514 |
|
12515 | export interface HierarchyLayout {
|
12516 | sort: {
|
12517 | (): (a: GraphNode, b: GraphNode) => number;
|
12518 | (comparator: (a: GraphNode, b: GraphNode) => number): HierarchyLayout;
|
12519 | }
|
12520 | children: {
|
12521 | (): (d: any, i?: number) => GraphNode[];
|
12522 | (children: (d: any, i?: number) => GraphNode[]): HierarchyLayout;
|
12523 | }
|
12524 | nodes(root: GraphNode): GraphNode[];
|
12525 | links(nodes: GraphNode[]): GraphLink[];
|
12526 | value: {
|
12527 | (): (node: GraphNode) => number;
|
12528 | (value: (node: GraphNode) => number): HierarchyLayout;
|
12529 | }
|
12530 | reValue(root: GraphNode): HierarchyLayout;
|
12531 | }
|
12532 |
|
12533 | export interface Bin extends Array<any> {
|
12534 | x: number;
|
12535 | dx: number;
|
12536 | y: number;
|
12537 | }
|
12538 |
|
12539 | export interface HistogramLayout {
|
12540 | (values: any[], index?: number): Bin[];
|
12541 | value: {
|
12542 | (): (value: any) => any;
|
12543 | (accessor: (value: any) => any): HistogramLayout
|
12544 | }
|
12545 | range: {
|
12546 | (): (value: any, index: number) => number[];
|
12547 | (range: (value: any, index: number) => number[]): HistogramLayout;
|
12548 | (range: number[]): HistogramLayout;
|
12549 | }
|
12550 | bins: {
|
12551 | (): (range: any[], index: number) => number[];
|
12552 | (bins: (range: any[], index: number) => number[]): HistogramLayout;
|
12553 | (bins: number): HistogramLayout;
|
12554 | (bins: number[]): HistogramLayout;
|
12555 | }
|
12556 | frequency: {
|
12557 | (): boolean;
|
12558 | (frequency: boolean): HistogramLayout;
|
12559 | }
|
12560 | }
|
12561 |
|
12562 | export interface PackLayout {
|
12563 | sort: {
|
12564 | (): (a: GraphNode, b: GraphNode) => number;
|
12565 | (comparator: (a: GraphNode, b: GraphNode) => number): PackLayout;
|
12566 | }
|
12567 | children: {
|
12568 | (): (d: any, i?: number) => GraphNode[];
|
12569 | (children: (d: any, i?: number) => GraphNode[]): PackLayout;
|
12570 | }
|
12571 | nodes(root: GraphNode): GraphNode[];
|
12572 | links(nodes: GraphNode[]): GraphLink[];
|
12573 | value: {
|
12574 | (): (node: GraphNode) => number;
|
12575 | (value: (node: GraphNode) => number): PackLayout;
|
12576 | }
|
12577 | size: {
|
12578 | (): number[];
|
12579 | (size: number[]): PackLayout;
|
12580 | }
|
12581 | padding: {
|
12582 | (): number;
|
12583 | (padding: number): PackLayout;
|
12584 | }
|
12585 | }
|
12586 |
|
12587 | export interface PartitionLayout {
|
12588 | sort: {
|
12589 | (): (a: GraphNode, b: GraphNode) => number;
|
12590 | (comparator: (a: GraphNode, b: GraphNode) => number): PackLayout;
|
12591 | }
|
12592 | children: {
|
12593 | (): (d: any, i?: number) => GraphNode[];
|
12594 | (children: (d: any, i?: number) => GraphNode[]): PackLayout;
|
12595 | }
|
12596 | nodes(root: GraphNode): GraphNode[];
|
12597 | links(nodes: GraphNode[]): GraphLink[];
|
12598 | value: {
|
12599 | (): (node: GraphNode) => number;
|
12600 | (value: (node: GraphNode) => number): PackLayout;
|
12601 | }
|
12602 | size: {
|
12603 | (): number[];
|
12604 | (size: number[]): PackLayout;
|
12605 | }
|
12606 | }
|
12607 |
|
12608 | export interface TreeMapLayout {
|
12609 | sort: {
|
12610 | (): (a: GraphNode, b: GraphNode) => number;
|
12611 | (comparator: (a: GraphNode, b: GraphNode) => number): TreeMapLayout;
|
12612 | }
|
12613 | children: {
|
12614 | (): (d: any, i?: number) => GraphNode[];
|
12615 | (children: (d: any, i?: number) => GraphNode[]): TreeMapLayout;
|
12616 | }
|
12617 | nodes(root: GraphNode): GraphNode[];
|
12618 | links(nodes: GraphNode[]): GraphLink[];
|
12619 | value: {
|
12620 | (): (node: GraphNode) => number;
|
12621 | (value: (node: GraphNode) => number): TreeMapLayout;
|
12622 | }
|
12623 | size: {
|
12624 | (): number[];
|
12625 | (size: number[]): TreeMapLayout;
|
12626 | }
|
12627 | padding: {
|
12628 | (): number;
|
12629 | (padding: number): TreeMapLayout;
|
12630 | }
|
12631 | round: {
|
12632 | (): boolean;
|
12633 | (round: boolean): TreeMapLayout;
|
12634 | }
|
12635 | sticky: {
|
12636 | (): boolean;
|
12637 | (sticky: boolean): TreeMapLayout;
|
12638 | }
|
12639 | mode: {
|
12640 | (): string;
|
12641 | (mode: string): TreeMapLayout;
|
12642 | }
|
12643 | }
|
12644 | }
|
12645 |
|
12646 |
|
12647 | export module Color {
|
12648 | export interface Color {
|
12649 | |
12650 |
|
12651 |
|
12652 | brighter(k?: number): Color;
|
12653 | |
12654 |
|
12655 |
|
12656 | darker(k?: number): Color;
|
12657 | |
12658 |
|
12659 |
|
12660 | toString(): string;
|
12661 | }
|
12662 |
|
12663 | export interface RGBColor extends Color{
|
12664 | |
12665 |
|
12666 |
|
12667 | r: number;
|
12668 | |
12669 |
|
12670 |
|
12671 | g: number;
|
12672 | |
12673 |
|
12674 |
|
12675 | b: number;
|
12676 | |
12677 |
|
12678 |
|
12679 | hsl(): HSLColor;
|
12680 | }
|
12681 |
|
12682 | export interface HSLColor extends Color{
|
12683 | |
12684 |
|
12685 |
|
12686 | h: number;
|
12687 | |
12688 |
|
12689 |
|
12690 | s: number;
|
12691 | |
12692 |
|
12693 |
|
12694 | l: number;
|
12695 | |
12696 |
|
12697 |
|
12698 | rgb(): RGBColor;
|
12699 | }
|
12700 |
|
12701 | export interface LABColor extends Color{
|
12702 | |
12703 |
|
12704 |
|
12705 | l: number;
|
12706 | |
12707 |
|
12708 |
|
12709 | a: number;
|
12710 | |
12711 |
|
12712 |
|
12713 | b: number;
|
12714 | |
12715 |
|
12716 |
|
12717 | rgb(): RGBColor;
|
12718 | }
|
12719 |
|
12720 | export interface HCLColor extends Color{
|
12721 | |
12722 |
|
12723 |
|
12724 | h: number;
|
12725 | |
12726 |
|
12727 |
|
12728 | c: number;
|
12729 | |
12730 |
|
12731 |
|
12732 | l: number;
|
12733 | |
12734 |
|
12735 |
|
12736 | rgb(): RGBColor;
|
12737 | }
|
12738 | }
|
12739 |
|
12740 |
|
12741 | export module Svg {
|
12742 | export interface Svg {
|
12743 | |
12744 |
|
12745 |
|
12746 | symbol(): Symbol;
|
12747 | |
12748 |
|
12749 |
|
12750 | axis(): Axis;
|
12751 | |
12752 |
|
12753 |
|
12754 | arc(): Arc;
|
12755 | |
12756 |
|
12757 |
|
12758 | line: {
|
12759 | (): Line;
|
12760 | radial(): LineRadial;
|
12761 | }
|
12762 | |
12763 |
|
12764 |
|
12765 | area: {
|
12766 | (): Area;
|
12767 | radial(): AreaRadial;
|
12768 | }
|
12769 | |
12770 |
|
12771 |
|
12772 | brush(): Brush;
|
12773 | |
12774 |
|
12775 |
|
12776 | chord(): Chord;
|
12777 | |
12778 |
|
12779 |
|
12780 | diagonal: {
|
12781 | (): Diagonal;
|
12782 | radial(): Diagonal;
|
12783 | }
|
12784 | |
12785 |
|
12786 |
|
12787 | symbolTypes: string[];
|
12788 | }
|
12789 |
|
12790 | export interface Symbol {
|
12791 | type: (string:string) => Symbol;
|
12792 | size: (number:number) => Symbol;
|
12793 | (datum:any, index:number): string;
|
12794 | }
|
12795 |
|
12796 | export interface Brush {
|
12797 | |
12798 |
|
12799 |
|
12800 | (selection: Selection): void;
|
12801 | |
12802 |
|
12803 |
|
12804 | x: {
|
12805 | |
12806 |
|
12807 |
|
12808 | (): D3.Scale.Scale;
|
12809 | |
12810 |
|
12811 |
|
12812 |
|
12813 |
|
12814 | (scale: D3.Scale.Scale): Brush;
|
12815 | };
|
12816 | |
12817 |
|
12818 |
|
12819 | y: {
|
12820 | |
12821 |
|
12822 |
|
12823 | (): D3.Scale.Scale;
|
12824 | |
12825 |
|
12826 |
|
12827 |
|
12828 |
|
12829 | (scale: D3.Scale.Scale): Brush;
|
12830 | };
|
12831 | |
12832 |
|
12833 |
|
12834 | extent: {
|
12835 | |
12836 |
|
12837 |
|
12838 | (): any[];
|
12839 | |
12840 |
|
12841 |
|
12842 | (values: any[]): Brush;
|
12843 | };
|
12844 | |
12845 |
|
12846 |
|
12847 | clear(): Brush;
|
12848 | |
12849 |
|
12850 |
|
12851 | empty(): boolean;
|
12852 | |
12853 |
|
12854 |
|
12855 | on: {
|
12856 | |
12857 |
|
12858 |
|
12859 | (type: string): (data: any, index: number) => any;
|
12860 | |
12861 |
|
12862 |
|
12863 | (type: string, listener: (data: any, index: number) => any, capture?: boolean): Brush;
|
12864 | };
|
12865 | }
|
12866 |
|
12867 | export interface Axis {
|
12868 | (selection: Selection): void;
|
12869 | scale: {
|
12870 | (): any;
|
12871 | (scale: any): Axis;
|
12872 | };
|
12873 |
|
12874 | orient: {
|
12875 | (): string;
|
12876 | (orientation: string): Axis;
|
12877 | };
|
12878 |
|
12879 | ticks: {
|
12880 | (): any[];
|
12881 | (...arguments: any[]): Axis;
|
12882 | };
|
12883 |
|
12884 | tickPadding: {
|
12885 | (): number;
|
12886 | (padding: number): Axis;
|
12887 | };
|
12888 |
|
12889 | tickValues: {
|
12890 | (): any[];
|
12891 | (values: any[]): Axis;
|
12892 | };
|
12893 | tickSubdivide(count: number): Axis;
|
12894 | tickSize: {
|
12895 | (): number;
|
12896 | (inner: number, outer?: number): Axis;
|
12897 | }
|
12898 | innerTickSize: {
|
12899 | (): number;
|
12900 | (value: number): Axis;
|
12901 | }
|
12902 | outerTickSize: {
|
12903 | (): number;
|
12904 | (value: number): Axis;
|
12905 | }
|
12906 | tickFormat(): (any) => string;
|
12907 | tickFormat(formatter: (value: any) => string): Axis;
|
12908 | nice(count?: number): Axis;
|
12909 | }
|
12910 |
|
12911 | export interface Arc {
|
12912 | |
12913 |
|
12914 |
|
12915 |
|
12916 |
|
12917 |
|
12918 | (data: any, index?: number): string;
|
12919 | innerRadius: {
|
12920 | (): (data: any, index?: number) => number;
|
12921 | (radius: number): Arc;
|
12922 | (radius: () => number): Arc;
|
12923 | (radius: (data: any) => number): Arc;
|
12924 | (radius: (data: any, index: number) => number): Arc;
|
12925 | };
|
12926 | outerRadius: {
|
12927 | (): (data: any, index?: number) => number;
|
12928 | (radius: number): Arc;
|
12929 | (radius: () => number): Arc;
|
12930 | (radius: (data: any) => number): Arc;
|
12931 | (radius: (data: any, index: number) => number): Arc;
|
12932 | };
|
12933 | startAngle: {
|
12934 | (): (data: any, index?: number) => number;
|
12935 | (angle: number): Arc;
|
12936 | (angle: () => number): Arc;
|
12937 | (angle: (data: any) => number): Arc;
|
12938 | (angle: (data: any, index: number) => number): Arc;
|
12939 | };
|
12940 | endAngle: {
|
12941 | (): (data: any, index?: number) => number;
|
12942 | (angle: number): Arc;
|
12943 | (angle: () => number): Arc;
|
12944 | (angle: (data: any) => number): Arc;
|
12945 | (angle: (data: any, index: number) => number): Arc;
|
12946 | };
|
12947 | centroid(data: any, index?: number): number[];
|
12948 | }
|
12949 |
|
12950 | export interface Line {
|
12951 | |
12952 |
|
12953 |
|
12954 |
|
12955 |
|
12956 |
|
12957 | (data: any[], index?: number): string;
|
12958 | |
12959 |
|
12960 |
|
12961 | x: {
|
12962 | |
12963 |
|
12964 |
|
12965 | (): (data: any, index ?: number) => number;
|
12966 | |
12967 |
|
12968 |
|
12969 |
|
12970 |
|
12971 | (accessor: (data: any) => number): Line;
|
12972 | (accessor: (data: any, index: number) => number): Line;
|
12973 | |
12974 |
|
12975 |
|
12976 |
|
12977 |
|
12978 | (cnst: number): Line;
|
12979 | };
|
12980 | |
12981 |
|
12982 |
|
12983 | y: {
|
12984 | |
12985 |
|
12986 |
|
12987 | (): (data: any, index ?: number) => number;
|
12988 | |
12989 |
|
12990 |
|
12991 |
|
12992 |
|
12993 | (accessor: (data: any) => number): Line;
|
12994 | (accessor: (data: any, index: number) => number): Line;
|
12995 | |
12996 |
|
12997 |
|
12998 |
|
12999 |
|
13000 | (cnst: number): Line;
|
13001 | };
|
13002 | |
13003 |
|
13004 |
|
13005 | interpolate: {
|
13006 | |
13007 |
|
13008 |
|
13009 | (): string;
|
13010 | |
13011 |
|
13012 |
|
13013 |
|
13014 |
|
13015 | (interpolate: string): Line;
|
13016 | };
|
13017 | |
13018 |
|
13019 |
|
13020 | tension: {
|
13021 | |
13022 |
|
13023 |
|
13024 | (): number;
|
13025 | |
13026 |
|
13027 |
|
13028 |
|
13029 |
|
13030 | (tension: number): Line;
|
13031 | };
|
13032 | |
13033 |
|
13034 |
|
13035 | defined: {
|
13036 | |
13037 |
|
13038 |
|
13039 | (): (data: any, index?: number) => boolean;
|
13040 | |
13041 |
|
13042 |
|
13043 |
|
13044 |
|
13045 | (defined: (data: any, index?: number) => boolean): Line;
|
13046 | };
|
13047 | }
|
13048 |
|
13049 | export interface LineRadial {
|
13050 | |
13051 |
|
13052 |
|
13053 |
|
13054 |
|
13055 |
|
13056 | (data: any[], index?: number): string;
|
13057 | |
13058 |
|
13059 |
|
13060 | x: {
|
13061 | |
13062 |
|
13063 |
|
13064 | (): (data: any, index ?: number) => number;
|
13065 | |
13066 |
|
13067 |
|
13068 |
|
13069 |
|
13070 | (accessor: (data: any) => number): LineRadial;
|
13071 | (accessor: (data: any, index: number) => number): LineRadial;
|
13072 |
|
13073 | |
13074 |
|
13075 |
|
13076 |
|
13077 |
|
13078 | (cnst: number): LineRadial;
|
13079 | };
|
13080 | |
13081 |
|
13082 |
|
13083 | y: {
|
13084 | |
13085 |
|
13086 |
|
13087 | (): (data: any, index ?: number) => number;
|
13088 | |
13089 |
|
13090 |
|
13091 |
|
13092 |
|
13093 | (accessor: (data: any) => number): LineRadial;
|
13094 | (accessor: (data: any, index: number) => number): LineRadial;
|
13095 | |
13096 |
|
13097 |
|
13098 |
|
13099 |
|
13100 | (cnst: number): LineRadial;
|
13101 | };
|
13102 | |
13103 |
|
13104 |
|
13105 | interpolate: {
|
13106 | |
13107 |
|
13108 |
|
13109 | (): string;
|
13110 | |
13111 |
|
13112 |
|
13113 |
|
13114 |
|
13115 | (interpolate: string): LineRadial;
|
13116 | };
|
13117 | |
13118 |
|
13119 |
|
13120 | tension: {
|
13121 | |
13122 |
|
13123 |
|
13124 | (): number;
|
13125 | |
13126 |
|
13127 |
|
13128 |
|
13129 |
|
13130 | (tension: number): LineRadial;
|
13131 | };
|
13132 | |
13133 |
|
13134 |
|
13135 | defined: {
|
13136 | |
13137 |
|
13138 |
|
13139 | (): (data: any) => any;
|
13140 | |
13141 |
|
13142 |
|
13143 |
|
13144 |
|
13145 | (defined: (data: any) => any): LineRadial;
|
13146 | };
|
13147 | radius: {
|
13148 | (): (d: any, i?: number) => number;
|
13149 | (radius: number): LineRadial;
|
13150 | (radius: (d: any) => number): LineRadial;
|
13151 | (radius: (d: any, i: number) => number): LineRadial;
|
13152 | }
|
13153 | angle: {
|
13154 | (): (d: any, i?: any) => number;
|
13155 | (angle: number): LineRadial;
|
13156 | (angle: (d: any) => number): LineRadial;
|
13157 | (angle: (d: any, i: any) => number): LineRadial;
|
13158 | }
|
13159 | }
|
13160 |
|
13161 | export interface Area {
|
13162 | |
13163 |
|
13164 |
|
13165 | (data: any[], index?: number): string;
|
13166 | |
13167 |
|
13168 |
|
13169 | x: {
|
13170 | |
13171 |
|
13172 |
|
13173 | (): (data: any, index ?: number) => number;
|
13174 | |
13175 |
|
13176 |
|
13177 |
|
13178 |
|
13179 | (accessor: (data: any) => number): Area;
|
13180 | (accessor: (data: any, index: number) => number): Area;
|
13181 | |
13182 |
|
13183 |
|
13184 |
|
13185 |
|
13186 | (cnst: number): Area;
|
13187 | };
|
13188 | |
13189 |
|
13190 |
|
13191 | x0: {
|
13192 | |
13193 |
|
13194 |
|
13195 | (): (data: any, index ?: number) => number;
|
13196 | |
13197 |
|
13198 |
|
13199 |
|
13200 |
|
13201 | (accessor: (data: any) => number): Area;
|
13202 | (accessor: (data: any, index: number) => number): Area;
|
13203 | |
13204 |
|
13205 |
|
13206 |
|
13207 |
|
13208 | (cnst: number): Area;
|
13209 | };
|
13210 | |
13211 |
|
13212 |
|
13213 | x1: {
|
13214 | |
13215 |
|
13216 |
|
13217 | (): (data: any, index ?: number) => number;
|
13218 | |
13219 |
|
13220 |
|
13221 |
|
13222 |
|
13223 | (accessor: (data: any) => number): Area;
|
13224 | (accessor: (data: any, index: number) => number): Area;
|
13225 | |
13226 |
|
13227 |
|
13228 |
|
13229 |
|
13230 | (cnst: number): Area;
|
13231 | };
|
13232 | |
13233 |
|
13234 |
|
13235 | y: {
|
13236 | |
13237 |
|
13238 |
|
13239 | (): (data: any, index ?: number) => number;
|
13240 | |
13241 |
|
13242 |
|
13243 |
|
13244 |
|
13245 | (accessor: (data: any) => number): Area;
|
13246 | (accessor: (data: any, index: number) => number): Area;
|
13247 | |
13248 |
|
13249 |
|
13250 |
|
13251 |
|
13252 | (cnst: number): Area;
|
13253 | };
|
13254 | |
13255 |
|
13256 |
|
13257 | y0: {
|
13258 | |
13259 |
|
13260 |
|
13261 | (): (data: any, index ?: number) => number;
|
13262 | |
13263 |
|
13264 |
|
13265 |
|
13266 |
|
13267 | (accessor: (data: any) => number): Area;
|
13268 | (accessor: (data: any, index: number) => number): Area;
|
13269 | |
13270 |
|
13271 |
|
13272 |
|
13273 |
|
13274 | (cnst: number): Area;
|
13275 | };
|
13276 | |
13277 |
|
13278 |
|
13279 | y1: {
|
13280 | |
13281 |
|
13282 |
|
13283 | (): (data: any, index ?: number) => number;
|
13284 | |
13285 |
|
13286 |
|
13287 |
|
13288 |
|
13289 | (accessor: (data: any) => number): Area;
|
13290 | (accessor: (data: any, index: number) => number): Area;
|
13291 | |
13292 |
|
13293 |
|
13294 |
|
13295 |
|
13296 | (cnst: number): Area;
|
13297 | };
|
13298 | |
13299 |
|
13300 |
|
13301 | interpolate: {
|
13302 | |
13303 |
|
13304 |
|
13305 | (): string;
|
13306 | |
13307 |
|
13308 |
|
13309 |
|
13310 |
|
13311 | (interpolate: string): Area;
|
13312 | };
|
13313 | |
13314 |
|
13315 |
|
13316 | tension: {
|
13317 | |
13318 |
|
13319 |
|
13320 | (): number;
|
13321 | |
13322 |
|
13323 |
|
13324 |
|
13325 |
|
13326 | (tension: number): Area;
|
13327 | };
|
13328 | |
13329 |
|
13330 |
|
13331 | defined: {
|
13332 | |
13333 |
|
13334 |
|
13335 | (): (data: any, index?: number) => any;
|
13336 | |
13337 |
|
13338 |
|
13339 |
|
13340 |
|
13341 | (defined: (data: any, index?: number) => any): Area;
|
13342 | };
|
13343 | }
|
13344 |
|
13345 | export interface AreaRadial {
|
13346 | |
13347 |
|
13348 |
|
13349 | (data: any[], index?: number): string;
|
13350 | |
13351 |
|
13352 |
|
13353 | x: {
|
13354 | |
13355 |
|
13356 |
|
13357 | (): (data: any, index ?: number) => number;
|
13358 | |
13359 |
|
13360 |
|
13361 |
|
13362 |
|
13363 | (accessor: (data: any) => number): AreaRadial;
|
13364 | (accessor: (data: any, index: number) => number): AreaRadial;
|
13365 | |
13366 |
|
13367 |
|
13368 |
|
13369 |
|
13370 | (cnst: number): AreaRadial;
|
13371 | };
|
13372 | |
13373 |
|
13374 |
|
13375 | x0: {
|
13376 | |
13377 |
|
13378 |
|
13379 | (): (data: any, index ?: number) => number;
|
13380 | |
13381 |
|
13382 |
|
13383 |
|
13384 |
|
13385 | (accessor: (data: any) => number): AreaRadial;
|
13386 | (accessor: (data: any, index: number) => number): AreaRadial;
|
13387 | |
13388 |
|
13389 |
|
13390 |
|
13391 |
|
13392 | (cnst: number): AreaRadial;
|
13393 | };
|
13394 | |
13395 |
|
13396 |
|
13397 | x1: {
|
13398 | |
13399 |
|
13400 |
|
13401 | (): (data: any, index ?: number) => number;
|
13402 | |
13403 |
|
13404 |
|
13405 |
|
13406 |
|
13407 | (accessor: (data: any) => number): AreaRadial;
|
13408 | (accessor: (data: any, index: number) => number): AreaRadial;
|
13409 | |
13410 |
|
13411 |
|
13412 |
|
13413 |
|
13414 | (cnst: number): AreaRadial;
|
13415 | };
|
13416 | |
13417 |
|
13418 |
|
13419 | y: {
|
13420 | |
13421 |
|
13422 |
|
13423 | (): (data: any, index ?: number) => number;
|
13424 | |
13425 |
|
13426 |
|
13427 |
|
13428 |
|
13429 | (accessor: (data: any) => number): AreaRadial;
|
13430 | (accessor: (data: any, index: number) => number): AreaRadial;
|
13431 | |
13432 |
|
13433 |
|
13434 |
|
13435 |
|
13436 | (cnst: number): AreaRadial;
|
13437 | };
|
13438 | |
13439 |
|
13440 |
|
13441 | y0: {
|
13442 | |
13443 |
|
13444 |
|
13445 | (): (data: any, index ?: number) => number;
|
13446 | |
13447 |
|
13448 |
|
13449 |
|
13450 |
|
13451 | (accessor: (data: any) => number): AreaRadial;
|
13452 | (accessor: (data: any, index: number) => number): AreaRadial;
|
13453 | |
13454 |
|
13455 |
|
13456 |
|
13457 |
|
13458 | (cnst: number): AreaRadial;
|
13459 | };
|
13460 | |
13461 |
|
13462 |
|
13463 | y1: {
|
13464 | |
13465 |
|
13466 |
|
13467 | (): (data: any, index ?: number) => number;
|
13468 | |
13469 |
|
13470 |
|
13471 |
|
13472 |
|
13473 | (accessor: (data: any) => number): AreaRadial;
|
13474 | (accessor: (data: any, index: number) => number): AreaRadial;
|
13475 | |
13476 |
|
13477 |
|
13478 |
|
13479 |
|
13480 | (cnst: number): AreaRadial;
|
13481 | };
|
13482 | |
13483 |
|
13484 |
|
13485 | interpolate: {
|
13486 | |
13487 |
|
13488 |
|
13489 | (): string;
|
13490 | |
13491 |
|
13492 |
|
13493 |
|
13494 |
|
13495 | (interpolate: string): AreaRadial;
|
13496 | };
|
13497 | |
13498 |
|
13499 |
|
13500 | tension: {
|
13501 | |
13502 |
|
13503 |
|
13504 | (): number;
|
13505 | |
13506 |
|
13507 |
|
13508 |
|
13509 |
|
13510 | (tension: number): AreaRadial;
|
13511 | };
|
13512 | |
13513 |
|
13514 |
|
13515 | defined: {
|
13516 | |
13517 |
|
13518 |
|
13519 | (): (data: any) => any;
|
13520 | |
13521 |
|
13522 |
|
13523 |
|
13524 |
|
13525 | (defined: (data: any) => any): AreaRadial;
|
13526 | };
|
13527 | radius: {
|
13528 | (): number;
|
13529 | (radius: number): AreaRadial;
|
13530 | (radius: () => number): AreaRadial;
|
13531 | (radius: (data: any) => number): AreaRadial;
|
13532 | (radius: (data: any, index: number) => number): AreaRadial;
|
13533 | };
|
13534 | innerRadius: {
|
13535 | (): number;
|
13536 | (radius: number): AreaRadial;
|
13537 | (radius: () => number): AreaRadial;
|
13538 | (radius: (data: any) => number): AreaRadial;
|
13539 | (radius: (data: any, index: number) => number): AreaRadial;
|
13540 | };
|
13541 | outerRadius: {
|
13542 | (): number;
|
13543 | (radius: number): AreaRadial;
|
13544 | (radius: () => number): AreaRadial;
|
13545 | (radius: (data: any) => number): AreaRadial;
|
13546 | (radius: (data: any, index: number) => number): AreaRadial;
|
13547 | };
|
13548 | angle: {
|
13549 | (): number;
|
13550 | (angle: number): AreaRadial;
|
13551 | (angle: () => number): AreaRadial;
|
13552 | (angle: (data: any) => number): AreaRadial;
|
13553 | (angle: (data: any, index: number) => number): AreaRadial;
|
13554 | };
|
13555 | startAngle: {
|
13556 | (): number;
|
13557 | (angle: number): AreaRadial;
|
13558 | (angle: () => number): AreaRadial;
|
13559 | (angle: (data: any) => number): AreaRadial;
|
13560 | (angle: (data: any, index: number) => number): AreaRadial;
|
13561 | };
|
13562 | endAngle: {
|
13563 | (): number;
|
13564 | (angle: number): AreaRadial;
|
13565 | (angle: () => number): AreaRadial;
|
13566 | (angle: (data: any) => number): AreaRadial;
|
13567 | (angle: (data: any, index: number) => number): AreaRadial;
|
13568 | };
|
13569 | }
|
13570 |
|
13571 | export interface Chord {
|
13572 | (datum: any, index?: number): string;
|
13573 | radius: {
|
13574 | (): number;
|
13575 | (radius: number): Chord;
|
13576 | (radius: () => number): Chord;
|
13577 | };
|
13578 | startAngle: {
|
13579 | (): number;
|
13580 | (angle: number): Chord;
|
13581 | (angle: () => number): Chord;
|
13582 | };
|
13583 | endAngle: {
|
13584 | (): number;
|
13585 | (angle: number): Chord;
|
13586 | (angle: () => number): Chord;
|
13587 | };
|
13588 | source: {
|
13589 | (): any;
|
13590 | (angle: any): Chord;
|
13591 | (angle: (d: any, i?: number) => any): Chord;
|
13592 | };
|
13593 | target: {
|
13594 | (): any;
|
13595 | (angle: any): Chord;
|
13596 | (angle: (d: any, i?: number) => any): Chord;
|
13597 | };
|
13598 | }
|
13599 |
|
13600 | export interface Diagonal {
|
13601 | (datum: any, index?: number): string;
|
13602 | projection: {
|
13603 | (): (datum: any, index?: number) => number[];
|
13604 | (proj: (datum: any) => number[]): Diagonal;
|
13605 | (proj: (datum: any, index: number) => number[]): Diagonal;
|
13606 | };
|
13607 | source: {
|
13608 | (): (datum: any, index?: number) => any;
|
13609 | (src: (datum: any) => any): Diagonal;
|
13610 | (src: (datum: any, index: number) => any): Diagonal;
|
13611 | (src: any): Diagonal;
|
13612 | };
|
13613 | target: {
|
13614 | (): (datum: any, index?: number) => any;
|
13615 | (target: (d: any) => any): Diagonal;
|
13616 | (target: (d: any, i: number) => any): Diagonal;
|
13617 | (target: any): Diagonal;
|
13618 | };
|
13619 | }
|
13620 | }
|
13621 |
|
13622 |
|
13623 | export module Scale {
|
13624 | export interface ScaleBase {
|
13625 | |
13626 |
|
13627 |
|
13628 | linear(): LinearScale;
|
13629 | |
13630 |
|
13631 |
|
13632 | ordinal(): OrdinalScale;
|
13633 | |
13634 |
|
13635 |
|
13636 | quantize(): QuantizeScale;
|
13637 | |
13638 |
|
13639 |
|
13640 | category10(): OrdinalScale;
|
13641 | |
13642 |
|
13643 |
|
13644 | category20(): OrdinalScale;
|
13645 | |
13646 |
|
13647 |
|
13648 | category20b(): OrdinalScale;
|
13649 | |
13650 |
|
13651 |
|
13652 | category20c(): OrdinalScale;
|
13653 | |
13654 |
|
13655 |
|
13656 | identity(): IdentityScale;
|
13657 | |
13658 |
|
13659 |
|
13660 | log(): LogScale;
|
13661 | |
13662 |
|
13663 |
|
13664 | pow(): PowScale;
|
13665 | |
13666 |
|
13667 |
|
13668 | quantile(): QuantileScale;
|
13669 | |
13670 |
|
13671 |
|
13672 | sqrt(): SqrtScale;
|
13673 | |
13674 |
|
13675 |
|
13676 | threshold(): ThresholdScale;
|
13677 | }
|
13678 |
|
13679 | export interface GenericScale<S> {
|
13680 | (value: any): any;
|
13681 | domain: {
|
13682 | (values: any[]): S;
|
13683 | (): any[];
|
13684 | };
|
13685 | range: {
|
13686 | (values: any[]): S;
|
13687 | (): any[];
|
13688 | };
|
13689 | invertExtent?(y: any): any[];
|
13690 | copy(): S;
|
13691 | }
|
13692 |
|
13693 | export interface Scale extends GenericScale<Scale> { }
|
13694 |
|
13695 | export interface GenericQuantitativeScale<S> extends GenericScale<S> {
|
13696 | |
13697 |
|
13698 |
|
13699 |
|
13700 |
|
13701 | (value: number): number;
|
13702 | |
13703 |
|
13704 |
|
13705 |
|
13706 |
|
13707 | invert(value: number): number;
|
13708 | |
13709 |
|
13710 |
|
13711 |
|
13712 |
|
13713 | rangeRound: (values: any[]) => S;
|
13714 | |
13715 |
|
13716 |
|
13717 | interpolate: {
|
13718 | (): D3.Transition.Interpolate;
|
13719 | (factory: D3.Transition.Interpolate): S;
|
13720 | };
|
13721 | |
13722 |
|
13723 |
|
13724 |
|
13725 |
|
13726 | clamp: {
|
13727 | (): boolean;
|
13728 | (clamp: boolean): S;
|
13729 | }
|
13730 | |
13731 |
|
13732 |
|
13733 |
|
13734 |
|
13735 | nice(count?: number): S;
|
13736 | |
13737 |
|
13738 |
|
13739 |
|
13740 |
|
13741 | ticks(count: number): any[];
|
13742 | |
13743 |
|
13744 |
|
13745 |
|
13746 |
|
13747 | tickFormat(count: number, format?: string): (n: number) => string;
|
13748 | }
|
13749 |
|
13750 | export interface QuantitativeScale extends GenericQuantitativeScale<QuantitativeScale> { }
|
13751 |
|
13752 | export interface LinearScale extends GenericQuantitativeScale<LinearScale> { }
|
13753 |
|
13754 | export interface IdentityScale extends GenericScale<IdentityScale> {
|
13755 | |
13756 |
|
13757 |
|
13758 |
|
13759 |
|
13760 | (value: number): number;
|
13761 | |
13762 |
|
13763 |
|
13764 |
|
13765 |
|
13766 | invert(value: number): number;
|
13767 | |
13768 |
|
13769 |
|
13770 |
|
13771 |
|
13772 | ticks(count: number): any[];
|
13773 | |
13774 |
|
13775 |
|
13776 |
|
13777 |
|
13778 | tickFormat(count: number): (n: number) => string;
|
13779 | }
|
13780 |
|
13781 | export interface SqrtScale extends GenericQuantitativeScale<SqrtScale> { }
|
13782 |
|
13783 | export interface PowScale extends GenericQuantitativeScale<PowScale> { }
|
13784 |
|
13785 | export interface LogScale extends GenericQuantitativeScale<LogScale> { }
|
13786 |
|
13787 | export interface OrdinalScale extends GenericScale<OrdinalScale> {
|
13788 | rangePoints(interval: any[], padding?: number): OrdinalScale;
|
13789 | rangeBands(interval: any[], padding?: number, outerPadding?: number): OrdinalScale;
|
13790 | rangeRoundBands(interval: any[], padding?: number, outerPadding?: number): OrdinalScale;
|
13791 | rangeBand(): number;
|
13792 | rangeExtent(): any[];
|
13793 | }
|
13794 |
|
13795 | export interface QuantizeScale extends GenericScale<QuantizeScale> { }
|
13796 |
|
13797 | export interface ThresholdScale extends GenericScale<ThresholdScale> { }
|
13798 |
|
13799 | export interface QuantileScale extends GenericScale<QuantileScale> {
|
13800 | quantiles(): any[];
|
13801 | }
|
13802 |
|
13803 | export interface TimeScale extends GenericScale<TimeScale> {
|
13804 | (value: Date): number;
|
13805 | invert(value: number): Date;
|
13806 | rangeRound: (values: any[]) => TimeScale;
|
13807 | interpolate: {
|
13808 | (): D3.Transition.Interpolate;
|
13809 | (factory: D3.Transition.InterpolateFactory): TimeScale;
|
13810 | };
|
13811 | clamp(clamp: boolean): TimeScale;
|
13812 | ticks: {
|
13813 | (count: number): any[];
|
13814 | (range: D3.Time.Range, count: number): any[];
|
13815 | };
|
13816 | tickFormat(count: number): (n: number) => string;
|
13817 | nice(count?: number): TimeScale;
|
13818 | }
|
13819 | }
|
13820 |
|
13821 |
|
13822 | export module Behavior {
|
13823 | export interface Behavior{
|
13824 | |
13825 |
|
13826 |
|
13827 | drag(): Drag;
|
13828 | |
13829 |
|
13830 |
|
13831 | zoom(): Zoom;
|
13832 | }
|
13833 |
|
13834 | export interface Zoom {
|
13835 | |
13836 |
|
13837 |
|
13838 |
|
13839 |
|
13840 | (selection: Selection): void;
|
13841 |
|
13842 | |
13843 |
|
13844 |
|
13845 |
|
13846 |
|
13847 |
|
13848 | on: (type: string, listener: (data: any, index?: number) => any) => Zoom;
|
13849 |
|
13850 | |
13851 |
|
13852 |
|
13853 | scale: {
|
13854 | |
13855 |
|
13856 |
|
13857 | (): number;
|
13858 | |
13859 |
|
13860 |
|
13861 |
|
13862 |
|
13863 | (scale: number): Zoom;
|
13864 | };
|
13865 |
|
13866 | |
13867 |
|
13868 |
|
13869 | translate: {
|
13870 | |
13871 |
|
13872 |
|
13873 | (): number[];
|
13874 | |
13875 |
|
13876 |
|
13877 |
|
13878 |
|
13879 | (translate: number[]): Zoom;
|
13880 | };
|
13881 |
|
13882 | |
13883 |
|
13884 |
|
13885 | scaleExtent: {
|
13886 | |
13887 |
|
13888 |
|
13889 | (): number[];
|
13890 | |
13891 |
|
13892 |
|
13893 |
|
13894 |
|
13895 | (extent: number[]): Zoom;
|
13896 | };
|
13897 |
|
13898 | |
13899 |
|
13900 |
|
13901 | x: {
|
13902 | |
13903 |
|
13904 |
|
13905 | (): D3.Scale.Scale;
|
13906 | |
13907 |
|
13908 |
|
13909 |
|
13910 |
|
13911 | (x: D3.Scale.Scale): Zoom;
|
13912 |
|
13913 | };
|
13914 |
|
13915 | |
13916 |
|
13917 |
|
13918 | y: {
|
13919 | |
13920 |
|
13921 |
|
13922 | (): D3.Scale.Scale;
|
13923 | |
13924 |
|
13925 |
|
13926 |
|
13927 |
|
13928 | (y: D3.Scale.Scale): Zoom;
|
13929 | };
|
13930 | }
|
13931 |
|
13932 | export interface Drag {
|
13933 | |
13934 |
|
13935 |
|
13936 | (): any;
|
13937 |
|
13938 | |
13939 |
|
13940 |
|
13941 |
|
13942 |
|
13943 |
|
13944 | on: (type: string, listener: (data: any, index?: number) => any) => Drag;
|
13945 |
|
13946 | |
13947 |
|
13948 |
|
13949 | origin: {
|
13950 | |
13951 |
|
13952 |
|
13953 | (): any;
|
13954 | |
13955 |
|
13956 |
|
13957 |
|
13958 |
|
13959 | (origin?: any): Drag;
|
13960 | };
|
13961 | }
|
13962 | }
|
13963 |
|
13964 |
|
13965 | export module Geo {
|
13966 | export interface Geo {
|
13967 | |
13968 |
|
13969 |
|
13970 | path(): Path;
|
13971 | |
13972 |
|
13973 |
|
13974 | circle(): Circle;
|
13975 | |
13976 |
|
13977 |
|
13978 | area(feature: any): number;
|
13979 | |
13980 |
|
13981 |
|
13982 | bounds(feature: any): number[][];
|
13983 | |
13984 |
|
13985 |
|
13986 | centroid(feature: any): number[];
|
13987 | |
13988 |
|
13989 |
|
13990 | distance(a: number[], b: number[]): number;
|
13991 | |
13992 |
|
13993 |
|
13994 | interpolate(a: number[], b: number[]): (t: number) => number[];
|
13995 | |
13996 |
|
13997 |
|
13998 | length(feature: any): number;
|
13999 | |
14000 |
|
14001 |
|
14002 | projection(raw: RawProjection): Projection;
|
14003 | |
14004 |
|
14005 |
|
14006 | projectionMutator(rawFactory: RawProjection): ProjectionMutator;
|
14007 | |
14008 |
|
14009 |
|
14010 | albers(): Projection;
|
14011 | |
14012 |
|
14013 |
|
14014 | albersUsa(): Projection;
|
14015 | |
14016 |
|
14017 |
|
14018 | azimuthalEqualArea: {
|
14019 | (): Projection;
|
14020 | raw: RawProjection;
|
14021 | }
|
14022 | |
14023 |
|
14024 |
|
14025 | azimuthalEquidistant: {
|
14026 | (): Projection;
|
14027 | raw: RawProjection;
|
14028 | }
|
14029 | |
14030 |
|
14031 |
|
14032 | conicConformal: {
|
14033 | (): Projection;
|
14034 | raw(phi1:number, phi2:number): RawProjection;
|
14035 | }
|
14036 | |
14037 |
|
14038 |
|
14039 | conicEquidistant: {
|
14040 | (): Projection;
|
14041 | raw(phi1:number, phi2:number): RawProjection;
|
14042 | }
|
14043 | |
14044 |
|
14045 |
|
14046 | conicEqualArea: {
|
14047 | (): Projection;
|
14048 | raw(phi1:number, phi2:number): RawProjection;
|
14049 | }
|
14050 | |
14051 |
|
14052 |
|
14053 | equirectangular: {
|
14054 | (): Projection;
|
14055 | raw: RawProjection;
|
14056 | }
|
14057 | |
14058 |
|
14059 |
|
14060 | gnomonic: {
|
14061 | (): Projection;
|
14062 | raw: RawProjection;
|
14063 | }
|
14064 | |
14065 |
|
14066 |
|
14067 | mercator: {
|
14068 | (): Projection;
|
14069 | raw: RawProjection;
|
14070 | }
|
14071 | |
14072 |
|
14073 |
|
14074 | orthographic: {
|
14075 | (): Projection;
|
14076 | raw: RawProjection;
|
14077 | }
|
14078 | |
14079 |
|
14080 |
|
14081 | stereographic: {
|
14082 | (): Projection;
|
14083 | raw: RawProjection;
|
14084 | }
|
14085 | |
14086 |
|
14087 |
|
14088 | transverseMercator: {
|
14089 | (): Projection;
|
14090 | raw: RawProjection;
|
14091 | }
|
14092 | |
14093 |
|
14094 |
|
14095 | stream(object: GeoJSON, listener: Stream): void;
|
14096 | |
14097 |
|
14098 |
|
14099 | graticule(): Graticule;
|
14100 | |
14101 |
|
14102 |
|
14103 | greatArc(): GreatArc;
|
14104 | |
14105 |
|
14106 |
|
14107 | rotation(rotation: number[]): Rotation;
|
14108 | }
|
14109 |
|
14110 | export interface Path {
|
14111 | |
14112 |
|
14113 |
|
14114 | (feature: any, index?: any): string;
|
14115 | |
14116 |
|
14117 |
|
14118 | projection: {
|
14119 | |
14120 |
|
14121 |
|
14122 | (): Projection;
|
14123 | |
14124 |
|
14125 |
|
14126 | (projection: Projection): Path;
|
14127 | }
|
14128 | |
14129 |
|
14130 |
|
14131 | context: {
|
14132 | |
14133 |
|
14134 |
|
14135 | (): string;
|
14136 | |
14137 |
|
14138 |
|
14139 | (context: Context): Path;
|
14140 | }
|
14141 | |
14142 |
|
14143 |
|
14144 | area(feature: any): any;
|
14145 | |
14146 |
|
14147 |
|
14148 | centroid(feature: any): any;
|
14149 | |
14150 |
|
14151 |
|
14152 | bounds(feature: any): any;
|
14153 | |
14154 |
|
14155 |
|
14156 | pointRadius: {
|
14157 | |
14158 |
|
14159 |
|
14160 | (): number;
|
14161 | |
14162 |
|
14163 |
|
14164 | (radius: number): Path;
|
14165 | |
14166 |
|
14167 |
|
14168 | (radius: (feature: any, index: number) => number): Path;
|
14169 | }
|
14170 | }
|
14171 |
|
14172 | export interface Context {
|
14173 | beginPath(): any;
|
14174 | moveTo(x: number, y: number): any;
|
14175 | lineTo(x: number, y: number): any;
|
14176 | arc(x: number, y: number, radius: number, startAngle: number, endAngle: number): any;
|
14177 | closePath(): any;
|
14178 | }
|
14179 |
|
14180 | export interface Circle {
|
14181 | (...args: any[]): GeoJSON;
|
14182 | origin: {
|
14183 | (): number[];
|
14184 | (origin: number[]): Circle;
|
14185 | (origin: (...args: any[]) => number[]): Circle;
|
14186 | }
|
14187 | angle: {
|
14188 | (): number;
|
14189 | (angle: number): Circle;
|
14190 | }
|
14191 | precision: {
|
14192 | (): number;
|
14193 | (precision: number): Circle;
|
14194 | }
|
14195 | }
|
14196 |
|
14197 | export interface Graticule{
|
14198 | (): GeoJSON;
|
14199 | lines(): GeoJSON[];
|
14200 | outline(): GeoJSON;
|
14201 | extent: {
|
14202 | (): number[][];
|
14203 | (extent: number[][]): Graticule;
|
14204 | }
|
14205 | minorExtent: {
|
14206 | (): number[][];
|
14207 | (extent: number[][]): Graticule;
|
14208 | }
|
14209 | majorExtent: {
|
14210 | (): number[][];
|
14211 | (extent: number[][]): Graticule;
|
14212 | }
|
14213 | step: {
|
14214 | (): number[][];
|
14215 | (extent: number[][]): Graticule;
|
14216 | }
|
14217 | minorStep: {
|
14218 | (): number[][];
|
14219 | (extent: number[][]): Graticule;
|
14220 | }
|
14221 | majorStep: {
|
14222 | (): number[][];
|
14223 | (extent: number[][]): Graticule;
|
14224 | }
|
14225 | precision: {
|
14226 | (): number;
|
14227 | (precision: number): Graticule;
|
14228 | }
|
14229 | }
|
14230 |
|
14231 | export interface GreatArc {
|
14232 | (): GeoJSON;
|
14233 | distance(): number;
|
14234 | source: {
|
14235 | (): any;
|
14236 | (source: any): GreatArc;
|
14237 | }
|
14238 | target: {
|
14239 | (): any;
|
14240 | (target: any): GreatArc;
|
14241 | }
|
14242 | precision: {
|
14243 | (): number;
|
14244 | (precision: number): GreatArc;
|
14245 | }
|
14246 | }
|
14247 |
|
14248 | export interface GeoJSON {
|
14249 | coordinates: number[][];
|
14250 | type: string;
|
14251 | }
|
14252 |
|
14253 | export interface RawProjection {
|
14254 | (lambda: number, phi: number): number[];
|
14255 | invert?(x: number, y: number): number[];
|
14256 | }
|
14257 |
|
14258 | export interface Projection {
|
14259 | (coordinates: number[]): number[];
|
14260 | invert?(point: number[]): number[];
|
14261 | rotate: {
|
14262 | (): number[];
|
14263 | (rotation: number[]): Projection;
|
14264 | };
|
14265 | center: {
|
14266 | (): number[];
|
14267 | (location: number[]): Projection;
|
14268 | };
|
14269 | parallels: {
|
14270 | (): number[];
|
14271 | (location: number[]): Projection;
|
14272 | };
|
14273 | translate: {
|
14274 | (): number[];
|
14275 | (point: number[]): Projection;
|
14276 | };
|
14277 | scale: {
|
14278 | (): number;
|
14279 | (scale: number): Projection;
|
14280 | };
|
14281 | clipAngle: {
|
14282 | (): number;
|
14283 | (angle: number): Projection;
|
14284 | };
|
14285 | clipExtent: {
|
14286 | (): number[][];
|
14287 | (extent: number[][]): Projection;
|
14288 | };
|
14289 | precision: {
|
14290 | (): number;
|
14291 | (precision: number): Projection;
|
14292 | };
|
14293 | stream(listener?: Stream): Stream;
|
14294 | }
|
14295 |
|
14296 | export interface Stream {
|
14297 | point(x: number, y: number, z?: number): void;
|
14298 | lineStart(): void;
|
14299 | lineEnd(): void;
|
14300 | polygonStart(): void;
|
14301 | polygonEnd(): void;
|
14302 | sphere(): void;
|
14303 | }
|
14304 |
|
14305 | export interface Rotation extends Array<any> {
|
14306 | (location: number[]): Rotation;
|
14307 | invert(location: number[]): Rotation;
|
14308 | }
|
14309 |
|
14310 | export interface ProjectionMutator {
|
14311 | (lambda: number, phi: number): Projection;
|
14312 | }
|
14313 | }
|
14314 |
|
14315 |
|
14316 | export module Geom {
|
14317 | export interface Geom {
|
14318 | voronoi<T>(): Voronoi<T>;
|
14319 | |
14320 |
|
14321 |
|
14322 | voronoi(vertices: Vertice[]): Polygon[];
|
14323 | |
14324 |
|
14325 |
|
14326 | delaunay(vertices?: Vertice[]): Polygon[];
|
14327 | |
14328 |
|
14329 |
|
14330 | quadtree(): QuadtreeFactory;
|
14331 | |
14332 |
|
14333 |
|
14334 | quadtree(points: Point[], x1: number, y1: number, x2: number, y2: number): Quadtree;
|
14335 | |
14336 |
|
14337 |
|
14338 | quadtree(points: Point[], width: number, height: number): Quadtree;
|
14339 | |
14340 |
|
14341 |
|
14342 | polygon(vertices:Vertice[]): Polygon;
|
14343 | |
14344 |
|
14345 |
|
14346 | hull(): Hull;
|
14347 |
|
14348 | hull(vertices:Vertice[]): Vertice[];
|
14349 | }
|
14350 |
|
14351 | export interface Vertice extends Array<number> {
|
14352 | |
14353 |
|
14354 |
|
14355 | angle?: number;
|
14356 | }
|
14357 |
|
14358 | export interface Polygon extends Array<Vertice> {
|
14359 | |
14360 |
|
14361 |
|
14362 | area(): number;
|
14363 | |
14364 |
|
14365 |
|
14366 | centroid(): number[];
|
14367 | |
14368 |
|
14369 |
|
14370 | clip(subject: Polygon): Polygon;
|
14371 | }
|
14372 |
|
14373 | export interface QuadtreeFactory {
|
14374 | |
14375 |
|
14376 |
|
14377 | (): Quadtree;
|
14378 | |
14379 |
|
14380 |
|
14381 | (points: Point[], x1: number, y1: number, x2: number, y2: number): Quadtree;
|
14382 | |
14383 |
|
14384 |
|
14385 | (points: Point[], width: number, height: number): Quadtree;
|
14386 |
|
14387 | x: {
|
14388 | (): (d: any) => any;
|
14389 | (accesor: (d: any) => any): QuadtreeFactory;
|
14390 |
|
14391 | }
|
14392 | y: {
|
14393 | (): (d: any) => any;
|
14394 | (accesor: (d: any) => any): QuadtreeFactory;
|
14395 |
|
14396 | }
|
14397 | size(): number[];
|
14398 | size(size: number[]): QuadtreeFactory;
|
14399 | extent(): number[][];
|
14400 | extent(points: number[][]): QuadtreeFactory;
|
14401 | }
|
14402 |
|
14403 | export interface Quadtree {
|
14404 | |
14405 |
|
14406 |
|
14407 | add(point: Point): void;
|
14408 | visit(callback: any): void;
|
14409 | }
|
14410 |
|
14411 | export interface Point {
|
14412 | x: number;
|
14413 | y: number;
|
14414 | }
|
14415 |
|
14416 | export interface Voronoi<T> {
|
14417 | |
14418 |
|
14419 |
|
14420 | (data: T[]): Polygon[];
|
14421 | |
14422 |
|
14423 |
|
14424 | links(data: T[]): Layout.GraphLink[];
|
14425 | |
14426 |
|
14427 |
|
14428 | triangles(data: T[]): number[][];
|
14429 | x: {
|
14430 | |
14431 |
|
14432 |
|
14433 | (): (data: T, index ?: number) => number;
|
14434 |
|
14435 | |
14436 |
|
14437 |
|
14438 |
|
14439 |
|
14440 | (accessor: (data: T, index: number) => number): Voronoi<T>;
|
14441 |
|
14442 | |
14443 |
|
14444 |
|
14445 |
|
14446 |
|
14447 | (constant: number): Voronoi<T>;
|
14448 | }
|
14449 | y: {
|
14450 | |
14451 |
|
14452 |
|
14453 | (): (data: T, index ?: number) => number;
|
14454 |
|
14455 | |
14456 |
|
14457 |
|
14458 |
|
14459 |
|
14460 | (accessor: (data: T, index: number) => number): Voronoi<T>;
|
14461 |
|
14462 | |
14463 |
|
14464 |
|
14465 |
|
14466 |
|
14467 | (constant: number): Voronoi<T>;
|
14468 | }
|
14469 | clipExtent: {
|
14470 | |
14471 |
|
14472 |
|
14473 | (): number[][];
|
14474 | |
14475 |
|
14476 |
|
14477 |
|
14478 |
|
14479 | (extent: number[][]): Voronoi<T>;
|
14480 | }
|
14481 | size: {
|
14482 | |
14483 |
|
14484 |
|
14485 | (): number[];
|
14486 | |
14487 |
|
14488 |
|
14489 |
|
14490 |
|
14491 | (size: number[]): Voronoi<T>;
|
14492 | }
|
14493 | }
|
14494 |
|
14495 | export interface Hull {
|
14496 | (vertices: Vertice[]): Vertice[];
|
14497 | x: {
|
14498 | (): (d: any) => any;
|
14499 | (accesor: (d: any) => any): any;
|
14500 | }
|
14501 | y: {
|
14502 | (): (d: any) => any;
|
14503 | (accesor: (d: any) => any): any;
|
14504 | }
|
14505 | }
|
14506 | }
|
14507 |
|
14508 | export interface D3Element extends Element {
|
14509 | getComputedTextLength: () => number;
|
14510 | getTotalLength: () => number;
|
14511 | getPointAtLength: (l: number) => SVGPoint;
|
14512 | }
|
14513 | }
|
14514 |
|
14515 | declare var d3: D3.Base;
|
14516 |
|
14517 | declare module "d3" {
|
14518 | export = d3;
|
14519 | }
|