@citolab/qti-components 7.23.0 → 7.25.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/cdn/index.global.js +1 -1
- package/cdn/index.js +176 -554
- package/custom-elements.json +122 -9
- package/dist/base.js +1 -1
- package/dist/{chunk-ULXR5TWK.js → chunk-4A7ZMQKU.js} +3 -3
- package/dist/{chunk-EGLWHNOX.js → chunk-BHB6PYJG.js} +4 -4
- package/dist/{chunk-EGLWHNOX.js.map → chunk-BHB6PYJG.js.map} +1 -1
- package/dist/{chunk-5WZZMNCU.js → chunk-ES2FREAP.js} +4 -4
- package/dist/{chunk-DDKFUQ22.js → chunk-FEO7D54Z.js} +3 -3
- package/dist/{chunk-2EVAV2SS.js → chunk-I4NHZ6D6.js} +89 -10
- package/dist/chunk-I4NHZ6D6.js.map +1 -0
- package/dist/{chunk-AIS537EU.js → chunk-IKBPPSNQ.js} +57 -487
- package/dist/{chunk-AIS537EU.js.map → chunk-IKBPPSNQ.js.map} +1 -1
- package/dist/{chunk-SVCFKO4U.js → chunk-RKXUA6D6.js} +4 -8
- package/dist/{chunk-SVCFKO4U.js.map → chunk-RKXUA6D6.js.map} +1 -1
- package/dist/{chunk-QZLVYJDX.js → chunk-VQAG7NSK.js} +2 -2
- package/dist/elements.js +3 -3
- package/dist/index.js +8 -8
- package/dist/interactions.js +3 -3
- package/dist/item.css +55 -485
- package/dist/item.js +3 -3
- package/dist/processing.d.ts +0 -2
- package/dist/processing.js +2 -2
- package/dist/qti-components-jsx.d.ts +64 -64
- package/dist/test.js +5 -5
- package/package.json +17 -16
- package/LICENSE.md +0 -674
- package/dist/chunk-2EVAV2SS.js.map +0 -1
- /package/dist/{chunk-ULXR5TWK.js.map → chunk-4A7ZMQKU.js.map} +0 -0
- /package/dist/{chunk-5WZZMNCU.js.map → chunk-ES2FREAP.js.map} +0 -0
- /package/dist/{chunk-DDKFUQ22.js.map → chunk-FEO7D54Z.js.map} +0 -0
- /package/dist/{chunk-QZLVYJDX.js.map → chunk-VQAG7NSK.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -22731,6 +22731,16 @@
|
|
|
22731
22731
|
},
|
|
22732
22732
|
"description": "Parse the require shim JSON string into an object"
|
|
22733
22733
|
},
|
|
22734
|
+
{
|
|
22735
|
+
"kind": "method",
|
|
22736
|
+
"name": "#hasNonEmptyResponse",
|
|
22737
|
+
"privacy": "private",
|
|
22738
|
+
"return": {
|
|
22739
|
+
"type": {
|
|
22740
|
+
"text": "boolean"
|
|
22741
|
+
}
|
|
22742
|
+
}
|
|
22743
|
+
},
|
|
22734
22744
|
{
|
|
22735
22745
|
"kind": "method",
|
|
22736
22746
|
"name": "#initializeInteraction",
|
|
@@ -22755,6 +22765,24 @@
|
|
|
22755
22765
|
},
|
|
22756
22766
|
"default": "null"
|
|
22757
22767
|
},
|
|
22768
|
+
{
|
|
22769
|
+
"kind": "field",
|
|
22770
|
+
"name": "#pciCustomValidityMessage",
|
|
22771
|
+
"privacy": "private",
|
|
22772
|
+
"type": {
|
|
22773
|
+
"text": "string"
|
|
22774
|
+
},
|
|
22775
|
+
"default": "''"
|
|
22776
|
+
},
|
|
22777
|
+
{
|
|
22778
|
+
"kind": "field",
|
|
22779
|
+
"name": "#pciValidity",
|
|
22780
|
+
"privacy": "private",
|
|
22781
|
+
"type": {
|
|
22782
|
+
"text": "boolean | null"
|
|
22783
|
+
},
|
|
22784
|
+
"default": "null"
|
|
22785
|
+
},
|
|
22758
22786
|
{
|
|
22759
22787
|
"kind": "field",
|
|
22760
22788
|
"name": "#previousState",
|
|
@@ -22776,6 +22804,31 @@
|
|
|
22776
22804
|
"privacy": "private",
|
|
22777
22805
|
"description": "IFRAME MODE: Send initialization data to iframe"
|
|
22778
22806
|
},
|
|
22807
|
+
{
|
|
22808
|
+
"kind": "method",
|
|
22809
|
+
"name": "#setInteractionValidity",
|
|
22810
|
+
"privacy": "private",
|
|
22811
|
+
"return": {
|
|
22812
|
+
"type": {
|
|
22813
|
+
"text": "void"
|
|
22814
|
+
}
|
|
22815
|
+
},
|
|
22816
|
+
"parameters": [
|
|
22817
|
+
{
|
|
22818
|
+
"name": "isValid",
|
|
22819
|
+
"type": {
|
|
22820
|
+
"text": "boolean"
|
|
22821
|
+
}
|
|
22822
|
+
},
|
|
22823
|
+
{
|
|
22824
|
+
"name": "customMessage",
|
|
22825
|
+
"optional": true,
|
|
22826
|
+
"type": {
|
|
22827
|
+
"text": "string"
|
|
22828
|
+
}
|
|
22829
|
+
}
|
|
22830
|
+
]
|
|
22831
|
+
},
|
|
22779
22832
|
{
|
|
22780
22833
|
"kind": "method",
|
|
22781
22834
|
"name": "#unescapeDataAttributes",
|
|
@@ -24137,6 +24190,20 @@
|
|
|
24137
24190
|
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24138
24191
|
}
|
|
24139
24192
|
},
|
|
24193
|
+
{
|
|
24194
|
+
"kind": "method",
|
|
24195
|
+
"name": "#hasNonEmptyResponse",
|
|
24196
|
+
"privacy": "private",
|
|
24197
|
+
"return": {
|
|
24198
|
+
"type": {
|
|
24199
|
+
"text": "boolean"
|
|
24200
|
+
}
|
|
24201
|
+
},
|
|
24202
|
+
"inheritedFrom": {
|
|
24203
|
+
"name": "QtiPortableCustomInteraction",
|
|
24204
|
+
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24205
|
+
}
|
|
24206
|
+
},
|
|
24140
24207
|
{
|
|
24141
24208
|
"kind": "method",
|
|
24142
24209
|
"name": "#initializeInteraction",
|
|
@@ -24173,6 +24240,32 @@
|
|
|
24173
24240
|
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24174
24241
|
}
|
|
24175
24242
|
},
|
|
24243
|
+
{
|
|
24244
|
+
"kind": "field",
|
|
24245
|
+
"name": "#pciCustomValidityMessage",
|
|
24246
|
+
"privacy": "private",
|
|
24247
|
+
"type": {
|
|
24248
|
+
"text": "string"
|
|
24249
|
+
},
|
|
24250
|
+
"default": "''",
|
|
24251
|
+
"inheritedFrom": {
|
|
24252
|
+
"name": "QtiPortableCustomInteraction",
|
|
24253
|
+
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24254
|
+
}
|
|
24255
|
+
},
|
|
24256
|
+
{
|
|
24257
|
+
"kind": "field",
|
|
24258
|
+
"name": "#pciValidity",
|
|
24259
|
+
"privacy": "private",
|
|
24260
|
+
"type": {
|
|
24261
|
+
"text": "boolean | null"
|
|
24262
|
+
},
|
|
24263
|
+
"default": "null",
|
|
24264
|
+
"inheritedFrom": {
|
|
24265
|
+
"name": "QtiPortableCustomInteraction",
|
|
24266
|
+
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24267
|
+
}
|
|
24268
|
+
},
|
|
24176
24269
|
{
|
|
24177
24270
|
"kind": "field",
|
|
24178
24271
|
"name": "#previousState",
|
|
@@ -24215,6 +24308,35 @@
|
|
|
24215
24308
|
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24216
24309
|
}
|
|
24217
24310
|
},
|
|
24311
|
+
{
|
|
24312
|
+
"kind": "method",
|
|
24313
|
+
"name": "#setInteractionValidity",
|
|
24314
|
+
"privacy": "private",
|
|
24315
|
+
"return": {
|
|
24316
|
+
"type": {
|
|
24317
|
+
"text": "void"
|
|
24318
|
+
}
|
|
24319
|
+
},
|
|
24320
|
+
"parameters": [
|
|
24321
|
+
{
|
|
24322
|
+
"name": "isValid",
|
|
24323
|
+
"type": {
|
|
24324
|
+
"text": "boolean"
|
|
24325
|
+
}
|
|
24326
|
+
},
|
|
24327
|
+
{
|
|
24328
|
+
"name": "customMessage",
|
|
24329
|
+
"optional": true,
|
|
24330
|
+
"type": {
|
|
24331
|
+
"text": "string"
|
|
24332
|
+
}
|
|
24333
|
+
}
|
|
24334
|
+
],
|
|
24335
|
+
"inheritedFrom": {
|
|
24336
|
+
"name": "QtiPortableCustomInteraction",
|
|
24337
|
+
"module": "packages/qti-interactions/src/components/qti-portable-custom-interaction/qti-portable-custom-interaction.ts"
|
|
24338
|
+
}
|
|
24339
|
+
},
|
|
24218
24340
|
{
|
|
24219
24341
|
"kind": "method",
|
|
24220
24342
|
"name": "#unescapeDataAttributes",
|
|
@@ -37526,15 +37648,6 @@
|
|
|
37526
37648
|
"description": "",
|
|
37527
37649
|
"name": "QtiSum",
|
|
37528
37650
|
"members": [
|
|
37529
|
-
{
|
|
37530
|
-
"kind": "field",
|
|
37531
|
-
"name": "#expression",
|
|
37532
|
-
"privacy": "private",
|
|
37533
|
-
"type": {
|
|
37534
|
-
"text": "QtiSumExpression"
|
|
37535
|
-
},
|
|
37536
|
-
"default": "new QtiSumExpression(Array.from(this.children as unknown as QtiExpressionBase<number>[]))"
|
|
37537
|
-
},
|
|
37538
37651
|
{
|
|
37539
37652
|
"kind": "method",
|
|
37540
37653
|
"name": "calculate",
|
package/dist/base.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
o
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VQAG7NSK.js";
|
|
4
4
|
import {
|
|
5
5
|
qtiTransformItem
|
|
6
6
|
} from "./chunk-K7HR6ZAY.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
t,
|
|
19
19
|
watch,
|
|
20
20
|
x
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BHB6PYJG.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass,
|
|
24
24
|
__privateAdd,
|
|
@@ -1322,4 +1322,4 @@ export {
|
|
|
1322
1322
|
QtiTemplateDeclaration,
|
|
1323
1323
|
QtiContextDeclaration
|
|
1324
1324
|
};
|
|
1325
|
-
//# sourceMappingURL=chunk-
|
|
1325
|
+
//# sourceMappingURL=chunk-4A7ZMQKU.js.map
|
|
@@ -1372,7 +1372,7 @@ var o6 = s6.litElementPolyfillSupport;
|
|
|
1372
1372
|
o6?.({ LitElement: i4 });
|
|
1373
1373
|
(s6.litElementVersions ??= []).push("4.2.1");
|
|
1374
1374
|
|
|
1375
|
-
// ../
|
|
1375
|
+
// ../qti-utilities/src/decorators/live-query.ts
|
|
1376
1376
|
function liveQuery(querySelector, options) {
|
|
1377
1377
|
return (proto, decoratedFnName) => {
|
|
1378
1378
|
const { connectedCallback, disconnectedCallback } = proto;
|
|
@@ -1429,7 +1429,7 @@ function liveQuery(querySelector, options) {
|
|
|
1429
1429
|
};
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
|
-
// ../
|
|
1432
|
+
// ../qti-utilities/src/decorators/watch.ts
|
|
1433
1433
|
function watch(propertyName, options) {
|
|
1434
1434
|
const resolvedOptions = {
|
|
1435
1435
|
waitUntilFirstUpdate: false,
|
|
@@ -1567,7 +1567,7 @@ var f4 = class extends i5 {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
};
|
|
1569
1569
|
|
|
1570
|
-
// ../
|
|
1570
|
+
// ../qti-utilities/src/directives/spread-args.ts
|
|
1571
1571
|
var SpreadArgsDirective = class extends f4 {
|
|
1572
1572
|
constructor() {
|
|
1573
1573
|
super(...arguments);
|
|
@@ -2408,4 +2408,4 @@ lit-html/node/directive-helpers.js:
|
|
|
2408
2408
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2409
2409
|
*)
|
|
2410
2410
|
*/
|
|
2411
|
-
//# sourceMappingURL=chunk-
|
|
2411
|
+
//# sourceMappingURL=chunk-BHB6PYJG.js.map
|