Template Upload
This commit is contained in:
103
node_modules/rxjs/CoreOperators.d.ts
generated
vendored
Normal file
103
node_modules/rxjs/CoreOperators.d.ts
generated
vendored
Normal file
@ -0,0 +1,103 @@
|
||||
import { Observable } from './Observable';
|
||||
import { Scheduler } from './Scheduler';
|
||||
import { ConnectableObservable } from './observable/ConnectableObservable';
|
||||
import { Subject } from './Subject';
|
||||
import { GroupedObservable } from './operator/groupBy';
|
||||
import { Notification } from './Notification';
|
||||
import { CombineLatestSignature } from './operator/combineLatest';
|
||||
import { WithLatestFromSignature } from './operator/withLatestFrom';
|
||||
import { ZipSignature } from './operator/zip';
|
||||
import { BufferSignature } from './operator/buffer';
|
||||
import { BufferCountSignature } from './operator/bufferCount';
|
||||
import { BufferTimeSignature } from './operator/bufferTime';
|
||||
import { BufferToggleSignature } from './operator/bufferToggle';
|
||||
import { BufferWhenSignature } from './operator/bufferWhen';
|
||||
import { WindowSignature } from './operator/window';
|
||||
import { WindowCountSignature } from './operator/windowCount';
|
||||
import { WindowTimeSignature } from './operator/windowTime';
|
||||
import { WindowToggleSignature } from './operator/windowToggle';
|
||||
import { WindowWhenSignature } from './operator/windowWhen';
|
||||
export interface CoreOperators<T> {
|
||||
buffer: BufferSignature<T>;
|
||||
bufferCount: BufferCountSignature<T>;
|
||||
bufferTime: BufferTimeSignature<T>;
|
||||
bufferToggle: BufferToggleSignature<T>;
|
||||
bufferWhen: BufferWhenSignature<T>;
|
||||
catch?: (selector: (err: any, source: Observable<T>, caught: Observable<any>) => Observable<any>) => Observable<T>;
|
||||
combineAll?: <R>(project?: (...values: Array<any>) => R) => Observable<R>;
|
||||
combineLatest: CombineLatestSignature<T>;
|
||||
concat?: <R>(...observables: (Observable<any> | Scheduler)[]) => Observable<R>;
|
||||
concatAll?: () => Observable<T>;
|
||||
concatMap?: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
concatMapTo?: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
count?: (predicate?: (value: T, index: number, source: Observable<T>) => boolean) => Observable<number>;
|
||||
dematerialize?: () => Observable<any>;
|
||||
debounce?: (durationSelector: (value: T) => Observable<any> | Promise<any>) => Observable<T>;
|
||||
debounceTime?: <R>(dueTime: number, scheduler?: Scheduler) => Observable<R>;
|
||||
defaultIfEmpty?: <R>(defaultValue?: T | R) => Observable<T> | Observable<R>;
|
||||
delay?: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
delayWhen?: (delayDurationSelector: (value: T) => Observable<any>, subscriptionDelay?: Observable<any>) => Observable<T>;
|
||||
distinctUntilChanged?: (compare?: (x: T, y: T) => boolean) => Observable<T>;
|
||||
do?: (next?: (x: T) => void, error?: (e: any) => void, complete?: () => void) => Observable<T>;
|
||||
expand?: <R>(project: (x: T, ix: number) => Observable<R>, concurrent: number, scheduler: Scheduler) => Observable<R>;
|
||||
filter?: (predicate: (x: T) => boolean, ix?: number, thisArg?: any) => Observable<T>;
|
||||
finally?: (finallySelector: () => void) => Observable<T>;
|
||||
first?: <R>(predicate?: (value: T, index: number, source: Observable<T>) => boolean, resultSelector?: (value: T, index: number) => R, defaultValue?: any) => Observable<T> | Observable<R>;
|
||||
flatMap?: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
flatMapTo?: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
groupBy?: <K, R>(keySelector: (value: T) => string, elementSelector?: (value: T) => R, durationSelector?: (group: GroupedObservable<K, R>) => Observable<any>) => Observable<GroupedObservable<K, R>>;
|
||||
ignoreElements?: () => Observable<T>;
|
||||
inspect?: (durationSelector: (value: T) => Observable<any> | Promise<any>) => Observable<T>;
|
||||
inspectTime?: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
last?: <R>(predicate?: (value: T, index: number) => boolean, resultSelector?: (value: T, index: number) => R, defaultValue?: any) => Observable<T> | Observable<R>;
|
||||
every?: (predicate: (value: T, index: number) => boolean, thisArg?: any) => Observable<T>;
|
||||
map?: <R>(project: (x: T, ix?: number) => R, thisArg?: any) => Observable<R>;
|
||||
mapTo?: <R>(value: R) => Observable<R>;
|
||||
materialize?: () => Observable<Notification<T>>;
|
||||
merge?: (...observables: any[]) => Observable<any>;
|
||||
mergeAll?: (concurrent?: number) => Observable<T>;
|
||||
mergeMap?: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
mergeMapTo?: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
multicast?: (subjectOrSubjectFactory: Subject<T> | (() => Subject<T>)) => ConnectableObservable<T>;
|
||||
observeOn?: (scheduler: Scheduler, delay?: number) => Observable<T>;
|
||||
partition?: (predicate: (x: T) => boolean) => Observable<T>[];
|
||||
publish?: () => ConnectableObservable<T>;
|
||||
publishBehavior?: (value: any) => ConnectableObservable<T>;
|
||||
publishReplay?: (bufferSize?: number, windowTime?: number, scheduler?: Scheduler) => ConnectableObservable<T>;
|
||||
publishLast?: () => ConnectableObservable<T>;
|
||||
reduce?: <R>(project: (acc: R, x: T) => R, seed?: R) => Observable<R>;
|
||||
repeat?: (count?: number) => Observable<T>;
|
||||
retry?: (count?: number) => Observable<T>;
|
||||
retryWhen?: (notifier: (errors: Observable<any>) => Observable<any>) => Observable<T>;
|
||||
sample?: (notifier: Observable<any>) => Observable<T>;
|
||||
sampleTime?: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
scan?: <R>(project: (acc: R, x: T) => R, acc?: R) => Observable<R>;
|
||||
share?: () => Observable<T>;
|
||||
single?: (predicate?: (value: T, index: number) => boolean) => Observable<T>;
|
||||
skip?: (count: number) => Observable<T>;
|
||||
skipUntil?: (notifier: Observable<any>) => Observable<T>;
|
||||
skipWhile?: (predicate: (x: T, index: number) => boolean) => Observable<T>;
|
||||
startWith?: (x: T) => Observable<T>;
|
||||
subscribeOn?: (scheduler: Scheduler, delay?: number) => Observable<T>;
|
||||
switch?: () => Observable<T>;
|
||||
switchMap?: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
switchMapTo?: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
take?: (count: number) => Observable<T>;
|
||||
takeLast?: (count: number) => Observable<T>;
|
||||
takeUntil?: (notifier: Observable<any>) => Observable<T>;
|
||||
takeWhile?: (predicate: (value: T, index: number) => boolean) => Observable<T>;
|
||||
throttle?: (durationSelector: (value: T) => Observable<any> | Promise<any>) => Observable<T>;
|
||||
throttleTime?: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
timeout?: (due: number | Date, errorToSend?: any, scheduler?: Scheduler) => Observable<T>;
|
||||
timeoutWith?: <R>(due: number | Date, withObservable: Observable<R>, scheduler?: Scheduler) => Observable<T> | Observable<R>;
|
||||
toArray?: () => Observable<T[]>;
|
||||
toPromise?: (PromiseCtor: typeof Promise) => Promise<T>;
|
||||
window: WindowSignature<T>;
|
||||
windowCount: WindowCountSignature<T>;
|
||||
windowTime: WindowTimeSignature<T>;
|
||||
windowToggle: WindowToggleSignature<T>;
|
||||
windowWhen: WindowWhenSignature<T>;
|
||||
withLatestFrom: WithLatestFromSignature<T>;
|
||||
zip: ZipSignature<T>;
|
||||
zipAll?: <R>(project?: (...values: Array<any>) => R) => Observable<R>;
|
||||
}
|
2
node_modules/rxjs/CoreOperators.js
generated
vendored
Normal file
2
node_modules/rxjs/CoreOperators.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
"use strict";
|
||||
//# sourceMappingURL=CoreOperators.js.map
|
1
node_modules/rxjs/CoreOperators.js.map
generated
vendored
Normal file
1
node_modules/rxjs/CoreOperators.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"CoreOperators.js","sourceRoot":"","sources":["../../src/CoreOperators.ts"],"names":[],"mappings":""}
|
12
node_modules/rxjs/InnerSubscriber.d.ts
generated
vendored
Normal file
12
node_modules/rxjs/InnerSubscriber.d.ts
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { OuterSubscriber } from './OuterSubscriber';
|
||||
export declare class InnerSubscriber<T, R> extends Subscriber<R> {
|
||||
private parent;
|
||||
private outerValue;
|
||||
private outerIndex;
|
||||
private index;
|
||||
constructor(parent: OuterSubscriber<T, R>, outerValue: T, outerIndex: number);
|
||||
protected _next(value: R): void;
|
||||
protected _error(error: any): void;
|
||||
protected _complete(): void;
|
||||
}
|
31
node_modules/rxjs/InnerSubscriber.js
generated
vendored
Normal file
31
node_modules/rxjs/InnerSubscriber.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
var InnerSubscriber = (function (_super) {
|
||||
__extends(InnerSubscriber, _super);
|
||||
function InnerSubscriber(parent, outerValue, outerIndex) {
|
||||
_super.call(this);
|
||||
this.parent = parent;
|
||||
this.outerValue = outerValue;
|
||||
this.outerIndex = outerIndex;
|
||||
this.index = 0;
|
||||
}
|
||||
InnerSubscriber.prototype._next = function (value) {
|
||||
this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
|
||||
};
|
||||
InnerSubscriber.prototype._error = function (error) {
|
||||
this.parent.notifyError(error, this);
|
||||
this.unsubscribe();
|
||||
};
|
||||
InnerSubscriber.prototype._complete = function () {
|
||||
this.parent.notifyComplete(this);
|
||||
this.unsubscribe();
|
||||
};
|
||||
return InnerSubscriber;
|
||||
}(Subscriber_1.Subscriber));
|
||||
exports.InnerSubscriber = InnerSubscriber;
|
||||
//# sourceMappingURL=InnerSubscriber.js.map
|
1
node_modules/rxjs/InnerSubscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/InnerSubscriber.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"InnerSubscriber.js","sourceRoot":"","sources":["../../src/InnerSubscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAAyB,cAAc,CAAC,CAAA;AAGxC;IAA2C,mCAAa;IAGtD,yBAAoB,MAA6B,EAAU,UAAa,EAAU,UAAkB;QAClG,iBAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAuB;QAAU,eAAU,GAAV,UAAU,CAAG;QAAU,eAAU,GAAV,UAAU,CAAQ;QAF5F,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,+BAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;IAES,gCAAM,GAAhB,UAAiB,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,mCAAS,GAAnB;QACE,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IACH,sBAAC;AAAD,CAAC,AApBD,CAA2C,uBAAU,GAoBpD;AApBY,uBAAe,kBAoB3B,CAAA"}
|
201
node_modules/rxjs/LICENSE.txt
generated
vendored
Normal file
201
node_modules/rxjs/LICENSE.txt
generated
vendored
Normal file
@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2015-2016 Netflix, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
18
node_modules/rxjs/Notification.d.ts
generated
vendored
Normal file
18
node_modules/rxjs/Notification.d.ts
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
import { PartialObserver } from './Observer';
|
||||
import { Observable } from './Observable';
|
||||
export declare class Notification<T> {
|
||||
kind: string;
|
||||
value: T;
|
||||
exception: any;
|
||||
hasValue: boolean;
|
||||
constructor(kind: string, value?: T, exception?: any);
|
||||
observe(observer: PartialObserver<T>): any;
|
||||
do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any;
|
||||
accept(nextOrObserver: PartialObserver<T> | ((value: T) => void), error?: (err: any) => void, complete?: () => void): any;
|
||||
toObservable(): Observable<T>;
|
||||
private static completeNotification;
|
||||
private static undefinedValueNotification;
|
||||
static createNext<T>(value: T): Notification<T>;
|
||||
static createError<T>(err?: any): Notification<T>;
|
||||
static createComplete(): Notification<any>;
|
||||
}
|
67
node_modules/rxjs/Notification.js
generated
vendored
Normal file
67
node_modules/rxjs/Notification.js
generated
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('./Observable');
|
||||
var Notification = (function () {
|
||||
function Notification(kind, value, exception) {
|
||||
this.kind = kind;
|
||||
this.value = value;
|
||||
this.exception = exception;
|
||||
this.hasValue = kind === 'N';
|
||||
}
|
||||
Notification.prototype.observe = function (observer) {
|
||||
switch (this.kind) {
|
||||
case 'N':
|
||||
return observer.next && observer.next(this.value);
|
||||
case 'E':
|
||||
return observer.error && observer.error(this.exception);
|
||||
case 'C':
|
||||
return observer.complete && observer.complete();
|
||||
}
|
||||
};
|
||||
Notification.prototype.do = function (next, error, complete) {
|
||||
var kind = this.kind;
|
||||
switch (kind) {
|
||||
case 'N':
|
||||
return next && next(this.value);
|
||||
case 'E':
|
||||
return error && error(this.exception);
|
||||
case 'C':
|
||||
return complete && complete();
|
||||
}
|
||||
};
|
||||
Notification.prototype.accept = function (nextOrObserver, error, complete) {
|
||||
if (nextOrObserver && typeof nextOrObserver.next === 'function') {
|
||||
return this.observe(nextOrObserver);
|
||||
}
|
||||
else {
|
||||
return this.do(nextOrObserver, error, complete);
|
||||
}
|
||||
};
|
||||
Notification.prototype.toObservable = function () {
|
||||
var kind = this.kind;
|
||||
switch (kind) {
|
||||
case 'N':
|
||||
return Observable_1.Observable.of(this.value);
|
||||
case 'E':
|
||||
return Observable_1.Observable.throw(this.exception);
|
||||
case 'C':
|
||||
return Observable_1.Observable.empty();
|
||||
}
|
||||
};
|
||||
Notification.createNext = function (value) {
|
||||
if (typeof value !== 'undefined') {
|
||||
return new Notification('N', value);
|
||||
}
|
||||
return this.undefinedValueNotification;
|
||||
};
|
||||
Notification.createError = function (err) {
|
||||
return new Notification('E', undefined, err);
|
||||
};
|
||||
Notification.createComplete = function () {
|
||||
return this.completeNotification;
|
||||
};
|
||||
Notification.completeNotification = new Notification('C');
|
||||
Notification.undefinedValueNotification = new Notification('N', undefined);
|
||||
return Notification;
|
||||
}());
|
||||
exports.Notification = Notification;
|
||||
//# sourceMappingURL=Notification.js.map
|
1
node_modules/rxjs/Notification.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Notification.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../src/Notification.ts"],"names":[],"mappings":";AACA,2BAAyB,cAAc,CAAC,CAAA;AAExC;IAGE,sBAAmB,IAAY,EAAS,KAAS,EAAS,SAAe;QAAtD,SAAI,GAAJ,IAAI,CAAQ;QA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,0 +1,215 @@
|
||||
import { PartialObserver } from './Observer';
|
||||
import { Operator } from './Operator';
|
||||
import { Scheduler } from './Scheduler';
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { Subscription } from './Subscription';
|
||||
import { CoreOperators } from './CoreOperators';
|
||||
import { GroupedObservable } from './operator/groupBy';
|
||||
import { ConnectableObservable } from './observable/ConnectableObservable';
|
||||
import { Subject } from './Subject';
|
||||
import { Notification } from './Notification';
|
||||
import { combineLatestStatic } from './operator/combineLatest';
|
||||
import { concatStatic } from './operator/concat';
|
||||
import { mergeStatic } from './operator/merge';
|
||||
import { zipStatic } from './operator/zip';
|
||||
import { BoundCallbackObservable } from './observable/BoundCallbackObservable';
|
||||
import { BoundNodeCallbackObservable } from './observable/BoundNodeCallbackObservable';
|
||||
import { DeferObservable } from './observable/DeferObservable';
|
||||
import { EmptyObservable } from './observable/EmptyObservable';
|
||||
import { ForkJoinObservable } from './observable/ForkJoinObservable';
|
||||
import { FromObservable } from './observable/FromObservable';
|
||||
import { ArrayObservable } from './observable/ArrayObservable';
|
||||
import { FromEventObservable } from './observable/FromEventObservable';
|
||||
import { FromEventPatternObservable } from './observable/FromEventPatternObservable';
|
||||
import { PromiseObservable } from './observable/PromiseObservable';
|
||||
import { IntervalObservable } from './observable/IntervalObservable';
|
||||
import { TimerObservable } from './observable/TimerObservable';
|
||||
import { raceStatic } from './operator/race';
|
||||
import { RangeObservable } from './observable/RangeObservable';
|
||||
import { NeverObservable } from './observable/NeverObservable';
|
||||
import { ErrorObservable } from './observable/ErrorObservable';
|
||||
import { AjaxCreationMethod } from './observable/dom/AjaxObservable';
|
||||
import { WebSocketSubject } from './observable/dom/WebSocketSubject';
|
||||
import { CombineLatestSignature } from './operator/combineLatest';
|
||||
import { WithLatestFromSignature } from './operator/withLatestFrom';
|
||||
import { ZipSignature } from './operator/zip';
|
||||
import { BufferSignature } from './operator/buffer';
|
||||
import { BufferCountSignature } from './operator/bufferCount';
|
||||
import { BufferTimeSignature } from './operator/bufferTime';
|
||||
import { BufferToggleSignature } from './operator/bufferToggle';
|
||||
import { BufferWhenSignature } from './operator/bufferWhen';
|
||||
import { WindowSignature } from './operator/window';
|
||||
import { WindowCountSignature } from './operator/windowCount';
|
||||
import { WindowTimeSignature } from './operator/windowTime';
|
||||
import { WindowToggleSignature } from './operator/windowToggle';
|
||||
import { WindowWhenSignature } from './operator/windowWhen';
|
||||
export declare type ObservableOrPromise<T> = Observable<T> | Promise<T>;
|
||||
export declare type ArrayOrIterator<T> = Iterator<T> | ArrayLike<T>;
|
||||
export declare type ObservableInput<T> = ObservableOrPromise<T> | ArrayOrIterator<T>;
|
||||
/**
|
||||
* A representation of any set of values over any amount of time. This the most basic building block
|
||||
* of RxJS.
|
||||
*
|
||||
* @class Observable<T>
|
||||
*/
|
||||
export declare class Observable<T> implements CoreOperators<T> {
|
||||
_isScalar: boolean;
|
||||
protected source: Observable<any>;
|
||||
protected operator: Operator<any, T>;
|
||||
/**
|
||||
* @constructor
|
||||
* @param {Function} subscribe the function that is
|
||||
* called when the Observable is initially subscribed to. This function is given a Subscriber, to which new values
|
||||
* can be `next`ed, or an `error` method can be called to raise an error, or `complete` can be called to notify
|
||||
* of a successful completion.
|
||||
*/
|
||||
constructor(subscribe?: <R>(subscriber: Subscriber<R>) => Subscription | Function | void);
|
||||
/**
|
||||
* @static
|
||||
* @method create
|
||||
* @param {Function} subscribe? the subscriber function to be passed to the Observable constructor
|
||||
* @returns {Observable} a new cold observable
|
||||
* @description creates a new cold Observable by calling the Observable constructor
|
||||
*/
|
||||
static create: Function;
|
||||
/**
|
||||
* @method lift
|
||||
* @param {Operator} operator the operator defining the operation to take on the observable
|
||||
* @returns {Observable} a new observable with the Operator applied
|
||||
* @description creates a new Observable, with this Observable as the source, and the passed
|
||||
* operator defined as the new observable's operator.
|
||||
*/
|
||||
lift<R>(operator: Operator<T, R>): Observable<R>;
|
||||
/**
|
||||
* @method subscribe
|
||||
* @param {PartialObserver|Function} observerOrNext (optional) either an observer defining all functions to be called,
|
||||
* or the first of three possible handlers, which is the handler for each value emitted from the observable.
|
||||
* @param {Function} error (optional) a handler for a terminal event resulting from an error. If no error handler is provided,
|
||||
* the error will be thrown as unhandled
|
||||
* @param {Function} complete (optional) a handler for a terminal event resulting from successful completion.
|
||||
* @returns {Subscription} a subscription reference to the registered handlers
|
||||
* @description registers handlers for handling emitted values, error and completions from the observable, and
|
||||
* executes the observable's subscriber function, which will take action to set up the underlying data stream
|
||||
*/
|
||||
subscribe(observerOrNext?: PartialObserver<T> | ((value: T) => void), error?: (error: any) => void, complete?: () => void): Subscription;
|
||||
/**
|
||||
* @method forEach
|
||||
* @param {Function} next a handler for each value emitted by the observable
|
||||
* @param {any} [thisArg] a `this` context for the `next` handler function
|
||||
* @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise
|
||||
* @returns {Promise} a promise that either resolves on observable completion or
|
||||
* rejects with the handled error
|
||||
*/
|
||||
forEach(next: (value: T) => void, thisArg: any, PromiseCtor?: typeof Promise): Promise<void>;
|
||||
protected _subscribe(subscriber: Subscriber<any>): Subscription | Function | void;
|
||||
static ajax: AjaxCreationMethod;
|
||||
static bindCallback: typeof BoundCallbackObservable.create;
|
||||
static bindNodeCallback: typeof BoundNodeCallbackObservable.create;
|
||||
static combineLatest: typeof combineLatestStatic;
|
||||
static concat: typeof concatStatic;
|
||||
static defer: typeof DeferObservable.create;
|
||||
static empty: typeof EmptyObservable.create;
|
||||
static forkJoin: typeof ForkJoinObservable.create;
|
||||
static from: typeof FromObservable.create;
|
||||
static fromArray: typeof ArrayObservable.create;
|
||||
static fromEvent: typeof FromEventObservable.create;
|
||||
static fromEventPattern: typeof FromEventPatternObservable.create;
|
||||
static fromPromise: typeof PromiseObservable.create;
|
||||
static interval: typeof IntervalObservable.create;
|
||||
static merge: typeof mergeStatic;
|
||||
static never: typeof NeverObservable.create;
|
||||
static of: typeof ArrayObservable.of;
|
||||
static race: typeof raceStatic;
|
||||
static range: typeof RangeObservable.create;
|
||||
static throw: typeof ErrorObservable.create;
|
||||
static timer: typeof TimerObservable.create;
|
||||
static webSocket: typeof WebSocketSubject.create;
|
||||
static zip: typeof zipStatic;
|
||||
buffer: BufferSignature<T>;
|
||||
bufferCount: BufferCountSignature<T>;
|
||||
bufferTime: BufferTimeSignature<T>;
|
||||
bufferToggle: BufferToggleSignature<T>;
|
||||
bufferWhen: BufferWhenSignature<T>;
|
||||
cache: (bufferSize?: number, windowTime?: number, scheduler?: Scheduler) => Observable<T>;
|
||||
catch: (selector: (err: any, source: Observable<T>, caught: Observable<any>) => Observable<any>) => Observable<T>;
|
||||
combineAll: <R>(project?: (...values: Array<any>) => R) => Observable<R>;
|
||||
combineLatest: CombineLatestSignature<T>;
|
||||
concat: <R>(...observables: (Observable<any> | Scheduler)[]) => Observable<R>;
|
||||
concatAll: () => Observable<any>;
|
||||
concatMap: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
concatMapTo: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
count: (predicate?: (value: T, index: number, source: Observable<T>) => boolean) => Observable<number>;
|
||||
dematerialize: () => Observable<any>;
|
||||
debounce: (durationSelector: (value: T) => Observable<any> | Promise<any>) => Observable<T>;
|
||||
debounceTime: <R>(dueTime: number, scheduler?: Scheduler) => Observable<R>;
|
||||
defaultIfEmpty: <R>(defaultValue?: T | R) => Observable<T> | Observable<R>;
|
||||
delay: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
delayWhen: (delayDurationSelector: (value: T) => Observable<any>, subscriptionDelay?: Observable<any>) => Observable<T>;
|
||||
distinctUntilChanged: (compare?: (x: T, y: T) => boolean) => Observable<T>;
|
||||
do: (next?: (x: T) => void, error?: (e: any) => void, complete?: () => void) => Observable<T>;
|
||||
expand: <R>(project: (x: T, ix: number) => Observable<R>, concurrent: number, scheduler: Scheduler) => Observable<R>;
|
||||
filter: (predicate: (x: T) => boolean, ix?: number, thisArg?: any) => Observable<T>;
|
||||
finally: (finallySelector: () => void) => Observable<T>;
|
||||
first: <R>(predicate?: (value: T, index: number, source: Observable<T>) => boolean, resultSelector?: (value: T, index: number) => R, defaultValue?: any) => Observable<T> | Observable<R>;
|
||||
flatMap: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
flatMapTo: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
groupBy: <K, R>(keySelector: (value: T) => K, elementSelector?: (value: T) => R, durationSelector?: (group: GroupedObservable<K, R>) => Observable<any>) => Observable<GroupedObservable<K, R>>;
|
||||
ignoreElements: () => Observable<T>;
|
||||
inspect: (durationSelector: (value: T) => Observable<any> | Promise<any>) => Observable<T>;
|
||||
inspectTime: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
last: <R>(predicate?: (value: T, index: number) => boolean, resultSelector?: (value: T, index: number) => R, defaultValue?: any) => Observable<T> | Observable<R>;
|
||||
let: <T, R>(func: (selector: Observable<T>) => Observable<R>) => Observable<R>;
|
||||
letBind: <T, R>(func: (selector: Observable<T>) => Observable<R>) => Observable<R>;
|
||||
every: (predicate: (value: T, index: number) => boolean, thisArg?: any) => Observable<T>;
|
||||
map: <R>(project: (x: T, ix?: number) => R, thisArg?: any) => Observable<R>;
|
||||
mapTo: <R>(value: R) => Observable<R>;
|
||||
materialize: () => Observable<Notification<T>>;
|
||||
merge: (...observables: any[]) => Observable<any>;
|
||||
mergeAll: (concurrent?: any) => Observable<any>;
|
||||
mergeMap: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
mergeMapTo: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R, concurrent?: number) => Observable<R>;
|
||||
multicast: (subjectOrSubjectFactory: Subject<T> | (() => Subject<T>)) => ConnectableObservable<T>;
|
||||
observeOn: (scheduler: Scheduler, delay?: number) => Observable<T>;
|
||||
partition: (predicate: (x: T) => boolean) => Observable<T>[];
|
||||
pluck: (...properties: string[]) => Observable<any>;
|
||||
publish: () => ConnectableObservable<T>;
|
||||
publishBehavior: (value: any) => ConnectableObservable<T>;
|
||||
publishReplay: (bufferSize?: number, windowTime?: number, scheduler?: Scheduler) => ConnectableObservable<T>;
|
||||
publishLast: () => ConnectableObservable<T>;
|
||||
race: (...observables: Array<Observable<T>>) => Observable<T>;
|
||||
reduce: <R>(project: (acc: R, x: T) => R, seed?: R) => Observable<R>;
|
||||
repeat: (count?: number) => Observable<T>;
|
||||
retry: (count?: number) => Observable<T>;
|
||||
retryWhen: (notifier: (errors: Observable<any>) => Observable<any>) => Observable<T>;
|
||||
sample: (notifier: Observable<any>) => Observable<T>;
|
||||
sampleTime: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
scan: <R>(accumulator: (acc: R, x: T) => R, seed?: T | R) => Observable<R>;
|
||||
share: () => Observable<T>;
|
||||
single: (predicate?: (value: T, index: number) => boolean) => Observable<T>;
|
||||
skip: (count: number) => Observable<T>;
|
||||
skipUntil: (notifier: Observable<any>) => Observable<T>;
|
||||
skipWhile: (predicate: (x: T, index: number) => boolean) => Observable<T>;
|
||||
startWith: (x: T) => Observable<T>;
|
||||
subscribeOn: (scheduler: Scheduler, delay?: number) => Observable<T>;
|
||||
switch: <R>() => Observable<R>;
|
||||
switchMap: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
switchMapTo: <R>(observable: Observable<any>, projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
take: (count: number) => Observable<T>;
|
||||
takeLast: (count: number) => Observable<T>;
|
||||
takeUntil: (notifier: Observable<any>) => Observable<T>;
|
||||
takeWhile: (predicate: (value: T, index: number) => boolean) => Observable<T>;
|
||||
throttle: (durationSelector: (value: T) => Observable<any> | Promise<any>) => Observable<T>;
|
||||
throttleTime: (delay: number, scheduler?: Scheduler) => Observable<T>;
|
||||
timeout: (due: number | Date, errorToSend?: any, scheduler?: Scheduler) => Observable<T>;
|
||||
timeoutWith: <R>(due: number | Date, withObservable: Observable<R>, scheduler?: Scheduler) => Observable<T> | Observable<R>;
|
||||
toArray: () => Observable<T[]>;
|
||||
toPromise: (PromiseCtor?: typeof Promise) => Promise<T>;
|
||||
window: WindowSignature<T>;
|
||||
windowCount: WindowCountSignature<T>;
|
||||
windowTime: WindowTimeSignature<T>;
|
||||
windowToggle: WindowToggleSignature<T>;
|
||||
windowWhen: WindowWhenSignature<T>;
|
||||
withLatestFrom: WithLatestFromSignature<T>;
|
||||
zip: ZipSignature<T>;
|
||||
zipAll: <R>(project?: (...values: Array<any>) => R) => Observable<R>;
|
||||
}
|
124
node_modules/rxjs/Observable.js
generated
vendored
Normal file
124
node_modules/rxjs/Observable.js
generated
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
"use strict";
|
||||
var root_1 = require('./util/root');
|
||||
var SymbolShim_1 = require('./util/SymbolShim');
|
||||
var toSubscriber_1 = require('./util/toSubscriber');
|
||||
var tryCatch_1 = require('./util/tryCatch');
|
||||
var errorObject_1 = require('./util/errorObject');
|
||||
/**
|
||||
* A representation of any set of values over any amount of time. This the most basic building block
|
||||
* of RxJS.
|
||||
*
|
||||
* @class Observable<T>
|
||||
*/
|
||||
var Observable = (function () {
|
||||
/**
|
||||
* @constructor
|
||||
* @param {Function} subscribe the function that is
|
||||
* called when the Observable is initially subscribed to. This function is given a Subscriber, to which new values
|
||||
* can be `next`ed, or an `error` method can be called to raise an error, or `complete` can be called to notify
|
||||
* of a successful completion.
|
||||
*/
|
||||
function Observable(subscribe) {
|
||||
this._isScalar = false;
|
||||
if (subscribe) {
|
||||
this._subscribe = subscribe;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @method lift
|
||||
* @param {Operator} operator the operator defining the operation to take on the observable
|
||||
* @returns {Observable} a new observable with the Operator applied
|
||||
* @description creates a new Observable, with this Observable as the source, and the passed
|
||||
* operator defined as the new observable's operator.
|
||||
*/
|
||||
Observable.prototype.lift = function (operator) {
|
||||
var observable = new Observable();
|
||||
observable.source = this;
|
||||
observable.operator = operator;
|
||||
return observable;
|
||||
};
|
||||
/**
|
||||
* @method subscribe
|
||||
* @param {PartialObserver|Function} observerOrNext (optional) either an observer defining all functions to be called,
|
||||
* or the first of three possible handlers, which is the handler for each value emitted from the observable.
|
||||
* @param {Function} error (optional) a handler for a terminal event resulting from an error. If no error handler is provided,
|
||||
* the error will be thrown as unhandled
|
||||
* @param {Function} complete (optional) a handler for a terminal event resulting from successful completion.
|
||||
* @returns {Subscription} a subscription reference to the registered handlers
|
||||
* @description registers handlers for handling emitted values, error and completions from the observable, and
|
||||
* executes the observable's subscriber function, which will take action to set up the underlying data stream
|
||||
*/
|
||||
Observable.prototype.subscribe = function (observerOrNext, error, complete) {
|
||||
var operator = this.operator;
|
||||
var subscriber = toSubscriber_1.toSubscriber(observerOrNext, error, complete);
|
||||
if (operator) {
|
||||
subscriber.add(this._subscribe(operator.call(subscriber)));
|
||||
}
|
||||
else {
|
||||
subscriber.add(this._subscribe(subscriber));
|
||||
}
|
||||
if (subscriber.syncErrorThrowable) {
|
||||
subscriber.syncErrorThrowable = false;
|
||||
if (subscriber.syncErrorThrown) {
|
||||
throw subscriber.syncErrorValue;
|
||||
}
|
||||
}
|
||||
return subscriber;
|
||||
};
|
||||
/**
|
||||
* @method forEach
|
||||
* @param {Function} next a handler for each value emitted by the observable
|
||||
* @param {any} [thisArg] a `this` context for the `next` handler function
|
||||
* @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise
|
||||
* @returns {Promise} a promise that either resolves on observable completion or
|
||||
* rejects with the handled error
|
||||
*/
|
||||
Observable.prototype.forEach = function (next, thisArg, PromiseCtor) {
|
||||
if (!PromiseCtor) {
|
||||
if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {
|
||||
PromiseCtor = root_1.root.Rx.config.Promise;
|
||||
}
|
||||
else if (root_1.root.Promise) {
|
||||
PromiseCtor = root_1.root.Promise;
|
||||
}
|
||||
}
|
||||
if (!PromiseCtor) {
|
||||
throw new Error('no Promise impl found');
|
||||
}
|
||||
var source = this;
|
||||
return new PromiseCtor(function (resolve, reject) {
|
||||
source.subscribe(function (value) {
|
||||
var result = tryCatch_1.tryCatch(next).call(thisArg, value);
|
||||
if (result === errorObject_1.errorObject) {
|
||||
reject(errorObject_1.errorObject.e);
|
||||
}
|
||||
}, reject, resolve);
|
||||
});
|
||||
};
|
||||
Observable.prototype._subscribe = function (subscriber) {
|
||||
return this.source.subscribe(subscriber);
|
||||
};
|
||||
/**
|
||||
* @method Symbol.observable
|
||||
* @returns {Observable} this instance of the observable
|
||||
* @description an interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable
|
||||
*/
|
||||
Observable.prototype[SymbolShim_1.SymbolShim.observable] = function () {
|
||||
return this;
|
||||
};
|
||||
// HACK: Since TypeScript inherits static properties too, we have to
|
||||
// fight against TypeScript here so Subject can have a different static create signature
|
||||
/**
|
||||
* @static
|
||||
* @method create
|
||||
* @param {Function} subscribe? the subscriber function to be passed to the Observable constructor
|
||||
* @returns {Observable} a new cold observable
|
||||
* @description creates a new cold Observable by calling the Observable constructor
|
||||
*/
|
||||
Observable.create = function (subscribe) {
|
||||
return new Observable(subscribe);
|
||||
};
|
||||
return Observable;
|
||||
}());
|
||||
exports.Observable = Observable;
|
||||
//# sourceMappingURL=Observable.js.map
|
1
node_modules/rxjs/Observable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Observable.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Observable.js","sourceRoot":"","sources":["../../src/Observable.ts"],"names":[],"mappings":";AAKA,qBAAmB,aAAa,CAAC,CAAA;AAEjC,2BAAyB,mBAAmB,CAAC,CAAA;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A6HD;;;;OAIG;IACH,qBAAC,uBAAU,CAAC,UAAU,CAAC,GAAvB;QACE,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IApOD,oEAAoE;IACpE,wFAAwF;IACxF;;;;;;OAMG;IACI,iBAAM,GAAa,UAAI,SAA4E;QACxG,MAAM,CAAC,IAAI,UAAU,CAAI,SAAS,CAAC,CAAC;IACtC,CAAC,CAAC;IA0NJ,iBAAC;AAAD,CAAC,AAzPD,IAyPC;AAzPY,kBAAU,aAyPtB,CAAA"}
|
26
node_modules/rxjs/Observer.d.ts
generated
vendored
Normal file
26
node_modules/rxjs/Observer.d.ts
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
export interface NextObserver<T> {
|
||||
isUnsubscribed?: boolean;
|
||||
next: (value: T) => void;
|
||||
error?: (err: any) => void;
|
||||
complete?: () => void;
|
||||
}
|
||||
export interface ErrorObserver<T> {
|
||||
isUnsubscribed?: boolean;
|
||||
next?: (value: T) => void;
|
||||
error: (err: any) => void;
|
||||
complete?: () => void;
|
||||
}
|
||||
export interface CompletionObserver<T> {
|
||||
isUnsubscribed?: boolean;
|
||||
next?: (value: T) => void;
|
||||
error?: (err: any) => void;
|
||||
complete: () => void;
|
||||
}
|
||||
export declare type PartialObserver<T> = NextObserver<T> | ErrorObserver<T> | CompletionObserver<T>;
|
||||
export interface Observer<T> {
|
||||
isUnsubscribed?: boolean;
|
||||
next: (value: T) => void;
|
||||
error: (err: any) => void;
|
||||
complete: () => void;
|
||||
}
|
||||
export declare const empty: Observer<any>;
|
8
node_modules/rxjs/Observer.js
generated
vendored
Normal file
8
node_modules/rxjs/Observer.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
exports.empty = {
|
||||
isUnsubscribed: true,
|
||||
next: function (value) { },
|
||||
error: function (err) { throw err; },
|
||||
complete: function () { }
|
||||
};
|
||||
//# sourceMappingURL=Observer.js.map
|
1
node_modules/rxjs/Observer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Observer.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Observer.js","sourceRoot":"","sources":["../../src/Observer.ts"],"names":[],"mappings":";AA8Ba,aAAK,GAAkB;IAClC,cAAc,EAAE,IAAI;IACpB,IAAI,YAAC,KAAU,IAAoB,CAAC;IACpC,KAAK,YAAC,GAAQ,IAAU,MAAM,GAAG,CAAC,CAAC,CAAC;IACpC,QAAQ,gBAAoB,CAAC;CAC9B,CAAC"}
|
4
node_modules/rxjs/Operator.d.ts
generated
vendored
Normal file
4
node_modules/rxjs/Operator.d.ts
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
import { Subscriber } from './Subscriber';
|
||||
export declare class Operator<T, R> {
|
||||
call(subscriber: Subscriber<R>): Subscriber<T>;
|
||||
}
|
12
node_modules/rxjs/Operator.js
generated
vendored
Normal file
12
node_modules/rxjs/Operator.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
var Operator = (function () {
|
||||
function Operator() {
|
||||
}
|
||||
Operator.prototype.call = function (subscriber) {
|
||||
return new Subscriber_1.Subscriber(subscriber);
|
||||
};
|
||||
return Operator;
|
||||
}());
|
||||
exports.Operator = Operator;
|
||||
//# sourceMappingURL=Operator.js.map
|
1
node_modules/rxjs/Operator.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Operator.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Operator.js","sourceRoot":"","sources":["../../src/Operator.ts"],"names":[],"mappings":";AAAA,2BAAyB,cAAc,CAAC,CAAA;AAExC;IAAA;IAIA,CAAC;IAHC,uBAAI,GAAJ,UAAK,UAAyB;QAC5B,MAAM,CAAC,IAAI,uBAAU,CAAI,UAAU,CAAC,CAAC;IACvC,CAAC;IACH,eAAC;AAAD,CAAC,AAJD,IAIC;AAJY,gBAAQ,WAIpB,CAAA"}
|
7
node_modules/rxjs/OuterSubscriber.d.ts
generated
vendored
Normal file
7
node_modules/rxjs/OuterSubscriber.d.ts
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { InnerSubscriber } from './InnerSubscriber';
|
||||
export declare class OuterSubscriber<T, R> extends Subscriber<T> {
|
||||
notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber<T, R>): void;
|
||||
notifyError(error: any, innerSub: InnerSubscriber<T, R>): void;
|
||||
notifyComplete(innerSub: InnerSubscriber<T, R>): void;
|
||||
}
|
25
node_modules/rxjs/OuterSubscriber.js
generated
vendored
Normal file
25
node_modules/rxjs/OuterSubscriber.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
var OuterSubscriber = (function (_super) {
|
||||
__extends(OuterSubscriber, _super);
|
||||
function OuterSubscriber() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.destination.next(innerValue);
|
||||
};
|
||||
OuterSubscriber.prototype.notifyError = function (error, innerSub) {
|
||||
this.destination.error(error);
|
||||
};
|
||||
OuterSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
this.destination.complete();
|
||||
};
|
||||
return OuterSubscriber;
|
||||
}(Subscriber_1.Subscriber));
|
||||
exports.OuterSubscriber = OuterSubscriber;
|
||||
//# sourceMappingURL=OuterSubscriber.js.map
|
1
node_modules/rxjs/OuterSubscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/OuterSubscriber.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"OuterSubscriber.js","sourceRoot":"","sources":["../../src/OuterSubscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAAyB,cAAc,CAAC,CAAA;AAGxC;IAA2C,mCAAa;IAAxD;QAA2C,8BAAa;IAcxD,CAAC;IAbC,oCAAU,GAAV,UAAW,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,qCAAW,GAAX,UAAY,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,wCAAc,GAAd,UAAe,QAA+B;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IACH,sBAAC;AAAD,CAAC,AAdD,CAA2C,uBAAU,GAcpD;AAdY,uBAAe,kBAc3B,CAAA"}
|
183
node_modules/rxjs/README.md
generated
vendored
Normal file
183
node_modules/rxjs/README.md
generated
vendored
Normal file
@ -0,0 +1,183 @@
|
||||
[](https://travis-ci.org/ReactiveX/RxJS)
|
||||
[](https://coveralls.io/github/ReactiveX/RxJS?branch=master)
|
||||
[](http://badge.fury.io/js/%40reactivex%2Frxjs)
|
||||
[](https://gitter.im/Reactive-Extensions/RxJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
[](https://saucelabs.com/u/rxjs5)
|
||||
|
||||
# RxJS 5 (beta)
|
||||
|
||||
Reactive Extensions Library for JavaScript. This is a rewrite of [Reactive-Extensions/RxJS](https://github.com/Reactive-Extensions/RxJS) and is intended to supersede it once this is ready. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface.
|
||||
|
||||
[Apache 2.0 License](LICENSE.txt)
|
||||
|
||||
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
||||
- [Contribution Guidelines](CONTRIBUTING.md)
|
||||
- [Maintainer Guidelines](doc/maintainer-guidelines.md)
|
||||
- [Creating Operators](doc/operator-creation.md)
|
||||
- [Migrating From RxJS 4 to RxJS 5](MIGRATION.md)
|
||||
|
||||
## Important
|
||||
|
||||
By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). Much like traffic laws, ignorance doesn't grant you immunity.
|
||||
|
||||
## Installation and Usage
|
||||
|
||||
### ES6 via npm
|
||||
|
||||
```sh
|
||||
npm install rxjs-es
|
||||
```
|
||||
|
||||
To import the entire core set of functionality:
|
||||
|
||||
```js
|
||||
import Rx from 'rxjs/Rx';
|
||||
|
||||
Rx.Observable.of(1,2,3)
|
||||
```
|
||||
|
||||
To import only what you need by patching (this is useful for size-sensitive bundling):
|
||||
|
||||
```js
|
||||
import {Observable} from 'rxjs/Observable';
|
||||
import 'rxjs/add/operator/map';
|
||||
|
||||
Observable.of(1,2,3).map(x => x + '!!!'); // etc
|
||||
```
|
||||
|
||||
To import what you need and use it with ES next function bind (best overall method, if possible):
|
||||
|
||||
```js
|
||||
import {Observable} from 'rxjs/Observable';
|
||||
import {map} from 'rxjs/operator/map';
|
||||
|
||||
Observable.of(1,2,3)::map(x => x + '!!!'); // etc
|
||||
```
|
||||
|
||||
### CommonJS via npm
|
||||
|
||||
```sh
|
||||
npm install rxjs
|
||||
```
|
||||
|
||||
Import all core functionality:
|
||||
|
||||
```js
|
||||
var Rx = require('rxjs/Rx');
|
||||
|
||||
Rx.Observable.of(1,2,3); // etc
|
||||
```
|
||||
|
||||
Import only what you need and patch Observable (this is useful in size-sensitive bundling scenarios):
|
||||
|
||||
```js
|
||||
var Observable = require('rxjs/Observable').Observable;
|
||||
// patch Observable with appropriate methods
|
||||
require('rxjs/add/operator/map');
|
||||
|
||||
Observable.of(1,2,3).map(function (x) { return x + '!!!'; }); // etc
|
||||
```
|
||||
|
||||
Import operators and use them _manually_ you can do the following (this is also useful for bundling):
|
||||
|
||||
```js
|
||||
var Observable = require('rxjs/Observable').Observable;
|
||||
var map = require('rxjs/operator/map').map;
|
||||
|
||||
map.call(Observable.of(1,2,3), function (x) { return x + '!!!'; });
|
||||
```
|
||||
|
||||
You can also use the above method to build your own Observable and export it from your own module.
|
||||
|
||||
|
||||
### All Module Types (CJS/ES6/AMD/TypeScript) via npm
|
||||
|
||||
To install this library via [npm](https://www.npmjs.org) **version 3**, use the following command:
|
||||
|
||||
```sh
|
||||
npm install @reactivex/rxjs
|
||||
```
|
||||
|
||||
If you are using npm **version 2** before this library has achieved a stable version, you need to specify the library version explicitly:
|
||||
|
||||
```sh
|
||||
npm install @reactivex/rxjs@5.0.0-beta.1
|
||||
```
|
||||
|
||||
### CDN
|
||||
|
||||
For CDN, you can use [npmcdn](https://npmcdn.com). Just replace `version` with the current
|
||||
version on the link below:
|
||||
|
||||
https://npmcdn.com/@reactivex/rxjs@version/dist/global/Rx.umd.js
|
||||
|
||||
#### Node.js Usage:
|
||||
|
||||
```js
|
||||
var Rx = require('@reactivex/rxjs');
|
||||
|
||||
Rx.Observable.of('hello world')
|
||||
.subscribe(function(x) { console.log(x); });
|
||||
```
|
||||
|
||||
## Goals
|
||||
|
||||
- Provide better performance than preceding versions of RxJS
|
||||
- To model/follow the [ES7 Observable Spec](https://github.com/zenparsing/es-observable) to the observable.
|
||||
- Provide more modular file structure in a variety of formats
|
||||
- Provide more debuggable call stacks than preceding versions of RxJS
|
||||
|
||||
## Building/Testing
|
||||
|
||||
The build and test structure is fairly primitive at the moment. There are various npm scripts that can be run:
|
||||
|
||||
- build_es6: Transpiles the TypeScript files from `src/` to `dist/es6`
|
||||
- build_cjs: Transpiles the ES6 files from `dist/es6` to `dist/cjs`
|
||||
- build_amd: Transpiles the ES6 files from `dist/es6` to `dist/amd`
|
||||
- build_global: Transpiles/Bundles the CommonJS files from `dist/cjs` to `dist/global/Rx.js`
|
||||
- build_all: Performs all of the above in the proper order.
|
||||
- build_test: builds ES6, then CommonJS, then runs the tests with `jasmine`
|
||||
- build_perf: builds ES6, CommonJS, then global, then runs the performance tests with `protractor`
|
||||
- build_docs: generates API documentation from `dist/es6` to `dist/docs`
|
||||
- build_cover: runs `istanbul` code coverage against test cases
|
||||
- test: runs tests with `jasmine`, must have built prior to running.
|
||||
- tests2png: generates PNG marble diagrams from test cases.
|
||||
|
||||
### Example
|
||||
|
||||
```sh
|
||||
# build all the things!
|
||||
npm run build_all
|
||||
```
|
||||
|
||||
## Performance Tests
|
||||
|
||||
Run `npm run build_perf` or `npm run perf` to run the performance tests with `protractor`.
|
||||
Run `npm run perf_micro` to run micro performance test benchmarking operator.
|
||||
|
||||
## Adding documentation
|
||||
RxNext uses [ESDoc](https://esdoc.org/) to generate API documentation. Refer to ESDoc's documentation for syntax. Run `npm run build_docs` to generate.
|
||||
|
||||
## Generating PNG marble diagrams
|
||||
|
||||
The script `npm run tests2png` requires some native packages installed locally: `imagemagick`, `graphicsmagick`, and `ghostscript`.
|
||||
|
||||
For Mac OS X with [Homebrew](http://brew.sh/):
|
||||
|
||||
- `brew install imagemagick`
|
||||
- `brew install graphicsmagick`
|
||||
- `brew install ghostscript`
|
||||
|
||||
For Debian Linux:
|
||||
|
||||
- `sudo add-apt-repository ppa:dhor/myway`
|
||||
- `apt-get install imagemagick`
|
||||
- `apt-get install graphicsmagick`
|
||||
- `apt-get install ghostscript`
|
||||
|
||||
For Windows and other Operating Systems, check the download instructions here:
|
||||
|
||||
- http://imagemagick.org
|
||||
- http://www.graphicsmagick.org
|
||||
- http://www.ghostscript.com/
|
25
node_modules/rxjs/Rx.DOM.d.ts
generated
vendored
Normal file
25
node_modules/rxjs/Rx.DOM.d.ts
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
import { Subject } from './Subject';
|
||||
import { Observable } from './Observable';
|
||||
import { Subscription, UnsubscriptionError } from './Subscription';
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { AsyncSubject } from './subject/AsyncSubject';
|
||||
import { ReplaySubject } from './subject/ReplaySubject';
|
||||
import { BehaviorSubject } from './subject/BehaviorSubject';
|
||||
import { ConnectableObservable } from './observable/ConnectableObservable';
|
||||
import { Notification } from './Notification';
|
||||
import { EmptyError } from './util/EmptyError';
|
||||
import { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError';
|
||||
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
import { AsapScheduler } from './scheduler/AsapScheduler';
|
||||
import { QueueScheduler } from './scheduler/QueueScheduler';
|
||||
import { AnimationFrameScheduler } from './scheduler/AnimationFrameScheduler';
|
||||
import { AjaxResponse, AjaxError, AjaxTimeoutError } from './observable/dom/AjaxObservable';
|
||||
declare var Scheduler: {
|
||||
asap: AsapScheduler;
|
||||
queue: QueueScheduler;
|
||||
animationFrame: AnimationFrameScheduler;
|
||||
};
|
||||
declare var Symbol: {
|
||||
rxSubscriber: any;
|
||||
};
|
||||
export { AjaxResponse, AjaxError, AjaxTimeoutError, Subject, Scheduler, Observable, Subscriber, Subscription, Symbol, AsyncSubject, ReplaySubject, BehaviorSubject, ConnectableObservable, Notification, EmptyError, ArgumentOutOfRangeError, ObjectUnsubscribedError, UnsubscriptionError };
|
157
node_modules/rxjs/Rx.DOM.js
generated
vendored
Normal file
157
node_modules/rxjs/Rx.DOM.js
generated
vendored
Normal file
@ -0,0 +1,157 @@
|
||||
"use strict";
|
||||
/* tslint:disable:no-unused-variable */
|
||||
// Subject imported before Observable to bypass circular dependency issue since
|
||||
// Subject extends Observable and Observable references Subject in it's
|
||||
// definition
|
||||
var Subject_1 = require('./Subject');
|
||||
exports.Subject = Subject_1.Subject;
|
||||
/* tslint:enable:no-unused-variable */
|
||||
var Observable_1 = require('./Observable');
|
||||
exports.Observable = Observable_1.Observable;
|
||||
// statics
|
||||
/* tslint:disable:no-use-before-declare */
|
||||
require('./add/observable/combineLatest');
|
||||
require('./add/observable/concat');
|
||||
require('./add/observable/merge');
|
||||
require('./add/observable/bindCallback');
|
||||
require('./add/observable/defer');
|
||||
require('./add/observable/empty');
|
||||
require('./add/observable/forkJoin');
|
||||
require('./add/observable/from');
|
||||
require('./add/observable/fromArray');
|
||||
require('./add/observable/fromEvent');
|
||||
require('./add/observable/fromEventPattern');
|
||||
require('./add/observable/fromPromise');
|
||||
require('./add/observable/interval');
|
||||
require('./add/observable/never');
|
||||
require('./add/observable/range');
|
||||
require('./add/observable/throw');
|
||||
require('./add/observable/timer');
|
||||
require('./add/observable/zip');
|
||||
require('./add/observable/dom/ajax');
|
||||
require('./add/observable/dom/webSocket');
|
||||
//operators
|
||||
require('./add/operator/buffer');
|
||||
require('./add/operator/bufferCount');
|
||||
require('./add/operator/bufferTime');
|
||||
require('./add/operator/bufferToggle');
|
||||
require('./add/operator/bufferWhen');
|
||||
require('./add/operator/catch');
|
||||
require('./add/operator/combineAll');
|
||||
require('./add/operator/combineLatest');
|
||||
require('./add/operator/concat');
|
||||
require('./add/operator/concatAll');
|
||||
require('./add/operator/concatMap');
|
||||
require('./add/operator/concatMapTo');
|
||||
require('./add/operator/count');
|
||||
require('./add/operator/dematerialize');
|
||||
require('./add/operator/debounce');
|
||||
require('./add/operator/debounceTime');
|
||||
require('./add/operator/defaultIfEmpty');
|
||||
require('./add/operator/delay');
|
||||
require('./add/operator/delayWhen');
|
||||
require('./add/operator/distinctUntilChanged');
|
||||
require('./add/operator/do');
|
||||
require('./add/operator/expand');
|
||||
require('./add/operator/filter');
|
||||
require('./add/operator/finally');
|
||||
require('./add/operator/first');
|
||||
require('./add/operator/groupBy');
|
||||
require('./add/operator/ignoreElements');
|
||||
require('./add/operator/inspect');
|
||||
require('./add/operator/inspectTime');
|
||||
require('./add/operator/every');
|
||||
require('./add/operator/last');
|
||||
require('./add/operator/map');
|
||||
require('./add/operator/mapTo');
|
||||
require('./add/operator/materialize');
|
||||
require('./add/operator/merge');
|
||||
require('./add/operator/mergeAll');
|
||||
require('./add/operator/mergeMap');
|
||||
require('./add/operator/mergeMapTo');
|
||||
require('./add/operator/multicast');
|
||||
require('./add/operator/observeOn');
|
||||
require('./add/operator/partition');
|
||||
require('./add/operator/publish');
|
||||
require('./add/operator/publishBehavior');
|
||||
require('./add/operator/publishReplay');
|
||||
require('./add/operator/publishLast');
|
||||
require('./add/operator/reduce');
|
||||
require('./add/operator/repeat');
|
||||
require('./add/operator/retry');
|
||||
require('./add/operator/retryWhen');
|
||||
require('./add/operator/sample');
|
||||
require('./add/operator/sampleTime');
|
||||
require('./add/operator/scan');
|
||||
require('./add/operator/share');
|
||||
require('./add/operator/single');
|
||||
require('./add/operator/skip');
|
||||
require('./add/operator/skipUntil');
|
||||
require('./add/operator/skipWhile');
|
||||
require('./add/operator/startWith');
|
||||
require('./add/operator/subscribeOn');
|
||||
require('./add/operator/switch');
|
||||
require('./add/operator/switchMap');
|
||||
require('./add/operator/switchMapTo');
|
||||
require('./add/operator/take');
|
||||
require('./add/operator/takeLast');
|
||||
require('./add/operator/takeUntil');
|
||||
require('./add/operator/takeWhile');
|
||||
require('./add/operator/throttle');
|
||||
require('./add/operator/throttleTime');
|
||||
require('./add/operator/timeout');
|
||||
require('./add/operator/timeoutWith');
|
||||
require('./add/operator/toArray');
|
||||
require('./add/operator/toPromise');
|
||||
require('./add/operator/window');
|
||||
require('./add/operator/windowCount');
|
||||
require('./add/operator/windowTime');
|
||||
require('./add/operator/windowToggle');
|
||||
require('./add/operator/windowWhen');
|
||||
require('./add/operator/withLatestFrom');
|
||||
require('./add/operator/zip');
|
||||
require('./add/operator/zipAll');
|
||||
/* tslint:disable:no-unused-variable */
|
||||
var Subscription_1 = require('./Subscription');
|
||||
exports.Subscription = Subscription_1.Subscription;
|
||||
exports.UnsubscriptionError = Subscription_1.UnsubscriptionError;
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
exports.Subscriber = Subscriber_1.Subscriber;
|
||||
var AsyncSubject_1 = require('./subject/AsyncSubject');
|
||||
exports.AsyncSubject = AsyncSubject_1.AsyncSubject;
|
||||
var ReplaySubject_1 = require('./subject/ReplaySubject');
|
||||
exports.ReplaySubject = ReplaySubject_1.ReplaySubject;
|
||||
var BehaviorSubject_1 = require('./subject/BehaviorSubject');
|
||||
exports.BehaviorSubject = BehaviorSubject_1.BehaviorSubject;
|
||||
var ConnectableObservable_1 = require('./observable/ConnectableObservable');
|
||||
exports.ConnectableObservable = ConnectableObservable_1.ConnectableObservable;
|
||||
var Notification_1 = require('./Notification');
|
||||
exports.Notification = Notification_1.Notification;
|
||||
var EmptyError_1 = require('./util/EmptyError');
|
||||
exports.EmptyError = EmptyError_1.EmptyError;
|
||||
var ArgumentOutOfRangeError_1 = require('./util/ArgumentOutOfRangeError');
|
||||
exports.ArgumentOutOfRangeError = ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;
|
||||
var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');
|
||||
exports.ObjectUnsubscribedError = ObjectUnsubscribedError_1.ObjectUnsubscribedError;
|
||||
var asap_1 = require('./scheduler/asap');
|
||||
var queue_1 = require('./scheduler/queue');
|
||||
var animationFrame_1 = require('./scheduler/animationFrame');
|
||||
var rxSubscriber_1 = require('./symbol/rxSubscriber');
|
||||
var AjaxObservable_1 = require('./observable/dom/AjaxObservable');
|
||||
exports.AjaxResponse = AjaxObservable_1.AjaxResponse;
|
||||
exports.AjaxError = AjaxObservable_1.AjaxError;
|
||||
exports.AjaxTimeoutError = AjaxObservable_1.AjaxTimeoutError;
|
||||
/* tslint:enable:no-unused-variable */
|
||||
/* tslint:disable:no-var-keyword */
|
||||
var Scheduler = {
|
||||
asap: asap_1.asap,
|
||||
queue: queue_1.queue,
|
||||
animationFrame: animationFrame_1.animationFrame
|
||||
};
|
||||
exports.Scheduler = Scheduler;
|
||||
var Symbol = {
|
||||
rxSubscriber: rxSubscriber_1.rxSubscriber
|
||||
};
|
||||
exports.Symbol = Symbol;
|
||||
/* tslint:enable:no-var-keyword */
|
||||
//# sourceMappingURL=Rx.DOM.js.map
|
1
node_modules/rxjs/Rx.DOM.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Rx.DOM.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Rx.DOM.js","sourceRoot":"","sources":["../../src/Rx.DOM.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,+EAA+E;AAC/E,uEAAuE;AACvE,aAAa;AACb,wBAAsB,WAAW,CAAC,CAAA;AAmJhC,eAAO;AAlJT,sCAAsC;AACtC,2BAAyB,cAAc,CAAC,CAAA;AAmJtC,kBAAU;AAjJZ,UAAU;AACV,0CAA0C;AAC1C,QAAO,gCAAgC,CAAC,CAAA;AACxC,QAAO,yBAAyB,CAAC,CAAA;AACjC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,+BAA+B,CAAC,CAAA;AACvC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,8BAA8B,CAAC,CAAA;AACtC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,sBAAsB,CAAC,CAAA;AAE9B,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,gCAAgC,CAAC,CAAA;AAExC,WAAW;AACX,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,6BAA6B,CAAC,CAAA;AACrC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,sBAAsB,CAAC,CAAA;AAC9B,QAAO,2BAA2B,CAAC,C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,oBAAY;AAUZ,2BAAmB;AAjDrB,2BAAyB,cAAc,CAAC,CAAA;AAsCtC,kBAAU;AArCZ,6BAA2B,wBAAwB,CAAC,CAAA;AAwClD,oBAAY;AAvCd,8BAA4B,yBAAyB,CAAC,CAAA;AAwCpD,qBAAa;AAvCf,gCAA8B,2BAA2B,CAAC,CAAA;AAwCxD,uBAAe;AAvCjB,sCAAoC,oCAAoC,CAAC,CAAA;AAwCvE,6BAAqB;AAvCvB,6BAA2B,gBAAgB,CAAC,CAAA;AAwC1C,oBAAY;AAvCd,2BAAyB,mBAAmB,CAAC,CAAA;AAwC3C,kBAAU;AAvCZ,wCAAsC,gCAAgC,CAAC,CAAA;AAwCrE,+BAAuB;AAvCzB,wCAAsC,gCAAgC,CAAC,CAAA;AAwCrE,+BAAuB;AAvCzB,qBAAmB,kBAAkB,CAAC,CAAA;AACtC,sBAAoB,mBAAmB,CAAC,CAAA;AACxC,+BAA6B,4BAA4B,CAAC,CAAA;AAI1D,6BAA2B,uBAAuB,CAAC,CAAA;AACnD,+BAAqE,iCAAiC,CAAC,CAAA;AAgBrG,oBAAY;AACZ,iBAAS;AACT,wBAAgB;AAjBlB,sCAAsC;AAEtC,mCAAmC;AACnC,IAAI,SAAS,GAAG;IACd,MAAA,WAAI;IACJ,OAAA,aAAK;IACL,gBAAA,+BAAc;CACf;AAYC,iBAAS,aAZT;AAEF,IAAI,MAAM,GAAG;IACX,cAAA,2BAAY;CACb;AAYC,cAAM,UAZN;AACF,kCAAkC;AAqBhC"}
|
44
node_modules/rxjs/Rx.KitchenSink.d.ts
generated
vendored
Normal file
44
node_modules/rxjs/Rx.KitchenSink.d.ts
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
import { Subject } from './Subject';
|
||||
import { Observable } from './Observable';
|
||||
import { CoreOperators } from './CoreOperators';
|
||||
import { Scheduler as IScheduler } from './Scheduler';
|
||||
export interface KitchenSinkOperators<T> extends CoreOperators<T> {
|
||||
isEmpty?: () => Observable<boolean>;
|
||||
elementAt?: (index: number, defaultValue?: any) => Observable<T>;
|
||||
distinct?: (compare?: (x: T, y: T) => boolean, flushes?: Observable<any>) => Observable<T>;
|
||||
distinctKey?: (key: string, compare?: (x: T, y: T) => boolean, flushes?: Observable<any>) => Observable<T>;
|
||||
distinctUntilKeyChanged?: (key: string, compare?: (x: any, y: any) => boolean) => Observable<T>;
|
||||
find?: (predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any) => Observable<T>;
|
||||
findIndex?: (predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any) => Observable<number>;
|
||||
max?: <T, R>(comparer?: (x: R, y: T) => R) => Observable<R>;
|
||||
min?: <T, R>(comparer?: (x: R, y: T) => R) => Observable<R>;
|
||||
pairwise?: <R>() => Observable<R>;
|
||||
timeInterval?: <T>(scheduler?: IScheduler) => Observable<T>;
|
||||
mergeScan?: <T, R>(project: (acc: R, x: T) => Observable<R>, seed: R, concurrent?: number) => Observable<R>;
|
||||
exhaust?: () => Observable<T>;
|
||||
exhaustMap?: <R>(project: ((x: T, ix: number) => Observable<any>), projectResult?: (x: T, y: any, ix: number, iy: number) => R) => Observable<R>;
|
||||
}
|
||||
import { Observer } from './Observer';
|
||||
import { Subscription, UnsubscriptionError } from './Subscription';
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { AsyncSubject } from './subject/AsyncSubject';
|
||||
import { ReplaySubject } from './subject/ReplaySubject';
|
||||
import { BehaviorSubject } from './subject/BehaviorSubject';
|
||||
import { ConnectableObservable } from './observable/ConnectableObservable';
|
||||
import { Notification } from './Notification';
|
||||
import { EmptyError } from './util/EmptyError';
|
||||
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
import { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError';
|
||||
import { AsapScheduler } from './scheduler/AsapScheduler';
|
||||
import { QueueScheduler } from './scheduler/QueueScheduler';
|
||||
import { TimeInterval } from './operator/timeInterval';
|
||||
import { TestScheduler } from './testing/TestScheduler';
|
||||
import { VirtualTimeScheduler } from './scheduler/VirtualTimeScheduler';
|
||||
declare var Scheduler: {
|
||||
asap: AsapScheduler;
|
||||
queue: QueueScheduler;
|
||||
};
|
||||
declare var Symbol: {
|
||||
rxSubscriber: any;
|
||||
};
|
||||
export { Subject, Scheduler, Observable, Observer, Subscriber, Subscription, AsyncSubject, ReplaySubject, BehaviorSubject, ConnectableObservable, Notification, EmptyError, ArgumentOutOfRangeError, ObjectUnsubscribedError, UnsubscriptionError, TestScheduler, VirtualTimeScheduler, TimeInterval, Symbol };
|
169
node_modules/rxjs/Rx.KitchenSink.js
generated
vendored
Normal file
169
node_modules/rxjs/Rx.KitchenSink.js
generated
vendored
Normal file
@ -0,0 +1,169 @@
|
||||
"use strict";
|
||||
/* tslint:disable:no-unused-variable */
|
||||
var Subject_1 = require('./Subject');
|
||||
exports.Subject = Subject_1.Subject;
|
||||
/* tslint:enable:no-unused-variable */
|
||||
var Observable_1 = require('./Observable');
|
||||
exports.Observable = Observable_1.Observable;
|
||||
// statics
|
||||
/* tslint:disable:no-use-before-declare */
|
||||
require('./add/observable/combineLatest');
|
||||
require('./add/observable/concat');
|
||||
require('./add/observable/merge');
|
||||
require('./add/observable/race');
|
||||
require('./add/observable/bindCallback');
|
||||
require('./add/observable/bindNodeCallback');
|
||||
require('./add/observable/defer');
|
||||
require('./add/observable/empty');
|
||||
require('./add/observable/forkJoin');
|
||||
require('./add/observable/from');
|
||||
require('./add/observable/fromArray');
|
||||
require('./add/observable/fromEvent');
|
||||
require('./add/observable/fromEventPattern');
|
||||
require('./add/observable/fromPromise');
|
||||
require('./add/observable/interval');
|
||||
require('./add/observable/never');
|
||||
require('./add/observable/range');
|
||||
require('./add/observable/throw');
|
||||
require('./add/observable/timer');
|
||||
require('./add/observable/zip');
|
||||
// Operators
|
||||
require('./add/operator/buffer');
|
||||
require('./add/operator/bufferCount');
|
||||
require('./add/operator/bufferTime');
|
||||
require('./add/operator/bufferToggle');
|
||||
require('./add/operator/bufferWhen');
|
||||
require('./add/operator/catch');
|
||||
require('./add/operator/combineAll');
|
||||
require('./add/operator/combineLatest');
|
||||
require('./add/operator/concat');
|
||||
require('./add/operator/concatAll');
|
||||
require('./add/operator/concatMap');
|
||||
require('./add/operator/concatMapTo');
|
||||
require('./add/operator/count');
|
||||
require('./add/operator/dematerialize');
|
||||
require('./add/operator/debounce');
|
||||
require('./add/operator/debounceTime');
|
||||
require('./add/operator/defaultIfEmpty');
|
||||
require('./add/operator/delay');
|
||||
require('./add/operator/delayWhen');
|
||||
require('./add/operator/distinct');
|
||||
require('./add/operator/distinctKey');
|
||||
require('./add/operator/distinctUntilChanged');
|
||||
require('./add/operator/distinctUntilKeyChanged');
|
||||
require('./add/operator/do');
|
||||
require('./add/operator/elementAt');
|
||||
require('./add/operator/exhaust');
|
||||
require('./add/operator/exhaustMap');
|
||||
require('./add/operator/expand');
|
||||
require('./add/operator/filter');
|
||||
require('./add/operator/find');
|
||||
require('./add/operator/findIndex');
|
||||
require('./add/operator/finally');
|
||||
require('./add/operator/first');
|
||||
require('./add/operator/groupBy');
|
||||
require('./add/operator/ignoreElements');
|
||||
require('./add/operator/inspect');
|
||||
require('./add/operator/inspectTime');
|
||||
require('./add/operator/isEmpty');
|
||||
require('./add/operator/every');
|
||||
require('./add/operator/last');
|
||||
require('./add/operator/map');
|
||||
require('./add/operator/mapTo');
|
||||
require('./add/operator/materialize');
|
||||
require('./add/operator/max');
|
||||
require('./add/operator/merge');
|
||||
require('./add/operator/mergeAll');
|
||||
require('./add/operator/mergeMap');
|
||||
require('./add/operator/mergeMapTo');
|
||||
require('./add/operator/mergeScan');
|
||||
require('./add/operator/min');
|
||||
require('./add/operator/multicast');
|
||||
require('./add/operator/observeOn');
|
||||
require('./add/operator/pairwise');
|
||||
require('./add/operator/partition');
|
||||
require('./add/operator/pluck');
|
||||
require('./add/operator/publish');
|
||||
require('./add/operator/publishBehavior');
|
||||
require('./add/operator/publishReplay');
|
||||
require('./add/operator/publishLast');
|
||||
require('./add/operator/race');
|
||||
require('./add/operator/reduce');
|
||||
require('./add/operator/repeat');
|
||||
require('./add/operator/retry');
|
||||
require('./add/operator/retryWhen');
|
||||
require('./add/operator/sample');
|
||||
require('./add/operator/sampleTime');
|
||||
require('./add/operator/scan');
|
||||
require('./add/operator/share');
|
||||
require('./add/operator/single');
|
||||
require('./add/operator/skip');
|
||||
require('./add/operator/skipUntil');
|
||||
require('./add/operator/skipWhile');
|
||||
require('./add/operator/startWith');
|
||||
require('./add/operator/subscribeOn');
|
||||
require('./add/operator/switch');
|
||||
require('./add/operator/switchMap');
|
||||
require('./add/operator/switchMapTo');
|
||||
require('./add/operator/take');
|
||||
require('./add/operator/takeLast');
|
||||
require('./add/operator/takeUntil');
|
||||
require('./add/operator/takeWhile');
|
||||
require('./add/operator/throttle');
|
||||
require('./add/operator/throttleTime');
|
||||
require('./add/operator/timeInterval');
|
||||
require('./add/operator/timeout');
|
||||
require('./add/operator/timeoutWith');
|
||||
require('./add/operator/toArray');
|
||||
require('./add/operator/toPromise');
|
||||
require('./add/operator/window');
|
||||
require('./add/operator/windowCount');
|
||||
require('./add/operator/windowTime');
|
||||
require('./add/operator/windowToggle');
|
||||
require('./add/operator/windowWhen');
|
||||
require('./add/operator/withLatestFrom');
|
||||
require('./add/operator/zip');
|
||||
require('./add/operator/zipAll');
|
||||
var Subscription_1 = require('./Subscription');
|
||||
exports.Subscription = Subscription_1.Subscription;
|
||||
exports.UnsubscriptionError = Subscription_1.UnsubscriptionError;
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
exports.Subscriber = Subscriber_1.Subscriber;
|
||||
var AsyncSubject_1 = require('./subject/AsyncSubject');
|
||||
exports.AsyncSubject = AsyncSubject_1.AsyncSubject;
|
||||
var ReplaySubject_1 = require('./subject/ReplaySubject');
|
||||
exports.ReplaySubject = ReplaySubject_1.ReplaySubject;
|
||||
var BehaviorSubject_1 = require('./subject/BehaviorSubject');
|
||||
exports.BehaviorSubject = BehaviorSubject_1.BehaviorSubject;
|
||||
var ConnectableObservable_1 = require('./observable/ConnectableObservable');
|
||||
exports.ConnectableObservable = ConnectableObservable_1.ConnectableObservable;
|
||||
var Notification_1 = require('./Notification');
|
||||
exports.Notification = Notification_1.Notification;
|
||||
var EmptyError_1 = require('./util/EmptyError');
|
||||
exports.EmptyError = EmptyError_1.EmptyError;
|
||||
var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');
|
||||
exports.ObjectUnsubscribedError = ObjectUnsubscribedError_1.ObjectUnsubscribedError;
|
||||
var ArgumentOutOfRangeError_1 = require('./util/ArgumentOutOfRangeError');
|
||||
exports.ArgumentOutOfRangeError = ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;
|
||||
var asap_1 = require('./scheduler/asap');
|
||||
var queue_1 = require('./scheduler/queue');
|
||||
var timeInterval_1 = require('./operator/timeInterval');
|
||||
exports.TimeInterval = timeInterval_1.TimeInterval;
|
||||
var TestScheduler_1 = require('./testing/TestScheduler');
|
||||
exports.TestScheduler = TestScheduler_1.TestScheduler;
|
||||
var VirtualTimeScheduler_1 = require('./scheduler/VirtualTimeScheduler');
|
||||
exports.VirtualTimeScheduler = VirtualTimeScheduler_1.VirtualTimeScheduler;
|
||||
var rxSubscriber_1 = require('./symbol/rxSubscriber');
|
||||
/* tslint:enable:no-unused-variable */
|
||||
/* tslint:disable:no-var-keyword */
|
||||
var Scheduler = {
|
||||
asap: asap_1.asap,
|
||||
queue: queue_1.queue
|
||||
};
|
||||
exports.Scheduler = Scheduler;
|
||||
var Symbol = {
|
||||
rxSubscriber: rxSubscriber_1.rxSubscriber
|
||||
};
|
||||
exports.Symbol = Symbol;
|
||||
/* tslint:enable:no-var-keyword */
|
||||
//# sourceMappingURL=Rx.KitchenSink.js.map
|
1
node_modules/rxjs/Rx.KitchenSink.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Rx.KitchenSink.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Rx.KitchenSink.js","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,iBAAS,aATX;AAEF,IAAI,MAAM,GAAG;IACX,cAAA,2BAAY;CACb;AAsBG,cAAM,UAtBR;AACF,kCAAkC;AAsBhC"}
|
24
node_modules/rxjs/Rx.d.ts
generated
vendored
Normal file
24
node_modules/rxjs/Rx.d.ts
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
import { Subject } from './Subject';
|
||||
import { Observable } from './Observable';
|
||||
import { Operator } from './Operator';
|
||||
import { Observer } from './Observer';
|
||||
import { Subscription, UnsubscriptionError } from './Subscription';
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { AsyncSubject } from './subject/AsyncSubject';
|
||||
import { ReplaySubject } from './subject/ReplaySubject';
|
||||
import { BehaviorSubject } from './subject/BehaviorSubject';
|
||||
import { ConnectableObservable } from './observable/ConnectableObservable';
|
||||
import { Notification } from './Notification';
|
||||
import { EmptyError } from './util/EmptyError';
|
||||
import { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError';
|
||||
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
import { AsapScheduler } from './scheduler/AsapScheduler';
|
||||
import { QueueScheduler } from './scheduler/QueueScheduler';
|
||||
declare var Scheduler: {
|
||||
asap: AsapScheduler;
|
||||
queue: QueueScheduler;
|
||||
};
|
||||
declare var Symbol: {
|
||||
rxSubscriber: any;
|
||||
};
|
||||
export { Subject, Scheduler, Observable, Observer, Operator, Subscriber, Subscription, Symbol, AsyncSubject, ReplaySubject, BehaviorSubject, ConnectableObservable, Notification, EmptyError, ArgumentOutOfRangeError, ObjectUnsubscribedError, UnsubscriptionError };
|
157
node_modules/rxjs/Rx.js
generated
vendored
Normal file
157
node_modules/rxjs/Rx.js
generated
vendored
Normal file
@ -0,0 +1,157 @@
|
||||
"use strict";
|
||||
/* tslint:disable:no-unused-variable */
|
||||
// Subject imported before Observable to bypass circular dependency issue since
|
||||
// Subject extends Observable and Observable references Subject in it's
|
||||
// definition
|
||||
var Subject_1 = require('./Subject');
|
||||
exports.Subject = Subject_1.Subject;
|
||||
/* tslint:enable:no-unused-variable */
|
||||
var Observable_1 = require('./Observable');
|
||||
exports.Observable = Observable_1.Observable;
|
||||
// statics
|
||||
/* tslint:disable:no-use-before-declare */
|
||||
require('./add/observable/combineLatest');
|
||||
require('./add/observable/concat');
|
||||
require('./add/observable/merge');
|
||||
require('./add/observable/race');
|
||||
require('./add/observable/bindCallback');
|
||||
require('./add/observable/bindNodeCallback');
|
||||
require('./add/observable/defer');
|
||||
require('./add/observable/empty');
|
||||
require('./add/observable/forkJoin');
|
||||
require('./add/observable/from');
|
||||
require('./add/observable/fromArray');
|
||||
require('./add/observable/fromEvent');
|
||||
require('./add/observable/fromEventPattern');
|
||||
require('./add/observable/fromPromise');
|
||||
require('./add/observable/interval');
|
||||
require('./add/observable/never');
|
||||
require('./add/observable/range');
|
||||
require('./add/observable/throw');
|
||||
require('./add/observable/timer');
|
||||
require('./add/observable/zip');
|
||||
//operators
|
||||
require('./add/operator/buffer');
|
||||
require('./add/operator/bufferCount');
|
||||
require('./add/operator/bufferTime');
|
||||
require('./add/operator/bufferToggle');
|
||||
require('./add/operator/bufferWhen');
|
||||
require('./add/operator/cache');
|
||||
require('./add/operator/catch');
|
||||
require('./add/operator/combineAll');
|
||||
require('./add/operator/combineLatest');
|
||||
require('./add/operator/concat');
|
||||
require('./add/operator/concatAll');
|
||||
require('./add/operator/concatMap');
|
||||
require('./add/operator/concatMapTo');
|
||||
require('./add/operator/count');
|
||||
require('./add/operator/dematerialize');
|
||||
require('./add/operator/debounce');
|
||||
require('./add/operator/debounceTime');
|
||||
require('./add/operator/defaultIfEmpty');
|
||||
require('./add/operator/delay');
|
||||
require('./add/operator/delayWhen');
|
||||
require('./add/operator/distinctUntilChanged');
|
||||
require('./add/operator/do');
|
||||
require('./add/operator/expand');
|
||||
require('./add/operator/filter');
|
||||
require('./add/operator/finally');
|
||||
require('./add/operator/first');
|
||||
require('./add/operator/groupBy');
|
||||
require('./add/operator/ignoreElements');
|
||||
require('./add/operator/inspect');
|
||||
require('./add/operator/inspectTime');
|
||||
require('./add/operator/every');
|
||||
require('./add/operator/last');
|
||||
require('./add/operator/let');
|
||||
require('./add/operator/map');
|
||||
require('./add/operator/mapTo');
|
||||
require('./add/operator/materialize');
|
||||
require('./add/operator/merge');
|
||||
require('./add/operator/mergeAll');
|
||||
require('./add/operator/mergeMap');
|
||||
require('./add/operator/mergeMapTo');
|
||||
require('./add/operator/multicast');
|
||||
require('./add/operator/observeOn');
|
||||
require('./add/operator/partition');
|
||||
require('./add/operator/pluck');
|
||||
require('./add/operator/publish');
|
||||
require('./add/operator/publishBehavior');
|
||||
require('./add/operator/publishReplay');
|
||||
require('./add/operator/publishLast');
|
||||
require('./add/operator/race');
|
||||
require('./add/operator/reduce');
|
||||
require('./add/operator/repeat');
|
||||
require('./add/operator/retry');
|
||||
require('./add/operator/retryWhen');
|
||||
require('./add/operator/sample');
|
||||
require('./add/operator/sampleTime');
|
||||
require('./add/operator/scan');
|
||||
require('./add/operator/share');
|
||||
require('./add/operator/single');
|
||||
require('./add/operator/skip');
|
||||
require('./add/operator/skipUntil');
|
||||
require('./add/operator/skipWhile');
|
||||
require('./add/operator/startWith');
|
||||
require('./add/operator/subscribeOn');
|
||||
require('./add/operator/switch');
|
||||
require('./add/operator/switchMap');
|
||||
require('./add/operator/switchMapTo');
|
||||
require('./add/operator/take');
|
||||
require('./add/operator/takeLast');
|
||||
require('./add/operator/takeUntil');
|
||||
require('./add/operator/takeWhile');
|
||||
require('./add/operator/throttle');
|
||||
require('./add/operator/throttleTime');
|
||||
require('./add/operator/timeout');
|
||||
require('./add/operator/timeoutWith');
|
||||
require('./add/operator/toArray');
|
||||
require('./add/operator/toPromise');
|
||||
require('./add/operator/window');
|
||||
require('./add/operator/windowCount');
|
||||
require('./add/operator/windowTime');
|
||||
require('./add/operator/windowToggle');
|
||||
require('./add/operator/windowWhen');
|
||||
require('./add/operator/withLatestFrom');
|
||||
require('./add/operator/zip');
|
||||
require('./add/operator/zipAll');
|
||||
/* tslint:disable:no-unused-variable */
|
||||
var Operator_1 = require('./Operator');
|
||||
exports.Operator = Operator_1.Operator;
|
||||
var Subscription_1 = require('./Subscription');
|
||||
exports.Subscription = Subscription_1.Subscription;
|
||||
exports.UnsubscriptionError = Subscription_1.UnsubscriptionError;
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
exports.Subscriber = Subscriber_1.Subscriber;
|
||||
var AsyncSubject_1 = require('./subject/AsyncSubject');
|
||||
exports.AsyncSubject = AsyncSubject_1.AsyncSubject;
|
||||
var ReplaySubject_1 = require('./subject/ReplaySubject');
|
||||
exports.ReplaySubject = ReplaySubject_1.ReplaySubject;
|
||||
var BehaviorSubject_1 = require('./subject/BehaviorSubject');
|
||||
exports.BehaviorSubject = BehaviorSubject_1.BehaviorSubject;
|
||||
var ConnectableObservable_1 = require('./observable/ConnectableObservable');
|
||||
exports.ConnectableObservable = ConnectableObservable_1.ConnectableObservable;
|
||||
var Notification_1 = require('./Notification');
|
||||
exports.Notification = Notification_1.Notification;
|
||||
var EmptyError_1 = require('./util/EmptyError');
|
||||
exports.EmptyError = EmptyError_1.EmptyError;
|
||||
var ArgumentOutOfRangeError_1 = require('./util/ArgumentOutOfRangeError');
|
||||
exports.ArgumentOutOfRangeError = ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;
|
||||
var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');
|
||||
exports.ObjectUnsubscribedError = ObjectUnsubscribedError_1.ObjectUnsubscribedError;
|
||||
var asap_1 = require('./scheduler/asap');
|
||||
var queue_1 = require('./scheduler/queue');
|
||||
var rxSubscriber_1 = require('./symbol/rxSubscriber');
|
||||
/* tslint:enable:no-unused-variable */
|
||||
/* tslint:disable:no-var-keyword */
|
||||
var Scheduler = {
|
||||
asap: asap_1.asap,
|
||||
queue: queue_1.queue
|
||||
};
|
||||
exports.Scheduler = Scheduler;
|
||||
var Symbol = {
|
||||
rxSubscriber: rxSubscriber_1.rxSubscriber
|
||||
};
|
||||
exports.Symbol = Symbol;
|
||||
/* tslint:enable:no-var-keyword */
|
||||
//# sourceMappingURL=Rx.js.map
|
1
node_modules/rxjs/Rx.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Rx.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Rx.js","sourceRoot":"","sources":["../../src/Rx.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,+EAA+E;AAC/E,uEAAuE;AACvE,aAAa;AACb,wBAAsB,WAAW,CAAC,CAAA;AAiJ9B,eAAO;AAhJX,sCAAsC;AACtC,2BAAyB,cAAc,CAAC,CAAA;AAiJpC,kBAAU;AA/Id,UAAU;AACV,0CAA0C;AAC1C,QAAO,gCAAgC,CAAC,CAAA;AACxC,QAAO,yBAAyB,CAAC,CAAA;AACjC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,+BAA+B,CAAC,CAAA;AACvC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,8BAA8B,CAAC,CAAA;AACtC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,sBAAsB,CAAC,CAAA;AAE9B,WAAW;AACX,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,6BAA6B,CAA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2B,CAAC,CAAA;AACnC,QAAO,6BAA6B,CAAC,CAAA;AACrC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,+BAA+B,CAAC,CAAA;AACvC,QAAO,oBAAoB,CAAC,CAAA;AAC5B,QAAO,uBAAuB,CAAC,CAAA;AAE/B,uCAAuC;AACvC,yBAAuB,YAAY,CAAC,CAAA;AAmChC,gBAAQ;AAjCZ,6BAAgD,gBAAgB,CAAC,CAAA;AAmC7D,oBAAY;AAUZ,2BAAmB;AA5CvB,2BAAyB,cAAc,CAAC,CAAA;AAiCpC,kBAAU;AAhCd,6BAA2B,wBAAwB,CAAC,CAAA;AAmChD,oBAAY;AAlChB,8BAA4B,yBAAyB,CAAC,CAAA;AAmClD,qBAAa;AAlCjB,gCAA8B,2BAA2B,CAAC,CAAA;AAmCtD,uBAAe;AAlCnB,sCAAoC,oCAAoC,CAAC,CAAA;AAmCrE,6BAAqB;AAlCzB,6BAA2B,gBAAgB,CAAC,CAAA;AAmCxC,oBAAY;AAlChB,2BAAyB,mBAAmB,CAAC,CAAA;AAmCzC,kBAAU;AAlCd,wCAAsC,gCAAgC,CAAC,CAAA;AAmCnE,+BAAuB;AAlC3B,wCAAsC,gCAAgC,CAAC,CAAA;AAmCnE,+BAAuB;AAlC3B,qBAAmB,kBAAkB,CAAC,CAAA;AACtC,sBAAoB,mBAAmB,CAAC,CAAA;AAGxC,6BAA2B,uBAAuB,CAAC,CAAA;AACnD,sCAAsC;AAEtC,mCAAmC;AACnC,IAAI,SAAS,GAAG;IACd,MAAA,WAAI;IACJ,OAAA,aAAK;CACN;AASG,iBAAS,aATX;AAEF,IAAI,MAAM,GAAG;IACX,cAAA,2BAAY;CACb;AAWG,cAAM,UAXR;AACF,kCAAkC;AAoBhC"}
|
10
node_modules/rxjs/Scheduler.d.ts
generated
vendored
Normal file
10
node_modules/rxjs/Scheduler.d.ts
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
import { Subscription } from './Subscription';
|
||||
import { Action } from './scheduler/Action';
|
||||
export interface Scheduler {
|
||||
now(): number;
|
||||
schedule<T>(work: (state?: any) => Subscription | void, delay?: number, state?: any): Subscription;
|
||||
flush(): void;
|
||||
active: boolean;
|
||||
actions: Action[];
|
||||
scheduledId: number;
|
||||
}
|
2
node_modules/rxjs/Scheduler.js
generated
vendored
Normal file
2
node_modules/rxjs/Scheduler.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
"use strict";
|
||||
//# sourceMappingURL=Scheduler.js.map
|
1
node_modules/rxjs/Scheduler.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Scheduler.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Scheduler.js","sourceRoot":"","sources":["../../src/Scheduler.ts"],"names":[],"mappings":""}
|
35
node_modules/rxjs/Subject.d.ts
generated
vendored
Normal file
35
node_modules/rxjs/Subject.d.ts
generated
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
import { Operator } from './Operator';
|
||||
import { Observer } from './Observer';
|
||||
import { Observable } from './Observable';
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { Subscription } from './Subscription';
|
||||
export declare class Subject<T> extends Observable<T> implements Observer<T>, Subscription {
|
||||
protected destination: Observer<T>;
|
||||
protected source: Observable<T>;
|
||||
static create: Function;
|
||||
constructor(destination?: Observer<T>, source?: Observable<T>);
|
||||
observers: Observer<T>[];
|
||||
isUnsubscribed: boolean;
|
||||
protected isStopped: boolean;
|
||||
protected hasErrored: boolean;
|
||||
protected errorValue: any;
|
||||
protected dispatching: boolean;
|
||||
protected hasCompleted: boolean;
|
||||
lift<T, R>(operator: Operator<T, R>): Observable<T>;
|
||||
add(subscription: Subscription | Function | void): void;
|
||||
remove(subscription: Subscription): void;
|
||||
unsubscribe(): void;
|
||||
protected _subscribe(subscriber: Subscriber<T>): Subscription | Function | void;
|
||||
protected _unsubscribe(): void;
|
||||
next(value: T): void;
|
||||
error(err?: any): void;
|
||||
complete(): void;
|
||||
asObservable(): Observable<T>;
|
||||
protected _next(value: T): void;
|
||||
protected _finalNext(value: T): void;
|
||||
protected _error(err: any): void;
|
||||
protected _finalError(err: any): void;
|
||||
protected _complete(): void;
|
||||
protected _finalComplete(): void;
|
||||
private throwIfUnsubscribed();
|
||||
}
|
197
node_modules/rxjs/Subject.js
generated
vendored
Normal file
197
node_modules/rxjs/Subject.js
generated
vendored
Normal file
@ -0,0 +1,197 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var Observable_1 = require('./Observable');
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
var Subscription_1 = require('./Subscription');
|
||||
var SubjectSubscription_1 = require('./subject/SubjectSubscription');
|
||||
var rxSubscriber_1 = require('./symbol/rxSubscriber');
|
||||
var throwError_1 = require('./util/throwError');
|
||||
var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');
|
||||
var Subject = (function (_super) {
|
||||
__extends(Subject, _super);
|
||||
function Subject(destination, source) {
|
||||
_super.call(this);
|
||||
this.destination = destination;
|
||||
this.source = source;
|
||||
this.observers = [];
|
||||
this.isUnsubscribed = false;
|
||||
this.isStopped = false;
|
||||
this.hasErrored = false;
|
||||
this.dispatching = false;
|
||||
this.hasCompleted = false;
|
||||
}
|
||||
Subject.prototype.lift = function (operator) {
|
||||
var subject = new Subject(this.destination || this, this);
|
||||
subject.operator = operator;
|
||||
return subject;
|
||||
};
|
||||
Subject.prototype.add = function (subscription) {
|
||||
Subscription_1.Subscription.prototype.add.call(this, subscription);
|
||||
};
|
||||
Subject.prototype.remove = function (subscription) {
|
||||
Subscription_1.Subscription.prototype.remove.call(this, subscription);
|
||||
};
|
||||
Subject.prototype.unsubscribe = function () {
|
||||
Subscription_1.Subscription.prototype.unsubscribe.call(this);
|
||||
};
|
||||
Subject.prototype._subscribe = function (subscriber) {
|
||||
if (this.source) {
|
||||
return this.source.subscribe(subscriber);
|
||||
}
|
||||
else {
|
||||
if (subscriber.isUnsubscribed) {
|
||||
return;
|
||||
}
|
||||
else if (this.hasErrored) {
|
||||
return subscriber.error(this.errorValue);
|
||||
}
|
||||
else if (this.hasCompleted) {
|
||||
return subscriber.complete();
|
||||
}
|
||||
this.throwIfUnsubscribed();
|
||||
var subscription = new SubjectSubscription_1.SubjectSubscription(this, subscriber);
|
||||
this.observers.push(subscriber);
|
||||
return subscription;
|
||||
}
|
||||
};
|
||||
Subject.prototype._unsubscribe = function () {
|
||||
this.source = null;
|
||||
this.isStopped = true;
|
||||
this.observers = null;
|
||||
this.destination = null;
|
||||
};
|
||||
Subject.prototype.next = function (value) {
|
||||
this.throwIfUnsubscribed();
|
||||
if (this.isStopped) {
|
||||
return;
|
||||
}
|
||||
this.dispatching = true;
|
||||
this._next(value);
|
||||
this.dispatching = false;
|
||||
if (this.hasErrored) {
|
||||
this._error(this.errorValue);
|
||||
}
|
||||
else if (this.hasCompleted) {
|
||||
this._complete();
|
||||
}
|
||||
};
|
||||
Subject.prototype.error = function (err) {
|
||||
this.throwIfUnsubscribed();
|
||||
if (this.isStopped) {
|
||||
return;
|
||||
}
|
||||
this.isStopped = true;
|
||||
this.hasErrored = true;
|
||||
this.errorValue = err;
|
||||
if (this.dispatching) {
|
||||
return;
|
||||
}
|
||||
this._error(err);
|
||||
};
|
||||
Subject.prototype.complete = function () {
|
||||
this.throwIfUnsubscribed();
|
||||
if (this.isStopped) {
|
||||
return;
|
||||
}
|
||||
this.isStopped = true;
|
||||
this.hasCompleted = true;
|
||||
if (this.dispatching) {
|
||||
return;
|
||||
}
|
||||
this._complete();
|
||||
};
|
||||
Subject.prototype.asObservable = function () {
|
||||
var observable = new SubjectObservable(this);
|
||||
return observable;
|
||||
};
|
||||
Subject.prototype._next = function (value) {
|
||||
if (this.destination) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
else {
|
||||
this._finalNext(value);
|
||||
}
|
||||
};
|
||||
Subject.prototype._finalNext = function (value) {
|
||||
var index = -1;
|
||||
var observers = this.observers.slice(0);
|
||||
var len = observers.length;
|
||||
while (++index < len) {
|
||||
observers[index].next(value);
|
||||
}
|
||||
};
|
||||
Subject.prototype._error = function (err) {
|
||||
if (this.destination) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
else {
|
||||
this._finalError(err);
|
||||
}
|
||||
};
|
||||
Subject.prototype._finalError = function (err) {
|
||||
var index = -1;
|
||||
var observers = this.observers;
|
||||
// optimization to block our SubjectSubscriptions from
|
||||
// splicing themselves out of the observers list one by one.
|
||||
this.observers = null;
|
||||
this.isUnsubscribed = true;
|
||||
if (observers) {
|
||||
var len = observers.length;
|
||||
while (++index < len) {
|
||||
observers[index].error(err);
|
||||
}
|
||||
}
|
||||
this.isUnsubscribed = false;
|
||||
this.unsubscribe();
|
||||
};
|
||||
Subject.prototype._complete = function () {
|
||||
if (this.destination) {
|
||||
this.destination.complete();
|
||||
}
|
||||
else {
|
||||
this._finalComplete();
|
||||
}
|
||||
};
|
||||
Subject.prototype._finalComplete = function () {
|
||||
var index = -1;
|
||||
var observers = this.observers;
|
||||
// optimization to block our SubjectSubscriptions from
|
||||
// splicing themselves out of the observers list one by one.
|
||||
this.observers = null;
|
||||
this.isUnsubscribed = true;
|
||||
if (observers) {
|
||||
var len = observers.length;
|
||||
while (++index < len) {
|
||||
observers[index].complete();
|
||||
}
|
||||
}
|
||||
this.isUnsubscribed = false;
|
||||
this.unsubscribe();
|
||||
};
|
||||
Subject.prototype.throwIfUnsubscribed = function () {
|
||||
if (this.isUnsubscribed) {
|
||||
throwError_1.throwError(new ObjectUnsubscribedError_1.ObjectUnsubscribedError());
|
||||
}
|
||||
};
|
||||
Subject.prototype[rxSubscriber_1.rxSubscriber] = function () {
|
||||
return new Subscriber_1.Subscriber(this);
|
||||
};
|
||||
Subject.create = function (destination, source) {
|
||||
return new Subject(destination, source);
|
||||
};
|
||||
return Subject;
|
||||
}(Observable_1.Observable));
|
||||
exports.Subject = Subject;
|
||||
var SubjectObservable = (function (_super) {
|
||||
__extends(SubjectObservable, _super);
|
||||
function SubjectObservable(source) {
|
||||
_super.call(this);
|
||||
this.source = source;
|
||||
}
|
||||
return SubjectObservable;
|
||||
}(Observable_1.Observable));
|
||||
//# sourceMappingURL=Subject.js.map
|
1
node_modules/rxjs/Subject.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Subject.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
18
node_modules/rxjs/Subscriber.d.ts
generated
vendored
Normal file
18
node_modules/rxjs/Subscriber.d.ts
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
import { Observer, PartialObserver } from './Observer';
|
||||
import { Subscription } from './Subscription';
|
||||
export declare class Subscriber<T> extends Subscription implements Observer<T> {
|
||||
static create<T>(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber<T>;
|
||||
syncErrorValue: any;
|
||||
syncErrorThrown: boolean;
|
||||
syncErrorThrowable: boolean;
|
||||
protected isStopped: boolean;
|
||||
protected destination: PartialObserver<any>;
|
||||
constructor(destinationOrNext?: PartialObserver<any> | ((value: T) => void), error?: (e?: any) => void, complete?: () => void);
|
||||
next(value?: T): void;
|
||||
error(err?: any): void;
|
||||
complete(): void;
|
||||
unsubscribe(): void;
|
||||
protected _next(value: T): void;
|
||||
protected _error(err: any): void;
|
||||
protected _complete(): void;
|
||||
}
|
192
node_modules/rxjs/Subscriber.js
generated
vendored
Normal file
192
node_modules/rxjs/Subscriber.js
generated
vendored
Normal file
@ -0,0 +1,192 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var isFunction_1 = require('./util/isFunction');
|
||||
var Subscription_1 = require('./Subscription');
|
||||
var rxSubscriber_1 = require('./symbol/rxSubscriber');
|
||||
var Observer_1 = require('./Observer');
|
||||
var Subscriber = (function (_super) {
|
||||
__extends(Subscriber, _super);
|
||||
function Subscriber(destinationOrNext, error, complete) {
|
||||
_super.call(this);
|
||||
this.syncErrorValue = null;
|
||||
this.syncErrorThrown = false;
|
||||
this.syncErrorThrowable = false;
|
||||
this.isStopped = false;
|
||||
switch (arguments.length) {
|
||||
case 0:
|
||||
this.destination = Observer_1.empty;
|
||||
break;
|
||||
case 1:
|
||||
if (!destinationOrNext) {
|
||||
this.destination = Observer_1.empty;
|
||||
break;
|
||||
}
|
||||
if (typeof destinationOrNext === 'object') {
|
||||
if (destinationOrNext instanceof Subscriber) {
|
||||
this.destination = destinationOrNext;
|
||||
}
|
||||
else {
|
||||
this.syncErrorThrowable = true;
|
||||
this.destination = new SafeSubscriber(this, destinationOrNext);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
this.syncErrorThrowable = true;
|
||||
this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);
|
||||
break;
|
||||
}
|
||||
}
|
||||
Subscriber.create = function (next, error, complete) {
|
||||
var subscriber = new Subscriber(next, error, complete);
|
||||
subscriber.syncErrorThrowable = false;
|
||||
return subscriber;
|
||||
};
|
||||
Subscriber.prototype.next = function (value) {
|
||||
if (!this.isStopped) {
|
||||
this._next(value);
|
||||
}
|
||||
};
|
||||
Subscriber.prototype.error = function (err) {
|
||||
if (!this.isStopped) {
|
||||
this.isStopped = true;
|
||||
this._error(err);
|
||||
}
|
||||
};
|
||||
Subscriber.prototype.complete = function () {
|
||||
if (!this.isStopped) {
|
||||
this.isStopped = true;
|
||||
this._complete();
|
||||
}
|
||||
};
|
||||
Subscriber.prototype.unsubscribe = function () {
|
||||
if (this.isUnsubscribed) {
|
||||
return;
|
||||
}
|
||||
this.isStopped = true;
|
||||
_super.prototype.unsubscribe.call(this);
|
||||
};
|
||||
Subscriber.prototype._next = function (value) {
|
||||
this.destination.next(value);
|
||||
};
|
||||
Subscriber.prototype._error = function (err) {
|
||||
this.destination.error(err);
|
||||
this.unsubscribe();
|
||||
};
|
||||
Subscriber.prototype._complete = function () {
|
||||
this.destination.complete();
|
||||
this.unsubscribe();
|
||||
};
|
||||
Subscriber.prototype[rxSubscriber_1.rxSubscriber] = function () {
|
||||
return this;
|
||||
};
|
||||
return Subscriber;
|
||||
}(Subscription_1.Subscription));
|
||||
exports.Subscriber = Subscriber;
|
||||
var SafeSubscriber = (function (_super) {
|
||||
__extends(SafeSubscriber, _super);
|
||||
function SafeSubscriber(_parent, observerOrNext, error, complete) {
|
||||
_super.call(this);
|
||||
this._parent = _parent;
|
||||
var next;
|
||||
var context = this;
|
||||
if (isFunction_1.isFunction(observerOrNext)) {
|
||||
next = observerOrNext;
|
||||
}
|
||||
else if (observerOrNext) {
|
||||
context = observerOrNext;
|
||||
next = observerOrNext.next;
|
||||
error = observerOrNext.error;
|
||||
complete = observerOrNext.complete;
|
||||
}
|
||||
this._context = context;
|
||||
this._next = next;
|
||||
this._error = error;
|
||||
this._complete = complete;
|
||||
}
|
||||
SafeSubscriber.prototype.next = function (value) {
|
||||
if (!this.isStopped && this._next) {
|
||||
var _parent = this._parent;
|
||||
if (!_parent.syncErrorThrowable) {
|
||||
this.__tryOrUnsub(this._next, value);
|
||||
}
|
||||
else if (this.__tryOrSetError(_parent, this._next, value)) {
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
};
|
||||
SafeSubscriber.prototype.error = function (err) {
|
||||
if (!this.isStopped) {
|
||||
var _parent = this._parent;
|
||||
if (this._error) {
|
||||
if (!_parent.syncErrorThrowable) {
|
||||
this.__tryOrUnsub(this._error, err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
else {
|
||||
this.__tryOrSetError(_parent, this._error, err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
else if (!_parent.syncErrorThrowable) {
|
||||
this.unsubscribe();
|
||||
throw err;
|
||||
}
|
||||
else {
|
||||
_parent.syncErrorValue = err;
|
||||
_parent.syncErrorThrown = true;
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
};
|
||||
SafeSubscriber.prototype.complete = function () {
|
||||
if (!this.isStopped) {
|
||||
var _parent = this._parent;
|
||||
if (this._complete) {
|
||||
if (!_parent.syncErrorThrowable) {
|
||||
this.__tryOrUnsub(this._complete);
|
||||
this.unsubscribe();
|
||||
}
|
||||
else {
|
||||
this.__tryOrSetError(_parent, this._complete);
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
};
|
||||
SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {
|
||||
try {
|
||||
fn.call(this._context, value);
|
||||
}
|
||||
catch (err) {
|
||||
this.unsubscribe();
|
||||
throw err;
|
||||
}
|
||||
};
|
||||
SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) {
|
||||
try {
|
||||
fn.call(this._context, value);
|
||||
}
|
||||
catch (err) {
|
||||
parent.syncErrorValue = err;
|
||||
parent.syncErrorThrown = true;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
SafeSubscriber.prototype._unsubscribe = function () {
|
||||
var _parent = this._parent;
|
||||
this._context = null;
|
||||
this._parent = null;
|
||||
_parent.unsubscribe();
|
||||
};
|
||||
return SafeSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=Subscriber.js.map
|
1
node_modules/rxjs/Subscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Subscriber.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
12
node_modules/rxjs/Subscription.d.ts
generated
vendored
Normal file
12
node_modules/rxjs/Subscription.d.ts
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
export declare class Subscription {
|
||||
static EMPTY: Subscription;
|
||||
isUnsubscribed: boolean;
|
||||
constructor(_unsubscribe?: () => void);
|
||||
unsubscribe(): void;
|
||||
add(subscription: Subscription | Function | void): void;
|
||||
remove(subscription: Subscription): void;
|
||||
}
|
||||
export declare class UnsubscriptionError extends Error {
|
||||
errors: any[];
|
||||
constructor(errors: any[]);
|
||||
}
|
120
node_modules/rxjs/Subscription.js
generated
vendored
Normal file
120
node_modules/rxjs/Subscription.js
generated
vendored
Normal file
@ -0,0 +1,120 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var isArray_1 = require('./util/isArray');
|
||||
var isObject_1 = require('./util/isObject');
|
||||
var isFunction_1 = require('./util/isFunction');
|
||||
var tryCatch_1 = require('./util/tryCatch');
|
||||
var errorObject_1 = require('./util/errorObject');
|
||||
var Subscription = (function () {
|
||||
function Subscription(_unsubscribe) {
|
||||
this.isUnsubscribed = false;
|
||||
if (_unsubscribe) {
|
||||
this._unsubscribe = _unsubscribe;
|
||||
}
|
||||
}
|
||||
Subscription.prototype.unsubscribe = function () {
|
||||
var hasErrors = false;
|
||||
var errors;
|
||||
if (this.isUnsubscribed) {
|
||||
return;
|
||||
}
|
||||
this.isUnsubscribed = true;
|
||||
var _a = this, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;
|
||||
this._subscriptions = null;
|
||||
if (isFunction_1.isFunction(_unsubscribe)) {
|
||||
var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);
|
||||
if (trial === errorObject_1.errorObject) {
|
||||
hasErrors = true;
|
||||
(errors = errors || []).push(errorObject_1.errorObject.e);
|
||||
}
|
||||
}
|
||||
if (isArray_1.isArray(_subscriptions)) {
|
||||
var index = -1;
|
||||
var len = _subscriptions.length;
|
||||
while (++index < len) {
|
||||
var sub = _subscriptions[index];
|
||||
if (isObject_1.isObject(sub)) {
|
||||
var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);
|
||||
if (trial === errorObject_1.errorObject) {
|
||||
hasErrors = true;
|
||||
errors = errors || [];
|
||||
var err = errorObject_1.errorObject.e;
|
||||
if (err instanceof UnsubscriptionError) {
|
||||
errors = errors.concat(err.errors);
|
||||
}
|
||||
else {
|
||||
errors.push(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (hasErrors) {
|
||||
throw new UnsubscriptionError(errors);
|
||||
}
|
||||
};
|
||||
Subscription.prototype.add = function (subscription) {
|
||||
// return early if:
|
||||
// 1. the subscription is null
|
||||
// 2. we're attempting to add our this
|
||||
// 3. we're attempting to add the static `empty` Subscription
|
||||
if (!subscription || (subscription === this) || (subscription === Subscription.EMPTY)) {
|
||||
return;
|
||||
}
|
||||
var sub = subscription;
|
||||
switch (typeof subscription) {
|
||||
case 'function':
|
||||
sub = new Subscription(subscription);
|
||||
case 'object':
|
||||
if (sub.isUnsubscribed || typeof sub.unsubscribe !== 'function') {
|
||||
break;
|
||||
}
|
||||
else if (this.isUnsubscribed) {
|
||||
sub.unsubscribe();
|
||||
}
|
||||
else {
|
||||
(this._subscriptions || (this._subscriptions = [])).push(sub);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw new Error('Unrecognized subscription ' + subscription + ' added to Subscription.');
|
||||
}
|
||||
};
|
||||
Subscription.prototype.remove = function (subscription) {
|
||||
// return early if:
|
||||
// 1. the subscription is null
|
||||
// 2. we're attempting to remove ourthis
|
||||
// 3. we're attempting to remove the static `empty` Subscription
|
||||
if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {
|
||||
return;
|
||||
}
|
||||
var subscriptions = this._subscriptions;
|
||||
if (subscriptions) {
|
||||
var subscriptionIndex = subscriptions.indexOf(subscription);
|
||||
if (subscriptionIndex !== -1) {
|
||||
subscriptions.splice(subscriptionIndex, 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
Subscription.EMPTY = (function (empty) {
|
||||
empty.isUnsubscribed = true;
|
||||
return empty;
|
||||
}(new Subscription()));
|
||||
return Subscription;
|
||||
}());
|
||||
exports.Subscription = Subscription;
|
||||
var UnsubscriptionError = (function (_super) {
|
||||
__extends(UnsubscriptionError, _super);
|
||||
function UnsubscriptionError(errors) {
|
||||
_super.call(this, 'unsubscriptoin error(s)');
|
||||
this.errors = errors;
|
||||
this.name = 'UnsubscriptionError';
|
||||
}
|
||||
return UnsubscriptionError;
|
||||
}(Error));
|
||||
exports.UnsubscriptionError = UnsubscriptionError;
|
||||
//# sourceMappingURL=Subscription.js.map
|
1
node_modules/rxjs/Subscription.js.map
generated
vendored
Normal file
1
node_modules/rxjs/Subscription.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../src/Subscription.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAsB,gBAAgB,CAAC,CAAA;AACvC,yBAAuB,iBAAiB,CAAC,CAAA;AACzC,2BAAyB,mBAAmB,CAAC,CAAA;AAC7C,yBAAuB,iBAAiB,CAAC,CAAA;AACzC,4BAA0B,oBAAoB,CAAC,CAAA;AAE/C;IAQE,sBAAY,YAAyB;QAF9B,mBAAc,GAAY,KAAK,CAAC;QAGrC,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YACV,IAAK,CAAC,YAAY,GAAG,YAAY,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,kCAAW,GAAX;QACE,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,IAAI,MAAa,CAAC;QAElB,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAE3B,IAAA,SAAqD,EAA7C,8BAAY,EAAE,kCAAc,CAAkB;QAE/C,IAAK,CAAC,cAAc,GAAG,IAAI,CAAC;QAEnC,EAAE,CAAC,CAAC,uBAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YAC7B,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K,IAAI,CAAC,IAAI,CAC1B,YAAY,KAAK,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACzC,MAAM,CAAC;QACT,CAAC;QAED,IAAM,aAAa,GAAU,IAAK,CAAC,cAAc,CAAC;QAElD,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;YAClB,IAAM,iBAAiB,GAAG,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;YAC9D,EAAE,CAAC,CAAC,iBAAiB,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7B,aAAa,CAAC,MAAM,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IAjHa,kBAAK,GAAiB,CAAC,UAAS,KAAU;QACtD,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC;QAC5B,MAAM,CAAC,KAAK,CAAC;IACf,CAAC,CAAC,IAAI,YAAY,EAAE,CAAC,CAAC,CAAC;IA+GzB,mBAAC;AAAD,CAAC,AAnHD,IAmHC;AAnHY,oBAAY,eAmHxB,CAAA;AAED;IAAyC,uCAAK;IAC5C,6BAAmB,MAAa;QAC9B,kBAAM,yBAAyB,CAAC,CAAC;QADhB,WAAM,GAAN,MAAM,CAAO;QAE9B,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;IACH,0BAAC;AAAD,CAAC,AALD,CAAyC,KAAK,GAK7C;AALY,2BAAmB,sBAK/B,CAAA"}
|
1
node_modules/rxjs/add/observable/bindCallback.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/bindCallback.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/bindCallback.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/bindCallback.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var BoundCallbackObservable_1 = require('../../observable/BoundCallbackObservable');
|
||||
Observable_1.Observable.bindCallback = BoundCallbackObservable_1.BoundCallbackObservable.create;
|
||||
//# sourceMappingURL=bindCallback.js.map
|
1
node_modules/rxjs/add/observable/bindCallback.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/bindCallback.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"bindCallback.js","sourceRoot":"","sources":["../../../../src/add/observable/bindCallback.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,wCAAsC,0CAA0C,CAAC,CAAA;AAEjF,uBAAU,CAAC,YAAY,GAAG,iDAAuB,CAAC,MAAM,CAAC;AAElC"}
|
1
node_modules/rxjs/add/observable/bindNodeCallback.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/bindNodeCallback.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/bindNodeCallback.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/bindNodeCallback.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var BoundNodeCallbackObservable_1 = require('../../observable/BoundNodeCallbackObservable');
|
||||
Observable_1.Observable.bindNodeCallback = BoundNodeCallbackObservable_1.BoundNodeCallbackObservable.create;
|
||||
//# sourceMappingURL=bindNodeCallback.js.map
|
1
node_modules/rxjs/add/observable/bindNodeCallback.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/bindNodeCallback.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"bindNodeCallback.js","sourceRoot":"","sources":["../../../../src/add/observable/bindNodeCallback.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,4CAA0C,8CAA8C,CAAC,CAAA;AAEzF,uBAAU,CAAC,gBAAgB,GAAG,yDAA2B,CAAC,MAAM,CAAC;AAE1C"}
|
1
node_modules/rxjs/add/observable/combineLatest.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/combineLatest.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/combineLatest.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/combineLatest.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var combineLatest_1 = require('../../operator/combineLatest');
|
||||
Observable_1.Observable.combineLatest = combineLatest_1.combineLatestStatic;
|
||||
//# sourceMappingURL=combineLatest.js.map
|
1
node_modules/rxjs/add/observable/combineLatest.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/combineLatest.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../../../src/add/observable/combineLatest.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,8BAAkC,8BAA8B,CAAC,CAAA;AAEjE,uBAAU,CAAC,aAAa,GAAG,mCAAmB,CAAC;AAExB"}
|
1
node_modules/rxjs/add/observable/concat.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/concat.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/concat.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/concat.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var concat_1 = require('../../operator/concat');
|
||||
Observable_1.Observable.concat = concat_1.concatStatic;
|
||||
//# sourceMappingURL=concat.js.map
|
1
node_modules/rxjs/add/observable/concat.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/concat.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../../../src/add/observable/concat.ts"],"names":[],"mappings":";AACA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,uBAA2B,uBAAuB,CAAC,CAAA;AAEnD,uBAAU,CAAC,MAAM,GAAG,qBAAY,CAAC;AAEV"}
|
1
node_modules/rxjs/add/observable/defer.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/defer.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/defer.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/defer.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var DeferObservable_1 = require('../../observable/DeferObservable');
|
||||
Observable_1.Observable.defer = DeferObservable_1.DeferObservable.create;
|
||||
//# sourceMappingURL=defer.js.map
|
1
node_modules/rxjs/add/observable/defer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/defer.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../../../src/add/observable/defer.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,gCAA8B,kCAAkC,CAAC,CAAA;AAEjE,uBAAU,CAAC,KAAK,GAAG,iCAAe,CAAC,MAAM,CAAC;AAEnB"}
|
1
node_modules/rxjs/add/observable/dom/ajax.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/dom/ajax.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/dom/ajax.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/dom/ajax.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../../Observable');
|
||||
var AjaxObservable_1 = require('../../../observable/dom/AjaxObservable');
|
||||
Observable_1.Observable.ajax = AjaxObservable_1.AjaxObservable.create;
|
||||
//# sourceMappingURL=ajax.js.map
|
1
node_modules/rxjs/add/observable/dom/ajax.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/dom/ajax.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"ajax.js","sourceRoot":"","sources":["../../../../../src/add/observable/dom/ajax.ts"],"names":[],"mappings":";AACA,2BAAyB,qBAAqB,CAAC,CAAA;AAC/C,+BAA6B,wCAAwC,CAAC,CAAA;AAEtE,uBAAU,CAAC,IAAI,GAAG,+BAAc,CAAC,MAAM,CAAC;AAEjB"}
|
1
node_modules/rxjs/add/observable/dom/webSocket.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/dom/webSocket.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/dom/webSocket.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/dom/webSocket.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../../Observable');
|
||||
var WebSocketSubject_1 = require('../../../observable/dom/WebSocketSubject');
|
||||
Observable_1.Observable.webSocket = WebSocketSubject_1.WebSocketSubject.create;
|
||||
//# sourceMappingURL=webSocket.js.map
|
1
node_modules/rxjs/add/observable/dom/webSocket.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/dom/webSocket.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../../../src/add/observable/dom/webSocket.ts"],"names":[],"mappings":";AACA,2BAAyB,qBAAqB,CAAC,CAAA;AAC/C,iCAA+B,0CAA0C,CAAC,CAAA;AAE1E,uBAAU,CAAC,SAAS,GAAG,mCAAgB,CAAC,MAAM,CAAC;AAExB"}
|
1
node_modules/rxjs/add/observable/empty.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/empty.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/empty.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/empty.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var EmptyObservable_1 = require('../../observable/EmptyObservable');
|
||||
Observable_1.Observable.empty = EmptyObservable_1.EmptyObservable.create;
|
||||
//# sourceMappingURL=empty.js.map
|
1
node_modules/rxjs/add/observable/empty.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/empty.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../../../src/add/observable/empty.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,gCAA8B,kCAAkC,CAAC,CAAA;AAEjE,uBAAU,CAAC,KAAK,GAAG,iCAAe,CAAC,MAAM,CAAC;AAEnB"}
|
1
node_modules/rxjs/add/observable/forkJoin.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/forkJoin.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/forkJoin.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/forkJoin.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var ForkJoinObservable_1 = require('../../observable/ForkJoinObservable');
|
||||
Observable_1.Observable.forkJoin = ForkJoinObservable_1.ForkJoinObservable.create;
|
||||
//# sourceMappingURL=forkJoin.js.map
|
1
node_modules/rxjs/add/observable/forkJoin.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/forkJoin.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"forkJoin.js","sourceRoot":"","sources":["../../../../src/add/observable/forkJoin.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,mCAAiC,qCAAqC,CAAC,CAAA;AAEvE,uBAAU,CAAC,QAAQ,GAAG,uCAAkB,CAAC,MAAM,CAAC;AAEzB"}
|
1
node_modules/rxjs/add/observable/from.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/from.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/from.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/from.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var FromObservable_1 = require('../../observable/FromObservable');
|
||||
Observable_1.Observable.from = FromObservable_1.FromObservable.create;
|
||||
//# sourceMappingURL=from.js.map
|
1
node_modules/rxjs/add/observable/from.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/from.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"from.js","sourceRoot":"","sources":["../../../../src/add/observable/from.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,+BAA6B,iCAAiC,CAAC,CAAA;AAE/D,uBAAU,CAAC,IAAI,GAAG,+BAAc,CAAC,MAAM,CAAC;AAEjB"}
|
1
node_modules/rxjs/add/observable/fromArray.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromArray.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
6
node_modules/rxjs/add/observable/fromArray.js
generated
vendored
Normal file
6
node_modules/rxjs/add/observable/fromArray.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var ArrayObservable_1 = require('../../observable/ArrayObservable');
|
||||
Observable_1.Observable.fromArray = ArrayObservable_1.ArrayObservable.create;
|
||||
Observable_1.Observable.of = ArrayObservable_1.ArrayObservable.of;
|
||||
//# sourceMappingURL=fromArray.js.map
|
1
node_modules/rxjs/add/observable/fromArray.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromArray.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"fromArray.js","sourceRoot":"","sources":["../../../../src/add/observable/fromArray.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,gCAA8B,kCAAkC,CAAC,CAAA;AAEjE,uBAAU,CAAC,SAAS,GAAG,iCAAe,CAAC,MAAM,CAAC;AAC9C,uBAAU,CAAC,EAAE,GAAG,iCAAe,CAAC,EAAE,CAAC;AAEZ"}
|
1
node_modules/rxjs/add/observable/fromEvent.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromEvent.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/fromEvent.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/fromEvent.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var FromEventObservable_1 = require('../../observable/FromEventObservable');
|
||||
Observable_1.Observable.fromEvent = FromEventObservable_1.FromEventObservable.create;
|
||||
//# sourceMappingURL=fromEvent.js.map
|
1
node_modules/rxjs/add/observable/fromEvent.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromEvent.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"fromEvent.js","sourceRoot":"","sources":["../../../../src/add/observable/fromEvent.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,oCAAkC,sCAAsC,CAAC,CAAA;AAEzE,uBAAU,CAAC,SAAS,GAAG,yCAAmB,CAAC,MAAM,CAAC;AAE3B"}
|
1
node_modules/rxjs/add/observable/fromEventPattern.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromEventPattern.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/fromEventPattern.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/fromEventPattern.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var FromEventPatternObservable_1 = require('../../observable/FromEventPatternObservable');
|
||||
Observable_1.Observable.fromEventPattern = FromEventPatternObservable_1.FromEventPatternObservable.create;
|
||||
//# sourceMappingURL=fromEventPattern.js.map
|
1
node_modules/rxjs/add/observable/fromEventPattern.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromEventPattern.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"fromEventPattern.js","sourceRoot":"","sources":["../../../../src/add/observable/fromEventPattern.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,2CAAyC,6CAA6C,CAAC,CAAA;AAEvF,uBAAU,CAAC,gBAAgB,GAAG,uDAA0B,CAAC,MAAM,CAAC;AAEzC"}
|
1
node_modules/rxjs/add/observable/fromPromise.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromPromise.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/fromPromise.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/fromPromise.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var PromiseObservable_1 = require('../../observable/PromiseObservable');
|
||||
Observable_1.Observable.fromPromise = PromiseObservable_1.PromiseObservable.create;
|
||||
//# sourceMappingURL=fromPromise.js.map
|
1
node_modules/rxjs/add/observable/fromPromise.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/fromPromise.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"fromPromise.js","sourceRoot":"","sources":["../../../../src/add/observable/fromPromise.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,kCAAgC,oCAAoC,CAAC,CAAA;AAErE,uBAAU,CAAC,WAAW,GAAG,qCAAiB,CAAC,MAAM,CAAC;AAE3B"}
|
1
node_modules/rxjs/add/observable/interval.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/interval.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/interval.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/interval.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var IntervalObservable_1 = require('../../observable/IntervalObservable');
|
||||
Observable_1.Observable.interval = IntervalObservable_1.IntervalObservable.create;
|
||||
//# sourceMappingURL=interval.js.map
|
1
node_modules/rxjs/add/observable/interval.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/interval.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"interval.js","sourceRoot":"","sources":["../../../../src/add/observable/interval.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,mCAAiC,qCAAqC,CAAC,CAAA;AAEvE,uBAAU,CAAC,QAAQ,GAAG,uCAAkB,CAAC,MAAM,CAAC;AAEzB"}
|
1
node_modules/rxjs/add/observable/merge.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/merge.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/merge.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/merge.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var merge_1 = require('../../operator/merge');
|
||||
Observable_1.Observable.merge = merge_1.mergeStatic;
|
||||
//# sourceMappingURL=merge.js.map
|
1
node_modules/rxjs/add/observable/merge.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/merge.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../../src/add/observable/merge.ts"],"names":[],"mappings":";AACA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,sBAA0B,sBAAsB,CAAC,CAAA;AAEjD,uBAAU,CAAC,KAAK,GAAG,mBAAW,CAAC;AAER"}
|
1
node_modules/rxjs/add/observable/never.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/never.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/never.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/never.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var NeverObservable_1 = require('../../observable/NeverObservable');
|
||||
Observable_1.Observable.never = NeverObservable_1.NeverObservable.create;
|
||||
//# sourceMappingURL=never.js.map
|
1
node_modules/rxjs/add/observable/never.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/never.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"never.js","sourceRoot":"","sources":["../../../../src/add/observable/never.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,gCAA8B,kCAAkC,CAAC,CAAA;AAEjE,uBAAU,CAAC,KAAK,GAAG,iCAAe,CAAC,MAAM,CAAC;AAEnB"}
|
1
node_modules/rxjs/add/observable/of.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/of.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/of.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/of.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var ArrayObservable_1 = require('../../observable/ArrayObservable');
|
||||
Observable_1.Observable.of = ArrayObservable_1.ArrayObservable.of;
|
||||
//# sourceMappingURL=of.js.map
|
1
node_modules/rxjs/add/observable/of.js.map
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/of.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"of.js","sourceRoot":"","sources":["../../../../src/add/observable/of.ts"],"names":[],"mappings":";AAAA,2BAAyB,kBAAkB,CAAC,CAAA;AAC5C,gCAA8B,kCAAkC,CAAC,CAAA;AAEjE,uBAAU,CAAC,EAAE,GAAG,iCAAe,CAAC,EAAE,CAAC;AAEZ"}
|
1
node_modules/rxjs/add/observable/race.d.ts
generated
vendored
Normal file
1
node_modules/rxjs/add/observable/race.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export declare var _void: void;
|
5
node_modules/rxjs/add/observable/race.js
generated
vendored
Normal file
5
node_modules/rxjs/add/observable/race.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
var Observable_1 = require('../../Observable');
|
||||
var race_1 = require('../../operator/race');
|
||||
Observable_1.Observable.race = race_1.raceStatic;
|
||||
//# sourceMappingURL=race.js.map
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user