@coolon/angular-ui-powerups 0.0.44 → 0.0.47

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.
Files changed (53) hide show
  1. package/bundles/coolon-angular-ui-powerups.umd.js +489 -167
  2. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  3. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  5. package/coolon-angular-ui-powerups.metadata.json +1 -1
  6. package/esm2015/coolon-angular-ui-powerups.js +2 -2
  7. package/esm2015/index.js +2 -2
  8. package/esm2015/lib/interaction/abstract-activity.js +3 -9
  9. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +17 -12
  10. package/esm2015/lib/place/guards/place-route.guard.js +4 -4
  11. package/esm2015/lib/place/index.js +1 -2
  12. package/esm2015/lib/place/place-component.js +2 -2
  13. package/esm2015/lib/place/place-history.js +29 -6
  14. package/esm2015/lib/place/place-router.js +29 -22
  15. package/esm2015/lib/place/route/parameter-decorators.js +1 -1
  16. package/esm2015/lib/place/route/parameter-definition.class.js +92 -9
  17. package/esm2015/lib/place/route/parameter-sanitiser.js +4 -3
  18. package/esm2015/lib/place/route/parameter-snapshot.js +214 -23
  19. package/esm2015/lib/place/route/route-parameter-sanitiser.js +4 -9
  20. package/esm2015/lib/place/visit.js +3 -3
  21. package/esm2015/public_api.js +2 -2
  22. package/esm5/coolon-angular-ui-powerups.js +2 -2
  23. package/esm5/index.js +2 -2
  24. package/esm5/lib/interaction/abstract-activity.js +14 -10
  25. package/esm5/lib/place/components/place-outlet/place-outlet.component.js +17 -12
  26. package/esm5/lib/place/guards/place-route.guard.js +4 -4
  27. package/esm5/lib/place/index.js +1 -2
  28. package/esm5/lib/place/place-component.js +2 -2
  29. package/esm5/lib/place/place-history.js +39 -6
  30. package/esm5/lib/place/place-router.js +39 -27
  31. package/esm5/lib/place/route/parameter-decorators.js +1 -1
  32. package/esm5/lib/place/route/parameter-definition.class.js +104 -9
  33. package/esm5/lib/place/route/parameter-sanitiser.js +4 -3
  34. package/esm5/lib/place/route/parameter-snapshot.js +273 -24
  35. package/esm5/lib/place/route/route-parameter-sanitiser.js +8 -10
  36. package/esm5/lib/place/visit.js +3 -3
  37. package/esm5/public_api.js +2 -2
  38. package/fesm2015/coolon-angular-ui-powerups.js +388 -153
  39. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  40. package/fesm5/coolon-angular-ui-powerups.js +491 -168
  41. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  42. package/lib/place/components/place-outlet/place-outlet.component.d.ts +0 -1
  43. package/lib/place/index.d.ts +0 -1
  44. package/lib/place/place-history.d.ts +3 -0
  45. package/lib/place/place-router.d.ts +4 -3
  46. package/lib/place/route/parameter-definition.class.d.ts +12 -2
  47. package/lib/place/route/parameter-sanitiser.d.ts +3 -2
  48. package/lib/place/route/parameter-snapshot.d.ts +11 -8
  49. package/lib/place/visit.d.ts +2 -2
  50. package/package.json +1 -1
  51. package/esm2015/lib/place/route/default-parameter-sanitiser.js +0 -66
  52. package/esm5/lib/place/route/default-parameter-sanitiser.js +0 -73
  53. package/lib/place/route/default-parameter-sanitiser.d.ts +0 -11
@@ -5,7 +5,7 @@ import { MatDialog, MatButtonModule, MatDialogModule, MatTabsModule, MatProgress
5
5
  import { MatTabsModule as MatTabsModule$1 } from '@angular/material/tabs';
6
6
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7
7
  import { __extends, __decorate, __metadata, __assign, __awaiter, __generator, __values } from 'tslib';
8
- import { GarbageCollector, DelegatingFormValueModel, UseDelegate, ValueModel, ListModel, StoreInListModel, assert, UnaryCommand, lang, Dsl, Logger, EventListenerList, DelegatingValueModel, Trace, MutableListModel, StoreInValueModel, Binding, Guard, MutableValueModel, OptionsHelper, ValueHolder } from '@coolon/pectin';
8
+ import { GarbageCollector, DelegatingFormValueModel, UseDelegate, ValueModel, ListModel, StoreInListModel, assert, UnaryCommand, lang, Dsl, Logger, EventListenerList, DelegatingValueModel, MutableListModel, StoreInValueModel, Binding, Guard, MutableValueModel, OptionsHelper, ValueHolder } from '@coolon/pectin';
9
9
  import { PortalModule } from '@angular/cdk/portal';
10
10
  import { Deferred } from '@coolon/pectin/lib/promise/deferred.class';
11
11
  import { assert as assert$1, Klass, Opts } from '@coolon/typescript-utilities';
@@ -1083,7 +1083,10 @@ if (false) {
1083
1083
  /**
1084
1084
  * @template D, R, E
1085
1085
  */
1086
- var AbstractActivity = /** @class */ (function (_super) {
1086
+ var /**
1087
+ * @template D, R, E
1088
+ */
1089
+ AbstractActivity = /** @class */ (function (_super) {
1087
1090
  __extends(AbstractActivity, _super);
1088
1091
  function AbstractActivity() {
1089
1092
  var _this = _super !== null && _super.apply(this, arguments) || this;
@@ -1157,10 +1160,14 @@ var AbstractActivity = /** @class */ (function (_super) {
1157
1160
  */
1158
1161
  function () { return _this.finalizeAndDispose(); }));
1159
1162
  };
1163
+ // @Trace()
1164
+ // @Trace()
1160
1165
  /**
1161
1166
  * @return {?}
1162
1167
  */
1163
- AbstractActivity.prototype.onActivityReady = /**
1168
+ AbstractActivity.prototype.onActivityReady =
1169
+ // @Trace()
1170
+ /**
1164
1171
  * @return {?}
1165
1172
  */
1166
1173
  function () {
@@ -1222,12 +1229,6 @@ var AbstractActivity = /** @class */ (function (_super) {
1222
1229
  function () {
1223
1230
  return this._busyModel.value;
1224
1231
  };
1225
- __decorate([
1226
- Trace(),
1227
- __metadata("design:type", Function),
1228
- __metadata("design:paramtypes", []),
1229
- __metadata("design:returntype", void 0)
1230
- ], AbstractActivity.prototype, "onActivityReady", null);
1231
1232
  return AbstractActivity;
1232
1233
  }(DisposableComponent));
1233
1234
  if (false) {
@@ -1902,7 +1903,7 @@ var PlaceComponent = /** @class */ (function (_super) {
1902
1903
  * @return {?}
1903
1904
  */
1904
1905
  function (parameters) {
1905
- return parameters.getResolvedParameterValue(parameterDef);
1906
+ return parameters.getValueOf(parameterDef);
1906
1907
  },
1907
1908
  toLeft: /**
1908
1909
  * @param {?} value
@@ -2148,7 +2149,7 @@ if (false) {
2148
2149
  var PlaceHistory = /** @class */ (function () {
2149
2150
  function PlaceHistory(router) {
2150
2151
  this.router = router;
2151
- this._history = [];
2152
+ this._history = new Map();
2152
2153
  }
2153
2154
  /**
2154
2155
  * @param {?} state
@@ -2160,12 +2161,45 @@ var PlaceHistory = /** @class */ (function () {
2160
2161
  */
2161
2162
  function (state) {
2162
2163
  /** @type {?} */
2163
- var previousState = ___default.last(this._history);
2164
+ var history = this.getHistory(state.placeDefinition);
2165
+ /** @type {?} */
2166
+ var previousState = ___default.last(history);
2164
2167
  if (!previousState || state.hasChanged(previousState)) {
2165
- this._history.push(state);
2166
- // limit our history to 100 visits
2167
- this._history = this._history.slice(-100);
2168
+ history.unshift(state); // LIFO
2169
+ this.setHistory(state.placeDefinition, history.slice(-3)); // limit our history to 3 visits
2170
+ }
2171
+ };
2172
+ /**
2173
+ * @param {?} placeDef
2174
+ * @return {?}
2175
+ */
2176
+ PlaceHistory.prototype.getHistory = /**
2177
+ * @param {?} placeDef
2178
+ * @return {?}
2179
+ */
2180
+ function (placeDef) {
2181
+ /** @type {?} */
2182
+ var history = this._history.get(placeDef);
2183
+ if (!history) {
2184
+ history = [];
2185
+ this.setHistory(placeDef, history);
2168
2186
  }
2187
+ return history;
2188
+ };
2189
+ /**
2190
+ * @private
2191
+ * @param {?} placeDef
2192
+ * @param {?} history
2193
+ * @return {?}
2194
+ */
2195
+ PlaceHistory.prototype.setHistory = /**
2196
+ * @private
2197
+ * @param {?} placeDef
2198
+ * @param {?} history
2199
+ * @return {?}
2200
+ */
2201
+ function (placeDef, history) {
2202
+ this._history.set(placeDef, history);
2169
2203
  };
2170
2204
  PlaceHistory.decorators = [
2171
2205
  { type: Injectable, args: [{
@@ -2213,59 +2247,71 @@ var PlaceRouter = /** @class */ (function () {
2213
2247
  * @return {?}
2214
2248
  */
2215
2249
  function (activatedRoute, previous, next) {
2216
- this.router.navigate(this.redirect(activatedRoute.snapshot, previous, next), {
2250
+ /** @type {?} */
2251
+ var relativePath = !!previous.hasRouteId() ? '..' : '.';
2252
+ this.router.navigate([relativePath].concat(this.createRouteParameters(next), this.getChildPath(activatedRoute.snapshot)), {
2217
2253
  relativeTo: activatedRoute
2218
2254
  });
2219
2255
  };
2256
+ // @Trace()
2257
+ // @Trace()
2220
2258
  /**
2221
2259
  * @param {?} activatedRoute
2222
2260
  * @param {?} sanitised
2223
- * @param {?} snapshot
2224
2261
  * @return {?}
2225
2262
  */
2226
- PlaceRouter.prototype.createUrlTree = /**
2263
+ PlaceRouter.prototype.getRedirectUrlTree =
2264
+ // @Trace()
2265
+ /**
2227
2266
  * @param {?} activatedRoute
2228
2267
  * @param {?} sanitised
2229
- * @param {?} snapshot
2230
2268
  * @return {?}
2231
2269
  */
2232
- function (activatedRoute, sanitised, snapshot) {
2233
- return this.router.createUrlTree(this.redirect(activatedRoute, snapshot, sanitised));
2270
+ function (activatedRoute, sanitised) {
2271
+ /** @type {?} */
2272
+ var urlSegments = activatedRoute.url;
2273
+ /** @type {?} */
2274
+ var weHaveARouteId = sanitised.hasRouteId() && sanitised.getFormattedRouteId();
2275
+ /** @type {?} */
2276
+ var commands = (weHaveARouteId) ?
2277
+ [urlSegments[0].path, sanitised.getFormattedRouteId(), sanitised.getFormattedParameters()] :
2278
+ [urlSegments[0].path, sanitised.getFormattedParameters()];
2279
+ console.log("redirect path", commands);
2280
+ return this.router.createUrlTree(commands);
2234
2281
  };
2235
2282
  /**
2236
2283
  * @protected
2237
2284
  * @param {?} activatedRoute
2238
- * @param {?} previous
2239
- * @param {?} next
2240
2285
  * @return {?}
2241
2286
  */
2242
- PlaceRouter.prototype.redirect = /**
2287
+ PlaceRouter.prototype.getChildPath = /**
2243
2288
  * @protected
2244
2289
  * @param {?} activatedRoute
2245
- * @param {?} previous
2246
- * @param {?} next
2247
2290
  * @return {?}
2248
2291
  */
2249
- function (activatedRoute, previous, next) {
2250
- /** @type {?} */
2251
- var childSegments = ___default.flatten(activatedRoute.children.map((/**
2292
+ function (activatedRoute) {
2293
+ return ___default.flatten(activatedRoute.children.map((/**
2252
2294
  * @param {?} child
2253
2295
  * @return {?}
2254
2296
  */
2255
2297
  function (child) { return child.url; })));
2298
+ };
2299
+ /**
2300
+ * @protected
2301
+ * @param {?} parameters
2302
+ * @return {?}
2303
+ */
2304
+ PlaceRouter.prototype.createRouteParameters = /**
2305
+ * @protected
2306
+ * @param {?} parameters
2307
+ * @return {?}
2308
+ */
2309
+ function (parameters) {
2256
2310
  /** @type {?} */
2257
- var relativePath = !!previous.hasRouteId() ? '..' : '.';
2258
- /** @type {?} */
2259
- var routeId = next.getFormattedRouteId();
2260
- /** @type {?} */
2261
- var path = routeId ?
2262
- [relativePath, routeId, next.getFormattedParameters()] :
2263
- [relativePath, next.getFormattedParameters()];
2264
- return path.concat(childSegments.map((/**
2265
- * @param {?} s
2266
- * @return {?}
2267
- */
2268
- function (s) { return s.path; })));
2311
+ var routeId = parameters.getFormattedRouteId();
2312
+ return routeId ?
2313
+ [routeId, parameters.getFormattedParameters()] :
2314
+ [parameters.getFormattedParameters()];
2269
2315
  };
2270
2316
  PlaceRouter.decorators = [
2271
2317
  { type: Injectable, args: [{
@@ -2306,11 +2352,8 @@ ParameterDefinition = /** @class */ (function () {
2306
2352
  /** @type {?} */
2307
2353
  var opts = Opts.get(options);
2308
2354
  this.name = opts.getOptional('as', propertyName);
2309
- // this.sanitiser = new DefaultParameterSanitiser(
2310
- // this,
2311
- // opts.getOptional('remember', false),
2312
- // opts.getOptional('defaultValue', null)
2313
- // );
2355
+ this.remember = opts.getOptional('remember', false);
2356
+ this.defaultValue = opts.getOptional('defaultValue', null);
2314
2357
  }
2315
2358
  /**
2316
2359
  * @param {?} injector
@@ -2321,7 +2364,12 @@ ParameterDefinition = /** @class */ (function () {
2321
2364
  * @return {?}
2322
2365
  */
2323
2366
  function (injector) {
2324
- return this.sanitiser;
2367
+ if (this.remember || !___default.isNil(this.defaultValue)) {
2368
+ return new ParameterDefinition.DefaultParameterSanitiser(this.remember, this.defaultValue, injector.get(PlaceHistory));
2369
+ }
2370
+ else {
2371
+ return null;
2372
+ }
2325
2373
  };
2326
2374
  return ParameterDefinition;
2327
2375
  }());
@@ -2332,8 +2380,16 @@ if (false) {
2332
2380
  ParameterDefinition.prototype.isArray;
2333
2381
  /** @type {?} */
2334
2382
  ParameterDefinition.prototype.name;
2335
- /** @type {?} */
2336
- ParameterDefinition.prototype.sanitiser;
2383
+ /**
2384
+ * @type {?}
2385
+ * @private
2386
+ */
2387
+ ParameterDefinition.prototype.remember;
2388
+ /**
2389
+ * @type {?}
2390
+ * @private
2391
+ */
2392
+ ParameterDefinition.prototype.defaultValue;
2337
2393
  /** @type {?} */
2338
2394
  ParameterDefinition.prototype.propertyName;
2339
2395
  /** @type {?} */
@@ -2425,6 +2481,89 @@ if (false) {
2425
2481
  /** @type {?} */
2426
2482
  ArrayParameter.prototype.isArray;
2427
2483
  }
2484
+ /**
2485
+ * @template T, S
2486
+ */
2487
+ var /**
2488
+ * @template T, S
2489
+ */
2490
+ DefaultParameterSanitiser = /** @class */ (function () {
2491
+ function DefaultParameterSanitiser(remember, defaultValue, placeHistory) {
2492
+ this.remember = remember;
2493
+ this.defaultValue = defaultValue;
2494
+ this.placeHistory = placeHistory;
2495
+ }
2496
+ /**
2497
+ * @param {?} parameterDef
2498
+ * @param {?} value
2499
+ * @param {?=} visit
2500
+ * @return {?}
2501
+ */
2502
+ DefaultParameterSanitiser.prototype.sanitise = /**
2503
+ * @param {?} parameterDef
2504
+ * @param {?} value
2505
+ * @param {?=} visit
2506
+ * @return {?}
2507
+ */
2508
+ function (parameterDef, value, visit) {
2509
+ var _this = this;
2510
+ if (this.isBlank(parameterDef, value)) {
2511
+ if (this.remember) {
2512
+ /** @type {?} */
2513
+ var visits = this.placeHistory.getHistory(visit.placeDefinition);
2514
+ value = visits.map((/**
2515
+ * @param {?} v
2516
+ * @return {?}
2517
+ */
2518
+ function (v) { return v.getValueOf(parameterDef); }))
2519
+ .filter((/**
2520
+ * @param {?} v
2521
+ * @return {?}
2522
+ */
2523
+ function (v) { return !___default.isNil(v); }))
2524
+ .find((/**
2525
+ * @param {?} v
2526
+ * @return {?}
2527
+ */
2528
+ function (v) { return !_this.isBlank(parameterDef, v); }));
2529
+ }
2530
+ value = this.isBlank(parameterDef, value) ? this.defaultValue : value;
2531
+ console.log(parameterDef.name + " is blank, returning: " + value);
2532
+ return value;
2533
+ }
2534
+ else {
2535
+ console.log(parameterDef.name + " is not blank");
2536
+ return value;
2537
+ }
2538
+ };
2539
+ /**
2540
+ * @private
2541
+ * @param {?} def
2542
+ * @param {?} value
2543
+ * @return {?}
2544
+ */
2545
+ DefaultParameterSanitiser.prototype.isBlank = /**
2546
+ * @private
2547
+ * @param {?} def
2548
+ * @param {?} value
2549
+ * @return {?}
2550
+ */
2551
+ function (def, value) {
2552
+ /** @type {?} */
2553
+ var isNil = ___default.isNil(value);
2554
+ return isNil ? true : def.isArray ? value['length'] < 1 : false;
2555
+ };
2556
+ return DefaultParameterSanitiser;
2557
+ }());
2558
+ ParameterDefinition.DefaultParameterSanitiser = DefaultParameterSanitiser;
2559
+ if (false) {
2560
+ /** @type {?} */
2561
+ DefaultParameterSanitiser.prototype.remember;
2562
+ /** @type {?} */
2563
+ DefaultParameterSanitiser.prototype.defaultValue;
2564
+ /** @type {?} */
2565
+ DefaultParameterSanitiser.prototype.placeHistory;
2566
+ }
2428
2567
  })(ParameterDefinition || (ParameterDefinition = {}));
2429
2568
 
2430
2569
  /**
@@ -2438,24 +2577,31 @@ var ParameterSnapshot = /** @class */ (function () {
2438
2577
  }
2439
2578
  /**
2440
2579
  * @param {?} other
2580
+ * @param {?=} debug
2441
2581
  * @return {?}
2442
2582
  */
2443
2583
  ParameterSnapshot.prototype.hasChanged = /**
2444
2584
  * @param {?} other
2585
+ * @param {?=} debug
2445
2586
  * @return {?}
2446
2587
  */
2447
- function (other) {
2588
+ function (other, debug) {
2589
+ if (debug === void 0) { debug = false; }
2448
2590
  /** @type {?} */
2449
2591
  var changed = this.resolved.find((/**
2450
2592
  * @param {?} r
2451
2593
  * @return {?}
2452
2594
  */
2453
2595
  function (r) {
2454
- return !r.isSame(other.getResolvedParameterValue(r.parameterDef));
2596
+ return !r.isSame(other.getValueOf(r.parameterDef));
2455
2597
  }));
2456
- // if (changed) {
2457
- // console.log({ mine: changed, theirs: other.getResolvedParameter(changed.parameterDef) });
2458
- // }
2598
+ if (changed && debug) {
2599
+ console.log({
2600
+ name: changed.parameterDef.name,
2601
+ mine: changed.value,
2602
+ theirs: other.getValueOf(changed.parameterDef)
2603
+ });
2604
+ }
2459
2605
  return !!changed;
2460
2606
  };
2461
2607
  /**
@@ -2463,7 +2609,7 @@ var ParameterSnapshot = /** @class */ (function () {
2463
2609
  * @param {?} parameterDef
2464
2610
  * @return {?}
2465
2611
  */
2466
- ParameterSnapshot.prototype.getResolvedParameter = /**
2612
+ ParameterSnapshot.prototype.getParameter = /**
2467
2613
  * @template T, S
2468
2614
  * @param {?} parameterDef
2469
2615
  * @return {?}
@@ -2480,30 +2626,30 @@ var ParameterSnapshot = /** @class */ (function () {
2480
2626
  * @param {?} parameterDef
2481
2627
  * @return {?}
2482
2628
  */
2483
- ParameterSnapshot.prototype.getResolvedParameterValue = /**
2629
+ ParameterSnapshot.prototype.getValueOf = /**
2484
2630
  * @template T, S
2485
2631
  * @param {?} parameterDef
2486
2632
  * @return {?}
2487
2633
  */
2488
2634
  function (parameterDef) {
2489
2635
  /** @type {?} */
2490
- var resolvedParameter = this.getResolvedParameter(parameterDef);
2636
+ var resolvedParameter = this.getParameter(parameterDef);
2491
2637
  return resolvedParameter ? resolvedParameter.value : null;
2492
2638
  };
2493
2639
  /**
2494
2640
  * @return {?}
2495
2641
  */
2496
- ParameterSnapshot.prototype.getRouteId = /**
2642
+ ParameterSnapshot.prototype.getRouteIdValue = /**
2497
2643
  * @return {?}
2498
2644
  */
2499
2645
  function () {
2500
- return this.getResolvedRouteId() ? this.getResolvedRouteId().value : null;
2646
+ return this.getRouteIdParameter() ? this.getRouteIdParameter().value : null;
2501
2647
  };
2502
2648
  /**
2503
2649
  * @param {?} name
2504
2650
  * @return {?}
2505
2651
  */
2506
- ParameterSnapshot.prototype.getRouteParameter = /**
2652
+ ParameterSnapshot.prototype.getParameterValue = /**
2507
2653
  * @param {?} name
2508
2654
  * @return {?}
2509
2655
  */
@@ -2520,7 +2666,7 @@ var ParameterSnapshot = /** @class */ (function () {
2520
2666
  * @private
2521
2667
  * @return {?}
2522
2668
  */
2523
- ParameterSnapshot.prototype.getResolvedRouteId = /**
2669
+ ParameterSnapshot.prototype.getRouteIdParameter = /**
2524
2670
  * @private
2525
2671
  * @return {?}
2526
2672
  */
@@ -2533,6 +2679,21 @@ var ParameterSnapshot = /** @class */ (function () {
2533
2679
  */
2534
2680
  function (p) { return p.parameterDef.isRouteId; }))));
2535
2681
  };
2682
+ /**
2683
+ * @private
2684
+ * @return {?}
2685
+ */
2686
+ ParameterSnapshot.prototype.getRouteParameters = /**
2687
+ * @private
2688
+ * @return {?}
2689
+ */
2690
+ function () {
2691
+ return this.resolved.filter((/**
2692
+ * @param {?} r
2693
+ * @return {?}
2694
+ */
2695
+ function (r) { return !r.parameterDef.isRouteId; }));
2696
+ };
2536
2697
  /**
2537
2698
  * @return {?}
2538
2699
  */
@@ -2540,7 +2701,7 @@ var ParameterSnapshot = /** @class */ (function () {
2540
2701
  * @return {?}
2541
2702
  */
2542
2703
  function () {
2543
- return !!this.getResolvedRouteId();
2704
+ return !!this.getRouteIdParameter();
2544
2705
  };
2545
2706
  /**
2546
2707
  * @return {?}
@@ -2550,7 +2711,7 @@ var ParameterSnapshot = /** @class */ (function () {
2550
2711
  */
2551
2712
  function () {
2552
2713
  /** @type {?} */
2553
- var routeIdParam = this.getResolvedRouteId();
2714
+ var routeIdParam = this.getRouteIdParameter();
2554
2715
  return routeIdParam ? routeIdParam.formattedValue() : null;
2555
2716
  };
2556
2717
  /**
@@ -2576,6 +2737,25 @@ var ParameterSnapshot = /** @class */ (function () {
2576
2737
  }));
2577
2738
  return params;
2578
2739
  };
2740
+ /**
2741
+ * @return {?}
2742
+ */
2743
+ ParameterSnapshot.prototype.getAllFormattedParameters = /**
2744
+ * @return {?}
2745
+ */
2746
+ function () {
2747
+ /** @type {?} */
2748
+ var params = {};
2749
+ /** @type {?} */
2750
+ var routeIdParam = this.resolved.forEach((/**
2751
+ * @param {?} p
2752
+ * @return {?}
2753
+ */
2754
+ function (p) {
2755
+ params[p.parameterDef.name] = p.formattedValue();
2756
+ }));
2757
+ return params;
2758
+ };
2579
2759
  /**
2580
2760
  * @template T, S
2581
2761
  * @param {?} parameter
@@ -2597,18 +2777,54 @@ var ParameterSnapshot = /** @class */ (function () {
2597
2777
  return p.parameterDef === parameter ? p.replace(value) : p;
2598
2778
  })));
2599
2779
  };
2780
+ // @Trace()
2781
+ // @Trace()
2600
2782
  /**
2601
2783
  * @param {?} injector
2602
2784
  * @return {?}
2603
2785
  */
2604
- ParameterSnapshot.prototype.sanitise = /**
2786
+ ParameterSnapshot.prototype.sanitise =
2787
+ // @Trace()
2788
+ /**
2605
2789
  * @param {?} injector
2606
2790
  * @return {?}
2607
2791
  */
2608
2792
  function (injector) {
2609
2793
  return __awaiter(this, void 0, void 0, function () {
2794
+ var routeId, sanitisedValue, result, routeParameters, i, sanitisedValue;
2610
2795
  return __generator(this, function (_a) {
2611
- return [2 /*return*/, this];
2796
+ switch (_a.label) {
2797
+ case 0:
2798
+ if (!this.hasRouteId()) return [3 /*break*/, 2];
2799
+ routeId = this.getRouteIdParameter();
2800
+ return [4 /*yield*/, routeId.sanitise(this, injector)];
2801
+ case 1:
2802
+ sanitisedValue = _a.sent();
2803
+ if (!routeId.isSame(sanitisedValue)) {
2804
+ // if the route id has changed we redirect immediately as other
2805
+ // parameter sanitisers might use it.
2806
+ return [2 /*return*/, this.replace(routeId.parameterDef, sanitisedValue)];
2807
+ }
2808
+ _a.label = 2;
2809
+ case 2:
2810
+ result = this;
2811
+ routeParameters = this.getRouteParameters();
2812
+ i = 0;
2813
+ _a.label = 3;
2814
+ case 3:
2815
+ if (!(i < routeParameters.length)) return [3 /*break*/, 6];
2816
+ return [4 /*yield*/, routeParameters[i].sanitise(this, injector)];
2817
+ case 4:
2818
+ sanitisedValue = _a.sent();
2819
+ if (!routeParameters[i].isSame(sanitisedValue)) {
2820
+ result = this.replace(routeParameters[i].parameterDef, sanitisedValue);
2821
+ }
2822
+ _a.label = 5;
2823
+ case 5:
2824
+ i++;
2825
+ return [3 /*break*/, 3];
2826
+ case 6: return [2 /*return*/, result];
2827
+ }
2612
2828
  });
2613
2829
  });
2614
2830
  };
@@ -2618,25 +2834,31 @@ var ParameterSnapshot = /** @class */ (function () {
2618
2834
  __metadata("design:type", Function),
2619
2835
  __metadata("design:paramtypes", [ParameterDefinition]),
2620
2836
  __metadata("design:returntype", ParameterSnapshot.ResolvedParameter)
2621
- ], ParameterSnapshot.prototype, "getResolvedParameter", null);
2837
+ ], ParameterSnapshot.prototype, "getParameter", null);
2622
2838
  __decorate([
2623
2839
  Memoize$1(),
2624
2840
  __metadata("design:type", Function),
2625
2841
  __metadata("design:paramtypes", [ParameterDefinition]),
2626
2842
  __metadata("design:returntype", typeof (_a = typeof S !== "undefined" && S) === "function" ? _a : Object)
2627
- ], ParameterSnapshot.prototype, "getResolvedParameterValue", null);
2843
+ ], ParameterSnapshot.prototype, "getValueOf", null);
2628
2844
  __decorate([
2629
2845
  Memoize$1(),
2630
2846
  __metadata("design:type", Function),
2631
2847
  __metadata("design:paramtypes", [String]),
2632
2848
  __metadata("design:returntype", Object)
2633
- ], ParameterSnapshot.prototype, "getRouteParameter", null);
2849
+ ], ParameterSnapshot.prototype, "getParameterValue", null);
2634
2850
  __decorate([
2635
2851
  Memoize$1(),
2636
2852
  __metadata("design:type", Function),
2637
2853
  __metadata("design:paramtypes", []),
2638
2854
  __metadata("design:returntype", ParameterSnapshot.ResolvedValueParameter)
2639
- ], ParameterSnapshot.prototype, "getResolvedRouteId", null);
2855
+ ], ParameterSnapshot.prototype, "getRouteIdParameter", null);
2856
+ __decorate([
2857
+ Memoize$1(),
2858
+ __metadata("design:type", Function),
2859
+ __metadata("design:paramtypes", []),
2860
+ __metadata("design:returntype", Array)
2861
+ ], ParameterSnapshot.prototype, "getRouteParameters", null);
2640
2862
  return ParameterSnapshot;
2641
2863
  }());
2642
2864
  if (false) {
@@ -2651,10 +2873,13 @@ if (false) {
2651
2873
  (function (ParameterSnapshot) {
2652
2874
  /**
2653
2875
  * @param {?} placeDef
2654
- * @param {?} paramMap
2876
+ * @param {?} params
2877
+ * @param {?} urlSegments
2655
2878
  * @return {?}
2656
2879
  */
2657
- function create(placeDef, paramMap) {
2880
+ function create(placeDef, params, urlSegments) {
2881
+ /** @type {?} */
2882
+ var paramMap = new ConsolidatedParameterMap(params, urlSegments);
2658
2883
  /** @type {?} */
2659
2884
  var resolvedParameters = placeDef.getRouteParameters()
2660
2885
  .map((/**
@@ -2664,7 +2889,11 @@ if (false) {
2664
2889
  function (def) {
2665
2890
  if (def.isArray) {
2666
2891
  /** @type {?} */
2667
- var value = paramMap.has(def.name) ? paramMap.getAll(def.name).map((/**
2892
+ var value = paramMap.has(def.name) ? paramMap.getAll(def.name).filter((/**
2893
+ * @param {?} s
2894
+ * @return {?}
2895
+ */
2896
+ function (s) { return !___default.isEmpty(s); })).map((/**
2668
2897
  * @param {?} raw
2669
2898
  * @return {?}
2670
2899
  */
@@ -2680,6 +2909,140 @@ if (false) {
2680
2909
  return new ParameterSnapshot(placeDef, resolvedParameters);
2681
2910
  }
2682
2911
  ParameterSnapshot.create = create;
2912
+ /**
2913
+ * This a work around for the fact that an activated route with multiple segments doesn't
2914
+ * include the segment params in the paramMap as well as each segment returns an empty
2915
+ * param map even when `parameter`s has content.
2916
+ */
2917
+ var /**
2918
+ * This a work around for the fact that an activated route with multiple segments doesn't
2919
+ * include the segment params in the paramMap as well as each segment returns an empty
2920
+ * param map even when `parameter`s has content.
2921
+ */
2922
+ ConsolidatedParameterMap = /** @class */ (function () {
2923
+ function ConsolidatedParameterMap(paramMap, urlSegments) {
2924
+ this.paramMaps = [paramMap].concat((urlSegments || []).map((/**
2925
+ * @param {?} s
2926
+ * @return {?}
2927
+ */
2928
+ function (s) { return new ParamMapAdapter(s.parameters); }))).filter((/**
2929
+ * @param {?} m
2930
+ * @return {?}
2931
+ */
2932
+ function (m) { return !!m; })); // the activated route param map can be null
2933
+ }
2934
+ /**
2935
+ * @param {?} name
2936
+ * @return {?}
2937
+ */
2938
+ ConsolidatedParameterMap.prototype.get = /**
2939
+ * @param {?} name
2940
+ * @return {?}
2941
+ */
2942
+ function (name) {
2943
+ return this.paramMaps.find((/**
2944
+ * @param {?} m
2945
+ * @return {?}
2946
+ */
2947
+ function (m) { return m.has(name); })).get(name);
2948
+ };
2949
+ /**
2950
+ * @param {?} name
2951
+ * @return {?}
2952
+ */
2953
+ ConsolidatedParameterMap.prototype.getAll = /**
2954
+ * @param {?} name
2955
+ * @return {?}
2956
+ */
2957
+ function (name) {
2958
+ return this.paramMaps.find((/**
2959
+ * @param {?} m
2960
+ * @return {?}
2961
+ */
2962
+ function (m) { return m.has(name); })).getAll(name);
2963
+ };
2964
+ /**
2965
+ * @param {?} name
2966
+ * @return {?}
2967
+ */
2968
+ ConsolidatedParameterMap.prototype.has = /**
2969
+ * @param {?} name
2970
+ * @return {?}
2971
+ */
2972
+ function (name) {
2973
+ return !!this.paramMaps.find((/**
2974
+ * @param {?} m
2975
+ * @return {?}
2976
+ */
2977
+ function (m) { return m.has(name); }));
2978
+ };
2979
+ return ConsolidatedParameterMap;
2980
+ }());
2981
+ if (false) {
2982
+ /**
2983
+ * @type {?}
2984
+ * @private
2985
+ */
2986
+ ConsolidatedParameterMap.prototype.paramMaps;
2987
+ }
2988
+ var ParamMapAdapter = /** @class */ (function () {
2989
+ function ParamMapAdapter(params) {
2990
+ this.params = params;
2991
+ }
2992
+ /**
2993
+ * @param {?} name
2994
+ * @return {?}
2995
+ */
2996
+ ParamMapAdapter.prototype.get = /**
2997
+ * @param {?} name
2998
+ * @return {?}
2999
+ */
3000
+ function (name) {
3001
+ return this.params[name];
3002
+ };
3003
+ /**
3004
+ * @param {?} name
3005
+ * @return {?}
3006
+ */
3007
+ ParamMapAdapter.prototype.getAll = /**
3008
+ * @param {?} name
3009
+ * @return {?}
3010
+ */
3011
+ function (name) {
3012
+ /** @type {?} */
3013
+ var value = this.get(name);
3014
+ return Array.isArray(value) ? value : [value];
3015
+ };
3016
+ /**
3017
+ * @param {?} name
3018
+ * @return {?}
3019
+ */
3020
+ ParamMapAdapter.prototype.has = /**
3021
+ * @param {?} name
3022
+ * @return {?}
3023
+ */
3024
+ function (name) {
3025
+ return this.keys.includes(name);
3026
+ };
3027
+ Object.defineProperty(ParamMapAdapter.prototype, "keys", {
3028
+ get: /**
3029
+ * @return {?}
3030
+ */
3031
+ function () {
3032
+ return Object.keys(this.params);
3033
+ },
3034
+ enumerable: true,
3035
+ configurable: true
3036
+ });
3037
+ return ParamMapAdapter;
3038
+ }());
3039
+ if (false) {
3040
+ /**
3041
+ * @type {?}
3042
+ * @private
3043
+ */
3044
+ ParamMapAdapter.prototype.params;
3045
+ }
2683
3046
  /**
2684
3047
  * @abstract
2685
3048
  * @template T, S
@@ -2702,6 +3065,31 @@ if (false) {
2702
3065
  function () {
2703
3066
  return this.parameterDef.isRouteId;
2704
3067
  };
3068
+ /**
3069
+ * @param {?} visit
3070
+ * @param {?} injector
3071
+ * @return {?}
3072
+ */
3073
+ ResolvedParameter.prototype.sanitise = /**
3074
+ * @param {?} visit
3075
+ * @param {?} injector
3076
+ * @return {?}
3077
+ */
3078
+ function (visit, injector) {
3079
+ return __awaiter(this, void 0, void 0, function () {
3080
+ var sanitiser;
3081
+ return __generator(this, function (_a) {
3082
+ sanitiser = this.parameterDef.getSanitiser(injector);
3083
+ if (sanitiser) {
3084
+ return [2 /*return*/, sanitiser.sanitise(this.parameterDef, this.value, visit)];
3085
+ }
3086
+ else {
3087
+ return [2 /*return*/, this.value];
3088
+ }
3089
+ return [2 /*return*/];
3090
+ });
3091
+ });
3092
+ };
2705
3093
  return ResolvedParameter;
2706
3094
  }());
2707
3095
  ParameterSnapshot.ResolvedParameter = ResolvedParameter;
@@ -2945,19 +3333,25 @@ var PlaceOutletComponent = /** @class */ (function (_super) {
2945
3333
  _this._placeDefinition = new MutableValueModel();
2946
3334
  _this._resolvedParameters = new MutableValueModel();
2947
3335
  var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
2948
- _this._paramMap = chain(_this._activatedRouteModel).pullObservableValue((/**
3336
+ /** @type {?} */
3337
+ var paramMap = chain(_this._activatedRouteModel).pullObservableValue((/**
2949
3338
  * @param {?} ar
2950
3339
  * @return {?}
2951
3340
  */
2952
3341
  function (ar) { return ar.paramMap; }));
2953
- _this.placeConfigured = valueOf.all(chain(_this._inOutletUpdate).isFalsey(), _this._placeDefinition, _this._paramMap).areTruthy();
2954
- when.valueOf(_this._paramMap).changes((/**
2955
- * @param {?} params
3342
+ /** @type {?} */
3343
+ var urls = chain(_this._activatedRouteModel).pullObservableValue((/**
3344
+ * @param {?} ar
2956
3345
  * @return {?}
2957
3346
  */
2958
- function (params) {
3347
+ function (ar) { return ar.url; }));
3348
+ _this.placeConfigured = valueOf.all(chain(_this._inOutletUpdate).isFalsey(), _this._placeDefinition, paramMap, urls).areTruthy();
3349
+ when.anyOf(paramMap, urls).changes((/**
3350
+ * @return {?}
3351
+ */
3352
+ function () {
2959
3353
  /** @type {?} */
2960
- var snapshot = ParameterSnapshot.create(_this._placeDefinition.value, params);
3354
+ var snapshot = ParameterSnapshot.create(_this._placeDefinition.value, paramMap.value, urls.value);
2961
3355
  _this._incomingRouteChange.whileTrue((/**
2962
3356
  * @return {?}
2963
3357
  */
@@ -2980,6 +3374,10 @@ var PlaceOutletComponent = /** @class */ (function (_super) {
2980
3374
  unless: _this.incomingRouteChange
2981
3375
  });
2982
3376
  return _this;
3377
+ // const txo = new TransactionObserver().onEvent(e => console.log(e.toString()));
3378
+ // txo.observe('paramMap', paramMap);
3379
+ // txo.observe('urls', urls);
3380
+ // txo.observe('this._resolvedParameters', this._resolvedParameters);
2983
3381
  }
2984
3382
  Object.defineProperty(PlaceOutletComponent.prototype, "incomingRouteChange", {
2985
3383
  get: /**
@@ -3150,11 +3548,6 @@ if (false) {
3150
3548
  * @private
3151
3549
  */
3152
3550
  PlaceOutletComponent.prototype._placeDefinition;
3153
- /**
3154
- * @type {?}
3155
- * @private
3156
- */
3157
- PlaceOutletComponent.prototype._paramMap;
3158
3551
  /** @type {?} */
3159
3552
  PlaceOutletComponent.prototype._resolvedParameters;
3160
3553
  /**
@@ -3728,12 +4121,12 @@ if (false) {
3728
4121
  /**
3729
4122
  * @return {?}
3730
4123
  */
3731
- Visit.prototype.getRouteId = function () { };
4124
+ Visit.prototype.getRouteIdValue = function () { };
3732
4125
  /**
3733
4126
  * @param {?} name
3734
4127
  * @return {?}
3735
4128
  */
3736
- Visit.prototype.getRouteParameter = function (name) { };
4129
+ Visit.prototype.getParameterValue = function (name) { };
3737
4130
  }
3738
4131
 
3739
4132
  /**
@@ -3832,14 +4225,14 @@ var PlaceRouteGuard = /** @class */ (function () {
3832
4225
  /** @type {?} */
3833
4226
  var placeDefinition = PlaceComponent.getDefinition(activatedRoute.component);
3834
4227
  /** @type {?} */
3835
- var snapshot_1 = ParameterSnapshot.create(placeDefinition, activatedRoute.paramMap);
4228
+ var snapshot_1 = ParameterSnapshot.create(placeDefinition, activatedRoute.paramMap, activatedRoute.url);
3836
4229
  return snapshot_1.sanitise(this.injector).then((/**
3837
4230
  * @param {?} sanitised
3838
4231
  * @return {?}
3839
4232
  */
3840
4233
  function (sanitised) {
3841
- if (sanitised.hasChanged(snapshot_1)) {
3842
- return _this.placeRouter.createUrlTree(activatedRoute, snapshot_1, sanitised);
4234
+ if (sanitised.hasChanged(snapshot_1, true)) {
4235
+ return _this.placeRouter.getRedirectUrlTree(activatedRoute, sanitised);
3843
4236
  }
3844
4237
  else {
3845
4238
  return true;
@@ -3876,75 +4269,6 @@ if (false) {
3876
4269
  PlaceRouteGuard.prototype.injector;
3877
4270
  }
3878
4271
 
3879
- /**
3880
- * @fileoverview added by tsickle
3881
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3882
- */
3883
- /**
3884
- * @template T, S
3885
- */
3886
- var DefaultParameterSanitiser = /** @class */ (function () {
3887
- function DefaultParameterSanitiser(def, remember, defaultValue) {
3888
- this.def = def;
3889
- this.remember = remember;
3890
- this.defaultValue = defaultValue;
3891
- }
3892
- /**
3893
- * @param {?} value
3894
- * @param {?} visit
3895
- * @return {?}
3896
- */
3897
- DefaultParameterSanitiser.prototype.sanitise = /**
3898
- * @param {?} value
3899
- * @param {?} visit
3900
- * @return {?}
3901
- */
3902
- function (value, visit) {
3903
- if (this.isBlank(value)) {
3904
- if (this.remember) {
3905
- // value = null;
3906
- }
3907
- return this.isBlank(value) && !___default.isNil(this.defaultValue) ? this.defaultValue : value;
3908
- }
3909
- else {
3910
- return value;
3911
- }
3912
- };
3913
- /**
3914
- * @private
3915
- * @param {?} value
3916
- * @return {?}
3917
- */
3918
- DefaultParameterSanitiser.prototype.isBlank = /**
3919
- * @private
3920
- * @param {?} value
3921
- * @return {?}
3922
- */
3923
- function (value) {
3924
- /** @type {?} */
3925
- var isNil = ___default.isNil(value);
3926
- return this.def.isArray ? !isNil || value['length'] < 1 : isNil;
3927
- };
3928
- __decorate([
3929
- Trace(),
3930
- __metadata("design:type", Function),
3931
- __metadata("design:paramtypes", [Object, Object]),
3932
- __metadata("design:returntype", Object)
3933
- ], DefaultParameterSanitiser.prototype, "sanitise", null);
3934
- return DefaultParameterSanitiser;
3935
- }());
3936
- if (false) {
3937
- /**
3938
- * @type {?}
3939
- * @private
3940
- */
3941
- DefaultParameterSanitiser.prototype.def;
3942
- /** @type {?} */
3943
- DefaultParameterSanitiser.prototype.remember;
3944
- /** @type {?} */
3945
- DefaultParameterSanitiser.prototype.defaultValue;
3946
- }
3947
-
3948
4272
  /**
3949
4273
  * @fileoverview added by tsickle
3950
4274
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -4056,16 +4380,17 @@ function RouteParameterList(elementType, options) {
4056
4380
  */
4057
4381
  /**
4058
4382
  * @record
4059
- * @template T
4383
+ * @template S
4060
4384
  */
4061
4385
  function ParameterSanitiser() { }
4062
4386
  if (false) {
4063
4387
  /**
4388
+ * @param {?} parameterDef
4064
4389
  * @param {?} value
4065
4390
  * @param {?=} visit
4066
4391
  * @return {?}
4067
4392
  */
4068
- ParameterSanitiser.prototype.sanitise = function (value, visit) { };
4393
+ ParameterSanitiser.prototype.sanitise = function (parameterDef, value, visit) { };
4069
4394
  }
4070
4395
 
4071
4396
  /**
@@ -4260,7 +4585,7 @@ Sanitiser = /** @class */ (function () {
4260
4585
  if (!this.sanitiser) return [3 /*break*/, 2];
4261
4586
  this.initialValue = this.readFrom(this.snapshot);
4262
4587
  _a = this;
4263
- return [4 /*yield*/, this.sanitiser.sanitise(this.initialValue)];
4588
+ return [4 /*yield*/, this.sanitiser.sanitise(null, this.initialValue)];
4264
4589
  case 1:
4265
4590
  _a._sanitisedValue = _b.sent();
4266
4591
  if (this.initialValue !== this._sanitisedValue) {
@@ -4401,10 +4726,14 @@ var RouteParameterSanitiser = /** @class */ (function () {
4401
4726
  assert.isTruthy(this.parameterSanitisers.length !== 0);
4402
4727
  return this.routeIdSanitiser && this.routeIdSanitiser.valueChanged;
4403
4728
  };
4729
+ // @Trace()
4730
+ // @Trace()
4404
4731
  /**
4405
4732
  * @return {?}
4406
4733
  */
4407
- RouteParameterSanitiser.prototype.getRedirectParams = /**
4734
+ RouteParameterSanitiser.prototype.getRedirectParams =
4735
+ // @Trace()
4736
+ /**
4408
4737
  * @return {?}
4409
4738
  */
4410
4739
  function () {
@@ -4443,12 +4772,6 @@ var RouteParameterSanitiser = /** @class */ (function () {
4443
4772
  __metadata("design:paramtypes", [ParameterDefinition]),
4444
4773
  __metadata("design:returntype", Object)
4445
4774
  ], RouteParameterSanitiser.prototype, "getSanitiser", null);
4446
- __decorate([
4447
- Trace(),
4448
- __metadata("design:type", Function),
4449
- __metadata("design:paramtypes", []),
4450
- __metadata("design:returntype", Array)
4451
- ], RouteParameterSanitiser.prototype, "getRedirectParams", null);
4452
4775
  return RouteParameterSanitiser;
4453
4776
  }());
4454
4777
  if (false) {
@@ -4608,5 +4931,5 @@ if (false) {
4608
4931
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4609
4932
  */
4610
4933
 
4611
- export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceNavigationComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DefaultParameterSanitiser, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, ListPlaceNavComponent, NumberInputComponent, ParameterDefinition, ParameterSnapshot, ParameterType, PasswordInputComponent, Place, PlaceComponent, PlaceDefinition, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceRouter, Point, ROUTE_PARAMETER_LIST_KEY, ResizeAwareComponent, RouteId, RouteParameter, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, leftRightPlaceAnimation, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, AlertDialogComponent as ɵba, DialogInteractionService as ɵbc, InteractionContext as ɵbd, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, leftRightPlaceAnimation as ɵm, LEFT_RIGHT_PLACE_ANIMATION as ɵn, PlaceRouter as ɵo, PlaceHistory as ɵp, TabbedPlaceNavigationComponent as ɵq, AbstractPlaceNavigationComponent as ɵr, ListPlaceNavComponent as ɵs, InteractionModule as ɵt, ActivityContainerComponent as ɵu, ActivityOutletComponent as ɵv, ConfirmationDialogComponent as ɵw, AbstractActivity as ɵx, ACTIVITY_DATA as ɵy };
4934
+ export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceNavigationComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, ListPlaceNavComponent, NumberInputComponent, ParameterDefinition, ParameterSnapshot, ParameterType, PasswordInputComponent, Place, PlaceComponent, PlaceDefinition, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceRouter, Point, ROUTE_PARAMETER_LIST_KEY, ResizeAwareComponent, RouteId, RouteParameter, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, leftRightPlaceAnimation, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, AlertDialogComponent as ɵba, DialogInteractionService as ɵbc, InteractionContext as ɵbd, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, leftRightPlaceAnimation as ɵm, LEFT_RIGHT_PLACE_ANIMATION as ɵn, PlaceRouter as ɵo, PlaceHistory as ɵp, TabbedPlaceNavigationComponent as ɵq, AbstractPlaceNavigationComponent as ɵr, ListPlaceNavComponent as ɵs, InteractionModule as ɵt, ActivityContainerComponent as ɵu, ActivityOutletComponent as ɵv, ConfirmationDialogComponent as ɵw, AbstractActivity as ɵx, ACTIVITY_DATA as ɵy };
4612
4935
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map