@citolab/qti-components 6.3.1 → 6.3.3

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.
@@ -2,41 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "src/lib/context/audience-context.ts",
8
- "declarations": [
9
- {
10
- "kind": "variable",
11
- "name": "audienceContext"
12
- }
13
- ],
14
- "exports": [
15
- {
16
- "kind": "js",
17
- "name": "audienceContext",
18
- "declaration": {
19
- "name": "audienceContext",
20
- "module": "src/lib/context/audience-context.ts"
21
- }
22
- }
23
- ]
24
- },
25
- {
26
- "kind": "javascript-module",
27
- "path": "src/lib/context/index.ts",
28
- "declarations": [],
29
- "exports": [
30
- {
31
- "kind": "js",
32
- "name": "*",
33
- "declaration": {
34
- "name": "*",
35
- "package": "./audience-context"
36
- }
37
- }
38
- ]
39
- },
40
5
  {
41
6
  "kind": "javascript-module",
42
7
  "path": "src/lib/decorators/index.ts",
@@ -133,61 +98,35 @@
133
98
  },
134
99
  {
135
100
  "kind": "javascript-module",
136
- "path": "src/lib/qti-item/index.ts",
137
- "declarations": [],
101
+ "path": "src/lib/context/audience-context.ts",
102
+ "declarations": [
103
+ {
104
+ "kind": "variable",
105
+ "name": "audienceContext"
106
+ }
107
+ ],
138
108
  "exports": [
139
109
  {
140
110
  "kind": "js",
141
- "name": "*",
111
+ "name": "audienceContext",
142
112
  "declaration": {
143
- "name": "*",
144
- "package": "./qti-item"
113
+ "name": "audienceContext",
114
+ "module": "src/lib/context/audience-context.ts"
145
115
  }
146
116
  }
147
117
  ]
148
118
  },
149
119
  {
150
120
  "kind": "javascript-module",
151
- "path": "src/lib/qti-item/qti-item.ts",
152
- "declarations": [
153
- {
154
- "kind": "class",
155
- "description": "",
156
- "name": "QtiItem",
157
- "members": [],
158
- "attributes": [
159
- {
160
- "name": "item-location",
161
- "type": {
162
- "text": "string"
163
- },
164
- "default": "''",
165
- "fieldName": "itemLocation"
166
- }
167
- ],
168
- "superclass": {
169
- "name": "LitElement",
170
- "package": "lit"
171
- },
172
- "tagName": "qti-item",
173
- "customElement": true
174
- }
175
- ],
121
+ "path": "src/lib/context/index.ts",
122
+ "declarations": [],
176
123
  "exports": [
177
124
  {
178
125
  "kind": "js",
179
- "name": "QtiItem",
180
- "declaration": {
181
- "name": "QtiItem",
182
- "module": "src/lib/qti-item/qti-item.ts"
183
- }
184
- },
185
- {
186
- "kind": "custom-element-definition",
187
- "name": "qti-item",
126
+ "name": "*",
188
127
  "declaration": {
189
- "name": "QtiItem",
190
- "module": "src/lib/qti-item/qti-item.ts"
128
+ "name": "*",
129
+ "package": "./audience-context"
191
130
  }
192
131
  }
193
132
  ]
@@ -599,6 +538,103 @@
599
538
  }
600
539
  ]
601
540
  },
541
+ {
542
+ "kind": "javascript-module",
543
+ "path": "src/lib/qti-item/index.ts",
544
+ "declarations": [],
545
+ "exports": [
546
+ {
547
+ "kind": "js",
548
+ "name": "*",
549
+ "declaration": {
550
+ "name": "*",
551
+ "package": "./qti-item"
552
+ }
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "kind": "javascript-module",
558
+ "path": "src/lib/qti-item/qti-item.ts",
559
+ "declarations": [
560
+ {
561
+ "kind": "class",
562
+ "description": "",
563
+ "name": "QtiItem",
564
+ "members": [],
565
+ "attributes": [
566
+ {
567
+ "name": "item-location",
568
+ "type": {
569
+ "text": "string"
570
+ },
571
+ "default": "''",
572
+ "fieldName": "itemLocation"
573
+ }
574
+ ],
575
+ "superclass": {
576
+ "name": "LitElement",
577
+ "package": "lit"
578
+ },
579
+ "tagName": "qti-item",
580
+ "customElement": true
581
+ }
582
+ ],
583
+ "exports": [
584
+ {
585
+ "kind": "js",
586
+ "name": "QtiItem",
587
+ "declaration": {
588
+ "name": "QtiItem",
589
+ "module": "src/lib/qti-item/qti-item.ts"
590
+ }
591
+ },
592
+ {
593
+ "kind": "custom-element-definition",
594
+ "name": "qti-item",
595
+ "declaration": {
596
+ "name": "QtiItem",
597
+ "module": "src/lib/qti-item/qti-item.ts"
598
+ }
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "kind": "javascript-module",
604
+ "path": "src/lib/qti-test-react/index.ts",
605
+ "declarations": [],
606
+ "exports": [
607
+ {
608
+ "kind": "js",
609
+ "name": "*",
610
+ "declaration": {
611
+ "name": "*",
612
+ "package": "./qti-test.react"
613
+ }
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "kind": "javascript-module",
619
+ "path": "src/lib/qti-test-react/qti-test.react.ts",
620
+ "declarations": [
621
+ {
622
+ "kind": "variable",
623
+ "name": "QtiTest",
624
+ "default": "createComponent({\n tagName: 'qti-item',\n react: React,\n elementClass: QtiAssessmentTestWebComponent,\n events: {\n onOutcomeChanged: 'qti-outcome-changed', // as EventName<Event>\n onInteractionChanged: 'qti-interaction-changed',\n onItemConnected: 'qti-item-connected',\n onRegisterItem: 'register-item-ref',\n onTestRequestItem: 'on-test-request-item'\n }\n})"
625
+ }
626
+ ],
627
+ "exports": [
628
+ {
629
+ "kind": "js",
630
+ "name": "QtiTest",
631
+ "declaration": {
632
+ "name": "QtiTest",
633
+ "module": "src/lib/qti-test-react/qti-test.react.ts"
634
+ }
635
+ }
636
+ ]
637
+ },
602
638
  {
603
639
  "kind": "javascript-module",
604
640
  "path": "src/lib/qti-item-react/index.ts",
@@ -929,42 +965,6 @@
929
965
  }
930
966
  ]
931
967
  },
932
- {
933
- "kind": "javascript-module",
934
- "path": "src/lib/qti-test-react/index.ts",
935
- "declarations": [],
936
- "exports": [
937
- {
938
- "kind": "js",
939
- "name": "*",
940
- "declaration": {
941
- "name": "*",
942
- "package": "./qti-test.react"
943
- }
944
- }
945
- ]
946
- },
947
- {
948
- "kind": "javascript-module",
949
- "path": "src/lib/qti-test-react/qti-test.react.ts",
950
- "declarations": [
951
- {
952
- "kind": "variable",
953
- "name": "QtiTest",
954
- "default": "createComponent({\n tagName: 'qti-item',\n react: React,\n elementClass: QtiAssessmentTestWebComponent,\n events: {\n onOutcomeChanged: 'qti-outcome-changed', // as EventName<Event>\n onInteractionChanged: 'qti-interaction-changed',\n onItemConnected: 'qti-item-connected',\n onRegisterItem: 'register-item-ref',\n onTestRequestItem: 'on-test-request-item'\n }\n})"
955
- }
956
- ],
957
- "exports": [
958
- {
959
- "kind": "js",
960
- "name": "QtiTest",
961
- "declaration": {
962
- "name": "QtiTest",
963
- "module": "src/lib/qti-test-react/qti-test.react.ts"
964
- }
965
- }
966
- ]
967
- },
968
968
  {
969
969
  "kind": "javascript-module",
970
970
  "path": "src/lib/qti-transform/index.ts",
@@ -1010,62 +1010,27 @@
1010
1010
  },
1011
1011
  {
1012
1012
  "kind": "javascript-module",
1013
- "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
1013
+ "path": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.context.ts",
1014
1014
  "declarations": [
1015
1015
  {
1016
- "kind": "class",
1017
- "description": "",
1018
- "name": "QtiCompanionMaterialsInfo",
1019
- "superclass": {
1020
- "name": "LitElement",
1021
- "package": "lit"
1022
- },
1023
- "tagName": "qti-companion-materials-info",
1024
- "customElement": true
1016
+ "kind": "variable",
1017
+ "name": "itemContext"
1025
1018
  }
1026
1019
  ],
1027
1020
  "exports": [
1028
1021
  {
1029
1022
  "kind": "js",
1030
- "name": "QtiCompanionMaterialsInfo",
1031
- "declaration": {
1032
- "name": "QtiCompanionMaterialsInfo",
1033
- "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1034
- }
1035
- },
1036
- {
1037
- "kind": "custom-element-definition",
1038
- "name": "qti-companion-materials-info",
1023
+ "name": "itemContext",
1039
1024
  "declaration": {
1040
- "name": "QtiCompanionMaterialsInfo",
1041
- "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1025
+ "name": "itemContext",
1026
+ "module": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.context.ts"
1042
1027
  }
1043
1028
  }
1044
1029
  ]
1045
1030
  },
1046
1031
  {
1047
1032
  "kind": "javascript-module",
1048
- "path": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.context.ts",
1049
- "declarations": [
1050
- {
1051
- "kind": "variable",
1052
- "name": "itemContext"
1053
- }
1054
- ],
1055
- "exports": [
1056
- {
1057
- "kind": "js",
1058
- "name": "itemContext",
1059
- "declaration": {
1060
- "name": "itemContext",
1061
- "module": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.context.ts"
1062
- }
1063
- }
1064
- ]
1065
- },
1066
- {
1067
- "kind": "javascript-module",
1068
- "path": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts",
1033
+ "path": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts",
1069
1034
  "declarations": [
1070
1035
  {
1071
1036
  "kind": "class",
@@ -1176,6 +1141,41 @@
1176
1141
  }
1177
1142
  ]
1178
1143
  },
1144
+ {
1145
+ "kind": "javascript-module",
1146
+ "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
1147
+ "declarations": [
1148
+ {
1149
+ "kind": "class",
1150
+ "description": "",
1151
+ "name": "QtiCompanionMaterialsInfo",
1152
+ "superclass": {
1153
+ "name": "LitElement",
1154
+ "package": "lit"
1155
+ },
1156
+ "tagName": "qti-companion-materials-info",
1157
+ "customElement": true
1158
+ }
1159
+ ],
1160
+ "exports": [
1161
+ {
1162
+ "kind": "js",
1163
+ "name": "QtiCompanionMaterialsInfo",
1164
+ "declaration": {
1165
+ "name": "QtiCompanionMaterialsInfo",
1166
+ "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1167
+ }
1168
+ },
1169
+ {
1170
+ "kind": "custom-element-definition",
1171
+ "name": "qti-companion-materials-info",
1172
+ "declaration": {
1173
+ "name": "QtiCompanionMaterialsInfo",
1174
+ "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1175
+ }
1176
+ }
1177
+ ]
1178
+ },
1179
1179
  {
1180
1180
  "kind": "javascript-module",
1181
1181
  "path": "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts",
@@ -5678,6 +5678,42 @@
5678
5678
  }
5679
5679
  ]
5680
5680
  },
5681
+ {
5682
+ "kind": "javascript-module",
5683
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts",
5684
+ "declarations": [
5685
+ {
5686
+ "kind": "class",
5687
+ "description": "",
5688
+ "name": "QtiRule",
5689
+ "members": [],
5690
+ "superclass": {
5691
+ "name": "LitElement",
5692
+ "package": "lit"
5693
+ },
5694
+ "tagName": "qti-rule",
5695
+ "customElement": true
5696
+ }
5697
+ ],
5698
+ "exports": [
5699
+ {
5700
+ "kind": "js",
5701
+ "name": "QtiRule",
5702
+ "declaration": {
5703
+ "name": "QtiRule",
5704
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
5705
+ }
5706
+ },
5707
+ {
5708
+ "kind": "custom-element-definition",
5709
+ "name": "qti-rule",
5710
+ "declaration": {
5711
+ "name": "QtiRule",
5712
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
5713
+ }
5714
+ }
5715
+ ]
5716
+ },
5681
5717
  {
5682
5718
  "kind": "javascript-module",
5683
5719
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/index.ts",
@@ -5946,42 +5982,6 @@
5946
5982
  }
5947
5983
  ]
5948
5984
  },
5949
- {
5950
- "kind": "javascript-module",
5951
- "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts",
5952
- "declarations": [
5953
- {
5954
- "kind": "class",
5955
- "description": "",
5956
- "name": "QtiRule",
5957
- "members": [],
5958
- "superclass": {
5959
- "name": "LitElement",
5960
- "package": "lit"
5961
- },
5962
- "tagName": "qti-rule",
5963
- "customElement": true
5964
- }
5965
- ],
5966
- "exports": [
5967
- {
5968
- "kind": "js",
5969
- "name": "QtiRule",
5970
- "declaration": {
5971
- "name": "QtiRule",
5972
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
5973
- }
5974
- },
5975
- {
5976
- "kind": "custom-element-definition",
5977
- "name": "qti-rule",
5978
- "declaration": {
5979
- "name": "QtiRule",
5980
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
5981
- }
5982
- }
5983
- ]
5984
- },
5985
5985
  {
5986
5986
  "kind": "javascript-module",
5987
5987
  "path": "src/lib/qti-components/qti-responseprocessing/utilities/scoring-helper.ts",
@@ -6938,6 +6938,86 @@
6938
6938
  }
6939
6939
  ]
6940
6940
  },
6941
+ {
6942
+ "kind": "javascript-module",
6943
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts",
6944
+ "declarations": [
6945
+ {
6946
+ "kind": "class",
6947
+ "description": "",
6948
+ "name": "QtiResponseCondition",
6949
+ "members": [],
6950
+ "superclass": {
6951
+ "name": "QtiRule",
6952
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule"
6953
+ },
6954
+ "tagName": "qti-response-condition",
6955
+ "customElement": true
6956
+ }
6957
+ ],
6958
+ "exports": [
6959
+ {
6960
+ "kind": "js",
6961
+ "name": "QtiResponseCondition",
6962
+ "declaration": {
6963
+ "name": "QtiResponseCondition",
6964
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts"
6965
+ }
6966
+ },
6967
+ {
6968
+ "kind": "custom-element-definition",
6969
+ "name": "qti-response-condition",
6970
+ "declaration": {
6971
+ "name": "QtiResponseCondition",
6972
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts"
6973
+ }
6974
+ }
6975
+ ]
6976
+ },
6977
+ {
6978
+ "kind": "javascript-module",
6979
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.ts",
6980
+ "declarations": [
6981
+ {
6982
+ "kind": "class",
6983
+ "description": "",
6984
+ "name": "QtiSetOutcomeValue",
6985
+ "members": [],
6986
+ "events": [
6987
+ {
6988
+ "name": "qti-set-outcome-value",
6989
+ "type": {
6990
+ "text": "CustomEvent"
6991
+ }
6992
+ }
6993
+ ],
6994
+ "superclass": {
6995
+ "name": "QtiRule",
6996
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule"
6997
+ },
6998
+ "tagName": "qti-set-outcome-value",
6999
+ "customElement": true
7000
+ }
7001
+ ],
7002
+ "exports": [
7003
+ {
7004
+ "kind": "js",
7005
+ "name": "QtiSetOutcomeValue",
7006
+ "declaration": {
7007
+ "name": "QtiSetOutcomeValue",
7008
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.ts"
7009
+ }
7010
+ },
7011
+ {
7012
+ "kind": "custom-element-definition",
7013
+ "name": "qti-set-outcome-value",
7014
+ "declaration": {
7015
+ "name": "QtiSetOutcomeValue",
7016
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.ts"
7017
+ }
7018
+ }
7019
+ ]
7020
+ },
6941
7021
  {
6942
7022
  "kind": "javascript-module",
6943
7023
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts",
@@ -7094,92 +7174,92 @@
7094
7174
  },
7095
7175
  {
7096
7176
  "kind": "javascript-module",
7097
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts",
7177
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts",
7098
7178
  "declarations": [
7099
7179
  {
7100
7180
  "kind": "class",
7101
7181
  "description": "",
7102
- "name": "QtiEqualRounded",
7182
+ "name": "QtiEqual",
7103
7183
  "members": [],
7104
7184
  "attributes": [
7105
7185
  {
7106
- "name": "roundingMode",
7186
+ "name": "toleranceMode",
7107
7187
  "type": {
7108
- "text": "'decimalPlaces' | 'significantFigures'"
7188
+ "text": "'exact' | 'relative' | 'absolute'"
7109
7189
  },
7110
- "default": "'significantFigures'",
7111
- "fieldName": "roundingMode"
7190
+ "default": "'exact'",
7191
+ "fieldName": "toleranceMode"
7112
7192
  }
7113
7193
  ],
7114
7194
  "superclass": {
7115
7195
  "name": "QtiExpression",
7116
7196
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7117
7197
  },
7118
- "tagName": "qti-equal-rounded",
7198
+ "tagName": "qti-equal",
7119
7199
  "customElement": true
7120
7200
  }
7121
7201
  ],
7122
7202
  "exports": [
7123
7203
  {
7124
7204
  "kind": "js",
7125
- "name": "QtiEqualRounded",
7205
+ "name": "QtiEqual",
7126
7206
  "declaration": {
7127
- "name": "QtiEqualRounded",
7128
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7207
+ "name": "QtiEqual",
7208
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7129
7209
  }
7130
7210
  },
7131
7211
  {
7132
7212
  "kind": "custom-element-definition",
7133
- "name": "qti-equal-rounded",
7213
+ "name": "qti-equal",
7134
7214
  "declaration": {
7135
- "name": "QtiEqualRounded",
7136
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7215
+ "name": "QtiEqual",
7216
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7137
7217
  }
7138
7218
  }
7139
7219
  ]
7140
7220
  },
7141
7221
  {
7142
7222
  "kind": "javascript-module",
7143
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts",
7223
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts",
7144
7224
  "declarations": [
7145
7225
  {
7146
7226
  "kind": "class",
7147
7227
  "description": "",
7148
- "name": "QtiEqual",
7228
+ "name": "QtiEqualRounded",
7149
7229
  "members": [],
7150
7230
  "attributes": [
7151
7231
  {
7152
- "name": "toleranceMode",
7232
+ "name": "roundingMode",
7153
7233
  "type": {
7154
- "text": "'exact' | 'relative' | 'absolute'"
7234
+ "text": "'decimalPlaces' | 'significantFigures'"
7155
7235
  },
7156
- "default": "'exact'",
7157
- "fieldName": "toleranceMode"
7236
+ "default": "'significantFigures'",
7237
+ "fieldName": "roundingMode"
7158
7238
  }
7159
7239
  ],
7160
7240
  "superclass": {
7161
7241
  "name": "QtiExpression",
7162
7242
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7163
7243
  },
7164
- "tagName": "qti-equal",
7244
+ "tagName": "qti-equal-rounded",
7165
7245
  "customElement": true
7166
7246
  }
7167
7247
  ],
7168
7248
  "exports": [
7169
7249
  {
7170
7250
  "kind": "js",
7171
- "name": "QtiEqual",
7251
+ "name": "QtiEqualRounded",
7172
7252
  "declaration": {
7173
- "name": "QtiEqual",
7174
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7253
+ "name": "QtiEqualRounded",
7254
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7175
7255
  }
7176
7256
  },
7177
7257
  {
7178
7258
  "kind": "custom-element-definition",
7179
- "name": "qti-equal",
7259
+ "name": "qti-equal-rounded",
7180
7260
  "declaration": {
7181
- "name": "QtiEqual",
7182
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7261
+ "name": "QtiEqualRounded",
7262
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7183
7263
  }
7184
7264
  }
7185
7265
  ]
@@ -7424,42 +7504,6 @@
7424
7504
  }
7425
7505
  ]
7426
7506
  },
7427
- {
7428
- "kind": "javascript-module",
7429
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts",
7430
- "declarations": [
7431
- {
7432
- "kind": "class",
7433
- "description": "",
7434
- "name": "QtiMatch",
7435
- "members": [],
7436
- "superclass": {
7437
- "name": "QtiExpression",
7438
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7439
- },
7440
- "tagName": "qti-match",
7441
- "customElement": true
7442
- }
7443
- ],
7444
- "exports": [
7445
- {
7446
- "kind": "js",
7447
- "name": "QtiMatch",
7448
- "declaration": {
7449
- "name": "QtiMatch",
7450
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7451
- }
7452
- },
7453
- {
7454
- "kind": "custom-element-definition",
7455
- "name": "qti-match",
7456
- "declaration": {
7457
- "name": "QtiMatch",
7458
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7459
- }
7460
- }
7461
- ]
7462
- },
7463
7507
  {
7464
7508
  "kind": "javascript-module",
7465
7509
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts",
@@ -7507,72 +7551,72 @@
7507
7551
  },
7508
7552
  {
7509
7553
  "kind": "javascript-module",
7510
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-member/qti-member.ts",
7554
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts",
7511
7555
  "declarations": [
7512
7556
  {
7513
7557
  "kind": "class",
7514
7558
  "description": "",
7515
- "name": "QtiMember",
7559
+ "name": "QtiMatch",
7516
7560
  "members": [],
7517
7561
  "superclass": {
7518
7562
  "name": "QtiExpression",
7519
7563
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7520
7564
  },
7521
- "tagName": "qti-member",
7565
+ "tagName": "qti-match",
7522
7566
  "customElement": true
7523
7567
  }
7524
7568
  ],
7525
7569
  "exports": [
7526
7570
  {
7527
7571
  "kind": "js",
7528
- "name": "QtiMember",
7572
+ "name": "QtiMatch",
7529
7573
  "declaration": {
7530
- "name": "QtiMember",
7531
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-member/qti-member.ts"
7574
+ "name": "QtiMatch",
7575
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7532
7576
  }
7533
7577
  },
7534
7578
  {
7535
7579
  "kind": "custom-element-definition",
7536
- "name": "qti-member",
7580
+ "name": "qti-match",
7537
7581
  "declaration": {
7538
- "name": "QtiMember",
7539
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-member/qti-member.ts"
7582
+ "name": "QtiMatch",
7583
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7540
7584
  }
7541
7585
  }
7542
7586
  ]
7543
7587
  },
7544
7588
  {
7545
7589
  "kind": "javascript-module",
7546
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts",
7590
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-member/qti-member.ts",
7547
7591
  "declarations": [
7548
7592
  {
7549
7593
  "kind": "class",
7550
7594
  "description": "",
7551
- "name": "QtiNot",
7595
+ "name": "QtiMember",
7552
7596
  "members": [],
7553
7597
  "superclass": {
7554
7598
  "name": "QtiExpression",
7555
7599
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7556
7600
  },
7557
- "tagName": "qti-not",
7601
+ "tagName": "qti-member",
7558
7602
  "customElement": true
7559
7603
  }
7560
7604
  ],
7561
7605
  "exports": [
7562
7606
  {
7563
7607
  "kind": "js",
7564
- "name": "QtiNot",
7608
+ "name": "QtiMember",
7565
7609
  "declaration": {
7566
- "name": "QtiNot",
7567
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7610
+ "name": "QtiMember",
7611
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-member/qti-member.ts"
7568
7612
  }
7569
7613
  },
7570
7614
  {
7571
7615
  "kind": "custom-element-definition",
7572
- "name": "qti-not",
7616
+ "name": "qti-member",
7573
7617
  "declaration": {
7574
- "name": "QtiNot",
7575
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7618
+ "name": "QtiMember",
7619
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-member/qti-member.ts"
7576
7620
  }
7577
7621
  }
7578
7622
  ]
@@ -7649,6 +7693,42 @@
7649
7693
  }
7650
7694
  ]
7651
7695
  },
7696
+ {
7697
+ "kind": "javascript-module",
7698
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts",
7699
+ "declarations": [
7700
+ {
7701
+ "kind": "class",
7702
+ "description": "",
7703
+ "name": "QtiNot",
7704
+ "members": [],
7705
+ "superclass": {
7706
+ "name": "QtiExpression",
7707
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7708
+ },
7709
+ "tagName": "qti-not",
7710
+ "customElement": true
7711
+ }
7712
+ ],
7713
+ "exports": [
7714
+ {
7715
+ "kind": "js",
7716
+ "name": "QtiNot",
7717
+ "declaration": {
7718
+ "name": "QtiNot",
7719
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7720
+ }
7721
+ },
7722
+ {
7723
+ "kind": "custom-element-definition",
7724
+ "name": "qti-not",
7725
+ "declaration": {
7726
+ "name": "QtiNot",
7727
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7728
+ }
7729
+ }
7730
+ ]
7731
+ },
7652
7732
  {
7653
7733
  "kind": "javascript-module",
7654
7734
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-ordered/qti-ordered.ts",
@@ -7812,42 +7892,6 @@
7812
7892
  }
7813
7893
  ]
7814
7894
  },
7815
- {
7816
- "kind": "javascript-module",
7817
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-sum/qti-sum.ts",
7818
- "declarations": [
7819
- {
7820
- "kind": "class",
7821
- "description": "",
7822
- "name": "QtiSum",
7823
- "members": [],
7824
- "superclass": {
7825
- "name": "QtiExpression",
7826
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7827
- },
7828
- "tagName": "qti-sum",
7829
- "customElement": true
7830
- }
7831
- ],
7832
- "exports": [
7833
- {
7834
- "kind": "js",
7835
- "name": "QtiSum",
7836
- "declaration": {
7837
- "name": "QtiSum",
7838
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-sum/qti-sum.ts"
7839
- }
7840
- },
7841
- {
7842
- "kind": "custom-element-definition",
7843
- "name": "qti-sum",
7844
- "declaration": {
7845
- "name": "QtiSum",
7846
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-sum/qti-sum.ts"
7847
- }
7848
- }
7849
- ]
7850
- },
7851
7895
  {
7852
7896
  "kind": "javascript-module",
7853
7897
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-variable/qti-variable.ts",
@@ -7886,80 +7930,36 @@
7886
7930
  },
7887
7931
  {
7888
7932
  "kind": "javascript-module",
7889
- "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts",
7890
- "declarations": [
7891
- {
7892
- "kind": "class",
7893
- "description": "",
7894
- "name": "QtiResponseCondition",
7895
- "members": [],
7896
- "superclass": {
7897
- "name": "QtiRule",
7898
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule"
7899
- },
7900
- "tagName": "qti-response-condition",
7901
- "customElement": true
7902
- }
7903
- ],
7904
- "exports": [
7905
- {
7906
- "kind": "js",
7907
- "name": "QtiResponseCondition",
7908
- "declaration": {
7909
- "name": "QtiResponseCondition",
7910
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts"
7911
- }
7912
- },
7913
- {
7914
- "kind": "custom-element-definition",
7915
- "name": "qti-response-condition",
7916
- "declaration": {
7917
- "name": "QtiResponseCondition",
7918
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts"
7919
- }
7920
- }
7921
- ]
7922
- },
7923
- {
7924
- "kind": "javascript-module",
7925
- "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.ts",
7933
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-sum/qti-sum.ts",
7926
7934
  "declarations": [
7927
7935
  {
7928
7936
  "kind": "class",
7929
7937
  "description": "",
7930
- "name": "QtiSetOutcomeValue",
7938
+ "name": "QtiSum",
7931
7939
  "members": [],
7932
- "events": [
7933
- {
7934
- "name": "qti-set-outcome-value",
7935
- "type": {
7936
- "text": "CustomEvent"
7937
- }
7938
- }
7939
- ],
7940
7940
  "superclass": {
7941
- "name": "QtiRule",
7942
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule"
7941
+ "name": "QtiExpression",
7942
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7943
7943
  },
7944
- "tagName": "qti-set-outcome-value",
7944
+ "tagName": "qti-sum",
7945
7945
  "customElement": true
7946
7946
  }
7947
7947
  ],
7948
7948
  "exports": [
7949
7949
  {
7950
7950
  "kind": "js",
7951
- "name": "QtiSetOutcomeValue",
7951
+ "name": "QtiSum",
7952
7952
  "declaration": {
7953
- "name": "QtiSetOutcomeValue",
7954
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.ts"
7953
+ "name": "QtiSum",
7954
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-sum/qti-sum.ts"
7955
7955
  }
7956
7956
  },
7957
7957
  {
7958
7958
  "kind": "custom-element-definition",
7959
- "name": "qti-set-outcome-value",
7959
+ "name": "qti-sum",
7960
7960
  "declaration": {
7961
- "name": "QtiSetOutcomeValue",
7962
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.ts"
7961
+ "name": "QtiSum",
7962
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-sum/qti-sum.ts"
7963
7963
  }
7964
7964
  }
7965
7965
  ]
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "engines": {
13
13
  "node": ">=16.0.0"
14
14
  },
15
- "version": "6.3.1",
15
+ "version": "6.3.3",
16
16
  "type": "module",
17
17
  "main": "dist/index.js",
18
18
  "exports": {
@@ -77,6 +77,9 @@
77
77
  "qti-item": [
78
78
  "./dist/qti-item/index.d.ts"
79
79
  ],
80
+ "react/qti-test": [
81
+ "./dist/qti-test-react/index.d.ts"
82
+ ],
80
83
  "react/qti-item": [
81
84
  "./dist/qti-item-react/index.d.ts"
82
85
  ],
@@ -108,7 +111,7 @@
108
111
  "kill 6006": "sudo lsof -i :6006 | grep LISTEN | awk '{print $2}' | xargs kill",
109
112
  "list-outdated-dependencies": "npx npm-check-updates --format repo --peer",
110
113
  "update-dependencies": "npx npm-check-updates --peer -u && npm install",
111
- "arethetypeswrong": "attw --pack",
114
+ "arethetypeswrong": "npm run build-lib && attw --pack",
112
115
  "----hooks----": "",
113
116
  "prepublishOnly": "echo 'calling prepublishOnly as npm lifecycle hook to build-lib!' && npm run build-lib",
114
117
  "postpublish": "npm run deploy"
@@ -130,8 +133,8 @@
130
133
  "react": "> 18"
131
134
  },
132
135
  "devDependencies": {
133
- "@arethetypeswrong/cli": "^0.12.1",
134
- "@custom-elements-manifest/analyzer": "^0.8.4",
136
+ "@arethetypeswrong/cli": "^0.12.2",
137
+ "@custom-elements-manifest/analyzer": "^0.9.0",
135
138
  "@jest/globals": "^29.7.0",
136
139
  "@storybook/addon-a11y": "^7.5.0",
137
140
  "@storybook/addon-essentials": "^7.5.0",
@@ -146,8 +149,8 @@
146
149
  "@storybook/web-components": "^7.5.0",
147
150
  "@storybook/web-components-vite": "^7.5.0",
148
151
  "@tailwindcss/typography": "^0.5.10",
149
- "@types/node": "^20.8.5",
150
- "@typescript-eslint/eslint-plugin": "^6.7.5",
152
+ "@types/node": "^20.8.7",
153
+ "@typescript-eslint/eslint-plugin": "^6.8.0",
151
154
  "autoprefixer": "^10.4.16",
152
155
  "cem-plugin-vs-code-custom-data-generator": "^1.4.2",
153
156
  "eslint": "^8.51.0",
@@ -175,7 +178,7 @@
175
178
  "ts-node": "^10.9.1",
176
179
  "tsup": "^7.2.0",
177
180
  "typescript": "^5.2.2",
178
- "vite": "^4.4.11"
181
+ "vite": "^4.5.0"
179
182
  },
180
183
  "customElements": "custom-elements.json"
181
184
  }