@citolab/qti-components 6.9.1-beta.70 → 6.9.1-beta.71

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,98 +578,6 @@
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
- },
673
581
  {
674
582
  "kind": "javascript-module",
675
583
  "path": "src/lib/qti-components/qti-assessment-item/item-print-variables.ts",
@@ -1133,6 +1041,98 @@
1133
1041
  }
1134
1042
  ]
1135
1043
  },
1044
+ {
1045
+ "kind": "javascript-module",
1046
+ "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
1047
+ "declarations": [
1048
+ {
1049
+ "kind": "class",
1050
+ "description": "Represents a custom element for referencing an assessment stimulus.",
1051
+ "name": "QtiAssessmentStimulusRef",
1052
+ "members": [
1053
+ {
1054
+ "kind": "field",
1055
+ "name": "identifier",
1056
+ "type": {
1057
+ "text": "string"
1058
+ },
1059
+ "default": "''",
1060
+ "description": "The identifier of the stimulus.",
1061
+ "attribute": "identifier"
1062
+ },
1063
+ {
1064
+ "kind": "field",
1065
+ "name": "href",
1066
+ "type": {
1067
+ "text": "string"
1068
+ },
1069
+ "default": "''",
1070
+ "description": "The href of the stimulus.",
1071
+ "attribute": "href"
1072
+ },
1073
+ {
1074
+ "kind": "method",
1075
+ "name": "updateStimulusRef",
1076
+ "privacy": "public",
1077
+ "parameters": [
1078
+ {
1079
+ "name": "stimulusRef",
1080
+ "type": {
1081
+ "text": "Element"
1082
+ },
1083
+ "description": "The element to which the stimulus will be appended."
1084
+ }
1085
+ ],
1086
+ "description": "Loads and appends the stimulus to the specified element."
1087
+ }
1088
+ ],
1089
+ "attributes": [
1090
+ {
1091
+ "name": "identifier",
1092
+ "type": {
1093
+ "text": "string"
1094
+ },
1095
+ "default": "''",
1096
+ "description": "The identifier of the stimulus.",
1097
+ "fieldName": "identifier"
1098
+ },
1099
+ {
1100
+ "name": "href",
1101
+ "type": {
1102
+ "text": "string"
1103
+ },
1104
+ "default": "''",
1105
+ "description": "The href of the stimulus.",
1106
+ "fieldName": "href"
1107
+ }
1108
+ ],
1109
+ "superclass": {
1110
+ "name": "LitElement",
1111
+ "package": "lit"
1112
+ },
1113
+ "tagName": "qti-assessment-stimulus-ref",
1114
+ "customElement": true
1115
+ }
1116
+ ],
1117
+ "exports": [
1118
+ {
1119
+ "kind": "js",
1120
+ "name": "QtiAssessmentStimulusRef",
1121
+ "declaration": {
1122
+ "name": "QtiAssessmentStimulusRef",
1123
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1124
+ }
1125
+ },
1126
+ {
1127
+ "kind": "custom-element-definition",
1128
+ "name": "qti-assessment-stimulus-ref",
1129
+ "declaration": {
1130
+ "name": "QtiAssessmentStimulusRef",
1131
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1132
+ }
1133
+ }
1134
+ ]
1135
+ },
1136
1136
  {
1137
1137
  "kind": "javascript-module",
1138
1138
  "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
@@ -60,13 +60,6 @@ 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
-
70
63
  export type ItemPrintVariablesProps = {
71
64
  /** */
72
65
  itemContext?: ItemContext | undefined;
@@ -103,6 +96,13 @@ export type QtiAssessmentItemProps = {
103
96
  "onqti-response-processing"?: (e: CustomEvent<never>) => void;
104
97
  };
105
98
 
99
+ export type QtiAssessmentStimulusRefProps = {
100
+ /** The identifier of the stimulus. */
101
+ identifier?: string;
102
+ /** The href of the stimulus. */
103
+ href?: string;
104
+ };
105
+
106
106
  export type QtiCompanionMaterialsInfoProps = {};
107
107
 
108
108
  export type QtiCustomOperatorProps = {
@@ -1104,16 +1104,6 @@ export type QtiItemProps = {
1104
1104
  };
1105
1105
 
1106
1106
  export type CustomElements = {
1107
- /**
1108
- * Represents a custom element for referencing an assessment stimulus.
1109
- * ---
1110
- *
1111
- *
1112
- * ### **Methods:**
1113
- * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1114
- */
1115
- "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1116
-
1117
1107
  /**
1118
1108
  *
1119
1109
  * ---
@@ -1137,6 +1127,16 @@ export type CustomElements = {
1137
1127
  */
1138
1128
  "qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
1139
1129
 
1130
+ /**
1131
+ * Represents a custom element for referencing an assessment stimulus.
1132
+ * ---
1133
+ *
1134
+ *
1135
+ * ### **Methods:**
1136
+ * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1137
+ */
1138
+ "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1139
+
1140
1140
  /**
1141
1141
  *
1142
1142
  * ---
@@ -2,23 +2,6 @@
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
- },
22
5
  {
23
6
  "name": "item-print-variables",
24
7
  "description": "\n---\n",
@@ -44,6 +27,23 @@
44
27
  ],
45
28
  "references": []
46
29
  },
30
+ {
31
+ "name": "qti-assessment-stimulus-ref",
32
+ "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.",
33
+ "attributes": [
34
+ {
35
+ "name": "identifier",
36
+ "description": "The identifier of the stimulus.",
37
+ "values": []
38
+ },
39
+ {
40
+ "name": "href",
41
+ "description": "The href of the stimulus.",
42
+ "values": []
43
+ }
44
+ ],
45
+ "references": []
46
+ },
47
47
  {
48
48
  "name": "qti-companion-materials-info",
49
49
  "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.70",
24
+ "version": "6.9.1-beta.71",
25
25
  "type": "module",
26
26
  "exports": {
27
27
  "./qti-components": {
@@ -189,7 +189,6 @@
189
189
  "typescript": "^5.7.2",
190
190
  "typescript-eslint": "^8.15.0",
191
191
  "vite": "^5.4.11",
192
- "vite-tsconfig-paths": "^5.1.3",
193
192
  "vitest": "^2.1.5",
194
193
  "wireit": "^0.14.9"
195
194
  },