@citolab/qti-components 10.0.0-next.3 → 10.0.0-next.4
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/cdn/index.global.js +1 -1
- package/cdn/index.js +59 -59
- package/dist/{chunk-D3BYGEQU.js → chunk-F7FKSHZS.js} +2 -2
- package/dist/{chunk-OQDBARD5.js → chunk-KQSR6LZH.js} +2 -2
- package/dist/{chunk-SIE3E4FG.js → chunk-UTW5VDTD.js} +77 -82
- package/dist/chunk-UTW5VDTD.js.map +1 -0
- package/dist/corrections.d.ts +1 -1
- package/dist/corrections.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/qti-components-jsx.d.ts +42 -2
- package/dist/{qti-test.d-86TlaMlI.d.ts → qti-test.d-7YudNPea.d.ts} +8 -1
- package/dist/test.d.ts +2 -2
- package/dist/test.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-SIE3E4FG.js.map +0 -1
- /package/dist/{chunk-D3BYGEQU.js.map → chunk-F7FKSHZS.js.map} +0 -0
- /package/dist/{chunk-OQDBARD5.js.map → chunk-KQSR6LZH.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
QtiTest,
|
|
3
3
|
TestCheckItem,
|
|
4
4
|
TestNavigation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UTW5VDTD.js";
|
|
6
6
|
import {
|
|
7
7
|
QtiAssessmentItem
|
|
8
8
|
} from "./chunk-6U3YPHXU.js";
|
|
@@ -1661,4 +1661,4 @@ export {
|
|
|
1661
1661
|
QtiTestCorrection,
|
|
1662
1662
|
TestCheckItemCorrection
|
|
1663
1663
|
};
|
|
1664
|
-
//# sourceMappingURL=chunk-
|
|
1664
|
+
//# sourceMappingURL=chunk-F7FKSHZS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qtiTestElements
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UTW5VDTD.js";
|
|
4
4
|
|
|
5
5
|
// ../qti-test/dist/register.js
|
|
6
6
|
for (const { tag, ctor } of qtiTestElements) {
|
|
@@ -8,4 +8,4 @@ for (const { tag, ctor } of qtiTestElements) {
|
|
|
8
8
|
customElements.define(tag, ctor);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-KQSR6LZH.js.map
|
|
@@ -636,18 +636,18 @@ var EvalAstFactory = class {
|
|
|
636
636
|
}
|
|
637
637
|
const value = this.right.evaluate(scope);
|
|
638
638
|
let receiver = void 0;
|
|
639
|
-
let
|
|
639
|
+
let property23;
|
|
640
640
|
if (this.left.type === "Getter") {
|
|
641
641
|
receiver = this.left.receiver.evaluate(scope);
|
|
642
|
-
|
|
642
|
+
property23 = this.left.name;
|
|
643
643
|
} else if (this.left.type === "Index") {
|
|
644
644
|
receiver = this.left.receiver.evaluate(scope);
|
|
645
|
-
|
|
645
|
+
property23 = this.left.argument.evaluate(scope);
|
|
646
646
|
} else if (this.left.type === "ID") {
|
|
647
647
|
receiver = scope;
|
|
648
|
-
|
|
648
|
+
property23 = this.left.value;
|
|
649
649
|
}
|
|
650
|
-
return receiver === void 0 ? void 0 : receiver[
|
|
650
|
+
return receiver === void 0 ? void 0 : receiver[property23] = value;
|
|
651
651
|
}
|
|
652
652
|
return f(this.left.evaluate(scope), this.right.evaluate(scope));
|
|
653
653
|
},
|
|
@@ -2871,8 +2871,8 @@ __decorate12([
|
|
|
2871
2871
|
], QtiTest.prototype, "qtiContext", void 0);
|
|
2872
2872
|
|
|
2873
2873
|
// ../qti-test/dist/components/test-check-item/test-check-item.js
|
|
2874
|
-
import { consume as consume6 } from "@lit/context";
|
|
2875
2874
|
import { css as css6, html as html10, LitElement as LitElement11 } from "lit";
|
|
2875
|
+
import { property as property10 } from "lit/decorators.js";
|
|
2876
2876
|
|
|
2877
2877
|
// ../qti-test/dist/components/styles.js
|
|
2878
2878
|
import { css as css5 } from "lit";
|
|
@@ -2939,15 +2939,10 @@ var TestCheckItem = class extends LitElement11 {
|
|
|
2939
2939
|
}
|
|
2940
2940
|
constructor() {
|
|
2941
2941
|
super();
|
|
2942
|
+
this.view = "scorer";
|
|
2942
2943
|
this.addEventListener("click", () => {
|
|
2943
2944
|
dispatchPublic(this, "cito-test-end-attempt", {});
|
|
2944
|
-
|
|
2945
|
-
if (!testContainer)
|
|
2946
|
-
return;
|
|
2947
|
-
const viewElements = Array.from(testContainer.shadowRoot.querySelectorAll("[view]"));
|
|
2948
|
-
viewElements.forEach((element) => {
|
|
2949
|
-
element.classList.toggle("show", true);
|
|
2950
|
-
});
|
|
2945
|
+
dispatchPublic(this, "cito-test-switch-view", this.view);
|
|
2951
2946
|
});
|
|
2952
2947
|
}
|
|
2953
2948
|
render() {
|
|
@@ -2955,13 +2950,13 @@ var TestCheckItem = class extends LitElement11 {
|
|
|
2955
2950
|
}
|
|
2956
2951
|
};
|
|
2957
2952
|
__decorate13([
|
|
2958
|
-
|
|
2959
|
-
], TestCheckItem.prototype, "
|
|
2953
|
+
property10({ type: String })
|
|
2954
|
+
], TestCheckItem.prototype, "view", void 0);
|
|
2960
2955
|
|
|
2961
2956
|
// ../qti-test/dist/components/test-container/test-container.js
|
|
2962
|
-
import { consume as
|
|
2957
|
+
import { consume as consume6 } from "@lit/context";
|
|
2963
2958
|
import { LitElement as LitElement12, html as html11 } from "lit";
|
|
2964
|
-
import { property as
|
|
2959
|
+
import { property as property11, state as state3 } from "lit/decorators.js";
|
|
2965
2960
|
import { until } from "lit/directives/until.js";
|
|
2966
2961
|
var __decorate14 = function(decorators, target, key, desc) {
|
|
2967
2962
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -3070,10 +3065,10 @@ var TestContainer = class extends LitElement12 {
|
|
|
3070
3065
|
}
|
|
3071
3066
|
};
|
|
3072
3067
|
__decorate14([
|
|
3073
|
-
|
|
3068
|
+
property11({ attribute: false })
|
|
3074
3069
|
], TestContainer.prototype, "customElementRegistry", void 0);
|
|
3075
3070
|
__decorate14([
|
|
3076
|
-
|
|
3071
|
+
property11({ type: String, attribute: "test-url" })
|
|
3077
3072
|
], TestContainer.prototype, "testURL", void 0);
|
|
3078
3073
|
__decorate14([
|
|
3079
3074
|
state3()
|
|
@@ -3082,11 +3077,11 @@ __decorate14([
|
|
|
3082
3077
|
state3()
|
|
3083
3078
|
], TestContainer.prototype, "testXML", void 0);
|
|
3084
3079
|
__decorate14([
|
|
3085
|
-
|
|
3080
|
+
consume6({ context: testHostContext, subscribe: true })
|
|
3086
3081
|
], TestContainer.prototype, "testHost", void 0);
|
|
3087
3082
|
__decorate14([
|
|
3088
3083
|
state3(),
|
|
3089
|
-
|
|
3084
|
+
consume6({ context: qtiContext, subscribe: true })
|
|
3090
3085
|
], TestContainer.prototype, "qtiContext", void 0);
|
|
3091
3086
|
__decorate14([
|
|
3092
3087
|
watch("testURL", { waitUntilFirstUpdate: true })
|
|
@@ -3097,8 +3092,8 @@ __decorate14([
|
|
|
3097
3092
|
|
|
3098
3093
|
// ../qti-test/dist/components/test-end-attempt/test-end-attempt.js
|
|
3099
3094
|
import { css as css7, html as html12, LitElement as LitElement13 } from "lit";
|
|
3100
|
-
import { property as
|
|
3101
|
-
import { consume as
|
|
3095
|
+
import { property as property12 } from "lit/decorators.js";
|
|
3096
|
+
import { consume as consume7 } from "@lit/context";
|
|
3102
3097
|
var __decorate15 = function(decorators, target, key, desc) {
|
|
3103
3098
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3104
3099
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3176,11 +3171,11 @@ var TestEndAttempt = class extends LitElement13 {
|
|
|
3176
3171
|
}
|
|
3177
3172
|
};
|
|
3178
3173
|
__decorate15([
|
|
3179
|
-
|
|
3180
|
-
|
|
3174
|
+
consume7({ context: computedContext, subscribe: true }),
|
|
3175
|
+
property12({ attribute: false })
|
|
3181
3176
|
], TestEndAttempt.prototype, "computedContext", void 0);
|
|
3182
3177
|
__decorate15([
|
|
3183
|
-
|
|
3178
|
+
property12({ type: Boolean, reflect: true, attribute: "disabled" })
|
|
3184
3179
|
], TestEndAttempt.prototype, "_internalDisabled", void 0);
|
|
3185
3180
|
__decorate15([
|
|
3186
3181
|
watch("computedContext")
|
|
@@ -3188,7 +3183,7 @@ __decorate15([
|
|
|
3188
3183
|
|
|
3189
3184
|
// ../qti-test/dist/components/test-item-link/test-item-link.js
|
|
3190
3185
|
import { css as css8, html as html13, LitElement as LitElement14 } from "lit";
|
|
3191
|
-
import { property as
|
|
3186
|
+
import { property as property13 } from "lit/decorators.js";
|
|
3192
3187
|
var __decorate16 = function(decorators, target, key, desc) {
|
|
3193
3188
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3194
3189
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3225,13 +3220,13 @@ var TestItemLink = class extends LitElement14 {
|
|
|
3225
3220
|
}
|
|
3226
3221
|
};
|
|
3227
3222
|
__decorate16([
|
|
3228
|
-
|
|
3223
|
+
property13({ type: String, attribute: "item-id" })
|
|
3229
3224
|
], TestItemLink.prototype, "itemId", void 0);
|
|
3230
3225
|
|
|
3231
3226
|
// ../qti-test/dist/components/test-item-to-speech/test-item-to-speech.js
|
|
3232
3227
|
import { html as html14, LitElement as LitElement15, css as css9 } from "lit";
|
|
3233
|
-
import { consume as
|
|
3234
|
-
import { property as
|
|
3228
|
+
import { consume as consume8, provide as provide3, createContext as createContext2 } from "@lit/context";
|
|
3229
|
+
import { property as property14, state as state4 } from "lit/decorators.js";
|
|
3235
3230
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
3236
3231
|
var __decorate17 = function(decorators, target, key, desc) {
|
|
3237
3232
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -3334,10 +3329,10 @@ var TtsButtonBase = class extends LitElement15 {
|
|
|
3334
3329
|
}
|
|
3335
3330
|
};
|
|
3336
3331
|
__decorate17([
|
|
3337
|
-
|
|
3332
|
+
property14({ type: String })
|
|
3338
3333
|
], TtsButtonBase.prototype, "label", void 0);
|
|
3339
3334
|
__decorate17([
|
|
3340
|
-
|
|
3335
|
+
consume8({ context: ttsContext, subscribe: true })
|
|
3341
3336
|
], TtsButtonBase.prototype, "_tts", void 0);
|
|
3342
3337
|
var TestItemToSpeech = class extends LitElement15 {
|
|
3343
3338
|
static {
|
|
@@ -3932,13 +3927,13 @@ var TestItemToSpeech = class extends LitElement15 {
|
|
|
3932
3927
|
}
|
|
3933
3928
|
};
|
|
3934
3929
|
__decorate17([
|
|
3935
|
-
|
|
3930
|
+
property14({ type: String })
|
|
3936
3931
|
], TestItemToSpeech.prototype, "language", void 0);
|
|
3937
3932
|
__decorate17([
|
|
3938
|
-
|
|
3933
|
+
consume8({ context: sessionContext, subscribe: true })
|
|
3939
3934
|
], TestItemToSpeech.prototype, "_sessionContext", void 0);
|
|
3940
3935
|
__decorate17([
|
|
3941
|
-
|
|
3936
|
+
consume8({ context: testHostContext, subscribe: true })
|
|
3942
3937
|
], TestItemToSpeech.prototype, "testHost", void 0);
|
|
3943
3938
|
__decorate17([
|
|
3944
3939
|
state4(),
|
|
@@ -3965,7 +3960,7 @@ var TestTtsPlay = class extends TtsButtonBase {
|
|
|
3965
3960
|
}
|
|
3966
3961
|
};
|
|
3967
3962
|
__decorate17([
|
|
3968
|
-
|
|
3963
|
+
property14({ type: String, attribute: "pause-label" })
|
|
3969
3964
|
], TestTtsPlay.prototype, "pauseLabel", void 0);
|
|
3970
3965
|
var TestTtsPause = class extends TtsButtonBase {
|
|
3971
3966
|
render() {
|
|
@@ -4053,9 +4048,9 @@ var TestTtsPick = class extends TtsButtonBase {
|
|
|
4053
4048
|
};
|
|
4054
4049
|
|
|
4055
4050
|
// ../qti-test/dist/components/test-navigation/test-navigation.js
|
|
4056
|
-
import { ContextConsumer, consume as
|
|
4051
|
+
import { ContextConsumer, consume as consume9, provide as provide4 } from "@lit/context";
|
|
4057
4052
|
import { html as html15, LitElement as LitElement16 } from "lit";
|
|
4058
|
-
import { property as
|
|
4053
|
+
import { property as property15, state as state5 } from "lit/decorators.js";
|
|
4059
4054
|
var __decorate18 = function(decorators, target, key, desc) {
|
|
4060
4055
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4061
4056
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4575,35 +4570,35 @@ var TestNavigation = class extends LitElement16 {
|
|
|
4575
4570
|
}
|
|
4576
4571
|
};
|
|
4577
4572
|
__decorate18([
|
|
4578
|
-
|
|
4573
|
+
property15({ type: String })
|
|
4579
4574
|
], TestNavigation.prototype, "identifier", void 0);
|
|
4580
4575
|
__decorate18([
|
|
4581
4576
|
state5()
|
|
4582
4577
|
], TestNavigation.prototype, "initContext", void 0);
|
|
4583
4578
|
__decorate18([
|
|
4584
4579
|
state5(),
|
|
4585
|
-
|
|
4580
|
+
consume9({ context: configContext, subscribe: true })
|
|
4586
4581
|
], TestNavigation.prototype, "configContext", void 0);
|
|
4587
4582
|
__decorate18([
|
|
4588
4583
|
state5(),
|
|
4589
|
-
|
|
4584
|
+
consume9({ context: testContext, subscribe: true })
|
|
4590
4585
|
], TestNavigation.prototype, "_testContext", void 0);
|
|
4591
4586
|
__decorate18([
|
|
4592
4587
|
state5(),
|
|
4593
|
-
|
|
4588
|
+
consume9({ context: sessionContext, subscribe: true })
|
|
4594
4589
|
], TestNavigation.prototype, "_sessionContext", void 0);
|
|
4595
4590
|
__decorate18([
|
|
4596
4591
|
state5(),
|
|
4597
4592
|
provide4({ context: computedContext })
|
|
4598
4593
|
], TestNavigation.prototype, "computedContext", void 0);
|
|
4599
4594
|
__decorate18([
|
|
4600
|
-
|
|
4595
|
+
property15({ type: Boolean, attribute: "auto-score-items" })
|
|
4601
4596
|
], TestNavigation.prototype, "autoScoreItems", void 0);
|
|
4602
4597
|
|
|
4603
4598
|
// ../qti-test/dist/components/test-next/test-next.js
|
|
4604
4599
|
import { css as css10, html as html16, LitElement as LitElement17 } from "lit";
|
|
4605
|
-
import { property as
|
|
4606
|
-
import { consume as
|
|
4600
|
+
import { property as property16 } from "lit/decorators.js";
|
|
4601
|
+
import { consume as consume10 } from "@lit/context";
|
|
4607
4602
|
var __decorate19 = function(decorators, target, key, desc) {
|
|
4608
4603
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4609
4604
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4678,10 +4673,10 @@ var TestNext = class extends LitElement17 {
|
|
|
4678
4673
|
}
|
|
4679
4674
|
};
|
|
4680
4675
|
__decorate19([
|
|
4681
|
-
|
|
4676
|
+
property16({ type: Boolean, reflect: true, attribute: "disabled" })
|
|
4682
4677
|
], TestNext.prototype, "_internalDisabled", void 0);
|
|
4683
4678
|
__decorate19([
|
|
4684
|
-
|
|
4679
|
+
consume10({ context: computedContext, subscribe: true })
|
|
4685
4680
|
], TestNext.prototype, "computedContext", void 0);
|
|
4686
4681
|
__decorate19([
|
|
4687
4682
|
watch("computedContext")
|
|
@@ -4689,7 +4684,7 @@ __decorate19([
|
|
|
4689
4684
|
|
|
4690
4685
|
// ../qti-test/dist/components/test-paging-buttons-stamp/test-paging-buttons-stamp.js
|
|
4691
4686
|
import { html as html17, LitElement as LitElement18 } from "lit";
|
|
4692
|
-
import { consume as
|
|
4687
|
+
import { consume as consume11 } from "@lit/context";
|
|
4693
4688
|
var __decorate20 = function(decorators, target, key, desc) {
|
|
4694
4689
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4695
4690
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4719,13 +4714,13 @@ var TestPagingButtonsStamp = class extends LitElement18 {
|
|
|
4719
4714
|
}
|
|
4720
4715
|
};
|
|
4721
4716
|
__decorate20([
|
|
4722
|
-
|
|
4717
|
+
consume11({ context: computedContext, subscribe: true })
|
|
4723
4718
|
], TestPagingButtonsStamp.prototype, "computedContext", void 0);
|
|
4724
4719
|
|
|
4725
4720
|
// ../qti-test/dist/components/test-prev/test-prev.js
|
|
4726
4721
|
import { css as css11, html as html18, LitElement as LitElement19 } from "lit";
|
|
4727
|
-
import { property as
|
|
4728
|
-
import { consume as
|
|
4722
|
+
import { property as property17 } from "lit/decorators.js";
|
|
4723
|
+
import { consume as consume12 } from "@lit/context";
|
|
4729
4724
|
var __decorate21 = function(decorators, target, key, desc) {
|
|
4730
4725
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4731
4726
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4787,10 +4782,10 @@ var TestPrev = class extends LitElement19 {
|
|
|
4787
4782
|
}
|
|
4788
4783
|
};
|
|
4789
4784
|
__decorate21([
|
|
4790
|
-
|
|
4785
|
+
property17({ type: Boolean, reflect: true, attribute: "disabled" })
|
|
4791
4786
|
], TestPrev.prototype, "_internalDisabled", void 0);
|
|
4792
4787
|
__decorate21([
|
|
4793
|
-
|
|
4788
|
+
consume12({ context: computedContext, subscribe: true })
|
|
4794
4789
|
], TestPrev.prototype, "computedContext", void 0);
|
|
4795
4790
|
__decorate21([
|
|
4796
4791
|
watch("computedContext")
|
|
@@ -4798,7 +4793,7 @@ __decorate21([
|
|
|
4798
4793
|
|
|
4799
4794
|
// ../qti-test/dist/components/test-print-context/test-print-context.js
|
|
4800
4795
|
import { html as html19, LitElement as LitElement20 } from "lit";
|
|
4801
|
-
import { consume as
|
|
4796
|
+
import { consume as consume13 } from "@lit/context";
|
|
4802
4797
|
import { state as state6 } from "lit/decorators.js";
|
|
4803
4798
|
var __decorate22 = function(decorators, target, key, desc) {
|
|
4804
4799
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -4813,12 +4808,12 @@ var TestPrintContext = class extends LitElement20 {
|
|
|
4813
4808
|
};
|
|
4814
4809
|
__decorate22([
|
|
4815
4810
|
state6(),
|
|
4816
|
-
|
|
4811
|
+
consume13({ context: computedContext, subscribe: true })
|
|
4817
4812
|
], TestPrintContext.prototype, "computedContext", void 0);
|
|
4818
4813
|
|
|
4819
4814
|
// ../qti-test/dist/components/test-print-item-variables/test-print-item-variables.js
|
|
4820
4815
|
import { html as html20, css as css12, LitElement as LitElement21 } from "lit";
|
|
4821
|
-
import { consume as
|
|
4816
|
+
import { consume as consume14 } from "@lit/context";
|
|
4822
4817
|
var __decorate23 = function(decorators, target, key, desc) {
|
|
4823
4818
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4824
4819
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4892,13 +4887,13 @@ var TestPrintVariables = class extends LitElement21 {
|
|
|
4892
4887
|
}
|
|
4893
4888
|
};
|
|
4894
4889
|
__decorate23([
|
|
4895
|
-
|
|
4890
|
+
consume14({ context: computedContext, subscribe: true })
|
|
4896
4891
|
], TestPrintVariables.prototype, "computedContext", void 0);
|
|
4897
4892
|
|
|
4898
4893
|
// ../qti-test/dist/components/test-scoring-buttons/test-scoring-buttons.js
|
|
4899
4894
|
import { html as html21, LitElement as LitElement22, nothing as nothing3 } from "lit";
|
|
4900
|
-
import { consume as
|
|
4901
|
-
import { property as
|
|
4895
|
+
import { consume as consume15 } from "@lit/context";
|
|
4896
|
+
import { property as property18 } from "lit/decorators.js";
|
|
4902
4897
|
var __decorate24 = function(decorators, target, key, desc) {
|
|
4903
4898
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4904
4899
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4956,19 +4951,19 @@ var TestScoringButtons = class extends LitElement22 {
|
|
|
4956
4951
|
}
|
|
4957
4952
|
};
|
|
4958
4953
|
__decorate24([
|
|
4959
|
-
|
|
4954
|
+
property18({ type: String, attribute: "view" })
|
|
4960
4955
|
], TestScoringButtons.prototype, "view", void 0);
|
|
4961
4956
|
__decorate24([
|
|
4962
|
-
|
|
4957
|
+
property18({ type: Boolean })
|
|
4963
4958
|
], TestScoringButtons.prototype, "disabled", void 0);
|
|
4964
4959
|
__decorate24([
|
|
4965
|
-
|
|
4960
|
+
consume15({ context: computedContext, subscribe: true })
|
|
4966
4961
|
], TestScoringButtons.prototype, "computedContext", void 0);
|
|
4967
4962
|
|
|
4968
4963
|
// ../qti-test/dist/components/test-scoring-feedback/test-scoring-feedback.js
|
|
4969
|
-
import { consume as
|
|
4964
|
+
import { consume as consume16 } from "@lit/context";
|
|
4970
4965
|
import { html as html22, LitElement as LitElement23 } from "lit";
|
|
4971
|
-
import { property as
|
|
4966
|
+
import { property as property19 } from "lit/decorators.js";
|
|
4972
4967
|
var __decorate25 = function(decorators, target, key, desc) {
|
|
4973
4968
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4974
4969
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5009,15 +5004,15 @@ var TestScoringFeedback = class extends LitElement23 {
|
|
|
5009
5004
|
}
|
|
5010
5005
|
};
|
|
5011
5006
|
__decorate25([
|
|
5012
|
-
|
|
5007
|
+
consume16({ context: computedContext, subscribe: true })
|
|
5013
5008
|
], TestScoringFeedback.prototype, "computedContext", void 0);
|
|
5014
5009
|
__decorate25([
|
|
5015
|
-
|
|
5010
|
+
property19({ type: String, attribute: "view" })
|
|
5016
5011
|
], TestScoringFeedback.prototype, "view", void 0);
|
|
5017
5012
|
|
|
5018
5013
|
// ../qti-test/dist/components/test-section-buttons-stamp/test-section-buttons-stamp.js
|
|
5019
5014
|
import { html as html23, LitElement as LitElement24 } from "lit";
|
|
5020
|
-
import { consume as
|
|
5015
|
+
import { consume as consume17 } from "@lit/context";
|
|
5021
5016
|
var __decorate26 = function(decorators, target, key, desc) {
|
|
5022
5017
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5023
5018
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5047,12 +5042,12 @@ var TestSectionButtonsStamp = class extends LitElement24 {
|
|
|
5047
5042
|
}
|
|
5048
5043
|
};
|
|
5049
5044
|
__decorate26([
|
|
5050
|
-
|
|
5045
|
+
consume17({ context: computedContext, subscribe: true })
|
|
5051
5046
|
], TestSectionButtonsStamp.prototype, "computedContext", void 0);
|
|
5052
5047
|
|
|
5053
5048
|
// ../qti-test/dist/components/test-section-link/test-section-link.js
|
|
5054
5049
|
import { css as css13, html as html24, LitElement as LitElement25 } from "lit";
|
|
5055
|
-
import { property as
|
|
5050
|
+
import { property as property20 } from "lit/decorators.js";
|
|
5056
5051
|
var __decorate27 = function(decorators, target, key, desc) {
|
|
5057
5052
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5058
5053
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5089,13 +5084,13 @@ var TestSectionLink = class extends LitElement25 {
|
|
|
5089
5084
|
}
|
|
5090
5085
|
};
|
|
5091
5086
|
__decorate27([
|
|
5092
|
-
|
|
5087
|
+
property20({ type: String, attribute: "section-id" })
|
|
5093
5088
|
], TestSectionLink.prototype, "sectionId", void 0);
|
|
5094
5089
|
|
|
5095
5090
|
// ../qti-test/dist/components/test-stamp/test-stamp.js
|
|
5096
5091
|
import { html as html25, LitElement as LitElement26, nothing as nothing4 } from "lit";
|
|
5097
|
-
import { property as
|
|
5098
|
-
import { consume as
|
|
5092
|
+
import { property as property21, state as state7 } from "lit/decorators.js";
|
|
5093
|
+
import { consume as consume18 } from "@lit/context";
|
|
5099
5094
|
var __decorate28 = function(decorators, target, key, desc) {
|
|
5100
5095
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5101
5096
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5170,11 +5165,11 @@ var TestStamp = class extends LitElement26 {
|
|
|
5170
5165
|
}
|
|
5171
5166
|
};
|
|
5172
5167
|
__decorate28([
|
|
5173
|
-
|
|
5168
|
+
property21({ type: Boolean, reflect: true })
|
|
5174
5169
|
], TestStamp.prototype, "debug", void 0);
|
|
5175
5170
|
__decorate28([
|
|
5176
5171
|
state7(),
|
|
5177
|
-
|
|
5172
|
+
consume18({ context: computedContext, subscribe: true })
|
|
5178
5173
|
], TestStamp.prototype, "computedContext", void 0);
|
|
5179
5174
|
__decorate28([
|
|
5180
5175
|
state7()
|
|
@@ -5182,8 +5177,8 @@ __decorate28([
|
|
|
5182
5177
|
|
|
5183
5178
|
// ../qti-test/dist/components/test-view-toggle/test-view.js
|
|
5184
5179
|
import { html as html26, LitElement as LitElement27 } from "lit";
|
|
5185
|
-
import { property as
|
|
5186
|
-
import { consume as
|
|
5180
|
+
import { property as property22, state as state8 } from "lit/decorators.js";
|
|
5181
|
+
import { consume as consume19 } from "@lit/context";
|
|
5187
5182
|
var __decorate29 = function(decorators, target, key, desc) {
|
|
5188
5183
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5189
5184
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5236,13 +5231,13 @@ var TestView = class extends LitElement27 {
|
|
|
5236
5231
|
};
|
|
5237
5232
|
_a = TestView;
|
|
5238
5233
|
__decorate29([
|
|
5239
|
-
|
|
5234
|
+
consume19({ context: sessionContext, subscribe: true })
|
|
5240
5235
|
], TestView.prototype, "sessionContext", void 0);
|
|
5241
5236
|
__decorate29([
|
|
5242
|
-
|
|
5237
|
+
property22({ type: String })
|
|
5243
5238
|
], TestView.prototype, "label", void 0);
|
|
5244
5239
|
__decorate29([
|
|
5245
|
-
|
|
5240
|
+
property22({ type: String, attribute: "view-options" })
|
|
5246
5241
|
], TestView.prototype, "viewOptions", void 0);
|
|
5247
5242
|
__decorate29([
|
|
5248
5243
|
watch("viewOptions", { waitUntilFirstUpdate: true })
|
|
@@ -5252,7 +5247,7 @@ __decorate29([
|
|
|
5252
5247
|
], TestView.prototype, "_viewOptions", void 0);
|
|
5253
5248
|
|
|
5254
5249
|
// ../qti-test/dist/components/test-view-toggle/test-view-toggle.js
|
|
5255
|
-
import { consume as
|
|
5250
|
+
import { consume as consume20 } from "@lit/context";
|
|
5256
5251
|
import { html as html27, LitElement as LitElement28, nothing as nothing5 } from "lit";
|
|
5257
5252
|
var __decorate30 = function(decorators, target, key, desc) {
|
|
5258
5253
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -5292,7 +5287,7 @@ var TestViewToggle = class extends LitElement28 {
|
|
|
5292
5287
|
}
|
|
5293
5288
|
};
|
|
5294
5289
|
__decorate30([
|
|
5295
|
-
|
|
5290
|
+
consume20({ context: sessionContext, subscribe: true })
|
|
5296
5291
|
], TestViewToggle.prototype, "sessionContext", void 0);
|
|
5297
5292
|
|
|
5298
5293
|
// ../qti-test/dist/elements.js
|
|
@@ -5394,4 +5389,4 @@ export {
|
|
|
5394
5389
|
* Portions Copyright (c) 2013, the Dart project authors.
|
|
5395
5390
|
*)
|
|
5396
5391
|
*/
|
|
5397
|
-
//# sourceMappingURL=chunk-
|
|
5392
|
+
//# sourceMappingURL=chunk-UTW5VDTD.js.map
|