@citolab/qti-components 7.0.3 → 7.0.5
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/chunks/chunk-4UJBK6JO.js +1 -0
- package/cdn/chunks/chunk-5FCXUJAG.js +23 -0
- package/cdn/chunks/chunk-5O3Z7TDV.js +1 -0
- package/cdn/chunks/chunk-65LFT33L.js +8 -0
- package/cdn/chunks/chunk-6D25UFJR.js +8 -0
- package/cdn/chunks/chunk-6DMSHH5X.js +0 -0
- package/cdn/chunks/chunk-6UGPNL7M.js +1 -0
- package/cdn/chunks/chunk-CFXQCNG6.js +3523 -0
- package/cdn/chunks/chunk-CSUKVUZF.js +3 -0
- package/cdn/chunks/chunk-CSY3WI5A.js +1 -0
- package/cdn/chunks/chunk-DAZR7RUI.js +0 -0
- package/cdn/chunks/chunk-EHK76KRT.js +1 -0
- package/cdn/chunks/chunk-EOPEMJS3.js +0 -0
- package/cdn/chunks/chunk-G5O7EN45.js +5 -0
- package/cdn/chunks/chunk-GEFUIFM7.js +0 -0
- package/cdn/chunks/chunk-JLNHEMQG.js +1 -0
- package/cdn/chunks/chunk-LPWIM7QJ.js +902 -0
- package/cdn/chunks/chunk-M3YRM3AV.js +1 -0
- package/cdn/chunks/chunk-M6BOWL2U.js +1 -0
- package/cdn/chunks/chunk-P5IE36FO.js +8 -0
- package/cdn/chunks/chunk-PXH5KN5O.js +1 -0
- package/cdn/chunks/chunk-RBEI6NIF.js +1 -0
- package/cdn/chunks/chunk-SMKIYFFI.js +1 -0
- package/cdn/chunks/chunk-SRLMW23F.js +0 -0
- package/cdn/chunks/chunk-T3YDLD2H.js +11 -0
- package/cdn/chunks/chunk-T4HD2C4F.js +1 -0
- package/cdn/chunks/chunk-T6IXJ4W4.js +1 -0
- package/cdn/chunks/chunk-TFAUBGP2.js +0 -0
- package/cdn/chunks/chunk-UIEC4LXR.js +17 -0
- package/cdn/chunks/chunk-V44O3GTW.js +0 -0
- package/cdn/chunks/chunk-V6B54FQW.js +5 -0
- package/cdn/chunks/chunk-V6KX6BQN.js +1 -0
- package/cdn/chunks/chunk-VYANBI35.js +1 -0
- package/cdn/chunks/chunk-XUJ7TXHW.js +1 -0
- package/cdn/chunks/chunk-ZIZLFFSG.js +0 -0
- package/cdn/index.css +1 -0
- package/cdn/index.global.js +45 -45
- package/cdn/index.js +354 -4148
- package/cdn/qti-components/index.global.js +226 -0
- package/cdn/qti-components/index.js +924 -0
- package/cdn/qti-item/components/index.css +1 -0
- package/cdn/qti-item/components/index.global.js +149 -0
- package/cdn/qti-item/components/index.js +3549 -0
- package/cdn/qti-item/components/item-container.css +1 -0
- package/cdn/qti-item/components/item-container.global.js +149 -0
- package/cdn/qti-item/components/item-container.js +3549 -0
- package/cdn/qti-item/index.css +1 -0
- package/cdn/qti-item/index.global.js +149 -0
- package/cdn/qti-item/index.js +3549 -0
- package/cdn/qti-item/qti-item.global.js +114 -0
- package/cdn/qti-item/qti-item.js +1 -0
- package/cdn/qti-loader/index.global.js +1 -0
- package/cdn/qti-loader/index.js +23 -0
- package/cdn/qti-test/components/index.css +1 -0
- package/cdn/qti-test/components/index.global.js +242 -0
- package/cdn/qti-test/components/index.js +3598 -0
- package/cdn/qti-test/components/styles.global.js +44 -0
- package/cdn/qti-test/components/styles.js +17 -0
- package/cdn/qti-test/components/test-component.abstract.global.js +170 -0
- package/cdn/qti-test/components/test-component.abstract.js +1 -0
- package/cdn/qti-test/components/test-container.css +1 -0
- package/cdn/qti-test/components/test-container.global.js +149 -0
- package/cdn/qti-test/components/test-container.js +3549 -0
- package/cdn/qti-test/components/test-item-link.global.js +170 -0
- package/cdn/qti-test/components/test-item-link.js +24 -0
- package/cdn/qti-test/components/test-next.global.js +170 -0
- package/cdn/qti-test/components/test-next.js +24 -0
- package/cdn/qti-test/components/test-next.spec.css +1 -0
- package/cdn/qti-test/components/test-next.spec.global.js +297 -0
- package/cdn/qti-test/components/test-next.spec.js +5215 -0
- package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +207 -0
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +3 -0
- package/cdn/qti-test/components/test-prev.global.js +170 -0
- package/cdn/qti-test/components/test-prev.js +24 -0
- package/cdn/qti-test/components/test-view.global.js +170 -0
- package/cdn/qti-test/components/test-view.js +11 -0
- package/cdn/qti-test/context/index.global.js +58 -0
- package/cdn/qti-test/context/index.js +1 -0
- package/cdn/qti-test/context/test.context.global.js +58 -0
- package/cdn/qti-test/context/test.context.js +1 -0
- package/cdn/qti-test/index.css +1 -0
- package/cdn/qti-test/index.global.js +242 -0
- package/cdn/qti-test/index.js +3598 -0
- package/cdn/qti-test/mixins/index.global.js +1 -0
- package/cdn/qti-test/mixins/index.js +23 -0
- package/cdn/qti-test/mixins/test-loader.mixin.global.js +1 -0
- package/cdn/qti-test/mixins/test-loader.mixin.js +23 -0
- package/cdn/qti-test/mixins/test-navigation.mixin.global.js +1 -0
- package/cdn/qti-test/mixins/test-navigation.mixin.js +1 -0
- package/cdn/qti-test/mixins/test-view.mixin.global.js +1 -0
- package/cdn/qti-test/mixins/test-view.mixin.js +1 -0
- package/cdn/qti-test/qti-assessment-test/index.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/index.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +114 -0
- package/cdn/qti-test/qti-assessment-test/qti-test-part.js +1 -0
- package/cdn/qti-test/qti-test.global.js +170 -0
- package/cdn/qti-test/qti-test.js +23 -0
- package/cdn/qti-test/test-base.global.js +170 -0
- package/cdn/qti-test/test-base.js +1 -0
- package/cdn/qti-transformers/index.global.js +1 -0
- package/cdn/qti-transformers/index.js +23 -0
- package/dist/chunks/chunk-3G2DDBJW.js +44 -0
- package/dist/chunks/chunk-3G2DDBJW.js.map +1 -0
- package/dist/chunks/chunk-3NLCJYSX.js +1 -0
- package/dist/chunks/chunk-3NLCJYSX.js.map +1 -0
- package/dist/chunks/chunk-3OXGDCSU.js +6253 -0
- package/dist/chunks/chunk-3OXGDCSU.js.map +1 -0
- package/dist/chunks/chunk-3ROZMGAN.js +43 -0
- package/dist/chunks/chunk-3ROZMGAN.js.map +1 -0
- package/dist/chunks/chunk-4O5F7WV7.js +30 -0
- package/dist/chunks/chunk-4O5F7WV7.js.map +1 -0
- package/dist/chunks/chunk-6YE2KJ4C.js +55 -0
- package/dist/chunks/chunk-6YE2KJ4C.js.map +1 -0
- package/dist/chunks/chunk-AAQCM2FP.js +56 -0
- package/dist/chunks/chunk-AAQCM2FP.js.map +1 -0
- package/dist/chunks/chunk-D3RGDWKP.js +37 -0
- package/dist/chunks/chunk-D3RGDWKP.js.map +1 -0
- package/dist/chunks/chunk-DJLE6EV2.js +36 -0
- package/dist/chunks/chunk-DJLE6EV2.js.map +1 -0
- package/dist/chunks/chunk-ELDMXTUQ.js +31 -0
- package/dist/chunks/chunk-ELDMXTUQ.js.map +1 -0
- package/dist/chunks/chunk-EW5CTHAD.js +1 -0
- package/dist/chunks/chunk-EW5CTHAD.js.map +1 -0
- package/dist/chunks/chunk-HWA4A3SR.js +50 -0
- package/dist/chunks/chunk-HWA4A3SR.js.map +1 -0
- package/dist/chunks/chunk-IKZWK2C5.js +1 -0
- package/dist/chunks/chunk-IKZWK2C5.js.map +1 -0
- package/dist/chunks/chunk-IP7JSYO6.js +1 -0
- package/dist/chunks/chunk-IP7JSYO6.js.map +1 -0
- package/dist/chunks/chunk-JE6BMXZU.js +94 -0
- package/dist/chunks/chunk-JE6BMXZU.js.map +1 -0
- package/dist/chunks/chunk-JSPJGWGT.js +20 -0
- package/dist/chunks/chunk-JSPJGWGT.js.map +1 -0
- package/dist/chunks/chunk-LKINC6JO.js +118 -0
- package/dist/chunks/chunk-LKINC6JO.js.map +1 -0
- package/dist/chunks/chunk-LROTNPC2.js +94 -0
- package/dist/chunks/chunk-LROTNPC2.js.map +1 -0
- package/dist/chunks/chunk-MTMT2RMF.js +63 -0
- package/dist/chunks/chunk-MTMT2RMF.js.map +1 -0
- package/dist/chunks/chunk-NDJZGJUR.js +65 -0
- package/dist/chunks/chunk-NDJZGJUR.js.map +1 -0
- package/dist/chunks/chunk-OE2LFIH2.js +1 -0
- package/dist/chunks/chunk-OE2LFIH2.js.map +1 -0
- package/dist/chunks/chunk-OJ2XGDWK.js +1 -0
- package/dist/chunks/chunk-OJ2XGDWK.js.map +1 -0
- package/dist/chunks/chunk-PUBGXXTM.js +50 -0
- package/dist/chunks/chunk-PUBGXXTM.js.map +1 -0
- package/dist/chunks/chunk-QRCUNRP5.js +75 -0
- package/dist/chunks/chunk-QRCUNRP5.js.map +1 -0
- package/dist/chunks/chunk-S6JJYCO7.js +51 -0
- package/dist/chunks/chunk-S6JJYCO7.js.map +1 -0
- package/dist/chunks/chunk-U3AALKEP.js +1 -0
- package/dist/chunks/chunk-U3AALKEP.js.map +1 -0
- package/dist/chunks/chunk-UCQFSRYF.js +34 -0
- package/dist/chunks/chunk-UCQFSRYF.js.map +1 -0
- package/dist/chunks/chunk-URGVQ64M.js +1 -0
- package/dist/chunks/chunk-URGVQ64M.js.map +1 -0
- package/dist/chunks/chunk-V4FXK4TP.js +128 -0
- package/dist/chunks/chunk-V4FXK4TP.js.map +1 -0
- package/dist/chunks/chunk-W4B23OIP.js +72 -0
- package/dist/chunks/chunk-W4B23OIP.js.map +1 -0
- package/dist/chunks/chunk-XDFXD3BI.js +10 -0
- package/dist/chunks/chunk-XDFXD3BI.js.map +1 -0
- package/dist/chunks/chunk-XDMSEAYC.js +294 -0
- package/dist/chunks/chunk-XDMSEAYC.js.map +1 -0
- package/dist/chunks/chunk-XPDS72XY.js +29 -0
- package/dist/chunks/chunk-XPDS72XY.js.map +1 -0
- package/dist/chunks/chunk-Y6UWSECL.js +3529 -0
- package/dist/chunks/chunk-Y6UWSECL.js.map +1 -0
- package/dist/chunks/chunk-ZEFOMZNY.js +78 -0
- package/dist/chunks/chunk-ZEFOMZNY.js.map +1 -0
- package/dist/index-Cvrd4KQA.d.ts +109 -0
- package/dist/index.d.ts +18 -469
- package/dist/index.js +2717 -8728
- package/dist/index.js.map +1 -1
- package/dist/item.css +10 -78
- package/dist/qti-components/index.d.ts +150 -0
- package/dist/qti-components/index.js +6525 -0
- package/dist/qti-components/index.js.map +1 -0
- package/dist/qti-components-jsx.d.ts +159 -184
- package/dist/qti-item/components/index.d.ts +3 -0
- package/dist/qti-item/components/index.js +3856 -0
- package/dist/qti-item/components/index.js.map +1 -0
- package/dist/qti-item/components/item-container.d.ts +40 -0
- package/dist/qti-item/components/item-container.js +3856 -0
- package/dist/qti-item/components/item-container.js.map +1 -0
- package/dist/qti-item/index.d.ts +4 -0
- package/dist/qti-item/index.js +3869 -0
- package/dist/qti-item/index.js.map +1 -0
- package/dist/qti-item/qti-item.d.ts +25 -0
- package/dist/qti-item/qti-item.js +26 -0
- package/dist/qti-item/qti-item.js.map +1 -0
- package/dist/{loader → qti-loader}/index.d.ts +1 -1
- package/dist/{loader → qti-loader}/index.js +5 -0
- package/dist/{loader → qti-loader}/index.js.map +1 -1
- package/dist/{qti-simple-choice-UTrFa_RQ.d.ts → qti-simple-choice-DxWcdKHi.d.ts} +71 -90
- package/dist/qti-test/components/index.d.ts +13 -0
- package/dist/qti-test/components/index.js +4144 -0
- package/dist/qti-test/components/index.js.map +1 -0
- package/dist/qti-test/components/styles.d.ts +8 -0
- package/dist/qti-test/components/styles.js +29 -0
- package/dist/qti-test/components/styles.js.map +1 -0
- package/dist/qti-test/components/test-component.abstract.d.ts +23 -0
- package/dist/qti-test/components/test-component.abstract.js +149 -0
- package/dist/qti-test/components/test-component.abstract.js.map +1 -0
- package/dist/qti-test/components/test-container.d.ts +37 -0
- package/dist/qti-test/components/test-container.js +3782 -0
- package/dist/qti-test/components/test-container.js.map +1 -0
- package/dist/qti-test/components/test-item-link.d.ts +21 -0
- package/dist/qti-test/components/test-item-link.js +202 -0
- package/dist/qti-test/components/test-item-link.js.map +1 -0
- package/dist/qti-test/components/test-next.d.ts +32 -0
- package/dist/qti-test/components/test-next.js +209 -0
- package/dist/qti-test/components/test-next.js.map +1 -0
- package/dist/qti-test/components/test-next.spec.d.ts +16 -0
- package/dist/qti-test/components/test-next.spec.js +56915 -0
- package/dist/qti-test/components/test-next.spec.js.map +1 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +22 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js +218 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js.map +1 -0
- package/dist/qti-test/components/test-prev.d.ts +32 -0
- package/dist/qti-test/components/test-prev.js +209 -0
- package/dist/qti-test/components/test-prev.js.map +1 -0
- package/dist/qti-test/components/test-view.d.ts +27 -0
- package/dist/qti-test/components/test-view.js +209 -0
- package/dist/qti-test/components/test-view.js.map +1 -0
- package/dist/qti-test/context/index.d.ts +6 -0
- package/dist/qti-test/context/index.js +9 -0
- package/dist/qti-test/context/index.js.map +1 -0
- package/dist/qti-test/context/test.context.d.ts +6 -0
- package/dist/qti-test/context/test.context.js +9 -0
- package/dist/qti-test/context/test.context.js.map +1 -0
- package/dist/qti-test/index.d.ts +14 -0
- package/dist/qti-test/index.js +4746 -0
- package/dist/qti-test/index.js.map +1 -0
- package/dist/qti-test/mixins/index.d.ts +8 -0
- package/dist/qti-test/mixins/index.js +350 -0
- package/dist/qti-test/mixins/index.js.map +1 -0
- package/dist/qti-test/mixins/test-loader.mixin.d.ts +8 -0
- package/dist/qti-test/mixins/test-loader.mixin.js +240 -0
- package/dist/qti-test/mixins/test-loader.mixin.js.map +1 -0
- package/dist/qti-test/mixins/test-navigation.mixin.d.ts +22 -0
- package/dist/qti-test/mixins/test-navigation.mixin.js +64 -0
- package/dist/qti-test/mixins/test-navigation.mixin.js.map +1 -0
- package/dist/qti-test/mixins/test-view.mixin.d.ts +6 -0
- package/dist/qti-test/mixins/test-view.mixin.js +50 -0
- package/dist/qti-test/mixins/test-view.mixin.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/index.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/index.js +221 -0
- package/dist/qti-test/qti-assessment-test/index.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +85 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +73 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +54 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +19 -0
- package/dist/qti-test/qti-assessment-test/qti-test-part.js +62 -0
- package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +1 -0
- package/dist/qti-test/qti-test.d.ts +68 -0
- package/dist/qti-test/qti-test.js +500 -0
- package/dist/qti-test/qti-test.js.map +1 -0
- package/dist/qti-test/test-base.d.ts +6 -0
- package/dist/qti-test/test-base.js +137 -0
- package/dist/qti-test/test-base.js.map +1 -0
- package/dist/{transformers → qti-transformers}/index.d.ts +1 -0
- package/dist/{transformers → qti-transformers}/index.js +5 -0
- package/dist/{transformers → qti-transformers}/index.js.map +1 -1
- package/dist/test-base-BJwG9Ie8.d.ts +109 -0
- package/dist/vscode.css-custom-data.json +1 -37
- package/dist/vscode.html-custom-data.json +70 -45
- package/package.json +29 -51
- package/dist/custom-element-eslint-rules.js +0 -337
- package/dist/custom-elements.json +0 -27271
|
@@ -343,7 +343,11 @@ declare global {
|
|
|
343
343
|
|
|
344
344
|
declare class QtiModalFeedback extends QtiFeedback {
|
|
345
345
|
static styles: lit.CSSResult;
|
|
346
|
-
render
|
|
346
|
+
render(): lit_html.TemplateResult<1>;
|
|
347
|
+
openFeedback(): void;
|
|
348
|
+
closeFeedback(): void;
|
|
349
|
+
protected firstUpdated(): void;
|
|
350
|
+
protected updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
347
351
|
}
|
|
348
352
|
declare global {
|
|
349
353
|
interface HTMLElementTagNameMap {
|
|
@@ -383,24 +387,24 @@ declare abstract class Interaction extends LitElement implements IInteraction {
|
|
|
383
387
|
}
|
|
384
388
|
|
|
385
389
|
declare class QtiExtendedTextInteraction extends Interaction {
|
|
386
|
-
|
|
390
|
+
static styles: CSSResultGroup;
|
|
391
|
+
protected _rows: number;
|
|
387
392
|
/** expected length is mapped to the property maxlength on the textarea */
|
|
388
393
|
expectedLength: number;
|
|
389
394
|
patternMask: string;
|
|
390
395
|
/** text appearing in the extended-text-nteraction if it is empty */
|
|
391
396
|
placeholderText: string;
|
|
392
397
|
dataPatternmaskMessage: string;
|
|
393
|
-
|
|
398
|
+
protected _value: string;
|
|
394
399
|
classNames: any;
|
|
395
400
|
handleclassNamesChange(_: any, classes: string): void;
|
|
396
401
|
get value(): string | string[];
|
|
397
402
|
set value(val: string | string[]);
|
|
398
403
|
validate(): boolean;
|
|
399
404
|
reportValidity(): boolean;
|
|
400
|
-
static get styles(): lit.CSSResult[];
|
|
401
405
|
render(): lit_html.TemplateResult<1>;
|
|
402
406
|
protected textChanged(event: Event): void;
|
|
403
|
-
|
|
407
|
+
protected setEmptyAttribute(text: string): void;
|
|
404
408
|
}
|
|
405
409
|
declare global {
|
|
406
410
|
interface HTMLElementTagNameMap {
|
|
@@ -440,7 +444,6 @@ interface ChoicesInterface extends IInteraction {
|
|
|
440
444
|
|
|
441
445
|
declare const QtiHottextInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
442
446
|
declare class QtiHottextInteraction extends QtiHottextInteraction_base {
|
|
443
|
-
connectedCallback(): void;
|
|
444
447
|
render: () => lit_html.TemplateResult<1>;
|
|
445
448
|
}
|
|
446
449
|
declare global {
|
|
@@ -457,8 +460,8 @@ interface OptionType {
|
|
|
457
460
|
declare class QtiInlineChoiceInteraction extends Interaction {
|
|
458
461
|
static get styles(): lit.CSSResult[];
|
|
459
462
|
static inputWidthClass: string[];
|
|
460
|
-
options: OptionType[];
|
|
461
|
-
correctOption: string;
|
|
463
|
+
protected options: OptionType[];
|
|
464
|
+
protected correctOption: string;
|
|
462
465
|
dataPrompt: string;
|
|
463
466
|
render(): lit_html.TemplateResult<1>;
|
|
464
467
|
connectedCallback(): void;
|
|
@@ -468,7 +471,7 @@ declare class QtiInlineChoiceInteraction extends Interaction {
|
|
|
468
471
|
set value(value: string);
|
|
469
472
|
get value(): string;
|
|
470
473
|
set correctResponse(value: string | string[]);
|
|
471
|
-
choiceSelected(event: Event): void;
|
|
474
|
+
protected choiceSelected(event: Event): void;
|
|
472
475
|
}
|
|
473
476
|
declare global {
|
|
474
477
|
interface HTMLElementTagNameMap {
|
|
@@ -507,6 +510,27 @@ declare global {
|
|
|
507
510
|
}
|
|
508
511
|
}
|
|
509
512
|
|
|
513
|
+
declare class QtiUploadInteraction extends Interaction {
|
|
514
|
+
private _file;
|
|
515
|
+
private _base64;
|
|
516
|
+
reset(): void;
|
|
517
|
+
validate(): boolean;
|
|
518
|
+
get value(): string | string[] | null;
|
|
519
|
+
set value(base64: string | null);
|
|
520
|
+
static get properties(): {
|
|
521
|
+
[x: string]: lit.PropertyDeclaration<unknown, unknown>;
|
|
522
|
+
};
|
|
523
|
+
static styles: lit.CSSResult[];
|
|
524
|
+
render(): lit_html.TemplateResult<1>;
|
|
525
|
+
private _onFileChange;
|
|
526
|
+
private _convertToBase64;
|
|
527
|
+
}
|
|
528
|
+
declare global {
|
|
529
|
+
interface HTMLElementTagNameMap {
|
|
530
|
+
'qti-upload-interaction': QtiUploadInteraction;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
|
|
510
534
|
declare class QtiOutcomeProcessing extends LitElement {
|
|
511
535
|
static styles: lit.CSSResult[];
|
|
512
536
|
render(): lit_html.TemplateResult<1>;
|
|
@@ -714,11 +738,11 @@ declare global {
|
|
|
714
738
|
|
|
715
739
|
declare const QtiAssociateInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
|
|
716
740
|
declare class QtiAssociateInteraction extends QtiAssociateInteraction_base {
|
|
717
|
-
private _childrenMap;
|
|
718
741
|
static styles: CSSResultGroup;
|
|
719
|
-
|
|
742
|
+
protected _childrenMap: Element[];
|
|
743
|
+
protected _registerChoiceHandler: (event: CustomEvent) => void;
|
|
720
744
|
constructor();
|
|
721
|
-
|
|
745
|
+
protected _registerChoice(event: CustomEvent): void;
|
|
722
746
|
render(): lit_html.TemplateResult<1>;
|
|
723
747
|
disconnectedCallback(): void;
|
|
724
748
|
}
|
|
@@ -759,12 +783,12 @@ declare global {
|
|
|
759
783
|
}
|
|
760
784
|
}
|
|
761
785
|
|
|
762
|
-
declare class QtiEndAttemptInteraction extends
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
786
|
+
declare class QtiEndAttemptInteraction extends LitElement {
|
|
787
|
+
responseIdentifier: any;
|
|
788
|
+
disabled: boolean;
|
|
789
|
+
/** Defines the number of attempts that a user can make using the 'endAttemptInteraction' mechanism (this can be used to limit the number of hints, etc.). [More information](https://www.imsglobal.org/sites/default/files/spec/qti/v3/info/index.html#DataCharacteristic_EndAttemptInteraction.Attr_count-attempt) */
|
|
790
|
+
countAttempt: 'true' | 'false' | null;
|
|
791
|
+
title: string;
|
|
768
792
|
render(): lit_html.TemplateResult<1>;
|
|
769
793
|
endAttempt(_: Event): void;
|
|
770
794
|
}
|
|
@@ -787,23 +811,14 @@ declare global {
|
|
|
787
811
|
}
|
|
788
812
|
|
|
789
813
|
declare class QtiGraphicAssociateInteraction extends Interaction {
|
|
790
|
-
|
|
791
|
-
hotspots
|
|
792
|
-
startPoint
|
|
793
|
-
endPoint
|
|
794
|
-
_lines
|
|
795
|
-
startCoord
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
};
|
|
799
|
-
mouseCoord: {
|
|
800
|
-
x: number;
|
|
801
|
-
y: number;
|
|
802
|
-
};
|
|
803
|
-
svgContainer: any;
|
|
804
|
-
grImage: any;
|
|
805
|
-
static styles: lit.CSSResult[];
|
|
806
|
-
svg: SVGSVGElement;
|
|
814
|
+
static styles: CSSResultGroup;
|
|
815
|
+
private hotspots;
|
|
816
|
+
private startPoint;
|
|
817
|
+
private endPoint;
|
|
818
|
+
private _lines;
|
|
819
|
+
private startCoord;
|
|
820
|
+
private mouseCoord;
|
|
821
|
+
private grImage;
|
|
807
822
|
constructor();
|
|
808
823
|
reset(): void;
|
|
809
824
|
validate(): boolean;
|
|
@@ -836,9 +851,9 @@ declare global {
|
|
|
836
851
|
|
|
837
852
|
declare const QtiGraphicOrderInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
838
853
|
declare class QtiGraphicOrderInteraction extends QtiGraphicOrderInteraction_base {
|
|
839
|
-
|
|
854
|
+
static styles: CSSResultGroup;
|
|
855
|
+
protected choiceOrdering: boolean;
|
|
840
856
|
protected _choiceElements: Choice[];
|
|
841
|
-
static styles: lit.CSSResult[];
|
|
842
857
|
render(): lit_html.TemplateResult<1>;
|
|
843
858
|
private setHotspotOrder;
|
|
844
859
|
private positionHotspotOnRegister;
|
|
@@ -853,7 +868,7 @@ declare global {
|
|
|
853
868
|
|
|
854
869
|
declare const QtiHotspotInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
855
870
|
declare class QtiHotspotInteraction extends QtiHotspotInteraction_base {
|
|
856
|
-
static styles:
|
|
871
|
+
static styles: CSSResultGroup;
|
|
857
872
|
render(): lit_html.TemplateResult<1>;
|
|
858
873
|
private positionHotspotOnRegister;
|
|
859
874
|
connectedCallback(): void;
|
|
@@ -933,8 +948,8 @@ declare global {
|
|
|
933
948
|
declare const QtiOrderInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
|
|
934
949
|
declare class QtiOrderInteraction extends QtiOrderInteraction_base {
|
|
935
950
|
static styles: lit.CSSResult;
|
|
936
|
-
childrenMap: Element[];
|
|
937
|
-
nrChoices: number;
|
|
951
|
+
protected childrenMap: Element[];
|
|
952
|
+
protected nrChoices: number;
|
|
938
953
|
correctResponses: string[];
|
|
939
954
|
showCorrectResponses: boolean;
|
|
940
955
|
/** orientation of choices */
|
|
@@ -990,60 +1005,26 @@ declare global {
|
|
|
990
1005
|
}
|
|
991
1006
|
}
|
|
992
1007
|
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
* @status stable
|
|
997
|
-
* @since 6.0
|
|
998
|
-
*
|
|
999
|
-
* @event qti-register-interaction - emitted when the interaction wants to register itself
|
|
1000
|
-
* @event qti-interaction-response - emitted when the interaction changes
|
|
1001
|
-
*
|
|
1002
|
-
* @cssprop --show-value - shows the current value while sliding
|
|
1003
|
-
* @cssprop --show-ticks - shows the ticks according to steps
|
|
1004
|
-
* @cssprop --show-bounds - shows value for lower and upper boundary
|
|
1005
|
-
*
|
|
1006
|
-
* @csspart slider -- slider inluding, bounds and ticks and value, use it for paddings and margins
|
|
1007
|
-
* @csspart bounds -- div for bounds, containing two divs for with min, and max bounds value
|
|
1008
|
-
* @csspart ticks -- div for ticks, use lineair gradient and exposed css variables for styling
|
|
1009
|
-
* @csspart rail -- div for rail, style according to needs
|
|
1010
|
-
* @csspart knob -- div, should be relative or absolute
|
|
1011
|
-
* @csspart value -- div, containing value
|
|
1012
|
-
*
|
|
1013
|
-
* @slot - The default slot where <qti-simple-choice> must be placed.
|
|
1014
|
-
* @slot prompt - slot where the prompt is placed.
|
|
1015
|
-
*/
|
|
1016
|
-
declare class QtiSliderInteraction extends Interaction {
|
|
1008
|
+
declare class QtiSliderInteraction extends LitElement {
|
|
1009
|
+
static formAssociated: boolean;
|
|
1010
|
+
static styles: CSSResultGroup;
|
|
1017
1011
|
private _value;
|
|
1018
|
-
|
|
1012
|
+
private _internals;
|
|
1019
1013
|
private _rail;
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
set min(value: number);
|
|
1024
|
-
get min(): number;
|
|
1025
|
-
private _max;
|
|
1026
|
-
set max(value: number);
|
|
1027
|
-
get max(): number;
|
|
1028
|
-
private _step;
|
|
1029
|
-
set step(value: number);
|
|
1030
|
-
get step(): number;
|
|
1031
|
-
_handleDisabledChange: () => void;
|
|
1032
|
-
_handleReadonlyChange: () => void;
|
|
1033
|
-
reset(): void;
|
|
1034
|
-
validate(): boolean;
|
|
1035
|
-
get value(): string | string[];
|
|
1036
|
-
set value(val: string | string[]);
|
|
1014
|
+
min: number;
|
|
1015
|
+
max: number;
|
|
1016
|
+
step: number;
|
|
1037
1017
|
constructor();
|
|
1038
|
-
set response(myResponse: string | string[]);
|
|
1039
|
-
static styles: lit.CSSResult[];
|
|
1040
|
-
render(): lit_html.TemplateResult<1>;
|
|
1041
1018
|
connectedCallback(): void;
|
|
1042
|
-
|
|
1019
|
+
get value(): string;
|
|
1020
|
+
set value(val: string);
|
|
1021
|
+
private _updateValue;
|
|
1022
|
+
render(): lit_html.TemplateResult<1>;
|
|
1043
1023
|
private _onMouseDown;
|
|
1044
|
-
|
|
1045
|
-
private
|
|
1046
|
-
private
|
|
1024
|
+
private _onTouchStart;
|
|
1025
|
+
private _startDrag;
|
|
1026
|
+
private _onDrag;
|
|
1027
|
+
private _onDragEnd;
|
|
1047
1028
|
}
|
|
1048
1029
|
declare global {
|
|
1049
1030
|
interface HTMLElementTagNameMap {
|
|
@@ -1174,4 +1155,4 @@ declare global {
|
|
|
1174
1155
|
}
|
|
1175
1156
|
}
|
|
1176
1157
|
|
|
1177
|
-
export {
|
|
1158
|
+
export { type QtiRuleBase as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiHottextInteraction as D, QtiInlineChoiceInteraction as E, type Orientation as F, QtiChoiceInteraction as G, QtiUploadInteraction as H, type InteractionChangedDetails as I, QtiOutcomeProcessing as J, QtiOutcomeProcessingProcessor as K, QtiResponseProcessing as L, type Multiple as M, QtiLookupOutcomeValue as N, type OutcomeChangedDetails as O, QtiAnd as P, type QtiInteractionChanged as Q, type ResponseInteraction as R, qtiAndMixin as S, QtiConditionExpression as T, type QtiExpressionBase as U, type VariableValue as V, QtiExpression as W, QtiMapping as X, QtiSubtract as Y, qtiSubtractMixin as Z, QtiRule as _, type QtiOutcomeChanged as a, QtiPortableCustomInteraction as a0, QtiAssociateInteraction as a1, QtiCustomInteraction as a2, QtiEndAttemptInteraction as a3, QtiGapMatchInteraction as a4, QtiGraphicAssociateInteraction as a5, QtiGraphicGapMatchInteraction as a6, QtiGraphicOrderInteraction as a7, QtiHotspotInteraction as a8, QtiMatchInteraction as a9, QtiMediaInteraction as aa, QtiOrderInteraction as ab, QtiPositionObjectStage as ac, QtiSelectPointInteraction as ad, QtiSliderInteraction as ae, type ItemContext as af, itemContextVariables as ag, itemContext as ah, QtiCustomOperator as ai, Interaction as aj, QtiAssociableHotspot as ak, QtiGap as al, QtiGapImg as am, QtiGapText as an, QtiHotspotChoice as ao, QtiHottext as ap, QtiInlineChoice as aq, QtiSimpleAssociableChoice as ar, QtiSimpleChoice as as, type Ordered as b, type Cardinality as c, type directedPair as d, type VariableDeclaration as e, type float as f, type OutcomeVariable as g, type ResponseVariable as h, type integer as i, QtiAssessmentItem as j, QtiAssessmentStimulusRef as k, type ChoiceInterface as l, ActiveElementMixin as m, QtiItemBody as n, QtiPrompt as o, QtiStylesheet as p, QtiOutcomeDeclaration as q, QtiResponseDeclaration as r, QtiCompanionMaterialsInfo as s, QtiContentBody as t, QtiRubricBlock as u, QtiFeedbackBlock as v, QtiFeedbackInline as w, QtiModalFeedback as x, QtiExtendedTextInteraction as y, QtiTextEntryInteraction as z };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { TestComponent } from './test-component.abstract.js';
|
|
2
|
+
export { TestNext } from './test-next.js';
|
|
3
|
+
export { TestPrev } from './test-prev.js';
|
|
4
|
+
export { TestView } from './test-view.js';
|
|
5
|
+
export { TestItemLink } from './test-item-link.js';
|
|
6
|
+
export { TestContainer } from './test-container.js';
|
|
7
|
+
export { TestPagingButtonsStamp } from './test-paging-buttons-stamp.js';
|
|
8
|
+
import 'lit';
|
|
9
|
+
import '../../test-base-BJwG9Ie8.js';
|
|
10
|
+
import '../qti-assessment-test/qti-test-part.js';
|
|
11
|
+
import 'lit-html';
|
|
12
|
+
import '../../qti-simple-choice-DxWcdKHi.js';
|
|
13
|
+
import 'lit-html/directives/ref.js';
|