new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/observable/pairs"));
|
||||
//# sourceMappingURL=pairs.js.map
|
||||
@@ -0,0 +1,115 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
}
|
||||
return function (d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var isScheduler_1 = require("../util/isScheduler");
|
||||
var isArray_1 = require("../util/isArray");
|
||||
var OuterSubscriber_1 = require("../OuterSubscriber");
|
||||
var subscribeToResult_1 = require("../util/subscribeToResult");
|
||||
var fromArray_1 = require("./fromArray");
|
||||
var NONE = {};
|
||||
function combineLatest() {
|
||||
var observables = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
observables[_i] = arguments[_i];
|
||||
}
|
||||
var resultSelector = undefined;
|
||||
var scheduler = undefined;
|
||||
if (isScheduler_1.isScheduler(observables[observables.length - 1])) {
|
||||
scheduler = observables.pop();
|
||||
}
|
||||
if (typeof observables[observables.length - 1] === 'function') {
|
||||
resultSelector = observables.pop();
|
||||
}
|
||||
if (observables.length === 1 && isArray_1.isArray(observables[0])) {
|
||||
observables = observables[0];
|
||||
}
|
||||
return fromArray_1.fromArray(observables, scheduler).lift(new CombineLatestOperator(resultSelector));
|
||||
}
|
||||
exports.combineLatest = combineLatest;
|
||||
var CombineLatestOperator = (function () {
|
||||
function CombineLatestOperator(resultSelector) {
|
||||
this.resultSelector = resultSelector;
|
||||
}
|
||||
CombineLatestOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));
|
||||
};
|
||||
return CombineLatestOperator;
|
||||
}());
|
||||
exports.CombineLatestOperator = CombineLatestOperator;
|
||||
var CombineLatestSubscriber = (function (_super) {
|
||||
__extends(CombineLatestSubscriber, _super);
|
||||
function CombineLatestSubscriber(destination, resultSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.resultSelector = resultSelector;
|
||||
_this.active = 0;
|
||||
_this.values = [];
|
||||
_this.observables = [];
|
||||
return _this;
|
||||
}
|
||||
CombineLatestSubscriber.prototype._next = function (observable) {
|
||||
this.values.push(NONE);
|
||||
this.observables.push(observable);
|
||||
};
|
||||
CombineLatestSubscriber.prototype._complete = function () {
|
||||
var observables = this.observables;
|
||||
var len = observables.length;
|
||||
if (len === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
else {
|
||||
this.active = len;
|
||||
this.toRespond = len;
|
||||
for (var i = 0; i < len; i++) {
|
||||
var observable = observables[i];
|
||||
this.add(subscribeToResult_1.subscribeToResult(this, observable, undefined, i));
|
||||
}
|
||||
}
|
||||
};
|
||||
CombineLatestSubscriber.prototype.notifyComplete = function (unused) {
|
||||
if ((this.active -= 1) === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
CombineLatestSubscriber.prototype.notifyNext = function (_outerValue, innerValue, outerIndex) {
|
||||
var values = this.values;
|
||||
var oldVal = values[outerIndex];
|
||||
var 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());
|
||||
}
|
||||
}
|
||||
};
|
||||
CombineLatestSubscriber.prototype._tryResultSelector = function (values) {
|
||||
var result;
|
||||
try {
|
||||
result = this.resultSelector.apply(this, values);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.destination.next(result);
|
||||
};
|
||||
return CombineLatestSubscriber;
|
||||
}(OuterSubscriber_1.OuterSubscriber));
|
||||
exports.CombineLatestSubscriber = CombineLatestSubscriber;
|
||||
//# sourceMappingURL=combineLatest.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"distinct.js","sources":["../../src/add/operator/distinct.ts"],"names":[],"mappings":";;AAAA,6CAA2C"}
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/operators/delayWhen';
|
||||
@@ -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
|
||||
@@ -0,0 +1,53 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber,_observable_empty PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { empty } from '../observable/empty';
|
||||
export function repeat(count) {
|
||||
if (count === void 0) {
|
||||
count = -1;
|
||||
}
|
||||
return function (source) {
|
||||
if (count === 0) {
|
||||
return empty();
|
||||
}
|
||||
else if (count < 0) {
|
||||
return source.lift(new RepeatOperator(-1, source));
|
||||
}
|
||||
else {
|
||||
return source.lift(new RepeatOperator(count - 1, source));
|
||||
}
|
||||
};
|
||||
}
|
||||
var RepeatOperator = /*@__PURE__*/ (function () {
|
||||
function RepeatOperator(count, source) {
|
||||
this.count = count;
|
||||
this.source = source;
|
||||
}
|
||||
RepeatOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));
|
||||
};
|
||||
return RepeatOperator;
|
||||
}());
|
||||
var RepeatSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(RepeatSubscriber, _super);
|
||||
function RepeatSubscriber(destination, count, source) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.count = count;
|
||||
_this.source = source;
|
||||
return _this;
|
||||
}
|
||||
RepeatSubscriber.prototype.complete = function () {
|
||||
if (!this.isStopped) {
|
||||
var _a = this, source = _a.source, count = _a.count;
|
||||
if (count === 0) {
|
||||
return _super.prototype.complete.call(this);
|
||||
}
|
||||
else if (count > -1) {
|
||||
this.count = count - 1;
|
||||
}
|
||||
source.subscribe(this._unsubscribeAndRecycle());
|
||||
}
|
||||
};
|
||||
return RepeatSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=repeat.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"map.js","sources":["../../../src/internal/operators/map.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA2C3C,MAAM,UAAU,GAAG,CAAO,OAAuC,EAAE,OAAa;IAC9E,OAAO,SAAS,YAAY,CAAC,MAAqB;QAChD,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE;YACjC,MAAM,IAAI,SAAS,CAAC,4DAA4D,CAAC,CAAC;SACnF;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,OAAO,WAAW;IACtB,YAAoB,OAAuC,EAAU,OAAY;QAA7D,YAAO,GAAP,OAAO,CAAgC;QAAU,YAAO,GAAP,OAAO,CAAK;IACjF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACrF,CAAC;CACF;AAOD,MAAM,aAAoB,SAAQ,UAAa;IAI7C,YAAY,WAA0B,EAClB,OAAuC,EAC/C,OAAY;QACtB,KAAK,CAAC,WAAW,CAAC,CAAC;QAFD,YAAO,GAAP,OAAO,CAAgC;QAJ3D,UAAK,GAAW,CAAC,CAAC;QAOhB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;IACjC,CAAC;IAIS,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAS,CAAC;QACd,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;SAC/D;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO;SACR;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;CACF"}
|
||||
@@ -0,0 +1,45 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function map(project, thisArg) {
|
||||
return function mapOperation(source) {
|
||||
if (typeof project !== 'function') {
|
||||
throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');
|
||||
}
|
||||
return source.lift(new MapOperator(project, thisArg));
|
||||
};
|
||||
}
|
||||
var MapOperator = /*@__PURE__*/ (function () {
|
||||
function MapOperator(project, thisArg) {
|
||||
this.project = project;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
MapOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));
|
||||
};
|
||||
return MapOperator;
|
||||
}());
|
||||
export { MapOperator };
|
||||
var MapSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(MapSubscriber, _super);
|
||||
function MapSubscriber(destination, project, thisArg) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.project = project;
|
||||
_this.count = 0;
|
||||
_this.thisArg = thisArg || _this;
|
||||
return _this;
|
||||
}
|
||||
MapSubscriber.prototype._next = function (value) {
|
||||
var result;
|
||||
try {
|
||||
result = this.project.call(this.thisArg, value, this.count++);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.destination.next(result);
|
||||
};
|
||||
return MapSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=map.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.21623,"39":0,"40":0,"41":0,"42":0,"43":0.22584,"44":0.93698,"45":0.21623,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00481,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00481,"69":0,"70":0,"71":0,"72":0,"73":0.02403,"74":0,"75":0,"76":0,"77":0,"78":0.00961,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0.08649,"98":0.00481,"99":0,"100":0,"101":0,"102":0.00481,"103":0.00481,"104":0.05286,"105":0.00481,"106":0.00961,"107":0.01922,"108":0.53816,"109":0.29791,"110":0.00481,"111":0.00481,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.24025,"48":2.61392,"49":0.5718,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.01442,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0.00481,"77":0,"78":0,"79":0.01922,"80":0,"81":0.00481,"83":0,"84":0.00961,"85":0,"86":0,"87":0.03364,"88":0.00481,"89":0.00481,"90":0,"91":0.00481,"92":0.00481,"93":0.00481,"94":0.00481,"95":0.00481,"96":0.00481,"97":0.00481,"98":0.00481,"99":0.00481,"100":0.00961,"101":0.00481,"102":0.01442,"103":0.11532,"104":0.01922,"105":0.02883,"106":0.02883,"107":0.10091,"108":3.96893,"109":4.02659,"110":0.00481,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00481,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.25947,"94":0.20662,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0.07208,"13":0.07208,"14":0,"15":0,"16":0,"17":0.00481,"18":0.00481,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0.00481,"92":0.00481,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0.00481,"105":0.01442,"106":0.02403,"107":0.07208,"108":1.50397,"109":1.46072},E:{"4":0,"5":0,"6":0,"7":0,"8":0.07688,"9":0.36038,"10":0,"11":0,"12":0,"13":0.00961,"14":0.06247,"15":0.01922,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00961,"13.1":0.0913,"14.1":0.14415,"15.1":0.07688,"15.2-15.3":0.02403,"15.4":0.06727,"15.5":0.14415,"15.6":0.82646,"16.0":0.08649,"16.1":0.37479,"16.2":0.64868,"16.3":0.04805},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0.15756,"9.3":0.04684,"10.0-10.2":0,"10.3":0.02981,"11.0-11.2":0.01703,"11.3-11.4":0.01703,"12.0-12.1":0.01278,"12.2-12.5":0.25977,"13.0-13.1":0.00852,"13.2":0.00852,"13.3":0.02981,"13.4-13.7":0.07239,"14.0-14.4":0.30661,"14.5-14.8":1.02204,"15.0-15.1":0.32364,"15.2-15.3":0.48121,"15.4":0.51954,"15.5":1.25199,"15.6":5.56584,"16.0":6.33237,"16.1":14.48737,"16.2":9.64547,"16.3":0.7282},P:{"4":0.20819,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03123,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.03123,"12.0":0,"13.0":0.03123,"14.0":0.05205,"15.0":0.01041,"16.0":0.05205,"17.0":0.03123,"18.0":0.11451,"19.0":2.18603},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.04921,"4.4":0,"4.4.3-4.4.4":0.22143},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.15376,"10":0,"11":0.33155,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},S:{"2.5":0},R:{_:"0"},M:{"0":0.4208},Q:{"13.1":0},O:{"0":0.0052},H:{"0":0.1082},L:{"0":31.27247}};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"rxSubscriber.js","sources":["../src/symbol/rxSubscriber.ts"],"names":[],"mappings":";;;;;AAAA,qDAAgD"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","2":"C K L H M N O"},C:{"1":"bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB DC EC","322":"YB","578":"uB ZB vB aB"},D:{"1":"TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"1":"A B C K L H 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E F G GC zB HC IC JC KC"},F:{"1":"GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"0 1 2 3 4 5 6 7 8 9 G B C H M N O v w x y z AB BB CB DB EB FB OC PC QC RC qB 9B SC rB"},G:{"1":"cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"F zB TC AC UC VC WC XC YC ZC","132":"aC bC"},H:{"2":"nC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"2":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","2":"I","4":"vC"},Q:{"1":"1B"},R:{"1":"8C"},S:{"2":"9C"}},B:5,C:"Shadow DOM (V1)"};
|
||||
@@ -0,0 +1,5 @@
|
||||
module.exports = function (scope, npmrc) {
|
||||
var rc = npmrc || require('rc')('npm', { registry: 'https://registry.npmjs.org/' })
|
||||
var url = rc[scope + ':registry'] || rc.registry
|
||||
return url.slice(-1) === '/' ? url : url + '/'
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { Observable } from '../Observable';
|
||||
import { Scheduler } from '../Scheduler';
|
||||
import { TestMessage } from './TestMessage';
|
||||
import { SubscriptionLog } from './SubscriptionLog';
|
||||
import { SubscriptionLoggable } from './SubscriptionLoggable';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
export declare class ColdObservable<T> extends Observable<T> implements SubscriptionLoggable {
|
||||
messages: TestMessage[];
|
||||
subscriptions: SubscriptionLog[];
|
||||
scheduler: Scheduler;
|
||||
logSubscribedFrame: () => number;
|
||||
logUnsubscribedFrame: (index: number) => void;
|
||||
constructor(messages: TestMessage[], scheduler: Scheduler);
|
||||
scheduleMessages(subscriber: Subscriber<any>): void;
|
||||
}
|
||||
@@ -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,CAAC;CACF;AAOD,MAAM,OAAO,cAAkB,SAAQ,eAAqB;IAK1D,YAAY,WAA0B;QACpC,KAAK,CAAC,WAAW,CAAC,CAAC;QALb,aAAQ,GAAY,KAAK,CAAC;QAC1B,gBAAW,GAAsB,EAAE,CAAC;QACpC,kBAAa,GAAmB,EAAE,CAAC;IAI3C,CAAC;IAES,KAAK,CAAC,UAAe;QAC7B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,MAAM,GAAG,GAAG,WAAW,CAAC,MAAM,CAAC;QAE/B,IAAI,GAAG,KAAK,CAAC,EAAE;YACb,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;aAAM;YACL,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE;gBAC9C,MAAM,UAAU,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;gBAClC,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAE,CAAC;gBAExE,IAAI,IAAI,CAAC,aAAa,EAAE;oBACtB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;iBACvC;gBACD,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;aACxB;YACD,IAAI,CAAC,WAAW,GAAG,IAAK,CAAC;SAC1B;IACH,CAAC;IAED,UAAU,CAAC,WAAc,EAAE,UAAa,EAC7B,UAAkB;QAC3B,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;YAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,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"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"subscribeTo.js","sources":["../src/util/subscribeTo.ts"],"names":[],"mappings":";;;;;AAAA,kDAA6C"}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/observable/of"));
|
||||
//# sourceMappingURL=of.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"shareReplay.js","sources":["../../src/internal/operators/shareReplay.ts"],"names":[],"mappings":";;AACA,kDAAiD;AAiEjD,SAAgB,WAAW,CACzB,kBAA+C,EAC/C,UAAmB,EACnB,SAAyB;IAEzB,IAAI,MAAyB,CAAC;IAC9B,IAAI,kBAAkB,IAAI,OAAO,kBAAkB,KAAK,QAAQ,EAAE;QAChE,MAAM,GAAG,kBAAuC,CAAC;KAClD;SAAM;QACL,MAAM,GAAG;YACP,UAAU,EAAE,kBAAwC;YACpD,UAAU,YAAA;YACV,QAAQ,EAAE,KAAK;YACf,SAAS,WAAA;SACV,CAAC;KACH;IACD,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,EAAxC,CAAwC,CAAC;AAC7E,CAAC;AAjBD,kCAiBC;AAED,SAAS,mBAAmB,CAAI,EAKZ;QAJlB,kBAAqC,EAArC,0DAAqC,EACrC,kBAAqC,EAArC,0DAAqC,EACrC,yBAAqB,EACrB,wBAAS;IAET,IAAI,OAAqC,CAAC;IAC1C,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,IAAI,YAAsC,CAAC;IAC3C,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,UAAU,GAAG,KAAK,CAAC;IAEvB,OAAO,SAAS,oBAAoB,CAElC,MAAqB;QAErB,QAAQ,EAAE,CAAC;QACX,IAAI,QAAsB,CAAC;QAC3B,IAAI,CAAC,OAAO,IAAI,QAAQ,EAAE;YACxB,QAAQ,GAAG,KAAK,CAAC;YACjB,OAAO,GAAG,IAAI,6BAAa,CAAI,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;YAClE,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACnC,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC;gBAC9B,IAAI,YAAC,KAAK;oBACR,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACtB,CAAC;gBACD,KAAK,YAAC,GAAG;oBACP,QAAQ,GAAG,IAAI,CAAC;oBAChB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrB,CAAC;gBACD,QAAQ;oBACN,UAAU,GAAG,IAAI,CAAC;oBAClB,YAAY,GAAG,SAAS,CAAC;oBACzB,OAAO,CAAC,QAAQ,EAAE,CAAC;gBACrB,CAAC;aACF,CAAC,CAAC;YAMH,IAAI,UAAU,EAAE;gBACd,YAAY,GAAG,SAAS,CAAC;aAC1B;SACF;aAAM;YACL,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;SACpC;QAED,IAAI,CAAC,GAAG,CAAC;YACP,QAAQ,EAAE,CAAC;YACX,QAAQ,CAAC,WAAW,EAAE,CAAC;YACvB,QAAQ,GAAG,SAAS,CAAC;YACrB,IAAI,YAAY,IAAI,CAAC,UAAU,IAAI,WAAW,IAAI,QAAQ,KAAK,CAAC,EAAE;gBAChE,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,YAAY,GAAG,SAAS,CAAC;gBACzB,OAAO,GAAG,SAAS,CAAC;aACrB;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"commander","version":"2.14.1","files":{"LICENSE":{"checkedAt":1678887829183,"integrity":"sha512-SDdrYzWbAHFUv6ezmT7KCw4dXk0rQ182bnDDY6OEHwa5HAn++psEhHqcpE43xVNcgYoCvGZWWiTsFe+cYQOYZw==","mode":420,"size":1098},"package.json":{"checkedAt":1678887830457,"integrity":"sha512-gdO2c/9tmFGeI5YtjM2mdQGj2QFRMN1udJnfPynPxXeJ5h1Du4HUqT4696zJRGD9A9QnIiCEQrY9PqJUq5tx3Q==","mode":420,"size":861},"CHANGELOG.md":{"checkedAt":1678887830457,"integrity":"sha512-ISTtRsbdxBNKoXCFcWQiCMoX5lOMFqa1CE4Lq5ktco5w9M30q9/jJMTDu9NnUM06apNzLagNI3a/JiNXYPPPZA==","mode":420,"size":9443},"index.js":{"checkedAt":1678887830466,"integrity":"sha512-qOUZXbu/fNQR3Z3lNFfBKUotv4dydEUw2QociDEfQspLAOvjFnutl2xCLZ6GV8PLATN0CEz6fQXVjKDAXQW83w==","mode":420,"size":26358},"Readme.md":{"checkedAt":1678887830478,"integrity":"sha512-sDpvnP7t9qf9C/5FS9fULEEYFAFfrbxjOWnxud7DTY9MjRi7FQjQcfqXWTwKBDfdIkLv6oq6x4iiM8Tz/n2ZtA==","mode":420,"size":11849},"typings/index.d.ts":{"checkedAt":1678887830478,"integrity":"sha512-ne3flg2AE5Db8YLZaAd5Pudw93823MrbzjqD1ypImjB+6tr6WRr4vvKL9S3Ocbm6De5C76h+nIgIX7YYbU8OFg==","mode":420,"size":8406}}}
|
||||
@@ -0,0 +1,125 @@
|
||||
/** PURE_IMPORTS_START _Observable,_util_identity,_util_isScheduler PURE_IMPORTS_END */
|
||||
import { Observable } from '../Observable';
|
||||
import { identity } from '../util/identity';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function generate(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) {
|
||||
var resultSelector;
|
||||
var initialState;
|
||||
if (arguments.length == 1) {
|
||||
var 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(function (subscriber) {
|
||||
var state = initialState;
|
||||
if (scheduler) {
|
||||
return scheduler.schedule(dispatch, 0, {
|
||||
subscriber: subscriber,
|
||||
iterate: iterate,
|
||||
condition: condition,
|
||||
resultSelector: resultSelector,
|
||||
state: state
|
||||
});
|
||||
}
|
||||
do {
|
||||
if (condition) {
|
||||
var conditionResult = void 0;
|
||||
try {
|
||||
conditionResult = condition(state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
if (!conditionResult) {
|
||||
subscriber.complete();
|
||||
break;
|
||||
}
|
||||
}
|
||||
var value = void 0;
|
||||
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) {
|
||||
var subscriber = state.subscriber, condition = state.condition;
|
||||
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) {
|
||||
var conditionResult = void 0;
|
||||
try {
|
||||
conditionResult = condition(state.state);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
if (!conditionResult) {
|
||||
subscriber.complete();
|
||||
return undefined;
|
||||
}
|
||||
if (subscriber.closed) {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
var 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
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"B","16":"BC","132":"J E F G A"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","132":"0 1 2 3 4 CC tB I u J E F G A B C K L H M N O v w x y z DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","132":"I u J E F G A B C K L H M N O v w x y z"},E:{"1":"A B C K L H 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","132":"I u J E F G GC zB HC IC JC KC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","16":"G B C OC PC QC RC qB 9B SC","132":"rB"},G:{"1":"aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","132":"F zB TC AC UC VC WC XC YC ZC"},H:{"132":"nC"},I:{"1":"D sC tC","132":"tB I oC pC qC rC AC"},J:{"132":"E A"},K:{"1":"e","16":"A B C qB 9B","132":"rB"},L:{"1":"D"},M:{"1":"D"},N:{"1":"B","132":"A"},O:{"1":"uC"},P:{"1":"vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","132":"I"},Q:{"1":"1B"},R:{"1":"8C"},S:{"4":"9C"}},B:6,C:"localeCompare()"};
|
||||
@@ -0,0 +1,5 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
export function identity(x) {
|
||||
return x;
|
||||
}
|
||||
//# sourceMappingURL=identity.js.map
|
||||
@@ -0,0 +1,14 @@
|
||||
Copyright (C) 2014-present SheetJS
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import { Loader, LoaderSync, Options, OptionsSync } from './index';
|
||||
export declare type Config = any;
|
||||
export declare type CosmiconfigResult = {
|
||||
config: Config;
|
||||
filepath: string;
|
||||
isEmpty?: boolean;
|
||||
} | null;
|
||||
export interface ExplorerOptions extends Required<Options> {
|
||||
}
|
||||
export interface ExplorerOptionsSync extends Required<OptionsSync> {
|
||||
}
|
||||
export declare type Cache = Map<string, CosmiconfigResult>;
|
||||
export declare type LoadedFileContent = Config | null | undefined;
|
||||
export interface Loaders {
|
||||
[key: string]: Loader;
|
||||
}
|
||||
export interface LoadersSync {
|
||||
[key: string]: LoaderSync;
|
||||
}
|
||||
//# sourceMappingURL=types.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00635,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.00635,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08883,"69":0,"70":0,"71":0,"72":0.00635,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.02538,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0.00635,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0.00635,"99":0,"100":0,"101":0,"102":0.01269,"103":0,"104":0,"105":0.15863,"106":0.2538,"107":0.24746,"108":0.69161,"109":0.27284,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.03173,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0.00635,"78":0.00635,"79":0.00635,"80":0,"81":0.00635,"83":0,"84":0,"85":0,"86":0.00635,"87":0.01269,"88":0.00635,"89":0,"90":0,"91":0.00635,"92":0,"93":0,"94":0,"95":0,"96":0.00635,"97":0,"98":0.01269,"99":0.00635,"100":0.00635,"101":0.09518,"102":0.00635,"103":0.35532,"104":0.17132,"105":0.01904,"106":0.02538,"107":0.16497,"108":21.33189,"109":7.57593,"110":0.00635,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00635,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.17132,"94":0.17132,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0.07614,"108":1.76391,"109":2.0304},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.10152,"14":0.07614,"15":0.01904,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.03807,"13.1":0.04442,"14.1":0.23477,"15.1":0.34263,"15.2-15.3":0.07614,"15.4":0.04442,"15.5":0.17132,"15.6":0.99617,"16.0":0.0698,"16.1":0.2538,"16.2":0.54567,"16.3":0.03807},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.10909,"10.0-10.2":0.00606,"10.3":0.11818,"11.0-11.2":0.01212,"11.3-11.4":0.01212,"12.0-12.1":0.02424,"12.2-12.5":0.53939,"13.0-13.1":0.00606,"13.2":0,"13.3":0.00909,"13.4-13.7":0.04848,"14.0-14.4":0.23333,"14.5-14.8":0.65151,"15.0-15.1":0.07273,"15.2-15.3":0.27575,"15.4":0.7212,"15.5":0.77272,"15.6":4.00904,"16.0":5.37266,"16.1":10.47259,"16.2":5.69993,"16.3":0.28788},P:{"4":0.05144,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0,"13.0":0,"14.0":0.01029,"15.0":0,"16.0":0.01029,"17.0":0.02057,"18.0":0.06172,"19.0":2.67466},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.19421},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01904,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.32895},Q:{"13.1":0},O:{"0":0.01462},H:{"0":0.36679},L:{"0":25.45722},S:{"2.5":0}};
|
||||
@@ -0,0 +1,210 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var audit_1 = require("../internal/operators/audit");
|
||||
exports.audit = audit_1.audit;
|
||||
var auditTime_1 = require("../internal/operators/auditTime");
|
||||
exports.auditTime = auditTime_1.auditTime;
|
||||
var buffer_1 = require("../internal/operators/buffer");
|
||||
exports.buffer = buffer_1.buffer;
|
||||
var bufferCount_1 = require("../internal/operators/bufferCount");
|
||||
exports.bufferCount = bufferCount_1.bufferCount;
|
||||
var bufferTime_1 = require("../internal/operators/bufferTime");
|
||||
exports.bufferTime = bufferTime_1.bufferTime;
|
||||
var bufferToggle_1 = require("../internal/operators/bufferToggle");
|
||||
exports.bufferToggle = bufferToggle_1.bufferToggle;
|
||||
var bufferWhen_1 = require("../internal/operators/bufferWhen");
|
||||
exports.bufferWhen = bufferWhen_1.bufferWhen;
|
||||
var catchError_1 = require("../internal/operators/catchError");
|
||||
exports.catchError = catchError_1.catchError;
|
||||
var combineAll_1 = require("../internal/operators/combineAll");
|
||||
exports.combineAll = combineAll_1.combineAll;
|
||||
var combineLatest_1 = require("../internal/operators/combineLatest");
|
||||
exports.combineLatest = combineLatest_1.combineLatest;
|
||||
var concat_1 = require("../internal/operators/concat");
|
||||
exports.concat = concat_1.concat;
|
||||
var concatAll_1 = require("../internal/operators/concatAll");
|
||||
exports.concatAll = concatAll_1.concatAll;
|
||||
var concatMap_1 = require("../internal/operators/concatMap");
|
||||
exports.concatMap = concatMap_1.concatMap;
|
||||
var concatMapTo_1 = require("../internal/operators/concatMapTo");
|
||||
exports.concatMapTo = concatMapTo_1.concatMapTo;
|
||||
var count_1 = require("../internal/operators/count");
|
||||
exports.count = count_1.count;
|
||||
var debounce_1 = require("../internal/operators/debounce");
|
||||
exports.debounce = debounce_1.debounce;
|
||||
var debounceTime_1 = require("../internal/operators/debounceTime");
|
||||
exports.debounceTime = debounceTime_1.debounceTime;
|
||||
var defaultIfEmpty_1 = require("../internal/operators/defaultIfEmpty");
|
||||
exports.defaultIfEmpty = defaultIfEmpty_1.defaultIfEmpty;
|
||||
var delay_1 = require("../internal/operators/delay");
|
||||
exports.delay = delay_1.delay;
|
||||
var delayWhen_1 = require("../internal/operators/delayWhen");
|
||||
exports.delayWhen = delayWhen_1.delayWhen;
|
||||
var dematerialize_1 = require("../internal/operators/dematerialize");
|
||||
exports.dematerialize = dematerialize_1.dematerialize;
|
||||
var distinct_1 = require("../internal/operators/distinct");
|
||||
exports.distinct = distinct_1.distinct;
|
||||
var distinctUntilChanged_1 = require("../internal/operators/distinctUntilChanged");
|
||||
exports.distinctUntilChanged = distinctUntilChanged_1.distinctUntilChanged;
|
||||
var distinctUntilKeyChanged_1 = require("../internal/operators/distinctUntilKeyChanged");
|
||||
exports.distinctUntilKeyChanged = distinctUntilKeyChanged_1.distinctUntilKeyChanged;
|
||||
var elementAt_1 = require("../internal/operators/elementAt");
|
||||
exports.elementAt = elementAt_1.elementAt;
|
||||
var endWith_1 = require("../internal/operators/endWith");
|
||||
exports.endWith = endWith_1.endWith;
|
||||
var every_1 = require("../internal/operators/every");
|
||||
exports.every = every_1.every;
|
||||
var exhaust_1 = require("../internal/operators/exhaust");
|
||||
exports.exhaust = exhaust_1.exhaust;
|
||||
var exhaustMap_1 = require("../internal/operators/exhaustMap");
|
||||
exports.exhaustMap = exhaustMap_1.exhaustMap;
|
||||
var expand_1 = require("../internal/operators/expand");
|
||||
exports.expand = expand_1.expand;
|
||||
var filter_1 = require("../internal/operators/filter");
|
||||
exports.filter = filter_1.filter;
|
||||
var finalize_1 = require("../internal/operators/finalize");
|
||||
exports.finalize = finalize_1.finalize;
|
||||
var find_1 = require("../internal/operators/find");
|
||||
exports.find = find_1.find;
|
||||
var findIndex_1 = require("../internal/operators/findIndex");
|
||||
exports.findIndex = findIndex_1.findIndex;
|
||||
var first_1 = require("../internal/operators/first");
|
||||
exports.first = first_1.first;
|
||||
var groupBy_1 = require("../internal/operators/groupBy");
|
||||
exports.groupBy = groupBy_1.groupBy;
|
||||
var ignoreElements_1 = require("../internal/operators/ignoreElements");
|
||||
exports.ignoreElements = ignoreElements_1.ignoreElements;
|
||||
var isEmpty_1 = require("../internal/operators/isEmpty");
|
||||
exports.isEmpty = isEmpty_1.isEmpty;
|
||||
var last_1 = require("../internal/operators/last");
|
||||
exports.last = last_1.last;
|
||||
var map_1 = require("../internal/operators/map");
|
||||
exports.map = map_1.map;
|
||||
var mapTo_1 = require("../internal/operators/mapTo");
|
||||
exports.mapTo = mapTo_1.mapTo;
|
||||
var materialize_1 = require("../internal/operators/materialize");
|
||||
exports.materialize = materialize_1.materialize;
|
||||
var max_1 = require("../internal/operators/max");
|
||||
exports.max = max_1.max;
|
||||
var merge_1 = require("../internal/operators/merge");
|
||||
exports.merge = merge_1.merge;
|
||||
var mergeAll_1 = require("../internal/operators/mergeAll");
|
||||
exports.mergeAll = mergeAll_1.mergeAll;
|
||||
var mergeMap_1 = require("../internal/operators/mergeMap");
|
||||
exports.mergeMap = mergeMap_1.mergeMap;
|
||||
exports.flatMap = mergeMap_1.flatMap;
|
||||
var mergeMapTo_1 = require("../internal/operators/mergeMapTo");
|
||||
exports.mergeMapTo = mergeMapTo_1.mergeMapTo;
|
||||
var mergeScan_1 = require("../internal/operators/mergeScan");
|
||||
exports.mergeScan = mergeScan_1.mergeScan;
|
||||
var min_1 = require("../internal/operators/min");
|
||||
exports.min = min_1.min;
|
||||
var multicast_1 = require("../internal/operators/multicast");
|
||||
exports.multicast = multicast_1.multicast;
|
||||
var observeOn_1 = require("../internal/operators/observeOn");
|
||||
exports.observeOn = observeOn_1.observeOn;
|
||||
var onErrorResumeNext_1 = require("../internal/operators/onErrorResumeNext");
|
||||
exports.onErrorResumeNext = onErrorResumeNext_1.onErrorResumeNext;
|
||||
var pairwise_1 = require("../internal/operators/pairwise");
|
||||
exports.pairwise = pairwise_1.pairwise;
|
||||
var partition_1 = require("../internal/operators/partition");
|
||||
exports.partition = partition_1.partition;
|
||||
var pluck_1 = require("../internal/operators/pluck");
|
||||
exports.pluck = pluck_1.pluck;
|
||||
var publish_1 = require("../internal/operators/publish");
|
||||
exports.publish = publish_1.publish;
|
||||
var publishBehavior_1 = require("../internal/operators/publishBehavior");
|
||||
exports.publishBehavior = publishBehavior_1.publishBehavior;
|
||||
var publishLast_1 = require("../internal/operators/publishLast");
|
||||
exports.publishLast = publishLast_1.publishLast;
|
||||
var publishReplay_1 = require("../internal/operators/publishReplay");
|
||||
exports.publishReplay = publishReplay_1.publishReplay;
|
||||
var race_1 = require("../internal/operators/race");
|
||||
exports.race = race_1.race;
|
||||
var reduce_1 = require("../internal/operators/reduce");
|
||||
exports.reduce = reduce_1.reduce;
|
||||
var repeat_1 = require("../internal/operators/repeat");
|
||||
exports.repeat = repeat_1.repeat;
|
||||
var repeatWhen_1 = require("../internal/operators/repeatWhen");
|
||||
exports.repeatWhen = repeatWhen_1.repeatWhen;
|
||||
var retry_1 = require("../internal/operators/retry");
|
||||
exports.retry = retry_1.retry;
|
||||
var retryWhen_1 = require("../internal/operators/retryWhen");
|
||||
exports.retryWhen = retryWhen_1.retryWhen;
|
||||
var refCount_1 = require("../internal/operators/refCount");
|
||||
exports.refCount = refCount_1.refCount;
|
||||
var sample_1 = require("../internal/operators/sample");
|
||||
exports.sample = sample_1.sample;
|
||||
var sampleTime_1 = require("../internal/operators/sampleTime");
|
||||
exports.sampleTime = sampleTime_1.sampleTime;
|
||||
var scan_1 = require("../internal/operators/scan");
|
||||
exports.scan = scan_1.scan;
|
||||
var sequenceEqual_1 = require("../internal/operators/sequenceEqual");
|
||||
exports.sequenceEqual = sequenceEqual_1.sequenceEqual;
|
||||
var share_1 = require("../internal/operators/share");
|
||||
exports.share = share_1.share;
|
||||
var shareReplay_1 = require("../internal/operators/shareReplay");
|
||||
exports.shareReplay = shareReplay_1.shareReplay;
|
||||
var single_1 = require("../internal/operators/single");
|
||||
exports.single = single_1.single;
|
||||
var skip_1 = require("../internal/operators/skip");
|
||||
exports.skip = skip_1.skip;
|
||||
var skipLast_1 = require("../internal/operators/skipLast");
|
||||
exports.skipLast = skipLast_1.skipLast;
|
||||
var skipUntil_1 = require("../internal/operators/skipUntil");
|
||||
exports.skipUntil = skipUntil_1.skipUntil;
|
||||
var skipWhile_1 = require("../internal/operators/skipWhile");
|
||||
exports.skipWhile = skipWhile_1.skipWhile;
|
||||
var startWith_1 = require("../internal/operators/startWith");
|
||||
exports.startWith = startWith_1.startWith;
|
||||
var subscribeOn_1 = require("../internal/operators/subscribeOn");
|
||||
exports.subscribeOn = subscribeOn_1.subscribeOn;
|
||||
var switchAll_1 = require("../internal/operators/switchAll");
|
||||
exports.switchAll = switchAll_1.switchAll;
|
||||
var switchMap_1 = require("../internal/operators/switchMap");
|
||||
exports.switchMap = switchMap_1.switchMap;
|
||||
var switchMapTo_1 = require("../internal/operators/switchMapTo");
|
||||
exports.switchMapTo = switchMapTo_1.switchMapTo;
|
||||
var take_1 = require("../internal/operators/take");
|
||||
exports.take = take_1.take;
|
||||
var takeLast_1 = require("../internal/operators/takeLast");
|
||||
exports.takeLast = takeLast_1.takeLast;
|
||||
var takeUntil_1 = require("../internal/operators/takeUntil");
|
||||
exports.takeUntil = takeUntil_1.takeUntil;
|
||||
var takeWhile_1 = require("../internal/operators/takeWhile");
|
||||
exports.takeWhile = takeWhile_1.takeWhile;
|
||||
var tap_1 = require("../internal/operators/tap");
|
||||
exports.tap = tap_1.tap;
|
||||
var throttle_1 = require("../internal/operators/throttle");
|
||||
exports.throttle = throttle_1.throttle;
|
||||
var throttleTime_1 = require("../internal/operators/throttleTime");
|
||||
exports.throttleTime = throttleTime_1.throttleTime;
|
||||
var throwIfEmpty_1 = require("../internal/operators/throwIfEmpty");
|
||||
exports.throwIfEmpty = throwIfEmpty_1.throwIfEmpty;
|
||||
var timeInterval_1 = require("../internal/operators/timeInterval");
|
||||
exports.timeInterval = timeInterval_1.timeInterval;
|
||||
var timeout_1 = require("../internal/operators/timeout");
|
||||
exports.timeout = timeout_1.timeout;
|
||||
var timeoutWith_1 = require("../internal/operators/timeoutWith");
|
||||
exports.timeoutWith = timeoutWith_1.timeoutWith;
|
||||
var timestamp_1 = require("../internal/operators/timestamp");
|
||||
exports.timestamp = timestamp_1.timestamp;
|
||||
var toArray_1 = require("../internal/operators/toArray");
|
||||
exports.toArray = toArray_1.toArray;
|
||||
var window_1 = require("../internal/operators/window");
|
||||
exports.window = window_1.window;
|
||||
var windowCount_1 = require("../internal/operators/windowCount");
|
||||
exports.windowCount = windowCount_1.windowCount;
|
||||
var windowTime_1 = require("../internal/operators/windowTime");
|
||||
exports.windowTime = windowTime_1.windowTime;
|
||||
var windowToggle_1 = require("../internal/operators/windowToggle");
|
||||
exports.windowToggle = windowToggle_1.windowToggle;
|
||||
var windowWhen_1 = require("../internal/operators/windowWhen");
|
||||
exports.windowWhen = windowWhen_1.windowWhen;
|
||||
var withLatestFrom_1 = require("../internal/operators/withLatestFrom");
|
||||
exports.withLatestFrom = withLatestFrom_1.withLatestFrom;
|
||||
var zip_1 = require("../internal/operators/zip");
|
||||
exports.zip = zip_1.zip;
|
||||
var zipAll_1 = require("../internal/operators/zipAll");
|
||||
exports.zipAll = zipAll_1.zipAll;
|
||||
//# sourceMappingURL=index.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"repeat.js","sources":["../../src/internal/operators/repeat.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,4CAA2C;AAE3C,6CAA4C;AA2D5C,SAAgB,MAAM,CAAI,KAAkB;IAAlB,sBAAA,EAAA,SAAiB,CAAC;IAC1C,OAAO,UAAC,MAAqB;QAC3B,IAAI,KAAK,KAAK,CAAC,EAAE;YACf,OAAO,aAAK,EAAE,CAAC;SAChB;aAAM,IAAI,KAAK,GAAG,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;SACpD;aAAM;YACL,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,KAAK,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;SAC3D;IACH,CAAC,CAAC;AACJ,CAAC;AAVD,wBAUC;AAED;IACE,wBAAoB,KAAa,EACb,MAAqB;QADrB,UAAK,GAAL,KAAK,CAAQ;QACb,WAAM,GAAN,MAAM,CAAe;IACzC,CAAC;IACD,6BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACrF,CAAC;IACH,qBAAC;AAAD,CAAC,AAPD,IAOC;AAOD;IAAkC,oCAAa;IAC7C,0BAAY,WAA4B,EACpB,KAAa,EACb,MAAqB;QAFzC,YAGE,kBAAM,WAAW,CAAC,SACnB;QAHmB,WAAK,GAAL,KAAK,CAAQ;QACb,YAAM,GAAN,MAAM,CAAe;;IAEzC,CAAC;IACD,mCAAQ,GAAR;QACE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACb,IAAA,SAAwB,EAAtB,kBAAM,EAAE,gBAAK,CAAU;YAC/B,IAAI,KAAK,KAAK,CAAC,EAAE;gBACf,OAAO,iBAAM,QAAQ,WAAE,CAAC;aACzB;iBAAM,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;gBACrB,IAAI,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;aACxB;YACD,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;SACjD;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AAjBD,CAAkC,uBAAU,GAiB3C"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"subscribeToObservable.js","sources":["../../../src/internal/util/subscribeToObservable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAOvE,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAI,GAAQ,IAAK,OAAA,UAAC,UAAyB;IAC9E,IAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;IACrC,IAAI,OAAO,GAAG,CAAC,SAAS,KAAK,UAAU,EAAE;QAEvC,MAAM,IAAI,SAAS,CAAC,gEAAgE,CAAC,CAAC;KACvF;SAAM;QACL,OAAO,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;KAClC;AACH,CAAC,EARqD,CAQrD,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"isObject.js","sources":["../../src/internal/util/isObject.ts"],"names":[],"mappings":";;AAAA,SAAgB,QAAQ,CAAC,CAAM;IAC7B,OAAO,CAAC,KAAK,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ,CAAC;AAC7C,CAAC;AAFD,4BAEC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"publishReplay.js","sources":["../../../src/internal/operators/publishReplay.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,UAAU,aAAa,CAAO,UAAmB,EACnB,UAAmB,EACnB,mBAA4D,EAC5D,SAAyB;IAE3D,IAAI,mBAAmB,IAAI,OAAO,mBAAmB,KAAK,UAAU,EAAE;QACpE,SAAS,GAAG,mBAAmB,CAAC;KACjC;IAED,IAAM,QAAQ,GAAG,OAAO,mBAAmB,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;IAC7F,IAAM,OAAO,GAAG,IAAI,aAAa,CAAI,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;IAExE,OAAO,UAAC,MAAqB,IAAK,OAAA,SAAS,CAAC,cAAM,OAAA,OAAO,EAAP,CAAO,EAAE,QAAQ,CAAC,CAAC,MAAM,CAA6B,EAAtE,CAAsE,CAAC;AAC3G,CAAC"}
|
||||
@@ -0,0 +1,146 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
}
|
||||
return function (d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Subscriber_1 = require("../Subscriber");
|
||||
var Observable_1 = require("../Observable");
|
||||
var OuterSubscriber_1 = require("../OuterSubscriber");
|
||||
var subscribeToResult_1 = require("../util/subscribeToResult");
|
||||
function delayWhen(delayDurationSelector, subscriptionDelay) {
|
||||
if (subscriptionDelay) {
|
||||
return function (source) {
|
||||
return new SubscriptionDelayObservable(source, subscriptionDelay)
|
||||
.lift(new DelayWhenOperator(delayDurationSelector));
|
||||
};
|
||||
}
|
||||
return function (source) { return source.lift(new DelayWhenOperator(delayDurationSelector)); };
|
||||
}
|
||||
exports.delayWhen = delayWhen;
|
||||
var DelayWhenOperator = (function () {
|
||||
function DelayWhenOperator(delayDurationSelector) {
|
||||
this.delayDurationSelector = delayDurationSelector;
|
||||
}
|
||||
DelayWhenOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));
|
||||
};
|
||||
return DelayWhenOperator;
|
||||
}());
|
||||
var DelayWhenSubscriber = (function (_super) {
|
||||
__extends(DelayWhenSubscriber, _super);
|
||||
function DelayWhenSubscriber(destination, delayDurationSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.delayDurationSelector = delayDurationSelector;
|
||||
_this.completed = false;
|
||||
_this.delayNotifierSubscriptions = [];
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
DelayWhenSubscriber.prototype.notifyNext = function (outerValue, _innerValue, _outerIndex, _innerIndex, innerSub) {
|
||||
this.destination.next(outerValue);
|
||||
this.removeSubscription(innerSub);
|
||||
this.tryComplete();
|
||||
};
|
||||
DelayWhenSubscriber.prototype.notifyError = function (error, innerSub) {
|
||||
this._error(error);
|
||||
};
|
||||
DelayWhenSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
var value = this.removeSubscription(innerSub);
|
||||
if (value) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
this.tryComplete();
|
||||
};
|
||||
DelayWhenSubscriber.prototype._next = function (value) {
|
||||
var index = this.index++;
|
||||
try {
|
||||
var delayNotifier = this.delayDurationSelector(value, index);
|
||||
if (delayNotifier) {
|
||||
this.tryDelay(delayNotifier, value);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
};
|
||||
DelayWhenSubscriber.prototype._complete = function () {
|
||||
this.completed = true;
|
||||
this.tryComplete();
|
||||
this.unsubscribe();
|
||||
};
|
||||
DelayWhenSubscriber.prototype.removeSubscription = function (subscription) {
|
||||
subscription.unsubscribe();
|
||||
var subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);
|
||||
if (subscriptionIdx !== -1) {
|
||||
this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);
|
||||
}
|
||||
return subscription.outerValue;
|
||||
};
|
||||
DelayWhenSubscriber.prototype.tryDelay = function (delayNotifier, value) {
|
||||
var notifierSubscription = subscribeToResult_1.subscribeToResult(this, delayNotifier, value);
|
||||
if (notifierSubscription && !notifierSubscription.closed) {
|
||||
var destination = this.destination;
|
||||
destination.add(notifierSubscription);
|
||||
this.delayNotifierSubscriptions.push(notifierSubscription);
|
||||
}
|
||||
};
|
||||
DelayWhenSubscriber.prototype.tryComplete = function () {
|
||||
if (this.completed && this.delayNotifierSubscriptions.length === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
return DelayWhenSubscriber;
|
||||
}(OuterSubscriber_1.OuterSubscriber));
|
||||
var SubscriptionDelayObservable = (function (_super) {
|
||||
__extends(SubscriptionDelayObservable, _super);
|
||||
function SubscriptionDelayObservable(source, subscriptionDelay) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.source = source;
|
||||
_this.subscriptionDelay = subscriptionDelay;
|
||||
return _this;
|
||||
}
|
||||
SubscriptionDelayObservable.prototype._subscribe = function (subscriber) {
|
||||
this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));
|
||||
};
|
||||
return SubscriptionDelayObservable;
|
||||
}(Observable_1.Observable));
|
||||
var SubscriptionDelaySubscriber = (function (_super) {
|
||||
__extends(SubscriptionDelaySubscriber, _super);
|
||||
function SubscriptionDelaySubscriber(parent, source) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.parent = parent;
|
||||
_this.source = source;
|
||||
_this.sourceSubscribed = false;
|
||||
return _this;
|
||||
}
|
||||
SubscriptionDelaySubscriber.prototype._next = function (unused) {
|
||||
this.subscribeToSource();
|
||||
};
|
||||
SubscriptionDelaySubscriber.prototype._error = function (err) {
|
||||
this.unsubscribe();
|
||||
this.parent.error(err);
|
||||
};
|
||||
SubscriptionDelaySubscriber.prototype._complete = function () {
|
||||
this.unsubscribe();
|
||||
this.subscribeToSource();
|
||||
};
|
||||
SubscriptionDelaySubscriber.prototype.subscribeToSource = function () {
|
||||
if (!this.sourceSubscribed) {
|
||||
this.sourceSubscribed = true;
|
||||
this.unsubscribe();
|
||||
this.source.subscribe(this.parent);
|
||||
}
|
||||
};
|
||||
return SubscriptionDelaySubscriber;
|
||||
}(Subscriber_1.Subscriber));
|
||||
//# sourceMappingURL=delayWhen.js.map
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user