@olenbetong/synergi-course 2.0.0 → 2.1.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/es/chrome/CategoryHeader.css +28 -0
- package/es/completion/CourseCompletion.css +53 -0
- package/es/completion/CourseCompletion.d.ts +32 -0
- package/es/completion/CourseCompletion.js +60 -0
- package/es/document/cues.d.ts +51 -6
- package/es/document/cues.js +115 -14
- package/es/document/effects.d.ts +30 -0
- package/es/document/effects.js +74 -0
- package/es/document/schema.d.ts +924 -136
- package/es/document/schema.js +139 -5
- package/es/document/validate.d.ts +2 -1
- package/es/document/validate.js +73 -2
- package/es/index.d.ts +6 -2
- package/es/index.js +6 -2
- package/es/media/Media.css +16 -0
- package/es/media/icons.d.ts +1 -0
- package/es/media/icons.js +3 -0
- package/es/player/CoursePlayer.css +58 -0
- package/es/player/CoursePlayer.js +27 -13
- package/es/player/useFullScreen.d.ts +17 -0
- package/es/player/useFullScreen.js +83 -0
- package/es/player/useMediaQuery.d.ts +7 -0
- package/es/player/useMediaQuery.js +16 -0
- package/es/steps/Blocks.d.ts +20 -1
- package/es/steps/Blocks.js +103 -22
- package/es/steps/Markdown.d.ts +7 -1
- package/es/steps/Markdown.js +31 -4
- package/es/steps/RevealMotion.d.ts +29 -0
- package/es/steps/RevealMotion.js +55 -0
- package/es/steps/SlideStepView.d.ts +5 -3
- package/es/steps/SlideStepView.js +38 -15
- package/es/steps/StepBodyProps.d.ts +7 -1
- package/es/steps/StepView.css +328 -12
- package/es/steps/StepView.d.ts +8 -2
- package/es/steps/StepView.js +2 -2
- package/es/steps/motion.d.ts +59 -0
- package/es/steps/motion.js +136 -0
- package/es/transitions/Transitions.css +114 -0
- package/es/transitions/plan.d.ts +66 -0
- package/es/transitions/plan.js +185 -0
- package/es/transitions/playStepTransition.d.ts +23 -0
- package/es/transitions/playStepTransition.js +131 -0
- package/es/types.d.ts +3 -1
- package/package.json +4 -4
- package/src/chrome/CategoryHeader.css +28 -0
- package/src/completion/CourseCompletion.css +53 -0
- package/src/completion/CourseCompletion.test.tsx +45 -0
- package/src/completion/CourseCompletion.tsx +98 -0
- package/src/document/cues.ts +142 -13
- package/src/document/document.test.ts +1 -1
- package/src/document/effects.ts +105 -0
- package/src/document/reveal.test.ts +263 -0
- package/src/document/schema.ts +161 -5
- package/src/document/validate.ts +77 -3
- package/src/index.ts +35 -0
- package/src/media/Media.css +16 -0
- package/src/media/icons.tsx +8 -0
- package/src/player/CoursePlayer.css +58 -0
- package/src/player/CoursePlayer.test.tsx +70 -6
- package/src/player/CoursePlayer.tsx +68 -17
- package/src/player/fullScreen.test.tsx +70 -0
- package/src/player/useFullScreen.ts +91 -0
- package/src/player/useMediaQuery.ts +21 -0
- package/src/steps/Blocks.test.ts +34 -0
- package/src/steps/Blocks.tsx +166 -26
- package/src/steps/Markdown.test.tsx +43 -0
- package/src/steps/Markdown.tsx +42 -4
- package/src/steps/Presence.test.tsx +82 -0
- package/src/steps/RevealMotion.ts +66 -0
- package/src/steps/SlideStepView.tsx +67 -17
- package/src/steps/StepBodyProps.ts +7 -1
- package/src/steps/StepView.css +328 -12
- package/src/steps/StepView.test.tsx +41 -0
- package/src/steps/StepView.tsx +9 -1
- package/src/steps/motion.test.ts +98 -0
- package/src/steps/motion.ts +178 -0
- package/src/steps/visibility.test.ts +24 -0
- package/src/transitions/Transitions.css +114 -0
- package/src/transitions/plan.ts +258 -0
- package/src/transitions/playStepTransition.ts +162 -0
- package/src/transitions/transitions.test.ts +274 -0
- package/src/types.ts +3 -1
- package/es/Transitions.css +0 -55
- package/es/Transitions.d.ts +0 -10
- package/es/Transitions.js +0 -24
- package/src/Transitions.css +0 -55
- package/src/Transitions.ts +0 -35
package/es/document/schema.d.ts
CHANGED
|
@@ -48,49 +48,64 @@ export declare const narrationSchema: import("valibot").StrictObjectSchema<{
|
|
|
48
48
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
49
49
|
}, undefined>;
|
|
50
50
|
export declare const headingBlockSchema: import("valibot").StrictObjectSchema<{
|
|
51
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
51
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
52
52
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
53
53
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
54
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
55
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
56
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
54
57
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
55
58
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
59
|
+
/** One line of Markdown. */
|
|
56
60
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
57
61
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
58
62
|
}, undefined>;
|
|
59
63
|
export declare const textBlockSchema: import("valibot").StrictObjectSchema<{
|
|
60
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
64
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
61
65
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
62
66
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
67
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
68
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
69
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
63
70
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
64
71
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
65
72
|
/** Markdown. */
|
|
66
73
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
67
74
|
}, undefined>;
|
|
68
75
|
export declare const listItemSchema: import("valibot").StrictObjectSchema<{
|
|
69
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
76
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
70
77
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
71
78
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
79
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
72
80
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
73
81
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
82
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
83
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
74
84
|
}, undefined>;
|
|
75
85
|
export declare const listBlockSchema: import("valibot").StrictObjectSchema<{
|
|
76
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
86
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
77
87
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
78
88
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
89
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
79
90
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
80
91
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
81
92
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
82
93
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
83
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
94
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
84
95
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
85
96
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
97
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
86
98
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
87
99
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
100
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
101
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
88
102
|
}, undefined>, undefined>;
|
|
89
103
|
}, undefined>;
|
|
90
104
|
export declare const imageBlockSchema: import("valibot").StrictObjectSchema<{
|
|
91
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
105
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
92
106
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
93
107
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
108
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
94
109
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
95
110
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
96
111
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -100,9 +115,10 @@ export declare const imageBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
100
115
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
101
116
|
}, undefined>;
|
|
102
117
|
export declare const quoteBlockSchema: import("valibot").StrictObjectSchema<{
|
|
103
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
118
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
104
119
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
105
120
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
121
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
106
122
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
107
123
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
108
124
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
@@ -110,21 +126,23 @@ export declare const quoteBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
110
126
|
}, undefined>;
|
|
111
127
|
/** Text in a coloured box, for an instruction or a warning that must stand out. */
|
|
112
128
|
export declare const calloutBlockSchema: import("valibot").StrictObjectSchema<{
|
|
113
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
129
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
114
130
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
115
131
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
132
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
116
133
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
117
134
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
118
135
|
/** Markdown. */
|
|
119
136
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
120
137
|
/** The colour of the box. Default `neutral`. */
|
|
121
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
138
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
122
139
|
}, undefined>;
|
|
123
140
|
/** A link that plays a video in a dialog on top of the slide. */
|
|
124
141
|
export declare const videoLinkBlockSchema: import("valibot").StrictObjectSchema<{
|
|
125
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
142
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
126
143
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
127
144
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
145
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
128
146
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
129
147
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
130
148
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -138,41 +156,78 @@ export declare const videoLinkBlockSchema: import("valibot").StrictObjectSchema<
|
|
|
138
156
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
139
157
|
}, undefined>;
|
|
140
158
|
}, undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* A block that shows nothing and acts on other parts while it is shown (by its timing, like any
|
|
161
|
+
* part): it moves, scales or fades its targets, and they go back when it stops. `move` is in the
|
|
162
|
+
* slide's text size (1 is about the height of a letter of the ordinary text), or for an item on a
|
|
163
|
+
* canvas in percent of the canvas's width (`x`) and height (`y`). Several effects on one part
|
|
164
|
+
* combine: moves add up, scales multiply, and the last opacity in the document wins.
|
|
165
|
+
*/
|
|
166
|
+
export declare const effectBlockSchema: import("valibot").StrictObjectSchema<{
|
|
167
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
168
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
169
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
170
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
171
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
172
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
173
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
174
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
175
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
176
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
177
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
178
|
+
}, undefined>, undefined>;
|
|
179
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
180
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
181
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
182
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
183
|
+
}, undefined>;
|
|
141
184
|
/** Every block that can stand inside a column. Columns do not nest. */
|
|
142
185
|
export declare const contentBlockSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
143
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
186
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
144
187
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
145
188
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
189
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
190
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
191
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
146
192
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
147
193
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
194
|
+
/** One line of Markdown. */
|
|
148
195
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
149
196
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
150
197
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
151
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
198
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
152
199
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
153
200
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
201
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
202
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
203
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
154
204
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
155
205
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
156
206
|
/** Markdown. */
|
|
157
207
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
158
208
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
159
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
209
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
160
210
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
161
211
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
212
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
162
213
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
163
214
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
164
215
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
165
216
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
166
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
217
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
167
218
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
168
219
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
220
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
169
221
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
170
222
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
223
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
224
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
171
225
|
}, undefined>, undefined>;
|
|
172
226
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
173
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
227
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
174
228
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
175
229
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
230
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
176
231
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
177
232
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
178
233
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -181,27 +236,30 @@ export declare const contentBlockSchema: import("valibot").VariantSchema<"type",
|
|
|
181
236
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
182
237
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
183
238
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
184
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
239
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
185
240
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
186
241
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
242
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
187
243
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
188
244
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
189
245
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
190
246
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
191
247
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
192
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
248
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
193
249
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
194
250
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
251
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
195
252
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
196
253
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
197
254
|
/** Markdown. */
|
|
198
255
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
199
256
|
/** The colour of the box. Default `neutral`. */
|
|
200
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
257
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
201
258
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
202
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
259
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
203
260
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
204
261
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
262
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
205
263
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
206
264
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
207
265
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -214,43 +272,72 @@ export declare const contentBlockSchema: import("valibot").VariantSchema<"type",
|
|
|
214
272
|
/** Seconds into the file where the media counts as ended. */
|
|
215
273
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
216
274
|
}, undefined>;
|
|
275
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
276
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
277
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
278
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
279
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
280
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
281
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
282
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
283
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
284
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
285
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
286
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
287
|
+
}, undefined>, undefined>;
|
|
288
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
289
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
290
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
291
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
217
292
|
}, undefined>], undefined>;
|
|
218
293
|
export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
219
294
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
220
295
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
221
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
296
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
222
297
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
223
298
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
299
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
300
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
301
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
224
302
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
225
303
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
304
|
+
/** One line of Markdown. */
|
|
226
305
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
227
306
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
228
307
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
229
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
308
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
230
309
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
231
310
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
311
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
312
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
313
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
232
314
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
233
315
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
234
316
|
/** Markdown. */
|
|
235
317
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
236
318
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
237
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
319
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
238
320
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
239
321
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
322
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
240
323
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
241
324
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
242
325
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
243
326
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
244
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
327
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
245
328
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
246
329
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
330
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
247
331
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
248
332
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
333
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
334
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
249
335
|
}, undefined>, undefined>;
|
|
250
336
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
251
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
337
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
252
338
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
253
339
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
340
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
254
341
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
255
342
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
256
343
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -259,27 +346,30 @@ export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
|
259
346
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
260
347
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
261
348
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
262
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
349
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
263
350
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
264
351
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
352
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
265
353
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
266
354
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
267
355
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
268
356
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
269
357
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
270
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
358
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
271
359
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
272
360
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
361
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
273
362
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
274
363
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
275
364
|
/** Markdown. */
|
|
276
365
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
277
366
|
/** The colour of the box. Default `neutral`. */
|
|
278
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
367
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
279
368
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
280
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
369
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
281
370
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
282
371
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
372
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
283
373
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
284
374
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
285
375
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -292,50 +382,80 @@ export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
|
292
382
|
/** Seconds into the file where the media counts as ended. */
|
|
293
383
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
294
384
|
}, undefined>;
|
|
385
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
386
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
387
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
388
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
389
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
390
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
391
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
392
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
393
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
394
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
395
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
396
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
397
|
+
}, undefined>, undefined>;
|
|
398
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
399
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
400
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
401
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
295
402
|
}, undefined>], undefined>, undefined>;
|
|
296
403
|
}, undefined>;
|
|
297
404
|
export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
298
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
405
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
299
406
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
300
407
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
408
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
301
409
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
302
410
|
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
303
411
|
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
304
412
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
305
413
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
306
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
414
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
307
415
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
308
416
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
417
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
418
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
419
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
309
420
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
310
421
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
422
|
+
/** One line of Markdown. */
|
|
311
423
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
312
424
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
313
425
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
314
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
426
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
315
427
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
316
428
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
429
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
430
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
431
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
317
432
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
318
433
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
319
434
|
/** Markdown. */
|
|
320
435
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
321
436
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
322
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
437
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
323
438
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
324
439
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
440
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
325
441
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
326
442
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
327
443
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
328
444
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
329
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
445
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
330
446
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
331
447
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
448
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
332
449
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
333
450
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
451
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
452
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
334
453
|
}, undefined>, undefined>;
|
|
335
454
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
336
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
455
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
337
456
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
338
457
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
458
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
339
459
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
340
460
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
341
461
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -344,27 +464,30 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
344
464
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
345
465
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
346
466
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
347
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
467
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
348
468
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
349
469
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
470
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
350
471
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
351
472
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
352
473
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
353
474
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
354
475
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
355
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
476
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
356
477
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
357
478
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
479
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
358
480
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
359
481
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
360
482
|
/** Markdown. */
|
|
361
483
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
362
484
|
/** The colour of the box. Default `neutral`. */
|
|
363
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
485
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
364
486
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
365
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
487
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
366
488
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
367
489
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
490
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
368
491
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
369
492
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
370
493
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -377,42 +500,69 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
377
500
|
/** Seconds into the file where the media counts as ended. */
|
|
378
501
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
379
502
|
}, undefined>;
|
|
503
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
504
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
505
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
506
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
507
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
508
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
509
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
510
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
511
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
512
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
513
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
514
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
515
|
+
}, undefined>, undefined>;
|
|
516
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
517
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
518
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
519
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
380
520
|
}, undefined>], undefined>, undefined>;
|
|
381
521
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
382
522
|
id: string;
|
|
383
523
|
blocks: ({
|
|
384
|
-
reveal?: "step" | undefined;
|
|
524
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
385
525
|
revealAt?: string | undefined;
|
|
386
526
|
hideAt?: string | undefined;
|
|
527
|
+
delay?: number | undefined;
|
|
528
|
+
caps?: boolean | undefined;
|
|
529
|
+
shadow?: boolean | undefined;
|
|
387
530
|
id: string;
|
|
388
531
|
type: "heading";
|
|
389
532
|
text: string;
|
|
390
533
|
level?: 1 | 2 | 3 | undefined;
|
|
391
534
|
} | {
|
|
392
|
-
reveal?: "step" | undefined;
|
|
535
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
393
536
|
revealAt?: string | undefined;
|
|
394
537
|
hideAt?: string | undefined;
|
|
538
|
+
delay?: number | undefined;
|
|
539
|
+
caps?: boolean | undefined;
|
|
540
|
+
shadow?: boolean | undefined;
|
|
395
541
|
id: string;
|
|
396
542
|
type: "text";
|
|
397
543
|
text: string;
|
|
398
544
|
} | {
|
|
399
|
-
reveal?: "step" | undefined;
|
|
545
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
400
546
|
revealAt?: string | undefined;
|
|
401
547
|
hideAt?: string | undefined;
|
|
548
|
+
delay?: number | undefined;
|
|
402
549
|
id: string;
|
|
403
550
|
type: "list";
|
|
404
551
|
ordered?: boolean | undefined;
|
|
405
552
|
items: {
|
|
406
|
-
reveal?: "step" | undefined;
|
|
553
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
407
554
|
revealAt?: string | undefined;
|
|
408
555
|
hideAt?: string | undefined;
|
|
556
|
+
delay?: number | undefined;
|
|
409
557
|
id: string;
|
|
410
558
|
text: string;
|
|
559
|
+
indent?: 1 | 2 | undefined;
|
|
411
560
|
}[];
|
|
412
561
|
} | {
|
|
413
|
-
reveal?: "step" | undefined;
|
|
562
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
414
563
|
revealAt?: string | undefined;
|
|
415
564
|
hideAt?: string | undefined;
|
|
565
|
+
delay?: number | undefined;
|
|
416
566
|
id: string;
|
|
417
567
|
type: "image";
|
|
418
568
|
src: string;
|
|
@@ -420,25 +570,28 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
420
570
|
caption?: string | undefined;
|
|
421
571
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
422
572
|
} | {
|
|
423
|
-
reveal?: "step" | undefined;
|
|
573
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
424
574
|
revealAt?: string | undefined;
|
|
425
575
|
hideAt?: string | undefined;
|
|
576
|
+
delay?: number | undefined;
|
|
426
577
|
id: string;
|
|
427
578
|
type: "quote";
|
|
428
579
|
text: string;
|
|
429
580
|
cite?: string | undefined;
|
|
430
581
|
} | {
|
|
431
|
-
reveal?: "step" | undefined;
|
|
582
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
432
583
|
revealAt?: string | undefined;
|
|
433
584
|
hideAt?: string | undefined;
|
|
585
|
+
delay?: number | undefined;
|
|
434
586
|
id: string;
|
|
435
587
|
type: "callout";
|
|
436
588
|
text: string;
|
|
437
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
589
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
438
590
|
} | {
|
|
439
|
-
reveal?: "step" | undefined;
|
|
591
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
440
592
|
revealAt?: string | undefined;
|
|
441
593
|
hideAt?: string | undefined;
|
|
594
|
+
delay?: number | undefined;
|
|
442
595
|
id: string;
|
|
443
596
|
type: "video-link";
|
|
444
597
|
label: string;
|
|
@@ -448,43 +601,161 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
448
601
|
start?: number | undefined;
|
|
449
602
|
end?: number | undefined;
|
|
450
603
|
};
|
|
604
|
+
} | {
|
|
605
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
606
|
+
revealAt?: string | undefined;
|
|
607
|
+
hideAt?: string | undefined;
|
|
608
|
+
delay?: number | undefined;
|
|
609
|
+
id: string;
|
|
610
|
+
type: "effect";
|
|
611
|
+
target: string | string[];
|
|
612
|
+
move?: {
|
|
613
|
+
x?: number | undefined;
|
|
614
|
+
y?: number | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
scale?: number | undefined;
|
|
617
|
+
opacity?: number | undefined;
|
|
618
|
+
duration?: number | undefined;
|
|
451
619
|
})[];
|
|
452
620
|
}[], 2, undefined>]>;
|
|
453
621
|
}, undefined>;
|
|
622
|
+
export declare const canvasTextSchema: import("valibot").StrictObjectSchema<{
|
|
623
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
624
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
625
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
626
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
627
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
628
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
629
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
630
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
631
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
632
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
633
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
634
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
635
|
+
/** Markdown. */
|
|
636
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
637
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
638
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
639
|
+
/** The colour of the frame. Default `neutral`. */
|
|
640
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
641
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
642
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
643
|
+
}, undefined>;
|
|
644
|
+
export declare const canvasImageSchema: import("valibot").StrictObjectSchema<{
|
|
645
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
646
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
647
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
648
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
649
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
650
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
651
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
652
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
653
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
654
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
655
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
656
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
657
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
658
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
659
|
+
}, undefined>;
|
|
660
|
+
/**
|
|
661
|
+
* A figure with a coordinate system of its own: images and texts placed by percent on an area of
|
|
662
|
+
* fixed proportions, later items on top of earlier ones. Everything scales with the canvas, the
|
|
663
|
+
* text included, so the parts keep their places at any size. Always light, like a sheet of paper,
|
|
664
|
+
* so a surface can cover a part of a picture. Does not stand in a column.
|
|
665
|
+
*/
|
|
666
|
+
export declare const canvasBlockSchema: import("valibot").StrictObjectSchema<{
|
|
667
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
668
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
669
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
670
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
671
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
672
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
673
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
674
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
675
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
676
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
677
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
678
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
679
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
680
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
681
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
682
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
683
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
684
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
685
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
686
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
687
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
688
|
+
/** Markdown. */
|
|
689
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
690
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
691
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
692
|
+
/** The colour of the frame. Default `neutral`. */
|
|
693
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
694
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
695
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
696
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
697
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
698
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
699
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
700
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
701
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
702
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
703
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
704
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
705
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
706
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
707
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
708
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
709
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
710
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
711
|
+
}, undefined>], undefined>, undefined>;
|
|
712
|
+
}, undefined>;
|
|
454
713
|
export declare const blockSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
455
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
714
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
456
715
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
457
716
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
717
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
718
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
719
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
458
720
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
459
721
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
722
|
+
/** One line of Markdown. */
|
|
460
723
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
461
724
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
462
725
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
463
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
726
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
464
727
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
465
728
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
729
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
730
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
731
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
466
732
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
467
733
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
468
734
|
/** Markdown. */
|
|
469
735
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
470
736
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
471
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
737
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
472
738
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
473
739
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
740
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
474
741
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
475
742
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
476
743
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
477
744
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
478
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
745
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
479
746
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
480
747
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
748
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
481
749
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
482
750
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
751
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
752
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
483
753
|
}, undefined>, undefined>;
|
|
484
754
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
485
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
755
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
486
756
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
487
757
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
758
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
488
759
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
489
760
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
490
761
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -493,27 +764,30 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
493
764
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
494
765
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
495
766
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
496
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
767
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
497
768
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
498
769
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
770
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
499
771
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
500
772
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
501
773
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
502
774
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
503
775
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
504
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
776
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
505
777
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
506
778
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
779
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
507
780
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
508
781
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
509
782
|
/** Markdown. */
|
|
510
783
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
511
784
|
/** The colour of the box. Default `neutral`. */
|
|
512
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
785
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
513
786
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
514
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
787
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
515
788
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
516
789
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
790
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
517
791
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
518
792
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
519
793
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -527,47 +801,77 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
527
801
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
528
802
|
}, undefined>;
|
|
529
803
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
530
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
804
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
531
805
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
532
806
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
807
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
808
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
809
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
810
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
811
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
812
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
813
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
814
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
815
|
+
}, undefined>, undefined>;
|
|
816
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
817
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
818
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
819
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
820
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
821
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
822
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
823
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
824
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
533
825
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
534
826
|
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
535
827
|
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
536
828
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
537
829
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
538
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
830
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
539
831
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
540
832
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
833
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
834
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
835
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
541
836
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
542
837
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
838
|
+
/** One line of Markdown. */
|
|
543
839
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
544
840
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
545
841
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
546
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
842
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
547
843
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
548
844
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
845
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
846
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
847
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
549
848
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
550
849
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
551
850
|
/** Markdown. */
|
|
552
851
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
553
852
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
554
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
853
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
555
854
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
556
855
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
856
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
557
857
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
558
858
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
559
859
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
560
860
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
561
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
861
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
562
862
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
563
863
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
864
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
564
865
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
565
866
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
867
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
868
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
566
869
|
}, undefined>, undefined>;
|
|
567
870
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
568
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
871
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
569
872
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
570
873
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
874
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
571
875
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
572
876
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
573
877
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -576,27 +880,30 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
576
880
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
577
881
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
578
882
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
579
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
883
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
580
884
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
581
885
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
886
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
582
887
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
583
888
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
584
889
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
585
890
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
586
891
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
587
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
892
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
588
893
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
589
894
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
895
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
590
896
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
591
897
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
592
898
|
/** Markdown. */
|
|
593
899
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
594
900
|
/** The colour of the box. Default `neutral`. */
|
|
595
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
901
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
596
902
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
597
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
903
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
598
904
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
599
905
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
906
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
600
907
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
601
908
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
602
909
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -609,42 +916,69 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
609
916
|
/** Seconds into the file where the media counts as ended. */
|
|
610
917
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
611
918
|
}, undefined>;
|
|
919
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
920
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
921
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
922
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
923
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
924
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
925
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
926
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
927
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
928
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
929
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
930
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
931
|
+
}, undefined>, undefined>;
|
|
932
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
933
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
934
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
935
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
612
936
|
}, undefined>], undefined>, undefined>;
|
|
613
937
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
614
938
|
id: string;
|
|
615
939
|
blocks: ({
|
|
616
|
-
reveal?: "step" | undefined;
|
|
940
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
617
941
|
revealAt?: string | undefined;
|
|
618
942
|
hideAt?: string | undefined;
|
|
943
|
+
delay?: number | undefined;
|
|
944
|
+
caps?: boolean | undefined;
|
|
945
|
+
shadow?: boolean | undefined;
|
|
619
946
|
id: string;
|
|
620
947
|
type: "heading";
|
|
621
948
|
text: string;
|
|
622
949
|
level?: 1 | 2 | 3 | undefined;
|
|
623
950
|
} | {
|
|
624
|
-
reveal?: "step" | undefined;
|
|
951
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
625
952
|
revealAt?: string | undefined;
|
|
626
953
|
hideAt?: string | undefined;
|
|
954
|
+
delay?: number | undefined;
|
|
955
|
+
caps?: boolean | undefined;
|
|
956
|
+
shadow?: boolean | undefined;
|
|
627
957
|
id: string;
|
|
628
958
|
type: "text";
|
|
629
959
|
text: string;
|
|
630
960
|
} | {
|
|
631
|
-
reveal?: "step" | undefined;
|
|
961
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
632
962
|
revealAt?: string | undefined;
|
|
633
963
|
hideAt?: string | undefined;
|
|
964
|
+
delay?: number | undefined;
|
|
634
965
|
id: string;
|
|
635
966
|
type: "list";
|
|
636
967
|
ordered?: boolean | undefined;
|
|
637
968
|
items: {
|
|
638
|
-
reveal?: "step" | undefined;
|
|
969
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
639
970
|
revealAt?: string | undefined;
|
|
640
971
|
hideAt?: string | undefined;
|
|
972
|
+
delay?: number | undefined;
|
|
641
973
|
id: string;
|
|
642
974
|
text: string;
|
|
975
|
+
indent?: 1 | 2 | undefined;
|
|
643
976
|
}[];
|
|
644
977
|
} | {
|
|
645
|
-
reveal?: "step" | undefined;
|
|
978
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
646
979
|
revealAt?: string | undefined;
|
|
647
980
|
hideAt?: string | undefined;
|
|
981
|
+
delay?: number | undefined;
|
|
648
982
|
id: string;
|
|
649
983
|
type: "image";
|
|
650
984
|
src: string;
|
|
@@ -652,25 +986,28 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
652
986
|
caption?: string | undefined;
|
|
653
987
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
654
988
|
} | {
|
|
655
|
-
reveal?: "step" | undefined;
|
|
989
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
656
990
|
revealAt?: string | undefined;
|
|
657
991
|
hideAt?: string | undefined;
|
|
992
|
+
delay?: number | undefined;
|
|
658
993
|
id: string;
|
|
659
994
|
type: "quote";
|
|
660
995
|
text: string;
|
|
661
996
|
cite?: string | undefined;
|
|
662
997
|
} | {
|
|
663
|
-
reveal?: "step" | undefined;
|
|
998
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
664
999
|
revealAt?: string | undefined;
|
|
665
1000
|
hideAt?: string | undefined;
|
|
1001
|
+
delay?: number | undefined;
|
|
666
1002
|
id: string;
|
|
667
1003
|
type: "callout";
|
|
668
1004
|
text: string;
|
|
669
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
1005
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
670
1006
|
} | {
|
|
671
|
-
reveal?: "step" | undefined;
|
|
1007
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
672
1008
|
revealAt?: string | undefined;
|
|
673
1009
|
hideAt?: string | undefined;
|
|
1010
|
+
delay?: number | undefined;
|
|
674
1011
|
id: string;
|
|
675
1012
|
type: "video-link";
|
|
676
1013
|
label: string;
|
|
@@ -680,17 +1017,107 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
680
1017
|
start?: number | undefined;
|
|
681
1018
|
end?: number | undefined;
|
|
682
1019
|
};
|
|
1020
|
+
} | {
|
|
1021
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1022
|
+
revealAt?: string | undefined;
|
|
1023
|
+
hideAt?: string | undefined;
|
|
1024
|
+
delay?: number | undefined;
|
|
1025
|
+
id: string;
|
|
1026
|
+
type: "effect";
|
|
1027
|
+
target: string | string[];
|
|
1028
|
+
move?: {
|
|
1029
|
+
x?: number | undefined;
|
|
1030
|
+
y?: number | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
scale?: number | undefined;
|
|
1033
|
+
opacity?: number | undefined;
|
|
1034
|
+
duration?: number | undefined;
|
|
683
1035
|
})[];
|
|
684
1036
|
}[], 2, undefined>]>;
|
|
1037
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1038
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1039
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1040
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1041
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1042
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1043
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
1044
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
1045
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
1046
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1047
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1048
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1049
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1050
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1051
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1052
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1053
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1054
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1055
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1056
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1057
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1058
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1059
|
+
/** Markdown. */
|
|
1060
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1061
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
1062
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
1063
|
+
/** The colour of the frame. Default `neutral`. */
|
|
1064
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1065
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
1066
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
1067
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1068
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1069
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1070
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1071
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1072
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1073
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1074
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1075
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1076
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1077
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1078
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1079
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1080
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1081
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1082
|
+
}, undefined>], undefined>, undefined>;
|
|
685
1083
|
}, undefined>], undefined>;
|
|
1084
|
+
/**
|
|
1085
|
+
* One animation of a step change. `on: "enter"` runs as the step comes in, `on: "exit"` as it
|
|
1086
|
+
* leaves. `target` is `step` (the default: the whole step box), `content` or `background` (a
|
|
1087
|
+
* slide's blocks or its background image) or the id of a part of the step. `slide` comes from
|
|
1088
|
+
* (or leaves to) `from`: right on enter and left on exit by default, mirrored when the learner
|
|
1089
|
+
* goes back. Several items on one target run together, each with its own delay and duration.
|
|
1090
|
+
*/
|
|
1091
|
+
export declare const transitionSchema: import("valibot").StrictObjectSchema<{
|
|
1092
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1093
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1094
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
1095
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
1096
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
1097
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1098
|
+
}, undefined>;
|
|
686
1099
|
/** Blocks on a page, optionally narrated. */
|
|
687
1100
|
export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
688
1101
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
689
1102
|
readonly type: import("valibot").LiteralSchema<"slide", undefined>;
|
|
690
|
-
/**
|
|
691
|
-
|
|
1103
|
+
/**
|
|
1104
|
+
* `title`: a title page, the first heading large and centred, typically over a background image.
|
|
1105
|
+
* `banner`: a title page whose background image is a band across the step, in its own
|
|
1106
|
+
* proportions and with a coloured border above and below, with the blocks on top of it.
|
|
1107
|
+
*/
|
|
1108
|
+
readonly layout: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["default", "centered", "title", "banner"], undefined>, undefined>;
|
|
692
1109
|
/** A background image behind the blocks. */
|
|
693
1110
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1111
|
+
/**
|
|
1112
|
+
* How wide the blocks may get: `narrow` for a few lines or a single callout, `medium`, or
|
|
1113
|
+
* `wide`, the default. The slide is never wider than the step it is shown in.
|
|
1114
|
+
*/
|
|
1115
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["narrow", "medium", "wide"], undefined>, undefined>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Over a background image the blocks sit on a panel so they stay readable. `false` leaves the
|
|
1118
|
+
* panel out, for blocks that bring a surface of their own (callouts). No effect without a background.
|
|
1119
|
+
*/
|
|
1120
|
+
readonly panel: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
694
1121
|
readonly narration: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
695
1122
|
readonly media: import("valibot").StrictObjectSchema<{
|
|
696
1123
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -716,40 +1143,60 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
716
1143
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
717
1144
|
}, undefined>, undefined>;
|
|
718
1145
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
1146
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1147
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1148
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1149
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
1150
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
1151
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
1152
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1153
|
+
}, undefined>, undefined>, undefined>;
|
|
719
1154
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
720
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1155
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
721
1156
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
722
1157
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1158
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1159
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1160
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
723
1161
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
724
1162
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1163
|
+
/** One line of Markdown. */
|
|
725
1164
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
726
1165
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
727
1166
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
728
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1167
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
729
1168
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
730
1169
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1170
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1171
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1172
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
731
1173
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
732
1174
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
733
1175
|
/** Markdown. */
|
|
734
1176
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
735
1177
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
736
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1178
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
737
1179
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
738
1180
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1181
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
739
1182
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
740
1183
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
741
1184
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
742
1185
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
743
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1186
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
744
1187
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
745
1188
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1189
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
746
1190
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
747
1191
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1192
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1193
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
748
1194
|
}, undefined>, undefined>;
|
|
749
1195
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
750
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1196
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
751
1197
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
752
1198
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1199
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
753
1200
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
754
1201
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
755
1202
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -758,27 +1205,30 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
758
1205
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
759
1206
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
760
1207
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
761
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1208
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
762
1209
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
763
1210
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1211
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
764
1212
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
765
1213
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
766
1214
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
767
1215
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
768
1216
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
769
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1217
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
770
1218
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
771
1219
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1220
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
772
1221
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
773
1222
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
774
1223
|
/** Markdown. */
|
|
775
1224
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
776
1225
|
/** The colour of the box. Default `neutral`. */
|
|
777
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
1226
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
778
1227
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
779
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1228
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
780
1229
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
781
1230
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1231
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
782
1232
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
783
1233
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
784
1234
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -792,47 +1242,77 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
792
1242
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
793
1243
|
}, undefined>;
|
|
794
1244
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
795
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1245
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
796
1246
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
797
1247
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1248
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1249
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1250
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1251
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1252
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1253
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1254
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1255
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1256
|
+
}, undefined>, undefined>;
|
|
1257
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1258
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1259
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1260
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1261
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1262
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1263
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1264
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1265
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
798
1266
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
799
1267
|
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
800
1268
|
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
801
1269
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
802
1270
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
803
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1271
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
804
1272
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
805
1273
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1274
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1275
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1276
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
806
1277
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
807
1278
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1279
|
+
/** One line of Markdown. */
|
|
808
1280
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
809
1281
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
810
1282
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
811
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1283
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
812
1284
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
813
1285
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1286
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1287
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1288
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
814
1289
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
815
1290
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
816
1291
|
/** Markdown. */
|
|
817
1292
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
818
1293
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
819
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1294
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
820
1295
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
821
1296
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1297
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
822
1298
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
823
1299
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
824
1300
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
825
1301
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
826
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1302
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
827
1303
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
828
1304
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1305
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
829
1306
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
830
1307
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1308
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1309
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
831
1310
|
}, undefined>, undefined>;
|
|
832
1311
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
833
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1312
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
834
1313
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
835
1314
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1315
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
836
1316
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
837
1317
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
838
1318
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -841,27 +1321,30 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
841
1321
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
842
1322
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
843
1323
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
844
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1324
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
845
1325
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
846
1326
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1327
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
847
1328
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
848
1329
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
849
1330
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
850
1331
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
851
1332
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
852
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1333
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
853
1334
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
854
1335
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1336
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
855
1337
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
856
1338
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
857
1339
|
/** Markdown. */
|
|
858
1340
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
859
1341
|
/** The colour of the box. Default `neutral`. */
|
|
860
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
1342
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
861
1343
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
862
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1344
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
863
1345
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
864
1346
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1347
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
865
1348
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
866
1349
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
867
1350
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -874,42 +1357,69 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
874
1357
|
/** Seconds into the file where the media counts as ended. */
|
|
875
1358
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
876
1359
|
}, undefined>;
|
|
1360
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1361
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1362
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1363
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1364
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1365
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1366
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1367
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1368
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1369
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1370
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1371
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1372
|
+
}, undefined>, undefined>;
|
|
1373
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1374
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1375
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1376
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
877
1377
|
}, undefined>], undefined>, undefined>;
|
|
878
1378
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
879
1379
|
id: string;
|
|
880
1380
|
blocks: ({
|
|
881
|
-
reveal?: "step" | undefined;
|
|
1381
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
882
1382
|
revealAt?: string | undefined;
|
|
883
1383
|
hideAt?: string | undefined;
|
|
1384
|
+
delay?: number | undefined;
|
|
1385
|
+
caps?: boolean | undefined;
|
|
1386
|
+
shadow?: boolean | undefined;
|
|
884
1387
|
id: string;
|
|
885
1388
|
type: "heading";
|
|
886
1389
|
text: string;
|
|
887
1390
|
level?: 1 | 2 | 3 | undefined;
|
|
888
1391
|
} | {
|
|
889
|
-
reveal?: "step" | undefined;
|
|
1392
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
890
1393
|
revealAt?: string | undefined;
|
|
891
1394
|
hideAt?: string | undefined;
|
|
1395
|
+
delay?: number | undefined;
|
|
1396
|
+
caps?: boolean | undefined;
|
|
1397
|
+
shadow?: boolean | undefined;
|
|
892
1398
|
id: string;
|
|
893
1399
|
type: "text";
|
|
894
1400
|
text: string;
|
|
895
1401
|
} | {
|
|
896
|
-
reveal?: "step" | undefined;
|
|
1402
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
897
1403
|
revealAt?: string | undefined;
|
|
898
1404
|
hideAt?: string | undefined;
|
|
1405
|
+
delay?: number | undefined;
|
|
899
1406
|
id: string;
|
|
900
1407
|
type: "list";
|
|
901
1408
|
ordered?: boolean | undefined;
|
|
902
1409
|
items: {
|
|
903
|
-
reveal?: "step" | undefined;
|
|
1410
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
904
1411
|
revealAt?: string | undefined;
|
|
905
1412
|
hideAt?: string | undefined;
|
|
1413
|
+
delay?: number | undefined;
|
|
906
1414
|
id: string;
|
|
907
1415
|
text: string;
|
|
1416
|
+
indent?: 1 | 2 | undefined;
|
|
908
1417
|
}[];
|
|
909
1418
|
} | {
|
|
910
|
-
reveal?: "step" | undefined;
|
|
1419
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
911
1420
|
revealAt?: string | undefined;
|
|
912
1421
|
hideAt?: string | undefined;
|
|
1422
|
+
delay?: number | undefined;
|
|
913
1423
|
id: string;
|
|
914
1424
|
type: "image";
|
|
915
1425
|
src: string;
|
|
@@ -917,25 +1427,28 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
917
1427
|
caption?: string | undefined;
|
|
918
1428
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
919
1429
|
} | {
|
|
920
|
-
reveal?: "step" | undefined;
|
|
1430
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
921
1431
|
revealAt?: string | undefined;
|
|
922
1432
|
hideAt?: string | undefined;
|
|
1433
|
+
delay?: number | undefined;
|
|
923
1434
|
id: string;
|
|
924
1435
|
type: "quote";
|
|
925
1436
|
text: string;
|
|
926
1437
|
cite?: string | undefined;
|
|
927
1438
|
} | {
|
|
928
|
-
reveal?: "step" | undefined;
|
|
1439
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
929
1440
|
revealAt?: string | undefined;
|
|
930
1441
|
hideAt?: string | undefined;
|
|
1442
|
+
delay?: number | undefined;
|
|
931
1443
|
id: string;
|
|
932
1444
|
type: "callout";
|
|
933
1445
|
text: string;
|
|
934
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
1446
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
935
1447
|
} | {
|
|
936
|
-
reveal?: "step" | undefined;
|
|
1448
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
937
1449
|
revealAt?: string | undefined;
|
|
938
1450
|
hideAt?: string | undefined;
|
|
1451
|
+
delay?: number | undefined;
|
|
939
1452
|
id: string;
|
|
940
1453
|
type: "video-link";
|
|
941
1454
|
label: string;
|
|
@@ -945,8 +1458,69 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
945
1458
|
start?: number | undefined;
|
|
946
1459
|
end?: number | undefined;
|
|
947
1460
|
};
|
|
1461
|
+
} | {
|
|
1462
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1463
|
+
revealAt?: string | undefined;
|
|
1464
|
+
hideAt?: string | undefined;
|
|
1465
|
+
delay?: number | undefined;
|
|
1466
|
+
id: string;
|
|
1467
|
+
type: "effect";
|
|
1468
|
+
target: string | string[];
|
|
1469
|
+
move?: {
|
|
1470
|
+
x?: number | undefined;
|
|
1471
|
+
y?: number | undefined;
|
|
1472
|
+
} | undefined;
|
|
1473
|
+
scale?: number | undefined;
|
|
1474
|
+
opacity?: number | undefined;
|
|
1475
|
+
duration?: number | undefined;
|
|
948
1476
|
})[];
|
|
949
1477
|
}[], 2, undefined>]>;
|
|
1478
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1479
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1480
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1481
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1482
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1483
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1484
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
1485
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
1486
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
1487
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1488
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1489
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1490
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1491
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1492
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1493
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1494
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1495
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1496
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1497
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1498
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1499
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1500
|
+
/** Markdown. */
|
|
1501
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1502
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
1503
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
1504
|
+
/** The colour of the frame. Default `neutral`. */
|
|
1505
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1506
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
1507
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
1508
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1509
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1510
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1511
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1512
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1513
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1514
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1515
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1516
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1517
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1518
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1519
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1520
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1521
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1522
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1523
|
+
}, undefined>], undefined>, undefined>;
|
|
950
1524
|
}, undefined>], undefined>, undefined>;
|
|
951
1525
|
}, undefined>;
|
|
952
1526
|
/** One video, with its subtitles as cues. Done when the video has played to the end. */
|
|
@@ -973,6 +1547,14 @@ export declare const videoStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
973
1547
|
/** An image shown behind and around the video. */
|
|
974
1548
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
975
1549
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
1550
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1551
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1552
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1553
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
1554
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
1555
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
1556
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1557
|
+
}, undefined>, undefined>, undefined>;
|
|
976
1558
|
}, undefined>;
|
|
977
1559
|
/** A document the learner opens and then confirms having read. */
|
|
978
1560
|
export declare const pdfStepSchema: import("valibot").StrictObjectSchema<{
|
|
@@ -984,6 +1566,14 @@ export declare const pdfStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
984
1566
|
readonly file: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
985
1567
|
/** The wording of the confirmation, e.g. "Jeg har lest og forstått". */
|
|
986
1568
|
readonly confirm: import("valibot").StringSchema<undefined>;
|
|
1569
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1570
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1571
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1572
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
1573
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
1574
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
1575
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1576
|
+
}, undefined>, undefined>, undefined>;
|
|
987
1577
|
}, undefined>;
|
|
988
1578
|
/**
|
|
989
1579
|
* A quiz. The questions, options and pass rules are data of their own, so the document only
|
|
@@ -1020,14 +1610,36 @@ export declare const quizStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1020
1610
|
*/
|
|
1021
1611
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1022
1612
|
}, undefined>, undefined>;
|
|
1613
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1614
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1615
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1616
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
1617
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
1618
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
1619
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1620
|
+
}, undefined>, undefined>, undefined>;
|
|
1023
1621
|
}, undefined>;
|
|
1024
1622
|
export declare const stepSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1025
1623
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
1026
1624
|
readonly type: import("valibot").LiteralSchema<"slide", undefined>;
|
|
1027
|
-
/**
|
|
1028
|
-
|
|
1625
|
+
/**
|
|
1626
|
+
* `title`: a title page, the first heading large and centred, typically over a background image.
|
|
1627
|
+
* `banner`: a title page whose background image is a band across the step, in its own
|
|
1628
|
+
* proportions and with a coloured border above and below, with the blocks on top of it.
|
|
1629
|
+
*/
|
|
1630
|
+
readonly layout: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["default", "centered", "title", "banner"], undefined>, undefined>;
|
|
1029
1631
|
/** A background image behind the blocks. */
|
|
1030
1632
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1633
|
+
/**
|
|
1634
|
+
* How wide the blocks may get: `narrow` for a few lines or a single callout, `medium`, or
|
|
1635
|
+
* `wide`, the default. The slide is never wider than the step it is shown in.
|
|
1636
|
+
*/
|
|
1637
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["narrow", "medium", "wide"], undefined>, undefined>;
|
|
1638
|
+
/**
|
|
1639
|
+
* Over a background image the blocks sit on a panel so they stay readable. `false` leaves the
|
|
1640
|
+
* panel out, for blocks that bring a surface of their own (callouts). No effect without a background.
|
|
1641
|
+
*/
|
|
1642
|
+
readonly panel: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1031
1643
|
readonly narration: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1032
1644
|
readonly media: import("valibot").StrictObjectSchema<{
|
|
1033
1645
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1053,40 +1665,60 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1053
1665
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1054
1666
|
}, undefined>, undefined>;
|
|
1055
1667
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
1668
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1669
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1670
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1671
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
1672
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
1673
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
1674
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1675
|
+
}, undefined>, undefined>, undefined>;
|
|
1056
1676
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1057
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1677
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1058
1678
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1059
1679
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1680
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1681
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1682
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1060
1683
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1061
1684
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1685
|
+
/** One line of Markdown. */
|
|
1062
1686
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1063
1687
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1064
1688
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1065
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1689
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1066
1690
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1067
1691
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1692
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1693
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1694
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1068
1695
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1069
1696
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1070
1697
|
/** Markdown. */
|
|
1071
1698
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1072
1699
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1073
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1700
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1074
1701
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1075
1702
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1703
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1076
1704
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1077
1705
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1078
1706
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1079
1707
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1080
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1708
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1081
1709
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1082
1710
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1711
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1083
1712
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1084
1713
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1714
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1715
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1085
1716
|
}, undefined>, undefined>;
|
|
1086
1717
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1087
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1718
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1088
1719
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1089
1720
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1721
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1090
1722
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1091
1723
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1092
1724
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1095,27 +1727,30 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1095
1727
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1096
1728
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1097
1729
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1098
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1730
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1099
1731
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1100
1732
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1733
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1101
1734
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1102
1735
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1103
1736
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1104
1737
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1105
1738
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1106
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1739
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1107
1740
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1108
1741
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1742
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1109
1743
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1110
1744
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
1111
1745
|
/** Markdown. */
|
|
1112
1746
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1113
1747
|
/** The colour of the box. Default `neutral`. */
|
|
1114
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
1748
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1115
1749
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1116
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1750
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1117
1751
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1118
1752
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1753
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1119
1754
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1120
1755
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1121
1756
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -1129,47 +1764,77 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1129
1764
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1130
1765
|
}, undefined>;
|
|
1131
1766
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1132
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1767
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1768
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1769
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1770
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1771
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1772
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1773
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1774
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1775
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1776
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1777
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1778
|
+
}, undefined>, undefined>;
|
|
1779
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1780
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1781
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1782
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1783
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1784
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1133
1785
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1134
1786
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1787
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1135
1788
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1136
1789
|
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
1137
1790
|
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1138
1791
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1139
1792
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1140
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1793
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1141
1794
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1142
1795
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1796
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1797
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1798
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1143
1799
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1144
1800
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1801
|
+
/** One line of Markdown. */
|
|
1145
1802
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1146
1803
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1147
1804
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1148
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1805
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1149
1806
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1150
1807
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1808
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1809
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1810
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1151
1811
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1152
1812
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1153
1813
|
/** Markdown. */
|
|
1154
1814
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1155
1815
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1156
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1816
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1157
1817
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1158
1818
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1819
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1159
1820
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1160
1821
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1161
1822
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1162
1823
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1163
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1824
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1164
1825
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1165
1826
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1827
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1166
1828
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1167
1829
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1830
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1831
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1168
1832
|
}, undefined>, undefined>;
|
|
1169
1833
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1170
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1834
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1171
1835
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1172
1836
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1837
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1173
1838
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1174
1839
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1175
1840
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1178,27 +1843,30 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1178
1843
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1179
1844
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1180
1845
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1181
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1846
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1182
1847
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1183
1848
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1849
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1184
1850
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1185
1851
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1186
1852
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1187
1853
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1188
1854
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1189
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1855
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1190
1856
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1191
1857
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1858
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1192
1859
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1193
1860
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
1194
1861
|
/** Markdown. */
|
|
1195
1862
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1196
1863
|
/** The colour of the box. Default `neutral`. */
|
|
1197
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
1864
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1198
1865
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1199
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1866
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1200
1867
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1201
1868
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1869
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1202
1870
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1203
1871
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1204
1872
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -1211,42 +1879,69 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1211
1879
|
/** Seconds into the file where the media counts as ended. */
|
|
1212
1880
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1213
1881
|
}, undefined>;
|
|
1882
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1883
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1884
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1885
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1886
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1887
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1888
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1889
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1890
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1891
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1892
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1893
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1894
|
+
}, undefined>, undefined>;
|
|
1895
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1896
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1897
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1898
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1214
1899
|
}, undefined>], undefined>, undefined>;
|
|
1215
1900
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
1216
1901
|
id: string;
|
|
1217
1902
|
blocks: ({
|
|
1218
|
-
reveal?: "step" | undefined;
|
|
1903
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1219
1904
|
revealAt?: string | undefined;
|
|
1220
1905
|
hideAt?: string | undefined;
|
|
1906
|
+
delay?: number | undefined;
|
|
1907
|
+
caps?: boolean | undefined;
|
|
1908
|
+
shadow?: boolean | undefined;
|
|
1221
1909
|
id: string;
|
|
1222
1910
|
type: "heading";
|
|
1223
1911
|
text: string;
|
|
1224
1912
|
level?: 1 | 2 | 3 | undefined;
|
|
1225
1913
|
} | {
|
|
1226
|
-
reveal?: "step" | undefined;
|
|
1914
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1227
1915
|
revealAt?: string | undefined;
|
|
1228
1916
|
hideAt?: string | undefined;
|
|
1917
|
+
delay?: number | undefined;
|
|
1918
|
+
caps?: boolean | undefined;
|
|
1919
|
+
shadow?: boolean | undefined;
|
|
1229
1920
|
id: string;
|
|
1230
1921
|
type: "text";
|
|
1231
1922
|
text: string;
|
|
1232
1923
|
} | {
|
|
1233
|
-
reveal?: "step" | undefined;
|
|
1924
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1234
1925
|
revealAt?: string | undefined;
|
|
1235
1926
|
hideAt?: string | undefined;
|
|
1927
|
+
delay?: number | undefined;
|
|
1236
1928
|
id: string;
|
|
1237
1929
|
type: "list";
|
|
1238
1930
|
ordered?: boolean | undefined;
|
|
1239
1931
|
items: {
|
|
1240
|
-
reveal?: "step" | undefined;
|
|
1932
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1241
1933
|
revealAt?: string | undefined;
|
|
1242
1934
|
hideAt?: string | undefined;
|
|
1935
|
+
delay?: number | undefined;
|
|
1243
1936
|
id: string;
|
|
1244
1937
|
text: string;
|
|
1938
|
+
indent?: 1 | 2 | undefined;
|
|
1245
1939
|
}[];
|
|
1246
1940
|
} | {
|
|
1247
|
-
reveal?: "step" | undefined;
|
|
1941
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1248
1942
|
revealAt?: string | undefined;
|
|
1249
1943
|
hideAt?: string | undefined;
|
|
1944
|
+
delay?: number | undefined;
|
|
1250
1945
|
id: string;
|
|
1251
1946
|
type: "image";
|
|
1252
1947
|
src: string;
|
|
@@ -1254,25 +1949,28 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1254
1949
|
caption?: string | undefined;
|
|
1255
1950
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
1256
1951
|
} | {
|
|
1257
|
-
reveal?: "step" | undefined;
|
|
1952
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1258
1953
|
revealAt?: string | undefined;
|
|
1259
1954
|
hideAt?: string | undefined;
|
|
1955
|
+
delay?: number | undefined;
|
|
1260
1956
|
id: string;
|
|
1261
1957
|
type: "quote";
|
|
1262
1958
|
text: string;
|
|
1263
1959
|
cite?: string | undefined;
|
|
1264
1960
|
} | {
|
|
1265
|
-
reveal?: "step" | undefined;
|
|
1961
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1266
1962
|
revealAt?: string | undefined;
|
|
1267
1963
|
hideAt?: string | undefined;
|
|
1964
|
+
delay?: number | undefined;
|
|
1268
1965
|
id: string;
|
|
1269
1966
|
type: "callout";
|
|
1270
1967
|
text: string;
|
|
1271
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
1968
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1272
1969
|
} | {
|
|
1273
|
-
reveal?: "step" | undefined;
|
|
1970
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1274
1971
|
revealAt?: string | undefined;
|
|
1275
1972
|
hideAt?: string | undefined;
|
|
1973
|
+
delay?: number | undefined;
|
|
1276
1974
|
id: string;
|
|
1277
1975
|
type: "video-link";
|
|
1278
1976
|
label: string;
|
|
@@ -1282,8 +1980,69 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1282
1980
|
start?: number | undefined;
|
|
1283
1981
|
end?: number | undefined;
|
|
1284
1982
|
};
|
|
1983
|
+
} | {
|
|
1984
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1985
|
+
revealAt?: string | undefined;
|
|
1986
|
+
hideAt?: string | undefined;
|
|
1987
|
+
delay?: number | undefined;
|
|
1988
|
+
id: string;
|
|
1989
|
+
type: "effect";
|
|
1990
|
+
target: string | string[];
|
|
1991
|
+
move?: {
|
|
1992
|
+
x?: number | undefined;
|
|
1993
|
+
y?: number | undefined;
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
scale?: number | undefined;
|
|
1996
|
+
opacity?: number | undefined;
|
|
1997
|
+
duration?: number | undefined;
|
|
1285
1998
|
})[];
|
|
1286
1999
|
}[], 2, undefined>]>;
|
|
2000
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2001
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2002
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2003
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2004
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2005
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2006
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
2007
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
2008
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
2009
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
2010
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2011
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2012
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2013
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2014
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2015
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2016
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2017
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2018
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2019
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2020
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2021
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
2022
|
+
/** Markdown. */
|
|
2023
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2024
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
2025
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
2026
|
+
/** The colour of the frame. Default `neutral`. */
|
|
2027
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
2028
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
2029
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
2030
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2031
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2032
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2033
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2034
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2035
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2036
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2037
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2038
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2039
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2040
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2041
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2042
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
2043
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2044
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2045
|
+
}, undefined>], undefined>, undefined>;
|
|
1287
2046
|
}, undefined>], undefined>, undefined>;
|
|
1288
2047
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1289
2048
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
@@ -1308,6 +2067,14 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1308
2067
|
/** An image shown behind and around the video. */
|
|
1309
2068
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1310
2069
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
2070
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2071
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2072
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
2073
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2074
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2075
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2076
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2077
|
+
}, undefined>, undefined>, undefined>;
|
|
1311
2078
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1312
2079
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
1313
2080
|
readonly type: import("valibot").LiteralSchema<"pdf", undefined>;
|
|
@@ -1317,6 +2084,14 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1317
2084
|
readonly file: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1318
2085
|
/** The wording of the confirmation, e.g. "Jeg har lest og forstått". */
|
|
1319
2086
|
readonly confirm: import("valibot").StringSchema<undefined>;
|
|
2087
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2088
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2089
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
2090
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2091
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2092
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2093
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2094
|
+
}, undefined>, undefined>, undefined>;
|
|
1320
2095
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1321
2096
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
1322
2097
|
readonly type: import("valibot").LiteralSchema<"quiz", undefined>;
|
|
@@ -1348,15 +2123,27 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1348
2123
|
*/
|
|
1349
2124
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1350
2125
|
}, undefined>, undefined>;
|
|
2126
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2127
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2128
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
2129
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2130
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2131
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2132
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2133
|
+
}, undefined>, undefined>, undefined>;
|
|
1351
2134
|
}, undefined>], undefined>;
|
|
1352
2135
|
export type Cue = InferOutput<typeof cueSchema>;
|
|
2136
|
+
export type StepTransition = InferOutput<typeof transitionSchema>;
|
|
1353
2137
|
export type Media = InferOutput<typeof mediaSchema>;
|
|
1354
2138
|
export type Narration = InferOutput<typeof narrationSchema>;
|
|
1355
2139
|
export type CalloutBlock = InferOutput<typeof calloutBlockSchema>;
|
|
2140
|
+
export type EffectBlock = InferOutput<typeof effectBlockSchema>;
|
|
1356
2141
|
export type ImageSize = NonNullable<InferOutput<typeof imageBlockSchema>["size"]>;
|
|
1357
2142
|
export type ListItem = InferOutput<typeof listItemSchema>;
|
|
1358
2143
|
export type ContentBlock = InferOutput<typeof contentBlockSchema>;
|
|
1359
2144
|
export type ColumnsBlock = InferOutput<typeof columnsBlockSchema>;
|
|
2145
|
+
export type CanvasBlock = InferOutput<typeof canvasBlockSchema>;
|
|
2146
|
+
export type CanvasItem = CanvasBlock["items"][number];
|
|
1360
2147
|
export type Block = InferOutput<typeof blockSchema>;
|
|
1361
2148
|
export type SlideStep = InferOutput<typeof slideStepSchema>;
|
|
1362
2149
|
export type VideoStep = InferOutput<typeof videoStepSchema>;
|
|
@@ -1367,7 +2154,8 @@ export type StepType = Step["type"];
|
|
|
1367
2154
|
/** What can carry `reveal`, `revealAt` and `hideAt`: a block, or an item of a list. */
|
|
1368
2155
|
export type Timed = {
|
|
1369
2156
|
id: string;
|
|
1370
|
-
reveal?: "step";
|
|
2157
|
+
reveal?: "step" | "with-previous";
|
|
1371
2158
|
revealAt?: string;
|
|
1372
2159
|
hideAt?: string;
|
|
2160
|
+
delay?: number;
|
|
1373
2161
|
};
|