@ngxs/router-plugin 3.7.4 → 3.7.5
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 +4 -4
- package/bundles/ngxs-router-plugin.umd.js +751 -854
- package/bundles/ngxs-router-plugin.umd.js.map +1 -1
- package/bundles/ngxs-router-plugin.umd.min.js +2 -2
- package/bundles/ngxs-router-plugin.umd.min.js.map +1 -1
- package/esm2015/index.js +9 -9
- package/esm2015/ngxs-router-plugin.js +8 -8
- package/esm2015/src/public_api.js +9 -9
- package/esm2015/src/router.actions.js +172 -172
- package/esm2015/src/router.module.js +25 -25
- package/esm2015/src/router.state.js +368 -463
- package/esm2015/src/serializer.js +72 -72
- package/esm5/index.js +9 -9
- package/esm5/ngxs-router-plugin.js +8 -8
- package/esm5/src/public_api.js +9 -9
- package/esm5/src/router.actions.js +227 -227
- package/esm5/src/router.module.js +32 -32
- package/esm5/src/router.state.js +446 -552
- package/esm5/src/serializer.js +98 -98
- package/fesm2015/ngxs-router-plugin.js +623 -718
- package/fesm2015/ngxs-router-plugin.js.map +1 -1
- package/fesm5/ngxs-router-plugin.js +757 -863
- package/fesm5/ngxs-router-plugin.js.map +1 -1
- package/index.d.ts +4 -4
- package/ngxs-router-plugin.d.ts +5 -5
- package/ngxs-router-plugin.metadata.json +1 -1
- package/package.json +2 -2
- package/src/public_api.d.ts +4 -4
- package/src/router.actions.d.ts +63 -63
- package/src/router.module.d.ts +4 -4
- package/src/router.state.d.ts +50 -60
- package/src/serializer.d.ts +12 -12
|
@@ -1,227 +1,227 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Public event api of the router
|
|
7
|
-
*/
|
|
8
|
-
var /**
|
|
9
|
-
* Public event api of the router
|
|
10
|
-
*/
|
|
11
|
-
Navigate = /** @class */ (function () {
|
|
12
|
-
function Navigate(path, queryParams, extras) {
|
|
13
|
-
this.path = path;
|
|
14
|
-
this.queryParams = queryParams;
|
|
15
|
-
this.extras = extras;
|
|
16
|
-
}
|
|
17
|
-
Object.defineProperty(Navigate, "type", {
|
|
18
|
-
get: /**
|
|
19
|
-
* @return {?}
|
|
20
|
-
*/
|
|
21
|
-
function () {
|
|
22
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
23
|
-
return '[Router] Navigate';
|
|
24
|
-
},
|
|
25
|
-
enumerable: true,
|
|
26
|
-
configurable: true
|
|
27
|
-
});
|
|
28
|
-
return Navigate;
|
|
29
|
-
}());
|
|
30
|
-
/**
|
|
31
|
-
* Public event api of the router
|
|
32
|
-
*/
|
|
33
|
-
export { Navigate };
|
|
34
|
-
if (false) {
|
|
35
|
-
/** @type {?} */
|
|
36
|
-
Navigate.prototype.path;
|
|
37
|
-
/** @type {?} */
|
|
38
|
-
Navigate.prototype.queryParams;
|
|
39
|
-
/** @type {?} */
|
|
40
|
-
Navigate.prototype.extras;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* Angular Routers internal state events
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
/**
|
|
48
|
-
* An action dispatched when the router navigates.
|
|
49
|
-
* @template T
|
|
50
|
-
*/
|
|
51
|
-
var /**
|
|
52
|
-
*
|
|
53
|
-
* Angular Routers internal state events
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
/**
|
|
57
|
-
* An action dispatched when the router navigates.
|
|
58
|
-
* @template T
|
|
59
|
-
*/
|
|
60
|
-
RouterNavigation = /** @class */ (function () {
|
|
61
|
-
function RouterNavigation(routerState, event, trigger) {
|
|
62
|
-
if (trigger === void 0) { trigger = 'none'; }
|
|
63
|
-
this.routerState = routerState;
|
|
64
|
-
this.event = event;
|
|
65
|
-
this.trigger = trigger;
|
|
66
|
-
}
|
|
67
|
-
Object.defineProperty(RouterNavigation, "type", {
|
|
68
|
-
get: /**
|
|
69
|
-
* @return {?}
|
|
70
|
-
*/
|
|
71
|
-
function () {
|
|
72
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
73
|
-
return '[Router] RouterNavigation';
|
|
74
|
-
},
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true
|
|
77
|
-
});
|
|
78
|
-
return RouterNavigation;
|
|
79
|
-
}());
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* Angular Routers internal state events
|
|
83
|
-
*
|
|
84
|
-
*/
|
|
85
|
-
/**
|
|
86
|
-
* An action dispatched when the router navigates.
|
|
87
|
-
* @template T
|
|
88
|
-
*/
|
|
89
|
-
export { RouterNavigation };
|
|
90
|
-
if (false) {
|
|
91
|
-
/** @type {?} */
|
|
92
|
-
RouterNavigation.prototype.routerState;
|
|
93
|
-
/** @type {?} */
|
|
94
|
-
RouterNavigation.prototype.event;
|
|
95
|
-
/** @type {?} */
|
|
96
|
-
RouterNavigation.prototype.trigger;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* An action dispatched when the router cancel navigation.
|
|
100
|
-
* @template T, V
|
|
101
|
-
*/
|
|
102
|
-
var /**
|
|
103
|
-
* An action dispatched when the router cancel navigation.
|
|
104
|
-
* @template T, V
|
|
105
|
-
*/
|
|
106
|
-
RouterCancel = /** @class */ (function () {
|
|
107
|
-
function RouterCancel(routerState, storeState, event, trigger) {
|
|
108
|
-
if (trigger === void 0) { trigger = 'none'; }
|
|
109
|
-
this.routerState = routerState;
|
|
110
|
-
this.storeState = storeState;
|
|
111
|
-
this.event = event;
|
|
112
|
-
this.trigger = trigger;
|
|
113
|
-
}
|
|
114
|
-
Object.defineProperty(RouterCancel, "type", {
|
|
115
|
-
get: /**
|
|
116
|
-
* @return {?}
|
|
117
|
-
*/
|
|
118
|
-
function () {
|
|
119
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
120
|
-
return '[Router] RouterCancel';
|
|
121
|
-
},
|
|
122
|
-
enumerable: true,
|
|
123
|
-
configurable: true
|
|
124
|
-
});
|
|
125
|
-
return RouterCancel;
|
|
126
|
-
}());
|
|
127
|
-
/**
|
|
128
|
-
* An action dispatched when the router cancel navigation.
|
|
129
|
-
* @template T, V
|
|
130
|
-
*/
|
|
131
|
-
export { RouterCancel };
|
|
132
|
-
if (false) {
|
|
133
|
-
/** @type {?} */
|
|
134
|
-
RouterCancel.prototype.routerState;
|
|
135
|
-
/** @type {?} */
|
|
136
|
-
RouterCancel.prototype.storeState;
|
|
137
|
-
/** @type {?} */
|
|
138
|
-
RouterCancel.prototype.event;
|
|
139
|
-
/** @type {?} */
|
|
140
|
-
RouterCancel.prototype.trigger;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* An action dispatched when the router errors.
|
|
144
|
-
* @template T, V
|
|
145
|
-
*/
|
|
146
|
-
var /**
|
|
147
|
-
* An action dispatched when the router errors.
|
|
148
|
-
* @template T, V
|
|
149
|
-
*/
|
|
150
|
-
RouterError = /** @class */ (function () {
|
|
151
|
-
function RouterError(routerState, storeState, event, trigger) {
|
|
152
|
-
if (trigger === void 0) { trigger = 'none'; }
|
|
153
|
-
this.routerState = routerState;
|
|
154
|
-
this.storeState = storeState;
|
|
155
|
-
this.event = event;
|
|
156
|
-
this.trigger = trigger;
|
|
157
|
-
}
|
|
158
|
-
Object.defineProperty(RouterError, "type", {
|
|
159
|
-
get: /**
|
|
160
|
-
* @return {?}
|
|
161
|
-
*/
|
|
162
|
-
function () {
|
|
163
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
164
|
-
return '[Router] RouterError';
|
|
165
|
-
},
|
|
166
|
-
enumerable: true,
|
|
167
|
-
configurable: true
|
|
168
|
-
});
|
|
169
|
-
return RouterError;
|
|
170
|
-
}());
|
|
171
|
-
/**
|
|
172
|
-
* An action dispatched when the router errors.
|
|
173
|
-
* @template T, V
|
|
174
|
-
*/
|
|
175
|
-
export { RouterError };
|
|
176
|
-
if (false) {
|
|
177
|
-
/** @type {?} */
|
|
178
|
-
RouterError.prototype.routerState;
|
|
179
|
-
/** @type {?} */
|
|
180
|
-
RouterError.prototype.storeState;
|
|
181
|
-
/** @type {?} */
|
|
182
|
-
RouterError.prototype.event;
|
|
183
|
-
/** @type {?} */
|
|
184
|
-
RouterError.prototype.trigger;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* An action dispatched when the `ResolveEnd` event is triggered.
|
|
188
|
-
* @template T
|
|
189
|
-
*/
|
|
190
|
-
var /**
|
|
191
|
-
* An action dispatched when the `ResolveEnd` event is triggered.
|
|
192
|
-
* @template T
|
|
193
|
-
*/
|
|
194
|
-
RouterDataResolved = /** @class */ (function () {
|
|
195
|
-
function RouterDataResolved(routerState, event, trigger) {
|
|
196
|
-
if (trigger === void 0) { trigger = 'none'; }
|
|
197
|
-
this.routerState = routerState;
|
|
198
|
-
this.event = event;
|
|
199
|
-
this.trigger = trigger;
|
|
200
|
-
}
|
|
201
|
-
Object.defineProperty(RouterDataResolved, "type", {
|
|
202
|
-
get: /**
|
|
203
|
-
* @return {?}
|
|
204
|
-
*/
|
|
205
|
-
function () {
|
|
206
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
207
|
-
return '[Router] RouterDataResolved';
|
|
208
|
-
},
|
|
209
|
-
enumerable: true,
|
|
210
|
-
configurable: true
|
|
211
|
-
});
|
|
212
|
-
return RouterDataResolved;
|
|
213
|
-
}());
|
|
214
|
-
/**
|
|
215
|
-
* An action dispatched when the `ResolveEnd` event is triggered.
|
|
216
|
-
* @template T
|
|
217
|
-
*/
|
|
218
|
-
export { RouterDataResolved };
|
|
219
|
-
if (false) {
|
|
220
|
-
/** @type {?} */
|
|
221
|
-
RouterDataResolved.prototype.routerState;
|
|
222
|
-
/** @type {?} */
|
|
223
|
-
RouterDataResolved.prototype.event;
|
|
224
|
-
/** @type {?} */
|
|
225
|
-
RouterDataResolved.prototype.trigger;
|
|
226
|
-
}
|
|
227
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Public event api of the router
|
|
7
|
+
*/
|
|
8
|
+
var /**
|
|
9
|
+
* Public event api of the router
|
|
10
|
+
*/
|
|
11
|
+
Navigate = /** @class */ (function () {
|
|
12
|
+
function Navigate(path, queryParams, extras) {
|
|
13
|
+
this.path = path;
|
|
14
|
+
this.queryParams = queryParams;
|
|
15
|
+
this.extras = extras;
|
|
16
|
+
}
|
|
17
|
+
Object.defineProperty(Navigate, "type", {
|
|
18
|
+
get: /**
|
|
19
|
+
* @return {?}
|
|
20
|
+
*/
|
|
21
|
+
function () {
|
|
22
|
+
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
23
|
+
return '[Router] Navigate';
|
|
24
|
+
},
|
|
25
|
+
enumerable: true,
|
|
26
|
+
configurable: true
|
|
27
|
+
});
|
|
28
|
+
return Navigate;
|
|
29
|
+
}());
|
|
30
|
+
/**
|
|
31
|
+
* Public event api of the router
|
|
32
|
+
*/
|
|
33
|
+
export { Navigate };
|
|
34
|
+
if (false) {
|
|
35
|
+
/** @type {?} */
|
|
36
|
+
Navigate.prototype.path;
|
|
37
|
+
/** @type {?} */
|
|
38
|
+
Navigate.prototype.queryParams;
|
|
39
|
+
/** @type {?} */
|
|
40
|
+
Navigate.prototype.extras;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* Angular Routers internal state events
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* An action dispatched when the router navigates.
|
|
49
|
+
* @template T
|
|
50
|
+
*/
|
|
51
|
+
var /**
|
|
52
|
+
*
|
|
53
|
+
* Angular Routers internal state events
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* An action dispatched when the router navigates.
|
|
58
|
+
* @template T
|
|
59
|
+
*/
|
|
60
|
+
RouterNavigation = /** @class */ (function () {
|
|
61
|
+
function RouterNavigation(routerState, event, trigger) {
|
|
62
|
+
if (trigger === void 0) { trigger = 'none'; }
|
|
63
|
+
this.routerState = routerState;
|
|
64
|
+
this.event = event;
|
|
65
|
+
this.trigger = trigger;
|
|
66
|
+
}
|
|
67
|
+
Object.defineProperty(RouterNavigation, "type", {
|
|
68
|
+
get: /**
|
|
69
|
+
* @return {?}
|
|
70
|
+
*/
|
|
71
|
+
function () {
|
|
72
|
+
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
73
|
+
return '[Router] RouterNavigation';
|
|
74
|
+
},
|
|
75
|
+
enumerable: true,
|
|
76
|
+
configurable: true
|
|
77
|
+
});
|
|
78
|
+
return RouterNavigation;
|
|
79
|
+
}());
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* Angular Routers internal state events
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* An action dispatched when the router navigates.
|
|
87
|
+
* @template T
|
|
88
|
+
*/
|
|
89
|
+
export { RouterNavigation };
|
|
90
|
+
if (false) {
|
|
91
|
+
/** @type {?} */
|
|
92
|
+
RouterNavigation.prototype.routerState;
|
|
93
|
+
/** @type {?} */
|
|
94
|
+
RouterNavigation.prototype.event;
|
|
95
|
+
/** @type {?} */
|
|
96
|
+
RouterNavigation.prototype.trigger;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* An action dispatched when the router cancel navigation.
|
|
100
|
+
* @template T, V
|
|
101
|
+
*/
|
|
102
|
+
var /**
|
|
103
|
+
* An action dispatched when the router cancel navigation.
|
|
104
|
+
* @template T, V
|
|
105
|
+
*/
|
|
106
|
+
RouterCancel = /** @class */ (function () {
|
|
107
|
+
function RouterCancel(routerState, storeState, event, trigger) {
|
|
108
|
+
if (trigger === void 0) { trigger = 'none'; }
|
|
109
|
+
this.routerState = routerState;
|
|
110
|
+
this.storeState = storeState;
|
|
111
|
+
this.event = event;
|
|
112
|
+
this.trigger = trigger;
|
|
113
|
+
}
|
|
114
|
+
Object.defineProperty(RouterCancel, "type", {
|
|
115
|
+
get: /**
|
|
116
|
+
* @return {?}
|
|
117
|
+
*/
|
|
118
|
+
function () {
|
|
119
|
+
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
120
|
+
return '[Router] RouterCancel';
|
|
121
|
+
},
|
|
122
|
+
enumerable: true,
|
|
123
|
+
configurable: true
|
|
124
|
+
});
|
|
125
|
+
return RouterCancel;
|
|
126
|
+
}());
|
|
127
|
+
/**
|
|
128
|
+
* An action dispatched when the router cancel navigation.
|
|
129
|
+
* @template T, V
|
|
130
|
+
*/
|
|
131
|
+
export { RouterCancel };
|
|
132
|
+
if (false) {
|
|
133
|
+
/** @type {?} */
|
|
134
|
+
RouterCancel.prototype.routerState;
|
|
135
|
+
/** @type {?} */
|
|
136
|
+
RouterCancel.prototype.storeState;
|
|
137
|
+
/** @type {?} */
|
|
138
|
+
RouterCancel.prototype.event;
|
|
139
|
+
/** @type {?} */
|
|
140
|
+
RouterCancel.prototype.trigger;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* An action dispatched when the router errors.
|
|
144
|
+
* @template T, V
|
|
145
|
+
*/
|
|
146
|
+
var /**
|
|
147
|
+
* An action dispatched when the router errors.
|
|
148
|
+
* @template T, V
|
|
149
|
+
*/
|
|
150
|
+
RouterError = /** @class */ (function () {
|
|
151
|
+
function RouterError(routerState, storeState, event, trigger) {
|
|
152
|
+
if (trigger === void 0) { trigger = 'none'; }
|
|
153
|
+
this.routerState = routerState;
|
|
154
|
+
this.storeState = storeState;
|
|
155
|
+
this.event = event;
|
|
156
|
+
this.trigger = trigger;
|
|
157
|
+
}
|
|
158
|
+
Object.defineProperty(RouterError, "type", {
|
|
159
|
+
get: /**
|
|
160
|
+
* @return {?}
|
|
161
|
+
*/
|
|
162
|
+
function () {
|
|
163
|
+
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
164
|
+
return '[Router] RouterError';
|
|
165
|
+
},
|
|
166
|
+
enumerable: true,
|
|
167
|
+
configurable: true
|
|
168
|
+
});
|
|
169
|
+
return RouterError;
|
|
170
|
+
}());
|
|
171
|
+
/**
|
|
172
|
+
* An action dispatched when the router errors.
|
|
173
|
+
* @template T, V
|
|
174
|
+
*/
|
|
175
|
+
export { RouterError };
|
|
176
|
+
if (false) {
|
|
177
|
+
/** @type {?} */
|
|
178
|
+
RouterError.prototype.routerState;
|
|
179
|
+
/** @type {?} */
|
|
180
|
+
RouterError.prototype.storeState;
|
|
181
|
+
/** @type {?} */
|
|
182
|
+
RouterError.prototype.event;
|
|
183
|
+
/** @type {?} */
|
|
184
|
+
RouterError.prototype.trigger;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* An action dispatched when the `ResolveEnd` event is triggered.
|
|
188
|
+
* @template T
|
|
189
|
+
*/
|
|
190
|
+
var /**
|
|
191
|
+
* An action dispatched when the `ResolveEnd` event is triggered.
|
|
192
|
+
* @template T
|
|
193
|
+
*/
|
|
194
|
+
RouterDataResolved = /** @class */ (function () {
|
|
195
|
+
function RouterDataResolved(routerState, event, trigger) {
|
|
196
|
+
if (trigger === void 0) { trigger = 'none'; }
|
|
197
|
+
this.routerState = routerState;
|
|
198
|
+
this.event = event;
|
|
199
|
+
this.trigger = trigger;
|
|
200
|
+
}
|
|
201
|
+
Object.defineProperty(RouterDataResolved, "type", {
|
|
202
|
+
get: /**
|
|
203
|
+
* @return {?}
|
|
204
|
+
*/
|
|
205
|
+
function () {
|
|
206
|
+
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
207
|
+
return '[Router] RouterDataResolved';
|
|
208
|
+
},
|
|
209
|
+
enumerable: true,
|
|
210
|
+
configurable: true
|
|
211
|
+
});
|
|
212
|
+
return RouterDataResolved;
|
|
213
|
+
}());
|
|
214
|
+
/**
|
|
215
|
+
* An action dispatched when the `ResolveEnd` event is triggered.
|
|
216
|
+
* @template T
|
|
217
|
+
*/
|
|
218
|
+
export { RouterDataResolved };
|
|
219
|
+
if (false) {
|
|
220
|
+
/** @type {?} */
|
|
221
|
+
RouterDataResolved.prototype.routerState;
|
|
222
|
+
/** @type {?} */
|
|
223
|
+
RouterDataResolved.prototype.event;
|
|
224
|
+
/** @type {?} */
|
|
225
|
+
RouterDataResolved.prototype.trigger;
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmd4cy9yb3V0ZXItcGx1Z2luLyIsInNvdXJjZXMiOlsic3JjL3JvdXRlci5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFlQTs7OztJQUtFLGtCQUNTLElBQVcsRUFDWCxXQUFvQixFQUNwQixNQUF5QjtRQUZ6QixTQUFJLEdBQUosSUFBSSxDQUFPO1FBQ1gsZ0JBQVcsR0FBWCxXQUFXLENBQVM7UUFDcEIsV0FBTSxHQUFOLE1BQU0sQ0FBbUI7SUFDL0IsQ0FBQztJQVJKLHNCQUFXLGdCQUFJOzs7O1FBQWY7WUFDRSxzSUFBc0k7WUFDdEksT0FBTyxtQkFBbUIsQ0FBQztRQUM3QixDQUFDOzs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gICAgcmV0dXJuICdbUm91dGVyXSBSb3V0ZXJEYXRhUmVzb2x2ZWQnO1xuICB9XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyByb3V0ZXJTdGF0ZTogVCxcbiAgICBwdWJsaWMgZXZlbnQ6IFJlc29sdmVFbmQsXG4gICAgcHVibGljIHRyaWdnZXI6IFJvdXRlclRyaWdnZXIgPSAnbm9uZSdcbiAgKSB7fVxufVxuXG4vKipcbiAqIEFuIHVuaW9uIHR5cGUgb2Ygcm91dGVyIGFjdGlvbnMuXG4gKi9cbmV4cG9ydCB0eXBlIFJvdXRlckFjdGlvbjxULCBWID0gUm91dGVyU3RhdGVTbmFwc2hvdD4gPVxuICB8IFJvdXRlck5hdmlnYXRpb248Vj5cbiAgfCBSb3V0ZXJDYW5jZWw8VCwgVj5cbiAgfCBSb3V0ZXJFcnJvcjxULCBWPlxuICB8IFJvdXRlckRhdGFSZXNvbHZlZDxWPjtcbiJdfQ==
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { NgxsModule } from '@ngxs/store';
|
|
7
|
-
import { RouterState } from './router.state';
|
|
8
|
-
import { DefaultRouterStateSerializer, RouterStateSerializer } from './serializer';
|
|
9
|
-
var NgxsRouterPluginModule = /** @class */ (function () {
|
|
10
|
-
function NgxsRouterPluginModule() {
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @return {?}
|
|
14
|
-
*/
|
|
15
|
-
NgxsRouterPluginModule.forRoot = /**
|
|
16
|
-
* @return {?}
|
|
17
|
-
*/
|
|
18
|
-
function () {
|
|
19
|
-
return {
|
|
20
|
-
ngModule: NgxsRouterPluginModule,
|
|
21
|
-
providers: [{ provide: RouterStateSerializer, useClass: DefaultRouterStateSerializer }]
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
NgxsRouterPluginModule.decorators = [
|
|
25
|
-
{ type: NgModule, args: [{
|
|
26
|
-
imports: [NgxsModule.forFeature([RouterState])]
|
|
27
|
-
},] }
|
|
28
|
-
];
|
|
29
|
-
return NgxsRouterPluginModule;
|
|
30
|
-
}());
|
|
31
|
-
export { NgxsRouterPluginModule };
|
|
32
|
-
//# 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 { NgModule } from '@angular/core';
|
|
6
|
+
import { NgxsModule } from '@ngxs/store';
|
|
7
|
+
import { RouterState } from './router.state';
|
|
8
|
+
import { DefaultRouterStateSerializer, RouterStateSerializer } from './serializer';
|
|
9
|
+
var NgxsRouterPluginModule = /** @class */ (function () {
|
|
10
|
+
function NgxsRouterPluginModule() {
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @return {?}
|
|
14
|
+
*/
|
|
15
|
+
NgxsRouterPluginModule.forRoot = /**
|
|
16
|
+
* @return {?}
|
|
17
|
+
*/
|
|
18
|
+
function () {
|
|
19
|
+
return {
|
|
20
|
+
ngModule: NgxsRouterPluginModule,
|
|
21
|
+
providers: [{ provide: RouterStateSerializer, useClass: DefaultRouterStateSerializer }]
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
NgxsRouterPluginModule.decorators = [
|
|
25
|
+
{ type: NgModule, args: [{
|
|
26
|
+
imports: [NgxsModule.forFeature([RouterState])]
|
|
27
|
+
},] }
|
|
28
|
+
];
|
|
29
|
+
return NgxsRouterPluginModule;
|
|
30
|
+
}());
|
|
31
|
+
export { NgxsRouterPluginModule };
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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