Обновить cmd/pkgdash/assets/ui/vendor.js
This commit is contained in:
parent
6f79735d58
commit
610f53f6be
@ -1507,10 +1507,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 2971);
|
/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 2971);
|
||||||
|
|
||||||
|
|
||||||
function throwError(errorOrErroractory, scheduler) {
|
function throwError(errorOrErrorFactory, scheduler) {
|
||||||
const Erroractory = (0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(errorOrErroractory) ? errorOrErroractory : () => errorOrErroractory;
|
const errorFactory = (0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory;
|
||||||
|
|
||||||
const init = subscriber => subscriber.error(Erroractory());
|
const init = subscriber => subscriber.error(errorFactory());
|
||||||
|
|
||||||
return new _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable(scheduler ? subscriber => scheduler.schedule(init, 0, subscriber) : init);
|
return new _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable(scheduler ? subscriber => scheduler.schedule(init, 0, subscriber) : init);
|
||||||
}
|
}
|
||||||
@ -2963,17 +2963,17 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function throwIfEmpty(Erroractory = defaultErroractory) {
|
function throwIfEmpty(errorFactory = defaultErrorFactory) {
|
||||||
return (0,_util_lift__WEBPACK_IMPORTED_MODULE_0__.operate)((source, subscriber) => {
|
return (0,_util_lift__WEBPACK_IMPORTED_MODULE_0__.operate)((source, subscriber) => {
|
||||||
let hasValue = false;
|
let hasValue = false;
|
||||||
source.subscribe(new _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__.OperatorSubscriber(subscriber, value => {
|
source.subscribe(new _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__.OperatorSubscriber(subscriber, value => {
|
||||||
hasValue = true;
|
hasValue = true;
|
||||||
subscriber.next(value);
|
subscriber.next(value);
|
||||||
}, () => hasValue ? subscriber.complete() : subscriber.error(Erroractory())));
|
}, () => hasValue ? subscriber.complete() : subscriber.error(errorFactory())));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function defaultErroractory() {
|
function defaultErrorFactory() {
|
||||||
return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__.EmptyError();
|
return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__.EmptyError();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67599,19 +67599,19 @@ class EventEmitter_ extends rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject {
|
|||||||
subscribe(observerOrNext, error, complete) {
|
subscribe(observerOrNext, error, complete) {
|
||||||
let nextFn = observerOrNext;
|
let nextFn = observerOrNext;
|
||||||
|
|
||||||
let Errorn = error || (() => null);
|
let errorFn = error || (() => null);
|
||||||
|
|
||||||
let completeFn = complete;
|
let completeFn = complete;
|
||||||
|
|
||||||
if (observerOrNext && typeof observerOrNext === 'object') {
|
if (observerOrNext && typeof observerOrNext === 'object') {
|
||||||
const observer = observerOrNext;
|
const observer = observerOrNext;
|
||||||
nextFn = observer.next?.bind(observer);
|
nextFn = observer.next?.bind(observer);
|
||||||
Errorn = observer.error?.bind(observer);
|
errorFn = observer.error?.bind(observer);
|
||||||
completeFn = observer.complete?.bind(observer);
|
completeFn = observer.complete?.bind(observer);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.__isAsync) {
|
if (this.__isAsync) {
|
||||||
Errorn = _wrapInTimeout(Errorn);
|
errorFn = _wrapInTimeout(errorFn);
|
||||||
|
|
||||||
if (nextFn) {
|
if (nextFn) {
|
||||||
nextFn = _wrapInTimeout(nextFn);
|
nextFn = _wrapInTimeout(nextFn);
|
||||||
@ -67624,7 +67624,7 @@ class EventEmitter_ extends rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject {
|
|||||||
|
|
||||||
const sink = super.subscribe({
|
const sink = super.subscribe({
|
||||||
next: nextFn,
|
next: nextFn,
|
||||||
error: Errorn,
|
error: errorFn,
|
||||||
complete: completeFn
|
complete: completeFn
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user