@nakafa/aksara-contracts 8.2.0 → 8.4.1

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 (214) hide show
  1. package/dist/assessment/document.d.ts +1 -1
  2. package/dist/assessment/document.js +1 -1
  3. package/dist/assessment/figure.d.ts +1 -1
  4. package/dist/assessment/figure.js +1 -1
  5. package/dist/assessment/fit.d.ts +3 -3
  6. package/dist/assessment/fit.js +3 -3
  7. package/dist/assessment/locales.d.ts +1 -1
  8. package/dist/assessment/scoring.d.ts +1 -1
  9. package/dist/assessment/scoring.js +1 -1
  10. package/dist/cache/content.d.ts +1 -1
  11. package/dist/cache/content.js +1 -1
  12. package/dist/content.d.ts +3 -2
  13. package/dist/graph/identity.d.ts +1 -1
  14. package/dist/graph/identity.js +1 -1
  15. package/dist/math/boundary.d.ts +9 -0
  16. package/dist/math/boundary.js +81 -0
  17. package/dist/math/bounds.d.ts +1 -1
  18. package/dist/math/collision.d.ts +1 -1
  19. package/dist/math/coordinate.d.ts +6 -5
  20. package/dist/math/coordinate.js +2 -2
  21. package/dist/math/curve.d.ts +1 -0
  22. package/dist/math/curve.js +4 -2
  23. package/dist/math/formula/affine.d.ts +22 -0
  24. package/dist/math/formula/affine.js +79 -0
  25. package/dist/math/formula/compile.d.ts +1 -1
  26. package/dist/math/formula/compile.js +1 -1
  27. package/dist/math/formula/contour.d.ts +1 -1
  28. package/dist/math/formula/contour.js +28 -13
  29. package/dist/math/formula/field.js +1 -1
  30. package/dist/math/formula/mesh.d.ts +1 -1
  31. package/dist/math/formula/mesh.js +1 -1
  32. package/dist/math/formula/names.d.ts +1 -1
  33. package/dist/math/formula/names.js +1 -1
  34. package/dist/math/formula/parse.d.ts +1 -1
  35. package/dist/math/formula/parse.js +1 -1
  36. package/dist/math/formula/plane.d.ts +2 -2
  37. package/dist/math/formula/plane.js +3 -3
  38. package/dist/math/formula/reader.d.ts +2 -1
  39. package/dist/math/formula/reader.js +1 -1
  40. package/dist/math/formula/region.d.ts +2 -2
  41. package/dist/math/formula/region.js +3 -3
  42. package/dist/math/formula/sample.d.ts +1 -1
  43. package/dist/math/formula/scan.d.ts +1 -1
  44. package/dist/math/formula/scan.js +1 -1
  45. package/dist/math/formula/slider.d.ts +2 -2
  46. package/dist/math/formula/slider.js +1 -1
  47. package/dist/math/formula/space.d.ts +1 -1
  48. package/dist/math/formula/space.js +1 -1
  49. package/dist/math/object.d.ts +12 -0
  50. package/dist/math/object.js +11 -0
  51. package/dist/math/plane.d.ts +10 -0
  52. package/dist/math/plane.js +7 -1
  53. package/dist/math/precision.d.ts +1 -1
  54. package/dist/math/precision.js +1 -1
  55. package/dist/math/resolution.js +1 -1
  56. package/dist/math/scene.d.ts +2 -2
  57. package/dist/math/space.d.ts +8 -0
  58. package/dist/math/space.js +5 -1
  59. package/dist/math/vector.d.ts +1 -1
  60. package/dist/math/visual.d.ts +239 -212
  61. package/dist/preview/spec.js +1 -1
  62. package/dist/program/curriculum.d.ts +1 -1
  63. package/dist/program/curriculum.js +1 -1
  64. package/dist/program/snapshot/digest.d.ts +1 -1
  65. package/dist/program/snapshot/digest.js +2 -2
  66. package/dist/program/snapshot/hash.d.ts +2 -2
  67. package/dist/projection/digest.d.ts +1 -1
  68. package/dist/projection/digest.js +1 -1
  69. package/dist/projection/hash.js +1 -1
  70. package/dist/projection/material.d.ts +1 -1
  71. package/dist/projection/material.js +1 -1
  72. package/dist/projection/verify.js +1 -1
  73. package/dist/quran/identity.d.ts +2 -1
  74. package/dist/quran/provenance.d.ts +2 -2
  75. package/dist/quran/provenance.js +1 -1
  76. package/dist/quran/snapshot/hash.d.ts +1 -1
  77. package/dist/quran/snapshot/row/hash.d.ts +1 -1
  78. package/dist/quran/snapshot/row/hash.js +1 -1
  79. package/dist/quran/snapshot/spec.js +1 -1
  80. package/dist/quran/source.d.ts +2 -2
  81. package/dist/release/current/evidence.d.ts +1 -1
  82. package/dist/release/current/evidence.js +1 -1
  83. package/dist/release/current/state.d.ts +1 -1
  84. package/dist/release/current/state.js +1 -1
  85. package/dist/release/head.js +1 -1
  86. package/dist/release/items.d.ts +1 -1
  87. package/dist/release/items.js +1 -1
  88. package/dist/release/policy.d.ts +1 -1
  89. package/dist/release/policy.js +1 -1
  90. package/dist/release/result/digest.d.ts +3 -3
  91. package/dist/release/result/digest.js +2 -2
  92. package/dist/release/rollback/digest.d.ts +1 -1
  93. package/dist/release/rollback/digest.js +1 -1
  94. package/dist/release/route/digest.d.ts +1 -1
  95. package/dist/release/route/digest.js +1 -1
  96. package/dist/release/snapshot/evidence/assessment.d.ts +1 -1
  97. package/dist/release/snapshot/evidence/assessment.js +1 -1
  98. package/dist/release/snapshot/evidence/program.d.ts +1 -1
  99. package/dist/release/snapshot/evidence/program.js +1 -1
  100. package/dist/release/snapshot/evidence/quran.d.ts +1 -1
  101. package/dist/release/snapshot/evidence/quran.js +1 -1
  102. package/dist/release/snapshot/evidence/requirement.d.ts +3 -2
  103. package/dist/release/snapshot/evidence/requirement.js +1 -1
  104. package/dist/release/snapshot/spec.d.ts +2 -2
  105. package/dist/release/snapshot/spec.js +1 -1
  106. package/dist/release/snapshot/verify.d.ts +1 -1
  107. package/dist/release/snapshot/verify.js +1 -1
  108. package/dist/release/spec.d.ts +1 -1
  109. package/dist/release/verify.d.ts +1 -1
  110. package/dist/release/verify.js +1 -1
  111. package/dist/renderer/compatibility.d.ts +1 -1
  112. package/dist/renderer/compatibility.js +2 -2
  113. package/dist/renderer/contract.d.ts +1 -1
  114. package/dist/renderer/contract.js +1 -1
  115. package/dist/runtime/spec.js +2 -2
  116. package/dist/signature/spec.d.ts +3 -2
  117. package/dist/signature/verify.d.ts +2 -1
  118. package/dist/transport/request.d.ts +1 -1
  119. package/dist/visual/base/math.d.ts +79 -1
  120. package/dist/visual/base/math.js +31 -3
  121. package/dist/visual/base/media.d.ts +68 -1
  122. package/dist/visual/biology/bacteria.d.ts +269 -1
  123. package/dist/visual/biology/bacteria.js +1 -1
  124. package/dist/visual/biology/cell.d.ts +202 -1
  125. package/dist/visual/biology/climate.d.ts +202 -1
  126. package/dist/visual/biology/climate.js +1 -1
  127. package/dist/visual/biology/ecology.d.ts +269 -1
  128. package/dist/visual/biology/physiology.d.ts +202 -1
  129. package/dist/visual/biology/physiology.js +1 -1
  130. package/dist/visual/biology/plant.d.ts +336 -1
  131. package/dist/visual/biology/plant.js +1 -1
  132. package/dist/visual/biology.d.ts +1 -1
  133. package/dist/visual/card.d.ts +79 -1
  134. package/dist/visual/card.js +18 -2
  135. package/dist/visual/catalog.d.ts +14164 -2
  136. package/dist/visual/catalog.js +4 -0
  137. package/dist/visual/chemistry/atom.d.ts +202 -1
  138. package/dist/visual/chemistry/atom.js +1 -1
  139. package/dist/visual/chemistry/balance.d.ts +336 -1
  140. package/dist/visual/chemistry/balance.js +1 -1
  141. package/dist/visual/chemistry/bonding.d.ts +336 -1
  142. package/dist/visual/chemistry/discovery.d.ts +470 -1
  143. package/dist/visual/chemistry/electrochemistry.d.ts +135 -1
  144. package/dist/visual/chemistry/electrochemistry.js +1 -1
  145. package/dist/visual/chemistry/electron.d.ts +135 -1
  146. package/dist/visual/chemistry/electron.js +1 -1
  147. package/dist/visual/chemistry/laws.d.ts +269 -1
  148. package/dist/visual/chemistry/laws.js +1 -1
  149. package/dist/visual/chemistry/particles.d.ts +336 -1
  150. package/dist/visual/chemistry/periodic.d.ts +135 -1
  151. package/dist/visual/chemistry/periodic.js +1 -1
  152. package/dist/visual/chemistry/rate.d.ts +68 -1
  153. package/dist/visual/chemistry/rate.js +1 -1
  154. package/dist/visual/chemistry/reaction.d.ts +202 -1
  155. package/dist/visual/chemistry/reaction.js +1 -1
  156. package/dist/visual/chemistry/titration.d.ts +68 -1
  157. package/dist/visual/chemistry/titration.js +1 -1
  158. package/dist/visual/length.d.ts +79 -0
  159. package/dist/visual/length.js +37 -0
  160. package/dist/visual/mathematics/chance.d.ts +258 -0
  161. package/dist/visual/mathematics/chance.js +117 -0
  162. package/dist/visual/mathematics/chart.d.ts +68 -1
  163. package/dist/visual/mathematics/charts.d.ts +336 -1
  164. package/dist/visual/mathematics/function.d.ts +202 -1
  165. package/dist/visual/mathematics/numeral.d.ts +170 -0
  166. package/dist/visual/mathematics/numeral.js +85 -0
  167. package/dist/visual/physics/braking.d.ts +269 -1
  168. package/dist/visual/physics/braking.js +1 -1
  169. package/dist/visual/physics/circuit.d.ts +269 -1
  170. package/dist/visual/physics/circular.d.ts +135 -1
  171. package/dist/visual/physics/circular.js +1 -1
  172. package/dist/visual/physics/dynamics.d.ts +470 -1
  173. package/dist/visual/physics/dynamics.js +1 -1
  174. package/dist/visual/physics/efficiency.d.ts +403 -1
  175. package/dist/visual/physics/efficiency.js +1 -1
  176. package/dist/visual/physics/electronics.d.ts +202 -1
  177. package/dist/visual/physics/falling.d.ts +269 -1
  178. package/dist/visual/physics/falling.js +1 -1
  179. package/dist/visual/physics/field.d.ts +202 -1
  180. package/dist/visual/physics/fluid.d.ts +269 -1
  181. package/dist/visual/physics/fluid.js +1 -1
  182. package/dist/visual/physics/force.d.ts +336 -1
  183. package/dist/visual/physics/gravity.d.ts +135 -1
  184. package/dist/visual/physics/heat.d.ts +202 -1
  185. package/dist/visual/physics/heat.js +1 -1
  186. package/dist/visual/physics/instrument.d.ts +470 -1
  187. package/dist/visual/physics/light.d.ts +269 -1
  188. package/dist/visual/physics/light.js +1 -1
  189. package/dist/visual/physics/measurement.d.ts +269 -1
  190. package/dist/visual/physics/measurement.js +1 -1
  191. package/dist/visual/physics/motion.d.ts +403 -1
  192. package/dist/visual/physics/nuclear.d.ts +202 -1
  193. package/dist/visual/physics/parabolic.d.ts +68 -1
  194. package/dist/visual/physics/position.d.ts +403 -1
  195. package/dist/visual/physics/position.js +1 -1
  196. package/dist/visual/physics/power.d.ts +537 -1
  197. package/dist/visual/physics/power.js +1 -1
  198. package/dist/visual/physics/precision.d.ts +470 -1
  199. package/dist/visual/physics/precision.js +1 -1
  200. package/dist/visual/physics/product.d.ts +269 -1
  201. package/dist/visual/physics/reading.d.ts +202 -1
  202. package/dist/visual/physics/reading.js +1 -1
  203. package/dist/visual/physics/record.d.ts +135 -1
  204. package/dist/visual/physics/record.js +1 -1
  205. package/dist/visual/physics/relative.d.ts +202 -1
  206. package/dist/visual/physics/relative.js +1 -1
  207. package/dist/visual/physics/solar.d.ts +403 -1
  208. package/dist/visual/physics/solar.js +1 -1
  209. package/dist/visual/physics/vector.d.ts +336 -1
  210. package/dist/visual/physics/vector.js +1 -1
  211. package/dist/visual/physics/velocity.d.ts +470 -1
  212. package/dist/visual/physics/wave.d.ts +269 -1
  213. package/dist/visual/politics.d.ts +403 -1
  214. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
2
+ import { byIds, cardFields, TextSchema } from "#contracts/visual/card";
3
3
  import { figure } from "#contracts/visual/entry";
4
4
  /** Props of `TickerTapeMotionLab`: a ticker timer on a lab bench. */
5
5
  function tickerTapeMotionLab(rich) {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { type RichSlot } from "#contracts/visual/card";
2
+ import type { RichSlot } from "#contracts/visual/card";
3
3
  /**
4
4
  * The props of the relative velocity labs. No prop states the conclusion a lab
5
5
  * leads to, so none holds answer state.
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function relativeVisuals<E>(rich: RichSlot<E>): {
8
8
  RainDriveRelativeVelocityLab: 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 car: Schema.optionalKey<Schema.Finite>;
12
79
  readonly labels: Schema.Struct<{
@@ -23,6 +90,73 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
23
90
  }>, "figure">;
24
91
  RiverBoatCrossingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
25
92
  readonly description: RichSlot<E>;
93
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
94
+ readonly attrs: {
95
+ readonly latex: string;
96
+ };
97
+ readonly type: "mathInline";
98
+ } | {
99
+ readonly marks?: readonly [{
100
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
101
+ } | {
102
+ readonly attrs: {
103
+ readonly href: string;
104
+ };
105
+ readonly type: "link";
106
+ } | {
107
+ readonly attrs: {
108
+ readonly variant: "success" | "warning" | null;
109
+ };
110
+ readonly type: "highlight";
111
+ }, ...({
112
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
113
+ } | {
114
+ readonly attrs: {
115
+ readonly href: string;
116
+ };
117
+ readonly type: "link";
118
+ } | {
119
+ readonly attrs: {
120
+ readonly variant: "success" | "warning" | null;
121
+ };
122
+ readonly type: "highlight";
123
+ })[]];
124
+ readonly text: string;
125
+ readonly type: "text";
126
+ }, ...({
127
+ readonly attrs: {
128
+ readonly latex: string;
129
+ };
130
+ readonly type: "mathInline";
131
+ } | {
132
+ readonly marks?: readonly [{
133
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
134
+ } | {
135
+ readonly attrs: {
136
+ readonly href: string;
137
+ };
138
+ readonly type: "link";
139
+ } | {
140
+ readonly attrs: {
141
+ readonly variant: "success" | "warning" | null;
142
+ };
143
+ readonly type: "highlight";
144
+ }, ...({
145
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
146
+ } | {
147
+ readonly attrs: {
148
+ readonly href: string;
149
+ };
150
+ readonly type: "link";
151
+ } | {
152
+ readonly attrs: {
153
+ readonly variant: "success" | "warning" | null;
154
+ };
155
+ readonly type: "highlight";
156
+ })[]];
157
+ readonly text: string;
158
+ readonly type: "text";
159
+ })[]], E, never, never>>;
26
160
  readonly title: RichSlot<E>;
27
161
  readonly boatSpeed: Schema.Finite;
28
162
  readonly current: Schema.Finite;
@@ -40,6 +174,73 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
40
174
  }>, "figure">;
41
175
  TrainPassengerRelativeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
42
176
  readonly description: RichSlot<E>;
177
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
178
+ readonly attrs: {
179
+ readonly latex: string;
180
+ };
181
+ readonly type: "mathInline";
182
+ } | {
183
+ readonly marks?: readonly [{
184
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
185
+ } | {
186
+ readonly attrs: {
187
+ readonly href: string;
188
+ };
189
+ readonly type: "link";
190
+ } | {
191
+ readonly attrs: {
192
+ readonly variant: "success" | "warning" | null;
193
+ };
194
+ readonly type: "highlight";
195
+ }, ...({
196
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
197
+ } | {
198
+ readonly attrs: {
199
+ readonly href: string;
200
+ };
201
+ readonly type: "link";
202
+ } | {
203
+ readonly attrs: {
204
+ readonly variant: "success" | "warning" | null;
205
+ };
206
+ readonly type: "highlight";
207
+ })[]];
208
+ readonly text: string;
209
+ readonly type: "text";
210
+ }, ...({
211
+ readonly attrs: {
212
+ readonly latex: string;
213
+ };
214
+ readonly type: "mathInline";
215
+ } | {
216
+ readonly marks?: readonly [{
217
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
218
+ } | {
219
+ readonly attrs: {
220
+ readonly href: string;
221
+ };
222
+ readonly type: "link";
223
+ } | {
224
+ readonly attrs: {
225
+ readonly variant: "success" | "warning" | null;
226
+ };
227
+ readonly type: "highlight";
228
+ }, ...({
229
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
230
+ } | {
231
+ readonly attrs: {
232
+ readonly href: string;
233
+ };
234
+ readonly type: "link";
235
+ } | {
236
+ readonly attrs: {
237
+ readonly variant: "success" | "warning" | null;
238
+ };
239
+ readonly type: "highlight";
240
+ })[]];
241
+ readonly text: string;
242
+ readonly type: "text";
243
+ })[]], E, never, never>>;
43
244
  readonly title: RichSlot<E>;
44
245
  readonly labels: Schema.Struct<{
45
246
  readonly chooseObserver: Schema.Trimmed;
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
2
+ import { byIds, cardFields, TextSchema } from "#contracts/visual/card";
3
3
  import { figure } from "#contracts/visual/entry";
4
4
  /**
5
5
  * Props of `RainDriveRelativeVelocityLab`: rain falling straight down on a
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { type RichSlot } from "#contracts/visual/card";
2
+ import type { RichSlot } from "#contracts/visual/card";
3
3
  /**
4
4
  * The props of the solar energy labs. No prop states the conclusion a lab leads
5
5
  * to, so none holds answer state.
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function solarVisuals<E>(rich: RichSlot<E>): {
8
8
  SolarPanelAngleLab: 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 incidence: RichSlot<E>;
@@ -21,6 +88,73 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
21
88
  }>, "figure">;
22
89
  SolarPanelHeatLab: 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 irradiance: Schema.optionalKey<Schema.Finite>;
26
160
  readonly labels: Schema.Struct<{
@@ -36,6 +170,73 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
36
170
  }>, "figure">;
37
171
  SolarRoofPaybackLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
38
172
  readonly description: RichSlot<E>;
173
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
174
+ readonly attrs: {
175
+ readonly latex: string;
176
+ };
177
+ readonly type: "mathInline";
178
+ } | {
179
+ readonly marks?: readonly [{
180
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
181
+ } | {
182
+ readonly attrs: {
183
+ readonly href: string;
184
+ };
185
+ readonly type: "link";
186
+ } | {
187
+ readonly attrs: {
188
+ readonly variant: "success" | "warning" | null;
189
+ };
190
+ readonly type: "highlight";
191
+ }, ...({
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 text: string;
205
+ readonly type: "text";
206
+ }, ...({
207
+ readonly attrs: {
208
+ readonly latex: string;
209
+ };
210
+ readonly type: "mathInline";
211
+ } | {
212
+ readonly marks?: readonly [{
213
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
214
+ } | {
215
+ readonly attrs: {
216
+ readonly href: string;
217
+ };
218
+ readonly type: "link";
219
+ } | {
220
+ readonly attrs: {
221
+ readonly variant: "success" | "warning" | null;
222
+ };
223
+ readonly type: "highlight";
224
+ }, ...({
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 text: string;
238
+ readonly type: "text";
239
+ })[]], E, never, never>>;
39
240
  readonly title: RichSlot<E>;
40
241
  readonly labels: Schema.Struct<{
41
242
  readonly invested: RichSlot<E>;
@@ -49,6 +250,73 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
49
250
  }>, "figure">;
50
251
  SolarBatteryStorageLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
51
252
  readonly description: RichSlot<E>;
253
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
254
+ readonly attrs: {
255
+ readonly latex: string;
256
+ };
257
+ readonly type: "mathInline";
258
+ } | {
259
+ readonly marks?: readonly [{
260
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
261
+ } | {
262
+ readonly attrs: {
263
+ readonly href: string;
264
+ };
265
+ readonly type: "link";
266
+ } | {
267
+ readonly attrs: {
268
+ readonly variant: "success" | "warning" | null;
269
+ };
270
+ readonly type: "highlight";
271
+ }, ...({
272
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
273
+ } | {
274
+ readonly attrs: {
275
+ readonly href: string;
276
+ };
277
+ readonly type: "link";
278
+ } | {
279
+ readonly attrs: {
280
+ readonly variant: "success" | "warning" | null;
281
+ };
282
+ readonly type: "highlight";
283
+ })[]];
284
+ readonly text: string;
285
+ readonly type: "text";
286
+ }, ...({
287
+ readonly attrs: {
288
+ readonly latex: string;
289
+ };
290
+ readonly type: "mathInline";
291
+ } | {
292
+ readonly marks?: readonly [{
293
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
294
+ } | {
295
+ readonly attrs: {
296
+ readonly href: string;
297
+ };
298
+ readonly type: "link";
299
+ } | {
300
+ readonly attrs: {
301
+ readonly variant: "success" | "warning" | null;
302
+ };
303
+ readonly type: "highlight";
304
+ }, ...({
305
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
306
+ } | {
307
+ readonly attrs: {
308
+ readonly href: string;
309
+ };
310
+ readonly type: "link";
311
+ } | {
312
+ readonly attrs: {
313
+ readonly variant: "success" | "warning" | null;
314
+ };
315
+ readonly type: "highlight";
316
+ })[]];
317
+ readonly text: string;
318
+ readonly type: "text";
319
+ })[]], E, never, never>>;
52
320
  readonly title: RichSlot<E>;
53
321
  readonly labels: Schema.Struct<{
54
322
  readonly chooseSize: Schema.Trimmed;
@@ -62,6 +330,73 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
62
330
  }>, "figure">;
63
331
  GreenhouseLayerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
64
332
  readonly description: RichSlot<E>;
333
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
334
+ readonly attrs: {
335
+ readonly latex: string;
336
+ };
337
+ readonly type: "mathInline";
338
+ } | {
339
+ readonly marks?: readonly [{
340
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
341
+ } | {
342
+ readonly attrs: {
343
+ readonly href: string;
344
+ };
345
+ readonly type: "link";
346
+ } | {
347
+ readonly attrs: {
348
+ readonly variant: "success" | "warning" | null;
349
+ };
350
+ readonly type: "highlight";
351
+ }, ...({
352
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
353
+ } | {
354
+ readonly attrs: {
355
+ readonly href: string;
356
+ };
357
+ readonly type: "link";
358
+ } | {
359
+ readonly attrs: {
360
+ readonly variant: "success" | "warning" | null;
361
+ };
362
+ readonly type: "highlight";
363
+ })[]];
364
+ readonly text: string;
365
+ readonly type: "text";
366
+ }, ...({
367
+ readonly attrs: {
368
+ readonly latex: string;
369
+ };
370
+ readonly type: "mathInline";
371
+ } | {
372
+ readonly marks?: readonly [{
373
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
374
+ } | {
375
+ readonly attrs: {
376
+ readonly href: string;
377
+ };
378
+ readonly type: "link";
379
+ } | {
380
+ readonly attrs: {
381
+ readonly variant: "success" | "warning" | null;
382
+ };
383
+ readonly type: "highlight";
384
+ }, ...({
385
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
386
+ } | {
387
+ readonly attrs: {
388
+ readonly href: string;
389
+ };
390
+ readonly type: "link";
391
+ } | {
392
+ readonly attrs: {
393
+ readonly variant: "success" | "warning" | null;
394
+ };
395
+ readonly type: "highlight";
396
+ })[]];
397
+ readonly text: string;
398
+ readonly type: "text";
399
+ })[]], E, never, never>>;
65
400
  readonly title: RichSlot<E>;
66
401
  readonly absorptance: Schema.optionalKey<Schema.Finite>;
67
402
  readonly labels: Schema.Struct<{
@@ -76,6 +411,73 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
76
411
  }>, "figure">;
77
412
  GridLoadCurveLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
78
413
  readonly description: RichSlot<E>;
414
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
415
+ readonly attrs: {
416
+ readonly latex: string;
417
+ };
418
+ readonly type: "mathInline";
419
+ } | {
420
+ readonly marks?: readonly [{
421
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
422
+ } | {
423
+ readonly attrs: {
424
+ readonly href: string;
425
+ };
426
+ readonly type: "link";
427
+ } | {
428
+ readonly attrs: {
429
+ readonly variant: "success" | "warning" | null;
430
+ };
431
+ readonly type: "highlight";
432
+ }, ...({
433
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
434
+ } | {
435
+ readonly attrs: {
436
+ readonly href: string;
437
+ };
438
+ readonly type: "link";
439
+ } | {
440
+ readonly attrs: {
441
+ readonly variant: "success" | "warning" | null;
442
+ };
443
+ readonly type: "highlight";
444
+ })[]];
445
+ readonly text: string;
446
+ readonly type: "text";
447
+ }, ...({
448
+ readonly attrs: {
449
+ readonly latex: string;
450
+ };
451
+ readonly type: "mathInline";
452
+ } | {
453
+ readonly marks?: readonly [{
454
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
455
+ } | {
456
+ readonly attrs: {
457
+ readonly href: string;
458
+ };
459
+ readonly type: "link";
460
+ } | {
461
+ readonly attrs: {
462
+ readonly variant: "success" | "warning" | null;
463
+ };
464
+ readonly type: "highlight";
465
+ }, ...({
466
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
467
+ } | {
468
+ readonly attrs: {
469
+ readonly href: string;
470
+ };
471
+ readonly type: "link";
472
+ } | {
473
+ readonly attrs: {
474
+ readonly variant: "success" | "warning" | null;
475
+ };
476
+ readonly type: "highlight";
477
+ })[]];
478
+ readonly text: string;
479
+ readonly type: "text";
480
+ })[]], E, never, never>>;
79
481
  readonly title: RichSlot<E>;
80
482
  readonly labels: Schema.Struct<{
81
483
  readonly capacity: RichSlot<E>;