@citolab/qti-components 6.0.2-2 → 6.0.3-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.
@@ -460,42 +460,6 @@
460
460
  }
461
461
  ]
462
462
  },
463
- {
464
- "kind": "javascript-module",
465
- "path": "src/lib/qti-item-react/index.ts",
466
- "declarations": [],
467
- "exports": [
468
- {
469
- "kind": "js",
470
- "name": "*",
471
- "declaration": {
472
- "name": "*",
473
- "package": "./qti-item.react"
474
- }
475
- }
476
- ]
477
- },
478
- {
479
- "kind": "javascript-module",
480
- "path": "src/lib/qti-item-react/qti-item.react.ts",
481
- "declarations": [
482
- {
483
- "kind": "variable",
484
- "name": "QtiItem",
485
- "default": "createComponent({\n tagName: 'qti-item',\n react: React,\n elementClass: QtiItemComponent,\n events: {\n qtioutcomechanged: 'qti-outcome-changed', // as EventName<Event>\n qtiinteractionchanged: 'qti-interaction-changed'\n }\n})"
486
- }
487
- ],
488
- "exports": [
489
- {
490
- "kind": "js",
491
- "name": "QtiItem",
492
- "declaration": {
493
- "name": "QtiItem",
494
- "module": "src/lib/qti-item-react/qti-item.react.ts"
495
- }
496
- }
497
- ]
498
- },
499
463
  {
500
464
  "kind": "javascript-module",
501
465
  "path": "src/lib/qti-transform/index.ts",
@@ -559,6 +523,42 @@
559
523
  }
560
524
  ]
561
525
  },
526
+ {
527
+ "kind": "javascript-module",
528
+ "path": "src/lib/qti-item-react/index.ts",
529
+ "declarations": [],
530
+ "exports": [
531
+ {
532
+ "kind": "js",
533
+ "name": "*",
534
+ "declaration": {
535
+ "name": "*",
536
+ "package": "./qti-item.react"
537
+ }
538
+ }
539
+ ]
540
+ },
541
+ {
542
+ "kind": "javascript-module",
543
+ "path": "src/lib/qti-item-react/qti-item.react.ts",
544
+ "declarations": [
545
+ {
546
+ "kind": "variable",
547
+ "name": "QtiItem",
548
+ "default": "createComponent({\n tagName: 'qti-item',\n react: React,\n elementClass: QtiItemComponent,\n events: {\n qtioutcomechanged: 'qti-outcome-changed', // as EventName<Event>\n qtiinteractionchanged: 'qti-interaction-changed'\n }\n})"
549
+ }
550
+ ],
551
+ "exports": [
552
+ {
553
+ "kind": "js",
554
+ "name": "QtiItem",
555
+ "declaration": {
556
+ "name": "QtiItem",
557
+ "module": "src/lib/qti-item-react/qti-item.react.ts"
558
+ }
559
+ }
560
+ ]
561
+ },
562
562
  {
563
563
  "kind": "javascript-module",
564
564
  "path": "src/lib/qti-test/index.ts",
@@ -3865,134 +3865,6 @@
3865
3865
  }
3866
3866
  ]
3867
3867
  },
3868
- {
3869
- "kind": "javascript-module",
3870
- "path": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.scss",
3871
- "declarations": [],
3872
- "exports": []
3873
- },
3874
- {
3875
- "kind": "javascript-module",
3876
- "path": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts",
3877
- "declarations": [
3878
- {
3879
- "kind": "class",
3880
- "description": "",
3881
- "name": "QtiHotspotInteraction",
3882
- "members": [],
3883
- "superclass": {
3884
- "name": "Choices",
3885
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
3886
- },
3887
- "tagName": "qti-hotspot-interaction",
3888
- "customElement": true,
3889
- "attributes": [
3890
- {
3891
- "name": "min-choices",
3892
- "type": {
3893
- "text": "number"
3894
- },
3895
- "default": "0",
3896
- "fieldName": "minChoices",
3897
- "inheritedFrom": {
3898
- "name": "Choices",
3899
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3900
- }
3901
- },
3902
- {
3903
- "name": "max-choices",
3904
- "type": {
3905
- "text": "number"
3906
- },
3907
- "default": "1",
3908
- "fieldName": "maxChoices",
3909
- "inheritedFrom": {
3910
- "name": "Choices",
3911
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3912
- }
3913
- },
3914
- {
3915
- "name": "response-identifier",
3916
- "type": {
3917
- "text": "string"
3918
- },
3919
- "default": "''",
3920
- "fieldName": "responseIdentifier",
3921
- "inheritedFrom": {
3922
- "name": "Interaction",
3923
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3924
- }
3925
- },
3926
- {
3927
- "name": "disabled",
3928
- "type": {
3929
- "text": "boolean"
3930
- },
3931
- "default": "false",
3932
- "description": "disabled should be exposed to the attributes and accessible as property",
3933
- "fieldName": "disabled",
3934
- "inheritedFrom": {
3935
- "name": "Interaction",
3936
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3937
- }
3938
- },
3939
- {
3940
- "name": "readonly",
3941
- "type": {
3942
- "text": "boolean"
3943
- },
3944
- "default": "false",
3945
- "description": "readonly should be exposed to the attributes and accessible as property",
3946
- "fieldName": "readonly",
3947
- "inheritedFrom": {
3948
- "name": "Interaction",
3949
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3950
- }
3951
- }
3952
- ],
3953
- "events": [
3954
- {
3955
- "name": "qti-register-interaction",
3956
- "type": {
3957
- "text": "CustomEvent"
3958
- },
3959
- "inheritedFrom": {
3960
- "name": "Interaction",
3961
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3962
- }
3963
- },
3964
- {
3965
- "name": "qti-interaction-response",
3966
- "type": {
3967
- "text": "CustomEvent"
3968
- },
3969
- "inheritedFrom": {
3970
- "name": "Interaction",
3971
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3972
- }
3973
- }
3974
- ]
3975
- }
3976
- ],
3977
- "exports": [
3978
- {
3979
- "kind": "js",
3980
- "name": "QtiHotspotInteraction",
3981
- "declaration": {
3982
- "name": "QtiHotspotInteraction",
3983
- "module": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts"
3984
- }
3985
- },
3986
- {
3987
- "kind": "custom-element-definition",
3988
- "name": "qti-hotspot-interaction",
3989
- "declaration": {
3990
- "name": "QtiHotspotInteraction",
3991
- "module": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts"
3992
- }
3993
- }
3994
- ]
3995
- },
3996
3868
  {
3997
3869
  "kind": "javascript-module",
3998
3870
  "path": "src/lib/qti-components/qti-interaction/qti-hottext-interaction/qti-hottext-interaction.scss",
@@ -4473,33 +4345,49 @@
4473
4345
  },
4474
4346
  {
4475
4347
  "kind": "javascript-module",
4476
- "path": "src/lib/qti-components/qti-interaction/qti-order-interaction/qti-order-interaction.scss",
4348
+ "path": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.scss",
4477
4349
  "declarations": [],
4478
4350
  "exports": []
4479
4351
  },
4480
4352
  {
4481
4353
  "kind": "javascript-module",
4482
- "path": "src/lib/qti-components/qti-interaction/qti-order-interaction/qti-order-interaction.ts",
4354
+ "path": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts",
4483
4355
  "declarations": [
4484
4356
  {
4485
4357
  "kind": "class",
4486
4358
  "description": "",
4487
- "name": "QtiOrderInteraction",
4359
+ "name": "QtiHotspotInteraction",
4488
4360
  "members": [],
4361
+ "superclass": {
4362
+ "name": "Choices",
4363
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
4364
+ },
4365
+ "tagName": "qti-hotspot-interaction",
4366
+ "customElement": true,
4489
4367
  "attributes": [
4490
4368
  {
4491
- "name": "class",
4369
+ "name": "min-choices",
4492
4370
  "type": {
4493
- "text": "string"
4371
+ "text": "number"
4494
4372
  },
4495
- "fieldName": "_classNames"
4373
+ "default": "0",
4374
+ "fieldName": "minChoices",
4375
+ "inheritedFrom": {
4376
+ "name": "Choices",
4377
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4378
+ }
4496
4379
  },
4497
4380
  {
4498
- "name": "orientation",
4381
+ "name": "max-choices",
4499
4382
  "type": {
4500
- "text": "'vertical' | 'horizontal'"
4383
+ "text": "number"
4501
4384
  },
4502
- "fieldName": "_orientation"
4385
+ "default": "1",
4386
+ "fieldName": "maxChoices",
4387
+ "inheritedFrom": {
4388
+ "name": "Choices",
4389
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4390
+ }
4503
4391
  },
4504
4392
  {
4505
4393
  "name": "response-identifier",
@@ -4509,8 +4397,8 @@
4509
4397
  "default": "''",
4510
4398
  "fieldName": "responseIdentifier",
4511
4399
  "inheritedFrom": {
4512
- "name": "DragDropInteractionMixin",
4513
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
4400
+ "name": "Interaction",
4401
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
4514
4402
  }
4515
4403
  },
4516
4404
  {
@@ -4519,10 +4407,11 @@
4519
4407
  "text": "boolean"
4520
4408
  },
4521
4409
  "default": "false",
4410
+ "description": "disabled should be exposed to the attributes and accessible as property",
4522
4411
  "fieldName": "disabled",
4523
4412
  "inheritedFrom": {
4524
- "name": "DroppablesMixin",
4525
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
4413
+ "name": "Interaction",
4414
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
4526
4415
  }
4527
4416
  },
4528
4417
  {
@@ -4531,16 +4420,127 @@
4531
4420
  "text": "boolean"
4532
4421
  },
4533
4422
  "default": "false",
4423
+ "description": "readonly should be exposed to the attributes and accessible as property",
4534
4424
  "fieldName": "readonly",
4535
4425
  "inheritedFrom": {
4536
- "name": "DragDropInteractionMixin",
4537
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
4426
+ "name": "Interaction",
4427
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
4538
4428
  }
4539
- },
4429
+ }
4430
+ ],
4431
+ "events": [
4540
4432
  {
4541
- "name": "min-associations",
4433
+ "name": "qti-register-interaction",
4542
4434
  "type": {
4543
- "text": "number"
4435
+ "text": "CustomEvent"
4436
+ },
4437
+ "inheritedFrom": {
4438
+ "name": "Interaction",
4439
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
4440
+ }
4441
+ },
4442
+ {
4443
+ "name": "qti-interaction-response",
4444
+ "type": {
4445
+ "text": "CustomEvent"
4446
+ },
4447
+ "inheritedFrom": {
4448
+ "name": "Interaction",
4449
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
4450
+ }
4451
+ }
4452
+ ]
4453
+ }
4454
+ ],
4455
+ "exports": [
4456
+ {
4457
+ "kind": "js",
4458
+ "name": "QtiHotspotInteraction",
4459
+ "declaration": {
4460
+ "name": "QtiHotspotInteraction",
4461
+ "module": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts"
4462
+ }
4463
+ },
4464
+ {
4465
+ "kind": "custom-element-definition",
4466
+ "name": "qti-hotspot-interaction",
4467
+ "declaration": {
4468
+ "name": "QtiHotspotInteraction",
4469
+ "module": "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts"
4470
+ }
4471
+ }
4472
+ ]
4473
+ },
4474
+ {
4475
+ "kind": "javascript-module",
4476
+ "path": "src/lib/qti-components/qti-interaction/qti-order-interaction/qti-order-interaction.scss",
4477
+ "declarations": [],
4478
+ "exports": []
4479
+ },
4480
+ {
4481
+ "kind": "javascript-module",
4482
+ "path": "src/lib/qti-components/qti-interaction/qti-order-interaction/qti-order-interaction.ts",
4483
+ "declarations": [
4484
+ {
4485
+ "kind": "class",
4486
+ "description": "",
4487
+ "name": "QtiOrderInteraction",
4488
+ "members": [],
4489
+ "attributes": [
4490
+ {
4491
+ "name": "class",
4492
+ "type": {
4493
+ "text": "string"
4494
+ },
4495
+ "fieldName": "_classNames"
4496
+ },
4497
+ {
4498
+ "name": "orientation",
4499
+ "type": {
4500
+ "text": "'vertical' | 'horizontal'"
4501
+ },
4502
+ "fieldName": "_orientation"
4503
+ },
4504
+ {
4505
+ "name": "response-identifier",
4506
+ "type": {
4507
+ "text": "string"
4508
+ },
4509
+ "default": "''",
4510
+ "fieldName": "responseIdentifier",
4511
+ "inheritedFrom": {
4512
+ "name": "DragDropInteractionMixin",
4513
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
4514
+ }
4515
+ },
4516
+ {
4517
+ "name": "disabled",
4518
+ "type": {
4519
+ "text": "boolean"
4520
+ },
4521
+ "default": "false",
4522
+ "fieldName": "disabled",
4523
+ "inheritedFrom": {
4524
+ "name": "DroppablesMixin",
4525
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
4526
+ }
4527
+ },
4528
+ {
4529
+ "name": "readonly",
4530
+ "type": {
4531
+ "text": "boolean"
4532
+ },
4533
+ "default": "false",
4534
+ "fieldName": "readonly",
4535
+ "inheritedFrom": {
4536
+ "name": "DragDropInteractionMixin",
4537
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
4538
+ }
4539
+ },
4540
+ {
4541
+ "name": "min-associations",
4542
+ "type": {
4543
+ "text": "number"
4544
4544
  },
4545
4545
  "default": "1",
4546
4546
  "fieldName": "minAssociations",
@@ -5470,26 +5470,6 @@
5470
5470
  }
5471
5471
  ]
5472
5472
  },
5473
- {
5474
- "kind": "javascript-module",
5475
- "path": "src/lib/qti-components/utilities/context/context.ts",
5476
- "declarations": [
5477
- {
5478
- "kind": "variable",
5479
- "name": "loggerContext"
5480
- }
5481
- ],
5482
- "exports": [
5483
- {
5484
- "kind": "js",
5485
- "name": "loggerContext",
5486
- "declaration": {
5487
- "name": "loggerContext",
5488
- "module": "src/lib/qti-components/utilities/context/context.ts"
5489
- }
5490
- }
5491
- ]
5492
- },
5493
5473
  {
5494
5474
  "kind": "javascript-module",
5495
5475
  "path": "src/lib/qti-components/qti-variabledeclaration/qti-responsedeclaration/qti-responsedeclaration.ts",
@@ -5557,6 +5537,26 @@
5557
5537
  }
5558
5538
  ]
5559
5539
  },
5540
+ {
5541
+ "kind": "javascript-module",
5542
+ "path": "src/lib/qti-components/utilities/context/context.ts",
5543
+ "declarations": [
5544
+ {
5545
+ "kind": "variable",
5546
+ "name": "loggerContext"
5547
+ }
5548
+ ],
5549
+ "exports": [
5550
+ {
5551
+ "kind": "js",
5552
+ "name": "loggerContext",
5553
+ "declaration": {
5554
+ "name": "loggerContext",
5555
+ "module": "src/lib/qti-components/utilities/context/context.ts"
5556
+ }
5557
+ }
5558
+ ]
5559
+ },
5560
5560
  {
5561
5561
  "kind": "javascript-module",
5562
5562
  "path": "src/lib/qti-components/utilities/decorators/liveQuery.ts",
@@ -5708,6 +5708,20 @@
5708
5708
  }
5709
5709
  ]
5710
5710
  },
5711
+ {
5712
+ "kind": "javascript-module",
5713
+ "path": "src/lib/qti-components/utilities/styles/component.styles.ts",
5714
+ "declarations": [],
5715
+ "exports": [
5716
+ {
5717
+ "kind": "js",
5718
+ "name": "default",
5719
+ "declaration": {
5720
+ "module": "src/lib/qti-components/utilities/styles/component.styles.ts"
5721
+ }
5722
+ }
5723
+ ]
5724
+ },
5711
5725
  {
5712
5726
  "kind": "javascript-module",
5713
5727
  "path": "src/lib/qti-components/utilities/scoring/scoring-helper.ts",
@@ -5732,71 +5746,41 @@
5732
5746
  },
5733
5747
  {
5734
5748
  "kind": "javascript-module",
5735
- "path": "src/lib/qti-components/utilities/styles/component.styles.ts",
5736
- "declarations": [],
5737
- "exports": [
5738
- {
5739
- "kind": "js",
5740
- "name": "default",
5741
- "declaration": {
5742
- "module": "src/lib/qti-components/utilities/styles/component.styles.ts"
5743
- }
5744
- }
5745
- ]
5746
- },
5747
- {
5748
- "kind": "javascript-module",
5749
- "path": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts",
5749
+ "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts",
5750
5750
  "declarations": [
5751
5751
  {
5752
5752
  "kind": "class",
5753
5753
  "description": "",
5754
- "name": "QtiChoice",
5755
- "slots": [
5756
- {
5757
- "description": "The choices slot element",
5758
- "name": ""
5759
- }
5760
- ],
5754
+ "name": "Choices",
5761
5755
  "members": [],
5762
- "events": [
5756
+ "attributes": [
5763
5757
  {
5764
- "name": "qti-register-choice",
5758
+ "name": "min-choices",
5765
5759
  "type": {
5766
- "text": "CustomEvent"
5760
+ "text": "number"
5767
5761
  },
5768
- "description": "register itselves on a qti-choice-interaction element."
5762
+ "default": "0",
5763
+ "fieldName": "minChoices"
5769
5764
  },
5770
5765
  {
5771
- "name": "qti-loose-choice",
5766
+ "name": "max-choices",
5772
5767
  "type": {
5773
- "text": "CustomEvent"
5768
+ "text": "number"
5774
5769
  },
5775
- "description": "de-register itselves on a qti-choice-interaction element."
5770
+ "default": "1",
5771
+ "fieldName": "maxChoices"
5776
5772
  },
5777
5773
  {
5778
- "name": "qti-choice-element-selected",
5779
- "type": {
5780
- "text": "CustomEvent"
5781
- },
5782
- "description": "Emitted when the choice is selected."
5783
- }
5784
- ],
5785
- "attributes": [
5786
- {
5787
- "name": "identifier",
5774
+ "name": "response-identifier",
5788
5775
  "type": {
5789
5776
  "text": "string"
5790
5777
  },
5791
- "fieldName": "identifier"
5792
- },
5793
- {
5794
- "name": "tabindex",
5795
- "type": {
5796
- "text": "number | undefined"
5797
- },
5798
- "default": "0",
5799
- "fieldName": "tabindex"
5778
+ "default": "''",
5779
+ "fieldName": "responseIdentifier",
5780
+ "inheritedFrom": {
5781
+ "name": "Interaction",
5782
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5783
+ }
5800
5784
  },
5801
5785
  {
5802
5786
  "name": "disabled",
@@ -5804,7 +5788,12 @@
5804
5788
  "text": "boolean"
5805
5789
  },
5806
5790
  "default": "false",
5807
- "fieldName": "disabled"
5791
+ "description": "disabled should be exposed to the attributes and accessible as property",
5792
+ "fieldName": "disabled",
5793
+ "inheritedFrom": {
5794
+ "name": "Interaction",
5795
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5796
+ }
5808
5797
  },
5809
5798
  {
5810
5799
  "name": "readonly",
@@ -5812,73 +5801,106 @@
5812
5801
  "text": "boolean"
5813
5802
  },
5814
5803
  "default": "false",
5815
- "fieldName": "readonly"
5816
- },
5817
- {
5818
- "name": "aria-checked",
5819
- "type": {
5820
- "text": "boolean"
5821
- },
5822
- "default": "false",
5823
- "fieldName": "checked"
5804
+ "description": "readonly should be exposed to the attributes and accessible as property",
5805
+ "fieldName": "readonly",
5806
+ "inheritedFrom": {
5807
+ "name": "Interaction",
5808
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5809
+ }
5824
5810
  }
5825
5811
  ],
5826
5812
  "superclass": {
5827
- "name": "LitElement",
5828
- "package": "lit"
5813
+ "name": "Interaction",
5814
+ "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
5829
5815
  },
5830
- "summary": "qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.",
5831
- "customElement": true
5816
+ "events": [
5817
+ {
5818
+ "name": "qti-register-interaction",
5819
+ "type": {
5820
+ "text": "CustomEvent"
5821
+ },
5822
+ "inheritedFrom": {
5823
+ "name": "Interaction",
5824
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5825
+ }
5826
+ },
5827
+ {
5828
+ "name": "qti-interaction-response",
5829
+ "type": {
5830
+ "text": "CustomEvent"
5831
+ },
5832
+ "inheritedFrom": {
5833
+ "name": "Interaction",
5834
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5835
+ }
5836
+ }
5837
+ ]
5832
5838
  }
5833
5839
  ],
5834
5840
  "exports": [
5835
5841
  {
5836
5842
  "kind": "js",
5837
- "name": "QtiChoice",
5843
+ "name": "Choices",
5838
5844
  "declaration": {
5839
- "name": "QtiChoice",
5840
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
5845
+ "name": "Choices",
5846
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
5841
5847
  }
5842
5848
  }
5843
5849
  ]
5844
5850
  },
5845
5851
  {
5846
5852
  "kind": "javascript-module",
5847
- "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts",
5853
+ "path": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts",
5848
5854
  "declarations": [
5849
5855
  {
5850
5856
  "kind": "class",
5851
5857
  "description": "",
5852
- "name": "Choices",
5858
+ "name": "QtiChoice",
5859
+ "slots": [
5860
+ {
5861
+ "description": "The choices slot element",
5862
+ "name": ""
5863
+ }
5864
+ ],
5853
5865
  "members": [],
5854
- "attributes": [
5866
+ "events": [
5855
5867
  {
5856
- "name": "min-choices",
5868
+ "name": "qti-register-choice",
5857
5869
  "type": {
5858
- "text": "number"
5870
+ "text": "CustomEvent"
5859
5871
  },
5860
- "default": "0",
5861
- "fieldName": "minChoices"
5872
+ "description": "register itselves on a qti-choice-interaction element."
5862
5873
  },
5863
5874
  {
5864
- "name": "max-choices",
5875
+ "name": "qti-loose-choice",
5865
5876
  "type": {
5866
- "text": "number"
5877
+ "text": "CustomEvent"
5867
5878
  },
5868
- "default": "1",
5869
- "fieldName": "maxChoices"
5879
+ "description": "de-register itselves on a qti-choice-interaction element."
5870
5880
  },
5871
5881
  {
5872
- "name": "response-identifier",
5882
+ "name": "qti-choice-element-selected",
5883
+ "type": {
5884
+ "text": "CustomEvent"
5885
+ },
5886
+ "description": "Emitted when the choice is selected."
5887
+ }
5888
+ ],
5889
+ "attributes": [
5890
+ {
5891
+ "name": "identifier",
5873
5892
  "type": {
5874
5893
  "text": "string"
5875
5894
  },
5876
- "default": "''",
5877
- "fieldName": "responseIdentifier",
5878
- "inheritedFrom": {
5879
- "name": "Interaction",
5880
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5881
- }
5895
+ "fieldName": "identifier"
5896
+ },
5897
+ {
5898
+ "name": "tabindex",
5899
+ "type": {
5900
+ "text": "number | undefined"
5901
+ },
5902
+ "default": "0",
5903
+ "fieldName": "tabindex"
5882
5904
  },
5883
5905
  {
5884
5906
  "name": "disabled",
@@ -5886,12 +5908,7 @@
5886
5908
  "text": "boolean"
5887
5909
  },
5888
5910
  "default": "false",
5889
- "description": "disabled should be exposed to the attributes and accessible as property",
5890
- "fieldName": "disabled",
5891
- "inheritedFrom": {
5892
- "name": "Interaction",
5893
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5894
- }
5911
+ "fieldName": "disabled"
5895
5912
  },
5896
5913
  {
5897
5914
  "name": "readonly",
@@ -5899,49 +5916,32 @@
5899
5916
  "text": "boolean"
5900
5917
  },
5901
5918
  "default": "false",
5902
- "description": "readonly should be exposed to the attributes and accessible as property",
5903
- "fieldName": "readonly",
5904
- "inheritedFrom": {
5905
- "name": "Interaction",
5906
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5907
- }
5908
- }
5909
- ],
5910
- "superclass": {
5911
- "name": "Interaction",
5912
- "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
5913
- },
5914
- "events": [
5915
- {
5916
- "name": "qti-register-interaction",
5917
- "type": {
5918
- "text": "CustomEvent"
5919
- },
5920
- "inheritedFrom": {
5921
- "name": "Interaction",
5922
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5923
- }
5919
+ "fieldName": "readonly"
5924
5920
  },
5925
5921
  {
5926
- "name": "qti-interaction-response",
5922
+ "name": "aria-checked",
5927
5923
  "type": {
5928
- "text": "CustomEvent"
5924
+ "text": "boolean"
5929
5925
  },
5930
- "inheritedFrom": {
5931
- "name": "Interaction",
5932
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
5933
- }
5926
+ "default": "false",
5927
+ "fieldName": "checked"
5934
5928
  }
5935
- ]
5929
+ ],
5930
+ "superclass": {
5931
+ "name": "LitElement",
5932
+ "package": "lit"
5933
+ },
5934
+ "summary": "qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.",
5935
+ "customElement": true
5936
5936
  }
5937
5937
  ],
5938
5938
  "exports": [
5939
5939
  {
5940
5940
  "kind": "js",
5941
- "name": "Choices",
5941
+ "name": "QtiChoice",
5942
5942
  "declaration": {
5943
- "name": "Choices",
5944
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
5943
+ "name": "QtiChoice",
5944
+ "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
5945
5945
  }
5946
5946
  }
5947
5947
  ]
@@ -6237,52 +6237,6 @@
6237
6237
  }
6238
6238
  ]
6239
6239
  },
6240
- {
6241
- "kind": "javascript-module",
6242
- "path": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts",
6243
- "declarations": [
6244
- {
6245
- "kind": "function",
6246
- "name": "positionHotspots",
6247
- "parameters": [
6248
- {
6249
- "name": "shape",
6250
- "type": {
6251
- "text": "string"
6252
- }
6253
- },
6254
- {
6255
- "name": "coordsNumber",
6256
- "type": {
6257
- "text": "number[]"
6258
- }
6259
- },
6260
- {
6261
- "name": "img",
6262
- "type": {
6263
- "text": "HTMLImageElement"
6264
- }
6265
- },
6266
- {
6267
- "name": "hotspot",
6268
- "type": {
6269
- "text": "QtiHotspotChoice"
6270
- }
6271
- }
6272
- ]
6273
- }
6274
- ],
6275
- "exports": [
6276
- {
6277
- "kind": "js",
6278
- "name": "positionHotspots",
6279
- "declaration": {
6280
- "name": "positionHotspots",
6281
- "module": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts"
6282
- }
6283
- }
6284
- ]
6285
- },
6286
6240
  {
6287
6241
  "kind": "javascript-module",
6288
6242
  "path": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.interface.ts",
@@ -6360,72 +6314,82 @@
6360
6314
  },
6361
6315
  {
6362
6316
  "kind": "javascript-module",
6363
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts",
6317
+ "path": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts",
6364
6318
  "declarations": [
6365
6319
  {
6366
- "kind": "class",
6367
- "description": "",
6368
- "name": "QtiAnd",
6369
- "members": [],
6370
- "superclass": {
6371
- "name": "QtiConditionExpression",
6372
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
6373
- },
6374
- "tagName": "qti-and",
6375
- "customElement": true
6320
+ "kind": "function",
6321
+ "name": "positionHotspots",
6322
+ "parameters": [
6323
+ {
6324
+ "name": "shape",
6325
+ "type": {
6326
+ "text": "string"
6327
+ }
6328
+ },
6329
+ {
6330
+ "name": "coordsNumber",
6331
+ "type": {
6332
+ "text": "number[]"
6333
+ }
6334
+ },
6335
+ {
6336
+ "name": "img",
6337
+ "type": {
6338
+ "text": "HTMLImageElement"
6339
+ }
6340
+ },
6341
+ {
6342
+ "name": "hotspot",
6343
+ "type": {
6344
+ "text": "QtiHotspotChoice"
6345
+ }
6346
+ }
6347
+ ]
6376
6348
  }
6377
6349
  ],
6378
6350
  "exports": [
6379
6351
  {
6380
6352
  "kind": "js",
6381
- "name": "QtiAnd",
6382
- "declaration": {
6383
- "name": "QtiAnd",
6384
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
6385
- }
6386
- },
6387
- {
6388
- "kind": "custom-element-definition",
6389
- "name": "qti-and",
6353
+ "name": "positionHotspots",
6390
6354
  "declaration": {
6391
- "name": "QtiAnd",
6392
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
6355
+ "name": "positionHotspots",
6356
+ "module": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts"
6393
6357
  }
6394
6358
  }
6395
6359
  ]
6396
6360
  },
6397
6361
  {
6398
6362
  "kind": "javascript-module",
6399
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts",
6363
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts",
6400
6364
  "declarations": [
6401
6365
  {
6402
6366
  "kind": "class",
6403
6367
  "description": "",
6404
- "name": "QtiContains",
6368
+ "name": "QtiAnd",
6405
6369
  "members": [],
6406
6370
  "superclass": {
6407
- "name": "QtiExpression",
6408
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
6371
+ "name": "QtiConditionExpression",
6372
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
6409
6373
  },
6410
- "tagName": "qti-contains",
6374
+ "tagName": "qti-and",
6411
6375
  "customElement": true
6412
6376
  }
6413
6377
  ],
6414
6378
  "exports": [
6415
6379
  {
6416
6380
  "kind": "js",
6417
- "name": "QtiContains",
6381
+ "name": "QtiAnd",
6418
6382
  "declaration": {
6419
- "name": "QtiContains",
6420
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
6383
+ "name": "QtiAnd",
6384
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
6421
6385
  }
6422
6386
  },
6423
6387
  {
6424
6388
  "kind": "custom-element-definition",
6425
- "name": "qti-contains",
6389
+ "name": "qti-and",
6426
6390
  "declaration": {
6427
- "name": "QtiContains",
6428
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
6391
+ "name": "QtiAnd",
6392
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
6429
6393
  }
6430
6394
  }
6431
6395
  ]
@@ -6512,6 +6476,42 @@
6512
6476
  }
6513
6477
  ]
6514
6478
  },
6479
+ {
6480
+ "kind": "javascript-module",
6481
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts",
6482
+ "declarations": [
6483
+ {
6484
+ "kind": "class",
6485
+ "description": "",
6486
+ "name": "QtiContains",
6487
+ "members": [],
6488
+ "superclass": {
6489
+ "name": "QtiExpression",
6490
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
6491
+ },
6492
+ "tagName": "qti-contains",
6493
+ "customElement": true
6494
+ }
6495
+ ],
6496
+ "exports": [
6497
+ {
6498
+ "kind": "js",
6499
+ "name": "QtiContains",
6500
+ "declaration": {
6501
+ "name": "QtiContains",
6502
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
6503
+ }
6504
+ },
6505
+ {
6506
+ "kind": "custom-element-definition",
6507
+ "name": "qti-contains",
6508
+ "declaration": {
6509
+ "name": "QtiContains",
6510
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
6511
+ }
6512
+ }
6513
+ ]
6514
+ },
6515
6515
  {
6516
6516
  "kind": "javascript-module",
6517
6517
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts",
@@ -6606,72 +6606,72 @@
6606
6606
  },
6607
6607
  {
6608
6608
  "kind": "javascript-module",
6609
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gte/qti-gte.ts",
6609
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gt/qti-gt.ts",
6610
6610
  "declarations": [
6611
6611
  {
6612
6612
  "kind": "class",
6613
6613
  "description": "",
6614
- "name": "QtiGte",
6614
+ "name": "QtiGt",
6615
6615
  "members": [],
6616
6616
  "superclass": {
6617
- "name": "QtiConditionExpression",
6618
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
6617
+ "name": "QtiExpression",
6618
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
6619
6619
  },
6620
- "tagName": "qti-gte",
6620
+ "tagName": "qti-gt",
6621
6621
  "customElement": true
6622
6622
  }
6623
6623
  ],
6624
6624
  "exports": [
6625
6625
  {
6626
6626
  "kind": "js",
6627
- "name": "QtiGte",
6627
+ "name": "QtiGt",
6628
6628
  "declaration": {
6629
- "name": "QtiGte",
6630
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gte/qti-gte.ts"
6629
+ "name": "QtiGt",
6630
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gt/qti-gt.ts"
6631
6631
  }
6632
6632
  },
6633
6633
  {
6634
6634
  "kind": "custom-element-definition",
6635
- "name": "qti-gte",
6635
+ "name": "qti-gt",
6636
6636
  "declaration": {
6637
- "name": "QtiGte",
6638
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gte/qti-gte.ts"
6637
+ "name": "QtiGt",
6638
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gt/qti-gt.ts"
6639
6639
  }
6640
6640
  }
6641
6641
  ]
6642
6642
  },
6643
6643
  {
6644
6644
  "kind": "javascript-module",
6645
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gt/qti-gt.ts",
6645
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gte/qti-gte.ts",
6646
6646
  "declarations": [
6647
6647
  {
6648
6648
  "kind": "class",
6649
6649
  "description": "",
6650
- "name": "QtiGt",
6650
+ "name": "QtiGte",
6651
6651
  "members": [],
6652
6652
  "superclass": {
6653
- "name": "QtiExpression",
6654
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
6653
+ "name": "QtiConditionExpression",
6654
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
6655
6655
  },
6656
- "tagName": "qti-gt",
6656
+ "tagName": "qti-gte",
6657
6657
  "customElement": true
6658
6658
  }
6659
6659
  ],
6660
6660
  "exports": [
6661
6661
  {
6662
6662
  "kind": "js",
6663
- "name": "QtiGt",
6663
+ "name": "QtiGte",
6664
6664
  "declaration": {
6665
- "name": "QtiGt",
6666
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gt/qti-gt.ts"
6665
+ "name": "QtiGte",
6666
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gte/qti-gte.ts"
6667
6667
  }
6668
6668
  },
6669
6669
  {
6670
6670
  "kind": "custom-element-definition",
6671
- "name": "qti-gt",
6671
+ "name": "qti-gte",
6672
6672
  "declaration": {
6673
- "name": "QtiGt",
6674
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gt/qti-gt.ts"
6673
+ "name": "QtiGte",
6674
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-gte/qti-gte.ts"
6675
6675
  }
6676
6676
  }
6677
6677
  ]
@@ -6855,72 +6855,72 @@
6855
6855
  },
6856
6856
  {
6857
6857
  "kind": "javascript-module",
6858
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-or/qti-or.ts",
6858
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts",
6859
6859
  "declarations": [
6860
6860
  {
6861
6861
  "kind": "class",
6862
6862
  "description": "",
6863
- "name": "QtiOr",
6863
+ "name": "QtiMultiple",
6864
6864
  "members": [],
6865
6865
  "superclass": {
6866
- "name": "QtiConditionExpression",
6867
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
6866
+ "name": "QtiExpression",
6867
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
6868
6868
  },
6869
- "tagName": "qti-or",
6869
+ "tagName": "qti-multiple",
6870
6870
  "customElement": true
6871
6871
  }
6872
6872
  ],
6873
6873
  "exports": [
6874
6874
  {
6875
6875
  "kind": "js",
6876
- "name": "QtiOr",
6876
+ "name": "QtiMultiple",
6877
6877
  "declaration": {
6878
- "name": "QtiOr",
6879
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-or/qti-or.ts"
6878
+ "name": "QtiMultiple",
6879
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
6880
6880
  }
6881
6881
  },
6882
6882
  {
6883
6883
  "kind": "custom-element-definition",
6884
- "name": "qti-or",
6884
+ "name": "qti-multiple",
6885
6885
  "declaration": {
6886
- "name": "QtiOr",
6887
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-or/qti-or.ts"
6886
+ "name": "QtiMultiple",
6887
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
6888
6888
  }
6889
6889
  }
6890
6890
  ]
6891
6891
  },
6892
6892
  {
6893
6893
  "kind": "javascript-module",
6894
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts",
6894
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-or/qti-or.ts",
6895
6895
  "declarations": [
6896
6896
  {
6897
6897
  "kind": "class",
6898
6898
  "description": "",
6899
- "name": "QtiMultiple",
6899
+ "name": "QtiOr",
6900
6900
  "members": [],
6901
6901
  "superclass": {
6902
- "name": "QtiExpression",
6903
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
6902
+ "name": "QtiConditionExpression",
6903
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
6904
6904
  },
6905
- "tagName": "qti-multiple",
6905
+ "tagName": "qti-or",
6906
6906
  "customElement": true
6907
6907
  }
6908
6908
  ],
6909
6909
  "exports": [
6910
6910
  {
6911
6911
  "kind": "js",
6912
- "name": "QtiMultiple",
6912
+ "name": "QtiOr",
6913
6913
  "declaration": {
6914
- "name": "QtiMultiple",
6915
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
6914
+ "name": "QtiOr",
6915
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-or/qti-or.ts"
6916
6916
  }
6917
6917
  },
6918
6918
  {
6919
6919
  "kind": "custom-element-definition",
6920
- "name": "qti-multiple",
6920
+ "name": "qti-or",
6921
6921
  "declaration": {
6922
- "name": "QtiMultiple",
6923
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
6922
+ "name": "QtiOr",
6923
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-or/qti-or.ts"
6924
6924
  }
6925
6925
  }
6926
6926
  ]