@citolab/qti-components 6.4.6-1 → 6.4.6-2

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,65 +96,6 @@
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
- },
158
99
  {
159
100
  "kind": "javascript-module",
160
101
  "path": "src/lib/qti-components/index.ts",
@@ -554,6 +495,65 @@
554
495
  }
555
496
  ]
556
497
  },
498
+ {
499
+ "kind": "javascript-module",
500
+ "path": "src/lib/qti-transformers/index.ts",
501
+ "declarations": [],
502
+ "exports": [
503
+ {
504
+ "kind": "js",
505
+ "name": "*",
506
+ "declaration": {
507
+ "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"
553
+ }
554
+ }
555
+ ]
556
+ },
557
557
  {
558
558
  "kind": "javascript-module",
559
559
  "path": "src/lib/qti-components/internal/event-types.ts",
@@ -3050,110 +3050,6 @@
3050
3050
  }
3051
3051
  ]
3052
3052
  },
3053
- {
3054
- "kind": "javascript-module",
3055
- "path": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.mdx",
3056
- "declarations": [],
3057
- "exports": []
3058
- },
3059
- {
3060
- "kind": "javascript-module",
3061
- "path": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts",
3062
- "declarations": [
3063
- {
3064
- "kind": "class",
3065
- "description": "",
3066
- "name": "QtiGraphicAssociateInteraction",
3067
- "members": [],
3068
- "superclass": {
3069
- "name": "Interaction",
3070
- "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
3071
- },
3072
- "tagName": "qti-graphic-associate-interaction",
3073
- "customElement": true,
3074
- "attributes": [
3075
- {
3076
- "name": "response-identifier",
3077
- "type": {
3078
- "text": "string"
3079
- },
3080
- "default": "''",
3081
- "fieldName": "responseIdentifier",
3082
- "inheritedFrom": {
3083
- "name": "Interaction",
3084
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3085
- }
3086
- },
3087
- {
3088
- "name": "disabled",
3089
- "type": {
3090
- "text": "boolean"
3091
- },
3092
- "default": "false",
3093
- "description": "disabled should be exposed to the attributes and accessible as property",
3094
- "fieldName": "disabled",
3095
- "inheritedFrom": {
3096
- "name": "Interaction",
3097
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3098
- }
3099
- },
3100
- {
3101
- "name": "readonly",
3102
- "type": {
3103
- "text": "boolean"
3104
- },
3105
- "default": "false",
3106
- "description": "readonly should be exposed to the attributes and accessible as property",
3107
- "fieldName": "readonly",
3108
- "inheritedFrom": {
3109
- "name": "Interaction",
3110
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3111
- }
3112
- }
3113
- ],
3114
- "events": [
3115
- {
3116
- "name": "qti-register-interaction",
3117
- "type": {
3118
- "text": "CustomEvent"
3119
- },
3120
- "inheritedFrom": {
3121
- "name": "Interaction",
3122
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3123
- }
3124
- },
3125
- {
3126
- "name": "qti-interaction-response",
3127
- "type": {
3128
- "text": "CustomEvent"
3129
- },
3130
- "inheritedFrom": {
3131
- "name": "Interaction",
3132
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3133
- }
3134
- }
3135
- ]
3136
- }
3137
- ],
3138
- "exports": [
3139
- {
3140
- "kind": "js",
3141
- "name": "QtiGraphicAssociateInteraction",
3142
- "declaration": {
3143
- "name": "QtiGraphicAssociateInteraction",
3144
- "module": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts"
3145
- }
3146
- },
3147
- {
3148
- "kind": "custom-element-definition",
3149
- "name": "qti-graphic-associate-interaction",
3150
- "declaration": {
3151
- "name": "QtiGraphicAssociateInteraction",
3152
- "module": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts"
3153
- }
3154
- }
3155
- ]
3156
- },
3157
3053
  {
3158
3054
  "kind": "javascript-module",
3159
3055
  "path": "src/lib/qti-components/qti-interaction/qti-graphic-gap-match-interaction/qti-graphic-gap-match-interaction.mdx",
@@ -3288,49 +3184,153 @@
3288
3184
  },
3289
3185
  {
3290
3186
  "kind": "javascript-module",
3291
- "path": "src/lib/qti-components/qti-interaction/qti-graphic-order-interaction/qti-graphic-order-interaction.mdx",
3187
+ "path": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.mdx",
3292
3188
  "declarations": [],
3293
3189
  "exports": []
3294
3190
  },
3295
3191
  {
3296
3192
  "kind": "javascript-module",
3297
- "path": "src/lib/qti-components/qti-interaction/qti-graphic-order-interaction/qti-graphic-order-interaction.ts",
3193
+ "path": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts",
3298
3194
  "declarations": [
3299
3195
  {
3300
3196
  "kind": "class",
3301
3197
  "description": "",
3302
- "name": "QtiGraphicOrderInteraction",
3198
+ "name": "QtiGraphicAssociateInteraction",
3303
3199
  "members": [],
3304
3200
  "superclass": {
3305
- "name": "Choices",
3306
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
3201
+ "name": "Interaction",
3202
+ "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
3307
3203
  },
3308
- "tagName": "qti-graphic-order-interaction",
3204
+ "tagName": "qti-graphic-associate-interaction",
3309
3205
  "customElement": true,
3310
3206
  "attributes": [
3311
3207
  {
3312
- "name": "min-choices",
3208
+ "name": "response-identifier",
3313
3209
  "type": {
3314
- "text": "number"
3210
+ "text": "string"
3315
3211
  },
3316
- "default": "0",
3317
- "description": "the minimal number of selections a candidate must make",
3318
- "fieldName": "minChoices",
3212
+ "default": "''",
3213
+ "fieldName": "responseIdentifier",
3319
3214
  "inheritedFrom": {
3320
- "name": "Choices",
3321
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3215
+ "name": "Interaction",
3216
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3322
3217
  }
3323
3218
  },
3324
3219
  {
3325
- "name": "max-choices",
3220
+ "name": "disabled",
3326
3221
  "type": {
3327
- "text": "number"
3222
+ "text": "boolean"
3328
3223
  },
3329
- "default": "1",
3330
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
3331
- "fieldName": "maxChoices",
3332
- "inheritedFrom": {
3333
- "name": "Choices",
3224
+ "default": "false",
3225
+ "description": "disabled should be exposed to the attributes and accessible as property",
3226
+ "fieldName": "disabled",
3227
+ "inheritedFrom": {
3228
+ "name": "Interaction",
3229
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3230
+ }
3231
+ },
3232
+ {
3233
+ "name": "readonly",
3234
+ "type": {
3235
+ "text": "boolean"
3236
+ },
3237
+ "default": "false",
3238
+ "description": "readonly should be exposed to the attributes and accessible as property",
3239
+ "fieldName": "readonly",
3240
+ "inheritedFrom": {
3241
+ "name": "Interaction",
3242
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3243
+ }
3244
+ }
3245
+ ],
3246
+ "events": [
3247
+ {
3248
+ "name": "qti-register-interaction",
3249
+ "type": {
3250
+ "text": "CustomEvent"
3251
+ },
3252
+ "inheritedFrom": {
3253
+ "name": "Interaction",
3254
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3255
+ }
3256
+ },
3257
+ {
3258
+ "name": "qti-interaction-response",
3259
+ "type": {
3260
+ "text": "CustomEvent"
3261
+ },
3262
+ "inheritedFrom": {
3263
+ "name": "Interaction",
3264
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3265
+ }
3266
+ }
3267
+ ]
3268
+ }
3269
+ ],
3270
+ "exports": [
3271
+ {
3272
+ "kind": "js",
3273
+ "name": "QtiGraphicAssociateInteraction",
3274
+ "declaration": {
3275
+ "name": "QtiGraphicAssociateInteraction",
3276
+ "module": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "custom-element-definition",
3281
+ "name": "qti-graphic-associate-interaction",
3282
+ "declaration": {
3283
+ "name": "QtiGraphicAssociateInteraction",
3284
+ "module": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts"
3285
+ }
3286
+ }
3287
+ ]
3288
+ },
3289
+ {
3290
+ "kind": "javascript-module",
3291
+ "path": "src/lib/qti-components/qti-interaction/qti-graphic-order-interaction/qti-graphic-order-interaction.mdx",
3292
+ "declarations": [],
3293
+ "exports": []
3294
+ },
3295
+ {
3296
+ "kind": "javascript-module",
3297
+ "path": "src/lib/qti-components/qti-interaction/qti-graphic-order-interaction/qti-graphic-order-interaction.ts",
3298
+ "declarations": [
3299
+ {
3300
+ "kind": "class",
3301
+ "description": "",
3302
+ "name": "QtiGraphicOrderInteraction",
3303
+ "members": [],
3304
+ "superclass": {
3305
+ "name": "Choices",
3306
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
3307
+ },
3308
+ "tagName": "qti-graphic-order-interaction",
3309
+ "customElement": true,
3310
+ "attributes": [
3311
+ {
3312
+ "name": "min-choices",
3313
+ "type": {
3314
+ "text": "number"
3315
+ },
3316
+ "default": "0",
3317
+ "description": "the minimal number of selections a candidate must make",
3318
+ "fieldName": "minChoices",
3319
+ "inheritedFrom": {
3320
+ "name": "Choices",
3321
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3322
+ }
3323
+ },
3324
+ {
3325
+ "name": "max-choices",
3326
+ "type": {
3327
+ "text": "number"
3328
+ },
3329
+ "default": "1",
3330
+ "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
3331
+ "fieldName": "maxChoices",
3332
+ "inheritedFrom": {
3333
+ "name": "Choices",
3334
3334
  "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3335
3335
  }
3336
3336
  },
@@ -4769,51 +4769,6 @@
4769
4769
  }
4770
4770
  ]
4771
4771
  },
4772
- {
4773
- "kind": "javascript-module",
4774
- "path": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts",
4775
- "declarations": [
4776
- {
4777
- "kind": "class",
4778
- "description": "",
4779
- "name": "QtiResponseElse",
4780
- "members": [],
4781
- "attributes": [
4782
- {
4783
- "name": "debugCalculateResult",
4784
- "type": {
4785
- "text": "object"
4786
- },
4787
- "fieldName": "debugCalculateResult"
4788
- }
4789
- ],
4790
- "superclass": {
4791
- "name": "LitElement",
4792
- "package": "lit"
4793
- },
4794
- "tagName": "qti-response-else",
4795
- "customElement": true
4796
- }
4797
- ],
4798
- "exports": [
4799
- {
4800
- "kind": "js",
4801
- "name": "QtiResponseElse",
4802
- "declaration": {
4803
- "name": "QtiResponseElse",
4804
- "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts"
4805
- }
4806
- },
4807
- {
4808
- "kind": "custom-element-definition",
4809
- "name": "qti-response-else",
4810
- "declaration": {
4811
- "name": "QtiResponseElse",
4812
- "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts"
4813
- }
4814
- }
4815
- ]
4816
- },
4817
4772
  {
4818
4773
  "kind": "javascript-module",
4819
4774
  "path": "src/lib/qti-components/qti-response-processing/qti-expression/index.ts",
@@ -5082,6 +5037,51 @@
5082
5037
  }
5083
5038
  ]
5084
5039
  },
5040
+ {
5041
+ "kind": "javascript-module",
5042
+ "path": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts",
5043
+ "declarations": [
5044
+ {
5045
+ "kind": "class",
5046
+ "description": "",
5047
+ "name": "QtiResponseElse",
5048
+ "members": [],
5049
+ "attributes": [
5050
+ {
5051
+ "name": "debugCalculateResult",
5052
+ "type": {
5053
+ "text": "object"
5054
+ },
5055
+ "fieldName": "debugCalculateResult"
5056
+ }
5057
+ ],
5058
+ "superclass": {
5059
+ "name": "LitElement",
5060
+ "package": "lit"
5061
+ },
5062
+ "tagName": "qti-response-else",
5063
+ "customElement": true
5064
+ }
5065
+ ],
5066
+ "exports": [
5067
+ {
5068
+ "kind": "js",
5069
+ "name": "QtiResponseElse",
5070
+ "declaration": {
5071
+ "name": "QtiResponseElse",
5072
+ "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts"
5073
+ }
5074
+ },
5075
+ {
5076
+ "kind": "custom-element-definition",
5077
+ "name": "qti-response-else",
5078
+ "declaration": {
5079
+ "name": "QtiResponseElse",
5080
+ "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts"
5081
+ }
5082
+ }
5083
+ ]
5084
+ },
5085
5085
  {
5086
5086
  "kind": "javascript-module",
5087
5087
  "path": "src/lib/qti-components/qti-response-processing/qti-response-processing/qti-responseprocessing.ts",
@@ -5969,13 +5969,13 @@
5969
5969
  },
5970
5970
  {
5971
5971
  "kind": "javascript-module",
5972
- "path": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/__snapshots__/qti-graphic-associate-interaction.stories.ts.snap",
5972
+ "path": "src/lib/qti-components/qti-interaction/qti-graphic-gap-match-interaction/__snapshots__/qti-graphic-gap-match-interaction.stories.ts.snap",
5973
5973
  "declarations": [],
5974
5974
  "exports": []
5975
5975
  },
5976
5976
  {
5977
5977
  "kind": "javascript-module",
5978
- "path": "src/lib/qti-components/qti-interaction/qti-graphic-gap-match-interaction/__snapshots__/qti-graphic-gap-match-interaction.stories.ts.snap",
5978
+ "path": "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/__snapshots__/qti-graphic-associate-interaction.stories.ts.snap",
5979
5979
  "declarations": [],
5980
5980
  "exports": []
5981
5981
  },
@@ -6051,55 +6051,6 @@
6051
6051
  "declarations": [],
6052
6052
  "exports": []
6053
6053
  },
6054
- {
6055
- "kind": "javascript-module",
6056
- "path": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts",
6057
- "declarations": [
6058
- {
6059
- "kind": "class",
6060
- "description": "",
6061
- "name": "QtiResponseIf",
6062
- "members": [],
6063
- "superclass": {
6064
- "name": "QtiResponseElse",
6065
- "module": "/src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else"
6066
- },
6067
- "tagName": "qti-response-if",
6068
- "customElement": true,
6069
- "attributes": [
6070
- {
6071
- "name": "debugCalculateResult",
6072
- "type": {
6073
- "text": "object"
6074
- },
6075
- "fieldName": "debugCalculateResult",
6076
- "inheritedFrom": {
6077
- "name": "QtiResponseElse",
6078
- "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts"
6079
- }
6080
- }
6081
- ]
6082
- }
6083
- ],
6084
- "exports": [
6085
- {
6086
- "kind": "js",
6087
- "name": "QtiResponseIf",
6088
- "declaration": {
6089
- "name": "QtiResponseIf",
6090
- "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts"
6091
- }
6092
- },
6093
- {
6094
- "kind": "custom-element-definition",
6095
- "name": "qti-response-if",
6096
- "declaration": {
6097
- "name": "QtiResponseIf",
6098
- "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts"
6099
- }
6100
- }
6101
- ]
6102
- },
6103
6054
  {
6104
6055
  "kind": "javascript-module",
6105
6056
  "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-and/index.ts",
@@ -6298,92 +6249,92 @@
6298
6249
  },
6299
6250
  {
6300
6251
  "kind": "javascript-module",
6301
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts",
6252
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts",
6302
6253
  "declarations": [
6303
6254
  {
6304
6255
  "kind": "class",
6305
6256
  "description": "",
6306
- "name": "QtiEqualRounded",
6257
+ "name": "QtiEqual",
6307
6258
  "members": [],
6308
6259
  "attributes": [
6309
6260
  {
6310
- "name": "roundingMode",
6261
+ "name": "toleranceMode",
6311
6262
  "type": {
6312
- "text": "'decimalPlaces' | 'significantFigures'"
6263
+ "text": "'exact' | 'relative' | 'absolute'"
6313
6264
  },
6314
- "default": "'significantFigures'",
6315
- "fieldName": "roundingMode"
6265
+ "default": "'exact'",
6266
+ "fieldName": "toleranceMode"
6316
6267
  }
6317
6268
  ],
6318
6269
  "superclass": {
6319
6270
  "name": "QtiExpression",
6320
6271
  "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-expression"
6321
6272
  },
6322
- "tagName": "qti-equal-rounded",
6273
+ "tagName": "qti-equal",
6323
6274
  "customElement": true
6324
6275
  }
6325
6276
  ],
6326
6277
  "exports": [
6327
6278
  {
6328
6279
  "kind": "js",
6329
- "name": "QtiEqualRounded",
6280
+ "name": "QtiEqual",
6330
6281
  "declaration": {
6331
- "name": "QtiEqualRounded",
6332
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
6282
+ "name": "QtiEqual",
6283
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts"
6333
6284
  }
6334
6285
  },
6335
6286
  {
6336
6287
  "kind": "custom-element-definition",
6337
- "name": "qti-equal-rounded",
6288
+ "name": "qti-equal",
6338
6289
  "declaration": {
6339
- "name": "QtiEqualRounded",
6340
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
6290
+ "name": "QtiEqual",
6291
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts"
6341
6292
  }
6342
6293
  }
6343
6294
  ]
6344
6295
  },
6345
6296
  {
6346
6297
  "kind": "javascript-module",
6347
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts",
6298
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts",
6348
6299
  "declarations": [
6349
6300
  {
6350
6301
  "kind": "class",
6351
6302
  "description": "",
6352
- "name": "QtiEqual",
6303
+ "name": "QtiEqualRounded",
6353
6304
  "members": [],
6354
6305
  "attributes": [
6355
6306
  {
6356
- "name": "toleranceMode",
6307
+ "name": "roundingMode",
6357
6308
  "type": {
6358
- "text": "'exact' | 'relative' | 'absolute'"
6309
+ "text": "'decimalPlaces' | 'significantFigures'"
6359
6310
  },
6360
- "default": "'exact'",
6361
- "fieldName": "toleranceMode"
6311
+ "default": "'significantFigures'",
6312
+ "fieldName": "roundingMode"
6362
6313
  }
6363
6314
  ],
6364
6315
  "superclass": {
6365
6316
  "name": "QtiExpression",
6366
6317
  "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-expression"
6367
6318
  },
6368
- "tagName": "qti-equal",
6319
+ "tagName": "qti-equal-rounded",
6369
6320
  "customElement": true
6370
6321
  }
6371
6322
  ],
6372
6323
  "exports": [
6373
6324
  {
6374
6325
  "kind": "js",
6375
- "name": "QtiEqual",
6326
+ "name": "QtiEqualRounded",
6376
6327
  "declaration": {
6377
- "name": "QtiEqual",
6378
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts"
6328
+ "name": "QtiEqualRounded",
6329
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
6379
6330
  }
6380
6331
  },
6381
6332
  {
6382
6333
  "kind": "custom-element-definition",
6383
- "name": "qti-equal",
6334
+ "name": "qti-equal-rounded",
6384
6335
  "declaration": {
6385
- "name": "QtiEqual",
6386
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts"
6336
+ "name": "QtiEqualRounded",
6337
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
6387
6338
  }
6388
6339
  }
6389
6340
  ]
@@ -6570,105 +6521,105 @@
6570
6521
  },
6571
6522
  {
6572
6523
  "kind": "javascript-module",
6573
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-mapping/qti-mapping.ts",
6524
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts",
6574
6525
  "declarations": [
6575
6526
  {
6576
6527
  "kind": "class",
6577
6528
  "description": "",
6578
- "name": "QtiMapping",
6529
+ "name": "QtiMapResponse",
6579
6530
  "members": [],
6580
6531
  "attributes": [
6581
6532
  {
6582
- "name": "default-value",
6583
- "type": {
6584
- "text": "number"
6585
- },
6586
- "default": "0",
6587
- "fieldName": "defaultValue"
6588
- },
6589
- {
6590
- "name": "lower-bound",
6591
- "type": {
6592
- "text": "number"
6593
- },
6594
- "fieldName": "lowerBound"
6595
- },
6596
- {
6597
- "name": "upper-bound",
6533
+ "name": "identifier",
6598
6534
  "type": {
6599
- "text": "number"
6535
+ "text": "string"
6600
6536
  },
6601
- "fieldName": "upperBound"
6537
+ "fieldName": "identifier"
6602
6538
  }
6603
6539
  ],
6604
6540
  "superclass": {
6605
- "name": "LitElement",
6606
- "package": "lit"
6541
+ "name": "QtiExpression",
6542
+ "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-expression"
6607
6543
  },
6608
- "tagName": "qti-mapping",
6544
+ "tagName": "qti-map-response",
6609
6545
  "customElement": true
6610
6546
  }
6611
6547
  ],
6612
6548
  "exports": [
6613
6549
  {
6614
6550
  "kind": "js",
6615
- "name": "QtiMapping",
6551
+ "name": "QtiMapResponse",
6616
6552
  "declaration": {
6617
- "name": "QtiMapping",
6618
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-mapping/qti-mapping.ts"
6553
+ "name": "QtiMapResponse",
6554
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts"
6619
6555
  }
6620
6556
  },
6621
6557
  {
6622
6558
  "kind": "custom-element-definition",
6623
- "name": "qti-mapping",
6559
+ "name": "qti-map-response",
6624
6560
  "declaration": {
6625
- "name": "QtiMapping",
6626
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-mapping/qti-mapping.ts"
6561
+ "name": "QtiMapResponse",
6562
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts"
6627
6563
  }
6628
6564
  }
6629
6565
  ]
6630
6566
  },
6631
6567
  {
6632
6568
  "kind": "javascript-module",
6633
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts",
6569
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-mapping/qti-mapping.ts",
6634
6570
  "declarations": [
6635
6571
  {
6636
6572
  "kind": "class",
6637
6573
  "description": "",
6638
- "name": "QtiMapResponse",
6574
+ "name": "QtiMapping",
6639
6575
  "members": [],
6640
6576
  "attributes": [
6641
6577
  {
6642
- "name": "identifier",
6578
+ "name": "default-value",
6643
6579
  "type": {
6644
- "text": "string"
6580
+ "text": "number"
6645
6581
  },
6646
- "fieldName": "identifier"
6582
+ "default": "0",
6583
+ "fieldName": "defaultValue"
6584
+ },
6585
+ {
6586
+ "name": "lower-bound",
6587
+ "type": {
6588
+ "text": "number"
6589
+ },
6590
+ "fieldName": "lowerBound"
6591
+ },
6592
+ {
6593
+ "name": "upper-bound",
6594
+ "type": {
6595
+ "text": "number"
6596
+ },
6597
+ "fieldName": "upperBound"
6647
6598
  }
6648
6599
  ],
6649
6600
  "superclass": {
6650
- "name": "QtiExpression",
6651
- "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-expression"
6601
+ "name": "LitElement",
6602
+ "package": "lit"
6652
6603
  },
6653
- "tagName": "qti-map-response",
6604
+ "tagName": "qti-mapping",
6654
6605
  "customElement": true
6655
6606
  }
6656
6607
  ],
6657
6608
  "exports": [
6658
6609
  {
6659
6610
  "kind": "js",
6660
- "name": "QtiMapResponse",
6611
+ "name": "QtiMapping",
6661
6612
  "declaration": {
6662
- "name": "QtiMapResponse",
6663
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts"
6613
+ "name": "QtiMapping",
6614
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-mapping/qti-mapping.ts"
6664
6615
  }
6665
6616
  },
6666
6617
  {
6667
6618
  "kind": "custom-element-definition",
6668
- "name": "qti-map-response",
6619
+ "name": "qti-mapping",
6669
6620
  "declaration": {
6670
- "name": "QtiMapResponse",
6671
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts"
6621
+ "name": "QtiMapping",
6622
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-mapping/qti-mapping.ts"
6672
6623
  }
6673
6624
  }
6674
6625
  ]
@@ -6819,72 +6770,72 @@
6819
6770
  },
6820
6771
  {
6821
6772
  "kind": "javascript-module",
6822
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts",
6773
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts",
6823
6774
  "declarations": [
6824
6775
  {
6825
6776
  "kind": "class",
6826
6777
  "description": "",
6827
- "name": "QtiOrdered",
6778
+ "name": "QtiOr",
6828
6779
  "members": [],
6829
6780
  "superclass": {
6830
- "name": "QtiExpression",
6831
- "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-expression"
6781
+ "name": "QtiConditionExpression",
6782
+ "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-condition-expression"
6832
6783
  },
6833
- "tagName": "qti-ordered",
6784
+ "tagName": "qti-or",
6834
6785
  "customElement": true
6835
6786
  }
6836
6787
  ],
6837
6788
  "exports": [
6838
6789
  {
6839
6790
  "kind": "js",
6840
- "name": "QtiOrdered",
6791
+ "name": "QtiOr",
6841
6792
  "declaration": {
6842
- "name": "QtiOrdered",
6843
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts"
6793
+ "name": "QtiOr",
6794
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts"
6844
6795
  }
6845
6796
  },
6846
6797
  {
6847
6798
  "kind": "custom-element-definition",
6848
- "name": "qti-ordered",
6799
+ "name": "qti-or",
6849
6800
  "declaration": {
6850
- "name": "QtiOrdered",
6851
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts"
6801
+ "name": "QtiOr",
6802
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts"
6852
6803
  }
6853
6804
  }
6854
6805
  ]
6855
6806
  },
6856
6807
  {
6857
6808
  "kind": "javascript-module",
6858
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts",
6809
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts",
6859
6810
  "declarations": [
6860
6811
  {
6861
6812
  "kind": "class",
6862
6813
  "description": "",
6863
- "name": "QtiOr",
6814
+ "name": "QtiOrdered",
6864
6815
  "members": [],
6865
6816
  "superclass": {
6866
- "name": "QtiConditionExpression",
6867
- "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-condition-expression"
6817
+ "name": "QtiExpression",
6818
+ "module": "/src/lib/qti-components/qti-response-processing/qti-expression/qti-expression"
6868
6819
  },
6869
- "tagName": "qti-or",
6820
+ "tagName": "qti-ordered",
6870
6821
  "customElement": true
6871
6822
  }
6872
6823
  ],
6873
6824
  "exports": [
6874
6825
  {
6875
6826
  "kind": "js",
6876
- "name": "QtiOr",
6827
+ "name": "QtiOrdered",
6877
6828
  "declaration": {
6878
- "name": "QtiOr",
6879
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts"
6829
+ "name": "QtiOrdered",
6830
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts"
6880
6831
  }
6881
6832
  },
6882
6833
  {
6883
6834
  "kind": "custom-element-definition",
6884
- "name": "qti-or",
6835
+ "name": "qti-ordered",
6885
6836
  "declaration": {
6886
- "name": "QtiOr",
6887
- "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts"
6837
+ "name": "QtiOrdered",
6838
+ "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts"
6888
6839
  }
6889
6840
  }
6890
6841
  ]
@@ -7088,6 +7039,55 @@
7088
7039
  }
7089
7040
  ]
7090
7041
  },
7042
+ {
7043
+ "kind": "javascript-module",
7044
+ "path": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts",
7045
+ "declarations": [
7046
+ {
7047
+ "kind": "class",
7048
+ "description": "",
7049
+ "name": "QtiResponseIf",
7050
+ "members": [],
7051
+ "superclass": {
7052
+ "name": "QtiResponseElse",
7053
+ "module": "/src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else"
7054
+ },
7055
+ "tagName": "qti-response-if",
7056
+ "customElement": true,
7057
+ "attributes": [
7058
+ {
7059
+ "name": "debugCalculateResult",
7060
+ "type": {
7061
+ "text": "object"
7062
+ },
7063
+ "fieldName": "debugCalculateResult",
7064
+ "inheritedFrom": {
7065
+ "name": "QtiResponseElse",
7066
+ "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts"
7067
+ }
7068
+ }
7069
+ ]
7070
+ }
7071
+ ],
7072
+ "exports": [
7073
+ {
7074
+ "kind": "js",
7075
+ "name": "QtiResponseIf",
7076
+ "declaration": {
7077
+ "name": "QtiResponseIf",
7078
+ "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts"
7079
+ }
7080
+ },
7081
+ {
7082
+ "kind": "custom-element-definition",
7083
+ "name": "qti-response-if",
7084
+ "declaration": {
7085
+ "name": "QtiResponseIf",
7086
+ "module": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts"
7087
+ }
7088
+ }
7089
+ ]
7090
+ },
7091
7091
  {
7092
7092
  "kind": "javascript-module",
7093
7093
  "path": "src/lib/qti-components/qti-response-processing/qti-rule/qti-lookup-outcome-value/qti-lookup-outcome-value.ts",
@@ -7233,6 +7233,24 @@
7233
7233
  }
7234
7234
  ]
7235
7235
  },
7236
+ {
7237
+ "kind": "javascript-module",
7238
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-and/__snapshots__/qti-and.stories.ts.snap",
7239
+ "declarations": [],
7240
+ "exports": []
7241
+ },
7242
+ {
7243
+ "kind": "javascript-module",
7244
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-member/__snapshots__/qti-member.stories.ts.snap",
7245
+ "declarations": [],
7246
+ "exports": []
7247
+ },
7248
+ {
7249
+ "kind": "javascript-module",
7250
+ "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-printed-variable/__snapshots__/qti-printed-variable.stories.ts.snap",
7251
+ "declarations": [],
7252
+ "exports": []
7253
+ },
7236
7254
  {
7237
7255
  "kind": "javascript-module",
7238
7256
  "path": "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-else-if/qti-response-else-if.ts",
@@ -7282,24 +7300,6 @@
7282
7300
  }
7283
7301
  ]
7284
7302
  },
7285
- {
7286
- "kind": "javascript-module",
7287
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-and/__snapshots__/qti-and.stories.ts.snap",
7288
- "declarations": [],
7289
- "exports": []
7290
- },
7291
- {
7292
- "kind": "javascript-module",
7293
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-member/__snapshots__/qti-member.stories.ts.snap",
7294
- "declarations": [],
7295
- "exports": []
7296
- },
7297
- {
7298
- "kind": "javascript-module",
7299
- "path": "src/lib/qti-components/qti-response-processing/qti-expression/qti-printed-variable/__snapshots__/qti-printed-variable.stories.ts.snap",
7300
- "declarations": [],
7301
- "exports": []
7302
- },
7303
7303
  {
7304
7304
  "kind": "javascript-module",
7305
7305
  "path": "src/lib/qti-components/qti-response-processing/qti-rule/qti-lookup-outcome-value/__snapshots__/qti-lookup-outcome-value.stories.ts.snap",
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "engines": {
13
13
  "node": ">=16.0.0"
14
14
  },
15
- "version": "6.4.6-1",
15
+ "version": "6.4.6-2",
16
16
  "type": "module",
17
17
  "main": "dist/index.js",
18
18
  "exports": {
@@ -63,7 +63,7 @@
63
63
  "build-lib": "ts-node --esm --project tsconfig.node.json scripts/build.ts",
64
64
  "watch-lib": "nodemon --watch \"src/**\" --ext \"ts,json,css\" --ignore \"src/**/*.spec.ts\" --exec \"ts-node --esm --project tsconfig.node.json scripts/watch.ts\"",
65
65
  "storybook": "storybook dev -p 6006",
66
- "storybook:deploy": "firebase deploy --only hosting:qti-components",
66
+ "deploy": "firebase deploy --only hosting:qti-components",
67
67
  "storybook:build": "storybook build",
68
68
  "storybook:test": "test-storybook",
69
69
  "npm publish": "np",