@citolab/qti-components 7.0.4 → 7.0.6-beta.0
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/chunk-22HAPLRD.js +0 -0
- package/cdn/chunk-4DFVJE2A.js +48 -0
- package/cdn/chunk-4I75QSIL.js +8 -0
- package/cdn/chunk-5WCOPF7O.js +73 -0
- package/cdn/chunk-A536ZOJJ.js +43 -0
- package/cdn/chunk-BLKKKK6C.js +11 -0
- package/cdn/chunk-DC2R556M.js +5 -0
- package/cdn/chunk-GALSGMIP.js +5 -0
- package/cdn/chunk-IXSX4SJX.js +1 -0
- package/cdn/chunk-KYOTSBCX.js +1 -0
- package/cdn/chunk-L4TDHAKL.js +24 -0
- package/cdn/chunk-LVW3MHTI.js +23 -0
- package/cdn/chunk-M6AATWPS.js +59 -0
- package/cdn/chunk-MFWSHIPH.js +17 -0
- package/cdn/chunk-QGKK4T2J.js +8 -0
- package/cdn/chunk-ROXN2HIJ.js +8 -0
- package/cdn/chunk-SQDSHH6N.js +3539 -0
- package/cdn/chunk-T4A5AZCI.js +939 -0
- package/cdn/chunk-VI2WKTN4.js +1 -0
- package/cdn/index.global.js +36 -36
- package/cdn/index.js +1 -4783
- package/cdn/qti-components/index.global.js +226 -0
- package/cdn/qti-components/index.js +1 -0
- package/cdn/qti-item/core/index.global.js +149 -0
- package/cdn/qti-item/core/index.js +1 -0
- package/cdn/qti-loader/index.global.js +1 -0
- package/cdn/qti-loader/index.js +1 -0
- package/cdn/qti-test/components/index.global.js +207 -0
- package/cdn/qti-test/components/index.js +1 -0
- package/cdn/qti-test/components/styles.global.js +44 -0
- package/cdn/qti-test/components/styles.js +1 -0
- package/cdn/qti-test/components/test-component.abstract.global.js +170 -0
- package/cdn/qti-test/components/test-component.abstract.js +1 -0
- package/cdn/qti-test/components/test-item-link.global.js +170 -0
- package/cdn/qti-test/components/test-item-link.js +1 -0
- package/cdn/qti-test/components/test-next.global.js +170 -0
- package/cdn/qti-test/components/test-next.js +1 -0
- package/cdn/qti-test/components/test-next.spec.css +1 -0
- package/cdn/qti-test/components/test-next.spec.global.js +64 -0
- package/cdn/qti-test/components/test-next.spec.js +713 -0
- package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +207 -0
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -0
- package/cdn/qti-test/components/test-prev.global.js +170 -0
- package/cdn/qti-test/components/test-prev.js +1 -0
- package/cdn/qti-test/components/test-view.global.js +170 -0
- package/cdn/qti-test/components/test-view.js +1 -0
- package/cdn/qti-test/core/index.global.js +205 -0
- package/cdn/qti-test/core/index.js +1 -0
- package/cdn/qti-transformers/index.global.js +1 -0
- package/cdn/qti-transformers/index.js +1 -0
- package/dist/chunk-2CHF3TMY.js +3529 -0
- package/dist/chunk-2CHF3TMY.js.map +1 -0
- package/dist/{transformers/index.js → chunk-2OA7E3E7.js} +2 -1
- package/dist/chunk-2OA7E3E7.js.map +1 -0
- package/dist/chunk-3TFUBCJW.js +72 -0
- package/dist/chunk-3TFUBCJW.js.map +1 -0
- package/dist/chunk-44VE5POH.js +55 -0
- package/dist/chunk-44VE5POH.js.map +1 -0
- package/dist/chunk-4FH7P7YI.js +43 -0
- package/dist/chunk-4FH7P7YI.js.map +1 -0
- package/dist/chunk-4YG2FPKK.js +31 -0
- package/dist/chunk-4YG2FPKK.js.map +1 -0
- package/dist/chunk-6SG3NMKU.js +50 -0
- package/dist/chunk-6SG3NMKU.js.map +1 -0
- package/dist/chunk-ANLIJZBL.js +118 -0
- package/dist/chunk-ANLIJZBL.js.map +1 -0
- package/dist/chunk-CNQYM52B.js +569 -0
- package/dist/chunk-CNQYM52B.js.map +1 -0
- package/dist/chunk-F3NTI6TX.js +10 -0
- package/dist/chunk-F3NTI6TX.js.map +1 -0
- package/dist/chunk-F7HTXGGH.js +78 -0
- package/dist/chunk-F7HTXGGH.js.map +1 -0
- package/dist/chunk-MAC76UNI.js +1 -0
- package/dist/chunk-MAC76UNI.js.map +1 -0
- package/dist/chunk-OO6JSYLP.js +50 -0
- package/dist/chunk-OO6JSYLP.js.map +1 -0
- package/dist/chunk-QYN5S4EM.js +107 -0
- package/dist/chunk-QYN5S4EM.js.map +1 -0
- package/dist/chunk-UB5K44DB.js +30 -0
- package/dist/chunk-UB5K44DB.js.map +1 -0
- package/dist/chunk-UBZPSVSE.js +6301 -0
- package/dist/chunk-UBZPSVSE.js.map +1 -0
- package/dist/index.d.ts +13 -503
- package/dist/index.js +132 -13584
- package/dist/index.js.map +1 -1
- package/dist/item.css +10 -10
- package/dist/qti-components/index.d.ts +150 -0
- package/dist/qti-components/index.js +188 -0
- package/dist/qti-components/index.js.map +1 -0
- package/dist/qti-components-jsx.d.ts +147 -201
- package/dist/qti-item/core/index.d.ts +61 -0
- package/dist/qti-item/core/index.js +13 -0
- package/dist/qti-item/core/index.js.map +1 -0
- package/dist/{loader → qti-loader}/index.d.ts +1 -1
- package/dist/qti-loader/index.js +29 -0
- package/dist/qti-loader/index.js.map +1 -0
- package/dist/{qti-simple-choice-D0GiMrqD.d.ts → qti-simple-choice-DxWcdKHi.d.ts} +30 -40
- package/dist/qti-test/components/index.d.ts +11 -0
- package/dist/qti-test/components/index.js +32 -0
- package/dist/qti-test/components/index.js.map +1 -0
- package/dist/qti-test/components/styles.d.ts +8 -0
- package/dist/qti-test/components/styles.js +14 -0
- package/dist/qti-test/components/styles.js.map +1 -0
- package/dist/qti-test/components/test-component.abstract.d.ts +22 -0
- package/dist/qti-test/components/test-component.abstract.js +10 -0
- package/dist/qti-test/components/test-component.abstract.js.map +1 -0
- package/dist/qti-test/components/test-item-link.d.ts +20 -0
- package/dist/qti-test/components/test-item-link.js +12 -0
- package/dist/qti-test/components/test-item-link.js.map +1 -0
- package/dist/qti-test/components/test-next.d.ts +31 -0
- package/dist/qti-test/components/test-next.js +12 -0
- package/dist/qti-test/components/test-next.js.map +1 -0
- package/dist/qti-test/components/test-next.spec.css +2481 -0
- package/dist/qti-test/components/test-next.spec.css.map +1 -0
- package/dist/qti-test/components/test-next.spec.d.ts +13 -0
- package/dist/qti-test/components/test-next.spec.js +45904 -0
- package/dist/qti-test/components/test-next.spec.js.map +1 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +21 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js +11 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js.map +1 -0
- package/dist/qti-test/components/test-prev.d.ts +31 -0
- package/dist/qti-test/components/test-prev.js +12 -0
- package/dist/qti-test/components/test-prev.js.map +1 -0
- package/dist/qti-test/components/test-view.d.ts +26 -0
- package/dist/qti-test/components/test-view.js +11 -0
- package/dist/qti-test/components/test-view.js.map +1 -0
- package/dist/qti-test/core/index.d.ts +121 -0
- package/dist/qti-test/core/index.js +27 -0
- package/dist/qti-test/core/index.js.map +1 -0
- package/dist/qti-transformers/index.js +12 -0
- package/dist/qti-transformers/index.js.map +1 -0
- package/dist/test.context-DbSTxKk_.d.ts +99 -0
- package/dist/vscode.html-custom-data.json +53 -42
- package/package.json +100 -111
- package/dist/custom-element-eslint-rules.js +0 -329
- package/dist/custom-elements.json +0 -27271
- package/dist/loader/index.js +0 -310
- package/dist/loader/index.js.map +0 -1
- package/dist/qti-simple-choice-CfgBEvdI.d.ts +0 -1143
- package/dist/qti-simple-choice-UTrFa_RQ.d.ts +0 -1177
- package/dist/qti-simple-choice-zEsDq3c0.d.ts +0 -1147
- package/dist/transformers/index.js.map +0 -1
- /package/dist/{transformers → qti-transformers}/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -21,38 +21,30 @@
|
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20.0.0"
|
|
23
23
|
},
|
|
24
|
-
"version": "7.0.
|
|
25
|
-
"main": "dist/index.js",
|
|
24
|
+
"version": "7.0.6-beta.0",
|
|
26
25
|
"type": "module",
|
|
26
|
+
"main": "dist/index.js",
|
|
27
27
|
"exports": {
|
|
28
|
-
".":
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"./
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"./loader":
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"./item.css": "./dist/item.css"
|
|
38
|
-
"./cdn/index.js": "./cdn/index.js",
|
|
39
|
-
"./cdn/index.global.js": "./cdn/index.global.js",
|
|
40
|
-
"./react": "./dist//qti-components-jsx.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"types": "./dist/qti-components/index.d.ts",
|
|
43
|
-
"typesVersions": {
|
|
44
|
-
"*": {
|
|
45
|
-
".": [
|
|
46
|
-
"./dist/index.d.ts"
|
|
47
|
-
],
|
|
48
|
-
"transformers": [
|
|
49
|
-
"./dist/transformers/index.d.ts"
|
|
50
|
-
],
|
|
51
|
-
"loader": [
|
|
52
|
-
"./dist/loader/index.d.ts"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
28
|
+
".": "./dist/index.js",
|
|
29
|
+
"./qti-components": "./dist/qti-components/index.js",
|
|
30
|
+
"./qti-test/core": "./dist/qti-test/core/index.js",
|
|
31
|
+
"./qti-test/components/*": "./dist/qti-test/components/*",
|
|
32
|
+
"./qti-item/core": "./dist/qti-item/core/index.js",
|
|
33
|
+
"./qti-item/components/*": "./dist/qti-item/components/*",
|
|
34
|
+
"./qti-loader": "./dist/qti-loader/index.js",
|
|
35
|
+
"./qti-transformers": "./dist/qti-transformers/index.js",
|
|
36
|
+
"./react": "./dist/qti-components-jsx.d.ts",
|
|
37
|
+
"./item.css": "./dist/item.css"
|
|
55
38
|
},
|
|
39
|
+
"sideEffects": [
|
|
40
|
+
"./dist/index.js",
|
|
41
|
+
"./dist/qti-components/index.js",
|
|
42
|
+
"./dist/qti-test/core/index.js",
|
|
43
|
+
"./dist/qti-test/components/*",
|
|
44
|
+
"./dist/qti-test/core/index.js",
|
|
45
|
+
"./dist/qti-item/components/*",
|
|
46
|
+
"item.scss"
|
|
47
|
+
],
|
|
56
48
|
"files": [
|
|
57
49
|
"dist",
|
|
58
50
|
"cdn"
|
|
@@ -60,106 +52,35 @@
|
|
|
60
52
|
"scripts": {
|
|
61
53
|
"storybook": "wireit",
|
|
62
54
|
"storybook:docs": "wireit",
|
|
63
|
-
"build:watch": "npm run
|
|
55
|
+
"build:watch": "npm run yalc --watch",
|
|
64
56
|
"npm:publish": "np",
|
|
65
57
|
"---": "-",
|
|
66
58
|
"build": "wireit",
|
|
67
59
|
"test": "wireit",
|
|
60
|
+
"yalc": "wireit",
|
|
68
61
|
"attw": "wireit",
|
|
69
62
|
"lint": "eslint src/**/*.ts",
|
|
70
63
|
"cem": "wireit",
|
|
71
64
|
"css": "wireit",
|
|
72
|
-
"act": "act",
|
|
65
|
+
"act": "act --container-architecture linux/arm64 -W .github/workflows/pkgr-release.yml",
|
|
73
66
|
"vite": "vite",
|
|
74
67
|
"stylelint": "stylelint \"src/**/*.css\"",
|
|
75
68
|
"build-storybook": "storybook build",
|
|
76
|
-
"storybook
|
|
69
|
+
"test-storybook": "wireit",
|
|
77
70
|
"storybook:docs:build": "wireit",
|
|
78
71
|
"chromatic": "node chromatic-runner.cjs",
|
|
79
72
|
"----hooks----": "-",
|
|
80
|
-
"prepublishOnly": "npm run build",
|
|
81
73
|
"prepare": "husky"
|
|
82
74
|
},
|
|
83
|
-
"
|
|
84
|
-
"storybook": {
|
|
85
|
-
"command": "storybook dev -p 6006",
|
|
86
|
-
"dependencies": [
|
|
87
|
-
"storybook:cem:watch"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"build": {
|
|
91
|
-
"env": {
|
|
92
|
-
"NODE_ENV": "production"
|
|
93
|
-
},
|
|
94
|
-
"command": "tsup",
|
|
95
|
-
"dependencies": [
|
|
96
|
-
"cem",
|
|
97
|
-
"css"
|
|
98
|
-
],
|
|
99
|
-
"files": [
|
|
100
|
-
"src/**/*.{ts}",
|
|
101
|
-
"tsconfig.json",
|
|
102
|
-
"!src/**/*.{test,spec,stories}.ts",
|
|
103
|
-
"package.json"
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
"cem": {
|
|
107
|
-
"command": "cem analyze",
|
|
108
|
-
"files": [
|
|
109
|
-
"src/**/*.ts",
|
|
110
|
-
"!src/**/*.{test,spec,stories}.ts"
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
"css": {
|
|
114
|
-
"command": "postcss src/item.css -d dist -m",
|
|
115
|
-
"files": [
|
|
116
|
-
"src/**/*.css"
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
"test": {
|
|
120
|
-
"command": "vitest run",
|
|
121
|
-
"dependencies": [
|
|
122
|
-
"build"
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
|
-
"storybook:docs": {
|
|
126
|
-
"command": "storybook dev --docs -c .storybook-docs",
|
|
127
|
-
"dependencies": [
|
|
128
|
-
"storybook:cem:watch"
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
"storybook:docs:build": {
|
|
132
|
-
"command": "storybook build --docs -c .storybook-docs --output-dir docs",
|
|
133
|
-
"dependencies": [
|
|
134
|
-
"cem"
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
"storybook:cem:watch": {
|
|
138
|
-
"command": "cem analyze --watch",
|
|
139
|
-
"service": {
|
|
140
|
-
"readyWhen": {
|
|
141
|
-
"lineMatches": "Created new manifest."
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"attw": {
|
|
146
|
-
"command": "attw --profile esm-only --pack --exclude-entrypoints ./item.css ./cdn/index.js ./cdn/index.global.js ./cdn/index.min.js",
|
|
147
|
-
"dependencies": [
|
|
148
|
-
"build"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
},
|
|
75
|
+
"dependencies": {},
|
|
152
76
|
"peerDependencies": {
|
|
153
|
-
"@lit/context": "^1.1.
|
|
154
|
-
"lit": "^3.2.1",
|
|
155
|
-
"stampino": "^0.8.3"
|
|
156
|
-
},
|
|
157
|
-
"dependencies": {
|
|
158
|
-
"@lit/context": "^1.1.2",
|
|
77
|
+
"@lit/context": "^1.1.3",
|
|
159
78
|
"lit": "^3.2.1",
|
|
160
79
|
"stampino": "^0.8.3"
|
|
161
80
|
},
|
|
162
81
|
"devDependencies": {
|
|
82
|
+
"lit": "^3.2.1",
|
|
83
|
+
"stampino": "^0.8.3",
|
|
163
84
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
164
85
|
"@chromatic-com/storybook": "^3.2.2",
|
|
165
86
|
"@commitlint/cli": "^19.6.0",
|
|
@@ -175,7 +96,7 @@
|
|
|
175
96
|
"@storybook/blocks": "^8.4.7",
|
|
176
97
|
"@storybook/preview-api": "^8.4.7",
|
|
177
98
|
"@storybook/test": "^8.4.7",
|
|
178
|
-
"@storybook/test-runner": "^0.
|
|
99
|
+
"@storybook/test-runner": "^0.21.0",
|
|
179
100
|
"@storybook/web-components": "^8.4.7",
|
|
180
101
|
"@storybook/web-components-vite": "^8.4.7",
|
|
181
102
|
"@swc/core": "^1.10.1",
|
|
@@ -186,6 +107,7 @@
|
|
|
186
107
|
"@typescript-eslint/parser": "^8.17.0",
|
|
187
108
|
"@vitest/browser": "^2.1.8",
|
|
188
109
|
"autoprefixer": "^10.4.20",
|
|
110
|
+
"globby": "^14.0.2",
|
|
189
111
|
"cem-plugin-expanded-types": "^1.3.3",
|
|
190
112
|
"chromatic": "^11.20.0",
|
|
191
113
|
"custom-element-eslint-rule-generator": "^1.0.1",
|
|
@@ -206,7 +128,6 @@
|
|
|
206
128
|
"globals": "^15.13.0",
|
|
207
129
|
"husky": "^9.1.7",
|
|
208
130
|
"np": "^10.1.0",
|
|
209
|
-
"npm": "^10.9.2",
|
|
210
131
|
"path-browserify": "^1.0.1",
|
|
211
132
|
"pkg-pr-new": "^0.0.37",
|
|
212
133
|
"playwright": "^1.49.0",
|
|
@@ -239,5 +160,73 @@
|
|
|
239
160
|
"bugs": {
|
|
240
161
|
"url": "https://github.com/Citolab/qti-components/issues"
|
|
241
162
|
},
|
|
242
|
-
"homepage": "https://github.com/Citolab/qti-components#readme"
|
|
163
|
+
"homepage": "https://github.com/Citolab/qti-components#readme",
|
|
164
|
+
"wireit": {
|
|
165
|
+
"storybook": {
|
|
166
|
+
"command": "storybook dev -p 6006",
|
|
167
|
+
"dependencies": [
|
|
168
|
+
"storybook:cem:watch"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"yalc": {
|
|
172
|
+
"command": "yalc push",
|
|
173
|
+
"dependencies": [
|
|
174
|
+
"build"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"build": {
|
|
178
|
+
"command": "tsup",
|
|
179
|
+
"dependencies": [
|
|
180
|
+
"cem",
|
|
181
|
+
"css"
|
|
182
|
+
],
|
|
183
|
+
"files": [
|
|
184
|
+
"src/**/*.ts",
|
|
185
|
+
"tsconfig.json",
|
|
186
|
+
"package.json",
|
|
187
|
+
"tsup.config.ts"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"cem": {
|
|
191
|
+
"command": "cem analyze"
|
|
192
|
+
},
|
|
193
|
+
"test-storybook": {
|
|
194
|
+
"command": "test-storybook --excludeTags no-tests"
|
|
195
|
+
},
|
|
196
|
+
"css": {
|
|
197
|
+
"command": "postcss src/item.css -d dist -m"
|
|
198
|
+
},
|
|
199
|
+
"test": {
|
|
200
|
+
"command": "vitest run",
|
|
201
|
+
"dependencies": [
|
|
202
|
+
"build"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"storybook:docs": {
|
|
206
|
+
"command": "storybook dev --docs -c .storybook-docs",
|
|
207
|
+
"dependencies": [
|
|
208
|
+
"storybook:cem:watch"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"storybook:docs:build": {
|
|
212
|
+
"command": "storybook build --docs -c .storybook-docs --output-dir docs",
|
|
213
|
+
"dependencies": [
|
|
214
|
+
"cem"
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
"storybook:cem:watch": {
|
|
218
|
+
"command": "cem analyze --watch",
|
|
219
|
+
"service": {
|
|
220
|
+
"readyWhen": {
|
|
221
|
+
"lineMatches": "Created new manifest."
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"attw": {
|
|
226
|
+
"command": "attw --profile esm-only --pack --exclude-entrypoints ./item.css ./react",
|
|
227
|
+
"dependencies": [
|
|
228
|
+
"build"
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
}
|
|
243
232
|
}
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import customElement from "eslint-plugin-custom-element";
|
|
2
|
-
import html from "@html-eslint/eslint-plugin";
|
|
3
|
-
import htmlParser from "@html-eslint/parser";
|
|
4
|
-
|
|
5
|
-
export const rules = {
|
|
6
|
-
"custom-element/required-attrs": ["error"],
|
|
7
|
-
|
|
8
|
-
"custom-element/no-deprecated-attrs": [
|
|
9
|
-
"warn",
|
|
10
|
-
{
|
|
11
|
-
tag: "qti-choice-interaction",
|
|
12
|
-
attr: "orientation",
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
|
|
16
|
-
"custom-element/constrained-attrs": ["error"],
|
|
17
|
-
|
|
18
|
-
"custom-element/no-deprecated-tags": ["warn"],
|
|
19
|
-
|
|
20
|
-
"custom-element/no-boolean-attr-values": [
|
|
21
|
-
"error",
|
|
22
|
-
{
|
|
23
|
-
tag: "undefined",
|
|
24
|
-
attr: "disabled",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
tag: "undefined",
|
|
28
|
-
attr: "readonly",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
tag: "qti-assessment-item",
|
|
32
|
-
attr: "disabled",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
tag: "qti-assessment-item",
|
|
36
|
-
attr: "readonly",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
tag: "qti-extended-text-interaction",
|
|
40
|
-
attr: "disabled",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
tag: "qti-extended-text-interaction",
|
|
44
|
-
attr: "readonly",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
tag: "qti-text-entry-interaction",
|
|
48
|
-
attr: "disabled",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
tag: "qti-text-entry-interaction",
|
|
52
|
-
attr: "readonly",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
tag: "qti-hottext-interaction",
|
|
56
|
-
attr: "disabled",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
tag: "qti-hottext-interaction",
|
|
60
|
-
attr: "readonly",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
tag: "qti-inline-choice-interaction",
|
|
64
|
-
attr: "disabled",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
tag: "qti-inline-choice-interaction",
|
|
68
|
-
attr: "readonly",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
tag: "qti-simple-choice",
|
|
72
|
-
attr: "aria-disabled",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
tag: "qti-simple-choice",
|
|
76
|
-
attr: "aria-readonly",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
tag: "qti-choice-interaction",
|
|
80
|
-
attr: "disabled",
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
tag: "qti-choice-interaction",
|
|
84
|
-
attr: "readonly",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
tag: "qti-upload-interaction",
|
|
88
|
-
attr: "disabled",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
tag: "qti-upload-interaction",
|
|
92
|
-
attr: "readonly",
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
tag: "qti-portable-custom-interaction",
|
|
96
|
-
attr: "disabled",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
tag: "qti-portable-custom-interaction",
|
|
100
|
-
attr: "readonly",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
tag: "qti-simple-associable-choice",
|
|
104
|
-
attr: "fixed",
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
tag: "qti-simple-associable-choice",
|
|
108
|
-
attr: "aria-disabled",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
tag: "qti-simple-associable-choice",
|
|
112
|
-
attr: "aria-readonly",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
tag: "qti-associate-interaction",
|
|
116
|
-
attr: "disabled",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
tag: "qti-associate-interaction",
|
|
120
|
-
attr: "readonly",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
tag: "qti-custom-interaction",
|
|
124
|
-
attr: "disabled",
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
tag: "qti-custom-interaction",
|
|
128
|
-
attr: "readonly",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
tag: "qti-end-attempt-interaction",
|
|
132
|
-
attr: "disabled",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
tag: "qti-end-attempt-interaction",
|
|
136
|
-
attr: "readonly",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
tag: "qti-gap-match-interaction",
|
|
140
|
-
attr: "disabled",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
tag: "qti-gap-match-interaction",
|
|
144
|
-
attr: "readonly",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
tag: "qti-hotspot-choice",
|
|
148
|
-
attr: "aria-disabled",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
tag: "qti-hotspot-choice",
|
|
152
|
-
attr: "aria-readonly",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
tag: "qti-graphic-associate-interaction",
|
|
156
|
-
attr: "disabled",
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
tag: "qti-graphic-associate-interaction",
|
|
160
|
-
attr: "readonly",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
tag: "qti-graphic-gap-match-interaction",
|
|
164
|
-
attr: "disabled",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
tag: "qti-graphic-gap-match-interaction",
|
|
168
|
-
attr: "readonly",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
tag: "qti-graphic-order-interaction",
|
|
172
|
-
attr: "disabled",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
tag: "qti-graphic-order-interaction",
|
|
176
|
-
attr: "readonly",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
tag: "qti-hotspot-interaction",
|
|
180
|
-
attr: "disabled",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
tag: "qti-hotspot-interaction",
|
|
184
|
-
attr: "readonly",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
tag: "qti-match-interaction",
|
|
188
|
-
attr: "disabled",
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
tag: "qti-match-interaction",
|
|
192
|
-
attr: "readonly",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
tag: "qti-media-interaction",
|
|
196
|
-
attr: "disabled",
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
tag: "qti-media-interaction",
|
|
200
|
-
attr: "readonly",
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
tag: "qti-order-interaction",
|
|
204
|
-
attr: "disabled",
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
tag: "qti-order-interaction",
|
|
208
|
-
attr: "readonly",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
tag: "qti-select-point-interaction",
|
|
212
|
-
attr: "disabled",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
tag: "qti-select-point-interaction",
|
|
216
|
-
attr: "readonly",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
tag: "qti-gap-text",
|
|
220
|
-
attr: "aria-disabled",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
tag: "qti-gap-text",
|
|
224
|
-
attr: "aria-readonly",
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
tag: "qti-hottext",
|
|
228
|
-
attr: "aria-disabled",
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
tag: "qti-hottext",
|
|
232
|
-
attr: "aria-readonly",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
tag: "test-element",
|
|
236
|
-
attr: "disabled",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
tag: "test-element",
|
|
240
|
-
attr: "readonly",
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
tag: "test-element",
|
|
244
|
-
attr: "disabled",
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
tag: "test-element",
|
|
248
|
-
attr: "readonly",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
tag: "test-element",
|
|
252
|
-
attr: "disabled",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
tag: "test-element",
|
|
256
|
-
attr: "readonly",
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
tag: "qti-assessment-item-ref",
|
|
260
|
-
attr: "required",
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
tag: "qti-assessment-item-ref",
|
|
264
|
-
attr: "fixed",
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
tag: "qti-assessment-section",
|
|
268
|
-
attr: "fixed",
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
tag: "qti-assessment-section",
|
|
272
|
-
attr: "visible",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
tag: "qti-assessment-section",
|
|
276
|
-
attr: "keep-together",
|
|
277
|
-
},
|
|
278
|
-
],
|
|
279
|
-
|
|
280
|
-
"@html-eslint/no-duplicate-attrs": "off",
|
|
281
|
-
"@html-eslint/no-duplicate-id": "off",
|
|
282
|
-
"@html-eslint/no-inline-styles": "off",
|
|
283
|
-
"@html-eslint/no-obsolete-tags": "off",
|
|
284
|
-
"@html-eslint/no-restricted-attr-values": "off",
|
|
285
|
-
"@html-eslint/no-restricted-attrs": "off",
|
|
286
|
-
"@html-eslint/no-script-style-type": "off",
|
|
287
|
-
"@html-eslint/no-target-blank": "off",
|
|
288
|
-
"@html-eslint/require-attrs": "off",
|
|
289
|
-
"@html-eslint/require-button-type": "off",
|
|
290
|
-
"@html-eslint/require-closing-tags": "off",
|
|
291
|
-
"@html-eslint/require-doctype": "off",
|
|
292
|
-
"@html-eslint/require-li-container": "off",
|
|
293
|
-
"@html-eslint/require-meta-charset": "off",
|
|
294
|
-
"@html-eslint/no-multiple-h1": "off",
|
|
295
|
-
"@html-eslint/require-lang": "off",
|
|
296
|
-
"@html-eslint/require-meta-description": "off",
|
|
297
|
-
"@html-eslint/require-open-graph-protocol": "off",
|
|
298
|
-
"@html-eslint/require-title": "off",
|
|
299
|
-
"@html-eslint/no-abstract-roles": "off",
|
|
300
|
-
"@html-eslint/no-accesskey-attrs": "off",
|
|
301
|
-
"@html-eslint/no-aria-hidden-body": "off",
|
|
302
|
-
"@html-eslint/no-non-scalable-viewport": "off",
|
|
303
|
-
"@html-eslint/no-positive-tabindex": "off",
|
|
304
|
-
"@html-eslint/no-skip-heading-levels": "off",
|
|
305
|
-
"@html-eslint/require-frame-title": "off",
|
|
306
|
-
"@html-eslint/require-img-alt": "off",
|
|
307
|
-
"@html-eslint/require-meta-viewport": "off",
|
|
308
|
-
"@html-eslint/element-newline": "off",
|
|
309
|
-
"@html-eslint/id-naming-convention": "off",
|
|
310
|
-
"@html-eslint/indent": "off",
|
|
311
|
-
"@html-eslint/lowercase": "off",
|
|
312
|
-
"@html-eslint/no-extra-spacing-attrs": "off",
|
|
313
|
-
"@html-eslint/no-multiple-empty-lines": "off",
|
|
314
|
-
"@html-eslint/no-trailing-spaces": "off",
|
|
315
|
-
"@html-eslint/quotes": "off",
|
|
316
|
-
"@html-eslint/sort-attrs": "off",
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
export default {
|
|
320
|
-
rules,
|
|
321
|
-
recommendedConfig: {
|
|
322
|
-
files: ["**/*.html"],
|
|
323
|
-
languageOptions: {
|
|
324
|
-
parser: htmlParser,
|
|
325
|
-
},
|
|
326
|
-
plugins: { html, "custom-element": customElement },
|
|
327
|
-
rules,
|
|
328
|
-
},
|
|
329
|
-
};
|