react-easy-wall 1.0.21 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/panel/Panel.js +0 -1
- package/dist/cjs/components/panel/Panel.js.map +1 -1
- package/dist/cjs/components/panel/PanelAvatar.js +2 -4
- package/dist/cjs/components/panel/PanelAvatar.js.map +1 -1
- package/dist/cjs/components/panel/PanelButton.js +0 -1
- package/dist/cjs/components/panel/PanelButton.js.map +1 -1
- package/dist/cjs/components/panel/PanelDivider.js +0 -1
- package/dist/cjs/components/panel/PanelDivider.js.map +1 -1
- package/dist/cjs/components/panel/PanelFooter.js +0 -1
- package/dist/cjs/components/panel/PanelFooter.js.map +1 -1
- package/dist/cjs/components/panel/PanelHeader.js +0 -1
- package/dist/cjs/components/panel/PanelHeader.js.map +1 -1
- package/dist/cjs/components/panel/PanelItem.js +0 -1
- package/dist/cjs/components/panel/PanelItem.js.map +1 -1
- package/dist/cjs/components/panel/PanelListItems.js +0 -1
- package/dist/cjs/components/panel/PanelListItems.js.map +1 -1
- package/dist/cjs/components/session/SessionProvider.js +0 -1
- package/dist/cjs/components/session/SessionProvider.js.map +1 -1
- package/dist/cjs/components/session/SessionUserContext.js +0 -1
- package/dist/cjs/components/session/SessionUserContext.js.map +1 -1
- package/dist/cjs/components/session/SessionUserProvider.js +0 -1
- package/dist/cjs/components/session/SessionUserProvider.js.map +1 -1
- package/dist/cjs/node_modules/@apollo/client/errors/CombinedProtocolErrors.js +85 -0
- package/dist/cjs/node_modules/@apollo/client/errors/CombinedProtocolErrors.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/errors/ServerError.js +80 -0
- package/dist/cjs/node_modules/@apollo/client/errors/ServerError.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/errors/ServerParseError.js +77 -0
- package/dist/cjs/node_modules/@apollo/client/errors/ServerParseError.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/errors/index.js +9 -0
- package/dist/cjs/node_modules/@apollo/client/errors/index.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/errors/utils.js +19 -0
- package/dist/cjs/node_modules/@apollo/client/errors/utils.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +91 -0
- package/dist/cjs/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/core/ApolloLink.js +262 -0
- package/dist/cjs/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/BaseHttpLink.js +155 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/BaseHttpLink.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/HttpLink.js +41 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/HttpLink.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +168 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/rewriteURIForGET.js +56 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/rewriteURIForGET.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +106 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/selectURI.js +18 -0
- package/dist/cjs/node_modules/@apollo/client/link/http/selectURI.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/utils/createOperation.js +40 -0
- package/dist/cjs/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/link/utils/filterOperationVariables.js +27 -0
- package/dist/cjs/node_modules/@apollo/client/link/utils/filterOperationVariables.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/caching/sizes.js +31 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/environment/index.production.js +6 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/environment/index.production.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/operations.js +65 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/operations.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/print.js +31 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/caches.js +49 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/checkDocument.js +62 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/compact.js +27 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/compact.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +16 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/getOperationName.js +13 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/globals/global.js +21 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/globals/maybe.js +11 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +13 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +19 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/memoize.js +33 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +20 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/invariant/index.js +94 -0
- package/dist/cjs/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
- package/dist/cjs/node_modules/@apollo/client/version.js +6 -0
- package/dist/cjs/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/cjs/node_modules/@wry/caches/lib/weak.js +147 -0
- package/dist/cjs/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/cjs/node_modules/@wry/trie/lib/index.js +86 -0
- package/dist/cjs/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/graphql/error/GraphQLError.js +232 -0
- package/dist/cjs/node_modules/graphql/error/GraphQLError.js.map +1 -0
- package/dist/cjs/node_modules/graphql/error/syntaxError.js +18 -0
- package/dist/cjs/node_modules/graphql/error/syntaxError.js.map +1 -0
- package/dist/cjs/node_modules/graphql/jsutils/devAssert.js +12 -0
- package/dist/cjs/node_modules/graphql/jsutils/devAssert.js.map +1 -0
- package/dist/cjs/node_modules/graphql/jsutils/inspect.js +120 -0
- package/dist/cjs/node_modules/graphql/jsutils/inspect.js.map +1 -0
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.js +63 -0
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.js.map +1 -0
- package/dist/cjs/node_modules/graphql/jsutils/invariant.js +14 -0
- package/dist/cjs/node_modules/graphql/jsutils/invariant.js.map +1 -0
- package/dist/cjs/node_modules/graphql/jsutils/isObjectLike.js +12 -0
- package/dist/cjs/node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/ast.js +227 -0
- package/dist/cjs/node_modules/graphql/language/ast.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/blockString.js +114 -0
- package/dist/cjs/node_modules/graphql/language/blockString.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/characterClasses.js +73 -0
- package/dist/cjs/node_modules/graphql/language/characterClasses.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/directiveLocation.js +34 -0
- package/dist/cjs/node_modules/graphql/language/directiveLocation.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/kinds.js +63 -0
- package/dist/cjs/node_modules/graphql/language/kinds.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/lexer.js +925 -0
- package/dist/cjs/node_modules/graphql/language/lexer.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/location.js +36 -0
- package/dist/cjs/node_modules/graphql/language/location.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/parser.js +1582 -0
- package/dist/cjs/node_modules/graphql/language/parser.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/printLocation.js +72 -0
- package/dist/cjs/node_modules/graphql/language/printLocation.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/printString.js +181 -0
- package/dist/cjs/node_modules/graphql/language/printString.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/printer.js +374 -0
- package/dist/cjs/node_modules/graphql/language/printer.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/source.js +56 -0
- package/dist/cjs/node_modules/graphql/language/source.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/tokenKind.js +39 -0
- package/dist/cjs/node_modules/graphql/language/tokenKind.js.map +1 -0
- package/dist/cjs/node_modules/graphql/language/visitor.js +274 -0
- package/dist/cjs/node_modules/graphql/language/visitor.js.map +1 -0
- package/dist/cjs/node_modules/graphql-tag/lib/index.js +129 -0
- package/dist/cjs/node_modules/graphql-tag/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Observable.js +106 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Subscriber.js +158 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Subscription.js +148 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/config.js +7 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/observable/empty.js +8 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +20 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +6 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +17 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +15 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +10 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/pipe.js +18 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/cjs/node_modules/tslib/tslib.es6.js +93 -0
- package/dist/cjs/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/cjs/shared/apollo/apollo.client.js +2 -2
- package/dist/cjs/shared/apollo/apollo.client.js.map +1 -1
- package/dist/cjs/shared/types/generated.js +2 -2
- package/dist/cjs/shared/types/generated.js.map +1 -1
- package/dist/esm/_virtual/_commonjsHelpers.js +1 -30
- package/dist/esm/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/esm/components/panel/Panel.js +0 -1
- package/dist/esm/components/panel/Panel.js.map +1 -1
- package/dist/esm/components/panel/PanelAvatar.js +2 -4
- package/dist/esm/components/panel/PanelAvatar.js.map +1 -1
- package/dist/esm/components/panel/PanelButton.js +0 -1
- package/dist/esm/components/panel/PanelButton.js.map +1 -1
- package/dist/esm/components/panel/PanelDivider.js +0 -1
- package/dist/esm/components/panel/PanelDivider.js.map +1 -1
- package/dist/esm/components/panel/PanelFooter.js +0 -1
- package/dist/esm/components/panel/PanelFooter.js.map +1 -1
- package/dist/esm/components/panel/PanelHeader.js +0 -1
- package/dist/esm/components/panel/PanelHeader.js.map +1 -1
- package/dist/esm/components/panel/PanelItem.js +0 -1
- package/dist/esm/components/panel/PanelItem.js.map +1 -1
- package/dist/esm/components/panel/PanelListItems.js +0 -1
- package/dist/esm/components/panel/PanelListItems.js.map +1 -1
- package/dist/esm/components/session/SessionProvider.js +0 -1
- package/dist/esm/components/session/SessionProvider.js.map +1 -1
- package/dist/esm/components/session/SessionUserContext.js +0 -1
- package/dist/esm/components/session/SessionUserContext.js.map +1 -1
- package/dist/esm/components/session/SessionUserProvider.js +0 -1
- package/dist/esm/components/session/SessionUserProvider.js.map +1 -1
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/hooks.js +2 -2
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/hooks.js.map +1 -1
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/store-hooks.js +2 -2
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/store-hooks.js.map +1 -1
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/views.js +2 -2
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/views.js.map +1 -1
- package/dist/esm/node_modules/@mui/material-nextjs/esm/nextCompatRouter.js +1 -1
- package/dist/esm/node_modules/@mui/material-nextjs/esm/v13-appRouter/nextNavigation.js +1 -1
- package/dist/esm/shared/apollo/apollo.client.js +1 -1
- package/dist/esm/shared/types/generated.js +1 -1
- package/dist/esm/types/components/panel/PanelAvatar.d.ts +3 -1
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tslib_es6 = require('../../../../tslib/tslib.es6.js');
|
|
4
|
+
var isFunction = require('./util/isFunction.js');
|
|
5
|
+
var Subscription = require('./Subscription.js');
|
|
6
|
+
var reportUnhandledError = require('./util/reportUnhandledError.js');
|
|
7
|
+
var noop = require('./util/noop.js');
|
|
8
|
+
|
|
9
|
+
var Subscriber = (function (_super) {
|
|
10
|
+
tslib_es6.__extends(Subscriber, _super);
|
|
11
|
+
function Subscriber(destination) {
|
|
12
|
+
var _this = _super.call(this) || this;
|
|
13
|
+
_this.isStopped = false;
|
|
14
|
+
if (destination) {
|
|
15
|
+
_this.destination = destination;
|
|
16
|
+
if (Subscription.isSubscription(destination)) {
|
|
17
|
+
destination.add(_this);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
_this.destination = EMPTY_OBSERVER;
|
|
22
|
+
}
|
|
23
|
+
return _this;
|
|
24
|
+
}
|
|
25
|
+
Subscriber.create = function (next, error, complete) {
|
|
26
|
+
return new SafeSubscriber(next, error, complete);
|
|
27
|
+
};
|
|
28
|
+
Subscriber.prototype.next = function (value) {
|
|
29
|
+
if (this.isStopped) ;
|
|
30
|
+
else {
|
|
31
|
+
this._next(value);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
Subscriber.prototype.error = function (err) {
|
|
35
|
+
if (this.isStopped) ;
|
|
36
|
+
else {
|
|
37
|
+
this.isStopped = true;
|
|
38
|
+
this._error(err);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
Subscriber.prototype.complete = function () {
|
|
42
|
+
if (this.isStopped) ;
|
|
43
|
+
else {
|
|
44
|
+
this.isStopped = true;
|
|
45
|
+
this._complete();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
Subscriber.prototype.unsubscribe = function () {
|
|
49
|
+
if (!this.closed) {
|
|
50
|
+
this.isStopped = true;
|
|
51
|
+
_super.prototype.unsubscribe.call(this);
|
|
52
|
+
this.destination = null;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
Subscriber.prototype._next = function (value) {
|
|
56
|
+
this.destination.next(value);
|
|
57
|
+
};
|
|
58
|
+
Subscriber.prototype._error = function (err) {
|
|
59
|
+
try {
|
|
60
|
+
this.destination.error(err);
|
|
61
|
+
}
|
|
62
|
+
finally {
|
|
63
|
+
this.unsubscribe();
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Subscriber.prototype._complete = function () {
|
|
67
|
+
try {
|
|
68
|
+
this.destination.complete();
|
|
69
|
+
}
|
|
70
|
+
finally {
|
|
71
|
+
this.unsubscribe();
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
return Subscriber;
|
|
75
|
+
}(Subscription.Subscription));
|
|
76
|
+
var ConsumerObserver = (function () {
|
|
77
|
+
function ConsumerObserver(partialObserver) {
|
|
78
|
+
this.partialObserver = partialObserver;
|
|
79
|
+
}
|
|
80
|
+
ConsumerObserver.prototype.next = function (value) {
|
|
81
|
+
var partialObserver = this.partialObserver;
|
|
82
|
+
if (partialObserver.next) {
|
|
83
|
+
try {
|
|
84
|
+
partialObserver.next(value);
|
|
85
|
+
}
|
|
86
|
+
catch (error) {
|
|
87
|
+
handleUnhandledError(error);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
ConsumerObserver.prototype.error = function (err) {
|
|
92
|
+
var partialObserver = this.partialObserver;
|
|
93
|
+
if (partialObserver.error) {
|
|
94
|
+
try {
|
|
95
|
+
partialObserver.error(err);
|
|
96
|
+
}
|
|
97
|
+
catch (error) {
|
|
98
|
+
handleUnhandledError(error);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
handleUnhandledError(err);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
ConsumerObserver.prototype.complete = function () {
|
|
106
|
+
var partialObserver = this.partialObserver;
|
|
107
|
+
if (partialObserver.complete) {
|
|
108
|
+
try {
|
|
109
|
+
partialObserver.complete();
|
|
110
|
+
}
|
|
111
|
+
catch (error) {
|
|
112
|
+
handleUnhandledError(error);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
return ConsumerObserver;
|
|
117
|
+
}());
|
|
118
|
+
var SafeSubscriber = (function (_super) {
|
|
119
|
+
tslib_es6.__extends(SafeSubscriber, _super);
|
|
120
|
+
function SafeSubscriber(observerOrNext, error, complete) {
|
|
121
|
+
var _this = _super.call(this) || this;
|
|
122
|
+
var partialObserver;
|
|
123
|
+
if (isFunction.isFunction(observerOrNext) || !observerOrNext) {
|
|
124
|
+
partialObserver = {
|
|
125
|
+
next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),
|
|
126
|
+
error: error !== null && error !== void 0 ? error : undefined,
|
|
127
|
+
complete: complete !== null && complete !== void 0 ? complete : undefined,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
{
|
|
132
|
+
partialObserver = observerOrNext;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
_this.destination = new ConsumerObserver(partialObserver);
|
|
136
|
+
return _this;
|
|
137
|
+
}
|
|
138
|
+
return SafeSubscriber;
|
|
139
|
+
}(Subscriber));
|
|
140
|
+
function handleUnhandledError(error) {
|
|
141
|
+
{
|
|
142
|
+
reportUnhandledError.reportUnhandledError(error);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function defaultErrorHandler(err) {
|
|
146
|
+
throw err;
|
|
147
|
+
}
|
|
148
|
+
var EMPTY_OBSERVER = {
|
|
149
|
+
closed: true,
|
|
150
|
+
next: noop.noop,
|
|
151
|
+
error: defaultErrorHandler,
|
|
152
|
+
complete: noop.noop,
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
exports.EMPTY_OBSERVER = EMPTY_OBSERVER;
|
|
156
|
+
exports.SafeSubscriber = SafeSubscriber;
|
|
157
|
+
exports.Subscriber = Subscriber;
|
|
158
|
+
//# sourceMappingURL=Subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscriber.js","sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/Subscriber.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nvar Subscriber = (function (_super) {\n __extends(Subscriber, _super);\n function Subscriber(destination) {\n var _this = _super.call(this) || this;\n _this.isStopped = false;\n if (destination) {\n _this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(_this);\n }\n }\n else {\n _this.destination = EMPTY_OBSERVER;\n }\n return _this;\n }\n Subscriber.create = function (next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n };\n Subscriber.prototype.next = function (value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n };\n Subscriber.prototype.error = function (err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n };\n Subscriber.prototype.complete = function () {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (!this.closed) {\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n this.destination = null;\n }\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n };\n Subscriber.prototype._complete = function () {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n };\n return Subscriber;\n}(Subscription));\nexport { Subscriber };\nvar _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nvar ConsumerObserver = (function () {\n function ConsumerObserver(partialObserver) {\n this.partialObserver = partialObserver;\n }\n ConsumerObserver.prototype.next = function (value) {\n var partialObserver = this.partialObserver;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n };\n ConsumerObserver.prototype.error = function (err) {\n var partialObserver = this.partialObserver;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n };\n ConsumerObserver.prototype.complete = function () {\n var partialObserver = this.partialObserver;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n };\n return ConsumerObserver;\n}());\nvar SafeSubscriber = (function (_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(observerOrNext, error, complete) {\n var _this = _super.call(this) || this;\n var partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n var context_1;\n if (_this && config.useDeprecatedNextContext) {\n context_1 = Object.create(observerOrNext);\n context_1.unsubscribe = function () { return _this.unsubscribe(); };\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context_1),\n error: observerOrNext.error && bind(observerOrNext.error, context_1),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context_1),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n _this.destination = new ConsumerObserver(partialObserver);\n return _this;\n }\n return SafeSubscriber;\n}(Subscriber));\nexport { SafeSubscriber };\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n var onStoppedNotification = config.onStoppedNotification;\n onStoppedNotification && timeoutProvider.setTimeout(function () { return onStoppedNotification(notification, subscriber); });\n}\nexport var EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n//# sourceMappingURL=Subscriber.js.map"],"names":["__extends","isSubscription","Subscription","isFunction","reportUnhandledError","noop"],"mappings":";;;;;;;;AASG,IAAC,UAAU,IAAI,UAAU,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|
|
2
|
+
|
|
3
|
+
var tslib_es6 = require('../../../../tslib/tslib.es6.js');
|
|
4
|
+
var isFunction = require('./util/isFunction.js');
|
|
5
|
+
var UnsubscriptionError = require('./util/UnsubscriptionError.js');
|
|
6
|
+
var arrRemove = require('./util/arrRemove.js');
|
|
7
|
+
|
|
8
|
+
var Subscription = (function () {
|
|
9
|
+
function Subscription(initialTeardown) {
|
|
10
|
+
this.initialTeardown = initialTeardown;
|
|
11
|
+
this.closed = false;
|
|
12
|
+
this._parentage = null;
|
|
13
|
+
this._finalizers = null;
|
|
14
|
+
}
|
|
15
|
+
Subscription.prototype.unsubscribe = function () {
|
|
16
|
+
var e_1, _a, e_2, _b;
|
|
17
|
+
var errors;
|
|
18
|
+
if (!this.closed) {
|
|
19
|
+
this.closed = true;
|
|
20
|
+
var _parentage = this._parentage;
|
|
21
|
+
if (_parentage) {
|
|
22
|
+
this._parentage = null;
|
|
23
|
+
if (Array.isArray(_parentage)) {
|
|
24
|
+
try {
|
|
25
|
+
for (var _parentage_1 = tslib_es6.__values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {
|
|
26
|
+
var parent_1 = _parentage_1_1.value;
|
|
27
|
+
parent_1.remove(this);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
31
|
+
finally {
|
|
32
|
+
try {
|
|
33
|
+
if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return)) _a.call(_parentage_1);
|
|
34
|
+
}
|
|
35
|
+
finally { if (e_1) throw e_1.error; }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
_parentage.remove(this);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
var initialFinalizer = this.initialTeardown;
|
|
43
|
+
if (isFunction.isFunction(initialFinalizer)) {
|
|
44
|
+
try {
|
|
45
|
+
initialFinalizer();
|
|
46
|
+
}
|
|
47
|
+
catch (e) {
|
|
48
|
+
errors = e instanceof UnsubscriptionError.UnsubscriptionError ? e.errors : [e];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
var _finalizers = this._finalizers;
|
|
52
|
+
if (_finalizers) {
|
|
53
|
+
this._finalizers = null;
|
|
54
|
+
try {
|
|
55
|
+
for (var _finalizers_1 = tslib_es6.__values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {
|
|
56
|
+
var finalizer = _finalizers_1_1.value;
|
|
57
|
+
try {
|
|
58
|
+
execFinalizer(finalizer);
|
|
59
|
+
}
|
|
60
|
+
catch (err) {
|
|
61
|
+
errors = errors !== null && errors !== void 0 ? errors : [];
|
|
62
|
+
if (err instanceof UnsubscriptionError.UnsubscriptionError) {
|
|
63
|
+
errors = tslib_es6.__spreadArray(tslib_es6.__spreadArray([], tslib_es6.__read(errors)), tslib_es6.__read(err.errors));
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
errors.push(err);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
72
|
+
finally {
|
|
73
|
+
try {
|
|
74
|
+
if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return)) _b.call(_finalizers_1);
|
|
75
|
+
}
|
|
76
|
+
finally { if (e_2) throw e_2.error; }
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if (errors) {
|
|
80
|
+
throw new UnsubscriptionError.UnsubscriptionError(errors);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
Subscription.prototype.add = function (teardown) {
|
|
85
|
+
var _a;
|
|
86
|
+
if (teardown && teardown !== this) {
|
|
87
|
+
if (this.closed) {
|
|
88
|
+
execFinalizer(teardown);
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
if (teardown instanceof Subscription) {
|
|
92
|
+
if (teardown.closed || teardown._hasParent(this)) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
teardown._addParent(this);
|
|
96
|
+
}
|
|
97
|
+
(this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
Subscription.prototype._hasParent = function (parent) {
|
|
102
|
+
var _parentage = this._parentage;
|
|
103
|
+
return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));
|
|
104
|
+
};
|
|
105
|
+
Subscription.prototype._addParent = function (parent) {
|
|
106
|
+
var _parentage = this._parentage;
|
|
107
|
+
this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;
|
|
108
|
+
};
|
|
109
|
+
Subscription.prototype._removeParent = function (parent) {
|
|
110
|
+
var _parentage = this._parentage;
|
|
111
|
+
if (_parentage === parent) {
|
|
112
|
+
this._parentage = null;
|
|
113
|
+
}
|
|
114
|
+
else if (Array.isArray(_parentage)) {
|
|
115
|
+
arrRemove.arrRemove(_parentage, parent);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
Subscription.prototype.remove = function (teardown) {
|
|
119
|
+
var _finalizers = this._finalizers;
|
|
120
|
+
_finalizers && arrRemove.arrRemove(_finalizers, teardown);
|
|
121
|
+
if (teardown instanceof Subscription) {
|
|
122
|
+
teardown._removeParent(this);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
Subscription.EMPTY = (function () {
|
|
126
|
+
var empty = new Subscription();
|
|
127
|
+
empty.closed = true;
|
|
128
|
+
return empty;
|
|
129
|
+
})();
|
|
130
|
+
return Subscription;
|
|
131
|
+
}());
|
|
132
|
+
Subscription.EMPTY;
|
|
133
|
+
function isSubscription(value) {
|
|
134
|
+
return (value instanceof Subscription ||
|
|
135
|
+
(value && 'closed' in value && isFunction.isFunction(value.remove) && isFunction.isFunction(value.add) && isFunction.isFunction(value.unsubscribe)));
|
|
136
|
+
}
|
|
137
|
+
function execFinalizer(finalizer) {
|
|
138
|
+
if (isFunction.isFunction(finalizer)) {
|
|
139
|
+
finalizer();
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
finalizer.unsubscribe();
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
exports.Subscription = Subscription;
|
|
147
|
+
exports.isSubscription = isSubscription;
|
|
148
|
+
//# sourceMappingURL=Subscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscription.js","sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/Subscription.js"],"sourcesContent":["import { __read, __spreadArray, __values } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nvar Subscription = (function () {\n function Subscription(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n Subscription.prototype.unsubscribe = function () {\n var e_1, _a, e_2, _b;\n var errors;\n if (!this.closed) {\n this.closed = true;\n var _parentage = this._parentage;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n try {\n for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {\n var parent_1 = _parentage_1_1.value;\n parent_1.remove(this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return)) _a.call(_parentage_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n var initialFinalizer = this.initialTeardown;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n var _finalizers = this._finalizers;\n if (_finalizers) {\n this._finalizers = null;\n try {\n for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {\n var finalizer = _finalizers_1_1.value;\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return)) _b.call(_finalizers_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n };\n Subscription.prototype.add = function (teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n };\n Subscription.prototype._hasParent = function (parent) {\n var _parentage = this._parentage;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n };\n Subscription.prototype._addParent = function (parent) {\n var _parentage = this._parentage;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n };\n Subscription.prototype._removeParent = function (parent) {\n var _parentage = this._parentage;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n };\n Subscription.prototype.remove = function (teardown) {\n var _finalizers = this._finalizers;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n };\n Subscription.EMPTY = (function () {\n var empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n return Subscription;\n}());\nexport { Subscription };\nexport var EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map"],"names":["__values","isFunction","UnsubscriptionError","__spreadArray","__read","arrRemove"],"mappings":";;;;;;;AAIG,IAAC,YAAY,IAAI,YAAY;AAChC,IAAI,SAAS,YAAY,CAAC,eAAe,EAAE;AAC3C,QAAQ,IAAI,CAAC,eAAe,GAAG,eAAe;AAC9C,QAAQ,IAAI,CAAC,MAAM,GAAG,KAAK;AAC3B,QAAQ,IAAI,CAAC,UAAU,GAAG,IAAI;AAC9B,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI;AAC/B,IAAI;AACJ,IAAI,YAAY,CAAC,SAAS,CAAC,WAAW,GAAG,YAAY;AACrD,QAAQ,IAAI,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE;AAC5B,QAAQ,IAAI,MAAM;AAClB,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;AAC1B,YAAY,IAAI,CAAC,MAAM,GAAG,IAAI;AAC9B,YAAY,IAAI,UAAU,GAAG,IAAI,CAAC,UAAU;AAC5C,YAAY,IAAI,UAAU,EAAE;AAC5B,gBAAgB,IAAI,CAAC,UAAU,GAAG,IAAI;AACtC,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AAC/C,oBAAoB,IAAI;AACxB,wBAAwB,KAAK,IAAI,YAAY,GAAGA,kBAAQ,CAAC,UAAU,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG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IAAIA,qBAAU,CAAC,SAAS,CAAC,EAAE;AAC/B,QAAQ,SAAS,EAAE;AACnB,IAAI;AACJ,SAAS;AACT,QAAQ,SAAS,CAAC,WAAW,EAAE;AAC/B,IAAI;AACJ;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/config.js"],"sourcesContent":["export var config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map"],"names":[],"mappings":";;AAAU,IAAC,MAAM,GAAG;AACpB,IAEI,OAAO,EAAE,SAGb;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/observable/empty.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport var EMPTY = new Observable(function (subscriber) { return subscriber.complete(); });\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });\n}\n//# sourceMappingURL=empty.js.map"],"names":["Observable"],"mappings":";;;;AACU,IAAC,KAAK,GAAG,IAAIA,qBAAU,CAAC,UAAU,UAAU,EAAE,EAAE,OAAO,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tslib_es6 = require('../../../../../tslib/tslib.es6.js');
|
|
4
|
+
|
|
5
|
+
var timeoutProvider = {
|
|
6
|
+
setTimeout: function (handler, timeout) {
|
|
7
|
+
var args = [];
|
|
8
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
9
|
+
args[_i - 2] = arguments[_i];
|
|
10
|
+
}
|
|
11
|
+
return setTimeout.apply(void 0, tslib_es6.__spreadArray([handler, timeout], tslib_es6.__read(args)));
|
|
12
|
+
},
|
|
13
|
+
clearTimeout: function (handle) {
|
|
14
|
+
return (clearTimeout)(handle);
|
|
15
|
+
},
|
|
16
|
+
delegate: undefined,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.timeoutProvider = timeoutProvider;
|
|
20
|
+
//# sourceMappingURL=timeoutProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeoutProvider.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nexport var timeoutProvider = {\n setTimeout: function (handler, timeout) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var delegate = timeoutProvider.delegate;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));\n }\n return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n },\n clearTimeout: function (handle) {\n var delegate = timeoutProvider.delegate;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map"],"names":["__spreadArray","__read"],"mappings":";;;;AACU,IAAC,eAAe,GAAG;AAC7B,IAAI,UAAU,EAAE,UAAU,OAAO,EAAE,OAAO,EAAE;AAC5C,QAAQ,IAAI,IAAI,GAAG,EAAE;AACrB,QAAQ,KAAK,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,SAAS,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE;AACtD,YAAY,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC;AACxC,QAAQ;AAKR,QAAQ,OAAO,UAAU,CAAC,KAAK,CAAC,MAAM,EAAEA,uBAAa,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,EAAEC,gBAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACxF,IAAI,CAAC;AACL,IAAI,YAAY,EAAE,UAAU,MAAM,EAAE;AAEpC,QAAQ,OAAO,CAAgF,YAAY,EAAE,MAAM,CAAC;AACpH,IAAI,CAAC;AACL,IAAI,QAAQ,EAAE,SAAS;AACvB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observable.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/symbol/observable.js"],"sourcesContent":["export var observable = (function () { return (typeof Symbol === 'function' && Symbol.observable) || '@@observable'; })();\n//# sourceMappingURL=observable.js.map"],"names":[],"mappings":";;AAAU,IAAC,UAAU,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,UAAU,KAAK,cAAc,CAAC,CAAC,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var createErrorClass = require('./createErrorClass.js');
|
|
4
|
+
|
|
5
|
+
var UnsubscriptionError = createErrorClass.createErrorClass(function (_super) {
|
|
6
|
+
return function UnsubscriptionErrorImpl(errors) {
|
|
7
|
+
_super(this);
|
|
8
|
+
this.message = errors
|
|
9
|
+
? errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ')
|
|
10
|
+
: '';
|
|
11
|
+
this.name = 'UnsubscriptionError';
|
|
12
|
+
this.errors = errors;
|
|
13
|
+
};
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
exports.UnsubscriptionError = UnsubscriptionError;
|
|
17
|
+
//# sourceMappingURL=UnsubscriptionError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnsubscriptionError.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport var UnsubscriptionError = createErrorClass(function (_super) {\n return function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return i + 1 + \") \" + err.toString(); }).join('\\n ')\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n };\n});\n//# sourceMappingURL=UnsubscriptionError.js.map"],"names":["createErrorClass"],"mappings":";;;;AACU,IAAC,mBAAmB,GAAGA,iCAAgB,CAAC,UAAU,MAAM,EAAE;AACpE,IAAI,OAAO,SAAS,uBAAuB,CAAC,MAAM,EAAE;AACpD,QAAQ,MAAM,CAAC,IAAI,CAAC;AACpB,QAAQ,IAAI,CAAC,OAAO,GAAG;AACvB,cAAc,MAAM,CAAC,MAAM,GAAG,2CAA2C,GAAG,MAAM,CAAC,GAAG,CAAC,UAAU,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM;AAC/J,cAAc,EAAE;AAChB,QAAQ,IAAI,CAAC,IAAI,GAAG,qBAAqB;AACzC,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;AAC5B,IAAI,CAAC;AACL,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrRemove.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/arrRemove.js"],"sourcesContent":["export function arrRemove(arr, item) {\n if (arr) {\n var index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map"],"names":[],"mappings":";;AAAO,SAAS,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE;AACrC,IAAI,IAAI,GAAG,EAAE;AACb,QAAQ,IAAI,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC;AACrC,QAAQ,CAAC,IAAI,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;AAC1C,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function createErrorClass(createImpl) {
|
|
4
|
+
var _super = function (instance) {
|
|
5
|
+
Error.call(instance);
|
|
6
|
+
instance.stack = new Error().stack;
|
|
7
|
+
};
|
|
8
|
+
var ctorFunc = createImpl(_super);
|
|
9
|
+
ctorFunc.prototype = Object.create(Error.prototype);
|
|
10
|
+
ctorFunc.prototype.constructor = ctorFunc;
|
|
11
|
+
return ctorFunc;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
exports.createErrorClass = createErrorClass;
|
|
15
|
+
//# sourceMappingURL=createErrorClass.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createErrorClass.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js"],"sourcesContent":["export function createErrorClass(createImpl) {\n var _super = function (instance) {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n var ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map"],"names":[],"mappings":";;AAAO,SAAS,gBAAgB,CAAC,UAAU,EAAE;AAC7C,IAAI,IAAI,MAAM,GAAG,UAAU,QAAQ,EAAE;AACrC,QAAQ,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC;AAC5B,QAAQ,QAAQ,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK;AAC1C,IAAI,CAAC;AACL,IAAI,IAAI,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC;AACrC,IAAI,QAAQ,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;AACvD,IAAI,QAAQ,CAAC,SAAS,CAAC,WAAW,GAAG,QAAQ;AAC7C,IAAI,OAAO,QAAQ;AACnB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorContext.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/errorContext.js"],"sourcesContent":["import { config } from '../config';\nvar context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n var _a = context, errorThrown = _a.errorThrown, error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map"],"names":[],"mappings":";;AAEO,SAAS,YAAY,CAAC,EAAE,EAAE;AACjC,IAcS;AACT,QAAQ,EAAE,EAAE;AACZ,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/identity.js"],"sourcesContent":["export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map"],"names":[],"mappings":";;AAAO,SAAS,QAAQ,CAAC,CAAC,EAAE;AAC5B,IAAI,OAAO,CAAC;AACZ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isFunction.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/isFunction.js"],"sourcesContent":["export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map"],"names":[],"mappings":";;AAAO,SAAS,UAAU,CAAC,KAAK,EAAE;AAClC,IAAI,OAAO,OAAO,KAAK,KAAK,UAAU;AACtC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noop.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/noop.js"],"sourcesContent":["export function noop() { }\n//# sourceMappingURL=noop.js.map"],"names":[],"mappings":";;AAAO,SAAS,IAAI,GAAG,EAAE;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var identity = require('./identity.js');
|
|
4
|
+
|
|
5
|
+
function pipeFromArray(fns) {
|
|
6
|
+
if (fns.length === 0) {
|
|
7
|
+
return identity.identity;
|
|
8
|
+
}
|
|
9
|
+
if (fns.length === 1) {
|
|
10
|
+
return fns[0];
|
|
11
|
+
}
|
|
12
|
+
return function piped(input) {
|
|
13
|
+
return fns.reduce(function (prev, fn) { return fn(prev); }, input);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.pipeFromArray = pipeFromArray;
|
|
18
|
+
//# sourceMappingURL=pipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/pipe.js"],"sourcesContent":["import { identity } from './identity';\nexport function pipe() {\n var fns = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce(function (prev, fn) { return fn(prev); }, input);\n };\n}\n//# sourceMappingURL=pipe.js.map"],"names":["identity"],"mappings":";;;;AAQO,SAAS,aAAa,CAAC,GAAG,EAAE;AACnC,IAAI,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;AAC1B,QAAQ,OAAOA,iBAAQ;AACvB,IAAI;AACJ,IAAI,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;AAC1B,QAAQ,OAAO,GAAG,CAAC,CAAC,CAAC;AACrB,IAAI;AACJ,IAAI,OAAO,SAAS,KAAK,CAAC,KAAK,EAAE;AACjC,QAAQ,OAAO,GAAG,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC;AAC1E,IAAI,CAAC;AACL;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var timeoutProvider = require('../scheduler/timeoutProvider.js');
|
|
4
|
+
|
|
5
|
+
function reportUnhandledError(err) {
|
|
6
|
+
timeoutProvider.timeoutProvider.setTimeout(function () {
|
|
7
|
+
{
|
|
8
|
+
throw err;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
exports.reportUnhandledError = reportUnhandledError;
|
|
14
|
+
//# sourceMappingURL=reportUnhandledError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportUnhandledError.js","sources":["../../../../../../../../node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js"],"sourcesContent":["import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(function () {\n var onUnhandledError = config.onUnhandledError;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n//# sourceMappingURL=reportUnhandledError.js.map"],"names":["timeoutProvider"],"mappings":";;;;AAEO,SAAS,oBAAoB,CAAC,GAAG,EAAE;AAC1C,IAAIA,+BAAe,CAAC,UAAU,CAAC,YAAY;AAE3C,QAGa;AACb,YAAY,MAAM,GAAG;AACrB,QAAQ;AACR,IAAI,CAAC,CAAC;AACN;;;;","x_google_ignoreList":[0]}
|