@citolab/qti-components 7.0.2 → 7.0.4

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.
@@ -9916,60 +9916,6 @@
9916
9916
  }
9917
9917
  ]
9918
9918
  },
9919
- {
9920
- "kind": "method",
9921
- "name": "getRectDiagonal",
9922
- "privacy": "private",
9923
- "return": {
9924
- "type": {
9925
- "text": "number"
9926
- }
9927
- },
9928
- "parameters": [
9929
- {
9930
- "name": "rect",
9931
- "type": {
9932
- "text": "DOMRect"
9933
- }
9934
- }
9935
- ]
9936
- },
9937
- {
9938
- "kind": "method",
9939
- "name": "getCorners",
9940
- "privacy": "private",
9941
- "return": {
9942
- "type": {
9943
- "text": "{ topLeft: Point; topRight: Point; bottomLeft: Point; bottomRight: Point }"
9944
- }
9945
- },
9946
- "parameters": [
9947
- {
9948
- "name": "rect",
9949
- "type": {
9950
- "text": "DOMRect"
9951
- }
9952
- }
9953
- ]
9954
- },
9955
- {
9956
- "kind": "method",
9957
- "name": "calculateTotalCornerDistance",
9958
- "privacy": "private",
9959
- "return": {
9960
- "type": {
9961
- "text": "number"
9962
- }
9963
- },
9964
- "parameters": [
9965
- {
9966
- "name": "cornersA"
9967
- },
9968
- {
9969
- "name": "cornersB"
9970
- }
9971
- ]
9972
- },
9973
9919
  {
9974
9920
  "kind": "method",
9975
9921
  "name": "calculateDistance",
@@ -10567,12 +10513,35 @@
10567
10513
  "privacy": "protected",
10568
10514
  "default": "new Map<HTMLElement, { parent: HTMLElement; index: number }>()"
10569
10515
  },
10516
+ {
10517
+ "kind": "field",
10518
+ "name": "observer",
10519
+ "type": {
10520
+ "text": "MutationObserver"
10521
+ },
10522
+ "privacy": "private",
10523
+ "default": "null",
10524
+ "inheritedFrom": {
10525
+ "name": "DroppablesMixin",
10526
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
10527
+ }
10528
+ },
10529
+ {
10530
+ "kind": "field",
10531
+ "name": "resizeObserver",
10532
+ "type": {
10533
+ "text": "ResizeObserver | null"
10534
+ },
10535
+ "privacy": "private",
10536
+ "default": "null"
10537
+ },
10570
10538
  {
10571
10539
  "kind": "field",
10572
10540
  "name": "dragDropApi",
10573
10541
  "type": {
10574
10542
  "text": "TouchDragAndDrop"
10575
- }
10543
+ },
10544
+ "privacy": "private"
10576
10545
  },
10577
10546
  {
10578
10547
  "kind": "field",
@@ -10580,6 +10549,7 @@
10580
10549
  "type": {
10581
10550
  "text": "InteractionConfiguration"
10582
10551
  },
10552
+ "privacy": "protected",
10583
10553
  "default": "{ copyStylesDragClone: true, dragCanBePlacedBack: true, dragOnClick: false }"
10584
10554
  },
10585
10555
  {
@@ -10718,6 +10688,11 @@
10718
10688
  "name": "handleDragEnd",
10719
10689
  "privacy": "private"
10720
10690
  },
10691
+ {
10692
+ "kind": "method",
10693
+ "name": "updateMinDimensionsForDropZones",
10694
+ "privacy": "private"
10695
+ },
10721
10696
  {
10722
10697
  "kind": "method",
10723
10698
  "name": "activateDroppables",
@@ -10770,11 +10745,6 @@
10770
10745
  "kind": "method",
10771
10746
  "name": "wasDropped",
10772
10747
  "privacy": "private",
10773
- "return": {
10774
- "type": {
10775
- "text": "Promise<boolean>"
10776
- }
10777
- },
10778
10748
  "parameters": [
10779
10749
  {
10780
10750
  "name": "ev",
@@ -10988,18 +10958,6 @@
10988
10958
  }
10989
10959
  }
10990
10960
  },
10991
- {
10992
- "kind": "field",
10993
- "name": "observer",
10994
- "type": {
10995
- "text": "MutationObserver"
10996
- },
10997
- "privacy": "private",
10998
- "inheritedFrom": {
10999
- "name": "DroppablesMixin",
11000
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
11001
- }
11002
- },
11003
10961
  {
11004
10962
  "kind": "field",
11005
10963
  "name": "disabled",
@@ -11850,12 +11808,39 @@
11850
11808
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11851
11809
  }
11852
11810
  },
11811
+ {
11812
+ "kind": "field",
11813
+ "name": "observer",
11814
+ "type": {
11815
+ "text": "MutationObserver"
11816
+ },
11817
+ "privacy": "private",
11818
+ "default": "null",
11819
+ "inheritedFrom": {
11820
+ "name": "DroppablesMixin",
11821
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
11822
+ }
11823
+ },
11824
+ {
11825
+ "kind": "field",
11826
+ "name": "resizeObserver",
11827
+ "type": {
11828
+ "text": "ResizeObserver | null"
11829
+ },
11830
+ "privacy": "private",
11831
+ "default": "null",
11832
+ "inheritedFrom": {
11833
+ "name": "DragDropInteractionMixin",
11834
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11835
+ }
11836
+ },
11853
11837
  {
11854
11838
  "kind": "field",
11855
11839
  "name": "dragDropApi",
11856
11840
  "type": {
11857
11841
  "text": "TouchDragAndDrop"
11858
11842
  },
11843
+ "privacy": "private",
11859
11844
  "inheritedFrom": {
11860
11845
  "name": "DragDropInteractionMixin",
11861
11846
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
@@ -11867,6 +11852,7 @@
11867
11852
  "type": {
11868
11853
  "text": "InteractionConfiguration"
11869
11854
  },
11855
+ "privacy": "protected",
11870
11856
  "default": "{ copyStylesDragClone: true, dragCanBePlacedBack: true, dragOnClick: false }",
11871
11857
  "inheritedFrom": {
11872
11858
  "name": "DragDropInteractionMixin",
@@ -12057,6 +12043,15 @@
12057
12043
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
12058
12044
  }
12059
12045
  },
12046
+ {
12047
+ "kind": "method",
12048
+ "name": "updateMinDimensionsForDropZones",
12049
+ "privacy": "private",
12050
+ "inheritedFrom": {
12051
+ "name": "DragDropInteractionMixin",
12052
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
12053
+ }
12054
+ },
12060
12055
  {
12061
12056
  "kind": "method",
12062
12057
  "name": "activateDroppables",
@@ -12125,11 +12120,6 @@
12125
12120
  "kind": "method",
12126
12121
  "name": "wasDropped",
12127
12122
  "privacy": "private",
12128
- "return": {
12129
- "type": {
12130
- "text": "Promise<boolean>"
12131
- }
12132
- },
12133
12123
  "parameters": [
12134
12124
  {
12135
12125
  "name": "ev",
@@ -12417,18 +12407,6 @@
12417
12407
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
12418
12408
  }
12419
12409
  },
12420
- {
12421
- "kind": "field",
12422
- "name": "observer",
12423
- "type": {
12424
- "text": "MutationObserver"
12425
- },
12426
- "privacy": "private",
12427
- "inheritedFrom": {
12428
- "name": "DroppablesMixin",
12429
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
12430
- }
12431
- },
12432
12410
  {
12433
12411
  "kind": "field",
12434
12412
  "name": "disabled",
@@ -13692,6 +13670,28 @@
13692
13670
  "description": "",
13693
13671
  "name": "QtiGapMatchInteraction",
13694
13672
  "members": [
13673
+ {
13674
+ "kind": "field",
13675
+ "name": "correctResponse",
13676
+ "type": {
13677
+ "text": "string | string[]"
13678
+ },
13679
+ "privacy": "public",
13680
+ "inheritedFrom": {
13681
+ "name": "Interaction",
13682
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
13683
+ }
13684
+ },
13685
+ {
13686
+ "kind": "field",
13687
+ "name": "draggables",
13688
+ "privacy": "protected",
13689
+ "default": "new Map<HTMLElement, { parent: HTMLElement; index: number }>()",
13690
+ "inheritedFrom": {
13691
+ "name": "DragDropInteractionMixin",
13692
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13693
+ }
13694
+ },
13695
13695
  {
13696
13696
  "kind": "field",
13697
13697
  "name": "observer",
@@ -13712,30 +13712,7 @@
13712
13712
  "text": "ResizeObserver | null"
13713
13713
  },
13714
13714
  "privacy": "private",
13715
- "default": "null"
13716
- },
13717
- {
13718
- "kind": "method",
13719
- "name": "updateMinDimensionsForDrowZones",
13720
- "privacy": "private"
13721
- },
13722
- {
13723
- "kind": "field",
13724
- "name": "correctResponse",
13725
- "type": {
13726
- "text": "string | string[]"
13727
- },
13728
- "privacy": "public",
13729
- "inheritedFrom": {
13730
- "name": "Interaction",
13731
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
13732
- }
13733
- },
13734
- {
13735
- "kind": "field",
13736
- "name": "draggables",
13737
- "privacy": "protected",
13738
- "default": "new Map<HTMLElement, { parent: HTMLElement; index: number }>()",
13715
+ "default": "null",
13739
13716
  "inheritedFrom": {
13740
13717
  "name": "DragDropInteractionMixin",
13741
13718
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
@@ -13747,6 +13724,7 @@
13747
13724
  "type": {
13748
13725
  "text": "TouchDragAndDrop"
13749
13726
  },
13727
+ "privacy": "private",
13750
13728
  "inheritedFrom": {
13751
13729
  "name": "DragDropInteractionMixin",
13752
13730
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
@@ -13758,6 +13736,7 @@
13758
13736
  "type": {
13759
13737
  "text": "InteractionConfiguration"
13760
13738
  },
13739
+ "privacy": "protected",
13761
13740
  "default": "{ copyStylesDragClone: true, dragCanBePlacedBack: true, dragOnClick: false }",
13762
13741
  "inheritedFrom": {
13763
13742
  "name": "DragDropInteractionMixin",
@@ -13948,6 +13927,15 @@
13948
13927
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13949
13928
  }
13950
13929
  },
13930
+ {
13931
+ "kind": "method",
13932
+ "name": "updateMinDimensionsForDropZones",
13933
+ "privacy": "private",
13934
+ "inheritedFrom": {
13935
+ "name": "DragDropInteractionMixin",
13936
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13937
+ }
13938
+ },
13951
13939
  {
13952
13940
  "kind": "method",
13953
13941
  "name": "activateDroppables",
@@ -14016,11 +14004,6 @@
14016
14004
  "kind": "method",
14017
14005
  "name": "wasDropped",
14018
14006
  "privacy": "private",
14019
- "return": {
14020
- "type": {
14021
- "text": "Promise<boolean>"
14022
- }
14023
- },
14024
14007
  "parameters": [
14025
14008
  {
14026
14009
  "name": "ev",
@@ -15493,33 +15476,6 @@
15493
15476
  "description": "",
15494
15477
  "name": "QtiGraphicGapMatchInteraction",
15495
15478
  "members": [
15496
- {
15497
- "kind": "field",
15498
- "name": "observer",
15499
- "type": {
15500
- "text": "MutationObserver"
15501
- },
15502
- "privacy": "private",
15503
- "default": "null",
15504
- "inheritedFrom": {
15505
- "name": "DroppablesMixin",
15506
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
15507
- }
15508
- },
15509
- {
15510
- "kind": "field",
15511
- "name": "resizeObserver",
15512
- "type": {
15513
- "text": "ResizeObserver | null"
15514
- },
15515
- "privacy": "private",
15516
- "default": "null"
15517
- },
15518
- {
15519
- "kind": "method",
15520
- "name": "updateMinDimensionsForDrowZones",
15521
- "privacy": "private"
15522
- },
15523
15479
  {
15524
15480
  "kind": "method",
15525
15481
  "name": "positionHotspotOnRegister",
@@ -15548,12 +15504,39 @@
15548
15504
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
15549
15505
  }
15550
15506
  },
15507
+ {
15508
+ "kind": "field",
15509
+ "name": "observer",
15510
+ "type": {
15511
+ "text": "MutationObserver"
15512
+ },
15513
+ "privacy": "private",
15514
+ "default": "null",
15515
+ "inheritedFrom": {
15516
+ "name": "DroppablesMixin",
15517
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
15518
+ }
15519
+ },
15520
+ {
15521
+ "kind": "field",
15522
+ "name": "resizeObserver",
15523
+ "type": {
15524
+ "text": "ResizeObserver | null"
15525
+ },
15526
+ "privacy": "private",
15527
+ "default": "null",
15528
+ "inheritedFrom": {
15529
+ "name": "DragDropInteractionMixin",
15530
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
15531
+ }
15532
+ },
15551
15533
  {
15552
15534
  "kind": "field",
15553
15535
  "name": "dragDropApi",
15554
15536
  "type": {
15555
15537
  "text": "TouchDragAndDrop"
15556
15538
  },
15539
+ "privacy": "private",
15557
15540
  "inheritedFrom": {
15558
15541
  "name": "DragDropInteractionMixin",
15559
15542
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
@@ -15565,6 +15548,7 @@
15565
15548
  "type": {
15566
15549
  "text": "InteractionConfiguration"
15567
15550
  },
15551
+ "privacy": "protected",
15568
15552
  "default": "{ copyStylesDragClone: true, dragCanBePlacedBack: true, dragOnClick: false }",
15569
15553
  "inheritedFrom": {
15570
15554
  "name": "DragDropInteractionMixin",
@@ -15755,6 +15739,15 @@
15755
15739
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
15756
15740
  }
15757
15741
  },
15742
+ {
15743
+ "kind": "method",
15744
+ "name": "updateMinDimensionsForDropZones",
15745
+ "privacy": "private",
15746
+ "inheritedFrom": {
15747
+ "name": "DragDropInteractionMixin",
15748
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
15749
+ }
15750
+ },
15758
15751
  {
15759
15752
  "kind": "method",
15760
15753
  "name": "activateDroppables",
@@ -15823,11 +15816,6 @@
15823
15816
  "kind": "method",
15824
15817
  "name": "wasDropped",
15825
15818
  "privacy": "private",
15826
- "return": {
15827
- "type": {
15828
- "text": "Promise<boolean>"
15829
- }
15830
- },
15831
15819
  "parameters": [
15832
15820
  {
15833
15821
  "name": "ev",
@@ -17842,14 +17830,16 @@
17842
17830
  "name": "rows",
17843
17831
  "type": {
17844
17832
  "text": "QtiSimpleAssociableChoice[]"
17845
- }
17833
+ },
17834
+ "privacy": "protected"
17846
17835
  },
17847
17836
  {
17848
17837
  "kind": "field",
17849
17838
  "name": "cols",
17850
17839
  "type": {
17851
17840
  "text": "QtiSimpleAssociableChoice[]"
17852
- }
17841
+ },
17842
+ "privacy": "protected"
17853
17843
  },
17854
17844
  {
17855
17845
  "kind": "field",
@@ -17857,14 +17847,25 @@
17857
17847
  "type": {
17858
17848
  "text": "HTMLInputElement | null"
17859
17849
  },
17850
+ "privacy": "protected",
17860
17851
  "default": "null"
17861
17852
  },
17853
+ {
17854
+ "kind": "field",
17855
+ "name": "class",
17856
+ "type": {
17857
+ "text": "string"
17858
+ },
17859
+ "default": "''",
17860
+ "attribute": "class"
17861
+ },
17862
17862
  {
17863
17863
  "kind": "field",
17864
17864
  "name": "_response",
17865
17865
  "type": {
17866
17866
  "text": "string | string[]"
17867
17867
  },
17868
+ "privacy": "protected",
17868
17869
  "default": "[]"
17869
17870
  },
17870
17871
  {
@@ -17878,14 +17879,6 @@
17878
17879
  "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
17879
17880
  }
17880
17881
  },
17881
- {
17882
- "kind": "field",
17883
- "name": "correctOptions",
17884
- "type": {
17885
- "text": "string[]"
17886
- },
17887
- "default": "[]"
17888
- },
17889
17882
  {
17890
17883
  "kind": "field",
17891
17884
  "name": "responseIdentifier",
@@ -17901,11 +17894,22 @@
17901
17894
  },
17902
17895
  {
17903
17896
  "kind": "field",
17904
- "name": "handleRadioClick"
17897
+ "name": "correctOptions",
17898
+ "type": {
17899
+ "text": "string[]"
17900
+ },
17901
+ "privacy": "protected",
17902
+ "default": "[]"
17903
+ },
17904
+ {
17905
+ "kind": "field",
17906
+ "name": "handleRadioClick",
17907
+ "privacy": "protected"
17905
17908
  },
17906
17909
  {
17907
17910
  "kind": "field",
17908
- "name": "handleRadioChange"
17911
+ "name": "handleRadioChange",
17912
+ "privacy": "protected"
17909
17913
  },
17910
17914
  {
17911
17915
  "kind": "field",
@@ -17929,12 +17933,39 @@
17929
17933
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17930
17934
  }
17931
17935
  },
17936
+ {
17937
+ "kind": "field",
17938
+ "name": "observer",
17939
+ "type": {
17940
+ "text": "MutationObserver"
17941
+ },
17942
+ "privacy": "private",
17943
+ "default": "null",
17944
+ "inheritedFrom": {
17945
+ "name": "DroppablesMixin",
17946
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
17947
+ }
17948
+ },
17949
+ {
17950
+ "kind": "field",
17951
+ "name": "resizeObserver",
17952
+ "type": {
17953
+ "text": "ResizeObserver | null"
17954
+ },
17955
+ "privacy": "private",
17956
+ "default": "null",
17957
+ "inheritedFrom": {
17958
+ "name": "DragDropInteractionMixin",
17959
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17960
+ }
17961
+ },
17932
17962
  {
17933
17963
  "kind": "field",
17934
17964
  "name": "dragDropApi",
17935
17965
  "type": {
17936
17966
  "text": "TouchDragAndDrop"
17937
17967
  },
17968
+ "privacy": "private",
17938
17969
  "inheritedFrom": {
17939
17970
  "name": "DragDropInteractionMixin",
17940
17971
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
@@ -17946,6 +17977,7 @@
17946
17977
  "type": {
17947
17978
  "text": "InteractionConfiguration"
17948
17979
  },
17980
+ "privacy": "protected",
17949
17981
  "default": "{ copyStylesDragClone: true, dragCanBePlacedBack: true, dragOnClick: false }",
17950
17982
  "inheritedFrom": {
17951
17983
  "name": "DragDropInteractionMixin",
@@ -18136,6 +18168,15 @@
18136
18168
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
18137
18169
  }
18138
18170
  },
18171
+ {
18172
+ "kind": "method",
18173
+ "name": "updateMinDimensionsForDropZones",
18174
+ "privacy": "private",
18175
+ "inheritedFrom": {
18176
+ "name": "DragDropInteractionMixin",
18177
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
18178
+ }
18179
+ },
18139
18180
  {
18140
18181
  "kind": "method",
18141
18182
  "name": "activateDroppables",
@@ -18204,11 +18245,6 @@
18204
18245
  "kind": "method",
18205
18246
  "name": "wasDropped",
18206
18247
  "privacy": "private",
18207
- "return": {
18208
- "type": {
18209
- "text": "Promise<boolean>"
18210
- }
18211
- },
18212
18248
  "parameters": [
18213
18249
  {
18214
18250
  "name": "ev",
@@ -18485,18 +18521,6 @@
18485
18521
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
18486
18522
  }
18487
18523
  },
18488
- {
18489
- "kind": "field",
18490
- "name": "observer",
18491
- "type": {
18492
- "text": "MutationObserver"
18493
- },
18494
- "privacy": "private",
18495
- "inheritedFrom": {
18496
- "name": "DroppablesMixin",
18497
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
18498
- }
18499
- },
18500
18524
  {
18501
18525
  "kind": "field",
18502
18526
  "name": "disabled",
@@ -18928,6 +18952,14 @@
18928
18952
  }
18929
18953
  ],
18930
18954
  "attributes": [
18955
+ {
18956
+ "name": "class",
18957
+ "type": {
18958
+ "text": "string"
18959
+ },
18960
+ "default": "''",
18961
+ "fieldName": "class"
18962
+ },
18931
18963
  {
18932
18964
  "name": "response-identifier",
18933
18965
  "fieldName": "responseIdentifier",
@@ -19425,12 +19457,39 @@
19425
19457
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
19426
19458
  }
19427
19459
  },
19460
+ {
19461
+ "kind": "field",
19462
+ "name": "observer",
19463
+ "type": {
19464
+ "text": "MutationObserver"
19465
+ },
19466
+ "privacy": "private",
19467
+ "default": "null",
19468
+ "inheritedFrom": {
19469
+ "name": "DroppablesMixin",
19470
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
19471
+ }
19472
+ },
19473
+ {
19474
+ "kind": "field",
19475
+ "name": "resizeObserver",
19476
+ "type": {
19477
+ "text": "ResizeObserver | null"
19478
+ },
19479
+ "privacy": "private",
19480
+ "default": "null",
19481
+ "inheritedFrom": {
19482
+ "name": "DragDropInteractionMixin",
19483
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
19484
+ }
19485
+ },
19428
19486
  {
19429
19487
  "kind": "field",
19430
19488
  "name": "dragDropApi",
19431
19489
  "type": {
19432
19490
  "text": "TouchDragAndDrop"
19433
19491
  },
19492
+ "privacy": "private",
19434
19493
  "inheritedFrom": {
19435
19494
  "name": "DragDropInteractionMixin",
19436
19495
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
@@ -19442,6 +19501,7 @@
19442
19501
  "type": {
19443
19502
  "text": "InteractionConfiguration"
19444
19503
  },
19504
+ "privacy": "protected",
19445
19505
  "default": "{ copyStylesDragClone: true, dragCanBePlacedBack: true, dragOnClick: false }",
19446
19506
  "inheritedFrom": {
19447
19507
  "name": "DragDropInteractionMixin",
@@ -19632,6 +19692,15 @@
19632
19692
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
19633
19693
  }
19634
19694
  },
19695
+ {
19696
+ "kind": "method",
19697
+ "name": "updateMinDimensionsForDropZones",
19698
+ "privacy": "private",
19699
+ "inheritedFrom": {
19700
+ "name": "DragDropInteractionMixin",
19701
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
19702
+ }
19703
+ },
19635
19704
  {
19636
19705
  "kind": "method",
19637
19706
  "name": "activateDroppables",
@@ -19700,11 +19769,6 @@
19700
19769
  "kind": "method",
19701
19770
  "name": "wasDropped",
19702
19771
  "privacy": "private",
19703
- "return": {
19704
- "type": {
19705
- "text": "Promise<boolean>"
19706
- }
19707
- },
19708
19772
  "parameters": [
19709
19773
  {
19710
19774
  "name": "ev",
@@ -19992,18 +20056,6 @@
19992
20056
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
19993
20057
  }
19994
20058
  },
19995
- {
19996
- "kind": "field",
19997
- "name": "observer",
19998
- "type": {
19999
- "text": "MutationObserver"
20000
- },
20001
- "privacy": "private",
20002
- "inheritedFrom": {
20003
- "name": "DroppablesMixin",
20004
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
20005
- }
20006
- },
20007
20059
  {
20008
20060
  "kind": "field",
20009
20061
  "name": "disabled",
@@ -25064,7 +25116,7 @@
25064
25116
  "type": {
25065
25117
  "text": "string"
25066
25118
  },
25067
- "description": "the relative location to the QTI assessment.xml file",
25119
+ "description": "the relative location to the QTI assessment.xml file ### Features - **Dynamic Template Loading**: If a `<template>` element is included as a child of `<qti-test>`, its content is dynamically appended to the shadow DOM.",
25068
25120
  "name": "testURL"
25069
25121
  }
25070
25122
  ],
@@ -25086,7 +25138,7 @@
25086
25138
  "name": "TestBase",
25087
25139
  "module": "/src/lib/qti-test/test-base"
25088
25140
  },
25089
- "tagName": "qti-player",
25141
+ "tagName": "qti-test",
25090
25142
  "customElement": true
25091
25143
  }
25092
25144
  ],
@@ -26690,6 +26742,35 @@
26690
26742
  }
26691
26743
  ]
26692
26744
  },
26745
+ {
26746
+ "kind": "javascript-module",
26747
+ "path": "src/lib/qti-item/item-loader.mixin.ts",
26748
+ "declarations": [
26749
+ {
26750
+ "kind": "mixin",
26751
+ "description": "",
26752
+ "name": "ItemLoaderMixin",
26753
+ "parameters": [
26754
+ {
26755
+ "name": "superClass",
26756
+ "type": {
26757
+ "text": "T"
26758
+ }
26759
+ }
26760
+ ]
26761
+ }
26762
+ ],
26763
+ "exports": [
26764
+ {
26765
+ "kind": "js",
26766
+ "name": "ItemLoaderMixin",
26767
+ "declaration": {
26768
+ "name": "ItemLoaderMixin",
26769
+ "module": "src/lib/qti-item/item-loader.mixin.ts"
26770
+ }
26771
+ }
26772
+ ]
26773
+ },
26693
26774
  {
26694
26775
  "kind": "javascript-module",
26695
26776
  "path": "src/lib/qti-item/qti-item.ts",
@@ -26699,6 +26780,10 @@
26699
26780
  "description": "",
26700
26781
  "name": "QtiItem",
26701
26782
  "mixins": [
26783
+ {
26784
+ "name": "ItemLoaderMixin",
26785
+ "module": "/src/lib/qti-item/item-loader.mixin"
26786
+ },
26702
26787
  {
26703
26788
  "name": "QtiItemMixin",
26704
26789
  "module": "/src/lib/qti-item/qti-item.mixin"
@@ -26817,6 +26902,104 @@
26817
26902
  }
26818
26903
  ]
26819
26904
  },
26905
+ {
26906
+ "kind": "javascript-module",
26907
+ "path": "src/lib/qti-item/item-container.ts",
26908
+ "declarations": [
26909
+ {
26910
+ "kind": "class",
26911
+ "description": "`<item-container>` is a custom element designed for hosting the qti-assessment-test.\nThe `qti-assessment-test` will be placed inside the shadow DOM of this element.\n\n### Example Usage\nThe `item-container` element to hosts the visual representation of the items.\nYou can style the container by adding a class to the element.\n\n```html\n<qti-test item-url=\"./path/to/assessment.xml\">\n <item-container class=\"container bg-white m-2\"></item-container>\n</qti-test>\n```",
26912
+ "name": "ItemContainer",
26913
+ "members": [
26914
+ {
26915
+ "kind": "field",
26916
+ "name": "content",
26917
+ "type": {
26918
+ "text": "Promise<DocumentFragment>"
26919
+ },
26920
+ "privacy": "private",
26921
+ "description": "Internal state for the dynamically loaded content.\nThis is a Promise resolving to the content that will be rendered."
26922
+ },
26923
+ {
26924
+ "kind": "field",
26925
+ "name": "itemURL",
26926
+ "type": {
26927
+ "text": "string"
26928
+ },
26929
+ "default": "''",
26930
+ "attribute": "item-url"
26931
+ },
26932
+ {
26933
+ "kind": "method",
26934
+ "name": "_handleitemURLChange",
26935
+ "privacy": "protected",
26936
+ "parameters": [
26937
+ {
26938
+ "name": "_oldValue",
26939
+ "type": {
26940
+ "text": "number"
26941
+ }
26942
+ },
26943
+ {
26944
+ "name": "_newValue",
26945
+ "type": {
26946
+ "text": "number"
26947
+ }
26948
+ }
26949
+ ]
26950
+ },
26951
+ {
26952
+ "kind": "field",
26953
+ "name": "preContent",
26954
+ "type": {
26955
+ "text": "any"
26956
+ },
26957
+ "privacy": "private",
26958
+ "description": "Preloaded content from a `<template>` child, if present."
26959
+ },
26960
+ {
26961
+ "kind": "method",
26962
+ "name": "newMethod",
26963
+ "privacy": "private"
26964
+ }
26965
+ ],
26966
+ "attributes": [
26967
+ {
26968
+ "name": "item-url",
26969
+ "type": {
26970
+ "text": "string"
26971
+ },
26972
+ "default": "''",
26973
+ "fieldName": "itemURL"
26974
+ }
26975
+ ],
26976
+ "superclass": {
26977
+ "name": "LitElement",
26978
+ "package": "lit"
26979
+ },
26980
+ "tagName": "item-container",
26981
+ "customElement": true
26982
+ }
26983
+ ],
26984
+ "exports": [
26985
+ {
26986
+ "kind": "js",
26987
+ "name": "ItemContainer",
26988
+ "declaration": {
26989
+ "name": "ItemContainer",
26990
+ "module": "src/lib/qti-item/item-container.ts"
26991
+ }
26992
+ },
26993
+ {
26994
+ "kind": "custom-element-definition",
26995
+ "name": "item-container",
26996
+ "declaration": {
26997
+ "name": "ItemContainer",
26998
+ "module": "src/lib/qti-item/item-container.ts"
26999
+ }
27000
+ }
27001
+ ]
27002
+ },
26820
27003
  {
26821
27004
  "kind": "javascript-module",
26822
27005
  "path": "src/lib/qti-item/index.ts",
@@ -26835,7 +27018,7 @@
26835
27018
  "name": "*",
26836
27019
  "declaration": {
26837
27020
  "name": "*",
26838
- "package": "./qti-item.mixin"
27021
+ "package": "./item-container"
26839
27022
  }
26840
27023
  }
26841
27024
  ]