@nakafa/aksara-contracts 8.9.1 → 8.12.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/choice.d.ts +26 -0
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/hash.d.ts +711 -111
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +26 -0
- package/dist/assessment/item.d.ts +414 -36
- package/dist/assessment/paper.d.ts +731 -131
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/rows.d.ts +336 -36
- package/dist/assessment/snapshot.d.ts +773 -121
- package/dist/release/snapshot/data.d.ts +26 -0
- package/dist/release/snapshot/verify.d.ts +336 -36
- package/dist/transport/group.d.ts +78 -0
- package/dist/transport/request.d.ts +2195 -343
- package/dist/transport/snapshot.d.ts +52 -0
- 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/binomial.d.ts +139 -0
- package/dist/visual/biology/binomial.js +46 -0
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/bone.d.ts +141 -0
- package/dist/visual/biology/bone.js +46 -0
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/chromosome.d.ts +139 -0
- package/dist/visual/biology/chromosome.js +42 -0
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/control.d.ts +17 -0
- package/dist/visual/biology/control.js +21 -0
- package/dist/visual/biology/denature.d.ts +159 -0
- package/dist/visual/biology/denature.js +74 -0
- package/dist/visual/biology/drawing.d.ts +151 -0
- package/dist/visual/biology/drawing.js +69 -0
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/enzyme.d.ts +145 -0
- package/dist/visual/biology/enzyme.js +54 -0
- package/dist/visual/biology/equipment.d.ts +140 -0
- package/dist/visual/biology/equipment.js +64 -0
- package/dist/visual/biology/gametogenesis.d.ts +145 -0
- package/dist/visual/biology/gametogenesis.js +83 -0
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/implantation.d.ts +138 -0
- package/dist/visual/biology/implantation.js +44 -0
- package/dist/visual/biology/joint.d.ts +140 -0
- package/dist/visual/biology/joint.js +47 -0
- package/dist/visual/biology/key.d.ts +141 -0
- package/dist/visual/biology/key.js +58 -0
- package/dist/visual/biology/kingdom.d.ts +142 -0
- package/dist/visual/biology/kingdom.js +82 -0
- package/dist/visual/biology/lactase.d.ts +147 -0
- package/dist/visual/biology/lactase.js +48 -0
- package/dist/visual/biology/limb.d.ts +139 -0
- package/dist/visual/biology/limb.js +44 -0
- package/dist/visual/biology/lipid.d.ts +144 -0
- package/dist/visual/biology/lipid.js +43 -0
- package/dist/visual/biology/locomotion.d.ts +141 -0
- package/dist/visual/biology/locomotion.js +48 -0
- package/dist/visual/biology/menstrual.d.ts +148 -0
- package/dist/visual/biology/menstrual.js +65 -0
- package/dist/visual/biology/metamorphosis.d.ts +140 -0
- package/dist/visual/biology/metamorphosis.js +34 -0
- 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/placenta.d.ts +139 -0
- package/dist/visual/biology/placenta.js +52 -0
- package/dist/visual/biology/planes.d.ts +145 -0
- package/dist/visual/biology/planes.js +62 -0
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/protein.d.ts +142 -0
- package/dist/visual/biology/protein.js +41 -0
- package/dist/visual/biology/saturation.d.ts +149 -0
- package/dist/visual/biology/saturation.js +40 -0
- package/dist/visual/biology/secretion.d.ts +149 -0
- package/dist/visual/biology/secretion.js +79 -0
- package/dist/visual/biology/spill.d.ts +165 -0
- package/dist/visual/biology/spill.js +58 -0
- package/dist/visual/biology/sugar.d.ts +152 -0
- package/dist/visual/biology/sugar.js +59 -0
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/taxon.d.ts +138 -0
- package/dist/visual/biology/taxon.js +50 -0
- package/dist/visual/biology/twins.d.ts +144 -0
- package/dist/visual/biology/twins.js +60 -0
- package/dist/visual/biology/vernacular.d.ts +141 -0
- package/dist/visual/biology/vernacular.js +57 -0
- package/dist/visual/biology/vertebra.d.ts +141 -0
- package/dist/visual/biology/vertebra.js +59 -0
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/waste.d.ts +140 -0
- package/dist/visual/biology/waste.js +57 -0
- package/dist/visual/biology/water.d.ts +152 -0
- package/dist/visual/biology/water.js +54 -0
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +67 -6
- package/dist/visual/card.js +17 -1
- package/dist/visual/catalog.d.ts +21584 -5487
- package/dist/visual/catalog.js +66 -0
- 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/argument.d.ts +226 -0
- package/dist/visual/mathematics/argument.js +150 -0
- 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/counterexample.d.ts +340 -0
- package/dist/visual/mathematics/counterexample.js +157 -0
- 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 +1 -1
|
@@ -10,11 +10,64 @@ import type { RichSlot } from "#contracts/visual/card";
|
|
|
10
10
|
export declare function chartProps<E>(rich: RichSlot<E>): import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
11
11
|
readonly description: RichSlot<E>;
|
|
12
12
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
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
|
+
} | {
|
|
13
41
|
readonly attrs: {
|
|
14
42
|
readonly latex: string;
|
|
15
43
|
};
|
|
44
|
+
readonly marks?: readonly [{
|
|
45
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
46
|
+
} | {
|
|
47
|
+
readonly attrs: {
|
|
48
|
+
readonly href: string;
|
|
49
|
+
};
|
|
50
|
+
readonly type: "link";
|
|
51
|
+
} | {
|
|
52
|
+
readonly attrs: {
|
|
53
|
+
readonly variant: "success" | "warning" | null;
|
|
54
|
+
};
|
|
55
|
+
readonly type: "highlight";
|
|
56
|
+
}, ...({
|
|
57
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
58
|
+
} | {
|
|
59
|
+
readonly attrs: {
|
|
60
|
+
readonly href: string;
|
|
61
|
+
};
|
|
62
|
+
readonly type: "link";
|
|
63
|
+
} | {
|
|
64
|
+
readonly attrs: {
|
|
65
|
+
readonly variant: "success" | "warning" | null;
|
|
66
|
+
};
|
|
67
|
+
readonly type: "highlight";
|
|
68
|
+
})[]];
|
|
16
69
|
readonly type: "mathInline";
|
|
17
|
-
}
|
|
70
|
+
}, ...({
|
|
18
71
|
readonly marks?: readonly [{
|
|
19
72
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
20
73
|
} | {
|
|
@@ -42,12 +95,10 @@ export declare function chartProps<E>(rich: RichSlot<E>): import("#contracts/vis
|
|
|
42
95
|
})[]];
|
|
43
96
|
readonly text: string;
|
|
44
97
|
readonly type: "text";
|
|
45
|
-
}
|
|
98
|
+
} | {
|
|
46
99
|
readonly attrs: {
|
|
47
100
|
readonly latex: string;
|
|
48
101
|
};
|
|
49
|
-
readonly type: "mathInline";
|
|
50
|
-
} | {
|
|
51
102
|
readonly marks?: readonly [{
|
|
52
103
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
53
104
|
} | {
|
|
@@ -73,8 +124,7 @@ export declare function chartProps<E>(rich: RichSlot<E>): import("#contracts/vis
|
|
|
73
124
|
};
|
|
74
125
|
readonly type: "highlight";
|
|
75
126
|
})[]];
|
|
76
|
-
readonly
|
|
77
|
-
readonly type: "text";
|
|
127
|
+
readonly type: "mathInline";
|
|
78
128
|
})[]], E, never, never>>;
|
|
79
129
|
readonly title: RichSlot<E>;
|
|
80
130
|
/**
|
|
@@ -9,11 +9,64 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
9
9
|
BarChart: 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 chartVisuals<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 chartVisuals<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 chartConfig: Schema.$Record<Schema.Trimmed, Schema.Struct<{
|
|
@@ -108,11 +158,64 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
108
158
|
Chart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
109
159
|
readonly description: RichSlot<E>;
|
|
110
160
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
161
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
175
|
+
} | {
|
|
176
|
+
readonly attrs: {
|
|
177
|
+
readonly href: string;
|
|
178
|
+
};
|
|
179
|
+
readonly type: "link";
|
|
180
|
+
} | {
|
|
181
|
+
readonly attrs: {
|
|
182
|
+
readonly variant: "success" | "warning" | null;
|
|
183
|
+
};
|
|
184
|
+
readonly type: "highlight";
|
|
185
|
+
})[]];
|
|
186
|
+
readonly text: string;
|
|
187
|
+
readonly type: "text";
|
|
188
|
+
} | {
|
|
111
189
|
readonly attrs: {
|
|
112
190
|
readonly latex: string;
|
|
113
191
|
};
|
|
192
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
206
|
+
} | {
|
|
207
|
+
readonly attrs: {
|
|
208
|
+
readonly href: string;
|
|
209
|
+
};
|
|
210
|
+
readonly type: "link";
|
|
211
|
+
} | {
|
|
212
|
+
readonly attrs: {
|
|
213
|
+
readonly variant: "success" | "warning" | null;
|
|
214
|
+
};
|
|
215
|
+
readonly type: "highlight";
|
|
216
|
+
})[]];
|
|
114
217
|
readonly type: "mathInline";
|
|
115
|
-
}
|
|
218
|
+
}, ...({
|
|
116
219
|
readonly marks?: readonly [{
|
|
117
220
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
118
221
|
} | {
|
|
@@ -140,12 +243,10 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
140
243
|
})[]];
|
|
141
244
|
readonly text: string;
|
|
142
245
|
readonly type: "text";
|
|
143
|
-
}
|
|
246
|
+
} | {
|
|
144
247
|
readonly attrs: {
|
|
145
248
|
readonly latex: string;
|
|
146
249
|
};
|
|
147
|
-
readonly type: "mathInline";
|
|
148
|
-
} | {
|
|
149
250
|
readonly marks?: readonly [{
|
|
150
251
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
151
252
|
} | {
|
|
@@ -171,8 +272,7 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
171
272
|
};
|
|
172
273
|
readonly type: "highlight";
|
|
173
274
|
})[]];
|
|
174
|
-
readonly
|
|
175
|
-
readonly type: "text";
|
|
275
|
+
readonly type: "mathInline";
|
|
176
276
|
})[]], E, never, never>>;
|
|
177
277
|
readonly title: RichSlot<E>;
|
|
178
278
|
readonly bars: Schema.optionalKey<Schema.Literals<readonly ["apart", "touching"]>>;
|
|
@@ -191,11 +291,64 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
191
291
|
FunctionChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
192
292
|
readonly description: RichSlot<E>;
|
|
193
293
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
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
|
+
} | {
|
|
194
322
|
readonly attrs: {
|
|
195
323
|
readonly latex: string;
|
|
196
324
|
};
|
|
325
|
+
readonly marks?: readonly [{
|
|
326
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
327
|
+
} | {
|
|
328
|
+
readonly attrs: {
|
|
329
|
+
readonly href: string;
|
|
330
|
+
};
|
|
331
|
+
readonly type: "link";
|
|
332
|
+
} | {
|
|
333
|
+
readonly attrs: {
|
|
334
|
+
readonly variant: "success" | "warning" | null;
|
|
335
|
+
};
|
|
336
|
+
readonly type: "highlight";
|
|
337
|
+
}, ...({
|
|
338
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
339
|
+
} | {
|
|
340
|
+
readonly attrs: {
|
|
341
|
+
readonly href: string;
|
|
342
|
+
};
|
|
343
|
+
readonly type: "link";
|
|
344
|
+
} | {
|
|
345
|
+
readonly attrs: {
|
|
346
|
+
readonly variant: "success" | "warning" | null;
|
|
347
|
+
};
|
|
348
|
+
readonly type: "highlight";
|
|
349
|
+
})[]];
|
|
197
350
|
readonly type: "mathInline";
|
|
198
|
-
}
|
|
351
|
+
}, ...({
|
|
199
352
|
readonly marks?: readonly [{
|
|
200
353
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
201
354
|
} | {
|
|
@@ -223,12 +376,10 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
223
376
|
})[]];
|
|
224
377
|
readonly text: string;
|
|
225
378
|
readonly type: "text";
|
|
226
|
-
}
|
|
379
|
+
} | {
|
|
227
380
|
readonly attrs: {
|
|
228
381
|
readonly latex: string;
|
|
229
382
|
};
|
|
230
|
-
readonly type: "mathInline";
|
|
231
|
-
} | {
|
|
232
383
|
readonly marks?: readonly [{
|
|
233
384
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
234
385
|
} | {
|
|
@@ -254,8 +405,7 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
254
405
|
};
|
|
255
406
|
readonly type: "highlight";
|
|
256
407
|
})[]];
|
|
257
|
-
readonly
|
|
258
|
-
readonly type: "text";
|
|
408
|
+
readonly type: "mathInline";
|
|
259
409
|
})[]], E, never, never>>;
|
|
260
410
|
readonly title: RichSlot<E>;
|
|
261
411
|
readonly a: Schema.Finite;
|
|
@@ -266,11 +416,64 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
266
416
|
HistogramChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
267
417
|
readonly description: RichSlot<E>;
|
|
268
418
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
419
|
+
readonly marks?: readonly [{
|
|
420
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
421
|
+
} | {
|
|
422
|
+
readonly attrs: {
|
|
423
|
+
readonly href: string;
|
|
424
|
+
};
|
|
425
|
+
readonly type: "link";
|
|
426
|
+
} | {
|
|
427
|
+
readonly attrs: {
|
|
428
|
+
readonly variant: "success" | "warning" | null;
|
|
429
|
+
};
|
|
430
|
+
readonly type: "highlight";
|
|
431
|
+
}, ...({
|
|
432
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
433
|
+
} | {
|
|
434
|
+
readonly attrs: {
|
|
435
|
+
readonly href: string;
|
|
436
|
+
};
|
|
437
|
+
readonly type: "link";
|
|
438
|
+
} | {
|
|
439
|
+
readonly attrs: {
|
|
440
|
+
readonly variant: "success" | "warning" | null;
|
|
441
|
+
};
|
|
442
|
+
readonly type: "highlight";
|
|
443
|
+
})[]];
|
|
444
|
+
readonly text: string;
|
|
445
|
+
readonly type: "text";
|
|
446
|
+
} | {
|
|
269
447
|
readonly attrs: {
|
|
270
448
|
readonly latex: string;
|
|
271
449
|
};
|
|
450
|
+
readonly marks?: readonly [{
|
|
451
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
452
|
+
} | {
|
|
453
|
+
readonly attrs: {
|
|
454
|
+
readonly href: string;
|
|
455
|
+
};
|
|
456
|
+
readonly type: "link";
|
|
457
|
+
} | {
|
|
458
|
+
readonly attrs: {
|
|
459
|
+
readonly variant: "success" | "warning" | null;
|
|
460
|
+
};
|
|
461
|
+
readonly type: "highlight";
|
|
462
|
+
}, ...({
|
|
463
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
464
|
+
} | {
|
|
465
|
+
readonly attrs: {
|
|
466
|
+
readonly href: string;
|
|
467
|
+
};
|
|
468
|
+
readonly type: "link";
|
|
469
|
+
} | {
|
|
470
|
+
readonly attrs: {
|
|
471
|
+
readonly variant: "success" | "warning" | null;
|
|
472
|
+
};
|
|
473
|
+
readonly type: "highlight";
|
|
474
|
+
})[]];
|
|
272
475
|
readonly type: "mathInline";
|
|
273
|
-
}
|
|
476
|
+
}, ...({
|
|
274
477
|
readonly marks?: readonly [{
|
|
275
478
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
276
479
|
} | {
|
|
@@ -298,12 +501,10 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
298
501
|
})[]];
|
|
299
502
|
readonly text: string;
|
|
300
503
|
readonly type: "text";
|
|
301
|
-
}
|
|
504
|
+
} | {
|
|
302
505
|
readonly attrs: {
|
|
303
506
|
readonly latex: string;
|
|
304
507
|
};
|
|
305
|
-
readonly type: "mathInline";
|
|
306
|
-
} | {
|
|
307
508
|
readonly marks?: readonly [{
|
|
308
509
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
309
510
|
} | {
|
|
@@ -329,8 +530,7 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
329
530
|
};
|
|
330
531
|
readonly type: "highlight";
|
|
331
532
|
})[]];
|
|
332
|
-
readonly
|
|
333
|
-
readonly type: "text";
|
|
533
|
+
readonly type: "mathInline";
|
|
334
534
|
})[]], E, never, never>>;
|
|
335
535
|
readonly title: RichSlot<E>;
|
|
336
536
|
readonly chartConfig: Schema.$Record<Schema.Trimmed, Schema.Struct<{
|
|
@@ -365,11 +565,64 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
365
565
|
ScatterDiagram: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
366
566
|
readonly description: RichSlot<E>;
|
|
367
567
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
568
|
+
readonly marks?: readonly [{
|
|
569
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
570
|
+
} | {
|
|
571
|
+
readonly attrs: {
|
|
572
|
+
readonly href: string;
|
|
573
|
+
};
|
|
574
|
+
readonly type: "link";
|
|
575
|
+
} | {
|
|
576
|
+
readonly attrs: {
|
|
577
|
+
readonly variant: "success" | "warning" | null;
|
|
578
|
+
};
|
|
579
|
+
readonly type: "highlight";
|
|
580
|
+
}, ...({
|
|
581
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
582
|
+
} | {
|
|
583
|
+
readonly attrs: {
|
|
584
|
+
readonly href: string;
|
|
585
|
+
};
|
|
586
|
+
readonly type: "link";
|
|
587
|
+
} | {
|
|
588
|
+
readonly attrs: {
|
|
589
|
+
readonly variant: "success" | "warning" | null;
|
|
590
|
+
};
|
|
591
|
+
readonly type: "highlight";
|
|
592
|
+
})[]];
|
|
593
|
+
readonly text: string;
|
|
594
|
+
readonly type: "text";
|
|
595
|
+
} | {
|
|
368
596
|
readonly attrs: {
|
|
369
597
|
readonly latex: string;
|
|
370
598
|
};
|
|
599
|
+
readonly marks?: readonly [{
|
|
600
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
601
|
+
} | {
|
|
602
|
+
readonly attrs: {
|
|
603
|
+
readonly href: string;
|
|
604
|
+
};
|
|
605
|
+
readonly type: "link";
|
|
606
|
+
} | {
|
|
607
|
+
readonly attrs: {
|
|
608
|
+
readonly variant: "success" | "warning" | null;
|
|
609
|
+
};
|
|
610
|
+
readonly type: "highlight";
|
|
611
|
+
}, ...({
|
|
612
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
613
|
+
} | {
|
|
614
|
+
readonly attrs: {
|
|
615
|
+
readonly href: string;
|
|
616
|
+
};
|
|
617
|
+
readonly type: "link";
|
|
618
|
+
} | {
|
|
619
|
+
readonly attrs: {
|
|
620
|
+
readonly variant: "success" | "warning" | null;
|
|
621
|
+
};
|
|
622
|
+
readonly type: "highlight";
|
|
623
|
+
})[]];
|
|
371
624
|
readonly type: "mathInline";
|
|
372
|
-
}
|
|
625
|
+
}, ...({
|
|
373
626
|
readonly marks?: readonly [{
|
|
374
627
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
375
628
|
} | {
|
|
@@ -397,12 +650,10 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
397
650
|
})[]];
|
|
398
651
|
readonly text: string;
|
|
399
652
|
readonly type: "text";
|
|
400
|
-
}
|
|
653
|
+
} | {
|
|
401
654
|
readonly attrs: {
|
|
402
655
|
readonly latex: string;
|
|
403
656
|
};
|
|
404
|
-
readonly type: "mathInline";
|
|
405
|
-
} | {
|
|
406
657
|
readonly marks?: readonly [{
|
|
407
658
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
408
659
|
} | {
|
|
@@ -428,8 +679,7 @@ export declare function chartVisuals<E>(rich: RichSlot<E>): {
|
|
|
428
679
|
};
|
|
429
680
|
readonly type: "highlight";
|
|
430
681
|
})[]];
|
|
431
|
-
readonly
|
|
432
|
-
readonly type: "text";
|
|
682
|
+
readonly type: "mathInline";
|
|
433
683
|
})[]], E, never, never>>;
|
|
434
684
|
readonly title: RichSlot<E>;
|
|
435
685
|
readonly calculateRegressionLine: Schema.optionalKey<Schema.Boolean>;
|