@mathstack/app-kit 0.0.1-beta.1 → 0.0.1-beta.2
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
3
|
import { inject, Injectable, NgZone, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, DestroyRef, ContentChild, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
3
4
|
import { csvParse } from 'd3';
|
|
4
5
|
import { forkJoin, of, mergeMap, from, map, switchMap, BehaviorSubject, fromEvent, debounceTime, distinctUntilChanged, withLatestFrom } from 'rxjs';
|
|
5
6
|
import { parse } from 'yaml';
|
|
6
|
-
import { HttpClient } from '@angular/common/http';
|
|
7
7
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
8
8
|
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
|
9
9
|
import rehypeRaw from 'rehype-raw';
|
|
@@ -839,5 +839,5 @@ const STYLES_PATH = './lib/styles/_index.scss';
|
|
|
839
839
|
* Generated bundle index. Do not edit.
|
|
840
840
|
*/
|
|
841
841
|
|
|
842
|
-
export { AdkActiveHeadingTracker, AdkAssetResponse, AdkAssetsService, AdkDocumentIndexComponent, AdkDocumentationConfigParser, AdkDocumentationContentService, AdkDocumentationDisplayComponent, AdkMarkdownParser, AdkShikiHighlighter, NavigationSiblingsComponent, NgOnChangesUtilities, STYLES_PATH, ShikiTheme, deepMerge, defaultHighlighterLangs, runNgChangeDetectionThen, safeAssign };
|
|
842
|
+
export { AdkActiveHeadingTracker, AdkAssetResponse, AdkAssetsResource, AdkAssetsService, AdkDocumentIndexComponent, AdkDocumentationConfigParser, AdkDocumentationContentService, AdkDocumentationDisplayComponent, AdkMarkdownParser, AdkShikiHighlighter, NavigationSiblingsComponent, NgOnChangesUtilities, STYLES_PATH, ShikiTheme, deepMerge, defaultHighlighterLangs, runNgChangeDetectionThen, safeAssign };
|
|
843
843
|
//# sourceMappingURL=mathstack-app-kit.mjs.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mathstack/app-kit",
|
|
3
3
|
"license": "MIT",
|
|
4
|
+
"version": "0.0.1-beta.2",
|
|
4
5
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": ">=
|
|
6
|
-
"@angular/core": ">=
|
|
6
|
+
"@angular/common": ">=18.0.0 <22.0.0",
|
|
7
|
+
"@angular/core": ">=18.0.0 <22.0.0",
|
|
7
8
|
"hast-util-from-parse5": "^8.0.1",
|
|
8
9
|
"html-entities": "^2.5.2",
|
|
9
10
|
"lodash-es": "^4.17.21",
|
|
@@ -40,7 +41,9 @@
|
|
|
40
41
|
"url": "https://github.com/mathematica-pub/frontend-shared-packages.git",
|
|
41
42
|
"directory": "libs/app-kit"
|
|
42
43
|
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
43
47
|
"module": "fesm2022/mathstack-app-kit.mjs",
|
|
44
|
-
"typings": "types/mathstack-app-kit.d.ts"
|
|
45
|
-
"version": "0.0.1-beta.1"
|
|
48
|
+
"typings": "types/mathstack-app-kit.d.ts"
|
|
46
49
|
}
|
|
@@ -41,6 +41,13 @@ declare class AdkAssetsService {
|
|
|
41
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<AdkAssetsService>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
declare class AdkAssetsResource {
|
|
45
|
+
private http;
|
|
46
|
+
getAsset(path: string, responseType: AdkAssetResponse): Observable<unknown>;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdkAssetsResource, never>;
|
|
48
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdkAssetsResource>;
|
|
49
|
+
}
|
|
50
|
+
|
|
44
51
|
declare const defaultHighlighterLangs: string[];
|
|
45
52
|
declare enum ShikiTheme {
|
|
46
53
|
Andromeeda = "andromeeda",
|
|
@@ -383,5 +390,5 @@ declare function runNgChangeDetectionThen<T>(zone: NgZone): (source: Observable<
|
|
|
383
390
|
|
|
384
391
|
declare const STYLES_PATH = "./lib/styles/_index.scss";
|
|
385
392
|
|
|
386
|
-
export { AdkActiveHeadingTracker, AdkAssetResponse, AdkAssetsService, AdkDocumentIndexComponent, AdkDocumentationConfigParser, AdkDocumentationContentService, AdkDocumentationDisplayComponent, AdkMarkdownParser, AdkShikiHighlighter, NavigationSiblingsComponent, NgOnChangesUtilities, STYLES_PATH, ShikiTheme, deepMerge, defaultHighlighterLangs, runNgChangeDetectionThen, safeAssign };
|
|
393
|
+
export { AdkActiveHeadingTracker, AdkAssetResponse, AdkAssetsResource, AdkAssetsService, AdkDocumentIndexComponent, AdkDocumentationConfigParser, AdkDocumentationContentService, AdkDocumentationDisplayComponent, AdkMarkdownParser, AdkShikiHighlighter, NavigationSiblingsComponent, NgOnChangesUtilities, STYLES_PATH, ShikiTheme, deepMerge, defaultHighlighterLangs, runNgChangeDetectionThen, safeAssign };
|
|
387
394
|
export type { AdkDocsConfig, AdkDocumentationContentOptions, AdkDocumentationNavigationSiblings, AdkFilesConfig, AdkFilesItem, AdkHeadingFragmentLinkOptions, AdkHtmlHeader, AdkMarkdownParsingOptions, AdkNestedObject, AdkParsedContentSection, AdkParsedDocumentation, AdkParsedMarkdownFile, AdkShikiHighlighterOptions };
|