@rxap/material-table-system 12.5.5 → 12.5.6

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.
@@ -1261,9 +1261,9 @@
1261
1261
  }] });
1262
1262
 
1263
1263
  var TableColumnOptionComponent = /** @class */ (function () {
1264
- function TableColumnOptionComponent(_element, route) {
1264
+ function TableColumnOptionComponent(_element, router) {
1265
1265
  this._element = _element;
1266
- this.route = route;
1266
+ this.router = router;
1267
1267
  this.active = true;
1268
1268
  this._hidden = false;
1269
1269
  }
@@ -1304,7 +1304,7 @@
1304
1304
  });
1305
1305
  Object.defineProperty(TableColumnOptionComponent.prototype, "cacheId", {
1306
1306
  get: function () {
1307
- return this.route.snapshot.url.map(function (u) { return u.path; }).join('__') + '--' + this.name;
1307
+ return this.router.url + '--' + this.name;
1308
1308
  },
1309
1309
  enumerable: false,
1310
1310
  configurable: true
@@ -1332,7 +1332,7 @@
1332
1332
  };
1333
1333
  return TableColumnOptionComponent;
1334
1334
  }());
1335
- TableColumnOptionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TableColumnOptionComponent, deps: [{ token: i0.ElementRef }, { token: i1__namespace$4.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Component });
1335
+ TableColumnOptionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TableColumnOptionComponent, deps: [{ token: i0.ElementRef }, { token: i1__namespace$4.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
1336
1336
  TableColumnOptionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TableColumnOptionComponent, selector: "rxap-table-column-option", inputs: { name: "name", active: "active", inactive: "inactive", hidden: "hidden", show: "show" }, ngImport: i0__namespace, template: "<ng-content></ng-content>\n", styles: [""] });
1337
1337
  __decorate([
1338
1338
  utilities.Required,
@@ -1349,7 +1349,7 @@
1349
1349
  return [{ type: i0__namespace.ElementRef, decorators: [{
1350
1350
  type: i0.Inject,
1351
1351
  args: [i0.ElementRef]
1352
- }] }, { type: i1__namespace$4.ActivatedRoute }];
1352
+ }] }, { type: i1__namespace$4.Router }];
1353
1353
  }, propDecorators: { name: [{
1354
1354
  type: i0.Input
1355
1355
  }], active: [{