@foblex/m-render 2.8.4 → 2.8.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.
- package/fesm2022/foblex-m-render.mjs +17 -15
- package/fesm2022/foblex-m-render.mjs.map +1 -1
- package/index.d.ts +7 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -504,7 +504,7 @@ declare class DynamicComponentsStore {
|
|
|
504
504
|
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentsStore>;
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
declare const DYNAMIC_COMPONENTS_MODULE_PROVIDERS: (typeof
|
|
507
|
+
declare const DYNAMIC_COMPONENTS_MODULE_PROVIDERS: (typeof DynamicComponentsStore | typeof RenderDynamicComponent | typeof RenderExternalComponent | typeof PreviewGroupService | typeof RenderInternalComponents)[];
|
|
508
508
|
|
|
509
509
|
declare class DocumentationStore implements IMediaLinksProvider, IHeaderConfigurationStore {
|
|
510
510
|
private readonly _configuration;
|
|
@@ -786,13 +786,13 @@ declare class CalculateTableOfContent implements IExecution<CalculateTableOfCont
|
|
|
786
786
|
static ɵprov: i0.ɵɵInjectableDeclaration<CalculateTableOfContent>;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
declare class CalculateHashFromScrollPositionAndActivateToc implements IExecution<CalculateHashFromScrollPositionAndActivateTocRequest,
|
|
789
|
+
declare class CalculateHashFromScrollPositionAndActivateToc implements IExecution<CalculateHashFromScrollPositionAndActivateTocRequest, void> {
|
|
790
790
|
private readonly _docElement;
|
|
791
791
|
private readonly _window;
|
|
792
792
|
private readonly _provider;
|
|
793
793
|
private readonly _scrollableContainer;
|
|
794
794
|
private readonly _mediatr;
|
|
795
|
-
handle(): void;
|
|
795
|
+
handle(payload: CalculateHashFromScrollPositionAndActivateTocRequest): void;
|
|
796
796
|
private _getContainerScrollTop;
|
|
797
797
|
private _getHeaderHeight;
|
|
798
798
|
private _calculateElementsTopPositions;
|
|
@@ -805,6 +805,7 @@ declare class CalculateHashFromScrollPositionAndActivateToc implements IExecutio
|
|
|
805
805
|
|
|
806
806
|
declare class CalculateHashFromScrollPositionAndActivateTocRequest {
|
|
807
807
|
static readonly requestToken: unique symbol;
|
|
808
|
+
constructor();
|
|
808
809
|
}
|
|
809
810
|
|
|
810
811
|
declare class CalculateAbsoluteTopToContainerRequest {
|
|
@@ -870,7 +871,7 @@ declare class TableOfContentItemsComponent {
|
|
|
870
871
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableOfContentItemsComponent, "ul[f-table-of-content-items]", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
871
872
|
}
|
|
872
873
|
|
|
873
|
-
declare const TABLE_OF_CONTENT_MODULE_PROVIDERS: (typeof
|
|
874
|
+
declare const TABLE_OF_CONTENT_MODULE_PROVIDERS: (typeof CalculateAbsoluteTopToContainer | typeof CalculateHashFromScrollPositionAndActivateToc | typeof ActivateTocByHash | typeof CalculateTableOfContent | typeof ScrollToElementInContainer)[];
|
|
874
875
|
|
|
875
876
|
declare class TableOfContent {
|
|
876
877
|
private readonly _hostElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foblex/m-render",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.6",
|
|
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",
|