@foblex/m-render 2.8.3 → 2.8.5
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/fesm2022/foblex-m-render.mjs +13 -11
- package/fesm2022/foblex-m-render.mjs.map +1 -1
- package/index.d.ts +11 -10
- package/package.json +1 -1
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:
|
|
442
|
+
declare function MExecution<TRequest, TResponse>(requestType: Type<TRequest>): (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:
|
|
447
|
+
static register<TRequest, TResponse>(type: any, handler: Type<IExecution<TRequest, TResponse>>): 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,13 @@ 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
|
+
constructor();
|
|
808
809
|
}
|
|
809
810
|
|
|
810
811
|
declare class CalculateAbsoluteTopToContainerRequest {
|
|
811
812
|
element: HTMLElement;
|
|
812
|
-
static requestToken: symbol;
|
|
813
|
+
static readonly requestToken: unique symbol;
|
|
813
814
|
constructor(element: HTMLElement);
|
|
814
815
|
}
|
|
815
816
|
|
|
@@ -822,7 +823,7 @@ declare class CalculateAbsoluteTopToContainer implements IExecution<CalculateAbs
|
|
|
822
823
|
|
|
823
824
|
declare class ScrollToElementInContainerRequest {
|
|
824
825
|
hash: string;
|
|
825
|
-
static requestToken: symbol;
|
|
826
|
+
static readonly requestToken: unique symbol;
|
|
826
827
|
constructor(hash: string);
|
|
827
828
|
}
|
|
828
829
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foblex/m-render",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.5",
|
|
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",
|