@ng-prism/plugin-jsdoc 22.5.0 → 22.7.0-beta.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/README.md +18 -15
- package/dist/api-page/api-page.helpers.d.ts +79 -0
- package/dist/api-page/api-page.helpers.d.ts.map +1 -0
- package/dist/api-page/api-page.helpers.js +133 -0
- package/dist/api-page/api-page.model.d.ts +62 -0
- package/dist/api-page/api-page.model.d.ts.map +1 -0
- package/dist/api-page/api-page.model.js +122 -0
- package/dist/api-page/component-usage.d.ts +14 -0
- package/dist/api-page/component-usage.d.ts.map +1 -0
- package/dist/api-page/component-usage.js +120 -0
- package/dist/api-page/doc-links.d.ts +15 -0
- package/dist/api-page/doc-links.d.ts.map +1 -0
- package/dist/api-page/doc-links.js +45 -0
- package/dist/api-page/jsdoc-api-page.component.d.ts +98 -0
- package/dist/api-page/jsdoc-api-page.component.d.ts.map +1 -0
- package/dist/api-page/jsdoc-api-page.component.js +1458 -0
- package/dist/api-page/pipe-usage.d.ts +13 -0
- package/dist/api-page/pipe-usage.d.ts.map +1 -0
- package/dist/api-page/pipe-usage.js +35 -0
- package/dist/api-page/service-usage.d.ts +31 -0
- package/dist/api-page/service-usage.d.ts.map +1 -0
- package/dist/api-page/service-usage.js +66 -0
- package/dist/jsdoc-extractor.d.ts.map +1 -1
- package/dist/jsdoc-extractor.js +17 -10
- package/dist/jsdoc-panel.component.d.ts +8 -25
- package/dist/jsdoc-panel.component.d.ts.map +1 -1
- package/dist/jsdoc-panel.component.js +34 -474
- package/dist/jsdoc-plugin.browser.js +2 -2
- package/dist/jsdoc-plugin.d.ts.map +1 -1
- package/dist/jsdoc-plugin.js +4 -1
- package/dist/service-page/api-page.model.d.ts +35 -0
- package/dist/service-page/api-page.model.d.ts.map +1 -0
- package/dist/service-page/api-page.model.js +54 -0
- package/dist/service-page/jsdoc-service-page.component.d.ts +82 -0
- package/dist/service-page/jsdoc-service-page.component.d.ts.map +1 -0
- package/dist/service-page/jsdoc-service-page.component.js +1178 -0
- package/dist/service-page/pipe-usage.d.ts +13 -0
- package/dist/service-page/pipe-usage.d.ts.map +1 -0
- package/dist/service-page/pipe-usage.js +35 -0
- package/dist/service-page/service-page.model.d.ts +78 -0
- package/dist/service-page/service-page.model.d.ts.map +1 -0
- package/dist/service-page/service-page.model.js +130 -0
- package/dist/service-page/service-usage.d.ts +28 -0
- package/dist/service-page/service-usage.d.ts.map +1 -0
- package/dist/service-page/service-usage.js +61 -0
- package/package.json +3 -2
|
@@ -1,488 +1,48 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { parseExample, renderBlockMarkdown, renderInlineMarkdown } from './markdown.js';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
|
|
2
|
+
import { componentApiPage, pipePage, servicePage } from './api-page/api-page.model.js';
|
|
3
|
+
import { JsDocApiPageComponent } from './api-page/jsdoc-api-page.component.js';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
i0.ɵɵelementStart(0, "div", 1);
|
|
9
|
-
i0.ɵɵtext(1, " Select a component to view API documentation. ");
|
|
10
|
-
i0.ɵɵelementEnd();
|
|
11
|
-
} }
|
|
12
|
-
function JsDocPanelComponent_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelement(0, "div", 2);
|
|
14
|
-
} if (rf & 2) {
|
|
15
|
-
i0.ɵɵproperty("innerHTML", ctx, i0.ɵɵsanitizeHtml);
|
|
16
|
-
} }
|
|
17
|
-
function JsDocPanelComponent_Conditional_2_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
19
|
-
i0.ɵɵtext(1);
|
|
20
|
-
i0.ɵɵelementEnd();
|
|
21
|
-
} if (rf & 2) {
|
|
22
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
23
|
-
i0.ɵɵadvance();
|
|
24
|
-
i0.ɵɵtextInterpolate1(" Deprecated", ctx_r0.deprecatedMessage() ? ": " + ctx_r0.deprecatedMessage() : "", " ");
|
|
25
|
-
} }
|
|
26
|
-
function JsDocPanelComponent_Conditional_2_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵelementStart(0, "span", 6)(1, "span", 7);
|
|
28
|
-
i0.ɵɵtext(2, "Version:");
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
i0.ɵɵtext(3);
|
|
31
|
-
i0.ɵɵelementEnd();
|
|
32
|
-
} if (rf & 2) {
|
|
33
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
34
|
-
i0.ɵɵadvance(3);
|
|
35
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.version(), " ");
|
|
36
|
-
} }
|
|
37
|
-
function JsDocPanelComponent_Conditional_2_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelementStart(0, "span", 6)(1, "span", 7);
|
|
39
|
-
i0.ɵɵtext(2, "Since:");
|
|
40
|
-
i0.ɵɵelementEnd();
|
|
41
|
-
i0.ɵɵtext(3);
|
|
42
|
-
i0.ɵɵelementEnd();
|
|
43
|
-
} if (rf & 2) {
|
|
44
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45
|
-
i0.ɵɵadvance(3);
|
|
46
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.since(), " ");
|
|
47
|
-
} }
|
|
48
|
-
function JsDocPanelComponent_Conditional_2_Conditional_1_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementStart(0, "span", 6)(1, "span", 7);
|
|
50
|
-
i0.ɵɵtext(2, "See:");
|
|
51
|
-
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵtext(3);
|
|
53
|
-
i0.ɵɵelementEnd();
|
|
54
|
-
} if (rf & 2) {
|
|
55
|
-
const ref_r2 = ctx.$implicit;
|
|
56
|
-
i0.ɵɵadvance(3);
|
|
57
|
-
i0.ɵɵtextInterpolate1(" ", ref_r2, " ");
|
|
58
|
-
} }
|
|
59
|
-
function JsDocPanelComponent_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
-
i0.ɵɵelementStart(0, "div", 3);
|
|
61
|
-
i0.ɵɵconditionalCreate(1, JsDocPanelComponent_Conditional_2_Conditional_1_Conditional_1_Template, 2, 1, "span", 5);
|
|
62
|
-
i0.ɵɵconditionalCreate(2, JsDocPanelComponent_Conditional_2_Conditional_1_Conditional_2_Template, 4, 1, "span", 6);
|
|
63
|
-
i0.ɵɵconditionalCreate(3, JsDocPanelComponent_Conditional_2_Conditional_1_Conditional_3_Template, 4, 1, "span", 6);
|
|
64
|
-
i0.ɵɵrepeaterCreate(4, JsDocPanelComponent_Conditional_2_Conditional_1_For_5_Template, 4, 1, "span", 6, i0.ɵɵrepeaterTrackByIndex);
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
} if (rf & 2) {
|
|
67
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
68
|
-
i0.ɵɵadvance();
|
|
69
|
-
i0.ɵɵconditional(ctx_r0.isDeprecated() ? 1 : -1);
|
|
70
|
-
i0.ɵɵadvance();
|
|
71
|
-
i0.ɵɵconditional(ctx_r0.version() ? 2 : -1);
|
|
72
|
-
i0.ɵɵadvance();
|
|
73
|
-
i0.ɵɵconditional(ctx_r0.since() ? 3 : -1);
|
|
74
|
-
i0.ɵɵadvance();
|
|
75
|
-
i0.ɵɵrepeater(ctx_r0.seeRefs());
|
|
76
|
-
} }
|
|
77
|
-
function JsDocPanelComponent_Conditional_2_Conditional_2_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
-
i0.ɵɵelementStart(0, "pre", 9);
|
|
79
|
-
i0.ɵɵelement(1, "code", 10);
|
|
80
|
-
i0.ɵɵelementEnd();
|
|
81
|
-
} if (rf & 2) {
|
|
82
|
-
const example_r3 = ctx.$implicit;
|
|
83
|
-
const parsed_r4 = i0.ɵɵnextContext(3).parseExample(example_r3);
|
|
84
|
-
i0.ɵɵadvance();
|
|
85
|
-
i0.ɵɵproperty("highlight", parsed_r4.code)("language", parsed_r4.lang);
|
|
86
|
-
} }
|
|
87
|
-
function JsDocPanelComponent_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "h3", 8);
|
|
89
|
-
i0.ɵɵtext(2, "Examples");
|
|
90
|
-
i0.ɵɵelementEnd();
|
|
91
|
-
i0.ɵɵrepeaterCreate(3, JsDocPanelComponent_Conditional_2_Conditional_2_For_4_Template, 2, 2, "pre", 9, i0.ɵɵrepeaterTrackByIndex);
|
|
92
|
-
i0.ɵɵelementEnd();
|
|
93
|
-
} if (rf & 2) {
|
|
94
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
95
|
-
i0.ɵɵadvance(3);
|
|
96
|
-
i0.ɵɵrepeater(ctx_r0.examples());
|
|
97
|
-
} }
|
|
98
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
99
|
-
i0.ɵɵelementStart(0, "span", 14);
|
|
100
|
-
i0.ɵɵtext(1, "deprecated");
|
|
101
|
-
i0.ɵɵelementEnd();
|
|
102
|
-
} }
|
|
103
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
104
|
-
i0.ɵɵelementStart(0, "code");
|
|
105
|
-
i0.ɵɵtext(1);
|
|
106
|
-
i0.ɵɵelementEnd();
|
|
107
|
-
} if (rf & 2) {
|
|
108
|
-
const inp_r5 = i0.ɵɵnextContext().$implicit;
|
|
109
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
110
|
-
i0.ɵɵadvance();
|
|
111
|
-
i0.ɵɵtextInterpolate(ctx_r0.formatDefault(inp_r5.defaultValue));
|
|
112
|
-
} }
|
|
113
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
115
|
-
i0.ɵɵtext(1, "\u2014");
|
|
116
|
-
i0.ɵɵelementEnd();
|
|
117
|
-
} }
|
|
118
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
-
i0.ɵɵelementStart(0, "span", 19);
|
|
120
|
-
i0.ɵɵtext(1, "required");
|
|
121
|
-
i0.ɵɵelementEnd();
|
|
122
|
-
} }
|
|
123
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
125
|
-
i0.ɵɵtext(1, "\u2014");
|
|
126
|
-
i0.ɵɵelementEnd();
|
|
127
|
-
} }
|
|
128
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
129
|
-
i0.ɵɵelement(0, "span", 21);
|
|
130
|
-
} if (rf & 2) {
|
|
131
|
-
const inp_r5 = i0.ɵɵnextContext().$implicit;
|
|
132
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
133
|
-
i0.ɵɵproperty("innerHTML", ctx_r0.renderInline(inp_r5.doc), i0.ɵɵsanitizeHtml);
|
|
134
|
-
} }
|
|
135
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_16_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
136
|
-
i0.ɵɵelementStart(0, "span", 22);
|
|
137
|
-
i0.ɵɵtext(1, " \u00B7 ");
|
|
138
|
-
i0.ɵɵelementEnd();
|
|
139
|
-
} }
|
|
140
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
141
|
-
i0.ɵɵconditionalCreate(0, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_16_Conditional_0_Template, 2, 0, "span", 22);
|
|
142
|
-
i0.ɵɵelementStart(1, "span", 23);
|
|
143
|
-
i0.ɵɵtext(2);
|
|
144
|
-
i0.ɵɵelementEnd();
|
|
145
|
-
} if (rf & 2) {
|
|
146
|
-
const inp_r5 = i0.ɵɵnextContext().$implicit;
|
|
147
|
-
i0.ɵɵconditional(inp_r5.doc ? 0 : -1);
|
|
148
|
-
i0.ɵɵadvance(2);
|
|
149
|
-
i0.ɵɵtextInterpolate1("Since ", ctx);
|
|
150
|
-
} }
|
|
151
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Template(rf, ctx) { if (rf & 1) {
|
|
152
|
-
i0.ɵɵelementStart(0, "tr")(1, "td", 13)(2, "code");
|
|
153
|
-
i0.ɵɵtext(3);
|
|
154
|
-
i0.ɵɵelementEnd();
|
|
155
|
-
i0.ɵɵconditionalCreate(4, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_4_Template, 2, 0, "span", 14);
|
|
156
|
-
i0.ɵɵelementEnd();
|
|
157
|
-
i0.ɵɵelementStart(5, "td", 15)(6, "code");
|
|
158
|
-
i0.ɵɵtext(7);
|
|
159
|
-
i0.ɵɵelementEnd()();
|
|
160
|
-
i0.ɵɵelementStart(8, "td", 16);
|
|
161
|
-
i0.ɵɵconditionalCreate(9, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_9_Template, 2, 1, "code")(10, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_10_Template, 2, 0, "span", 17);
|
|
162
|
-
i0.ɵɵelementEnd();
|
|
163
|
-
i0.ɵɵelementStart(11, "td", 18);
|
|
164
|
-
i0.ɵɵconditionalCreate(12, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_12_Template, 2, 0, "span", 19)(13, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_13_Template, 2, 0, "span", 17);
|
|
165
|
-
i0.ɵɵelementEnd();
|
|
166
|
-
i0.ɵɵelementStart(14, "td", 20);
|
|
167
|
-
i0.ɵɵconditionalCreate(15, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_15_Template, 1, 1, "span", 21);
|
|
168
|
-
i0.ɵɵconditionalCreate(16, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Conditional_16_Template, 3, 2);
|
|
169
|
-
i0.ɵɵelementEnd()();
|
|
170
|
-
} if (rf & 2) {
|
|
171
|
-
let tmp_19_0;
|
|
172
|
-
const inp_r5 = ctx.$implicit;
|
|
173
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
174
|
-
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r0.isMemberDeprecated(inp_r5.name));
|
|
175
|
-
i0.ɵɵadvance(3);
|
|
176
|
-
i0.ɵɵtextInterpolate(inp_r5.name);
|
|
177
|
-
i0.ɵɵadvance();
|
|
178
|
-
i0.ɵɵconditional(ctx_r0.isMemberDeprecated(inp_r5.name) ? 4 : -1);
|
|
179
|
-
i0.ɵɵadvance(3);
|
|
180
|
-
i0.ɵɵtextInterpolate(inp_r5.rawType ?? inp_r5.type);
|
|
181
|
-
i0.ɵɵadvance(2);
|
|
182
|
-
i0.ɵɵconditional(inp_r5.defaultValue !== undefined ? 9 : 10);
|
|
183
|
-
i0.ɵɵadvance(3);
|
|
184
|
-
i0.ɵɵconditional(inp_r5.required ? 12 : 13);
|
|
185
|
-
i0.ɵɵadvance(3);
|
|
186
|
-
i0.ɵɵconditional(inp_r5.doc ? 15 : -1);
|
|
187
|
-
i0.ɵɵadvance();
|
|
188
|
-
i0.ɵɵconditional((tmp_19_0 = ctx_r0.getMemberSince(inp_r5.name)) ? 16 : -1, tmp_19_0);
|
|
189
|
-
} }
|
|
190
|
-
function JsDocPanelComponent_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
191
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "h3", 8);
|
|
192
|
-
i0.ɵɵtext(2, "Inputs");
|
|
193
|
-
i0.ɵɵelementEnd();
|
|
194
|
-
i0.ɵɵelementStart(3, "table", 11)(4, "thead")(5, "tr")(6, "th");
|
|
195
|
-
i0.ɵɵtext(7, "Name");
|
|
196
|
-
i0.ɵɵelementEnd();
|
|
197
|
-
i0.ɵɵelementStart(8, "th");
|
|
198
|
-
i0.ɵɵtext(9, "Type");
|
|
199
|
-
i0.ɵɵelementEnd();
|
|
200
|
-
i0.ɵɵelementStart(10, "th");
|
|
201
|
-
i0.ɵɵtext(11, "Default");
|
|
202
|
-
i0.ɵɵelementEnd();
|
|
203
|
-
i0.ɵɵelementStart(12, "th");
|
|
204
|
-
i0.ɵɵtext(13, "Required");
|
|
205
|
-
i0.ɵɵelementEnd();
|
|
206
|
-
i0.ɵɵelementStart(14, "th");
|
|
207
|
-
i0.ɵɵtext(15, "Description");
|
|
208
|
-
i0.ɵɵelementEnd()()();
|
|
209
|
-
i0.ɵɵelementStart(16, "tbody");
|
|
210
|
-
i0.ɵɵrepeaterCreate(17, JsDocPanelComponent_Conditional_2_Conditional_3_For_18_Template, 17, 9, "tr", 12, _forTrack0);
|
|
211
|
-
i0.ɵɵelementEnd()()();
|
|
5
|
+
function JsDocPanelComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵelement(0, "prism-jsdoc-api-page", 0);
|
|
212
7
|
} if (rf & 2) {
|
|
213
|
-
|
|
214
|
-
i0.ɵɵadvance(17);
|
|
215
|
-
i0.ɵɵrepeater(ctx_r0.inputs());
|
|
8
|
+
i0.ɵɵproperty("page", ctx);
|
|
216
9
|
} }
|
|
217
|
-
function
|
|
218
|
-
i0.ɵɵelementStart(0, "
|
|
219
|
-
i0.ɵɵtext(
|
|
220
|
-
i0.ɵɵelementEnd();
|
|
221
|
-
} }
|
|
222
|
-
function JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
223
|
-
i0.ɵɵelement(0, "span", 21);
|
|
224
|
-
} if (rf & 2) {
|
|
225
|
-
const out_r6 = i0.ɵɵnextContext().$implicit;
|
|
226
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
227
|
-
i0.ɵɵproperty("innerHTML", ctx_r0.renderInline(out_r6.doc), i0.ɵɵsanitizeHtml);
|
|
228
|
-
} }
|
|
229
|
-
function JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_7_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
230
|
-
i0.ɵɵelementStart(0, "span", 22);
|
|
231
|
-
i0.ɵɵtext(1, " \u00B7 ");
|
|
232
|
-
i0.ɵɵelementEnd();
|
|
233
|
-
} }
|
|
234
|
-
function JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
235
|
-
i0.ɵɵconditionalCreate(0, JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_7_Conditional_0_Template, 2, 0, "span", 22);
|
|
236
|
-
i0.ɵɵelementStart(1, "span", 23);
|
|
237
|
-
i0.ɵɵtext(2);
|
|
238
|
-
i0.ɵɵelementEnd();
|
|
239
|
-
} if (rf & 2) {
|
|
240
|
-
const out_r6 = i0.ɵɵnextContext().$implicit;
|
|
241
|
-
i0.ɵɵconditional(out_r6.doc ? 0 : -1);
|
|
242
|
-
i0.ɵɵadvance(2);
|
|
243
|
-
i0.ɵɵtextInterpolate1("Since ", ctx);
|
|
244
|
-
} }
|
|
245
|
-
function JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Template(rf, ctx) { if (rf & 1) {
|
|
246
|
-
i0.ɵɵelementStart(0, "tr")(1, "td", 13)(2, "code");
|
|
247
|
-
i0.ɵɵtext(3);
|
|
248
|
-
i0.ɵɵelementEnd();
|
|
249
|
-
i0.ɵɵconditionalCreate(4, JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_4_Template, 2, 0, "span", 14);
|
|
250
|
-
i0.ɵɵelementEnd();
|
|
251
|
-
i0.ɵɵelementStart(5, "td", 20);
|
|
252
|
-
i0.ɵɵconditionalCreate(6, JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_6_Template, 1, 1, "span", 21);
|
|
253
|
-
i0.ɵɵconditionalCreate(7, JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Conditional_7_Template, 3, 2);
|
|
254
|
-
i0.ɵɵelementEnd()();
|
|
255
|
-
} if (rf & 2) {
|
|
256
|
-
let tmp_16_0;
|
|
257
|
-
const out_r6 = ctx.$implicit;
|
|
258
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
259
|
-
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r0.isMemberDeprecated(out_r6.name));
|
|
260
|
-
i0.ɵɵadvance(3);
|
|
261
|
-
i0.ɵɵtextInterpolate(out_r6.name);
|
|
262
|
-
i0.ɵɵadvance();
|
|
263
|
-
i0.ɵɵconditional(ctx_r0.isMemberDeprecated(out_r6.name) ? 4 : -1);
|
|
264
|
-
i0.ɵɵadvance(2);
|
|
265
|
-
i0.ɵɵconditional(out_r6.doc ? 6 : -1);
|
|
266
|
-
i0.ɵɵadvance();
|
|
267
|
-
i0.ɵɵconditional((tmp_16_0 = ctx_r0.getMemberSince(out_r6.name)) ? 7 : -1, tmp_16_0);
|
|
268
|
-
} }
|
|
269
|
-
function JsDocPanelComponent_Conditional_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
270
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "h3", 8);
|
|
271
|
-
i0.ɵɵtext(2, "Outputs");
|
|
272
|
-
i0.ɵɵelementEnd();
|
|
273
|
-
i0.ɵɵelementStart(3, "table", 11)(4, "thead")(5, "tr")(6, "th");
|
|
274
|
-
i0.ɵɵtext(7, "Name");
|
|
275
|
-
i0.ɵɵelementEnd();
|
|
276
|
-
i0.ɵɵelementStart(8, "th");
|
|
277
|
-
i0.ɵɵtext(9, "Description");
|
|
278
|
-
i0.ɵɵelementEnd()()();
|
|
279
|
-
i0.ɵɵelementStart(10, "tbody");
|
|
280
|
-
i0.ɵɵrepeaterCreate(11, JsDocPanelComponent_Conditional_2_Conditional_4_For_12_Template, 8, 6, "tr", 12, _forTrack0);
|
|
281
|
-
i0.ɵɵelementEnd()()();
|
|
282
|
-
} if (rf & 2) {
|
|
283
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
284
|
-
i0.ɵɵadvance(11);
|
|
285
|
-
i0.ɵɵrepeater(ctx_r0.outputs());
|
|
286
|
-
} }
|
|
287
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
288
|
-
i0.ɵɵelementStart(0, "span", 14);
|
|
289
|
-
i0.ɵɵtext(1, "deprecated");
|
|
290
|
-
i0.ɵɵelementEnd();
|
|
291
|
-
} }
|
|
292
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_6_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
293
|
-
i0.ɵɵelementStart(0, "div")(1, "code");
|
|
294
|
-
i0.ɵɵtext(2);
|
|
295
|
-
i0.ɵɵelementEnd()();
|
|
296
|
-
} if (rf & 2) {
|
|
297
|
-
const p_r7 = ctx.$implicit;
|
|
298
|
-
i0.ɵɵadvance(2);
|
|
299
|
-
i0.ɵɵtextInterpolate2("", p_r7.name, "", p_r7.type ? ": " + p_r7.type : "");
|
|
300
|
-
} }
|
|
301
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
302
|
-
i0.ɵɵrepeaterCreate(0, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_6_For_1_Template, 3, 2, "div", null, _forTrack0);
|
|
303
|
-
} if (rf & 2) {
|
|
304
|
-
const method_r8 = i0.ɵɵnextContext().$implicit;
|
|
305
|
-
i0.ɵɵrepeater(method_r8.params);
|
|
306
|
-
} }
|
|
307
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
308
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
309
|
-
i0.ɵɵtext(1, "\u2014");
|
|
310
|
-
i0.ɵɵelementEnd();
|
|
311
|
-
} }
|
|
312
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
313
|
-
i0.ɵɵelementStart(0, "code");
|
|
314
|
-
i0.ɵɵtext(1);
|
|
315
|
-
i0.ɵɵelementEnd();
|
|
316
|
-
} if (rf & 2) {
|
|
317
|
-
const method_r8 = i0.ɵɵnextContext().$implicit;
|
|
318
|
-
i0.ɵɵadvance();
|
|
319
|
-
i0.ɵɵtextInterpolate(method_r8.returnType);
|
|
320
|
-
} }
|
|
321
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
322
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
323
|
-
i0.ɵɵtext(1, "void");
|
|
324
|
-
i0.ɵɵelementEnd();
|
|
325
|
-
} }
|
|
326
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
327
|
-
i0.ɵɵelement(0, "span", 21);
|
|
328
|
-
} if (rf & 2) {
|
|
329
|
-
const method_r8 = i0.ɵɵnextContext().$implicit;
|
|
330
|
-
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
331
|
-
i0.ɵɵproperty("innerHTML", ctx_r0.renderInline(method_r8.description), i0.ɵɵsanitizeHtml);
|
|
332
|
-
} }
|
|
333
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Template(rf, ctx) { if (rf & 1) {
|
|
334
|
-
i0.ɵɵelementStart(0, "tr")(1, "td", 13)(2, "code");
|
|
335
|
-
i0.ɵɵtext(3);
|
|
336
|
-
i0.ɵɵelementEnd();
|
|
337
|
-
i0.ɵɵconditionalCreate(4, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_4_Template, 2, 0, "span", 14);
|
|
338
|
-
i0.ɵɵelementEnd();
|
|
339
|
-
i0.ɵɵelementStart(5, "td", 15);
|
|
340
|
-
i0.ɵɵconditionalCreate(6, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_6_Template, 2, 0)(7, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_7_Template, 2, 0, "span", 17);
|
|
341
|
-
i0.ɵɵelementEnd();
|
|
342
|
-
i0.ɵɵelementStart(8, "td", 15);
|
|
343
|
-
i0.ɵɵconditionalCreate(9, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_9_Template, 2, 1, "code")(10, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_10_Template, 2, 0, "span", 17);
|
|
344
|
-
i0.ɵɵelementEnd();
|
|
345
|
-
i0.ɵɵelementStart(11, "td", 20);
|
|
346
|
-
i0.ɵɵconditionalCreate(12, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Conditional_12_Template, 1, 1, "span", 21);
|
|
10
|
+
function JsDocPanelComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
12
|
+
i0.ɵɵtext(2, " Select a component to view API documentation. ");
|
|
347
13
|
i0.ɵɵelementEnd()();
|
|
348
|
-
} if (rf & 2) {
|
|
349
|
-
const method_r8 = ctx.$implicit;
|
|
350
|
-
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", !!method_r8.tags.deprecated);
|
|
351
|
-
i0.ɵɵadvance(3);
|
|
352
|
-
i0.ɵɵtextInterpolate1("", method_r8.name, "()");
|
|
353
|
-
i0.ɵɵadvance();
|
|
354
|
-
i0.ɵɵconditional(method_r8.tags.deprecated ? 4 : -1);
|
|
355
|
-
i0.ɵɵadvance(2);
|
|
356
|
-
i0.ɵɵconditional(method_r8.params.length ? 6 : 7);
|
|
357
|
-
i0.ɵɵadvance(3);
|
|
358
|
-
i0.ɵɵconditional(method_r8.returnType ? 9 : 10);
|
|
359
|
-
i0.ɵɵadvance(3);
|
|
360
|
-
i0.ɵɵconditional(method_r8.description ? 12 : -1);
|
|
361
|
-
} }
|
|
362
|
-
function JsDocPanelComponent_Conditional_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
363
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "h3", 8);
|
|
364
|
-
i0.ɵɵtext(2, "Methods");
|
|
365
|
-
i0.ɵɵelementEnd();
|
|
366
|
-
i0.ɵɵelementStart(3, "table", 11)(4, "thead")(5, "tr")(6, "th");
|
|
367
|
-
i0.ɵɵtext(7, "Name");
|
|
368
|
-
i0.ɵɵelementEnd();
|
|
369
|
-
i0.ɵɵelementStart(8, "th");
|
|
370
|
-
i0.ɵɵtext(9, "Parameters");
|
|
371
|
-
i0.ɵɵelementEnd();
|
|
372
|
-
i0.ɵɵelementStart(10, "th");
|
|
373
|
-
i0.ɵɵtext(11, "Returns");
|
|
374
|
-
i0.ɵɵelementEnd();
|
|
375
|
-
i0.ɵɵelementStart(12, "th");
|
|
376
|
-
i0.ɵɵtext(13, "Description");
|
|
377
|
-
i0.ɵɵelementEnd()()();
|
|
378
|
-
i0.ɵɵelementStart(14, "tbody");
|
|
379
|
-
i0.ɵɵrepeaterCreate(15, JsDocPanelComponent_Conditional_2_Conditional_5_For_16_Template, 13, 7, "tr", 12, _forTrack0);
|
|
380
|
-
i0.ɵɵelementEnd()()();
|
|
381
|
-
} if (rf & 2) {
|
|
382
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
383
|
-
i0.ɵɵadvance(15);
|
|
384
|
-
i0.ɵɵrepeater(ctx_r0.methods());
|
|
385
|
-
} }
|
|
386
|
-
function JsDocPanelComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
387
|
-
i0.ɵɵconditionalCreate(0, JsDocPanelComponent_Conditional_2_Conditional_0_Template, 1, 1, "div", 2);
|
|
388
|
-
i0.ɵɵconditionalCreate(1, JsDocPanelComponent_Conditional_2_Conditional_1_Template, 6, 3, "div", 3);
|
|
389
|
-
i0.ɵɵconditionalCreate(2, JsDocPanelComponent_Conditional_2_Conditional_2_Template, 5, 0, "div", 4);
|
|
390
|
-
i0.ɵɵconditionalCreate(3, JsDocPanelComponent_Conditional_2_Conditional_3_Template, 19, 0, "div", 4);
|
|
391
|
-
i0.ɵɵconditionalCreate(4, JsDocPanelComponent_Conditional_2_Conditional_4_Template, 13, 0, "div", 4);
|
|
392
|
-
i0.ɵɵconditionalCreate(5, JsDocPanelComponent_Conditional_2_Conditional_5_Template, 17, 0, "div", 4);
|
|
393
|
-
} if (rf & 2) {
|
|
394
|
-
let tmp_1_0;
|
|
395
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
396
|
-
i0.ɵɵconditional((tmp_1_0 = ctx_r0.renderedClassDescription()) ? 0 : -1, tmp_1_0);
|
|
397
|
-
i0.ɵɵadvance();
|
|
398
|
-
i0.ɵɵconditional(ctx_r0.hasTags() ? 1 : -1);
|
|
399
|
-
i0.ɵɵadvance();
|
|
400
|
-
i0.ɵɵconditional(ctx_r0.examples().length ? 2 : -1);
|
|
401
|
-
i0.ɵɵadvance();
|
|
402
|
-
i0.ɵɵconditional(ctx_r0.inputs().length ? 3 : -1);
|
|
403
|
-
i0.ɵɵadvance();
|
|
404
|
-
i0.ɵɵconditional(ctx_r0.outputs().length ? 4 : -1);
|
|
405
|
-
i0.ɵɵadvance();
|
|
406
|
-
i0.ɵɵconditional(ctx_r0.methods().length ? 5 : -1);
|
|
407
14
|
} }
|
|
408
15
|
export class JsDocPanelComponent {
|
|
409
16
|
activeComponent = input(null, /* @ts-ignore */
|
|
410
17
|
...(ngDevMode ? [{ debugName: "activeComponent" }] : /* istanbul ignore next */ []));
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
...(ngDevMode ? [{ debugName: "
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
classDescription = computed(() => this.jsdocData()?.classDescription, /* @ts-ignore */
|
|
428
|
-
...(ngDevMode ? [{ debugName: "classDescription" }] : /* istanbul ignore next */ []));
|
|
429
|
-
// Source is component-author JSDoc compiled into the manifest at build time,
|
|
430
|
-
// not user input, so bypassing sanitization is safe here.
|
|
431
|
-
renderedClassDescription = computed(() => {
|
|
432
|
-
const html = renderBlockMarkdown(this.classDescription());
|
|
433
|
-
return html ? this.sanitizer.bypassSecurityTrustHtml(html) : null;
|
|
434
|
-
}, /* @ts-ignore */
|
|
435
|
-
...(ngDevMode ? [{ debugName: "renderedClassDescription" }] : /* istanbul ignore next */ []));
|
|
436
|
-
classTags = computed(() => this.jsdocData()?.classTags ?? {}, /* @ts-ignore */
|
|
437
|
-
...(ngDevMode ? [{ debugName: "classTags" }] : /* istanbul ignore next */ []));
|
|
438
|
-
isDeprecated = computed(() => !!this.classTags().deprecated, /* @ts-ignore */
|
|
439
|
-
...(ngDevMode ? [{ debugName: "isDeprecated" }] : /* istanbul ignore next */ []));
|
|
440
|
-
deprecatedMessage = computed(() => {
|
|
441
|
-
const d = this.classTags().deprecated;
|
|
442
|
-
return typeof d === 'string' ? d : undefined;
|
|
18
|
+
/** Set on a service page, where `activeComponent` is `null`. */
|
|
19
|
+
activeService = input(null, /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "activeService" }] : /* istanbul ignore next */ []));
|
|
21
|
+
/** Set on a pipe page, where `activeComponent` is `null`. */
|
|
22
|
+
activePipe = input(null, /* @ts-ignore */
|
|
23
|
+
...(ngDevMode ? [{ debugName: "activePipe" }] : /* istanbul ignore next */ []));
|
|
24
|
+
/** The API page of whatever is on screen; `null` when nothing is selected. */
|
|
25
|
+
apiPage = computed(() => {
|
|
26
|
+
const service = this.activeService();
|
|
27
|
+
const pipe = this.activePipe();
|
|
28
|
+
const component = this.activeComponent();
|
|
29
|
+
if (service)
|
|
30
|
+
return servicePage(service.meta);
|
|
31
|
+
if (pipe)
|
|
32
|
+
return pipePage(pipe.meta);
|
|
33
|
+
return component ? componentApiPage(component.meta) : null;
|
|
443
34
|
}, /* @ts-ignore */
|
|
444
|
-
...(ngDevMode ? [{ debugName: "
|
|
445
|
-
since = computed(() => this.classTags().since, /* @ts-ignore */
|
|
446
|
-
...(ngDevMode ? [{ debugName: "since" }] : /* istanbul ignore next */ []));
|
|
447
|
-
version = computed(() => this.classTags().version, /* @ts-ignore */
|
|
448
|
-
...(ngDevMode ? [{ debugName: "version" }] : /* istanbul ignore next */ []));
|
|
449
|
-
seeRefs = computed(() => this.classTags().see ?? [], /* @ts-ignore */
|
|
450
|
-
...(ngDevMode ? [{ debugName: "seeRefs" }] : /* istanbul ignore next */ []));
|
|
451
|
-
examples = computed(() => this.classTags().example ?? [], /* @ts-ignore */
|
|
452
|
-
...(ngDevMode ? [{ debugName: "examples" }] : /* istanbul ignore next */ []));
|
|
453
|
-
methods = computed(() => this.jsdocData()?.methods ?? [], /* @ts-ignore */
|
|
454
|
-
...(ngDevMode ? [{ debugName: "methods" }] : /* istanbul ignore next */ []));
|
|
455
|
-
hasTags = computed(() => this.isDeprecated() || !!this.since() || !!this.version() || this.seeRefs().length > 0, /* @ts-ignore */
|
|
456
|
-
...(ngDevMode ? [{ debugName: "hasTags" }] : /* istanbul ignore next */ []));
|
|
457
|
-
isMemberDeprecated(name) {
|
|
458
|
-
return !!this.jsdocData()?.memberTags[name]?.deprecated;
|
|
459
|
-
}
|
|
460
|
-
getMemberSince(name) {
|
|
461
|
-
return this.jsdocData()?.memberTags[name]?.since;
|
|
462
|
-
}
|
|
463
|
-
renderInline(text) {
|
|
464
|
-
return this.sanitizer.bypassSecurityTrustHtml(renderInlineMarkdown(text));
|
|
465
|
-
}
|
|
466
|
-
parseExample(raw) {
|
|
467
|
-
return parseExample(raw);
|
|
468
|
-
}
|
|
469
|
-
formatDefault(value) {
|
|
470
|
-
if (typeof value === 'string')
|
|
471
|
-
return `'${value}'`;
|
|
472
|
-
return String(value);
|
|
473
|
-
}
|
|
35
|
+
...(ngDevMode ? [{ debugName: "apiPage" }] : /* istanbul ignore next */ []));
|
|
474
36
|
static ɵfac = function JsDocPanelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || JsDocPanelComponent)(); };
|
|
475
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsDocPanelComponent, selectors: [["prism-jsdoc-panel"]], inputs: { activeComponent: [1, "activeComponent"]
|
|
476
|
-
i0.ɵɵ
|
|
477
|
-
i0.ɵɵconditionalCreate(1, JsDocPanelComponent_Conditional_1_Template, 2, 0, "div", 1)(2, JsDocPanelComponent_Conditional_2_Template, 6, 6);
|
|
478
|
-
i0.ɵɵelementEnd();
|
|
37
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsDocPanelComponent, selectors: [["prism-jsdoc-panel"]], inputs: { activeComponent: [1, "activeComponent"], activeService: [1, "activeService"], activePipe: [1, "activePipe"] }, decls: 2, vars: 1, consts: [[3, "page"], [1, "prism-jsdoc-panel"], [1, "prism-jsdoc-panel__empty"]], template: function JsDocPanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵconditionalCreate(0, JsDocPanelComponent_Conditional_0_Template, 1, 1, "prism-jsdoc-api-page", 0)(1, JsDocPanelComponent_Conditional_1_Template, 3, 0, "div", 1);
|
|
479
39
|
} if (rf & 2) {
|
|
480
|
-
|
|
481
|
-
i0.ɵɵconditional(
|
|
482
|
-
} }, dependencies: [Highlight], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n}\n\n.prism-jsdoc-panel[_ngcontent-%COMP%] {\n max-width: 880px;\n padding: 20px 24px;\n font-family: var(--%NS%font-sans);\n font-size: var(--%NS%fs-md);\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-panel__empty[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 120px;\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] {\n margin: 0 0 18px;\n font-size: 14px;\n line-height: 1.7;\n color: var(--%NS%prism-text-2);\n}\n\n.prism-jsdoc-panel__meta[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin-bottom: 18px;\n}\n\n.prism-jsdoc-panel__meta-item[_ngcontent-%COMP%] {\n display: flex;\n gap: 6px;\n align-items: center;\n padding: 3px 9px;\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-text-2);\n background: var(--%NS%prism-input-bg);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 4px;\n}\n\n.prism-jsdoc-panel__meta-label[_ngcontent-%COMP%] {\n font-family: var(--%NS%font-mono);\n font-weight: 500;\n color: var(--%NS%prism-primary);\n}\n\n.prism-jsdoc-panel__badge[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n padding: 2px 8px;\n font-size: 12px;\n font-weight: 600;\n border-radius: 10px;\n}\n\n.prism-jsdoc-panel__badge--deprecated[_ngcontent-%COMP%] {\n color: var(--%NS%prism-warn);\n background: color-mix(in srgb, var(--%NS%prism-warn) 15%, transparent);\n}\n\n.prism-jsdoc-panel__badge--required[_ngcontent-%COMP%] {\n margin-left: 4px;\n font-weight: 700;\n color: var(--%NS%prism-accent);\n}\n\n.prism-jsdoc-panel__badge--small[_ngcontent-%COMP%] {\n padding: 1px 5px;\n margin-left: 4px;\n font-size: 10px;\n}\n\n.prism-jsdoc-panel__section[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n}\n\n.prism-jsdoc-panel__heading[_ngcontent-%COMP%] {\n margin: 22px 0 10px;\n font-size: 11px;\n font-weight: 700;\n color: var(--%NS%prism-text-ghost);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n.prism-jsdoc-panel__code[_ngcontent-%COMP%] {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--%NS%prism-bg-surface);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__code[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n display: block;\n padding: 8px 12px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n line-height: 1.5;\n color: var(--%NS%prism-text-2);\n background: transparent !important;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs {\n color: var(--%NS%prism-text-2);\n background: transparent;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-tag, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-name, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-selector-tag, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-keyword, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-title, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-title.function_, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-built_in, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-type {\n color: var(--%NS%prism-code-tag);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-attr, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-attribute, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-property, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-variable, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-template-variable, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-params {\n color: var(--%NS%prism-code-attr);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-string, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-doctag, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-regexp, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-symbol, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-number, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-literal {\n color: var(--%NS%prism-code-str);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-comment, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-quote, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-meta {\n font-style: italic;\n color: var(--%NS%prism-code-com);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-deletion {\n color: var(--%NS%prism-danger);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-addition {\n color: var(--%NS%prism-success);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-emphasis {\n font-style: italic;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-strong {\n font-weight: 700;\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] {\n width: 100%;\n overflow: hidden;\n font-size: var(--%NS%fs-md);\n border-collapse: collapse;\n border: 1px solid var(--%NS%prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n padding: 8px 12px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--%NS%prism-text-ghost);\n text-align: left;\n text-transform: uppercase;\n letter-spacing: 0.06em;\n background: var(--%NS%prism-bg-surface);\n border-bottom: 1px solid var(--%NS%prism-border);\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 10px 12px;\n vertical-align: top;\n border-bottom: 1px solid var(--%NS%prism-border);\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%] {\n border-bottom: 0;\n}\n\n.prism-jsdoc-panel__row--deprecated[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n opacity: 0.6;\n}\n\n.prism-jsdoc-panel__cell--name[_ngcontent-%COMP%] code[_ngcontent-%COMP%], \n.prism-jsdoc-panel__cell--type[_ngcontent-%COMP%] code[_ngcontent-%COMP%], \n.prism-jsdoc-panel__cell--default[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n padding: 1px 5px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-primary);\n background: color-mix(in srgb, var(--%NS%prism-primary) 8%, transparent);\n border-radius: var(--%NS%radius-xs);\n}\n\n.prism-jsdoc-panel__muted[_ngcontent-%COMP%] {\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__cell--doc[_ngcontent-%COMP%] {\n line-height: 1.4;\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-panel__since-sep[_ngcontent-%COMP%] {\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__since[_ngcontent-%COMP%] {\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] [_ngcontent-%COMP%]:first-child {\n margin-top: 0;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] [_ngcontent-%COMP%]:last-child {\n margin-bottom: 0;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0 0 8px;\n line-height: 1.7;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], \n.prism-jsdoc-panel__description[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], \n.prism-jsdoc-panel__description[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 18px 0 8px;\n font-weight: 600;\n line-height: 1.3;\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\n font-size: 18px;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n font-size: 15px;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n font-size: 11px;\n font-weight: 700;\n color: var(--%NS%prism-text-ghost);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], \n.prism-jsdoc-panel__description[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] {\n padding-left: 20px;\n margin: 0 0 8px;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin: 2px 0;\n line-height: 1.6;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] a[_ngcontent-%COMP%] {\n color: var(--%NS%prism-primary);\n text-decoration: none;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover {\n text-decoration: underline;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 600;\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] code[_ngcontent-%COMP%], \n.prism-jsdoc-panel__cell--doc[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n padding: 1px 5px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-primary);\n background: color-mix(in srgb, var(--%NS%prism-primary) 8%, transparent);\n border-radius: var(--%NS%radius-xs);\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--%NS%prism-bg-surface);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n display: block;\n padding: 8px 12px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n line-height: 1.5;\n color: var(--%NS%prism-text);\n background: none;\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] {\n padding: 4px 12px;\n margin: 0 0 8px;\n color: var(--%NS%prism-text-2);\n border-left: 3px solid var(--%NS%prism-border);\n}"] });
|
|
40
|
+
let tmp_0_0;
|
|
41
|
+
i0.ɵɵconditional((tmp_0_0 = ctx.apiPage()) ? 0 : 1, tmp_0_0);
|
|
42
|
+
} }, dependencies: [JsDocApiPageComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n}\n\n.prism-jsdoc-panel[_ngcontent-%COMP%] {\n max-width: 880px;\n padding: 20px 24px;\n font-family: var(--%NS%font-sans);\n font-size: var(--%NS%fs-md);\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-panel__empty[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 120px;\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__description[_ngcontent-%COMP%] {\n margin: 0 0 18px;\n font-size: 14px;\n line-height: 1.7;\n color: var(--%NS%prism-text-2);\n}\n\n.prism-jsdoc-panel__meta[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin-bottom: 18px;\n}\n\n.prism-jsdoc-panel__meta-item[_ngcontent-%COMP%] {\n display: flex;\n gap: 6px;\n align-items: center;\n padding: 3px 9px;\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-text-2);\n background: var(--%NS%prism-input-bg);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 4px;\n}\n\n.prism-jsdoc-panel__meta-label[_ngcontent-%COMP%] {\n font-family: var(--%NS%font-mono);\n font-weight: 500;\n color: var(--%NS%prism-primary);\n}\n\n\n.prism-jsdoc-panel__badge[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n height: 20px;\n padding: 0 7px;\n font-size: 11px;\n font-weight: 500;\n border-radius: 4px;\n}\n\n.prism-jsdoc-panel__badge--deprecated[_ngcontent-%COMP%] {\n color: var(--%NS%prism-warn);\n background: var(--%NS%prism-warn-bg);\n}\n\n.prism-jsdoc-panel__badge--required[_ngcontent-%COMP%] {\n margin-left: 4px;\n color: var(--%NS%prism-primary);\n background: transparent;\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--%NS%prism-primary) 65%, transparent);\n}\n\n.prism-jsdoc-panel__badge--small[_ngcontent-%COMP%] {\n height: 16px;\n padding: 0 5px;\n margin-left: 4px;\n font-size: 10px;\n}\n\n.prism-jsdoc-panel__section[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n}\n\n.prism-jsdoc-panel__heading[_ngcontent-%COMP%] {\n margin: 22px 0 10px;\n font-size: 11px;\n font-weight: 700;\n color: var(--%NS%prism-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n\n\n.prism-jsdoc-panel__code[_ngcontent-%COMP%] {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--%NS%prism-input-bg);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__code[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n display: block;\n padding: 8px 12px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n line-height: 1.5;\n color: var(--%NS%prism-text-2);\n background: transparent !important;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs {\n color: var(--%NS%prism-text-2);\n background: transparent;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-tag, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-name, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-selector-tag, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-keyword, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-title, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-title.function_, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-built_in, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-type {\n color: var(--%NS%prism-code-tag);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-attr, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-attribute, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-property, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-variable, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-template-variable, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-params {\n color: var(--%NS%prism-code-attr);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-string, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-doctag, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-regexp, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-symbol, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-number, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-literal {\n color: var(--%NS%prism-code-str);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-comment, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-quote, \n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-meta {\n font-style: italic;\n color: var(--%NS%prism-code-com);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-deletion {\n color: var(--%NS%prism-danger);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-addition {\n color: var(--%NS%prism-success);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-emphasis {\n font-style: italic;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__code .hljs-strong {\n font-weight: 700;\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] {\n width: 100%;\n overflow: hidden;\n font-size: var(--%NS%fs-md);\n border-collapse: collapse;\n border: 1px solid var(--%NS%prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n padding: 8px 12px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--%NS%prism-text-muted);\n text-align: left;\n text-transform: uppercase;\n letter-spacing: 0.06em;\n background: var(--%NS%prism-bg-surface);\n border-bottom: 1px solid var(--%NS%prism-border);\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 10px 12px;\n vertical-align: top;\n border-bottom: 1px solid var(--%NS%prism-border);\n}\n\n.prism-jsdoc-panel__table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%] {\n border-bottom: 0;\n}\n\n.prism-jsdoc-panel__row--deprecated[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n opacity: 0.6;\n}\n\n.prism-jsdoc-panel__cell--name[_ngcontent-%COMP%] code[_ngcontent-%COMP%], \n.prism-jsdoc-panel__cell--type[_ngcontent-%COMP%] code[_ngcontent-%COMP%], \n.prism-jsdoc-panel__cell--default[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n padding: 1px 5px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-primary);\n background: color-mix(in srgb, var(--%NS%prism-primary) 8%, transparent);\n border-radius: var(--%NS%radius-xs);\n}\n\n.prism-jsdoc-panel__muted[_ngcontent-%COMP%] {\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__cell--doc[_ngcontent-%COMP%] {\n line-height: 1.4;\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-panel__since-sep[_ngcontent-%COMP%] {\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-panel__since[_ngcontent-%COMP%] {\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-text-muted);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description :first-child {\n margin-top: 0;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description :last-child {\n margin-bottom: 0;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description p {\n margin: 0 0 8px;\n line-height: 1.7;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description h1, \n[_nghost-%COMP%] .prism-jsdoc-panel__description h2, \n[_nghost-%COMP%] .prism-jsdoc-panel__description h3 {\n margin: 18px 0 8px;\n font-weight: 600;\n line-height: 1.3;\n color: var(--%NS%prism-text);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description h1 {\n font-size: 18px;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description h2 {\n font-size: 15px;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description h3 {\n font-size: 11px;\n font-weight: 700;\n color: var(--%NS%prism-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description ul, \n[_nghost-%COMP%] .prism-jsdoc-panel__description ol {\n padding-left: 20px;\n margin: 0 0 8px;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description li {\n margin: 2px 0;\n line-height: 1.6;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description a {\n font-weight: 500;\n color: var(--%NS%prism-link);\n text-decoration: underline;\n text-decoration-thickness: 1px;\n text-decoration-color: color-mix(in srgb, var(--%NS%prism-link) 45%, transparent);\n text-underline-offset: 3px;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description a:hover {\n text-decoration-color: var(--%NS%prism-link);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description a:focus-visible {\n outline: 2px solid var(--%NS%prism-link);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description strong {\n font-weight: 600;\n color: var(--%NS%prism-text);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description code, \n[_nghost-%COMP%] .prism-jsdoc-panel__cell--doc code {\n padding: 1px 5px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-primary);\n background: color-mix(in srgb, var(--%NS%prism-primary) 8%, transparent);\n border-radius: var(--%NS%radius-xs);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description pre {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--%NS%prism-bg-surface);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 8px;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description pre code {\n display: block;\n padding: 8px 12px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n line-height: 1.5;\n color: var(--%NS%prism-text);\n background: none;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__description blockquote {\n padding: 4px 12px;\n margin: 0 0 8px;\n color: var(--%NS%prism-text-2);\n border-left: 3px solid var(--%NS%prism-border);\n}\n\n\n.prism-jsdoc-panel__cell--type[_ngcontent-%COMP%] code[_ngcontent-%COMP%], \n.prism-jsdoc-panel__cell--default[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n padding: 0;\n color: var(--%NS%prism-text-2);\n background: none;\n}"] });
|
|
483
43
|
}
|
|
484
44
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsDocPanelComponent, [{
|
|
485
45
|
type: Component,
|
|
486
|
-
args: [{ selector: 'prism-jsdoc-panel', standalone: true, imports: [Highlight], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"prism-jsdoc-panel\">\n @if (!activeComponent()) {\n <div class=\"prism-jsdoc-panel__empty\"> Select a component to view API documentation. </div>\n } @else {\n @if (renderedClassDescription(); as descHtml) {\n <div\n class=\"prism-jsdoc-panel__description\"\n [innerHTML]=\"descHtml\"></div>\n }\n @if (hasTags()) {\n <div class=\"prism-jsdoc-panel__meta\">\n @if (isDeprecated()) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated\">\n Deprecated{{ deprecatedMessage() ? ': ' + deprecatedMessage() : '' }}\n </span>\n }\n @if (version()) {\n <span class=\"prism-jsdoc-panel__meta-item\">\n <span class=\"prism-jsdoc-panel__meta-label\">Version:</span>\n {{ version() }}\n </span>\n }\n @if (since()) {\n <span class=\"prism-jsdoc-panel__meta-item\">\n <span class=\"prism-jsdoc-panel__meta-label\">Since:</span>\n {{ since() }}\n </span>\n }\n @for (ref of seeRefs(); track $index) {\n <span class=\"prism-jsdoc-panel__meta-item\"> <span class=\"prism-jsdoc-panel__meta-label\">See:</span> {{ ref }} </span>\n }\n </div>\n }\n @if (examples().length) {\n <div class=\"prism-jsdoc-panel__section\">\n <h3 class=\"prism-jsdoc-panel__heading\">Examples</h3>\n @for (example of examples(); track $index) {\n @let parsed = parseExample(example);\n <pre class=\"prism-jsdoc-panel__code\"><code [highlight]=\"parsed.code\" [language]=\"parsed.lang\"></code></pre>\n }\n </div>\n }\n @if (inputs().length) {\n <div class=\"prism-jsdoc-panel__section\">\n <h3 class=\"prism-jsdoc-panel__heading\">Inputs</h3>\n <table class=\"prism-jsdoc-panel__table\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n <th>Default</th>\n <th>Required</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (inp of inputs(); track inp.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isMemberDeprecated(inp.name)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ inp.name }}</code>\n @if (isMemberDeprecated(inp.name)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">deprecated</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--type\">\n <code>{{ inp.rawType ?? inp.type }}</code>\n </td>\n <td class=\"prism-jsdoc-panel__cell--default\">\n @if (inp.defaultValue !== undefined) {\n <code>{{ formatDefault(inp.defaultValue) }}</code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--required\">\n @if (inp.required) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--required\">required</span>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--doc\">\n @if (inp.doc) {\n <span [innerHTML]=\"renderInline(inp.doc)\"></span>\n }\n @if (getMemberSince(inp.name); as since) {\n @if (inp.doc) {\n <span class=\"prism-jsdoc-panel__since-sep\"> \u00B7 </span>\n }\n <span class=\"prism-jsdoc-panel__since\">Since {{ since }}</span>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n @if (outputs().length) {\n <div class=\"prism-jsdoc-panel__section\">\n <h3 class=\"prism-jsdoc-panel__heading\">Outputs</h3>\n <table class=\"prism-jsdoc-panel__table\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (out of outputs(); track out.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isMemberDeprecated(out.name)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ out.name }}</code>\n @if (isMemberDeprecated(out.name)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">deprecated</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--doc\">\n @if (out.doc) {\n <span [innerHTML]=\"renderInline(out.doc)\"></span>\n }\n @if (getMemberSince(out.name); as since) {\n @if (out.doc) {\n <span class=\"prism-jsdoc-panel__since-sep\"> \u00B7 </span>\n }\n <span class=\"prism-jsdoc-panel__since\">Since {{ since }}</span>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n @if (methods().length) {\n <div class=\"prism-jsdoc-panel__section\">\n <h3 class=\"prism-jsdoc-panel__heading\">Methods</h3>\n <table class=\"prism-jsdoc-panel__table\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Parameters</th>\n <th>Returns</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (method of methods(); track method.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"!!method.tags.deprecated\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ method.name }}()</code>\n @if (method.tags.deprecated) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">deprecated</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--type\">\n @if (method.params.length) {\n @for (p of method.params; track p.name) {\n <div>\n <code>{{ p.name }}{{ p.type ? ': ' + p.type : '' }}</code>\n </div>\n }\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--type\">\n @if (method.returnType) {\n <code>{{ method.returnType }}</code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">void</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--doc\">\n @if (method.description) {\n <span [innerHTML]=\"renderInline(method.description)\"></span>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n }\n</div>\n", styles: [":host {\n display: block;\n height: 100%;\n overflow: auto;\n}\n\n.prism-jsdoc-panel {\n max-width: 880px;\n padding: 20px 24px;\n font-family: var(--font-sans);\n font-size: var(--fs-md);\n color: var(--prism-text);\n}\n\n.prism-jsdoc-panel__empty {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 120px;\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__description {\n margin: 0 0 18px;\n font-size: 14px;\n line-height: 1.7;\n color: var(--prism-text-2);\n}\n\n.prism-jsdoc-panel__meta {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin-bottom: 18px;\n}\n\n.prism-jsdoc-panel__meta-item {\n display: flex;\n gap: 6px;\n align-items: center;\n padding: 3px 9px;\n font-size: var(--fs-sm);\n color: var(--prism-text-2);\n background: var(--prism-input-bg);\n border: 1px solid var(--prism-border);\n border-radius: 4px;\n}\n\n.prism-jsdoc-panel__meta-label {\n font-family: var(--font-mono);\n font-weight: 500;\n color: var(--prism-primary);\n}\n\n.prism-jsdoc-panel__badge {\n display: inline-flex;\n align-items: center;\n padding: 2px 8px;\n font-size: 12px;\n font-weight: 600;\n border-radius: 10px;\n}\n\n.prism-jsdoc-panel__badge--deprecated {\n color: var(--prism-warn);\n background: color-mix(in srgb, var(--prism-warn) 15%, transparent);\n}\n\n.prism-jsdoc-panel__badge--required {\n margin-left: 4px;\n font-weight: 700;\n color: var(--prism-accent);\n}\n\n.prism-jsdoc-panel__badge--small {\n padding: 1px 5px;\n margin-left: 4px;\n font-size: 10px;\n}\n\n.prism-jsdoc-panel__section {\n margin-bottom: 20px;\n}\n\n.prism-jsdoc-panel__heading {\n margin: 22px 0 10px;\n font-size: 11px;\n font-weight: 700;\n color: var(--prism-text-ghost);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n.prism-jsdoc-panel__code {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--prism-bg-surface);\n border: 1px solid var(--prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__code code {\n display: block;\n padding: 8px 12px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n line-height: 1.5;\n color: var(--prism-text-2);\n background: transparent !important;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs {\n color: var(--prism-text-2);\n background: transparent;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-tag,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-name,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-selector-tag,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-keyword,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-title,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-title.function_,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-built_in,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-type {\n color: var(--prism-code-tag);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-attr,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-attribute,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-property,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-variable,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-template-variable,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-params {\n color: var(--prism-code-attr);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-string,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-doctag,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-regexp,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-symbol,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-number,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-literal {\n color: var(--prism-code-str);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-comment,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-quote,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-meta {\n font-style: italic;\n color: var(--prism-code-com);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-deletion {\n color: var(--prism-danger);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-addition {\n color: var(--prism-success);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-emphasis {\n font-style: italic;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-strong {\n font-weight: 700;\n}\n\n.prism-jsdoc-panel__table {\n width: 100%;\n overflow: hidden;\n font-size: var(--fs-md);\n border-collapse: collapse;\n border: 1px solid var(--prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__table th {\n padding: 8px 12px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--prism-text-ghost);\n text-align: left;\n text-transform: uppercase;\n letter-spacing: 0.06em;\n background: var(--prism-bg-surface);\n border-bottom: 1px solid var(--prism-border);\n}\n\n.prism-jsdoc-panel__table td {\n padding: 10px 12px;\n vertical-align: top;\n border-bottom: 1px solid var(--prism-border);\n}\n\n.prism-jsdoc-panel__table tr:last-child td {\n border-bottom: 0;\n}\n\n.prism-jsdoc-panel__row--deprecated td {\n opacity: 0.6;\n}\n\n.prism-jsdoc-panel__cell--name code,\n.prism-jsdoc-panel__cell--type code,\n.prism-jsdoc-panel__cell--default code {\n padding: 1px 5px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n color: var(--prism-primary);\n background: color-mix(in srgb, var(--prism-primary) 8%, transparent);\n border-radius: var(--radius-xs);\n}\n\n.prism-jsdoc-panel__muted {\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__cell--doc {\n line-height: 1.4;\n color: var(--prism-text);\n}\n\n.prism-jsdoc-panel__since-sep {\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__since {\n font-size: var(--fs-sm);\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__description :first-child {\n margin-top: 0;\n}\n\n.prism-jsdoc-panel__description :last-child {\n margin-bottom: 0;\n}\n\n.prism-jsdoc-panel__description p {\n margin: 0 0 8px;\n line-height: 1.7;\n}\n\n.prism-jsdoc-panel__description h1,\n.prism-jsdoc-panel__description h2,\n.prism-jsdoc-panel__description h3 {\n margin: 18px 0 8px;\n font-weight: 600;\n line-height: 1.3;\n color: var(--prism-text);\n}\n\n.prism-jsdoc-panel__description h1 {\n font-size: 18px;\n}\n\n.prism-jsdoc-panel__description h2 {\n font-size: 15px;\n}\n\n.prism-jsdoc-panel__description h3 {\n font-size: 11px;\n font-weight: 700;\n color: var(--prism-text-ghost);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n.prism-jsdoc-panel__description ul,\n.prism-jsdoc-panel__description ol {\n padding-left: 20px;\n margin: 0 0 8px;\n}\n\n.prism-jsdoc-panel__description li {\n margin: 2px 0;\n line-height: 1.6;\n}\n\n.prism-jsdoc-panel__description a {\n color: var(--prism-primary);\n text-decoration: none;\n}\n\n.prism-jsdoc-panel__description a:hover {\n text-decoration: underline;\n}\n\n.prism-jsdoc-panel__description strong {\n font-weight: 600;\n color: var(--prism-text);\n}\n\n.prism-jsdoc-panel__description code,\n.prism-jsdoc-panel__cell--doc code {\n padding: 1px 5px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n color: var(--prism-primary);\n background: color-mix(in srgb, var(--prism-primary) 8%, transparent);\n border-radius: var(--radius-xs);\n}\n\n.prism-jsdoc-panel__description pre {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--prism-bg-surface);\n border: 1px solid var(--prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__description pre code {\n display: block;\n padding: 8px 12px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n line-height: 1.5;\n color: var(--prism-text);\n background: none;\n}\n\n.prism-jsdoc-panel__description blockquote {\n padding: 4px 12px;\n margin: 0 0 8px;\n color: var(--prism-text-2);\n border-left: 3px solid var(--prism-border);\n}\n"] }]
|
|
487
|
-
}], null, { activeComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeComponent", required: false }] }] }); })();
|
|
488
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(JsDocPanelComponent, { className: "JsDocPanelComponent", filePath: "jsdoc-panel.component.ts", lineNumber:
|
|
46
|
+
args: [{ selector: 'prism-jsdoc-panel', standalone: true, imports: [JsDocApiPageComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (apiPage(); as current) {\n <prism-jsdoc-api-page [page]=\"current\" />\n} @else {\n <div class=\"prism-jsdoc-panel\">\n <div class=\"prism-jsdoc-panel__empty\"> Select a component to view API documentation. </div>\n </div>\n}\n", styles: [":host {\n display: block;\n height: 100%;\n overflow: auto;\n}\n\n.prism-jsdoc-panel {\n max-width: 880px;\n padding: 20px 24px;\n font-family: var(--font-sans);\n font-size: var(--fs-md);\n color: var(--prism-text);\n}\n\n.prism-jsdoc-panel__empty {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 120px;\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__description {\n margin: 0 0 18px;\n font-size: 14px;\n line-height: 1.7;\n color: var(--prism-text-2);\n}\n\n.prism-jsdoc-panel__meta {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin-bottom: 18px;\n}\n\n.prism-jsdoc-panel__meta-item {\n display: flex;\n gap: 6px;\n align-items: center;\n padding: 3px 9px;\n font-size: var(--fs-sm);\n color: var(--prism-text-2);\n background: var(--prism-input-bg);\n border: 1px solid var(--prism-border);\n border-radius: 4px;\n}\n\n.prism-jsdoc-panel__meta-label {\n font-family: var(--font-mono);\n font-weight: 500;\n color: var(--prism-primary);\n}\n\n/* Shaped like prism-badge: radius 4, sentence case, the tone on its tint. */\n.prism-jsdoc-panel__badge {\n display: inline-flex;\n align-items: center;\n height: 20px;\n padding: 0 7px;\n font-size: 11px;\n font-weight: 500;\n border-radius: 4px;\n}\n\n.prism-jsdoc-panel__badge--deprecated {\n color: var(--prism-warn);\n background: var(--prism-warn-bg);\n}\n\n.prism-jsdoc-panel__badge--required {\n margin-left: 4px;\n color: var(--prism-primary);\n background: transparent;\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--prism-primary) 65%, transparent);\n}\n\n.prism-jsdoc-panel__badge--small {\n height: 16px;\n padding: 0 5px;\n margin-left: 4px;\n font-size: 10px;\n}\n\n.prism-jsdoc-panel__section {\n margin-bottom: 20px;\n}\n\n.prism-jsdoc-panel__heading {\n margin: 22px 0 10px;\n font-size: 11px;\n font-weight: 700;\n color: var(--prism-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n/* A faint tint over the page rather than a surface colour of its own, so the\n block stands off the content area in either theme. */\n.prism-jsdoc-panel__code {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--prism-input-bg);\n border: 1px solid var(--prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__code code {\n display: block;\n padding: 8px 12px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n line-height: 1.5;\n color: var(--prism-text-2);\n background: transparent !important;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs {\n color: var(--prism-text-2);\n background: transparent;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-tag,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-name,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-selector-tag,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-keyword,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-title,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-title.function_,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-built_in,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-type {\n color: var(--prism-code-tag);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-attr,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-attribute,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-property,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-variable,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-template-variable,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-params {\n color: var(--prism-code-attr);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-string,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-doctag,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-regexp,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-symbol,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-number,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-literal {\n color: var(--prism-code-str);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-comment,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-quote,\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-meta {\n font-style: italic;\n color: var(--prism-code-com);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-deletion {\n color: var(--prism-danger);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-addition {\n color: var(--prism-success);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-emphasis {\n font-style: italic;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__code .hljs-strong {\n font-weight: 700;\n}\n\n.prism-jsdoc-panel__table {\n width: 100%;\n overflow: hidden;\n font-size: var(--fs-md);\n border-collapse: collapse;\n border: 1px solid var(--prism-border);\n border-radius: 8px;\n}\n\n.prism-jsdoc-panel__table th {\n padding: 8px 12px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--prism-text-muted);\n text-align: left;\n text-transform: uppercase;\n letter-spacing: 0.06em;\n background: var(--prism-bg-surface);\n border-bottom: 1px solid var(--prism-border);\n}\n\n.prism-jsdoc-panel__table td {\n padding: 10px 12px;\n vertical-align: top;\n border-bottom: 1px solid var(--prism-border);\n}\n\n.prism-jsdoc-panel__table tr:last-child td {\n border-bottom: 0;\n}\n\n.prism-jsdoc-panel__row--deprecated td {\n opacity: 0.6;\n}\n\n.prism-jsdoc-panel__cell--name code,\n.prism-jsdoc-panel__cell--type code,\n.prism-jsdoc-panel__cell--default code {\n padding: 1px 5px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n color: var(--prism-primary);\n background: color-mix(in srgb, var(--prism-primary) 8%, transparent);\n border-radius: var(--radius-xs);\n}\n\n.prism-jsdoc-panel__muted {\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__cell--doc {\n line-height: 1.4;\n color: var(--prism-text);\n}\n\n.prism-jsdoc-panel__since-sep {\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-panel__since {\n font-size: var(--fs-sm);\n color: var(--prism-text-muted);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description :first-child {\n margin-top: 0;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description :last-child {\n margin-bottom: 0;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description p {\n margin: 0 0 8px;\n line-height: 1.7;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description h1,\n:host ::ng-deep .prism-jsdoc-panel__description h2,\n:host ::ng-deep .prism-jsdoc-panel__description h3 {\n margin: 18px 0 8px;\n font-weight: 600;\n line-height: 1.3;\n color: var(--prism-text);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description h1 {\n font-size: 18px;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description h2 {\n font-size: 15px;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description h3 {\n font-size: 11px;\n font-weight: 700;\n color: var(--prism-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description ul,\n:host ::ng-deep .prism-jsdoc-panel__description ol {\n padding-left: 20px;\n margin: 0 0 8px;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description li {\n margin: 2px 0;\n line-height: 1.6;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description a {\n font-weight: 500;\n color: var(--prism-link);\n text-decoration: underline;\n text-decoration-thickness: 1px;\n text-decoration-color: color-mix(in srgb, var(--prism-link) 45%, transparent);\n text-underline-offset: 3px;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description a:hover {\n text-decoration-color: var(--prism-link);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description a:focus-visible {\n outline: 2px solid var(--prism-link);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description strong {\n font-weight: 600;\n color: var(--prism-text);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description code,\n:host ::ng-deep .prism-jsdoc-panel__cell--doc code {\n padding: 1px 5px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n color: var(--prism-primary);\n background: color-mix(in srgb, var(--prism-primary) 8%, transparent);\n border-radius: var(--radius-xs);\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description pre {\n padding: 0;\n margin: 0 0 8px;\n overflow: auto;\n background: var(--prism-bg-surface);\n border: 1px solid var(--prism-border);\n border-radius: 8px;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description pre code {\n display: block;\n padding: 8px 12px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n line-height: 1.5;\n color: var(--prism-text);\n background: none;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__description blockquote {\n padding: 4px 12px;\n margin: 0 0 8px;\n color: var(--prism-text-2);\n border-left: 3px solid var(--prism-border);\n}\n\n/* Type and default read as mono text in text-2; only the name keeps its chip. */\n.prism-jsdoc-panel__cell--type code,\n.prism-jsdoc-panel__cell--default code {\n padding: 0;\n color: var(--prism-text-2);\n background: none;\n}\n"] }]
|
|
47
|
+
}], null, { activeComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeComponent", required: false }] }], activeService: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeService", required: false }] }], activePipe: [{ type: i0.Input, args: [{ isSignal: true, alias: "activePipe", required: false }] }] }); })();
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(JsDocPanelComponent, { className: "JsDocPanelComponent", filePath: "jsdoc-panel.component.ts", lineNumber: 14 }); })();
|