@citolab/qti-components 6.9.1-beta.75 → 6.9.1-beta.77

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.
@@ -578,6 +578,98 @@
578
578
  "declarations": [],
579
579
  "exports": []
580
580
  },
581
+ {
582
+ "kind": "javascript-module",
583
+ "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
584
+ "declarations": [
585
+ {
586
+ "kind": "class",
587
+ "description": "Represents a custom element for referencing an assessment stimulus.",
588
+ "name": "QtiAssessmentStimulusRef",
589
+ "members": [
590
+ {
591
+ "kind": "field",
592
+ "name": "identifier",
593
+ "type": {
594
+ "text": "string"
595
+ },
596
+ "default": "''",
597
+ "description": "The identifier of the stimulus.",
598
+ "attribute": "identifier"
599
+ },
600
+ {
601
+ "kind": "field",
602
+ "name": "href",
603
+ "type": {
604
+ "text": "string"
605
+ },
606
+ "default": "''",
607
+ "description": "The href of the stimulus.",
608
+ "attribute": "href"
609
+ },
610
+ {
611
+ "kind": "method",
612
+ "name": "updateStimulusRef",
613
+ "privacy": "public",
614
+ "parameters": [
615
+ {
616
+ "name": "stimulusRef",
617
+ "type": {
618
+ "text": "Element"
619
+ },
620
+ "description": "The element to which the stimulus will be appended."
621
+ }
622
+ ],
623
+ "description": "Loads and appends the stimulus to the specified element."
624
+ }
625
+ ],
626
+ "attributes": [
627
+ {
628
+ "name": "identifier",
629
+ "type": {
630
+ "text": "string"
631
+ },
632
+ "default": "''",
633
+ "description": "The identifier of the stimulus.",
634
+ "fieldName": "identifier"
635
+ },
636
+ {
637
+ "name": "href",
638
+ "type": {
639
+ "text": "string"
640
+ },
641
+ "default": "''",
642
+ "description": "The href of the stimulus.",
643
+ "fieldName": "href"
644
+ }
645
+ ],
646
+ "superclass": {
647
+ "name": "LitElement",
648
+ "package": "lit"
649
+ },
650
+ "tagName": "qti-assessment-stimulus-ref",
651
+ "customElement": true
652
+ }
653
+ ],
654
+ "exports": [
655
+ {
656
+ "kind": "js",
657
+ "name": "QtiAssessmentStimulusRef",
658
+ "declaration": {
659
+ "name": "QtiAssessmentStimulusRef",
660
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
661
+ }
662
+ },
663
+ {
664
+ "kind": "custom-element-definition",
665
+ "name": "qti-assessment-stimulus-ref",
666
+ "declaration": {
667
+ "name": "QtiAssessmentStimulusRef",
668
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
669
+ }
670
+ }
671
+ ]
672
+ },
581
673
  {
582
674
  "kind": "javascript-module",
583
675
  "path": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.context.ts",
@@ -996,98 +1088,6 @@
996
1088
  }
997
1089
  ]
998
1090
  },
999
- {
1000
- "kind": "javascript-module",
1001
- "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
1002
- "declarations": [
1003
- {
1004
- "kind": "class",
1005
- "description": "Represents a custom element for referencing an assessment stimulus.",
1006
- "name": "QtiAssessmentStimulusRef",
1007
- "members": [
1008
- {
1009
- "kind": "field",
1010
- "name": "identifier",
1011
- "type": {
1012
- "text": "string"
1013
- },
1014
- "default": "''",
1015
- "description": "The identifier of the stimulus.",
1016
- "attribute": "identifier"
1017
- },
1018
- {
1019
- "kind": "field",
1020
- "name": "href",
1021
- "type": {
1022
- "text": "string"
1023
- },
1024
- "default": "''",
1025
- "description": "The href of the stimulus.",
1026
- "attribute": "href"
1027
- },
1028
- {
1029
- "kind": "method",
1030
- "name": "updateStimulusRef",
1031
- "privacy": "public",
1032
- "parameters": [
1033
- {
1034
- "name": "stimulusRef",
1035
- "type": {
1036
- "text": "Element"
1037
- },
1038
- "description": "The element to which the stimulus will be appended."
1039
- }
1040
- ],
1041
- "description": "Loads and appends the stimulus to the specified element."
1042
- }
1043
- ],
1044
- "attributes": [
1045
- {
1046
- "name": "identifier",
1047
- "type": {
1048
- "text": "string"
1049
- },
1050
- "default": "''",
1051
- "description": "The identifier of the stimulus.",
1052
- "fieldName": "identifier"
1053
- },
1054
- {
1055
- "name": "href",
1056
- "type": {
1057
- "text": "string"
1058
- },
1059
- "default": "''",
1060
- "description": "The href of the stimulus.",
1061
- "fieldName": "href"
1062
- }
1063
- ],
1064
- "superclass": {
1065
- "name": "LitElement",
1066
- "package": "lit"
1067
- },
1068
- "tagName": "qti-assessment-stimulus-ref",
1069
- "customElement": true
1070
- }
1071
- ],
1072
- "exports": [
1073
- {
1074
- "kind": "js",
1075
- "name": "QtiAssessmentStimulusRef",
1076
- "declaration": {
1077
- "name": "QtiAssessmentStimulusRef",
1078
- "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1079
- }
1080
- },
1081
- {
1082
- "kind": "custom-element-definition",
1083
- "name": "qti-assessment-stimulus-ref",
1084
- "declaration": {
1085
- "name": "QtiAssessmentStimulusRef",
1086
- "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1087
- }
1088
- }
1089
- ]
1090
- },
1091
1091
  {
1092
1092
  "kind": "javascript-module",
1093
1093
  "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
@@ -60,6 +60,13 @@ type BaseProps = {
60
60
 
61
61
  type BaseEvents = {};
62
62
 
63
+ export type QtiAssessmentStimulusRefProps = {
64
+ /** The identifier of the stimulus. */
65
+ identifier?: string;
66
+ /** The href of the stimulus. */
67
+ href?: string;
68
+ };
69
+
63
70
  export type QtiAssessmentItemProps = {
64
71
  /** */
65
72
  title?: string;
@@ -91,13 +98,6 @@ export type QtiAssessmentItemProps = {
91
98
  "onqti-response-processing"?: (e: CustomEvent<never>) => void;
92
99
  };
93
100
 
94
- export type QtiAssessmentStimulusRefProps = {
95
- /** The identifier of the stimulus. */
96
- identifier?: string;
97
- /** The href of the stimulus. */
98
- href?: string;
99
- };
100
-
101
101
  export type QtiCompanionMaterialsInfoProps = {};
102
102
 
103
103
  export type QtiCustomOperatorProps = {
@@ -1099,6 +1099,16 @@ export type QtiItemProps = {
1099
1099
  };
1100
1100
 
1101
1101
  export type CustomElements = {
1102
+ /**
1103
+ * Represents a custom element for referencing an assessment stimulus.
1104
+ * ---
1105
+ *
1106
+ *
1107
+ * ### **Methods:**
1108
+ * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1109
+ */
1110
+ "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1111
+
1102
1112
  /**
1103
1113
  * The qti-assessment-item element contains all the other QTI 3 item structures.
1104
1114
  * ---
@@ -1115,16 +1125,6 @@ export type CustomElements = {
1115
1125
  */
1116
1126
  "qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
1117
1127
 
1118
- /**
1119
- * Represents a custom element for referencing an assessment stimulus.
1120
- * ---
1121
- *
1122
- *
1123
- * ### **Methods:**
1124
- * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1125
- */
1126
- "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1127
-
1128
1128
  /**
1129
1129
  *
1130
1130
  * ---
@@ -2,6 +2,23 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
3
  "version": 1.1,
4
4
  "tags": [
5
+ {
6
+ "name": "qti-assessment-stimulus-ref",
7
+ "description": "Represents a custom element for referencing an assessment stimulus.\n---\n\n\n### **Methods:**\n - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.",
8
+ "attributes": [
9
+ {
10
+ "name": "identifier",
11
+ "description": "The identifier of the stimulus.",
12
+ "values": []
13
+ },
14
+ {
15
+ "name": "href",
16
+ "description": "The href of the stimulus.",
17
+ "values": []
18
+ }
19
+ ],
20
+ "references": []
21
+ },
5
22
  {
6
23
  "name": "qti-assessment-item",
7
24
  "description": "The qti-assessment-item element contains all the other QTI 3 item structures.\n---\n\n\n### **Events:**\n - **name**\n- **qti-interaction-changed** - Emitted when an interaction is changed.\n- **qti-outcome-changed** - Emitted when an outcome has changed.\n- **qti-response-processing** - Emitted when response-processing is called.\n\n### **Slots:**\n - _default_ - The default slot where all the other QTI 3 item structures go.",
@@ -21,23 +38,6 @@
21
38
  ],
22
39
  "references": []
23
40
  },
24
- {
25
- "name": "qti-assessment-stimulus-ref",
26
- "description": "Represents a custom element for referencing an assessment stimulus.\n---\n\n\n### **Methods:**\n - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.",
27
- "attributes": [
28
- {
29
- "name": "identifier",
30
- "description": "The identifier of the stimulus.",
31
- "values": []
32
- },
33
- {
34
- "name": "href",
35
- "description": "The href of the stimulus.",
36
- "values": []
37
- }
38
- ],
39
- "references": []
40
- },
41
41
  {
42
42
  "name": "qti-companion-materials-info",
43
43
  "description": "\n---\n",
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "engines": {
22
22
  "node": ">=20.0.0"
23
23
  },
24
- "version": "6.9.1-beta.75",
24
+ "version": "6.9.1-beta.77",
25
25
  "type": "module",
26
26
  "exports": {
27
27
  "./qti-components": {
@@ -170,7 +170,6 @@
170
170
  "globals": "^15.12.0",
171
171
  "husky": "^9.1.7",
172
172
  "lit": "^3.2.1",
173
- "nodemon": "^3.1.7",
174
173
  "np": "^10.1.0",
175
174
  "path-browserify": "^1.0.1",
176
175
  "playwright": "^1.49.0",
@@ -186,7 +185,6 @@
186
185
  "stylelint-config-standard": "^36.0.1",
187
186
  "stylelint-prettier": "^5.0.2",
188
187
  "tsup": "^8.3.5",
189
- "tsx": "^4.19.2",
190
188
  "typescript": "^5.7.2",
191
189
  "typescript-eslint": "^8.15.0",
192
190
  "vite": "^5.4.11",