@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
|
@@ -9,11 +9,64 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
9
9
|
IonLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
10
10
|
readonly description: RichSlot<E>;
|
|
11
11
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
12
|
+
readonly marks?: readonly [{
|
|
13
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
14
|
+
} | {
|
|
15
|
+
readonly attrs: {
|
|
16
|
+
readonly href: string;
|
|
17
|
+
};
|
|
18
|
+
readonly type: "link";
|
|
19
|
+
} | {
|
|
20
|
+
readonly attrs: {
|
|
21
|
+
readonly variant: "success" | "warning" | null;
|
|
22
|
+
};
|
|
23
|
+
readonly type: "highlight";
|
|
24
|
+
}, ...({
|
|
25
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
26
|
+
} | {
|
|
27
|
+
readonly attrs: {
|
|
28
|
+
readonly href: string;
|
|
29
|
+
};
|
|
30
|
+
readonly type: "link";
|
|
31
|
+
} | {
|
|
32
|
+
readonly attrs: {
|
|
33
|
+
readonly variant: "success" | "warning" | null;
|
|
34
|
+
};
|
|
35
|
+
readonly type: "highlight";
|
|
36
|
+
})[]];
|
|
37
|
+
readonly text: string;
|
|
38
|
+
readonly type: "text";
|
|
39
|
+
} | {
|
|
12
40
|
readonly attrs: {
|
|
13
41
|
readonly latex: string;
|
|
14
42
|
};
|
|
43
|
+
readonly marks?: readonly [{
|
|
44
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
45
|
+
} | {
|
|
46
|
+
readonly attrs: {
|
|
47
|
+
readonly href: string;
|
|
48
|
+
};
|
|
49
|
+
readonly type: "link";
|
|
50
|
+
} | {
|
|
51
|
+
readonly attrs: {
|
|
52
|
+
readonly variant: "success" | "warning" | null;
|
|
53
|
+
};
|
|
54
|
+
readonly type: "highlight";
|
|
55
|
+
}, ...({
|
|
56
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
57
|
+
} | {
|
|
58
|
+
readonly attrs: {
|
|
59
|
+
readonly href: string;
|
|
60
|
+
};
|
|
61
|
+
readonly type: "link";
|
|
62
|
+
} | {
|
|
63
|
+
readonly attrs: {
|
|
64
|
+
readonly variant: "success" | "warning" | null;
|
|
65
|
+
};
|
|
66
|
+
readonly type: "highlight";
|
|
67
|
+
})[]];
|
|
15
68
|
readonly type: "mathInline";
|
|
16
|
-
}
|
|
69
|
+
}, ...({
|
|
17
70
|
readonly marks?: readonly [{
|
|
18
71
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
19
72
|
} | {
|
|
@@ -41,12 +94,10 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
41
94
|
})[]];
|
|
42
95
|
readonly text: string;
|
|
43
96
|
readonly type: "text";
|
|
44
|
-
}
|
|
97
|
+
} | {
|
|
45
98
|
readonly attrs: {
|
|
46
99
|
readonly latex: string;
|
|
47
100
|
};
|
|
48
|
-
readonly type: "mathInline";
|
|
49
|
-
} | {
|
|
50
101
|
readonly marks?: readonly [{
|
|
51
102
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
52
103
|
} | {
|
|
@@ -72,8 +123,7 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
72
123
|
};
|
|
73
124
|
readonly type: "highlight";
|
|
74
125
|
})[]];
|
|
75
|
-
readonly
|
|
76
|
-
readonly type: "text";
|
|
126
|
+
readonly type: "mathInline";
|
|
77
127
|
})[]], E, never, never>>;
|
|
78
128
|
readonly title: RichSlot<E>;
|
|
79
129
|
readonly labels: Schema.Struct<{
|
|
@@ -96,11 +146,64 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
96
146
|
IsotopeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
97
147
|
readonly description: RichSlot<E>;
|
|
98
148
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
149
|
+
readonly marks?: readonly [{
|
|
150
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
151
|
+
} | {
|
|
152
|
+
readonly attrs: {
|
|
153
|
+
readonly href: string;
|
|
154
|
+
};
|
|
155
|
+
readonly type: "link";
|
|
156
|
+
} | {
|
|
157
|
+
readonly attrs: {
|
|
158
|
+
readonly variant: "success" | "warning" | null;
|
|
159
|
+
};
|
|
160
|
+
readonly type: "highlight";
|
|
161
|
+
}, ...({
|
|
162
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
163
|
+
} | {
|
|
164
|
+
readonly attrs: {
|
|
165
|
+
readonly href: string;
|
|
166
|
+
};
|
|
167
|
+
readonly type: "link";
|
|
168
|
+
} | {
|
|
169
|
+
readonly attrs: {
|
|
170
|
+
readonly variant: "success" | "warning" | null;
|
|
171
|
+
};
|
|
172
|
+
readonly type: "highlight";
|
|
173
|
+
})[]];
|
|
174
|
+
readonly text: string;
|
|
175
|
+
readonly type: "text";
|
|
176
|
+
} | {
|
|
99
177
|
readonly attrs: {
|
|
100
178
|
readonly latex: string;
|
|
101
179
|
};
|
|
180
|
+
readonly marks?: readonly [{
|
|
181
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
182
|
+
} | {
|
|
183
|
+
readonly attrs: {
|
|
184
|
+
readonly href: string;
|
|
185
|
+
};
|
|
186
|
+
readonly type: "link";
|
|
187
|
+
} | {
|
|
188
|
+
readonly attrs: {
|
|
189
|
+
readonly variant: "success" | "warning" | null;
|
|
190
|
+
};
|
|
191
|
+
readonly type: "highlight";
|
|
192
|
+
}, ...({
|
|
193
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
194
|
+
} | {
|
|
195
|
+
readonly attrs: {
|
|
196
|
+
readonly href: string;
|
|
197
|
+
};
|
|
198
|
+
readonly type: "link";
|
|
199
|
+
} | {
|
|
200
|
+
readonly attrs: {
|
|
201
|
+
readonly variant: "success" | "warning" | null;
|
|
202
|
+
};
|
|
203
|
+
readonly type: "highlight";
|
|
204
|
+
})[]];
|
|
102
205
|
readonly type: "mathInline";
|
|
103
|
-
}
|
|
206
|
+
}, ...({
|
|
104
207
|
readonly marks?: readonly [{
|
|
105
208
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
106
209
|
} | {
|
|
@@ -128,12 +231,10 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
128
231
|
})[]];
|
|
129
232
|
readonly text: string;
|
|
130
233
|
readonly type: "text";
|
|
131
|
-
}
|
|
234
|
+
} | {
|
|
132
235
|
readonly attrs: {
|
|
133
236
|
readonly latex: string;
|
|
134
237
|
};
|
|
135
|
-
readonly type: "mathInline";
|
|
136
|
-
} | {
|
|
137
238
|
readonly marks?: readonly [{
|
|
138
239
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
139
240
|
} | {
|
|
@@ -159,8 +260,7 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
159
260
|
};
|
|
160
261
|
readonly type: "highlight";
|
|
161
262
|
})[]];
|
|
162
|
-
readonly
|
|
163
|
-
readonly type: "text";
|
|
263
|
+
readonly type: "mathInline";
|
|
164
264
|
})[]], E, never, never>>;
|
|
165
265
|
readonly title: RichSlot<E>;
|
|
166
266
|
readonly labels: Schema.Struct<{
|
|
@@ -183,11 +283,64 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
183
283
|
MatterParticleReaderLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
184
284
|
readonly description: RichSlot<E>;
|
|
185
285
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
286
|
+
readonly marks?: readonly [{
|
|
287
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
288
|
+
} | {
|
|
289
|
+
readonly attrs: {
|
|
290
|
+
readonly href: string;
|
|
291
|
+
};
|
|
292
|
+
readonly type: "link";
|
|
293
|
+
} | {
|
|
294
|
+
readonly attrs: {
|
|
295
|
+
readonly variant: "success" | "warning" | null;
|
|
296
|
+
};
|
|
297
|
+
readonly type: "highlight";
|
|
298
|
+
}, ...({
|
|
299
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
300
|
+
} | {
|
|
301
|
+
readonly attrs: {
|
|
302
|
+
readonly href: string;
|
|
303
|
+
};
|
|
304
|
+
readonly type: "link";
|
|
305
|
+
} | {
|
|
306
|
+
readonly attrs: {
|
|
307
|
+
readonly variant: "success" | "warning" | null;
|
|
308
|
+
};
|
|
309
|
+
readonly type: "highlight";
|
|
310
|
+
})[]];
|
|
311
|
+
readonly text: string;
|
|
312
|
+
readonly type: "text";
|
|
313
|
+
} | {
|
|
186
314
|
readonly attrs: {
|
|
187
315
|
readonly latex: string;
|
|
188
316
|
};
|
|
317
|
+
readonly marks?: readonly [{
|
|
318
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
319
|
+
} | {
|
|
320
|
+
readonly attrs: {
|
|
321
|
+
readonly href: string;
|
|
322
|
+
};
|
|
323
|
+
readonly type: "link";
|
|
324
|
+
} | {
|
|
325
|
+
readonly attrs: {
|
|
326
|
+
readonly variant: "success" | "warning" | null;
|
|
327
|
+
};
|
|
328
|
+
readonly type: "highlight";
|
|
329
|
+
}, ...({
|
|
330
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
331
|
+
} | {
|
|
332
|
+
readonly attrs: {
|
|
333
|
+
readonly href: string;
|
|
334
|
+
};
|
|
335
|
+
readonly type: "link";
|
|
336
|
+
} | {
|
|
337
|
+
readonly attrs: {
|
|
338
|
+
readonly variant: "success" | "warning" | null;
|
|
339
|
+
};
|
|
340
|
+
readonly type: "highlight";
|
|
341
|
+
})[]];
|
|
189
342
|
readonly type: "mathInline";
|
|
190
|
-
}
|
|
343
|
+
}, ...({
|
|
191
344
|
readonly marks?: readonly [{
|
|
192
345
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
193
346
|
} | {
|
|
@@ -215,12 +368,10 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
215
368
|
})[]];
|
|
216
369
|
readonly text: string;
|
|
217
370
|
readonly type: "text";
|
|
218
|
-
}
|
|
371
|
+
} | {
|
|
219
372
|
readonly attrs: {
|
|
220
373
|
readonly latex: string;
|
|
221
374
|
};
|
|
222
|
-
readonly type: "mathInline";
|
|
223
|
-
} | {
|
|
224
375
|
readonly marks?: readonly [{
|
|
225
376
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
226
377
|
} | {
|
|
@@ -246,8 +397,7 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
246
397
|
};
|
|
247
398
|
readonly type: "highlight";
|
|
248
399
|
})[]];
|
|
249
|
-
readonly
|
|
250
|
-
readonly type: "text";
|
|
400
|
+
readonly type: "mathInline";
|
|
251
401
|
})[]], E, never, never>>;
|
|
252
402
|
readonly title: RichSlot<E>;
|
|
253
403
|
readonly labels: Schema.Struct<{
|
|
@@ -267,11 +417,64 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
267
417
|
SubatomicParticlePropertiesLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
268
418
|
readonly description: RichSlot<E>;
|
|
269
419
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
420
|
+
readonly marks?: readonly [{
|
|
421
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
422
|
+
} | {
|
|
423
|
+
readonly attrs: {
|
|
424
|
+
readonly href: string;
|
|
425
|
+
};
|
|
426
|
+
readonly type: "link";
|
|
427
|
+
} | {
|
|
428
|
+
readonly attrs: {
|
|
429
|
+
readonly variant: "success" | "warning" | null;
|
|
430
|
+
};
|
|
431
|
+
readonly type: "highlight";
|
|
432
|
+
}, ...({
|
|
433
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
434
|
+
} | {
|
|
435
|
+
readonly attrs: {
|
|
436
|
+
readonly href: string;
|
|
437
|
+
};
|
|
438
|
+
readonly type: "link";
|
|
439
|
+
} | {
|
|
440
|
+
readonly attrs: {
|
|
441
|
+
readonly variant: "success" | "warning" | null;
|
|
442
|
+
};
|
|
443
|
+
readonly type: "highlight";
|
|
444
|
+
})[]];
|
|
445
|
+
readonly text: string;
|
|
446
|
+
readonly type: "text";
|
|
447
|
+
} | {
|
|
270
448
|
readonly attrs: {
|
|
271
449
|
readonly latex: string;
|
|
272
450
|
};
|
|
451
|
+
readonly marks?: readonly [{
|
|
452
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
453
|
+
} | {
|
|
454
|
+
readonly attrs: {
|
|
455
|
+
readonly href: string;
|
|
456
|
+
};
|
|
457
|
+
readonly type: "link";
|
|
458
|
+
} | {
|
|
459
|
+
readonly attrs: {
|
|
460
|
+
readonly variant: "success" | "warning" | null;
|
|
461
|
+
};
|
|
462
|
+
readonly type: "highlight";
|
|
463
|
+
}, ...({
|
|
464
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
465
|
+
} | {
|
|
466
|
+
readonly attrs: {
|
|
467
|
+
readonly href: string;
|
|
468
|
+
};
|
|
469
|
+
readonly type: "link";
|
|
470
|
+
} | {
|
|
471
|
+
readonly attrs: {
|
|
472
|
+
readonly variant: "success" | "warning" | null;
|
|
473
|
+
};
|
|
474
|
+
readonly type: "highlight";
|
|
475
|
+
})[]];
|
|
273
476
|
readonly type: "mathInline";
|
|
274
|
-
}
|
|
477
|
+
}, ...({
|
|
275
478
|
readonly marks?: readonly [{
|
|
276
479
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
277
480
|
} | {
|
|
@@ -299,12 +502,10 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
299
502
|
})[]];
|
|
300
503
|
readonly text: string;
|
|
301
504
|
readonly type: "text";
|
|
302
|
-
}
|
|
505
|
+
} | {
|
|
303
506
|
readonly attrs: {
|
|
304
507
|
readonly latex: string;
|
|
305
508
|
};
|
|
306
|
-
readonly type: "mathInline";
|
|
307
|
-
} | {
|
|
308
509
|
readonly marks?: readonly [{
|
|
309
510
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
310
511
|
} | {
|
|
@@ -330,8 +531,7 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
330
531
|
};
|
|
331
532
|
readonly type: "highlight";
|
|
332
533
|
})[]];
|
|
333
|
-
readonly
|
|
334
|
-
readonly type: "text";
|
|
534
|
+
readonly type: "mathInline";
|
|
335
535
|
})[]], E, never, never>>;
|
|
336
536
|
readonly title: RichSlot<E>;
|
|
337
537
|
readonly labels: Schema.Struct<{
|
|
@@ -358,11 +558,64 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
358
558
|
SubatomicParticlesLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
359
559
|
readonly description: RichSlot<E>;
|
|
360
560
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
561
|
+
readonly marks?: readonly [{
|
|
562
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
563
|
+
} | {
|
|
564
|
+
readonly attrs: {
|
|
565
|
+
readonly href: string;
|
|
566
|
+
};
|
|
567
|
+
readonly type: "link";
|
|
568
|
+
} | {
|
|
569
|
+
readonly attrs: {
|
|
570
|
+
readonly variant: "success" | "warning" | null;
|
|
571
|
+
};
|
|
572
|
+
readonly type: "highlight";
|
|
573
|
+
}, ...({
|
|
574
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
575
|
+
} | {
|
|
576
|
+
readonly attrs: {
|
|
577
|
+
readonly href: string;
|
|
578
|
+
};
|
|
579
|
+
readonly type: "link";
|
|
580
|
+
} | {
|
|
581
|
+
readonly attrs: {
|
|
582
|
+
readonly variant: "success" | "warning" | null;
|
|
583
|
+
};
|
|
584
|
+
readonly type: "highlight";
|
|
585
|
+
})[]];
|
|
586
|
+
readonly text: string;
|
|
587
|
+
readonly type: "text";
|
|
588
|
+
} | {
|
|
361
589
|
readonly attrs: {
|
|
362
590
|
readonly latex: string;
|
|
363
591
|
};
|
|
592
|
+
readonly marks?: readonly [{
|
|
593
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
594
|
+
} | {
|
|
595
|
+
readonly attrs: {
|
|
596
|
+
readonly href: string;
|
|
597
|
+
};
|
|
598
|
+
readonly type: "link";
|
|
599
|
+
} | {
|
|
600
|
+
readonly attrs: {
|
|
601
|
+
readonly variant: "success" | "warning" | null;
|
|
602
|
+
};
|
|
603
|
+
readonly type: "highlight";
|
|
604
|
+
}, ...({
|
|
605
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
606
|
+
} | {
|
|
607
|
+
readonly attrs: {
|
|
608
|
+
readonly href: string;
|
|
609
|
+
};
|
|
610
|
+
readonly type: "link";
|
|
611
|
+
} | {
|
|
612
|
+
readonly attrs: {
|
|
613
|
+
readonly variant: "success" | "warning" | null;
|
|
614
|
+
};
|
|
615
|
+
readonly type: "highlight";
|
|
616
|
+
})[]];
|
|
364
617
|
readonly type: "mathInline";
|
|
365
|
-
}
|
|
618
|
+
}, ...({
|
|
366
619
|
readonly marks?: readonly [{
|
|
367
620
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
368
621
|
} | {
|
|
@@ -390,12 +643,10 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
390
643
|
})[]];
|
|
391
644
|
readonly text: string;
|
|
392
645
|
readonly type: "text";
|
|
393
|
-
}
|
|
646
|
+
} | {
|
|
394
647
|
readonly attrs: {
|
|
395
648
|
readonly latex: string;
|
|
396
649
|
};
|
|
397
|
-
readonly type: "mathInline";
|
|
398
|
-
} | {
|
|
399
650
|
readonly marks?: readonly [{
|
|
400
651
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
401
652
|
} | {
|
|
@@ -421,8 +672,7 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
421
672
|
};
|
|
422
673
|
readonly type: "highlight";
|
|
423
674
|
})[]];
|
|
424
|
-
readonly
|
|
425
|
-
readonly type: "text";
|
|
675
|
+
readonly type: "mathInline";
|
|
426
676
|
})[]], E, never, never>>;
|
|
427
677
|
readonly title: RichSlot<E>;
|
|
428
678
|
readonly labels: Schema.Struct<{
|
|
@@ -9,11 +9,64 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
9
9
|
ModernPeriodicTableLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
10
10
|
readonly description: RichSlot<E>;
|
|
11
11
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
12
|
+
readonly marks?: readonly [{
|
|
13
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
14
|
+
} | {
|
|
15
|
+
readonly attrs: {
|
|
16
|
+
readonly href: string;
|
|
17
|
+
};
|
|
18
|
+
readonly type: "link";
|
|
19
|
+
} | {
|
|
20
|
+
readonly attrs: {
|
|
21
|
+
readonly variant: "success" | "warning" | null;
|
|
22
|
+
};
|
|
23
|
+
readonly type: "highlight";
|
|
24
|
+
}, ...({
|
|
25
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
26
|
+
} | {
|
|
27
|
+
readonly attrs: {
|
|
28
|
+
readonly href: string;
|
|
29
|
+
};
|
|
30
|
+
readonly type: "link";
|
|
31
|
+
} | {
|
|
32
|
+
readonly attrs: {
|
|
33
|
+
readonly variant: "success" | "warning" | null;
|
|
34
|
+
};
|
|
35
|
+
readonly type: "highlight";
|
|
36
|
+
})[]];
|
|
37
|
+
readonly text: string;
|
|
38
|
+
readonly type: "text";
|
|
39
|
+
} | {
|
|
12
40
|
readonly attrs: {
|
|
13
41
|
readonly latex: string;
|
|
14
42
|
};
|
|
43
|
+
readonly marks?: readonly [{
|
|
44
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
45
|
+
} | {
|
|
46
|
+
readonly attrs: {
|
|
47
|
+
readonly href: string;
|
|
48
|
+
};
|
|
49
|
+
readonly type: "link";
|
|
50
|
+
} | {
|
|
51
|
+
readonly attrs: {
|
|
52
|
+
readonly variant: "success" | "warning" | null;
|
|
53
|
+
};
|
|
54
|
+
readonly type: "highlight";
|
|
55
|
+
}, ...({
|
|
56
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
57
|
+
} | {
|
|
58
|
+
readonly attrs: {
|
|
59
|
+
readonly href: string;
|
|
60
|
+
};
|
|
61
|
+
readonly type: "link";
|
|
62
|
+
} | {
|
|
63
|
+
readonly attrs: {
|
|
64
|
+
readonly variant: "success" | "warning" | null;
|
|
65
|
+
};
|
|
66
|
+
readonly type: "highlight";
|
|
67
|
+
})[]];
|
|
15
68
|
readonly type: "mathInline";
|
|
16
|
-
}
|
|
69
|
+
}, ...({
|
|
17
70
|
readonly marks?: readonly [{
|
|
18
71
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
19
72
|
} | {
|
|
@@ -41,12 +94,10 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
41
94
|
})[]];
|
|
42
95
|
readonly text: string;
|
|
43
96
|
readonly type: "text";
|
|
44
|
-
}
|
|
97
|
+
} | {
|
|
45
98
|
readonly attrs: {
|
|
46
99
|
readonly latex: string;
|
|
47
100
|
};
|
|
48
|
-
readonly type: "mathInline";
|
|
49
|
-
} | {
|
|
50
101
|
readonly marks?: readonly [{
|
|
51
102
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
52
103
|
} | {
|
|
@@ -72,8 +123,7 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
72
123
|
};
|
|
73
124
|
readonly type: "highlight";
|
|
74
125
|
})[]];
|
|
75
|
-
readonly
|
|
76
|
-
readonly type: "text";
|
|
126
|
+
readonly type: "mathInline";
|
|
77
127
|
})[]], E, never, never>>;
|
|
78
128
|
readonly title: RichSlot<E>;
|
|
79
129
|
readonly labels: Schema.Struct<{
|
|
@@ -96,11 +146,64 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
96
146
|
PeriodicPropertiesLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
97
147
|
readonly description: RichSlot<E>;
|
|
98
148
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
149
|
+
readonly marks?: readonly [{
|
|
150
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
151
|
+
} | {
|
|
152
|
+
readonly attrs: {
|
|
153
|
+
readonly href: string;
|
|
154
|
+
};
|
|
155
|
+
readonly type: "link";
|
|
156
|
+
} | {
|
|
157
|
+
readonly attrs: {
|
|
158
|
+
readonly variant: "success" | "warning" | null;
|
|
159
|
+
};
|
|
160
|
+
readonly type: "highlight";
|
|
161
|
+
}, ...({
|
|
162
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
163
|
+
} | {
|
|
164
|
+
readonly attrs: {
|
|
165
|
+
readonly href: string;
|
|
166
|
+
};
|
|
167
|
+
readonly type: "link";
|
|
168
|
+
} | {
|
|
169
|
+
readonly attrs: {
|
|
170
|
+
readonly variant: "success" | "warning" | null;
|
|
171
|
+
};
|
|
172
|
+
readonly type: "highlight";
|
|
173
|
+
})[]];
|
|
174
|
+
readonly text: string;
|
|
175
|
+
readonly type: "text";
|
|
176
|
+
} | {
|
|
99
177
|
readonly attrs: {
|
|
100
178
|
readonly latex: string;
|
|
101
179
|
};
|
|
180
|
+
readonly marks?: readonly [{
|
|
181
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
182
|
+
} | {
|
|
183
|
+
readonly attrs: {
|
|
184
|
+
readonly href: string;
|
|
185
|
+
};
|
|
186
|
+
readonly type: "link";
|
|
187
|
+
} | {
|
|
188
|
+
readonly attrs: {
|
|
189
|
+
readonly variant: "success" | "warning" | null;
|
|
190
|
+
};
|
|
191
|
+
readonly type: "highlight";
|
|
192
|
+
}, ...({
|
|
193
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
194
|
+
} | {
|
|
195
|
+
readonly attrs: {
|
|
196
|
+
readonly href: string;
|
|
197
|
+
};
|
|
198
|
+
readonly type: "link";
|
|
199
|
+
} | {
|
|
200
|
+
readonly attrs: {
|
|
201
|
+
readonly variant: "success" | "warning" | null;
|
|
202
|
+
};
|
|
203
|
+
readonly type: "highlight";
|
|
204
|
+
})[]];
|
|
102
205
|
readonly type: "mathInline";
|
|
103
|
-
}
|
|
206
|
+
}, ...({
|
|
104
207
|
readonly marks?: readonly [{
|
|
105
208
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
106
209
|
} | {
|
|
@@ -128,12 +231,10 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
128
231
|
})[]];
|
|
129
232
|
readonly text: string;
|
|
130
233
|
readonly type: "text";
|
|
131
|
-
}
|
|
234
|
+
} | {
|
|
132
235
|
readonly attrs: {
|
|
133
236
|
readonly latex: string;
|
|
134
237
|
};
|
|
135
|
-
readonly type: "mathInline";
|
|
136
|
-
} | {
|
|
137
238
|
readonly marks?: readonly [{
|
|
138
239
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
139
240
|
} | {
|
|
@@ -159,8 +260,7 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
159
260
|
};
|
|
160
261
|
readonly type: "highlight";
|
|
161
262
|
})[]];
|
|
162
|
-
readonly
|
|
163
|
-
readonly type: "text";
|
|
263
|
+
readonly type: "mathInline";
|
|
164
264
|
})[]], E, never, never>>;
|
|
165
265
|
readonly title: RichSlot<E>;
|
|
166
266
|
readonly labels: Schema.Struct<{
|