@coolon/angular-ui-powerups 12.4.0-alpha.37 → 12.4.0-alpha.38

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.
@@ -12,18 +12,7 @@
12
12
  @use "./icons";
13
13
  @use "./empty-state";
14
14
 
15
- @mixin apply-light-theme($primary, $accent, $warn:ng.mat-palette(ng.$mat-red), $typography: ng.mat-typography-config()) {
16
-
17
- $theme: ng.mat-light-theme((
18
- color: (
19
- primary: $primary,
20
- accent: $accent,
21
- warn: $warn,
22
- )
23
- ));
24
-
25
- @include ng.mat-core($typography);
26
- @include ng.angular-material-theme($theme);
15
+ @mixin apply-light-theme($theme, $typography) {
27
16
 
28
17
  $color-config: ng.mat-get-color-config($theme);
29
18
 
@@ -8584,7 +8584,7 @@
8584
8584
  };
8585
8585
  Object.defineProperty(ConsolidatedParameterMap.prototype, "keys", {
8586
8586
  get: function () {
8587
- return this.paramMaps.reduce(function (result, params) { return result.concat(params.keys); }, []);
8587
+ return ___namespace.uniq(this.paramMaps.reduce(function (result, params) { return result.concat(params.keys); }, []));
8588
8588
  },
8589
8589
  enumerable: false,
8590
8590
  configurable: true
@@ -10053,13 +10053,13 @@
10053
10053
  }
10054
10054
  _a.label = 2;
10055
10055
  case 2: return [4 /*yield*/, this.cleanInteractionState(activatedRoute, state, function () { return __awaiter(_this, void 0, void 0, function () {
10056
- var params, parsedParams, navigationSession, initialVisit, sanitiser, sanitisedVisit, urlSnapshot;
10056
+ var navigationSession, params, parsedParams, initialVisit, sanitiser, sanitisedVisit, urlSnapshot;
10057
10057
  return __generator(this, function (_a) {
10058
10058
  switch (_a.label) {
10059
10059
  case 0:
10060
+ navigationSession = this.placeRouter.navigationSession;
10060
10061
  params = new ConsolidatedParameterMap(activatedRoute.url, activatedRoute.paramMap);
10061
10062
  parsedParams = placeDefinition_1.parseRouteParams(params);
10062
- navigationSession = this.placeRouter.navigationSession;
10063
10063
  initialVisit = navigationSession.getVisitFor(placeDefinition_1) || new Visit(placeDefinition_1, parsedParams);
10064
10064
  sanitiser = new VisitSanitiser(navigationSession, activatedRoute, this.router, this.placeHistory, this.injector);
10065
10065
  return [4 /*yield*/, sanitiser.sanitise(initialVisit.mergeRouteParameters(parsedParams))];