@foblex/m-render 2.8.6 → 2.8.7
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 +20 -17
- package/fesm2022/foblex-m-render.mjs.map +1 -1
- package/index.d.ts +10 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -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 DynamicComponentsStore | typeof
|
|
507
|
+
declare const DYNAMIC_COMPONENTS_MODULE_PROVIDERS: (typeof DynamicComponentsStore | typeof PreviewGroupService | typeof RenderDynamicComponent | typeof RenderExternalComponent | typeof RenderInternalComponents)[];
|
|
508
508
|
|
|
509
509
|
declare class DocumentationStore implements IMediaLinksProvider, IHeaderConfigurationStore {
|
|
510
510
|
private readonly _configuration;
|
|
@@ -786,26 +786,27 @@ declare class CalculateTableOfContent implements IExecution<CalculateTableOfCont
|
|
|
786
786
|
static ɵprov: i0.ɵɵInjectableDeclaration<CalculateTableOfContent>;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
declare class
|
|
789
|
+
declare class CalculateHashFromScrollPosition implements IExecution<CalculateHashFromScrollPositionRequest, 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(payload:
|
|
795
|
+
handle(payload: CalculateHashFromScrollPositionRequest): void;
|
|
796
796
|
private _getContainerScrollTop;
|
|
797
797
|
private _getHeaderHeight;
|
|
798
798
|
private _calculateElementsTopPositions;
|
|
799
799
|
private _calculateAbsoluteTopToContainer;
|
|
800
800
|
private _isScrollAtBottom;
|
|
801
801
|
private _findTargetHashByPosition;
|
|
802
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
803
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
802
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalculateHashFromScrollPosition, never>;
|
|
803
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CalculateHashFromScrollPosition>;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
declare class
|
|
806
|
+
declare class CalculateHashFromScrollPositionRequest {
|
|
807
|
+
readonly empty: string;
|
|
807
808
|
static readonly requestToken: unique symbol;
|
|
808
|
-
constructor();
|
|
809
|
+
constructor(empty?: string);
|
|
809
810
|
}
|
|
810
811
|
|
|
811
812
|
declare class CalculateAbsoluteTopToContainerRequest {
|
|
@@ -871,7 +872,7 @@ declare class TableOfContentItemsComponent {
|
|
|
871
872
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableOfContentItemsComponent, "ul[f-table-of-content-items]", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
872
873
|
}
|
|
873
874
|
|
|
874
|
-
declare const TABLE_OF_CONTENT_MODULE_PROVIDERS: (typeof
|
|
875
|
+
declare const TABLE_OF_CONTENT_MODULE_PROVIDERS: (typeof ActivateTocByHash | typeof CalculateTableOfContent | typeof ScrollToElementInContainer | typeof CalculateAbsoluteTopToContainer | typeof CalculateHashFromScrollPosition)[];
|
|
875
876
|
|
|
876
877
|
declare class TableOfContent {
|
|
877
878
|
private readonly _hostElement;
|
|
@@ -1269,5 +1270,5 @@ declare class ThemeButtonComponent implements OnInit {
|
|
|
1269
1270
|
|
|
1270
1271
|
declare function provideTheme(): Provider[];
|
|
1271
1272
|
|
|
1272
|
-
export { AVAILABLE_LANGUAGES, ActivateTocByHash, ActivateTocByHashRequest, CalculateAbsoluteTopToContainer, CalculateAbsoluteTopToContainerRequest,
|
|
1273
|
+
export { AVAILABLE_LANGUAGES, ActivateTocByHash, ActivateTocByHashRequest, CalculateAbsoluteTopToContainer, CalculateAbsoluteTopToContainerRequest, CalculateHashFromScrollPosition, CalculateHashFromScrollPositionRequest, CalculateTableOfContent, CalculateTableOfContentRequest, CodeGroup, CodeView, DOCUMENTATION_CONFIGURATION, DOCUMENTATION_ROUTES, DOCUMENT_ELEMENT, DYNAMIC_COMPONENTS_MODULE_PROVIDERS, Documentation, DocumentationStore, DropdownMenu, DynamicComponentsStore, EMarkdownContainerType, EParsedContainerType, EXTERNAL_COMPONENT_PROVIDER, ExternalComponent, FCheckboxComponent, FHomePageButtonsRowComponent, FHomePageFeaturesComponent, FHomePageFooterComponent, FHomePageHeaderComponent, FHomePageHeroComponent, FHomePageMembershipsComponent, FMetaService, FNavigationItemComponent, FRadioButtonComponent, FSearchButtonComponent, F_PREVIEW_NAVIGATION_PROVIDER, FooterNavigationButton, GTAG_CONFIG, GTagService, GetPreviousNextPageNavigationHandler, GetPreviousNextPageNavigationRequest, GetPreviousNextPageNavigationResponse, HEADER_CONFIGURATION_PROVIDER, HOME_PAGE_CONFIGURATION, HOME_ROUTES, HamburgerButton, HandleNavigationLinksHandler, HandleNavigationLinksRequest, HeaderComponent, HeaderMenuBase, Highlight, HighlightService, HomeRootComponent, HomeStore, IS_BROWSER_PLATFORM, InlineMenu, LOCAL_STORAGE, LOCATION, MEDIA_LINKS_PROVIDER, MExecution, MarkCodeFocusedBlocksPostProcessor, MarkdownFooter, MarkdownRenderer, MarkdownRouter, MarkdownService, MediaLinks, Mediatr, NavigationGroupComponent, NavigationPanelComponent, ParseAlerts, ParseAngularExampleWithCodeLinks, ParseGroupedCodeItems, ParsePreviewGroup, ParseShowcase, ParseSingleCodeItem, PopoverService, PreviewActionBar, PreviewCard, PreviewCardBase, PreviewGroupService, RenderDynamicComponent, RenderDynamicComponentRequest, RenderExternalComponent, RenderExternalComponentRequest, RenderInternalComponents, RenderInternalComponentsRequest, SCROLLABLE_CONTAINER, SHOWCASE_DATA, ScrollToElementInContainer, ScrollToElementInContainerRequest, ScrollableContainer, Showcase, ShowcaseItem, TABLE_OF_CONTENT_MODULE_PROVIDERS, TOGGLE_NAVIGATION_COMPONENT, TableOfContent, TableOfContentData, TableOfContentItemsComponent, ThemeButtonComponent, ThemeService, UNIVERSAL_THEME, WINDOW, calculateMarkdownUrl, coerceComponentHeight, copyToClipboard, defineLazyComponent, defineNavigationGroup, encodeDataAttr, extractComponent, getContent, isClosingToken, isOpeningToken, parseComponentTag, parseFileLinkLine, parseSingleBracketText, provide404Markdown, provideBackground, provideComponents, provideDirectory, provideDocumentation, provideFooterNavigation, provideGTag, provideHeader, provideHeaderMediaLinks, provideHeaderNavigation, provideHeaderSearch, provideHero, provideHomeButtons, provideHomeFeatures, provideHomeFooter, provideHomePage, provideImage, provideLanguage, provideLogo, provideMeta, provideNavigation, provideShowcase, provideTableOfContent, provideTheme, provideTitle };
|
|
1273
1274
|
export type { ConsentState, GTagConfig, IDocumentationConfiguration, IDocumentationFooterConfiguration, IDynamicComponentInstance, IDynamicComponentItem, IExampleViewData, IExecution, IHandler, IHasHeaderConfiguration, IHeaderConfiguration, IHeaderConfigurationStore, IHeaderMenuLink, IHomePageConfiguration, IHomePageFeature, IHomePageFooter, IHomePageHero, IHomePageLink, IHomePageMembership, ILanguageConfiguration, ILink, ILogoConfiguration, IMarkdownContainerData, IMarkdownFooterLink, IMarkdownFooterNavigation, IMarkdownItToken, IMediaLink, IMediaLinksProvider, IMetaData, INavigationGroup, INavigationItem, INavigationItemBadge, IParsedContainerData, IPreviewNavigationGroup, IPreviewNavigationService, IScrollableContainer, IShowcaseItem, ITableOfContent, ITableOfContentItem, ITitleConfiguration, IToggleNavigationComponent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foblex/m-render",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.7",
|
|
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",
|