@pie-players/pie-assessment-player 0.3.30 → 0.3.32
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssessmentPlayerDefaultElement.d.ts","sourceRoot":"","sources":["../../src/components/AssessmentPlayerDefaultElement.ts"],"names":[],"mappings":"AAAA,OAAO,6EAA6E,CAAC;AACrF,OAAO,4EAA4E,CAAC;AAMpF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAQxF,OAAO,KAAK,EACX,gCAAgC,EAChC,mCAAmC,EACnC,wBAAwB,EACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACX,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC7B,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"AssessmentPlayerDefaultElement.d.ts","sourceRoot":"","sources":["../../src/components/AssessmentPlayerDefaultElement.ts"],"names":[],"mappings":"AAAA,OAAO,6EAA6E,CAAC;AACrF,OAAO,4EAA4E,CAAC;AAMpF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAQxF,OAAO,KAAK,EACX,gCAAgC,EAChC,mCAAmC,EACnC,wBAAwB,EACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACX,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC7B,MAAM,aAAa,CAAC;AAuCrB,qBAAa,8BACZ,SAAQ,WACR,YAAW,mCAAmC;IAE9C,MAAM,KAAK,kBAAkB,aAS5B;IAED,YAAY,SAAM;IAClB,SAAS,SAAM;IACf,UAAU,EAAE,oBAAoB,GAAG,IAAI,CAAQ;IAC/C,GAAG,EAAE,GAAG,GAAG,IAAI,CAAQ;IACvB,WAAW,EAAE,OAAO,CAAQ;IAC5B,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAQ;IAC3C,cAAc,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAQ;IAC3D,mBAAmB,EAAE,WAAW,GAAG,UAAU,CAAe;IAC5D,UAAU,EAAE,MAAM,GAAG,KAAK,GAAG,WAAW,CAAU;IAClD,OAAO,CAAC,MAAM,CAAkD;IAEhE,OAAO,CAAC,UAAU,CAA2C;IAC7D,OAAO,CAAC,sBAAsB,CACxB;IACN,OAAO,CAAC,sBAAsB,CAEf;IACf,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,oBAAoB,CAAwC;IACpE,OAAO,CAAC,qBAAqB,CAAC,CAAa;IAC3C,OAAO,CAAC,2BAA2B,CAAC,CAAa;IACjD,OAAO,CAAC,qBAAqB,CACvB;IACN,OAAO,CAAC,SAAS,CAEf;;IASF,wBAAwB,CACvB,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAAG,IAAI,EACxB,KAAK,EAAE,MAAM,GAAG,IAAI;IAoBrB,IAAI,KAAK,IAAI,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAE/C;IAED,IAAI,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAGnD;IAED,IAAI,oBAAoB,IAAI,6BAA6B,CAAC,sBAAsB,CAAC,CAEhF;IAED,IAAI,oBAAoB,CAAC,KAAK,EAAE,6BAA6B,CAAC,sBAAsB,CAAC,EAKpF;IAED,iBAAiB;IAmBjB,oBAAoB;IAOpB,OAAO,CAAC,QAAQ;YAeF,mBAAmB;IAmEjC,OAAO,CAAC,8BAA8B;IAOtC,OAAO,CAAC,2BAA2B;IAenC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;IAM7B,OAAO,CAAC,8BAA8B;IAqBtC,OAAO,CAAC,uCAAuC;IAe/C,OAAO,CAAC,oCAAoC;IAmC5C,OAAO,CAAC,MAAM;IA8Hd,OAAO,CAAC,cAAc;IActB,WAAW,IAAI,wBAAwB;IA6BvC,gBAAgB;IAIhB,eAAe;;;IAIf,cAAc,IAAI,gCAAgC;IAIlD,UAAU,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAiCvD,YAAY,IAAI,OAAO;IAqBvB,gBAAgB,IAAI,OAAO;IAqB3B,uBAAuB,IAAI,0BAA0B,GAAG,IAAI;IAItD,2BAA2B,CAAC,SAAS,SAAO;CAUlD"}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
import "@pie-players/pie-section-player/components/section-player-splitpane-element";
|
|
2
2
|
import "@pie-players/pie-section-player/components/section-player-vertical-element";
|
|
3
3
|
import { defineCustomElementSafely as _ } from "@pie-players/pie-players-shared";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
var U = "https://proxy.pie-api.com", H = `${U}/bundles/`;
|
|
5
|
+
function $(e) {
|
|
6
|
+
try {
|
|
7
|
+
const t = {
|
|
8
|
+
BASE_URL: "/",
|
|
9
|
+
DEV: !1,
|
|
10
|
+
MODE: "production",
|
|
11
|
+
PROD: !0,
|
|
12
|
+
SSR: !1
|
|
13
|
+
}[e];
|
|
14
|
+
if (typeof t == "string" && t.length > 0) return t;
|
|
15
|
+
} catch {
|
|
16
|
+
}
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
(function(e) {
|
|
20
|
-
e.player = "player.js", e.clientPlayer = "client-player.js", e.editor = "editor.js";
|
|
21
|
-
})(S || (S = {}));
|
|
22
|
-
var P;
|
|
23
|
-
(function(e) {
|
|
24
|
-
e.loading = "loading", e.loaded = "loaded";
|
|
25
|
-
})(P || (P = {}));
|
|
18
|
+
var Le = typeof window < "u" && window.PIE_BUILDER_ORIGIN_URL || $("PUBLIC_BUILDER_ORIGIN_URL") || U, V = typeof window < "u" && window.PIE_BUILDER_BUNDLE_URL || $("PUBLIC_BUILDER_BUNDLE_URL") || H;
|
|
26
19
|
function g(e) {
|
|
27
20
|
"@babel/helpers - typeof";
|
|
28
21
|
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -31,7 +24,7 @@ function g(e) {
|
|
|
31
24
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
32
25
|
}, g(e);
|
|
33
26
|
}
|
|
34
|
-
function
|
|
27
|
+
function J(e, t) {
|
|
35
28
|
if (g(e) != "object" || !e) return e;
|
|
36
29
|
var s = e[Symbol.toPrimitive];
|
|
37
30
|
if (s !== void 0) {
|
|
@@ -41,62 +34,37 @@ function V(e, t) {
|
|
|
41
34
|
}
|
|
42
35
|
return (t === "string" ? String : Number)(e);
|
|
43
36
|
}
|
|
44
|
-
function
|
|
45
|
-
var t =
|
|
37
|
+
function K(e) {
|
|
38
|
+
var t = J(e, "string");
|
|
46
39
|
return g(t) == "symbol" ? t : t + "";
|
|
47
40
|
}
|
|
48
41
|
function a(e, t, s) {
|
|
49
|
-
return (t =
|
|
42
|
+
return (t = K(t)) in e ? Object.defineProperty(e, t, {
|
|
50
43
|
value: s,
|
|
51
44
|
enumerable: !0,
|
|
52
45
|
configurable: !0,
|
|
53
46
|
writable: !0
|
|
54
47
|
}) : e[t] = s, e;
|
|
55
48
|
}
|
|
56
|
-
|
|
57
|
-
if (!e || typeof e != "object") return !1;
|
|
58
|
-
const t = e;
|
|
59
|
-
return typeof t.providerId == "string" && typeof t.providerName == "string" && typeof t.initialize == "function" && typeof t.trackError == "function" && typeof t.trackEvent == "function" && typeof t.destroy == "function" && typeof t.isReady == "function";
|
|
60
|
-
}
|
|
61
|
-
typeof window < "u" && !window.pieHelpers && (window.pieHelpers = {
|
|
62
|
-
loadingScripts: {},
|
|
63
|
-
loadingPromises: {},
|
|
64
|
-
globalLoadQueue: Promise.resolve(),
|
|
65
|
-
activeBundleUrl: null
|
|
66
|
-
});
|
|
67
|
-
var $ = "https://proxy.pie-api.com", J = `${$}/bundles/`;
|
|
68
|
-
function B(e) {
|
|
69
|
-
try {
|
|
70
|
-
const t = {
|
|
71
|
-
BASE_URL: "/",
|
|
72
|
-
DEV: !1,
|
|
73
|
-
MODE: "production",
|
|
74
|
-
PROD: !0,
|
|
75
|
-
SSR: !1
|
|
76
|
-
}[e];
|
|
77
|
-
if (typeof t == "string" && t.length > 0) return t;
|
|
78
|
-
} catch {
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
var Le = typeof window < "u" && window.PIE_BUILDER_ORIGIN_URL || B("PUBLIC_BUILDER_ORIGIN_URL") || $, K = typeof window < "u" && window.PIE_BUILDER_BUNDLE_URL || B("PUBLIC_BUILDER_BUNDLE_URL") || J, N;
|
|
49
|
+
var P;
|
|
82
50
|
(function(e) {
|
|
83
51
|
e.SAVE = "save", e.MODEL = "model", e.SCORE = "score", e.MANUAL_SCORE = "manual-score";
|
|
52
|
+
})(P || (P = {}));
|
|
53
|
+
var N;
|
|
54
|
+
(function(e) {
|
|
55
|
+
e.AUTO = "auto", e.MANUAL = "manual";
|
|
84
56
|
})(N || (N = {}));
|
|
85
57
|
var C;
|
|
86
58
|
(function(e) {
|
|
87
|
-
e.
|
|
59
|
+
e.GATHER = "gather", e.VIEW = "view", e.EVALUATE = "evaluate";
|
|
88
60
|
})(C || (C = {}));
|
|
89
61
|
var A;
|
|
90
|
-
(function(e) {
|
|
91
|
-
e.GATHER = "gather", e.VIEW = "view", e.EVALUATE = "evaluate";
|
|
92
|
-
})(A || (A = {}));
|
|
93
|
-
var x;
|
|
94
62
|
(function(e) {
|
|
95
63
|
e.PENDING = "pending", e.IN_PROGRESS = "in_progress", e.COMPLETED = "completed", e.FAILED = "failed";
|
|
96
|
-
})(
|
|
97
|
-
var W = class
|
|
64
|
+
})(A || (A = {}));
|
|
65
|
+
var W = class B extends CustomEvent {
|
|
98
66
|
constructor(t, s = !1) {
|
|
99
|
-
super(
|
|
67
|
+
super(B.TYPE, {
|
|
100
68
|
bubbles: !0,
|
|
101
69
|
detail: {
|
|
102
70
|
update: t,
|
|
@@ -106,9 +74,9 @@ var W = class O extends CustomEvent {
|
|
|
106
74
|
}
|
|
107
75
|
};
|
|
108
76
|
a(W, "TYPE", "model.updated");
|
|
109
|
-
var
|
|
77
|
+
var Z = class O extends CustomEvent {
|
|
110
78
|
constructor(t, s) {
|
|
111
|
-
super(
|
|
79
|
+
super(O.TYPE, {
|
|
112
80
|
bubbles: !0,
|
|
113
81
|
detail: {
|
|
114
82
|
src: t,
|
|
@@ -117,19 +85,19 @@ var Q = class M extends CustomEvent {
|
|
|
117
85
|
}), a(this, "src", void 0), a(this, "done", void 0), this.src = t, this.done = s;
|
|
118
86
|
}
|
|
119
87
|
};
|
|
120
|
-
a(
|
|
121
|
-
var
|
|
88
|
+
a(Z, "TYPE", "delete.image");
|
|
89
|
+
var Q = class M extends CustomEvent {
|
|
122
90
|
constructor(t) {
|
|
123
|
-
super(
|
|
91
|
+
super(M.TYPE, {
|
|
124
92
|
bubbles: !0,
|
|
125
93
|
detail: t
|
|
126
94
|
}), a(this, "handler", void 0), this.handler = t;
|
|
127
95
|
}
|
|
128
96
|
};
|
|
129
|
-
a(
|
|
130
|
-
var X = class
|
|
97
|
+
a(Q, "TYPE", "insert.image");
|
|
98
|
+
var X = class F extends CustomEvent {
|
|
131
99
|
constructor(t, s) {
|
|
132
|
-
super(
|
|
100
|
+
super(F.TYPE, {
|
|
133
101
|
bubbles: !0,
|
|
134
102
|
detail: {
|
|
135
103
|
src: t,
|
|
@@ -139,18 +107,18 @@ var X = class z extends CustomEvent {
|
|
|
139
107
|
}
|
|
140
108
|
};
|
|
141
109
|
a(X, "TYPE", "delete.sound");
|
|
142
|
-
var ee = class
|
|
110
|
+
var ee = class z extends CustomEvent {
|
|
143
111
|
constructor(t) {
|
|
144
|
-
super(
|
|
112
|
+
super(z.TYPE, {
|
|
145
113
|
bubbles: !0,
|
|
146
114
|
detail: t
|
|
147
115
|
}), a(this, "handler", void 0), this.handler = t;
|
|
148
116
|
}
|
|
149
117
|
};
|
|
150
118
|
a(ee, "TYPE", "insert.sound");
|
|
151
|
-
var te = class
|
|
119
|
+
var te = class G extends CustomEvent {
|
|
152
120
|
constructor(t, s) {
|
|
153
|
-
super(
|
|
121
|
+
super(G.TYPE, {
|
|
154
122
|
bubbles: !0,
|
|
155
123
|
composed: !0,
|
|
156
124
|
detail: {
|
|
@@ -161,18 +129,46 @@ var te = class j extends CustomEvent {
|
|
|
161
129
|
}
|
|
162
130
|
};
|
|
163
131
|
a(te, "TYPE", "session-changed");
|
|
164
|
-
var
|
|
132
|
+
var x;
|
|
165
133
|
(function(e) {
|
|
166
134
|
e[e.ROOT = 0] = "ROOT", e[e.SUBJECT = 1] = "SUBJECT", e[e.LEVEL = 2] = "LEVEL", e[e.STANDARD = 3] = "STANDARD";
|
|
135
|
+
})(x || (x = {}));
|
|
136
|
+
function m(e, t) {
|
|
137
|
+
const s = `[${e}]`;
|
|
138
|
+
return {
|
|
139
|
+
debug: (n, ...i) => {
|
|
140
|
+
t() && console.debug(s, n, ...i);
|
|
141
|
+
},
|
|
142
|
+
info: (n, ...i) => console.info(s, n, ...i),
|
|
143
|
+
warn: (n, ...i) => console.warn(s, n, ...i),
|
|
144
|
+
error: (n, ...i) => console.error(s, n, ...i)
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function p() {
|
|
148
|
+
return typeof window < "u" && window.PIE_DEBUG === !0;
|
|
149
|
+
}
|
|
150
|
+
var ke = m("math-rendering", () => p()), S;
|
|
151
|
+
(function(e) {
|
|
152
|
+
e.player = "player.js", e.clientPlayer = "client-player.js", e.editor = "editor.js";
|
|
153
|
+
})(S || (S = {}));
|
|
154
|
+
var R;
|
|
155
|
+
(function(e) {
|
|
156
|
+
e.loading = "loading", e.loaded = "loaded";
|
|
167
157
|
})(R || (R = {}));
|
|
168
|
-
var
|
|
169
|
-
buildServiceBase:
|
|
158
|
+
var Te = m("pie-scoring", () => p()), De = m("pie-updates", () => p()), _e = m("pie-initialization", () => p()), Ue = {
|
|
159
|
+
buildServiceBase: V,
|
|
170
160
|
bundleType: S.player,
|
|
171
161
|
env: {
|
|
172
162
|
mode: "gather",
|
|
173
163
|
role: "student"
|
|
174
164
|
}
|
|
175
|
-
}
|
|
165
|
+
};
|
|
166
|
+
function j(e) {
|
|
167
|
+
if (!e || typeof e != "object") return !1;
|
|
168
|
+
const t = e;
|
|
169
|
+
return typeof t.providerId == "string" && typeof t.providerName == "string" && typeof t.initialize == "function" && typeof t.trackError == "function" && typeof t.trackEvent == "function" && typeof t.destroy == "function" && typeof t.isReady == "function";
|
|
170
|
+
}
|
|
171
|
+
var se = m("instrumentation-event-bridge", () => p());
|
|
176
172
|
function ne(e) {
|
|
177
173
|
return e && typeof e == "object" ? e : typeof e > "u" ? {} : { value: e };
|
|
178
174
|
}
|
|
@@ -194,7 +190,7 @@ function oe(e) {
|
|
|
194
190
|
};
|
|
195
191
|
if (!e.instrumentationProvider) return () => {
|
|
196
192
|
};
|
|
197
|
-
if (!
|
|
193
|
+
if (!j(e.instrumentationProvider))
|
|
198
194
|
return e.debug && ie(e.component), () => {
|
|
199
195
|
};
|
|
200
196
|
const t = e.instrumentationProvider, s = [], n = Math.max(0, e.dedupeWindowMs ?? 0), i = /* @__PURE__ */ new Map(), c = (o, r) => {
|
|
@@ -365,14 +361,19 @@ function he(e) {
|
|
|
365
361
|
const t = k(e.runtimePlayer), s = k(e.player), n = D(t), i = D(s), c = n ?? i ?? !1, o = de(T(t), T(s));
|
|
366
362
|
if (o.kind !== "null") {
|
|
367
363
|
if (o.kind === "unset") return c ? ue() : void 0;
|
|
368
|
-
if (
|
|
364
|
+
if (j(o.value)) return o.value;
|
|
369
365
|
if (e.debug) {
|
|
370
366
|
const r = e.component ? `[${e.component}] ` : "";
|
|
371
367
|
le.warn(`${r}Ignoring invalid instrumentation provider; expected InstrumentationProvider contract`);
|
|
372
368
|
}
|
|
373
369
|
}
|
|
374
370
|
}
|
|
375
|
-
var
|
|
371
|
+
var $e = Object.freeze([
|
|
372
|
+
"composed",
|
|
373
|
+
"engine-ready",
|
|
374
|
+
"interactive",
|
|
375
|
+
"disposed"
|
|
376
|
+
]), me = [
|
|
376
377
|
{
|
|
377
378
|
sourceEventName: "assessment-controller-ready",
|
|
378
379
|
instrumentationEventName: "pie-assessment-controller-ready"
|
|
@@ -405,7 +406,7 @@ var me = [
|
|
|
405
406
|
sourceEventName: "assessment-error",
|
|
406
407
|
instrumentationEventName: "pie-assessment-error"
|
|
407
408
|
}
|
|
408
|
-
],
|
|
409
|
+
], Be = m("pie-overrides", () => p());
|
|
409
410
|
function f() {
|
|
410
411
|
return Date.now();
|
|
411
412
|
}
|
|
@@ -414,10 +415,10 @@ function y(e) {
|
|
|
414
415
|
}
|
|
415
416
|
function pe(e) {
|
|
416
417
|
if (e.attemptId) return `aas_v1_${y(e.assessmentId)}_${y(e.attemptId)}`;
|
|
417
|
-
const t =
|
|
418
|
+
const t = Y(), s = t ? fe(t) : "anon";
|
|
418
419
|
return `aas_v1_${y(e.assessmentId)}_${y(s)}`;
|
|
419
420
|
}
|
|
420
|
-
function
|
|
421
|
+
function Y() {
|
|
421
422
|
try {
|
|
422
423
|
return typeof window > "u" ? null : window.localStorage;
|
|
423
424
|
} catch {
|
|
@@ -430,11 +431,11 @@ function fe(e) {
|
|
|
430
431
|
const n = `anon-${Math.random().toString(36).slice(2)}${Date.now().toString(36)}`;
|
|
431
432
|
return e.setItem(t, n), n;
|
|
432
433
|
}
|
|
433
|
-
function
|
|
434
|
+
function q() {
|
|
434
435
|
return (/* @__PURE__ */ new Date()).toISOString();
|
|
435
436
|
}
|
|
436
437
|
function ge(e) {
|
|
437
|
-
const t =
|
|
438
|
+
const t = q(), s = e.sectionIdentifiers[0];
|
|
438
439
|
return {
|
|
439
440
|
version: 1,
|
|
440
441
|
assessmentAttemptSessionIdentifier: e.assessmentAttemptSessionIdentifier,
|
|
@@ -454,7 +455,7 @@ function ge(e) {
|
|
|
454
455
|
};
|
|
455
456
|
}
|
|
456
457
|
function ve(e, t) {
|
|
457
|
-
const s =
|
|
458
|
+
const s = q();
|
|
458
459
|
return {
|
|
459
460
|
...e,
|
|
460
461
|
updatedAt: s,
|
|
@@ -523,7 +524,7 @@ var Ie = class {
|
|
|
523
524
|
async getPersistenceStrategy() {
|
|
524
525
|
if (this.persistenceStrategy) return this.persistenceStrategy;
|
|
525
526
|
const e = { createDefaultPersistence: () => {
|
|
526
|
-
const t =
|
|
527
|
+
const t = Y(), s = `pie:assessment-controller:v1:${this.storageContext.assessmentId}:${this.storageContext.attemptId || "default"}`;
|
|
527
528
|
return {
|
|
528
529
|
async loadSession() {
|
|
529
530
|
if (!t) return null;
|
|
@@ -827,11 +828,14 @@ var Pe = class extends HTMLElement {
|
|
|
827
828
|
s && e.updateSectionSession(s.sectionIdentifier, t.getSession());
|
|
828
829
|
}
|
|
829
830
|
attachSectionControllerReadyListener(e, t) {
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
831
|
+
const s = e;
|
|
832
|
+
queueMicrotask(() => {
|
|
833
|
+
(async () => {
|
|
834
|
+
const n = await s.waitForSectionController?.(5e3) || null;
|
|
835
|
+
if (this.sectionControllerRef = n, !n) return;
|
|
836
|
+
const i = this.controller?.getSectionSession(t);
|
|
837
|
+
i && n.applySession && await n.applySession(i, { mode: "replace" });
|
|
838
|
+
})();
|
|
835
839
|
}), e.addEventListener("session-changed", () => this.syncCurrentSectionSessionIntoAssessment()), e.addEventListener("item-session-changed", () => this.syncCurrentSectionSessionIntoAssessment());
|
|
836
840
|
}
|
|
837
841
|
render() {
|
|
@@ -910,7 +914,7 @@ var Pe = class extends HTMLElement {
|
|
|
910
914
|
const d = typeof this.debug == "boolean" ? String(this.debug) : this.debug;
|
|
911
915
|
r.setAttribute("debug", d);
|
|
912
916
|
}
|
|
913
|
-
r.section = c.section, this.env && (r.env = this.env), this.coordinator && (r.coordinator = this.coordinator), this.sectionPlayerRuntime && (r.runtime = this.sectionPlayerRuntime), r.hooks = { cardTitleFormatter: this.hooks?.cardTitleFormatter }, this.attachSectionControllerReadyListener(r, c.sectionIdentifier)
|
|
917
|
+
r.section = c.section, this.env && (r.env = this.env), this.coordinator && (r.coordinator = this.coordinator), this.sectionPlayerRuntime && (r.runtime = this.sectionPlayerRuntime), r.hooks = { cardTitleFormatter: this.hooks?.cardTitleFormatter }, i.appendChild(r), this.attachSectionControllerReadyListener(r, c.sectionIdentifier);
|
|
914
918
|
}
|
|
915
919
|
t.appendChild(i), this.appendChild(t);
|
|
916
920
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-assessment-player",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Assessment-level coordinator custom elements for orchestrating section-player instances",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"lint": "biome check ."
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
53
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
54
|
-
"@pie-players/pie-section-player": "0.3.
|
|
52
|
+
"@pie-players/pie-assessment-toolkit": "0.3.32",
|
|
53
|
+
"@pie-players/pie-players-shared": "0.3.32",
|
|
54
|
+
"@pie-players/pie-section-player": "0.3.32"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@axe-core/playwright": "^4.11.1",
|