@citolab/qti-components 6.7.1-57 → 6.7.1-59

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.
@@ -96,65 +96,6 @@
96
96
  }
97
97
  ]
98
98
  },
99
- {
100
- "kind": "javascript-module",
101
- "path": "src/lib/qti-transformers/index.ts",
102
- "declarations": [],
103
- "exports": [
104
- {
105
- "kind": "js",
106
- "name": "*",
107
- "declaration": {
108
- "name": "*",
109
- "package": "./qti-transformers"
110
- }
111
- }
112
- ]
113
- },
114
- {
115
- "kind": "javascript-module",
116
- "path": "src/lib/qti-transformers/qti-transformers.ts",
117
- "declarations": [
118
- {
119
- "kind": "function",
120
- "name": "qtiTransformItem",
121
- "return": {
122
- "type": {
123
- "text": ""
124
- }
125
- },
126
- "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
127
- },
128
- {
129
- "kind": "function",
130
- "name": "qtiTransformTest",
131
- "return": {
132
- "type": {
133
- "text": ""
134
- }
135
- },
136
- "description": "Returns an object with methods to load, parse and transform QTI tests."
137
- }
138
- ],
139
- "exports": [
140
- {
141
- "kind": "js",
142
- "name": "qtiTransformItem",
143
- "declaration": {
144
- "name": "qtiTransformItem",
145
- "module": "src/lib/qti-transformers/qti-transformers.ts"
146
- }
147
- },
148
- {
149
- "kind": "js",
150
- "name": "qtiTransformTest",
151
- "declaration": {
152
- "name": "qtiTransformTest",
153
- "module": "src/lib/qti-transformers/qti-transformers.ts"
154
- }
155
- }
156
- ]
157
- },
158
99
  {
159
100
  "kind": "javascript-module",
160
101
  "path": "src/lib/qti-components/index.ts",
@@ -580,129 +521,63 @@
580
521
  },
581
522
  {
582
523
  "kind": "javascript-module",
583
- "path": "src/lib/qti-components/internal/event-types.ts",
584
- "declarations": [],
585
- "exports": []
586
- },
587
- {
588
- "kind": "javascript-module",
589
- "path": "src/lib/qti-components/internal/expression-result.ts",
524
+ "path": "src/lib/qti-transformers/index.ts",
590
525
  "declarations": [],
591
- "exports": []
592
- },
593
- {
594
- "kind": "javascript-module",
595
- "path": "src/lib/qti-components/internal/template-strings.ts",
596
- "declarations": [
597
- {
598
- "kind": "variable",
599
- "name": "matchCorrect",
600
- "default": "`<qti-response-processing>\n <qti-response-condition>\n <qti-response-if>\n <qti-match>\n <qti-variable identifier=\"RESPONSE\"></qti-variable>\n <qti-correct identifier=\"RESPONSE\"></qti-correct>\n </qti-match>\n <qti-set-outcome-value identifier=\"SCORE\">\n <qti-base-value base-type=\"float\">1</qti-base-value>\n </qti-set-outcome-value>\n </qti-response-if>\n <qti-response-else>\n <qti-set-outcome-value identifier=\"SCORE\">\n <qti-base-value base-type=\"float\">0</qti-base-value>\n </qti-set-outcome-value>\n </qti-response-else>\n </qti-response-condition>\n</qti-response-processing>`"
601
- },
602
- {
603
- "kind": "variable",
604
- "name": "mapResponse",
605
- "default": "`<qti-response-processing>\n <qti-response-condition>\n <qti-response-if>\n <qti-is-null>\n <qti-variable identifier=\"RESPONSE\"></qti-variable>\n </qti-is-null>\n <qti-set-outcome-value identifier=\"SCORE\">\n <qti-base-value base-type=\"float\">0.0</qti-base-value>\n </qti-set-outcome-value>\n </qti-response-if>\n <qti-response-else>\n <qti-set-outcome-value identifier=\"SCORE\">\n <qti-map-response identifier=\"RESPONSE\"> </qti-map-response>\n </qti-set-outcome-value>\n </qti-response-else>\n </qti-response-condition>\n</qti-response-processing>`"
606
- },
607
- {
608
- "kind": "variable",
609
- "name": "mapResponsePoint",
610
- "default": "`<qti-response-processing>\n <qti-response-condition>\n <qti-response-if>\n <qti-is-null>\n <qti-variable identifier=\"RESPONSE\"></qti-variable>\n </qti-is-null>\n <qti-set-outcome-value identifier=\"SCORE\">\n <qti-base-value base-type=\"float\">0</qti-base-value>\n </qti-set-outcome-value>\n </qti-response-if>\n <qti-response-else>\n <qti-set-outcome-value identifier=\"SCORE\">\n <qti-map-response-point identifier=\"RESPONSE\"></qti-map-response-point>\n </qti-set-outcome-value>\n </qti-response-else>\n </qti-response-condition>\n</qti-response-processing>`"
611
- }
612
- ],
613
526
  "exports": [
614
527
  {
615
528
  "kind": "js",
616
- "name": "matchCorrect",
617
- "declaration": {
618
- "name": "matchCorrect",
619
- "module": "src/lib/qti-components/internal/template-strings.ts"
620
- }
621
- },
622
- {
623
- "kind": "js",
624
- "name": "mapResponse",
625
- "declaration": {
626
- "name": "mapResponse",
627
- "module": "src/lib/qti-components/internal/template-strings.ts"
628
- }
629
- },
630
- {
631
- "kind": "js",
632
- "name": "mapResponsePoint",
529
+ "name": "*",
633
530
  "declaration": {
634
- "name": "mapResponsePoint",
635
- "module": "src/lib/qti-components/internal/template-strings.ts"
531
+ "name": "*",
532
+ "package": "./qti-transformers"
636
533
  }
637
534
  }
638
535
  ]
639
536
  },
640
537
  {
641
538
  "kind": "javascript-module",
642
- "path": "src/lib/qti-components/internal/utils.ts",
539
+ "path": "src/lib/qti-transformers/qti-transformers.ts",
643
540
  "declarations": [
644
541
  {
645
542
  "kind": "function",
646
- "name": "decimalSeparator"
647
- },
648
- {
649
- "kind": "function",
650
- "name": "convertNumberToUniveralFormat",
651
- "parameters": [
652
- {
653
- "name": "number",
654
- "type": {
655
- "text": "number | string"
656
- }
543
+ "name": "qtiTransformItem",
544
+ "return": {
545
+ "type": {
546
+ "text": ""
657
547
  }
658
- ]
548
+ },
549
+ "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
659
550
  },
660
551
  {
661
552
  "kind": "function",
662
- "name": "IsNullOrUndefined",
663
- "parameters": [
664
- {
665
- "name": "value",
666
- "type": {
667
- "text": "unknown"
668
- }
553
+ "name": "qtiTransformTest",
554
+ "return": {
555
+ "type": {
556
+ "text": ""
669
557
  }
670
- ]
558
+ },
559
+ "description": "Returns an object with methods to load, parse and transform QTI tests."
671
560
  }
672
561
  ],
673
562
  "exports": [
674
563
  {
675
564
  "kind": "js",
676
- "name": "decimalSeparator",
677
- "declaration": {
678
- "name": "decimalSeparator",
679
- "module": "src/lib/qti-components/internal/utils.ts"
680
- }
681
- },
682
- {
683
- "kind": "js",
684
- "name": "convertNumberToUniveralFormat",
565
+ "name": "qtiTransformItem",
685
566
  "declaration": {
686
- "name": "convertNumberToUniveralFormat",
687
- "module": "src/lib/qti-components/internal/utils.ts"
567
+ "name": "qtiTransformItem",
568
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
688
569
  }
689
570
  },
690
571
  {
691
572
  "kind": "js",
692
- "name": "IsNullOrUndefined",
573
+ "name": "qtiTransformTest",
693
574
  "declaration": {
694
- "name": "IsNullOrUndefined",
695
- "module": "src/lib/qti-components/internal/utils.ts"
575
+ "name": "qtiTransformTest",
576
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
696
577
  }
697
578
  }
698
579
  ]
699
580
  },
700
- {
701
- "kind": "javascript-module",
702
- "path": "src/lib/qti-components/internal/variables.ts",
703
- "declarations": [],
704
- "exports": []
705
- },
706
581
  {
707
582
  "kind": "javascript-module",
708
583
  "path": "src/lib/qti-components/qti-assessment-item/item-print-variables.ts",
@@ -746,7 +621,7 @@
746
621
  {
747
622
  "kind": "variable",
748
623
  "name": "itemContextVariables",
749
- "default": "[\n {\n identifier: 'completionStatus',\n cardinality: 'single',\n baseType: 'string',\n value: 'unknown',\n type: 'outcome'\n },\n {\n identifier: 'numAttempts',\n cardinality: 'single',\n baseType: 'integer',\n value: '0',\n type: 'response'\n }\n]"
624
+ "default": "[ { identifier: 'completionStatus', cardinality: 'single', baseType: 'string', value: 'unknown', type: 'outcome' }, { identifier: 'numAttempts', cardinality: 'single', baseType: 'integer', value: '0', type: 'response' } ]"
750
625
  },
751
626
  {
752
627
  "kind": "variable",
@@ -882,6 +757,131 @@
882
757
  }
883
758
  ]
884
759
  },
760
+ {
761
+ "kind": "javascript-module",
762
+ "path": "src/lib/qti-components/internal/event-types.ts",
763
+ "declarations": [],
764
+ "exports": []
765
+ },
766
+ {
767
+ "kind": "javascript-module",
768
+ "path": "src/lib/qti-components/internal/expression-result.ts",
769
+ "declarations": [],
770
+ "exports": []
771
+ },
772
+ {
773
+ "kind": "javascript-module",
774
+ "path": "src/lib/qti-components/internal/template-strings.ts",
775
+ "declarations": [
776
+ {
777
+ "kind": "variable",
778
+ "name": "matchCorrect",
779
+ "default": "`<qti-response-processing> <qti-response-condition> <qti-response-if> <qti-match> <qti-variable identifier=\"RESPONSE\"></qti-variable> <qti-correct identifier=\"RESPONSE\"></qti-correct> </qti-match> <qti-set-outcome-value identifier=\"SCORE\"> <qti-base-value base-type=\"float\">1</qti-base-value> </qti-set-outcome-value> </qti-response-if> <qti-response-else> <qti-set-outcome-value identifier=\"SCORE\"> <qti-base-value base-type=\"float\">0</qti-base-value> </qti-set-outcome-value> </qti-response-else> </qti-response-condition> </qti-response-processing>`"
780
+ },
781
+ {
782
+ "kind": "variable",
783
+ "name": "mapResponse",
784
+ "default": "`<qti-response-processing> <qti-response-condition> <qti-response-if> <qti-is-null> <qti-variable identifier=\"RESPONSE\"></qti-variable> </qti-is-null> <qti-set-outcome-value identifier=\"SCORE\"> <qti-base-value base-type=\"float\">0.0</qti-base-value> </qti-set-outcome-value> </qti-response-if> <qti-response-else> <qti-set-outcome-value identifier=\"SCORE\"> <qti-map-response identifier=\"RESPONSE\"> </qti-map-response> </qti-set-outcome-value> </qti-response-else> </qti-response-condition> </qti-response-processing>`"
785
+ },
786
+ {
787
+ "kind": "variable",
788
+ "name": "mapResponsePoint",
789
+ "default": "`<qti-response-processing> <qti-response-condition> <qti-response-if> <qti-is-null> <qti-variable identifier=\"RESPONSE\"></qti-variable> </qti-is-null> <qti-set-outcome-value identifier=\"SCORE\"> <qti-base-value base-type=\"float\">0</qti-base-value> </qti-set-outcome-value> </qti-response-if> <qti-response-else> <qti-set-outcome-value identifier=\"SCORE\"> <qti-map-response-point identifier=\"RESPONSE\"></qti-map-response-point> </qti-set-outcome-value> </qti-response-else> </qti-response-condition> </qti-response-processing>`"
790
+ }
791
+ ],
792
+ "exports": [
793
+ {
794
+ "kind": "js",
795
+ "name": "matchCorrect",
796
+ "declaration": {
797
+ "name": "matchCorrect",
798
+ "module": "src/lib/qti-components/internal/template-strings.ts"
799
+ }
800
+ },
801
+ {
802
+ "kind": "js",
803
+ "name": "mapResponse",
804
+ "declaration": {
805
+ "name": "mapResponse",
806
+ "module": "src/lib/qti-components/internal/template-strings.ts"
807
+ }
808
+ },
809
+ {
810
+ "kind": "js",
811
+ "name": "mapResponsePoint",
812
+ "declaration": {
813
+ "name": "mapResponsePoint",
814
+ "module": "src/lib/qti-components/internal/template-strings.ts"
815
+ }
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "kind": "javascript-module",
821
+ "path": "src/lib/qti-components/internal/utils.ts",
822
+ "declarations": [
823
+ {
824
+ "kind": "function",
825
+ "name": "decimalSeparator"
826
+ },
827
+ {
828
+ "kind": "function",
829
+ "name": "convertNumberToUniveralFormat",
830
+ "parameters": [
831
+ {
832
+ "name": "number",
833
+ "type": {
834
+ "text": "number | string"
835
+ }
836
+ }
837
+ ]
838
+ },
839
+ {
840
+ "kind": "function",
841
+ "name": "IsNullOrUndefined",
842
+ "parameters": [
843
+ {
844
+ "name": "value",
845
+ "type": {
846
+ "text": "unknown"
847
+ }
848
+ }
849
+ ]
850
+ }
851
+ ],
852
+ "exports": [
853
+ {
854
+ "kind": "js",
855
+ "name": "decimalSeparator",
856
+ "declaration": {
857
+ "name": "decimalSeparator",
858
+ "module": "src/lib/qti-components/internal/utils.ts"
859
+ }
860
+ },
861
+ {
862
+ "kind": "js",
863
+ "name": "convertNumberToUniveralFormat",
864
+ "declaration": {
865
+ "name": "convertNumberToUniveralFormat",
866
+ "module": "src/lib/qti-components/internal/utils.ts"
867
+ }
868
+ },
869
+ {
870
+ "kind": "js",
871
+ "name": "IsNullOrUndefined",
872
+ "declaration": {
873
+ "name": "IsNullOrUndefined",
874
+ "module": "src/lib/qti-components/internal/utils.ts"
875
+ }
876
+ }
877
+ ]
878
+ },
879
+ {
880
+ "kind": "javascript-module",
881
+ "path": "src/lib/qti-components/internal/variables.ts",
882
+ "declarations": [],
883
+ "exports": []
884
+ },
885
885
  {
886
886
  "kind": "javascript-module",
887
887
  "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",