@nakafa/aksara-contracts 8.2.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/card.d.ts +79 -1
- package/dist/visual/card.js +18 -2
- package/dist/visual/catalog.d.ts +14164 -2
- package/dist/visual/catalog.js +4 -0
- package/dist/visual/chemistry/atom.d.ts +201 -0
- 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 +201 -0
- 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 +268 -0
- package/dist/visual/physics/circular.d.ts +134 -0
- package/dist/visual/physics/dynamics.d.ts +469 -0
- package/dist/visual/physics/efficiency.d.ts +402 -0
- package/dist/visual/physics/electronics.d.ts +201 -0
- package/dist/visual/physics/falling.d.ts +268 -0
- package/dist/visual/physics/field.d.ts +201 -0
- package/dist/visual/physics/fluid.d.ts +268 -0
- package/dist/visual/physics/force.d.ts +335 -0
- package/dist/visual/physics/gravity.d.ts +134 -0
- package/dist/visual/physics/heat.d.ts +201 -0
- package/dist/visual/physics/instrument.d.ts +469 -0
- package/dist/visual/physics/light.d.ts +268 -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 +201 -0
- package/dist/visual/physics/parabolic.d.ts +67 -0
- 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 +201 -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 +268 -0
- package/dist/visual/politics.d.ts +402 -0
- package/package.json +1 -1
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function circularVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
SatelliteOrbitCircularLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
9
|
readonly description: RichSlot<E>;
|
|
10
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly attrs: {
|
|
12
|
+
readonly latex: string;
|
|
13
|
+
};
|
|
14
|
+
readonly type: "mathInline";
|
|
15
|
+
} | {
|
|
16
|
+
readonly marks?: readonly [{
|
|
17
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly href: string;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "link";
|
|
23
|
+
} | {
|
|
24
|
+
readonly attrs: {
|
|
25
|
+
readonly variant: "success" | "warning" | null;
|
|
26
|
+
};
|
|
27
|
+
readonly type: "highlight";
|
|
28
|
+
}, ...({
|
|
29
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly href: string;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "link";
|
|
35
|
+
} | {
|
|
36
|
+
readonly attrs: {
|
|
37
|
+
readonly variant: "success" | "warning" | null;
|
|
38
|
+
};
|
|
39
|
+
readonly type: "highlight";
|
|
40
|
+
})[]];
|
|
41
|
+
readonly text: string;
|
|
42
|
+
readonly type: "text";
|
|
43
|
+
}, ...({
|
|
44
|
+
readonly attrs: {
|
|
45
|
+
readonly latex: string;
|
|
46
|
+
};
|
|
47
|
+
readonly type: "mathInline";
|
|
48
|
+
} | {
|
|
49
|
+
readonly marks?: readonly [{
|
|
50
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
|
+
} | {
|
|
52
|
+
readonly attrs: {
|
|
53
|
+
readonly href: string;
|
|
54
|
+
};
|
|
55
|
+
readonly type: "link";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly variant: "success" | "warning" | null;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "highlight";
|
|
61
|
+
}, ...({
|
|
62
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
63
|
+
} | {
|
|
64
|
+
readonly attrs: {
|
|
65
|
+
readonly href: string;
|
|
66
|
+
};
|
|
67
|
+
readonly type: "link";
|
|
68
|
+
} | {
|
|
69
|
+
readonly attrs: {
|
|
70
|
+
readonly variant: "success" | "warning" | null;
|
|
71
|
+
};
|
|
72
|
+
readonly type: "highlight";
|
|
73
|
+
})[]];
|
|
74
|
+
readonly text: string;
|
|
75
|
+
readonly type: "text";
|
|
76
|
+
})[]], E, never, never>>;
|
|
10
77
|
readonly title: RichSlot<E>;
|
|
11
78
|
readonly labels: Schema.Struct<{
|
|
12
79
|
readonly acceleration: RichSlot<E>;
|
|
@@ -20,6 +87,73 @@ export declare function circularVisuals<E>(rich: RichSlot<E>): {
|
|
|
20
87
|
}>, "figure">;
|
|
21
88
|
StringWhirlReleaseLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
22
89
|
readonly description: RichSlot<E>;
|
|
90
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
91
|
+
readonly attrs: {
|
|
92
|
+
readonly latex: string;
|
|
93
|
+
};
|
|
94
|
+
readonly type: "mathInline";
|
|
95
|
+
} | {
|
|
96
|
+
readonly marks?: readonly [{
|
|
97
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
98
|
+
} | {
|
|
99
|
+
readonly attrs: {
|
|
100
|
+
readonly href: string;
|
|
101
|
+
};
|
|
102
|
+
readonly type: "link";
|
|
103
|
+
} | {
|
|
104
|
+
readonly attrs: {
|
|
105
|
+
readonly variant: "success" | "warning" | null;
|
|
106
|
+
};
|
|
107
|
+
readonly type: "highlight";
|
|
108
|
+
}, ...({
|
|
109
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
110
|
+
} | {
|
|
111
|
+
readonly attrs: {
|
|
112
|
+
readonly href: string;
|
|
113
|
+
};
|
|
114
|
+
readonly type: "link";
|
|
115
|
+
} | {
|
|
116
|
+
readonly attrs: {
|
|
117
|
+
readonly variant: "success" | "warning" | null;
|
|
118
|
+
};
|
|
119
|
+
readonly type: "highlight";
|
|
120
|
+
})[]];
|
|
121
|
+
readonly text: string;
|
|
122
|
+
readonly type: "text";
|
|
123
|
+
}, ...({
|
|
124
|
+
readonly attrs: {
|
|
125
|
+
readonly latex: string;
|
|
126
|
+
};
|
|
127
|
+
readonly type: "mathInline";
|
|
128
|
+
} | {
|
|
129
|
+
readonly marks?: readonly [{
|
|
130
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
131
|
+
} | {
|
|
132
|
+
readonly attrs: {
|
|
133
|
+
readonly href: string;
|
|
134
|
+
};
|
|
135
|
+
readonly type: "link";
|
|
136
|
+
} | {
|
|
137
|
+
readonly attrs: {
|
|
138
|
+
readonly variant: "success" | "warning" | null;
|
|
139
|
+
};
|
|
140
|
+
readonly type: "highlight";
|
|
141
|
+
}, ...({
|
|
142
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
143
|
+
} | {
|
|
144
|
+
readonly attrs: {
|
|
145
|
+
readonly href: string;
|
|
146
|
+
};
|
|
147
|
+
readonly type: "link";
|
|
148
|
+
} | {
|
|
149
|
+
readonly attrs: {
|
|
150
|
+
readonly variant: "success" | "warning" | null;
|
|
151
|
+
};
|
|
152
|
+
readonly type: "highlight";
|
|
153
|
+
})[]];
|
|
154
|
+
readonly text: string;
|
|
155
|
+
readonly type: "text";
|
|
156
|
+
})[]], E, never, never>>;
|
|
23
157
|
readonly title: RichSlot<E>;
|
|
24
158
|
readonly labels: Schema.Struct<{
|
|
25
159
|
readonly acceleration: RichSlot<E>;
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
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
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly attrs: {
|
|
12
|
+
readonly latex: string;
|
|
13
|
+
};
|
|
14
|
+
readonly type: "mathInline";
|
|
15
|
+
} | {
|
|
16
|
+
readonly marks?: readonly [{
|
|
17
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly href: string;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "link";
|
|
23
|
+
} | {
|
|
24
|
+
readonly attrs: {
|
|
25
|
+
readonly variant: "success" | "warning" | null;
|
|
26
|
+
};
|
|
27
|
+
readonly type: "highlight";
|
|
28
|
+
}, ...({
|
|
29
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly href: string;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "link";
|
|
35
|
+
} | {
|
|
36
|
+
readonly attrs: {
|
|
37
|
+
readonly variant: "success" | "warning" | null;
|
|
38
|
+
};
|
|
39
|
+
readonly type: "highlight";
|
|
40
|
+
})[]];
|
|
41
|
+
readonly text: string;
|
|
42
|
+
readonly type: "text";
|
|
43
|
+
}, ...({
|
|
44
|
+
readonly attrs: {
|
|
45
|
+
readonly latex: string;
|
|
46
|
+
};
|
|
47
|
+
readonly type: "mathInline";
|
|
48
|
+
} | {
|
|
49
|
+
readonly marks?: readonly [{
|
|
50
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
|
+
} | {
|
|
52
|
+
readonly attrs: {
|
|
53
|
+
readonly href: string;
|
|
54
|
+
};
|
|
55
|
+
readonly type: "link";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly variant: "success" | "warning" | null;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "highlight";
|
|
61
|
+
}, ...({
|
|
62
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
63
|
+
} | {
|
|
64
|
+
readonly attrs: {
|
|
65
|
+
readonly href: string;
|
|
66
|
+
};
|
|
67
|
+
readonly type: "link";
|
|
68
|
+
} | {
|
|
69
|
+
readonly attrs: {
|
|
70
|
+
readonly variant: "success" | "warning" | null;
|
|
71
|
+
};
|
|
72
|
+
readonly type: "highlight";
|
|
73
|
+
})[]];
|
|
74
|
+
readonly text: string;
|
|
75
|
+
readonly type: "text";
|
|
76
|
+
})[]], E, never, never>>;
|
|
10
77
|
readonly title: RichSlot<E>;
|
|
11
78
|
readonly back: Schema.Finite;
|
|
12
79
|
readonly friction: Schema.Finite;
|
|
@@ -22,6 +89,73 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
22
89
|
}>, "figure">;
|
|
23
90
|
BulletBlockLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
24
91
|
readonly description: RichSlot<E>;
|
|
92
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
93
|
+
readonly attrs: {
|
|
94
|
+
readonly latex: string;
|
|
95
|
+
};
|
|
96
|
+
readonly type: "mathInline";
|
|
97
|
+
} | {
|
|
98
|
+
readonly marks?: readonly [{
|
|
99
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
100
|
+
} | {
|
|
101
|
+
readonly attrs: {
|
|
102
|
+
readonly href: string;
|
|
103
|
+
};
|
|
104
|
+
readonly type: "link";
|
|
105
|
+
} | {
|
|
106
|
+
readonly attrs: {
|
|
107
|
+
readonly variant: "success" | "warning" | null;
|
|
108
|
+
};
|
|
109
|
+
readonly type: "highlight";
|
|
110
|
+
}, ...({
|
|
111
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
112
|
+
} | {
|
|
113
|
+
readonly attrs: {
|
|
114
|
+
readonly href: string;
|
|
115
|
+
};
|
|
116
|
+
readonly type: "link";
|
|
117
|
+
} | {
|
|
118
|
+
readonly attrs: {
|
|
119
|
+
readonly variant: "success" | "warning" | null;
|
|
120
|
+
};
|
|
121
|
+
readonly type: "highlight";
|
|
122
|
+
})[]];
|
|
123
|
+
readonly text: string;
|
|
124
|
+
readonly type: "text";
|
|
125
|
+
}, ...({
|
|
126
|
+
readonly attrs: {
|
|
127
|
+
readonly latex: string;
|
|
128
|
+
};
|
|
129
|
+
readonly type: "mathInline";
|
|
130
|
+
} | {
|
|
131
|
+
readonly marks?: readonly [{
|
|
132
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
133
|
+
} | {
|
|
134
|
+
readonly attrs: {
|
|
135
|
+
readonly href: string;
|
|
136
|
+
};
|
|
137
|
+
readonly type: "link";
|
|
138
|
+
} | {
|
|
139
|
+
readonly attrs: {
|
|
140
|
+
readonly variant: "success" | "warning" | null;
|
|
141
|
+
};
|
|
142
|
+
readonly type: "highlight";
|
|
143
|
+
}, ...({
|
|
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 text: string;
|
|
157
|
+
readonly type: "text";
|
|
158
|
+
})[]], E, never, never>>;
|
|
25
159
|
readonly title: RichSlot<E>;
|
|
26
160
|
readonly blockMass: Schema.Finite;
|
|
27
161
|
readonly bulletMass: Schema.Finite;
|
|
@@ -37,6 +171,73 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
37
171
|
}>, "figure">;
|
|
38
172
|
CliffThrowLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
39
173
|
readonly description: RichSlot<E>;
|
|
174
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
175
|
+
readonly attrs: {
|
|
176
|
+
readonly latex: string;
|
|
177
|
+
};
|
|
178
|
+
readonly type: "mathInline";
|
|
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
|
+
})[]];
|
|
205
|
+
readonly text: string;
|
|
206
|
+
readonly type: "text";
|
|
207
|
+
}, ...({
|
|
208
|
+
readonly attrs: {
|
|
209
|
+
readonly latex: string;
|
|
210
|
+
};
|
|
211
|
+
readonly type: "mathInline";
|
|
212
|
+
} | {
|
|
213
|
+
readonly marks?: readonly [{
|
|
214
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
215
|
+
} | {
|
|
216
|
+
readonly attrs: {
|
|
217
|
+
readonly href: string;
|
|
218
|
+
};
|
|
219
|
+
readonly type: "link";
|
|
220
|
+
} | {
|
|
221
|
+
readonly attrs: {
|
|
222
|
+
readonly variant: "success" | "warning" | null;
|
|
223
|
+
};
|
|
224
|
+
readonly type: "highlight";
|
|
225
|
+
}, ...({
|
|
226
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
227
|
+
} | {
|
|
228
|
+
readonly attrs: {
|
|
229
|
+
readonly href: string;
|
|
230
|
+
};
|
|
231
|
+
readonly type: "link";
|
|
232
|
+
} | {
|
|
233
|
+
readonly attrs: {
|
|
234
|
+
readonly variant: "success" | "warning" | null;
|
|
235
|
+
};
|
|
236
|
+
readonly type: "highlight";
|
|
237
|
+
})[]];
|
|
238
|
+
readonly text: string;
|
|
239
|
+
readonly type: "text";
|
|
240
|
+
})[]], E, never, never>>;
|
|
40
241
|
readonly title: RichSlot<E>;
|
|
41
242
|
readonly delay: Schema.Finite;
|
|
42
243
|
readonly gravity: Schema.Finite;
|
|
@@ -51,6 +252,73 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
51
252
|
}>, "figure">;
|
|
52
253
|
InclineSlideLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
53
254
|
readonly description: RichSlot<E>;
|
|
255
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
256
|
+
readonly attrs: {
|
|
257
|
+
readonly latex: string;
|
|
258
|
+
};
|
|
259
|
+
readonly type: "mathInline";
|
|
260
|
+
} | {
|
|
261
|
+
readonly marks?: readonly [{
|
|
262
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
263
|
+
} | {
|
|
264
|
+
readonly attrs: {
|
|
265
|
+
readonly href: string;
|
|
266
|
+
};
|
|
267
|
+
readonly type: "link";
|
|
268
|
+
} | {
|
|
269
|
+
readonly attrs: {
|
|
270
|
+
readonly variant: "success" | "warning" | null;
|
|
271
|
+
};
|
|
272
|
+
readonly type: "highlight";
|
|
273
|
+
}, ...({
|
|
274
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
275
|
+
} | {
|
|
276
|
+
readonly attrs: {
|
|
277
|
+
readonly href: string;
|
|
278
|
+
};
|
|
279
|
+
readonly type: "link";
|
|
280
|
+
} | {
|
|
281
|
+
readonly attrs: {
|
|
282
|
+
readonly variant: "success" | "warning" | null;
|
|
283
|
+
};
|
|
284
|
+
readonly type: "highlight";
|
|
285
|
+
})[]];
|
|
286
|
+
readonly text: string;
|
|
287
|
+
readonly type: "text";
|
|
288
|
+
}, ...({
|
|
289
|
+
readonly attrs: {
|
|
290
|
+
readonly latex: string;
|
|
291
|
+
};
|
|
292
|
+
readonly type: "mathInline";
|
|
293
|
+
} | {
|
|
294
|
+
readonly marks?: readonly [{
|
|
295
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
296
|
+
} | {
|
|
297
|
+
readonly attrs: {
|
|
298
|
+
readonly href: string;
|
|
299
|
+
};
|
|
300
|
+
readonly type: "link";
|
|
301
|
+
} | {
|
|
302
|
+
readonly attrs: {
|
|
303
|
+
readonly variant: "success" | "warning" | null;
|
|
304
|
+
};
|
|
305
|
+
readonly type: "highlight";
|
|
306
|
+
}, ...({
|
|
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 text: string;
|
|
320
|
+
readonly type: "text";
|
|
321
|
+
})[]], E, never, never>>;
|
|
54
322
|
readonly title: RichSlot<E>;
|
|
55
323
|
readonly angle: Schema.Finite;
|
|
56
324
|
readonly friction: Schema.Finite;
|
|
@@ -66,6 +334,73 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
66
334
|
}>, "figure">;
|
|
67
335
|
LiftScaleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
68
336
|
readonly description: RichSlot<E>;
|
|
337
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
338
|
+
readonly attrs: {
|
|
339
|
+
readonly latex: string;
|
|
340
|
+
};
|
|
341
|
+
readonly type: "mathInline";
|
|
342
|
+
} | {
|
|
343
|
+
readonly marks?: readonly [{
|
|
344
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
345
|
+
} | {
|
|
346
|
+
readonly attrs: {
|
|
347
|
+
readonly href: string;
|
|
348
|
+
};
|
|
349
|
+
readonly type: "link";
|
|
350
|
+
} | {
|
|
351
|
+
readonly attrs: {
|
|
352
|
+
readonly variant: "success" | "warning" | null;
|
|
353
|
+
};
|
|
354
|
+
readonly type: "highlight";
|
|
355
|
+
}, ...({
|
|
356
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
357
|
+
} | {
|
|
358
|
+
readonly attrs: {
|
|
359
|
+
readonly href: string;
|
|
360
|
+
};
|
|
361
|
+
readonly type: "link";
|
|
362
|
+
} | {
|
|
363
|
+
readonly attrs: {
|
|
364
|
+
readonly variant: "success" | "warning" | null;
|
|
365
|
+
};
|
|
366
|
+
readonly type: "highlight";
|
|
367
|
+
})[]];
|
|
368
|
+
readonly text: string;
|
|
369
|
+
readonly type: "text";
|
|
370
|
+
}, ...({
|
|
371
|
+
readonly attrs: {
|
|
372
|
+
readonly latex: string;
|
|
373
|
+
};
|
|
374
|
+
readonly type: "mathInline";
|
|
375
|
+
} | {
|
|
376
|
+
readonly marks?: readonly [{
|
|
377
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
378
|
+
} | {
|
|
379
|
+
readonly attrs: {
|
|
380
|
+
readonly href: string;
|
|
381
|
+
};
|
|
382
|
+
readonly type: "link";
|
|
383
|
+
} | {
|
|
384
|
+
readonly attrs: {
|
|
385
|
+
readonly variant: "success" | "warning" | null;
|
|
386
|
+
};
|
|
387
|
+
readonly type: "highlight";
|
|
388
|
+
}, ...({
|
|
389
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
390
|
+
} | {
|
|
391
|
+
readonly attrs: {
|
|
392
|
+
readonly href: string;
|
|
393
|
+
};
|
|
394
|
+
readonly type: "link";
|
|
395
|
+
} | {
|
|
396
|
+
readonly attrs: {
|
|
397
|
+
readonly variant: "success" | "warning" | null;
|
|
398
|
+
};
|
|
399
|
+
readonly type: "highlight";
|
|
400
|
+
})[]];
|
|
401
|
+
readonly text: string;
|
|
402
|
+
readonly type: "text";
|
|
403
|
+
})[]], E, never, never>>;
|
|
69
404
|
readonly title: RichSlot<E>;
|
|
70
405
|
readonly gravity: Schema.Finite;
|
|
71
406
|
readonly labels: Schema.Struct<{
|
|
@@ -80,6 +415,73 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
80
415
|
}>, "figure">;
|
|
81
416
|
RecoilLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
82
417
|
readonly description: RichSlot<E>;
|
|
418
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
419
|
+
readonly attrs: {
|
|
420
|
+
readonly latex: string;
|
|
421
|
+
};
|
|
422
|
+
readonly type: "mathInline";
|
|
423
|
+
} | {
|
|
424
|
+
readonly marks?: readonly [{
|
|
425
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
426
|
+
} | {
|
|
427
|
+
readonly attrs: {
|
|
428
|
+
readonly href: string;
|
|
429
|
+
};
|
|
430
|
+
readonly type: "link";
|
|
431
|
+
} | {
|
|
432
|
+
readonly attrs: {
|
|
433
|
+
readonly variant: "success" | "warning" | null;
|
|
434
|
+
};
|
|
435
|
+
readonly type: "highlight";
|
|
436
|
+
}, ...({
|
|
437
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
438
|
+
} | {
|
|
439
|
+
readonly attrs: {
|
|
440
|
+
readonly href: string;
|
|
441
|
+
};
|
|
442
|
+
readonly type: "link";
|
|
443
|
+
} | {
|
|
444
|
+
readonly attrs: {
|
|
445
|
+
readonly variant: "success" | "warning" | null;
|
|
446
|
+
};
|
|
447
|
+
readonly type: "highlight";
|
|
448
|
+
})[]];
|
|
449
|
+
readonly text: string;
|
|
450
|
+
readonly type: "text";
|
|
451
|
+
}, ...({
|
|
452
|
+
readonly attrs: {
|
|
453
|
+
readonly latex: string;
|
|
454
|
+
};
|
|
455
|
+
readonly type: "mathInline";
|
|
456
|
+
} | {
|
|
457
|
+
readonly marks?: readonly [{
|
|
458
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
459
|
+
} | {
|
|
460
|
+
readonly attrs: {
|
|
461
|
+
readonly href: string;
|
|
462
|
+
};
|
|
463
|
+
readonly type: "link";
|
|
464
|
+
} | {
|
|
465
|
+
readonly attrs: {
|
|
466
|
+
readonly variant: "success" | "warning" | null;
|
|
467
|
+
};
|
|
468
|
+
readonly type: "highlight";
|
|
469
|
+
}, ...({
|
|
470
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
471
|
+
} | {
|
|
472
|
+
readonly attrs: {
|
|
473
|
+
readonly href: string;
|
|
474
|
+
};
|
|
475
|
+
readonly type: "link";
|
|
476
|
+
} | {
|
|
477
|
+
readonly attrs: {
|
|
478
|
+
readonly variant: "success" | "warning" | null;
|
|
479
|
+
};
|
|
480
|
+
readonly type: "highlight";
|
|
481
|
+
})[]];
|
|
482
|
+
readonly text: string;
|
|
483
|
+
readonly type: "text";
|
|
484
|
+
})[]], E, never, never>>;
|
|
83
485
|
readonly title: RichSlot<E>;
|
|
84
486
|
readonly bulletMass: Schema.Finite;
|
|
85
487
|
readonly labels: Schema.Struct<{
|
|
@@ -95,6 +497,73 @@ export declare function dynamicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
95
497
|
}>, "figure">;
|
|
96
498
|
SpringChainLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
97
499
|
readonly description: RichSlot<E>;
|
|
500
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
501
|
+
readonly attrs: {
|
|
502
|
+
readonly latex: string;
|
|
503
|
+
};
|
|
504
|
+
readonly type: "mathInline";
|
|
505
|
+
} | {
|
|
506
|
+
readonly marks?: readonly [{
|
|
507
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
508
|
+
} | {
|
|
509
|
+
readonly attrs: {
|
|
510
|
+
readonly href: string;
|
|
511
|
+
};
|
|
512
|
+
readonly type: "link";
|
|
513
|
+
} | {
|
|
514
|
+
readonly attrs: {
|
|
515
|
+
readonly variant: "success" | "warning" | null;
|
|
516
|
+
};
|
|
517
|
+
readonly type: "highlight";
|
|
518
|
+
}, ...({
|
|
519
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
520
|
+
} | {
|
|
521
|
+
readonly attrs: {
|
|
522
|
+
readonly href: string;
|
|
523
|
+
};
|
|
524
|
+
readonly type: "link";
|
|
525
|
+
} | {
|
|
526
|
+
readonly attrs: {
|
|
527
|
+
readonly variant: "success" | "warning" | null;
|
|
528
|
+
};
|
|
529
|
+
readonly type: "highlight";
|
|
530
|
+
})[]];
|
|
531
|
+
readonly text: string;
|
|
532
|
+
readonly type: "text";
|
|
533
|
+
}, ...({
|
|
534
|
+
readonly attrs: {
|
|
535
|
+
readonly latex: string;
|
|
536
|
+
};
|
|
537
|
+
readonly type: "mathInline";
|
|
538
|
+
} | {
|
|
539
|
+
readonly marks?: readonly [{
|
|
540
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
541
|
+
} | {
|
|
542
|
+
readonly attrs: {
|
|
543
|
+
readonly href: string;
|
|
544
|
+
};
|
|
545
|
+
readonly type: "link";
|
|
546
|
+
} | {
|
|
547
|
+
readonly attrs: {
|
|
548
|
+
readonly variant: "success" | "warning" | null;
|
|
549
|
+
};
|
|
550
|
+
readonly type: "highlight";
|
|
551
|
+
}, ...({
|
|
552
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
553
|
+
} | {
|
|
554
|
+
readonly attrs: {
|
|
555
|
+
readonly href: string;
|
|
556
|
+
};
|
|
557
|
+
readonly type: "link";
|
|
558
|
+
} | {
|
|
559
|
+
readonly attrs: {
|
|
560
|
+
readonly variant: "success" | "warning" | null;
|
|
561
|
+
};
|
|
562
|
+
readonly type: "highlight";
|
|
563
|
+
})[]];
|
|
564
|
+
readonly text: string;
|
|
565
|
+
readonly type: "text";
|
|
566
|
+
})[]], E, never, never>>;
|
|
98
567
|
readonly title: RichSlot<E>;
|
|
99
568
|
readonly labels: Schema.Struct<{
|
|
100
569
|
readonly load: RichSlot<E>;
|