@ng-doc/app 16.7.1 → 16.8.0
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/components/playground/base-playground.d.ts +12 -5
- package/components/playground/playground-demo/playground-demo.component.d.ts +2 -1
- package/components/playground/playground-form.d.ts +1 -2
- package/components/playground/playground-properties/playground-properties.component.d.ts +3 -1
- package/components/playground/playground-property/playground-property.component.d.ts +3 -2
- package/components/playground/playground.component.d.ts +11 -7
- package/esm2022/components/code/code.component.mjs +5 -7
- package/esm2022/components/page/page.component.mjs +5 -28
- package/esm2022/components/playground/base-playground.mjs +37 -5
- package/esm2022/components/playground/playground-demo/playground-demo.component.mjs +14 -12
- package/esm2022/components/playground/playground-form.mjs +1 -1
- package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +12 -5
- package/esm2022/components/playground/playground-property/playground-property.component.mjs +12 -12
- package/esm2022/components/playground/playground.component.mjs +34 -14
- package/esm2022/interfaces/index.mjs +2 -1
- package/esm2022/interfaces/page-processor.mjs +2 -0
- package/esm2022/interfaces/processor-options.mjs +1 -1
- package/esm2022/interfaces/type-control.mjs +1 -1
- package/esm2022/modules/root/ng-doc.module.mjs +3 -1
- package/esm2022/processors/default-processors.mjs +18 -0
- package/esm2022/processors/index.mjs +4 -11
- package/esm2022/processors/{code-processor → page-processor}/index.mjs +2 -2
- package/esm2022/processors/{icon-processor/ng-doc-app-processors-icon-processor.mjs → page-processor/ng-doc-app-processors-page-processor.mjs} +1 -1
- package/esm2022/processors/page-processor/page-processor.directive.mjs +52 -0
- package/esm2022/processors/processors/blockquote.processor.mjs +12 -0
- package/esm2022/processors/processors/code.processor.mjs +15 -0
- package/esm2022/processors/processors/demo-pane.processor.mjs +12 -0
- package/esm2022/processors/processors/demo.processor.mjs +12 -0
- package/esm2022/processors/processors/icon.processor.mjs +12 -0
- package/esm2022/processors/processors/index.mjs +10 -0
- package/esm2022/processors/processors/link.processor.mjs +13 -0
- package/esm2022/processors/processors/ng-doc-app-processors-processors.mjs +5 -0
- package/esm2022/processors/processors/playground.processor.mjs +19 -0
- package/esm2022/processors/processors/tabs.processor.mjs +25 -0
- package/esm2022/processors/processors/tooltip.processor.mjs +58 -0
- package/esm2022/tokens/index.mjs +2 -1
- package/esm2022/tokens/page-processor.mjs +17 -0
- package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +7 -1
- package/esm2022/type-controls/number-control/number-control.component.mjs +8 -10
- package/esm2022/type-controls/string-control/string-control.component.mjs +8 -10
- package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +8 -10
- package/fesm2022/ng-doc-app-components-code.mjs +4 -6
- package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page.mjs +4 -27
- package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-playground.mjs +121 -64
- package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
- package/fesm2022/ng-doc-app-modules-root.mjs +2 -0
- package/fesm2022/ng-doc-app-modules-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-page-processor.mjs +58 -0
- package/fesm2022/ng-doc-app-processors-page-processor.mjs.map +1 -0
- package/fesm2022/ng-doc-app-processors-processors.mjs +183 -0
- package/fesm2022/ng-doc-app-processors-processors.mjs.map +1 -0
- package/fesm2022/ng-doc-app-processors.mjs +22 -10
- package/fesm2022/ng-doc-app-processors.mjs.map +1 -1
- package/fesm2022/ng-doc-app-tokens.mjs +17 -1
- package/fesm2022/ng-doc-app-tokens.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +6 -0
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs +7 -9
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs +7 -9
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +7 -9
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/page-processor.d.ts +28 -0
- package/interfaces/processor-options.d.ts +2 -3
- package/interfaces/type-control.d.ts +2 -2
- package/package.json +14 -62
- package/processors/default-processors.d.ts +2 -0
- package/processors/index.d.ts +3 -10
- package/processors/page-processor/index.d.ts +1 -0
- package/processors/page-processor/page-processor.directive.d.ts +19 -0
- package/processors/processors/blockquote.processor.d.ts +3 -0
- package/processors/processors/code.processor.d.ts +3 -0
- package/processors/processors/demo-pane.processor.d.ts +3 -0
- package/processors/processors/demo.processor.d.ts +3 -0
- package/processors/processors/icon.processor.d.ts +3 -0
- package/processors/processors/index.d.ts +9 -0
- package/processors/processors/link.processor.d.ts +3 -0
- package/processors/processors/playground.processor.d.ts +3 -0
- package/processors/processors/tabs.processor.d.ts +3 -0
- package/processors/{tooltip-processor/tooltip-wrapper.component.d.ts → processors/tooltip.processor.d.ts} +4 -1
- package/tokens/index.d.ts +1 -0
- package/tokens/page-processor.d.ts +11 -0
- package/type-controls/boolean-control/boolean-control.component.d.ts +4 -1
- package/type-controls/number-control/number-control.component.d.ts +3 -4
- package/type-controls/string-control/string-control.component.d.ts +2 -3
- package/type-controls/type-alias-control/type-alias-control.component.d.ts +3 -4
- package/esm2022/processors/blockquote-processor/blockquote-processor.directive.mjs +0 -30
- package/esm2022/processors/blockquote-processor/index.mjs +0 -2
- package/esm2022/processors/blockquote-processor/ng-doc-app-processors-blockquote-processor.mjs +0 -5
- package/esm2022/processors/code-processor/code-processor.directive.mjs +0 -35
- package/esm2022/processors/code-processor/ng-doc-app-processors-code-processor.mjs +0 -5
- package/esm2022/processors/demo-pane-processor/demo-pane-processor.directive.mjs +0 -38
- package/esm2022/processors/demo-pane-processor/index.mjs +0 -2
- package/esm2022/processors/demo-pane-processor/ng-doc-app-processors-demo-pane-processor.mjs +0 -5
- package/esm2022/processors/demo-processor/demo-processor.directive.mjs +0 -38
- package/esm2022/processors/demo-processor/index.mjs +0 -2
- package/esm2022/processors/demo-processor/ng-doc-app-processors-demo-processor.mjs +0 -5
- package/esm2022/processors/html-processor/html-processor.directive.mjs +0 -44
- package/esm2022/processors/html-processor/index.mjs +0 -2
- package/esm2022/processors/html-processor/ng-doc-app-processors-html-processor.mjs +0 -5
- package/esm2022/processors/icon-processor/icon-processor.directive.mjs +0 -30
- package/esm2022/processors/icon-processor/index.mjs +0 -2
- package/esm2022/processors/link-processor/index.mjs +0 -2
- package/esm2022/processors/link-processor/link-processor.directive.mjs +0 -31
- package/esm2022/processors/link-processor/ng-doc-app-processors-link-processor.mjs +0 -5
- package/esm2022/processors/playground-processor/index.mjs +0 -2
- package/esm2022/processors/playground-processor/ng-doc-app-processors-playground-processor.mjs +0 -5
- package/esm2022/processors/playground-processor/playground-processor.directive.mjs +0 -36
- package/esm2022/processors/tabs-processor/index.mjs +0 -2
- package/esm2022/processors/tabs-processor/ng-doc-app-processors-tabs-processor.mjs +0 -5
- package/esm2022/processors/tabs-processor/tabs-processor.directive.mjs +0 -44
- package/esm2022/processors/tooltip-processor/index.mjs +0 -3
- package/esm2022/processors/tooltip-processor/ng-doc-app-processors-tooltip-processor.mjs +0 -5
- package/esm2022/processors/tooltip-processor/tooltip-processor.directive.mjs +0 -30
- package/esm2022/processors/tooltip-processor/tooltip-wrapper.component.mjs +0 -49
- package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs +0 -36
- package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-code-processor.mjs +0 -41
- package/fesm2022/ng-doc-app-processors-code-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs +0 -44
- package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-demo-processor.mjs +0 -44
- package/fesm2022/ng-doc-app-processors-demo-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-html-processor.mjs +0 -50
- package/fesm2022/ng-doc-app-processors-html-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-icon-processor.mjs +0 -36
- package/fesm2022/ng-doc-app-processors-icon-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-link-processor.mjs +0 -37
- package/fesm2022/ng-doc-app-processors-link-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-playground-processor.mjs +0 -42
- package/fesm2022/ng-doc-app-processors-playground-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-tabs-processor.mjs +0 -50
- package/fesm2022/ng-doc-app-processors-tabs-processor.mjs.map +0 -1
- package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs +0 -81
- package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs.map +0 -1
- package/processors/blockquote-processor/blockquote-processor.directive.d.ts +0 -13
- package/processors/blockquote-processor/index.d.ts +0 -1
- package/processors/code-processor/code-processor.directive.d.ts +0 -14
- package/processors/code-processor/index.d.ts +0 -1
- package/processors/demo-pane-processor/demo-pane-processor.directive.d.ts +0 -14
- package/processors/demo-pane-processor/index.d.ts +0 -1
- package/processors/demo-processor/demo-processor.directive.d.ts +0 -14
- package/processors/demo-processor/index.d.ts +0 -1
- package/processors/html-processor/html-processor.directive.d.ts +0 -20
- package/processors/html-processor/index.d.ts +0 -1
- package/processors/icon-processor/icon-processor.directive.d.ts +0 -13
- package/processors/icon-processor/index.d.ts +0 -1
- package/processors/link-processor/index.d.ts +0 -1
- package/processors/link-processor/link-processor.directive.d.ts +0 -13
- package/processors/playground-processor/index.d.ts +0 -1
- package/processors/playground-processor/playground-processor.directive.d.ts +0 -13
- package/processors/tabs-processor/index.d.ts +0 -1
- package/processors/tabs-processor/tabs-processor.directive.d.ts +0 -15
- package/processors/tooltip-processor/index.d.ts +0 -2
- package/processors/tooltip-processor/tooltip-processor.directive.d.ts +0 -13
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-tabs-processor.mjs","sources":["../../../../libs/app/processors/tabs-processor/tabs-processor.directive.ts","../../../../libs/app/processors/tabs-processor/ng-doc-app-processors-tabs-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocTabsComponent} from '@ng-doc/app/components/tabs';\nimport {NgDocProcessorOptions, NgDocTab} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\n@Directive({\n\tselector: '[ngDocTabsProcessor]',\n\tstandalone: true,\n})\nexport class NgDocTabsProcessorDirective extends NgDocHtmlProcessor<NgDocTabsComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-tab`, NgDocTabsComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element, root: HTMLElement): NgDocProcessorOptions<NgDocTabsComponent> {\n\t\tconst group: string | null = element.getAttribute('group') ?? '';\n\t\tconst tabs: Element[] = Array.from(root.querySelectorAll(`ng-doc-tab[group=\"${group}\"]`));\n\t\tconst mappedTabs: NgDocTab[] = tabs.map((tab: Element) => this.mapTabs(tab));\n\n\n\n\t\ttabs.forEach((tab: Element) => tab.remove());\n\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\ttabs: mappedTabs,\n\t\t\t},\n\t\t};\n\t}\n\n\tprotected override replaceElement(element: Element): Element {\n\t\tconst anchor: Element = document.createElement('div');\n\n\t\treturn element.parentNode?.insertBefore(anchor, element) ?? element;\n\t}\n\n\tprivate mapTabs(element: Element): NgDocTab {\n\t\treturn {\n\t\t\ttitle: element.getAttribute('name') ?? '',\n\t\t\tcontent: element,\n\t\t\tactive: element.hasAttribute('active'),\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index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OAAO;AAChB,YAAA,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC;SACtC,CAAC;KACF;8GApCW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, Directive } from '@angular/core';
|
|
3
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
|
-
import { NgDocTooltipDirective } from '@ng-doc/ui-kit';
|
|
5
|
-
|
|
6
|
-
class NgDocTooltipWrapperComponent {
|
|
7
|
-
constructor(changeDetectorRef) {
|
|
8
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
9
|
-
this.tooltipElement = null;
|
|
10
|
-
}
|
|
11
|
-
ngAfterViewInit() {
|
|
12
|
-
if (this.contentProjection) {
|
|
13
|
-
const element = this.contentProjection.nativeElement.querySelector('[ngDocTooltip]');
|
|
14
|
-
this.tooltipElement = element instanceof HTMLElement ? element : null;
|
|
15
|
-
this.changeDetectorRef.detectChanges();
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipWrapperComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipWrapperComponent, isStandalone: true, selector: "ng-doc-tooltip-wrapper", inputs: { content: "content" }, viewQueries: [{ propertyName: "contentProjection", first: true, predicate: ["contentProjection"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
|
|
20
|
-
<div
|
|
21
|
-
class="content-projection"
|
|
22
|
-
[ngDocTooltip]="content ?? ''"
|
|
23
|
-
[displayOrigin]="tooltipElement ?? contentProjection"
|
|
24
|
-
[pointerOrigin]="tooltipElement ?? contentProjection"
|
|
25
|
-
#contentProjection
|
|
26
|
-
>
|
|
27
|
-
<ng-content></ng-content>
|
|
28
|
-
</div>
|
|
29
|
-
`, isInline: true, styles: [".content-projection{display:unset}\n"], dependencies: [{ kind: "directive", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipWrapperComponent, decorators: [{
|
|
32
|
-
type: Component,
|
|
33
|
-
args: [{ selector: 'ng-doc-tooltip-wrapper', template: `
|
|
34
|
-
<div
|
|
35
|
-
class="content-projection"
|
|
36
|
-
[ngDocTooltip]="content ?? ''"
|
|
37
|
-
[displayOrigin]="tooltipElement ?? contentProjection"
|
|
38
|
-
[pointerOrigin]="tooltipElement ?? contentProjection"
|
|
39
|
-
#contentProjection
|
|
40
|
-
>
|
|
41
|
-
<ng-content></ng-content>
|
|
42
|
-
</div>
|
|
43
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgDocTooltipDirective], styles: [".content-projection{display:unset}\n"] }]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], contentProjection: [{
|
|
47
|
-
type: ViewChild,
|
|
48
|
-
args: ['contentProjection', { read: ElementRef, static: true }]
|
|
49
|
-
}] } });
|
|
50
|
-
|
|
51
|
-
class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor {
|
|
52
|
-
constructor(elementRef, viewContainerRef) {
|
|
53
|
-
super(elementRef, viewContainerRef, `[ngDocTooltip]`, NgDocTooltipWrapperComponent);
|
|
54
|
-
this.elementRef = elementRef;
|
|
55
|
-
this.viewContainerRef = viewContainerRef;
|
|
56
|
-
}
|
|
57
|
-
extractComponentOptions(element) {
|
|
58
|
-
return {
|
|
59
|
-
inputs: {
|
|
60
|
-
content: element.getAttribute('ngDocTooltip') ?? '',
|
|
61
|
-
},
|
|
62
|
-
content: [[element.cloneNode(true)]],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
66
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipProcessorDirective, isStandalone: true, selector: "[ngDocTooltipProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
67
|
-
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorDirective, decorators: [{
|
|
69
|
-
type: Directive,
|
|
70
|
-
args: [{
|
|
71
|
-
selector: '[ngDocTooltipProcessor]',
|
|
72
|
-
standalone: true,
|
|
73
|
-
}]
|
|
74
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Generated bundle index. Do not edit.
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
export { NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent };
|
|
81
|
-
//# sourceMappingURL=ng-doc-app-processors-tooltip-processor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-tooltip-processor.mjs","sources":["../../../../libs/app/processors/tooltip-processor/tooltip-wrapper.component.ts","../../../../libs/app/processors/tooltip-processor/tooltip-processor.directive.ts","../../../../libs/app/processors/tooltip-processor/ng-doc-app-processors-tooltip-processor.ts"],"sourcesContent":["import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tInput,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocTooltipDirective} from '@ng-doc/ui-kit';\n\n@Component({\n\tselector: 'ng-doc-tooltip-wrapper',\n\ttemplate: `\n\t\t<div\n\t\t\tclass=\"content-projection\"\n\t\t\t[ngDocTooltip]=\"content ?? ''\"\n\t\t\t[displayOrigin]=\"tooltipElement ?? contentProjection\"\n\t\t\t[pointerOrigin]=\"tooltipElement ?? contentProjection\"\n\t\t\t#contentProjection\n\t\t>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`,\n\tstyles: [\n\t\t`\n\t\t\t.content-projection {\n\t\t\t\tdisplay: unset;\n\t\t\t}\n\t\t`,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgDocTooltipDirective],\n})\nexport class NgDocTooltipWrapperComponent implements AfterViewInit {\n\t@Input()\n\tcontent?: string;\n\n\tprotected tooltipElement: HTMLElement | null = null;\n\n\t@ViewChild('contentProjection', {read: ElementRef, static: true})\n\tprivate contentProjection?: ElementRef<HTMLElement>;\n\n\tconstructor(private readonly changeDetectorRef: ChangeDetectorRef) {}\n\n\tngAfterViewInit(): void {\n\t\tif (this.contentProjection) {\n\t\t\tconst element: Element | null = this.contentProjection.nativeElement.querySelector('[ngDocTooltip]');\n\n\t\t\tthis.tooltipElement = element instanceof HTMLElement ? element : null;\n\n\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t}\n\t}\n}\n","import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\nimport {NgDocTooltipWrapperComponent} from './tooltip-wrapper.component';\n\n@Directive({\n\tselector: '[ngDocTooltipProcessor]',\n\tstandalone: true,\n})\nexport class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor<NgDocTooltipWrapperComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `[ngDocTooltip]`, NgDocTooltipWrapperComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocTooltipWrapperComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tcontent: element.getAttribute('ngDocTooltip') ?? '',\n\t\t\t},\n\t\t\tcontent: [[element.cloneNode(true)]],\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAWA,MAwBa,4BAA4B,CAAA;AASxC,IAAA,WAAA,CAA6B,iBAAoC,EAAA;QAApC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QALvD,IAAc,CAAA,cAAA,GAAuB,IAAI,CAAC;KA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A,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAJ1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
3
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
|
-
import { NgDocBlockquoteComponent } from '@ng-doc/ui-kit';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocBlockquoteProcessorDirective extends NgDocHtmlProcessor<NgDocBlockquoteComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocBlockquoteComponent>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocBlockquoteProcessorDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocBlockquoteProcessorDirective, "[ngDocBlockquoteProcessor]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './blockquote-processor.directive';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocCodeComponent } from '@ng-doc/app/components/code';
|
|
3
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocCodeProcessorDirective extends NgDocHtmlProcessor<NgDocCodeComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected replaceElement(element: Element): Element;
|
|
11
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocCodeComponent>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocCodeProcessorDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocCodeProcessorDirective, "[ngDocCodeProcessor]", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './code-processor.directive';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocDemoPaneComponent } from '@ng-doc/app/components/demo-pane';
|
|
3
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/** Processor replaces html node with `NgDocDemoPaneComponent` to display demo */
|
|
7
|
-
export declare class NgDocDemoPaneProcessorDirective extends NgDocHtmlProcessor<NgDocDemoPaneComponent> {
|
|
8
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
9
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
10
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
11
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocDemoPaneComponent>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocDemoPaneProcessorDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocDemoPaneProcessorDirective, "[ngDocDemoPaneProcessor]", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './demo-pane-processor.directive';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocDemoComponent } from '@ng-doc/app/components/demo';
|
|
3
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/** Processor replaces html node with `NgDocDemoComponent` to display demo */
|
|
7
|
-
export declare class NgDocDemoProcessorDirective extends NgDocHtmlProcessor<NgDocDemoComponent> {
|
|
8
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
9
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
10
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
11
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocDemoComponent>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocDemoProcessorDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocDemoProcessorDirective, "[ngDocDemoProcessor]", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './demo-processor.directive';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector, OnInit, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Base processor class to create a processor directive that will be used to replace
|
|
6
|
-
* html nodes with an Angular component.
|
|
7
|
-
*/
|
|
8
|
-
export declare abstract class NgDocHtmlProcessor<T> implements OnInit {
|
|
9
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
10
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
11
|
-
protected readonly selector: string;
|
|
12
|
-
protected readonly component: Type<T>;
|
|
13
|
-
injector: Injector;
|
|
14
|
-
protected constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef, selector: string, component: Type<T>);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
protected replaceElement(element: Element): Element;
|
|
17
|
-
protected abstract extractComponentOptions(element: Element, root: HTMLElement): NgDocProcessorOptions<T>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocHtmlProcessor<any>, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocHtmlProcessor<any>, never, never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './html-processor.directive';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
3
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
|
-
import { NgDocIconComponent } from '@ng-doc/ui-kit';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocIconProcessorDirective extends NgDocHtmlProcessor<NgDocIconComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocIconComponent>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocIconProcessorDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocIconProcessorDirective, "[ngDocIconProcessor]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './icon-processor.directive';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './link-processor.directive';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocPageLinkComponent } from '@ng-doc/app/components/page-link';
|
|
3
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocLinkProcessorDirective extends NgDocHtmlProcessor<NgDocPageLinkComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocPageLinkComponent>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocLinkProcessorDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocLinkProcessorDirective, "[ngDocLinkProcessor]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './playground-processor.directive';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocPlaygroundComponent } from '@ng-doc/app/components/playground';
|
|
3
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocPlaygroundProcessorDirective extends NgDocHtmlProcessor<NgDocPlaygroundComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocPlaygroundComponent>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocPlaygroundProcessorDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocPlaygroundProcessorDirective, "[ngDocPlaygroundProcessor]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./tabs-processor.directive";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocTabsComponent } from '@ng-doc/app/components/tabs';
|
|
3
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocTabsProcessorDirective extends NgDocHtmlProcessor<NgDocTabsComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected extractComponentOptions(element: Element, root: HTMLElement): NgDocProcessorOptions<NgDocTabsComponent>;
|
|
11
|
-
protected replaceElement(element: Element): Element;
|
|
12
|
-
private mapTabs;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocTabsProcessorDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocTabsProcessorDirective, "[ngDocTabsProcessor]", never, {}, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgDocProcessorOptions } from '@ng-doc/app/interfaces';
|
|
3
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
|
-
import { NgDocTooltipWrapperComponent } from './tooltip-wrapper.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor<NgDocTooltipWrapperComponent> {
|
|
7
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
|
-
constructor(elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocTooltipWrapperComponent>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocTooltipProcessorDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocTooltipProcessorDirective, "[ngDocTooltipProcessor]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|