@pie-players/pie-tool-answer-eliminator 0.3.55 → 0.3.57
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.
|
@@ -5,7 +5,7 @@ var n = class {
|
|
|
5
5
|
"basic",
|
|
6
6
|
"scientific",
|
|
7
7
|
"graphing"
|
|
8
|
-
]), s(this, "version", "1.
|
|
8
|
+
]), s(this, "version", "1.12"), s(this, "initialized", !1), s(this, "apiKey", void 0), s(this, "proxyEndpoint", void 0), s(this, "isDevelopment", !1), s(this, "onTelemetry", void 0);
|
|
9
9
|
}
|
|
10
10
|
async emitTelemetry(e, o) {
|
|
11
11
|
try {
|
|
@@ -20,7 +20,7 @@ var n = class {
|
|
|
20
20
|
async loadDesmosScript() {
|
|
21
21
|
return new Promise((e, o) => {
|
|
22
22
|
const t = document.createElement("script");
|
|
23
|
-
t.src = this.apiKey ? `https://www.desmos.com/api/v1.
|
|
23
|
+
t.src = this.apiKey ? `https://www.desmos.com/api/v1.12/calculator.js?apiKey=${this.apiKey}` : "https://www.desmos.com/api/v1.12/calculator.js", t.async = !0, t.onload = () => {
|
|
24
24
|
window.Desmos ? (console.log("[DesmosProvider] Desmos API loaded successfully"), e()) : o(/* @__PURE__ */ new Error("Desmos API loaded but window.Desmos is undefined"));
|
|
25
25
|
}, t.onerror = () => {
|
|
26
26
|
o(/* @__PURE__ */ new Error("Failed to load Desmos API from CDN"));
|
|
@@ -2886,7 +2886,7 @@ function lr(e, t, n) {
|
|
|
2886
2886
|
}
|
|
2887
2887
|
var gl = class {
|
|
2888
2888
|
constructor() {
|
|
2889
|
-
f(this, "providerId", "desmos-calculator"), f(this, "providerName", "Desmos Calculator"), f(this, "category", "calculator"), f(this, "version", "1.
|
|
2889
|
+
f(this, "providerId", "desmos-calculator"), f(this, "providerName", "Desmos Calculator"), f(this, "category", "calculator"), f(this, "version", "1.12"), f(this, "requiresAuth", !0), f(this, "desmosProvider", null), f(this, "config", null);
|
|
2890
2890
|
}
|
|
2891
2891
|
async emitTelemetry(e, t) {
|
|
2892
2892
|
try {
|
|
@@ -2909,7 +2909,7 @@ var gl = class {
|
|
|
2909
2909
|
});
|
|
2910
2910
|
const n = await (async () => {
|
|
2911
2911
|
try {
|
|
2912
|
-
const r = await import("./dist-
|
|
2912
|
+
const r = await import("./dist-DF-5k7aB.js");
|
|
2913
2913
|
return await this.emitTelemetry("pie-tool-library-load-success", {
|
|
2914
2914
|
toolId: "calculator",
|
|
2915
2915
|
operation: "desmos-provider-module-import",
|
|
@@ -3688,7 +3688,8 @@ var Ol = {
|
|
|
3688
3688
|
controlsRow: {
|
|
3689
3689
|
reserveSpace: !0,
|
|
3690
3690
|
expandWhenToolActive: !1
|
|
3691
|
-
}
|
|
3691
|
+
},
|
|
3692
|
+
headerOverlay: { expandWhenToolActive: !1 }
|
|
3692
3693
|
};
|
|
3693
3694
|
case "expanding-row":
|
|
3694
3695
|
return {
|
|
@@ -3696,7 +3697,17 @@ var Ol = {
|
|
|
3696
3697
|
controlsRow: {
|
|
3697
3698
|
reserveSpace: !1,
|
|
3698
3699
|
expandWhenToolActive: !0
|
|
3699
|
-
}
|
|
3700
|
+
},
|
|
3701
|
+
headerOverlay: { expandWhenToolActive: !1 }
|
|
3702
|
+
};
|
|
3703
|
+
case "floating-overlay":
|
|
3704
|
+
return {
|
|
3705
|
+
mount: "before-buttons",
|
|
3706
|
+
controlsRow: {
|
|
3707
|
+
reserveSpace: !1,
|
|
3708
|
+
expandWhenToolActive: !1
|
|
3709
|
+
},
|
|
3710
|
+
headerOverlay: { expandWhenToolActive: !1 }
|
|
3700
3711
|
};
|
|
3701
3712
|
default:
|
|
3702
3713
|
return {
|
|
@@ -3704,7 +3715,8 @@ var Ol = {
|
|
|
3704
3715
|
controlsRow: {
|
|
3705
3716
|
reserveSpace: !1,
|
|
3706
3717
|
expandWhenToolActive: !1
|
|
3707
|
-
}
|
|
3718
|
+
},
|
|
3719
|
+
headerOverlay: { expandWhenToolActive: !0 }
|
|
3708
3720
|
};
|
|
3709
3721
|
}
|
|
3710
3722
|
}, gt = /* @__PURE__ */ new Map(), jl = "__pieToolElementUnmount", Gr = "pie-tool-active-change", ql = {
|
|
@@ -3762,10 +3774,13 @@ var Ol = {
|
|
|
3762
3774
|
elements: [{
|
|
3763
3775
|
element: l(),
|
|
3764
3776
|
mount: c.mount,
|
|
3765
|
-
layoutHints: {
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3777
|
+
layoutHints: {
|
|
3778
|
+
controlsRow: {
|
|
3779
|
+
reserveSpace: c.controlsRow.reserveSpace,
|
|
3780
|
+
showWhenToolActive: c.controlsRow.expandWhenToolActive
|
|
3781
|
+
},
|
|
3782
|
+
headerOverlay: { showWhenToolActive: c.headerOverlay.expandWhenToolActive }
|
|
3783
|
+
}
|
|
3769
3784
|
}],
|
|
3770
3785
|
subscribeActive: (u) => {
|
|
3771
3786
|
const h = l(), p = (g) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-answer-eliminator",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.57",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Answer eliminator tool for PIE assessment player - supports process-of-elimination test-taking strategy",
|
|
6
6
|
"repository": {
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"unpkg": "./dist/tool-answer-eliminator.js",
|
|
40
40
|
"jsdelivr": "./dist/tool-answer-eliminator.js",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
43
|
-
"@pie-players/pie-context": "0.3.
|
|
44
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
42
|
+
"@pie-players/pie-assessment-toolkit": "0.3.57",
|
|
43
|
+
"@pie-players/pie-context": "0.3.57",
|
|
44
|
+
"@pie-players/pie-players-shared": "0.3.57"
|
|
45
45
|
},
|
|
46
46
|
"types": "./dist/index.d.ts",
|
|
47
47
|
"scripts": {
|