@citolab/qti-components 6.9.1-0 → 6.9.1-10
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/dist/custom-elements.json +96 -76
- package/dist/index.js +71 -71
- package/dist/item.css +1 -366
- package/dist/qti-components/index.d.ts +12 -0
- package/dist/qti-components/index.js +94 -94
- package/package.json +1 -1
package/dist/item.css
CHANGED
|
@@ -946,369 +946,4 @@ qti-response-declaration {
|
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
/*
|
|
950
|
-
|
|
951
|
-
.point{padding:0;background-color:transparent;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-style:solid;height:1.5rem;width:1.5rem;outline:2px solid transparent;outline-offset:2px;}
|
|
952
|
-
|
|
953
|
-
.spot{padding:0;background-color:transparent;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-style:solid;height:100%;width:100%;outline:2px solid transparent;outline-offset:2px;}
|
|
954
|
-
|
|
955
|
-
.text{padding:0.75rem;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0;border-style:solid;cursor:text;outline:2px solid transparent;outline-offset:2px;}
|
|
956
|
-
|
|
957
|
-
.placeholder-text::-moz-placeholder{padding:0.75rem;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0;border-style:solid;cursor:text;outline:2px solid transparent;outline-offset:2px;}
|
|
958
|
-
|
|
959
|
-
.placeholder-text::placeholder{padding:0.75rem;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0;border-style:solid;cursor:text;outline:2px solid transparent;outline-offset:2px;}
|
|
960
|
-
|
|
961
|
-
.button{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0.375rem;border-style:solid;font-weight:600;cursor:pointer;outline:2px solid transparent;outline-offset:2px;}
|
|
962
|
-
|
|
963
|
-
.check{padding-left:0.25rem;padding-right:0.25rem;padding-top:0.125rem;padding-bottom:0.125rem;border-radius:0.375rem;display:flex;gap:0.5rem;outline:2px solid transparent;outline-offset:2px;align-items:center;}
|
|
964
|
-
|
|
965
|
-
.drag{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:0.75rem;display:inline-block;--qti-bg-opacity:1;background-color:rgb(255 255 255 / var(--qti-bg-opacity));border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0.375rem;border-style:solid;font-weight:600;cursor:grab;outline:2px solid transparent;outline-offset:2px;background-image:
|
|
966
|
-
radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0, rgb(0, 0, 0, 0.1) 2px, white 2px, white 100%);
|
|
967
|
-
background-repeat: repeat-y;
|
|
968
|
-
background-position: left 2px;
|
|
969
|
-
background-size: 14px 8px;;}
|
|
970
|
-
|
|
971
|
-
.p-lg{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:0.75rem;}
|
|
972
|
-
|
|
973
|
-
.select{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-right:1.75rem;border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0.375rem;border-style:solid;position:relative;outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E") no-repeat center right 6px;}
|
|
974
|
-
|
|
975
|
-
.drop{margin:1px;--qti-bg-opacity:1;background-color:rgb(249 250 251 / var(--qti-bg-opacity));border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0.5rem;border-style:solid;position:relative;outline:2px solid transparent;outline-offset:2px;}
|
|
976
|
-
|
|
977
|
-
.check-checkbox-checked{--qti-bg-opacity:1;background-color:rgb(0 0 255 / var(--qti-bg-opacity));-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");}
|
|
978
|
-
|
|
979
|
-
.check-radio-checked{--qti-bg-opacity:1;background-color:rgb(0 0 255 / var(--qti-bg-opacity));border-radius:9999px;}
|
|
980
|
-
|
|
981
|
-
.dis{--qti-bg-opacity:1;background-color:rgb(243 244 246 / var(--qti-bg-opacity));--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));--qti-text-opacity:1;color:rgb(107 114 128 / var(--qti-text-opacity));cursor:not-allowed;}
|
|
982
|
-
|
|
983
|
-
.hov{--qti-bg-opacity:1;background-color:rgb(249 250 251 / var(--qti-bg-opacity));}
|
|
984
|
-
|
|
985
|
-
.order{--qti-bg-opacity:1;background-color:rgb(0 0 255 / var(--qti-bg-opacity));border-radius:9999px;--qti-text-opacity:1;color:rgb(255 255 255 / var(--qti-text-opacity));height:1.5rem;width:1.5rem;}
|
|
986
|
-
|
|
987
|
-
.rdo{--qti-bg-opacity:1;background-color:rgb(255 255 255 / var(--qti-bg-opacity));border-width:0px;cursor:pointer;outline-width:0px;}
|
|
988
|
-
|
|
989
|
-
.bordered{border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-style:solid;outline:2px solid transparent;outline-offset:2px;}
|
|
990
|
-
|
|
991
|
-
.check-checkbox{border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:0.25rem;border-style:solid;display:flex;flex-shrink:0;width:1.25rem;height:1.25rem;outline:2px solid transparent;outline-offset:2px;justify-content:center;align-items:center;}
|
|
992
|
-
|
|
993
|
-
.check-radio{border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-radius:9999px;border-style:solid;display:flex;flex-shrink:0;width:1.25rem;height:1.25rem;outline:2px solid transparent;outline-offset:2px;justify-content:center;align-items:center;}
|
|
994
|
-
|
|
995
|
-
.form{border-width:2px;--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));border-style:solid;display:flex;flex-shrink:0;width:1.25rem;height:1.25rem;outline:2px solid transparent;outline-offset:2px;justify-content:center;align-items:center;}
|
|
996
|
-
|
|
997
|
-
.act{--qti-border-opacity:1;border-color:rgb(0 0 255 / var(--qti-border-opacity));}
|
|
998
|
-
|
|
999
|
-
.borderinvisible{border-color:transparent;}
|
|
1000
|
-
|
|
1001
|
-
.foc{outline-width:2px;--qti-outline-color-opacity:1;outline-color:rgb(0 255 0 / var(--qti-outline-color-opacity));}
|
|
1002
|
-
|
|
1003
|
-
/* layer: default */
|
|
1004
|
-
|
|
1005
|
-
.p-0,
|
|
1006
|
-
.p\[0\]{padding:0;}
|
|
1007
|
-
|
|
1008
|
-
.p-3{padding:0.75rem;}
|
|
1009
|
-
|
|
1010
|
-
.p\[\+\+s\]{padding:++s;}
|
|
1011
|
-
|
|
1012
|
-
.p\[1\]{padding:1;}
|
|
1013
|
-
|
|
1014
|
-
.px{padding-left:1rem;padding-right:1rem;}
|
|
1015
|
-
|
|
1016
|
-
.px-1{padding-left:0.25rem;padding-right:0.25rem;}
|
|
1017
|
-
|
|
1018
|
-
.px-2{padding-left:0.5rem;padding-right:0.5rem;}
|
|
1019
|
-
|
|
1020
|
-
.px-3{padding-left:0.75rem;padding-right:0.75rem;}
|
|
1021
|
-
|
|
1022
|
-
.px-6{padding-left:1.5rem;padding-right:1.5rem;}
|
|
1023
|
-
|
|
1024
|
-
.py-0\.5{padding-top:0.125rem;padding-bottom:0.125rem;}
|
|
1025
|
-
|
|
1026
|
-
.py-1{padding-top:0.25rem;padding-bottom:0.25rem;}
|
|
1027
|
-
|
|
1028
|
-
.py-2{padding-top:0.5rem;padding-bottom:0.5rem;}
|
|
1029
|
-
|
|
1030
|
-
.pb{padding-bottom:1rem;}
|
|
1031
|
-
|
|
1032
|
-
.pe{padding-inline-end:1rem;}
|
|
1033
|
-
|
|
1034
|
-
.pl-4{padding-left:1rem;}
|
|
1035
|
-
|
|
1036
|
-
.pr{padding-right:1rem;}
|
|
1037
|
-
|
|
1038
|
-
.pr-3{padding-right:0.75rem;}
|
|
1039
|
-
|
|
1040
|
-
.pr-7{padding-right:1.75rem;}
|
|
1041
|
-
|
|
1042
|
-
.ps{padding-inline-start:1rem;}
|
|
1043
|
-
|
|
1044
|
-
.pt{padding-top:1rem;}
|
|
1045
|
-
|
|
1046
|
-
.m-2{margin:0.5rem;}
|
|
1047
|
-
|
|
1048
|
-
.m-px{margin:1px;}
|
|
1049
|
-
|
|
1050
|
-
.m\[0\]{margin:0;}
|
|
1051
|
-
|
|
1052
|
-
.m\[d\]{margin:d;}
|
|
1053
|
-
|
|
1054
|
-
.m\[u\]{margin:u;}
|
|
1055
|
-
|
|
1056
|
-
.m\$1\(n\){margin:var(--\31 \(n\));}
|
|
1057
|
-
|
|
1058
|
-
.m157\.22{margin:39.305rem;}
|
|
1059
|
-
|
|
1060
|
-
.m211\.07{margin:52.7675rem;}
|
|
1061
|
-
|
|
1062
|
-
.m254\.27{margin:63.5675rem;}
|
|
1063
|
-
|
|
1064
|
-
.m402\.92{margin:100.73rem;}
|
|
1065
|
-
|
|
1066
|
-
.ma{margin:auto;}
|
|
1067
|
-
|
|
1068
|
-
.my{margin-top:1rem;margin-bottom:1rem;}
|
|
1069
|
-
|
|
1070
|
-
.mb{margin-bottom:1rem;}
|
|
1071
|
-
|
|
1072
|
-
.mb\[c\[u\]\]{margin-bottom:c[u];}
|
|
1073
|
-
|
|
1074
|
-
.mb\[o\]{margin-bottom:o;}
|
|
1075
|
-
|
|
1076
|
-
.me\!{margin-inline-end:1rem !important;}
|
|
1077
|
-
|
|
1078
|
-
.mr{margin-right:1rem;}
|
|
1079
|
-
|
|
1080
|
-
.ms{margin-inline-start:1rem;}
|
|
1081
|
-
|
|
1082
|
-
.mt{margin-top:1rem;}
|
|
1083
|
-
|
|
1084
|
-
.inline{display:inline;}
|
|
1085
|
-
|
|
1086
|
-
.block{display:block;}
|
|
1087
|
-
|
|
1088
|
-
.inline-block{display:inline-block;}
|
|
1089
|
-
|
|
1090
|
-
.contents{display:contents;}
|
|
1091
|
-
|
|
1092
|
-
.list-item{display:list-item;}
|
|
1093
|
-
|
|
1094
|
-
.hidden{display:none;}
|
|
1095
|
-
|
|
1096
|
-
.bg-blue-500{--qti-bg-opacity:1;background-color:rgb(59 130 246 / var(--qti-bg-opacity));}
|
|
1097
|
-
|
|
1098
|
-
.bg-gray-100{--qti-bg-opacity:1;background-color:rgb(243 244 246 / var(--qti-bg-opacity));}
|
|
1099
|
-
|
|
1100
|
-
.bg-gray-50{--qti-bg-opacity:1;background-color:rgb(249 250 251 / var(--qti-bg-opacity));}
|
|
1101
|
-
|
|
1102
|
-
.bg-primary{--qti-bg-opacity:1;background-color:rgb(0 0 255 / var(--qti-bg-opacity));}
|
|
1103
|
-
|
|
1104
|
-
.bg-transparent{background-color:transparent;}
|
|
1105
|
-
|
|
1106
|
-
.bg-white{--qti-bg-opacity:1;background-color:rgb(255 255 255 / var(--qti-bg-opacity));}
|
|
1107
|
-
|
|
1108
|
-
.\!b{border-width:1px !important;}
|
|
1109
|
-
|
|
1110
|
-
.b,
|
|
1111
|
-
.border,
|
|
1112
|
-
.border-1{border-width:1px;}
|
|
1113
|
-
|
|
1114
|
-
.border-0{border-width:0px;}
|
|
1115
|
-
|
|
1116
|
-
.border-2{border-width:2px;}
|
|
1117
|
-
|
|
1118
|
-
.border-gray-200{--qti-border-opacity:1;border-color:rgb(229 231 235 / var(--qti-border-opacity));}
|
|
1119
|
-
|
|
1120
|
-
.border-gray-400{--qti-border-opacity:1;border-color:rgb(156 163 175 / var(--qti-border-opacity));}
|
|
1121
|
-
|
|
1122
|
-
.border-primary{--qti-border-opacity:1;border-color:rgb(0 0 255 / var(--qti-border-opacity));}
|
|
1123
|
-
|
|
1124
|
-
.border-transparent{border-color:transparent;}
|
|
1125
|
-
|
|
1126
|
-
.rd,
|
|
1127
|
-
.rounded{border-radius:0.25rem;}
|
|
1128
|
-
|
|
1129
|
-
.rounded-full{border-radius:9999px;}
|
|
1130
|
-
|
|
1131
|
-
.rounded-lg{border-radius:0.5rem;}
|
|
1132
|
-
|
|
1133
|
-
.rounded-md{border-radius:0.375rem;}
|
|
1134
|
-
|
|
1135
|
-
.rounded-none{border-radius:0;}
|
|
1136
|
-
|
|
1137
|
-
.border-solid{border-style:solid;}
|
|
1138
|
-
|
|
1139
|
-
.text-4xl{font-size:2.25rem;line-height:2.5rem;}
|
|
1140
|
-
|
|
1141
|
-
.text-xs{font-size:0.75rem;line-height:1rem;}
|
|
1142
|
-
|
|
1143
|
-
.text-blue-100{--qti-text-opacity:1;color:rgb(219 234 254 / var(--qti-text-opacity));}
|
|
1144
|
-
|
|
1145
|
-
.text-gray-400{--qti-text-opacity:1;color:rgb(156 163 175 / var(--qti-text-opacity));}
|
|
1146
|
-
|
|
1147
|
-
.text-gray-500{--qti-text-opacity:1;color:rgb(107 114 128 / var(--qti-text-opacity));}
|
|
1148
|
-
|
|
1149
|
-
.text-gray-700{--qti-text-opacity:1;color:rgb(55 65 81 / var(--qti-text-opacity));}
|
|
1150
|
-
|
|
1151
|
-
.text-white{--qti-text-opacity:1;color:rgb(255 255 255 / var(--qti-text-opacity));}
|
|
1152
|
-
|
|
1153
|
-
.font-bold{font-weight:700;}
|
|
1154
|
-
|
|
1155
|
-
.font-semibold{font-weight:600;}
|
|
1156
|
-
|
|
1157
|
-
.leading-tight{line-height:1.25;}
|
|
1158
|
-
|
|
1159
|
-
.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4;}
|
|
1160
|
-
|
|
1161
|
-
.indent{text-indent:1.5rem;}
|
|
1162
|
-
|
|
1163
|
-
.underline{text-decoration-line:underline;}
|
|
1164
|
-
|
|
1165
|
-
.text-shadow{--qti-text-shadow:0 0 1px var(--qti-text-shadow-color, rgb(0 0 0 / 0.2)),0 0 1px var(--qti-text-shadow-color, rgb(1 0 5 / 0.1));text-shadow:var(--qti-text-shadow);}
|
|
1166
|
-
|
|
1167
|
-
.text-right{text-align:right;}
|
|
1168
|
-
|
|
1169
|
-
.italic{font-style:italic;}
|
|
1170
|
-
|
|
1171
|
-
.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
|
|
1172
|
-
|
|
1173
|
-
.shadow{--qti-shadow:var(--qti-shadow-inset) 0 1px 3px 0 var(--qti-shadow-color, rgb(0 0 0 / 0.1)),var(--qti-shadow-inset) 0 1px 2px -1px var(--qti-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--qti-ring-offset-shadow), var(--qti-ring-shadow), var(--qti-shadow);}
|
|
1174
|
-
|
|
1175
|
-
.ring{--qti-ring-width:3px;--qti-ring-offset-shadow:var(--qti-ring-inset) 0 0 0 var(--qti-ring-offset-width) var(--qti-ring-offset-color);--qti-ring-shadow:var(--qti-ring-inset) 0 0 0 calc(var(--qti-ring-width) + var(--qti-ring-offset-width)) var(--qti-ring-color);box-shadow:var(--qti-ring-offset-shadow), var(--qti-ring-shadow), var(--qti-shadow);}
|
|
1176
|
-
|
|
1177
|
-
.flex{display:flex;}
|
|
1178
|
-
|
|
1179
|
-
.shrink-0{flex-shrink:0;}
|
|
1180
|
-
|
|
1181
|
-
.basis-1\/4{flex-basis:25%;}
|
|
1182
|
-
|
|
1183
|
-
.basis-3\/4{flex-basis:75%;}
|
|
1184
|
-
|
|
1185
|
-
.flex-col{flex-direction:column;}
|
|
1186
|
-
|
|
1187
|
-
.flex-wrap{flex-wrap:wrap;}
|
|
1188
|
-
|
|
1189
|
-
.grid{display:grid;}
|
|
1190
|
-
|
|
1191
|
-
.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr));}
|
|
1192
|
-
|
|
1193
|
-
.gap-2{gap:0.5rem;}
|
|
1194
|
-
|
|
1195
|
-
.gap-4{gap:1rem;}
|
|
1196
|
-
|
|
1197
|
-
.absolute{position:absolute;}
|
|
1198
|
-
|
|
1199
|
-
.fixed{position:fixed;}
|
|
1200
|
-
|
|
1201
|
-
.relative{position:relative;}
|
|
1202
|
-
|
|
1203
|
-
.static{position:static;}
|
|
1204
|
-
|
|
1205
|
-
.h-16{height:4rem;}
|
|
1206
|
-
|
|
1207
|
-
.h-5,
|
|
1208
|
-
.h5{height:1.25rem;}
|
|
1209
|
-
|
|
1210
|
-
.h-6,
|
|
1211
|
-
.h6{height:1.5rem;}
|
|
1212
|
-
|
|
1213
|
-
.h-full{height:100%;}
|
|
1214
|
-
|
|
1215
|
-
.h\[0\]{height:0;}
|
|
1216
|
-
|
|
1217
|
-
.h\[1\]{height:1;}
|
|
1218
|
-
|
|
1219
|
-
.h\[2\]{height:2;}
|
|
1220
|
-
|
|
1221
|
-
.h\[a\.toLowerCase\(\)\]{height:a.toLowerCase();}
|
|
1222
|
-
|
|
1223
|
-
.h\[b\[1\]\.toLowerCase\(\)\]{height:b[1].toLowerCase();}
|
|
1224
|
-
|
|
1225
|
-
.h\[b\]{height:b;}
|
|
1226
|
-
|
|
1227
|
-
.h\[d\]{height:d;}
|
|
1228
|
-
|
|
1229
|
-
.h\[g\]{height:g;}
|
|
1230
|
-
|
|
1231
|
-
.h\[o\]{height:o;}
|
|
1232
|
-
|
|
1233
|
-
.h1{height:0.25rem;}
|
|
1234
|
-
|
|
1235
|
-
.h2{height:0.5rem;}
|
|
1236
|
-
|
|
1237
|
-
.h3{height:0.75rem;}
|
|
1238
|
-
|
|
1239
|
-
.h4{height:1rem;}
|
|
1240
|
-
|
|
1241
|
-
.ha{height:auto;}
|
|
1242
|
-
|
|
1243
|
-
.max-w-\[2rem\]{max-width:2rem;}
|
|
1244
|
-
|
|
1245
|
-
.min-w-\[2rem\]{min-width:2rem;}
|
|
1246
|
-
|
|
1247
|
-
.w-16{width:4rem;}
|
|
1248
|
-
|
|
1249
|
-
.w-5{width:1.25rem;}
|
|
1250
|
-
|
|
1251
|
-
.w-6{width:1.5rem;}
|
|
1252
|
-
|
|
1253
|
-
.w-full{width:100%;}
|
|
1254
|
-
|
|
1255
|
-
.w\$1\(n\,l\,u\,i\,t\,r\,o\,f\,s\,a\){width:var(--\31 \(n, l);}
|
|
1256
|
-
|
|
1257
|
-
.cursor-pointer{cursor:pointer;}
|
|
1258
|
-
|
|
1259
|
-
.cursor-text{cursor:text;}
|
|
1260
|
-
|
|
1261
|
-
.cursor-not-allowed{cursor:not-allowed;}
|
|
1262
|
-
|
|
1263
|
-
.cursor-grab{cursor:grab;}
|
|
1264
|
-
|
|
1265
|
-
.visible{visibility:visible;}
|
|
1266
|
-
|
|
1267
|
-
.resize{resize:both;}
|
|
1268
|
-
|
|
1269
|
-
.whitespace-nowrap{white-space:nowrap;}
|
|
1270
|
-
|
|
1271
|
-
.break-all{word-break:break-all;}
|
|
1272
|
-
|
|
1273
|
-
.overflow-x-auto{overflow-x:auto;}
|
|
1274
|
-
|
|
1275
|
-
.outline-0{outline-width:0px;}
|
|
1276
|
-
|
|
1277
|
-
.outline-2{outline-width:2px;}
|
|
1278
|
-
|
|
1279
|
-
.outline-focus{--qti-outline-color-opacity:1;outline-color:rgb(0 255 0 / var(--qti-outline-color-opacity));}
|
|
1280
|
-
|
|
1281
|
-
.outline{outline-style:solid;}
|
|
1282
|
-
|
|
1283
|
-
.outline-none{outline:2px solid transparent;outline-offset:2px;}
|
|
1284
|
-
|
|
1285
|
-
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px;}
|
|
1286
|
-
|
|
1287
|
-
.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none;}
|
|
1288
|
-
|
|
1289
|
-
.justify-end{justify-content:flex-end;}
|
|
1290
|
-
|
|
1291
|
-
.justify-center{justify-content:center;}
|
|
1292
|
-
|
|
1293
|
-
.items-center{align-items:center;}
|
|
1294
|
-
|
|
1295
|
-
.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
|
|
1296
|
-
|
|
1297
|
-
.ease,
|
|
1298
|
-
.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}
|
|
1299
|
-
|
|
1300
|
-
.ease-out{transition-timing-function:cubic-bezier(0, 0, 0.2, 1);}
|
|
1301
|
-
|
|
1302
|
-
.transform{transform:translateX(var(--qti-translate-x)) translateY(var(--qti-translate-y)) translateZ(var(--qti-translate-z)) rotate(var(--qti-rotate)) rotateX(var(--qti-rotate-x)) rotateY(var(--qti-rotate-y)) rotateZ(var(--qti-rotate-z)) skewX(var(--qti-skew-x)) skewY(var(--qti-skew-y)) scaleX(var(--qti-scale-x)) scaleY(var(--qti-scale-y)) scaleZ(var(--qti-scale-z));}
|
|
1303
|
-
|
|
1304
|
-
.text-wrap{text-wrap:wrap;}
|
|
1305
|
-
|
|
1306
|
-
.chevron{background:url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E") no-repeat center right 6px;}
|
|
1307
|
-
|
|
1308
|
-
.handle{background-image:
|
|
1309
|
-
radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0, rgb(0, 0, 0, 0.1) 2px, white 2px, white 100%);
|
|
1310
|
-
background-repeat: repeat-y;
|
|
1311
|
-
background-position: left 2px;
|
|
1312
|
-
background-size: 14px 8px;;}
|
|
1313
|
-
|
|
1314
|
-
.check-mask{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");}
|
|
949
|
+
/* @unocss; */
|
|
@@ -893,6 +893,7 @@ declare global {
|
|
|
893
893
|
|
|
894
894
|
declare class QtiCustomInteraction extends Interaction {
|
|
895
895
|
private rawResponse;
|
|
896
|
+
constructor();
|
|
896
897
|
responseIdentifier: string;
|
|
897
898
|
data: string;
|
|
898
899
|
baseItemUrl: string;
|
|
@@ -906,6 +907,10 @@ declare class QtiCustomInteraction extends Interaction {
|
|
|
906
907
|
};
|
|
907
908
|
connectedCallback(): void;
|
|
908
909
|
setupCES(): void;
|
|
910
|
+
private getIFrames;
|
|
911
|
+
private getInnerIFrames;
|
|
912
|
+
private postToWindowAndIframes;
|
|
913
|
+
handlePostMessage(event: MessageEvent): void;
|
|
909
914
|
validate(): boolean;
|
|
910
915
|
set response(val: Readonly<string | string[]>);
|
|
911
916
|
disconnectedCallback(): void;
|
|
@@ -935,6 +940,7 @@ declare const QtiGapMatchInteraction_base: (new (...args: any[]) => IInteraction
|
|
|
935
940
|
declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
|
|
936
941
|
static styles: lit.CSSResult[];
|
|
937
942
|
render(): lit_html.TemplateResult<1>;
|
|
943
|
+
set correctResponse(value: Readonly<string | string[]>);
|
|
938
944
|
}
|
|
939
945
|
declare global {
|
|
940
946
|
interface HTMLElementTagNameMap {
|
|
@@ -1039,10 +1045,12 @@ declare class QtiMatchInteraction extends QtiMatchInteraction_base {
|
|
|
1039
1045
|
cols: QtiSimpleAssociableChoice[];
|
|
1040
1046
|
lastCheckedRadio: HTMLInputElement | null;
|
|
1041
1047
|
response: any[];
|
|
1048
|
+
correctOptions: string[];
|
|
1042
1049
|
responseIdentifier: string;
|
|
1043
1050
|
connectedCallback(): void;
|
|
1044
1051
|
handleRadioClick: (e: any) => void;
|
|
1045
1052
|
handleRadioChange: (e: any) => void;
|
|
1053
|
+
set correctResponse(responseValue: string | string[]);
|
|
1046
1054
|
render(): lit_html.TemplateResult<1>;
|
|
1047
1055
|
}
|
|
1048
1056
|
declare global {
|
|
@@ -1080,10 +1088,14 @@ declare class QtiOrderInteraction extends QtiOrderInteraction_base {
|
|
|
1080
1088
|
private _classNames;
|
|
1081
1089
|
private _orientation;
|
|
1082
1090
|
static layoutClass: string[];
|
|
1091
|
+
nrChoices: number;
|
|
1092
|
+
correctResponses: string[];
|
|
1093
|
+
showCorrectResponses: boolean;
|
|
1083
1094
|
/** orientation of choices */
|
|
1084
1095
|
orientation: 'horizontal' | 'vertical';
|
|
1085
1096
|
static styles: lit.CSSResult[];
|
|
1086
1097
|
render(): lit_html.TemplateResult<1>;
|
|
1098
|
+
set correctResponse(value: Readonly<string | string[]>);
|
|
1087
1099
|
connectedCallback(): void;
|
|
1088
1100
|
}
|
|
1089
1101
|
declare global {
|