@citolab/qti-components 6.9.1-beta.81 → 7.0.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.
- package/cdn/index.global.js +277 -0
- package/cdn/index.min.cjs +4489 -0
- package/cdn/index.min.js +4489 -0
- package/dist/custom-element-eslint-rules.js +25 -19
- package/dist/item.css +172 -5
- package/dist/qti-components/index.cjs +660 -465
- package/dist/qti-components/index.cjs.map +1 -0
- package/dist/qti-components/index.d.cts +4 -4
- package/dist/qti-components/index.d.ts +4 -4
- package/dist/qti-components/index.js +615 -423
- package/dist/qti-components/index.js.map +1 -0
- package/dist/qti-components-jsx.d.ts +398 -64
- package/dist/qti-item/index.cjs +2 -3
- package/dist/qti-item/index.cjs.map +1 -0
- package/dist/qti-item/index.d.cts +1 -1
- package/dist/qti-item/index.d.ts +1 -1
- package/dist/qti-item/index.js +2 -3
- package/dist/qti-item/index.js.map +1 -0
- package/dist/qti-loader/index.cjs +5 -6
- package/dist/qti-loader/index.cjs.map +1 -0
- package/dist/qti-loader/index.d.cts +1 -1
- package/dist/qti-loader/index.d.ts +1 -1
- package/dist/qti-loader/index.js +5 -6
- package/dist/qti-loader/index.js.map +1 -0
- package/dist/{qti-simple-choice-DC5DJota.d.cts → qti-simple-choice-CynLWb8d.d.cts} +74 -26
- package/dist/{qti-simple-choice-DC5DJota.d.ts → qti-simple-choice-CynLWb8d.d.ts} +74 -26
- package/dist/qti-test/index.cjs +4632 -0
- package/dist/qti-test/index.cjs.map +1 -0
- package/dist/qti-test/index.d.cts +304 -0
- package/dist/qti-test/index.d.ts +304 -0
- package/dist/qti-test/index.js +4599 -0
- package/dist/qti-test/index.js.map +1 -0
- package/dist/qti-transformers/index.cjs +5 -6
- package/dist/qti-transformers/index.cjs.map +1 -0
- package/dist/qti-transformers/index.js +5 -6
- package/dist/qti-transformers/index.js.map +1 -0
- package/dist/vscode.css-custom-data.json +28 -0
- package/dist/vscode.html-custom-data.json +179 -230
- package/package.json +96 -67
- package/dist/custom-elements.json +0 -24168
- package/dist/index.global.js +0 -226
- package/dist/index.js +0 -7860
- package/dist/index.min.js +0 -952
- /package/{LICENSE → LICENSE.md} +0 -0
- /package/{readme.md → README.md} +0 -0
|
@@ -199,6 +199,12 @@
|
|
|
199
199
|
"attributes": [],
|
|
200
200
|
"references": []
|
|
201
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"name": "qti-subtract",
|
|
204
|
+
"description": "\n---\n",
|
|
205
|
+
"attributes": [],
|
|
206
|
+
"references": []
|
|
207
|
+
},
|
|
202
208
|
{
|
|
203
209
|
"name": "qti-string-match",
|
|
204
210
|
"description": "\n---\n",
|
|
@@ -389,16 +395,8 @@
|
|
|
389
395
|
{ "name": "data-patternmask-message", "values": [] },
|
|
390
396
|
{ "name": "class", "values": [] },
|
|
391
397
|
{ "name": "response-identifier", "values": [] },
|
|
392
|
-
{
|
|
393
|
-
|
|
394
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
395
|
-
"values": []
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"name": "readonly",
|
|
399
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
400
|
-
"values": []
|
|
401
|
-
}
|
|
398
|
+
{ "name": "disabled", "values": [] },
|
|
399
|
+
{ "name": "readonly", "values": [] }
|
|
402
400
|
],
|
|
403
401
|
"references": []
|
|
404
402
|
},
|
|
@@ -411,16 +409,8 @@
|
|
|
411
409
|
{ "name": "placeholder-text", "values": [] },
|
|
412
410
|
{ "name": "data-patternmask-message", "values": [] },
|
|
413
411
|
{ "name": "response-identifier", "values": [] },
|
|
414
|
-
{
|
|
415
|
-
|
|
416
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
417
|
-
"values": []
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"name": "readonly",
|
|
421
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
422
|
-
"values": []
|
|
423
|
-
}
|
|
412
|
+
{ "name": "disabled", "values": [] },
|
|
413
|
+
{ "name": "readonly", "values": [] }
|
|
424
414
|
],
|
|
425
415
|
"references": []
|
|
426
416
|
},
|
|
@@ -431,16 +421,8 @@
|
|
|
431
421
|
{ "name": "min-choices", "values": [] },
|
|
432
422
|
{ "name": "max-choices", "values": [] },
|
|
433
423
|
{ "name": "response-identifier", "values": [] },
|
|
434
|
-
{
|
|
435
|
-
|
|
436
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
437
|
-
"values": []
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"name": "readonly",
|
|
441
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
442
|
-
"values": []
|
|
443
|
-
}
|
|
424
|
+
{ "name": "disabled", "values": [] },
|
|
425
|
+
{ "name": "readonly", "values": [] }
|
|
444
426
|
],
|
|
445
427
|
"references": []
|
|
446
428
|
},
|
|
@@ -450,16 +432,8 @@
|
|
|
450
432
|
"attributes": [
|
|
451
433
|
{ "name": "data-prompt", "values": [] },
|
|
452
434
|
{ "name": "response-identifier", "values": [] },
|
|
453
|
-
{
|
|
454
|
-
|
|
455
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
456
|
-
"values": []
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"name": "readonly",
|
|
460
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
461
|
-
"values": []
|
|
462
|
-
}
|
|
435
|
+
{ "name": "disabled", "values": [] },
|
|
436
|
+
{ "name": "readonly", "values": [] }
|
|
463
437
|
],
|
|
464
438
|
"references": []
|
|
465
439
|
},
|
|
@@ -476,28 +450,20 @@
|
|
|
476
450
|
},
|
|
477
451
|
{
|
|
478
452
|
"name": "qti-choice-interaction",
|
|
479
|
-
"description": "
|
|
453
|
+
"description": "An sample element.\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**\n\n### **Slots:**\n - _default_ - default slot of the choices\n- **prompt** - slot of the prompt\n\n### **CSS Properties:**\n - **--qti-bg-active** - The active background color _(default: #ffecec)_\n- **--qti-border-active** - The active border color _(default: #f86d70)_\n- **--qti-padding-horizontal** - The option horizontal padding _(default: 1px)_\n- **--qti-padding-vertical** - The option vertical padding _(default: solid)_\n- **--qti-border-radius** - The option border radius _(default: 8px)_\n\n### **CSS Parts:**\n - **slot** - The choice elements\n- **prompt** - The prompt\n- **message** - The validation message",
|
|
480
454
|
"attributes": [
|
|
455
|
+
{ "name": "orientation", "values": [{ "name": "Orientation" }] },
|
|
456
|
+
{ "name": "class", "values": [] },
|
|
481
457
|
{
|
|
482
|
-
"name": "
|
|
483
|
-
"description": "
|
|
484
|
-
"values": [{ "name": "
|
|
458
|
+
"name": "shuffle",
|
|
459
|
+
"description": "<span style=\"color:blue\">some *blue* text</span>. Does not work in storybook",
|
|
460
|
+
"values": [{ "name": "true" }, { "name": "false" }]
|
|
485
461
|
},
|
|
486
|
-
{ "name": "class", "values": [] },
|
|
487
|
-
{ "name": "shuffle", "values": [] },
|
|
488
462
|
{ "name": "min-choices", "values": [] },
|
|
489
463
|
{ "name": "max-choices", "values": [] },
|
|
490
464
|
{ "name": "response-identifier", "values": [] },
|
|
491
|
-
{
|
|
492
|
-
|
|
493
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
494
|
-
"values": []
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"name": "readonly",
|
|
498
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
499
|
-
"values": []
|
|
500
|
-
}
|
|
465
|
+
{ "name": "disabled", "values": [] },
|
|
466
|
+
{ "name": "readonly", "values": [] }
|
|
501
467
|
],
|
|
502
468
|
"references": []
|
|
503
469
|
},
|
|
@@ -514,16 +480,8 @@
|
|
|
514
480
|
{ "name": "module", "values": [] },
|
|
515
481
|
{ "name": "custom-interaction-type-identifier", "values": [] },
|
|
516
482
|
{ "name": "response-identifier", "values": [] },
|
|
517
|
-
{
|
|
518
|
-
|
|
519
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
520
|
-
"values": []
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "readonly",
|
|
524
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
525
|
-
"values": []
|
|
526
|
-
}
|
|
483
|
+
{ "name": "disabled", "values": [] },
|
|
484
|
+
{ "name": "readonly", "values": [] }
|
|
527
485
|
],
|
|
528
486
|
"references": []
|
|
529
487
|
},
|
|
@@ -555,17 +513,9 @@
|
|
|
555
513
|
"attributes": [
|
|
556
514
|
{ "name": "min-associations", "values": [] },
|
|
557
515
|
{ "name": "max-associations", "values": [] },
|
|
558
|
-
{
|
|
559
|
-
"name": "disabled",
|
|
560
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
561
|
-
"values": []
|
|
562
|
-
},
|
|
516
|
+
{ "name": "disabled", "values": [] },
|
|
563
517
|
{ "name": "response-identifier", "values": [] },
|
|
564
|
-
{
|
|
565
|
-
"name": "readonly",
|
|
566
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
567
|
-
"values": []
|
|
568
|
-
}
|
|
518
|
+
{ "name": "readonly", "values": [] }
|
|
569
519
|
],
|
|
570
520
|
"references": []
|
|
571
521
|
},
|
|
@@ -578,16 +528,8 @@
|
|
|
578
528
|
{ "name": "data-base-ref", "values": [] },
|
|
579
529
|
{ "name": "id", "values": [] },
|
|
580
530
|
{ "name": "response-identifier", "values": [] },
|
|
581
|
-
{
|
|
582
|
-
|
|
583
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
584
|
-
"values": []
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"name": "readonly",
|
|
588
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
589
|
-
"values": []
|
|
590
|
-
}
|
|
531
|
+
{ "name": "disabled", "values": [] },
|
|
532
|
+
{ "name": "readonly", "values": [] }
|
|
591
533
|
],
|
|
592
534
|
"references": []
|
|
593
535
|
},
|
|
@@ -598,16 +540,8 @@
|
|
|
598
540
|
{ "name": "count-attempt", "values": [] },
|
|
599
541
|
{ "name": "title", "values": [{ "name": "end attempt" }] },
|
|
600
542
|
{ "name": "response-identifier", "values": [] },
|
|
601
|
-
{
|
|
602
|
-
|
|
603
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
604
|
-
"values": []
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"name": "readonly",
|
|
608
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
609
|
-
"values": []
|
|
610
|
-
}
|
|
543
|
+
{ "name": "disabled", "values": [] },
|
|
544
|
+
{ "name": "readonly", "values": [] }
|
|
611
545
|
],
|
|
612
546
|
"references": []
|
|
613
547
|
},
|
|
@@ -617,17 +551,9 @@
|
|
|
617
551
|
"attributes": [
|
|
618
552
|
{ "name": "min-associations", "values": [] },
|
|
619
553
|
{ "name": "max-associations", "values": [] },
|
|
620
|
-
{
|
|
621
|
-
"name": "disabled",
|
|
622
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
623
|
-
"values": []
|
|
624
|
-
},
|
|
554
|
+
{ "name": "disabled", "values": [] },
|
|
625
555
|
{ "name": "response-identifier", "values": [] },
|
|
626
|
-
{
|
|
627
|
-
"name": "readonly",
|
|
628
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
629
|
-
"values": []
|
|
630
|
-
}
|
|
556
|
+
{ "name": "readonly", "values": [] }
|
|
631
557
|
],
|
|
632
558
|
"references": []
|
|
633
559
|
},
|
|
@@ -648,16 +574,8 @@
|
|
|
648
574
|
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
|
|
649
575
|
"attributes": [
|
|
650
576
|
{ "name": "response-identifier", "values": [] },
|
|
651
|
-
{
|
|
652
|
-
|
|
653
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
654
|
-
"values": []
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
"name": "readonly",
|
|
658
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
659
|
-
"values": []
|
|
660
|
-
}
|
|
577
|
+
{ "name": "disabled", "values": [] },
|
|
578
|
+
{ "name": "readonly", "values": [] }
|
|
661
579
|
],
|
|
662
580
|
"references": []
|
|
663
581
|
},
|
|
@@ -667,17 +585,9 @@
|
|
|
667
585
|
"attributes": [
|
|
668
586
|
{ "name": "min-associations", "values": [] },
|
|
669
587
|
{ "name": "max-associations", "values": [] },
|
|
670
|
-
{
|
|
671
|
-
"name": "disabled",
|
|
672
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
673
|
-
"values": []
|
|
674
|
-
},
|
|
588
|
+
{ "name": "disabled", "values": [] },
|
|
675
589
|
{ "name": "response-identifier", "values": [] },
|
|
676
|
-
{
|
|
677
|
-
"name": "readonly",
|
|
678
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
679
|
-
"values": []
|
|
680
|
-
}
|
|
590
|
+
{ "name": "readonly", "values": [] }
|
|
681
591
|
],
|
|
682
592
|
"references": []
|
|
683
593
|
},
|
|
@@ -688,16 +598,8 @@
|
|
|
688
598
|
{ "name": "min-choices", "values": [] },
|
|
689
599
|
{ "name": "max-choices", "values": [] },
|
|
690
600
|
{ "name": "response-identifier", "values": [] },
|
|
691
|
-
{
|
|
692
|
-
|
|
693
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
694
|
-
"values": []
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"name": "readonly",
|
|
698
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
699
|
-
"values": []
|
|
700
|
-
}
|
|
601
|
+
{ "name": "disabled", "values": [] },
|
|
602
|
+
{ "name": "readonly", "values": [] }
|
|
701
603
|
],
|
|
702
604
|
"references": []
|
|
703
605
|
},
|
|
@@ -708,16 +610,8 @@
|
|
|
708
610
|
{ "name": "min-choices", "values": [] },
|
|
709
611
|
{ "name": "max-choices", "values": [] },
|
|
710
612
|
{ "name": "response-identifier", "values": [] },
|
|
711
|
-
{
|
|
712
|
-
|
|
713
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
714
|
-
"values": []
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"name": "readonly",
|
|
718
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
719
|
-
"values": []
|
|
720
|
-
}
|
|
613
|
+
{ "name": "disabled", "values": [] },
|
|
614
|
+
{ "name": "readonly", "values": [] }
|
|
721
615
|
],
|
|
722
616
|
"references": []
|
|
723
617
|
},
|
|
@@ -728,16 +622,8 @@
|
|
|
728
622
|
{ "name": "response-identifier", "values": [] },
|
|
729
623
|
{ "name": "min-associations", "values": [] },
|
|
730
624
|
{ "name": "max-associations", "values": [] },
|
|
731
|
-
{
|
|
732
|
-
|
|
733
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
734
|
-
"values": []
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"name": "readonly",
|
|
738
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
739
|
-
"values": []
|
|
740
|
-
}
|
|
625
|
+
{ "name": "disabled", "values": [] },
|
|
626
|
+
{ "name": "readonly", "values": [] }
|
|
741
627
|
],
|
|
742
628
|
"references": []
|
|
743
629
|
},
|
|
@@ -746,16 +632,8 @@
|
|
|
746
632
|
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
|
|
747
633
|
"attributes": [
|
|
748
634
|
{ "name": "response-identifier", "values": [] },
|
|
749
|
-
{
|
|
750
|
-
|
|
751
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
752
|
-
"values": []
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"name": "readonly",
|
|
756
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
757
|
-
"values": []
|
|
758
|
-
}
|
|
635
|
+
{ "name": "disabled", "values": [] },
|
|
636
|
+
{ "name": "readonly", "values": [] }
|
|
759
637
|
],
|
|
760
638
|
"references": []
|
|
761
639
|
},
|
|
@@ -768,20 +646,16 @@
|
|
|
768
646
|
"description": "orientation of choices",
|
|
769
647
|
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
770
648
|
},
|
|
771
|
-
{ "name": "shuffle", "values": [] },
|
|
772
|
-
{ "name": "min-associations", "values": [] },
|
|
773
|
-
{ "name": "max-associations", "values": [] },
|
|
774
649
|
{
|
|
775
|
-
"name": "
|
|
776
|
-
"description": "
|
|
777
|
-
"values": []
|
|
650
|
+
"name": "shuffle",
|
|
651
|
+
"description": "<span style=\"color:blue\">some *blue* text</span>. Does not work in storybook",
|
|
652
|
+
"values": [{ "name": "true" }, { "name": "false" }]
|
|
778
653
|
},
|
|
654
|
+
{ "name": "min-associations", "values": [] },
|
|
655
|
+
{ "name": "max-associations", "values": [] },
|
|
656
|
+
{ "name": "disabled", "values": [] },
|
|
779
657
|
{ "name": "response-identifier", "values": [] },
|
|
780
|
-
{
|
|
781
|
-
"name": "readonly",
|
|
782
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
783
|
-
"values": []
|
|
784
|
-
}
|
|
658
|
+
{ "name": "readonly", "values": [] }
|
|
785
659
|
],
|
|
786
660
|
"references": []
|
|
787
661
|
},
|
|
@@ -804,16 +678,8 @@
|
|
|
804
678
|
{ "name": "max-choices", "values": [] },
|
|
805
679
|
{ "name": "min-choices", "values": [] },
|
|
806
680
|
{ "name": "response-identifier", "values": [] },
|
|
807
|
-
{
|
|
808
|
-
|
|
809
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
810
|
-
"values": []
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"name": "readonly",
|
|
814
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
815
|
-
"values": []
|
|
816
|
-
}
|
|
681
|
+
{ "name": "disabled", "values": [] },
|
|
682
|
+
{ "name": "readonly", "values": [] }
|
|
817
683
|
],
|
|
818
684
|
"references": []
|
|
819
685
|
},
|
|
@@ -827,16 +693,8 @@
|
|
|
827
693
|
{ "name": "upper-bound", "values": [] },
|
|
828
694
|
{ "name": "step", "values": [] },
|
|
829
695
|
{ "name": "response-identifier", "values": [] },
|
|
830
|
-
{
|
|
831
|
-
|
|
832
|
-
"description": "disabled should be exposed to the attributes and accessible as property",
|
|
833
|
-
"values": []
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"name": "readonly",
|
|
837
|
-
"description": "readonly should be exposed to the attributes and accessible as property",
|
|
838
|
-
"values": []
|
|
839
|
-
}
|
|
696
|
+
{ "name": "disabled", "values": [] },
|
|
697
|
+
{ "name": "readonly", "values": [] }
|
|
840
698
|
],
|
|
841
699
|
"references": []
|
|
842
700
|
},
|
|
@@ -896,19 +754,14 @@
|
|
|
896
754
|
"name": "test-element",
|
|
897
755
|
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
|
|
898
756
|
"attributes": [
|
|
899
|
-
{ "name": "class", "values": [] },
|
|
900
|
-
{ "name": "shuffle", "values": [] },
|
|
901
|
-
{ "name": "response-identifier", "values": [] },
|
|
902
757
|
{
|
|
903
|
-
"name": "
|
|
904
|
-
"description": "
|
|
905
|
-
"values": []
|
|
758
|
+
"name": "shuffle",
|
|
759
|
+
"description": "<span style=\"color:blue\">some *blue* text</span>. Does not work in storybook",
|
|
760
|
+
"values": [{ "name": "true" }, { "name": "false" }]
|
|
906
761
|
},
|
|
907
|
-
{
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
"values": []
|
|
911
|
-
}
|
|
762
|
+
{ "name": "response-identifier", "values": [] },
|
|
763
|
+
{ "name": "disabled", "values": [] },
|
|
764
|
+
{ "name": "readonly", "values": [] }
|
|
912
765
|
],
|
|
913
766
|
"references": []
|
|
914
767
|
},
|
|
@@ -916,19 +769,14 @@
|
|
|
916
769
|
"name": "test-element",
|
|
917
770
|
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
|
|
918
771
|
"attributes": [
|
|
919
|
-
{ "name": "class", "values": [] },
|
|
920
|
-
{ "name": "shuffle", "values": [] },
|
|
921
|
-
{ "name": "response-identifier", "values": [] },
|
|
922
772
|
{
|
|
923
|
-
"name": "
|
|
924
|
-
"description": "
|
|
925
|
-
"values": []
|
|
773
|
+
"name": "shuffle",
|
|
774
|
+
"description": "<span style=\"color:blue\">some *blue* text</span>. Does not work in storybook",
|
|
775
|
+
"values": [{ "name": "true" }, { "name": "false" }]
|
|
926
776
|
},
|
|
927
|
-
{
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
"values": []
|
|
931
|
-
}
|
|
777
|
+
{ "name": "response-identifier", "values": [] },
|
|
778
|
+
{ "name": "disabled", "values": [] },
|
|
779
|
+
{ "name": "readonly", "values": [] }
|
|
932
780
|
],
|
|
933
781
|
"references": []
|
|
934
782
|
},
|
|
@@ -936,19 +784,14 @@
|
|
|
936
784
|
"name": "test-element",
|
|
937
785
|
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
|
|
938
786
|
"attributes": [
|
|
939
|
-
{ "name": "class", "values": [] },
|
|
940
|
-
{ "name": "shuffle", "values": [] },
|
|
941
|
-
{ "name": "response-identifier", "values": [] },
|
|
942
787
|
{
|
|
943
|
-
"name": "
|
|
944
|
-
"description": "
|
|
945
|
-
"values": []
|
|
788
|
+
"name": "shuffle",
|
|
789
|
+
"description": "<span style=\"color:blue\">some *blue* text</span>. Does not work in storybook",
|
|
790
|
+
"values": [{ "name": "true" }, { "name": "false" }]
|
|
946
791
|
},
|
|
947
|
-
{
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
"values": []
|
|
951
|
-
}
|
|
792
|
+
{ "name": "response-identifier", "values": [] },
|
|
793
|
+
{ "name": "disabled", "values": [] },
|
|
794
|
+
{ "name": "readonly", "values": [] }
|
|
952
795
|
],
|
|
953
796
|
"references": []
|
|
954
797
|
},
|
|
@@ -960,6 +803,112 @@
|
|
|
960
803
|
{ "name": "href", "values": [] }
|
|
961
804
|
],
|
|
962
805
|
"references": []
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "qti-assessment-item-ref",
|
|
809
|
+
"description": "\n---\n\n\n### **Events:**\n - **qti-assessment-item-ref-connected**",
|
|
810
|
+
"attributes": [
|
|
811
|
+
{ "name": "category", "values": [] },
|
|
812
|
+
{ "name": "identifier", "values": [] },
|
|
813
|
+
{ "name": "required", "values": [] },
|
|
814
|
+
{ "name": "fixed", "values": [] },
|
|
815
|
+
{ "name": "href", "values": [] }
|
|
816
|
+
],
|
|
817
|
+
"references": []
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "qti-assessment-section",
|
|
821
|
+
"description": "\n---\n\n\n### **Events:**\n - **qti-assessment-section-connected**",
|
|
822
|
+
"attributes": [
|
|
823
|
+
{ "name": "identifier", "values": [] },
|
|
824
|
+
{ "name": "required", "values": [] },
|
|
825
|
+
{ "name": "fixed", "values": [] },
|
|
826
|
+
{ "name": "title", "values": [] },
|
|
827
|
+
{ "name": "visible", "values": [] },
|
|
828
|
+
{ "name": "keep-together", "values": [] }
|
|
829
|
+
],
|
|
830
|
+
"references": []
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "qti-assessment-test",
|
|
834
|
+
"description": "\n---\n\n\n### **Events:**\n - **qti-assessment-test-connected**",
|
|
835
|
+
"attributes": [
|
|
836
|
+
{ "name": "identifier", "values": [] },
|
|
837
|
+
{ "name": "title", "values": [] }
|
|
838
|
+
],
|
|
839
|
+
"references": []
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "qti-test-part",
|
|
843
|
+
"description": "\n---\n\n\n### **Events:**\n - **qti-test-part-connected**",
|
|
844
|
+
"attributes": [
|
|
845
|
+
{ "name": "identifier", "values": [] },
|
|
846
|
+
{ "name": "title", "values": [] },
|
|
847
|
+
{ "name": "class", "values": [] },
|
|
848
|
+
{
|
|
849
|
+
"name": "navigation-mode",
|
|
850
|
+
"values": [{ "name": "linear" }, { "name": "nonlinear" }]
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "submission-mode",
|
|
854
|
+
"values": [{ "name": "individual" }, { "name": "simultaneous" }]
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"references": []
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "qti-player",
|
|
861
|
+
"description": "`<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.\n\nThis component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.\n\n### Example Usage\n\nMinimal markup:\n```html\n<qti-test test=\"./path/to/assessment.xml\">\n <test-container></test-container>\n</qti-test>\n```\n\nWith navigation buttons:\n```html\n<qti-test >\n <test-container test-url=\"./path/to/assessment.xml\"></test-container>\n <div class=\"flex\">\n <test-prev></test-prev>\n <test-next></test-next>\n </div>\n</qti-test>\n```\n\nYou can use normal class names to style the elements.\nAnd you can use the `test-prev` and `test-next` elements to navigate through the test.\n---\n",
|
|
862
|
+
"attributes": [
|
|
863
|
+
{
|
|
864
|
+
"name": "testURL",
|
|
865
|
+
"description": "the relative location to the QTI assessment.xml file",
|
|
866
|
+
"values": []
|
|
867
|
+
}
|
|
868
|
+
],
|
|
869
|
+
"references": []
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "test-next",
|
|
873
|
+
"description": "Represents a custom element for navigating to the next test item.\n---\n\n\n### **Events:**\n - **on-test-switch-view**\n- **qti-request-test-item**",
|
|
874
|
+
"attributes": [],
|
|
875
|
+
"references": []
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "test-prev",
|
|
879
|
+
"description": "Represents a custom element for navigating to the previous test item.\n---\n\n\n### **Events:**\n - **on-test-switch-view**\n- **qti-request-test-item**",
|
|
880
|
+
"attributes": [],
|
|
881
|
+
"references": []
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "test-view",
|
|
885
|
+
"description": "\n---\n\n\n### **Events:**\n - **on-test-switch-view**\n- **qti-request-test-item**",
|
|
886
|
+
"attributes": [
|
|
887
|
+
{ "name": "label", "values": [] },
|
|
888
|
+
{ "name": "view-options", "values": [] }
|
|
889
|
+
],
|
|
890
|
+
"references": []
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "test-item-link",
|
|
894
|
+
"description": "\n---\n\n\n### **Events:**\n - **on-test-switch-view**\n- **qti-request-test-item**",
|
|
895
|
+
"attributes": [{ "name": "item-id", "values": [] }],
|
|
896
|
+
"references": []
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "test-container",
|
|
900
|
+
"description": "`<test-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 `test-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 testurl=\"./path/to/assessment.xml\">\n <test-container class=\"container bg-white m-2\"></test-container>\n</qti-test>\n```\n---\n",
|
|
901
|
+
"attributes": [{ "name": "test-url", "values": [] }],
|
|
902
|
+
"references": []
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "test-paging-buttons-stamp",
|
|
906
|
+
"description": "\n---\n\n\n### **Events:**\n - **on-test-switch-view**\n- **qti-request-test-item**",
|
|
907
|
+
"attributes": [
|
|
908
|
+
{ "name": "max-displayed-items", "values": [] },
|
|
909
|
+
{ "name": "skip-on-category", "values": [] }
|
|
910
|
+
],
|
|
911
|
+
"references": []
|
|
963
912
|
}
|
|
964
913
|
]
|
|
965
914
|
}
|