@ngxs/store 3.7.2 → 3.7.3-dev.master-1e7127b
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/README.md +16 -16
- package/bundles/ngxs-store-internals-testing.umd.js +475 -0
- package/bundles/ngxs-store-internals-testing.umd.js.map +1 -0
- package/bundles/ngxs-store-internals-testing.umd.min.js +16 -0
- package/bundles/ngxs-store-internals-testing.umd.min.js.map +1 -0
- package/bundles/ngxs-store-internals.umd.js +380 -211
- package/bundles/ngxs-store-internals.umd.js.map +1 -1
- package/bundles/ngxs-store-internals.umd.min.js +1 -1
- package/bundles/ngxs-store-internals.umd.min.js.map +1 -1
- package/bundles/ngxs-store-operators.umd.js +310 -310
- package/bundles/ngxs-store-operators.umd.js.map +1 -1
- package/bundles/ngxs-store-operators.umd.min.js.map +1 -1
- package/bundles/ngxs-store.umd.js +4402 -4518
- package/bundles/ngxs-store.umd.js.map +1 -1
- package/bundles/ngxs-store.umd.min.js +1 -1
- package/bundles/ngxs-store.umd.min.js.map +1 -1
- package/esm2015/index.js +13 -13
- package/esm2015/internals/angular.js +46 -40
- package/esm2015/internals/decorator-injector-adapter.js +162 -0
- package/esm2015/internals/index.js +11 -10
- package/esm2015/internals/initial-state.js +34 -34
- package/esm2015/internals/internal-tokens.js +16 -16
- package/esm2015/internals/memoize.js +70 -70
- package/esm2015/internals/ngxs-bootstrapper.js +41 -41
- package/esm2015/internals/ngxs-store-internals.js +9 -9
- package/esm2015/internals/src/symbols.js +14 -14
- package/esm2015/internals/symbols.js +14 -14
- package/esm2015/internals/testing/fresh-platform.js +90 -0
- package/esm2015/internals/testing/helpers/ngxs-test.component.js +22 -0
- package/esm2015/internals/testing/helpers/ngxs-test.module.js +24 -0
- package/esm2015/internals/testing/index.js +7 -0
- package/esm2015/internals/testing/ngxs-store-internals-testing.js +9 -0
- package/esm2015/internals/testing/ngxs.setup.js +76 -0
- package/esm2015/internals/testing/symbol.js +29 -0
- package/esm2015/ngxs-store.js +24 -27
- package/esm2015/operators/append.js +31 -31
- package/esm2015/operators/compose.js +24 -24
- package/esm2015/operators/iif.js +56 -56
- package/esm2015/operators/index.js +18 -18
- package/esm2015/operators/insert-item.js +41 -41
- package/esm2015/operators/internals.js +5 -5
- package/esm2015/operators/ngxs-store-operators.js +8 -8
- package/esm2015/operators/patch.js +39 -39
- package/esm2015/operators/remove-item.js +34 -34
- package/esm2015/operators/update-item.js +52 -52
- package/esm2015/operators/utils.js +50 -50
- package/esm2015/src/actions/actions.js +39 -39
- package/esm2015/src/actions/symbols.js +39 -39
- package/esm2015/src/actions-stream.js +138 -140
- package/esm2015/src/configs/messages.config.js +79 -87
- package/esm2015/src/decorators/action.js +48 -44
- package/esm2015/src/decorators/select/select-factory.js +49 -46
- package/esm2015/src/decorators/select/select.js +60 -45
- package/esm2015/src/decorators/select/symbols.js +94 -50
- package/esm2015/src/decorators/selector/selector.js +59 -55
- package/esm2015/src/decorators/selector/symbols.js +5 -5
- package/esm2015/src/decorators/selector-options.js +34 -34
- package/esm2015/src/decorators/state.js +83 -75
- package/esm2015/src/execution/dispatch-outside-zone-ngxs-execution-strategy.js +101 -96
- package/esm2015/src/execution/internal-ngxs-execution-strategy.js +45 -45
- package/esm2015/src/execution/noop-ngxs-execution-strategy.js +27 -27
- package/esm2015/src/execution/symbols.js +29 -29
- package/esm2015/src/internal/dispatcher.js +217 -217
- package/esm2015/src/internal/internals.js +493 -489
- package/esm2015/src/internal/lifecycle-state-manager.js +129 -129
- package/esm2015/src/internal/state-context-factory.js +138 -138
- package/esm2015/src/internal/state-factory.js +449 -429
- package/esm2015/src/internal/state-operations.js +120 -125
- package/esm2015/src/internal/state-operators.js +33 -33
- package/esm2015/src/internal/state-stream.js +21 -21
- package/esm2015/src/ivy/ivy-enabled-in-dev-mode.js +28 -40
- package/esm2015/src/module.js +158 -172
- package/esm2015/src/modules/ngxs-feature.module.js +63 -63
- package/esm2015/src/modules/ngxs-root.module.js +52 -52
- package/esm2015/src/operators/leave-ngxs.js +58 -58
- package/esm2015/src/operators/of-action.js +191 -191
- package/esm2015/src/plugin-manager.js +70 -70
- package/esm2015/src/plugin_api.js +10 -10
- package/esm2015/src/public_api.js +29 -29
- package/esm2015/src/public_to_deprecate.js +64 -64
- package/esm2015/src/state-token/state-token.js +45 -45
- package/esm2015/src/state-token/symbols.js +5 -5
- package/esm2015/src/store.js +174 -174
- package/esm2015/src/symbols.js +217 -221
- package/esm2015/src/utils/compose.js +44 -44
- package/esm2015/src/utils/freeze.js +35 -35
- package/esm2015/src/utils/selector-utils.js +221 -221
- package/esm2015/src/utils/store-validators.js +60 -65
- package/esm2015/src/utils/utils.js +143 -143
- package/esm5/index.js +13 -13
- package/esm5/internals/angular.js +46 -40
- package/esm5/internals/decorator-injector-adapter.js +162 -0
- package/esm5/internals/index.js +11 -10
- package/esm5/internals/initial-state.js +45 -45
- package/esm5/internals/internal-tokens.js +16 -16
- package/esm5/internals/memoize.js +71 -71
- package/esm5/internals/ngxs-bootstrapper.js +56 -56
- package/esm5/internals/ngxs-store-internals.js +9 -9
- package/esm5/internals/src/symbols.js +14 -14
- package/esm5/internals/symbols.js +14 -14
- package/esm5/internals/testing/fresh-platform.js +101 -0
- package/esm5/internals/testing/helpers/ngxs-test.component.js +32 -0
- package/esm5/internals/testing/helpers/ngxs-test.module.js +32 -0
- package/esm5/internals/testing/index.js +7 -0
- package/esm5/internals/testing/ngxs-store-internals-testing.js +9 -0
- package/esm5/internals/testing/ngxs.setup.js +98 -0
- package/esm5/internals/testing/symbol.js +29 -0
- package/esm5/ngxs-store.js +24 -27
- package/esm5/operators/append.js +31 -31
- package/esm5/operators/compose.js +28 -28
- package/esm5/operators/iif.js +56 -56
- package/esm5/operators/index.js +18 -18
- package/esm5/operators/insert-item.js +41 -41
- package/esm5/operators/internals.js +5 -5
- package/esm5/operators/ngxs-store-operators.js +8 -8
- package/esm5/operators/patch.js +40 -40
- package/esm5/operators/remove-item.js +34 -34
- package/esm5/operators/update-item.js +52 -52
- package/esm5/operators/utils.js +50 -50
- package/esm5/src/actions/actions.js +62 -62
- package/esm5/src/actions/symbols.js +39 -39
- package/esm5/src/actions-stream.js +184 -186
- package/esm5/src/configs/messages.config.js +79 -104
- package/esm5/src/decorators/action.js +60 -56
- package/esm5/src/decorators/select/select-factory.js +50 -47
- package/esm5/src/decorators/select/select.js +65 -50
- package/esm5/src/decorators/select/symbols.js +95 -51
- package/esm5/src/decorators/selector/selector.js +59 -55
- package/esm5/src/decorators/selector/symbols.js +5 -5
- package/esm5/src/decorators/selector-options.js +34 -34
- package/esm5/src/decorators/state.js +84 -76
- package/esm5/src/execution/dispatch-outside-zone-ngxs-execution-strategy.js +121 -121
- package/esm5/src/execution/internal-ngxs-execution-strategy.js +54 -54
- package/esm5/src/execution/noop-ngxs-execution-strategy.js +41 -41
- package/esm5/src/execution/symbols.js +29 -29
- package/esm5/src/internal/dispatcher.js +253 -253
- package/esm5/src/internal/internals.js +495 -491
- package/esm5/src/internal/lifecycle-state-manager.js +177 -177
- package/esm5/src/internal/state-context-factory.js +146 -146
- package/esm5/src/internal/state-factory.js +575 -563
- package/esm5/src/internal/state-operations.js +130 -139
- package/esm5/src/internal/state-operators.js +34 -34
- package/esm5/src/internal/state-stream.js +25 -25
- package/esm5/src/ivy/ivy-enabled-in-dev-mode.js +28 -40
- package/esm5/src/module.js +201 -215
- package/esm5/src/modules/ngxs-feature.module.js +65 -65
- package/esm5/src/modules/ngxs-root.module.js +47 -47
- package/esm5/src/operators/leave-ngxs.js +58 -58
- package/esm5/src/operators/of-action.js +217 -217
- package/esm5/src/plugin-manager.js +82 -82
- package/esm5/src/plugin_api.js +10 -10
- package/esm5/src/public_api.js +29 -29
- package/esm5/src/public_to_deprecate.js +64 -64
- package/esm5/src/state-token/state-token.js +57 -57
- package/esm5/src/state-token/symbols.js +5 -5
- package/esm5/src/store.js +225 -225
- package/esm5/src/symbols.js +226 -230
- package/esm5/src/utils/compose.js +55 -55
- package/esm5/src/utils/freeze.js +35 -35
- package/esm5/src/utils/selector-utils.js +230 -230
- package/esm5/src/utils/store-validators.js +78 -86
- package/esm5/src/utils/utils.js +151 -151
- package/fesm2015/ngxs-store-internals-testing.js +216 -0
- package/fesm2015/ngxs-store-internals-testing.js.map +1 -0
- package/fesm2015/ngxs-store-internals.js +361 -194
- package/fesm2015/ngxs-store-internals.js.map +1 -1
- package/fesm2015/ngxs-store-operators.js +312 -312
- package/fesm2015/ngxs-store-operators.js.map +1 -1
- package/fesm2015/ngxs-store.js +3907 -3976
- package/fesm2015/ngxs-store.js.map +1 -1
- package/fesm5/ngxs-store-internals-testing.js +263 -0
- package/fesm5/ngxs-store-internals-testing.js.map +1 -0
- package/fesm5/ngxs-store-internals.js +386 -219
- package/fesm5/ngxs-store-internals.js.map +1 -1
- package/fesm5/ngxs-store-operators.js +316 -316
- package/fesm5/ngxs-store-operators.js.map +1 -1
- package/fesm5/ngxs-store.js +4399 -4510
- package/fesm5/ngxs-store.js.map +1 -1
- package/index.d.ts +8 -8
- package/internals/angular.d.ts +3 -3
- package/internals/decorator-injector-adapter.d.ts +8 -0
- package/internals/index.d.ts +7 -6
- package/internals/initial-state.d.ts +8 -8
- package/internals/internal-tokens.d.ts +9 -9
- package/internals/memoize.d.ts +9 -9
- package/internals/ngxs-bootstrapper.d.ts +13 -13
- package/internals/ngxs-store-internals.d.ts +4 -4
- package/internals/ngxs-store-internals.metadata.json +1 -1
- package/internals/src/symbols.d.ts +7 -7
- package/internals/symbols.d.ts +7 -7
- package/internals/testing/fresh-platform.d.ts +1 -0
- package/internals/testing/helpers/ngxs-test.component.d.ts +5 -0
- package/internals/testing/helpers/ngxs-test.module.d.ts +4 -0
- package/internals/testing/index.d.ts +3 -0
- package/internals/testing/ngxs-store-internals-testing.d.ts +4 -0
- package/internals/testing/ngxs-store-internals-testing.metadata.json +1 -0
- package/internals/testing/ngxs.setup.d.ts +7 -0
- package/internals/testing/package.json +13 -0
- package/internals/testing/symbol.d.ts +14 -0
- package/ngxs-store.d.ts +20 -23
- package/ngxs-store.metadata.json +1 -1
- package/operators/append.d.ts +6 -6
- package/operators/compose.d.ts +2 -2
- package/operators/iif.d.ts +11 -11
- package/operators/index.d.ts +13 -13
- package/operators/insert-item.d.ts +7 -7
- package/operators/internals.d.ts +2 -2
- package/operators/ngxs-store-operators.d.ts +4 -4
- package/operators/patch.d.ts +10 -10
- package/operators/remove-item.d.ts +7 -7
- package/operators/update-item.d.ts +10 -10
- package/operators/utils.d.ts +9 -9
- package/package.json +3 -3
- package/src/actions/actions.d.ts +15 -15
- package/src/actions/symbols.d.ts +21 -21
- package/src/actions-stream.d.ts +49 -49
- package/src/configs/messages.config.d.ts +11 -30
- package/src/decorators/action.d.ts +5 -5
- package/src/decorators/select/select-factory.d.ts +13 -14
- package/src/decorators/select/select.d.ts +4 -4
- package/src/decorators/select/symbols.d.ts +14 -10
- package/src/decorators/selector/selector.d.ts +5 -5
- package/src/decorators/selector/symbols.d.ts +4 -4
- package/src/decorators/selector-options.d.ts +5 -5
- package/src/decorators/state.d.ts +6 -6
- package/src/execution/dispatch-outside-zone-ngxs-execution-strategy.d.ts +11 -12
- package/src/execution/internal-ngxs-execution-strategy.d.ts +7 -7
- package/src/execution/noop-ngxs-execution-strategy.d.ts +5 -5
- package/src/execution/symbols.d.ts +6 -6
- package/src/internal/dispatcher.d.ts +32 -32
- package/src/internal/internals.d.ts +166 -167
- package/src/internal/lifecycle-state-manager.d.ts +20 -20
- package/src/internal/state-context-factory.d.ts +15 -15
- package/src/internal/state-factory.d.ts +57 -58
- package/src/internal/state-operations.d.ts +19 -21
- package/src/internal/state-operators.d.ts +2 -2
- package/src/internal/state-stream.d.ts +9 -9
- package/src/ivy/ivy-enabled-in-dev-mode.d.ts +6 -14
- package/src/module.d.ts +23 -23
- package/src/modules/ngxs-feature.module.d.ts +13 -13
- package/src/modules/ngxs-root.module.d.ts +13 -13
- package/src/operators/leave-ngxs.d.ts +7 -7
- package/src/operators/of-action.d.ts +43 -43
- package/src/plugin-manager.d.ts +10 -10
- package/src/plugin_api.d.ts +5 -5
- package/src/public_api.d.ts +17 -17
- package/src/public_to_deprecate.d.ts +21 -21
- package/src/state-token/state-token.d.ts +7 -7
- package/src/state-token/symbols.d.ts +5 -5
- package/src/store.d.ts +53 -53
- package/src/symbols.d.ts +135 -137
- package/src/utils/compose.d.ts +23 -23
- package/src/utils/freeze.d.ts +5 -5
- package/src/utils/selector-utils.d.ts +23 -23
- package/src/utils/store-validators.d.ts +7 -8
- package/src/utils/utils.d.ts +46 -46
- package/types/index.d.ts +2 -2
- package/esm2015/src/host-environment/host-environment.js +0 -31
- package/esm2015/src/internal/config-validator.js +0 -67
- package/esm2015/src/ivy/ensure-state-class-is-injectable.js +0 -34
- package/esm5/src/host-environment/host-environment.js +0 -29
- package/esm5/src/internal/config-validator.js +0 -76
- package/esm5/src/ivy/ensure-state-class-is-injectable.js +0 -34
- package/src/host-environment/host-environment.d.ts +0 -6
- package/src/internal/config-validator.d.ts +0 -10
- package/src/ivy/ensure-state-class-is-injectable.d.ts +0 -6
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Inject, Injectable, NgZone, PLATFORM_ID } from '@angular/core';
|
|
6
|
-
import { isPlatformServer } from '@angular/common';
|
|
7
|
-
import {
|
|
8
|
-
var DispatchOutsideZoneNgxsExecutionStrategy = /** @class */ (function () {
|
|
9
|
-
function DispatchOutsideZoneNgxsExecutionStrategy(_ngZone, _platformId) {
|
|
10
|
-
this._ngZone = _ngZone;
|
|
11
|
-
this._platformId = _platformId;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* @
|
|
21
|
-
* @
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
* @
|
|
37
|
-
* @
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
* @
|
|
51
|
-
* @
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
* @
|
|
69
|
-
* @
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Inject, Injectable, NgZone, PLATFORM_ID } from '@angular/core';
|
|
6
|
+
import { isPlatformServer } from '@angular/common';
|
|
7
|
+
import { getZoneWarningMessage } from '../configs/messages.config';
|
|
8
|
+
var DispatchOutsideZoneNgxsExecutionStrategy = /** @class */ (function () {
|
|
9
|
+
function DispatchOutsideZoneNgxsExecutionStrategy(_ngZone, _platformId) {
|
|
10
|
+
this._ngZone = _ngZone;
|
|
11
|
+
this._platformId = _platformId;
|
|
12
|
+
// Caretaker note: we have still left the `typeof` condition in order to avoid
|
|
13
|
+
// creating a breaking change for projects that still use the View Engine.
|
|
14
|
+
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
15
|
+
verifyZoneIsNotNooped(_ngZone);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @template T
|
|
20
|
+
* @param {?} func
|
|
21
|
+
* @return {?}
|
|
22
|
+
*/
|
|
23
|
+
DispatchOutsideZoneNgxsExecutionStrategy.prototype.enter = /**
|
|
24
|
+
* @template T
|
|
25
|
+
* @param {?} func
|
|
26
|
+
* @return {?}
|
|
27
|
+
*/
|
|
28
|
+
function (func) {
|
|
29
|
+
if (isPlatformServer(this._platformId)) {
|
|
30
|
+
return this.runInsideAngular(func);
|
|
31
|
+
}
|
|
32
|
+
return this.runOutsideAngular(func);
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @template T
|
|
36
|
+
* @param {?} func
|
|
37
|
+
* @return {?}
|
|
38
|
+
*/
|
|
39
|
+
DispatchOutsideZoneNgxsExecutionStrategy.prototype.leave = /**
|
|
40
|
+
* @template T
|
|
41
|
+
* @param {?} func
|
|
42
|
+
* @return {?}
|
|
43
|
+
*/
|
|
44
|
+
function (func) {
|
|
45
|
+
return this.runInsideAngular(func);
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @private
|
|
49
|
+
* @template T
|
|
50
|
+
* @param {?} func
|
|
51
|
+
* @return {?}
|
|
52
|
+
*/
|
|
53
|
+
DispatchOutsideZoneNgxsExecutionStrategy.prototype.runInsideAngular = /**
|
|
54
|
+
* @private
|
|
55
|
+
* @template T
|
|
56
|
+
* @param {?} func
|
|
57
|
+
* @return {?}
|
|
58
|
+
*/
|
|
59
|
+
function (func) {
|
|
60
|
+
if (NgZone.isInAngularZone()) {
|
|
61
|
+
return func();
|
|
62
|
+
}
|
|
63
|
+
return this._ngZone.run(func);
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @private
|
|
67
|
+
* @template T
|
|
68
|
+
* @param {?} func
|
|
69
|
+
* @return {?}
|
|
70
|
+
*/
|
|
71
|
+
DispatchOutsideZoneNgxsExecutionStrategy.prototype.runOutsideAngular = /**
|
|
72
|
+
* @private
|
|
73
|
+
* @template T
|
|
74
|
+
* @param {?} func
|
|
75
|
+
* @return {?}
|
|
76
|
+
*/
|
|
77
|
+
function (func) {
|
|
78
|
+
if (NgZone.isInAngularZone()) {
|
|
79
|
+
return this._ngZone.runOutsideAngular(func);
|
|
80
|
+
}
|
|
81
|
+
return func();
|
|
82
|
+
};
|
|
83
|
+
DispatchOutsideZoneNgxsExecutionStrategy.decorators = [
|
|
84
|
+
{ type: Injectable }
|
|
85
|
+
];
|
|
86
|
+
/** @nocollapse */
|
|
87
|
+
DispatchOutsideZoneNgxsExecutionStrategy.ctorParameters = function () { return [
|
|
88
|
+
{ type: NgZone },
|
|
89
|
+
{ type: String, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
|
|
90
|
+
]; };
|
|
91
|
+
return DispatchOutsideZoneNgxsExecutionStrategy;
|
|
92
|
+
}());
|
|
93
|
+
export { DispatchOutsideZoneNgxsExecutionStrategy };
|
|
94
|
+
if (false) {
|
|
95
|
+
/**
|
|
96
|
+
* @type {?}
|
|
97
|
+
* @private
|
|
98
|
+
*/
|
|
99
|
+
DispatchOutsideZoneNgxsExecutionStrategy.prototype._ngZone;
|
|
100
|
+
/**
|
|
101
|
+
* @type {?}
|
|
102
|
+
* @private
|
|
103
|
+
*/
|
|
104
|
+
DispatchOutsideZoneNgxsExecutionStrategy.prototype._platformId;
|
|
105
|
+
}
|
|
106
|
+
// Caretaker note: this should exist as a separate function and not a class method,
|
|
107
|
+
// since class methods are not tree-shakable.
|
|
108
|
+
/**
|
|
109
|
+
* @param {?} ngZone
|
|
110
|
+
* @return {?}
|
|
111
|
+
*/
|
|
112
|
+
function verifyZoneIsNotNooped(ngZone) {
|
|
113
|
+
// `NoopNgZone` is not exposed publicly as it doesn't expect
|
|
114
|
+
// to be used outside of the core Angular code, thus we just have
|
|
115
|
+
// to check if the zone doesn't extend or instanceof `NgZone`.
|
|
116
|
+
if (ngZone instanceof NgZone) {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
console.warn(getZoneWarningMessage());
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzcGF0Y2gtb3V0c2lkZS16b25lLW5neHMtZXhlY3V0aW9uLXN0cmF0ZWd5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neHMvc3RvcmUvIiwic291cmNlcyI6WyJzcmMvZXhlY3V0aW9uL2Rpc3BhdGNoLW91dHNpZGUtem9uZS1uZ3hzLWV4ZWN1dGlvbi1zdHJhdGVneS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUduRCxPQUFPLEVBQUUscUJ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XI8VD4oZnVuYzogKCkgPT4gVCk6IFQge1xuICAgIGlmIChOZ1pvbmUuaXNJbkFuZ3VsYXJab25lKCkpIHtcbiAgICAgIHJldHVybiB0aGlzLl9uZ1pvbmUucnVuT3V0c2lkZUFuZ3VsYXIoZnVuYyk7XG4gICAgfVxuICAgIHJldHVybiBmdW5jKCk7XG4gIH1cbn1cblxuLy8gQ2FyZXRha2VyIG5vdGU6IHRoaXMgc2hvdWxkIGV4aXN0IGFzIGEgc2VwYXJhdGUgZnVuY3Rpb24gYW5kIG5vdCBhIGNsYXNzIG1ldGhvZCxcbi8vIHNpbmNlIGNsYXNzIG1ldGhvZHMgYXJlIG5vdCB0cmVlLXNoYWthYmxlLlxuZnVuY3Rpb24gdmVyaWZ5Wm9uZUlzTm90Tm9vcGVkKG5nWm9uZTogTmdab25lKTogdm9pZCB7XG4gIC8vIGBOb29wTmdab25lYCBpcyBub3QgZXhwb3NlZCBwdWJsaWNseSBhcyBpdCBkb2Vzbid0IGV4cGVjdFxuICAvLyB0byBiZSB1c2VkIG91dHNpZGUgb2YgdGhlIGNvcmUgQW5ndWxhciBjb2RlLCB0aHVzIHdlIGp1c3QgaGF2ZVxuICAvLyB0byBjaGVjayBpZiB0aGUgem9uZSBkb2Vzbid0IGV4dGVuZCBvciBpbnN0YW5jZW9mIGBOZ1pvbmVgLlxuICBpZiAobmdab25lIGluc3RhbmNlb2YgTmdab25lKSB7XG4gICAgcmV0dXJuO1xuICB9XG5cbiAgY29uc29sZS53YXJuKGdldFpvbmVXYXJuaW5nTWVzc2FnZSgpKTtcbn1cbiJdfQ==
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Injectable, Inject } from '@angular/core';
|
|
6
|
-
import { NGXS_EXECUTION_STRATEGY } from './symbols';
|
|
7
|
-
var InternalNgxsExecutionStrategy = /** @class */ (function () {
|
|
8
|
-
function InternalNgxsExecutionStrategy(_executionStrategy) {
|
|
9
|
-
this._executionStrategy = _executionStrategy;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @template T
|
|
13
|
-
* @param {?} func
|
|
14
|
-
* @return {?}
|
|
15
|
-
*/
|
|
16
|
-
InternalNgxsExecutionStrategy.prototype.enter = /**
|
|
17
|
-
* @template T
|
|
18
|
-
* @param {?} func
|
|
19
|
-
* @return {?}
|
|
20
|
-
*/
|
|
21
|
-
function (func) {
|
|
22
|
-
return this._executionStrategy.enter(func);
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* @template T
|
|
26
|
-
* @param {?} func
|
|
27
|
-
* @return {?}
|
|
28
|
-
*/
|
|
29
|
-
InternalNgxsExecutionStrategy.prototype.leave = /**
|
|
30
|
-
* @template T
|
|
31
|
-
* @param {?} func
|
|
32
|
-
* @return {?}
|
|
33
|
-
*/
|
|
34
|
-
function (func) {
|
|
35
|
-
return this._executionStrategy.leave(func);
|
|
36
|
-
};
|
|
37
|
-
InternalNgxsExecutionStrategy.decorators = [
|
|
38
|
-
{ type: Injectable }
|
|
39
|
-
];
|
|
40
|
-
/** @nocollapse */
|
|
41
|
-
InternalNgxsExecutionStrategy.ctorParameters = function () { return [
|
|
42
|
-
{ type: undefined, decorators: [{ type: Inject, args: [NGXS_EXECUTION_STRATEGY,] }] }
|
|
43
|
-
]; };
|
|
44
|
-
return InternalNgxsExecutionStrategy;
|
|
45
|
-
}());
|
|
46
|
-
export { InternalNgxsExecutionStrategy };
|
|
47
|
-
if (false) {
|
|
48
|
-
/**
|
|
49
|
-
* @type {?}
|
|
50
|
-
* @private
|
|
51
|
-
*/
|
|
52
|
-
InternalNgxsExecutionStrategy.prototype._executionStrategy;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Injectable, Inject } from '@angular/core';
|
|
6
|
+
import { NGXS_EXECUTION_STRATEGY } from './symbols';
|
|
7
|
+
var InternalNgxsExecutionStrategy = /** @class */ (function () {
|
|
8
|
+
function InternalNgxsExecutionStrategy(_executionStrategy) {
|
|
9
|
+
this._executionStrategy = _executionStrategy;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @template T
|
|
13
|
+
* @param {?} func
|
|
14
|
+
* @return {?}
|
|
15
|
+
*/
|
|
16
|
+
InternalNgxsExecutionStrategy.prototype.enter = /**
|
|
17
|
+
* @template T
|
|
18
|
+
* @param {?} func
|
|
19
|
+
* @return {?}
|
|
20
|
+
*/
|
|
21
|
+
function (func) {
|
|
22
|
+
return this._executionStrategy.enter(func);
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @template T
|
|
26
|
+
* @param {?} func
|
|
27
|
+
* @return {?}
|
|
28
|
+
*/
|
|
29
|
+
InternalNgxsExecutionStrategy.prototype.leave = /**
|
|
30
|
+
* @template T
|
|
31
|
+
* @param {?} func
|
|
32
|
+
* @return {?}
|
|
33
|
+
*/
|
|
34
|
+
function (func) {
|
|
35
|
+
return this._executionStrategy.leave(func);
|
|
36
|
+
};
|
|
37
|
+
InternalNgxsExecutionStrategy.decorators = [
|
|
38
|
+
{ type: Injectable }
|
|
39
|
+
];
|
|
40
|
+
/** @nocollapse */
|
|
41
|
+
InternalNgxsExecutionStrategy.ctorParameters = function () { return [
|
|
42
|
+
{ type: undefined, decorators: [{ type: Inject, args: [NGXS_EXECUTION_STRATEGY,] }] }
|
|
43
|
+
]; };
|
|
44
|
+
return InternalNgxsExecutionStrategy;
|
|
45
|
+
}());
|
|
46
|
+
export { InternalNgxsExecutionStrategy };
|
|
47
|
+
if (false) {
|
|
48
|
+
/**
|
|
49
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plY3QgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgTmd4c0V4ZWN1dGlvblN0cmF0ZWd5LCBOR1hTX0VYRUNVVElPTl9TVFJBVEVHWSB9IGZyb20gJy4vc3ltYm9scyc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBJbnRlcm5hbE5neHNFeGVjdXRpb25TdHJhdGVneSBpbXBsZW1lbnRzIE5neHNFeGVjdXRpb25TdHJhdGVneSB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIEBJbmplY3QoTkdYU19FWEVDVVRJT05fU1RSQVRFR1kpIHByaXZhdGUgX2V4ZWN1dGlvblN0cmF0ZWd5OiBOZ3hzRXhlY3V0aW9uU3RyYXRlZ3lcbiAgKSB7fVxuXG4gIGVudGVyPFQ+KGZ1bmM6ICgpID0+IFQpOiBUIHtcbiAgICByZXR1cm4gdGhpcy5fZXhlY3V0aW9uU3RyYXRlZ3kuZW50ZXIoZnVuYyk7XG4gIH1cblxuICBsZWF2ZTxUPihmdW5jOiAoKSA9PiBUKTogVCB7XG4gICAgcmV0dXJuIHRoaXMuX2V4ZWN1dGlvblN0cmF0ZWd5LmxlYXZlKGZ1bmMpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
var NoopNgxsExecutionStrategy = /** @class */ (function () {
|
|
7
|
-
function NoopNgxsExecutionStrategy() {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @template T
|
|
11
|
-
* @param {?} func
|
|
12
|
-
* @return {?}
|
|
13
|
-
*/
|
|
14
|
-
NoopNgxsExecutionStrategy.prototype.enter = /**
|
|
15
|
-
* @template T
|
|
16
|
-
* @param {?} func
|
|
17
|
-
* @return {?}
|
|
18
|
-
*/
|
|
19
|
-
function (func) {
|
|
20
|
-
return func();
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @template T
|
|
24
|
-
* @param {?} func
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
NoopNgxsExecutionStrategy.prototype.leave = /**
|
|
28
|
-
* @template T
|
|
29
|
-
* @param {?} func
|
|
30
|
-
* @return {?}
|
|
31
|
-
*/
|
|
32
|
-
function (func) {
|
|
33
|
-
return func();
|
|
34
|
-
};
|
|
35
|
-
NoopNgxsExecutionStrategy.decorators = [
|
|
36
|
-
{ type: Injectable }
|
|
37
|
-
];
|
|
38
|
-
return NoopNgxsExecutionStrategy;
|
|
39
|
-
}());
|
|
40
|
-
export { NoopNgxsExecutionStrategy };
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
6
|
+
var NoopNgxsExecutionStrategy = /** @class */ (function () {
|
|
7
|
+
function NoopNgxsExecutionStrategy() {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @template T
|
|
11
|
+
* @param {?} func
|
|
12
|
+
* @return {?}
|
|
13
|
+
*/
|
|
14
|
+
NoopNgxsExecutionStrategy.prototype.enter = /**
|
|
15
|
+
* @template T
|
|
16
|
+
* @param {?} func
|
|
17
|
+
* @return {?}
|
|
18
|
+
*/
|
|
19
|
+
function (func) {
|
|
20
|
+
return func();
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @template T
|
|
24
|
+
* @param {?} func
|
|
25
|
+
* @return {?}
|
|
26
|
+
*/
|
|
27
|
+
NoopNgxsExecutionStrategy.prototype.leave = /**
|
|
28
|
+
* @template T
|
|
29
|
+
* @param {?} func
|
|
30
|
+
* @return {?}
|
|
31
|
+
*/
|
|
32
|
+
function (func) {
|
|
33
|
+
return func();
|
|
34
|
+
};
|
|
35
|
+
NoopNgxsExecutionStrategy.decorators = [
|
|
36
|
+
{ type: Injectable }
|
|
37
|
+
];
|
|
38
|
+
return NoopNgxsExecutionStrategy;
|
|
39
|
+
}());
|
|
40
|
+
export { NoopNgxsExecutionStrategy };
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9vcC1uZ3hzLWV4ZWN1dGlvbi1zdHJhdGVneS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3hzL3N0b3JlLyIsInNvdXJjZXMiOlsic3JjL2V4ZWN1dGlvbi9ub29wLW5neHMtZXhlY3V0aW9uLXN0cmF0ZWd5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSTNDO0lBQUE7SUFTQSxDQUFDOzs7Ozs7SUFQQyx5Q0FBSzs7Ozs7SUFBTCxVQUFTLElBQWE7UUFDcEIsT0FBTyxJQUFJLEVBQUUsQ0FBQztJQUNoQixDQUFDOzs7Ozs7SUFFRCx5Q0FBSzs7Ozs7SUFBTCxVQUFTLElBQWE7UUFDcEIsT0FBTyxJQUFJLEVBQUUsQ0FBQztJQUNoQixDQUFDOztnQkFSRixVQUFVOztJQVNYLGdDQUFDO0NBQUEsQUFURCxJQVNDO1NBUlkseUJBQXlCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBOZ3hzRXhlY3V0aW9uU3RyYXRlZ3kgfSBmcm9tICcuL3N5bWJvbHMnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgTm9vcE5neHNFeGVjdXRpb25TdHJhdGVneSBpbXBsZW1lbnRzIE5neHNFeGVjdXRpb25TdHJhdGVneSB7XG4gIGVudGVyPFQ+KGZ1bmM6ICgpID0+IFQpOiBUIHtcbiAgICByZXR1cm4gZnVuYygpO1xuICB9XG5cbiAgbGVhdmU8VD4oZnVuYzogKCkgPT4gVCk6IFQge1xuICAgIHJldHVybiBmdW5jKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { InjectionToken } from '@angular/core';
|
|
6
|
-
/*
|
|
7
|
-
* Internal execution strategy injection token
|
|
8
|
-
*/
|
|
9
|
-
/** @type {?} */
|
|
10
|
-
export var NGXS_EXECUTION_STRATEGY = new InjectionToken('NGXS_EXECUTION_STRATEGY');
|
|
11
|
-
/**
|
|
12
|
-
* @record
|
|
13
|
-
*/
|
|
14
|
-
export function NgxsExecutionStrategy() { }
|
|
15
|
-
if (false) {
|
|
16
|
-
/**
|
|
17
|
-
* @template T
|
|
18
|
-
* @param {?} func
|
|
19
|
-
* @return {?}
|
|
20
|
-
*/
|
|
21
|
-
NgxsExecutionStrategy.prototype.enter = function (func) { };
|
|
22
|
-
/**
|
|
23
|
-
* @template T
|
|
24
|
-
* @param {?} func
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
NgxsExecutionStrategy.prototype.leave = function (func) { };
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { InjectionToken } from '@angular/core';
|
|
6
|
+
/*
|
|
7
|
+
* Internal execution strategy injection token
|
|
8
|
+
*/
|
|
9
|
+
/** @type {?} */
|
|
10
|
+
export var NGXS_EXECUTION_STRATEGY = new InjectionToken('NGXS_EXECUTION_STRATEGY');
|
|
11
|
+
/**
|
|
12
|
+
* @record
|
|
13
|
+
*/
|
|
14
|
+
export function NgxsExecutionStrategy() { }
|
|
15
|
+
if (false) {
|
|
16
|
+
/**
|
|
17
|
+
* @template T
|
|
18
|
+
* @param {?} func
|
|
19
|
+
* @return {?}
|
|
20
|
+
*/
|
|
21
|
+
NgxsExecutionStrategy.prototype.enter = function (func) { };
|
|
22
|
+
/**
|
|
23
|
+
* @template T
|
|
24
|
+
* @param {?} func
|
|
25
|
+
* @return {?}
|
|
26
|
+
*/
|
|
27
|
+
NgxsExecutionStrategy.prototype.leave = function (func) { };
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ltYm9scy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3hzL3N0b3JlLyIsInNvdXJjZXMiOlsic3JjL2V4ZWN1dGlvbi9zeW1ib2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQUsvQyxNQUFNLEtBQU8sdUJBQXVCLEdBQUcsSUFBSSxjQUFjLENBQ3ZELHlCQUF5QixDQUMxQjs7OztBQUtELDJDQUdDOzs7Ozs7O0lBRkMsNERBQTJCOzs7Ozs7SUFDM0IsNERBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLypcbiAqIEludGVybmFsIGV4ZWN1dGlvbiBzdHJhdGVneSBpbmplY3Rpb24gdG9rZW5cbiAqL1xuZXhwb3J0IGNvbnN0IE5HWFNfRVhFQ1VUSU9OX1NUUkFURUdZID0gbmV3IEluamVjdGlvblRva2VuPE5neHNFeGVjdXRpb25TdHJhdGVneT4oXG4gICdOR1hTX0VYRUNVVElPTl9TVFJBVEVHWSdcbik7XG5cbi8qXG4gKiBFeGVjdXRpb24gc3RyYXRlZ3kgaW50ZXJmYWNlXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgTmd4c0V4ZWN1dGlvblN0cmF0ZWd5IHtcbiAgZW50ZXI8VD4oZnVuYzogKCkgPT4gVCk6IFQ7XG4gIGxlYXZlPFQ+KGZ1bmM6ICgpID0+IFQpOiBUO1xufVxuIl19
|