@nakafa/aksara-contracts 8.8.0 → 8.10.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/dist/assessment/answer.d.ts +2 -0
- package/dist/assessment/answer.js +5 -3
- package/dist/assessment/choice.d.ts +26 -0
- package/dist/assessment/closure.js +2 -1
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/fit.d.ts +16 -2
- package/dist/assessment/fit.js +23 -5
- package/dist/assessment/graphic.d.ts +27 -0
- package/dist/assessment/graphic.js +17 -1
- package/dist/assessment/hash.d.ts +777 -109
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +44 -1
- package/dist/assessment/interaction.js +2 -1
- package/dist/assessment/item.d.ts +500 -37
- package/dist/assessment/item.js +1 -1
- package/dist/assessment/joint.d.ts +4 -3
- package/dist/assessment/joint.js +4 -3
- package/dist/assessment/key.d.ts +138 -0
- package/dist/assessment/key.js +6 -0
- package/dist/assessment/paper.d.ts +1006 -90
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/profile.d.ts +3 -3
- package/dist/assessment/profile.js +4 -4
- package/dist/assessment/rows.d.ts +621 -39
- package/dist/assessment/scoring.d.ts +12 -6
- package/dist/assessment/scoring.js +25 -8
- package/dist/assessment/sketch.d.ts +125 -0
- package/dist/assessment/sketch.js +175 -0
- package/dist/assessment/snapshot.d.ts +1479 -91
- package/dist/assessment/structure.js +4 -4
- package/dist/release/snapshot/data.d.ts +114 -2
- package/dist/release/snapshot/verify.d.ts +621 -39
- package/dist/transport/group.d.ts +342 -6
- package/dist/transport/request.d.ts +4032 -316
- package/dist/transport/snapshot.d.ts +228 -4
- package/dist/visual/base/math.d.ts +56 -6
- package/dist/visual/base/media.d.ts +56 -6
- package/dist/visual/biology/bacteria.d.ts +224 -24
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +56 -6
- package/dist/visual/catalog.d.ts +16734 -5484
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +2 -2
|
@@ -8,11 +8,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
ConnectedBlocksLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
9
|
readonly description: RichSlot<E>;
|
|
10
10
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly marks?: readonly [{
|
|
12
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
13
|
+
} | {
|
|
14
|
+
readonly attrs: {
|
|
15
|
+
readonly href: string;
|
|
16
|
+
};
|
|
17
|
+
readonly type: "link";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly variant: "success" | "warning" | null;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "highlight";
|
|
23
|
+
}, ...({
|
|
24
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
25
|
+
} | {
|
|
26
|
+
readonly attrs: {
|
|
27
|
+
readonly href: string;
|
|
28
|
+
};
|
|
29
|
+
readonly type: "link";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly variant: "success" | "warning" | null;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "highlight";
|
|
35
|
+
})[]];
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly type: "text";
|
|
38
|
+
} | {
|
|
11
39
|
readonly attrs: {
|
|
12
40
|
readonly latex: string;
|
|
13
41
|
};
|
|
42
|
+
readonly marks?: readonly [{
|
|
43
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
44
|
+
} | {
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly href: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "link";
|
|
49
|
+
} | {
|
|
50
|
+
readonly attrs: {
|
|
51
|
+
readonly variant: "success" | "warning" | null;
|
|
52
|
+
};
|
|
53
|
+
readonly type: "highlight";
|
|
54
|
+
}, ...({
|
|
55
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly href: string;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "link";
|
|
61
|
+
} | {
|
|
62
|
+
readonly attrs: {
|
|
63
|
+
readonly variant: "success" | "warning" | null;
|
|
64
|
+
};
|
|
65
|
+
readonly type: "highlight";
|
|
66
|
+
})[]];
|
|
14
67
|
readonly type: "mathInline";
|
|
15
|
-
}
|
|
68
|
+
}, ...({
|
|
16
69
|
readonly marks?: readonly [{
|
|
17
70
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
71
|
} | {
|
|
@@ -40,12 +93,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
40
93
|
})[]];
|
|
41
94
|
readonly text: string;
|
|
42
95
|
readonly type: "text";
|
|
43
|
-
}
|
|
96
|
+
} | {
|
|
44
97
|
readonly attrs: {
|
|
45
98
|
readonly latex: string;
|
|
46
99
|
};
|
|
47
|
-
readonly type: "mathInline";
|
|
48
|
-
} | {
|
|
49
100
|
readonly marks?: readonly [{
|
|
50
101
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
102
|
} | {
|
|
@@ -71,8 +122,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
71
122
|
};
|
|
72
123
|
readonly type: "highlight";
|
|
73
124
|
})[]];
|
|
74
|
-
readonly
|
|
75
|
-
readonly type: "text";
|
|
125
|
+
readonly type: "mathInline";
|
|
76
126
|
})[]], E, never, never>>;
|
|
77
127
|
readonly title: RichSlot<E>;
|
|
78
128
|
readonly back: Schema.Finite;
|
|
@@ -90,11 +140,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
90
140
|
BulletBlockLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
91
141
|
readonly description: RichSlot<E>;
|
|
92
142
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
143
|
+
readonly marks?: readonly [{
|
|
144
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
145
|
+
} | {
|
|
146
|
+
readonly attrs: {
|
|
147
|
+
readonly href: string;
|
|
148
|
+
};
|
|
149
|
+
readonly type: "link";
|
|
150
|
+
} | {
|
|
151
|
+
readonly attrs: {
|
|
152
|
+
readonly variant: "success" | "warning" | null;
|
|
153
|
+
};
|
|
154
|
+
readonly type: "highlight";
|
|
155
|
+
}, ...({
|
|
156
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
157
|
+
} | {
|
|
158
|
+
readonly attrs: {
|
|
159
|
+
readonly href: string;
|
|
160
|
+
};
|
|
161
|
+
readonly type: "link";
|
|
162
|
+
} | {
|
|
163
|
+
readonly attrs: {
|
|
164
|
+
readonly variant: "success" | "warning" | null;
|
|
165
|
+
};
|
|
166
|
+
readonly type: "highlight";
|
|
167
|
+
})[]];
|
|
168
|
+
readonly text: string;
|
|
169
|
+
readonly type: "text";
|
|
170
|
+
} | {
|
|
93
171
|
readonly attrs: {
|
|
94
172
|
readonly latex: string;
|
|
95
173
|
};
|
|
174
|
+
readonly marks?: readonly [{
|
|
175
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
176
|
+
} | {
|
|
177
|
+
readonly attrs: {
|
|
178
|
+
readonly href: string;
|
|
179
|
+
};
|
|
180
|
+
readonly type: "link";
|
|
181
|
+
} | {
|
|
182
|
+
readonly attrs: {
|
|
183
|
+
readonly variant: "success" | "warning" | null;
|
|
184
|
+
};
|
|
185
|
+
readonly type: "highlight";
|
|
186
|
+
}, ...({
|
|
187
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
188
|
+
} | {
|
|
189
|
+
readonly attrs: {
|
|
190
|
+
readonly href: string;
|
|
191
|
+
};
|
|
192
|
+
readonly type: "link";
|
|
193
|
+
} | {
|
|
194
|
+
readonly attrs: {
|
|
195
|
+
readonly variant: "success" | "warning" | null;
|
|
196
|
+
};
|
|
197
|
+
readonly type: "highlight";
|
|
198
|
+
})[]];
|
|
96
199
|
readonly type: "mathInline";
|
|
97
|
-
}
|
|
200
|
+
}, ...({
|
|
98
201
|
readonly marks?: readonly [{
|
|
99
202
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
100
203
|
} | {
|
|
@@ -122,12 +225,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
122
225
|
})[]];
|
|
123
226
|
readonly text: string;
|
|
124
227
|
readonly type: "text";
|
|
125
|
-
}
|
|
228
|
+
} | {
|
|
126
229
|
readonly attrs: {
|
|
127
230
|
readonly latex: string;
|
|
128
231
|
};
|
|
129
|
-
readonly type: "mathInline";
|
|
130
|
-
} | {
|
|
131
232
|
readonly marks?: readonly [{
|
|
132
233
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
133
234
|
} | {
|
|
@@ -153,8 +254,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
153
254
|
};
|
|
154
255
|
readonly type: "highlight";
|
|
155
256
|
})[]];
|
|
156
|
-
readonly
|
|
157
|
-
readonly type: "text";
|
|
257
|
+
readonly type: "mathInline";
|
|
158
258
|
})[]], E, never, never>>;
|
|
159
259
|
readonly title: RichSlot<E>;
|
|
160
260
|
readonly blockMass: Schema.Finite;
|
|
@@ -172,11 +272,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
172
272
|
CliffThrowLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
173
273
|
readonly description: RichSlot<E>;
|
|
174
274
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
275
|
+
readonly marks?: readonly [{
|
|
276
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
277
|
+
} | {
|
|
278
|
+
readonly attrs: {
|
|
279
|
+
readonly href: string;
|
|
280
|
+
};
|
|
281
|
+
readonly type: "link";
|
|
282
|
+
} | {
|
|
283
|
+
readonly attrs: {
|
|
284
|
+
readonly variant: "success" | "warning" | null;
|
|
285
|
+
};
|
|
286
|
+
readonly type: "highlight";
|
|
287
|
+
}, ...({
|
|
288
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
289
|
+
} | {
|
|
290
|
+
readonly attrs: {
|
|
291
|
+
readonly href: string;
|
|
292
|
+
};
|
|
293
|
+
readonly type: "link";
|
|
294
|
+
} | {
|
|
295
|
+
readonly attrs: {
|
|
296
|
+
readonly variant: "success" | "warning" | null;
|
|
297
|
+
};
|
|
298
|
+
readonly type: "highlight";
|
|
299
|
+
})[]];
|
|
300
|
+
readonly text: string;
|
|
301
|
+
readonly type: "text";
|
|
302
|
+
} | {
|
|
175
303
|
readonly attrs: {
|
|
176
304
|
readonly latex: string;
|
|
177
305
|
};
|
|
306
|
+
readonly marks?: readonly [{
|
|
307
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
308
|
+
} | {
|
|
309
|
+
readonly attrs: {
|
|
310
|
+
readonly href: string;
|
|
311
|
+
};
|
|
312
|
+
readonly type: "link";
|
|
313
|
+
} | {
|
|
314
|
+
readonly attrs: {
|
|
315
|
+
readonly variant: "success" | "warning" | null;
|
|
316
|
+
};
|
|
317
|
+
readonly type: "highlight";
|
|
318
|
+
}, ...({
|
|
319
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
320
|
+
} | {
|
|
321
|
+
readonly attrs: {
|
|
322
|
+
readonly href: string;
|
|
323
|
+
};
|
|
324
|
+
readonly type: "link";
|
|
325
|
+
} | {
|
|
326
|
+
readonly attrs: {
|
|
327
|
+
readonly variant: "success" | "warning" | null;
|
|
328
|
+
};
|
|
329
|
+
readonly type: "highlight";
|
|
330
|
+
})[]];
|
|
178
331
|
readonly type: "mathInline";
|
|
179
|
-
}
|
|
332
|
+
}, ...({
|
|
180
333
|
readonly marks?: readonly [{
|
|
181
334
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
182
335
|
} | {
|
|
@@ -204,12 +357,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
204
357
|
})[]];
|
|
205
358
|
readonly text: string;
|
|
206
359
|
readonly type: "text";
|
|
207
|
-
}
|
|
360
|
+
} | {
|
|
208
361
|
readonly attrs: {
|
|
209
362
|
readonly latex: string;
|
|
210
363
|
};
|
|
211
|
-
readonly type: "mathInline";
|
|
212
|
-
} | {
|
|
213
364
|
readonly marks?: readonly [{
|
|
214
365
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
215
366
|
} | {
|
|
@@ -235,8 +386,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
235
386
|
};
|
|
236
387
|
readonly type: "highlight";
|
|
237
388
|
})[]];
|
|
238
|
-
readonly
|
|
239
|
-
readonly type: "text";
|
|
389
|
+
readonly type: "mathInline";
|
|
240
390
|
})[]], E, never, never>>;
|
|
241
391
|
readonly title: RichSlot<E>;
|
|
242
392
|
readonly delay: Schema.Finite;
|
|
@@ -253,11 +403,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
253
403
|
InclineSlideLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
254
404
|
readonly description: RichSlot<E>;
|
|
255
405
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
406
|
+
readonly marks?: readonly [{
|
|
407
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
408
|
+
} | {
|
|
409
|
+
readonly attrs: {
|
|
410
|
+
readonly href: string;
|
|
411
|
+
};
|
|
412
|
+
readonly type: "link";
|
|
413
|
+
} | {
|
|
414
|
+
readonly attrs: {
|
|
415
|
+
readonly variant: "success" | "warning" | null;
|
|
416
|
+
};
|
|
417
|
+
readonly type: "highlight";
|
|
418
|
+
}, ...({
|
|
419
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
420
|
+
} | {
|
|
421
|
+
readonly attrs: {
|
|
422
|
+
readonly href: string;
|
|
423
|
+
};
|
|
424
|
+
readonly type: "link";
|
|
425
|
+
} | {
|
|
426
|
+
readonly attrs: {
|
|
427
|
+
readonly variant: "success" | "warning" | null;
|
|
428
|
+
};
|
|
429
|
+
readonly type: "highlight";
|
|
430
|
+
})[]];
|
|
431
|
+
readonly text: string;
|
|
432
|
+
readonly type: "text";
|
|
433
|
+
} | {
|
|
256
434
|
readonly attrs: {
|
|
257
435
|
readonly latex: string;
|
|
258
436
|
};
|
|
437
|
+
readonly marks?: readonly [{
|
|
438
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
439
|
+
} | {
|
|
440
|
+
readonly attrs: {
|
|
441
|
+
readonly href: string;
|
|
442
|
+
};
|
|
443
|
+
readonly type: "link";
|
|
444
|
+
} | {
|
|
445
|
+
readonly attrs: {
|
|
446
|
+
readonly variant: "success" | "warning" | null;
|
|
447
|
+
};
|
|
448
|
+
readonly type: "highlight";
|
|
449
|
+
}, ...({
|
|
450
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
451
|
+
} | {
|
|
452
|
+
readonly attrs: {
|
|
453
|
+
readonly href: string;
|
|
454
|
+
};
|
|
455
|
+
readonly type: "link";
|
|
456
|
+
} | {
|
|
457
|
+
readonly attrs: {
|
|
458
|
+
readonly variant: "success" | "warning" | null;
|
|
459
|
+
};
|
|
460
|
+
readonly type: "highlight";
|
|
461
|
+
})[]];
|
|
259
462
|
readonly type: "mathInline";
|
|
260
|
-
}
|
|
463
|
+
}, ...({
|
|
261
464
|
readonly marks?: readonly [{
|
|
262
465
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
263
466
|
} | {
|
|
@@ -285,12 +488,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
285
488
|
})[]];
|
|
286
489
|
readonly text: string;
|
|
287
490
|
readonly type: "text";
|
|
288
|
-
}
|
|
491
|
+
} | {
|
|
289
492
|
readonly attrs: {
|
|
290
493
|
readonly latex: string;
|
|
291
494
|
};
|
|
292
|
-
readonly type: "mathInline";
|
|
293
|
-
} | {
|
|
294
495
|
readonly marks?: readonly [{
|
|
295
496
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
296
497
|
} | {
|
|
@@ -316,8 +517,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
316
517
|
};
|
|
317
518
|
readonly type: "highlight";
|
|
318
519
|
})[]];
|
|
319
|
-
readonly
|
|
320
|
-
readonly type: "text";
|
|
520
|
+
readonly type: "mathInline";
|
|
321
521
|
})[]], E, never, never>>;
|
|
322
522
|
readonly title: RichSlot<E>;
|
|
323
523
|
readonly angle: Schema.Finite;
|
|
@@ -335,11 +535,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
335
535
|
LiftScaleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
336
536
|
readonly description: RichSlot<E>;
|
|
337
537
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
538
|
+
readonly marks?: readonly [{
|
|
539
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
540
|
+
} | {
|
|
541
|
+
readonly attrs: {
|
|
542
|
+
readonly href: string;
|
|
543
|
+
};
|
|
544
|
+
readonly type: "link";
|
|
545
|
+
} | {
|
|
546
|
+
readonly attrs: {
|
|
547
|
+
readonly variant: "success" | "warning" | null;
|
|
548
|
+
};
|
|
549
|
+
readonly type: "highlight";
|
|
550
|
+
}, ...({
|
|
551
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
552
|
+
} | {
|
|
553
|
+
readonly attrs: {
|
|
554
|
+
readonly href: string;
|
|
555
|
+
};
|
|
556
|
+
readonly type: "link";
|
|
557
|
+
} | {
|
|
558
|
+
readonly attrs: {
|
|
559
|
+
readonly variant: "success" | "warning" | null;
|
|
560
|
+
};
|
|
561
|
+
readonly type: "highlight";
|
|
562
|
+
})[]];
|
|
563
|
+
readonly text: string;
|
|
564
|
+
readonly type: "text";
|
|
565
|
+
} | {
|
|
338
566
|
readonly attrs: {
|
|
339
567
|
readonly latex: string;
|
|
340
568
|
};
|
|
569
|
+
readonly marks?: readonly [{
|
|
570
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
571
|
+
} | {
|
|
572
|
+
readonly attrs: {
|
|
573
|
+
readonly href: string;
|
|
574
|
+
};
|
|
575
|
+
readonly type: "link";
|
|
576
|
+
} | {
|
|
577
|
+
readonly attrs: {
|
|
578
|
+
readonly variant: "success" | "warning" | null;
|
|
579
|
+
};
|
|
580
|
+
readonly type: "highlight";
|
|
581
|
+
}, ...({
|
|
582
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
583
|
+
} | {
|
|
584
|
+
readonly attrs: {
|
|
585
|
+
readonly href: string;
|
|
586
|
+
};
|
|
587
|
+
readonly type: "link";
|
|
588
|
+
} | {
|
|
589
|
+
readonly attrs: {
|
|
590
|
+
readonly variant: "success" | "warning" | null;
|
|
591
|
+
};
|
|
592
|
+
readonly type: "highlight";
|
|
593
|
+
})[]];
|
|
341
594
|
readonly type: "mathInline";
|
|
342
|
-
}
|
|
595
|
+
}, ...({
|
|
343
596
|
readonly marks?: readonly [{
|
|
344
597
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
345
598
|
} | {
|
|
@@ -367,12 +620,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
367
620
|
})[]];
|
|
368
621
|
readonly text: string;
|
|
369
622
|
readonly type: "text";
|
|
370
|
-
}
|
|
623
|
+
} | {
|
|
371
624
|
readonly attrs: {
|
|
372
625
|
readonly latex: string;
|
|
373
626
|
};
|
|
374
|
-
readonly type: "mathInline";
|
|
375
|
-
} | {
|
|
376
627
|
readonly marks?: readonly [{
|
|
377
628
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
378
629
|
} | {
|
|
@@ -398,8 +649,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
398
649
|
};
|
|
399
650
|
readonly type: "highlight";
|
|
400
651
|
})[]];
|
|
401
|
-
readonly
|
|
402
|
-
readonly type: "text";
|
|
652
|
+
readonly type: "mathInline";
|
|
403
653
|
})[]], E, never, never>>;
|
|
404
654
|
readonly title: RichSlot<E>;
|
|
405
655
|
readonly gravity: Schema.Finite;
|
|
@@ -416,11 +666,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
416
666
|
RecoilLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
417
667
|
readonly description: RichSlot<E>;
|
|
418
668
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
669
|
+
readonly marks?: readonly [{
|
|
670
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
671
|
+
} | {
|
|
672
|
+
readonly attrs: {
|
|
673
|
+
readonly href: string;
|
|
674
|
+
};
|
|
675
|
+
readonly type: "link";
|
|
676
|
+
} | {
|
|
677
|
+
readonly attrs: {
|
|
678
|
+
readonly variant: "success" | "warning" | null;
|
|
679
|
+
};
|
|
680
|
+
readonly type: "highlight";
|
|
681
|
+
}, ...({
|
|
682
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
683
|
+
} | {
|
|
684
|
+
readonly attrs: {
|
|
685
|
+
readonly href: string;
|
|
686
|
+
};
|
|
687
|
+
readonly type: "link";
|
|
688
|
+
} | {
|
|
689
|
+
readonly attrs: {
|
|
690
|
+
readonly variant: "success" | "warning" | null;
|
|
691
|
+
};
|
|
692
|
+
readonly type: "highlight";
|
|
693
|
+
})[]];
|
|
694
|
+
readonly text: string;
|
|
695
|
+
readonly type: "text";
|
|
696
|
+
} | {
|
|
419
697
|
readonly attrs: {
|
|
420
698
|
readonly latex: string;
|
|
421
699
|
};
|
|
700
|
+
readonly marks?: readonly [{
|
|
701
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
702
|
+
} | {
|
|
703
|
+
readonly attrs: {
|
|
704
|
+
readonly href: string;
|
|
705
|
+
};
|
|
706
|
+
readonly type: "link";
|
|
707
|
+
} | {
|
|
708
|
+
readonly attrs: {
|
|
709
|
+
readonly variant: "success" | "warning" | null;
|
|
710
|
+
};
|
|
711
|
+
readonly type: "highlight";
|
|
712
|
+
}, ...({
|
|
713
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
714
|
+
} | {
|
|
715
|
+
readonly attrs: {
|
|
716
|
+
readonly href: string;
|
|
717
|
+
};
|
|
718
|
+
readonly type: "link";
|
|
719
|
+
} | {
|
|
720
|
+
readonly attrs: {
|
|
721
|
+
readonly variant: "success" | "warning" | null;
|
|
722
|
+
};
|
|
723
|
+
readonly type: "highlight";
|
|
724
|
+
})[]];
|
|
422
725
|
readonly type: "mathInline";
|
|
423
|
-
}
|
|
726
|
+
}, ...({
|
|
424
727
|
readonly marks?: readonly [{
|
|
425
728
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
426
729
|
} | {
|
|
@@ -448,12 +751,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
448
751
|
})[]];
|
|
449
752
|
readonly text: string;
|
|
450
753
|
readonly type: "text";
|
|
451
|
-
}
|
|
754
|
+
} | {
|
|
452
755
|
readonly attrs: {
|
|
453
756
|
readonly latex: string;
|
|
454
757
|
};
|
|
455
|
-
readonly type: "mathInline";
|
|
456
|
-
} | {
|
|
457
758
|
readonly marks?: readonly [{
|
|
458
759
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
459
760
|
} | {
|
|
@@ -479,8 +780,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
479
780
|
};
|
|
480
781
|
readonly type: "highlight";
|
|
481
782
|
})[]];
|
|
482
|
-
readonly
|
|
483
|
-
readonly type: "text";
|
|
783
|
+
readonly type: "mathInline";
|
|
484
784
|
})[]], E, never, never>>;
|
|
485
785
|
readonly title: RichSlot<E>;
|
|
486
786
|
readonly bulletMass: Schema.Finite;
|
|
@@ -498,11 +798,64 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
498
798
|
SpringChainLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
499
799
|
readonly description: RichSlot<E>;
|
|
500
800
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
801
|
+
readonly marks?: readonly [{
|
|
802
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
803
|
+
} | {
|
|
804
|
+
readonly attrs: {
|
|
805
|
+
readonly href: string;
|
|
806
|
+
};
|
|
807
|
+
readonly type: "link";
|
|
808
|
+
} | {
|
|
809
|
+
readonly attrs: {
|
|
810
|
+
readonly variant: "success" | "warning" | null;
|
|
811
|
+
};
|
|
812
|
+
readonly type: "highlight";
|
|
813
|
+
}, ...({
|
|
814
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
815
|
+
} | {
|
|
816
|
+
readonly attrs: {
|
|
817
|
+
readonly href: string;
|
|
818
|
+
};
|
|
819
|
+
readonly type: "link";
|
|
820
|
+
} | {
|
|
821
|
+
readonly attrs: {
|
|
822
|
+
readonly variant: "success" | "warning" | null;
|
|
823
|
+
};
|
|
824
|
+
readonly type: "highlight";
|
|
825
|
+
})[]];
|
|
826
|
+
readonly text: string;
|
|
827
|
+
readonly type: "text";
|
|
828
|
+
} | {
|
|
501
829
|
readonly attrs: {
|
|
502
830
|
readonly latex: string;
|
|
503
831
|
};
|
|
832
|
+
readonly marks?: readonly [{
|
|
833
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
834
|
+
} | {
|
|
835
|
+
readonly attrs: {
|
|
836
|
+
readonly href: string;
|
|
837
|
+
};
|
|
838
|
+
readonly type: "link";
|
|
839
|
+
} | {
|
|
840
|
+
readonly attrs: {
|
|
841
|
+
readonly variant: "success" | "warning" | null;
|
|
842
|
+
};
|
|
843
|
+
readonly type: "highlight";
|
|
844
|
+
}, ...({
|
|
845
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
846
|
+
} | {
|
|
847
|
+
readonly attrs: {
|
|
848
|
+
readonly href: string;
|
|
849
|
+
};
|
|
850
|
+
readonly type: "link";
|
|
851
|
+
} | {
|
|
852
|
+
readonly attrs: {
|
|
853
|
+
readonly variant: "success" | "warning" | null;
|
|
854
|
+
};
|
|
855
|
+
readonly type: "highlight";
|
|
856
|
+
})[]];
|
|
504
857
|
readonly type: "mathInline";
|
|
505
|
-
}
|
|
858
|
+
}, ...({
|
|
506
859
|
readonly marks?: readonly [{
|
|
507
860
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
508
861
|
} | {
|
|
@@ -530,12 +883,10 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
530
883
|
})[]];
|
|
531
884
|
readonly text: string;
|
|
532
885
|
readonly type: "text";
|
|
533
|
-
}
|
|
886
|
+
} | {
|
|
534
887
|
readonly attrs: {
|
|
535
888
|
readonly latex: string;
|
|
536
889
|
};
|
|
537
|
-
readonly type: "mathInline";
|
|
538
|
-
} | {
|
|
539
890
|
readonly marks?: readonly [{
|
|
540
891
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
541
892
|
} | {
|
|
@@ -561,8 +912,7 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
561
912
|
};
|
|
562
913
|
readonly type: "highlight";
|
|
563
914
|
})[]];
|
|
564
|
-
readonly
|
|
565
|
-
readonly type: "text";
|
|
915
|
+
readonly type: "mathInline";
|
|
566
916
|
})[]], E, never, never>>;
|
|
567
917
|
readonly title: RichSlot<E>;
|
|
568
918
|
readonly labels: Schema.Struct<{
|