@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 gravityVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
OrbitRadiusLab: 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 knownHeight: Schema.Finite;
|
|
12
79
|
readonly knownPeriod: Schema.Finite;
|
|
@@ -22,6 +89,73 @@ export declare function gravityVisuals<E>(rich: RichSlot<E>): {
|
|
|
22
89
|
}>, "figure">;
|
|
23
90
|
PlanetCompareLab: 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 labels: Schema.Struct<{
|
|
27
161
|
readonly earthName: Schema.Trimmed;
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function heatVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
HeatingCurveLab: 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 finalTemperature: Schema.Finite;
|
|
12
79
|
readonly labels: Schema.Struct<{
|
|
@@ -22,6 +89,73 @@ export declare function heatVisuals<E>(rich: RichSlot<E>): {
|
|
|
22
89
|
}>, "figure">;
|
|
23
90
|
GasPistonLab: 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 finalTemperature: Schema.Finite;
|
|
27
161
|
readonly labels: Schema.Struct<{
|
|
@@ -38,6 +172,73 @@ export declare function heatVisuals<E>(rich: RichSlot<E>): {
|
|
|
38
172
|
}>, "figure">;
|
|
39
173
|
IceMeltingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
40
174
|
readonly description: RichSlot<E>;
|
|
175
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
176
|
+
readonly attrs: {
|
|
177
|
+
readonly latex: string;
|
|
178
|
+
};
|
|
179
|
+
readonly type: "mathInline";
|
|
180
|
+
} | {
|
|
181
|
+
readonly marks?: readonly [{
|
|
182
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
183
|
+
} | {
|
|
184
|
+
readonly attrs: {
|
|
185
|
+
readonly href: string;
|
|
186
|
+
};
|
|
187
|
+
readonly type: "link";
|
|
188
|
+
} | {
|
|
189
|
+
readonly attrs: {
|
|
190
|
+
readonly variant: "success" | "warning" | null;
|
|
191
|
+
};
|
|
192
|
+
readonly type: "highlight";
|
|
193
|
+
}, ...({
|
|
194
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
195
|
+
} | {
|
|
196
|
+
readonly attrs: {
|
|
197
|
+
readonly href: string;
|
|
198
|
+
};
|
|
199
|
+
readonly type: "link";
|
|
200
|
+
} | {
|
|
201
|
+
readonly attrs: {
|
|
202
|
+
readonly variant: "success" | "warning" | null;
|
|
203
|
+
};
|
|
204
|
+
readonly type: "highlight";
|
|
205
|
+
})[]];
|
|
206
|
+
readonly text: string;
|
|
207
|
+
readonly type: "text";
|
|
208
|
+
}, ...({
|
|
209
|
+
readonly attrs: {
|
|
210
|
+
readonly latex: string;
|
|
211
|
+
};
|
|
212
|
+
readonly type: "mathInline";
|
|
213
|
+
} | {
|
|
214
|
+
readonly marks?: readonly [{
|
|
215
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
216
|
+
} | {
|
|
217
|
+
readonly attrs: {
|
|
218
|
+
readonly href: string;
|
|
219
|
+
};
|
|
220
|
+
readonly type: "link";
|
|
221
|
+
} | {
|
|
222
|
+
readonly attrs: {
|
|
223
|
+
readonly variant: "success" | "warning" | null;
|
|
224
|
+
};
|
|
225
|
+
readonly type: "highlight";
|
|
226
|
+
}, ...({
|
|
227
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
228
|
+
} | {
|
|
229
|
+
readonly attrs: {
|
|
230
|
+
readonly href: string;
|
|
231
|
+
};
|
|
232
|
+
readonly type: "link";
|
|
233
|
+
} | {
|
|
234
|
+
readonly attrs: {
|
|
235
|
+
readonly variant: "success" | "warning" | null;
|
|
236
|
+
};
|
|
237
|
+
readonly type: "highlight";
|
|
238
|
+
})[]];
|
|
239
|
+
readonly text: string;
|
|
240
|
+
readonly type: "text";
|
|
241
|
+
})[]], E, never, never>>;
|
|
41
242
|
readonly title: RichSlot<E>;
|
|
42
243
|
readonly iceMass: Schema.Finite;
|
|
43
244
|
readonly labels: Schema.Struct<{
|