@citolab/qti-components 6.0.9 → 6.0.11

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.
@@ -452,7 +452,7 @@
452
452
  },
453
453
  {
454
454
  "kind": "javascript-module",
455
- "path": "src/lib/qti-item-react/index.ts",
455
+ "path": "src/lib/qti-transform/index.ts",
456
456
  "declarations": [],
457
457
  "exports": [
458
458
  {
@@ -460,35 +460,42 @@
460
460
  "name": "*",
461
461
  "declaration": {
462
462
  "name": "*",
463
- "package": "./qti-item.react"
463
+ "package": "./qti-transform"
464
464
  }
465
465
  }
466
466
  ]
467
467
  },
468
468
  {
469
469
  "kind": "javascript-module",
470
- "path": "src/lib/qti-item-react/qti-item.react.ts",
470
+ "path": "src/lib/qti-transform/qti-transform.ts",
471
471
  "declarations": [
472
472
  {
473
- "kind": "variable",
474
- "name": "QtiItem",
475
- "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 qtiitemconnected: 'qti-item-connected'\n }\n})"
473
+ "kind": "function",
474
+ "name": "qtiTransform",
475
+ "parameters": [
476
+ {
477
+ "name": "xmlValue",
478
+ "type": {
479
+ "text": "string"
480
+ }
481
+ }
482
+ ]
476
483
  }
477
484
  ],
478
485
  "exports": [
479
486
  {
480
487
  "kind": "js",
481
- "name": "QtiItem",
488
+ "name": "qtiTransform",
482
489
  "declaration": {
483
- "name": "QtiItem",
484
- "module": "src/lib/qti-item-react/qti-item.react.ts"
490
+ "name": "qtiTransform",
491
+ "module": "src/lib/qti-transform/qti-transform.ts"
485
492
  }
486
493
  }
487
494
  ]
488
495
  },
489
496
  {
490
497
  "kind": "javascript-module",
491
- "path": "src/lib/qti-transform/index.ts",
498
+ "path": "src/lib/qti-item-react/index.ts",
492
499
  "declarations": [],
493
500
  "exports": [
494
501
  {
@@ -496,35 +503,28 @@
496
503
  "name": "*",
497
504
  "declaration": {
498
505
  "name": "*",
499
- "package": "./qti-transform"
506
+ "package": "./qti-item.react"
500
507
  }
501
508
  }
502
509
  ]
503
510
  },
504
511
  {
505
512
  "kind": "javascript-module",
506
- "path": "src/lib/qti-transform/qti-transform.ts",
513
+ "path": "src/lib/qti-item-react/qti-item.react.ts",
507
514
  "declarations": [
508
515
  {
509
- "kind": "function",
510
- "name": "qtiTransform",
511
- "parameters": [
512
- {
513
- "name": "xmlValue",
514
- "type": {
515
- "text": "string"
516
- }
517
- }
518
- ]
516
+ "kind": "variable",
517
+ "name": "QtiItem",
518
+ "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 qtiitemconnected: 'qti-item-connected'\n }\n})"
519
519
  }
520
520
  ],
521
521
  "exports": [
522
522
  {
523
523
  "kind": "js",
524
- "name": "qtiTransform",
524
+ "name": "QtiItem",
525
525
  "declaration": {
526
- "name": "qtiTransform",
527
- "module": "src/lib/qti-transform/qti-transform.ts"
526
+ "name": "QtiItem",
527
+ "module": "src/lib/qti-item-react/qti-item.react.ts"
528
528
  }
529
529
  }
530
530
  ]
@@ -3455,26 +3455,19 @@
3455
3455
  },
3456
3456
  {
3457
3457
  "kind": "javascript-module",
3458
- "path": "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts",
3458
+ "path": "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts",
3459
3459
  "declarations": [
3460
3460
  {
3461
3461
  "kind": "class",
3462
3462
  "description": "",
3463
- "name": "QtiMatchInteraction",
3463
+ "name": "QtiMediaInteraction",
3464
3464
  "members": [],
3465
- "mixins": [
3466
- {
3467
- "name": "DragDropInteractionMixin",
3468
- "module": "/src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin"
3469
- }
3470
- ],
3471
- "superclass": {
3472
- "name": "LitElement",
3473
- "package": "lit"
3474
- },
3475
- "tagName": "qti-match-interaction",
3476
- "customElement": true,
3477
3465
  "attributes": [
3466
+ {
3467
+ "name": "",
3468
+ "fieldName": "",
3469
+ "attribute": ""
3470
+ },
3478
3471
  {
3479
3472
  "name": "response-identifier",
3480
3473
  "type": {
@@ -3483,8 +3476,8 @@
3483
3476
  "default": "''",
3484
3477
  "fieldName": "responseIdentifier",
3485
3478
  "inheritedFrom": {
3486
- "name": "DragDropInteractionMixin",
3487
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3479
+ "name": "Interaction",
3480
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3488
3481
  }
3489
3482
  },
3490
3483
  {
@@ -3493,10 +3486,11 @@
3493
3486
  "text": "boolean"
3494
3487
  },
3495
3488
  "default": "false",
3489
+ "description": "disabled should be exposed to the attributes and accessible as property",
3496
3490
  "fieldName": "disabled",
3497
3491
  "inheritedFrom": {
3498
- "name": "DroppablesMixin",
3499
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
3492
+ "name": "Interaction",
3493
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3500
3494
  }
3501
3495
  },
3502
3496
  {
@@ -3505,37 +3499,20 @@
3505
3499
  "text": "boolean"
3506
3500
  },
3507
3501
  "default": "false",
3502
+ "description": "readonly should be exposed to the attributes and accessible as property",
3508
3503
  "fieldName": "readonly",
3509
3504
  "inheritedFrom": {
3510
- "name": "DragDropInteractionMixin",
3511
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3512
- }
3513
- },
3514
- {
3515
- "name": "min-associations",
3516
- "type": {
3517
- "text": "number"
3518
- },
3519
- "default": "1",
3520
- "fieldName": "minAssociations",
3521
- "inheritedFrom": {
3522
- "name": "DragDropInteractionMixin",
3523
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3524
- }
3525
- },
3526
- {
3527
- "name": "max-associations",
3528
- "type": {
3529
- "text": "number"
3530
- },
3531
- "default": "1",
3532
- "fieldName": "maxAssociations",
3533
- "inheritedFrom": {
3534
- "name": "DragDropInteractionMixin",
3535
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3505
+ "name": "Interaction",
3506
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3536
3507
  }
3537
3508
  }
3538
3509
  ],
3510
+ "superclass": {
3511
+ "name": "Interaction",
3512
+ "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
3513
+ },
3514
+ "tagName": "qti-media-interaction",
3515
+ "customElement": true,
3539
3516
  "events": [
3540
3517
  {
3541
3518
  "name": "qti-register-interaction",
@@ -3543,8 +3520,8 @@
3543
3520
  "text": "CustomEvent"
3544
3521
  },
3545
3522
  "inheritedFrom": {
3546
- "name": "DragDropInteractionMixin",
3547
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3523
+ "name": "Interaction",
3524
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3548
3525
  }
3549
3526
  },
3550
3527
  {
@@ -3553,8 +3530,8 @@
3553
3530
  "text": "CustomEvent"
3554
3531
  },
3555
3532
  "inheritedFrom": {
3556
- "name": "DragDropInteractionMixin",
3557
- "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3533
+ "name": "Interaction",
3534
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3558
3535
  }
3559
3536
  }
3560
3537
  ]
@@ -3563,37 +3540,44 @@
3563
3540
  "exports": [
3564
3541
  {
3565
3542
  "kind": "js",
3566
- "name": "QtiMatchInteraction",
3543
+ "name": "QtiMediaInteraction",
3567
3544
  "declaration": {
3568
- "name": "QtiMatchInteraction",
3569
- "module": "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts"
3545
+ "name": "QtiMediaInteraction",
3546
+ "module": "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts"
3570
3547
  }
3571
3548
  },
3572
3549
  {
3573
3550
  "kind": "custom-element-definition",
3574
- "name": "qti-match-interaction",
3551
+ "name": "qti-media-interaction",
3575
3552
  "declaration": {
3576
- "name": "QtiMatchInteraction",
3577
- "module": "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts"
3553
+ "name": "QtiMediaInteraction",
3554
+ "module": "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts"
3578
3555
  }
3579
3556
  }
3580
3557
  ]
3581
3558
  },
3582
3559
  {
3583
3560
  "kind": "javascript-module",
3584
- "path": "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts",
3561
+ "path": "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts",
3585
3562
  "declarations": [
3586
3563
  {
3587
3564
  "kind": "class",
3588
3565
  "description": "",
3589
- "name": "QtiMediaInteraction",
3566
+ "name": "QtiMatchInteraction",
3590
3567
  "members": [],
3591
- "attributes": [
3568
+ "mixins": [
3592
3569
  {
3593
- "name": "",
3594
- "fieldName": "",
3595
- "attribute": ""
3596
- },
3570
+ "name": "DragDropInteractionMixin",
3571
+ "module": "/src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin"
3572
+ }
3573
+ ],
3574
+ "superclass": {
3575
+ "name": "LitElement",
3576
+ "package": "lit"
3577
+ },
3578
+ "tagName": "qti-match-interaction",
3579
+ "customElement": true,
3580
+ "attributes": [
3597
3581
  {
3598
3582
  "name": "response-identifier",
3599
3583
  "type": {
@@ -3602,8 +3586,8 @@
3602
3586
  "default": "''",
3603
3587
  "fieldName": "responseIdentifier",
3604
3588
  "inheritedFrom": {
3605
- "name": "Interaction",
3606
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3589
+ "name": "DragDropInteractionMixin",
3590
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3607
3591
  }
3608
3592
  },
3609
3593
  {
@@ -3612,11 +3596,10 @@
3612
3596
  "text": "boolean"
3613
3597
  },
3614
3598
  "default": "false",
3615
- "description": "disabled should be exposed to the attributes and accessible as property",
3616
3599
  "fieldName": "disabled",
3617
3600
  "inheritedFrom": {
3618
- "name": "Interaction",
3619
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3601
+ "name": "DroppablesMixin",
3602
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/droppables-mixin.ts"
3620
3603
  }
3621
3604
  },
3622
3605
  {
@@ -3625,20 +3608,37 @@
3625
3608
  "text": "boolean"
3626
3609
  },
3627
3610
  "default": "false",
3628
- "description": "readonly should be exposed to the attributes and accessible as property",
3629
3611
  "fieldName": "readonly",
3630
3612
  "inheritedFrom": {
3631
- "name": "Interaction",
3632
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3613
+ "name": "DragDropInteractionMixin",
3614
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3615
+ }
3616
+ },
3617
+ {
3618
+ "name": "min-associations",
3619
+ "type": {
3620
+ "text": "number"
3621
+ },
3622
+ "default": "1",
3623
+ "fieldName": "minAssociations",
3624
+ "inheritedFrom": {
3625
+ "name": "DragDropInteractionMixin",
3626
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3627
+ }
3628
+ },
3629
+ {
3630
+ "name": "max-associations",
3631
+ "type": {
3632
+ "text": "number"
3633
+ },
3634
+ "default": "1",
3635
+ "fieldName": "maxAssociations",
3636
+ "inheritedFrom": {
3637
+ "name": "DragDropInteractionMixin",
3638
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3633
3639
  }
3634
3640
  }
3635
3641
  ],
3636
- "superclass": {
3637
- "name": "Interaction",
3638
- "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
3639
- },
3640
- "tagName": "qti-media-interaction",
3641
- "customElement": true,
3642
3642
  "events": [
3643
3643
  {
3644
3644
  "name": "qti-register-interaction",
@@ -3646,8 +3646,8 @@
3646
3646
  "text": "CustomEvent"
3647
3647
  },
3648
3648
  "inheritedFrom": {
3649
- "name": "Interaction",
3650
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3649
+ "name": "DragDropInteractionMixin",
3650
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3651
3651
  }
3652
3652
  },
3653
3653
  {
@@ -3656,8 +3656,8 @@
3656
3656
  "text": "CustomEvent"
3657
3657
  },
3658
3658
  "inheritedFrom": {
3659
- "name": "Interaction",
3660
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3659
+ "name": "DragDropInteractionMixin",
3660
+ "module": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-interaction-mixin.ts"
3661
3661
  }
3662
3662
  }
3663
3663
  ]
@@ -3666,18 +3666,18 @@
3666
3666
  "exports": [
3667
3667
  {
3668
3668
  "kind": "js",
3669
- "name": "QtiMediaInteraction",
3669
+ "name": "QtiMatchInteraction",
3670
3670
  "declaration": {
3671
- "name": "QtiMediaInteraction",
3672
- "module": "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts"
3671
+ "name": "QtiMatchInteraction",
3672
+ "module": "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts"
3673
3673
  }
3674
3674
  },
3675
3675
  {
3676
3676
  "kind": "custom-element-definition",
3677
- "name": "qti-media-interaction",
3677
+ "name": "qti-match-interaction",
3678
3678
  "declaration": {
3679
- "name": "QtiMediaInteraction",
3680
- "module": "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts"
3679
+ "name": "QtiMatchInteraction",
3680
+ "module": "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts"
3681
3681
  }
3682
3682
  }
3683
3683
  ]
@@ -4388,33 +4388,78 @@
4388
4388
  },
4389
4389
  {
4390
4390
  "kind": "javascript-module",
4391
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression.ts",
4391
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts",
4392
4392
  "declarations": [
4393
4393
  {
4394
4394
  "kind": "class",
4395
4395
  "description": "",
4396
- "name": "QtiConditionExpression",
4396
+ "name": "QtiResponseElse",
4397
4397
  "members": [],
4398
+ "attributes": [
4399
+ {
4400
+ "name": "debugCalculateResult",
4401
+ "type": {
4402
+ "text": "object"
4403
+ },
4404
+ "fieldName": "debugCalculateResult"
4405
+ }
4406
+ ],
4398
4407
  "superclass": {
4399
- "name": "QtiExpression",
4400
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
4401
- }
4408
+ "name": "LitElement",
4409
+ "package": "lit"
4410
+ },
4411
+ "tagName": "qti-response-else",
4412
+ "customElement": true
4402
4413
  }
4403
4414
  ],
4404
4415
  "exports": [
4405
4416
  {
4406
4417
  "kind": "js",
4407
- "name": "QtiConditionExpression",
4418
+ "name": "QtiResponseElse",
4408
4419
  "declaration": {
4409
- "name": "QtiConditionExpression",
4410
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression.ts"
4420
+ "name": "QtiResponseElse",
4421
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts"
4422
+ }
4423
+ },
4424
+ {
4425
+ "kind": "custom-element-definition",
4426
+ "name": "qti-response-else",
4427
+ "declaration": {
4428
+ "name": "QtiResponseElse",
4429
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts"
4411
4430
  }
4412
4431
  }
4413
4432
  ]
4414
4433
  },
4415
4434
  {
4416
4435
  "kind": "javascript-module",
4417
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression.ts",
4436
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression.ts",
4437
+ "declarations": [
4438
+ {
4439
+ "kind": "class",
4440
+ "description": "",
4441
+ "name": "QtiConditionExpression",
4442
+ "members": [],
4443
+ "superclass": {
4444
+ "name": "QtiExpression",
4445
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
4446
+ }
4447
+ }
4448
+ ],
4449
+ "exports": [
4450
+ {
4451
+ "kind": "js",
4452
+ "name": "QtiConditionExpression",
4453
+ "declaration": {
4454
+ "name": "QtiConditionExpression",
4455
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression.ts"
4456
+ }
4457
+ }
4458
+ ]
4459
+ },
4460
+ {
4461
+ "kind": "javascript-module",
4462
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression.ts",
4418
4463
  "declarations": [
4419
4464
  {
4420
4465
  "kind": "class",
@@ -4450,45 +4495,36 @@
4450
4495
  },
4451
4496
  {
4452
4497
  "kind": "javascript-module",
4453
- "path": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts",
4498
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts",
4454
4499
  "declarations": [
4455
4500
  {
4456
4501
  "kind": "class",
4457
4502
  "description": "",
4458
- "name": "QtiResponseElse",
4503
+ "name": "QtiRule",
4459
4504
  "members": [],
4460
- "attributes": [
4461
- {
4462
- "name": "debugCalculateResult",
4463
- "type": {
4464
- "text": "object"
4465
- },
4466
- "fieldName": "debugCalculateResult"
4467
- }
4468
- ],
4469
4505
  "superclass": {
4470
4506
  "name": "LitElement",
4471
4507
  "package": "lit"
4472
4508
  },
4473
- "tagName": "qti-response-else",
4509
+ "tagName": "qti-rule",
4474
4510
  "customElement": true
4475
4511
  }
4476
4512
  ],
4477
4513
  "exports": [
4478
4514
  {
4479
4515
  "kind": "js",
4480
- "name": "QtiResponseElse",
4516
+ "name": "QtiRule",
4481
4517
  "declaration": {
4482
- "name": "QtiResponseElse",
4483
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts"
4518
+ "name": "QtiRule",
4519
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
4484
4520
  }
4485
4521
  },
4486
4522
  {
4487
4523
  "kind": "custom-element-definition",
4488
- "name": "qti-response-else",
4524
+ "name": "qti-rule",
4489
4525
  "declaration": {
4490
- "name": "QtiResponseElse",
4491
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts"
4526
+ "name": "QtiRule",
4527
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
4492
4528
  }
4493
4529
  }
4494
4530
  ]
@@ -4534,42 +4570,6 @@
4534
4570
  }
4535
4571
  ]
4536
4572
  },
4537
- {
4538
- "kind": "javascript-module",
4539
- "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts",
4540
- "declarations": [
4541
- {
4542
- "kind": "class",
4543
- "description": "",
4544
- "name": "QtiRule",
4545
- "members": [],
4546
- "superclass": {
4547
- "name": "LitElement",
4548
- "package": "lit"
4549
- },
4550
- "tagName": "qti-rule",
4551
- "customElement": true
4552
- }
4553
- ],
4554
- "exports": [
4555
- {
4556
- "kind": "js",
4557
- "name": "QtiRule",
4558
- "declaration": {
4559
- "name": "QtiRule",
4560
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
4561
- }
4562
- },
4563
- {
4564
- "kind": "custom-element-definition",
4565
- "name": "qti-rule",
4566
- "declaration": {
4567
- "name": "QtiRule",
4568
- "module": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts"
4569
- }
4570
- }
4571
- ]
4572
- },
4573
4573
  {
4574
4574
  "kind": "javascript-module",
4575
4575
  "path": "src/lib/qti-components/qti-utilities/events/qti-choice-element-selected.ts",
@@ -5179,6 +5179,52 @@
5179
5179
  }
5180
5180
  ]
5181
5181
  },
5182
+ {
5183
+ "kind": "javascript-module",
5184
+ "path": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts",
5185
+ "declarations": [
5186
+ {
5187
+ "kind": "function",
5188
+ "name": "positionHotspots",
5189
+ "parameters": [
5190
+ {
5191
+ "name": "shape",
5192
+ "type": {
5193
+ "text": "string"
5194
+ }
5195
+ },
5196
+ {
5197
+ "name": "coordsNumber",
5198
+ "type": {
5199
+ "text": "number[]"
5200
+ }
5201
+ },
5202
+ {
5203
+ "name": "img",
5204
+ "type": {
5205
+ "text": "HTMLImageElement"
5206
+ }
5207
+ },
5208
+ {
5209
+ "name": "hotspot",
5210
+ "type": {
5211
+ "text": "QtiHotspotChoice"
5212
+ }
5213
+ }
5214
+ ]
5215
+ }
5216
+ ],
5217
+ "exports": [
5218
+ {
5219
+ "kind": "js",
5220
+ "name": "positionHotspots",
5221
+ "declaration": {
5222
+ "name": "positionHotspots",
5223
+ "module": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts"
5224
+ }
5225
+ }
5226
+ ]
5227
+ },
5182
5228
  {
5183
5229
  "kind": "javascript-module",
5184
5230
  "path": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop-api.ts",
@@ -5472,82 +5518,49 @@
5472
5518
  },
5473
5519
  {
5474
5520
  "kind": "javascript-module",
5475
- "path": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts",
5476
- "declarations": [
5477
- {
5478
- "kind": "function",
5479
- "name": "positionHotspots",
5480
- "parameters": [
5481
- {
5482
- "name": "shape",
5483
- "type": {
5484
- "text": "string"
5485
- }
5486
- },
5487
- {
5488
- "name": "coordsNumber",
5489
- "type": {
5490
- "text": "number[]"
5491
- }
5492
- },
5493
- {
5494
- "name": "img",
5495
- "type": {
5496
- "text": "HTMLImageElement"
5497
- }
5498
- },
5499
- {
5500
- "name": "hotspot",
5501
- "type": {
5502
- "text": "QtiHotspotChoice"
5503
- }
5504
- }
5505
- ]
5506
- }
5507
- ],
5508
- "exports": [
5509
- {
5510
- "kind": "js",
5511
- "name": "positionHotspots",
5512
- "declaration": {
5513
- "name": "positionHotspots",
5514
- "module": "src/lib/qti-components/qti-interaction/internal/hotspots/hotspot.ts"
5515
- }
5516
- }
5517
- ]
5518
- },
5519
- {
5520
- "kind": "javascript-module",
5521
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts",
5521
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.ts",
5522
5522
  "declarations": [
5523
5523
  {
5524
5524
  "kind": "class",
5525
5525
  "description": "",
5526
- "name": "QtiAnd",
5526
+ "name": "QtiResponseIf",
5527
5527
  "members": [],
5528
5528
  "superclass": {
5529
- "name": "QtiConditionExpression",
5530
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
5529
+ "name": "QtiResponseElse",
5530
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse"
5531
5531
  },
5532
- "tagName": "qti-and",
5533
- "customElement": true
5532
+ "tagName": "qti-response-if",
5533
+ "customElement": true,
5534
+ "attributes": [
5535
+ {
5536
+ "name": "debugCalculateResult",
5537
+ "type": {
5538
+ "text": "object"
5539
+ },
5540
+ "fieldName": "debugCalculateResult",
5541
+ "inheritedFrom": {
5542
+ "name": "QtiResponseElse",
5543
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts"
5544
+ }
5545
+ }
5546
+ ]
5534
5547
  }
5535
5548
  ],
5536
5549
  "exports": [
5537
5550
  {
5538
5551
  "kind": "js",
5539
- "name": "QtiAnd",
5552
+ "name": "QtiResponseIf",
5540
5553
  "declaration": {
5541
- "name": "QtiAnd",
5542
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
5554
+ "name": "QtiResponseIf",
5555
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.ts"
5543
5556
  }
5544
5557
  },
5545
5558
  {
5546
5559
  "kind": "custom-element-definition",
5547
- "name": "qti-and",
5560
+ "name": "qti-response-if",
5548
5561
  "declaration": {
5549
- "name": "QtiAnd",
5550
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
5562
+ "name": "QtiResponseIf",
5563
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.ts"
5551
5564
  }
5552
5565
  }
5553
5566
  ]
@@ -5675,36 +5688,36 @@
5675
5688
  },
5676
5689
  {
5677
5690
  "kind": "javascript-module",
5678
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts",
5691
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts",
5679
5692
  "declarations": [
5680
5693
  {
5681
5694
  "kind": "class",
5682
5695
  "description": "",
5683
- "name": "QtiContains",
5696
+ "name": "QtiAnd",
5684
5697
  "members": [],
5685
5698
  "superclass": {
5686
- "name": "QtiExpression",
5687
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
5699
+ "name": "QtiConditionExpression",
5700
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-condition-expression"
5688
5701
  },
5689
- "tagName": "qti-contains",
5702
+ "tagName": "qti-and",
5690
5703
  "customElement": true
5691
5704
  }
5692
5705
  ],
5693
5706
  "exports": [
5694
5707
  {
5695
5708
  "kind": "js",
5696
- "name": "QtiContains",
5709
+ "name": "QtiAnd",
5697
5710
  "declaration": {
5698
- "name": "QtiContains",
5699
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
5711
+ "name": "QtiAnd",
5712
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
5700
5713
  }
5701
5714
  },
5702
5715
  {
5703
5716
  "kind": "custom-element-definition",
5704
- "name": "qti-contains",
5717
+ "name": "qti-and",
5705
5718
  "declaration": {
5706
- "name": "QtiContains",
5707
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
5719
+ "name": "QtiAnd",
5720
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-and/qti-and.ts"
5708
5721
  }
5709
5722
  }
5710
5723
  ]
@@ -5745,6 +5758,42 @@
5745
5758
  }
5746
5759
  ]
5747
5760
  },
5761
+ {
5762
+ "kind": "javascript-module",
5763
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts",
5764
+ "declarations": [
5765
+ {
5766
+ "kind": "class",
5767
+ "description": "",
5768
+ "name": "QtiContains",
5769
+ "members": [],
5770
+ "superclass": {
5771
+ "name": "QtiExpression",
5772
+ "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
5773
+ },
5774
+ "tagName": "qti-contains",
5775
+ "customElement": true
5776
+ }
5777
+ ],
5778
+ "exports": [
5779
+ {
5780
+ "kind": "js",
5781
+ "name": "QtiContains",
5782
+ "declaration": {
5783
+ "name": "QtiContains",
5784
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
5785
+ }
5786
+ },
5787
+ {
5788
+ "kind": "custom-element-definition",
5789
+ "name": "qti-contains",
5790
+ "declaration": {
5791
+ "name": "QtiContains",
5792
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-contains/qti-contains.ts"
5793
+ }
5794
+ }
5795
+ ]
5796
+ },
5748
5797
  {
5749
5798
  "kind": "javascript-module",
5750
5799
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts",
@@ -6302,55 +6351,6 @@
6302
6351
  }
6303
6352
  ]
6304
6353
  },
6305
- {
6306
- "kind": "javascript-module",
6307
- "path": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.ts",
6308
- "declarations": [
6309
- {
6310
- "kind": "class",
6311
- "description": "",
6312
- "name": "QtiResponseIf",
6313
- "members": [],
6314
- "superclass": {
6315
- "name": "QtiResponseElse",
6316
- "module": "/src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse"
6317
- },
6318
- "tagName": "qti-response-if",
6319
- "customElement": true,
6320
- "attributes": [
6321
- {
6322
- "name": "debugCalculateResult",
6323
- "type": {
6324
- "text": "object"
6325
- },
6326
- "fieldName": "debugCalculateResult",
6327
- "inheritedFrom": {
6328
- "name": "QtiResponseElse",
6329
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseelse.ts"
6330
- }
6331
- }
6332
- ]
6333
- }
6334
- ],
6335
- "exports": [
6336
- {
6337
- "kind": "js",
6338
- "name": "QtiResponseIf",
6339
- "declaration": {
6340
- "name": "QtiResponseIf",
6341
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.ts"
6342
- }
6343
- },
6344
- {
6345
- "kind": "custom-element-definition",
6346
- "name": "qti-response-if",
6347
- "declaration": {
6348
- "name": "QtiResponseIf",
6349
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.ts"
6350
- }
6351
- }
6352
- ]
6353
- },
6354
6354
  {
6355
6355
  "kind": "javascript-module",
6356
6356
  "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.ts",
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "engines": {
13
13
  "node": ">=16.0.0"
14
14
  },
15
- "version": "6.0.9",
15
+ "version": "6.0.11",
16
16
  "type": "module",
17
17
  "main": "dist/qti-components/index.js",
18
18
  "exports": {
@@ -71,8 +71,8 @@
71
71
  "storybook": "storybook dev -p 6006",
72
72
  "deploy": "firebase deploy --only hosting:qti-components",
73
73
  "build-storybook": "storybook build",
74
- "prepublishOnly": "npm run build-lib",
75
- "publish": "np",
74
+ "prepublishOnly": "echo 'calling prepublishOnly as npm lifecycle hook to build-lib!' && npm run build-lib",
75
+ "publish": "npx np",
76
76
  "test-storybook": "test-storybook",
77
77
  "cem": "cem analyze --watch",
78
78
  "lint": "eslint src/lib/**",
@@ -140,8 +140,7 @@
140
140
  "ts-node": "^10.9.1",
141
141
  "tsup": "^6.7.0",
142
142
  "typescript": "^4.9.5",
143
- "vite": "^4.2.0",
144
- "np": "^8.0.4"
143
+ "vite": "^4.2.0"
145
144
  },
146
145
  "customElements": "custom-elements.json"
147
146
  }