Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
41
node_modules/rxjs/_esm2015/internal/AsyncSubject.js
generated
vendored
Normal file
41
node_modules/rxjs/_esm2015/internal/AsyncSubject.js
generated
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
import { Subject } from './Subject';
|
||||
import { Subscription } from './Subscription';
|
||||
export class AsyncSubject extends Subject {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.value = null;
|
||||
this.hasNext = false;
|
||||
this.hasCompleted = false;
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
if (this.hasError) {
|
||||
subscriber.error(this.thrownError);
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
else if (this.hasCompleted && this.hasNext) {
|
||||
subscriber.next(this.value);
|
||||
subscriber.complete();
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
return super._subscribe(subscriber);
|
||||
}
|
||||
next(value) {
|
||||
if (!this.hasCompleted) {
|
||||
this.value = value;
|
||||
this.hasNext = true;
|
||||
}
|
||||
}
|
||||
error(error) {
|
||||
if (!this.hasCompleted) {
|
||||
super.error(error);
|
||||
}
|
||||
}
|
||||
complete() {
|
||||
this.hasCompleted = true;
|
||||
if (this.hasNext) {
|
||||
super.next(this.value);
|
||||
}
|
||||
super.complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=AsyncSubject.js.map
|
1
node_modules/rxjs/_esm2015/internal/AsyncSubject.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/AsyncSubject.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"AsyncSubject.js","sources":["../../src/internal/AsyncSubject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,MAAM,OAAO,YAAgB,SAAQ,OAAU;IAA/C;;QACU,UAAK,GAAM,IAAI,CAAC;QAChB,YAAO,GAAY,KAAK,CAAC;QACzB,iBAAY,GAAY,KAAK,CAAC;IAmCxC,CAAC;IAhCC,UAAU,CAAC,UAA2B;QACpC,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACnC,OAAO,YAAY,CAAC,KAAK,CAAC;SAC3B;aAAM,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,OAAO,EAAE;YAC5C,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,OAAO,YAAY,CAAC,KAAK,CAAC;SAC3B;QACD,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;SACrB;IACH,CAAC;IAED,KAAK,CAAC,KAAU;QACd,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACpB;IACH,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACxB;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;CACF"}
|
33
node_modules/rxjs/_esm2015/internal/BehaviorSubject.js
generated
vendored
Normal file
33
node_modules/rxjs/_esm2015/internal/BehaviorSubject.js
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
import { Subject } from './Subject';
|
||||
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
export class BehaviorSubject extends Subject {
|
||||
constructor(_value) {
|
||||
super();
|
||||
this._value = _value;
|
||||
}
|
||||
get value() {
|
||||
return this.getValue();
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const subscription = super._subscribe(subscriber);
|
||||
if (subscription && !subscription.closed) {
|
||||
subscriber.next(this._value);
|
||||
}
|
||||
return subscription;
|
||||
}
|
||||
getValue() {
|
||||
if (this.hasError) {
|
||||
throw this.thrownError;
|
||||
}
|
||||
else if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
else {
|
||||
return this._value;
|
||||
}
|
||||
}
|
||||
next(value) {
|
||||
super.next(this._value = value);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=BehaviorSubject.js.map
|
1
node_modules/rxjs/_esm2015/internal/BehaviorSubject.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/BehaviorSubject.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"BehaviorSubject.js","sources":["../../src/internal/BehaviorSubject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAQzE,MAAM,OAAO,eAAmB,SAAQ,OAAU;IAEhD,YAAoB,MAAS;QAC3B,KAAK,EAAE,CAAC;QADU,WAAM,GAAN,MAAM,CAAG;IAE7B,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAGD,UAAU,CAAC,UAAyB;QAClC,MAAM,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAClD,IAAI,YAAY,IAAI,CAAoB,YAAa,CAAC,MAAM,EAAE;YAC5D,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAC9B;QACD,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,QAAQ;QACN,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,IAAI,CAAC,WAAW,CAAC;SACxB;aAAM,IAAI,IAAI,CAAC,MAAM,EAAE;YACtB,MAAM,IAAI,uBAAuB,EAAE,CAAC;SACrC;aAAM;YACL,OAAO,IAAI,CAAC,MAAM,CAAC;SACpB;IACH,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAClC,CAAC;CACF"}
|
22
node_modules/rxjs/_esm2015/internal/InnerSubscriber.js
generated
vendored
Normal file
22
node_modules/rxjs/_esm2015/internal/InnerSubscriber.js
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { Subscriber } from './Subscriber';
|
||||
export class InnerSubscriber extends Subscriber {
|
||||
constructor(parent, outerValue, outerIndex) {
|
||||
super();
|
||||
this.parent = parent;
|
||||
this.outerValue = outerValue;
|
||||
this.outerIndex = outerIndex;
|
||||
this.index = 0;
|
||||
}
|
||||
_next(value) {
|
||||
this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
|
||||
}
|
||||
_error(error) {
|
||||
this.parent.notifyError(error, this);
|
||||
this.unsubscribe();
|
||||
}
|
||||
_complete() {
|
||||
this.parent.notifyComplete(this);
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=InnerSubscriber.js.map
|
1
node_modules/rxjs/_esm2015/internal/InnerSubscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/InnerSubscriber.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"InnerSubscriber.js","sources":["../../src/internal/InnerSubscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1C,MAAM,OAAO,eAAsB,SAAQ,UAAa;IAGtD,YAAoB,MAA6B,EAAS,UAAa,EAAS,UAAkB;QAChG,KAAK,EAAE,CAAC;QADU,WAAM,GAAN,MAAM,CAAuB;QAAS,eAAU,GAAV,UAAU,CAAG;QAAS,eAAU,GAAV,UAAU,CAAQ;QAF1F,UAAK,GAAG,CAAC,CAAC;IAIlB,CAAC;IAES,KAAK,CAAC,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,MAAM,CAAC,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;CACF"}
|
73
node_modules/rxjs/_esm2015/internal/Notification.js
generated
vendored
Normal file
73
node_modules/rxjs/_esm2015/internal/Notification.js
generated
vendored
Normal file
|
@ -0,0 +1,73 @@
|
|||
import { empty } from './observable/empty';
|
||||
import { of } from './observable/of';
|
||||
import { throwError } from './observable/throwError';
|
||||
export var NotificationKind;
|
||||
(function (NotificationKind) {
|
||||
NotificationKind["NEXT"] = "N";
|
||||
NotificationKind["ERROR"] = "E";
|
||||
NotificationKind["COMPLETE"] = "C";
|
||||
})(NotificationKind || (NotificationKind = {}));
|
||||
export class Notification {
|
||||
constructor(kind, value, error) {
|
||||
this.kind = kind;
|
||||
this.value = value;
|
||||
this.error = error;
|
||||
this.hasValue = kind === 'N';
|
||||
}
|
||||
observe(observer) {
|
||||
switch (this.kind) {
|
||||
case 'N':
|
||||
return observer.next && observer.next(this.value);
|
||||
case 'E':
|
||||
return observer.error && observer.error(this.error);
|
||||
case 'C':
|
||||
return observer.complete && observer.complete();
|
||||
}
|
||||
}
|
||||
do(next, error, complete) {
|
||||
const kind = this.kind;
|
||||
switch (kind) {
|
||||
case 'N':
|
||||
return next && next(this.value);
|
||||
case 'E':
|
||||
return error && error(this.error);
|
||||
case 'C':
|
||||
return complete && complete();
|
||||
}
|
||||
}
|
||||
accept(nextOrObserver, error, complete) {
|
||||
if (nextOrObserver && typeof nextOrObserver.next === 'function') {
|
||||
return this.observe(nextOrObserver);
|
||||
}
|
||||
else {
|
||||
return this.do(nextOrObserver, error, complete);
|
||||
}
|
||||
}
|
||||
toObservable() {
|
||||
const kind = this.kind;
|
||||
switch (kind) {
|
||||
case 'N':
|
||||
return of(this.value);
|
||||
case 'E':
|
||||
return throwError(this.error);
|
||||
case 'C':
|
||||
return empty();
|
||||
}
|
||||
throw new Error('unexpected notification kind value');
|
||||
}
|
||||
static createNext(value) {
|
||||
if (typeof value !== 'undefined') {
|
||||
return new Notification('N', value);
|
||||
}
|
||||
return Notification.undefinedValueNotification;
|
||||
}
|
||||
static createError(err) {
|
||||
return new Notification('E', undefined, err);
|
||||
}
|
||||
static createComplete() {
|
||||
return Notification.completeNotification;
|
||||
}
|
||||
}
|
||||
Notification.completeNotification = new Notification('C');
|
||||
Notification.undefinedValueNotification = new Notification('N', undefined);
|
||||
//# sourceMappingURL=Notification.js.map
|
1
node_modules/rxjs/_esm2015/internal/Notification.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Notification.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Notification.js","sources":["../../src/internal/Notification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAOrD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,8BAAU,CAAA;IACV,+BAAW,CAAA;IAC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CAAC;SACzD;aAAM;YACL,OAAO,IAAI,CAAC,EAAE,CAAqB,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;SACrE;IACH,CAAC;IAOD,YAAY;QACV,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACvB,QAAQ,IAAI,EAAE;YACZ,KAAK,GAAG;gBACN,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACxB,KAAK,GAAG;gBACN,OAAO,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAChC,KAAK,GAAG;gBACN,OAAO,KAAK,EAAE,CAAC;SAClB;QACD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IAaD,MAAM,CAAC,UAAU,CAAI,KAAQ;QAC3B,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;YAChC,OAAO,IAAI,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SACrC;QACD,OAAO,YAAY,CAAC,0BAA0B,CAAC;IACjD,CAAC;IAUD,MAAM,CAAC,WAAW,CAAI,GAAS;QAC7B,OAAO,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;IAC/C,CAAC;IAOD,MAAM,CAAC,cAAc;QACnB,OAAO,YAAY,CAAC,oBAAoB,CAAC;IAC3C,CAAC;;AArCc,iCAAoB,GAAsB,IAAI,YAAY,CAAC,GAAG,CAAC,CAAC;AAChE,uCAA0B,GAAsB,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC"}
|
107
node_modules/rxjs/_esm2015/internal/Observable.js
generated
vendored
Normal file
107
node_modules/rxjs/_esm2015/internal/Observable.js
generated
vendored
Normal file
|
@ -0,0 +1,107 @@
|
|||
import { canReportError } from './util/canReportError';
|
||||
import { toSubscriber } from './util/toSubscriber';
|
||||
import { observable as Symbol_observable } from './symbol/observable';
|
||||
import { pipeFromArray } from './util/pipe';
|
||||
import { config } from './config';
|
||||
export class Observable {
|
||||
constructor(subscribe) {
|
||||
this._isScalar = false;
|
||||
if (subscribe) {
|
||||
this._subscribe = subscribe;
|
||||
}
|
||||
}
|
||||
lift(operator) {
|
||||
const observable = new Observable();
|
||||
observable.source = this;
|
||||
observable.operator = operator;
|
||||
return observable;
|
||||
}
|
||||
subscribe(observerOrNext, error, complete) {
|
||||
const { operator } = this;
|
||||
const sink = toSubscriber(observerOrNext, error, complete);
|
||||
if (operator) {
|
||||
sink.add(operator.call(sink, this.source));
|
||||
}
|
||||
else {
|
||||
sink.add(this.source || (config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ?
|
||||
this._subscribe(sink) :
|
||||
this._trySubscribe(sink));
|
||||
}
|
||||
if (config.useDeprecatedSynchronousErrorHandling) {
|
||||
if (sink.syncErrorThrowable) {
|
||||
sink.syncErrorThrowable = false;
|
||||
if (sink.syncErrorThrown) {
|
||||
throw sink.syncErrorValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
return sink;
|
||||
}
|
||||
_trySubscribe(sink) {
|
||||
try {
|
||||
return this._subscribe(sink);
|
||||
}
|
||||
catch (err) {
|
||||
if (config.useDeprecatedSynchronousErrorHandling) {
|
||||
sink.syncErrorThrown = true;
|
||||
sink.syncErrorValue = err;
|
||||
}
|
||||
if (canReportError(sink)) {
|
||||
sink.error(err);
|
||||
}
|
||||
else {
|
||||
console.warn(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
forEach(next, promiseCtor) {
|
||||
promiseCtor = getPromiseCtor(promiseCtor);
|
||||
return new promiseCtor((resolve, reject) => {
|
||||
let subscription;
|
||||
subscription = this.subscribe((value) => {
|
||||
try {
|
||||
next(value);
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
if (subscription) {
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
}
|
||||
}, reject, resolve);
|
||||
});
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const { source } = this;
|
||||
return source && source.subscribe(subscriber);
|
||||
}
|
||||
[Symbol_observable]() {
|
||||
return this;
|
||||
}
|
||||
pipe(...operations) {
|
||||
if (operations.length === 0) {
|
||||
return this;
|
||||
}
|
||||
return pipeFromArray(operations)(this);
|
||||
}
|
||||
toPromise(promiseCtor) {
|
||||
promiseCtor = getPromiseCtor(promiseCtor);
|
||||
return new promiseCtor((resolve, reject) => {
|
||||
let value;
|
||||
this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value));
|
||||
});
|
||||
}
|
||||
}
|
||||
Observable.create = (subscribe) => {
|
||||
return new Observable(subscribe);
|
||||
};
|
||||
function getPromiseCtor(promiseCtor) {
|
||||
if (!promiseCtor) {
|
||||
promiseCtor = config.Promise || Promise;
|
||||
}
|
||||
if (!promiseCtor) {
|
||||
throw new Error('no Promise impl found');
|
||||
}
|
||||
return promiseCtor;
|
||||
}
|
||||
//# sourceMappingURL=Observable.js.map
|
1
node_modules/rxjs/_esm2015/internal/Observable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Observable.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Observable.js","sources":["../../src/internal/Observable.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQlC,MAAM,OAAO,UAAU;IAkBrB,YAAY,SAA6E;QAflF,cAAS,GAAY,KAAK,CAAC;QAgBhC,IAAI,SAAS,EAAE;YACb,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;SAC7B;IACH,CAAC;IAyBD,IAAI,CAAI,QAAwB;QAC9B,MAAM,UAAU,GAAG,IAAI,UAAU,EAAK,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U,CAAC;YACf,IAAI,CAAC,SAAS,CAAC,CAAC,CAAI,EAAE,EAAE,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QACvF,CAAC,CAAe,CAAC;IACnB,CAAC;;AAnTM,iBAAM,GAAa,CAAI,SAAwD,EAAE,EAAE;IACxF,OAAO,IAAI,UAAU,CAAI,SAAS,CAAC,CAAC;AACtC,CAAC,CAAA;AA2TH,SAAS,cAAc,CAAC,WAA+C;IACrE,IAAI,CAAC,WAAW,EAAE;QAChB,WAAW,GAAG,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC;KACzC;IAED,IAAI,CAAC,WAAW,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;KAC1C;IAED,OAAO,WAAW,CAAC;AACrB,CAAC"}
|
16
node_modules/rxjs/_esm2015/internal/Observer.js
generated
vendored
Normal file
16
node_modules/rxjs/_esm2015/internal/Observer.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { config } from './config';
|
||||
import { hostReportError } from './util/hostReportError';
|
||||
export const empty = {
|
||||
closed: true,
|
||||
next(value) { },
|
||||
error(err) {
|
||||
if (config.useDeprecatedSynchronousErrorHandling) {
|
||||
throw err;
|
||||
}
|
||||
else {
|
||||
hostReportError(err);
|
||||
}
|
||||
},
|
||||
complete() { }
|
||||
};
|
||||
//# sourceMappingURL=Observer.js.map
|
1
node_modules/rxjs/_esm2015/internal/Observer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Observer.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Observer.js","sources":["../../src/internal/Observer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,CAAC,MAAM,KAAK,GAAkB;IAClC,MAAM,EAAE,IAAI;IACZ,IAAI,CAAC,KAAU,IAAoB,CAAC;IACpC,KAAK,CAAC,GAAQ;QACZ,IAAI,MAAM,CAAC,qCAAqC,EAAE;YAChD,MAAM,GAAG,CAAC;SACX;aAAM;YACL,eAAe,CAAC,GAAG,CAAC,CAAC;SACtB;IACH,CAAC;IACD,QAAQ,KAAoB,CAAC;CAC9B,CAAC"}
|
1
node_modules/rxjs/_esm2015/internal/Operator.js
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Operator.js
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
//# sourceMappingURL=Operator.js.map
|
1
node_modules/rxjs/_esm2015/internal/Operator.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Operator.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Operator.js","sources":["../../src/internal/Operator.ts"],"names":[],"mappings":""}
|
13
node_modules/rxjs/_esm2015/internal/OuterSubscriber.js
generated
vendored
Normal file
13
node_modules/rxjs/_esm2015/internal/OuterSubscriber.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { Subscriber } from './Subscriber';
|
||||
export class OuterSubscriber extends Subscriber {
|
||||
notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.destination.next(innerValue);
|
||||
}
|
||||
notifyError(error, innerSub) {
|
||||
this.destination.error(error);
|
||||
}
|
||||
notifyComplete(innerSub) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=OuterSubscriber.js.map
|
1
node_modules/rxjs/_esm2015/internal/OuterSubscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/OuterSubscriber.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"OuterSubscriber.js","sources":["../../src/internal/OuterSubscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1C,MAAM,OAAO,eAAsB,SAAQ,UAAa;IACtD,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,WAAW,CAAC,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,cAAc,CAAC,QAA+B;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;CACF"}
|
108
node_modules/rxjs/_esm2015/internal/ReplaySubject.js
generated
vendored
Normal file
108
node_modules/rxjs/_esm2015/internal/ReplaySubject.js
generated
vendored
Normal file
|
@ -0,0 +1,108 @@
|
|||
import { Subject } from './Subject';
|
||||
import { queue } from './scheduler/queue';
|
||||
import { Subscription } from './Subscription';
|
||||
import { ObserveOnSubscriber } from './operators/observeOn';
|
||||
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
import { SubjectSubscription } from './SubjectSubscription';
|
||||
export class ReplaySubject extends Subject {
|
||||
constructor(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) {
|
||||
super();
|
||||
this.scheduler = scheduler;
|
||||
this._events = [];
|
||||
this._infiniteTimeWindow = false;
|
||||
this._bufferSize = bufferSize < 1 ? 1 : bufferSize;
|
||||
this._windowTime = windowTime < 1 ? 1 : windowTime;
|
||||
if (windowTime === Number.POSITIVE_INFINITY) {
|
||||
this._infiniteTimeWindow = true;
|
||||
this.next = this.nextInfiniteTimeWindow;
|
||||
}
|
||||
else {
|
||||
this.next = this.nextTimeWindow;
|
||||
}
|
||||
}
|
||||
nextInfiniteTimeWindow(value) {
|
||||
if (!this.isStopped) {
|
||||
const _events = this._events;
|
||||
_events.push(value);
|
||||
if (_events.length > this._bufferSize) {
|
||||
_events.shift();
|
||||
}
|
||||
}
|
||||
super.next(value);
|
||||
}
|
||||
nextTimeWindow(value) {
|
||||
if (!this.isStopped) {
|
||||
this._events.push(new ReplayEvent(this._getNow(), value));
|
||||
this._trimBufferThenGetEvents();
|
||||
}
|
||||
super.next(value);
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const _infiniteTimeWindow = this._infiniteTimeWindow;
|
||||
const _events = _infiniteTimeWindow ? this._events : this._trimBufferThenGetEvents();
|
||||
const scheduler = this.scheduler;
|
||||
const len = _events.length;
|
||||
let subscription;
|
||||
if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
else if (this.isStopped || this.hasError) {
|
||||
subscription = Subscription.EMPTY;
|
||||
}
|
||||
else {
|
||||
this.observers.push(subscriber);
|
||||
subscription = new SubjectSubscription(this, subscriber);
|
||||
}
|
||||
if (scheduler) {
|
||||
subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler));
|
||||
}
|
||||
if (_infiniteTimeWindow) {
|
||||
for (let i = 0; i < len && !subscriber.closed; i++) {
|
||||
subscriber.next(_events[i]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
for (let i = 0; i < len && !subscriber.closed; i++) {
|
||||
subscriber.next(_events[i].value);
|
||||
}
|
||||
}
|
||||
if (this.hasError) {
|
||||
subscriber.error(this.thrownError);
|
||||
}
|
||||
else if (this.isStopped) {
|
||||
subscriber.complete();
|
||||
}
|
||||
return subscription;
|
||||
}
|
||||
_getNow() {
|
||||
return (this.scheduler || queue).now();
|
||||
}
|
||||
_trimBufferThenGetEvents() {
|
||||
const now = this._getNow();
|
||||
const _bufferSize = this._bufferSize;
|
||||
const _windowTime = this._windowTime;
|
||||
const _events = this._events;
|
||||
const eventsCount = _events.length;
|
||||
let spliceCount = 0;
|
||||
while (spliceCount < eventsCount) {
|
||||
if ((now - _events[spliceCount].time) < _windowTime) {
|
||||
break;
|
||||
}
|
||||
spliceCount++;
|
||||
}
|
||||
if (eventsCount > _bufferSize) {
|
||||
spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);
|
||||
}
|
||||
if (spliceCount > 0) {
|
||||
_events.splice(0, spliceCount);
|
||||
}
|
||||
return _events;
|
||||
}
|
||||
}
|
||||
class ReplayEvent {
|
||||
constructor(time, value) {
|
||||
this.time = time;
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=ReplaySubject.js.map
|
1
node_modules/rxjs/_esm2015/internal/ReplaySubject.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/ReplaySubject.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ReplaySubject.js","sources":["../../src/internal/ReplaySubject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQ5D,MAAM,OAAO,aAAiB,SAAQ,OAAU;IAM9C,YAAY,aAAqB,MAAM,CAAC,iBAAiB,EAC7C,aAAqB,MAAM,CAAC,iBAAiB,EACrC,SAAyB;QAC3C,KAAK,EAAE,CAAC;QADU,cAAS,GAAT,SAAS,CAAgB;QAPrC,YAAO,GAA2B,EAAE,CAAC;QAGrC,wBAAmB,GAAY,KAAK,CAAC;QAM3C,IAAI,CAAC,WAAW,GAAG,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,UAAU,GAAG,CAAC,CAAC,CAA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G,IAAI,CAAC,OAAO,EAAE,CAAC;QAC3B,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,MAAM,OAAO,GAAqB,IAAI,CAAC,OAAO,CAAC;QAE/C,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;QACnC,IAAI,WAAW,GAAG,CAAC,CAAC;QAKpB,OAAO,WAAW,GAAG,WAAW,EAAE;YAChC,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,WAAW,EAAE;gBACnD,MAAM;aACP;YACD,WAAW,EAAE,CAAC;SACf;QAED,IAAI,WAAW,GAAG,WAAW,EAAE;YAC7B,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;SAChE;QAED,IAAI,WAAW,GAAG,CAAC,EAAE;YACnB,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;SAChC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;CAEF;AAED,MAAM,WAAW;IACf,YAAmB,IAAY,EAAS,KAAQ;QAA7B,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAG;IAChD,CAAC;CACF"}
|
172
node_modules/rxjs/_esm2015/internal/Rx.js
generated
vendored
Normal file
172
node_modules/rxjs/_esm2015/internal/Rx.js
generated
vendored
Normal file
|
@ -0,0 +1,172 @@
|
|||
export { Subject, AnonymousSubject } from './Subject';
|
||||
export { Observable } from './Observable';
|
||||
export { config } from './config';
|
||||
import 'rxjs-compat/add/observable/bindCallback';
|
||||
import 'rxjs-compat/add/observable/bindNodeCallback';
|
||||
import 'rxjs-compat/add/observable/combineLatest';
|
||||
import 'rxjs-compat/add/observable/concat';
|
||||
import 'rxjs-compat/add/observable/defer';
|
||||
import 'rxjs-compat/add/observable/empty';
|
||||
import 'rxjs-compat/add/observable/forkJoin';
|
||||
import 'rxjs-compat/add/observable/from';
|
||||
import 'rxjs-compat/add/observable/fromEvent';
|
||||
import 'rxjs-compat/add/observable/fromEventPattern';
|
||||
import 'rxjs-compat/add/observable/fromPromise';
|
||||
import 'rxjs-compat/add/observable/generate';
|
||||
import 'rxjs-compat/add/observable/if';
|
||||
import 'rxjs-compat/add/observable/interval';
|
||||
import 'rxjs-compat/add/observable/merge';
|
||||
import 'rxjs-compat/add/observable/race';
|
||||
import 'rxjs-compat/add/observable/never';
|
||||
import 'rxjs-compat/add/observable/of';
|
||||
import 'rxjs-compat/add/observable/onErrorResumeNext';
|
||||
import 'rxjs-compat/add/observable/pairs';
|
||||
import 'rxjs-compat/add/observable/range';
|
||||
import 'rxjs-compat/add/observable/using';
|
||||
import 'rxjs-compat/add/observable/throw';
|
||||
import 'rxjs-compat/add/observable/timer';
|
||||
import 'rxjs-compat/add/observable/zip';
|
||||
import 'rxjs-compat/add/observable/dom/ajax';
|
||||
import 'rxjs-compat/add/observable/dom/webSocket';
|
||||
import 'rxjs-compat/add/operator/buffer';
|
||||
import 'rxjs-compat/add/operator/bufferCount';
|
||||
import 'rxjs-compat/add/operator/bufferTime';
|
||||
import 'rxjs-compat/add/operator/bufferToggle';
|
||||
import 'rxjs-compat/add/operator/bufferWhen';
|
||||
import 'rxjs-compat/add/operator/catch';
|
||||
import 'rxjs-compat/add/operator/combineAll';
|
||||
import 'rxjs-compat/add/operator/combineLatest';
|
||||
import 'rxjs-compat/add/operator/concat';
|
||||
import 'rxjs-compat/add/operator/concatAll';
|
||||
import 'rxjs-compat/add/operator/concatMap';
|
||||
import 'rxjs-compat/add/operator/concatMapTo';
|
||||
import 'rxjs-compat/add/operator/count';
|
||||
import 'rxjs-compat/add/operator/dematerialize';
|
||||
import 'rxjs-compat/add/operator/debounce';
|
||||
import 'rxjs-compat/add/operator/debounceTime';
|
||||
import 'rxjs-compat/add/operator/defaultIfEmpty';
|
||||
import 'rxjs-compat/add/operator/delay';
|
||||
import 'rxjs-compat/add/operator/delayWhen';
|
||||
import 'rxjs-compat/add/operator/distinct';
|
||||
import 'rxjs-compat/add/operator/distinctUntilChanged';
|
||||
import 'rxjs-compat/add/operator/distinctUntilKeyChanged';
|
||||
import 'rxjs-compat/add/operator/do';
|
||||
import 'rxjs-compat/add/operator/exhaust';
|
||||
import 'rxjs-compat/add/operator/exhaustMap';
|
||||
import 'rxjs-compat/add/operator/expand';
|
||||
import 'rxjs-compat/add/operator/elementAt';
|
||||
import 'rxjs-compat/add/operator/filter';
|
||||
import 'rxjs-compat/add/operator/finally';
|
||||
import 'rxjs-compat/add/operator/find';
|
||||
import 'rxjs-compat/add/operator/findIndex';
|
||||
import 'rxjs-compat/add/operator/first';
|
||||
import 'rxjs-compat/add/operator/groupBy';
|
||||
import 'rxjs-compat/add/operator/ignoreElements';
|
||||
import 'rxjs-compat/add/operator/isEmpty';
|
||||
import 'rxjs-compat/add/operator/audit';
|
||||
import 'rxjs-compat/add/operator/auditTime';
|
||||
import 'rxjs-compat/add/operator/last';
|
||||
import 'rxjs-compat/add/operator/let';
|
||||
import 'rxjs-compat/add/operator/every';
|
||||
import 'rxjs-compat/add/operator/map';
|
||||
import 'rxjs-compat/add/operator/mapTo';
|
||||
import 'rxjs-compat/add/operator/materialize';
|
||||
import 'rxjs-compat/add/operator/max';
|
||||
import 'rxjs-compat/add/operator/merge';
|
||||
import 'rxjs-compat/add/operator/mergeAll';
|
||||
import 'rxjs-compat/add/operator/mergeMap';
|
||||
import 'rxjs-compat/add/operator/mergeMapTo';
|
||||
import 'rxjs-compat/add/operator/mergeScan';
|
||||
import 'rxjs-compat/add/operator/min';
|
||||
import 'rxjs-compat/add/operator/multicast';
|
||||
import 'rxjs-compat/add/operator/observeOn';
|
||||
import 'rxjs-compat/add/operator/onErrorResumeNext';
|
||||
import 'rxjs-compat/add/operator/pairwise';
|
||||
import 'rxjs-compat/add/operator/partition';
|
||||
import 'rxjs-compat/add/operator/pluck';
|
||||
import 'rxjs-compat/add/operator/publish';
|
||||
import 'rxjs-compat/add/operator/publishBehavior';
|
||||
import 'rxjs-compat/add/operator/publishReplay';
|
||||
import 'rxjs-compat/add/operator/publishLast';
|
||||
import 'rxjs-compat/add/operator/race';
|
||||
import 'rxjs-compat/add/operator/reduce';
|
||||
import 'rxjs-compat/add/operator/repeat';
|
||||
import 'rxjs-compat/add/operator/repeatWhen';
|
||||
import 'rxjs-compat/add/operator/retry';
|
||||
import 'rxjs-compat/add/operator/retryWhen';
|
||||
import 'rxjs-compat/add/operator/sample';
|
||||
import 'rxjs-compat/add/operator/sampleTime';
|
||||
import 'rxjs-compat/add/operator/scan';
|
||||
import 'rxjs-compat/add/operator/sequenceEqual';
|
||||
import 'rxjs-compat/add/operator/share';
|
||||
import 'rxjs-compat/add/operator/shareReplay';
|
||||
import 'rxjs-compat/add/operator/single';
|
||||
import 'rxjs-compat/add/operator/skip';
|
||||
import 'rxjs-compat/add/operator/skipLast';
|
||||
import 'rxjs-compat/add/operator/skipUntil';
|
||||
import 'rxjs-compat/add/operator/skipWhile';
|
||||
import 'rxjs-compat/add/operator/startWith';
|
||||
import 'rxjs-compat/add/operator/subscribeOn';
|
||||
import 'rxjs-compat/add/operator/switch';
|
||||
import 'rxjs-compat/add/operator/switchMap';
|
||||
import 'rxjs-compat/add/operator/switchMapTo';
|
||||
import 'rxjs-compat/add/operator/take';
|
||||
import 'rxjs-compat/add/operator/takeLast';
|
||||
import 'rxjs-compat/add/operator/takeUntil';
|
||||
import 'rxjs-compat/add/operator/takeWhile';
|
||||
import 'rxjs-compat/add/operator/throttle';
|
||||
import 'rxjs-compat/add/operator/throttleTime';
|
||||
import 'rxjs-compat/add/operator/timeInterval';
|
||||
import 'rxjs-compat/add/operator/timeout';
|
||||
import 'rxjs-compat/add/operator/timeoutWith';
|
||||
import 'rxjs-compat/add/operator/timestamp';
|
||||
import 'rxjs-compat/add/operator/toArray';
|
||||
import 'rxjs-compat/add/operator/toPromise';
|
||||
import 'rxjs-compat/add/operator/window';
|
||||
import 'rxjs-compat/add/operator/windowCount';
|
||||
import 'rxjs-compat/add/operator/windowTime';
|
||||
import 'rxjs-compat/add/operator/windowToggle';
|
||||
import 'rxjs-compat/add/operator/windowWhen';
|
||||
import 'rxjs-compat/add/operator/withLatestFrom';
|
||||
import 'rxjs-compat/add/operator/zip';
|
||||
import 'rxjs-compat/add/operator/zipAll';
|
||||
export { Subscription } from './Subscription';
|
||||
export { Subscriber } from './Subscriber';
|
||||
export { AsyncSubject } from './AsyncSubject';
|
||||
export { ReplaySubject } from './ReplaySubject';
|
||||
export { BehaviorSubject } from './BehaviorSubject';
|
||||
export { ConnectableObservable } from './observable/ConnectableObservable';
|
||||
export { Notification, NotificationKind } from './Notification';
|
||||
export { EmptyError } from './util/EmptyError';
|
||||
export { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError';
|
||||
export { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
export { TimeoutError } from './util/TimeoutError';
|
||||
export { UnsubscriptionError } from './util/UnsubscriptionError';
|
||||
export { TimeInterval } from './operators/timeInterval';
|
||||
export { Timestamp } from './operators/timestamp';
|
||||
export { TestScheduler } from './testing/TestScheduler';
|
||||
export { VirtualTimeScheduler } from './scheduler/VirtualTimeScheduler';
|
||||
export { AjaxResponse, AjaxError, AjaxTimeoutError } from './observable/dom/AjaxObservable';
|
||||
export { pipe } from './util/pipe';
|
||||
import { asap } from './scheduler/asap';
|
||||
import { async } from './scheduler/async';
|
||||
import { queue } from './scheduler/queue';
|
||||
import { animationFrame } from './scheduler/animationFrame';
|
||||
import { rxSubscriber } from './symbol/rxSubscriber';
|
||||
import { iterator } from './symbol/iterator';
|
||||
import { observable } from './symbol/observable';
|
||||
import * as _operators from './operators/index';
|
||||
export const operators = _operators;
|
||||
let Scheduler = {
|
||||
asap,
|
||||
queue,
|
||||
animationFrame,
|
||||
async
|
||||
};
|
||||
let Symbol = {
|
||||
rxSubscriber,
|
||||
observable,
|
||||
iterator
|
||||
};
|
||||
export { Scheduler, Symbol };
|
||||
//# sourceMappingURL=Rx.js.map
|
1
node_modules/rxjs/_esm2015/internal/Rx.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Rx.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Rx.js","sources":["../../src/internal/Rx.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,OAAO,EAAE,gBAAgB,EAAC,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,OAAO,yCAAyC,CAAC;AACjD,OAAO,6CAA6C,CAAC;AACrD,OAAO,0CAA0C,CAAC;AAClD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,iCAAiC,CAAC;AACzC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,6CAA6C,CAAC;AACrD,OAAO,wCAAwC,CAAC;AAChD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+BAA+B,CAAC;AACvC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,+BAA+B,CAAC;AACvC,OAAO,8CAA8C,CAAC;AACtD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AAGxC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,0CAA0C,CAAC;AAGlD,OAAO,iCAAiC,CAAC;AACzC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,qCAAqC,CAAC;AAC7C,OAAO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ACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAK5D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CAAC;AAgBpC,IAAI,SAAS,GAAG;IACd,IAAI;IACJ,KAAK;IACL,cAAc;IACd,KAAK;CACN,CAAC;AAeF,IAAI,MAAM,GAAG;IACX,YAAY;IACZ,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,OAAO,EACH,SAAS,EACT,MAAM,EACT,CAAC"}
|
11
node_modules/rxjs/_esm2015/internal/Scheduler.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm2015/internal/Scheduler.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
export class Scheduler {
|
||||
constructor(SchedulerAction, now = Scheduler.now) {
|
||||
this.SchedulerAction = SchedulerAction;
|
||||
this.now = now;
|
||||
}
|
||||
schedule(work, delay = 0, state) {
|
||||
return new this.SchedulerAction(this, work).schedule(state, delay);
|
||||
}
|
||||
}
|
||||
Scheduler.now = () => Date.now();
|
||||
//# sourceMappingURL=Scheduler.js.map
|
1
node_modules/rxjs/_esm2015/internal/Scheduler.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Scheduler.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Scheduler.js","sources":["../../src/internal/Scheduler.ts"],"names":[],"mappings":"AAuBA,MAAM,OAAO,SAAS;IASpB,YAAoB,eAA8B,EACtC,MAAoB,SAAS,CAAC,GAAG;QADzB,oBAAe,GAAf,eAAe,CAAe;QAEhD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IA6BM,QAAQ,CAAI,IAAmD,EAAE,QAAgB,CAAC,EAAE,KAAS;QAClG,OAAO,IAAI,IAAI,CAAC,eAAe,CAAI,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;;AApCa,aAAG,GAAiB,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC"}
|
144
node_modules/rxjs/_esm2015/internal/Subject.js
generated
vendored
Normal file
144
node_modules/rxjs/_esm2015/internal/Subject.js
generated
vendored
Normal file
|
@ -0,0 +1,144 @@
|
|||
import { Observable } from './Observable';
|
||||
import { Subscriber } from './Subscriber';
|
||||
import { Subscription } from './Subscription';
|
||||
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
|
||||
import { SubjectSubscription } from './SubjectSubscription';
|
||||
import { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';
|
||||
export class SubjectSubscriber extends Subscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
this.destination = destination;
|
||||
}
|
||||
}
|
||||
export class Subject extends Observable {
|
||||
constructor() {
|
||||
super();
|
||||
this.observers = [];
|
||||
this.closed = false;
|
||||
this.isStopped = false;
|
||||
this.hasError = false;
|
||||
this.thrownError = null;
|
||||
}
|
||||
[rxSubscriberSymbol]() {
|
||||
return new SubjectSubscriber(this);
|
||||
}
|
||||
lift(operator) {
|
||||
const subject = new AnonymousSubject(this, this);
|
||||
subject.operator = operator;
|
||||
return subject;
|
||||
}
|
||||
next(value) {
|
||||
if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
if (!this.isStopped) {
|
||||
const { observers } = this;
|
||||
const len = observers.length;
|
||||
const copy = observers.slice();
|
||||
for (let i = 0; i < len; i++) {
|
||||
copy[i].next(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
error(err) {
|
||||
if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
this.hasError = true;
|
||||
this.thrownError = err;
|
||||
this.isStopped = true;
|
||||
const { observers } = this;
|
||||
const len = observers.length;
|
||||
const copy = observers.slice();
|
||||
for (let i = 0; i < len; i++) {
|
||||
copy[i].error(err);
|
||||
}
|
||||
this.observers.length = 0;
|
||||
}
|
||||
complete() {
|
||||
if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
this.isStopped = true;
|
||||
const { observers } = this;
|
||||
const len = observers.length;
|
||||
const copy = observers.slice();
|
||||
for (let i = 0; i < len; i++) {
|
||||
copy[i].complete();
|
||||
}
|
||||
this.observers.length = 0;
|
||||
}
|
||||
unsubscribe() {
|
||||
this.isStopped = true;
|
||||
this.closed = true;
|
||||
this.observers = null;
|
||||
}
|
||||
_trySubscribe(subscriber) {
|
||||
if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
else {
|
||||
return super._trySubscribe(subscriber);
|
||||
}
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
if (this.closed) {
|
||||
throw new ObjectUnsubscribedError();
|
||||
}
|
||||
else if (this.hasError) {
|
||||
subscriber.error(this.thrownError);
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
else if (this.isStopped) {
|
||||
subscriber.complete();
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
else {
|
||||
this.observers.push(subscriber);
|
||||
return new SubjectSubscription(this, subscriber);
|
||||
}
|
||||
}
|
||||
asObservable() {
|
||||
const observable = new Observable();
|
||||
observable.source = this;
|
||||
return observable;
|
||||
}
|
||||
}
|
||||
Subject.create = (destination, source) => {
|
||||
return new AnonymousSubject(destination, source);
|
||||
};
|
||||
export class AnonymousSubject extends Subject {
|
||||
constructor(destination, source) {
|
||||
super();
|
||||
this.destination = destination;
|
||||
this.source = source;
|
||||
}
|
||||
next(value) {
|
||||
const { destination } = this;
|
||||
if (destination && destination.next) {
|
||||
destination.next(value);
|
||||
}
|
||||
}
|
||||
error(err) {
|
||||
const { destination } = this;
|
||||
if (destination && destination.error) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
}
|
||||
complete() {
|
||||
const { destination } = this;
|
||||
if (destination && destination.complete) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const { source } = this;
|
||||
if (source) {
|
||||
return this.source.subscribe(subscriber);
|
||||
}
|
||||
else {
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=Subject.js.map
|
1
node_modules/rxjs/_esm2015/internal/Subject.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Subject.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Subject.js","sources":["../../src/internal/Subject.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAKrF,MAAM,OAAO,iBAAqB,SAAQ,UAAa;IACrD,YAAsB,WAAuB;QAC3C,KAAK,CAAC,WAAW,CAAC,CAAC;QADC,gBAAW,GAAX,WAAW,CAAY;IAE7C,CAAC;CACF;AAWD,MAAM,OAAO,OAAW,SAAQ,UAAa;IAgB3C;QACE,KAAK,EAAE,CAAC;QAXV,cAAS,GAAkB,EAAE,CAAC;QAE9B,WAAM,GAAG,KAAK,CAAC;QAEf,cAAS,GAAG,KAAK,CAAC;QAElB,aAAQ,GAAG,KAAK,CAAC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,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IAGD,UAAU,CAAC,UAAyB;QAClC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,IAAI,MAAM,EAAE;YACV,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;SAC1C;aAAM;YACL,OAAO,YAAY,CAAC,KAAK,CAAC;SAC3B;IACH,CAAC;CACF"}
|
26
node_modules/rxjs/_esm2015/internal/SubjectSubscription.js
generated
vendored
Normal file
26
node_modules/rxjs/_esm2015/internal/SubjectSubscription.js
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { Subscription } from './Subscription';
|
||||
export class SubjectSubscription extends Subscription {
|
||||
constructor(subject, subscriber) {
|
||||
super();
|
||||
this.subject = subject;
|
||||
this.subscriber = subscriber;
|
||||
this.closed = false;
|
||||
}
|
||||
unsubscribe() {
|
||||
if (this.closed) {
|
||||
return;
|
||||
}
|
||||
this.closed = true;
|
||||
const subject = this.subject;
|
||||
const observers = subject.observers;
|
||||
this.subject = null;
|
||||
if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {
|
||||
return;
|
||||
}
|
||||
const subscriberIndex = observers.indexOf(this.subscriber);
|
||||
if (subscriberIndex !== -1) {
|
||||
observers.splice(subscriberIndex, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=SubjectSubscription.js.map
|
1
node_modules/rxjs/_esm2015/internal/SubjectSubscription.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/SubjectSubscription.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"SubjectSubscription.js","sources":["../../src/internal/SubjectSubscription.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAO9C,MAAM,OAAO,mBAAuB,SAAQ,YAAY;IAGtD,YAAmB,OAAmB,EAAS,UAAuB;QACpE,KAAK,EAAE,CAAC;QADS,YAAO,GAAP,OAAO,CAAY;QAAS,eAAU,GAAV,UAAU,CAAa;QAFtE,WAAM,GAAY,KAAK,CAAC;IAIxB,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO;SACR;QAED,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QAEpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,EAAE;YAC/E,OAAO;SACR;QAED,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE3D,IAAI,eAAe,KAAK,CAAC,CAAC,EAAE;YAC1B,SAAS,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;SACtC;IACH,CAAC;CACF"}
|
222
node_modules/rxjs/_esm2015/internal/Subscriber.js
generated
vendored
Normal file
222
node_modules/rxjs/_esm2015/internal/Subscriber.js
generated
vendored
Normal file
|
@ -0,0 +1,222 @@
|
|||
import { isFunction } from './util/isFunction';
|
||||
import { empty as emptyObserver } from './Observer';
|
||||
import { Subscription } from './Subscription';
|
||||
import { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';
|
||||
import { config } from './config';
|
||||
import { hostReportError } from './util/hostReportError';
|
||||
export class Subscriber extends Subscription {
|
||||
constructor(destinationOrNext, error, complete) {
|
||||
super();
|
||||
this.syncErrorValue = null;
|
||||
this.syncErrorThrown = false;
|
||||
this.syncErrorThrowable = false;
|
||||
this.isStopped = false;
|
||||
switch (arguments.length) {
|
||||
case 0:
|
||||
this.destination = emptyObserver;
|
||||
break;
|
||||
case 1:
|
||||
if (!destinationOrNext) {
|
||||
this.destination = emptyObserver;
|
||||
break;
|
||||
}
|
||||
if (typeof destinationOrNext === 'object') {
|
||||
if (destinationOrNext instanceof Subscriber) {
|
||||
this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;
|
||||
this.destination = destinationOrNext;
|
||||
destinationOrNext.add(this);
|
||||
}
|
||||
else {
|
||||
this.syncErrorThrowable = true;
|
||||
this.destination = new SafeSubscriber(this, destinationOrNext);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
this.syncErrorThrowable = true;
|
||||
this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);
|
||||
break;
|
||||
}
|
||||
}
|
||||
[rxSubscriberSymbol]() { return this; }
|
||||
static create(next, error, complete) {
|
||||
const subscriber = new Subscriber(next, error, complete);
|
||||
subscriber.syncErrorThrowable = false;
|
||||
return subscriber;
|
||||
}
|
||||
next(value) {
|
||||
if (!this.isStopped) {
|
||||
this._next(value);
|
||||
}
|
||||
}
|
||||
error(err) {
|
||||
if (!this.isStopped) {
|
||||
this.isStopped = true;
|
||||
this._error(err);
|
||||
}
|
||||
}
|
||||
complete() {
|
||||
if (!this.isStopped) {
|
||||
this.isStopped = true;
|
||||
this._complete();
|
||||
}
|
||||
}
|
||||
unsubscribe() {
|
||||
if (this.closed) {
|
||||
return;
|
||||
}
|
||||
this.isStopped = true;
|
||||
super.unsubscribe();
|
||||
}
|
||||
_next(value) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
_error(err) {
|
||||
this.destination.error(err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
_complete() {
|
||||
this.destination.complete();
|
||||
this.unsubscribe();
|
||||
}
|
||||
_unsubscribeAndRecycle() {
|
||||
const { _parentOrParents } = this;
|
||||
this._parentOrParents = null;
|
||||
this.unsubscribe();
|
||||
this.closed = false;
|
||||
this.isStopped = false;
|
||||
this._parentOrParents = _parentOrParents;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
export class SafeSubscriber extends Subscriber {
|
||||
constructor(_parentSubscriber, observerOrNext, error, complete) {
|
||||
super();
|
||||
this._parentSubscriber = _parentSubscriber;
|
||||
let next;
|
||||
let context = this;
|
||||
if (isFunction(observerOrNext)) {
|
||||
next = observerOrNext;
|
||||
}
|
||||
else if (observerOrNext) {
|
||||
next = observerOrNext.next;
|
||||
error = observerOrNext.error;
|
||||
complete = observerOrNext.complete;
|
||||
if (observerOrNext !== emptyObserver) {
|
||||
context = Object.create(observerOrNext);
|
||||
if (isFunction(context.unsubscribe)) {
|
||||
this.add(context.unsubscribe.bind(context));
|
||||
}
|
||||
context.unsubscribe = this.unsubscribe.bind(this);
|
||||
}
|
||||
}
|
||||
this._context = context;
|
||||
this._next = next;
|
||||
this._error = error;
|
||||
this._complete = complete;
|
||||
}
|
||||
next(value) {
|
||||
if (!this.isStopped && this._next) {
|
||||
const { _parentSubscriber } = this;
|
||||
if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
|
||||
this.__tryOrUnsub(this._next, value);
|
||||
}
|
||||
else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
error(err) {
|
||||
if (!this.isStopped) {
|
||||
const { _parentSubscriber } = this;
|
||||
const { useDeprecatedSynchronousErrorHandling } = config;
|
||||
if (this._error) {
|
||||
if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
|
||||
this.__tryOrUnsub(this._error, err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
else {
|
||||
this.__tryOrSetError(_parentSubscriber, this._error, err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
else if (!_parentSubscriber.syncErrorThrowable) {
|
||||
this.unsubscribe();
|
||||
if (useDeprecatedSynchronousErrorHandling) {
|
||||
throw err;
|
||||
}
|
||||
hostReportError(err);
|
||||
}
|
||||
else {
|
||||
if (useDeprecatedSynchronousErrorHandling) {
|
||||
_parentSubscriber.syncErrorValue = err;
|
||||
_parentSubscriber.syncErrorThrown = true;
|
||||
}
|
||||
else {
|
||||
hostReportError(err);
|
||||
}
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
complete() {
|
||||
if (!this.isStopped) {
|
||||
const { _parentSubscriber } = this;
|
||||
if (this._complete) {
|
||||
const wrappedComplete = () => this._complete.call(this._context);
|
||||
if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
|
||||
this.__tryOrUnsub(wrappedComplete);
|
||||
this.unsubscribe();
|
||||
}
|
||||
else {
|
||||
this.__tryOrSetError(_parentSubscriber, wrappedComplete);
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
__tryOrUnsub(fn, value) {
|
||||
try {
|
||||
fn.call(this._context, value);
|
||||
}
|
||||
catch (err) {
|
||||
this.unsubscribe();
|
||||
if (config.useDeprecatedSynchronousErrorHandling) {
|
||||
throw err;
|
||||
}
|
||||
else {
|
||||
hostReportError(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
__tryOrSetError(parent, fn, value) {
|
||||
if (!config.useDeprecatedSynchronousErrorHandling) {
|
||||
throw new Error('bad call');
|
||||
}
|
||||
try {
|
||||
fn.call(this._context, value);
|
||||
}
|
||||
catch (err) {
|
||||
if (config.useDeprecatedSynchronousErrorHandling) {
|
||||
parent.syncErrorValue = err;
|
||||
parent.syncErrorThrown = true;
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
hostReportError(err);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
_unsubscribe() {
|
||||
const { _parentSubscriber } = this;
|
||||
this._context = null;
|
||||
this._parentSubscriber = null;
|
||||
_parentSubscriber.unsubscribe();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=Subscriber.js.map
|
1
node_modules/rxjs/_esm2015/internal/Subscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Subscriber.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
137
node_modules/rxjs/_esm2015/internal/Subscription.js
generated
vendored
Normal file
137
node_modules/rxjs/_esm2015/internal/Subscription.js
generated
vendored
Normal file
|
@ -0,0 +1,137 @@
|
|||
import { isArray } from './util/isArray';
|
||||
import { isObject } from './util/isObject';
|
||||
import { isFunction } from './util/isFunction';
|
||||
import { UnsubscriptionError } from './util/UnsubscriptionError';
|
||||
export class Subscription {
|
||||
constructor(unsubscribe) {
|
||||
this.closed = false;
|
||||
this._parentOrParents = null;
|
||||
this._subscriptions = null;
|
||||
if (unsubscribe) {
|
||||
this._ctorUnsubscribe = true;
|
||||
this._unsubscribe = unsubscribe;
|
||||
}
|
||||
}
|
||||
unsubscribe() {
|
||||
let errors;
|
||||
if (this.closed) {
|
||||
return;
|
||||
}
|
||||
let { _parentOrParents, _ctorUnsubscribe, _unsubscribe, _subscriptions } = this;
|
||||
this.closed = true;
|
||||
this._parentOrParents = null;
|
||||
this._subscriptions = null;
|
||||
if (_parentOrParents instanceof Subscription) {
|
||||
_parentOrParents.remove(this);
|
||||
}
|
||||
else if (_parentOrParents !== null) {
|
||||
for (let index = 0; index < _parentOrParents.length; ++index) {
|
||||
const parent = _parentOrParents[index];
|
||||
parent.remove(this);
|
||||
}
|
||||
}
|
||||
if (isFunction(_unsubscribe)) {
|
||||
if (_ctorUnsubscribe) {
|
||||
this._unsubscribe = undefined;
|
||||
}
|
||||
try {
|
||||
_unsubscribe.call(this);
|
||||
}
|
||||
catch (e) {
|
||||
errors = e instanceof UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];
|
||||
}
|
||||
}
|
||||
if (isArray(_subscriptions)) {
|
||||
let index = -1;
|
||||
let len = _subscriptions.length;
|
||||
while (++index < len) {
|
||||
const sub = _subscriptions[index];
|
||||
if (isObject(sub)) {
|
||||
try {
|
||||
sub.unsubscribe();
|
||||
}
|
||||
catch (e) {
|
||||
errors = errors || [];
|
||||
if (e instanceof UnsubscriptionError) {
|
||||
errors = errors.concat(flattenUnsubscriptionErrors(e.errors));
|
||||
}
|
||||
else {
|
||||
errors.push(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (errors) {
|
||||
throw new UnsubscriptionError(errors);
|
||||
}
|
||||
}
|
||||
add(teardown) {
|
||||
let subscription = teardown;
|
||||
if (!teardown) {
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
switch (typeof teardown) {
|
||||
case 'function':
|
||||
subscription = new Subscription(teardown);
|
||||
case 'object':
|
||||
if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {
|
||||
return subscription;
|
||||
}
|
||||
else if (this.closed) {
|
||||
subscription.unsubscribe();
|
||||
return subscription;
|
||||
}
|
||||
else if (!(subscription instanceof Subscription)) {
|
||||
const tmp = subscription;
|
||||
subscription = new Subscription();
|
||||
subscription._subscriptions = [tmp];
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');
|
||||
}
|
||||
}
|
||||
let { _parentOrParents } = subscription;
|
||||
if (_parentOrParents === null) {
|
||||
subscription._parentOrParents = this;
|
||||
}
|
||||
else if (_parentOrParents instanceof Subscription) {
|
||||
if (_parentOrParents === this) {
|
||||
return subscription;
|
||||
}
|
||||
subscription._parentOrParents = [_parentOrParents, this];
|
||||
}
|
||||
else if (_parentOrParents.indexOf(this) === -1) {
|
||||
_parentOrParents.push(this);
|
||||
}
|
||||
else {
|
||||
return subscription;
|
||||
}
|
||||
const subscriptions = this._subscriptions;
|
||||
if (subscriptions === null) {
|
||||
this._subscriptions = [subscription];
|
||||
}
|
||||
else {
|
||||
subscriptions.push(subscription);
|
||||
}
|
||||
return subscription;
|
||||
}
|
||||
remove(subscription) {
|
||||
const subscriptions = this._subscriptions;
|
||||
if (subscriptions) {
|
||||
const subscriptionIndex = subscriptions.indexOf(subscription);
|
||||
if (subscriptionIndex !== -1) {
|
||||
subscriptions.splice(subscriptionIndex, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Subscription.EMPTY = (function (empty) {
|
||||
empty.closed = true;
|
||||
return empty;
|
||||
}(new Subscription()));
|
||||
function flattenUnsubscriptionErrors(errors) {
|
||||
return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []);
|
||||
}
|
||||
//# sourceMappingURL=Subscription.js.map
|
1
node_modules/rxjs/_esm2015/internal/Subscription.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/Subscription.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Subscription.js","sources":["../../src/internal/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAejE,MAAM,OAAO,YAAY;IAsBvB,YAAY,WAAwB;QAX7B,WAAM,GAAY,KAAK,CAAC;QAGrB,qBAAgB,GAAkC,IAAI,CAAC;QAEzD,mBAAc,GAAuB,IAAI,CAAC;QAOhD,IAAI,WAAW,EAAE;YACd,IAAY,CAAC,gBAAgB,GAAG,IAAI,CAAC;YACrC,IAAY,CAAC,YAAY,GAAG,WAAW,CAAC;SAC1C;IACH,CAAC;IAQD,WAAW;QACT,IAAI,MAAa,CAAC;QAElB,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO;SACR;QAED,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,GAAI,IAAY,CAAC;QAEzF,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAG7B,IAAI,C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AC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/G,CAAC"}
|
18
node_modules/rxjs/_esm2015/internal/config.js
generated
vendored
Normal file
18
node_modules/rxjs/_esm2015/internal/config.js
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
let _enable_super_gross_mode_that_will_cause_bad_things = false;
|
||||
export const config = {
|
||||
Promise: undefined,
|
||||
set useDeprecatedSynchronousErrorHandling(value) {
|
||||
if (value) {
|
||||
const error = new Error();
|
||||
console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
|
||||
}
|
||||
else if (_enable_super_gross_mode_that_will_cause_bad_things) {
|
||||
console.log('RxJS: Back to a better error behavior. Thank you. <3');
|
||||
}
|
||||
_enable_super_gross_mode_that_will_cause_bad_things = value;
|
||||
},
|
||||
get useDeprecatedSynchronousErrorHandling() {
|
||||
return _enable_super_gross_mode_that_will_cause_bad_things;
|
||||
},
|
||||
};
|
||||
//# sourceMappingURL=config.js.map
|
1
node_modules/rxjs/_esm2015/internal/config.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/config.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"config.js","sources":["../../src/internal/config.ts"],"names":[],"mappings":"AAAA,IAAI,mDAAmD,GAAG,KAAK,CAAC;AAMhE,MAAM,CAAC,MAAM,MAAM,GAAG;IAKpB,OAAO,EAAE,SAAmC;IAU5C,IAAI,qCAAqC,CAAC,KAAc;QACtD,IAAI,KAAK,EAAE;YACT,MAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;YAC1B,OAAO,CAAC,IAAI,CAAC,+FAA+F,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;SAC7H;aAAM,IAAI,mDAAmD,EAAE;YAC9D,OAAO,CAAC,GAAG,CAAC,sDAAsD,CAAC,CAAC;SACrE;QACD,mDAAmD,GAAG,KAAK,CAAC;IAC9D,CAAC;IAED,IAAI,qCAAqC;QACvC,OAAO,mDAAmD,CAAC;IAC7D,CAAC;CACF,CAAC"}
|
78
node_modules/rxjs/_esm2015/internal/innerSubscribe.js
generated
vendored
Normal file
78
node_modules/rxjs/_esm2015/internal/innerSubscribe.js
generated
vendored
Normal file
|
@ -0,0 +1,78 @@
|
|||
import { Subscriber } from './Subscriber';
|
||||
import { Observable } from './Observable';
|
||||
import { subscribeTo } from './util/subscribeTo';
|
||||
export class SimpleInnerSubscriber extends Subscriber {
|
||||
constructor(parent) {
|
||||
super();
|
||||
this.parent = parent;
|
||||
}
|
||||
_next(value) {
|
||||
this.parent.notifyNext(value);
|
||||
}
|
||||
_error(error) {
|
||||
this.parent.notifyError(error);
|
||||
this.unsubscribe();
|
||||
}
|
||||
_complete() {
|
||||
this.parent.notifyComplete();
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
export class ComplexInnerSubscriber extends Subscriber {
|
||||
constructor(parent, outerValue, outerIndex) {
|
||||
super();
|
||||
this.parent = parent;
|
||||
this.outerValue = outerValue;
|
||||
this.outerIndex = outerIndex;
|
||||
}
|
||||
_next(value) {
|
||||
this.parent.notifyNext(this.outerValue, value, this.outerIndex, this);
|
||||
}
|
||||
_error(error) {
|
||||
this.parent.notifyError(error);
|
||||
this.unsubscribe();
|
||||
}
|
||||
_complete() {
|
||||
this.parent.notifyComplete(this);
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
export class SimpleOuterSubscriber extends Subscriber {
|
||||
notifyNext(innerValue) {
|
||||
this.destination.next(innerValue);
|
||||
}
|
||||
notifyError(err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
notifyComplete() {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
export class ComplexOuterSubscriber extends Subscriber {
|
||||
notifyNext(_outerValue, innerValue, _outerIndex, _innerSub) {
|
||||
this.destination.next(innerValue);
|
||||
}
|
||||
notifyError(error) {
|
||||
this.destination.error(error);
|
||||
}
|
||||
notifyComplete(_innerSub) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
export function innerSubscribe(result, innerSubscriber) {
|
||||
if (innerSubscriber.closed) {
|
||||
return undefined;
|
||||
}
|
||||
if (result instanceof Observable) {
|
||||
return result.subscribe(innerSubscriber);
|
||||
}
|
||||
let subscription;
|
||||
try {
|
||||
subscription = subscribeTo(result)(innerSubscriber);
|
||||
}
|
||||
catch (error) {
|
||||
innerSubscriber.error(error);
|
||||
}
|
||||
return subscription;
|
||||
}
|
||||
//# sourceMappingURL=innerSubscribe.js.map
|
1
node_modules/rxjs/_esm2015/internal/innerSubscribe.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/innerSubscribe.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"innerSubscribe.js","sources":["../../src/internal/innerSubscribe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAmBjD,MAAM,OAAO,qBAAyB,SAAQ,UAAa;IACzD,YAAoB,MAAsC;QACxD,KAAK,EAAE,CAAC;QADU,WAAM,GAAN,MAAM,CAAgC;IAE1D,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAES,MAAM,CAAC,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC/B,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAC7B,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;CACF;AAED,MAAM,OAAO,sBAA6B,SAAQ,UAAa;IAC7D,YAAoB,MAAoC,EAAS,UAAa,EAAS,UAA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AAU,cAAc,CAAC,MAAW,EAAE,eAAgC;IAC1E,IAAI,eAAe,CAAC,MAAM,EAAE;QAC1B,OAAO,SAAS,CAAC;KAClB;IACD,IAAI,MAAM,YAAY,UAAU,EAAE;QAChC,OAAO,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;KAC1C;IACD,IAAI,YAA0B,CAAC;IAC/B,IAAI;QACF,YAAY,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,eAAe,CAAiB,CAAC;KACrE;IAAC,OAAO,KAAK,EAAE;QACd,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC9B;IACD,OAAO,YAAY,CAAC;AACtB,CAAC"}
|
129
node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js
generated
vendored
Normal file
129
node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js
generated
vendored
Normal file
|
@ -0,0 +1,129 @@
|
|||
import { SubjectSubscriber } from '../Subject';
|
||||
import { Observable } from '../Observable';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Subscription } from '../Subscription';
|
||||
import { refCount as higherOrderRefCount } from '../operators/refCount';
|
||||
export class ConnectableObservable extends Observable {
|
||||
constructor(source, subjectFactory) {
|
||||
super();
|
||||
this.source = source;
|
||||
this.subjectFactory = subjectFactory;
|
||||
this._refCount = 0;
|
||||
this._isComplete = false;
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
return this.getSubject().subscribe(subscriber);
|
||||
}
|
||||
getSubject() {
|
||||
const subject = this._subject;
|
||||
if (!subject || subject.isStopped) {
|
||||
this._subject = this.subjectFactory();
|
||||
}
|
||||
return this._subject;
|
||||
}
|
||||
connect() {
|
||||
let connection = this._connection;
|
||||
if (!connection) {
|
||||
this._isComplete = false;
|
||||
connection = this._connection = new Subscription();
|
||||
connection.add(this.source
|
||||
.subscribe(new ConnectableSubscriber(this.getSubject(), this)));
|
||||
if (connection.closed) {
|
||||
this._connection = null;
|
||||
connection = Subscription.EMPTY;
|
||||
}
|
||||
}
|
||||
return connection;
|
||||
}
|
||||
refCount() {
|
||||
return higherOrderRefCount()(this);
|
||||
}
|
||||
}
|
||||
export const connectableObservableDescriptor = (() => {
|
||||
const connectableProto = ConnectableObservable.prototype;
|
||||
return {
|
||||
operator: { value: null },
|
||||
_refCount: { value: 0, writable: true },
|
||||
_subject: { value: null, writable: true },
|
||||
_connection: { value: null, writable: true },
|
||||
_subscribe: { value: connectableProto._subscribe },
|
||||
_isComplete: { value: connectableProto._isComplete, writable: true },
|
||||
getSubject: { value: connectableProto.getSubject },
|
||||
connect: { value: connectableProto.connect },
|
||||
refCount: { value: connectableProto.refCount }
|
||||
};
|
||||
})();
|
||||
class ConnectableSubscriber extends SubjectSubscriber {
|
||||
constructor(destination, connectable) {
|
||||
super(destination);
|
||||
this.connectable = connectable;
|
||||
}
|
||||
_error(err) {
|
||||
this._unsubscribe();
|
||||
super._error(err);
|
||||
}
|
||||
_complete() {
|
||||
this.connectable._isComplete = true;
|
||||
this._unsubscribe();
|
||||
super._complete();
|
||||
}
|
||||
_unsubscribe() {
|
||||
const connectable = this.connectable;
|
||||
if (connectable) {
|
||||
this.connectable = null;
|
||||
const connection = connectable._connection;
|
||||
connectable._refCount = 0;
|
||||
connectable._subject = null;
|
||||
connectable._connection = null;
|
||||
if (connection) {
|
||||
connection.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
class RefCountOperator {
|
||||
constructor(connectable) {
|
||||
this.connectable = connectable;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
const { connectable } = this;
|
||||
connectable._refCount++;
|
||||
const refCounter = new RefCountSubscriber(subscriber, connectable);
|
||||
const subscription = source.subscribe(refCounter);
|
||||
if (!refCounter.closed) {
|
||||
refCounter.connection = connectable.connect();
|
||||
}
|
||||
return subscription;
|
||||
}
|
||||
}
|
||||
class RefCountSubscriber extends Subscriber {
|
||||
constructor(destination, connectable) {
|
||||
super(destination);
|
||||
this.connectable = connectable;
|
||||
}
|
||||
_unsubscribe() {
|
||||
const { connectable } = this;
|
||||
if (!connectable) {
|
||||
this.connection = null;
|
||||
return;
|
||||
}
|
||||
this.connectable = null;
|
||||
const refCount = connectable._refCount;
|
||||
if (refCount <= 0) {
|
||||
this.connection = null;
|
||||
return;
|
||||
}
|
||||
connectable._refCount = refCount - 1;
|
||||
if (refCount > 1) {
|
||||
this.connection = null;
|
||||
return;
|
||||
}
|
||||
const { connection } = this;
|
||||
const sharedConnection = connectable._connection;
|
||||
this.connection = null;
|
||||
if (sharedConnection && (!connection || sharedConnection === connection)) {
|
||||
sharedConnection.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=ConnectableObservable.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ConnectableObservable.js","sources":["../../../src/internal/observable/ConnectableObservable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAKxE,MAAM,OAAO,qBAAyB,SAAQ,UAAa;IAQzD,YAAmB,MAAqB,EAClB,cAAgC;QACpD,KAAK,EAAE,CAAC;QAFS,WAAM,GAAN,MAAM,CAAe;QAClB,mBAAc,GAAd,cAAc,CAAkB;QAN5C,cAAS,GAAW,CAAC,CAAC;QAGhC,gBAAW,GAAG,KAAK,CAAC;IAKpB,CAAC;IAGD,UAAU,CAAC,UAAyB;QAClC,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,SAAS,CAA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,UAAU,GAAG,IAAI,CAAC;QAEvB,IAAI,gBAAgB,IAAI,CAAC,CAAC,UAAU,IAAI,gBAAgB,KAAK,UAAU,CAAC,EAAE;YACxE,gBAAgB,CAAC,WAAW,EAAE,CAAC;SAChC;IACH,CAAC;CACF"}
|
33
node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js
generated
vendored
Normal file
33
node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { asap } from '../scheduler/asap';
|
||||
import { isNumeric } from '../util/isNumeric';
|
||||
export class SubscribeOnObservable extends Observable {
|
||||
constructor(source, delayTime = 0, scheduler = asap) {
|
||||
super();
|
||||
this.source = source;
|
||||
this.delayTime = delayTime;
|
||||
this.scheduler = scheduler;
|
||||
if (!isNumeric(delayTime) || delayTime < 0) {
|
||||
this.delayTime = 0;
|
||||
}
|
||||
if (!scheduler || typeof scheduler.schedule !== 'function') {
|
||||
this.scheduler = asap;
|
||||
}
|
||||
}
|
||||
static create(source, delay = 0, scheduler = asap) {
|
||||
return new SubscribeOnObservable(source, delay, scheduler);
|
||||
}
|
||||
static dispatch(arg) {
|
||||
const { source, subscriber } = arg;
|
||||
return this.add(source.subscribe(subscriber));
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const delay = this.delayTime;
|
||||
const source = this.source;
|
||||
const scheduler = this.scheduler;
|
||||
return scheduler.schedule(SubscribeOnObservable.dispatch, delay, {
|
||||
source, subscriber
|
||||
});
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=SubscribeOnObservable.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"SubscribeOnObservable.js","sources":["../../../src/internal/observable/SubscribeOnObservable.ts"],"names":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KAAK,EAAE;YACjF,MAAM,EAAE,UAAU;SACnB,CAAC,CAAC;IACL,CAAC;CACF"}
|
85
node_modules/rxjs/_esm2015/internal/observable/bindCallback.js
generated
vendored
Normal file
85
node_modules/rxjs/_esm2015/internal/observable/bindCallback.js
generated
vendored
Normal file
|
@ -0,0 +1,85 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { AsyncSubject } from '../AsyncSubject';
|
||||
import { map } from '../operators/map';
|
||||
import { canReportError } from '../util/canReportError';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function bindCallback(callbackFunc, resultSelector, scheduler) {
|
||||
if (resultSelector) {
|
||||
if (isScheduler(resultSelector)) {
|
||||
scheduler = resultSelector;
|
||||
}
|
||||
else {
|
||||
return (...args) => bindCallback(callbackFunc, scheduler)(...args).pipe(map((args) => isArray(args) ? resultSelector(...args) : resultSelector(args)));
|
||||
}
|
||||
}
|
||||
return function (...args) {
|
||||
const context = this;
|
||||
let subject;
|
||||
const params = {
|
||||
context,
|
||||
subject,
|
||||
callbackFunc,
|
||||
scheduler,
|
||||
};
|
||||
return new Observable(subscriber => {
|
||||
if (!scheduler) {
|
||||
if (!subject) {
|
||||
subject = new AsyncSubject();
|
||||
const handler = (...innerArgs) => {
|
||||
subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);
|
||||
subject.complete();
|
||||
};
|
||||
try {
|
||||
callbackFunc.apply(context, [...args, handler]);
|
||||
}
|
||||
catch (err) {
|
||||
if (canReportError(subject)) {
|
||||
subject.error(err);
|
||||
}
|
||||
else {
|
||||
console.warn(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
return subject.subscribe(subscriber);
|
||||
}
|
||||
else {
|
||||
const state = {
|
||||
args, subscriber, params,
|
||||
};
|
||||
return scheduler.schedule(dispatch, 0, state);
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
function dispatch(state) {
|
||||
const self = this;
|
||||
const { args, subscriber, params } = state;
|
||||
const { callbackFunc, context, scheduler } = params;
|
||||
let { subject } = params;
|
||||
if (!subject) {
|
||||
subject = params.subject = new AsyncSubject();
|
||||
const handler = (...innerArgs) => {
|
||||
const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;
|
||||
this.add(scheduler.schedule(dispatchNext, 0, { value, subject }));
|
||||
};
|
||||
try {
|
||||
callbackFunc.apply(context, [...args, handler]);
|
||||
}
|
||||
catch (err) {
|
||||
subject.error(err);
|
||||
}
|
||||
}
|
||||
this.add(subject.subscribe(subscriber));
|
||||
}
|
||||
function dispatchNext(state) {
|
||||
const { value, subject } = state;
|
||||
subject.next(value);
|
||||
subject.complete();
|
||||
}
|
||||
function dispatchError(state) {
|
||||
const { err, subject } = state;
|
||||
subject.error(err);
|
||||
}
|
||||
//# sourceMappingURL=bindCallback.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/bindCallback.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/bindCallback.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"bindCallback.js","sources":["../../../src/internal/observable/bindCallback.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AA4KlD,MAAM,UAAU,YAAY,CAC1B,YAAsB,EACtB,cAAuC,EACvC,SAAyB;IAEzB,IAAI,cAAc,EAAE;QAClB,IAAI,WAAW,CAAC,cAAc,CAAC,EAAE;YAC/B,SAAS,GAAG,cAAc,CAAC;SAC5B;aAAM;YAEL,OAAO,CAAC,GAAG,IAAW,EAAE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M,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IACjC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpB,OAAO,CAAC,QAAQ,EAAE,CAAC;AACrB,CAAC;AAOD,SAAS,aAAa,CAA0C,KAAoB;IAClF,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC/B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
|
93
node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js
generated
vendored
Normal file
93
node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js
generated
vendored
Normal file
|
@ -0,0 +1,93 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { AsyncSubject } from '../AsyncSubject';
|
||||
import { map } from '../operators/map';
|
||||
import { canReportError } from '../util/canReportError';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
import { isArray } from '../util/isArray';
|
||||
export function bindNodeCallback(callbackFunc, resultSelector, scheduler) {
|
||||
if (resultSelector) {
|
||||
if (isScheduler(resultSelector)) {
|
||||
scheduler = resultSelector;
|
||||
}
|
||||
else {
|
||||
return (...args) => bindNodeCallback(callbackFunc, scheduler)(...args).pipe(map(args => isArray(args) ? resultSelector(...args) : resultSelector(args)));
|
||||
}
|
||||
}
|
||||
return function (...args) {
|
||||
const params = {
|
||||
subject: undefined,
|
||||
args,
|
||||
callbackFunc,
|
||||
scheduler,
|
||||
context: this,
|
||||
};
|
||||
return new Observable(subscriber => {
|
||||
const { context } = params;
|
||||
let { subject } = params;
|
||||
if (!scheduler) {
|
||||
if (!subject) {
|
||||
subject = params.subject = new AsyncSubject();
|
||||
const handler = (...innerArgs) => {
|
||||
const err = innerArgs.shift();
|
||||
if (err) {
|
||||
subject.error(err);
|
||||
return;
|
||||
}
|
||||
subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);
|
||||
subject.complete();
|
||||
};
|
||||
try {
|
||||
callbackFunc.apply(context, [...args, handler]);
|
||||
}
|
||||
catch (err) {
|
||||
if (canReportError(subject)) {
|
||||
subject.error(err);
|
||||
}
|
||||
else {
|
||||
console.warn(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
return subject.subscribe(subscriber);
|
||||
}
|
||||
else {
|
||||
return scheduler.schedule(dispatch, 0, { params, subscriber, context });
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
function dispatch(state) {
|
||||
const { params, subscriber, context } = state;
|
||||
const { callbackFunc, args, scheduler } = params;
|
||||
let subject = params.subject;
|
||||
if (!subject) {
|
||||
subject = params.subject = new AsyncSubject();
|
||||
const handler = (...innerArgs) => {
|
||||
const err = innerArgs.shift();
|
||||
if (err) {
|
||||
this.add(scheduler.schedule(dispatchError, 0, { err, subject }));
|
||||
}
|
||||
else {
|
||||
const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;
|
||||
this.add(scheduler.schedule(dispatchNext, 0, { value, subject }));
|
||||
}
|
||||
};
|
||||
try {
|
||||
callbackFunc.apply(context, [...args, handler]);
|
||||
}
|
||||
catch (err) {
|
||||
this.add(scheduler.schedule(dispatchError, 0, { err, subject }));
|
||||
}
|
||||
}
|
||||
this.add(subject.subscribe(subscriber));
|
||||
}
|
||||
function dispatchNext(arg) {
|
||||
const { value, subject } = arg;
|
||||
subject.next(value);
|
||||
subject.complete();
|
||||
}
|
||||
function dispatchError(arg) {
|
||||
const { err, subject } = arg;
|
||||
subject.error(err);
|
||||
}
|
||||
//# sourceMappingURL=bindNodeCallback.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"bindNodeCallback.js","sources":["../../../src/internal/observable/bindNodeCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,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,CAAC"}
|
89
node_modules/rxjs/_esm2015/internal/observable/combineLatest.js
generated
vendored
Normal file
89
node_modules/rxjs/_esm2015/internal/observable/combineLatest.js
generated
vendored
Normal file
|
@ -0,0 +1,89 @@
|
|||
import { isScheduler } from '../util/isScheduler';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
import { fromArray } from './fromArray';
|
||||
const NONE = {};
|
||||
export function combineLatest(...observables) {
|
||||
let resultSelector = undefined;
|
||||
let scheduler = undefined;
|
||||
if (isScheduler(observables[observables.length - 1])) {
|
||||
scheduler = observables.pop();
|
||||
}
|
||||
if (typeof observables[observables.length - 1] === 'function') {
|
||||
resultSelector = observables.pop();
|
||||
}
|
||||
if (observables.length === 1 && isArray(observables[0])) {
|
||||
observables = observables[0];
|
||||
}
|
||||
return fromArray(observables, scheduler).lift(new CombineLatestOperator(resultSelector));
|
||||
}
|
||||
export class CombineLatestOperator {
|
||||
constructor(resultSelector) {
|
||||
this.resultSelector = resultSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));
|
||||
}
|
||||
}
|
||||
export class CombineLatestSubscriber extends OuterSubscriber {
|
||||
constructor(destination, resultSelector) {
|
||||
super(destination);
|
||||
this.resultSelector = resultSelector;
|
||||
this.active = 0;
|
||||
this.values = [];
|
||||
this.observables = [];
|
||||
}
|
||||
_next(observable) {
|
||||
this.values.push(NONE);
|
||||
this.observables.push(observable);
|
||||
}
|
||||
_complete() {
|
||||
const observables = this.observables;
|
||||
const len = observables.length;
|
||||
if (len === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
else {
|
||||
this.active = len;
|
||||
this.toRespond = len;
|
||||
for (let i = 0; i < len; i++) {
|
||||
const observable = observables[i];
|
||||
this.add(subscribeToResult(this, observable, undefined, i));
|
||||
}
|
||||
}
|
||||
}
|
||||
notifyComplete(unused) {
|
||||
if ((this.active -= 1) === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
notifyNext(_outerValue, innerValue, outerIndex) {
|
||||
const values = this.values;
|
||||
const oldVal = values[outerIndex];
|
||||
const toRespond = !this.toRespond
|
||||
? 0
|
||||
: oldVal === NONE ? --this.toRespond : this.toRespond;
|
||||
values[outerIndex] = innerValue;
|
||||
if (toRespond === 0) {
|
||||
if (this.resultSelector) {
|
||||
this._tryResultSelector(values);
|
||||
}
|
||||
else {
|
||||
this.destination.next(values.slice());
|
||||
}
|
||||
}
|
||||
}
|
||||
_tryResultSelector(values) {
|
||||
let result;
|
||||
try {
|
||||
result = this.resultSelector.apply(this, values);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.destination.next(result);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=combineLatest.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/combineLatest.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/combineLatest.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"combineLatest.js","sources":["../../../src/internal/observable/combineLatest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAG,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAG,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,IAAI,GAAG,EAAE,CAAC;AAsNhB,MAAM,UAAU,aAAa,CAC3B,GAAG,WAA6E;IAEhF,IAAI,cAAc,GAAgD,SAAS,CAAC;IAC5E,IAAI,SAAS,GAA4B,SAAS,CAAC;IAEnD,IAAI,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM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AAK,EAAE,CAAC,CAAC;aACxC;SACF;IACH,CAAC;IAEO,kBAAkB,CAAC,MAAa;QACtC,IAAI,MAAW,CAAC;QAChB,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,cAAe,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;SACnD;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAM,CAAC,GAAG,CAAC,CAAC;YAC7B,OAAO;SACR;QACD,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;CACF"}
|
6
node_modules/rxjs/_esm2015/internal/observable/concat.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm2015/internal/observable/concat.js
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { of } from './of';
|
||||
import { concatAll } from '../operators/concatAll';
|
||||
export function concat(...observables) {
|
||||
return concatAll()(of(...observables));
|
||||
}
|
||||
//# sourceMappingURL=concat.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/concat.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/concat.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"concat.js","sources":["../../../src/internal/observable/concat.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AA2InD,MAAM,UAAU,MAAM,CAAoC,GAAG,WAAqC;IAChG,OAAO,SAAS,EAAK,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC;AAC5C,CAAC"}
|
18
node_modules/rxjs/_esm2015/internal/observable/defer.js
generated
vendored
Normal file
18
node_modules/rxjs/_esm2015/internal/observable/defer.js
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { from } from './from';
|
||||
import { empty } from './empty';
|
||||
export function defer(observableFactory) {
|
||||
return new Observable(subscriber => {
|
||||
let input;
|
||||
try {
|
||||
input = observableFactory();
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
const source = input ? from(input) : empty();
|
||||
return source.subscribe(subscriber);
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=defer.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/defer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/defer.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"defer.js","sources":["../../../src/internal/observable/defer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAmDhC,MAAM,UAAU,KAAK,CAAwC,iBAA0B;IACrF,OAAO,IAAI,UAAU,CAAqB,UAAU,CAAC,EAAE;QACrD,IAAI,KAAe,CAAC;QACpB,IAAI;YACF,KAAK,GAAG,iBAAiB,EAAE,CAAC;SAC7B;QAAC,OAAO,GAAG,EAAE;YACZ,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACtB,OAAO,SAAS,CAAC;SAClB;QACD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAA4C,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;QACpF,OAAO,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC"}
|
359
node_modules/rxjs/_esm2015/internal/observable/dom/AjaxObservable.js
generated
vendored
Normal file
359
node_modules/rxjs/_esm2015/internal/observable/dom/AjaxObservable.js
generated
vendored
Normal file
|
@ -0,0 +1,359 @@
|
|||
import { root } from '../../util/root';
|
||||
import { Observable } from '../../Observable';
|
||||
import { Subscriber } from '../../Subscriber';
|
||||
import { map } from '../../operators/map';
|
||||
function getCORSRequest() {
|
||||
if (root.XMLHttpRequest) {
|
||||
return new root.XMLHttpRequest();
|
||||
}
|
||||
else if (!!root.XDomainRequest) {
|
||||
return new root.XDomainRequest();
|
||||
}
|
||||
else {
|
||||
throw new Error('CORS is not supported by your browser');
|
||||
}
|
||||
}
|
||||
function getXMLHttpRequest() {
|
||||
if (root.XMLHttpRequest) {
|
||||
return new root.XMLHttpRequest();
|
||||
}
|
||||
else {
|
||||
let progId;
|
||||
try {
|
||||
const progIds = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0'];
|
||||
for (let i = 0; i < 3; i++) {
|
||||
try {
|
||||
progId = progIds[i];
|
||||
if (new root.ActiveXObject(progId)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
return new root.ActiveXObject(progId);
|
||||
}
|
||||
catch (e) {
|
||||
throw new Error('XMLHttpRequest is not supported by your browser');
|
||||
}
|
||||
}
|
||||
}
|
||||
export function ajaxGet(url, headers = null) {
|
||||
return new AjaxObservable({ method: 'GET', url, headers });
|
||||
}
|
||||
export function ajaxPost(url, body, headers) {
|
||||
return new AjaxObservable({ method: 'POST', url, body, headers });
|
||||
}
|
||||
export function ajaxDelete(url, headers) {
|
||||
return new AjaxObservable({ method: 'DELETE', url, headers });
|
||||
}
|
||||
export function ajaxPut(url, body, headers) {
|
||||
return new AjaxObservable({ method: 'PUT', url, body, headers });
|
||||
}
|
||||
export function ajaxPatch(url, body, headers) {
|
||||
return new AjaxObservable({ method: 'PATCH', url, body, headers });
|
||||
}
|
||||
const mapResponse = map((x, index) => x.response);
|
||||
export function ajaxGetJSON(url, headers) {
|
||||
return mapResponse(new AjaxObservable({
|
||||
method: 'GET',
|
||||
url,
|
||||
responseType: 'json',
|
||||
headers
|
||||
}));
|
||||
}
|
||||
export class AjaxObservable extends Observable {
|
||||
constructor(urlOrRequest) {
|
||||
super();
|
||||
const request = {
|
||||
async: true,
|
||||
createXHR: function () {
|
||||
return this.crossDomain ? getCORSRequest() : getXMLHttpRequest();
|
||||
},
|
||||
crossDomain: true,
|
||||
withCredentials: false,
|
||||
headers: {},
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
timeout: 0
|
||||
};
|
||||
if (typeof urlOrRequest === 'string') {
|
||||
request.url = urlOrRequest;
|
||||
}
|
||||
else {
|
||||
for (const prop in urlOrRequest) {
|
||||
if (urlOrRequest.hasOwnProperty(prop)) {
|
||||
request[prop] = urlOrRequest[prop];
|
||||
}
|
||||
}
|
||||
}
|
||||
this.request = request;
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
return new AjaxSubscriber(subscriber, this.request);
|
||||
}
|
||||
}
|
||||
AjaxObservable.create = (() => {
|
||||
const create = (urlOrRequest) => {
|
||||
return new AjaxObservable(urlOrRequest);
|
||||
};
|
||||
create.get = ajaxGet;
|
||||
create.post = ajaxPost;
|
||||
create.delete = ajaxDelete;
|
||||
create.put = ajaxPut;
|
||||
create.patch = ajaxPatch;
|
||||
create.getJSON = ajaxGetJSON;
|
||||
return create;
|
||||
})();
|
||||
export class AjaxSubscriber extends Subscriber {
|
||||
constructor(destination, request) {
|
||||
super(destination);
|
||||
this.request = request;
|
||||
this.done = false;
|
||||
const headers = request.headers = request.headers || {};
|
||||
if (!request.crossDomain && !this.getHeader(headers, 'X-Requested-With')) {
|
||||
headers['X-Requested-With'] = 'XMLHttpRequest';
|
||||
}
|
||||
let contentTypeHeader = this.getHeader(headers, 'Content-Type');
|
||||
if (!contentTypeHeader && !(root.FormData && request.body instanceof root.FormData) && typeof request.body !== 'undefined') {
|
||||
headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';
|
||||
}
|
||||
request.body = this.serializeBody(request.body, this.getHeader(request.headers, 'Content-Type'));
|
||||
this.send();
|
||||
}
|
||||
next(e) {
|
||||
this.done = true;
|
||||
const { xhr, request, destination } = this;
|
||||
let result;
|
||||
try {
|
||||
result = new AjaxResponse(e, xhr, request);
|
||||
}
|
||||
catch (err) {
|
||||
return destination.error(err);
|
||||
}
|
||||
destination.next(result);
|
||||
}
|
||||
send() {
|
||||
const { request, request: { user, method, url, async, password, headers, body } } = this;
|
||||
try {
|
||||
const xhr = this.xhr = request.createXHR();
|
||||
this.setupEvents(xhr, request);
|
||||
if (user) {
|
||||
xhr.open(method, url, async, user, password);
|
||||
}
|
||||
else {
|
||||
xhr.open(method, url, async);
|
||||
}
|
||||
if (async) {
|
||||
xhr.timeout = request.timeout;
|
||||
xhr.responseType = request.responseType;
|
||||
}
|
||||
if ('withCredentials' in xhr) {
|
||||
xhr.withCredentials = !!request.withCredentials;
|
||||
}
|
||||
this.setHeaders(xhr, headers);
|
||||
if (body) {
|
||||
xhr.send(body);
|
||||
}
|
||||
else {
|
||||
xhr.send();
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.error(err);
|
||||
}
|
||||
}
|
||||
serializeBody(body, contentType) {
|
||||
if (!body || typeof body === 'string') {
|
||||
return body;
|
||||
}
|
||||
else if (root.FormData && body instanceof root.FormData) {
|
||||
return body;
|
||||
}
|
||||
if (contentType) {
|
||||
const splitIndex = contentType.indexOf(';');
|
||||
if (splitIndex !== -1) {
|
||||
contentType = contentType.substring(0, splitIndex);
|
||||
}
|
||||
}
|
||||
switch (contentType) {
|
||||
case 'application/x-www-form-urlencoded':
|
||||
return Object.keys(body).map(key => `${encodeURIComponent(key)}=${encodeURIComponent(body[key])}`).join('&');
|
||||
case 'application/json':
|
||||
return JSON.stringify(body);
|
||||
default:
|
||||
return body;
|
||||
}
|
||||
}
|
||||
setHeaders(xhr, headers) {
|
||||
for (let key in headers) {
|
||||
if (headers.hasOwnProperty(key)) {
|
||||
xhr.setRequestHeader(key, headers[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
getHeader(headers, headerName) {
|
||||
for (let key in headers) {
|
||||
if (key.toLowerCase() === headerName.toLowerCase()) {
|
||||
return headers[key];
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
setupEvents(xhr, request) {
|
||||
const progressSubscriber = request.progressSubscriber;
|
||||
function xhrTimeout(e) {
|
||||
const { subscriber, progressSubscriber, request } = xhrTimeout;
|
||||
if (progressSubscriber) {
|
||||
progressSubscriber.error(e);
|
||||
}
|
||||
let error;
|
||||
try {
|
||||
error = new AjaxTimeoutError(this, request);
|
||||
}
|
||||
catch (err) {
|
||||
error = err;
|
||||
}
|
||||
subscriber.error(error);
|
||||
}
|
||||
xhr.ontimeout = xhrTimeout;
|
||||
xhrTimeout.request = request;
|
||||
xhrTimeout.subscriber = this;
|
||||
xhrTimeout.progressSubscriber = progressSubscriber;
|
||||
if (xhr.upload && 'withCredentials' in xhr) {
|
||||
if (progressSubscriber) {
|
||||
let xhrProgress;
|
||||
xhrProgress = function (e) {
|
||||
const { progressSubscriber } = xhrProgress;
|
||||
progressSubscriber.next(e);
|
||||
};
|
||||
if (root.XDomainRequest) {
|
||||
xhr.onprogress = xhrProgress;
|
||||
}
|
||||
else {
|
||||
xhr.upload.onprogress = xhrProgress;
|
||||
}
|
||||
xhrProgress.progressSubscriber = progressSubscriber;
|
||||
}
|
||||
let xhrError;
|
||||
xhrError = function (e) {
|
||||
const { progressSubscriber, subscriber, request } = xhrError;
|
||||
if (progressSubscriber) {
|
||||
progressSubscriber.error(e);
|
||||
}
|
||||
let error;
|
||||
try {
|
||||
error = new AjaxError('ajax error', this, request);
|
||||
}
|
||||
catch (err) {
|
||||
error = err;
|
||||
}
|
||||
subscriber.error(error);
|
||||
};
|
||||
xhr.onerror = xhrError;
|
||||
xhrError.request = request;
|
||||
xhrError.subscriber = this;
|
||||
xhrError.progressSubscriber = progressSubscriber;
|
||||
}
|
||||
function xhrReadyStateChange(e) {
|
||||
return;
|
||||
}
|
||||
xhr.onreadystatechange = xhrReadyStateChange;
|
||||
xhrReadyStateChange.subscriber = this;
|
||||
xhrReadyStateChange.progressSubscriber = progressSubscriber;
|
||||
xhrReadyStateChange.request = request;
|
||||
function xhrLoad(e) {
|
||||
const { subscriber, progressSubscriber, request } = xhrLoad;
|
||||
if (this.readyState === 4) {
|
||||
let status = this.status === 1223 ? 204 : this.status;
|
||||
let response = (this.responseType === 'text' ? (this.response || this.responseText) : this.response);
|
||||
if (status === 0) {
|
||||
status = response ? 200 : 0;
|
||||
}
|
||||
if (status < 400) {
|
||||
if (progressSubscriber) {
|
||||
progressSubscriber.complete();
|
||||
}
|
||||
subscriber.next(e);
|
||||
subscriber.complete();
|
||||
}
|
||||
else {
|
||||
if (progressSubscriber) {
|
||||
progressSubscriber.error(e);
|
||||
}
|
||||
let error;
|
||||
try {
|
||||
error = new AjaxError('ajax error ' + status, this, request);
|
||||
}
|
||||
catch (err) {
|
||||
error = err;
|
||||
}
|
||||
subscriber.error(error);
|
||||
}
|
||||
}
|
||||
}
|
||||
xhr.onload = xhrLoad;
|
||||
xhrLoad.subscriber = this;
|
||||
xhrLoad.progressSubscriber = progressSubscriber;
|
||||
xhrLoad.request = request;
|
||||
}
|
||||
unsubscribe() {
|
||||
const { done, xhr } = this;
|
||||
if (!done && xhr && xhr.readyState !== 4 && typeof xhr.abort === 'function') {
|
||||
xhr.abort();
|
||||
}
|
||||
super.unsubscribe();
|
||||
}
|
||||
}
|
||||
export class AjaxResponse {
|
||||
constructor(originalEvent, xhr, request) {
|
||||
this.originalEvent = originalEvent;
|
||||
this.xhr = xhr;
|
||||
this.request = request;
|
||||
this.status = xhr.status;
|
||||
this.responseType = xhr.responseType || request.responseType;
|
||||
this.response = parseXhrResponse(this.responseType, xhr);
|
||||
}
|
||||
}
|
||||
const AjaxErrorImpl = (() => {
|
||||
function AjaxErrorImpl(message, xhr, request) {
|
||||
Error.call(this);
|
||||
this.message = message;
|
||||
this.name = 'AjaxError';
|
||||
this.xhr = xhr;
|
||||
this.request = request;
|
||||
this.status = xhr.status;
|
||||
this.responseType = xhr.responseType || request.responseType;
|
||||
this.response = parseXhrResponse(this.responseType, xhr);
|
||||
return this;
|
||||
}
|
||||
AjaxErrorImpl.prototype = Object.create(Error.prototype);
|
||||
return AjaxErrorImpl;
|
||||
})();
|
||||
export const AjaxError = AjaxErrorImpl;
|
||||
function parseJson(xhr) {
|
||||
if ('response' in xhr) {
|
||||
return xhr.responseType ? xhr.response : JSON.parse(xhr.response || xhr.responseText || 'null');
|
||||
}
|
||||
else {
|
||||
return JSON.parse(xhr.responseText || 'null');
|
||||
}
|
||||
}
|
||||
function parseXhrResponse(responseType, xhr) {
|
||||
switch (responseType) {
|
||||
case 'json':
|
||||
return parseJson(xhr);
|
||||
case 'xml':
|
||||
return xhr.responseXML;
|
||||
case 'text':
|
||||
default:
|
||||
return ('response' in xhr) ? xhr.response : xhr.responseText;
|
||||
}
|
||||
}
|
||||
function AjaxTimeoutErrorImpl(xhr, request) {
|
||||
AjaxError.call(this, 'ajax timeout', xhr, request);
|
||||
this.name = 'AjaxTimeoutError';
|
||||
return this;
|
||||
}
|
||||
export const AjaxTimeoutError = AjaxTimeoutErrorImpl;
|
||||
//# sourceMappingURL=AjaxObservable.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/dom/AjaxObservable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/dom/AjaxObservable.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
209
node_modules/rxjs/_esm2015/internal/observable/dom/WebSocketSubject.js
generated
vendored
Normal file
209
node_modules/rxjs/_esm2015/internal/observable/dom/WebSocketSubject.js
generated
vendored
Normal file
|
@ -0,0 +1,209 @@
|
|||
import { Subject, AnonymousSubject } from '../../Subject';
|
||||
import { Subscriber } from '../../Subscriber';
|
||||
import { Observable } from '../../Observable';
|
||||
import { Subscription } from '../../Subscription';
|
||||
import { ReplaySubject } from '../../ReplaySubject';
|
||||
const DEFAULT_WEBSOCKET_CONFIG = {
|
||||
url: '',
|
||||
deserializer: (e) => JSON.parse(e.data),
|
||||
serializer: (value) => JSON.stringify(value),
|
||||
};
|
||||
const WEBSOCKETSUBJECT_INVALID_ERROR_OBJECT = 'WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }';
|
||||
export class WebSocketSubject extends AnonymousSubject {
|
||||
constructor(urlConfigOrSource, destination) {
|
||||
super();
|
||||
if (urlConfigOrSource instanceof Observable) {
|
||||
this.destination = destination;
|
||||
this.source = urlConfigOrSource;
|
||||
}
|
||||
else {
|
||||
const config = this._config = Object.assign({}, DEFAULT_WEBSOCKET_CONFIG);
|
||||
this._output = new Subject();
|
||||
if (typeof urlConfigOrSource === 'string') {
|
||||
config.url = urlConfigOrSource;
|
||||
}
|
||||
else {
|
||||
for (let key in urlConfigOrSource) {
|
||||
if (urlConfigOrSource.hasOwnProperty(key)) {
|
||||
config[key] = urlConfigOrSource[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!config.WebSocketCtor && WebSocket) {
|
||||
config.WebSocketCtor = WebSocket;
|
||||
}
|
||||
else if (!config.WebSocketCtor) {
|
||||
throw new Error('no WebSocket constructor can be found');
|
||||
}
|
||||
this.destination = new ReplaySubject();
|
||||
}
|
||||
}
|
||||
lift(operator) {
|
||||
const sock = new WebSocketSubject(this._config, this.destination);
|
||||
sock.operator = operator;
|
||||
sock.source = this;
|
||||
return sock;
|
||||
}
|
||||
_resetState() {
|
||||
this._socket = null;
|
||||
if (!this.source) {
|
||||
this.destination = new ReplaySubject();
|
||||
}
|
||||
this._output = new Subject();
|
||||
}
|
||||
multiplex(subMsg, unsubMsg, messageFilter) {
|
||||
const self = this;
|
||||
return new Observable((observer) => {
|
||||
try {
|
||||
self.next(subMsg());
|
||||
}
|
||||
catch (err) {
|
||||
observer.error(err);
|
||||
}
|
||||
const subscription = self.subscribe(x => {
|
||||
try {
|
||||
if (messageFilter(x)) {
|
||||
observer.next(x);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
observer.error(err);
|
||||
}
|
||||
}, err => observer.error(err), () => observer.complete());
|
||||
return () => {
|
||||
try {
|
||||
self.next(unsubMsg());
|
||||
}
|
||||
catch (err) {
|
||||
observer.error(err);
|
||||
}
|
||||
subscription.unsubscribe();
|
||||
};
|
||||
});
|
||||
}
|
||||
_connectSocket() {
|
||||
const { WebSocketCtor, protocol, url, binaryType } = this._config;
|
||||
const observer = this._output;
|
||||
let socket = null;
|
||||
try {
|
||||
socket = protocol ?
|
||||
new WebSocketCtor(url, protocol) :
|
||||
new WebSocketCtor(url);
|
||||
this._socket = socket;
|
||||
if (binaryType) {
|
||||
this._socket.binaryType = binaryType;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
observer.error(e);
|
||||
return;
|
||||
}
|
||||
const subscription = new Subscription(() => {
|
||||
this._socket = null;
|
||||
if (socket && socket.readyState === 1) {
|
||||
socket.close();
|
||||
}
|
||||
});
|
||||
socket.onopen = (e) => {
|
||||
const { _socket } = this;
|
||||
if (!_socket) {
|
||||
socket.close();
|
||||
this._resetState();
|
||||
return;
|
||||
}
|
||||
const { openObserver } = this._config;
|
||||
if (openObserver) {
|
||||
openObserver.next(e);
|
||||
}
|
||||
const queue = this.destination;
|
||||
this.destination = Subscriber.create((x) => {
|
||||
if (socket.readyState === 1) {
|
||||
try {
|
||||
const { serializer } = this._config;
|
||||
socket.send(serializer(x));
|
||||
}
|
||||
catch (e) {
|
||||
this.destination.error(e);
|
||||
}
|
||||
}
|
||||
}, (e) => {
|
||||
const { closingObserver } = this._config;
|
||||
if (closingObserver) {
|
||||
closingObserver.next(undefined);
|
||||
}
|
||||
if (e && e.code) {
|
||||
socket.close(e.code, e.reason);
|
||||
}
|
||||
else {
|
||||
observer.error(new TypeError(WEBSOCKETSUBJECT_INVALID_ERROR_OBJECT));
|
||||
}
|
||||
this._resetState();
|
||||
}, () => {
|
||||
const { closingObserver } = this._config;
|
||||
if (closingObserver) {
|
||||
closingObserver.next(undefined);
|
||||
}
|
||||
socket.close();
|
||||
this._resetState();
|
||||
});
|
||||
if (queue && queue instanceof ReplaySubject) {
|
||||
subscription.add(queue.subscribe(this.destination));
|
||||
}
|
||||
};
|
||||
socket.onerror = (e) => {
|
||||
this._resetState();
|
||||
observer.error(e);
|
||||
};
|
||||
socket.onclose = (e) => {
|
||||
this._resetState();
|
||||
const { closeObserver } = this._config;
|
||||
if (closeObserver) {
|
||||
closeObserver.next(e);
|
||||
}
|
||||
if (e.wasClean) {
|
||||
observer.complete();
|
||||
}
|
||||
else {
|
||||
observer.error(e);
|
||||
}
|
||||
};
|
||||
socket.onmessage = (e) => {
|
||||
try {
|
||||
const { deserializer } = this._config;
|
||||
observer.next(deserializer(e));
|
||||
}
|
||||
catch (err) {
|
||||
observer.error(err);
|
||||
}
|
||||
};
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const { source } = this;
|
||||
if (source) {
|
||||
return source.subscribe(subscriber);
|
||||
}
|
||||
if (!this._socket) {
|
||||
this._connectSocket();
|
||||
}
|
||||
this._output.subscribe(subscriber);
|
||||
subscriber.add(() => {
|
||||
const { _socket } = this;
|
||||
if (this._output.observers.length === 0) {
|
||||
if (_socket && _socket.readyState === 1) {
|
||||
_socket.close();
|
||||
}
|
||||
this._resetState();
|
||||
}
|
||||
});
|
||||
return subscriber;
|
||||
}
|
||||
unsubscribe() {
|
||||
const { _socket } = this;
|
||||
if (_socket && _socket.readyState === 1) {
|
||||
_socket.close();
|
||||
}
|
||||
this._resetState();
|
||||
super.unsubscribe();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=WebSocketSubject.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/dom/WebSocketSubject.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/dom/WebSocketSubject.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3
node_modules/rxjs/_esm2015/internal/observable/dom/ajax.js
generated
vendored
Normal file
3
node_modules/rxjs/_esm2015/internal/observable/dom/ajax.js
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { AjaxObservable } from './AjaxObservable';
|
||||
export const ajax = (() => AjaxObservable.create)();
|
||||
//# sourceMappingURL=ajax.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/dom/ajax.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/dom/ajax.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ajax.js","sources":["../../../../src/internal/observable/dom/ajax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,cAAc,EAAuB,MAAM,kBAAkB,CAAC;AAiFxE,MAAM,CAAC,MAAM,IAAI,GAAuB,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC"}
|
67
node_modules/rxjs/_esm2015/internal/observable/dom/fetch.js
generated
vendored
Normal file
67
node_modules/rxjs/_esm2015/internal/observable/dom/fetch.js
generated
vendored
Normal file
|
@ -0,0 +1,67 @@
|
|||
import * as tslib_1 from "tslib";
|
||||
import { Observable } from '../../Observable';
|
||||
import { Subscription } from '../../Subscription';
|
||||
import { from } from '../../observable/from';
|
||||
export function fromFetch(input, initWithSelector = {}) {
|
||||
const { selector } = initWithSelector, init = tslib_1.__rest(initWithSelector, ["selector"]);
|
||||
return new Observable(subscriber => {
|
||||
const controller = new AbortController();
|
||||
const signal = controller.signal;
|
||||
let abortable = true;
|
||||
let unsubscribed = false;
|
||||
const subscription = new Subscription();
|
||||
subscription.add(() => {
|
||||
unsubscribed = true;
|
||||
if (abortable) {
|
||||
controller.abort();
|
||||
}
|
||||
});
|
||||
let perSubscriberInit;
|
||||
if (init) {
|
||||
if (init.signal) {
|
||||
if (init.signal.aborted) {
|
||||
controller.abort();
|
||||
}
|
||||
else {
|
||||
const outerSignal = init.signal;
|
||||
const outerSignalHandler = () => {
|
||||
if (!signal.aborted) {
|
||||
controller.abort();
|
||||
}
|
||||
};
|
||||
outerSignal.addEventListener('abort', outerSignalHandler);
|
||||
subscription.add(() => outerSignal.removeEventListener('abort', outerSignalHandler));
|
||||
}
|
||||
}
|
||||
perSubscriberInit = Object.assign({}, init, { signal });
|
||||
}
|
||||
else {
|
||||
perSubscriberInit = { signal };
|
||||
}
|
||||
fetch(input, perSubscriberInit).then(response => {
|
||||
if (selector) {
|
||||
subscription.add(from(selector(response)).subscribe(value => subscriber.next(value), err => {
|
||||
abortable = false;
|
||||
if (!unsubscribed) {
|
||||
subscriber.error(err);
|
||||
}
|
||||
}, () => {
|
||||
abortable = false;
|
||||
subscriber.complete();
|
||||
}));
|
||||
}
|
||||
else {
|
||||
abortable = false;
|
||||
subscriber.next(response);
|
||||
subscriber.complete();
|
||||
}
|
||||
}).catch(err => {
|
||||
abortable = false;
|
||||
if (!unsubscribed) {
|
||||
subscriber.error(err);
|
||||
}
|
||||
});
|
||||
return subscription;
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=fetch.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/dom/fetch.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/dom/fetch.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fetch.js","sources":["../../../../src/internal/observable/dom/fetch.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AA8F7C,MAAM,UAAU,SAAS,CACvB,KAAuB,EACvB,mBAEI,EAAE;IAEN,MAAM,EAAE,QAAQ,KAAc,gBAAgB,EAA5B,qDAA4B,CAAC;IAC/C,OAAO,IAAI,UAAU,CAAe,UAAU,CAAC,EAAE;QAC/C,MAAM,UAAU,GAAG,IAAI,eAAe,EAAE,CAAC;QACzC,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QACjC,IAAI,SAAS,GAAG,IAAI,CAAC;QACrB,IAAI,YAAY,GAAG,KAAK,CAAC;QAEzB,MAAM,YAAY,GAAG,IAAI,YAAY,E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K,CAAC,GAAG,CAAC,CAAC;qBACvB;gBACH,CAAC,EACD,GAAG,EAAE;oBACH,SAAS,GAAG,KAAK,CAAC;oBAClB,UAAU,CAAC,QAAQ,EAAE,CAAC;gBACxB,CAAC,CACF,CAAC,CAAC;aACJ;iBAAM;gBACL,SAAS,GAAG,KAAK,CAAC;gBAClB,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC1B,UAAU,CAAC,QAAQ,EAAE,CAAC;aACvB;QACH,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;YACb,SAAS,GAAG,KAAK,CAAC;YAClB,IAAI,CAAC,YAAY,EAAE;gBAEjB,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACvB;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,YAAY,CAAC;IACtB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
5
node_modules/rxjs/_esm2015/internal/observable/dom/webSocket.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/observable/dom/webSocket.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { WebSocketSubject } from './WebSocketSubject';
|
||||
export function webSocket(urlConfigOrSource) {
|
||||
return new WebSocketSubject(urlConfigOrSource);
|
||||
}
|
||||
//# sourceMappingURL=webSocket.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/dom/webSocket.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/dom/webSocket.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"webSocket.js","sources":["../../../../src/internal/observable/dom/webSocket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA0B,MAAM,oBAAoB,CAAC;AAyJ9E,MAAM,UAAU,SAAS,CAAI,iBAAqD;IAChF,OAAO,IAAI,gBAAgB,CAAI,iBAAiB,CAAC,CAAC;AACpD,CAAC"}
|
9
node_modules/rxjs/_esm2015/internal/observable/empty.js
generated
vendored
Normal file
9
node_modules/rxjs/_esm2015/internal/observable/empty.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Observable } from '../Observable';
|
||||
export const EMPTY = new Observable(subscriber => subscriber.complete());
|
||||
export function empty(scheduler) {
|
||||
return scheduler ? emptyScheduled(scheduler) : EMPTY;
|
||||
}
|
||||
function emptyScheduled(scheduler) {
|
||||
return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));
|
||||
}
|
||||
//# sourceMappingURL=empty.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/empty.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/empty.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"empty.js","sources":["../../../src/internal/observable/empty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAO3C,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,UAAU,CAAQ,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;AAsDhF,MAAM,UAAU,KAAK,CAAC,SAAyB;IAC7C,OAAO,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACvD,CAAC;AAED,SAAS,cAAc,CAAC,SAAwB;IAC9C,OAAO,IAAI,UAAU,CAAQ,UAAU,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC9F,CAAC"}
|
61
node_modules/rxjs/_esm2015/internal/observable/forkJoin.js
generated
vendored
Normal file
61
node_modules/rxjs/_esm2015/internal/observable/forkJoin.js
generated
vendored
Normal file
|
@ -0,0 +1,61 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { map } from '../operators/map';
|
||||
import { isObject } from '../util/isObject';
|
||||
import { from } from './from';
|
||||
export function forkJoin(...sources) {
|
||||
if (sources.length === 1) {
|
||||
const first = sources[0];
|
||||
if (isArray(first)) {
|
||||
return forkJoinInternal(first, null);
|
||||
}
|
||||
if (isObject(first) && Object.getPrototypeOf(first) === Object.prototype) {
|
||||
const keys = Object.keys(first);
|
||||
return forkJoinInternal(keys.map(key => first[key]), keys);
|
||||
}
|
||||
}
|
||||
if (typeof sources[sources.length - 1] === 'function') {
|
||||
const resultSelector = sources.pop();
|
||||
sources = (sources.length === 1 && isArray(sources[0])) ? sources[0] : sources;
|
||||
return forkJoinInternal(sources, null).pipe(map((args) => resultSelector(...args)));
|
||||
}
|
||||
return forkJoinInternal(sources, null);
|
||||
}
|
||||
function forkJoinInternal(sources, keys) {
|
||||
return new Observable(subscriber => {
|
||||
const len = sources.length;
|
||||
if (len === 0) {
|
||||
subscriber.complete();
|
||||
return;
|
||||
}
|
||||
const values = new Array(len);
|
||||
let completed = 0;
|
||||
let emitted = 0;
|
||||
for (let i = 0; i < len; i++) {
|
||||
const source = from(sources[i]);
|
||||
let hasValue = false;
|
||||
subscriber.add(source.subscribe({
|
||||
next: value => {
|
||||
if (!hasValue) {
|
||||
hasValue = true;
|
||||
emitted++;
|
||||
}
|
||||
values[i] = value;
|
||||
},
|
||||
error: err => subscriber.error(err),
|
||||
complete: () => {
|
||||
completed++;
|
||||
if (completed === len || !hasValue) {
|
||||
if (emitted === len) {
|
||||
subscriber.next(keys ?
|
||||
keys.reduce((result, key, i) => (result[key] = values[i], result), {}) :
|
||||
values);
|
||||
}
|
||||
subscriber.complete();
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=forkJoin.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/forkJoin.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/forkJoin.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"forkJoin.js","sources":["../../../src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C,IAAI,CAAC,IAAI,CAAC,CAAC;gCACpB,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;gCACxE,MAAM,CAAC,CAAC;yBACX;wBACD,UAAU,CAAC,QAAQ,EAAE,CAAC;qBACvB;gBACH,CAAC;aACF,CAAC,CAAC,CAAC;SACL;IACH,CAAC,CAAC,CAAC;AACL,CAAC"}
|
15
node_modules/rxjs/_esm2015/internal/observable/from.js
generated
vendored
Normal file
15
node_modules/rxjs/_esm2015/internal/observable/from.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { subscribeTo } from '../util/subscribeTo';
|
||||
import { scheduled } from '../scheduled/scheduled';
|
||||
export function from(input, scheduler) {
|
||||
if (!scheduler) {
|
||||
if (input instanceof Observable) {
|
||||
return input;
|
||||
}
|
||||
return new Observable(subscribeTo(input));
|
||||
}
|
||||
else {
|
||||
return scheduled(input, scheduler);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=from.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/from.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/from.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"from.js","sources":["../../../src/internal/observable/from.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAyGnD,MAAM,UAAU,IAAI,CAAI,KAAyB,EAAE,SAAyB;IAC1E,IAAI,CAAC,SAAS,EAAE;QACd,IAAI,KAAK,YAAY,UAAU,EAAE;YAC/B,OAAO,KAAK,CAAC;SACd;QACD,OAAO,IAAI,UAAU,CAAI,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9C;SAAM;QACL,OAAO,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;KACpC;AACH,CAAC"}
|
12
node_modules/rxjs/_esm2015/internal/observable/fromArray.js
generated
vendored
Normal file
12
node_modules/rxjs/_esm2015/internal/observable/fromArray.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { subscribeToArray } from '../util/subscribeToArray';
|
||||
import { scheduleArray } from '../scheduled/scheduleArray';
|
||||
export function fromArray(input, scheduler) {
|
||||
if (!scheduler) {
|
||||
return new Observable(subscribeToArray(input));
|
||||
}
|
||||
else {
|
||||
return scheduleArray(input, scheduler);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=fromArray.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/fromArray.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/fromArray.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fromArray.js","sources":["../../../src/internal/observable/fromArray.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,UAAU,SAAS,CAAI,KAAmB,EAAE,SAAyB;IACzE,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,UAAU,CAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;KACnD;SAAM;QACL,OAAO,aAAa,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;KACxC;AACH,CAAC"}
|
62
node_modules/rxjs/_esm2015/internal/observable/fromEvent.js
generated
vendored
Normal file
62
node_modules/rxjs/_esm2015/internal/observable/fromEvent.js
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { isFunction } from '../util/isFunction';
|
||||
import { map } from '../operators/map';
|
||||
const toString = (() => Object.prototype.toString)();
|
||||
export function fromEvent(target, eventName, options, resultSelector) {
|
||||
if (isFunction(options)) {
|
||||
resultSelector = options;
|
||||
options = undefined;
|
||||
}
|
||||
if (resultSelector) {
|
||||
return fromEvent(target, eventName, options).pipe(map(args => isArray(args) ? resultSelector(...args) : resultSelector(args)));
|
||||
}
|
||||
return new Observable(subscriber => {
|
||||
function handler(e) {
|
||||
if (arguments.length > 1) {
|
||||
subscriber.next(Array.prototype.slice.call(arguments));
|
||||
}
|
||||
else {
|
||||
subscriber.next(e);
|
||||
}
|
||||
}
|
||||
setupSubscription(target, eventName, handler, subscriber, options);
|
||||
});
|
||||
}
|
||||
function setupSubscription(sourceObj, eventName, handler, subscriber, options) {
|
||||
let unsubscribe;
|
||||
if (isEventTarget(sourceObj)) {
|
||||
const source = sourceObj;
|
||||
sourceObj.addEventListener(eventName, handler, options);
|
||||
unsubscribe = () => source.removeEventListener(eventName, handler, options);
|
||||
}
|
||||
else if (isJQueryStyleEventEmitter(sourceObj)) {
|
||||
const source = sourceObj;
|
||||
sourceObj.on(eventName, handler);
|
||||
unsubscribe = () => source.off(eventName, handler);
|
||||
}
|
||||
else if (isNodeStyleEventEmitter(sourceObj)) {
|
||||
const source = sourceObj;
|
||||
sourceObj.addListener(eventName, handler);
|
||||
unsubscribe = () => source.removeListener(eventName, handler);
|
||||
}
|
||||
else if (sourceObj && sourceObj.length) {
|
||||
for (let i = 0, len = sourceObj.length; i < len; i++) {
|
||||
setupSubscription(sourceObj[i], eventName, handler, subscriber, options);
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw new TypeError('Invalid event target');
|
||||
}
|
||||
subscriber.add(unsubscribe);
|
||||
}
|
||||
function isNodeStyleEventEmitter(sourceObj) {
|
||||
return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';
|
||||
}
|
||||
function isJQueryStyleEventEmitter(sourceObj) {
|
||||
return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';
|
||||
}
|
||||
function isEventTarget(sourceObj) {
|
||||
return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';
|
||||
}
|
||||
//# sourceMappingURL=fromEvent.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/fromEvent.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/fromEvent.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fromEvent.js","sources":["../../../src/internal/observable/fromEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,MAAM,QAAQ,GAAa,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;AA0K/D,MAAM,UAAU,SAAS,CACvB,MAA0B,EAC1B,SAAiB,EACjB,OAAwD,EACxD,cAAwC;IAGxC,IAAI,UAAU,CAAC,OAAO,CAAC,EAAE;QAEvB,cAAc,GAAG,OAAO,CAAC;QACzB,OAAO,GAAG,SAAS,CAAC;KACrB;IACD,IAAI,cAAc,EAAE;QAElB,OAAO,SAAS,CAAI,MAAM,EAAE,SAAS,EAAoC,OAAO,CAAC,CAAC,IAAI,CACpF,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,CAA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AAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,OAA2B,CAAC,CAAC;KACnF;SAAM,IAAI,SAAS,IAAK,SAAiB,CAAC,MAAM,EAAE;QACjD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAI,SAAiB,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC7D,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;SAC1E;KACF;SAAM;QACL,MAAM,IAAI,SAAS,CAAC,sBAAsB,CAAC,CAAC;KAC7C;IAED,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC9B,CAAC;AAED,SAAS,uBAAuB,CAAC,SAAc;IAC7C,OAAO,SAAS,IAAI,OAAO,SAAS,CAAC,WAAW,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,cAAc,KAAK,UAAU,CAAC;AACpH,CAAC;AAED,SAAS,yBAAyB,CAAC,SAAc;IAC/C,OAAO,SAAS,IAAI,OAAO,SAAS,CAAC,EAAE,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,GAAG,KAAK,UAAU,CAAC;AAChG,CAAC;AAED,SAAS,aAAa,CAAC,SAAc;IACnC,OAAO,SAAS,IAAI,OAAO,SAAS,CAAC,gBAAgB,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,mBAAmB,KAAK,UAAU,CAAC;AAC9H,CAAC"}
|
25
node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js
generated
vendored
Normal file
25
node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { isFunction } from '../util/isFunction';
|
||||
import { map } from '../operators/map';
|
||||
export function fromEventPattern(addHandler, removeHandler, resultSelector) {
|
||||
if (resultSelector) {
|
||||
return fromEventPattern(addHandler, removeHandler).pipe(map(args => isArray(args) ? resultSelector(...args) : resultSelector(args)));
|
||||
}
|
||||
return new Observable(subscriber => {
|
||||
const handler = (...e) => subscriber.next(e.length === 1 ? e[0] : e);
|
||||
let retValue;
|
||||
try {
|
||||
retValue = addHandler(handler);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
if (!isFunction(removeHandler)) {
|
||||
return undefined;
|
||||
}
|
||||
return () => removeHandler(handler, retValue);
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=fromEventPattern.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fromEventPattern.js","sources":["../../../src/internal/observable/fromEventPattern.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAwIvC,MAAM,UAAU,gBAAgB,CAAI,UAA8C,EAC9C,aAAiE,EACjE,cAAsC;IAExE,IAAI,cAAc,EAAE;QAElB,OAAO,gBAAgB,CAAI,UAAU,EAAE,aAAa,CAAC,CAAC,IAAI,CACxD,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAC5E,CAAC;KACH;IAED,OAAO,IAAI,UAAU,CAAU,UAAU,CAAC,EAAE;QAC1C,MAAM,OAAO,GAAG,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAE1E,IAAI,QAAa,CAAC;QAClB,IAAI;YACF,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;SAChC;QAAC,OAAO,GAAG,EAAE;YACZ,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACtB,OAAO,SAAS,CAAC;SAClB;QAED,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE;YAC9B,OAAO,SAAS,CAAC;SAClB;QAED,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAE;IACjD,CAAC,CAAC,CAAC;AACL,CAAC"}
|
15
node_modules/rxjs/_esm2015/internal/observable/fromIterable.js
generated
vendored
Normal file
15
node_modules/rxjs/_esm2015/internal/observable/fromIterable.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { subscribeToIterable } from '../util/subscribeToIterable';
|
||||
import { scheduleIterable } from '../scheduled/scheduleIterable';
|
||||
export function fromIterable(input, scheduler) {
|
||||
if (!input) {
|
||||
throw new Error('Iterable cannot be null');
|
||||
}
|
||||
if (!scheduler) {
|
||||
return new Observable(subscribeToIterable(input));
|
||||
}
|
||||
else {
|
||||
return scheduleIterable(input, scheduler);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=fromIterable.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/fromIterable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/fromIterable.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fromIterable.js","sources":["../../../src/internal/observable/fromIterable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,UAAU,YAAY,CAAI,KAAkB,EAAE,SAAyB;IAC3E,IAAI,CAAC,KAAK,EAAE;QACV,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC5C;IACD,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,UAAU,CAAI,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;KACtD;SAAM;QACL,OAAO,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;KAC3C;AACH,CAAC"}
|
12
node_modules/rxjs/_esm2015/internal/observable/fromPromise.js
generated
vendored
Normal file
12
node_modules/rxjs/_esm2015/internal/observable/fromPromise.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { subscribeToPromise } from '../util/subscribeToPromise';
|
||||
import { schedulePromise } from '../scheduled/schedulePromise';
|
||||
export function fromPromise(input, scheduler) {
|
||||
if (!scheduler) {
|
||||
return new Observable(subscribeToPromise(input));
|
||||
}
|
||||
else {
|
||||
return schedulePromise(input, scheduler);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=fromPromise.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/fromPromise.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/fromPromise.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fromPromise.js","sources":["../../../src/internal/observable/fromPromise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,UAAU,WAAW,CAAI,KAAqB,EAAE,SAAyB;IAC7E,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,UAAU,CAAI,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;KACrD;SAAM;QACL,OAAO,eAAe,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;KAC1C;AACH,CAAC"}
|
124
node_modules/rxjs/_esm2015/internal/observable/generate.js
generated
vendored
Normal file
124
node_modules/rxjs/_esm2015/internal/observable/generate.js
generated
vendored
Normal file
|
@ -0,0 +1,124 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { identity } from '../util/identity';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function generate(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) {
|
||||
let resultSelector;
|
||||
let initialState;
|
||||
if (arguments.length == 1) {
|
||||
const options = initialStateOrOptions;
|
||||
initialState = options.initialState;
|
||||
condition = options.condition;
|
||||
iterate = options.iterate;
|
||||
resultSelector = options.resultSelector || identity;
|
||||
scheduler = options.scheduler;
|
||||
}
|
||||
else if (resultSelectorOrObservable === undefined || isScheduler(resultSelectorOrObservable)) {
|
||||
initialState = initialStateOrOptions;
|
||||
resultSelector = identity;
|
||||
scheduler = resultSelectorOrObservable;
|
||||
}
|
||||
else {
|
||||
initialState = initialStateOrOptions;
|
||||
resultSelector = resultSelectorOrObservable;
|
||||
}
|
||||
return new Observable(subscriber => {
|
||||
let state = initialState;
|
||||
if (scheduler) {
|
||||
return scheduler.schedule(dispatch, 0, {
|
||||
subscriber,
|
||||
iterate,
|
||||
condition,
|
||||
resultSelector,
|
||||
state
|
||||
});
|
||||
}
|
||||
do {
|
||||
if (condition) {
|
||||
let conditionResult;
|
||||
try {
|
||||
conditionResult = condition(state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
if (!conditionResult) {
|
||||
subscriber.complete();
|
||||
break;
|
||||
}
|
||||
}
|
||||
let value;
|
||||
try {
|
||||
value = resultSelector(state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
subscriber.next(value);
|
||||
if (subscriber.closed) {
|
||||
break;
|
||||
}
|
||||
try {
|
||||
state = iterate(state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
} while (true);
|
||||
return undefined;
|
||||
});
|
||||
}
|
||||
function dispatch(state) {
|
||||
const { subscriber, condition } = state;
|
||||
if (subscriber.closed) {
|
||||
return undefined;
|
||||
}
|
||||
if (state.needIterate) {
|
||||
try {
|
||||
state.state = state.iterate(state.state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
else {
|
||||
state.needIterate = true;
|
||||
}
|
||||
if (condition) {
|
||||
let conditionResult;
|
||||
try {
|
||||
conditionResult = condition(state.state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
if (!conditionResult) {
|
||||
subscriber.complete();
|
||||
return undefined;
|
||||
}
|
||||
if (subscriber.closed) {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
let value;
|
||||
try {
|
||||
value = state.resultSelector(state.state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
if (subscriber.closed) {
|
||||
return undefined;
|
||||
}
|
||||
subscriber.next(value);
|
||||
if (subscriber.closed) {
|
||||
return undefined;
|
||||
}
|
||||
return this.schedule(state);
|
||||
}
|
||||
//# sourceMappingURL=generate.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/generate.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/generate.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"generate.js","sources":["../../../src/internal/observable/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,QAAQ,E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GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC1C;QAAC,OAAO,GAAG,EAAE;YACZ,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACtB,OAAO,SAAS,CAAC;SAClB;QACD,IAAI,CAAC,eAAe,EAAE;YACpB,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,OAAO,SAAS,CAAC;SAClB;QACD,IAAI,UAAU,CAAC,MAAM,EAAE;YACrB,OAAO,SAAS,CAAC;SAClB;KACF;IACD,IAAI,KAAQ,CAAC;IACb,IAAI;QACF,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC3C;IAAC,OAAO,GAAG,EAAE;QACZ,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACtB,OAAO,SAAS,CAAC;KAClB;IACD,IAAI,UAAU,CAAC,MAAM,EAAE;QACrB,OAAO,SAAS,CAAC;KAClB;IACD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACvB,IAAI,UAAU,CAAC,MAAM,EAAE;QACrB,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC"}
|
6
node_modules/rxjs/_esm2015/internal/observable/iif.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm2015/internal/observable/iif.js
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { defer } from './defer';
|
||||
import { EMPTY } from './empty';
|
||||
export function iif(condition, trueResult = EMPTY, falseResult = EMPTY) {
|
||||
return defer(() => condition() ? trueResult : falseResult);
|
||||
}
|
||||
//# sourceMappingURL=iif.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/iif.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/iif.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"iif.js","sources":["../../../src/internal/observable/iif.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA2FhC,MAAM,UAAU,GAAG,CACjB,SAAwB,EACxB,aAAuC,KAAK,EAC5C,cAAwC,KAAK;IAE7C,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;AAC7D,CAAC"}
|
21
node_modules/rxjs/_esm2015/internal/observable/interval.js
generated
vendored
Normal file
21
node_modules/rxjs/_esm2015/internal/observable/interval.js
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { async } from '../scheduler/async';
|
||||
import { isNumeric } from '../util/isNumeric';
|
||||
export function interval(period = 0, scheduler = async) {
|
||||
if (!isNumeric(period) || period < 0) {
|
||||
period = 0;
|
||||
}
|
||||
if (!scheduler || typeof scheduler.schedule !== 'function') {
|
||||
scheduler = async;
|
||||
}
|
||||
return new Observable(subscriber => {
|
||||
subscriber.add(scheduler.schedule(dispatch, period, { subscriber, counter: 0, period }));
|
||||
return subscriber;
|
||||
});
|
||||
}
|
||||
function dispatch(state) {
|
||||
const { subscriber, counter, period } = state;
|
||||
subscriber.next(counter);
|
||||
this.schedule({ subscriber, counter: counter + 1, period }, period);
|
||||
}
|
||||
//# sourceMappingURL=interval.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/interval.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/interval.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"interval.js","sources":["../../../src/internal/observable/interval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAmD9C,MAAM,UAAU,QAAQ,CAAC,MAAM,GAAG,CAAC,EACV,YAA2B,KAAK;IACvD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,EAAE;QACpC,MAAM,GAAG,CAAC,CAAC;KACZ;IAED,IAAI,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,QAAQ,KAAK,UAAU,EAAE;QAC1D,SAAS,GAAG,KAAK,CAAC;KACnB;IAED,OAAO,IAAI,UAAU,CAAS,UAAU,CAAC,EAAE;QACzC,UAAU,CAAC,GAAG,CACZ,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CACzE,CAAC;QACF,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,QAAQ,CAAuC,KAAoB;IAC1E,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC9C,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzB,IAAI,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC;AACtE,CAAC"}
|
23
node_modules/rxjs/_esm2015/internal/observable/merge.js
generated
vendored
Normal file
23
node_modules/rxjs/_esm2015/internal/observable/merge.js
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
import { mergeAll } from '../operators/mergeAll';
|
||||
import { fromArray } from './fromArray';
|
||||
export function merge(...observables) {
|
||||
let concurrent = Number.POSITIVE_INFINITY;
|
||||
let scheduler = null;
|
||||
let last = observables[observables.length - 1];
|
||||
if (isScheduler(last)) {
|
||||
scheduler = observables.pop();
|
||||
if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {
|
||||
concurrent = observables.pop();
|
||||
}
|
||||
}
|
||||
else if (typeof last === 'number') {
|
||||
concurrent = observables.pop();
|
||||
}
|
||||
if (scheduler === null && observables.length === 1 && observables[0] instanceof Observable) {
|
||||
return observables[0];
|
||||
}
|
||||
return mergeAll(concurrent)(fromArray(observables, scheduler));
|
||||
}
|
||||
//# sourceMappingURL=merge.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/merge.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/merge.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"merge.js","sources":["../../../src/internal/observable/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAqHxC,MAAM,UAAU,KAAK,CAAO,GAAG,WAAiE;IAC/F,IAAI,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAC1C,IAAI,SAAS,GAAkB,IAAI,CAAC;IACnC,IAAI,IAAI,GAAQ,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;QACrB,SAAS,GAAkB,WAAW,CAAC,GAAG,EAAE,CAAC;QAC7C,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE;YACrF,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;SACxC;KACF;SAAM,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QACnC,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;KACxC;IAED,IAAI,SAAS,KAAK,IAAI,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,YAAY,UAAU,EAAE;QAC1F,OAAsB,WAAW,CAAC,CAAC,CAAC,CAAC;KACtC;IAED,OAAO,QAAQ,CAAI,UAAU,CAAC,CAAC,SAAS,CAAM,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;AACzE,CAAC"}
|
7
node_modules/rxjs/_esm2015/internal/observable/never.js
generated
vendored
Normal file
7
node_modules/rxjs/_esm2015/internal/observable/never.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { noop } from '../util/noop';
|
||||
export const NEVER = new Observable(noop);
|
||||
export function never() {
|
||||
return NEVER;
|
||||
}
|
||||
//# sourceMappingURL=never.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/never.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/never.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"never.js","sources":["../../../src/internal/observable/never.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAgCpC,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,UAAU,CAAQ,IAAI,CAAC,CAAC;AAKjD,MAAM,UAAU,KAAK;IACnB,OAAO,KAAK,CAAC;AACf,CAAC"}
|
14
node_modules/rxjs/_esm2015/internal/observable/of.js
generated
vendored
Normal file
14
node_modules/rxjs/_esm2015/internal/observable/of.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { isScheduler } from '../util/isScheduler';
|
||||
import { fromArray } from './fromArray';
|
||||
import { scheduleArray } from '../scheduled/scheduleArray';
|
||||
export function of(...args) {
|
||||
let scheduler = args[args.length - 1];
|
||||
if (isScheduler(scheduler)) {
|
||||
args.pop();
|
||||
return scheduleArray(args, scheduler);
|
||||
}
|
||||
else {
|
||||
return fromArray(args);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=of.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/of.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/of.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"of.js","sources":["../../../src/internal/observable/of.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAiG3D,MAAM,UAAU,EAAE,CAAI,GAAG,IAA8B;IACrD,IAAI,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAkB,CAAC;IACvD,IAAI,WAAW,CAAC,SAAS,CAAC,EAAE;QAC1B,IAAI,CAAC,GAAG,EAAE,CAAC;QACX,OAAO,aAAa,CAAC,IAAW,EAAE,SAAS,CAAC,CAAC;KAC9C;SAAM;QACL,OAAO,SAAS,CAAC,IAAW,CAAC,CAAC;KAC/B;AACH,CAAC"}
|
22
node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js
generated
vendored
Normal file
22
node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { from } from './from';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { EMPTY } from './empty';
|
||||
export function onErrorResumeNext(...sources) {
|
||||
if (sources.length === 0) {
|
||||
return EMPTY;
|
||||
}
|
||||
const [first, ...remainder] = sources;
|
||||
if (sources.length === 1 && isArray(first)) {
|
||||
return onErrorResumeNext(...first);
|
||||
}
|
||||
return new Observable(subscriber => {
|
||||
const subNext = () => subscriber.add(onErrorResumeNext(...remainder).subscribe(subscriber));
|
||||
return from(first).subscribe({
|
||||
next(value) { subscriber.next(value); },
|
||||
error: subNext,
|
||||
complete: subNext,
|
||||
});
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=onErrorResumeNext.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"onErrorResumeNext.js","sources":["../../../src/internal/observable/onErrorResumeNext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAwEhC,MAAM,UAAU,iBAAiB,CAAO,GAAG,OAEkD;IAE3F,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;QACxB,OAAO,KAAK,CAAC;KACd;IAED,MAAM,CAAE,KAAK,EAAE,GAAG,SAAS,CAAE,GAAG,OAAO,CAAC;IAExC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE;QAC1C,OAAO,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC;KACpC;IAED,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,EAAE;QACjC,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,GAAG,CAClC,iBAAiB,CAAC,GAAG,SAAS,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CACtD,CAAC;QAEF,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC;YAC3B,IAAI,CAAC,KAAK,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACvC,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,OAAO;SAClB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"}
|
38
node_modules/rxjs/_esm2015/internal/observable/pairs.js
generated
vendored
Normal file
38
node_modules/rxjs/_esm2015/internal/observable/pairs.js
generated
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { Subscription } from '../Subscription';
|
||||
export function pairs(obj, scheduler) {
|
||||
if (!scheduler) {
|
||||
return new Observable(subscriber => {
|
||||
const keys = Object.keys(obj);
|
||||
for (let i = 0; i < keys.length && !subscriber.closed; i++) {
|
||||
const key = keys[i];
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
subscriber.next([key, obj[key]]);
|
||||
}
|
||||
}
|
||||
subscriber.complete();
|
||||
});
|
||||
}
|
||||
else {
|
||||
return new Observable(subscriber => {
|
||||
const keys = Object.keys(obj);
|
||||
const subscription = new Subscription();
|
||||
subscription.add(scheduler.schedule(dispatch, 0, { keys, index: 0, subscriber, subscription, obj }));
|
||||
return subscription;
|
||||
});
|
||||
}
|
||||
}
|
||||
export function dispatch(state) {
|
||||
const { keys, index, subscriber, subscription, obj } = state;
|
||||
if (!subscriber.closed) {
|
||||
if (index < keys.length) {
|
||||
const key = keys[index];
|
||||
subscriber.next([key, obj[key]]);
|
||||
subscription.add(this.schedule({ keys, index: index + 1, subscriber, subscription, obj }));
|
||||
}
|
||||
else {
|
||||
subscriber.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=pairs.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/pairs.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/pairs.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"pairs.js","sources":["../../../src/internal/observable/pairs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,YAAY,EAAE,MAAM,i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IAAI,CAAC,MAAM,EAAE;YACvB,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;YACxB,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACjC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;SAC5F;aAAM;YACL,UAAU,CAAC,QAAQ,EAAE,CAAC;SACvB;KACF;AACH,CAAC"}
|
11
node_modules/rxjs/_esm2015/internal/observable/partition.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm2015/internal/observable/partition.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { not } from '../util/not';
|
||||
import { subscribeTo } from '../util/subscribeTo';
|
||||
import { filter } from '../operators/filter';
|
||||
import { Observable } from '../Observable';
|
||||
export function partition(source, predicate, thisArg) {
|
||||
return [
|
||||
filter(predicate, thisArg)(new Observable(subscribeTo(source))),
|
||||
filter(not(predicate, thisArg))(new Observable(subscribeTo(source)))
|
||||
];
|
||||
}
|
||||
//# sourceMappingURL=partition.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/partition.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/partition.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"partition.js","sources":["../../../src/internal/observable/partition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAqD3C,MAAM,UAAU,SAAS,CACvB,MAA0B,EAC1B,SAA+C,EAC/C,OAAa;IAEb,OAAO;QACL,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,UAAU,CAAI,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;QAClE,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAQ,CAAC,CAAC,IAAI,UAAU,CAAI,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;KAC7C,CAAC;AACtC,CAAC"}
|
64
node_modules/rxjs/_esm2015/internal/observable/race.js
generated
vendored
Normal file
64
node_modules/rxjs/_esm2015/internal/observable/race.js
generated
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
import { isArray } from '../util/isArray';
|
||||
import { fromArray } from './fromArray';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function race(...observables) {
|
||||
if (observables.length === 1) {
|
||||
if (isArray(observables[0])) {
|
||||
observables = observables[0];
|
||||
}
|
||||
else {
|
||||
return observables[0];
|
||||
}
|
||||
}
|
||||
return fromArray(observables, undefined).lift(new RaceOperator());
|
||||
}
|
||||
export class RaceOperator {
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new RaceSubscriber(subscriber));
|
||||
}
|
||||
}
|
||||
export class RaceSubscriber extends OuterSubscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
this.hasFirst = false;
|
||||
this.observables = [];
|
||||
this.subscriptions = [];
|
||||
}
|
||||
_next(observable) {
|
||||
this.observables.push(observable);
|
||||
}
|
||||
_complete() {
|
||||
const observables = this.observables;
|
||||
const len = observables.length;
|
||||
if (len === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
else {
|
||||
for (let i = 0; i < len && !this.hasFirst; i++) {
|
||||
const observable = observables[i];
|
||||
const subscription = subscribeToResult(this, observable, undefined, i);
|
||||
if (this.subscriptions) {
|
||||
this.subscriptions.push(subscription);
|
||||
}
|
||||
this.add(subscription);
|
||||
}
|
||||
this.observables = null;
|
||||
}
|
||||
}
|
||||
notifyNext(_outerValue, innerValue, outerIndex) {
|
||||
if (!this.hasFirst) {
|
||||
this.hasFirst = true;
|
||||
for (let i = 0; i < this.subscriptions.length; i++) {
|
||||
if (i !== outerIndex) {
|
||||
let subscription = this.subscriptions[i];
|
||||
subscription.unsubscribe();
|
||||
this.remove(subscription);
|
||||
}
|
||||
}
|
||||
this.subscriptions = null;
|
||||
}
|
||||
this.destination.next(innerValue);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=race.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/race.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/race.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"race.js","sources":["../../../src/internal/observable/race.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAoD9D,MAAM,UAAU,IAAI,CAAI,GAAG,WAAmC;IAG5D,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;QAC5B,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;YAC3B,WAAW,GAAG,WAAW,CAAC,CAAC,CAAsB,CAAC;SACnD;aAAM;YACL,OAAO,WAAW,CAAC,CAAC,CAAkB,CAAC;SACxC;KACF;IAED,OAAO,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,YAAY,EAAK,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,OAAO,YAAY;IACvB,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;IAC1D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AC,EAAE,EAAE;gBAClD,IAAI,CAAC,KAAK,UAAU,EAAE;oBACpB,IAAI,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;oBAEzC,YAAY,CAAC,WAAW,EAAE,CAAC;oBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;iBAC3B;aACF;YAED,IAAI,CAAC,aAAa,GAAG,IAAK,CAAC;SAC5B;QAED,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,UAAU,CAAC,CAAC;IACrC,CAAC;CACF"}
|
44
node_modules/rxjs/_esm2015/internal/observable/range.js
generated
vendored
Normal file
44
node_modules/rxjs/_esm2015/internal/observable/range.js
generated
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
import { Observable } from '../Observable';
|
||||
export function range(start = 0, count, scheduler) {
|
||||
return new Observable(subscriber => {
|
||||
if (count === undefined) {
|
||||
count = start;
|
||||
start = 0;
|
||||
}
|
||||
let index = 0;
|
||||
let current = start;
|
||||
if (scheduler) {
|
||||
return scheduler.schedule(dispatch, 0, {
|
||||
index, count, start, subscriber
|
||||
});
|
||||
}
|
||||
else {
|
||||
do {
|
||||
if (index++ >= count) {
|
||||
subscriber.complete();
|
||||
break;
|
||||
}
|
||||
subscriber.next(current++);
|
||||
if (subscriber.closed) {
|
||||
break;
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
return undefined;
|
||||
});
|
||||
}
|
||||
export function dispatch(state) {
|
||||
const { start, index, count, subscriber } = state;
|
||||
if (index >= count) {
|
||||
subscriber.complete();
|
||||
return;
|
||||
}
|
||||
subscriber.next(start);
|
||||
if (subscriber.closed) {
|
||||
return;
|
||||
}
|
||||
state.index = index + 1;
|
||||
state.start = start + 1;
|
||||
this.schedule(state);
|
||||
}
|
||||
//# sourceMappingURL=range.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/range.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/range.js.map
generated
vendored
Normal file
|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G,KAAK,GAAG,CAAC,CAAC;IACxB,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;IAExB,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC"}
|
13
node_modules/rxjs/_esm2015/internal/observable/throwError.js
generated
vendored
Normal file
13
node_modules/rxjs/_esm2015/internal/observable/throwError.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { Observable } from '../Observable';
|
||||
export function throwError(error, scheduler) {
|
||||
if (!scheduler) {
|
||||
return new Observable(subscriber => subscriber.error(error));
|
||||
}
|
||||
else {
|
||||
return new Observable(subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));
|
||||
}
|
||||
}
|
||||
function dispatch({ error, subscriber }) {
|
||||
subscriber.error(error);
|
||||
}
|
||||
//# sourceMappingURL=throwError.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/throwError.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/throwError.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"throwError.js","sources":["../../../src/internal/observable/throwError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAoE3C,MAAM,UAAU,UAAU,CAAC,KAAU,EAAE,SAAyB;IAC9D,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9D;SAAM;QACL,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;KAC7F;AACH,CAAC;AAOD,SAAS,QAAQ,CAAC,EAAE,KAAK,EAAE,UAAU,EAAe;IAClD,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC1B,CAAC"}
|
37
node_modules/rxjs/_esm2015/internal/observable/timer.js
generated
vendored
Normal file
37
node_modules/rxjs/_esm2015/internal/observable/timer.js
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
import { Observable } from '../Observable';
|
||||
import { async } from '../scheduler/async';
|
||||
import { isNumeric } from '../util/isNumeric';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function timer(dueTime = 0, periodOrScheduler, scheduler) {
|
||||
let period = -1;
|
||||
if (isNumeric(periodOrScheduler)) {
|
||||
period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);
|
||||
}
|
||||
else if (isScheduler(periodOrScheduler)) {
|
||||
scheduler = periodOrScheduler;
|
||||
}
|
||||
if (!isScheduler(scheduler)) {
|
||||
scheduler = async;
|
||||
}
|
||||
return new Observable(subscriber => {
|
||||
const due = isNumeric(dueTime)
|
||||
? dueTime
|
||||
: (+dueTime - scheduler.now());
|
||||
return scheduler.schedule(dispatch, due, {
|
||||
index: 0, period, subscriber
|
||||
});
|
||||
});
|
||||
}
|
||||
function dispatch(state) {
|
||||
const { index, period, subscriber } = state;
|
||||
subscriber.next(index);
|
||||
if (subscriber.closed) {
|
||||
return;
|
||||
}
|
||||
else if (period === -1) {
|
||||
return subscriber.complete();
|
||||
}
|
||||
state.index = index + 1;
|
||||
this.schedule(state, period);
|
||||
}
|
||||
//# sourceMappingURL=timer.js.map
|
1
node_modules/rxjs/_esm2015/internal/observable/timer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/observable/timer.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"timer.js","sources":["../../../src/internal/observable/timer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC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AAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAC/B,CAAC"}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue