@ng-prism/plugin-jsdoc 22.6.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.d.ts.map +1 -1
- package/dist/jsdoc-plugin.browser.js +2 -1
- package/dist/jsdoc-plugin.d.ts.map +1 -1
- package/dist/jsdoc-plugin.js +5 -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
|
@@ -0,0 +1,1458 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, computed, DestroyRef, effect, ElementRef, inject, input, NgZone, signal, untracked } from '@angular/core';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import { Highlight } from 'ngx-highlightjs';
|
|
5
|
+
import { parseExample, renderBlockMarkdown, renderInlineMarkdown } from '../markdown.js';
|
|
6
|
+
import { activeTocId, buildApiPageToc, declaredParamSegments, documentsParams, setupSignature, splitReachedFrom, typeAnchor, typeSegments } from './api-page.helpers.js';
|
|
7
|
+
import { resolveDocLinks, TYPE_LINK_ATTRIBUTE, typeLinkTarget } from './doc-links.js';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
const _c0 = a0 => ({ $implicit: a0 });
|
|
10
|
+
const _c1 = (a0, a1) => ({ $implicit: a0, tags: a1 });
|
|
11
|
+
const _c2 = () => [];
|
|
12
|
+
const _c3 = a0 => ({ $implicit: a0, label: "Option", defaults: true });
|
|
13
|
+
const _c4 = a0 => ({ $implicit: a0, label: "Name", params: true });
|
|
14
|
+
const _c5 = (a0, a1, a2) => ({ $implicit: a0, label: "Property", defaults: a1, owner: a2 });
|
|
15
|
+
const _c6 = (a0, a1) => ({ $implicit: a0, label: "Method", params: a1 });
|
|
16
|
+
const _forTrack0 = ($index, $item) => $item.label;
|
|
17
|
+
const _forTrack1 = ($index, $item) => $item.id;
|
|
18
|
+
const _forTrack2 = ($index, $item) => $item.name;
|
|
19
|
+
function JsDocApiPageComponent_ng_template_0_For_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21
|
+
i0.ɵɵelementStart(0, "button", 25);
|
|
22
|
+
i0.ɵɵlistener("click", function JsDocApiPageComponent_ng_template_0_For_1_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const segment_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goTo(segment_r2.link)); });
|
|
23
|
+
i0.ɵɵtext(1);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
} if (rf & 2) {
|
|
26
|
+
const segment_r2 = i0.ɵɵnextContext().$implicit;
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵtextInterpolate1(" ", segment_r2.text, " ");
|
|
29
|
+
} }
|
|
30
|
+
function JsDocApiPageComponent_ng_template_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
+
i0.ɵɵelementStart(0, "span");
|
|
32
|
+
i0.ɵɵtext(1);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
const segment_r2 = i0.ɵɵnextContext().$implicit;
|
|
36
|
+
i0.ɵɵadvance();
|
|
37
|
+
i0.ɵɵtextInterpolate(segment_r2.text);
|
|
38
|
+
} }
|
|
39
|
+
function JsDocApiPageComponent_ng_template_0_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵconditionalCreate(0, JsDocApiPageComponent_ng_template_0_For_1_Conditional_0_Template, 2, 1, "button", 24)(1, JsDocApiPageComponent_ng_template_0_For_1_Conditional_1_Template, 2, 1, "span");
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
const segment_r2 = ctx.$implicit;
|
|
43
|
+
i0.ɵɵconditional(segment_r2.link ? 0 : 1);
|
|
44
|
+
} }
|
|
45
|
+
function JsDocApiPageComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
+
i0.ɵɵrepeaterCreate(0, JsDocApiPageComponent_ng_template_0_For_1_Template, 2, 1, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
47
|
+
} if (rf & 2) {
|
|
48
|
+
const segments_r4 = ctx.$implicit;
|
|
49
|
+
i0.ɵɵrepeater(segments_r4);
|
|
50
|
+
} }
|
|
51
|
+
function JsDocApiPageComponent_ng_template_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelement(0, "span", 26);
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
const description_r5 = i0.ɵɵnextContext().$implicit;
|
|
55
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
56
|
+
i0.ɵɵproperty("innerHTML", ctx_r2.renderInline(description_r5), i0.ɵɵsanitizeHtml);
|
|
57
|
+
} }
|
|
58
|
+
function JsDocApiPageComponent_ng_template_2_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
+
i0.ɵɵelementStart(0, "span", 27);
|
|
60
|
+
i0.ɵɵtext(1, " \u00B7 ");
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
} }
|
|
63
|
+
function JsDocApiPageComponent_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵconditionalCreate(0, JsDocApiPageComponent_ng_template_2_Conditional_1_Conditional_0_Template, 2, 0, "span", 27);
|
|
65
|
+
i0.ɵɵelementStart(1, "span", 28);
|
|
66
|
+
i0.ɵɵtext(2);
|
|
67
|
+
i0.ɵɵelementEnd();
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
const description_r5 = i0.ɵɵnextContext().$implicit;
|
|
70
|
+
i0.ɵɵconditional(description_r5 ? 0 : -1);
|
|
71
|
+
i0.ɵɵadvance(2);
|
|
72
|
+
i0.ɵɵtextInterpolate1("Since ", ctx);
|
|
73
|
+
} }
|
|
74
|
+
function JsDocApiPageComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵconditionalCreate(0, JsDocApiPageComponent_ng_template_2_Conditional_0_Template, 1, 1, "span", 26);
|
|
76
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_ng_template_2_Conditional_1_Template, 3, 2);
|
|
77
|
+
} if (rf & 2) {
|
|
78
|
+
let tmp_11_0;
|
|
79
|
+
const description_r5 = ctx.$implicit;
|
|
80
|
+
const tags_r6 = ctx.tags;
|
|
81
|
+
i0.ɵɵconditional(description_r5 ? 0 : -1);
|
|
82
|
+
i0.ɵɵadvance();
|
|
83
|
+
i0.ɵɵconditional((tmp_11_0 = tags_r6.since) ? 1 : -1, tmp_11_0);
|
|
84
|
+
} }
|
|
85
|
+
function JsDocApiPageComponent_ng_template_4_For_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
86
|
+
i0.ɵɵelementContainer(0);
|
|
87
|
+
} }
|
|
88
|
+
function JsDocApiPageComponent_ng_template_4_For_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
+
i0.ɵɵelement(0, "div", 30);
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
const param_r7 = i0.ɵɵnextContext().$implicit;
|
|
92
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
93
|
+
i0.ɵɵproperty("innerHTML", ctx_r2.renderInline(param_r7.description), i0.ɵɵsanitizeHtml);
|
|
94
|
+
} }
|
|
95
|
+
function JsDocApiPageComponent_ng_template_4_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
96
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "code");
|
|
97
|
+
i0.ɵɵtemplate(2, JsDocApiPageComponent_ng_template_4_For_1_ng_container_2_Template, 1, 0, "ng-container", 11);
|
|
98
|
+
i0.ɵɵelementEnd();
|
|
99
|
+
i0.ɵɵconditionalCreate(3, JsDocApiPageComponent_ng_template_4_For_1_Conditional_3_Template, 1, 1, "div", 30);
|
|
100
|
+
i0.ɵɵelementEnd();
|
|
101
|
+
} if (rf & 2) {
|
|
102
|
+
const param_r7 = ctx.$implicit;
|
|
103
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
104
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
105
|
+
i0.ɵɵadvance(2);
|
|
106
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c0, ctx_r2.declaredParamSegmentsOf(param_r7)));
|
|
107
|
+
i0.ɵɵadvance();
|
|
108
|
+
i0.ɵɵconditional(param_r7.description ? 3 : -1);
|
|
109
|
+
} }
|
|
110
|
+
function JsDocApiPageComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
111
|
+
i0.ɵɵrepeaterCreate(0, JsDocApiPageComponent_ng_template_4_For_1_Template, 4, 5, "div", 29, _forTrack2);
|
|
112
|
+
} if (rf & 2) {
|
|
113
|
+
const params_r9 = ctx.$implicit;
|
|
114
|
+
i0.ɵɵrepeater(params_r9);
|
|
115
|
+
} }
|
|
116
|
+
function JsDocApiPageComponent_ng_template_6_For_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
118
|
+
i0.ɵɵelementStart(0, "button", 25);
|
|
119
|
+
i0.ɵɵlistener("click", function JsDocApiPageComponent_ng_template_6_For_1_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); i0.ɵɵnextContext(); const anchor_r11 = i0.ɵɵreadContextLet(0); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goTo(anchor_r11)); });
|
|
120
|
+
i0.ɵɵtext(1);
|
|
121
|
+
i0.ɵɵelementEnd();
|
|
122
|
+
} if (rf & 2) {
|
|
123
|
+
const ref_r12 = i0.ɵɵnextContext().$implicit;
|
|
124
|
+
i0.ɵɵadvance();
|
|
125
|
+
i0.ɵɵtextInterpolate1(" ", ref_r12, " ");
|
|
126
|
+
} }
|
|
127
|
+
function JsDocApiPageComponent_ng_template_6_For_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
128
|
+
i0.ɵɵtext(0);
|
|
129
|
+
} if (rf & 2) {
|
|
130
|
+
const ref_r12 = i0.ɵɵnextContext().$implicit;
|
|
131
|
+
i0.ɵɵtextInterpolate1(" ", ref_r12, " ");
|
|
132
|
+
} }
|
|
133
|
+
function JsDocApiPageComponent_ng_template_6_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
134
|
+
i0.ɵɵdeclareLet(0);
|
|
135
|
+
i0.ɵɵelementStart(1, "span", 31)(2, "span", 32);
|
|
136
|
+
i0.ɵɵtext(3, "See:");
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_ng_template_6_For_1_Conditional_4_Template, 2, 1, "button", 24)(5, JsDocApiPageComponent_ng_template_6_For_1_Conditional_5_Template, 1, 1);
|
|
139
|
+
i0.ɵɵelementEnd();
|
|
140
|
+
} if (rf & 2) {
|
|
141
|
+
const ref_r12 = ctx.$implicit;
|
|
142
|
+
const anchor_r13 = i0.ɵɵstoreLet(i0.ɵɵnextContext(2).seeTarget(ref_r12));
|
|
143
|
+
i0.ɵɵadvance(4);
|
|
144
|
+
i0.ɵɵconditional(anchor_r13 ? 4 : 5);
|
|
145
|
+
} }
|
|
146
|
+
function JsDocApiPageComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
147
|
+
i0.ɵɵrepeaterCreate(0, JsDocApiPageComponent_ng_template_6_For_1_Template, 6, 2, "span", 31, i0.ɵɵrepeaterTrackByIndex);
|
|
148
|
+
} if (rf & 2) {
|
|
149
|
+
const refs_r14 = ctx.$implicit;
|
|
150
|
+
i0.ɵɵrepeater(refs_r14);
|
|
151
|
+
} }
|
|
152
|
+
function JsDocApiPageComponent_ng_template_8_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
153
|
+
i0.ɵɵelementStart(0, "th");
|
|
154
|
+
i0.ɵɵtext(1, "Default");
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
} }
|
|
157
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
158
|
+
i0.ɵɵelementStart(0, "span", 36);
|
|
159
|
+
i0.ɵɵtext(1, "required");
|
|
160
|
+
i0.ɵɵelementEnd();
|
|
161
|
+
} }
|
|
162
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
163
|
+
i0.ɵɵelementStart(0, "span", 37);
|
|
164
|
+
i0.ɵɵtext(1, "readonly");
|
|
165
|
+
i0.ɵɵelementEnd();
|
|
166
|
+
} }
|
|
167
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
168
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
169
|
+
i0.ɵɵtext(1, "deprecated");
|
|
170
|
+
i0.ɵɵelementEnd();
|
|
171
|
+
} }
|
|
172
|
+
function JsDocApiPageComponent_ng_template_8_For_12_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
173
|
+
i0.ɵɵelementContainer(0);
|
|
174
|
+
} }
|
|
175
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
176
|
+
i0.ɵɵelementStart(0, "code");
|
|
177
|
+
i0.ɵɵtext(1);
|
|
178
|
+
i0.ɵɵelementEnd();
|
|
179
|
+
} if (rf & 2) {
|
|
180
|
+
i0.ɵɵadvance();
|
|
181
|
+
i0.ɵɵtextInterpolate(ctx);
|
|
182
|
+
} }
|
|
183
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
184
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
185
|
+
i0.ɵɵtext(1, "\u2014");
|
|
186
|
+
i0.ɵɵelementEnd();
|
|
187
|
+
} }
|
|
188
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
+
i0.ɵɵelementStart(0, "td", 40);
|
|
190
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_ng_template_8_For_12_Conditional_10_Conditional_1_Template, 2, 1, "code")(2, JsDocApiPageComponent_ng_template_8_For_12_Conditional_10_Conditional_2_Template, 2, 0, "span", 42);
|
|
191
|
+
i0.ɵɵelementEnd();
|
|
192
|
+
} if (rf & 2) {
|
|
193
|
+
let tmp_23_0;
|
|
194
|
+
const property_r15 = i0.ɵɵnextContext().$implicit;
|
|
195
|
+
i0.ɵɵadvance();
|
|
196
|
+
i0.ɵɵconditional((tmp_23_0 = property_r15.tags.default) ? 1 : 2, tmp_23_0);
|
|
197
|
+
} }
|
|
198
|
+
function JsDocApiPageComponent_ng_template_8_For_12_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
199
|
+
i0.ɵɵelementContainer(0);
|
|
200
|
+
} }
|
|
201
|
+
function JsDocApiPageComponent_ng_template_8_For_12_Template(rf, ctx) { if (rf & 1) {
|
|
202
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 35)(2, "code");
|
|
203
|
+
i0.ɵɵtext(3);
|
|
204
|
+
i0.ɵɵelementEnd();
|
|
205
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_ng_template_8_For_12_Conditional_4_Template, 2, 0, "span", 36);
|
|
206
|
+
i0.ɵɵconditionalCreate(5, JsDocApiPageComponent_ng_template_8_For_12_Conditional_5_Template, 2, 0, "span", 37);
|
|
207
|
+
i0.ɵɵconditionalCreate(6, JsDocApiPageComponent_ng_template_8_For_12_Conditional_6_Template, 2, 0, "span", 38);
|
|
208
|
+
i0.ɵɵelementEnd();
|
|
209
|
+
i0.ɵɵelementStart(7, "td", 39)(8, "code");
|
|
210
|
+
i0.ɵɵtemplate(9, JsDocApiPageComponent_ng_template_8_For_12_ng_container_9_Template, 1, 0, "ng-container", 11);
|
|
211
|
+
i0.ɵɵelementEnd()();
|
|
212
|
+
i0.ɵɵconditionalCreate(10, JsDocApiPageComponent_ng_template_8_For_12_Conditional_10_Template, 3, 1, "td", 40);
|
|
213
|
+
i0.ɵɵelementStart(11, "td", 41);
|
|
214
|
+
i0.ɵɵtemplate(12, JsDocApiPageComponent_ng_template_8_For_12_ng_container_12_Template, 1, 0, "ng-container", 11);
|
|
215
|
+
i0.ɵɵelementEnd()();
|
|
216
|
+
} if (rf & 2) {
|
|
217
|
+
const property_r15 = ctx.$implicit;
|
|
218
|
+
const ctx_r15 = i0.ɵɵnextContext();
|
|
219
|
+
const defaults_r17 = ctx_r15.defaults;
|
|
220
|
+
const owner_r18 = ctx_r15.owner;
|
|
221
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
222
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
223
|
+
const docCell_r19 = i0.ɵɵreference(3);
|
|
224
|
+
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r2.isDeprecated(property_r15.tags));
|
|
225
|
+
i0.ɵɵadvance(3);
|
|
226
|
+
i0.ɵɵtextInterpolate(property_r15.name);
|
|
227
|
+
i0.ɵɵadvance();
|
|
228
|
+
i0.ɵɵconditional(ctx_r2.isRequired(property_r15, owner_r18) ? 4 : -1);
|
|
229
|
+
i0.ɵɵadvance();
|
|
230
|
+
i0.ɵɵconditional(property_r15.readonly ? 5 : -1);
|
|
231
|
+
i0.ɵɵadvance();
|
|
232
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(property_r15.tags) ? 6 : -1);
|
|
233
|
+
i0.ɵɵadvance(3);
|
|
234
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(11, _c0, ctx_r2.segmentsOf(property_r15.type)));
|
|
235
|
+
i0.ɵɵadvance();
|
|
236
|
+
i0.ɵɵconditional(defaults_r17 ? 10 : -1);
|
|
237
|
+
i0.ɵɵadvance(2);
|
|
238
|
+
i0.ɵɵproperty("ngTemplateOutlet", docCell_r19)("ngTemplateOutletContext", i0.ɵɵpureFunction2(13, _c1, property_r15.description, property_r15.tags));
|
|
239
|
+
} }
|
|
240
|
+
function JsDocApiPageComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
241
|
+
i0.ɵɵelementStart(0, "table", 33)(1, "thead")(2, "tr")(3, "th");
|
|
242
|
+
i0.ɵɵtext(4);
|
|
243
|
+
i0.ɵɵelementEnd();
|
|
244
|
+
i0.ɵɵelementStart(5, "th");
|
|
245
|
+
i0.ɵɵtext(6, "Type");
|
|
246
|
+
i0.ɵɵelementEnd();
|
|
247
|
+
i0.ɵɵconditionalCreate(7, JsDocApiPageComponent_ng_template_8_Conditional_7_Template, 2, 0, "th");
|
|
248
|
+
i0.ɵɵelementStart(8, "th");
|
|
249
|
+
i0.ɵɵtext(9, "Description");
|
|
250
|
+
i0.ɵɵelementEnd()()();
|
|
251
|
+
i0.ɵɵelementStart(10, "tbody");
|
|
252
|
+
i0.ɵɵrepeaterCreate(11, JsDocApiPageComponent_ng_template_8_For_12_Template, 13, 16, "tr", 34, _forTrack2);
|
|
253
|
+
i0.ɵɵelementEnd()();
|
|
254
|
+
} if (rf & 2) {
|
|
255
|
+
const properties_r20 = ctx.$implicit;
|
|
256
|
+
const label_r21 = ctx.label;
|
|
257
|
+
const defaults_r17 = ctx.defaults;
|
|
258
|
+
i0.ɵɵadvance(4);
|
|
259
|
+
i0.ɵɵtextInterpolate(label_r21);
|
|
260
|
+
i0.ɵɵadvance(3);
|
|
261
|
+
i0.ɵɵconditional(defaults_r17 ? 7 : -1);
|
|
262
|
+
i0.ɵɵadvance(4);
|
|
263
|
+
i0.ɵɵrepeater(properties_r20);
|
|
264
|
+
} }
|
|
265
|
+
function JsDocApiPageComponent_ng_template_10_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
+
i0.ɵɵelementStart(0, "th");
|
|
267
|
+
i0.ɵɵtext(1, "Parameters");
|
|
268
|
+
i0.ɵɵelementEnd();
|
|
269
|
+
} }
|
|
270
|
+
function JsDocApiPageComponent_ng_template_10_For_12_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
271
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
272
|
+
i0.ɵɵtext(1, "deprecated");
|
|
273
|
+
i0.ɵɵelementEnd();
|
|
274
|
+
} }
|
|
275
|
+
function JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Conditional_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
276
|
+
i0.ɵɵelementContainer(0);
|
|
277
|
+
} }
|
|
278
|
+
function JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
279
|
+
i0.ɵɵtemplate(0, JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Conditional_1_ng_container_0_Template, 1, 0, "ng-container", 11);
|
|
280
|
+
} if (rf & 2) {
|
|
281
|
+
const method_r22 = i0.ɵɵnextContext(2).$implicit;
|
|
282
|
+
i0.ɵɵnextContext(2);
|
|
283
|
+
const paramList_r23 = i0.ɵɵreference(5);
|
|
284
|
+
i0.ɵɵproperty("ngTemplateOutlet", paramList_r23)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, method_r22.params));
|
|
285
|
+
} }
|
|
286
|
+
function JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
287
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
288
|
+
i0.ɵɵtext(1, "\u2014");
|
|
289
|
+
i0.ɵɵelementEnd();
|
|
290
|
+
} }
|
|
291
|
+
function JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
292
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
293
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Conditional_1_Template, 1, 4, "ng-container")(2, JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Conditional_2_Template, 2, 0, "span", 42);
|
|
294
|
+
i0.ɵɵelementEnd();
|
|
295
|
+
} if (rf & 2) {
|
|
296
|
+
const method_r22 = i0.ɵɵnextContext().$implicit;
|
|
297
|
+
i0.ɵɵadvance();
|
|
298
|
+
i0.ɵɵconditional(method_r22.params.length ? 1 : 2);
|
|
299
|
+
} }
|
|
300
|
+
function JsDocApiPageComponent_ng_template_10_For_12_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
301
|
+
i0.ɵɵelementContainer(0);
|
|
302
|
+
} }
|
|
303
|
+
function JsDocApiPageComponent_ng_template_10_For_12_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
|
304
|
+
i0.ɵɵelementContainer(0);
|
|
305
|
+
} }
|
|
306
|
+
function JsDocApiPageComponent_ng_template_10_For_12_Template(rf, ctx) { if (rf & 1) {
|
|
307
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 35)(2, "code");
|
|
308
|
+
i0.ɵɵtext(3);
|
|
309
|
+
i0.ɵɵelementEnd();
|
|
310
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_ng_template_10_For_12_Conditional_4_Template, 2, 0, "span", 38);
|
|
311
|
+
i0.ɵɵelementEnd();
|
|
312
|
+
i0.ɵɵconditionalCreate(5, JsDocApiPageComponent_ng_template_10_For_12_Conditional_5_Template, 3, 1, "td", 39);
|
|
313
|
+
i0.ɵɵelementStart(6, "td", 39)(7, "code");
|
|
314
|
+
i0.ɵɵtemplate(8, JsDocApiPageComponent_ng_template_10_For_12_ng_container_8_Template, 1, 0, "ng-container", 11);
|
|
315
|
+
i0.ɵɵelementEnd()();
|
|
316
|
+
i0.ɵɵelementStart(9, "td", 41);
|
|
317
|
+
i0.ɵɵtemplate(10, JsDocApiPageComponent_ng_template_10_For_12_ng_container_10_Template, 1, 0, "ng-container", 11);
|
|
318
|
+
i0.ɵɵelementEnd()();
|
|
319
|
+
} if (rf & 2) {
|
|
320
|
+
const method_r22 = ctx.$implicit;
|
|
321
|
+
const params_r24 = i0.ɵɵnextContext().params;
|
|
322
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
323
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
324
|
+
const docCell_r19 = i0.ɵɵreference(3);
|
|
325
|
+
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r2.isDeprecated(method_r22.tags));
|
|
326
|
+
i0.ɵɵadvance(3);
|
|
327
|
+
i0.ɵɵtextInterpolate1("", method_r22.name, "()");
|
|
328
|
+
i0.ɵɵadvance();
|
|
329
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(method_r22.tags) ? 4 : -1);
|
|
330
|
+
i0.ɵɵadvance();
|
|
331
|
+
i0.ɵɵconditional(params_r24 ? 5 : -1);
|
|
332
|
+
i0.ɵɵadvance(3);
|
|
333
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c0, ctx_r2.segmentsOf(method_r22.returnType)));
|
|
334
|
+
i0.ɵɵadvance(2);
|
|
335
|
+
i0.ɵɵproperty("ngTemplateOutlet", docCell_r19)("ngTemplateOutletContext", i0.ɵɵpureFunction2(11, _c1, method_r22.description, method_r22.tags));
|
|
336
|
+
} }
|
|
337
|
+
function JsDocApiPageComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
338
|
+
i0.ɵɵelementStart(0, "table", 33)(1, "thead")(2, "tr")(3, "th");
|
|
339
|
+
i0.ɵɵtext(4);
|
|
340
|
+
i0.ɵɵelementEnd();
|
|
341
|
+
i0.ɵɵconditionalCreate(5, JsDocApiPageComponent_ng_template_10_Conditional_5_Template, 2, 0, "th");
|
|
342
|
+
i0.ɵɵelementStart(6, "th");
|
|
343
|
+
i0.ɵɵtext(7, "Returns");
|
|
344
|
+
i0.ɵɵelementEnd();
|
|
345
|
+
i0.ɵɵelementStart(8, "th");
|
|
346
|
+
i0.ɵɵtext(9, "Description");
|
|
347
|
+
i0.ɵɵelementEnd()()();
|
|
348
|
+
i0.ɵɵelementStart(10, "tbody");
|
|
349
|
+
i0.ɵɵrepeaterCreate(11, JsDocApiPageComponent_ng_template_10_For_12_Template, 11, 14, "tr", 34, i0.ɵɵrepeaterTrackByIndex);
|
|
350
|
+
i0.ɵɵelementEnd()();
|
|
351
|
+
} if (rf & 2) {
|
|
352
|
+
const methods_r25 = ctx.$implicit;
|
|
353
|
+
const label_r26 = ctx.label;
|
|
354
|
+
const params_r24 = ctx.params;
|
|
355
|
+
i0.ɵɵadvance(4);
|
|
356
|
+
i0.ɵɵtextInterpolate(label_r26);
|
|
357
|
+
i0.ɵɵadvance();
|
|
358
|
+
i0.ɵɵconditional(params_r24 ? 5 : -1);
|
|
359
|
+
i0.ɵɵadvance(6);
|
|
360
|
+
i0.ɵɵrepeater(methods_r25);
|
|
361
|
+
} }
|
|
362
|
+
function JsDocApiPageComponent_ng_template_12_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
363
|
+
i0.ɵɵelementStart(0, "pre", 16);
|
|
364
|
+
i0.ɵɵelement(1, "code", 43);
|
|
365
|
+
i0.ɵɵelementEnd();
|
|
366
|
+
} if (rf & 2) {
|
|
367
|
+
const example_r27 = ctx.$implicit;
|
|
368
|
+
const parsed_r28 = i0.ɵɵnextContext(2).parseExample(example_r27);
|
|
369
|
+
i0.ɵɵadvance();
|
|
370
|
+
i0.ɵɵproperty("highlight", parsed_r28.code)("language", parsed_r28.lang);
|
|
371
|
+
} }
|
|
372
|
+
function JsDocApiPageComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
373
|
+
i0.ɵɵrepeaterCreate(0, JsDocApiPageComponent_ng_template_12_For_1_Template, 2, 2, "pre", 16, i0.ɵɵrepeaterTrackByIndex);
|
|
374
|
+
} if (rf & 2) {
|
|
375
|
+
const examples_r29 = ctx.$implicit;
|
|
376
|
+
i0.ɵɵrepeater(examples_r29);
|
|
377
|
+
} }
|
|
378
|
+
function JsDocApiPageComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
379
|
+
i0.ɵɵelement(0, "div", 9);
|
|
380
|
+
} if (rf & 2) {
|
|
381
|
+
i0.ɵɵproperty("innerHTML", ctx, i0.ɵɵsanitizeHtml);
|
|
382
|
+
} }
|
|
383
|
+
function JsDocApiPageComponent_For_19_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
384
|
+
i0.ɵɵelementStart(0, "span");
|
|
385
|
+
i0.ɵɵtext(1);
|
|
386
|
+
i0.ɵɵelement(2, "span", 26);
|
|
387
|
+
i0.ɵɵelementEnd();
|
|
388
|
+
} if (rf & 2) {
|
|
389
|
+
const chip_r30 = i0.ɵɵnextContext(2).$implicit;
|
|
390
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
391
|
+
i0.ɵɵadvance();
|
|
392
|
+
i0.ɵɵtextInterpolate1("", chip_r30.label, ": ");
|
|
393
|
+
i0.ɵɵadvance();
|
|
394
|
+
i0.ɵɵproperty("innerHTML", ctx_r2.renderInline(chip_r30.value), i0.ɵɵsanitizeHtml);
|
|
395
|
+
} }
|
|
396
|
+
function JsDocApiPageComponent_For_19_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
397
|
+
i0.ɵɵtext(0);
|
|
398
|
+
} if (rf & 2) {
|
|
399
|
+
const chip_r30 = i0.ɵɵnextContext(2).$implicit;
|
|
400
|
+
i0.ɵɵtextInterpolate1(" ", chip_r30.label, " ");
|
|
401
|
+
} }
|
|
402
|
+
function JsDocApiPageComponent_For_19_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
403
|
+
i0.ɵɵelementStart(0, "span", 44);
|
|
404
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_For_19_Conditional_0_Conditional_1_Template, 3, 2, "span")(2, JsDocApiPageComponent_For_19_Conditional_0_Conditional_2_Template, 1, 1);
|
|
405
|
+
i0.ɵɵelementEnd();
|
|
406
|
+
} if (rf & 2) {
|
|
407
|
+
const chip_r30 = i0.ɵɵnextContext().$implicit;
|
|
408
|
+
i0.ɵɵadvance();
|
|
409
|
+
i0.ɵɵconditional(chip_r30.value ? 1 : 2);
|
|
410
|
+
} }
|
|
411
|
+
function JsDocApiPageComponent_For_19_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
412
|
+
i0.ɵɵelementStart(0, "span", 31)(1, "span", 32);
|
|
413
|
+
i0.ɵɵtext(2);
|
|
414
|
+
i0.ɵɵelementEnd();
|
|
415
|
+
i0.ɵɵtext(3);
|
|
416
|
+
i0.ɵɵelementEnd();
|
|
417
|
+
} if (rf & 2) {
|
|
418
|
+
const chip_r30 = i0.ɵɵnextContext().$implicit;
|
|
419
|
+
i0.ɵɵadvance(2);
|
|
420
|
+
i0.ɵɵtextInterpolate1("", chip_r30.label, ":");
|
|
421
|
+
i0.ɵɵadvance();
|
|
422
|
+
i0.ɵɵtextInterpolate1(" ", chip_r30.value, " ");
|
|
423
|
+
} }
|
|
424
|
+
function JsDocApiPageComponent_For_19_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
425
|
+
i0.ɵɵelementStart(0, "span", 31);
|
|
426
|
+
i0.ɵɵtext(1);
|
|
427
|
+
i0.ɵɵelementEnd();
|
|
428
|
+
} if (rf & 2) {
|
|
429
|
+
const chip_r30 = i0.ɵɵnextContext().$implicit;
|
|
430
|
+
i0.ɵɵadvance();
|
|
431
|
+
i0.ɵɵtextInterpolate(chip_r30.label);
|
|
432
|
+
} }
|
|
433
|
+
function JsDocApiPageComponent_For_19_Template(rf, ctx) { if (rf & 1) {
|
|
434
|
+
i0.ɵɵconditionalCreate(0, JsDocApiPageComponent_For_19_Conditional_0_Template, 3, 1, "span", 44)(1, JsDocApiPageComponent_For_19_Conditional_1_Template, 4, 2, "span", 31)(2, JsDocApiPageComponent_For_19_Conditional_2_Template, 2, 1, "span", 31);
|
|
435
|
+
} if (rf & 2) {
|
|
436
|
+
const chip_r30 = ctx.$implicit;
|
|
437
|
+
i0.ɵɵconditional(chip_r30.deprecated ? 0 : chip_r30.value ? 1 : 2);
|
|
438
|
+
} }
|
|
439
|
+
function JsDocApiPageComponent_ng_container_20_Template(rf, ctx) { if (rf & 1) {
|
|
440
|
+
i0.ɵɵelementContainer(0);
|
|
441
|
+
} }
|
|
442
|
+
function JsDocApiPageComponent_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
443
|
+
i0.ɵɵnamespaceSVG();
|
|
444
|
+
i0.ɵɵelement(0, "path", 20);
|
|
445
|
+
} }
|
|
446
|
+
function JsDocApiPageComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
|
|
447
|
+
i0.ɵɵnamespaceSVG();
|
|
448
|
+
i0.ɵɵelement(0, "rect", 45)(1, "path", 46);
|
|
449
|
+
} }
|
|
450
|
+
function JsDocApiPageComponent_Conditional_33_For_4_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
451
|
+
i0.ɵɵelementContainer(0);
|
|
452
|
+
} }
|
|
453
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
454
|
+
i0.ɵɵelementStart(0, "span");
|
|
455
|
+
i0.ɵɵtext(1, "deprecated: ");
|
|
456
|
+
i0.ɵɵelement(2, "span", 26);
|
|
457
|
+
i0.ɵɵelementEnd();
|
|
458
|
+
} if (rf & 2) {
|
|
459
|
+
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
460
|
+
i0.ɵɵadvance(2);
|
|
461
|
+
i0.ɵɵproperty("innerHTML", ctx_r2.renderInline(ctx), i0.ɵɵsanitizeHtml);
|
|
462
|
+
} }
|
|
463
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
464
|
+
i0.ɵɵtext(0, " deprecated ");
|
|
465
|
+
} }
|
|
466
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
467
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
468
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_Conditional_33_For_4_Conditional_6_Conditional_1_Template, 3, 1, "span")(2, JsDocApiPageComponent_Conditional_33_For_4_Conditional_6_Conditional_2_Template, 1, 0);
|
|
469
|
+
i0.ɵɵelementEnd();
|
|
470
|
+
} if (rf & 2) {
|
|
471
|
+
let tmp_19_0;
|
|
472
|
+
const entry_r31 = i0.ɵɵnextContext().$implicit;
|
|
473
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
474
|
+
i0.ɵɵadvance();
|
|
475
|
+
i0.ɵɵconditional((tmp_19_0 = ctx_r2.deprecatedMessage(entry_r31.tags)) ? 1 : 2, tmp_19_0);
|
|
476
|
+
} }
|
|
477
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
478
|
+
i0.ɵɵelement(0, "div", 51);
|
|
479
|
+
} if (rf & 2) {
|
|
480
|
+
i0.ɵɵproperty("innerHTML", ctx, i0.ɵɵsanitizeHtml);
|
|
481
|
+
} }
|
|
482
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
483
|
+
i0.ɵɵelementContainer(0);
|
|
484
|
+
} }
|
|
485
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
486
|
+
i0.ɵɵelementStart(0, "div", 52);
|
|
487
|
+
i0.ɵɵtemplate(1, JsDocApiPageComponent_Conditional_33_For_4_Conditional_8_ng_container_1_Template, 1, 0, "ng-container", 11);
|
|
488
|
+
i0.ɵɵelementEnd();
|
|
489
|
+
} if (rf & 2) {
|
|
490
|
+
const entry_r31 = i0.ɵɵnextContext().$implicit;
|
|
491
|
+
i0.ɵɵnextContext(2);
|
|
492
|
+
const paramList_r23 = i0.ɵɵreference(5);
|
|
493
|
+
i0.ɵɵadvance();
|
|
494
|
+
i0.ɵɵproperty("ngTemplateOutlet", paramList_r23)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, entry_r31.params));
|
|
495
|
+
} }
|
|
496
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_9_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
497
|
+
i0.ɵɵelementContainer(0);
|
|
498
|
+
} }
|
|
499
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
500
|
+
i0.ɵɵtemplate(0, JsDocApiPageComponent_Conditional_33_For_4_Conditional_9_ng_container_0_Template, 1, 0, "ng-container", 11);
|
|
501
|
+
} if (rf & 2) {
|
|
502
|
+
const entry_r31 = i0.ɵɵnextContext().$implicit;
|
|
503
|
+
i0.ɵɵnextContext(2);
|
|
504
|
+
const propertyTable_r32 = i0.ɵɵreference(9);
|
|
505
|
+
i0.ɵɵproperty("ngTemplateOutlet", propertyTable_r32)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c3, entry_r31.config));
|
|
506
|
+
} }
|
|
507
|
+
function JsDocApiPageComponent_Conditional_33_For_4_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
|
508
|
+
i0.ɵɵelementContainer(0);
|
|
509
|
+
} }
|
|
510
|
+
function JsDocApiPageComponent_Conditional_33_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
511
|
+
i0.ɵɵelementStart(0, "div", 48)(1, "div", 49)(2, "code")(3, "span", 50);
|
|
512
|
+
i0.ɵɵtext(4);
|
|
513
|
+
i0.ɵɵelementEnd();
|
|
514
|
+
i0.ɵɵtemplate(5, JsDocApiPageComponent_Conditional_33_For_4_ng_container_5_Template, 1, 0, "ng-container", 11);
|
|
515
|
+
i0.ɵɵelementEnd();
|
|
516
|
+
i0.ɵɵconditionalCreate(6, JsDocApiPageComponent_Conditional_33_For_4_Conditional_6_Template, 3, 1, "span", 38);
|
|
517
|
+
i0.ɵɵelementEnd();
|
|
518
|
+
i0.ɵɵconditionalCreate(7, JsDocApiPageComponent_Conditional_33_For_4_Conditional_7_Template, 1, 1, "div", 51);
|
|
519
|
+
i0.ɵɵconditionalCreate(8, JsDocApiPageComponent_Conditional_33_For_4_Conditional_8_Template, 2, 4, "div", 52);
|
|
520
|
+
i0.ɵɵconditionalCreate(9, JsDocApiPageComponent_Conditional_33_For_4_Conditional_9_Template, 1, 4, "ng-container");
|
|
521
|
+
i0.ɵɵtemplate(10, JsDocApiPageComponent_Conditional_33_For_4_ng_container_10_Template, 1, 0, "ng-container", 11);
|
|
522
|
+
i0.ɵɵelementEnd();
|
|
523
|
+
} if (rf & 2) {
|
|
524
|
+
let tmp_22_0;
|
|
525
|
+
const entry_r31 = ctx.$implicit;
|
|
526
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
527
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
528
|
+
const exampleList_r33 = i0.ɵɵreference(13);
|
|
529
|
+
i0.ɵɵadvance(4);
|
|
530
|
+
i0.ɵɵtextInterpolate(entry_r31.name);
|
|
531
|
+
i0.ɵɵadvance();
|
|
532
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c0, ctx_r2.signatureOf(entry_r31)));
|
|
533
|
+
i0.ɵɵadvance();
|
|
534
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(entry_r31.tags) ? 6 : -1);
|
|
535
|
+
i0.ɵɵadvance();
|
|
536
|
+
i0.ɵɵconditional((tmp_22_0 = ctx_r2.renderBlock(entry_r31.description)) ? 7 : -1, tmp_22_0);
|
|
537
|
+
i0.ɵɵadvance();
|
|
538
|
+
i0.ɵɵconditional(ctx_r2.documentsParams(entry_r31.params) ? 8 : -1);
|
|
539
|
+
i0.ɵɵadvance();
|
|
540
|
+
i0.ɵɵconditional(entry_r31.config?.length ? 9 : -1);
|
|
541
|
+
i0.ɵɵadvance();
|
|
542
|
+
i0.ɵɵproperty("ngTemplateOutlet", exampleList_r33)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c0, entry_r31.tags.example ?? i0.ɵɵpureFunction0(11, _c2)));
|
|
543
|
+
} }
|
|
544
|
+
function JsDocApiPageComponent_Conditional_33_Template(rf, ctx) { if (rf & 1) {
|
|
545
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 47);
|
|
546
|
+
i0.ɵɵtext(2, " Setup ");
|
|
547
|
+
i0.ɵɵelementEnd();
|
|
548
|
+
i0.ɵɵrepeaterCreate(3, JsDocApiPageComponent_Conditional_33_For_4_Template, 11, 14, "div", 48, _forTrack2);
|
|
549
|
+
i0.ɵɵelementEnd();
|
|
550
|
+
} if (rf & 2) {
|
|
551
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
552
|
+
i0.ɵɵadvance(3);
|
|
553
|
+
i0.ɵɵrepeater(ctx_r2.page().setup);
|
|
554
|
+
} }
|
|
555
|
+
function JsDocApiPageComponent_Conditional_34_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
556
|
+
i0.ɵɵelementContainer(0);
|
|
557
|
+
} }
|
|
558
|
+
function JsDocApiPageComponent_Conditional_34_Template(rf, ctx) { if (rf & 1) {
|
|
559
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 53);
|
|
560
|
+
i0.ɵɵtext(2, " Examples ");
|
|
561
|
+
i0.ɵɵelementStart(3, "small", 14);
|
|
562
|
+
i0.ɵɵtext(4, "from @example");
|
|
563
|
+
i0.ɵɵelementEnd()();
|
|
564
|
+
i0.ɵɵtemplate(5, JsDocApiPageComponent_Conditional_34_ng_container_5_Template, 1, 0, "ng-container", 11);
|
|
565
|
+
i0.ɵɵelementEnd();
|
|
566
|
+
} if (rf & 2) {
|
|
567
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
568
|
+
const exampleList_r33 = i0.ɵɵreference(13);
|
|
569
|
+
i0.ɵɵadvance(5);
|
|
570
|
+
i0.ɵɵproperty("ngTemplateOutlet", exampleList_r33)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, ctx_r2.page().examples));
|
|
571
|
+
} }
|
|
572
|
+
function JsDocApiPageComponent_Conditional_35_For_16_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
573
|
+
i0.ɵɵelementStart(0, "span", 36);
|
|
574
|
+
i0.ɵɵtext(1, "required");
|
|
575
|
+
i0.ɵɵelementEnd();
|
|
576
|
+
} }
|
|
577
|
+
function JsDocApiPageComponent_Conditional_35_For_16_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
578
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
579
|
+
i0.ɵɵtext(1, "deprecated");
|
|
580
|
+
i0.ɵɵelementEnd();
|
|
581
|
+
} }
|
|
582
|
+
function JsDocApiPageComponent_Conditional_35_For_16_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
583
|
+
i0.ɵɵelementContainer(0);
|
|
584
|
+
} }
|
|
585
|
+
function JsDocApiPageComponent_Conditional_35_For_16_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
586
|
+
i0.ɵɵelementStart(0, "code");
|
|
587
|
+
i0.ɵɵtext(1);
|
|
588
|
+
i0.ɵɵelementEnd();
|
|
589
|
+
} if (rf & 2) {
|
|
590
|
+
const input_r34 = i0.ɵɵnextContext().$implicit;
|
|
591
|
+
i0.ɵɵadvance();
|
|
592
|
+
i0.ɵɵtextInterpolate(input_r34.defaultValue);
|
|
593
|
+
} }
|
|
594
|
+
function JsDocApiPageComponent_Conditional_35_For_16_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
595
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
596
|
+
i0.ɵɵtext(1, "\u2014");
|
|
597
|
+
i0.ɵɵelementEnd();
|
|
598
|
+
} }
|
|
599
|
+
function JsDocApiPageComponent_Conditional_35_For_16_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
600
|
+
i0.ɵɵelementContainer(0);
|
|
601
|
+
} }
|
|
602
|
+
function JsDocApiPageComponent_Conditional_35_For_16_Template(rf, ctx) { if (rf & 1) {
|
|
603
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 35)(2, "code");
|
|
604
|
+
i0.ɵɵtext(3);
|
|
605
|
+
i0.ɵɵelementEnd();
|
|
606
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_Conditional_35_For_16_Conditional_4_Template, 2, 0, "span", 36);
|
|
607
|
+
i0.ɵɵconditionalCreate(5, JsDocApiPageComponent_Conditional_35_For_16_Conditional_5_Template, 2, 0, "span", 38);
|
|
608
|
+
i0.ɵɵelementEnd();
|
|
609
|
+
i0.ɵɵelementStart(6, "td", 39)(7, "code");
|
|
610
|
+
i0.ɵɵtemplate(8, JsDocApiPageComponent_Conditional_35_For_16_ng_container_8_Template, 1, 0, "ng-container", 11);
|
|
611
|
+
i0.ɵɵelementEnd()();
|
|
612
|
+
i0.ɵɵelementStart(9, "td", 40);
|
|
613
|
+
i0.ɵɵconditionalCreate(10, JsDocApiPageComponent_Conditional_35_For_16_Conditional_10_Template, 2, 1, "code")(11, JsDocApiPageComponent_Conditional_35_For_16_Conditional_11_Template, 2, 0, "span", 42);
|
|
614
|
+
i0.ɵɵelementEnd();
|
|
615
|
+
i0.ɵɵelementStart(12, "td", 41);
|
|
616
|
+
i0.ɵɵtemplate(13, JsDocApiPageComponent_Conditional_35_For_16_ng_container_13_Template, 1, 0, "ng-container", 11);
|
|
617
|
+
i0.ɵɵelementEnd()();
|
|
618
|
+
} if (rf & 2) {
|
|
619
|
+
const input_r34 = ctx.$implicit;
|
|
620
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
621
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
622
|
+
const docCell_r19 = i0.ɵɵreference(3);
|
|
623
|
+
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r2.isDeprecated(input_r34.tags));
|
|
624
|
+
i0.ɵɵadvance(3);
|
|
625
|
+
i0.ɵɵtextInterpolate(input_r34.name);
|
|
626
|
+
i0.ɵɵadvance();
|
|
627
|
+
i0.ɵɵconditional(input_r34.required ? 4 : -1);
|
|
628
|
+
i0.ɵɵadvance();
|
|
629
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(input_r34.tags) ? 5 : -1);
|
|
630
|
+
i0.ɵɵadvance(3);
|
|
631
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c0, ctx_r2.segmentsOf(input_r34.type)));
|
|
632
|
+
i0.ɵɵadvance(2);
|
|
633
|
+
i0.ɵɵconditional(input_r34.defaultValue !== undefined ? 10 : 11);
|
|
634
|
+
i0.ɵɵadvance(3);
|
|
635
|
+
i0.ɵɵproperty("ngTemplateOutlet", docCell_r19)("ngTemplateOutletContext", i0.ɵɵpureFunction2(12, _c1, input_r34.description, input_r34.tags));
|
|
636
|
+
} }
|
|
637
|
+
function JsDocApiPageComponent_Conditional_35_Template(rf, ctx) { if (rf & 1) {
|
|
638
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 54);
|
|
639
|
+
i0.ɵɵtext(2, " Inputs ");
|
|
640
|
+
i0.ɵɵelementEnd();
|
|
641
|
+
i0.ɵɵelementStart(3, "table", 33)(4, "thead")(5, "tr")(6, "th");
|
|
642
|
+
i0.ɵɵtext(7, "Name");
|
|
643
|
+
i0.ɵɵelementEnd();
|
|
644
|
+
i0.ɵɵelementStart(8, "th");
|
|
645
|
+
i0.ɵɵtext(9, "Type");
|
|
646
|
+
i0.ɵɵelementEnd();
|
|
647
|
+
i0.ɵɵelementStart(10, "th");
|
|
648
|
+
i0.ɵɵtext(11, "Default");
|
|
649
|
+
i0.ɵɵelementEnd();
|
|
650
|
+
i0.ɵɵelementStart(12, "th");
|
|
651
|
+
i0.ɵɵtext(13, "Description");
|
|
652
|
+
i0.ɵɵelementEnd()()();
|
|
653
|
+
i0.ɵɵelementStart(14, "tbody");
|
|
654
|
+
i0.ɵɵrepeaterCreate(15, JsDocApiPageComponent_Conditional_35_For_16_Template, 14, 15, "tr", 34, _forTrack2);
|
|
655
|
+
i0.ɵɵelementEnd()()();
|
|
656
|
+
} if (rf & 2) {
|
|
657
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
658
|
+
i0.ɵɵadvance(15);
|
|
659
|
+
i0.ɵɵrepeater(ctx_r2.inputs());
|
|
660
|
+
} }
|
|
661
|
+
function JsDocApiPageComponent_Conditional_36_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
662
|
+
i0.ɵɵelementStart(0, "th");
|
|
663
|
+
i0.ɵɵtext(1, "Payload");
|
|
664
|
+
i0.ɵɵelementEnd();
|
|
665
|
+
} }
|
|
666
|
+
function JsDocApiPageComponent_Conditional_36_For_14_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
667
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
668
|
+
i0.ɵɵtext(1, "deprecated");
|
|
669
|
+
i0.ɵɵelementEnd();
|
|
670
|
+
} }
|
|
671
|
+
function JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
672
|
+
i0.ɵɵelementContainer(0);
|
|
673
|
+
} }
|
|
674
|
+
function JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
675
|
+
i0.ɵɵelementStart(0, "code");
|
|
676
|
+
i0.ɵɵtemplate(1, JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 11);
|
|
677
|
+
i0.ɵɵelementEnd();
|
|
678
|
+
} if (rf & 2) {
|
|
679
|
+
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
680
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
681
|
+
i0.ɵɵadvance();
|
|
682
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, ctx_r2.segmentsOf(ctx)));
|
|
683
|
+
} }
|
|
684
|
+
function JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
685
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
686
|
+
i0.ɵɵtext(1, "\u2014");
|
|
687
|
+
i0.ɵɵelementEnd();
|
|
688
|
+
} }
|
|
689
|
+
function JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
690
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
691
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Conditional_1_Template, 2, 4, "code")(2, JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Conditional_2_Template, 2, 0, "span", 42);
|
|
692
|
+
i0.ɵɵelementEnd();
|
|
693
|
+
} if (rf & 2) {
|
|
694
|
+
let tmp_20_0;
|
|
695
|
+
const output_r35 = i0.ɵɵnextContext().$implicit;
|
|
696
|
+
i0.ɵɵadvance();
|
|
697
|
+
i0.ɵɵconditional((tmp_20_0 = output_r35.payload) ? 1 : 2, tmp_20_0);
|
|
698
|
+
} }
|
|
699
|
+
function JsDocApiPageComponent_Conditional_36_For_14_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
700
|
+
i0.ɵɵelementContainer(0);
|
|
701
|
+
} }
|
|
702
|
+
function JsDocApiPageComponent_Conditional_36_For_14_Template(rf, ctx) { if (rf & 1) {
|
|
703
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 35)(2, "code");
|
|
704
|
+
i0.ɵɵtext(3);
|
|
705
|
+
i0.ɵɵelementEnd();
|
|
706
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_Conditional_36_For_14_Conditional_4_Template, 2, 0, "span", 38);
|
|
707
|
+
i0.ɵɵelementEnd();
|
|
708
|
+
i0.ɵɵconditionalCreate(5, JsDocApiPageComponent_Conditional_36_For_14_Conditional_5_Template, 3, 1, "td", 39);
|
|
709
|
+
i0.ɵɵelementStart(6, "td", 41);
|
|
710
|
+
i0.ɵɵtemplate(7, JsDocApiPageComponent_Conditional_36_For_14_ng_container_7_Template, 1, 0, "ng-container", 11);
|
|
711
|
+
i0.ɵɵelementEnd()();
|
|
712
|
+
} if (rf & 2) {
|
|
713
|
+
const output_r35 = ctx.$implicit;
|
|
714
|
+
i0.ɵɵnextContext();
|
|
715
|
+
const payloads_r36 = i0.ɵɵreadContextLet(0);
|
|
716
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
717
|
+
const docCell_r19 = i0.ɵɵreference(3);
|
|
718
|
+
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r2.isDeprecated(output_r35.tags));
|
|
719
|
+
i0.ɵɵadvance(3);
|
|
720
|
+
i0.ɵɵtextInterpolate(output_r35.name);
|
|
721
|
+
i0.ɵɵadvance();
|
|
722
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(output_r35.tags) ? 4 : -1);
|
|
723
|
+
i0.ɵɵadvance();
|
|
724
|
+
i0.ɵɵconditional(payloads_r36 ? 5 : -1);
|
|
725
|
+
i0.ɵɵadvance(2);
|
|
726
|
+
i0.ɵɵproperty("ngTemplateOutlet", docCell_r19)("ngTemplateOutletContext", i0.ɵɵpureFunction2(7, _c1, output_r35.description, output_r35.tags));
|
|
727
|
+
} }
|
|
728
|
+
function JsDocApiPageComponent_Conditional_36_Template(rf, ctx) { if (rf & 1) {
|
|
729
|
+
i0.ɵɵdeclareLet(0);
|
|
730
|
+
i0.ɵɵelementStart(1, "section", 12)(2, "h3", 55);
|
|
731
|
+
i0.ɵɵtext(3, " Outputs ");
|
|
732
|
+
i0.ɵɵelementEnd();
|
|
733
|
+
i0.ɵɵelementStart(4, "table", 33)(5, "thead")(6, "tr")(7, "th");
|
|
734
|
+
i0.ɵɵtext(8, "Name");
|
|
735
|
+
i0.ɵɵelementEnd();
|
|
736
|
+
i0.ɵɵconditionalCreate(9, JsDocApiPageComponent_Conditional_36_Conditional_9_Template, 2, 0, "th");
|
|
737
|
+
i0.ɵɵelementStart(10, "th");
|
|
738
|
+
i0.ɵɵtext(11, "Description");
|
|
739
|
+
i0.ɵɵelementEnd()()();
|
|
740
|
+
i0.ɵɵelementStart(12, "tbody");
|
|
741
|
+
i0.ɵɵrepeaterCreate(13, JsDocApiPageComponent_Conditional_36_For_14_Template, 8, 10, "tr", 34, _forTrack2);
|
|
742
|
+
i0.ɵɵelementEnd()()();
|
|
743
|
+
} if (rf & 2) {
|
|
744
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
745
|
+
const payloads_r37 = i0.ɵɵstoreLet(ctx_r2.hasPayloads(ctx_r2.outputs()));
|
|
746
|
+
i0.ɵɵadvance(9);
|
|
747
|
+
i0.ɵɵconditional(payloads_r37 ? 9 : -1);
|
|
748
|
+
i0.ɵɵadvance(4);
|
|
749
|
+
i0.ɵɵrepeater(ctx_r2.outputs());
|
|
750
|
+
} }
|
|
751
|
+
function JsDocApiPageComponent_Conditional_37_For_16_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
752
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
753
|
+
i0.ɵɵtext(1, "deprecated");
|
|
754
|
+
i0.ɵɵelementEnd();
|
|
755
|
+
} }
|
|
756
|
+
function JsDocApiPageComponent_Conditional_37_For_16_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
757
|
+
i0.ɵɵelementContainer(0);
|
|
758
|
+
} }
|
|
759
|
+
function JsDocApiPageComponent_Conditional_37_For_16_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
760
|
+
i0.ɵɵelementStart(0, "code");
|
|
761
|
+
i0.ɵɵtext(1, "readonly");
|
|
762
|
+
i0.ɵɵelementEnd();
|
|
763
|
+
} }
|
|
764
|
+
function JsDocApiPageComponent_Conditional_37_For_16_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
765
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
766
|
+
i0.ɵɵtext(1, "\u2014");
|
|
767
|
+
i0.ɵɵelementEnd();
|
|
768
|
+
} }
|
|
769
|
+
function JsDocApiPageComponent_Conditional_37_For_16_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
770
|
+
i0.ɵɵelementContainer(0);
|
|
771
|
+
} }
|
|
772
|
+
function JsDocApiPageComponent_Conditional_37_For_16_Template(rf, ctx) { if (rf & 1) {
|
|
773
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 35)(2, "code");
|
|
774
|
+
i0.ɵɵtext(3);
|
|
775
|
+
i0.ɵɵelementEnd();
|
|
776
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_Conditional_37_For_16_Conditional_4_Template, 2, 0, "span", 38);
|
|
777
|
+
i0.ɵɵelementEnd();
|
|
778
|
+
i0.ɵɵelementStart(5, "td", 39)(6, "code");
|
|
779
|
+
i0.ɵɵtemplate(7, JsDocApiPageComponent_Conditional_37_For_16_ng_container_7_Template, 1, 0, "ng-container", 11);
|
|
780
|
+
i0.ɵɵelementEnd()();
|
|
781
|
+
i0.ɵɵelementStart(8, "td", 57);
|
|
782
|
+
i0.ɵɵconditionalCreate(9, JsDocApiPageComponent_Conditional_37_For_16_Conditional_9_Template, 2, 0, "code")(10, JsDocApiPageComponent_Conditional_37_For_16_Conditional_10_Template, 2, 0, "span", 42);
|
|
783
|
+
i0.ɵɵelementEnd();
|
|
784
|
+
i0.ɵɵelementStart(11, "td", 41);
|
|
785
|
+
i0.ɵɵtemplate(12, JsDocApiPageComponent_Conditional_37_For_16_ng_container_12_Template, 1, 0, "ng-container", 11);
|
|
786
|
+
i0.ɵɵelementEnd()();
|
|
787
|
+
} if (rf & 2) {
|
|
788
|
+
const property_r38 = ctx.$implicit;
|
|
789
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
790
|
+
const typeText_r8 = i0.ɵɵreference(1);
|
|
791
|
+
const docCell_r19 = i0.ɵɵreference(3);
|
|
792
|
+
i0.ɵɵclassProp("prism-jsdoc-panel__row--deprecated", ctx_r2.isDeprecated(property_r38.tags));
|
|
793
|
+
i0.ɵɵadvance(3);
|
|
794
|
+
i0.ɵɵtextInterpolate(property_r38.name);
|
|
795
|
+
i0.ɵɵadvance();
|
|
796
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(property_r38.tags) ? 4 : -1);
|
|
797
|
+
i0.ɵɵadvance(3);
|
|
798
|
+
i0.ɵɵproperty("ngTemplateOutlet", typeText_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c0, ctx_r2.segmentsOf(property_r38.type)));
|
|
799
|
+
i0.ɵɵadvance(2);
|
|
800
|
+
i0.ɵɵconditional(property_r38.readonly ? 9 : 10);
|
|
801
|
+
i0.ɵɵadvance(3);
|
|
802
|
+
i0.ɵɵproperty("ngTemplateOutlet", docCell_r19)("ngTemplateOutletContext", i0.ɵɵpureFunction2(11, _c1, property_r38.description, property_r38.tags));
|
|
803
|
+
} }
|
|
804
|
+
function JsDocApiPageComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
805
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 56);
|
|
806
|
+
i0.ɵɵtext(2, " Properties ");
|
|
807
|
+
i0.ɵɵelementEnd();
|
|
808
|
+
i0.ɵɵelementStart(3, "table", 33)(4, "thead")(5, "tr")(6, "th");
|
|
809
|
+
i0.ɵɵtext(7, "Name");
|
|
810
|
+
i0.ɵɵelementEnd();
|
|
811
|
+
i0.ɵɵelementStart(8, "th");
|
|
812
|
+
i0.ɵɵtext(9, "Type");
|
|
813
|
+
i0.ɵɵelementEnd();
|
|
814
|
+
i0.ɵɵelementStart(10, "th");
|
|
815
|
+
i0.ɵɵtext(11, "Readonly");
|
|
816
|
+
i0.ɵɵelementEnd();
|
|
817
|
+
i0.ɵɵelementStart(12, "th");
|
|
818
|
+
i0.ɵɵtext(13, "Description");
|
|
819
|
+
i0.ɵɵelementEnd()()();
|
|
820
|
+
i0.ɵɵelementStart(14, "tbody");
|
|
821
|
+
i0.ɵɵrepeaterCreate(15, JsDocApiPageComponent_Conditional_37_For_16_Template, 13, 14, "tr", 34, _forTrack2);
|
|
822
|
+
i0.ɵɵelementEnd()()();
|
|
823
|
+
} if (rf & 2) {
|
|
824
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
825
|
+
i0.ɵɵadvance(15);
|
|
826
|
+
i0.ɵɵrepeater(ctx_r2.serviceProperties());
|
|
827
|
+
} }
|
|
828
|
+
function JsDocApiPageComponent_Conditional_38_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
829
|
+
i0.ɵɵelementContainer(0);
|
|
830
|
+
} }
|
|
831
|
+
function JsDocApiPageComponent_Conditional_38_Template(rf, ctx) { if (rf & 1) {
|
|
832
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 58);
|
|
833
|
+
i0.ɵɵtext(2, " Methods ");
|
|
834
|
+
i0.ɵɵelementEnd();
|
|
835
|
+
i0.ɵɵtemplate(3, JsDocApiPageComponent_Conditional_38_ng_container_3_Template, 1, 0, "ng-container", 11);
|
|
836
|
+
i0.ɵɵelementEnd();
|
|
837
|
+
} if (rf & 2) {
|
|
838
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
839
|
+
const methodTable_r39 = i0.ɵɵreference(11);
|
|
840
|
+
i0.ɵɵadvance(3);
|
|
841
|
+
i0.ɵɵproperty("ngTemplateOutlet", methodTable_r39)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c4, ctx_r2.pageMethods()));
|
|
842
|
+
} }
|
|
843
|
+
function JsDocApiPageComponent_Conditional_39_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
844
|
+
i0.ɵɵelementContainer(0);
|
|
845
|
+
} }
|
|
846
|
+
function JsDocApiPageComponent_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
847
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 59);
|
|
848
|
+
i0.ɵɵtext(2, " Transform ");
|
|
849
|
+
i0.ɵɵelementEnd();
|
|
850
|
+
i0.ɵɵtemplate(3, JsDocApiPageComponent_Conditional_39_ng_container_3_Template, 1, 0, "ng-container", 11);
|
|
851
|
+
i0.ɵɵelementEnd();
|
|
852
|
+
} if (rf & 2) {
|
|
853
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
854
|
+
const methodTable_r39 = i0.ɵɵreference(11);
|
|
855
|
+
i0.ɵɵadvance(3);
|
|
856
|
+
i0.ɵɵproperty("ngTemplateOutlet", methodTable_r39)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c4, ctx_r2.transformSignatures()));
|
|
857
|
+
} }
|
|
858
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
859
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
860
|
+
i0.ɵɵtext(1, "deprecated");
|
|
861
|
+
i0.ɵɵelementEnd();
|
|
862
|
+
} }
|
|
863
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_9_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
864
|
+
i0.ɵɵelementStart(0, "code");
|
|
865
|
+
i0.ɵɵtext(1);
|
|
866
|
+
i0.ɵɵelementEnd();
|
|
867
|
+
} if (rf & 2) {
|
|
868
|
+
i0.ɵɵnextContext();
|
|
869
|
+
const reached_r40 = i0.ɵɵreadContextLet(0);
|
|
870
|
+
i0.ɵɵadvance();
|
|
871
|
+
i0.ɵɵtextInterpolate(reached_r40.code);
|
|
872
|
+
} }
|
|
873
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
874
|
+
i0.ɵɵdeclareLet(0);
|
|
875
|
+
i0.ɵɵelementStart(1, "span", 66)(2, "span");
|
|
876
|
+
i0.ɵɵtext(3);
|
|
877
|
+
i0.ɵɵelementEnd();
|
|
878
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_Conditional_40_For_6_Conditional_9_Conditional_4_Template, 2, 1, "code");
|
|
879
|
+
i0.ɵɵelementEnd();
|
|
880
|
+
} if (rf & 2) {
|
|
881
|
+
const reached_r41 = i0.ɵɵstoreLet(i0.ɵɵnextContext(3).splitReachedFrom(ctx));
|
|
882
|
+
i0.ɵɵadvance(3);
|
|
883
|
+
i0.ɵɵtextInterpolate(reached_r41.text);
|
|
884
|
+
i0.ɵɵadvance();
|
|
885
|
+
i0.ɵɵconditional(reached_r41.code ? 4 : -1);
|
|
886
|
+
} }
|
|
887
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
888
|
+
i0.ɵɵelement(0, "div", 51);
|
|
889
|
+
} if (rf & 2) {
|
|
890
|
+
i0.ɵɵproperty("innerHTML", ctx, i0.ɵɵsanitizeHtml);
|
|
891
|
+
} }
|
|
892
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_11_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
893
|
+
i0.ɵɵelementContainer(0);
|
|
894
|
+
} }
|
|
895
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
896
|
+
i0.ɵɵelementStart(0, "div", 67);
|
|
897
|
+
i0.ɵɵtemplate(1, JsDocApiPageComponent_Conditional_40_For_6_Conditional_11_ng_container_1_Template, 1, 0, "ng-container", 11);
|
|
898
|
+
i0.ɵɵelementEnd();
|
|
899
|
+
} if (rf & 2) {
|
|
900
|
+
const type_r42 = i0.ɵɵnextContext().$implicit;
|
|
901
|
+
i0.ɵɵnextContext(2);
|
|
902
|
+
const seeChips_r43 = i0.ɵɵreference(7);
|
|
903
|
+
i0.ɵɵadvance();
|
|
904
|
+
i0.ɵɵproperty("ngTemplateOutlet", seeChips_r43)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, type_r42.tags.see));
|
|
905
|
+
} }
|
|
906
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_12_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
907
|
+
i0.ɵɵelementContainer(0);
|
|
908
|
+
} }
|
|
909
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
910
|
+
i0.ɵɵtemplate(0, JsDocApiPageComponent_Conditional_40_For_6_Conditional_12_ng_container_0_Template, 1, 0, "ng-container", 11);
|
|
911
|
+
} if (rf & 2) {
|
|
912
|
+
const type_r42 = i0.ɵɵnextContext().$implicit;
|
|
913
|
+
const properties_r44 = i0.ɵɵreadContextLet(0);
|
|
914
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
915
|
+
const propertyTable_r32 = i0.ɵɵreference(9);
|
|
916
|
+
i0.ɵɵproperty("ngTemplateOutlet", propertyTable_r32)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c5, properties_r44, ctx_r2.hasDefaults(properties_r44), type_r42));
|
|
917
|
+
} }
|
|
918
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_13_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
919
|
+
i0.ɵɵelementContainer(0);
|
|
920
|
+
} }
|
|
921
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
922
|
+
i0.ɵɵtemplate(0, JsDocApiPageComponent_Conditional_40_For_6_Conditional_13_ng_container_0_Template, 1, 0, "ng-container", 11);
|
|
923
|
+
} if (rf & 2) {
|
|
924
|
+
i0.ɵɵnextContext();
|
|
925
|
+
const methods_r45 = i0.ɵɵreadContextLet(1);
|
|
926
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
927
|
+
const methodTable_r39 = i0.ɵɵreference(11);
|
|
928
|
+
i0.ɵɵproperty("ngTemplateOutlet", methodTable_r39)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c6, methods_r45, ctx_r2.hasParams(methods_r45)));
|
|
929
|
+
} }
|
|
930
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_14_For_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
931
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
932
|
+
i0.ɵɵtext(1, "|");
|
|
933
|
+
i0.ɵɵelementEnd();
|
|
934
|
+
} }
|
|
935
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_14_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
936
|
+
i0.ɵɵconditionalCreate(0, JsDocApiPageComponent_Conditional_40_For_6_Conditional_14_For_2_Conditional_0_Template, 2, 0, "span", 70);
|
|
937
|
+
i0.ɵɵelementStart(1, "span");
|
|
938
|
+
i0.ɵɵtext(2);
|
|
939
|
+
i0.ɵɵelementEnd();
|
|
940
|
+
} if (rf & 2) {
|
|
941
|
+
const member_r46 = ctx.$implicit;
|
|
942
|
+
const ɵ$index_582_r47 = ctx.$index;
|
|
943
|
+
i0.ɵɵconditional(!(ɵ$index_582_r47 === 0) ? 0 : -1);
|
|
944
|
+
i0.ɵɵadvance(2);
|
|
945
|
+
i0.ɵɵtextInterpolate(member_r46);
|
|
946
|
+
} }
|
|
947
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
948
|
+
i0.ɵɵelementStart(0, "p", 68);
|
|
949
|
+
i0.ɵɵrepeaterCreate(1, JsDocApiPageComponent_Conditional_40_For_6_Conditional_14_For_2_Template, 3, 2, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
950
|
+
i0.ɵɵelementEnd();
|
|
951
|
+
} if (rf & 2) {
|
|
952
|
+
const type_r42 = i0.ɵɵnextContext().$implicit;
|
|
953
|
+
i0.ɵɵadvance();
|
|
954
|
+
i0.ɵɵrepeater(type_r42.union);
|
|
955
|
+
} }
|
|
956
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
957
|
+
i0.ɵɵelementStart(0, "p", 69)(1, "code");
|
|
958
|
+
i0.ɵɵtext(2);
|
|
959
|
+
i0.ɵɵelementEnd()();
|
|
960
|
+
} if (rf & 2) {
|
|
961
|
+
const type_r42 = i0.ɵɵnextContext().$implicit;
|
|
962
|
+
i0.ɵɵadvance(2);
|
|
963
|
+
i0.ɵɵtextInterpolate(type_r42.text);
|
|
964
|
+
} }
|
|
965
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
966
|
+
i0.ɵɵelementStart(0, "th");
|
|
967
|
+
i0.ɵɵtext(1, "Value");
|
|
968
|
+
i0.ɵɵelementEnd();
|
|
969
|
+
} }
|
|
970
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
971
|
+
i0.ɵɵelementStart(0, "code");
|
|
972
|
+
i0.ɵɵtext(1);
|
|
973
|
+
i0.ɵɵelementEnd();
|
|
974
|
+
} if (rf & 2) {
|
|
975
|
+
const member_r48 = i0.ɵɵnextContext(2).$implicit;
|
|
976
|
+
i0.ɵɵadvance();
|
|
977
|
+
i0.ɵɵtextInterpolate(member_r48.value);
|
|
978
|
+
} }
|
|
979
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
980
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
981
|
+
i0.ɵɵtext(1, "\u2014");
|
|
982
|
+
i0.ɵɵelementEnd();
|
|
983
|
+
} }
|
|
984
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
985
|
+
i0.ɵɵelementStart(0, "td", 57);
|
|
986
|
+
i0.ɵɵconditionalCreate(1, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_4_Conditional_1_Template, 2, 1, "code")(2, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_4_Conditional_2_Template, 2, 0, "span", 42);
|
|
987
|
+
i0.ɵɵelementEnd();
|
|
988
|
+
} if (rf & 2) {
|
|
989
|
+
const member_r48 = i0.ɵɵnextContext().$implicit;
|
|
990
|
+
i0.ɵɵadvance();
|
|
991
|
+
i0.ɵɵconditional(member_r48.value !== undefined ? 1 : 2);
|
|
992
|
+
} }
|
|
993
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
994
|
+
i0.ɵɵelement(0, "span", 26);
|
|
995
|
+
} if (rf & 2) {
|
|
996
|
+
const member_r48 = i0.ɵɵnextContext().$implicit;
|
|
997
|
+
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
998
|
+
i0.ɵɵproperty("innerHTML", ctx_r2.renderInline(member_r48.description), i0.ɵɵsanitizeHtml);
|
|
999
|
+
} }
|
|
1000
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Template(rf, ctx) { if (rf & 1) {
|
|
1001
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 35)(2, "code");
|
|
1002
|
+
i0.ɵɵtext(3);
|
|
1003
|
+
i0.ɵɵelementEnd()();
|
|
1004
|
+
i0.ɵɵconditionalCreate(4, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_4_Template, 3, 1, "td", 57);
|
|
1005
|
+
i0.ɵɵelementStart(5, "td", 41);
|
|
1006
|
+
i0.ɵɵconditionalCreate(6, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Conditional_6_Template, 1, 1, "span", 26);
|
|
1007
|
+
i0.ɵɵelementEnd()();
|
|
1008
|
+
} if (rf & 2) {
|
|
1009
|
+
const member_r48 = ctx.$implicit;
|
|
1010
|
+
const type_r42 = i0.ɵɵnextContext(2).$implicit;
|
|
1011
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1012
|
+
i0.ɵɵadvance(3);
|
|
1013
|
+
i0.ɵɵtextInterpolate(member_r48.name);
|
|
1014
|
+
i0.ɵɵadvance();
|
|
1015
|
+
i0.ɵɵconditional(ctx_r2.hasValues(type_r42) ? 4 : -1);
|
|
1016
|
+
i0.ɵɵadvance(2);
|
|
1017
|
+
i0.ɵɵconditional(member_r48.description ? 6 : -1);
|
|
1018
|
+
} }
|
|
1019
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
1020
|
+
i0.ɵɵelementStart(0, "table", 33)(1, "thead")(2, "tr")(3, "th");
|
|
1021
|
+
i0.ɵɵtext(4, "Member");
|
|
1022
|
+
i0.ɵɵelementEnd();
|
|
1023
|
+
i0.ɵɵconditionalCreate(5, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_Conditional_5_Template, 2, 0, "th");
|
|
1024
|
+
i0.ɵɵelementStart(6, "th");
|
|
1025
|
+
i0.ɵɵtext(7, "Description");
|
|
1026
|
+
i0.ɵɵelementEnd()()();
|
|
1027
|
+
i0.ɵɵelementStart(8, "tbody");
|
|
1028
|
+
i0.ɵɵrepeaterCreate(9, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_For_10_Template, 7, 3, "tr", null, _forTrack2);
|
|
1029
|
+
i0.ɵɵelementEnd()();
|
|
1030
|
+
} if (rf & 2) {
|
|
1031
|
+
const type_r42 = i0.ɵɵnextContext().$implicit;
|
|
1032
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1033
|
+
i0.ɵɵadvance(5);
|
|
1034
|
+
i0.ɵɵconditional(ctx_r2.hasValues(type_r42) ? 5 : -1);
|
|
1035
|
+
i0.ɵɵadvance(4);
|
|
1036
|
+
i0.ɵɵrepeater(type_r42.members);
|
|
1037
|
+
} }
|
|
1038
|
+
function JsDocApiPageComponent_Conditional_40_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
1039
|
+
i0.ɵɵdeclareLet(0)(1);
|
|
1040
|
+
i0.ɵɵelementStart(2, "div", 62)(3, "div", 63)(4, "span", 64);
|
|
1041
|
+
i0.ɵɵtext(5);
|
|
1042
|
+
i0.ɵɵelementEnd();
|
|
1043
|
+
i0.ɵɵelementStart(6, "span", 65);
|
|
1044
|
+
i0.ɵɵtext(7);
|
|
1045
|
+
i0.ɵɵelementEnd();
|
|
1046
|
+
i0.ɵɵconditionalCreate(8, JsDocApiPageComponent_Conditional_40_For_6_Conditional_8_Template, 2, 0, "span", 38);
|
|
1047
|
+
i0.ɵɵconditionalCreate(9, JsDocApiPageComponent_Conditional_40_For_6_Conditional_9_Template, 5, 3, "span", 66);
|
|
1048
|
+
i0.ɵɵelementEnd();
|
|
1049
|
+
i0.ɵɵconditionalCreate(10, JsDocApiPageComponent_Conditional_40_For_6_Conditional_10_Template, 1, 1, "div", 51);
|
|
1050
|
+
i0.ɵɵconditionalCreate(11, JsDocApiPageComponent_Conditional_40_For_6_Conditional_11_Template, 2, 4, "div", 67);
|
|
1051
|
+
i0.ɵɵconditionalCreate(12, JsDocApiPageComponent_Conditional_40_For_6_Conditional_12_Template, 1, 6, "ng-container");
|
|
1052
|
+
i0.ɵɵconditionalCreate(13, JsDocApiPageComponent_Conditional_40_For_6_Conditional_13_Template, 1, 5, "ng-container");
|
|
1053
|
+
i0.ɵɵconditionalCreate(14, JsDocApiPageComponent_Conditional_40_For_6_Conditional_14_Template, 3, 0, "p", 68);
|
|
1054
|
+
i0.ɵɵconditionalCreate(15, JsDocApiPageComponent_Conditional_40_For_6_Conditional_15_Template, 3, 1, "p", 69);
|
|
1055
|
+
i0.ɵɵconditionalCreate(16, JsDocApiPageComponent_Conditional_40_For_6_Conditional_16_Template, 11, 1, "table", 33);
|
|
1056
|
+
i0.ɵɵelementEnd();
|
|
1057
|
+
} if (rf & 2) {
|
|
1058
|
+
let tmp_26_0;
|
|
1059
|
+
let tmp_27_0;
|
|
1060
|
+
const type_r42 = ctx.$implicit;
|
|
1061
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1062
|
+
const anchor_r49 = ctx_r2.typeAnchor(type_r42.id);
|
|
1063
|
+
const properties_r50 = i0.ɵɵstoreLet(type_r42.properties ?? i0.ɵɵpureFunction0(16, _c2));
|
|
1064
|
+
i0.ɵɵadvance();
|
|
1065
|
+
const methods_r51 = i0.ɵɵstoreLet(type_r42.methods ?? i0.ɵɵpureFunction0(17, _c2));
|
|
1066
|
+
i0.ɵɵadvance();
|
|
1067
|
+
i0.ɵɵclassProp("prism-jsdoc-api-page__type--highlighted", ctx_r2.highlightedId() === anchor_r49);
|
|
1068
|
+
i0.ɵɵattribute("data-toc-id", anchor_r49);
|
|
1069
|
+
i0.ɵɵadvance(3);
|
|
1070
|
+
i0.ɵɵtextInterpolate(type_r42.name);
|
|
1071
|
+
i0.ɵɵadvance(2);
|
|
1072
|
+
i0.ɵɵtextInterpolate(type_r42.kind);
|
|
1073
|
+
i0.ɵɵadvance();
|
|
1074
|
+
i0.ɵɵconditional(ctx_r2.isDeprecated(type_r42.tags) ? 8 : -1);
|
|
1075
|
+
i0.ɵɵadvance();
|
|
1076
|
+
i0.ɵɵconditional((tmp_26_0 = type_r42.reachedFrom) ? 9 : -1, tmp_26_0);
|
|
1077
|
+
i0.ɵɵadvance();
|
|
1078
|
+
i0.ɵɵconditional((tmp_27_0 = ctx_r2.renderBlock(type_r42.description)) ? 10 : -1, tmp_27_0);
|
|
1079
|
+
i0.ɵɵadvance();
|
|
1080
|
+
i0.ɵɵconditional(type_r42.tags.see?.length ? 11 : -1);
|
|
1081
|
+
i0.ɵɵadvance();
|
|
1082
|
+
i0.ɵɵconditional(properties_r50.length ? 12 : -1);
|
|
1083
|
+
i0.ɵɵadvance();
|
|
1084
|
+
i0.ɵɵconditional(methods_r51.length ? 13 : -1);
|
|
1085
|
+
i0.ɵɵadvance();
|
|
1086
|
+
i0.ɵɵconditional(type_r42.union?.length ? 14 : -1);
|
|
1087
|
+
i0.ɵɵadvance();
|
|
1088
|
+
i0.ɵɵconditional(type_r42.text ? 15 : -1);
|
|
1089
|
+
i0.ɵɵadvance();
|
|
1090
|
+
i0.ɵɵconditional(type_r42.members?.length ? 16 : -1);
|
|
1091
|
+
} }
|
|
1092
|
+
function JsDocApiPageComponent_Conditional_40_Template(rf, ctx) { if (rf & 1) {
|
|
1093
|
+
i0.ɵɵelementStart(0, "section", 12)(1, "h3", 60);
|
|
1094
|
+
i0.ɵɵtext(2, " Types ");
|
|
1095
|
+
i0.ɵɵelementStart(3, "small", 14);
|
|
1096
|
+
i0.ɵɵtext(4, "reached from the signatures above");
|
|
1097
|
+
i0.ɵɵelementEnd()();
|
|
1098
|
+
i0.ɵɵrepeaterCreate(5, JsDocApiPageComponent_Conditional_40_For_6_Template, 17, 18, "div", 61, _forTrack1);
|
|
1099
|
+
i0.ɵɵelementEnd();
|
|
1100
|
+
} if (rf & 2) {
|
|
1101
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1102
|
+
i0.ɵɵadvance(5);
|
|
1103
|
+
i0.ɵɵrepeater(ctx_r2.page().types);
|
|
1104
|
+
} }
|
|
1105
|
+
function JsDocApiPageComponent_For_45_Template(rf, ctx) { if (rf & 1) {
|
|
1106
|
+
const _r52 = i0.ɵɵgetCurrentView();
|
|
1107
|
+
i0.ɵɵelementStart(0, "button", 71);
|
|
1108
|
+
i0.ɵɵlistener("click", function JsDocApiPageComponent_For_45_Template_button_click_0_listener() { const entry_r53 = i0.ɵɵrestoreView(_r52).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goTo(entry_r53.id)); });
|
|
1109
|
+
i0.ɵɵtext(1);
|
|
1110
|
+
i0.ɵɵelementEnd();
|
|
1111
|
+
} if (rf & 2) {
|
|
1112
|
+
const entry_r53 = ctx.$implicit;
|
|
1113
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1114
|
+
i0.ɵɵclassProp("prism-jsdoc-api-page__toc-link--sub", entry_r53.level === 2)("prism-jsdoc-api-page__toc-link--active", ctx_r2.activeId() === entry_r53.id);
|
|
1115
|
+
i0.ɵɵproperty("title", entry_r53.label);
|
|
1116
|
+
i0.ɵɵattribute("aria-current", ctx_r2.activeId() === entry_r53.id ? "location" : null);
|
|
1117
|
+
i0.ɵɵadvance();
|
|
1118
|
+
i0.ɵɵtextInterpolate1(" ", entry_r53.label, " ");
|
|
1119
|
+
} }
|
|
1120
|
+
/** How far below the top of the scroll container a section lands when the page jumps to it. */
|
|
1121
|
+
const SCROLL_OFFSET = 12;
|
|
1122
|
+
/** How long a type card stays highlighted after a link jumped to it. */
|
|
1123
|
+
const HIGHLIGHT_MS = 1600;
|
|
1124
|
+
/** Without `scrollend`, a jump counts as over once its smooth scroll has been quiet for this long. */
|
|
1125
|
+
const JUMP_SETTLE_MS = 150;
|
|
1126
|
+
/** What the reader does to scroll by hand; any of it ends a jump. */
|
|
1127
|
+
const READER_INPUT = ['wheel', 'touchstart', 'keydown', 'pointerdown'];
|
|
1128
|
+
/**
|
|
1129
|
+
* The API page of a component, a directive, a service or a pipe: what it is,
|
|
1130
|
+
* how to bring it in, what it offers and the types its API reaches, with an
|
|
1131
|
+
* "On this page" list next to it. It renders an `ApiPageModel`, so all four
|
|
1132
|
+
* kinds share one look.
|
|
1133
|
+
*
|
|
1134
|
+
* The host is the scroll container (the panel stylesheet gives it `overflow:
|
|
1135
|
+
* auto`), so every jump scrolls it, never the window or the shell around it.
|
|
1136
|
+
*
|
|
1137
|
+
* It also carries a render marker, the class name of what it shows:
|
|
1138
|
+
* `data-prism-component-rendered` on a component or directive page,
|
|
1139
|
+
* `data-prism-service-rendered` on a service page, `data-prism-pipe-rendered`
|
|
1140
|
+
* on a pipe page. Exactly one of the three is set, the others are absent. Host
|
|
1141
|
+
* bindings update in the same pass as the template, so the marker names a
|
|
1142
|
+
* class only once its page is in the DOM, which is what an outside tool such
|
|
1143
|
+
* as the showcase skill's screenshot script waits for.
|
|
1144
|
+
*/
|
|
1145
|
+
export class JsDocApiPageComponent {
|
|
1146
|
+
page = input.required(/* @ts-ignore */
|
|
1147
|
+
...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
|
|
1148
|
+
sanitizer = inject(DomSanitizer);
|
|
1149
|
+
host = inject(ElementRef).nativeElement;
|
|
1150
|
+
/** Kind and class name, not the page object: a manifest update during `serve` hands over a new page for the same class. */
|
|
1151
|
+
kind = computed(() => this.page().kind, /* @ts-ignore */
|
|
1152
|
+
...(ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []));
|
|
1153
|
+
className = computed(() => this.page().className, /* @ts-ignore */
|
|
1154
|
+
...(ngDevMode ? [{ debugName: "className" }] : /* istanbul ignore next */ []));
|
|
1155
|
+
inputs = computed(() => this.page().inputs ?? [], /* @ts-ignore */
|
|
1156
|
+
...(ngDevMode ? [{ debugName: "inputs" }] : /* istanbul ignore next */ []));
|
|
1157
|
+
outputs = computed(() => this.page().outputs ?? [], /* @ts-ignore */
|
|
1158
|
+
...(ngDevMode ? [{ debugName: "outputs" }] : /* istanbul ignore next */ []));
|
|
1159
|
+
serviceProperties = computed(() => this.page().properties ?? [], /* @ts-ignore */
|
|
1160
|
+
...(ngDevMode ? [{ debugName: "serviceProperties" }] : /* istanbul ignore next */ []));
|
|
1161
|
+
pageMethods = computed(() => this.page().methods ?? [], /* @ts-ignore */
|
|
1162
|
+
...(ngDevMode ? [{ debugName: "pageMethods" }] : /* istanbul ignore next */ []));
|
|
1163
|
+
transformSignatures = computed(() => this.page().transform ?? [], /* @ts-ignore */
|
|
1164
|
+
...(ngDevMode ? [{ debugName: "transformSignatures" }] : /* istanbul ignore next */ []));
|
|
1165
|
+
toc = computed(() => buildApiPageToc(this.page()), /* @ts-ignore */
|
|
1166
|
+
...(ngDevMode ? [{ debugName: "toc" }] : /* istanbul ignore next */ []));
|
|
1167
|
+
renderedDescription = computed(() => this.renderBlock(this.page().description), /* @ts-ignore */
|
|
1168
|
+
...(ngDevMode ? [{ debugName: "renderedDescription" }] : /* istanbul ignore next */ []));
|
|
1169
|
+
activeId = signal('usage', /* @ts-ignore */
|
|
1170
|
+
...(ngDevMode ? [{ debugName: "activeId" }] : /* istanbul ignore next */ []));
|
|
1171
|
+
highlightedId = signal(null, /* @ts-ignore */
|
|
1172
|
+
...(ngDevMode ? [{ debugName: "highlightedId" }] : /* istanbul ignore next */ []));
|
|
1173
|
+
copied = signal(false, /* @ts-ignore */
|
|
1174
|
+
...(ngDevMode ? [{ debugName: "copied" }] : /* istanbul ignore next */ []));
|
|
1175
|
+
// The template re-renders whenever the active TOC entry changes. Cached per
|
|
1176
|
+
// object or text, these hand it the same values again, so nothing below
|
|
1177
|
+
// the bindings is rebuilt and no `innerHTML` is written twice.
|
|
1178
|
+
segmentsOf = memoize(typeSegments);
|
|
1179
|
+
declaredParamSegmentsOf = memoize(declaredParamSegments);
|
|
1180
|
+
signatureOf = memoize(setupSignature);
|
|
1181
|
+
documentsParams = documentsParams;
|
|
1182
|
+
splitReachedFrom = splitReachedFrom;
|
|
1183
|
+
typeAnchor = typeAnchor;
|
|
1184
|
+
/**
|
|
1185
|
+
* The rendered descriptions of the page being shown. A link resolves against
|
|
1186
|
+
* that page's types, so the caches go with the page: this instance outlives
|
|
1187
|
+
* a switch to another component, service or pipe, and the HTML of its
|
|
1188
|
+
* texts must not outlive the page they were rendered for.
|
|
1189
|
+
*/
|
|
1190
|
+
rendered = computed(() => ({
|
|
1191
|
+
page: this.page(),
|
|
1192
|
+
block: new Map(),
|
|
1193
|
+
inline: new Map()
|
|
1194
|
+
}), /* @ts-ignore */
|
|
1195
|
+
...(ngDevMode ? [{ debugName: "rendered" }] : /* istanbul ignore next */ []));
|
|
1196
|
+
/**
|
|
1197
|
+
* The entry the reader jumped to, until the jump is over: the smooth scroll
|
|
1198
|
+
* passes other sections on its way, and one near the bottom of the page is
|
|
1199
|
+
* never scrolled up to the activation line.
|
|
1200
|
+
*/
|
|
1201
|
+
jumpTarget = null;
|
|
1202
|
+
spyFrame = 0;
|
|
1203
|
+
jumpTimer;
|
|
1204
|
+
highlightTimer;
|
|
1205
|
+
copiedTimer;
|
|
1206
|
+
constructor() {
|
|
1207
|
+
// The panel keeps this instance when the reader moves to another
|
|
1208
|
+
// component, service or pipe, so the page starts over at the top for the new one.
|
|
1209
|
+
effect(() => {
|
|
1210
|
+
this.kind();
|
|
1211
|
+
this.className();
|
|
1212
|
+
untracked(() => {
|
|
1213
|
+
this.endJump();
|
|
1214
|
+
this.host.scrollTo({ top: 0, behavior: 'instant' });
|
|
1215
|
+
this.activeId.set('usage');
|
|
1216
|
+
this.highlightedId.set(null);
|
|
1217
|
+
});
|
|
1218
|
+
});
|
|
1219
|
+
// Outside the zone: a scroll event alone changes nothing on screen.
|
|
1220
|
+
// Only a different active entry does, and that is a signal write.
|
|
1221
|
+
const onScroll = () => this.onScroll();
|
|
1222
|
+
const endJump = () => this.endJump();
|
|
1223
|
+
inject(NgZone).runOutsideAngular(() => {
|
|
1224
|
+
this.host.addEventListener('scroll', onScroll, { passive: true });
|
|
1225
|
+
this.host.addEventListener('scrollend', endJump);
|
|
1226
|
+
for (const type of READER_INPUT)
|
|
1227
|
+
this.host.addEventListener(type, endJump, { passive: true });
|
|
1228
|
+
});
|
|
1229
|
+
inject(DestroyRef).onDestroy(() => {
|
|
1230
|
+
this.host.removeEventListener('scroll', onScroll);
|
|
1231
|
+
this.host.removeEventListener('scrollend', endJump);
|
|
1232
|
+
for (const type of READER_INPUT)
|
|
1233
|
+
this.host.removeEventListener(type, endJump);
|
|
1234
|
+
cancelAnimationFrame(this.spyFrame);
|
|
1235
|
+
clearTimeout(this.jumpTimer);
|
|
1236
|
+
clearTimeout(this.highlightTimer);
|
|
1237
|
+
clearTimeout(this.copiedTimer);
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
/** Scroll to a section or a type card; a type card lights up briefly so the eye finds it. */
|
|
1241
|
+
goTo(id) {
|
|
1242
|
+
const target = this.anchors().find((anchor) => anchor.dataset['tocId'] === id);
|
|
1243
|
+
if (!target)
|
|
1244
|
+
return;
|
|
1245
|
+
this.activeId.set(id);
|
|
1246
|
+
this.jumpTarget = id;
|
|
1247
|
+
this.host.scrollTo({ top: this.offsetOf(target) - SCROLL_OFFSET });
|
|
1248
|
+
if (!id.startsWith('type-'))
|
|
1249
|
+
return;
|
|
1250
|
+
this.highlightedId.set(id);
|
|
1251
|
+
clearTimeout(this.highlightTimer);
|
|
1252
|
+
this.highlightTimer = setTimeout(() => this.highlightedId.set(null), HIGHLIGHT_MS);
|
|
1253
|
+
}
|
|
1254
|
+
copyUsage() {
|
|
1255
|
+
navigator.clipboard
|
|
1256
|
+
?.writeText(this.page().usage)
|
|
1257
|
+
.then(() => {
|
|
1258
|
+
this.copied.set(true);
|
|
1259
|
+
clearTimeout(this.copiedTimer);
|
|
1260
|
+
this.copiedTimer = setTimeout(() => this.copied.set(false), 1500);
|
|
1261
|
+
})
|
|
1262
|
+
.catch(() => undefined);
|
|
1263
|
+
}
|
|
1264
|
+
isDeprecated(tags) {
|
|
1265
|
+
return !!tags.deprecated;
|
|
1266
|
+
}
|
|
1267
|
+
deprecatedMessage(tags) {
|
|
1268
|
+
return typeof tags.deprecated === 'string' ? tags.deprecated : undefined;
|
|
1269
|
+
}
|
|
1270
|
+
// Source is library-author JSDoc compiled into the manifest at build time,
|
|
1271
|
+
// not user input, so bypassing sanitization is safe here.
|
|
1272
|
+
renderBlock(text) {
|
|
1273
|
+
if (!text)
|
|
1274
|
+
return null;
|
|
1275
|
+
const { page, block } = this.rendered();
|
|
1276
|
+
if (!block.has(text))
|
|
1277
|
+
block.set(text, this.sanitizer.bypassSecurityTrustHtml(renderBlockMarkdown(this.withLinks(page, text)) ?? ''));
|
|
1278
|
+
return block.get(text);
|
|
1279
|
+
}
|
|
1280
|
+
renderInline(text) {
|
|
1281
|
+
const { page, inline } = this.rendered();
|
|
1282
|
+
if (!inline.has(text))
|
|
1283
|
+
inline.set(text, this.sanitizer.bypassSecurityTrustHtml(renderInlineMarkdown(this.withLinks(page, text))));
|
|
1284
|
+
return inline.get(text);
|
|
1285
|
+
}
|
|
1286
|
+
/** The TOC anchor of the type card a `@see` reference names, if it is on the page. */
|
|
1287
|
+
seeTarget(reference) {
|
|
1288
|
+
return typeLinkTarget(this.page().types, reference);
|
|
1289
|
+
}
|
|
1290
|
+
parseExample(raw) {
|
|
1291
|
+
return parseExample(raw);
|
|
1292
|
+
}
|
|
1293
|
+
/** An interface or object type says what may be left out; a class property has nothing to require. */
|
|
1294
|
+
isRequired(property, owner) {
|
|
1295
|
+
return owner?.kind !== 'class' && !property.optional;
|
|
1296
|
+
}
|
|
1297
|
+
hasDefaults(properties) {
|
|
1298
|
+
return properties.some((property) => property.tags.default !== undefined);
|
|
1299
|
+
}
|
|
1300
|
+
/** The scanner reads an output's payload from the source; without it the column would be empty. */
|
|
1301
|
+
hasPayloads(outputs) {
|
|
1302
|
+
return outputs.some((output) => output.payload !== undefined);
|
|
1303
|
+
}
|
|
1304
|
+
hasParams(methods) {
|
|
1305
|
+
return methods.some((method) => method.params.length > 0);
|
|
1306
|
+
}
|
|
1307
|
+
hasValues(type) {
|
|
1308
|
+
return !!type.members?.some((member) => member.value !== undefined);
|
|
1309
|
+
}
|
|
1310
|
+
/** The links inside rendered descriptions are plain HTML, so one listener on the host catches them all. */
|
|
1311
|
+
onHostClick(event) {
|
|
1312
|
+
const link = event.target instanceof Element ? event.target.closest(`[${TYPE_LINK_ATTRIBUTE}]`) : null;
|
|
1313
|
+
const anchor = link?.getAttribute(TYPE_LINK_ATTRIBUTE);
|
|
1314
|
+
if (!anchor)
|
|
1315
|
+
return;
|
|
1316
|
+
event.preventDefault();
|
|
1317
|
+
this.goTo(anchor);
|
|
1318
|
+
}
|
|
1319
|
+
withLinks(page, text) {
|
|
1320
|
+
return resolveDocLinks(text, (target) => typeLinkTarget(page.types, target));
|
|
1321
|
+
}
|
|
1322
|
+
onScroll() {
|
|
1323
|
+
if (this.jumpTarget && !('onscrollend' in this.host)) {
|
|
1324
|
+
clearTimeout(this.jumpTimer);
|
|
1325
|
+
this.jumpTimer = setTimeout(() => this.endJump(), JUMP_SETTLE_MS);
|
|
1326
|
+
}
|
|
1327
|
+
if (this.spyFrame)
|
|
1328
|
+
return;
|
|
1329
|
+
this.spyFrame = requestAnimationFrame(() => {
|
|
1330
|
+
this.spyFrame = 0;
|
|
1331
|
+
this.activeId.set(this.sectionInView());
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* The jump is over: from here on the scroll position decides. The entry
|
|
1336
|
+
* stays as it is until the next scroll moves the page, so a frame still
|
|
1337
|
+
* pending from the jump is dropped rather than allowed to overrule it.
|
|
1338
|
+
*/
|
|
1339
|
+
endJump() {
|
|
1340
|
+
if (!this.jumpTarget)
|
|
1341
|
+
return;
|
|
1342
|
+
this.jumpTarget = null;
|
|
1343
|
+
clearTimeout(this.jumpTimer);
|
|
1344
|
+
cancelAnimationFrame(this.spyFrame);
|
|
1345
|
+
this.spyFrame = 0;
|
|
1346
|
+
}
|
|
1347
|
+
anchors() {
|
|
1348
|
+
return [...this.host.querySelectorAll('[data-toc-id]')];
|
|
1349
|
+
}
|
|
1350
|
+
offsetOf(element) {
|
|
1351
|
+
return element.getBoundingClientRect().top - this.host.getBoundingClientRect().top + this.host.scrollTop;
|
|
1352
|
+
}
|
|
1353
|
+
sectionInView() {
|
|
1354
|
+
const { scrollTop, clientHeight, scrollHeight } = this.host;
|
|
1355
|
+
return activeTocId({
|
|
1356
|
+
anchors: this.anchors().map((anchor) => ({ id: anchor.dataset['tocId'], top: this.offsetOf(anchor) })),
|
|
1357
|
+
scrollTop,
|
|
1358
|
+
clientHeight,
|
|
1359
|
+
scrollHeight,
|
|
1360
|
+
jumpTarget: this.jumpTarget
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
static ɵfac = function JsDocApiPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || JsDocApiPageComponent)(); };
|
|
1364
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsDocApiPageComponent, selectors: [["prism-jsdoc-api-page"]], hostVars: 3, hostBindings: function JsDocApiPageComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1365
|
+
i0.ɵɵlistener("click", function JsDocApiPageComponent_click_HostBindingHandler($event) { return ctx.onHostClick($event); });
|
|
1366
|
+
} if (rf & 2) {
|
|
1367
|
+
i0.ɵɵattribute("data-prism-service-rendered", ctx.kind() === "service" ? ctx.className() : null)("data-prism-pipe-rendered", ctx.kind() === "pipe" ? ctx.className() : null)("data-prism-component-rendered", ctx.kind() === "component" || ctx.kind() === "directive" ? ctx.className() : null);
|
|
1368
|
+
} }, inputs: { page: [1, "page"] }, decls: 46, vars: 17, consts: [["typeText", ""], ["docCell", ""], ["paramList", ""], ["seeChips", ""], ["propertyTable", ""], ["methodTable", ""], ["exampleList", ""], [1, "prism-jsdoc-api-page"], [1, "prism-jsdoc-api-page__content"], [1, "prism-jsdoc-panel__description", 3, "innerHTML"], [1, "prism-jsdoc-panel__meta"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "prism-jsdoc-panel__section"], ["data-toc-id", "usage", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], [1, "prism-jsdoc-api-page__heading-note"], [1, "prism-jsdoc-api-page__usage"], [1, "prism-jsdoc-panel__code"], ["language", "typescript", 3, "highlight"], ["type", "button", 1, "prism-jsdoc-api-page__copy", 3, "click", "title"], ["viewBox", "0 0 24 24", "aria-hidden", "true"], ["d", "M20 6 9 17l-5-5"], ["aria-label", "On this page", 1, "prism-jsdoc-api-page__toc"], [1, "prism-jsdoc-api-page__toc-title"], ["type", "button", 1, "prism-jsdoc-api-page__toc-link", 3, "prism-jsdoc-api-page__toc-link--sub", "prism-jsdoc-api-page__toc-link--active", "title"], ["type", "button", 1, "prism-jsdoc-api-page__ref"], ["type", "button", 1, "prism-jsdoc-api-page__ref", 3, "click"], [3, "innerHTML"], [1, "prism-jsdoc-panel__since-sep"], [1, "prism-jsdoc-panel__since"], [1, "prism-jsdoc-api-page__param"], [1, "prism-jsdoc-api-page__param-doc", 3, "innerHTML"], [1, "prism-jsdoc-panel__meta-item"], [1, "prism-jsdoc-panel__meta-label"], [1, "prism-jsdoc-panel__table", "prism-jsdoc-api-page__table"], [3, "prism-jsdoc-panel__row--deprecated"], [1, "prism-jsdoc-panel__cell--name"], [1, "prism-jsdoc-panel__badge", "prism-jsdoc-panel__badge--required", "prism-jsdoc-panel__badge--small"], [1, "prism-jsdoc-panel__badge", "prism-jsdoc-panel__badge--small", "prism-jsdoc-api-page__readonly"], [1, "prism-jsdoc-panel__badge", "prism-jsdoc-panel__badge--deprecated", "prism-jsdoc-panel__badge--small"], [1, "prism-jsdoc-panel__cell--type"], [1, "prism-jsdoc-panel__cell--default", "prism-jsdoc-api-page__default"], [1, "prism-jsdoc-panel__cell--doc"], [1, "prism-jsdoc-panel__muted"], [3, "highlight", "language"], [1, "prism-jsdoc-panel__badge", "prism-jsdoc-panel__badge--deprecated"], ["x", "9", "y", "9", "width", "13", "height", "13", "rx", "2"], ["d", "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"], ["data-toc-id", "setup", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], [1, "prism-jsdoc-api-page__setup"], [1, "prism-jsdoc-api-page__sig"], [1, "prism-jsdoc-api-page__fn"], [1, "prism-jsdoc-panel__description", "prism-jsdoc-api-page__lead", 3, "innerHTML"], [1, "prism-jsdoc-api-page__params"], ["data-toc-id", "examples", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], ["data-toc-id", "inputs", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], ["data-toc-id", "outputs", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], ["data-toc-id", "properties", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], [1, "prism-jsdoc-panel__cell--default"], ["data-toc-id", "methods", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], ["data-toc-id", "transform", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], ["data-toc-id", "types", 1, "prism-jsdoc-panel__heading", "prism-jsdoc-api-page__heading"], [1, "prism-jsdoc-api-page__type", 3, "prism-jsdoc-api-page__type--highlighted"], [1, "prism-jsdoc-api-page__type"], [1, "prism-jsdoc-api-page__type-head"], [1, "prism-jsdoc-api-page__type-name"], [1, "prism-jsdoc-api-page__kind"], [1, "prism-jsdoc-api-page__reached"], [1, "prism-jsdoc-panel__meta", "prism-jsdoc-api-page__type-meta"], [1, "prism-jsdoc-api-page__union"], [1, "prism-jsdoc-api-page__alias"], [1, "prism-jsdoc-api-page__union-bar"], ["type", "button", 1, "prism-jsdoc-api-page__toc-link", 3, "click", "title"]], template: function JsDocApiPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1369
|
+
i0.ɵɵtemplate(0, JsDocApiPageComponent_ng_template_0_Template, 2, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, JsDocApiPageComponent_ng_template_2_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(4, JsDocApiPageComponent_ng_template_4_Template, 2, 0, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(6, JsDocApiPageComponent_ng_template_6_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(8, JsDocApiPageComponent_ng_template_8_Template, 13, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor)(10, JsDocApiPageComponent_ng_template_10_Template, 13, 2, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor)(12, JsDocApiPageComponent_ng_template_12_Template, 2, 0, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
1370
|
+
i0.ɵɵelementStart(14, "div", 7)(15, "div", 8);
|
|
1371
|
+
i0.ɵɵconditionalCreate(16, JsDocApiPageComponent_Conditional_16_Template, 1, 1, "div", 9);
|
|
1372
|
+
i0.ɵɵelementStart(17, "div", 10);
|
|
1373
|
+
i0.ɵɵrepeaterCreate(18, JsDocApiPageComponent_For_19_Template, 3, 1, null, null, _forTrack0);
|
|
1374
|
+
i0.ɵɵtemplate(20, JsDocApiPageComponent_ng_container_20_Template, 1, 0, "ng-container", 11);
|
|
1375
|
+
i0.ɵɵelementEnd();
|
|
1376
|
+
i0.ɵɵelementStart(21, "section", 12)(22, "h3", 13);
|
|
1377
|
+
i0.ɵɵtext(23, " Usage ");
|
|
1378
|
+
i0.ɵɵelementStart(24, "small", 14);
|
|
1379
|
+
i0.ɵɵtext(25, "generated");
|
|
1380
|
+
i0.ɵɵelementEnd()();
|
|
1381
|
+
i0.ɵɵelementStart(26, "div", 15)(27, "pre", 16);
|
|
1382
|
+
i0.ɵɵelement(28, "code", 17);
|
|
1383
|
+
i0.ɵɵelementEnd();
|
|
1384
|
+
i0.ɵɵelementStart(29, "button", 18);
|
|
1385
|
+
i0.ɵɵlistener("click", function JsDocApiPageComponent_Template_button_click_29_listener() { return ctx.copyUsage(); });
|
|
1386
|
+
i0.ɵɵnamespaceSVG();
|
|
1387
|
+
i0.ɵɵelementStart(30, "svg", 19);
|
|
1388
|
+
i0.ɵɵconditionalCreate(31, JsDocApiPageComponent_Conditional_31_Template, 1, 0, ":svg:path", 20)(32, JsDocApiPageComponent_Conditional_32_Template, 2, 0);
|
|
1389
|
+
i0.ɵɵelementEnd()()()();
|
|
1390
|
+
i0.ɵɵconditionalCreate(33, JsDocApiPageComponent_Conditional_33_Template, 5, 0, "section", 12);
|
|
1391
|
+
i0.ɵɵconditionalCreate(34, JsDocApiPageComponent_Conditional_34_Template, 6, 4, "section", 12);
|
|
1392
|
+
i0.ɵɵconditionalCreate(35, JsDocApiPageComponent_Conditional_35_Template, 17, 0, "section", 12);
|
|
1393
|
+
i0.ɵɵconditionalCreate(36, JsDocApiPageComponent_Conditional_36_Template, 15, 2, "section", 12);
|
|
1394
|
+
i0.ɵɵconditionalCreate(37, JsDocApiPageComponent_Conditional_37_Template, 17, 0, "section", 12);
|
|
1395
|
+
i0.ɵɵconditionalCreate(38, JsDocApiPageComponent_Conditional_38_Template, 4, 4, "section", 12);
|
|
1396
|
+
i0.ɵɵconditionalCreate(39, JsDocApiPageComponent_Conditional_39_Template, 4, 4, "section", 12);
|
|
1397
|
+
i0.ɵɵconditionalCreate(40, JsDocApiPageComponent_Conditional_40_Template, 7, 0, "section", 12);
|
|
1398
|
+
i0.ɵɵelementEnd();
|
|
1399
|
+
i0.ɵɵnamespaceHTML();
|
|
1400
|
+
i0.ɵɵelementStart(41, "nav", 21)(42, "div", 22);
|
|
1401
|
+
i0.ɵɵtext(43, "On this page");
|
|
1402
|
+
i0.ɵɵelementEnd();
|
|
1403
|
+
i0.ɵɵrepeaterCreate(44, JsDocApiPageComponent_For_45_Template, 2, 7, "button", 23, _forTrack1);
|
|
1404
|
+
i0.ɵɵelementEnd()();
|
|
1405
|
+
} if (rf & 2) {
|
|
1406
|
+
let tmp_7_0;
|
|
1407
|
+
const seeChips_r43 = i0.ɵɵreference(7);
|
|
1408
|
+
i0.ɵɵadvance(16);
|
|
1409
|
+
i0.ɵɵconditional((tmp_7_0 = ctx.renderedDescription()) ? 16 : -1, tmp_7_0);
|
|
1410
|
+
i0.ɵɵadvance(2);
|
|
1411
|
+
i0.ɵɵrepeater(ctx.page().chips);
|
|
1412
|
+
i0.ɵɵadvance(2);
|
|
1413
|
+
i0.ɵɵproperty("ngTemplateOutlet", seeChips_r43)("ngTemplateOutletContext", i0.ɵɵpureFunction1(15, _c0, ctx.page().see));
|
|
1414
|
+
i0.ɵɵadvance(8);
|
|
1415
|
+
i0.ɵɵproperty("highlight", ctx.page().usage);
|
|
1416
|
+
i0.ɵɵadvance();
|
|
1417
|
+
i0.ɵɵproperty("title", ctx.copied() ? "Copied" : "Copy usage");
|
|
1418
|
+
i0.ɵɵattribute("aria-label", ctx.copied() ? "Copied" : "Copy usage");
|
|
1419
|
+
i0.ɵɵadvance(2);
|
|
1420
|
+
i0.ɵɵconditional(ctx.copied() ? 31 : 32);
|
|
1421
|
+
i0.ɵɵadvance(2);
|
|
1422
|
+
i0.ɵɵconditional(ctx.page().setup.length ? 33 : -1);
|
|
1423
|
+
i0.ɵɵadvance();
|
|
1424
|
+
i0.ɵɵconditional(ctx.page().examples.length ? 34 : -1);
|
|
1425
|
+
i0.ɵɵadvance();
|
|
1426
|
+
i0.ɵɵconditional(ctx.inputs().length ? 35 : -1);
|
|
1427
|
+
i0.ɵɵadvance();
|
|
1428
|
+
i0.ɵɵconditional(ctx.outputs().length ? 36 : -1);
|
|
1429
|
+
i0.ɵɵadvance();
|
|
1430
|
+
i0.ɵɵconditional(ctx.serviceProperties().length ? 37 : -1);
|
|
1431
|
+
i0.ɵɵadvance();
|
|
1432
|
+
i0.ɵɵconditional(ctx.pageMethods().length ? 38 : -1);
|
|
1433
|
+
i0.ɵɵadvance();
|
|
1434
|
+
i0.ɵɵconditional(ctx.transformSignatures().length ? 39 : -1);
|
|
1435
|
+
i0.ɵɵadvance();
|
|
1436
|
+
i0.ɵɵconditional(ctx.page().types.length ? 40 : -1);
|
|
1437
|
+
i0.ɵɵadvance(4);
|
|
1438
|
+
i0.ɵɵrepeater(ctx.toc());
|
|
1439
|
+
} }, dependencies: [Highlight, NgTemplateOutlet], 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}", "\n\n\n\n[_nghost-%COMP%] {\n container-type: inline-size;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n [_nghost-%COMP%] {\n scroll-behavior: smooth;\n }\n}\n\n.prism-jsdoc-api-page[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 880px) 200px;\n gap: 32px;\n align-items: start;\n padding: 20px 24px 60px;\n font-family: var(--%NS%font-sans);\n font-size: var(--%NS%fs-md);\n color: var(--%NS%prism-text);\n}\n\n\n\n\n.prism-jsdoc-panel__section[_ngcontent-%COMP%] + .prism-jsdoc-panel__section[_ngcontent-%COMP%] {\n margin-top: 36px;\n}\n\n.prism-jsdoc-api-page__heading[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n align-items: center;\n padding-bottom: 8px;\n margin-bottom: 14px;\n color: var(--%NS%prism-text);\n border-bottom: 1px solid color-mix(in srgb, var(--%NS%prism-primary) 50%, transparent);\n}\n\n.prism-jsdoc-api-page__heading-note[_ngcontent-%COMP%] {\n font-size: 11px;\n font-weight: 500;\n color: var(--%NS%prism-text-muted);\n text-transform: none;\n letter-spacing: 0.02em;\n}\n\n\n\n.prism-jsdoc-api-page__usage[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.prism-jsdoc-api-page__usage[_ngcontent-%COMP%] .prism-jsdoc-panel__code[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n padding: 10px 40px 10px 12px;\n line-height: 1.6;\n}\n\n.prism-jsdoc-api-page__copy[_ngcontent-%COMP%] {\n position: absolute;\n top: 6px;\n right: 6px;\n display: grid;\n place-items: center;\n width: 24px;\n height: 24px;\n padding: 0;\n color: var(--%NS%prism-text-muted);\n cursor: pointer;\n background: var(--%NS%prism-bg-elevated);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 5px;\n}\n\n.prism-jsdoc-api-page__copy[_ngcontent-%COMP%]:hover {\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-api-page__copy[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n width: 12px;\n height: 12px;\n fill: none;\n stroke: currentcolor;\n stroke-width: 2;\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n\n\n.prism-jsdoc-api-page__setup[_ngcontent-%COMP%] + .prism-jsdoc-api-page__setup[_ngcontent-%COMP%] {\n margin-top: 16px;\n}\n\n.prism-jsdoc-api-page__sig[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n align-items: center;\n padding: 8px 12px;\n margin: 0 0 8px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n color: var(--%NS%prism-text);\n background: var(--%NS%prism-input-bg);\n border: 1px solid var(--%NS%prism-border);\n border-left: 2px solid var(--%NS%prism-primary);\n border-radius: 8px;\n}\n\n.prism-jsdoc-api-page__sig[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n font-family: inherit;\n}\n\n.prism-jsdoc-api-page__fn[_ngcontent-%COMP%] {\n color: var(--%NS%prism-code-tag);\n}\n\n\n\n\n\n.prism-jsdoc-api-page__lead[_ngcontent-%COMP%] {\n margin: 0 0 10px;\n font-size: var(--%NS%fs-md);\n line-height: 1.6;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-api-page__lead p {\n line-height: 1.6;\n}\n\n.prism-jsdoc-api-page__table[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n\n\n.prism-jsdoc-api-page__readonly[_ngcontent-%COMP%] {\n color: var(--%NS%prism-text-muted);\n}\n\n\n.prism-jsdoc-api-page__default[_ngcontent-%COMP%] {\n white-space: nowrap;\n}\n\n\n\n.prism-jsdoc-api-page__param[_ngcontent-%COMP%] + .prism-jsdoc-api-page__param[_ngcontent-%COMP%] {\n margin-top: 6px;\n}\n\n.prism-jsdoc-api-page__param-doc[_ngcontent-%COMP%] {\n margin-top: 3px;\n font-size: var(--%NS%fs-sm);\n line-height: 1.45;\n color: var(--%NS%prism-text-muted);\n}\n\n[_nghost-%COMP%] .prism-jsdoc-api-page__param-doc code {\n font-family: var(--%NS%font-mono);\n font-size: 0.95em;\n color: var(--%NS%prism-text-2);\n}\n\n\n.prism-jsdoc-api-page__params[_ngcontent-%COMP%] {\n margin: 0 0 10px;\n}\n\n.prism-jsdoc-api-page__params[_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\n\n\n.prism-jsdoc-api-page__ref[_ngcontent-%COMP%], \n[_nghost-%COMP%] .prism-jsdoc-api-page__ref {\n padding: 0;\n font: inherit;\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 cursor: pointer;\n background: none;\n border: 0;\n}\n\n.prism-jsdoc-api-page__ref[_ngcontent-%COMP%]:hover, \n[_nghost-%COMP%] .prism-jsdoc-api-page__ref:hover {\n text-decoration-color: var(--%NS%prism-link);\n}\n\n.prism-jsdoc-api-page__ref[_ngcontent-%COMP%]:focus-visible, \n[_nghost-%COMP%] .prism-jsdoc-api-page__ref:focus-visible {\n outline: 2px solid var(--%NS%prism-link);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n\n[_nghost-%COMP%] .prism-jsdoc-panel__badge--deprecated code {\n font-family: var(--%NS%font-mono);\n font-size: 0.95em;\n color: inherit;\n}\n\n[_nghost-%COMP%] .prism-jsdoc-panel__badge--deprecated a {\n color: inherit;\n text-decoration: underline;\n}\n\n\n\n.prism-jsdoc-api-page__type[_ngcontent-%COMP%] {\n padding: 12px 14px 6px;\n margin-bottom: 12px;\n background: color-mix(in srgb, var(--%NS%prism-bg-surface) 60%, transparent);\n border: 1px solid var(--%NS%prism-border);\n border-radius: 10px;\n transition:\n border-color 0.3s var(--%NS%ease-default),\n box-shadow 0.3s var(--%NS%ease-default);\n}\n\n.prism-jsdoc-api-page__type--highlighted[_ngcontent-%COMP%] {\n border-color: color-mix(in srgb, var(--%NS%prism-primary) 60%, transparent);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--%NS%prism-primary) 22%, transparent);\n}\n\n.prism-jsdoc-api-page__type-head[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n align-items: center;\n margin-bottom: 6px;\n}\n\n.prism-jsdoc-api-page__type-name[_ngcontent-%COMP%] {\n font-family: var(--%NS%font-mono);\n font-size: 13px;\n font-weight: 500;\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-api-page__kind[_ngcontent-%COMP%] {\n padding: 1px 5px;\n font-size: 9.5px;\n font-weight: 700;\n color: var(--%NS%prism-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.06em;\n border: 1px solid var(--%NS%prism-border-strong);\n border-radius: 3px;\n}\n\n.prism-jsdoc-api-page__reached[_ngcontent-%COMP%] {\n margin-left: auto;\n font-size: 11px;\n color: var(--%NS%prism-text-muted);\n}\n\n.prism-jsdoc-api-page__reached[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n font-family: var(--%NS%font-mono);\n font-size: 10.5px;\n color: var(--%NS%prism-text-2);\n}\n\n.prism-jsdoc-api-page__type[_ngcontent-%COMP%] .prism-jsdoc-api-page__lead[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n\n.prism-jsdoc-api-page__type-meta[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n\n.prism-jsdoc-api-page__union[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n column-gap: 0.6em;\n margin: 0 0 8px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n line-height: 1.7;\n color: var(--%NS%prism-code-str);\n}\n\n.prism-jsdoc-api-page__union-bar[_ngcontent-%COMP%] {\n color: var(--%NS%prism-text-ghost);\n}\n\n.prism-jsdoc-api-page__alias[_ngcontent-%COMP%] {\n margin: 0 0 8px;\n font-family: var(--%NS%font-mono);\n font-size: var(--%NS%fs-sm);\n line-height: 1.7;\n color: var(--%NS%prism-text-2);\n}\n\n.prism-jsdoc-api-page__alias[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n font-family: inherit;\n}\n\n\n\n.prism-jsdoc-api-page__toc[_ngcontent-%COMP%] {\n position: sticky;\n top: 20px;\n max-height: calc(100vh - 120px);\n padding-left: 14px;\n overflow-y: auto;\n font-size: 12px;\n border-left: 1px solid var(--%NS%prism-border);\n}\n\n.prism-jsdoc-api-page__toc-title[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n font-size: 10.5px;\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-api-page__toc-link[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n padding: 3px 0;\n overflow: hidden;\n text-overflow: ellipsis;\n font: inherit;\n color: var(--%NS%prism-text-muted);\n text-align: left;\n white-space: nowrap;\n cursor: pointer;\n background: none;\n border: 0;\n}\n\n.prism-jsdoc-api-page__toc-link[_ngcontent-%COMP%]:hover {\n color: var(--%NS%prism-text);\n}\n\n.prism-jsdoc-api-page__toc-link--active[_ngcontent-%COMP%] {\n font-weight: 500;\n color: var(--%NS%prism-primary);\n}\n\n.prism-jsdoc-api-page__toc-link--sub[_ngcontent-%COMP%] {\n padding-left: 12px;\n font-family: var(--%NS%font-mono);\n font-size: 11px;\n}\n\n\n@container (max-width: 760px) {\n .prism-jsdoc-api-page[_ngcontent-%COMP%] {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .prism-jsdoc-api-page__toc[_ngcontent-%COMP%] {\n display: none;\n }\n}"] });
|
|
1440
|
+
}
|
|
1441
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsDocApiPageComponent, [{
|
|
1442
|
+
type: Component,
|
|
1443
|
+
args: [{ selector: 'prism-jsdoc-api-page', standalone: true, imports: [Highlight, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1444
|
+
'[attr.data-prism-service-rendered]': "kind() === 'service' ? className() : null",
|
|
1445
|
+
'[attr.data-prism-pipe-rendered]': "kind() === 'pipe' ? className() : null",
|
|
1446
|
+
'[attr.data-prism-component-rendered]': "kind() === 'component' || kind() === 'directive' ? className() : null",
|
|
1447
|
+
'(click)': 'onHostClick($event)'
|
|
1448
|
+
}, template: "<!-- A type as written. Every piece sits in its own element: a bare text node\n keeps the whitespace around its interpolation, which would put spaces\n into `ToastRef[]`. -->\n<ng-template\n #typeText\n let-segments>\n @for (segment of segments; track $index) {\n @if (segment.link) {\n <button\n type=\"button\"\n class=\"prism-jsdoc-api-page__ref\"\n (click)=\"goTo(segment.link)\">\n {{ segment.text }}\n </button>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n</ng-template>\n\n<ng-template\n #docCell\n let-description\n let-tags=\"tags\">\n @if (description) {\n <span [innerHTML]=\"renderInline(description)\"></span>\n }\n @if (tags.since; as since) {\n @if (description) {\n <span class=\"prism-jsdoc-panel__since-sep\"> \u00B7 </span>\n }\n <span class=\"prism-jsdoc-panel__since\">Since {{ since }}</span>\n }\n</ng-template>\n\n<!-- Parameters as declared, default included, each with its @param text under it. -->\n<ng-template\n #paramList\n let-params>\n @for (param of params; track param.name) {\n <div class=\"prism-jsdoc-api-page__param\">\n <code><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: declaredParamSegmentsOf(param) }\" /></code>\n @if (param.description) {\n <div\n class=\"prism-jsdoc-api-page__param-doc\"\n [innerHTML]=\"renderInline(param.description)\"></div>\n }\n </div>\n }\n</ng-template>\n\n<ng-template\n #seeChips\n let-refs>\n @for (ref of refs; track $index) {\n @let anchor = seeTarget(ref);\n <span class=\"prism-jsdoc-panel__meta-item\">\n <span class=\"prism-jsdoc-panel__meta-label\">See:</span>\n @if (anchor) {\n <button\n type=\"button\"\n class=\"prism-jsdoc-api-page__ref\"\n (click)=\"goTo(anchor)\">\n {{ ref }}\n </button>\n } @else {\n {{ ref }}\n }\n </span>\n }\n</ng-template>\n\n<ng-template\n #propertyTable\n let-properties\n let-label=\"label\"\n let-defaults=\"defaults\"\n let-owner=\"owner\">\n <table class=\"prism-jsdoc-panel__table prism-jsdoc-api-page__table\">\n <thead>\n <tr>\n <th>{{ label }}</th>\n <th>Type</th>\n @if (defaults) {\n <th>Default</th>\n }\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (property of properties; track property.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isDeprecated(property.tags)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ property.name }}</code>\n @if (isRequired(property, owner)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--required prism-jsdoc-panel__badge--small\">required</span>\n }\n @if (property.readonly) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--small prism-jsdoc-api-page__readonly\">readonly</span>\n }\n @if (isDeprecated(property.tags)) {\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><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: segmentsOf(property.type) }\" /></code>\n </td>\n @if (defaults) {\n <td class=\"prism-jsdoc-panel__cell--default prism-jsdoc-api-page__default\">\n @if (property.tags.default; as value) {\n <code>{{ value }}</code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n }\n <td class=\"prism-jsdoc-panel__cell--doc\">\n <ng-container *ngTemplateOutlet=\"docCell; context: { $implicit: property.description, tags: property.tags }\" />\n </td>\n </tr>\n }\n </tbody>\n </table>\n</ng-template>\n\n<!-- Tracked by position: the overloads of a pipe's transform share one name. -->\n<ng-template\n #methodTable\n let-methods\n let-label=\"label\"\n let-params=\"params\">\n <table class=\"prism-jsdoc-panel__table prism-jsdoc-api-page__table\">\n <thead>\n <tr>\n <th>{{ label }}</th>\n @if (params) {\n <th>Parameters</th>\n }\n <th>Returns</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (method of methods; track $index) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isDeprecated(method.tags)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ method.name }}()</code>\n @if (isDeprecated(method.tags)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">deprecated</span>\n }\n </td>\n @if (params) {\n <td class=\"prism-jsdoc-panel__cell--type\">\n @if (method.params.length) {\n <ng-container *ngTemplateOutlet=\"paramList; context: { $implicit: method.params }\" />\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n }\n <td class=\"prism-jsdoc-panel__cell--type\">\n <code><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: segmentsOf(method.returnType) }\" /></code>\n </td>\n <td class=\"prism-jsdoc-panel__cell--doc\">\n <ng-container *ngTemplateOutlet=\"docCell; context: { $implicit: method.description, tags: method.tags }\" />\n </td>\n </tr>\n }\n </tbody>\n </table>\n</ng-template>\n\n<ng-template\n #exampleList\n let-examples>\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</ng-template>\n\n<div class=\"prism-jsdoc-api-page\">\n <div class=\"prism-jsdoc-api-page__content\">\n @if (renderedDescription(); as descHtml) {\n <div\n class=\"prism-jsdoc-panel__description\"\n [innerHTML]=\"descHtml\"></div>\n }\n <div class=\"prism-jsdoc-panel__meta\">\n @for (chip of page().chips; track chip.label) {\n @if (chip.deprecated) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated\">\n @if (chip.value) {\n <span>{{ chip.label }}: <span [innerHTML]=\"renderInline(chip.value)\"></span></span>\n } @else {\n {{ chip.label }}\n }\n </span>\n } @else if (chip.value) {\n <span class=\"prism-jsdoc-panel__meta-item\">\n <span class=\"prism-jsdoc-panel__meta-label\">{{ chip.label }}:</span>\n {{ chip.value }}\n </span>\n } @else {\n <span class=\"prism-jsdoc-panel__meta-item\">{{ chip.label }}</span>\n }\n }\n <ng-container *ngTemplateOutlet=\"seeChips; context: { $implicit: page().see }\" />\n </div>\n\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"usage\">\n Usage\n <small class=\"prism-jsdoc-api-page__heading-note\">generated</small>\n </h3>\n <div class=\"prism-jsdoc-api-page__usage\">\n <pre class=\"prism-jsdoc-panel__code\"><code [highlight]=\"page().usage\" language=\"typescript\"></code></pre>\n <button\n type=\"button\"\n class=\"prism-jsdoc-api-page__copy\"\n [attr.aria-label]=\"copied() ? 'Copied' : 'Copy usage'\"\n [title]=\"copied() ? 'Copied' : 'Copy usage'\"\n (click)=\"copyUsage()\">\n <svg\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n @if (copied()) {\n <path d=\"M20 6 9 17l-5-5\" />\n } @else {\n <rect\n x=\"9\"\n y=\"9\"\n width=\"13\"\n height=\"13\"\n rx=\"2\" />\n <path d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\" />\n }\n </svg>\n </button>\n </div>\n </section>\n\n @if (page().setup.length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"setup\">\n Setup\n </h3>\n @for (entry of page().setup; track entry.name) {\n <div class=\"prism-jsdoc-api-page__setup\">\n <div class=\"prism-jsdoc-api-page__sig\">\n <code\n ><span class=\"prism-jsdoc-api-page__fn\">{{ entry.name }}</span\n ><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: signatureOf(entry) }\"\n /></code>\n @if (isDeprecated(entry.tags)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">\n @if (deprecatedMessage(entry.tags); as message) {\n <span>deprecated: <span [innerHTML]=\"renderInline(message)\"></span></span>\n } @else {\n deprecated\n }\n </span>\n }\n </div>\n @if (renderBlock(entry.description); as html) {\n <div\n class=\"prism-jsdoc-panel__description prism-jsdoc-api-page__lead\"\n [innerHTML]=\"html\"></div>\n }\n @if (documentsParams(entry.params)) {\n <div class=\"prism-jsdoc-api-page__params\">\n <ng-container *ngTemplateOutlet=\"paramList; context: { $implicit: entry.params }\" />\n </div>\n }\n @if (entry.config?.length) {\n <ng-container *ngTemplateOutlet=\"propertyTable; context: { $implicit: entry.config, label: 'Option', defaults: true }\" />\n }\n <ng-container *ngTemplateOutlet=\"exampleList; context: { $implicit: entry.tags.example ?? [] }\" />\n </div>\n }\n </section>\n }\n\n @if (page().examples.length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"examples\">\n Examples\n <small class=\"prism-jsdoc-api-page__heading-note\">from @example</small>\n </h3>\n <ng-container *ngTemplateOutlet=\"exampleList; context: { $implicit: page().examples }\" />\n </section>\n }\n\n @if (inputs().length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"inputs\">\n Inputs\n </h3>\n <table class=\"prism-jsdoc-panel__table prism-jsdoc-api-page__table\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n <th>Default</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (input of inputs(); track input.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isDeprecated(input.tags)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ input.name }}</code>\n @if (input.required) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--required prism-jsdoc-panel__badge--small\">required</span>\n }\n @if (isDeprecated(input.tags)) {\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><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: segmentsOf(input.type) }\" /></code>\n </td>\n <td class=\"prism-jsdoc-panel__cell--default prism-jsdoc-api-page__default\">\n @if (input.defaultValue !== undefined) {\n <code>{{ input.defaultValue }}</code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--doc\">\n <ng-container *ngTemplateOutlet=\"docCell; context: { $implicit: input.description, tags: input.tags }\" />\n </td>\n </tr>\n }\n </tbody>\n </table>\n </section>\n }\n\n @if (outputs().length) {\n @let payloads = hasPayloads(outputs());\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"outputs\">\n Outputs\n </h3>\n <table class=\"prism-jsdoc-panel__table prism-jsdoc-api-page__table\">\n <thead>\n <tr>\n <th>Name</th>\n @if (payloads) {\n <th>Payload</th>\n }\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (output of outputs(); track output.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isDeprecated(output.tags)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ output.name }}</code>\n @if (isDeprecated(output.tags)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">deprecated</span>\n }\n </td>\n @if (payloads) {\n <td class=\"prism-jsdoc-panel__cell--type\">\n @if (output.payload; as payload) {\n <code><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: segmentsOf(payload) }\" /></code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n }\n <td class=\"prism-jsdoc-panel__cell--doc\">\n <ng-container *ngTemplateOutlet=\"docCell; context: { $implicit: output.description, tags: output.tags }\" />\n </td>\n </tr>\n }\n </tbody>\n </table>\n </section>\n }\n\n @if (serviceProperties().length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"properties\">\n Properties\n </h3>\n <table class=\"prism-jsdoc-panel__table prism-jsdoc-api-page__table\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n <th>Readonly</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (property of serviceProperties(); track property.name) {\n <tr [class.prism-jsdoc-panel__row--deprecated]=\"isDeprecated(property.tags)\">\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ property.name }}</code>\n @if (isDeprecated(property.tags)) {\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><ng-container *ngTemplateOutlet=\"typeText; context: { $implicit: segmentsOf(property.type) }\" /></code>\n </td>\n <td class=\"prism-jsdoc-panel__cell--default\">\n @if (property.readonly) {\n <code>readonly</code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n <td class=\"prism-jsdoc-panel__cell--doc\">\n <ng-container *ngTemplateOutlet=\"docCell; context: { $implicit: property.description, tags: property.tags }\" />\n </td>\n </tr>\n }\n </tbody>\n </table>\n </section>\n }\n\n @if (pageMethods().length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"methods\">\n Methods\n </h3>\n <ng-container *ngTemplateOutlet=\"methodTable; context: { $implicit: pageMethods(), label: 'Name', params: true }\" />\n </section>\n }\n\n @if (transformSignatures().length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"transform\">\n Transform\n </h3>\n <ng-container *ngTemplateOutlet=\"methodTable; context: { $implicit: transformSignatures(), label: 'Name', params: true }\" />\n </section>\n }\n\n @if (page().types.length) {\n <section class=\"prism-jsdoc-panel__section\">\n <h3\n class=\"prism-jsdoc-panel__heading prism-jsdoc-api-page__heading\"\n data-toc-id=\"types\">\n Types\n <small class=\"prism-jsdoc-api-page__heading-note\">reached from the signatures above</small>\n </h3>\n @for (type of page().types; track type.id) {\n @let anchor = typeAnchor(type.id);\n @let properties = type.properties ?? [];\n @let methods = type.methods ?? [];\n <div\n class=\"prism-jsdoc-api-page__type\"\n [class.prism-jsdoc-api-page__type--highlighted]=\"highlightedId() === anchor\"\n [attr.data-toc-id]=\"anchor\">\n <div class=\"prism-jsdoc-api-page__type-head\">\n <span class=\"prism-jsdoc-api-page__type-name\">{{ type.name }}</span>\n <span class=\"prism-jsdoc-api-page__kind\">{{ type.kind }}</span>\n @if (isDeprecated(type.tags)) {\n <span class=\"prism-jsdoc-panel__badge prism-jsdoc-panel__badge--deprecated prism-jsdoc-panel__badge--small\">deprecated</span>\n }\n @if (type.reachedFrom; as reachedFrom) {\n @let reached = splitReachedFrom(reachedFrom);\n <span class=\"prism-jsdoc-api-page__reached\">\n <span>{{ reached.text }}</span>\n @if (reached.code) {\n <code>{{ reached.code }}</code>\n }\n </span>\n }\n </div>\n @if (renderBlock(type.description); as html) {\n <div\n class=\"prism-jsdoc-panel__description prism-jsdoc-api-page__lead\"\n [innerHTML]=\"html\"></div>\n }\n @if (type.tags.see?.length) {\n <div class=\"prism-jsdoc-panel__meta prism-jsdoc-api-page__type-meta\">\n <ng-container *ngTemplateOutlet=\"seeChips; context: { $implicit: type.tags.see }\" />\n </div>\n }\n @if (properties.length) {\n <ng-container\n *ngTemplateOutlet=\"\n propertyTable;\n context: { $implicit: properties, label: 'Property', defaults: hasDefaults(properties), owner: type }\n \" />\n }\n @if (methods.length) {\n <ng-container *ngTemplateOutlet=\"methodTable; context: { $implicit: methods, label: 'Method', params: hasParams(methods) }\" />\n }\n @if (type.union?.length) {\n <p class=\"prism-jsdoc-api-page__union\">\n @for (member of type.union; track $index) {\n @if (!$first) {\n <span class=\"prism-jsdoc-api-page__union-bar\">|</span>\n }\n <span>{{ member }}</span>\n }\n </p>\n }\n @if (type.text) {\n <p class=\"prism-jsdoc-api-page__alias\">\n <code>{{ type.text }}</code>\n </p>\n }\n @if (type.members?.length) {\n <table class=\"prism-jsdoc-panel__table prism-jsdoc-api-page__table\">\n <thead>\n <tr>\n <th>Member</th>\n @if (hasValues(type)) {\n <th>Value</th>\n }\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n @for (member of type.members; track member.name) {\n <tr>\n <td class=\"prism-jsdoc-panel__cell--name\">\n <code>{{ member.name }}</code>\n </td>\n @if (hasValues(type)) {\n <td class=\"prism-jsdoc-panel__cell--default\">\n @if (member.value !== undefined) {\n <code>{{ member.value }}</code>\n } @else {\n <span class=\"prism-jsdoc-panel__muted\">\u2014</span>\n }\n </td>\n }\n <td class=\"prism-jsdoc-panel__cell--doc\">\n @if (member.description) {\n <span [innerHTML]=\"renderInline(member.description)\"></span>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n }\n </div>\n }\n </section>\n }\n </div>\n\n <nav\n class=\"prism-jsdoc-api-page__toc\"\n aria-label=\"On this page\">\n <div class=\"prism-jsdoc-api-page__toc-title\">On this page</div>\n @for (entry of toc(); track entry.id) {\n <button\n type=\"button\"\n class=\"prism-jsdoc-api-page__toc-link\"\n [class.prism-jsdoc-api-page__toc-link--sub]=\"entry.level === 2\"\n [class.prism-jsdoc-api-page__toc-link--active]=\"activeId() === entry.id\"\n [attr.aria-current]=\"activeId() === entry.id ? 'location' : null\"\n [title]=\"entry.label\"\n (click)=\"goTo(entry.id)\">\n {{ entry.label }}\n </button>\n }\n </nav>\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/* 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", "/* The panel stylesheet comes first in styleUrls: it supplies the shared look\n (description, meta chips, headings, code blocks, tables, badges) and makes\n :host the scroll container (display: block, height: 100%, overflow: auto).\n This file adds the layout and the parts only the API page has. */\n:host {\n container-type: inline-size;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host {\n scroll-behavior: smooth;\n }\n}\n\n.prism-jsdoc-api-page {\n display: grid;\n grid-template-columns: minmax(0, 880px) 200px;\n gap: 32px;\n align-items: start;\n padding: 20px 24px 60px;\n font-family: var(--font-sans);\n font-size: var(--fs-md);\n color: var(--prism-text);\n}\n\n/* Each section opens with its heading over a rule in the primary colour,\n which no table or card border on the page has, so the rule reads as a\n section break. 36px between sections, collapsed with the heading's margin. */\n.prism-jsdoc-panel__section + .prism-jsdoc-panel__section {\n margin-top: 36px;\n}\n\n.prism-jsdoc-api-page__heading {\n display: flex;\n gap: 8px;\n align-items: center;\n padding-bottom: 8px;\n margin-bottom: 14px;\n color: var(--prism-text);\n border-bottom: 1px solid color-mix(in srgb, var(--prism-primary) 50%, transparent);\n}\n\n.prism-jsdoc-api-page__heading-note {\n font-size: 11px;\n font-weight: 500;\n color: var(--prism-text-muted);\n text-transform: none;\n letter-spacing: 0.02em;\n}\n\n/* \u2500\u2500\u2500\u2500 Usage \u2500\u2500\u2500\u2500 */\n\n.prism-jsdoc-api-page__usage {\n position: relative;\n}\n\n.prism-jsdoc-api-page__usage .prism-jsdoc-panel__code code {\n padding: 10px 40px 10px 12px;\n line-height: 1.6;\n}\n\n.prism-jsdoc-api-page__copy {\n position: absolute;\n top: 6px;\n right: 6px;\n display: grid;\n place-items: center;\n width: 24px;\n height: 24px;\n padding: 0;\n color: var(--prism-text-muted);\n cursor: pointer;\n background: var(--prism-bg-elevated);\n border: 1px solid var(--prism-border);\n border-radius: 5px;\n}\n\n.prism-jsdoc-api-page__copy:hover {\n color: var(--prism-text);\n}\n\n.prism-jsdoc-api-page__copy svg {\n width: 12px;\n height: 12px;\n fill: none;\n stroke: currentcolor;\n stroke-width: 2;\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n/* \u2500\u2500\u2500\u2500 Setup \u2500\u2500\u2500\u2500 */\n\n.prism-jsdoc-api-page__setup + .prism-jsdoc-api-page__setup {\n margin-top: 16px;\n}\n\n.prism-jsdoc-api-page__sig {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n align-items: center;\n padding: 8px 12px;\n margin: 0 0 8px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n color: var(--prism-text);\n background: var(--prism-input-bg);\n border: 1px solid var(--prism-border);\n border-left: 2px solid var(--prism-primary);\n border-radius: 8px;\n}\n\n.prism-jsdoc-api-page__sig code {\n font-family: inherit;\n}\n\n.prism-jsdoc-api-page__fn {\n color: var(--prism-code-tag);\n}\n\n/* A description under a signature or a type name: a lead, smaller than the\n page's own description. Comes after the panel stylesheet, so it wins over\n .prism-jsdoc-panel__description at the same specificity, and like the\n panel's Markdown rules it needs ::ng-deep to reach what [innerHTML] puts in. */\n.prism-jsdoc-api-page__lead {\n margin: 0 0 10px;\n font-size: var(--fs-md);\n line-height: 1.6;\n}\n\n:host ::ng-deep .prism-jsdoc-api-page__lead p {\n line-height: 1.6;\n}\n\n.prism-jsdoc-api-page__table {\n margin-bottom: 8px;\n}\n\n/* Next to the name in a type card or option table, where there is no Readonly column. */\n.prism-jsdoc-api-page__readonly {\n color: var(--prism-text-muted);\n}\n\n/* A default such as 'bottom-right' would otherwise break at its hyphen. */\n.prism-jsdoc-api-page__default {\n white-space: nowrap;\n}\n\n/* \u2500\u2500\u2500\u2500 Parameters \u2500\u2500\u2500\u2500 */\n\n.prism-jsdoc-api-page__param + .prism-jsdoc-api-page__param {\n margin-top: 6px;\n}\n\n.prism-jsdoc-api-page__param-doc {\n margin-top: 3px;\n font-size: var(--fs-sm);\n line-height: 1.45;\n color: var(--prism-text-muted);\n}\n\n:host ::ng-deep .prism-jsdoc-api-page__param-doc code {\n font-family: var(--font-mono);\n font-size: 0.95em;\n color: var(--prism-text-2);\n}\n\n/* Under a setup signature, outside a table: the code gets the look of a type cell. */\n.prism-jsdoc-api-page__params {\n margin: 0 0 10px;\n}\n\n.prism-jsdoc-api-page__params 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/* \u2500\u2500\u2500\u2500 Type links \u2500\u2500\u2500\u2500 */\n\n/* The second selector reaches the links inside rendered descriptions, which `[innerHTML]` brings in without this component's attribute. */\n.prism-jsdoc-api-page__ref,\n:host ::ng-deep .prism-jsdoc-api-page__ref {\n padding: 0;\n font: inherit;\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 cursor: pointer;\n background: none;\n border: 0;\n}\n\n.prism-jsdoc-api-page__ref:hover,\n:host ::ng-deep .prism-jsdoc-api-page__ref:hover {\n text-decoration-color: var(--prism-link);\n}\n\n.prism-jsdoc-api-page__ref:focus-visible,\n:host ::ng-deep .prism-jsdoc-api-page__ref:focus-visible {\n outline: 2px solid var(--prism-link);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n/* A deprecation message is rendered Markdown inside the badge: its code and links take the badge's colour, not the description's blue. */\n:host ::ng-deep .prism-jsdoc-panel__badge--deprecated code {\n font-family: var(--font-mono);\n font-size: 0.95em;\n color: inherit;\n}\n\n:host ::ng-deep .prism-jsdoc-panel__badge--deprecated a {\n color: inherit;\n text-decoration: underline;\n}\n\n/* \u2500\u2500\u2500\u2500 Type cards \u2500\u2500\u2500\u2500 */\n\n.prism-jsdoc-api-page__type {\n padding: 12px 14px 6px;\n margin-bottom: 12px;\n background: color-mix(in srgb, var(--prism-bg-surface) 60%, transparent);\n border: 1px solid var(--prism-border);\n border-radius: 10px;\n transition:\n border-color 0.3s var(--ease-default),\n box-shadow 0.3s var(--ease-default);\n}\n\n.prism-jsdoc-api-page__type--highlighted {\n border-color: color-mix(in srgb, var(--prism-primary) 60%, transparent);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--prism-primary) 22%, transparent);\n}\n\n.prism-jsdoc-api-page__type-head {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n align-items: center;\n margin-bottom: 6px;\n}\n\n.prism-jsdoc-api-page__type-name {\n font-family: var(--font-mono);\n font-size: 13px;\n font-weight: 500;\n color: var(--prism-text);\n}\n\n.prism-jsdoc-api-page__kind {\n padding: 1px 5px;\n font-size: 9.5px;\n font-weight: 700;\n color: var(--prism-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.06em;\n border: 1px solid var(--prism-border-strong);\n border-radius: 3px;\n}\n\n.prism-jsdoc-api-page__reached {\n margin-left: auto;\n font-size: 11px;\n color: var(--prism-text-muted);\n}\n\n.prism-jsdoc-api-page__reached code {\n font-family: var(--font-mono);\n font-size: 10.5px;\n color: var(--prism-text-2);\n}\n\n.prism-jsdoc-api-page__type .prism-jsdoc-api-page__lead {\n margin-bottom: 8px;\n}\n\n.prism-jsdoc-api-page__type-meta {\n margin-bottom: 8px;\n}\n\n.prism-jsdoc-api-page__union {\n display: flex;\n flex-wrap: wrap;\n column-gap: 0.6em;\n margin: 0 0 8px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n line-height: 1.7;\n color: var(--prism-code-str);\n}\n\n.prism-jsdoc-api-page__union-bar {\n color: var(--prism-text-ghost);\n}\n\n.prism-jsdoc-api-page__alias {\n margin: 0 0 8px;\n font-family: var(--font-mono);\n font-size: var(--fs-sm);\n line-height: 1.7;\n color: var(--prism-text-2);\n}\n\n.prism-jsdoc-api-page__alias code {\n font-family: inherit;\n}\n\n/* \u2500\u2500\u2500\u2500 On this page \u2500\u2500\u2500\u2500 */\n\n.prism-jsdoc-api-page__toc {\n position: sticky;\n top: 20px;\n max-height: calc(100vh - 120px);\n padding-left: 14px;\n overflow-y: auto;\n font-size: 12px;\n border-left: 1px solid var(--prism-border);\n}\n\n.prism-jsdoc-api-page__toc-title {\n margin-bottom: 8px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--prism-text-ghost);\n text-transform: uppercase;\n letter-spacing: 0.08em;\n}\n\n.prism-jsdoc-api-page__toc-link {\n display: block;\n width: 100%;\n padding: 3px 0;\n overflow: hidden;\n text-overflow: ellipsis;\n font: inherit;\n color: var(--prism-text-muted);\n text-align: left;\n white-space: nowrap;\n cursor: pointer;\n background: none;\n border: 0;\n}\n\n.prism-jsdoc-api-page__toc-link:hover {\n color: var(--prism-text);\n}\n\n.prism-jsdoc-api-page__toc-link--active {\n font-weight: 500;\n color: var(--prism-primary);\n}\n\n.prism-jsdoc-api-page__toc-link--sub {\n padding-left: 12px;\n font-family: var(--font-mono);\n font-size: 11px;\n}\n\n/* Too narrow for a second column: the list goes, the content keeps the width. */\n@container (max-width: 760px) {\n .prism-jsdoc-api-page {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .prism-jsdoc-api-page__toc {\n display: none;\n }\n}\n"] }]
|
|
1449
|
+
}], () => [], { page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: true }] }] }); })();
|
|
1450
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(JsDocApiPageComponent, { className: "JsDocApiPageComponent", filePath: "api-page/jsdoc-api-page.component.ts", lineNumber: 54 }); })();
|
|
1451
|
+
function memoize(fn) {
|
|
1452
|
+
const cache = new WeakMap();
|
|
1453
|
+
return (key) => {
|
|
1454
|
+
if (!cache.has(key))
|
|
1455
|
+
cache.set(key, fn(key));
|
|
1456
|
+
return cache.get(key);
|
|
1457
|
+
};
|
|
1458
|
+
}
|