@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.
Files changed (79) hide show
  1. package/dist/math/boundary.d.ts +9 -0
  2. package/dist/math/boundary.js +81 -0
  3. package/dist/math/curve.d.ts +1 -0
  4. package/dist/math/curve.js +4 -2
  5. package/dist/math/formula/affine.d.ts +22 -0
  6. package/dist/math/formula/affine.js +79 -0
  7. package/dist/math/formula/contour.js +27 -12
  8. package/dist/math/object.d.ts +12 -0
  9. package/dist/math/object.js +11 -0
  10. package/dist/math/plane.d.ts +10 -0
  11. package/dist/math/plane.js +7 -1
  12. package/dist/math/space.d.ts +8 -0
  13. package/dist/math/space.js +5 -1
  14. package/dist/math/visual.d.ts +239 -212
  15. package/dist/visual/base/math.d.ts +78 -0
  16. package/dist/visual/base/math.js +31 -3
  17. package/dist/visual/base/media.d.ts +67 -0
  18. package/dist/visual/biology/bacteria.d.ts +268 -0
  19. package/dist/visual/biology/cell.d.ts +201 -0
  20. package/dist/visual/biology/climate.d.ts +201 -0
  21. package/dist/visual/biology/ecology.d.ts +268 -0
  22. package/dist/visual/biology/physiology.d.ts +201 -0
  23. package/dist/visual/biology/plant.d.ts +335 -0
  24. package/dist/visual/card.d.ts +79 -1
  25. package/dist/visual/card.js +18 -2
  26. package/dist/visual/catalog.d.ts +14164 -2
  27. package/dist/visual/catalog.js +4 -0
  28. package/dist/visual/chemistry/atom.d.ts +201 -0
  29. package/dist/visual/chemistry/balance.d.ts +335 -0
  30. package/dist/visual/chemistry/bonding.d.ts +335 -0
  31. package/dist/visual/chemistry/discovery.d.ts +469 -0
  32. package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
  33. package/dist/visual/chemistry/electron.d.ts +134 -0
  34. package/dist/visual/chemistry/laws.d.ts +268 -0
  35. package/dist/visual/chemistry/particles.d.ts +335 -0
  36. package/dist/visual/chemistry/periodic.d.ts +134 -0
  37. package/dist/visual/chemistry/rate.d.ts +67 -0
  38. package/dist/visual/chemistry/reaction.d.ts +201 -0
  39. package/dist/visual/chemistry/titration.d.ts +67 -0
  40. package/dist/visual/length.d.ts +79 -0
  41. package/dist/visual/length.js +37 -0
  42. package/dist/visual/mathematics/chance.d.ts +258 -0
  43. package/dist/visual/mathematics/chance.js +117 -0
  44. package/dist/visual/mathematics/chart.d.ts +67 -0
  45. package/dist/visual/mathematics/charts.d.ts +335 -0
  46. package/dist/visual/mathematics/function.d.ts +201 -0
  47. package/dist/visual/mathematics/numeral.d.ts +170 -0
  48. package/dist/visual/mathematics/numeral.js +85 -0
  49. package/dist/visual/physics/braking.d.ts +268 -0
  50. package/dist/visual/physics/circuit.d.ts +268 -0
  51. package/dist/visual/physics/circular.d.ts +134 -0
  52. package/dist/visual/physics/dynamics.d.ts +469 -0
  53. package/dist/visual/physics/efficiency.d.ts +402 -0
  54. package/dist/visual/physics/electronics.d.ts +201 -0
  55. package/dist/visual/physics/falling.d.ts +268 -0
  56. package/dist/visual/physics/field.d.ts +201 -0
  57. package/dist/visual/physics/fluid.d.ts +268 -0
  58. package/dist/visual/physics/force.d.ts +335 -0
  59. package/dist/visual/physics/gravity.d.ts +134 -0
  60. package/dist/visual/physics/heat.d.ts +201 -0
  61. package/dist/visual/physics/instrument.d.ts +469 -0
  62. package/dist/visual/physics/light.d.ts +268 -0
  63. package/dist/visual/physics/measurement.d.ts +268 -0
  64. package/dist/visual/physics/motion.d.ts +402 -0
  65. package/dist/visual/physics/nuclear.d.ts +201 -0
  66. package/dist/visual/physics/parabolic.d.ts +67 -0
  67. package/dist/visual/physics/position.d.ts +402 -0
  68. package/dist/visual/physics/power.d.ts +536 -0
  69. package/dist/visual/physics/precision.d.ts +469 -0
  70. package/dist/visual/physics/product.d.ts +268 -0
  71. package/dist/visual/physics/reading.d.ts +201 -0
  72. package/dist/visual/physics/record.d.ts +134 -0
  73. package/dist/visual/physics/relative.d.ts +201 -0
  74. package/dist/visual/physics/solar.d.ts +402 -0
  75. package/dist/visual/physics/vector.d.ts +335 -0
  76. package/dist/visual/physics/velocity.d.ts +469 -0
  77. package/dist/visual/physics/wave.d.ts +268 -0
  78. package/dist/visual/politics.d.ts +402 -0
  79. package/package.json +1 -1
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function waveVisuals<E>(rich: RichSlot<E>): {
8
8
  EchoLab: 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 boatSpeed: Schema.Finite;
12
79
  readonly echoTime: Schema.Finite;
@@ -21,6 +88,73 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
21
88
  }>, "figure">;
22
89
  DoubleSlitLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
23
90
  readonly description: RichSlot<E>;
91
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
92
+ readonly attrs: {
93
+ readonly latex: string;
94
+ };
95
+ readonly type: "mathInline";
96
+ } | {
97
+ readonly marks?: readonly [{
98
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
99
+ } | {
100
+ readonly attrs: {
101
+ readonly href: string;
102
+ };
103
+ readonly type: "link";
104
+ } | {
105
+ readonly attrs: {
106
+ readonly variant: "success" | "warning" | null;
107
+ };
108
+ readonly type: "highlight";
109
+ }, ...({
110
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
111
+ } | {
112
+ readonly attrs: {
113
+ readonly href: string;
114
+ };
115
+ readonly type: "link";
116
+ } | {
117
+ readonly attrs: {
118
+ readonly variant: "success" | "warning" | null;
119
+ };
120
+ readonly type: "highlight";
121
+ })[]];
122
+ readonly text: string;
123
+ readonly type: "text";
124
+ }, ...({
125
+ readonly attrs: {
126
+ readonly latex: string;
127
+ };
128
+ readonly type: "mathInline";
129
+ } | {
130
+ readonly marks?: readonly [{
131
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
132
+ } | {
133
+ readonly attrs: {
134
+ readonly href: string;
135
+ };
136
+ readonly type: "link";
137
+ } | {
138
+ readonly attrs: {
139
+ readonly variant: "success" | "warning" | null;
140
+ };
141
+ readonly type: "highlight";
142
+ }, ...({
143
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
144
+ } | {
145
+ readonly attrs: {
146
+ readonly href: string;
147
+ };
148
+ readonly type: "link";
149
+ } | {
150
+ readonly attrs: {
151
+ readonly variant: "success" | "warning" | null;
152
+ };
153
+ readonly type: "highlight";
154
+ })[]];
155
+ readonly text: string;
156
+ readonly type: "text";
157
+ })[]], E, never, never>>;
24
158
  readonly title: RichSlot<E>;
25
159
  readonly distance: Schema.Finite;
26
160
  readonly labels: Schema.Struct<{
@@ -38,6 +172,73 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
38
172
  }>, "figure">;
39
173
  SpeakerInterferenceLab: 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 distance: Schema.Finite;
43
244
  readonly frequency: Schema.Finite;
@@ -53,6 +254,73 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
53
254
  }>, "figure">;
54
255
  RippleTankLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
55
256
  readonly description: RichSlot<E>;
257
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
258
+ readonly attrs: {
259
+ readonly latex: string;
260
+ };
261
+ readonly type: "mathInline";
262
+ } | {
263
+ readonly marks?: readonly [{
264
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
265
+ } | {
266
+ readonly attrs: {
267
+ readonly href: string;
268
+ };
269
+ readonly type: "link";
270
+ } | {
271
+ readonly attrs: {
272
+ readonly variant: "success" | "warning" | null;
273
+ };
274
+ readonly type: "highlight";
275
+ }, ...({
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 text: string;
289
+ readonly type: "text";
290
+ }, ...({
291
+ readonly attrs: {
292
+ readonly latex: string;
293
+ };
294
+ readonly type: "mathInline";
295
+ } | {
296
+ readonly marks?: readonly [{
297
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
298
+ } | {
299
+ readonly attrs: {
300
+ readonly href: string;
301
+ };
302
+ readonly type: "link";
303
+ } | {
304
+ readonly attrs: {
305
+ readonly variant: "success" | "warning" | null;
306
+ };
307
+ readonly type: "highlight";
308
+ }, ...({
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 text: string;
322
+ readonly type: "text";
323
+ })[]], E, never, never>>;
56
324
  readonly title: RichSlot<E>;
57
325
  readonly deepSpeed: Schema.Finite;
58
326
  readonly incidence: Schema.Finite;