@citolab/qti-components 6.6.1-10 → 6.6.1-12

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.
@@ -96,6 +96,65 @@
96
96
  }
97
97
  ]
98
98
  },
99
+ {
100
+ "kind": "javascript-module",
101
+ "path": "src/lib/qti-transformers/index.ts",
102
+ "declarations": [],
103
+ "exports": [
104
+ {
105
+ "kind": "js",
106
+ "name": "*",
107
+ "declaration": {
108
+ "name": "*",
109
+ "package": "./qti-transformers"
110
+ }
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "kind": "javascript-module",
116
+ "path": "src/lib/qti-transformers/qti-transformers.ts",
117
+ "declarations": [
118
+ {
119
+ "kind": "function",
120
+ "name": "qtiTransformItem",
121
+ "description": "This module exports a function that returns an object with methods to load, parse, transform and serialize QTI XML items.",
122
+ "return": {
123
+ "type": {
124
+ "text": ""
125
+ }
126
+ }
127
+ },
128
+ {
129
+ "kind": "function",
130
+ "name": "qtiTransformTest",
131
+ "description": "Returns an object with methods to load, parse and transform QTI tests.",
132
+ "return": {
133
+ "type": {
134
+ "text": ""
135
+ }
136
+ }
137
+ }
138
+ ],
139
+ "exports": [
140
+ {
141
+ "kind": "js",
142
+ "name": "qtiTransformItem",
143
+ "declaration": {
144
+ "name": "qtiTransformItem",
145
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
146
+ }
147
+ },
148
+ {
149
+ "kind": "js",
150
+ "name": "qtiTransformTest",
151
+ "declaration": {
152
+ "name": "qtiTransformTest",
153
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
154
+ }
155
+ }
156
+ ]
157
+ },
99
158
  {
100
159
  "kind": "javascript-module",
101
160
  "path": "src/lib/qti-components/index.ts",
@@ -492,64 +551,13 @@
492
551
  "name": "*",
493
552
  "package": "./qti-assessment-item/qti-assessment-item.context"
494
553
  }
495
- }
496
- ]
497
- },
498
- {
499
- "kind": "javascript-module",
500
- "path": "src/lib/qti-transformers/index.ts",
501
- "declarations": [],
502
- "exports": [
554
+ },
503
555
  {
504
556
  "kind": "js",
505
557
  "name": "*",
506
558
  "declaration": {
507
559
  "name": "*",
508
- "package": "./qti-transformers"
509
- }
510
- }
511
- ]
512
- },
513
- {
514
- "kind": "javascript-module",
515
- "path": "src/lib/qti-transformers/qti-transformers.ts",
516
- "declarations": [
517
- {
518
- "kind": "function",
519
- "name": "qtiTransformItem",
520
- "description": "This module exports a function that returns an object with methods to load, parse, transform and serialize QTI XML items.",
521
- "return": {
522
- "type": {
523
- "text": ""
524
- }
525
- }
526
- },
527
- {
528
- "kind": "function",
529
- "name": "qtiTransformTest",
530
- "description": "Returns an object with methods to load, parse and transform QTI tests.",
531
- "return": {
532
- "type": {
533
- "text": ""
534
- }
535
- }
536
- }
537
- ],
538
- "exports": [
539
- {
540
- "kind": "js",
541
- "name": "qtiTransformItem",
542
- "declaration": {
543
- "name": "qtiTransformItem",
544
- "module": "src/lib/qti-transformers/qti-transformers.ts"
545
- }
546
- },
547
- {
548
- "kind": "js",
549
- "name": "qtiTransformTest",
550
- "declaration": {
551
- "name": "qtiTransformTest",
552
- "module": "src/lib/qti-transformers/qti-transformers.ts"
560
+ "package": "./qti-custom-operator/qti-custom-operator"
553
561
  }
554
562
  }
555
563
  ]
@@ -880,6 +888,50 @@
880
888
  }
881
889
  ]
882
890
  },
891
+ {
892
+ "kind": "javascript-module",
893
+ "path": "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts",
894
+ "declarations": [
895
+ {
896
+ "kind": "class",
897
+ "description": "https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw\n<qti-custom-operator class=\"js.org\">\n <qti-base-value base-type=\"string\"><![CDATA[\n console.log(context.variables);\n return 'B'\n document.querySelector('qti-end-attempt-interaction').disabled = true;\n ]]></qti-base-value>\n </qti-custom-operator>\n </qti-set-outcome-value>",
898
+ "name": "QtiCustomOperator",
899
+ "members": [],
900
+ "events": [
901
+ {
902
+ "name": "qti-set-outcome-value",
903
+ "type": {
904
+ "text": "CustomEvent"
905
+ }
906
+ }
907
+ ],
908
+ "superclass": {
909
+ "name": "LitElement",
910
+ "package": "lit"
911
+ },
912
+ "tagName": "qti-custom-operator",
913
+ "customElement": true
914
+ }
915
+ ],
916
+ "exports": [
917
+ {
918
+ "kind": "js",
919
+ "name": "QtiCustomOperator",
920
+ "declaration": {
921
+ "name": "QtiCustomOperator",
922
+ "module": "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts"
923
+ }
924
+ },
925
+ {
926
+ "kind": "custom-element-definition",
927
+ "name": "qti-custom-operator",
928
+ "declaration": {
929
+ "name": "QtiCustomOperator",
930
+ "module": "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts"
931
+ }
932
+ }
933
+ ]
934
+ },
883
935
  {
884
936
  "kind": "javascript-module",
885
937
  "path": "src/lib/qti-components/qti-feedback/qti-feedback.ts",