@foblex/m-render 2.7.8 → 2.7.9

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.
@@ -1520,13 +1520,13 @@ class Mediatr {
1520
1520
  _injector = inject(Injector);
1521
1521
  static _executions = new Map();
1522
1522
  static register(type, handler) {
1523
- if (!type?.fToken) {
1524
- throw new Error('Type must have static fToken');
1523
+ if (!type?.requestToken) {
1524
+ throw new Error('Type must have static requestToken');
1525
1525
  }
1526
- Mediatr._executions.set(type?.fToken, handler);
1526
+ Mediatr._executions.set(type?.requestToken, handler);
1527
1527
  }
1528
1528
  execute(request) {
1529
- const token = request.constructor.fToken;
1529
+ const token = request.constructor.requestToken;
1530
1530
  const handlerType = Mediatr._executions.get(token);
1531
1531
  if (!handlerType) {
1532
1532
  throw new Error(`No handler registered for token`, token);
@@ -1568,7 +1568,7 @@ class RenderDynamicComponentRequest {
1568
1568
  item;
1569
1569
  viewContainerRef;
1570
1570
  element;
1571
- static fToken = Symbol('RenderDynamicComponentRequest');
1571
+ static requestToken = Symbol('RenderDynamicComponentRequest');
1572
1572
  constructor(item, viewContainerRef, element) {
1573
1573
  this.item = item;
1574
1574
  this.viewContainerRef = viewContainerRef;
@@ -1622,7 +1622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
1622
1622
  class RenderExternalComponentRequest {
1623
1623
  selector;
1624
1624
  viewContainerRef;
1625
- static fToken = Symbol('RenderExternalComponentRequest');
1625
+ static requestToken = Symbol('RenderExternalComponentRequest');
1626
1626
  constructor(selector, viewContainerRef) {
1627
1627
  this.selector = selector;
1628
1628
  this.viewContainerRef = viewContainerRef;
@@ -1656,7 +1656,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
1656
1656
  class RenderInternalComponentsRequest {
1657
1657
  hostElement;
1658
1658
  viewContainerRef;
1659
- static fToken = Symbol('RenderInternalComponentsRequest');
1659
+ static requestToken = Symbol('RenderInternalComponentsRequest');
1660
1660
  constructor(hostElement, viewContainerRef) {
1661
1661
  this.hostElement = hostElement;
1662
1662
  this.viewContainerRef = viewContainerRef;
@@ -2546,7 +2546,7 @@ const DYNAMIC_COMPONENTS_MODULE_PROVIDERS = [
2546
2546
 
2547
2547
  class ActivateTocByHashRequest {
2548
2548
  hash;
2549
- static fToken = Symbol('ActivateTocByHashRequest');
2549
+ static requestToken = Symbol('ActivateTocByHashRequest');
2550
2550
  constructor(hash) {
2551
2551
  this.hash = hash;
2552
2552
  }
@@ -2575,7 +2575,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
2575
2575
 
2576
2576
  class CalculateTableOfContentRequest {
2577
2577
  hostElement;
2578
- static fToken = Symbol('CalculateTableOfContentRequest');
2578
+ static requestToken = Symbol('CalculateTableOfContentRequest');
2579
2579
  constructor(hostElement) {
2580
2580
  this.hostElement = hostElement;
2581
2581
  }
@@ -2592,7 +2592,7 @@ class TableOfContentData {
2592
2592
 
2593
2593
  class CalculateAbsoluteTopToContainerRequest {
2594
2594
  element;
2595
- static fToken = Symbol('CalculateAbsoluteTopToContainerRequest');
2595
+ static requestToken = Symbol('CalculateAbsoluteTopToContainerRequest');
2596
2596
  constructor(element) {
2597
2597
  this.element = element;
2598
2598
  }
@@ -2683,7 +2683,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
2683
2683
  }] });
2684
2684
 
2685
2685
  class CalculateHashFromScrollPositionAndActivateTocRequest {
2686
- static fToken = Symbol('CalculateHashFromScrollPositionAndActivateTocRequest');
2686
+ static requestToken = Symbol('CalculateHashFromScrollPositionAndActivateTocRequest');
2687
2687
  }
2688
2688
 
2689
2689
  let CalculateTableOfContent = class CalculateTableOfContent {
@@ -2750,7 +2750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
2750
2750
 
2751
2751
  class ScrollToElementInContainerRequest {
2752
2752
  hash;
2753
- static fToken = Symbol('ScrollToElementInContainerRequest');
2753
+ static requestToken = Symbol('ScrollToElementInContainerRequest');
2754
2754
  constructor(hash) {
2755
2755
  this.hash = hash;
2756
2756
  }