@citolab/qti-components 7.5.2 → 7.8.1

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.
@@ -6255,6 +6255,24 @@
6255
6255
  }
6256
6256
  ]
6257
6257
  },
6258
+ {
6259
+ "kind": "method",
6260
+ "name": "getDropzoneRect",
6261
+ "privacy": "private",
6262
+ "return": {
6263
+ "type": {
6264
+ "text": "DOMRect"
6265
+ }
6266
+ },
6267
+ "parameters": [
6268
+ {
6269
+ "name": "el",
6270
+ "type": {
6271
+ "text": "HTMLElement"
6272
+ }
6273
+ }
6274
+ ]
6275
+ },
6258
6276
  {
6259
6277
  "kind": "method",
6260
6278
  "name": "findClosestDropzone",
@@ -6501,6 +6519,21 @@
6501
6519
  "privacy": "private",
6502
6520
  "default": "null"
6503
6521
  },
6522
+ {
6523
+ "kind": "field",
6524
+ "name": "onMove",
6525
+ "privacy": "private"
6526
+ },
6527
+ {
6528
+ "kind": "field",
6529
+ "name": "onEnd",
6530
+ "privacy": "private"
6531
+ },
6532
+ {
6533
+ "kind": "field",
6534
+ "name": "onCancel",
6535
+ "privacy": "private"
6536
+ },
6504
6537
  {
6505
6538
  "kind": "field",
6506
6539
  "name": "MIN_DRAG_DISTANCE",
@@ -7079,6 +7112,24 @@
7079
7112
  }
7080
7113
  ]
7081
7114
  },
7115
+ {
7116
+ "kind": "method",
7117
+ "name": "getDropzoneRect",
7118
+ "privacy": "private",
7119
+ "return": {
7120
+ "type": {
7121
+ "text": "DOMRect"
7122
+ }
7123
+ },
7124
+ "parameters": [
7125
+ {
7126
+ "name": "el",
7127
+ "type": {
7128
+ "text": "HTMLElement"
7129
+ }
7130
+ }
7131
+ ]
7132
+ },
7082
7133
  {
7083
7134
  "kind": "method",
7084
7135
  "name": "findClosestDropzone",
@@ -7978,6 +8029,33 @@
7978
8029
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
7979
8030
  }
7980
8031
  },
8032
+ {
8033
+ "kind": "field",
8034
+ "name": "onMove",
8035
+ "privacy": "private",
8036
+ "inheritedFrom": {
8037
+ "name": "DragDropInteractionMixin",
8038
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
8039
+ }
8040
+ },
8041
+ {
8042
+ "kind": "field",
8043
+ "name": "onEnd",
8044
+ "privacy": "private",
8045
+ "inheritedFrom": {
8046
+ "name": "DragDropInteractionMixin",
8047
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
8048
+ }
8049
+ },
8050
+ {
8051
+ "kind": "field",
8052
+ "name": "onCancel",
8053
+ "privacy": "private",
8054
+ "inheritedFrom": {
8055
+ "name": "DragDropInteractionMixin",
8056
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
8057
+ }
8058
+ },
7981
8059
  {
7982
8060
  "kind": "field",
7983
8061
  "name": "MIN_DRAG_DISTANCE",
@@ -8756,6 +8834,28 @@
8756
8834
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
8757
8835
  }
8758
8836
  },
8837
+ {
8838
+ "kind": "method",
8839
+ "name": "getDropzoneRect",
8840
+ "privacy": "private",
8841
+ "return": {
8842
+ "type": {
8843
+ "text": "DOMRect"
8844
+ }
8845
+ },
8846
+ "parameters": [
8847
+ {
8848
+ "name": "el",
8849
+ "type": {
8850
+ "text": "HTMLElement"
8851
+ }
8852
+ }
8853
+ ],
8854
+ "inheritedFrom": {
8855
+ "name": "DragDropInteractionMixin",
8856
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
8857
+ }
8858
+ },
8759
8859
  {
8760
8860
  "kind": "method",
8761
8861
  "name": "findClosestDropzone",
@@ -11051,6 +11151,33 @@
11051
11151
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11052
11152
  }
11053
11153
  },
11154
+ {
11155
+ "kind": "field",
11156
+ "name": "onMove",
11157
+ "privacy": "private",
11158
+ "inheritedFrom": {
11159
+ "name": "DragDropInteractionMixin",
11160
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11161
+ }
11162
+ },
11163
+ {
11164
+ "kind": "field",
11165
+ "name": "onEnd",
11166
+ "privacy": "private",
11167
+ "inheritedFrom": {
11168
+ "name": "DragDropInteractionMixin",
11169
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11170
+ }
11171
+ },
11172
+ {
11173
+ "kind": "field",
11174
+ "name": "onCancel",
11175
+ "privacy": "private",
11176
+ "inheritedFrom": {
11177
+ "name": "DragDropInteractionMixin",
11178
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11179
+ }
11180
+ },
11054
11181
  {
11055
11182
  "kind": "field",
11056
11183
  "name": "MIN_DRAG_DISTANCE",
@@ -11829,6 +11956,28 @@
11829
11956
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11830
11957
  }
11831
11958
  },
11959
+ {
11960
+ "kind": "method",
11961
+ "name": "getDropzoneRect",
11962
+ "privacy": "private",
11963
+ "return": {
11964
+ "type": {
11965
+ "text": "DOMRect"
11966
+ }
11967
+ },
11968
+ "parameters": [
11969
+ {
11970
+ "name": "el",
11971
+ "type": {
11972
+ "text": "HTMLElement"
11973
+ }
11974
+ }
11975
+ ],
11976
+ "inheritedFrom": {
11977
+ "name": "DragDropInteractionMixin",
11978
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
11979
+ }
11980
+ },
11832
11981
  {
11833
11982
  "kind": "method",
11834
11983
  "name": "findClosestDropzone",
@@ -13034,6 +13183,33 @@
13034
13183
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13035
13184
  }
13036
13185
  },
13186
+ {
13187
+ "kind": "field",
13188
+ "name": "onMove",
13189
+ "privacy": "private",
13190
+ "inheritedFrom": {
13191
+ "name": "DragDropInteractionMixin",
13192
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13193
+ }
13194
+ },
13195
+ {
13196
+ "kind": "field",
13197
+ "name": "onEnd",
13198
+ "privacy": "private",
13199
+ "inheritedFrom": {
13200
+ "name": "DragDropInteractionMixin",
13201
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13202
+ }
13203
+ },
13204
+ {
13205
+ "kind": "field",
13206
+ "name": "onCancel",
13207
+ "privacy": "private",
13208
+ "inheritedFrom": {
13209
+ "name": "DragDropInteractionMixin",
13210
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13211
+ }
13212
+ },
13037
13213
  {
13038
13214
  "kind": "field",
13039
13215
  "name": "MIN_DRAG_DISTANCE",
@@ -13812,6 +13988,28 @@
13812
13988
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
13813
13989
  }
13814
13990
  },
13991
+ {
13992
+ "kind": "method",
13993
+ "name": "getDropzoneRect",
13994
+ "privacy": "private",
13995
+ "return": {
13996
+ "type": {
13997
+ "text": "DOMRect"
13998
+ }
13999
+ },
14000
+ "parameters": [
14001
+ {
14002
+ "name": "el",
14003
+ "type": {
14004
+ "text": "HTMLElement"
14005
+ }
14006
+ }
14007
+ ],
14008
+ "inheritedFrom": {
14009
+ "name": "DragDropInteractionMixin",
14010
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
14011
+ }
14012
+ },
13815
14013
  {
13816
14014
  "kind": "method",
13817
14015
  "name": "findClosestDropzone",
@@ -14512,13 +14710,40 @@
14512
14710
  "description": "",
14513
14711
  "name": "QtiHotspotInteraction",
14514
14712
  "members": [
14713
+ {
14714
+ "kind": "field",
14715
+ "name": "imageLoadPromise",
14716
+ "type": {
14717
+ "text": "Promise<HTMLImageElement> | null"
14718
+ },
14719
+ "privacy": "private",
14720
+ "default": "null"
14721
+ },
14722
+ {
14723
+ "kind": "method",
14724
+ "name": "getImageLoadPromise",
14725
+ "privacy": "private",
14726
+ "return": {
14727
+ "type": {
14728
+ "text": "Promise<HTMLImageElement>"
14729
+ }
14730
+ },
14731
+ "parameters": [
14732
+ {
14733
+ "name": "img",
14734
+ "type": {
14735
+ "text": "HTMLImageElement"
14736
+ }
14737
+ }
14738
+ ]
14739
+ },
14515
14740
  {
14516
14741
  "kind": "method",
14517
14742
  "name": "positionHotspotOnRegister",
14518
14743
  "privacy": "private",
14519
14744
  "return": {
14520
14745
  "type": {
14521
- "text": "void"
14746
+ "text": "Promise<void>"
14522
14747
  }
14523
14748
  },
14524
14749
  "parameters": [
@@ -16246,6 +16471,33 @@
16246
16471
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
16247
16472
  }
16248
16473
  },
16474
+ {
16475
+ "kind": "field",
16476
+ "name": "onMove",
16477
+ "privacy": "private",
16478
+ "inheritedFrom": {
16479
+ "name": "DragDropInteractionMixin",
16480
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
16481
+ }
16482
+ },
16483
+ {
16484
+ "kind": "field",
16485
+ "name": "onEnd",
16486
+ "privacy": "private",
16487
+ "inheritedFrom": {
16488
+ "name": "DragDropInteractionMixin",
16489
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
16490
+ }
16491
+ },
16492
+ {
16493
+ "kind": "field",
16494
+ "name": "onCancel",
16495
+ "privacy": "private",
16496
+ "inheritedFrom": {
16497
+ "name": "DragDropInteractionMixin",
16498
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
16499
+ }
16500
+ },
16249
16501
  {
16250
16502
  "kind": "field",
16251
16503
  "name": "MIN_DRAG_DISTANCE",
@@ -16997,6 +17249,28 @@
16997
17249
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
16998
17250
  }
16999
17251
  },
17252
+ {
17253
+ "kind": "method",
17254
+ "name": "getDropzoneRect",
17255
+ "privacy": "private",
17256
+ "return": {
17257
+ "type": {
17258
+ "text": "DOMRect"
17259
+ }
17260
+ },
17261
+ "parameters": [
17262
+ {
17263
+ "name": "el",
17264
+ "type": {
17265
+ "text": "HTMLElement"
17266
+ }
17267
+ }
17268
+ ],
17269
+ "inheritedFrom": {
17270
+ "name": "DragDropInteractionMixin",
17271
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17272
+ }
17273
+ },
17000
17274
  {
17001
17275
  "kind": "method",
17002
17276
  "name": "findClosestDropzone",
@@ -17579,6 +17853,33 @@
17579
17853
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17580
17854
  }
17581
17855
  },
17856
+ {
17857
+ "kind": "field",
17858
+ "name": "onMove",
17859
+ "privacy": "private",
17860
+ "inheritedFrom": {
17861
+ "name": "DragDropInteractionMixin",
17862
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17863
+ }
17864
+ },
17865
+ {
17866
+ "kind": "field",
17867
+ "name": "onEnd",
17868
+ "privacy": "private",
17869
+ "inheritedFrom": {
17870
+ "name": "DragDropInteractionMixin",
17871
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17872
+ }
17873
+ },
17874
+ {
17875
+ "kind": "field",
17876
+ "name": "onCancel",
17877
+ "privacy": "private",
17878
+ "inheritedFrom": {
17879
+ "name": "DragDropInteractionMixin",
17880
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
17881
+ }
17882
+ },
17582
17883
  {
17583
17884
  "kind": "field",
17584
17885
  "name": "MIN_DRAG_DISTANCE",
@@ -18357,6 +18658,28 @@
18357
18658
  "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
18358
18659
  }
18359
18660
  },
18661
+ {
18662
+ "kind": "method",
18663
+ "name": "getDropzoneRect",
18664
+ "privacy": "private",
18665
+ "return": {
18666
+ "type": {
18667
+ "text": "DOMRect"
18668
+ }
18669
+ },
18670
+ "parameters": [
18671
+ {
18672
+ "name": "el",
18673
+ "type": {
18674
+ "text": "HTMLElement"
18675
+ }
18676
+ }
18677
+ ],
18678
+ "inheritedFrom": {
18679
+ "name": "DragDropInteractionMixin",
18680
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
18681
+ }
18682
+ },
18360
18683
  {
18361
18684
  "kind": "method",
18362
18685
  "name": "findClosestDropzone",
@@ -28360,6 +28683,14 @@
28360
28683
  }
28361
28684
  }
28362
28685
  ],
28686
+ "events": [
28687
+ {
28688
+ "name": "qti-stamp-context-updated",
28689
+ "type": {
28690
+ "text": "CustomEvent"
28691
+ }
28692
+ }
28693
+ ],
28363
28694
  "attributes": [
28364
28695
  {
28365
28696
  "name": "debug",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  item_default
3
- } from "./chunk-LSEB52SP.js";
3
+ } from "./chunk-PT5ASWGQ.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk-ELDMXTUQ.js";
@@ -362,4 +362,4 @@ export {
362
362
  ItemShowCorrectResponse,
363
363
  QtiItem
364
364
  };
365
- //# sourceMappingURL=chunk-4BDOB6KY.js.map
365
+ //# sourceMappingURL=chunk-4QSZJYSB.js.map