markstream-angular 0.0.6 → 0.0.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/dist/fesm2022/markstream-angular.mjs +135 -135
- package/package.json +9 -9
|
@@ -494,8 +494,8 @@ class BlockquoteNodeComponent {
|
|
|
494
494
|
get nestedPrefix() {
|
|
495
495
|
return `${this.indexKey || 'blockquote'}-quote`;
|
|
496
496
|
}
|
|
497
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
498
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BlockquoteNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
498
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: BlockquoteNodeComponent, isStandalone: true, selector: "markstream-angular-blockquote-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
499
499
|
<blockquote class="blockquote-node" dir="auto" [attr.cite]="cite">
|
|
500
500
|
<markstream-angular-nested-renderer
|
|
501
501
|
[nodes]="children"
|
|
@@ -505,7 +505,7 @@ class BlockquoteNodeComponent {
|
|
|
505
505
|
</blockquote>
|
|
506
506
|
`, isInline: true, styles: [".blockquote-node :where(.markstream-angular){content-visibility:visible;contain:content;contain-intrinsic-size:0 0}\n"], dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
507
507
|
}
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BlockquoteNodeComponent, decorators: [{
|
|
509
509
|
type: Component,
|
|
510
510
|
args: [{ selector: 'markstream-angular-blockquote-node', standalone: true, imports: [CommonModule, forwardRef(() => NestedRendererComponent)], template: `
|
|
511
511
|
<blockquote class="blockquote-node" dir="auto" [attr.cite]="cite">
|
|
@@ -529,10 +529,10 @@ class CheckboxNodeComponent {
|
|
|
529
529
|
get checked() {
|
|
530
530
|
return !!this.node?.checked;
|
|
531
531
|
}
|
|
532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
533
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CheckboxNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
533
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: CheckboxNodeComponent, isStandalone: true, selector: "markstream-angular-checkbox-node", inputs: { node: "node" }, ngImport: i0, template: '<input type="checkbox" disabled [checked]="checked">', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
534
534
|
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CheckboxNodeComponent, decorators: [{
|
|
536
536
|
type: Component,
|
|
537
537
|
args: [{
|
|
538
538
|
selector: 'markstream-angular-checkbox-node',
|
|
@@ -795,10 +795,10 @@ class PreCodeNodeComponent {
|
|
|
795
795
|
get loading() {
|
|
796
796
|
return this.node?.loading === true;
|
|
797
797
|
}
|
|
798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
799
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: PreCodeNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
799
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: PreCodeNodeComponent, isStandalone: true, selector: "markstream-angular-pre-code-node", inputs: { node: "node" }, ngImport: i0, template: `<pre [class]="languageClass" [attr.aria-busy]="loading" [attr.aria-label]="ariaLabel" [attr.data-language]="language" tabindex="0"><code translate="no" [textContent]="code"></code></pre>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
800
800
|
}
|
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: PreCodeNodeComponent, decorators: [{
|
|
802
802
|
type: Component,
|
|
803
803
|
args: [{
|
|
804
804
|
selector: 'markstream-angular-pre-code-node',
|
|
@@ -881,8 +881,8 @@ class HtmlPreviewFrameComponent {
|
|
|
881
881
|
</body>
|
|
882
882
|
</html>`;
|
|
883
883
|
}
|
|
884
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
885
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HtmlPreviewFrameComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
885
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: HtmlPreviewFrameComponent, isStandalone: true, selector: "markstream-angular-html-preview-frame", inputs: { code: "code", isDark: "isDark", htmlPreviewAllowScripts: "htmlPreviewAllowScripts", htmlPreviewSandbox: "htmlPreviewSandbox", title: "title", onClose: "onClose" }, ngImport: i0, template: `
|
|
886
886
|
<div
|
|
887
887
|
class="html-preview-frame__backdrop"
|
|
888
888
|
[class.html-preview-frame__backdrop--dark]="isDark"
|
|
@@ -918,7 +918,7 @@ class HtmlPreviewFrameComponent {
|
|
|
918
918
|
</div>
|
|
919
919
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
920
920
|
}
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HtmlPreviewFrameComponent, decorators: [{
|
|
922
922
|
type: Component,
|
|
923
923
|
args: [{
|
|
924
924
|
selector: 'markstream-angular-html-preview-frame',
|
|
@@ -1483,8 +1483,8 @@ class CodeBlockNodeComponent {
|
|
|
1483
1483
|
textarea.remove();
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1487
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CodeBlockNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1487
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: CodeBlockNodeComponent, isStandalone: true, selector: "markstream-angular-code-block-node", inputs: { node: "node", context: "context", props: "props" }, viewQueries: [{ propertyName: "editorHost", first: true, predicate: ["editorHost"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
1488
1488
|
<div
|
|
1489
1489
|
class="code-block-container"
|
|
1490
1490
|
[class.is-dark]="resolvedIsDark"
|
|
@@ -1661,7 +1661,7 @@ class CodeBlockNodeComponent {
|
|
|
1661
1661
|
</ng-template>
|
|
1662
1662
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: PreCodeNodeComponent, selector: "markstream-angular-pre-code-node", inputs: ["node"] }, { kind: "component", type: HtmlPreviewFrameComponent, selector: "markstream-angular-html-preview-frame", inputs: ["code", "isDark", "htmlPreviewAllowScripts", "htmlPreviewSandbox", "title", "onClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1663
1663
|
}
|
|
1664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CodeBlockNodeComponent, decorators: [{
|
|
1665
1665
|
type: Component,
|
|
1666
1666
|
args: [{
|
|
1667
1667
|
selector: 'markstream-angular-code-block-node',
|
|
@@ -2292,8 +2292,8 @@ class D2BlockNodeComponent {
|
|
|
2292
2292
|
}
|
|
2293
2293
|
queueMicrotask(() => this.syncSvgHost());
|
|
2294
2294
|
}
|
|
2295
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2296
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: D2BlockNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: D2BlockNodeComponent, isStandalone: true, selector: "markstream-angular-d2-block-node", inputs: { node: "node", context: "context", props: "props" }, viewQueries: [{ propertyName: "previewHost", first: true, predicate: ["previewHost"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2297
2297
|
<div
|
|
2298
2298
|
class="markstream-angular-enhanced-block markstream-angular-enhanced-block--d2"
|
|
2299
2299
|
[attr.data-markstream-d2]="'1'"
|
|
@@ -2376,7 +2376,7 @@ class D2BlockNodeComponent {
|
|
|
2376
2376
|
</div>
|
|
2377
2377
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2378
2378
|
}
|
|
2379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: D2BlockNodeComponent, decorators: [{
|
|
2380
2380
|
type: Component,
|
|
2381
2381
|
args: [{
|
|
2382
2382
|
selector: 'markstream-angular-d2-block-node',
|
|
@@ -2510,8 +2510,8 @@ class DefinitionListNodeComponent {
|
|
|
2510
2510
|
itemPrefix(index, part) {
|
|
2511
2511
|
return `${this.indexKey || 'definition-list'}-${index}-${part}`;
|
|
2512
2512
|
}
|
|
2513
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2514
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DefinitionListNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2514
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: DefinitionListNodeComponent, isStandalone: true, selector: "markstream-angular-definition-list-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
2515
2515
|
<dl>
|
|
2516
2516
|
<ng-container *ngFor="let item of items; let idx = index; trackBy: trackByIndex">
|
|
2517
2517
|
<dt>
|
|
@@ -2532,7 +2532,7 @@ class DefinitionListNodeComponent {
|
|
|
2532
2532
|
</dl>
|
|
2533
2533
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2534
2534
|
}
|
|
2535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DefinitionListNodeComponent, decorators: [{
|
|
2536
2536
|
type: Component,
|
|
2537
2537
|
args: [{
|
|
2538
2538
|
selector: 'markstream-angular-definition-list-node',
|
|
@@ -2644,10 +2644,10 @@ class DynamicNodeHostComponent {
|
|
|
2644
2644
|
return true;
|
|
2645
2645
|
return Object.values(inputMap).includes(key);
|
|
2646
2646
|
}
|
|
2647
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2648
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2647
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DynamicNodeHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2648
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: DynamicNodeHostComponent, isStandalone: true, selector: "markstream-angular-dynamic-node-host", inputs: { component: "component", node: "node", context: "context", indexKey: "indexKey", inputs: "inputs" }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: '<ng-template #container></ng-template>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2649
2649
|
}
|
|
2650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DynamicNodeHostComponent, decorators: [{
|
|
2651
2651
|
type: Component,
|
|
2652
2652
|
args: [{
|
|
2653
2653
|
selector: 'markstream-angular-dynamic-node-host',
|
|
@@ -2675,10 +2675,10 @@ class EmojiNodeComponent {
|
|
|
2675
2675
|
get text() {
|
|
2676
2676
|
return getString$1(this.node?.raw || this.node?.markup || this.node?.content || this.node?.name);
|
|
2677
2677
|
}
|
|
2678
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2679
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: EmojiNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2679
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: EmojiNodeComponent, isStandalone: true, selector: "markstream-angular-emoji-node", inputs: { node: "node" }, ngImport: i0, template: '<span class="markstream-angular-emoji">{{ text }}</span>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2680
2680
|
}
|
|
2681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: EmojiNodeComponent, decorators: [{
|
|
2682
2682
|
type: Component,
|
|
2683
2683
|
args: [{
|
|
2684
2684
|
selector: 'markstream-angular-emoji-node',
|
|
@@ -2698,8 +2698,8 @@ class EmphasisNodeComponent {
|
|
|
2698
2698
|
get nestedPrefix() {
|
|
2699
2699
|
return `${this.indexKey || 'emphasis'}-em`;
|
|
2700
2700
|
}
|
|
2701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2702
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: EmphasisNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2702
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: EmphasisNodeComponent, isStandalone: true, selector: "markstream-angular-emphasis-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
2703
2703
|
<em>
|
|
2704
2704
|
<markstream-angular-nested-renderer
|
|
2705
2705
|
[nodes]="children"
|
|
@@ -2709,7 +2709,7 @@ class EmphasisNodeComponent {
|
|
|
2709
2709
|
</em>
|
|
2710
2710
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2711
2711
|
}
|
|
2712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: EmphasisNodeComponent, decorators: [{
|
|
2713
2713
|
type: Component,
|
|
2714
2714
|
args: [{
|
|
2715
2715
|
selector: 'markstream-angular-emphasis-node',
|
|
@@ -2763,8 +2763,8 @@ class FallbackComponent {
|
|
|
2763
2763
|
return !this.node.loading;
|
|
2764
2764
|
return this.context?.final;
|
|
2765
2765
|
}
|
|
2766
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2767
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2767
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: FallbackComponent, isStandalone: true, selector: "markstream-angular-fallback-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
2768
2768
|
<div
|
|
2769
2769
|
class="markstream-nested-custom"
|
|
2770
2770
|
[class]="customClassName"
|
|
@@ -2787,7 +2787,7 @@ class FallbackComponent {
|
|
|
2787
2787
|
</div>
|
|
2788
2788
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2789
2789
|
}
|
|
2790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FallbackComponent, decorators: [{
|
|
2791
2791
|
type: Component,
|
|
2792
2792
|
args: [{
|
|
2793
2793
|
selector: 'markstream-angular-fallback-node',
|
|
@@ -2836,8 +2836,8 @@ class FootnoteAnchorNodeComponent {
|
|
|
2836
2836
|
get title() {
|
|
2837
2837
|
return `Back to reference ${this.id}`;
|
|
2838
2838
|
}
|
|
2839
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2840
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2839
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FootnoteAnchorNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2840
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: FootnoteAnchorNodeComponent, isStandalone: true, selector: "markstream-angular-footnote-anchor-node", inputs: { node: "node" }, ngImport: i0, template: `
|
|
2841
2841
|
<a
|
|
2842
2842
|
class="footnote-anchor text-sm text-[#0366d6] hover:underline cursor-pointer"
|
|
2843
2843
|
[attr.href]="href"
|
|
@@ -2847,7 +2847,7 @@ class FootnoteAnchorNodeComponent {
|
|
|
2847
2847
|
</a>
|
|
2848
2848
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2849
2849
|
}
|
|
2850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FootnoteAnchorNodeComponent, decorators: [{
|
|
2851
2851
|
type: Component,
|
|
2852
2852
|
args: [{
|
|
2853
2853
|
selector: 'markstream-angular-footnote-anchor-node',
|
|
@@ -2878,8 +2878,8 @@ class FootnoteNodeComponent {
|
|
|
2878
2878
|
get nestedPrefix() {
|
|
2879
2879
|
return `${this.indexKey || 'footnote'}-children`;
|
|
2880
2880
|
}
|
|
2881
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2882
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FootnoteNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2882
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: FootnoteNodeComponent, isStandalone: true, selector: "markstream-angular-footnote-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
2883
2883
|
<div [attr.id]="footnoteId" class="markstream-nested-footnote">
|
|
2884
2884
|
<markstream-angular-nested-renderer
|
|
2885
2885
|
[nodes]="children"
|
|
@@ -2889,7 +2889,7 @@ class FootnoteNodeComponent {
|
|
|
2889
2889
|
</div>
|
|
2890
2890
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2891
2891
|
}
|
|
2892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FootnoteNodeComponent, decorators: [{
|
|
2893
2893
|
type: Component,
|
|
2894
2894
|
args: [{
|
|
2895
2895
|
selector: 'markstream-angular-footnote-node',
|
|
@@ -2925,14 +2925,14 @@ class FootnoteReferenceNodeComponent {
|
|
|
2925
2925
|
get referenceId() {
|
|
2926
2926
|
return `fnref-${this.id}`;
|
|
2927
2927
|
}
|
|
2928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2929
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2928
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FootnoteReferenceNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2929
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: FootnoteReferenceNodeComponent, isStandalone: true, selector: "markstream-angular-footnote-reference-node", inputs: { node: "node" }, ngImport: i0, template: `
|
|
2930
2930
|
<sup [attr.id]="referenceId" class="markstream-nested-footnote-ref">
|
|
2931
2931
|
<a [attr.href]="href">[{{ id }}]</a>
|
|
2932
2932
|
</sup>
|
|
2933
2933
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2934
2934
|
}
|
|
2935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: FootnoteReferenceNodeComponent, decorators: [{
|
|
2936
2936
|
type: Component,
|
|
2937
2937
|
args: [{
|
|
2938
2938
|
selector: 'markstream-angular-footnote-reference-node',
|
|
@@ -2950,10 +2950,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2950
2950
|
}] } });
|
|
2951
2951
|
|
|
2952
2952
|
class HardBreakNodeComponent {
|
|
2953
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2954
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HardBreakNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2954
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: HardBreakNodeComponent, isStandalone: true, selector: "markstream-angular-hardbreak-node", ngImport: i0, template: '<br>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2955
2955
|
}
|
|
2956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HardBreakNodeComponent, decorators: [{
|
|
2957
2957
|
type: Component,
|
|
2958
2958
|
args: [{
|
|
2959
2959
|
selector: 'markstream-angular-hardbreak-node',
|
|
@@ -3010,10 +3010,10 @@ class SafeAttrsDirective {
|
|
|
3010
3010
|
this.appliedClasses.clear();
|
|
3011
3011
|
this.appliedStyles.clear();
|
|
3012
3012
|
}
|
|
3013
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3014
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3013
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SafeAttrsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3014
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: SafeAttrsDirective, isStandalone: true, selector: "[markstreamSafeAttrs]", inputs: { markstreamSafeAttrs: "markstreamSafeAttrs" }, usesOnChanges: true, ngImport: i0 }); }
|
|
3015
3015
|
}
|
|
3016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SafeAttrsDirective, decorators: [{
|
|
3017
3017
|
type: Directive,
|
|
3018
3018
|
args: [{
|
|
3019
3019
|
selector: '[markstreamSafeAttrs]',
|
|
@@ -3037,8 +3037,8 @@ class HeadingNodeComponent {
|
|
|
3037
3037
|
get nestedPrefix() {
|
|
3038
3038
|
return `${this.indexKey || 'heading'}-${this.level}`;
|
|
3039
3039
|
}
|
|
3040
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3041
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3040
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HeadingNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3041
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: HeadingNodeComponent, isStandalone: true, selector: "markstream-angular-heading-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
3042
3042
|
<h1 *ngIf="level === 1" dir="auto" class="heading-node heading-1" [markstreamSafeAttrs]="attrs">
|
|
3043
3043
|
<markstream-angular-nested-renderer [nodes]="children" [context]="context" [indexPrefix]="nestedPrefix" />
|
|
3044
3044
|
</h1>
|
|
@@ -3059,7 +3059,7 @@ class HeadingNodeComponent {
|
|
|
3059
3059
|
</h6>
|
|
3060
3060
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => SafeAttrsDirective), selector: "[markstreamSafeAttrs]", inputs: ["markstreamSafeAttrs"] }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3061
3061
|
}
|
|
3062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HeadingNodeComponent, decorators: [{
|
|
3063
3063
|
type: Component,
|
|
3064
3064
|
args: [{
|
|
3065
3065
|
selector: 'markstream-angular-heading-node',
|
|
@@ -3103,8 +3103,8 @@ class HighlightNodeComponent {
|
|
|
3103
3103
|
get nestedPrefix() {
|
|
3104
3104
|
return `${this.indexKey || 'highlight'}-highlight`;
|
|
3105
3105
|
}
|
|
3106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3107
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HighlightNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3107
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: HighlightNodeComponent, isStandalone: true, selector: "markstream-angular-highlight-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
3108
3108
|
<mark>
|
|
3109
3109
|
<markstream-angular-nested-renderer
|
|
3110
3110
|
[nodes]="children"
|
|
@@ -3114,7 +3114,7 @@ class HighlightNodeComponent {
|
|
|
3114
3114
|
</mark>
|
|
3115
3115
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3116
3116
|
}
|
|
3117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HighlightNodeComponent, decorators: [{
|
|
3118
3118
|
type: Component,
|
|
3119
3119
|
args: [{
|
|
3120
3120
|
selector: 'markstream-angular-highlight-node',
|
|
@@ -3795,10 +3795,10 @@ class HtmlBlockNodeComponent {
|
|
|
3795
3795
|
}
|
|
3796
3796
|
container.innerHTML = sanitizeHtmlContent(content, htmlPolicy);
|
|
3797
3797
|
}
|
|
3798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3799
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HtmlBlockNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3799
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: HtmlBlockNodeComponent, isStandalone: true, selector: "markstream-angular-html-block-node", inputs: { node: "node", context: "context" }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["containerRef"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: '<div #containerRef class="html-block-node"></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3800
3800
|
}
|
|
3801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HtmlBlockNodeComponent, decorators: [{
|
|
3802
3802
|
type: Component,
|
|
3803
3803
|
args: [{
|
|
3804
3804
|
selector: 'markstream-angular-html-block-node',
|
|
@@ -3844,10 +3844,10 @@ class HtmlInlineNodeComponent {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
container.innerHTML = sanitizeHtmlContent(content, htmlPolicy);
|
|
3846
3846
|
}
|
|
3847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HtmlInlineNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: HtmlInlineNodeComponent, isStandalone: true, selector: "markstream-angular-html-inline-node", inputs: { node: "node", context: "context" }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["containerRef"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: '<span #containerRef class="html-inline-node"></span>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3849
3849
|
}
|
|
3850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: HtmlInlineNodeComponent, decorators: [{
|
|
3851
3851
|
type: Component,
|
|
3852
3852
|
args: [{
|
|
3853
3853
|
selector: 'markstream-angular-html-inline-node',
|
|
@@ -3875,8 +3875,8 @@ class ImageNodeComponent {
|
|
|
3875
3875
|
get title() {
|
|
3876
3876
|
return getString$1(this.node?.title);
|
|
3877
3877
|
}
|
|
3878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3879
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ImageNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3879
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: ImageNodeComponent, isStandalone: true, selector: "markstream-angular-image-node", inputs: { node: "node" }, ngImport: i0, template: `
|
|
3880
3880
|
@if (src) {
|
|
3881
3881
|
<img
|
|
3882
3882
|
class="image-node__img"
|
|
@@ -3889,7 +3889,7 @@ class ImageNodeComponent {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3891
3891
|
}
|
|
3892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ImageNodeComponent, decorators: [{
|
|
3893
3893
|
type: Component,
|
|
3894
3894
|
args: [{
|
|
3895
3895
|
selector: 'markstream-angular-image-node',
|
|
@@ -4267,8 +4267,8 @@ class InfographicBlockNodeComponent {
|
|
|
4267
4267
|
this.syncModalPreview();
|
|
4268
4268
|
});
|
|
4269
4269
|
}
|
|
4270
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4271
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: InfographicBlockNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: InfographicBlockNodeComponent, isStandalone: true, selector: "markstream-angular-infographic-block-node", inputs: { node: "node", context: "context", props: "props" }, host: { listeners: { "window:keydown": "handleWindowKeydown($event)" } }, viewQueries: [{ propertyName: "previewHost", first: true, predicate: ["previewHost"], descendants: true }, { propertyName: "modalHost", first: true, predicate: ["modalHost"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
4272
4272
|
<div
|
|
4273
4273
|
class="markstream-angular-enhanced-block markstream-angular-enhanced-block--infographic"
|
|
4274
4274
|
[attr.data-markstream-infographic]="'1'"
|
|
@@ -4395,7 +4395,7 @@ class InfographicBlockNodeComponent {
|
|
|
4395
4395
|
</div>
|
|
4396
4396
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4397
4397
|
}
|
|
4398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: InfographicBlockNodeComponent, decorators: [{
|
|
4399
4399
|
type: Component,
|
|
4400
4400
|
args: [{
|
|
4401
4401
|
selector: 'markstream-angular-infographic-block-node',
|
|
@@ -4599,8 +4599,8 @@ class InlineCodeNodeComponent {
|
|
|
4599
4599
|
this.settledCode = `${this.settledCode}${this.streamedDelta}`;
|
|
4600
4600
|
this.streamedDelta = '';
|
|
4601
4601
|
}
|
|
4602
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4603
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4602
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: InlineCodeNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4603
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: InlineCodeNodeComponent, isStandalone: true, selector: "markstream-angular-inline-code-node", inputs: { node: "node", context: "context", indexKey: "indexKey", typewriter: "typewriter", fade: "fade" }, usesOnChanges: true, ngImport: i0, template: `
|
|
4604
4604
|
<code>
|
|
4605
4605
|
<span *ngIf="settledCode">{{ settledCode }}</span>
|
|
4606
4606
|
<span
|
|
@@ -4611,7 +4611,7 @@ class InlineCodeNodeComponent {
|
|
|
4611
4611
|
</code>
|
|
4612
4612
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4613
4613
|
}
|
|
4614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: InlineCodeNodeComponent, decorators: [{
|
|
4615
4615
|
type: Component,
|
|
4616
4616
|
args: [{
|
|
4617
4617
|
selector: 'markstream-angular-inline-code-node',
|
|
@@ -4649,8 +4649,8 @@ class InsertNodeComponent {
|
|
|
4649
4649
|
get nestedPrefix() {
|
|
4650
4650
|
return `${this.indexKey || 'insert'}-insert`;
|
|
4651
4651
|
}
|
|
4652
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4653
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4652
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: InsertNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4653
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: InsertNodeComponent, isStandalone: true, selector: "markstream-angular-insert-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
4654
4654
|
<ins>
|
|
4655
4655
|
<markstream-angular-nested-renderer
|
|
4656
4656
|
[nodes]="children"
|
|
@@ -4660,7 +4660,7 @@ class InsertNodeComponent {
|
|
|
4660
4660
|
</ins>
|
|
4661
4661
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4662
4662
|
}
|
|
4663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: InsertNodeComponent, decorators: [{
|
|
4664
4664
|
type: Component,
|
|
4665
4665
|
args: [{
|
|
4666
4666
|
selector: 'markstream-angular-insert-node',
|
|
@@ -4889,8 +4889,8 @@ class TextNodeComponent {
|
|
|
4889
4889
|
this.settledText = `${this.settledText}${this.streamedDelta}`;
|
|
4890
4890
|
this.streamedDelta = '';
|
|
4891
4891
|
}
|
|
4892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4893
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TextNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4893
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: TextNodeComponent, isStandalone: true, selector: "markstream-angular-text-node", inputs: { node: "node", context: "context", indexKey: "indexKey", typewriter: "typewriter", fade: "fade" }, usesOnChanges: true, ngImport: i0, template: `
|
|
4894
4894
|
<ng-container *ngIf="!centered; else centeredText">
|
|
4895
4895
|
<span class="markstream-angular-text-node">
|
|
4896
4896
|
<span *ngIf="settledText">{{ settledText }}</span>
|
|
@@ -4913,7 +4913,7 @@ class TextNodeComponent {
|
|
|
4913
4913
|
</ng-template>
|
|
4914
4914
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4915
4915
|
}
|
|
4916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TextNodeComponent, decorators: [{
|
|
4917
4917
|
type: Component,
|
|
4918
4918
|
args: [{
|
|
4919
4919
|
selector: 'markstream-angular-text-node',
|
|
@@ -5028,8 +5028,8 @@ class LinkNodeComponent {
|
|
|
5028
5028
|
return;
|
|
5029
5029
|
showTooltipForAnchor(this.anchorRef?.nativeElement || null, this.title, 'top', true, this.context?.isDark);
|
|
5030
5030
|
}
|
|
5031
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5032
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5031
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LinkNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5032
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: LinkNodeComponent, isStandalone: true, selector: "markstream-angular-link-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, viewQueries: [{ propertyName: "anchorRef", first: true, predicate: ["anchorEl"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5033
5033
|
<a
|
|
5034
5034
|
*ngIf="!loading; else loadingTpl"
|
|
5035
5035
|
#anchorEl
|
|
@@ -5074,7 +5074,7 @@ class LinkNodeComponent {
|
|
|
5074
5074
|
</ng-template>
|
|
5075
5075
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }, { kind: "component", type: i0.forwardRef(() => TextNodeComponent), selector: "markstream-angular-text-node", inputs: ["node", "context", "indexKey", "typewriter", "fade"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5076
5076
|
}
|
|
5077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LinkNodeComponent, decorators: [{
|
|
5078
5078
|
type: Component,
|
|
5079
5079
|
args: [{
|
|
5080
5080
|
selector: 'markstream-angular-link-node',
|
|
@@ -5145,8 +5145,8 @@ class ListItemNodeComponent {
|
|
|
5145
5145
|
get nestedPrefix() {
|
|
5146
5146
|
return `${this.indexKey || 'list-item'}-item`;
|
|
5147
5147
|
}
|
|
5148
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5149
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ListItemNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5149
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: ListItemNodeComponent, isStandalone: true, selector: "markstream-angular-list-item-node", inputs: { node: "node", context: "context", indexKey: "indexKey", value: "value" }, ngImport: i0, template: `
|
|
5150
5150
|
<li [attr.value]="value ?? null">
|
|
5151
5151
|
<markstream-angular-nested-renderer
|
|
5152
5152
|
[nodes]="children"
|
|
@@ -5156,7 +5156,7 @@ class ListItemNodeComponent {
|
|
|
5156
5156
|
</li>
|
|
5157
5157
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5158
5158
|
}
|
|
5159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ListItemNodeComponent, decorators: [{
|
|
5160
5160
|
type: Component,
|
|
5161
5161
|
args: [{
|
|
5162
5162
|
selector: 'markstream-angular-list-item-node',
|
|
@@ -5202,8 +5202,8 @@ class ListNodeComponent {
|
|
|
5202
5202
|
itemPrefix(index) {
|
|
5203
5203
|
return `${this.indexKey || 'list'}-${index}`;
|
|
5204
5204
|
}
|
|
5205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5206
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ListNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: ListNodeComponent, isStandalone: true, selector: "markstream-angular-list-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
5207
5207
|
<ol *ngIf="ordered; else unorderedList" class="list-node my-5 pl-[calc(13/8*1em)]" [attr.start]="startValue || null">
|
|
5208
5208
|
<markstream-angular-list-item-node
|
|
5209
5209
|
*ngFor="let item of items; let idx = index; trackBy: trackByIndex"
|
|
@@ -5226,7 +5226,7 @@ class ListNodeComponent {
|
|
|
5226
5226
|
</ng-template>
|
|
5227
5227
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(() => ListItemNodeComponent), selector: "markstream-angular-list-item-node", inputs: ["node", "context", "indexKey", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5228
5228
|
}
|
|
5229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ListNodeComponent, decorators: [{
|
|
5230
5230
|
type: Component,
|
|
5231
5231
|
args: [{
|
|
5232
5232
|
selector: 'markstream-angular-list-node',
|
|
@@ -5713,14 +5713,14 @@ class MathBlockNodeComponent {
|
|
|
5713
5713
|
return null;
|
|
5714
5714
|
}
|
|
5715
5715
|
}
|
|
5716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5717
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5716
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: MathBlockNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5717
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: MathBlockNodeComponent, isStandalone: true, selector: "markstream-angular-math-block-node", inputs: { node: "node" }, viewQueries: [{ propertyName: "mathRef", first: true, predicate: ["mathRef"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5718
5718
|
<div class="math-block markstream-nested-math-block" data-markstream-katex-managed="1">
|
|
5719
5719
|
<div #mathRef class="markstream-nested-math-block__render" [class.math-rendering]="rendering"></div>
|
|
5720
5720
|
</div>
|
|
5721
5721
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5722
5722
|
}
|
|
5723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: MathBlockNodeComponent, decorators: [{
|
|
5724
5724
|
type: Component,
|
|
5725
5725
|
args: [{
|
|
5726
5726
|
selector: 'markstream-angular-math-block-node',
|
|
@@ -5825,8 +5825,8 @@ class MathInlineNodeComponent {
|
|
|
5825
5825
|
return null;
|
|
5826
5826
|
}
|
|
5827
5827
|
}
|
|
5828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5829
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5828
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: MathInlineNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5829
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: MathInlineNodeComponent, isStandalone: true, selector: "markstream-angular-math-inline-node", inputs: { node: "node" }, viewQueries: [{ propertyName: "mathRef", first: true, predicate: ["mathRef"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5830
5830
|
<span class="math-inline-wrapper markstream-nested-math" data-display="inline" data-markstream-katex-managed="1">
|
|
5831
5831
|
<span #mathRef class="math-inline" [class.math-inline--hidden]="loading"></span>
|
|
5832
5832
|
<span *ngIf="loading" class="math-inline__loading" role="status" aria-live="polite">
|
|
@@ -5836,7 +5836,7 @@ class MathInlineNodeComponent {
|
|
|
5836
5836
|
</span>
|
|
5837
5837
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5838
5838
|
}
|
|
5839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: MathInlineNodeComponent, decorators: [{
|
|
5840
5840
|
type: Component,
|
|
5841
5841
|
args: [{
|
|
5842
5842
|
selector: 'markstream-angular-math-inline-node',
|
|
@@ -6680,8 +6680,8 @@ class MermaidBlockNodeComponent {
|
|
|
6680
6680
|
});
|
|
6681
6681
|
});
|
|
6682
6682
|
}
|
|
6683
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6684
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
6683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: MermaidBlockNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6684
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: MermaidBlockNodeComponent, isStandalone: true, selector: "markstream-angular-mermaid-block-node", inputs: { node: "node", context: "context", props: "props" }, host: { listeners: { "window:keydown": "handleWindowKeydown($event)" } }, viewQueries: [{ propertyName: "previewHost", first: true, predicate: ["previewHost"], descendants: true }, { propertyName: "modalHost", first: true, predicate: ["modalHost"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
6685
6685
|
<div
|
|
6686
6686
|
class="mermaid-block"
|
|
6687
6687
|
[class.dark]="resolvedIsDark"
|
|
@@ -6820,7 +6820,7 @@ class MermaidBlockNodeComponent {
|
|
|
6820
6820
|
</div>
|
|
6821
6821
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6822
6822
|
}
|
|
6823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: MermaidBlockNodeComponent, decorators: [{
|
|
6824
6824
|
type: Component,
|
|
6825
6825
|
args: [{
|
|
6826
6826
|
selector: 'markstream-angular-mermaid-block-node',
|
|
@@ -7021,8 +7021,8 @@ class ParagraphNodeComponent {
|
|
|
7021
7021
|
getTextContent(node) {
|
|
7022
7022
|
return getString$1(node?.content);
|
|
7023
7023
|
}
|
|
7024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7025
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ParagraphNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7025
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: ParagraphNodeComponent, isStandalone: true, selector: "markstream-angular-paragraph-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, usesOnChanges: true, ngImport: i0, template: `
|
|
7026
7026
|
<ng-container *ngIf="segments.length > 0; else simpleParagraph">
|
|
7027
7027
|
<ng-container *ngFor="let segment of segments; let idx = index; trackBy: trackByIndex">
|
|
7028
7028
|
<p *ngIf="segment.kind === 'inline'; else blockSegment" dir="auto" class="paragraph-node">
|
|
@@ -7070,7 +7070,7 @@ class ParagraphNodeComponent {
|
|
|
7070
7070
|
</ng-template>
|
|
7071
7071
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }, { kind: "component", type: i0.forwardRef(() => NodeOutletComponent), selector: "markstream-angular-node-outlet", inputs: ["node", "context", "indexKey"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7072
7072
|
}
|
|
7073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ParagraphNodeComponent, decorators: [{
|
|
7074
7074
|
type: Component,
|
|
7075
7075
|
args: [{
|
|
7076
7076
|
selector: 'markstream-angular-paragraph-node',
|
|
@@ -7142,10 +7142,10 @@ class ReferenceNodeComponent {
|
|
|
7142
7142
|
get id() {
|
|
7143
7143
|
return getString$1(this.node?.id);
|
|
7144
7144
|
}
|
|
7145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7146
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ReferenceNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7146
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: ReferenceNodeComponent, isStandalone: true, selector: "markstream-angular-reference-node", inputs: { node: "node" }, ngImport: i0, template: '<span class="markstream-nested-reference">{{ id }}</span>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7147
7147
|
}
|
|
7148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ReferenceNodeComponent, decorators: [{
|
|
7149
7149
|
type: Component,
|
|
7150
7150
|
args: [{
|
|
7151
7151
|
selector: 'markstream-angular-reference-node',
|
|
@@ -7252,8 +7252,8 @@ class StrikethroughNodeComponent {
|
|
|
7252
7252
|
get nestedPrefix() {
|
|
7253
7253
|
return `${this.indexKey || 'strikethrough'}-strike`;
|
|
7254
7254
|
}
|
|
7255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7256
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: StrikethroughNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7256
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: StrikethroughNodeComponent, isStandalone: true, selector: "markstream-angular-strikethrough-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
7257
7257
|
<del>
|
|
7258
7258
|
<markstream-angular-nested-renderer
|
|
7259
7259
|
[nodes]="children"
|
|
@@ -7263,7 +7263,7 @@ class StrikethroughNodeComponent {
|
|
|
7263
7263
|
</del>
|
|
7264
7264
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7265
7265
|
}
|
|
7266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: StrikethroughNodeComponent, decorators: [{
|
|
7267
7267
|
type: Component,
|
|
7268
7268
|
args: [{
|
|
7269
7269
|
selector: 'markstream-angular-strikethrough-node',
|
|
@@ -7296,8 +7296,8 @@ class StrongNodeComponent {
|
|
|
7296
7296
|
get nestedPrefix() {
|
|
7297
7297
|
return `${this.indexKey || 'strong'}-strong`;
|
|
7298
7298
|
}
|
|
7299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7300
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: StrongNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7300
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: StrongNodeComponent, isStandalone: true, selector: "markstream-angular-strong-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
7301
7301
|
<strong>
|
|
7302
7302
|
<markstream-angular-nested-renderer
|
|
7303
7303
|
[nodes]="children"
|
|
@@ -7307,7 +7307,7 @@ class StrongNodeComponent {
|
|
|
7307
7307
|
</strong>
|
|
7308
7308
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7309
7309
|
}
|
|
7310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: StrongNodeComponent, decorators: [{
|
|
7311
7311
|
type: Component,
|
|
7312
7312
|
args: [{
|
|
7313
7313
|
selector: 'markstream-angular-strong-node',
|
|
@@ -7340,8 +7340,8 @@ class SubscriptNodeComponent {
|
|
|
7340
7340
|
get nestedPrefix() {
|
|
7341
7341
|
return `${this.indexKey || 'subscript'}-sub`;
|
|
7342
7342
|
}
|
|
7343
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7344
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7343
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SubscriptNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7344
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: SubscriptNodeComponent, isStandalone: true, selector: "markstream-angular-subscript-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
7345
7345
|
<sub>
|
|
7346
7346
|
<markstream-angular-nested-renderer
|
|
7347
7347
|
[nodes]="children"
|
|
@@ -7351,7 +7351,7 @@ class SubscriptNodeComponent {
|
|
|
7351
7351
|
</sub>
|
|
7352
7352
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7353
7353
|
}
|
|
7354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SubscriptNodeComponent, decorators: [{
|
|
7355
7355
|
type: Component,
|
|
7356
7356
|
args: [{
|
|
7357
7357
|
selector: 'markstream-angular-subscript-node',
|
|
@@ -7384,8 +7384,8 @@ class SuperscriptNodeComponent {
|
|
|
7384
7384
|
get nestedPrefix() {
|
|
7385
7385
|
return `${this.indexKey || 'superscript'}-sup`;
|
|
7386
7386
|
}
|
|
7387
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7388
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7387
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SuperscriptNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7388
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: SuperscriptNodeComponent, isStandalone: true, selector: "markstream-angular-superscript-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
7389
7389
|
<sup>
|
|
7390
7390
|
<markstream-angular-nested-renderer
|
|
7391
7391
|
[nodes]="children"
|
|
@@ -7395,7 +7395,7 @@ class SuperscriptNodeComponent {
|
|
|
7395
7395
|
</sup>
|
|
7396
7396
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7397
7397
|
}
|
|
7398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SuperscriptNodeComponent, decorators: [{
|
|
7399
7399
|
type: Component,
|
|
7400
7400
|
args: [{
|
|
7401
7401
|
selector: 'markstream-angular-superscript-node',
|
|
@@ -7520,8 +7520,8 @@ class TableNodeComponent {
|
|
|
7520
7520
|
const cells = this.tableElement?.nativeElement.querySelectorAll('thead th');
|
|
7521
7521
|
return Array.from(cells ?? [], cell => Math.round(cell.getBoundingClientRect().width));
|
|
7522
7522
|
}
|
|
7523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7524
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TableNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7524
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: TableNodeComponent, isStandalone: true, selector: "markstream-angular-table-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, viewQueries: [{ propertyName: "tableElement", first: true, predicate: ["tableElement"], descendants: true }], ngImport: i0, template: `
|
|
7525
7525
|
<table #tableElement>
|
|
7526
7526
|
<colgroup *ngIf="columnWidths.length > 0">
|
|
7527
7527
|
<col
|
|
@@ -7565,7 +7565,7 @@ class TableNodeComponent {
|
|
|
7565
7565
|
</table>
|
|
7566
7566
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7567
7567
|
}
|
|
7568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TableNodeComponent, decorators: [{
|
|
7569
7569
|
type: Component,
|
|
7570
7570
|
args: [{
|
|
7571
7571
|
selector: 'markstream-angular-table-node',
|
|
@@ -7629,10 +7629,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7629
7629
|
}] } });
|
|
7630
7630
|
|
|
7631
7631
|
class ThematicBreakNodeComponent {
|
|
7632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7633
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ThematicBreakNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7633
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: ThematicBreakNodeComponent, isStandalone: true, selector: "markstream-angular-thematic-break-node", ngImport: i0, template: '<hr>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7634
7634
|
}
|
|
7635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ThematicBreakNodeComponent, decorators: [{
|
|
7636
7636
|
type: Component,
|
|
7637
7637
|
args: [{
|
|
7638
7638
|
selector: 'markstream-angular-thematic-break-node',
|
|
@@ -7649,8 +7649,8 @@ class VmrContainerNodeComponent {
|
|
|
7649
7649
|
get nestedPrefix() {
|
|
7650
7650
|
return `${this.indexKey || 'vmr'}-container`;
|
|
7651
7651
|
}
|
|
7652
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7653
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7652
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: VmrContainerNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7653
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: VmrContainerNodeComponent, isStandalone: true, selector: "markstream-angular-vmr-container-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
7654
7654
|
<div class="markstream-angular-vmr-container">
|
|
7655
7655
|
<markstream-angular-nested-renderer
|
|
7656
7656
|
[nodes]="children"
|
|
@@ -7660,7 +7660,7 @@ class VmrContainerNodeComponent {
|
|
|
7660
7660
|
</div>
|
|
7661
7661
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7662
7662
|
}
|
|
7663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: VmrContainerNodeComponent, decorators: [{
|
|
7664
7664
|
type: Component,
|
|
7665
7665
|
args: [{
|
|
7666
7666
|
selector: 'markstream-angular-vmr-container-node',
|
|
@@ -7755,8 +7755,8 @@ class NodeOutletComponent {
|
|
|
7755
7755
|
get resolvedComponentInputs() {
|
|
7756
7756
|
return resolveNodeOutletCustomInputs(this.node, this.context);
|
|
7757
7757
|
}
|
|
7758
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7759
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NodeOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7759
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: NodeOutletComponent, isStandalone: true, selector: "markstream-angular-node-outlet", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
7760
7760
|
<ng-container *ngIf="resolvedCustomComponent as customComponent; else builtinTemplate">
|
|
7761
7761
|
<markstream-angular-dynamic-node-host
|
|
7762
7762
|
[component]="customComponent"
|
|
@@ -7850,7 +7850,7 @@ class NodeOutletComponent {
|
|
|
7850
7850
|
</ng-template>
|
|
7851
7851
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgSwitch), selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgSwitchCase), selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgSwitchDefault), selector: "[ngSwitchDefault]" }, { kind: "component", type: i0.forwardRef(() => AdmonitionNodeComponent), selector: "markstream-angular-admonition-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => BlockquoteNodeComponent), selector: "markstream-angular-blockquote-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => CheckboxNodeComponent), selector: "markstream-angular-checkbox-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => CodeBlockNodeComponent), selector: "markstream-angular-code-block-node", inputs: ["node", "context", "props"] }, { kind: "component", type: i0.forwardRef(() => D2BlockNodeComponent), selector: "markstream-angular-d2-block-node", inputs: ["node", "context", "props"] }, { kind: "component", type: i0.forwardRef(() => DefinitionListNodeComponent), selector: "markstream-angular-definition-list-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => DynamicNodeHostComponent), selector: "markstream-angular-dynamic-node-host", inputs: ["component", "node", "context", "indexKey", "inputs"] }, { kind: "component", type: i0.forwardRef(() => EmojiNodeComponent), selector: "markstream-angular-emoji-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => EmphasisNodeComponent), selector: "markstream-angular-emphasis-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => FallbackComponent), selector: "markstream-angular-fallback-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => FootnoteAnchorNodeComponent), selector: "markstream-angular-footnote-anchor-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => FootnoteNodeComponent), selector: "markstream-angular-footnote-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => FootnoteReferenceNodeComponent), selector: "markstream-angular-footnote-reference-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => HardBreakNodeComponent), selector: "markstream-angular-hardbreak-node" }, { kind: "component", type: i0.forwardRef(() => HeadingNodeComponent), selector: "markstream-angular-heading-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => HighlightNodeComponent), selector: "markstream-angular-highlight-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => HtmlBlockNodeComponent), selector: "markstream-angular-html-block-node", inputs: ["node", "context"] }, { kind: "component", type: i0.forwardRef(() => HtmlInlineNodeComponent), selector: "markstream-angular-html-inline-node", inputs: ["node", "context"] }, { kind: "component", type: i0.forwardRef(() => ImageNodeComponent), selector: "markstream-angular-image-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => InfographicBlockNodeComponent), selector: "markstream-angular-infographic-block-node", inputs: ["node", "context", "props"] }, { kind: "component", type: i0.forwardRef(() => InlineCodeNodeComponent), selector: "markstream-angular-inline-code-node", inputs: ["node", "context", "indexKey", "typewriter", "fade"] }, { kind: "component", type: i0.forwardRef(() => InsertNodeComponent), selector: "markstream-angular-insert-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => LinkNodeComponent), selector: "markstream-angular-link-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => ListItemNodeComponent), selector: "markstream-angular-list-item-node", inputs: ["node", "context", "indexKey", "value"] }, { kind: "component", type: i0.forwardRef(() => ListNodeComponent), selector: "markstream-angular-list-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => MathBlockNodeComponent), selector: "markstream-angular-math-block-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => MathInlineNodeComponent), selector: "markstream-angular-math-inline-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => MermaidBlockNodeComponent), selector: "markstream-angular-mermaid-block-node", inputs: ["node", "context", "props"] }, { kind: "component", type: i0.forwardRef(() => ParagraphNodeComponent), selector: "markstream-angular-paragraph-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => PreCodeNodeComponent), selector: "markstream-angular-pre-code-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => ReferenceNodeComponent), selector: "markstream-angular-reference-node", inputs: ["node"] }, { kind: "component", type: i0.forwardRef(() => StrikethroughNodeComponent), selector: "markstream-angular-strikethrough-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => StrongNodeComponent), selector: "markstream-angular-strong-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => SubscriptNodeComponent), selector: "markstream-angular-subscript-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => SuperscriptNodeComponent), selector: "markstream-angular-superscript-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => TableNodeComponent), selector: "markstream-angular-table-node", inputs: ["node", "context", "indexKey"] }, { kind: "component", type: i0.forwardRef(() => TextNodeComponent), selector: "markstream-angular-text-node", inputs: ["node", "context", "indexKey", "typewriter", "fade"] }, { kind: "component", type: i0.forwardRef(() => ThematicBreakNodeComponent), selector: "markstream-angular-thematic-break-node" }, { kind: "component", type: i0.forwardRef(() => VmrContainerNodeComponent), selector: "markstream-angular-vmr-container-node", inputs: ["node", "context", "indexKey"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7852
7852
|
}
|
|
7853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NodeOutletComponent, decorators: [{
|
|
7854
7854
|
type: Component,
|
|
7855
7855
|
args: [{
|
|
7856
7856
|
selector: 'markstream-angular-node-outlet',
|
|
@@ -8071,8 +8071,8 @@ class NestedRendererComponent {
|
|
|
8071
8071
|
resolveCustomHtmlTags() {
|
|
8072
8072
|
return mergeCustomHtmlTags(this.context?.customHtmlTags, this.customHtmlTags);
|
|
8073
8073
|
}
|
|
8074
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8075
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8074
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NestedRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8075
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: NestedRendererComponent, isStandalone: true, selector: "markstream-angular-nested-renderer", inputs: { node: "node", nodes: "nodes", content: "content", loading: "loading", final: "final", cacheKey: "cacheKey", parseOptions: "parseOptions", customHtmlTags: "customHtmlTags", customMarkdownIt: "customMarkdownIt", context: "context", indexPrefix: "indexPrefix" }, usesOnChanges: true, ngImport: i0, template: `
|
|
8076
8076
|
<ng-container *ngFor="let item of items; let idx = index; trackBy: trackByIndex">
|
|
8077
8077
|
<label *ngIf="item.kind === 'label'; else nodeTemplate" [markstreamSafeAttrs]="item.attrs">
|
|
8078
8078
|
<markstream-angular-nested-renderer
|
|
@@ -8092,7 +8092,7 @@ class NestedRendererComponent {
|
|
|
8092
8092
|
</ng-container>
|
|
8093
8093
|
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }, { kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => SafeAttrsDirective), selector: "[markstreamSafeAttrs]", inputs: ["markstreamSafeAttrs"] }, { kind: "component", type: i0.forwardRef(() => NodeOutletComponent), selector: "markstream-angular-node-outlet", inputs: ["node", "context", "indexKey"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8094
8094
|
}
|
|
8095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NestedRendererComponent, decorators: [{
|
|
8096
8096
|
type: Component,
|
|
8097
8097
|
args: [{
|
|
8098
8098
|
selector: 'markstream-angular-nested-renderer',
|
|
@@ -8164,8 +8164,8 @@ class AdmonitionNodeComponent {
|
|
|
8164
8164
|
get nestedPrefix() {
|
|
8165
8165
|
return `${this.indexKey || 'admonition'}-children`;
|
|
8166
8166
|
}
|
|
8167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8168
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: AdmonitionNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8168
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: AdmonitionNodeComponent, isStandalone: true, selector: "markstream-angular-admonition-node", inputs: { node: "node", context: "context", indexKey: "indexKey" }, ngImport: i0, template: `
|
|
8169
8169
|
<div class="markstream-nested-admonition" [class]="kindClass">
|
|
8170
8170
|
<div class="markstream-nested-admonition__title">{{ resolvedTitle }}</div>
|
|
8171
8171
|
<div class="markstream-nested-admonition__content">
|
|
@@ -8178,7 +8178,7 @@ class AdmonitionNodeComponent {
|
|
|
8178
8178
|
</div>
|
|
8179
8179
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CommonModule) }, { kind: "component", type: i0.forwardRef(() => NestedRendererComponent), selector: "markstream-angular-nested-renderer", inputs: ["node", "nodes", "content", "loading", "final", "cacheKey", "parseOptions", "customHtmlTags", "customMarkdownIt", "context", "indexPrefix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8180
8180
|
}
|
|
8181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: AdmonitionNodeComponent, decorators: [{
|
|
8182
8182
|
type: Component,
|
|
8183
8183
|
args: [{
|
|
8184
8184
|
selector: 'markstream-angular-admonition-node',
|
|
@@ -8940,10 +8940,10 @@ class SmoothMarkdownStreamService {
|
|
|
8940
8940
|
for (const listener of this.listeners)
|
|
8941
8941
|
listener();
|
|
8942
8942
|
}
|
|
8943
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8944
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
8943
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SmoothMarkdownStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8944
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SmoothMarkdownStreamService }); }
|
|
8945
8945
|
}
|
|
8946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SmoothMarkdownStreamService, decorators: [{
|
|
8947
8947
|
type: Injectable
|
|
8948
8948
|
}] });
|
|
8949
8949
|
|
|
@@ -9823,8 +9823,8 @@ class NodeRendererComponent {
|
|
|
9823
9823
|
this.cdr.markForCheck();
|
|
9824
9824
|
}, 3000);
|
|
9825
9825
|
}
|
|
9826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9827
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
9826
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NodeRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9827
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: NodeRendererComponent, isStandalone: true, selector: "markstream-angular", inputs: { content: "content", nodes: "nodes", final: "final", parseOptions: "parseOptions", customMarkdownIt: "customMarkdownIt", debugPerformance: "debugPerformance", customHtmlTags: "customHtmlTags", htmlPolicy: "htmlPolicy", viewportPriority: "viewportPriority", codeBlockStream: "codeBlockStream", codeBlockDarkTheme: "codeBlockDarkTheme", codeBlockLightTheme: "codeBlockLightTheme", codeBlockMonacoOptions: "codeBlockMonacoOptions", renderCodeBlocksAsPre: "renderCodeBlocksAsPre", codeBlockMinWidth: "codeBlockMinWidth", codeBlockMaxWidth: "codeBlockMaxWidth", codeBlockProps: "codeBlockProps", mermaidProps: "mermaidProps", d2Props: "d2Props", infographicProps: "infographicProps", customComponents: "customComponents", showTooltips: "showTooltips", themes: "themes", isDark: "isDark", customId: "customId", indexKey: "indexKey", typewriter: "typewriter", fade: "fade", batchRendering: "batchRendering", initialRenderBatchSize: "initialRenderBatchSize", renderBatchSize: "renderBatchSize", renderBatchDelay: "renderBatchDelay", renderBatchBudgetMs: "renderBatchBudgetMs", renderBatchIdleTimeoutMs: "renderBatchIdleTimeoutMs", deferNodesUntilVisible: "deferNodesUntilVisible", maxLiveNodes: "maxLiveNodes", liveNodeBuffer: "liveNodeBuffer", allowHtml: "allowHtml", smoothStreaming: "smoothStreaming", smoothStreamingOptions: "smoothStreamingOptions" }, outputs: { copy: "copy", handleArtifactClick: "handleArtifactClick", click: "click", mouseover: "mouseover", mouseout: "mouseout" }, providers: [
|
|
9828
9828
|
{
|
|
9829
9829
|
provide: MARKSTREAM_SMOOTH_STREAMING_SCOPE,
|
|
9830
9830
|
useExisting: forwardRef(() => NodeRendererComponent),
|
|
@@ -9887,7 +9887,7 @@ class NodeRendererComponent {
|
|
|
9887
9887
|
</div>
|
|
9888
9888
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NodeOutletComponent, selector: "markstream-angular-node-outlet", inputs: ["node", "context", "indexKey"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9889
9889
|
}
|
|
9890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NodeRendererComponent, decorators: [{
|
|
9891
9891
|
type: Component,
|
|
9892
9892
|
args: [{
|
|
9893
9893
|
selector: 'markstream-angular',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markstream-angular",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"description": "Angular 20+ standalone streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, Mermaid, KaTeX, Monaco-powered code blocks, and safe Angular component rendering.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@terrastruct/d2": ">=0.1.33",
|
|
74
74
|
"katex": ">=0.16.22",
|
|
75
75
|
"mermaid": ">=11",
|
|
76
|
-
"stream-monaco": ">=0.0.
|
|
76
|
+
"stream-monaco": ">=0.0.48"
|
|
77
77
|
},
|
|
78
78
|
"peerDependenciesMeta": {
|
|
79
79
|
"@antv/infographic": {
|
|
@@ -93,20 +93,20 @@
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@floating-ui/dom": "^1.
|
|
96
|
+
"@floating-ui/dom": "^1.8.0",
|
|
97
97
|
"markstream-core": "1.0.3",
|
|
98
|
-
"stream-markdown-parser": "1.
|
|
98
|
+
"stream-markdown-parser": "1.1.3"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@angular/common": "^20.3.
|
|
102
|
-
"@angular/compiler": "^20.3.
|
|
103
|
-
"@angular/compiler-cli": "^20.3.
|
|
104
|
-
"@angular/core": "^20.3.
|
|
101
|
+
"@angular/common": "^20.3.26",
|
|
102
|
+
"@angular/compiler": "^20.3.26",
|
|
103
|
+
"@angular/compiler-cli": "^20.3.26",
|
|
104
|
+
"@angular/core": "^20.3.26",
|
|
105
105
|
"@types/node": "^18.19.130",
|
|
106
106
|
"ng-packagr": "^20.3.2",
|
|
107
107
|
"rollup": "^3.30.0",
|
|
108
108
|
"typescript": "^5.9.3",
|
|
109
|
-
"vite": "^7.3.
|
|
109
|
+
"vite": "^7.3.6",
|
|
110
110
|
"vite-plugin-dts": "^4.5.4"
|
|
111
111
|
},
|
|
112
112
|
"scripts": {
|