@pie-players/pie-section-player 0.3.75 → 1.0.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 +845 -964
- package/custom-elements.json +3922 -0
- package/dist/browser/assets/{evaluation-worker-CORp9m0K.js → evaluation-worker-0xRDVTJx.js} +82215 -73234
- package/dist/browser/chunks/ToolCoordinator-0a6c4088.js +1 -0
- package/dist/browser/chunks/attribute-coercion-b93b482c.js +1 -0
- package/dist/browser/chunks/calculator-element-271c142f.js +8 -9
- package/dist/browser/chunks/catalog-context-46d3e50e.js +1 -1
- package/dist/browser/chunks/classPrivateFieldGet2-338e0179.js +1 -1
- package/dist/browser/chunks/classPrivateMethodInitSpec-563cd0a5.js +1 -0
- package/dist/browser/chunks/custom-element-define-2a92deb0.js +1 -0
- package/dist/browser/chunks/dist-41b39e7f.js +1 -1
- package/dist/browser/chunks/dist-ca9b9622.js +1 -1
- package/dist/browser/chunks/focus-trap-44913bf3.js +1 -1
- package/dist/browser/chunks/math-rendering-ready-9a0fd90a.js +1 -1
- package/dist/browser/chunks/mathjax-BKrHE4xs-3ca05bf6.js +1 -1
- package/dist/browser/chunks/nl-NL-364d61b9.js +1 -1
- package/dist/browser/chunks/nl-NL-8b7e6d4b.js +1 -1
- package/dist/browser/chunks/pie-api-client-687c319a.js +1 -1
- package/dist/browser/chunks/provider-4c704118.js +1 -1
- package/dist/browser/chunks/runtime-YFqnU6ic-d5c0cb49.js +8605 -0
- package/dist/browser/chunks/{src-BcptuNS5-ed25d7fd.js → src-D_1goyPT-8cca0246.js} +81 -82
- package/dist/browser/chunks/{sre-engine-jd8cc08x-42d270e5.js → sre-engine-bj997w4b-891a4cbe.js} +1 -1
- package/dist/browser/chunks/term-lookup-632cf6b1.js +1 -0
- package/dist/browser/chunks/tool-annotation-toolbar-997438b4.js +5 -5
- package/dist/browser/chunks/tool-answer-eliminator-35483abd.js +6 -6
- package/dist/browser/chunks/tool-color-scheme-b7de5cdf.js +5 -5
- package/dist/browser/chunks/tool-dictionary-cecff3b4.js +3 -3
- package/dist/browser/chunks/tool-graph-cb0338e8.js +6 -6
- package/dist/browser/chunks/tool-host-contract-fae1c415.js +1 -0
- package/dist/browser/chunks/tool-instance-id-76ac45e2.js +1 -0
- package/dist/browser/chunks/tool-line-reader-f8ef3c6a.js +3 -3
- package/dist/browser/chunks/tool-periodic-table-43b133b8.js +13 -16
- package/dist/browser/chunks/tool-picture-dictionary-33721e91.js +3 -3
- package/dist/browser/chunks/tool-protractor-23f77028.js +6 -6
- package/dist/browser/chunks/tool-ruler-1d9a03a6.js +12 -9
- package/dist/browser/chunks/tool-tts-inline-98c2ce7a.js +24 -30
- package/dist/browser/chunks/toolbar-registration-helpers-a7ab1ad4.js +194 -0
- package/dist/browser/pie-section-player.js +61 -65
- package/dist/chunks/nl-NL-364d61b9.js +34 -6
- package/dist/chunks/{sre-engine-jd8cc08x-42d270e5.js → sre-engine-bj997w4b-891a4cbe.js} +1 -1
- package/dist/component-definitions.d.ts +0 -2
- package/dist/components/shared/card-media-region.d.ts +3 -4
- package/dist/components/shared/framework-error-latch.d.ts +4 -2
- package/dist/components/shared/missing-tool-providers.d.ts +0 -6
- package/dist/components/shared/player-preload.d.ts +4 -9
- package/dist/components/shared/section-player-card-context.d.ts +0 -3
- package/dist/components/shared/section-player-host-runtime.d.ts +0 -2
- package/dist/components/shared/section-player-view-state.d.ts +0 -1
- package/dist/controllers/SectionController.d.ts +20 -6
- package/dist/pie-section-player.js +10987 -11045
- package/package.json +11 -9
- package/dist/browser/chunks/ToolCoordinator-cc2dc319.js +0 -1
- package/dist/browser/chunks/runtime-wcU7KOFU-ac86d7b8.js +0 -8536
- package/dist/browser/chunks/tool-host-contract-b93b482c.js +0 -1
- package/dist/browser/chunks/tool-instance-id-2a92deb0.js +0 -1
- package/dist/browser/chunks/tts-runtime-config-a7ab1ad4.js +0 -194
- /package/dist/browser/chunks/{ItemToolBar-jx38w99s-58defccc.js → ItemToolBar-66hcwmfw-3bcb82a3.js} +0 -0
- /package/dist/chunks/{ItemToolBar-jx38w99s-1287ba31.js → ItemToolBar-66hcwmfw-1287ba31.js} +0 -0
|
@@ -0,0 +1,3922 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "2.1.0",
|
|
3
|
+
"modules": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "javascript-module",
|
|
6
|
+
"path": "dist/pie-section-player.js",
|
|
7
|
+
"declarations": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "class",
|
|
10
|
+
"description": "Shell around a passage in a section player: it publishes the passage's identity and region to the tools inside it, registers the passage with the toolkit it sits in, and forwards the passage player's load and error events to that toolkit. The passage card renders it, naming the passage through `item-id`, `content-kind` and `item`.",
|
|
11
|
+
"name": "PassageShellElement",
|
|
12
|
+
"tagName": "pie-passage-shell",
|
|
13
|
+
"customElement": true,
|
|
14
|
+
"members": [
|
|
15
|
+
{
|
|
16
|
+
"kind": "field",
|
|
17
|
+
"name": "itemId",
|
|
18
|
+
"type": {
|
|
19
|
+
"text": "string"
|
|
20
|
+
},
|
|
21
|
+
"default": "\"\"",
|
|
22
|
+
"attribute": "item-id"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "field",
|
|
26
|
+
"name": "canonicalItemId",
|
|
27
|
+
"type": {
|
|
28
|
+
"text": "string"
|
|
29
|
+
},
|
|
30
|
+
"default": "\"\"",
|
|
31
|
+
"attribute": "canonical-item-id"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "field",
|
|
35
|
+
"name": "contentKind",
|
|
36
|
+
"type": {
|
|
37
|
+
"text": "string"
|
|
38
|
+
},
|
|
39
|
+
"default": "\"rubric-block-stimulus\"",
|
|
40
|
+
"attribute": "content-kind"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "field",
|
|
44
|
+
"name": "regionPolicy",
|
|
45
|
+
"type": {
|
|
46
|
+
"text": "string"
|
|
47
|
+
},
|
|
48
|
+
"default": "\"default\"",
|
|
49
|
+
"attribute": "region-policy"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"kind": "field",
|
|
53
|
+
"name": "scopeElement",
|
|
54
|
+
"type": {
|
|
55
|
+
"text": "HTMLElement | null"
|
|
56
|
+
},
|
|
57
|
+
"default": "null",
|
|
58
|
+
"attribute": "scopeelement"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "field",
|
|
62
|
+
"name": "ttsHighlightTargetResolver",
|
|
63
|
+
"type": {
|
|
64
|
+
"text": "TTSHighlightTargetResolver | null"
|
|
65
|
+
},
|
|
66
|
+
"default": "null",
|
|
67
|
+
"attribute": "ttshighlighttargetresolver"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "field",
|
|
71
|
+
"name": "item",
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "object"
|
|
74
|
+
},
|
|
75
|
+
"default": "null",
|
|
76
|
+
"attribute": "item"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"attributes": [
|
|
80
|
+
{
|
|
81
|
+
"name": "item-id",
|
|
82
|
+
"type": {
|
|
83
|
+
"text": "string"
|
|
84
|
+
},
|
|
85
|
+
"default": "\"\"",
|
|
86
|
+
"fieldName": "itemId"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "canonical-item-id",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "string"
|
|
92
|
+
},
|
|
93
|
+
"default": "\"\"",
|
|
94
|
+
"fieldName": "canonicalItemId"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "content-kind",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "string"
|
|
100
|
+
},
|
|
101
|
+
"default": "\"rubric-block-stimulus\"",
|
|
102
|
+
"fieldName": "contentKind"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "region-policy",
|
|
106
|
+
"type": {
|
|
107
|
+
"text": "string"
|
|
108
|
+
},
|
|
109
|
+
"default": "\"default\"",
|
|
110
|
+
"fieldName": "regionPolicy"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "scopeelement",
|
|
114
|
+
"type": {
|
|
115
|
+
"text": "HTMLElement | null"
|
|
116
|
+
},
|
|
117
|
+
"default": "null",
|
|
118
|
+
"fieldName": "scopeElement"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "ttshighlighttargetresolver",
|
|
122
|
+
"type": {
|
|
123
|
+
"text": "TTSHighlightTargetResolver | null"
|
|
124
|
+
},
|
|
125
|
+
"default": "null",
|
|
126
|
+
"fieldName": "ttsHighlightTargetResolver"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "item",
|
|
130
|
+
"type": {
|
|
131
|
+
"text": "object"
|
|
132
|
+
},
|
|
133
|
+
"default": "null",
|
|
134
|
+
"fieldName": "item"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"events": [
|
|
138
|
+
{
|
|
139
|
+
"name": "pie-register",
|
|
140
|
+
"type": {
|
|
141
|
+
"text": "CustomEvent<{ kind: \"passage\"; itemId: string; canonicalItemId?: string; contentKind?: string; item?: unknown; element: HTMLElement; runtimeId?: string }>"
|
|
142
|
+
},
|
|
143
|
+
"description": "When the shell registers its passage with the toolkit it sits in."
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "pie-unregister",
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "CustomEvent<{ kind: \"passage\"; itemId: string; canonicalItemId?: string; contentKind?: string; item?: unknown; element: HTMLElement; runtimeId?: string }>"
|
|
149
|
+
},
|
|
150
|
+
"description": "When the shell retires its passage's registration."
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "pie-content-loaded",
|
|
154
|
+
"type": {
|
|
155
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId?: string; contentKind?: string; detail?: unknown; runtimeId: string }>"
|
|
156
|
+
},
|
|
157
|
+
"description": "When the passage player reports `load-complete`."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "pie-item-player-error",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId?: string; contentKind?: string; error: unknown; runtimeId: string }>"
|
|
163
|
+
},
|
|
164
|
+
"description": "When the passage player reports `player-error`."
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"slots": [
|
|
168
|
+
{
|
|
169
|
+
"name": "",
|
|
170
|
+
"description": "The passage card's header, toolbar and passage player."
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"x-pie": {
|
|
174
|
+
"shadow": "open"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"kind": "class",
|
|
179
|
+
"description": "Section player core that renders `<pie-assessment-toolkit>` for its `runtime`, `section` and `session` around its content, and exposes the section controller through `getSectionController()` and `waitForSectionController()`. Every controller it drives commits pending item sessions before navigating, and the element commits them when the page is hidden.",
|
|
180
|
+
"name": "PieSectionPlayerBaseElement",
|
|
181
|
+
"tagName": "pie-section-player-base",
|
|
182
|
+
"customElement": true,
|
|
183
|
+
"members": [
|
|
184
|
+
{
|
|
185
|
+
"kind": "field",
|
|
186
|
+
"name": "runtime",
|
|
187
|
+
"type": {
|
|
188
|
+
"text": "RuntimeConfig | null"
|
|
189
|
+
},
|
|
190
|
+
"default": "null",
|
|
191
|
+
"attribute": "runtime"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"kind": "field",
|
|
195
|
+
"name": "ndsIcons",
|
|
196
|
+
"type": {
|
|
197
|
+
"text": "boolean"
|
|
198
|
+
},
|
|
199
|
+
"default": "false",
|
|
200
|
+
"description": "Presentation flag: controls render <nds-icon-button> only when this is explicitly true; otherwise they use plain <button>s.",
|
|
201
|
+
"attribute": "nds-icons"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "field",
|
|
205
|
+
"name": "locale",
|
|
206
|
+
"type": {
|
|
207
|
+
"text": "string"
|
|
208
|
+
},
|
|
209
|
+
"default": "\"\"",
|
|
210
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
211
|
+
"attribute": "locale"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"kind": "field",
|
|
215
|
+
"name": "section",
|
|
216
|
+
"type": {
|
|
217
|
+
"text": "AssessmentSection | null"
|
|
218
|
+
},
|
|
219
|
+
"default": "null",
|
|
220
|
+
"attribute": "section"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "field",
|
|
224
|
+
"name": "session",
|
|
225
|
+
"type": {
|
|
226
|
+
"text": "SectionControllerSessionState | null"
|
|
227
|
+
},
|
|
228
|
+
"default": "null",
|
|
229
|
+
"description": "Transport for the layouts' `session`; the toolkit applies it.",
|
|
230
|
+
"attribute": "session"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "field",
|
|
234
|
+
"name": "assessment",
|
|
235
|
+
"type": {
|
|
236
|
+
"text": "AssessmentEntity | null"
|
|
237
|
+
},
|
|
238
|
+
"default": "null",
|
|
239
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
240
|
+
"attribute": "assessment"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "field",
|
|
244
|
+
"name": "sectionId",
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "string"
|
|
247
|
+
},
|
|
248
|
+
"default": "\"\"",
|
|
249
|
+
"attribute": "section-id"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"kind": "field",
|
|
253
|
+
"name": "attemptId",
|
|
254
|
+
"type": {
|
|
255
|
+
"text": "string"
|
|
256
|
+
},
|
|
257
|
+
"default": "\"\"",
|
|
258
|
+
"attribute": "attempt-id"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "field",
|
|
262
|
+
"name": "toolRegistry",
|
|
263
|
+
"type": {
|
|
264
|
+
"text": "ToolRegistry | null"
|
|
265
|
+
},
|
|
266
|
+
"default": "null",
|
|
267
|
+
"attribute": "toolregistry"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "field",
|
|
271
|
+
"name": "toolConfigStrictness",
|
|
272
|
+
"type": {
|
|
273
|
+
"text": "ToolConfigStrictness | undefined"
|
|
274
|
+
},
|
|
275
|
+
"attribute": "tool-config-strictness"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "method",
|
|
279
|
+
"name": "navigateToItem",
|
|
280
|
+
"parameters": [
|
|
281
|
+
{
|
|
282
|
+
"name": "index",
|
|
283
|
+
"type": {
|
|
284
|
+
"text": "number"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"return": {
|
|
289
|
+
"type": {
|
|
290
|
+
"text": "unknown"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"kind": "method",
|
|
296
|
+
"name": "getCompositionModelSnapshot",
|
|
297
|
+
"return": {
|
|
298
|
+
"type": {
|
|
299
|
+
"text": "unknown"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "method",
|
|
305
|
+
"name": "getNavigationStateSnapshot",
|
|
306
|
+
"return": {
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "BaseNavigationState"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"kind": "method",
|
|
314
|
+
"name": "getSectionController",
|
|
315
|
+
"return": {
|
|
316
|
+
"type": {
|
|
317
|
+
"text": "SectionControllerHandle | null"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"kind": "method",
|
|
323
|
+
"name": "waitForSectionController",
|
|
324
|
+
"parameters": [
|
|
325
|
+
{
|
|
326
|
+
"name": "timeoutMs",
|
|
327
|
+
"type": {
|
|
328
|
+
"text": "number"
|
|
329
|
+
},
|
|
330
|
+
"optional": true,
|
|
331
|
+
"default": "5000"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"return": {
|
|
335
|
+
"type": {
|
|
336
|
+
"text": "Promise<SectionControllerHandle | null>"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"attributes": [
|
|
342
|
+
{
|
|
343
|
+
"name": "runtime",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "RuntimeConfig | null"
|
|
346
|
+
},
|
|
347
|
+
"default": "null",
|
|
348
|
+
"fieldName": "runtime"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "nds-icons",
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "boolean"
|
|
354
|
+
},
|
|
355
|
+
"default": "false",
|
|
356
|
+
"description": "Presentation flag: controls render <nds-icon-button> only when this is explicitly true; otherwise they use plain <button>s.",
|
|
357
|
+
"fieldName": "ndsIcons"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "locale",
|
|
361
|
+
"type": {
|
|
362
|
+
"text": "string"
|
|
363
|
+
},
|
|
364
|
+
"default": "\"\"",
|
|
365
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
366
|
+
"fieldName": "locale"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "section",
|
|
370
|
+
"type": {
|
|
371
|
+
"text": "AssessmentSection | null"
|
|
372
|
+
},
|
|
373
|
+
"default": "null",
|
|
374
|
+
"fieldName": "section"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "session",
|
|
378
|
+
"type": {
|
|
379
|
+
"text": "SectionControllerSessionState | null"
|
|
380
|
+
},
|
|
381
|
+
"default": "null",
|
|
382
|
+
"description": "Transport for the layouts' `session`; the toolkit applies it.",
|
|
383
|
+
"fieldName": "session"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "assessment",
|
|
387
|
+
"type": {
|
|
388
|
+
"text": "AssessmentEntity | null"
|
|
389
|
+
},
|
|
390
|
+
"default": "null",
|
|
391
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
392
|
+
"fieldName": "assessment"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "section-id",
|
|
396
|
+
"type": {
|
|
397
|
+
"text": "string"
|
|
398
|
+
},
|
|
399
|
+
"default": "\"\"",
|
|
400
|
+
"fieldName": "sectionId"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "attempt-id",
|
|
404
|
+
"type": {
|
|
405
|
+
"text": "string"
|
|
406
|
+
},
|
|
407
|
+
"default": "\"\"",
|
|
408
|
+
"fieldName": "attemptId"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "toolregistry",
|
|
412
|
+
"type": {
|
|
413
|
+
"text": "ToolRegistry | null"
|
|
414
|
+
},
|
|
415
|
+
"default": "null",
|
|
416
|
+
"fieldName": "toolRegistry"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "tool-config-strictness",
|
|
420
|
+
"type": {
|
|
421
|
+
"text": "string"
|
|
422
|
+
},
|
|
423
|
+
"fieldName": "toolConfigStrictness"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"events": [
|
|
427
|
+
{
|
|
428
|
+
"name": "framework-error",
|
|
429
|
+
"type": {
|
|
430
|
+
"text": "CustomEvent<FrameworkErrorModel>"
|
|
431
|
+
},
|
|
432
|
+
"description": "Bubbles from the inner toolkit. For each framework error the runtime reports; a non-recoverable bootstrap error also shows an error banner in place of the slotted content."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "composition-changed",
|
|
436
|
+
"type": {
|
|
437
|
+
"text": "CustomEvent<{ composition: unknown; version: number }>"
|
|
438
|
+
},
|
|
439
|
+
"description": "Bubbles from the inner toolkit. When the bound section's composition changes revision, with a version that increases on each change."
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "session-changed",
|
|
443
|
+
"type": {
|
|
444
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; sourceRuntimeId: string } & Record<string, unknown>>"
|
|
445
|
+
},
|
|
446
|
+
"description": "Bubbles from the inner toolkit. When an item's session in the bound section changes, carrying the section's canonical session detail for that item."
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "runtime-owned",
|
|
450
|
+
"type": {
|
|
451
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
452
|
+
},
|
|
453
|
+
"description": "Bubbles from the inner toolkit. When the toolkit starts running its own coordinator."
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "runtime-inherited",
|
|
457
|
+
"type": {
|
|
458
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
459
|
+
},
|
|
460
|
+
"description": "Bubbles from the inner toolkit. When the toolkit adopts an outer toolkit's coordinator, named by `parentRuntimeId`."
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "runtime-ready",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "CustomEvent<{ runtimeId: string; coordinator: ToolkitCoordinator; ownership: \"owned\" | \"inherited\" }>"
|
|
466
|
+
},
|
|
467
|
+
"description": "Bubbles from the inner toolkit. Once per coordinator, with or without a section, from which point a host can drive it."
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "toolkit-ready",
|
|
471
|
+
"type": {
|
|
472
|
+
"text": "CustomEvent<{ runtimeId: string; assessmentId: string; sectionId: string; itemPlayer: ItemPlayerConfig; coordinator: ToolkitCoordinator }>"
|
|
473
|
+
},
|
|
474
|
+
"description": "Bubbles from the inner toolkit. For every section the toolkit initializes, once its section controller resolves."
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "section-ready",
|
|
478
|
+
"type": {
|
|
479
|
+
"text": "CustomEvent<{ sectionId: string; attemptId: string; controller: unknown }>"
|
|
480
|
+
},
|
|
481
|
+
"description": "Bubbles from the inner toolkit. Right after `toolkit-ready`, with the section's controller or null."
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "item-session-changed",
|
|
485
|
+
"type": {
|
|
486
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; session: unknown; sessionCommitReason?: \"teardown\" | \"navigate\" | \"page-hidden\" }>"
|
|
487
|
+
},
|
|
488
|
+
"description": "Bubbles from an item scope when the item player reports a response change; the player's own `session-changed` stops at the scope."
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"slots": [
|
|
492
|
+
{
|
|
493
|
+
"name": "",
|
|
494
|
+
"description": "The content the toolkit wraps: the section toolbar shell and the layout."
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"x-pie": {
|
|
498
|
+
"shadow": "open"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"kind": "class",
|
|
503
|
+
"description": "Section player for a host that lays out the section itself: it runs the toolkit, section controller, readiness, element pre-warm and section toolbar in its shadow root, and its element children are the layout, holding `pie-section-player-items-pane` and `pie-section-player-passages-pane` at any depth. With no element children it renders the passages pane above the items pane. The element has no styles of its own, so the host gives it `display` and a height.",
|
|
504
|
+
"name": "PieSectionPlayerKernelHostElement",
|
|
505
|
+
"tagName": "pie-section-player-kernel-host",
|
|
506
|
+
"customElement": true,
|
|
507
|
+
"members": [
|
|
508
|
+
{
|
|
509
|
+
"kind": "field",
|
|
510
|
+
"name": "runtime",
|
|
511
|
+
"type": {
|
|
512
|
+
"text": "RuntimeConfig | null"
|
|
513
|
+
},
|
|
514
|
+
"default": "null",
|
|
515
|
+
"attribute": "runtime"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"kind": "field",
|
|
519
|
+
"name": "ndsIcons",
|
|
520
|
+
"type": {
|
|
521
|
+
"text": "boolean | undefined"
|
|
522
|
+
},
|
|
523
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
524
|
+
"attribute": "nds-icons"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"kind": "field",
|
|
528
|
+
"name": "locale",
|
|
529
|
+
"type": {
|
|
530
|
+
"text": "string"
|
|
531
|
+
},
|
|
532
|
+
"default": "\"\"",
|
|
533
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
534
|
+
"attribute": "locale"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"kind": "field",
|
|
538
|
+
"name": "section",
|
|
539
|
+
"type": {
|
|
540
|
+
"text": "object"
|
|
541
|
+
},
|
|
542
|
+
"default": "null",
|
|
543
|
+
"attribute": "section"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"kind": "field",
|
|
547
|
+
"name": "session",
|
|
548
|
+
"type": {
|
|
549
|
+
"text": "object"
|
|
550
|
+
},
|
|
551
|
+
"default": "null",
|
|
552
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
553
|
+
"attribute": "session"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"kind": "field",
|
|
557
|
+
"name": "assessment",
|
|
558
|
+
"type": {
|
|
559
|
+
"text": "object"
|
|
560
|
+
},
|
|
561
|
+
"default": "null",
|
|
562
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
563
|
+
"attribute": "assessment"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"kind": "field",
|
|
567
|
+
"name": "sectionId",
|
|
568
|
+
"type": {
|
|
569
|
+
"text": "string"
|
|
570
|
+
},
|
|
571
|
+
"default": "\"\"",
|
|
572
|
+
"attribute": "section-id"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"kind": "field",
|
|
576
|
+
"name": "attemptId",
|
|
577
|
+
"type": {
|
|
578
|
+
"text": "string"
|
|
579
|
+
},
|
|
580
|
+
"default": "\"\"",
|
|
581
|
+
"attribute": "attempt-id"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"kind": "field",
|
|
585
|
+
"name": "iifeBundleHost",
|
|
586
|
+
"type": {
|
|
587
|
+
"text": "string"
|
|
588
|
+
},
|
|
589
|
+
"attribute": "iife-bundle-host"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"kind": "field",
|
|
593
|
+
"name": "debug",
|
|
594
|
+
"type": {
|
|
595
|
+
"text": "string | boolean | undefined"
|
|
596
|
+
},
|
|
597
|
+
"attribute": "debug"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "field",
|
|
601
|
+
"name": "baseHeadingLevel",
|
|
602
|
+
"type": {
|
|
603
|
+
"text": "number | undefined"
|
|
604
|
+
},
|
|
605
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
606
|
+
"attribute": "base-heading-level"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "field",
|
|
610
|
+
"name": "showToolbar",
|
|
611
|
+
"type": {
|
|
612
|
+
"text": "string"
|
|
613
|
+
},
|
|
614
|
+
"default": "\"false\"",
|
|
615
|
+
"attribute": "show-toolbar"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"kind": "field",
|
|
619
|
+
"name": "toolbarPosition",
|
|
620
|
+
"type": {
|
|
621
|
+
"text": "string"
|
|
622
|
+
},
|
|
623
|
+
"default": "\"right\"",
|
|
624
|
+
"attribute": "toolbar-position"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"kind": "field",
|
|
628
|
+
"name": "toolRegistry",
|
|
629
|
+
"type": {
|
|
630
|
+
"text": "ToolRegistry | null"
|
|
631
|
+
},
|
|
632
|
+
"default": "null",
|
|
633
|
+
"attribute": "toolregistry"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"kind": "field",
|
|
637
|
+
"name": "sectionHostButtons",
|
|
638
|
+
"type": {
|
|
639
|
+
"text": "ToolbarItem[]"
|
|
640
|
+
},
|
|
641
|
+
"default": "[]",
|
|
642
|
+
"attribute": "sectionhostbuttons"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "field",
|
|
646
|
+
"name": "itemHostButtons",
|
|
647
|
+
"type": {
|
|
648
|
+
"text": "ToolbarItem[]"
|
|
649
|
+
},
|
|
650
|
+
"default": "[]",
|
|
651
|
+
"attribute": "itemhostbuttons"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"kind": "field",
|
|
655
|
+
"name": "passageHostButtons",
|
|
656
|
+
"type": {
|
|
657
|
+
"text": "ToolbarItem[]"
|
|
658
|
+
},
|
|
659
|
+
"default": "[]",
|
|
660
|
+
"attribute": "passagehostbuttons"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"kind": "field",
|
|
664
|
+
"name": "policies",
|
|
665
|
+
"type": {
|
|
666
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
667
|
+
},
|
|
668
|
+
"attribute": "policies"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"kind": "field",
|
|
672
|
+
"name": "hooks",
|
|
673
|
+
"type": {
|
|
674
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
675
|
+
},
|
|
676
|
+
"attribute": "hooks"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"kind": "field",
|
|
680
|
+
"name": "toolConfigStrictness",
|
|
681
|
+
"type": {
|
|
682
|
+
"text": "ToolConfigStrictness | undefined"
|
|
683
|
+
},
|
|
684
|
+
"attribute": "tool-config-strictness"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"kind": "method",
|
|
688
|
+
"name": "getSnapshot",
|
|
689
|
+
"return": {
|
|
690
|
+
"type": {
|
|
691
|
+
"text": "SectionPlayerSnapshot | null"
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"kind": "method",
|
|
697
|
+
"name": "navigateTo",
|
|
698
|
+
"parameters": [
|
|
699
|
+
{
|
|
700
|
+
"name": "index",
|
|
701
|
+
"type": {
|
|
702
|
+
"text": "number"
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
],
|
|
706
|
+
"return": {
|
|
707
|
+
"type": {
|
|
708
|
+
"text": "boolean"
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"kind": "method",
|
|
714
|
+
"name": "navigateNext",
|
|
715
|
+
"return": {
|
|
716
|
+
"type": {
|
|
717
|
+
"text": "boolean"
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"kind": "method",
|
|
723
|
+
"name": "navigatePrevious",
|
|
724
|
+
"return": {
|
|
725
|
+
"type": {
|
|
726
|
+
"text": "boolean"
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "method",
|
|
732
|
+
"name": "getSectionController",
|
|
733
|
+
"return": {
|
|
734
|
+
"type": {
|
|
735
|
+
"text": "SectionControllerHandle | null"
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "method",
|
|
741
|
+
"name": "waitForSectionController",
|
|
742
|
+
"parameters": [
|
|
743
|
+
{
|
|
744
|
+
"name": "timeoutMs",
|
|
745
|
+
"type": {
|
|
746
|
+
"text": "number"
|
|
747
|
+
},
|
|
748
|
+
"optional": true,
|
|
749
|
+
"default": "5000"
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"return": {
|
|
753
|
+
"type": {
|
|
754
|
+
"text": "Promise<SectionControllerHandle | null>"
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
"attributes": [
|
|
760
|
+
{
|
|
761
|
+
"name": "runtime",
|
|
762
|
+
"type": {
|
|
763
|
+
"text": "RuntimeConfig | null"
|
|
764
|
+
},
|
|
765
|
+
"default": "null",
|
|
766
|
+
"fieldName": "runtime"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"name": "nds-icons",
|
|
770
|
+
"type": {
|
|
771
|
+
"text": "boolean"
|
|
772
|
+
},
|
|
773
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
774
|
+
"fieldName": "ndsIcons"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "locale",
|
|
778
|
+
"type": {
|
|
779
|
+
"text": "string"
|
|
780
|
+
},
|
|
781
|
+
"default": "\"\"",
|
|
782
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
783
|
+
"fieldName": "locale"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "section",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "object"
|
|
789
|
+
},
|
|
790
|
+
"default": "null",
|
|
791
|
+
"fieldName": "section"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"name": "session",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "object"
|
|
797
|
+
},
|
|
798
|
+
"default": "null",
|
|
799
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
800
|
+
"fieldName": "session"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "assessment",
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "object"
|
|
806
|
+
},
|
|
807
|
+
"default": "null",
|
|
808
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
809
|
+
"fieldName": "assessment"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "section-id",
|
|
813
|
+
"type": {
|
|
814
|
+
"text": "string"
|
|
815
|
+
},
|
|
816
|
+
"default": "\"\"",
|
|
817
|
+
"fieldName": "sectionId"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "attempt-id",
|
|
821
|
+
"type": {
|
|
822
|
+
"text": "string"
|
|
823
|
+
},
|
|
824
|
+
"default": "\"\"",
|
|
825
|
+
"fieldName": "attemptId"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "iife-bundle-host",
|
|
829
|
+
"type": {
|
|
830
|
+
"text": "string"
|
|
831
|
+
},
|
|
832
|
+
"fieldName": "iifeBundleHost"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "debug",
|
|
836
|
+
"type": {
|
|
837
|
+
"text": "string"
|
|
838
|
+
},
|
|
839
|
+
"fieldName": "debug"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "base-heading-level",
|
|
843
|
+
"type": {
|
|
844
|
+
"text": "number"
|
|
845
|
+
},
|
|
846
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
847
|
+
"fieldName": "baseHeadingLevel"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "show-toolbar",
|
|
851
|
+
"type": {
|
|
852
|
+
"text": "string"
|
|
853
|
+
},
|
|
854
|
+
"default": "\"false\"",
|
|
855
|
+
"fieldName": "showToolbar"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "toolbar-position",
|
|
859
|
+
"type": {
|
|
860
|
+
"text": "string"
|
|
861
|
+
},
|
|
862
|
+
"default": "\"right\"",
|
|
863
|
+
"fieldName": "toolbarPosition"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "toolregistry",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "ToolRegistry | null"
|
|
869
|
+
},
|
|
870
|
+
"default": "null",
|
|
871
|
+
"fieldName": "toolRegistry"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "sectionhostbuttons",
|
|
875
|
+
"type": {
|
|
876
|
+
"text": "ToolbarItem[]"
|
|
877
|
+
},
|
|
878
|
+
"default": "[]",
|
|
879
|
+
"fieldName": "sectionHostButtons"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "itemhostbuttons",
|
|
883
|
+
"type": {
|
|
884
|
+
"text": "ToolbarItem[]"
|
|
885
|
+
},
|
|
886
|
+
"default": "[]",
|
|
887
|
+
"fieldName": "itemHostButtons"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "passagehostbuttons",
|
|
891
|
+
"type": {
|
|
892
|
+
"text": "ToolbarItem[]"
|
|
893
|
+
},
|
|
894
|
+
"default": "[]",
|
|
895
|
+
"fieldName": "passageHostButtons"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "policies",
|
|
899
|
+
"type": {
|
|
900
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
901
|
+
},
|
|
902
|
+
"fieldName": "policies"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "hooks",
|
|
906
|
+
"type": {
|
|
907
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
908
|
+
},
|
|
909
|
+
"fieldName": "hooks"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "tool-config-strictness",
|
|
913
|
+
"type": {
|
|
914
|
+
"text": "string"
|
|
915
|
+
},
|
|
916
|
+
"fieldName": "toolConfigStrictness"
|
|
917
|
+
}
|
|
918
|
+
],
|
|
919
|
+
"events": [
|
|
920
|
+
{
|
|
921
|
+
"name": "pie-stage-change",
|
|
922
|
+
"type": {
|
|
923
|
+
"text": "CustomEvent<StageChangeDetail>"
|
|
924
|
+
},
|
|
925
|
+
"description": "When the section enters `composed`, `engine-ready`, `interactive` or `disposed`, or a framework error fails or skips a stage."
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "pie-loading-complete",
|
|
929
|
+
"type": {
|
|
930
|
+
"text": "CustomEvent<LoadingCompleteDetail>"
|
|
931
|
+
},
|
|
932
|
+
"description": "Once per section and attempt, when the element pre-warm resolves and the item cards can mount."
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"name": "element-preload-retry",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; attempt: number; maxRetries: number; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
938
|
+
},
|
|
939
|
+
"description": "When the rendering items pane's element pre-warm retries a failed load."
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "element-preload-error",
|
|
943
|
+
"type": {
|
|
944
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
945
|
+
},
|
|
946
|
+
"description": "When the rendering items pane's element pre-warm fails."
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "framework-error",
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "CustomEvent<FrameworkErrorModel>"
|
|
952
|
+
},
|
|
953
|
+
"description": "Bubbles from the inner toolkit. For each framework error the runtime reports; a non-recoverable bootstrap error also shows an error banner in place of the slotted content."
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "composition-changed",
|
|
957
|
+
"type": {
|
|
958
|
+
"text": "CustomEvent<{ composition: unknown; version: number }>"
|
|
959
|
+
},
|
|
960
|
+
"description": "Bubbles from the inner toolkit. When the bound section's composition changes revision, with a version that increases on each change."
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "session-changed",
|
|
964
|
+
"type": {
|
|
965
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; sourceRuntimeId: string } & Record<string, unknown>>"
|
|
966
|
+
},
|
|
967
|
+
"description": "Bubbles from the inner toolkit. When an item's session in the bound section changes, carrying the section's canonical session detail for that item."
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "runtime-owned",
|
|
971
|
+
"type": {
|
|
972
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
973
|
+
},
|
|
974
|
+
"description": "Bubbles from the inner toolkit. When the toolkit starts running its own coordinator."
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"name": "runtime-inherited",
|
|
978
|
+
"type": {
|
|
979
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
980
|
+
},
|
|
981
|
+
"description": "Bubbles from the inner toolkit. When the toolkit adopts an outer toolkit's coordinator, named by `parentRuntimeId`."
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "runtime-ready",
|
|
985
|
+
"type": {
|
|
986
|
+
"text": "CustomEvent<{ runtimeId: string; coordinator: ToolkitCoordinator; ownership: \"owned\" | \"inherited\" }>"
|
|
987
|
+
},
|
|
988
|
+
"description": "Bubbles from the inner toolkit. Once per coordinator, with or without a section, from which point a host can drive it."
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "toolkit-ready",
|
|
992
|
+
"type": {
|
|
993
|
+
"text": "CustomEvent<{ runtimeId: string; assessmentId: string; sectionId: string; itemPlayer: ItemPlayerConfig; coordinator: ToolkitCoordinator }>"
|
|
994
|
+
},
|
|
995
|
+
"description": "Bubbles from the inner toolkit. For every section the toolkit initializes, once its section controller resolves."
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "section-ready",
|
|
999
|
+
"type": {
|
|
1000
|
+
"text": "CustomEvent<{ sectionId: string; attemptId: string; controller: unknown }>"
|
|
1001
|
+
},
|
|
1002
|
+
"description": "Bubbles from the inner toolkit. Right after `toolkit-ready`, with the section's controller or null."
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "item-session-changed",
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; session: unknown; sessionCommitReason?: \"teardown\" | \"navigate\" | \"page-hidden\" }>"
|
|
1008
|
+
},
|
|
1009
|
+
"description": "Bubbles from an item scope when the item player reports a response change; the player's own `session-changed` stops at the scope."
|
|
1010
|
+
}
|
|
1011
|
+
],
|
|
1012
|
+
"slots": [
|
|
1013
|
+
{
|
|
1014
|
+
"name": "",
|
|
1015
|
+
"description": "The host's layout, holding the items pane and, optionally, the passages pane."
|
|
1016
|
+
}
|
|
1017
|
+
],
|
|
1018
|
+
"cssProperties": [
|
|
1019
|
+
{
|
|
1020
|
+
"name": "--pie-passage-header-background",
|
|
1021
|
+
"description": "Passage header surface. Documented host hook; falls back to the canonical surface tokens when unset."
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "--pie-section-player-card-header-background",
|
|
1025
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
1029
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "--pie-section-player-card-header-radius",
|
|
1033
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "--pie-section-player-card-radius",
|
|
1037
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"x-pie": {
|
|
1041
|
+
"shadow": "open"
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"kind": "class",
|
|
1046
|
+
"description": "Section player layout that renders a section's passages and items side by side with a resizable divider between them, and at or below `narrow-layout-breakpoint` collapses to tabs or one column, per `split-pane-collapse-strategy`. The host sets `runtime` and `section` as properties; the element runs the toolkit, section controller, readiness, element pre-warm and section toolbar around them.",
|
|
1047
|
+
"name": "PieSectionPlayerSplitPaneElement",
|
|
1048
|
+
"tagName": "pie-section-player-splitpane",
|
|
1049
|
+
"customElement": true,
|
|
1050
|
+
"members": [
|
|
1051
|
+
{
|
|
1052
|
+
"kind": "field",
|
|
1053
|
+
"name": "runtime",
|
|
1054
|
+
"type": {
|
|
1055
|
+
"text": "RuntimeConfig | null"
|
|
1056
|
+
},
|
|
1057
|
+
"default": "null",
|
|
1058
|
+
"attribute": "runtime"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"kind": "field",
|
|
1062
|
+
"name": "ndsIcons",
|
|
1063
|
+
"type": {
|
|
1064
|
+
"text": "boolean | undefined"
|
|
1065
|
+
},
|
|
1066
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
1067
|
+
"attribute": "nds-icons"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"kind": "field",
|
|
1071
|
+
"name": "locale",
|
|
1072
|
+
"type": {
|
|
1073
|
+
"text": "string"
|
|
1074
|
+
},
|
|
1075
|
+
"default": "\"\"",
|
|
1076
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
1077
|
+
"attribute": "locale"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"kind": "field",
|
|
1081
|
+
"name": "section",
|
|
1082
|
+
"type": {
|
|
1083
|
+
"text": "AssessmentSection | null"
|
|
1084
|
+
},
|
|
1085
|
+
"default": "null",
|
|
1086
|
+
"attribute": "section"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"kind": "field",
|
|
1090
|
+
"name": "session",
|
|
1091
|
+
"type": {
|
|
1092
|
+
"text": "SectionControllerSessionState | null"
|
|
1093
|
+
},
|
|
1094
|
+
"default": "null",
|
|
1095
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
1096
|
+
"attribute": "session"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"kind": "field",
|
|
1100
|
+
"name": "assessment",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "AssessmentEntity | null"
|
|
1103
|
+
},
|
|
1104
|
+
"default": "null",
|
|
1105
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
1106
|
+
"attribute": "assessment"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"kind": "field",
|
|
1110
|
+
"name": "sectionId",
|
|
1111
|
+
"type": {
|
|
1112
|
+
"text": "string"
|
|
1113
|
+
},
|
|
1114
|
+
"default": "\"\"",
|
|
1115
|
+
"attribute": "section-id"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"kind": "field",
|
|
1119
|
+
"name": "attemptId",
|
|
1120
|
+
"type": {
|
|
1121
|
+
"text": "string"
|
|
1122
|
+
},
|
|
1123
|
+
"default": "\"\"",
|
|
1124
|
+
"attribute": "attempt-id"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "field",
|
|
1128
|
+
"name": "iifeBundleHost",
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "string"
|
|
1131
|
+
},
|
|
1132
|
+
"attribute": "iife-bundle-host"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"kind": "field",
|
|
1136
|
+
"name": "debug",
|
|
1137
|
+
"type": {
|
|
1138
|
+
"text": "string | boolean | undefined"
|
|
1139
|
+
},
|
|
1140
|
+
"attribute": "debug"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"kind": "field",
|
|
1144
|
+
"name": "baseHeadingLevel",
|
|
1145
|
+
"type": {
|
|
1146
|
+
"text": "number | undefined"
|
|
1147
|
+
},
|
|
1148
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
1149
|
+
"attribute": "base-heading-level"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "field",
|
|
1153
|
+
"name": "showToolbar",
|
|
1154
|
+
"type": {
|
|
1155
|
+
"text": "boolean | string | null | undefined"
|
|
1156
|
+
},
|
|
1157
|
+
"default": "\"false\"",
|
|
1158
|
+
"attribute": "show-toolbar"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"kind": "field",
|
|
1162
|
+
"name": "toolbarPosition",
|
|
1163
|
+
"type": {
|
|
1164
|
+
"text": "string"
|
|
1165
|
+
},
|
|
1166
|
+
"default": "\"right\"",
|
|
1167
|
+
"attribute": "toolbar-position"
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"kind": "field",
|
|
1171
|
+
"name": "toolRegistry",
|
|
1172
|
+
"type": {
|
|
1173
|
+
"text": "ToolRegistry | null"
|
|
1174
|
+
},
|
|
1175
|
+
"default": "null",
|
|
1176
|
+
"attribute": "toolregistry"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"kind": "field",
|
|
1180
|
+
"name": "sectionHostButtons",
|
|
1181
|
+
"type": {
|
|
1182
|
+
"text": "ToolbarItem[]"
|
|
1183
|
+
},
|
|
1184
|
+
"default": "[]",
|
|
1185
|
+
"attribute": "sectionhostbuttons"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"kind": "field",
|
|
1189
|
+
"name": "itemHostButtons",
|
|
1190
|
+
"type": {
|
|
1191
|
+
"text": "ToolbarItem[]"
|
|
1192
|
+
},
|
|
1193
|
+
"default": "[]",
|
|
1194
|
+
"attribute": "itemhostbuttons"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"kind": "field",
|
|
1198
|
+
"name": "passageHostButtons",
|
|
1199
|
+
"type": {
|
|
1200
|
+
"text": "ToolbarItem[]"
|
|
1201
|
+
},
|
|
1202
|
+
"default": "[]",
|
|
1203
|
+
"attribute": "passagehostbuttons"
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"kind": "field",
|
|
1207
|
+
"name": "policies",
|
|
1208
|
+
"type": {
|
|
1209
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
1210
|
+
},
|
|
1211
|
+
"attribute": "policies"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"kind": "field",
|
|
1215
|
+
"name": "hooks",
|
|
1216
|
+
"type": {
|
|
1217
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
1218
|
+
},
|
|
1219
|
+
"attribute": "hooks"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"kind": "field",
|
|
1223
|
+
"name": "toolConfigStrictness",
|
|
1224
|
+
"type": {
|
|
1225
|
+
"text": "ToolConfigStrictness | undefined"
|
|
1226
|
+
},
|
|
1227
|
+
"attribute": "tool-config-strictness"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"kind": "field",
|
|
1231
|
+
"name": "narrowLayoutBreakpoint",
|
|
1232
|
+
"type": {
|
|
1233
|
+
"text": "number | undefined"
|
|
1234
|
+
},
|
|
1235
|
+
"attribute": "narrow-layout-breakpoint"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"kind": "field",
|
|
1239
|
+
"name": "contentMaxWidthNoPassage",
|
|
1240
|
+
"type": {
|
|
1241
|
+
"text": "number | undefined"
|
|
1242
|
+
},
|
|
1243
|
+
"attribute": "content-max-width-no-passage"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"kind": "field",
|
|
1247
|
+
"name": "contentMaxWidthWithPassage",
|
|
1248
|
+
"type": {
|
|
1249
|
+
"text": "number | undefined"
|
|
1250
|
+
},
|
|
1251
|
+
"attribute": "content-max-width-with-passage"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "field",
|
|
1255
|
+
"name": "splitPaneMinRegionWidth",
|
|
1256
|
+
"type": {
|
|
1257
|
+
"text": "number | undefined"
|
|
1258
|
+
},
|
|
1259
|
+
"attribute": "split-pane-min-region-width"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "field",
|
|
1263
|
+
"name": "splitPaneInitialPassageWidth",
|
|
1264
|
+
"type": {
|
|
1265
|
+
"text": "number | string | undefined"
|
|
1266
|
+
},
|
|
1267
|
+
"attribute": "split-pane-initial-passage-width"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"kind": "field",
|
|
1271
|
+
"name": "splitPaneCollapseStrategy",
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "\"vertical\" | \"tabbed\" | string"
|
|
1274
|
+
},
|
|
1275
|
+
"default": "\"tabbed\"",
|
|
1276
|
+
"attribute": "split-pane-collapse-strategy"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "method",
|
|
1280
|
+
"name": "getSnapshot",
|
|
1281
|
+
"return": {
|
|
1282
|
+
"type": {
|
|
1283
|
+
"text": "SectionPlayerSnapshot | null"
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "method",
|
|
1289
|
+
"name": "navigateTo",
|
|
1290
|
+
"parameters": [
|
|
1291
|
+
{
|
|
1292
|
+
"name": "index",
|
|
1293
|
+
"type": {
|
|
1294
|
+
"text": "number"
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
],
|
|
1298
|
+
"return": {
|
|
1299
|
+
"type": {
|
|
1300
|
+
"text": "boolean"
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"kind": "method",
|
|
1306
|
+
"name": "navigateNext",
|
|
1307
|
+
"return": {
|
|
1308
|
+
"type": {
|
|
1309
|
+
"text": "boolean"
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"kind": "method",
|
|
1315
|
+
"name": "navigatePrevious",
|
|
1316
|
+
"return": {
|
|
1317
|
+
"type": {
|
|
1318
|
+
"text": "boolean"
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "method",
|
|
1324
|
+
"name": "getSectionController",
|
|
1325
|
+
"return": {
|
|
1326
|
+
"type": {
|
|
1327
|
+
"text": "SectionControllerHandle | null"
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"kind": "method",
|
|
1333
|
+
"name": "waitForSectionController",
|
|
1334
|
+
"parameters": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "timeoutMs",
|
|
1337
|
+
"type": {
|
|
1338
|
+
"text": "number"
|
|
1339
|
+
},
|
|
1340
|
+
"optional": true,
|
|
1341
|
+
"default": "5000"
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
"return": {
|
|
1345
|
+
"type": {
|
|
1346
|
+
"text": "Promise<SectionControllerHandle | null>"
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"attributes": [
|
|
1352
|
+
{
|
|
1353
|
+
"name": "runtime",
|
|
1354
|
+
"type": {
|
|
1355
|
+
"text": "RuntimeConfig | null"
|
|
1356
|
+
},
|
|
1357
|
+
"default": "null",
|
|
1358
|
+
"fieldName": "runtime"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "nds-icons",
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "boolean"
|
|
1364
|
+
},
|
|
1365
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
1366
|
+
"fieldName": "ndsIcons"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "locale",
|
|
1370
|
+
"type": {
|
|
1371
|
+
"text": "string"
|
|
1372
|
+
},
|
|
1373
|
+
"default": "\"\"",
|
|
1374
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
1375
|
+
"fieldName": "locale"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"name": "section",
|
|
1379
|
+
"type": {
|
|
1380
|
+
"text": "AssessmentSection | null"
|
|
1381
|
+
},
|
|
1382
|
+
"default": "null",
|
|
1383
|
+
"fieldName": "section"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"name": "session",
|
|
1387
|
+
"type": {
|
|
1388
|
+
"text": "SectionControllerSessionState | null"
|
|
1389
|
+
},
|
|
1390
|
+
"default": "null",
|
|
1391
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
1392
|
+
"fieldName": "session"
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "assessment",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "AssessmentEntity | null"
|
|
1398
|
+
},
|
|
1399
|
+
"default": "null",
|
|
1400
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
1401
|
+
"fieldName": "assessment"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"name": "section-id",
|
|
1405
|
+
"type": {
|
|
1406
|
+
"text": "string"
|
|
1407
|
+
},
|
|
1408
|
+
"default": "\"\"",
|
|
1409
|
+
"fieldName": "sectionId"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "attempt-id",
|
|
1413
|
+
"type": {
|
|
1414
|
+
"text": "string"
|
|
1415
|
+
},
|
|
1416
|
+
"default": "\"\"",
|
|
1417
|
+
"fieldName": "attemptId"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "iife-bundle-host",
|
|
1421
|
+
"type": {
|
|
1422
|
+
"text": "string"
|
|
1423
|
+
},
|
|
1424
|
+
"fieldName": "iifeBundleHost"
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"name": "debug",
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "string"
|
|
1430
|
+
},
|
|
1431
|
+
"fieldName": "debug"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "base-heading-level",
|
|
1435
|
+
"type": {
|
|
1436
|
+
"text": "number"
|
|
1437
|
+
},
|
|
1438
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
1439
|
+
"fieldName": "baseHeadingLevel"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"name": "show-toolbar",
|
|
1443
|
+
"type": {
|
|
1444
|
+
"text": "string"
|
|
1445
|
+
},
|
|
1446
|
+
"default": "\"false\"",
|
|
1447
|
+
"fieldName": "showToolbar"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "toolbar-position",
|
|
1451
|
+
"type": {
|
|
1452
|
+
"text": "string"
|
|
1453
|
+
},
|
|
1454
|
+
"default": "\"right\"",
|
|
1455
|
+
"fieldName": "toolbarPosition"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "toolregistry",
|
|
1459
|
+
"type": {
|
|
1460
|
+
"text": "ToolRegistry | null"
|
|
1461
|
+
},
|
|
1462
|
+
"default": "null",
|
|
1463
|
+
"fieldName": "toolRegistry"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "sectionhostbuttons",
|
|
1467
|
+
"type": {
|
|
1468
|
+
"text": "ToolbarItem[]"
|
|
1469
|
+
},
|
|
1470
|
+
"default": "[]",
|
|
1471
|
+
"fieldName": "sectionHostButtons"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "itemhostbuttons",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "ToolbarItem[]"
|
|
1477
|
+
},
|
|
1478
|
+
"default": "[]",
|
|
1479
|
+
"fieldName": "itemHostButtons"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "passagehostbuttons",
|
|
1483
|
+
"type": {
|
|
1484
|
+
"text": "ToolbarItem[]"
|
|
1485
|
+
},
|
|
1486
|
+
"default": "[]",
|
|
1487
|
+
"fieldName": "passageHostButtons"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "policies",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
1493
|
+
},
|
|
1494
|
+
"fieldName": "policies"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "hooks",
|
|
1498
|
+
"type": {
|
|
1499
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
1500
|
+
},
|
|
1501
|
+
"fieldName": "hooks"
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"name": "tool-config-strictness",
|
|
1505
|
+
"type": {
|
|
1506
|
+
"text": "string"
|
|
1507
|
+
},
|
|
1508
|
+
"fieldName": "toolConfigStrictness"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "narrow-layout-breakpoint",
|
|
1512
|
+
"type": {
|
|
1513
|
+
"text": "number"
|
|
1514
|
+
},
|
|
1515
|
+
"fieldName": "narrowLayoutBreakpoint"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "content-max-width-no-passage",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "number"
|
|
1521
|
+
},
|
|
1522
|
+
"fieldName": "contentMaxWidthNoPassage"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "content-max-width-with-passage",
|
|
1526
|
+
"type": {
|
|
1527
|
+
"text": "number"
|
|
1528
|
+
},
|
|
1529
|
+
"fieldName": "contentMaxWidthWithPassage"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"name": "split-pane-min-region-width",
|
|
1533
|
+
"type": {
|
|
1534
|
+
"text": "number"
|
|
1535
|
+
},
|
|
1536
|
+
"fieldName": "splitPaneMinRegionWidth"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"name": "split-pane-initial-passage-width",
|
|
1540
|
+
"type": {
|
|
1541
|
+
"text": "number"
|
|
1542
|
+
},
|
|
1543
|
+
"fieldName": "splitPaneInitialPassageWidth"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "split-pane-collapse-strategy",
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "string"
|
|
1549
|
+
},
|
|
1550
|
+
"default": "\"tabbed\"",
|
|
1551
|
+
"fieldName": "splitPaneCollapseStrategy"
|
|
1552
|
+
}
|
|
1553
|
+
],
|
|
1554
|
+
"events": [
|
|
1555
|
+
{
|
|
1556
|
+
"name": "pie-stage-change",
|
|
1557
|
+
"type": {
|
|
1558
|
+
"text": "CustomEvent<StageChangeDetail>"
|
|
1559
|
+
},
|
|
1560
|
+
"description": "When the section enters `composed`, `engine-ready`, `interactive` or `disposed`, or a framework error fails or skips a stage."
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"name": "pie-loading-complete",
|
|
1564
|
+
"type": {
|
|
1565
|
+
"text": "CustomEvent<LoadingCompleteDetail>"
|
|
1566
|
+
},
|
|
1567
|
+
"description": "Once per section and attempt, when the element pre-warm resolves and the item cards can mount."
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"name": "element-preload-retry",
|
|
1571
|
+
"type": {
|
|
1572
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; attempt: number; maxRetries: number; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
1573
|
+
},
|
|
1574
|
+
"description": "When the rendering items pane's element pre-warm retries a failed load."
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"name": "element-preload-error",
|
|
1578
|
+
"type": {
|
|
1579
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
1580
|
+
},
|
|
1581
|
+
"description": "When the rendering items pane's element pre-warm fails."
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "framework-error",
|
|
1585
|
+
"type": {
|
|
1586
|
+
"text": "CustomEvent<FrameworkErrorModel>"
|
|
1587
|
+
},
|
|
1588
|
+
"description": "Bubbles from the inner toolkit. For each framework error the runtime reports; a non-recoverable bootstrap error also shows an error banner in place of the slotted content."
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "composition-changed",
|
|
1592
|
+
"type": {
|
|
1593
|
+
"text": "CustomEvent<{ composition: unknown; version: number }>"
|
|
1594
|
+
},
|
|
1595
|
+
"description": "Bubbles from the inner toolkit. When the bound section's composition changes revision, with a version that increases on each change."
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"name": "session-changed",
|
|
1599
|
+
"type": {
|
|
1600
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; sourceRuntimeId: string } & Record<string, unknown>>"
|
|
1601
|
+
},
|
|
1602
|
+
"description": "Bubbles from the inner toolkit. When an item's session in the bound section changes, carrying the section's canonical session detail for that item."
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "runtime-owned",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
1608
|
+
},
|
|
1609
|
+
"description": "Bubbles from the inner toolkit. When the toolkit starts running its own coordinator."
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "runtime-inherited",
|
|
1613
|
+
"type": {
|
|
1614
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
1615
|
+
},
|
|
1616
|
+
"description": "Bubbles from the inner toolkit. When the toolkit adopts an outer toolkit's coordinator, named by `parentRuntimeId`."
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"name": "runtime-ready",
|
|
1620
|
+
"type": {
|
|
1621
|
+
"text": "CustomEvent<{ runtimeId: string; coordinator: ToolkitCoordinator; ownership: \"owned\" | \"inherited\" }>"
|
|
1622
|
+
},
|
|
1623
|
+
"description": "Bubbles from the inner toolkit. Once per coordinator, with or without a section, from which point a host can drive it."
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "toolkit-ready",
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "CustomEvent<{ runtimeId: string; assessmentId: string; sectionId: string; itemPlayer: ItemPlayerConfig; coordinator: ToolkitCoordinator }>"
|
|
1629
|
+
},
|
|
1630
|
+
"description": "Bubbles from the inner toolkit. For every section the toolkit initializes, once its section controller resolves."
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"name": "section-ready",
|
|
1634
|
+
"type": {
|
|
1635
|
+
"text": "CustomEvent<{ sectionId: string; attemptId: string; controller: unknown }>"
|
|
1636
|
+
},
|
|
1637
|
+
"description": "Bubbles from the inner toolkit. Right after `toolkit-ready`, with the section's controller or null."
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"name": "item-session-changed",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; session: unknown; sessionCommitReason?: \"teardown\" | \"navigate\" | \"page-hidden\" }>"
|
|
1643
|
+
},
|
|
1644
|
+
"description": "Bubbles from an item scope when the item player reports a response change; the player's own `session-changed` stops at the scope."
|
|
1645
|
+
}
|
|
1646
|
+
],
|
|
1647
|
+
"cssProperties": [
|
|
1648
|
+
{
|
|
1649
|
+
"name": "--pie-passage-header-background",
|
|
1650
|
+
"description": "Passage header surface. Documented host hook; falls back to the canonical surface tokens when unset."
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "--pie-section-player-card-header-background",
|
|
1654
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
1658
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "--pie-section-player-card-header-radius",
|
|
1662
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"name": "--pie-section-player-card-radius",
|
|
1666
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "--pie-section-player-tab-active-background",
|
|
1670
|
+
"description": "Public tab active-state background hook; hosts must preserve contrast with --pie-section-player-tab-active-color."
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"name": "--pie-section-player-tab-active-color",
|
|
1674
|
+
"description": "Public tab active-state foreground hook; hosts must preserve contrast with --pie-section-player-tab-active-background."
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "--pie-section-player-tab-background",
|
|
1678
|
+
"description": "Public ordinary tab background hook; default remains transparent and should inherit accessible surrounding surfaces."
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "--pie-section-player-tab-color",
|
|
1682
|
+
"description": "Public ordinary tab foreground hook; hosts must preserve text contrast against ordinary tab backgrounds."
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "--pie-section-player-tab-gap",
|
|
1686
|
+
"description": "Public tabbed-frame spacing hook; values must not reduce perceivable target separation below WCAG expectations."
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "--pie-section-player-tab-padding-block",
|
|
1690
|
+
"description": "Public tab block padding hook; hosts should preserve keyboard target size when overriding."
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "--pie-section-player-tab-track-padding",
|
|
1694
|
+
"description": "Public tab track padding hook; hosts should preserve target size and visible grouping when overriding."
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "--pie-section-player-tab-track-radius",
|
|
1698
|
+
"description": "Public tab track radius hook; geometry-only override with no color contrast impact."
|
|
1699
|
+
}
|
|
1700
|
+
],
|
|
1701
|
+
"x-pie": {
|
|
1702
|
+
"shadow": "none",
|
|
1703
|
+
"classes": [
|
|
1704
|
+
"pie-section-player-items-pane",
|
|
1705
|
+
"pie-section-player-items-section",
|
|
1706
|
+
"pie-section-player-layout-scaffold-anchor",
|
|
1707
|
+
"pie-section-player-nav-status",
|
|
1708
|
+
"pie-section-player-observability-anchor",
|
|
1709
|
+
"pie-section-player-passages-pane",
|
|
1710
|
+
"pie-section-player-passages-section",
|
|
1711
|
+
"pie-section-player-split-divider-handle",
|
|
1712
|
+
"pie-section-player-split-frame",
|
|
1713
|
+
"pie-section-player-tab-panel",
|
|
1714
|
+
"pie-section-player-tab-panel--items",
|
|
1715
|
+
"pie-section-player-tab-panel--passages",
|
|
1716
|
+
"pie-section-player-tabbed-content",
|
|
1717
|
+
"pie-section-player-tabbed-frame",
|
|
1718
|
+
"pie-section-player-tabs",
|
|
1719
|
+
"pie-section-player-vertical-content",
|
|
1720
|
+
"pie-section-player-vertical-frame"
|
|
1721
|
+
]
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"kind": "class",
|
|
1726
|
+
"description": "Section player layout that renders a section's passages and items as two tabs, and only the items for a section without passages. The host sets `runtime` and `section` as properties; the element runs the toolkit, section controller, readiness, element pre-warm and section toolbar around them.",
|
|
1727
|
+
"name": "PieSectionPlayerTabbedElement",
|
|
1728
|
+
"tagName": "pie-section-player-tabbed",
|
|
1729
|
+
"customElement": true,
|
|
1730
|
+
"members": [
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "field",
|
|
1733
|
+
"name": "runtime",
|
|
1734
|
+
"type": {
|
|
1735
|
+
"text": "RuntimeConfig | null"
|
|
1736
|
+
},
|
|
1737
|
+
"default": "null",
|
|
1738
|
+
"attribute": "runtime"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "field",
|
|
1742
|
+
"name": "ndsIcons",
|
|
1743
|
+
"type": {
|
|
1744
|
+
"text": "boolean | undefined"
|
|
1745
|
+
},
|
|
1746
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
1747
|
+
"attribute": "nds-icons"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"kind": "field",
|
|
1751
|
+
"name": "locale",
|
|
1752
|
+
"type": {
|
|
1753
|
+
"text": "string"
|
|
1754
|
+
},
|
|
1755
|
+
"default": "\"\"",
|
|
1756
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
1757
|
+
"attribute": "locale"
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"kind": "field",
|
|
1761
|
+
"name": "section",
|
|
1762
|
+
"type": {
|
|
1763
|
+
"text": "AssessmentSection | null"
|
|
1764
|
+
},
|
|
1765
|
+
"default": "null",
|
|
1766
|
+
"attribute": "section"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"kind": "field",
|
|
1770
|
+
"name": "session",
|
|
1771
|
+
"type": {
|
|
1772
|
+
"text": "SectionControllerSessionState | null"
|
|
1773
|
+
},
|
|
1774
|
+
"default": "null",
|
|
1775
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
1776
|
+
"attribute": "session"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "field",
|
|
1780
|
+
"name": "assessment",
|
|
1781
|
+
"type": {
|
|
1782
|
+
"text": "AssessmentEntity | null"
|
|
1783
|
+
},
|
|
1784
|
+
"default": "null",
|
|
1785
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
1786
|
+
"attribute": "assessment"
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"kind": "field",
|
|
1790
|
+
"name": "sectionId",
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "string"
|
|
1793
|
+
},
|
|
1794
|
+
"default": "\"\"",
|
|
1795
|
+
"attribute": "section-id"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "field",
|
|
1799
|
+
"name": "attemptId",
|
|
1800
|
+
"type": {
|
|
1801
|
+
"text": "string"
|
|
1802
|
+
},
|
|
1803
|
+
"default": "\"\"",
|
|
1804
|
+
"attribute": "attempt-id"
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"kind": "field",
|
|
1808
|
+
"name": "iifeBundleHost",
|
|
1809
|
+
"type": {
|
|
1810
|
+
"text": "string"
|
|
1811
|
+
},
|
|
1812
|
+
"attribute": "iife-bundle-host"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"kind": "field",
|
|
1816
|
+
"name": "debug",
|
|
1817
|
+
"type": {
|
|
1818
|
+
"text": "string | boolean | undefined"
|
|
1819
|
+
},
|
|
1820
|
+
"attribute": "debug"
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"kind": "field",
|
|
1824
|
+
"name": "baseHeadingLevel",
|
|
1825
|
+
"type": {
|
|
1826
|
+
"text": "number | undefined"
|
|
1827
|
+
},
|
|
1828
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
1829
|
+
"attribute": "base-heading-level"
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"kind": "field",
|
|
1833
|
+
"name": "showToolbar",
|
|
1834
|
+
"type": {
|
|
1835
|
+
"text": "boolean | string | null | undefined"
|
|
1836
|
+
},
|
|
1837
|
+
"default": "\"false\"",
|
|
1838
|
+
"attribute": "show-toolbar"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "field",
|
|
1842
|
+
"name": "toolbarPosition",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "string"
|
|
1845
|
+
},
|
|
1846
|
+
"default": "\"right\"",
|
|
1847
|
+
"attribute": "toolbar-position"
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"kind": "field",
|
|
1851
|
+
"name": "toolRegistry",
|
|
1852
|
+
"type": {
|
|
1853
|
+
"text": "ToolRegistry | null"
|
|
1854
|
+
},
|
|
1855
|
+
"default": "null",
|
|
1856
|
+
"attribute": "toolregistry"
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"kind": "field",
|
|
1860
|
+
"name": "sectionHostButtons",
|
|
1861
|
+
"type": {
|
|
1862
|
+
"text": "ToolbarItem[]"
|
|
1863
|
+
},
|
|
1864
|
+
"default": "[]",
|
|
1865
|
+
"attribute": "sectionhostbuttons"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "field",
|
|
1869
|
+
"name": "itemHostButtons",
|
|
1870
|
+
"type": {
|
|
1871
|
+
"text": "ToolbarItem[]"
|
|
1872
|
+
},
|
|
1873
|
+
"default": "[]",
|
|
1874
|
+
"attribute": "itemhostbuttons"
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"kind": "field",
|
|
1878
|
+
"name": "passageHostButtons",
|
|
1879
|
+
"type": {
|
|
1880
|
+
"text": "ToolbarItem[]"
|
|
1881
|
+
},
|
|
1882
|
+
"default": "[]",
|
|
1883
|
+
"attribute": "passagehostbuttons"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"kind": "field",
|
|
1887
|
+
"name": "policies",
|
|
1888
|
+
"type": {
|
|
1889
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
1890
|
+
},
|
|
1891
|
+
"attribute": "policies"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"kind": "field",
|
|
1895
|
+
"name": "hooks",
|
|
1896
|
+
"type": {
|
|
1897
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
1898
|
+
},
|
|
1899
|
+
"attribute": "hooks"
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"kind": "field",
|
|
1903
|
+
"name": "toolConfigStrictness",
|
|
1904
|
+
"type": {
|
|
1905
|
+
"text": "ToolConfigStrictness | undefined"
|
|
1906
|
+
},
|
|
1907
|
+
"attribute": "tool-config-strictness"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"kind": "field",
|
|
1911
|
+
"name": "narrowLayoutBreakpoint",
|
|
1912
|
+
"type": {
|
|
1913
|
+
"text": "number | undefined"
|
|
1914
|
+
},
|
|
1915
|
+
"attribute": "narrow-layout-breakpoint"
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"kind": "field",
|
|
1919
|
+
"name": "contentMaxWidthNoPassage",
|
|
1920
|
+
"type": {
|
|
1921
|
+
"text": "number | undefined"
|
|
1922
|
+
},
|
|
1923
|
+
"attribute": "content-max-width-no-passage"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"kind": "field",
|
|
1927
|
+
"name": "contentMaxWidthWithPassage",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"text": "number | undefined"
|
|
1930
|
+
},
|
|
1931
|
+
"attribute": "content-max-width-with-passage"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"kind": "method",
|
|
1935
|
+
"name": "getSnapshot",
|
|
1936
|
+
"return": {
|
|
1937
|
+
"type": {
|
|
1938
|
+
"text": "SectionPlayerSnapshot | null"
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"kind": "method",
|
|
1944
|
+
"name": "navigateTo",
|
|
1945
|
+
"parameters": [
|
|
1946
|
+
{
|
|
1947
|
+
"name": "index",
|
|
1948
|
+
"type": {
|
|
1949
|
+
"text": "number"
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
],
|
|
1953
|
+
"return": {
|
|
1954
|
+
"type": {
|
|
1955
|
+
"text": "boolean"
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "method",
|
|
1961
|
+
"name": "navigateNext",
|
|
1962
|
+
"return": {
|
|
1963
|
+
"type": {
|
|
1964
|
+
"text": "boolean"
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
"kind": "method",
|
|
1970
|
+
"name": "navigatePrevious",
|
|
1971
|
+
"return": {
|
|
1972
|
+
"type": {
|
|
1973
|
+
"text": "boolean"
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"kind": "method",
|
|
1979
|
+
"name": "getSectionController",
|
|
1980
|
+
"return": {
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "SectionControllerHandle | null"
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"kind": "method",
|
|
1988
|
+
"name": "waitForSectionController",
|
|
1989
|
+
"parameters": [
|
|
1990
|
+
{
|
|
1991
|
+
"name": "timeoutMs",
|
|
1992
|
+
"type": {
|
|
1993
|
+
"text": "number"
|
|
1994
|
+
},
|
|
1995
|
+
"optional": true,
|
|
1996
|
+
"default": "5000"
|
|
1997
|
+
}
|
|
1998
|
+
],
|
|
1999
|
+
"return": {
|
|
2000
|
+
"type": {
|
|
2001
|
+
"text": "Promise<SectionControllerHandle | null>"
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
],
|
|
2006
|
+
"attributes": [
|
|
2007
|
+
{
|
|
2008
|
+
"name": "runtime",
|
|
2009
|
+
"type": {
|
|
2010
|
+
"text": "RuntimeConfig | null"
|
|
2011
|
+
},
|
|
2012
|
+
"default": "null",
|
|
2013
|
+
"fieldName": "runtime"
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"name": "nds-icons",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "boolean"
|
|
2019
|
+
},
|
|
2020
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
2021
|
+
"fieldName": "ndsIcons"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"name": "locale",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"text": "string"
|
|
2027
|
+
},
|
|
2028
|
+
"default": "\"\"",
|
|
2029
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
2030
|
+
"fieldName": "locale"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "section",
|
|
2034
|
+
"type": {
|
|
2035
|
+
"text": "AssessmentSection | null"
|
|
2036
|
+
},
|
|
2037
|
+
"default": "null",
|
|
2038
|
+
"fieldName": "section"
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"name": "session",
|
|
2042
|
+
"type": {
|
|
2043
|
+
"text": "SectionControllerSessionState | null"
|
|
2044
|
+
},
|
|
2045
|
+
"default": "null",
|
|
2046
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
2047
|
+
"fieldName": "session"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"name": "assessment",
|
|
2051
|
+
"type": {
|
|
2052
|
+
"text": "AssessmentEntity | null"
|
|
2053
|
+
},
|
|
2054
|
+
"default": "null",
|
|
2055
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
2056
|
+
"fieldName": "assessment"
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"name": "section-id",
|
|
2060
|
+
"type": {
|
|
2061
|
+
"text": "string"
|
|
2062
|
+
},
|
|
2063
|
+
"default": "\"\"",
|
|
2064
|
+
"fieldName": "sectionId"
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "attempt-id",
|
|
2068
|
+
"type": {
|
|
2069
|
+
"text": "string"
|
|
2070
|
+
},
|
|
2071
|
+
"default": "\"\"",
|
|
2072
|
+
"fieldName": "attemptId"
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "iife-bundle-host",
|
|
2076
|
+
"type": {
|
|
2077
|
+
"text": "string"
|
|
2078
|
+
},
|
|
2079
|
+
"fieldName": "iifeBundleHost"
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"name": "debug",
|
|
2083
|
+
"type": {
|
|
2084
|
+
"text": "string"
|
|
2085
|
+
},
|
|
2086
|
+
"fieldName": "debug"
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"name": "base-heading-level",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "number"
|
|
2092
|
+
},
|
|
2093
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
2094
|
+
"fieldName": "baseHeadingLevel"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"name": "show-toolbar",
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "string"
|
|
2100
|
+
},
|
|
2101
|
+
"default": "\"false\"",
|
|
2102
|
+
"fieldName": "showToolbar"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"name": "toolbar-position",
|
|
2106
|
+
"type": {
|
|
2107
|
+
"text": "string"
|
|
2108
|
+
},
|
|
2109
|
+
"default": "\"right\"",
|
|
2110
|
+
"fieldName": "toolbarPosition"
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"name": "toolregistry",
|
|
2114
|
+
"type": {
|
|
2115
|
+
"text": "ToolRegistry | null"
|
|
2116
|
+
},
|
|
2117
|
+
"default": "null",
|
|
2118
|
+
"fieldName": "toolRegistry"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"name": "sectionhostbuttons",
|
|
2122
|
+
"type": {
|
|
2123
|
+
"text": "ToolbarItem[]"
|
|
2124
|
+
},
|
|
2125
|
+
"default": "[]",
|
|
2126
|
+
"fieldName": "sectionHostButtons"
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"name": "itemhostbuttons",
|
|
2130
|
+
"type": {
|
|
2131
|
+
"text": "ToolbarItem[]"
|
|
2132
|
+
},
|
|
2133
|
+
"default": "[]",
|
|
2134
|
+
"fieldName": "itemHostButtons"
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"name": "passagehostbuttons",
|
|
2138
|
+
"type": {
|
|
2139
|
+
"text": "ToolbarItem[]"
|
|
2140
|
+
},
|
|
2141
|
+
"default": "[]",
|
|
2142
|
+
"fieldName": "passageHostButtons"
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"name": "policies",
|
|
2146
|
+
"type": {
|
|
2147
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
2148
|
+
},
|
|
2149
|
+
"fieldName": "policies"
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"name": "hooks",
|
|
2153
|
+
"type": {
|
|
2154
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
2155
|
+
},
|
|
2156
|
+
"fieldName": "hooks"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"name": "tool-config-strictness",
|
|
2160
|
+
"type": {
|
|
2161
|
+
"text": "string"
|
|
2162
|
+
},
|
|
2163
|
+
"fieldName": "toolConfigStrictness"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "narrow-layout-breakpoint",
|
|
2167
|
+
"type": {
|
|
2168
|
+
"text": "number"
|
|
2169
|
+
},
|
|
2170
|
+
"fieldName": "narrowLayoutBreakpoint"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "content-max-width-no-passage",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "number"
|
|
2176
|
+
},
|
|
2177
|
+
"fieldName": "contentMaxWidthNoPassage"
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"name": "content-max-width-with-passage",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "number"
|
|
2183
|
+
},
|
|
2184
|
+
"fieldName": "contentMaxWidthWithPassage"
|
|
2185
|
+
}
|
|
2186
|
+
],
|
|
2187
|
+
"events": [
|
|
2188
|
+
{
|
|
2189
|
+
"name": "pie-stage-change",
|
|
2190
|
+
"type": {
|
|
2191
|
+
"text": "CustomEvent<StageChangeDetail>"
|
|
2192
|
+
},
|
|
2193
|
+
"description": "When the section enters `composed`, `engine-ready`, `interactive` or `disposed`, or a framework error fails or skips a stage."
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "pie-loading-complete",
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "CustomEvent<LoadingCompleteDetail>"
|
|
2199
|
+
},
|
|
2200
|
+
"description": "Once per section and attempt, when the element pre-warm resolves and the item cards can mount."
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"name": "element-preload-retry",
|
|
2204
|
+
"type": {
|
|
2205
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; attempt: number; maxRetries: number; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
2206
|
+
},
|
|
2207
|
+
"description": "When the rendering items pane's element pre-warm retries a failed load."
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"name": "element-preload-error",
|
|
2211
|
+
"type": {
|
|
2212
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
2213
|
+
},
|
|
2214
|
+
"description": "When the rendering items pane's element pre-warm fails."
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "framework-error",
|
|
2218
|
+
"type": {
|
|
2219
|
+
"text": "CustomEvent<FrameworkErrorModel>"
|
|
2220
|
+
},
|
|
2221
|
+
"description": "Bubbles from the inner toolkit. For each framework error the runtime reports; a non-recoverable bootstrap error also shows an error banner in place of the slotted content."
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"name": "composition-changed",
|
|
2225
|
+
"type": {
|
|
2226
|
+
"text": "CustomEvent<{ composition: unknown; version: number }>"
|
|
2227
|
+
},
|
|
2228
|
+
"description": "Bubbles from the inner toolkit. When the bound section's composition changes revision, with a version that increases on each change."
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"name": "session-changed",
|
|
2232
|
+
"type": {
|
|
2233
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; sourceRuntimeId: string } & Record<string, unknown>>"
|
|
2234
|
+
},
|
|
2235
|
+
"description": "Bubbles from the inner toolkit. When an item's session in the bound section changes, carrying the section's canonical session detail for that item."
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "runtime-owned",
|
|
2239
|
+
"type": {
|
|
2240
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
2241
|
+
},
|
|
2242
|
+
"description": "Bubbles from the inner toolkit. When the toolkit starts running its own coordinator."
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"name": "runtime-inherited",
|
|
2246
|
+
"type": {
|
|
2247
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
2248
|
+
},
|
|
2249
|
+
"description": "Bubbles from the inner toolkit. When the toolkit adopts an outer toolkit's coordinator, named by `parentRuntimeId`."
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"name": "runtime-ready",
|
|
2253
|
+
"type": {
|
|
2254
|
+
"text": "CustomEvent<{ runtimeId: string; coordinator: ToolkitCoordinator; ownership: \"owned\" | \"inherited\" }>"
|
|
2255
|
+
},
|
|
2256
|
+
"description": "Bubbles from the inner toolkit. Once per coordinator, with or without a section, from which point a host can drive it."
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "toolkit-ready",
|
|
2260
|
+
"type": {
|
|
2261
|
+
"text": "CustomEvent<{ runtimeId: string; assessmentId: string; sectionId: string; itemPlayer: ItemPlayerConfig; coordinator: ToolkitCoordinator }>"
|
|
2262
|
+
},
|
|
2263
|
+
"description": "Bubbles from the inner toolkit. For every section the toolkit initializes, once its section controller resolves."
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"name": "section-ready",
|
|
2267
|
+
"type": {
|
|
2268
|
+
"text": "CustomEvent<{ sectionId: string; attemptId: string; controller: unknown }>"
|
|
2269
|
+
},
|
|
2270
|
+
"description": "Bubbles from the inner toolkit. Right after `toolkit-ready`, with the section's controller or null."
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"name": "item-session-changed",
|
|
2274
|
+
"type": {
|
|
2275
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; session: unknown; sessionCommitReason?: \"teardown\" | \"navigate\" | \"page-hidden\" }>"
|
|
2276
|
+
},
|
|
2277
|
+
"description": "Bubbles from an item scope when the item player reports a response change; the player's own `session-changed` stops at the scope."
|
|
2278
|
+
}
|
|
2279
|
+
],
|
|
2280
|
+
"cssProperties": [
|
|
2281
|
+
{
|
|
2282
|
+
"name": "--pie-passage-header-background",
|
|
2283
|
+
"description": "Passage header surface. Documented host hook; falls back to the canonical surface tokens when unset."
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"name": "--pie-section-player-card-header-background",
|
|
2287
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
2291
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "--pie-section-player-card-header-radius",
|
|
2295
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "--pie-section-player-card-radius",
|
|
2299
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "--pie-section-player-tab-active-background",
|
|
2303
|
+
"description": "Public tab active-state background hook; hosts must preserve contrast with --pie-section-player-tab-active-color."
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
"name": "--pie-section-player-tab-active-color",
|
|
2307
|
+
"description": "Public tab active-state foreground hook; hosts must preserve contrast with --pie-section-player-tab-active-background."
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "--pie-section-player-tab-background",
|
|
2311
|
+
"description": "Public ordinary tab background hook; default remains transparent and should inherit accessible surrounding surfaces."
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "--pie-section-player-tab-color",
|
|
2315
|
+
"description": "Public ordinary tab foreground hook; hosts must preserve text contrast against ordinary tab backgrounds."
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "--pie-section-player-tab-gap",
|
|
2319
|
+
"description": "Public tabbed-frame spacing hook; values must not reduce perceivable target separation below WCAG expectations."
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "--pie-section-player-tab-padding-block",
|
|
2323
|
+
"description": "Public tab block padding hook; hosts should preserve keyboard target size when overriding."
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"name": "--pie-section-player-tab-track-padding",
|
|
2327
|
+
"description": "Public tab track padding hook; hosts should preserve target size and visible grouping when overriding."
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"name": "--pie-section-player-tab-track-radius",
|
|
2331
|
+
"description": "Public tab track radius hook; geometry-only override with no color contrast impact."
|
|
2332
|
+
}
|
|
2333
|
+
],
|
|
2334
|
+
"x-pie": {
|
|
2335
|
+
"shadow": "none",
|
|
2336
|
+
"classes": [
|
|
2337
|
+
"pie-section-player-layout-scaffold-anchor",
|
|
2338
|
+
"pie-section-player-nav-status",
|
|
2339
|
+
"pie-section-player-observability-anchor",
|
|
2340
|
+
"pie-section-player-tab-panel",
|
|
2341
|
+
"pie-section-player-tab-panel--items",
|
|
2342
|
+
"pie-section-player-tab-panel--passages",
|
|
2343
|
+
"pie-section-player-tabbed-content",
|
|
2344
|
+
"pie-section-player-tabbed-frame",
|
|
2345
|
+
"pie-section-player-tabs"
|
|
2346
|
+
]
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"kind": "class",
|
|
2351
|
+
"description": "Section player layout that renders a section's passages above its items in one column. The host sets `runtime` and `section` as properties; the element runs the toolkit, section controller, readiness, element pre-warm and section toolbar around them.",
|
|
2352
|
+
"name": "PieSectionPlayerVerticalElement",
|
|
2353
|
+
"tagName": "pie-section-player-vertical",
|
|
2354
|
+
"customElement": true,
|
|
2355
|
+
"members": [
|
|
2356
|
+
{
|
|
2357
|
+
"kind": "field",
|
|
2358
|
+
"name": "runtime",
|
|
2359
|
+
"type": {
|
|
2360
|
+
"text": "RuntimeConfig | null"
|
|
2361
|
+
},
|
|
2362
|
+
"default": "null",
|
|
2363
|
+
"attribute": "runtime"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"kind": "field",
|
|
2367
|
+
"name": "ndsIcons",
|
|
2368
|
+
"type": {
|
|
2369
|
+
"text": "boolean | undefined"
|
|
2370
|
+
},
|
|
2371
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
2372
|
+
"attribute": "nds-icons"
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"kind": "field",
|
|
2376
|
+
"name": "locale",
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "string"
|
|
2379
|
+
},
|
|
2380
|
+
"default": "\"\"",
|
|
2381
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
2382
|
+
"attribute": "locale"
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "field",
|
|
2386
|
+
"name": "section",
|
|
2387
|
+
"type": {
|
|
2388
|
+
"text": "AssessmentSection | null"
|
|
2389
|
+
},
|
|
2390
|
+
"default": "null",
|
|
2391
|
+
"attribute": "section"
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
"kind": "field",
|
|
2395
|
+
"name": "session",
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "SectionControllerSessionState | null"
|
|
2398
|
+
},
|
|
2399
|
+
"default": "null",
|
|
2400
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
2401
|
+
"attribute": "session"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"kind": "field",
|
|
2405
|
+
"name": "assessment",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "AssessmentEntity | null"
|
|
2408
|
+
},
|
|
2409
|
+
"default": "null",
|
|
2410
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
2411
|
+
"attribute": "assessment"
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
"kind": "field",
|
|
2415
|
+
"name": "sectionId",
|
|
2416
|
+
"type": {
|
|
2417
|
+
"text": "string"
|
|
2418
|
+
},
|
|
2419
|
+
"default": "\"\"",
|
|
2420
|
+
"attribute": "section-id"
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"kind": "field",
|
|
2424
|
+
"name": "attemptId",
|
|
2425
|
+
"type": {
|
|
2426
|
+
"text": "string"
|
|
2427
|
+
},
|
|
2428
|
+
"default": "\"\"",
|
|
2429
|
+
"attribute": "attempt-id"
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"kind": "field",
|
|
2433
|
+
"name": "iifeBundleHost",
|
|
2434
|
+
"type": {
|
|
2435
|
+
"text": "string"
|
|
2436
|
+
},
|
|
2437
|
+
"attribute": "iife-bundle-host"
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "field",
|
|
2441
|
+
"name": "debug",
|
|
2442
|
+
"type": {
|
|
2443
|
+
"text": "string | boolean | undefined"
|
|
2444
|
+
},
|
|
2445
|
+
"attribute": "debug"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"kind": "field",
|
|
2449
|
+
"name": "baseHeadingLevel",
|
|
2450
|
+
"type": {
|
|
2451
|
+
"text": "number | undefined"
|
|
2452
|
+
},
|
|
2453
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
2454
|
+
"attribute": "base-heading-level"
|
|
2455
|
+
},
|
|
2456
|
+
{
|
|
2457
|
+
"kind": "field",
|
|
2458
|
+
"name": "showToolbar",
|
|
2459
|
+
"type": {
|
|
2460
|
+
"text": "boolean | string | null | undefined"
|
|
2461
|
+
},
|
|
2462
|
+
"default": "\"false\"",
|
|
2463
|
+
"attribute": "show-toolbar"
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "field",
|
|
2467
|
+
"name": "toolbarPosition",
|
|
2468
|
+
"type": {
|
|
2469
|
+
"text": "string"
|
|
2470
|
+
},
|
|
2471
|
+
"default": "\"right\"",
|
|
2472
|
+
"attribute": "toolbar-position"
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"kind": "field",
|
|
2476
|
+
"name": "toolRegistry",
|
|
2477
|
+
"type": {
|
|
2478
|
+
"text": "ToolRegistry | null"
|
|
2479
|
+
},
|
|
2480
|
+
"default": "null",
|
|
2481
|
+
"attribute": "toolregistry"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"kind": "field",
|
|
2485
|
+
"name": "sectionHostButtons",
|
|
2486
|
+
"type": {
|
|
2487
|
+
"text": "ToolbarItem[]"
|
|
2488
|
+
},
|
|
2489
|
+
"default": "[]",
|
|
2490
|
+
"attribute": "sectionhostbuttons"
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"kind": "field",
|
|
2494
|
+
"name": "itemHostButtons",
|
|
2495
|
+
"type": {
|
|
2496
|
+
"text": "ToolbarItem[]"
|
|
2497
|
+
},
|
|
2498
|
+
"default": "[]",
|
|
2499
|
+
"attribute": "itemhostbuttons"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"kind": "field",
|
|
2503
|
+
"name": "passageHostButtons",
|
|
2504
|
+
"type": {
|
|
2505
|
+
"text": "ToolbarItem[]"
|
|
2506
|
+
},
|
|
2507
|
+
"default": "[]",
|
|
2508
|
+
"attribute": "passagehostbuttons"
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"kind": "field",
|
|
2512
|
+
"name": "policies",
|
|
2513
|
+
"type": {
|
|
2514
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
2515
|
+
},
|
|
2516
|
+
"attribute": "policies"
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"kind": "field",
|
|
2520
|
+
"name": "hooks",
|
|
2521
|
+
"type": {
|
|
2522
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
2523
|
+
},
|
|
2524
|
+
"attribute": "hooks"
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"kind": "field",
|
|
2528
|
+
"name": "toolConfigStrictness",
|
|
2529
|
+
"type": {
|
|
2530
|
+
"text": "ToolConfigStrictness | undefined"
|
|
2531
|
+
},
|
|
2532
|
+
"attribute": "tool-config-strictness"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"kind": "field",
|
|
2536
|
+
"name": "narrowLayoutBreakpoint",
|
|
2537
|
+
"type": {
|
|
2538
|
+
"text": "number | undefined"
|
|
2539
|
+
},
|
|
2540
|
+
"attribute": "narrow-layout-breakpoint"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"kind": "field",
|
|
2544
|
+
"name": "contentMaxWidthNoPassage",
|
|
2545
|
+
"type": {
|
|
2546
|
+
"text": "number | undefined"
|
|
2547
|
+
},
|
|
2548
|
+
"attribute": "content-max-width-no-passage"
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"kind": "field",
|
|
2552
|
+
"name": "contentMaxWidthWithPassage",
|
|
2553
|
+
"type": {
|
|
2554
|
+
"text": "number | undefined"
|
|
2555
|
+
},
|
|
2556
|
+
"attribute": "content-max-width-with-passage"
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"kind": "method",
|
|
2560
|
+
"name": "getSnapshot",
|
|
2561
|
+
"return": {
|
|
2562
|
+
"type": {
|
|
2563
|
+
"text": "SectionPlayerSnapshot | null"
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
"kind": "method",
|
|
2569
|
+
"name": "navigateTo",
|
|
2570
|
+
"parameters": [
|
|
2571
|
+
{
|
|
2572
|
+
"name": "index",
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "number"
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
],
|
|
2578
|
+
"return": {
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "boolean"
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "method",
|
|
2586
|
+
"name": "navigateNext",
|
|
2587
|
+
"return": {
|
|
2588
|
+
"type": {
|
|
2589
|
+
"text": "boolean"
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "method",
|
|
2595
|
+
"name": "navigatePrevious",
|
|
2596
|
+
"return": {
|
|
2597
|
+
"type": {
|
|
2598
|
+
"text": "boolean"
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "method",
|
|
2604
|
+
"name": "getSectionController",
|
|
2605
|
+
"return": {
|
|
2606
|
+
"type": {
|
|
2607
|
+
"text": "SectionControllerHandle | null"
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"kind": "method",
|
|
2613
|
+
"name": "waitForSectionController",
|
|
2614
|
+
"parameters": [
|
|
2615
|
+
{
|
|
2616
|
+
"name": "timeoutMs",
|
|
2617
|
+
"type": {
|
|
2618
|
+
"text": "number"
|
|
2619
|
+
},
|
|
2620
|
+
"optional": true,
|
|
2621
|
+
"default": "5000"
|
|
2622
|
+
}
|
|
2623
|
+
],
|
|
2624
|
+
"return": {
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "Promise<SectionControllerHandle | null>"
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
],
|
|
2631
|
+
"attributes": [
|
|
2632
|
+
{
|
|
2633
|
+
"name": "runtime",
|
|
2634
|
+
"type": {
|
|
2635
|
+
"text": "RuntimeConfig | null"
|
|
2636
|
+
},
|
|
2637
|
+
"default": "null",
|
|
2638
|
+
"fieldName": "runtime"
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"name": "nds-icons",
|
|
2642
|
+
"type": {
|
|
2643
|
+
"text": "boolean"
|
|
2644
|
+
},
|
|
2645
|
+
"description": "Presentation flag: opt in to NDS icon buttons. Unset renders plain <button>s.",
|
|
2646
|
+
"fieldName": "ndsIcons"
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
"name": "locale",
|
|
2650
|
+
"type": {
|
|
2651
|
+
"text": "string"
|
|
2652
|
+
},
|
|
2653
|
+
"default": "\"\"",
|
|
2654
|
+
"description": "Interface locale: the language the player renders its own UI in, as a BCP-47 tag. Unset renders `en-US`. Distinct from the authored content language, which travels on `runtime.contentLanguage`.",
|
|
2655
|
+
"fieldName": "locale"
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
"name": "section",
|
|
2659
|
+
"type": {
|
|
2660
|
+
"text": "AssessmentSection | null"
|
|
2661
|
+
},
|
|
2662
|
+
"default": "null",
|
|
2663
|
+
"fieldName": "section"
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"name": "session",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "SectionControllerSessionState | null"
|
|
2669
|
+
},
|
|
2670
|
+
"default": "null",
|
|
2671
|
+
"description": "The section's session, applied by the controller created for `section` in place of hydrating from the persistence strategy.",
|
|
2672
|
+
"fieldName": "session"
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"name": "assessment",
|
|
2676
|
+
"type": {
|
|
2677
|
+
"text": "AssessmentEntity | null"
|
|
2678
|
+
},
|
|
2679
|
+
"default": "null",
|
|
2680
|
+
"description": "The assessment entity whose `personalNeedsProfile` and `settings` the toolkit's tool policy reads, forwarded to the coordinator it builds.",
|
|
2681
|
+
"fieldName": "assessment"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"name": "section-id",
|
|
2685
|
+
"type": {
|
|
2686
|
+
"text": "string"
|
|
2687
|
+
},
|
|
2688
|
+
"default": "\"\"",
|
|
2689
|
+
"fieldName": "sectionId"
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"name": "attempt-id",
|
|
2693
|
+
"type": {
|
|
2694
|
+
"text": "string"
|
|
2695
|
+
},
|
|
2696
|
+
"default": "\"\"",
|
|
2697
|
+
"fieldName": "attemptId"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"name": "iife-bundle-host",
|
|
2701
|
+
"type": {
|
|
2702
|
+
"text": "string"
|
|
2703
|
+
},
|
|
2704
|
+
"fieldName": "iifeBundleHost"
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"name": "debug",
|
|
2708
|
+
"type": {
|
|
2709
|
+
"text": "string"
|
|
2710
|
+
},
|
|
2711
|
+
"fieldName": "debug"
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
"name": "base-heading-level",
|
|
2715
|
+
"type": {
|
|
2716
|
+
"text": "number"
|
|
2717
|
+
},
|
|
2718
|
+
"description": "Composition context: the level this player's card headings occupy. Descendants derive their own outline from it — see docs/architecture/composition-context.md.",
|
|
2719
|
+
"fieldName": "baseHeadingLevel"
|
|
2720
|
+
},
|
|
2721
|
+
{
|
|
2722
|
+
"name": "show-toolbar",
|
|
2723
|
+
"type": {
|
|
2724
|
+
"text": "string"
|
|
2725
|
+
},
|
|
2726
|
+
"default": "\"false\"",
|
|
2727
|
+
"fieldName": "showToolbar"
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"name": "toolbar-position",
|
|
2731
|
+
"type": {
|
|
2732
|
+
"text": "string"
|
|
2733
|
+
},
|
|
2734
|
+
"default": "\"right\"",
|
|
2735
|
+
"fieldName": "toolbarPosition"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"name": "toolregistry",
|
|
2739
|
+
"type": {
|
|
2740
|
+
"text": "ToolRegistry | null"
|
|
2741
|
+
},
|
|
2742
|
+
"default": "null",
|
|
2743
|
+
"fieldName": "toolRegistry"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"name": "sectionhostbuttons",
|
|
2747
|
+
"type": {
|
|
2748
|
+
"text": "ToolbarItem[]"
|
|
2749
|
+
},
|
|
2750
|
+
"default": "[]",
|
|
2751
|
+
"fieldName": "sectionHostButtons"
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
"name": "itemhostbuttons",
|
|
2755
|
+
"type": {
|
|
2756
|
+
"text": "ToolbarItem[]"
|
|
2757
|
+
},
|
|
2758
|
+
"default": "[]",
|
|
2759
|
+
"fieldName": "itemHostButtons"
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"name": "passagehostbuttons",
|
|
2763
|
+
"type": {
|
|
2764
|
+
"text": "ToolbarItem[]"
|
|
2765
|
+
},
|
|
2766
|
+
"default": "[]",
|
|
2767
|
+
"fieldName": "passageHostButtons"
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"name": "policies",
|
|
2771
|
+
"type": {
|
|
2772
|
+
"text": "Partial<SectionPlayerPolicies> | undefined"
|
|
2773
|
+
},
|
|
2774
|
+
"fieldName": "policies"
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"name": "hooks",
|
|
2778
|
+
"type": {
|
|
2779
|
+
"text": "SectionPlayerHostHooks | undefined"
|
|
2780
|
+
},
|
|
2781
|
+
"fieldName": "hooks"
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"name": "tool-config-strictness",
|
|
2785
|
+
"type": {
|
|
2786
|
+
"text": "string"
|
|
2787
|
+
},
|
|
2788
|
+
"fieldName": "toolConfigStrictness"
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"name": "narrow-layout-breakpoint",
|
|
2792
|
+
"type": {
|
|
2793
|
+
"text": "number"
|
|
2794
|
+
},
|
|
2795
|
+
"fieldName": "narrowLayoutBreakpoint"
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
"name": "content-max-width-no-passage",
|
|
2799
|
+
"type": {
|
|
2800
|
+
"text": "number"
|
|
2801
|
+
},
|
|
2802
|
+
"fieldName": "contentMaxWidthNoPassage"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "content-max-width-with-passage",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "number"
|
|
2808
|
+
},
|
|
2809
|
+
"fieldName": "contentMaxWidthWithPassage"
|
|
2810
|
+
}
|
|
2811
|
+
],
|
|
2812
|
+
"events": [
|
|
2813
|
+
{
|
|
2814
|
+
"name": "pie-stage-change",
|
|
2815
|
+
"type": {
|
|
2816
|
+
"text": "CustomEvent<StageChangeDetail>"
|
|
2817
|
+
},
|
|
2818
|
+
"description": "When the section enters `composed`, `engine-ready`, `interactive` or `disposed`, or a framework error fails or skips a stage."
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "pie-loading-complete",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "CustomEvent<LoadingCompleteDetail>"
|
|
2824
|
+
},
|
|
2825
|
+
"description": "Once per section and attempt, when the element pre-warm resolves and the item cards can mount."
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "element-preload-retry",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; attempt: number; maxRetries: number; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
2831
|
+
},
|
|
2832
|
+
"description": "When the rendering items pane's element pre-warm retries a failed load."
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
"name": "element-preload-error",
|
|
2836
|
+
"type": {
|
|
2837
|
+
"text": "CustomEvent<{ componentTag: string; stage: \"validate-config\" | \"iife-load\" | \"esm-load\" | \"preloaded-assert\"; error: string; strategy: string; bundleType: string | null; bundleHost: string; renderablesCount: number; assessmentId?: string; sectionId: string; attemptId?: string }>"
|
|
2838
|
+
},
|
|
2839
|
+
"description": "When the rendering items pane's element pre-warm fails."
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"name": "framework-error",
|
|
2843
|
+
"type": {
|
|
2844
|
+
"text": "CustomEvent<FrameworkErrorModel>"
|
|
2845
|
+
},
|
|
2846
|
+
"description": "Bubbles from the inner toolkit. For each framework error the runtime reports; a non-recoverable bootstrap error also shows an error banner in place of the slotted content."
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "composition-changed",
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "CustomEvent<{ composition: unknown; version: number }>"
|
|
2852
|
+
},
|
|
2853
|
+
"description": "Bubbles from the inner toolkit. When the bound section's composition changes revision, with a version that increases on each change."
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "session-changed",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; sourceRuntimeId: string } & Record<string, unknown>>"
|
|
2859
|
+
},
|
|
2860
|
+
"description": "Bubbles from the inner toolkit. When an item's session in the bound section changes, carrying the section's canonical session detail for that item."
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"name": "runtime-owned",
|
|
2864
|
+
"type": {
|
|
2865
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
2866
|
+
},
|
|
2867
|
+
"description": "Bubbles from the inner toolkit. When the toolkit starts running its own coordinator."
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"name": "runtime-inherited",
|
|
2871
|
+
"type": {
|
|
2872
|
+
"text": "CustomEvent<{ runtimeId: string; parentRuntimeId: string | null }>"
|
|
2873
|
+
},
|
|
2874
|
+
"description": "Bubbles from the inner toolkit. When the toolkit adopts an outer toolkit's coordinator, named by `parentRuntimeId`."
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"name": "runtime-ready",
|
|
2878
|
+
"type": {
|
|
2879
|
+
"text": "CustomEvent<{ runtimeId: string; coordinator: ToolkitCoordinator; ownership: \"owned\" | \"inherited\" }>"
|
|
2880
|
+
},
|
|
2881
|
+
"description": "Bubbles from the inner toolkit. Once per coordinator, with or without a section, from which point a host can drive it."
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"name": "toolkit-ready",
|
|
2885
|
+
"type": {
|
|
2886
|
+
"text": "CustomEvent<{ runtimeId: string; assessmentId: string; sectionId: string; itemPlayer: ItemPlayerConfig; coordinator: ToolkitCoordinator }>"
|
|
2887
|
+
},
|
|
2888
|
+
"description": "Bubbles from the inner toolkit. For every section the toolkit initializes, once its section controller resolves."
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "section-ready",
|
|
2892
|
+
"type": {
|
|
2893
|
+
"text": "CustomEvent<{ sectionId: string; attemptId: string; controller: unknown }>"
|
|
2894
|
+
},
|
|
2895
|
+
"description": "Bubbles from the inner toolkit. Right after `toolkit-ready`, with the section's controller or null."
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"name": "item-session-changed",
|
|
2899
|
+
"type": {
|
|
2900
|
+
"text": "CustomEvent<{ itemId: string; canonicalItemId: string; session: unknown; sessionCommitReason?: \"teardown\" | \"navigate\" | \"page-hidden\" }>"
|
|
2901
|
+
},
|
|
2902
|
+
"description": "Bubbles from an item scope when the item player reports a response change; the player's own `session-changed` stops at the scope."
|
|
2903
|
+
}
|
|
2904
|
+
],
|
|
2905
|
+
"cssProperties": [
|
|
2906
|
+
{
|
|
2907
|
+
"name": "--pie-passage-header-background",
|
|
2908
|
+
"description": "Passage header surface. Documented host hook; falls back to the canonical surface tokens when unset."
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"name": "--pie-section-player-card-header-background",
|
|
2912
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
2916
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"name": "--pie-section-player-card-header-radius",
|
|
2920
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"name": "--pie-section-player-card-radius",
|
|
2924
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
2925
|
+
}
|
|
2926
|
+
],
|
|
2927
|
+
"x-pie": {
|
|
2928
|
+
"shadow": "none",
|
|
2929
|
+
"classes": [
|
|
2930
|
+
"pie-section-player-items-section",
|
|
2931
|
+
"pie-section-player-layout-scaffold-anchor",
|
|
2932
|
+
"pie-section-player-nav-status",
|
|
2933
|
+
"pie-section-player-observability-anchor",
|
|
2934
|
+
"pie-section-player-passages-section",
|
|
2935
|
+
"pie-section-player-vertical-content",
|
|
2936
|
+
"pie-section-player-vertical-frame"
|
|
2937
|
+
]
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "class",
|
|
2942
|
+
"description": "Item card of a section player: renders an item's heading, `<pie-item-toolbar>` and item player inside `<pie-item-scope>`, with a check-answer control when formative delivery is on. The items pane renders one per item and sets its properties.",
|
|
2943
|
+
"name": "SectionItemCard",
|
|
2944
|
+
"tagName": "pie-section-player-item-card",
|
|
2945
|
+
"customElement": true,
|
|
2946
|
+
"members": [
|
|
2947
|
+
{
|
|
2948
|
+
"kind": "field",
|
|
2949
|
+
"name": "item",
|
|
2950
|
+
"type": {
|
|
2951
|
+
"text": "ItemEntity"
|
|
2952
|
+
},
|
|
2953
|
+
"attribute": "item"
|
|
2954
|
+
},
|
|
2955
|
+
{
|
|
2956
|
+
"kind": "field",
|
|
2957
|
+
"name": "itemIndex",
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "number"
|
|
2960
|
+
},
|
|
2961
|
+
"default": "0",
|
|
2962
|
+
"attribute": "item-index"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "field",
|
|
2966
|
+
"name": "itemCount",
|
|
2967
|
+
"type": {
|
|
2968
|
+
"text": "number"
|
|
2969
|
+
},
|
|
2970
|
+
"default": "1",
|
|
2971
|
+
"attribute": "item-count"
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "field",
|
|
2975
|
+
"name": "isCurrent",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "boolean"
|
|
2978
|
+
},
|
|
2979
|
+
"default": "false",
|
|
2980
|
+
"attribute": "is-current",
|
|
2981
|
+
"reflects": true
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"kind": "field",
|
|
2985
|
+
"name": "canonicalItemId",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "string"
|
|
2988
|
+
},
|
|
2989
|
+
"attribute": "canonical-item-id"
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "field",
|
|
2993
|
+
"name": "itemSettings",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "ItemSettings | null"
|
|
2996
|
+
},
|
|
2997
|
+
"default": "null",
|
|
2998
|
+
"description": "The item's policy settings from its assessment item reference, registered through the item scope; they govern the item's own toolbar.",
|
|
2999
|
+
"attribute": "item-settings"
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"kind": "field",
|
|
3003
|
+
"name": "baseHeadingLevel",
|
|
3004
|
+
"type": {
|
|
3005
|
+
"text": "number"
|
|
3006
|
+
},
|
|
3007
|
+
"default": "DEFAULT_SECTION_BASE_HEADING_LEVEL",
|
|
3008
|
+
"description": "Composition context published by the pane: the level this card's own heading occupies. The card renders it, and the item/passage player beneath derives its outline from the same number — see docs/architecture/composition-context.md.",
|
|
3009
|
+
"attribute": "base-heading-level"
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
"kind": "field",
|
|
3013
|
+
"name": "resolvedPlayerTag",
|
|
3014
|
+
"type": {
|
|
3015
|
+
"text": "string"
|
|
3016
|
+
},
|
|
3017
|
+
"default": "\"div\"",
|
|
3018
|
+
"attribute": "resolved-player-tag"
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"kind": "field",
|
|
3022
|
+
"name": "playerAction",
|
|
3023
|
+
"type": {
|
|
3024
|
+
"text": "(node: HTMLElement, params: PlayerElementParams) => unknown"
|
|
3025
|
+
},
|
|
3026
|
+
"default": "(_node: HTMLElement, _params: PlayerElementParams) => undefined",
|
|
3027
|
+
"attribute": "playeraction"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"kind": "field",
|
|
3031
|
+
"name": "playerParams",
|
|
3032
|
+
"type": {
|
|
3033
|
+
"text": "PlayerElementParams"
|
|
3034
|
+
},
|
|
3035
|
+
"attribute": "player-params"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"kind": "field",
|
|
3039
|
+
"name": "itemToolbarTools",
|
|
3040
|
+
"type": {
|
|
3041
|
+
"text": "string"
|
|
3042
|
+
},
|
|
3043
|
+
"attribute": "item-toolbar-tools"
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"kind": "field",
|
|
3047
|
+
"name": "toolRegistry",
|
|
3048
|
+
"type": {
|
|
3049
|
+
"text": "ToolRegistry | null"
|
|
3050
|
+
},
|
|
3051
|
+
"default": "null",
|
|
3052
|
+
"attribute": "toolregistry"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "field",
|
|
3056
|
+
"name": "hostButtons",
|
|
3057
|
+
"type": {
|
|
3058
|
+
"text": "ToolbarItem[]"
|
|
3059
|
+
},
|
|
3060
|
+
"default": "[]",
|
|
3061
|
+
"attribute": "hostbuttons"
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"kind": "field",
|
|
3065
|
+
"name": "formativeView",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "FormativeItemView | null"
|
|
3068
|
+
},
|
|
3069
|
+
"default": "null",
|
|
3070
|
+
"description": "Resolved formative delivery state for this item, or null when the section does not deliver formatively. The pane derives it; this card renders it and reports learner actions.",
|
|
3071
|
+
"attribute": "formative-view"
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"kind": "field",
|
|
3075
|
+
"name": "timedMediaView",
|
|
3076
|
+
"type": {
|
|
3077
|
+
"text": "TimedMediaItemView | null"
|
|
3078
|
+
},
|
|
3079
|
+
"default": "null",
|
|
3080
|
+
"description": "Resolved cue state for this item, or null when the section is not timed media. The pane derives it; this card renders it.",
|
|
3081
|
+
"attribute": "timed-media-view"
|
|
3082
|
+
}
|
|
3083
|
+
],
|
|
3084
|
+
"attributes": [
|
|
3085
|
+
{
|
|
3086
|
+
"name": "item",
|
|
3087
|
+
"type": {
|
|
3088
|
+
"text": "ItemEntity"
|
|
3089
|
+
},
|
|
3090
|
+
"fieldName": "item"
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"name": "item-index",
|
|
3094
|
+
"type": {
|
|
3095
|
+
"text": "number"
|
|
3096
|
+
},
|
|
3097
|
+
"default": "0",
|
|
3098
|
+
"fieldName": "itemIndex"
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
"name": "item-count",
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "number"
|
|
3104
|
+
},
|
|
3105
|
+
"default": "1",
|
|
3106
|
+
"fieldName": "itemCount"
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"name": "is-current",
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "boolean"
|
|
3112
|
+
},
|
|
3113
|
+
"default": "false",
|
|
3114
|
+
"fieldName": "isCurrent"
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "canonical-item-id",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "string"
|
|
3120
|
+
},
|
|
3121
|
+
"fieldName": "canonicalItemId"
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"name": "item-settings",
|
|
3125
|
+
"type": {
|
|
3126
|
+
"text": "ItemSettings | null"
|
|
3127
|
+
},
|
|
3128
|
+
"default": "null",
|
|
3129
|
+
"description": "The item's policy settings from its assessment item reference, registered through the item scope; they govern the item's own toolbar.",
|
|
3130
|
+
"fieldName": "itemSettings"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"name": "base-heading-level",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "number"
|
|
3136
|
+
},
|
|
3137
|
+
"default": "DEFAULT_SECTION_BASE_HEADING_LEVEL",
|
|
3138
|
+
"description": "Composition context published by the pane: the level this card's own heading occupies. The card renders it, and the item/passage player beneath derives its outline from the same number — see docs/architecture/composition-context.md.",
|
|
3139
|
+
"fieldName": "baseHeadingLevel"
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"name": "resolved-player-tag",
|
|
3143
|
+
"type": {
|
|
3144
|
+
"text": "string"
|
|
3145
|
+
},
|
|
3146
|
+
"default": "\"div\"",
|
|
3147
|
+
"fieldName": "resolvedPlayerTag"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"name": "playeraction",
|
|
3151
|
+
"type": {
|
|
3152
|
+
"text": "(node: HTMLElement, params: PlayerElementParams) => unknown"
|
|
3153
|
+
},
|
|
3154
|
+
"default": "(_node: HTMLElement, _params: PlayerElementParams) => undefined",
|
|
3155
|
+
"fieldName": "playerAction"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"name": "player-params",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "PlayerElementParams"
|
|
3161
|
+
},
|
|
3162
|
+
"fieldName": "playerParams"
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"name": "item-toolbar-tools",
|
|
3166
|
+
"type": {
|
|
3167
|
+
"text": "string"
|
|
3168
|
+
},
|
|
3169
|
+
"fieldName": "itemToolbarTools"
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"name": "toolregistry",
|
|
3173
|
+
"type": {
|
|
3174
|
+
"text": "ToolRegistry | null"
|
|
3175
|
+
},
|
|
3176
|
+
"default": "null",
|
|
3177
|
+
"fieldName": "toolRegistry"
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"name": "hostbuttons",
|
|
3181
|
+
"type": {
|
|
3182
|
+
"text": "ToolbarItem[]"
|
|
3183
|
+
},
|
|
3184
|
+
"default": "[]",
|
|
3185
|
+
"fieldName": "hostButtons"
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"name": "formative-view",
|
|
3189
|
+
"type": {
|
|
3190
|
+
"text": "FormativeItemView | null"
|
|
3191
|
+
},
|
|
3192
|
+
"default": "null",
|
|
3193
|
+
"description": "Resolved formative delivery state for this item, or null when the section does not deliver formatively. The pane derives it; this card renders it and reports learner actions.",
|
|
3194
|
+
"fieldName": "formativeView"
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
"name": "timed-media-view",
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "TimedMediaItemView | null"
|
|
3200
|
+
},
|
|
3201
|
+
"default": "null",
|
|
3202
|
+
"description": "Resolved cue state for this item, or null when the section is not timed media. The pane derives it; this card renders it.",
|
|
3203
|
+
"fieldName": "timedMediaView"
|
|
3204
|
+
}
|
|
3205
|
+
],
|
|
3206
|
+
"events": [
|
|
3207
|
+
{
|
|
3208
|
+
"name": "pie-formative-action",
|
|
3209
|
+
"type": {
|
|
3210
|
+
"text": "CustomEvent<InternalFormativeActionDetail>"
|
|
3211
|
+
},
|
|
3212
|
+
"description": "When the learner presses the check-answer or try-again control, carrying the item player's `provideScore()` outcomes on a check."
|
|
3213
|
+
}
|
|
3214
|
+
],
|
|
3215
|
+
"cssProperties": [
|
|
3216
|
+
{
|
|
3217
|
+
"name": "--pie-section-player-card-header-background",
|
|
3218
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
3222
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"name": "--pie-section-player-card-header-radius",
|
|
3226
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
3227
|
+
},
|
|
3228
|
+
{
|
|
3229
|
+
"name": "--pie-section-player-card-radius",
|
|
3230
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
3231
|
+
}
|
|
3232
|
+
],
|
|
3233
|
+
"x-pie": {
|
|
3234
|
+
"shadow": "none",
|
|
3235
|
+
"classes": [
|
|
3236
|
+
"pie-section-player-card-media",
|
|
3237
|
+
"pie-section-player-card-media-surface",
|
|
3238
|
+
"pie-section-player-card-split-divider__handle",
|
|
3239
|
+
"pie-section-player-card-surface-stack",
|
|
3240
|
+
"pie-section-player-card-surface-stack-anchor",
|
|
3241
|
+
"pie-section-player-content-card",
|
|
3242
|
+
"pie-section-player-content-card-body",
|
|
3243
|
+
"pie-section-player-content-card-header",
|
|
3244
|
+
"pie-section-player-formative",
|
|
3245
|
+
"pie-section-player-formative__button",
|
|
3246
|
+
"pie-section-player-formative__status",
|
|
3247
|
+
"pie-section-player-item-card-anchor",
|
|
3248
|
+
"pie-section-player-item-content",
|
|
3249
|
+
"pie-section-player-item-header",
|
|
3250
|
+
"pie-section-player__item-content",
|
|
3251
|
+
"pie-section-player__item-header"
|
|
3252
|
+
]
|
|
3253
|
+
}
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"kind": "class",
|
|
3257
|
+
"description": "Items pane of a section player: renders the item cards of the current composition and runs the section's element pre-warm. It takes no attributes or properties: it reads the section player it sits in from a context the kernel publishes, so it renders at any depth below one and renders nothing outside one. Only the first connected items pane of a section player renders.",
|
|
3258
|
+
"name": "SectionItemsPane",
|
|
3259
|
+
"tagName": "pie-section-player-items-pane",
|
|
3260
|
+
"customElement": true,
|
|
3261
|
+
"events": [
|
|
3262
|
+
{
|
|
3263
|
+
"name": "framework-error",
|
|
3264
|
+
"type": {
|
|
3265
|
+
"text": "CustomEvent<FrameworkErrorModel>"
|
|
3266
|
+
},
|
|
3267
|
+
"description": "When the element pre-warm fails and the section player has no toolkit coordinator to report it through."
|
|
3268
|
+
}
|
|
3269
|
+
],
|
|
3270
|
+
"cssProperties": [
|
|
3271
|
+
{
|
|
3272
|
+
"name": "--pie-section-player-card-header-background",
|
|
3273
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
3277
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"name": "--pie-section-player-card-header-radius",
|
|
3281
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"name": "--pie-section-player-card-radius",
|
|
3285
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
3286
|
+
}
|
|
3287
|
+
],
|
|
3288
|
+
"x-pie": {
|
|
3289
|
+
"shadow": "none",
|
|
3290
|
+
"classes": [
|
|
3291
|
+
"pie-section-player-content-card",
|
|
3292
|
+
"pie-section-player-content-card-body",
|
|
3293
|
+
"pie-section-player-item-content",
|
|
3294
|
+
"pie-section-player-scroll-hint",
|
|
3295
|
+
"pie-section-player-scroll-hint__button",
|
|
3296
|
+
"pie-section-player-timed-media-status",
|
|
3297
|
+
"pie-section-player__item-content"
|
|
3298
|
+
]
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "class",
|
|
3303
|
+
"description": "Passage card of a section player: renders a passage's heading, `<pie-item-toolbar>` and passage player inside `<pie-passage-shell>`. The passages pane renders one per passage and sets its properties. With `timed-media-stimulus` set, the card finds the media element the passage renders and registers it as the section's media time source.",
|
|
3304
|
+
"name": "SectionPassageCard",
|
|
3305
|
+
"tagName": "pie-section-player-passage-card",
|
|
3306
|
+
"customElement": true,
|
|
3307
|
+
"members": [
|
|
3308
|
+
{
|
|
3309
|
+
"kind": "field",
|
|
3310
|
+
"name": "passage",
|
|
3311
|
+
"type": {
|
|
3312
|
+
"text": "PassageEntity"
|
|
3313
|
+
},
|
|
3314
|
+
"attribute": "passage"
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"kind": "field",
|
|
3318
|
+
"name": "baseHeadingLevel",
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "number"
|
|
3321
|
+
},
|
|
3322
|
+
"default": "DEFAULT_SECTION_BASE_HEADING_LEVEL",
|
|
3323
|
+
"description": "Composition context published by the pane: the level this card's own heading occupies. The card renders it, and the item/passage player beneath derives its outline from the same number — see docs/architecture/composition-context.md.",
|
|
3324
|
+
"attribute": "base-heading-level"
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"kind": "field",
|
|
3328
|
+
"name": "resolvedPlayerTag",
|
|
3329
|
+
"type": {
|
|
3330
|
+
"text": "string"
|
|
3331
|
+
},
|
|
3332
|
+
"default": "\"div\"",
|
|
3333
|
+
"attribute": "resolved-player-tag"
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
"kind": "field",
|
|
3337
|
+
"name": "playerAction",
|
|
3338
|
+
"type": {
|
|
3339
|
+
"text": "(node: HTMLElement, params: PlayerElementParams) => unknown"
|
|
3340
|
+
},
|
|
3341
|
+
"default": "(_node: HTMLElement, _params: PlayerElementParams) => undefined",
|
|
3342
|
+
"attribute": "playeraction"
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
"kind": "field",
|
|
3346
|
+
"name": "playerParams",
|
|
3347
|
+
"type": {
|
|
3348
|
+
"text": "PlayerElementParams"
|
|
3349
|
+
},
|
|
3350
|
+
"attribute": "player-params"
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"kind": "field",
|
|
3354
|
+
"name": "passageToolbarTools",
|
|
3355
|
+
"type": {
|
|
3356
|
+
"text": "string"
|
|
3357
|
+
},
|
|
3358
|
+
"attribute": "passage-toolbar-tools"
|
|
3359
|
+
},
|
|
3360
|
+
{
|
|
3361
|
+
"kind": "field",
|
|
3362
|
+
"name": "toolRegistry",
|
|
3363
|
+
"type": {
|
|
3364
|
+
"text": "ToolRegistry | null"
|
|
3365
|
+
},
|
|
3366
|
+
"default": "null",
|
|
3367
|
+
"attribute": "toolregistry"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"kind": "field",
|
|
3371
|
+
"name": "hostButtons",
|
|
3372
|
+
"type": {
|
|
3373
|
+
"text": "ToolbarItem[]"
|
|
3374
|
+
},
|
|
3375
|
+
"default": "[]",
|
|
3376
|
+
"attribute": "hostbuttons"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "field",
|
|
3380
|
+
"name": "timedMediaStimulus",
|
|
3381
|
+
"type": {
|
|
3382
|
+
"text": "boolean"
|
|
3383
|
+
},
|
|
3384
|
+
"default": "false",
|
|
3385
|
+
"description": "This passage is a timed-media section's stimulus: the card adapts the media element its config mounted and registers it as the section's Media Time Source. Absent for every other passage.",
|
|
3386
|
+
"attribute": "timed-media-stimulus"
|
|
3387
|
+
}
|
|
3388
|
+
],
|
|
3389
|
+
"attributes": [
|
|
3390
|
+
{
|
|
3391
|
+
"name": "passage",
|
|
3392
|
+
"type": {
|
|
3393
|
+
"text": "PassageEntity"
|
|
3394
|
+
},
|
|
3395
|
+
"fieldName": "passage"
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
"name": "base-heading-level",
|
|
3399
|
+
"type": {
|
|
3400
|
+
"text": "number"
|
|
3401
|
+
},
|
|
3402
|
+
"default": "DEFAULT_SECTION_BASE_HEADING_LEVEL",
|
|
3403
|
+
"description": "Composition context published by the pane: the level this card's own heading occupies. The card renders it, and the item/passage player beneath derives its outline from the same number — see docs/architecture/composition-context.md.",
|
|
3404
|
+
"fieldName": "baseHeadingLevel"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "resolved-player-tag",
|
|
3408
|
+
"type": {
|
|
3409
|
+
"text": "string"
|
|
3410
|
+
},
|
|
3411
|
+
"default": "\"div\"",
|
|
3412
|
+
"fieldName": "resolvedPlayerTag"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"name": "playeraction",
|
|
3416
|
+
"type": {
|
|
3417
|
+
"text": "(node: HTMLElement, params: PlayerElementParams) => unknown"
|
|
3418
|
+
},
|
|
3419
|
+
"default": "(_node: HTMLElement, _params: PlayerElementParams) => undefined",
|
|
3420
|
+
"fieldName": "playerAction"
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"name": "player-params",
|
|
3424
|
+
"type": {
|
|
3425
|
+
"text": "PlayerElementParams"
|
|
3426
|
+
},
|
|
3427
|
+
"fieldName": "playerParams"
|
|
3428
|
+
},
|
|
3429
|
+
{
|
|
3430
|
+
"name": "passage-toolbar-tools",
|
|
3431
|
+
"type": {
|
|
3432
|
+
"text": "string"
|
|
3433
|
+
},
|
|
3434
|
+
"fieldName": "passageToolbarTools"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"name": "toolregistry",
|
|
3438
|
+
"type": {
|
|
3439
|
+
"text": "ToolRegistry | null"
|
|
3440
|
+
},
|
|
3441
|
+
"default": "null",
|
|
3442
|
+
"fieldName": "toolRegistry"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"name": "hostbuttons",
|
|
3446
|
+
"type": {
|
|
3447
|
+
"text": "ToolbarItem[]"
|
|
3448
|
+
},
|
|
3449
|
+
"default": "[]",
|
|
3450
|
+
"fieldName": "hostButtons"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "timed-media-stimulus",
|
|
3454
|
+
"type": {
|
|
3455
|
+
"text": "boolean"
|
|
3456
|
+
},
|
|
3457
|
+
"default": "false",
|
|
3458
|
+
"description": "This passage is a timed-media section's stimulus: the card adapts the media element its config mounted and registers it as the section's Media Time Source. Absent for every other passage.",
|
|
3459
|
+
"fieldName": "timedMediaStimulus"
|
|
3460
|
+
}
|
|
3461
|
+
],
|
|
3462
|
+
"events": [
|
|
3463
|
+
{
|
|
3464
|
+
"name": "pie-media-time-source",
|
|
3465
|
+
"type": {
|
|
3466
|
+
"text": "CustomEvent<InternalMediaTimeSourceDetail>"
|
|
3467
|
+
},
|
|
3468
|
+
"description": "When the media element of a timed-media stimulus passage appears or goes away."
|
|
3469
|
+
}
|
|
3470
|
+
],
|
|
3471
|
+
"cssProperties": [
|
|
3472
|
+
{
|
|
3473
|
+
"name": "--pie-passage-header-background",
|
|
3474
|
+
"description": "Passage header surface. Documented host hook; falls back to the canonical surface tokens when unset."
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"name": "--pie-section-player-card-header-background",
|
|
3478
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
3482
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"name": "--pie-section-player-card-header-radius",
|
|
3486
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
"name": "--pie-section-player-card-radius",
|
|
3490
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
3491
|
+
}
|
|
3492
|
+
],
|
|
3493
|
+
"x-pie": {
|
|
3494
|
+
"shadow": "none",
|
|
3495
|
+
"classes": [
|
|
3496
|
+
"pie-section-player-card-media",
|
|
3497
|
+
"pie-section-player-card-media-surface",
|
|
3498
|
+
"pie-section-player-card-split-divider__handle",
|
|
3499
|
+
"pie-section-player-card-surface-stack",
|
|
3500
|
+
"pie-section-player-card-surface-stack-anchor",
|
|
3501
|
+
"pie-section-player-content-card",
|
|
3502
|
+
"pie-section-player-content-card-body",
|
|
3503
|
+
"pie-section-player-content-card-header",
|
|
3504
|
+
"pie-section-player-passage-card-anchor",
|
|
3505
|
+
"pie-section-player-passage-content",
|
|
3506
|
+
"pie-section-player-passage-header",
|
|
3507
|
+
"pie-section-player__passage-content",
|
|
3508
|
+
"pie-section-player__passage-header"
|
|
3509
|
+
]
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"kind": "class",
|
|
3514
|
+
"description": "Passages pane of a section player: renders the passage cards of the current section, the timed-media stimulus first, with a loading message until the section's elements load. It takes no attributes or properties: it reads the section player it sits in from a context the kernel publishes, so it renders at any depth below one and renders nothing outside one. Only the first connected passages pane of a section player renders.",
|
|
3515
|
+
"name": "SectionPassagesPane",
|
|
3516
|
+
"tagName": "pie-section-player-passages-pane",
|
|
3517
|
+
"customElement": true,
|
|
3518
|
+
"cssProperties": [
|
|
3519
|
+
{
|
|
3520
|
+
"name": "--pie-passage-header-background",
|
|
3521
|
+
"description": "Passage header surface. Documented host hook; falls back to the canonical surface tokens when unset."
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"name": "--pie-section-player-card-header-background",
|
|
3525
|
+
"description": "Public card header background hook; defaults to transparent and hosts must preserve contrast with card header content."
|
|
3526
|
+
},
|
|
3527
|
+
{
|
|
3528
|
+
"name": "--pie-section-player-card-header-background-dark",
|
|
3529
|
+
"description": "Public card header fill applied under dark themes ([data-theme=\"dark\"] or pie-theme[theme=\"dark\"]); falls back to --pie-section-player-card-header-background so a host that sets only the light hook keeps today's behaviour. Hosts must preserve contrast with card header content on the dark ground."
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "--pie-section-player-card-header-radius",
|
|
3533
|
+
"description": "Public card header corner radius hook; defaults just inside the card radius and may be overridden when hosts style header fills."
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"name": "--pie-section-player-card-radius",
|
|
3537
|
+
"description": "Public card radius hook shared by item and passage cards; geometry-only override with no color contrast impact."
|
|
3538
|
+
}
|
|
3539
|
+
],
|
|
3540
|
+
"x-pie": {
|
|
3541
|
+
"shadow": "none",
|
|
3542
|
+
"classes": [
|
|
3543
|
+
"pie-section-player-content-card",
|
|
3544
|
+
"pie-section-player-content-card-body",
|
|
3545
|
+
"pie-section-player-passage-content",
|
|
3546
|
+
"pie-section-player__passage-content"
|
|
3547
|
+
]
|
|
3548
|
+
}
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"kind": "class",
|
|
3552
|
+
"description": "Section toolbar shell that renders `<pie-section-toolbar>` at the `toolbar-position` side of its content, and no toolbar when `show-toolbar` is false or the position is `none`. A `left` or `right` toolbar moves to the top at viewports up to 1100px wide.",
|
|
3553
|
+
"name": "SectionPlayerShell",
|
|
3554
|
+
"tagName": "pie-section-player-shell",
|
|
3555
|
+
"customElement": true,
|
|
3556
|
+
"members": [
|
|
3557
|
+
{
|
|
3558
|
+
"kind": "field",
|
|
3559
|
+
"name": "showToolbar",
|
|
3560
|
+
"type": {
|
|
3561
|
+
"text": "boolean | string | null | undefined"
|
|
3562
|
+
},
|
|
3563
|
+
"default": "\"false\"",
|
|
3564
|
+
"attribute": "show-toolbar"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"kind": "field",
|
|
3568
|
+
"name": "toolbarPosition",
|
|
3569
|
+
"type": {
|
|
3570
|
+
"text": "string"
|
|
3571
|
+
},
|
|
3572
|
+
"default": "\"right\"",
|
|
3573
|
+
"attribute": "toolbar-position"
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"kind": "field",
|
|
3577
|
+
"name": "enabledTools",
|
|
3578
|
+
"type": {
|
|
3579
|
+
"text": "string"
|
|
3580
|
+
},
|
|
3581
|
+
"default": "\"\"",
|
|
3582
|
+
"attribute": "enabled-tools"
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"kind": "field",
|
|
3586
|
+
"name": "toolRegistry",
|
|
3587
|
+
"type": {
|
|
3588
|
+
"text": "ToolRegistry | null"
|
|
3589
|
+
},
|
|
3590
|
+
"default": "null",
|
|
3591
|
+
"attribute": "toolregistry"
|
|
3592
|
+
},
|
|
3593
|
+
{
|
|
3594
|
+
"kind": "field",
|
|
3595
|
+
"name": "sectionHostButtons",
|
|
3596
|
+
"type": {
|
|
3597
|
+
"text": "ToolbarItem[]"
|
|
3598
|
+
},
|
|
3599
|
+
"default": "[]",
|
|
3600
|
+
"attribute": "sectionhostbuttons"
|
|
3601
|
+
}
|
|
3602
|
+
],
|
|
3603
|
+
"attributes": [
|
|
3604
|
+
{
|
|
3605
|
+
"name": "show-toolbar",
|
|
3606
|
+
"type": {
|
|
3607
|
+
"text": "string"
|
|
3608
|
+
},
|
|
3609
|
+
"default": "\"false\"",
|
|
3610
|
+
"fieldName": "showToolbar"
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
"name": "toolbar-position",
|
|
3614
|
+
"type": {
|
|
3615
|
+
"text": "string"
|
|
3616
|
+
},
|
|
3617
|
+
"default": "\"right\"",
|
|
3618
|
+
"fieldName": "toolbarPosition"
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
"name": "enabled-tools",
|
|
3622
|
+
"type": {
|
|
3623
|
+
"text": "string"
|
|
3624
|
+
},
|
|
3625
|
+
"default": "\"\"",
|
|
3626
|
+
"fieldName": "enabledTools"
|
|
3627
|
+
},
|
|
3628
|
+
{
|
|
3629
|
+
"name": "toolregistry",
|
|
3630
|
+
"type": {
|
|
3631
|
+
"text": "ToolRegistry | null"
|
|
3632
|
+
},
|
|
3633
|
+
"default": "null",
|
|
3634
|
+
"fieldName": "toolRegistry"
|
|
3635
|
+
},
|
|
3636
|
+
{
|
|
3637
|
+
"name": "sectionhostbuttons",
|
|
3638
|
+
"type": {
|
|
3639
|
+
"text": "ToolbarItem[]"
|
|
3640
|
+
},
|
|
3641
|
+
"default": "[]",
|
|
3642
|
+
"fieldName": "sectionHostButtons"
|
|
3643
|
+
}
|
|
3644
|
+
],
|
|
3645
|
+
"slots": [
|
|
3646
|
+
{
|
|
3647
|
+
"name": "",
|
|
3648
|
+
"description": "The layout the toolbar sits beside."
|
|
3649
|
+
}
|
|
3650
|
+
],
|
|
3651
|
+
"x-pie": {
|
|
3652
|
+
"shadow": "open"
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
],
|
|
3656
|
+
"exports": [
|
|
3657
|
+
{
|
|
3658
|
+
"kind": "custom-element-definition",
|
|
3659
|
+
"name": "pie-assessment-toolkit",
|
|
3660
|
+
"declaration": {
|
|
3661
|
+
"name": "PieAssessmentToolkit",
|
|
3662
|
+
"module": "dist/components/pie-assessment-toolkit-element.js",
|
|
3663
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
"kind": "custom-element-definition",
|
|
3668
|
+
"name": "pie-item-player",
|
|
3669
|
+
"declaration": {
|
|
3670
|
+
"name": "PieItemPlayer",
|
|
3671
|
+
"module": "dist/pie-item-player.js",
|
|
3672
|
+
"package": "@pie-players/pie-item-player"
|
|
3673
|
+
}
|
|
3674
|
+
},
|
|
3675
|
+
{
|
|
3676
|
+
"kind": "custom-element-definition",
|
|
3677
|
+
"name": "pie-item-scope",
|
|
3678
|
+
"declaration": {
|
|
3679
|
+
"name": "ItemScope",
|
|
3680
|
+
"module": "dist/components/item-scope-element.js",
|
|
3681
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3682
|
+
}
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"kind": "custom-element-definition",
|
|
3686
|
+
"name": "pie-item-toolbar",
|
|
3687
|
+
"declaration": {
|
|
3688
|
+
"name": "ItemToolBar",
|
|
3689
|
+
"module": "dist/components/item-toolbar-element.js",
|
|
3690
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3691
|
+
}
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"kind": "custom-element-definition",
|
|
3695
|
+
"name": "pie-passage-shell",
|
|
3696
|
+
"declaration": {
|
|
3697
|
+
"name": "PassageShellElement"
|
|
3698
|
+
}
|
|
3699
|
+
},
|
|
3700
|
+
{
|
|
3701
|
+
"kind": "custom-element-definition",
|
|
3702
|
+
"name": "pie-section-player-base",
|
|
3703
|
+
"declaration": {
|
|
3704
|
+
"name": "PieSectionPlayerBaseElement"
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
"kind": "custom-element-definition",
|
|
3709
|
+
"name": "pie-section-player-item-card",
|
|
3710
|
+
"declaration": {
|
|
3711
|
+
"name": "SectionItemCard"
|
|
3712
|
+
}
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
"kind": "custom-element-definition",
|
|
3716
|
+
"name": "pie-section-player-items-pane",
|
|
3717
|
+
"declaration": {
|
|
3718
|
+
"name": "SectionItemsPane"
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"kind": "custom-element-definition",
|
|
3723
|
+
"name": "pie-section-player-kernel-host",
|
|
3724
|
+
"declaration": {
|
|
3725
|
+
"name": "PieSectionPlayerKernelHostElement"
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
"kind": "custom-element-definition",
|
|
3730
|
+
"name": "pie-section-player-passage-card",
|
|
3731
|
+
"declaration": {
|
|
3732
|
+
"name": "SectionPassageCard"
|
|
3733
|
+
}
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
"kind": "custom-element-definition",
|
|
3737
|
+
"name": "pie-section-player-passages-pane",
|
|
3738
|
+
"declaration": {
|
|
3739
|
+
"name": "SectionPassagesPane"
|
|
3740
|
+
}
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"kind": "custom-element-definition",
|
|
3744
|
+
"name": "pie-section-player-shell",
|
|
3745
|
+
"declaration": {
|
|
3746
|
+
"name": "SectionPlayerShell"
|
|
3747
|
+
}
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
"kind": "custom-element-definition",
|
|
3751
|
+
"name": "pie-section-player-splitpane",
|
|
3752
|
+
"declaration": {
|
|
3753
|
+
"name": "PieSectionPlayerSplitPaneElement"
|
|
3754
|
+
}
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
"kind": "custom-element-definition",
|
|
3758
|
+
"name": "pie-section-player-tabbed",
|
|
3759
|
+
"declaration": {
|
|
3760
|
+
"name": "PieSectionPlayerTabbedElement"
|
|
3761
|
+
}
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
"kind": "custom-element-definition",
|
|
3765
|
+
"name": "pie-section-player-vertical",
|
|
3766
|
+
"declaration": {
|
|
3767
|
+
"name": "PieSectionPlayerVerticalElement"
|
|
3768
|
+
}
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"kind": "custom-element-definition",
|
|
3772
|
+
"name": "pie-section-toolbar",
|
|
3773
|
+
"declaration": {
|
|
3774
|
+
"name": "SectionToolBar",
|
|
3775
|
+
"module": "dist/components/section-toolbar-element.js",
|
|
3776
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
]
|
|
3780
|
+
},
|
|
3781
|
+
{
|
|
3782
|
+
"kind": "javascript-module",
|
|
3783
|
+
"path": "dist/browser/pie-section-player.js",
|
|
3784
|
+
"declarations": [],
|
|
3785
|
+
"exports": [
|
|
3786
|
+
{
|
|
3787
|
+
"kind": "custom-element-definition",
|
|
3788
|
+
"name": "pie-assessment-toolkit",
|
|
3789
|
+
"declaration": {
|
|
3790
|
+
"name": "PieAssessmentToolkit",
|
|
3791
|
+
"module": "dist/components/pie-assessment-toolkit-element.js",
|
|
3792
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3793
|
+
}
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
"kind": "custom-element-definition",
|
|
3797
|
+
"name": "pie-item-player",
|
|
3798
|
+
"declaration": {
|
|
3799
|
+
"name": "PieItemPlayer",
|
|
3800
|
+
"module": "dist/pie-item-player.js",
|
|
3801
|
+
"package": "@pie-players/pie-item-player"
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"kind": "custom-element-definition",
|
|
3806
|
+
"name": "pie-item-scope",
|
|
3807
|
+
"declaration": {
|
|
3808
|
+
"name": "ItemScope",
|
|
3809
|
+
"module": "dist/components/item-scope-element.js",
|
|
3810
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "custom-element-definition",
|
|
3815
|
+
"name": "pie-item-toolbar",
|
|
3816
|
+
"declaration": {
|
|
3817
|
+
"name": "ItemToolBar",
|
|
3818
|
+
"module": "dist/components/item-toolbar-element.js",
|
|
3819
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3820
|
+
}
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"kind": "custom-element-definition",
|
|
3824
|
+
"name": "pie-passage-shell",
|
|
3825
|
+
"declaration": {
|
|
3826
|
+
"name": "PassageShellElement",
|
|
3827
|
+
"module": "dist/pie-section-player.js"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"kind": "custom-element-definition",
|
|
3832
|
+
"name": "pie-section-player-base",
|
|
3833
|
+
"declaration": {
|
|
3834
|
+
"name": "PieSectionPlayerBaseElement",
|
|
3835
|
+
"module": "dist/pie-section-player.js"
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"kind": "custom-element-definition",
|
|
3840
|
+
"name": "pie-section-player-item-card",
|
|
3841
|
+
"declaration": {
|
|
3842
|
+
"name": "SectionItemCard",
|
|
3843
|
+
"module": "dist/pie-section-player.js"
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"kind": "custom-element-definition",
|
|
3848
|
+
"name": "pie-section-player-items-pane",
|
|
3849
|
+
"declaration": {
|
|
3850
|
+
"name": "SectionItemsPane",
|
|
3851
|
+
"module": "dist/pie-section-player.js"
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"kind": "custom-element-definition",
|
|
3856
|
+
"name": "pie-section-player-kernel-host",
|
|
3857
|
+
"declaration": {
|
|
3858
|
+
"name": "PieSectionPlayerKernelHostElement",
|
|
3859
|
+
"module": "dist/pie-section-player.js"
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"kind": "custom-element-definition",
|
|
3864
|
+
"name": "pie-section-player-passage-card",
|
|
3865
|
+
"declaration": {
|
|
3866
|
+
"name": "SectionPassageCard",
|
|
3867
|
+
"module": "dist/pie-section-player.js"
|
|
3868
|
+
}
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"kind": "custom-element-definition",
|
|
3872
|
+
"name": "pie-section-player-passages-pane",
|
|
3873
|
+
"declaration": {
|
|
3874
|
+
"name": "SectionPassagesPane",
|
|
3875
|
+
"module": "dist/pie-section-player.js"
|
|
3876
|
+
}
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
"kind": "custom-element-definition",
|
|
3880
|
+
"name": "pie-section-player-shell",
|
|
3881
|
+
"declaration": {
|
|
3882
|
+
"name": "SectionPlayerShell",
|
|
3883
|
+
"module": "dist/pie-section-player.js"
|
|
3884
|
+
}
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"kind": "custom-element-definition",
|
|
3888
|
+
"name": "pie-section-player-splitpane",
|
|
3889
|
+
"declaration": {
|
|
3890
|
+
"name": "PieSectionPlayerSplitPaneElement",
|
|
3891
|
+
"module": "dist/pie-section-player.js"
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3894
|
+
{
|
|
3895
|
+
"kind": "custom-element-definition",
|
|
3896
|
+
"name": "pie-section-player-tabbed",
|
|
3897
|
+
"declaration": {
|
|
3898
|
+
"name": "PieSectionPlayerTabbedElement",
|
|
3899
|
+
"module": "dist/pie-section-player.js"
|
|
3900
|
+
}
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
"kind": "custom-element-definition",
|
|
3904
|
+
"name": "pie-section-player-vertical",
|
|
3905
|
+
"declaration": {
|
|
3906
|
+
"name": "PieSectionPlayerVerticalElement",
|
|
3907
|
+
"module": "dist/pie-section-player.js"
|
|
3908
|
+
}
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
"kind": "custom-element-definition",
|
|
3912
|
+
"name": "pie-section-toolbar",
|
|
3913
|
+
"declaration": {
|
|
3914
|
+
"name": "SectionToolBar",
|
|
3915
|
+
"module": "dist/components/section-toolbar-element.js",
|
|
3916
|
+
"package": "@pie-players/pie-assessment-toolkit"
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
]
|
|
3920
|
+
}
|
|
3921
|
+
]
|
|
3922
|
+
}
|