@nakafa/aksara-contracts 8.1.0 → 8.4.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/math/boundary.d.ts +9 -0
- package/dist/math/boundary.js +81 -0
- package/dist/math/curve.d.ts +1 -0
- package/dist/math/curve.js +4 -2
- package/dist/math/formula/affine.d.ts +22 -0
- package/dist/math/formula/affine.js +79 -0
- package/dist/math/formula/contour.js +27 -12
- package/dist/math/object.d.ts +12 -0
- package/dist/math/object.js +11 -0
- package/dist/math/plane.d.ts +10 -0
- package/dist/math/plane.js +7 -1
- package/dist/math/space.d.ts +8 -0
- package/dist/math/space.js +5 -1
- package/dist/math/visual.d.ts +239 -212
- package/dist/visual/base/math.d.ts +78 -0
- package/dist/visual/base/math.js +31 -3
- package/dist/visual/base/media.d.ts +67 -0
- package/dist/visual/biology/bacteria.d.ts +268 -0
- package/dist/visual/biology/cell.d.ts +201 -0
- package/dist/visual/biology/climate.d.ts +201 -0
- package/dist/visual/biology/ecology.d.ts +268 -0
- package/dist/visual/biology/physiology.d.ts +201 -0
- package/dist/visual/biology/plant.d.ts +335 -0
- package/dist/visual/biology.d.ts +16 -16
- package/dist/visual/biology.js +2 -2
- package/dist/visual/card.d.ts +79 -1
- package/dist/visual/card.js +18 -2
- package/dist/visual/catalog.d.ts +14808 -28
- package/dist/visual/catalog.js +26 -0
- package/dist/visual/chemistry/atom.d.ts +203 -2
- package/dist/visual/chemistry/atom.js +2 -2
- package/dist/visual/chemistry/balance.d.ts +335 -0
- package/dist/visual/chemistry/bonding.d.ts +335 -0
- package/dist/visual/chemistry/discovery.d.ts +469 -0
- package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
- package/dist/visual/chemistry/electron.d.ts +134 -0
- package/dist/visual/chemistry/laws.d.ts +268 -0
- package/dist/visual/chemistry/particles.d.ts +335 -0
- package/dist/visual/chemistry/periodic.d.ts +134 -0
- package/dist/visual/chemistry/rate.d.ts +67 -0
- package/dist/visual/chemistry/reaction.d.ts +201 -0
- package/dist/visual/chemistry/titration.d.ts +67 -0
- package/dist/visual/length.d.ts +79 -0
- package/dist/visual/length.js +37 -0
- package/dist/visual/mathematics/chance.d.ts +258 -0
- package/dist/visual/mathematics/chance.js +117 -0
- package/dist/visual/mathematics/chart.d.ts +67 -0
- package/dist/visual/mathematics/charts.d.ts +335 -0
- package/dist/visual/mathematics/function.d.ts +205 -4
- package/dist/visual/mathematics/function.js +4 -4
- package/dist/visual/mathematics/geometry.d.ts +1 -1
- package/dist/visual/mathematics/geometry.js +1 -1
- package/dist/visual/mathematics/numeral.d.ts +170 -0
- package/dist/visual/mathematics/numeral.js +85 -0
- package/dist/visual/physics/braking.d.ts +268 -0
- package/dist/visual/physics/circuit.d.ts +343 -0
- package/dist/visual/physics/circuit.js +86 -0
- package/dist/visual/physics/circular.d.ts +134 -0
- package/dist/visual/physics/dynamics.d.ts +579 -0
- package/dist/visual/physics/dynamics.js +134 -0
- package/dist/visual/physics/efficiency.d.ts +402 -0
- package/dist/visual/physics/electronics.d.ts +260 -0
- package/dist/visual/physics/electronics.js +71 -0
- package/dist/visual/physics/falling.d.ts +268 -0
- package/dist/visual/physics/field.d.ts +249 -0
- package/dist/visual/physics/field.js +60 -0
- package/dist/visual/physics/fluid.d.ts +336 -0
- package/dist/visual/physics/fluid.js +83 -0
- package/dist/visual/physics/force.d.ts +335 -0
- package/dist/visual/physics/gravity.d.ts +172 -0
- package/dist/visual/physics/gravity.js +47 -0
- package/dist/visual/physics/heat.d.ts +255 -0
- package/dist/visual/physics/heat.js +66 -0
- package/dist/visual/physics/instrument.d.ts +469 -0
- package/dist/visual/physics/light.d.ts +343 -0
- package/dist/visual/physics/light.js +90 -0
- package/dist/visual/physics/measurement.d.ts +268 -0
- package/dist/visual/physics/motion.d.ts +402 -0
- package/dist/visual/physics/nuclear.d.ts +258 -0
- package/dist/visual/physics/nuclear.js +69 -0
- package/dist/visual/physics/parabolic.d.ts +69 -2
- package/dist/visual/physics/parabolic.js +2 -2
- package/dist/visual/physics/position.d.ts +402 -0
- package/dist/visual/physics/power.d.ts +536 -0
- package/dist/visual/physics/precision.d.ts +469 -0
- package/dist/visual/physics/product.d.ts +268 -0
- package/dist/visual/physics/reading.d.ts +253 -0
- package/dist/visual/physics/reading.js +61 -0
- package/dist/visual/physics/record.d.ts +134 -0
- package/dist/visual/physics/relative.d.ts +201 -0
- package/dist/visual/physics/solar.d.ts +402 -0
- package/dist/visual/physics/vector.d.ts +335 -0
- package/dist/visual/physics/velocity.d.ts +469 -0
- package/dist/visual/physics/wave.d.ts +338 -0
- package/dist/visual/physics/wave.js +85 -0
- package/dist/visual/politics.d.ts +403 -1
- package/dist/visual/politics.js +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
8
8
|
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
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
12
|
+
readonly attrs: {
|
|
13
|
+
readonly latex: string;
|
|
14
|
+
};
|
|
15
|
+
readonly type: "mathInline";
|
|
16
|
+
} | {
|
|
17
|
+
readonly marks?: readonly [{
|
|
18
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
19
|
+
} | {
|
|
20
|
+
readonly attrs: {
|
|
21
|
+
readonly href: string;
|
|
22
|
+
};
|
|
23
|
+
readonly type: "link";
|
|
24
|
+
} | {
|
|
25
|
+
readonly attrs: {
|
|
26
|
+
readonly variant: "success" | "warning" | null;
|
|
27
|
+
};
|
|
28
|
+
readonly type: "highlight";
|
|
29
|
+
}, ...({
|
|
30
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
31
|
+
} | {
|
|
32
|
+
readonly attrs: {
|
|
33
|
+
readonly href: string;
|
|
34
|
+
};
|
|
35
|
+
readonly type: "link";
|
|
36
|
+
} | {
|
|
37
|
+
readonly attrs: {
|
|
38
|
+
readonly variant: "success" | "warning" | null;
|
|
39
|
+
};
|
|
40
|
+
readonly type: "highlight";
|
|
41
|
+
})[]];
|
|
42
|
+
readonly text: string;
|
|
43
|
+
readonly type: "text";
|
|
44
|
+
}, ...({
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly latex: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "mathInline";
|
|
49
|
+
} | {
|
|
50
|
+
readonly marks?: readonly [{
|
|
51
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
52
|
+
} | {
|
|
53
|
+
readonly attrs: {
|
|
54
|
+
readonly href: string;
|
|
55
|
+
};
|
|
56
|
+
readonly type: "link";
|
|
57
|
+
} | {
|
|
58
|
+
readonly attrs: {
|
|
59
|
+
readonly variant: "success" | "warning" | null;
|
|
60
|
+
};
|
|
61
|
+
readonly type: "highlight";
|
|
62
|
+
}, ...({
|
|
63
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
64
|
+
} | {
|
|
65
|
+
readonly attrs: {
|
|
66
|
+
readonly href: string;
|
|
67
|
+
};
|
|
68
|
+
readonly type: "link";
|
|
69
|
+
} | {
|
|
70
|
+
readonly attrs: {
|
|
71
|
+
readonly variant: "success" | "warning" | null;
|
|
72
|
+
};
|
|
73
|
+
readonly type: "highlight";
|
|
74
|
+
})[]];
|
|
75
|
+
readonly text: string;
|
|
76
|
+
readonly type: "text";
|
|
77
|
+
})[]], E, never, never>>;
|
|
11
78
|
readonly title: RichSlot<E>;
|
|
12
79
|
readonly labels: Schema.Struct<{
|
|
13
80
|
readonly afterChange: Schema.Trimmed;
|
|
@@ -28,6 +95,73 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
28
95
|
}>, "figure">;
|
|
29
96
|
IsotopeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
30
97
|
readonly description: RichSlot<E>;
|
|
98
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
99
|
+
readonly attrs: {
|
|
100
|
+
readonly latex: string;
|
|
101
|
+
};
|
|
102
|
+
readonly type: "mathInline";
|
|
103
|
+
} | {
|
|
104
|
+
readonly marks?: readonly [{
|
|
105
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
106
|
+
} | {
|
|
107
|
+
readonly attrs: {
|
|
108
|
+
readonly href: string;
|
|
109
|
+
};
|
|
110
|
+
readonly type: "link";
|
|
111
|
+
} | {
|
|
112
|
+
readonly attrs: {
|
|
113
|
+
readonly variant: "success" | "warning" | null;
|
|
114
|
+
};
|
|
115
|
+
readonly type: "highlight";
|
|
116
|
+
}, ...({
|
|
117
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
118
|
+
} | {
|
|
119
|
+
readonly attrs: {
|
|
120
|
+
readonly href: string;
|
|
121
|
+
};
|
|
122
|
+
readonly type: "link";
|
|
123
|
+
} | {
|
|
124
|
+
readonly attrs: {
|
|
125
|
+
readonly variant: "success" | "warning" | null;
|
|
126
|
+
};
|
|
127
|
+
readonly type: "highlight";
|
|
128
|
+
})[]];
|
|
129
|
+
readonly text: string;
|
|
130
|
+
readonly type: "text";
|
|
131
|
+
}, ...({
|
|
132
|
+
readonly attrs: {
|
|
133
|
+
readonly latex: string;
|
|
134
|
+
};
|
|
135
|
+
readonly type: "mathInline";
|
|
136
|
+
} | {
|
|
137
|
+
readonly marks?: readonly [{
|
|
138
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
139
|
+
} | {
|
|
140
|
+
readonly attrs: {
|
|
141
|
+
readonly href: string;
|
|
142
|
+
};
|
|
143
|
+
readonly type: "link";
|
|
144
|
+
} | {
|
|
145
|
+
readonly attrs: {
|
|
146
|
+
readonly variant: "success" | "warning" | null;
|
|
147
|
+
};
|
|
148
|
+
readonly type: "highlight";
|
|
149
|
+
}, ...({
|
|
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 text: string;
|
|
163
|
+
readonly type: "text";
|
|
164
|
+
})[]], E, never, never>>;
|
|
31
165
|
readonly title: RichSlot<E>;
|
|
32
166
|
readonly labels: Schema.Struct<{
|
|
33
167
|
readonly abundance: Schema.Trimmed;
|
|
@@ -48,6 +182,73 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
48
182
|
}>, "figure">;
|
|
49
183
|
MatterParticleReaderLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
50
184
|
readonly description: RichSlot<E>;
|
|
185
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
186
|
+
readonly attrs: {
|
|
187
|
+
readonly latex: string;
|
|
188
|
+
};
|
|
189
|
+
readonly type: "mathInline";
|
|
190
|
+
} | {
|
|
191
|
+
readonly marks?: readonly [{
|
|
192
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
193
|
+
} | {
|
|
194
|
+
readonly attrs: {
|
|
195
|
+
readonly href: string;
|
|
196
|
+
};
|
|
197
|
+
readonly type: "link";
|
|
198
|
+
} | {
|
|
199
|
+
readonly attrs: {
|
|
200
|
+
readonly variant: "success" | "warning" | null;
|
|
201
|
+
};
|
|
202
|
+
readonly type: "highlight";
|
|
203
|
+
}, ...({
|
|
204
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
205
|
+
} | {
|
|
206
|
+
readonly attrs: {
|
|
207
|
+
readonly href: string;
|
|
208
|
+
};
|
|
209
|
+
readonly type: "link";
|
|
210
|
+
} | {
|
|
211
|
+
readonly attrs: {
|
|
212
|
+
readonly variant: "success" | "warning" | null;
|
|
213
|
+
};
|
|
214
|
+
readonly type: "highlight";
|
|
215
|
+
})[]];
|
|
216
|
+
readonly text: string;
|
|
217
|
+
readonly type: "text";
|
|
218
|
+
}, ...({
|
|
219
|
+
readonly attrs: {
|
|
220
|
+
readonly latex: string;
|
|
221
|
+
};
|
|
222
|
+
readonly type: "mathInline";
|
|
223
|
+
} | {
|
|
224
|
+
readonly marks?: readonly [{
|
|
225
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
226
|
+
} | {
|
|
227
|
+
readonly attrs: {
|
|
228
|
+
readonly href: string;
|
|
229
|
+
};
|
|
230
|
+
readonly type: "link";
|
|
231
|
+
} | {
|
|
232
|
+
readonly attrs: {
|
|
233
|
+
readonly variant: "success" | "warning" | null;
|
|
234
|
+
};
|
|
235
|
+
readonly type: "highlight";
|
|
236
|
+
}, ...({
|
|
237
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
238
|
+
} | {
|
|
239
|
+
readonly attrs: {
|
|
240
|
+
readonly href: string;
|
|
241
|
+
};
|
|
242
|
+
readonly type: "link";
|
|
243
|
+
} | {
|
|
244
|
+
readonly attrs: {
|
|
245
|
+
readonly variant: "success" | "warning" | null;
|
|
246
|
+
};
|
|
247
|
+
readonly type: "highlight";
|
|
248
|
+
})[]];
|
|
249
|
+
readonly text: string;
|
|
250
|
+
readonly type: "text";
|
|
251
|
+
})[]], E, never, never>>;
|
|
51
252
|
readonly title: RichSlot<E>;
|
|
52
253
|
readonly labels: Schema.Struct<{
|
|
53
254
|
readonly categoryLabel: Schema.Trimmed;
|
|
@@ -65,6 +266,73 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
65
266
|
}>, "figure">;
|
|
66
267
|
SubatomicParticlePropertiesLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
67
268
|
readonly description: RichSlot<E>;
|
|
269
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
270
|
+
readonly attrs: {
|
|
271
|
+
readonly latex: string;
|
|
272
|
+
};
|
|
273
|
+
readonly type: "mathInline";
|
|
274
|
+
} | {
|
|
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
|
+
}, ...({
|
|
303
|
+
readonly attrs: {
|
|
304
|
+
readonly latex: string;
|
|
305
|
+
};
|
|
306
|
+
readonly type: "mathInline";
|
|
307
|
+
} | {
|
|
308
|
+
readonly marks?: readonly [{
|
|
309
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
310
|
+
} | {
|
|
311
|
+
readonly attrs: {
|
|
312
|
+
readonly href: string;
|
|
313
|
+
};
|
|
314
|
+
readonly type: "link";
|
|
315
|
+
} | {
|
|
316
|
+
readonly attrs: {
|
|
317
|
+
readonly variant: "success" | "warning" | null;
|
|
318
|
+
};
|
|
319
|
+
readonly type: "highlight";
|
|
320
|
+
}, ...({
|
|
321
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
322
|
+
} | {
|
|
323
|
+
readonly attrs: {
|
|
324
|
+
readonly href: string;
|
|
325
|
+
};
|
|
326
|
+
readonly type: "link";
|
|
327
|
+
} | {
|
|
328
|
+
readonly attrs: {
|
|
329
|
+
readonly variant: "success" | "warning" | null;
|
|
330
|
+
};
|
|
331
|
+
readonly type: "highlight";
|
|
332
|
+
})[]];
|
|
333
|
+
readonly text: string;
|
|
334
|
+
readonly type: "text";
|
|
335
|
+
})[]], E, never, never>>;
|
|
68
336
|
readonly title: RichSlot<E>;
|
|
69
337
|
readonly labels: Schema.Struct<{
|
|
70
338
|
readonly chooseMode: Schema.Trimmed;
|
|
@@ -89,6 +357,73 @@ export declare function particleVisuals<E>(rich: RichSlot<E>): {
|
|
|
89
357
|
}>, "figure">;
|
|
90
358
|
SubatomicParticlesLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
91
359
|
readonly description: RichSlot<E>;
|
|
360
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
361
|
+
readonly attrs: {
|
|
362
|
+
readonly latex: string;
|
|
363
|
+
};
|
|
364
|
+
readonly type: "mathInline";
|
|
365
|
+
} | {
|
|
366
|
+
readonly marks?: readonly [{
|
|
367
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
368
|
+
} | {
|
|
369
|
+
readonly attrs: {
|
|
370
|
+
readonly href: string;
|
|
371
|
+
};
|
|
372
|
+
readonly type: "link";
|
|
373
|
+
} | {
|
|
374
|
+
readonly attrs: {
|
|
375
|
+
readonly variant: "success" | "warning" | null;
|
|
376
|
+
};
|
|
377
|
+
readonly type: "highlight";
|
|
378
|
+
}, ...({
|
|
379
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
380
|
+
} | {
|
|
381
|
+
readonly attrs: {
|
|
382
|
+
readonly href: string;
|
|
383
|
+
};
|
|
384
|
+
readonly type: "link";
|
|
385
|
+
} | {
|
|
386
|
+
readonly attrs: {
|
|
387
|
+
readonly variant: "success" | "warning" | null;
|
|
388
|
+
};
|
|
389
|
+
readonly type: "highlight";
|
|
390
|
+
})[]];
|
|
391
|
+
readonly text: string;
|
|
392
|
+
readonly type: "text";
|
|
393
|
+
}, ...({
|
|
394
|
+
readonly attrs: {
|
|
395
|
+
readonly latex: string;
|
|
396
|
+
};
|
|
397
|
+
readonly type: "mathInline";
|
|
398
|
+
} | {
|
|
399
|
+
readonly marks?: readonly [{
|
|
400
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
401
|
+
} | {
|
|
402
|
+
readonly attrs: {
|
|
403
|
+
readonly href: string;
|
|
404
|
+
};
|
|
405
|
+
readonly type: "link";
|
|
406
|
+
} | {
|
|
407
|
+
readonly attrs: {
|
|
408
|
+
readonly variant: "success" | "warning" | null;
|
|
409
|
+
};
|
|
410
|
+
readonly type: "highlight";
|
|
411
|
+
}, ...({
|
|
412
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
413
|
+
} | {
|
|
414
|
+
readonly attrs: {
|
|
415
|
+
readonly href: string;
|
|
416
|
+
};
|
|
417
|
+
readonly type: "link";
|
|
418
|
+
} | {
|
|
419
|
+
readonly attrs: {
|
|
420
|
+
readonly variant: "success" | "warning" | null;
|
|
421
|
+
};
|
|
422
|
+
readonly type: "highlight";
|
|
423
|
+
})[]];
|
|
424
|
+
readonly text: string;
|
|
425
|
+
readonly type: "text";
|
|
426
|
+
})[]], E, never, never>>;
|
|
92
427
|
readonly title: RichSlot<E>;
|
|
93
428
|
readonly labels: Schema.Struct<{
|
|
94
429
|
readonly chooseMode: Schema.Trimmed;
|
|
@@ -8,6 +8,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
8
8
|
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
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
12
|
+
readonly attrs: {
|
|
13
|
+
readonly latex: string;
|
|
14
|
+
};
|
|
15
|
+
readonly type: "mathInline";
|
|
16
|
+
} | {
|
|
17
|
+
readonly marks?: readonly [{
|
|
18
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
19
|
+
} | {
|
|
20
|
+
readonly attrs: {
|
|
21
|
+
readonly href: string;
|
|
22
|
+
};
|
|
23
|
+
readonly type: "link";
|
|
24
|
+
} | {
|
|
25
|
+
readonly attrs: {
|
|
26
|
+
readonly variant: "success" | "warning" | null;
|
|
27
|
+
};
|
|
28
|
+
readonly type: "highlight";
|
|
29
|
+
}, ...({
|
|
30
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
31
|
+
} | {
|
|
32
|
+
readonly attrs: {
|
|
33
|
+
readonly href: string;
|
|
34
|
+
};
|
|
35
|
+
readonly type: "link";
|
|
36
|
+
} | {
|
|
37
|
+
readonly attrs: {
|
|
38
|
+
readonly variant: "success" | "warning" | null;
|
|
39
|
+
};
|
|
40
|
+
readonly type: "highlight";
|
|
41
|
+
})[]];
|
|
42
|
+
readonly text: string;
|
|
43
|
+
readonly type: "text";
|
|
44
|
+
}, ...({
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly latex: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "mathInline";
|
|
49
|
+
} | {
|
|
50
|
+
readonly marks?: readonly [{
|
|
51
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
52
|
+
} | {
|
|
53
|
+
readonly attrs: {
|
|
54
|
+
readonly href: string;
|
|
55
|
+
};
|
|
56
|
+
readonly type: "link";
|
|
57
|
+
} | {
|
|
58
|
+
readonly attrs: {
|
|
59
|
+
readonly variant: "success" | "warning" | null;
|
|
60
|
+
};
|
|
61
|
+
readonly type: "highlight";
|
|
62
|
+
}, ...({
|
|
63
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
64
|
+
} | {
|
|
65
|
+
readonly attrs: {
|
|
66
|
+
readonly href: string;
|
|
67
|
+
};
|
|
68
|
+
readonly type: "link";
|
|
69
|
+
} | {
|
|
70
|
+
readonly attrs: {
|
|
71
|
+
readonly variant: "success" | "warning" | null;
|
|
72
|
+
};
|
|
73
|
+
readonly type: "highlight";
|
|
74
|
+
})[]];
|
|
75
|
+
readonly text: string;
|
|
76
|
+
readonly type: "text";
|
|
77
|
+
})[]], E, never, never>>;
|
|
11
78
|
readonly title: RichSlot<E>;
|
|
12
79
|
readonly labels: Schema.Struct<{
|
|
13
80
|
readonly atomicNumber: Schema.Trimmed;
|
|
@@ -28,6 +95,73 @@ export declare function periodicVisuals<E>(rich: RichSlot<E>): {
|
|
|
28
95
|
}>, "figure">;
|
|
29
96
|
PeriodicPropertiesLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
30
97
|
readonly description: RichSlot<E>;
|
|
98
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
99
|
+
readonly attrs: {
|
|
100
|
+
readonly latex: string;
|
|
101
|
+
};
|
|
102
|
+
readonly type: "mathInline";
|
|
103
|
+
} | {
|
|
104
|
+
readonly marks?: readonly [{
|
|
105
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
106
|
+
} | {
|
|
107
|
+
readonly attrs: {
|
|
108
|
+
readonly href: string;
|
|
109
|
+
};
|
|
110
|
+
readonly type: "link";
|
|
111
|
+
} | {
|
|
112
|
+
readonly attrs: {
|
|
113
|
+
readonly variant: "success" | "warning" | null;
|
|
114
|
+
};
|
|
115
|
+
readonly type: "highlight";
|
|
116
|
+
}, ...({
|
|
117
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
118
|
+
} | {
|
|
119
|
+
readonly attrs: {
|
|
120
|
+
readonly href: string;
|
|
121
|
+
};
|
|
122
|
+
readonly type: "link";
|
|
123
|
+
} | {
|
|
124
|
+
readonly attrs: {
|
|
125
|
+
readonly variant: "success" | "warning" | null;
|
|
126
|
+
};
|
|
127
|
+
readonly type: "highlight";
|
|
128
|
+
})[]];
|
|
129
|
+
readonly text: string;
|
|
130
|
+
readonly type: "text";
|
|
131
|
+
}, ...({
|
|
132
|
+
readonly attrs: {
|
|
133
|
+
readonly latex: string;
|
|
134
|
+
};
|
|
135
|
+
readonly type: "mathInline";
|
|
136
|
+
} | {
|
|
137
|
+
readonly marks?: readonly [{
|
|
138
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
139
|
+
} | {
|
|
140
|
+
readonly attrs: {
|
|
141
|
+
readonly href: string;
|
|
142
|
+
};
|
|
143
|
+
readonly type: "link";
|
|
144
|
+
} | {
|
|
145
|
+
readonly attrs: {
|
|
146
|
+
readonly variant: "success" | "warning" | null;
|
|
147
|
+
};
|
|
148
|
+
readonly type: "highlight";
|
|
149
|
+
}, ...({
|
|
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 text: string;
|
|
163
|
+
readonly type: "text";
|
|
164
|
+
})[]], E, never, never>>;
|
|
31
165
|
readonly title: RichSlot<E>;
|
|
32
166
|
readonly labels: Schema.Struct<{
|
|
33
167
|
readonly chooseTrend: Schema.Trimmed;
|
|
@@ -4,6 +4,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
4
4
|
export declare function rateVisuals<E>(rich: RichSlot<E>): {
|
|
5
5
|
GasRateLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
6
6
|
readonly description: RichSlot<E>;
|
|
7
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
8
|
+
readonly attrs: {
|
|
9
|
+
readonly latex: string;
|
|
10
|
+
};
|
|
11
|
+
readonly type: "mathInline";
|
|
12
|
+
} | {
|
|
13
|
+
readonly marks?: readonly [{
|
|
14
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
15
|
+
} | {
|
|
16
|
+
readonly attrs: {
|
|
17
|
+
readonly href: string;
|
|
18
|
+
};
|
|
19
|
+
readonly type: "link";
|
|
20
|
+
} | {
|
|
21
|
+
readonly attrs: {
|
|
22
|
+
readonly variant: "success" | "warning" | null;
|
|
23
|
+
};
|
|
24
|
+
readonly type: "highlight";
|
|
25
|
+
}, ...({
|
|
26
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
27
|
+
} | {
|
|
28
|
+
readonly attrs: {
|
|
29
|
+
readonly href: string;
|
|
30
|
+
};
|
|
31
|
+
readonly type: "link";
|
|
32
|
+
} | {
|
|
33
|
+
readonly attrs: {
|
|
34
|
+
readonly variant: "success" | "warning" | null;
|
|
35
|
+
};
|
|
36
|
+
readonly type: "highlight";
|
|
37
|
+
})[]];
|
|
38
|
+
readonly text: string;
|
|
39
|
+
readonly type: "text";
|
|
40
|
+
}, ...({
|
|
41
|
+
readonly attrs: {
|
|
42
|
+
readonly latex: string;
|
|
43
|
+
};
|
|
44
|
+
readonly type: "mathInline";
|
|
45
|
+
} | {
|
|
46
|
+
readonly marks?: readonly [{
|
|
47
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
48
|
+
} | {
|
|
49
|
+
readonly attrs: {
|
|
50
|
+
readonly href: string;
|
|
51
|
+
};
|
|
52
|
+
readonly type: "link";
|
|
53
|
+
} | {
|
|
54
|
+
readonly attrs: {
|
|
55
|
+
readonly variant: "success" | "warning" | null;
|
|
56
|
+
};
|
|
57
|
+
readonly type: "highlight";
|
|
58
|
+
}, ...({
|
|
59
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
60
|
+
} | {
|
|
61
|
+
readonly attrs: {
|
|
62
|
+
readonly href: string;
|
|
63
|
+
};
|
|
64
|
+
readonly type: "link";
|
|
65
|
+
} | {
|
|
66
|
+
readonly attrs: {
|
|
67
|
+
readonly variant: "success" | "warning" | null;
|
|
68
|
+
};
|
|
69
|
+
readonly type: "highlight";
|
|
70
|
+
})[]];
|
|
71
|
+
readonly text: string;
|
|
72
|
+
readonly type: "text";
|
|
73
|
+
})[]], E, never, never>>;
|
|
7
74
|
readonly title: RichSlot<E>;
|
|
8
75
|
readonly labels: Schema.Struct<{
|
|
9
76
|
readonly final: RichSlot<E>;
|