@foblex/m-render 2.8.2 → 2.8.4

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/index.d.ts CHANGED
@@ -428,7 +428,7 @@ declare class RenderDynamicComponentRequest {
428
428
  readonly item: IDynamicComponentItem;
429
429
  readonly viewContainerRef: ViewContainerRef;
430
430
  readonly element?: HTMLElement | undefined;
431
- static requestToken: symbol;
431
+ static readonly requestToken: unique symbol;
432
432
  constructor(item: IDynamicComponentItem, viewContainerRef: ViewContainerRef, element?: HTMLElement | undefined);
433
433
  }
434
434
 
@@ -439,12 +439,12 @@ interface IHandler<TRequest, TResponse> {
439
439
  type IExecution<TRequest, TResponse> = IHandler<TRequest, TResponse>;
440
440
 
441
441
  type Constructor<T = any> = new (...args: any[]) => T;
442
- declare function MExecution<TRequest, TResponse>(requestType: Type<TRequest>): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
442
+ declare function MExecution<TRequest, TResponse>(requestType: symbol, index: string): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
443
443
 
444
444
  declare class Mediatr {
445
445
  private readonly _injector;
446
446
  private static _executions;
447
- static register<TRequest, TResponse>(type: any, handler: Type<IExecution<TRequest, TResponse>>): void;
447
+ static register<TRequest, TResponse>(type: symbol, handler: Type<IExecution<TRequest, TResponse>>, index?: string): void;
448
448
  execute<TResponse>(request: any): TResponse;
449
449
  static ɵfac: i0.ɵɵFactoryDeclaration<Mediatr, never>;
450
450
  static ɵprov: i0.ɵɵInjectableDeclaration<Mediatr>;
@@ -465,7 +465,7 @@ declare class RenderDynamicComponent implements IExecution<RenderDynamicComponen
465
465
  declare class RenderExternalComponentRequest {
466
466
  readonly selector: string;
467
467
  readonly viewContainerRef: ViewContainerRef;
468
- static requestToken: symbol;
468
+ static readonly requestToken: unique symbol;
469
469
  constructor(selector: string, viewContainerRef: ViewContainerRef);
470
470
  }
471
471
 
@@ -480,7 +480,7 @@ declare class RenderExternalComponent implements IExecution<RenderExternalCompon
480
480
  declare class RenderInternalComponentsRequest {
481
481
  readonly hostElement: HTMLElement;
482
482
  readonly viewContainerRef: ViewContainerRef;
483
- static requestToken: symbol;
483
+ static readonly requestToken: unique symbol;
484
484
  constructor(hostElement: HTMLElement, viewContainerRef: ViewContainerRef);
485
485
  }
486
486
 
@@ -756,7 +756,7 @@ interface IScrollableContainer {
756
756
 
757
757
  declare class ActivateTocByHashRequest {
758
758
  hash: string | undefined;
759
- static requestToken: symbol;
759
+ static readonly requestToken: unique symbol;
760
760
  constructor(hash: string | undefined);
761
761
  }
762
762
 
@@ -769,7 +769,7 @@ declare class ActivateTocByHash implements IExecution<ActivateTocByHashRequest,
769
769
 
770
770
  declare class CalculateTableOfContentRequest {
771
771
  readonly hostElement: HTMLElement;
772
- static requestToken: symbol;
772
+ static readonly requestToken: unique symbol;
773
773
  constructor(hostElement: HTMLElement);
774
774
  }
775
775
 
@@ -804,12 +804,12 @@ declare class CalculateHashFromScrollPositionAndActivateToc implements IExecutio
804
804
  }
805
805
 
806
806
  declare class CalculateHashFromScrollPositionAndActivateTocRequest {
807
- static requestToken: symbol;
807
+ static readonly requestToken: unique symbol;
808
808
  }
809
809
 
810
810
  declare class CalculateAbsoluteTopToContainerRequest {
811
811
  element: HTMLElement;
812
- static requestToken: symbol;
812
+ static readonly requestToken: unique symbol;
813
813
  constructor(element: HTMLElement);
814
814
  }
815
815
 
@@ -822,7 +822,7 @@ declare class CalculateAbsoluteTopToContainer implements IExecution<CalculateAbs
822
822
 
823
823
  declare class ScrollToElementInContainerRequest {
824
824
  hash: string;
825
- static requestToken: symbol;
825
+ static readonly requestToken: unique symbol;
826
826
  constructor(hash: string);
827
827
  }
828
828
 
@@ -870,7 +870,7 @@ declare class TableOfContentItemsComponent {
870
870
  static ɵcmp: i0.ɵɵComponentDeclaration<TableOfContentItemsComponent, "ul[f-table-of-content-items]", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
871
871
  }
872
872
 
873
- declare const TABLE_OF_CONTENT_MODULE_PROVIDERS: (typeof ActivateTocByHash | typeof CalculateAbsoluteTopToContainer | typeof CalculateHashFromScrollPositionAndActivateToc | typeof CalculateTableOfContent | typeof ScrollToElementInContainer)[];
873
+ declare const TABLE_OF_CONTENT_MODULE_PROVIDERS: (typeof ActivateTocByHash | typeof CalculateTableOfContent | typeof CalculateAbsoluteTopToContainer | typeof CalculateHashFromScrollPositionAndActivateToc | typeof ScrollToElementInContainer)[];
874
874
 
875
875
  declare class TableOfContent {
876
876
  private readonly _hostElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foblex/m-render",
3
- "version": "2.8.2",
3
+ "version": "2.8.4",
4
4
  "description": "MRender is a static site generator designed for creating fast and user-friendly documentation sites based on Markdown files. MarkEngine supports extended Markdown syntax and can render Angular components directly from Markdown files.",
5
5
  "author": "Siarhei Huzarevich",
6
6
  "license": "MIT",