@signalsafe/content-editor-react 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/README.md +105 -2
  2. package/dist/BootstrapBlockRenderer.d.ts +10 -0
  3. package/dist/BootstrapBlockRenderer.js +256 -0
  4. package/dist/BootstrapInlineCanvasEditor.d.ts +11 -0
  5. package/dist/BootstrapInlineCanvasEditor.js +38 -0
  6. package/dist/BootstrapInlineText.d.ts +9 -0
  7. package/dist/BootstrapInlineText.js +121 -0
  8. package/dist/BootstrapNavigationBlocks.d.ts +13 -0
  9. package/dist/BootstrapNavigationBlocks.js +33 -0
  10. package/dist/BootstrapProgressGroup.d.ts +11 -0
  11. package/dist/BootstrapProgressGroup.js +13 -0
  12. package/dist/BootstrapProperties.d.ts +15 -0
  13. package/dist/BootstrapProperties.js +217 -0
  14. package/dist/CanvasTheme.d.ts +25 -0
  15. package/dist/CanvasTheme.js +34 -0
  16. package/dist/CollectionRowActions.d.ts +19 -0
  17. package/dist/CollectionRowActions.js +9 -0
  18. package/dist/ColorModeSelect.d.ts +9 -0
  19. package/dist/ColorModeSelect.js +28 -0
  20. package/dist/ColumnContent.d.ts +6 -0
  21. package/dist/ColumnContent.js +6 -0
  22. package/dist/ComponentPicker.d.ts +10 -0
  23. package/dist/ComponentPicker.js +22 -0
  24. package/dist/ComponentPickerIcon.d.ts +3 -0
  25. package/dist/ComponentPickerIcon.js +52 -0
  26. package/dist/ContentEditor.d.ts +16 -0
  27. package/dist/ContentEditor.js +73 -0
  28. package/dist/ContentImage.d.ts +16 -0
  29. package/dist/ContentImage.js +45 -0
  30. package/dist/ContentInteractionProvider.d.ts +21 -0
  31. package/dist/ContentInteractionProvider.js +102 -0
  32. package/dist/ContentKeyboardHelp.d.ts +4 -0
  33. package/dist/ContentKeyboardHelp.js +8 -0
  34. package/dist/ContentOutline.d.ts +20 -0
  35. package/dist/ContentOutline.js +71 -0
  36. package/dist/ContentRuntime.d.ts +28 -0
  37. package/dist/ContentRuntime.js +13 -0
  38. package/dist/EditorActionIcon.d.ts +18 -0
  39. package/dist/EditorActionIcon.js +32 -0
  40. package/dist/EditorCanvasScroll.d.ts +6 -0
  41. package/dist/EditorCanvasScroll.js +82 -0
  42. package/dist/EditorCanvasSettings.d.ts +5 -0
  43. package/dist/EditorCanvasSettings.js +21 -0
  44. package/dist/EditorCanvasToolbar.d.ts +16 -0
  45. package/dist/EditorCanvasToolbar.js +22 -0
  46. package/dist/EditorCollectionAdd.d.ts +6 -0
  47. package/dist/EditorCollectionAdd.js +6 -0
  48. package/dist/EditorCollectionRow.d.ts +18 -0
  49. package/dist/EditorCollectionRow.js +6 -0
  50. package/dist/EditorCommandBar.d.ts +7 -0
  51. package/dist/EditorCommandBar.js +9 -0
  52. package/dist/EditorContainerFields.d.ts +17 -0
  53. package/dist/EditorContainerFields.js +27 -0
  54. package/dist/EditorHistoryControls.d.ts +8 -0
  55. package/dist/EditorHistoryControls.js +6 -0
  56. package/dist/EditorIssuesPanel.d.ts +5 -0
  57. package/dist/EditorIssuesPanel.js +6 -0
  58. package/dist/EditorLayoutMenu.d.ts +23 -0
  59. package/dist/EditorLayoutMenu.js +13 -0
  60. package/dist/EditorMenuChoice.d.ts +8 -0
  61. package/dist/EditorMenuChoice.js +6 -0
  62. package/dist/EditorPanel.d.ts +10 -0
  63. package/dist/EditorPanel.js +12 -0
  64. package/dist/EditorPreviewToggle.d.ts +6 -0
  65. package/dist/EditorPreviewToggle.js +6 -0
  66. package/dist/EditorSidebarLayout.d.ts +8 -0
  67. package/dist/EditorSidebarLayout.js +29 -0
  68. package/dist/EditorStatusBar.d.ts +5 -0
  69. package/dist/EditorStatusBar.js +8 -0
  70. package/dist/EditorStatusBarContext.d.ts +2 -0
  71. package/dist/EditorStatusBarContext.js +3 -0
  72. package/dist/EditorSubmenu.d.ts +18 -0
  73. package/dist/EditorSubmenu.js +74 -0
  74. package/dist/EditorTabs.d.ts +9 -0
  75. package/dist/EditorTabs.js +28 -0
  76. package/dist/EditorTemplateMenu.d.ts +12 -0
  77. package/dist/EditorTemplateMenu.js +7 -0
  78. package/dist/EditorViewportSelect.d.ts +30 -0
  79. package/dist/EditorViewportSelect.js +17 -0
  80. package/dist/EditorWorkflowActions.d.ts +12 -0
  81. package/dist/EditorWorkflowActions.js +6 -0
  82. package/dist/EmptyContent.d.ts +6 -0
  83. package/dist/EmptyContent.js +18 -0
  84. package/dist/InlineCanvasEditor.d.ts +7 -0
  85. package/dist/InlineCanvasEditor.js +12 -0
  86. package/dist/InteractiveBootstrapBlocks.d.ts +17 -0
  87. package/dist/InteractiveBootstrapBlocks.js +434 -0
  88. package/dist/JsonEditor.css +163 -0
  89. package/dist/JsonTextEditor.d.ts +11 -0
  90. package/dist/JsonTextEditor.js +70 -0
  91. package/dist/JsonViewer.d.ts +15 -0
  92. package/dist/JsonViewer.js +109 -0
  93. package/dist/LayoutPresets.d.ts +8 -0
  94. package/dist/LayoutPresets.js +66 -0
  95. package/dist/LayoutPropertyFields.d.ts +8 -0
  96. package/dist/LayoutPropertyFields.js +43 -0
  97. package/dist/MarkdownEditor.d.ts +13 -0
  98. package/dist/MarkdownEditor.js +82 -0
  99. package/dist/PracticeInputBlock.d.ts +12 -0
  100. package/dist/PracticeInputBlock.js +21 -0
  101. package/dist/ReadableButton.d.ts +5 -0
  102. package/dist/ReadableButton.js +20 -0
  103. package/dist/ReadableDropdownSurface.d.ts +6 -0
  104. package/dist/ReadableDropdownSurface.js +16 -0
  105. package/dist/ReadableDropdownToggle.d.ts +2 -0
  106. package/dist/ReadableDropdownToggle.js +14 -0
  107. package/dist/ReadableFormSelect.d.ts +3 -0
  108. package/dist/ReadableFormSelect.js +10 -0
  109. package/dist/ReorderHandle.d.ts +15 -0
  110. package/dist/ReorderHandle.js +31 -0
  111. package/dist/ReorderTarget.d.ts +10 -0
  112. package/dist/ReorderTarget.js +7 -0
  113. package/dist/SpacingEditor.d.ts +9 -0
  114. package/dist/SpacingEditor.js +53 -0
  115. package/dist/authoringActions.d.ts +18 -0
  116. package/dist/authoringActions.js +172 -0
  117. package/dist/authoringText.d.ts +4 -0
  118. package/dist/authoringText.js +45 -0
  119. package/dist/authoringUuid.d.ts +2 -0
  120. package/dist/authoringUuid.js +11 -0
  121. package/dist/bootstrapFamilies.d.ts +10 -0
  122. package/dist/bootstrapFamilies.js +151 -0
  123. package/dist/bootstrapGridImport.d.ts +8 -0
  124. package/dist/bootstrapGridImport.js +122 -0
  125. package/dist/bootstrapGridMigration.d.ts +3 -0
  126. package/dist/bootstrapGridMigration.js +27 -0
  127. package/dist/bootstrapRegistry.d.ts +69 -0
  128. package/dist/bootstrapRegistry.js +966 -0
  129. package/dist/canvasPreferences.d.ts +27 -0
  130. package/dist/canvasPreferences.js +28 -0
  131. package/dist/collectionNavigation.d.ts +20 -0
  132. package/dist/collectionNavigation.js +38 -0
  133. package/dist/componentPickerFamilies.d.ts +5 -0
  134. package/dist/componentPickerFamilies.js +40 -0
  135. package/dist/componentPolicy.d.ts +31 -0
  136. package/dist/componentPolicy.js +25 -0
  137. package/dist/componentValidation.d.ts +23707 -0
  138. package/dist/componentValidation.js +7 -0
  139. package/dist/content-editor.css +584 -0
  140. package/dist/content-layout.css +597 -0
  141. package/dist/contentContainment.d.ts +4 -0
  142. package/dist/contentContainment.js +117 -0
  143. package/dist/contentCssPath.d.ts +5 -0
  144. package/dist/contentCssPath.js +63 -0
  145. package/dist/contentEditingCommands.d.ts +35 -0
  146. package/dist/contentEditingCommands.js +69 -0
  147. package/dist/contentInsertion.d.ts +3 -0
  148. package/dist/contentInsertion.js +16 -0
  149. package/dist/contentModel.d.ts +3 -0
  150. package/dist/contentModel.js +1 -0
  151. package/dist/contentTreeValidation.d.ts +8 -0
  152. package/dist/contentTreeValidation.js +211 -0
  153. package/dist/contracts/semantics.gen.d.ts +2 -0
  154. package/dist/contracts/semantics.gen.js +3 -0
  155. package/dist/contracts/types.gen.d.ts +3741 -0
  156. package/dist/contracts/types.gen.js +1 -0
  157. package/dist/contracts/zod.gen.d.ts +62365 -0
  158. package/dist/contracts/zod.gen.js +3036 -0
  159. package/dist/controlBackgroundIconContrast.d.ts +3 -0
  160. package/dist/controlBackgroundIconContrast.js +60 -0
  161. package/dist/dropdownContrast.d.ts +5 -0
  162. package/dist/dropdownContrast.js +34 -0
  163. package/dist/editor-ui-colors.css +40 -0
  164. package/dist/editorThemes.d.ts +10 -0
  165. package/dist/editorThemes.js +12 -0
  166. package/dist/inlineMarkup.d.ts +6 -0
  167. package/dist/inlineMarkup.js +171 -0
  168. package/dist/layout.d.ts +17 -0
  169. package/dist/layout.js +37 -0
  170. package/dist/nestedComponentLabel.d.ts +2 -0
  171. package/dist/nestedComponentLabel.js +17 -0
  172. package/dist/responsiveLayout.d.ts +51 -0
  173. package/dist/responsiveLayout.js +97 -0
  174. package/dist/slideAppearance.d.ts +25 -0
  175. package/dist/slideAppearance.js +283 -0
  176. package/dist/source-manifest.json +105 -0
  177. package/dist/spacingShorthand.d.ts +12 -0
  178. package/dist/spacingShorthand.js +47 -0
  179. package/dist/themes/canvas-themes.css +131 -0
  180. package/dist/useCanvasSelectionScroll.d.ts +3 -0
  181. package/dist/useCanvasSelectionScroll.js +51 -0
  182. package/dist/useContentHistory.d.ts +40 -0
  183. package/dist/useContentHistory.js +42 -0
  184. package/dist/useContentReorderTarget.d.ts +6 -0
  185. package/dist/useContentReorderTarget.js +44 -0
  186. package/dist/useContentSelection.d.ts +10 -0
  187. package/dist/useContentSelection.js +23 -0
  188. package/dist/useDropdownContrast.d.ts +16 -0
  189. package/dist/useDropdownContrast.js +145 -0
  190. package/dist/useEditorControlContrast.d.ts +3 -0
  191. package/dist/useEditorControlContrast.js +188 -0
  192. package/dist/useSiteThemeStyles.d.ts +3 -0
  193. package/dist/useSiteThemeStyles.js +30 -0
  194. package/dist/useValidationFocus.d.ts +5 -0
  195. package/dist/useValidationFocus.js +17 -0
  196. package/package.json +74 -5
@@ -0,0 +1,3036 @@
1
+ // Generated lesson model closure. Run yarn lesson-editor:contracts; do not edit.
2
+ import { patternCheck } from '@signalsafe/api-philosophy/runtime';
3
+ import * as z from 'zod';
4
+ const createValidatorSchema25 = () => z
5
+ .union([
6
+ z.enum([
7
+ 'primary',
8
+ 'secondary',
9
+ 'success',
10
+ 'info',
11
+ 'warning',
12
+ 'danger',
13
+ 'light',
14
+ 'dark',
15
+ ]),
16
+ z.literal('link'),
17
+ ])
18
+ .optional()
19
+ .default('primary');
20
+ const createValidatorSchema21 = () => z
21
+ .enum(['primary', 'secondary', 'success', 'info', 'warning', 'danger', 'light', 'dark'])
22
+ .optional()
23
+ .default('primary');
24
+ const createValidatorSchema20 = () => z
25
+ .enum(['primary', 'secondary', 'success', 'info', 'warning', 'danger', 'light', 'dark'])
26
+ .optional()
27
+ .default('secondary');
28
+ const createValidatorSchema19 = () => z
29
+ .enum([
30
+ 'primary',
31
+ 'secondary',
32
+ 'success',
33
+ 'info',
34
+ 'warning',
35
+ 'danger',
36
+ 'light',
37
+ 'dark',
38
+ 'body',
39
+ 'transparent',
40
+ ])
41
+ .nullish();
42
+ const createValidatorSchema14 = () => z
43
+ .enum(['primary', 'secondary', 'success', 'info', 'warning', 'danger', 'light', 'dark'])
44
+ .nullish();
45
+ const createValidatorSchema4 = () => z
46
+ .string()
47
+ .refine((value) => Array.from(value).length <= 32)
48
+ .check(patternCheck(String.raw `^(?:\d+(?:\.\d+)?|\.\d+)(?:px|rem|em|%)(?![\s\S])`))
49
+ .nullish();
50
+ const createValidatorSchema2 = () => z
51
+ .union([
52
+ z.number().refine(Number.isInteger, { message: 'Expected integer' }).gte(0).lte(5),
53
+ z
54
+ .string()
55
+ .refine((value) => Array.from(value).length <= 32)
56
+ .check(patternCheck(String.raw `^(?:\d+(?:\.\d+)?|\.\d+)(?:px|rem|em|%)(?![\s\S])`)),
57
+ ])
58
+ .nullish();
59
+ const createValidatorShape0 = () => ({
60
+ lineHeight: z.enum(['1', 'sm', 'base', 'lg']).nullish(),
61
+ marginBottom: createValidatorSchema2(),
62
+ marginEnd: createValidatorSchema2(),
63
+ marginLg: z
64
+ .string()
65
+ .refine((value) => Array.from(value).length <= 160)
66
+ .nullish(),
67
+ marginMd: z
68
+ .string()
69
+ .refine((value) => Array.from(value).length <= 160)
70
+ .nullish(),
71
+ marginSm: z
72
+ .string()
73
+ .refine((value) => Array.from(value).length <= 160)
74
+ .nullish(),
75
+ marginStart: createValidatorSchema2(),
76
+ marginTop: createValidatorSchema2(),
77
+ marginXl: z
78
+ .string()
79
+ .refine((value) => Array.from(value).length <= 160)
80
+ .nullish(),
81
+ marginXxl: z
82
+ .string()
83
+ .refine((value) => Array.from(value).length <= 160)
84
+ .nullish(),
85
+ maxHeight: createValidatorSchema4(),
86
+ maxWidth: createValidatorSchema4(),
87
+ minHeight: createValidatorSchema4(),
88
+ minWidth: createValidatorSchema4(),
89
+ objectPosition: z.enum(['center', 'top', 'bottom', 'left', 'right']).nullish(),
90
+ opacity: z
91
+ .number()
92
+ .refine(Number.isInteger, { message: 'Expected integer' })
93
+ .gte(0)
94
+ .lte(100)
95
+ .nullish(),
96
+ overflow: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
97
+ overflowX: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
98
+ overflowY: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
99
+ paddingBottom: createValidatorSchema2(),
100
+ paddingEnd: createValidatorSchema2(),
101
+ paddingLg: z
102
+ .string()
103
+ .refine((value) => Array.from(value).length <= 160)
104
+ .nullish(),
105
+ paddingMd: z
106
+ .string()
107
+ .refine((value) => Array.from(value).length <= 160)
108
+ .nullish(),
109
+ paddingSm: z
110
+ .string()
111
+ .refine((value) => Array.from(value).length <= 160)
112
+ .nullish(),
113
+ paddingStart: createValidatorSchema2(),
114
+ paddingTop: createValidatorSchema2(),
115
+ paddingXl: z
116
+ .string()
117
+ .refine((value) => Array.from(value).length <= 160)
118
+ .nullish(),
119
+ paddingXxl: z
120
+ .string()
121
+ .refine((value) => Array.from(value).length <= 160)
122
+ .nullish(),
123
+ parentId: z
124
+ .string()
125
+ .refine((value) => Array.from(value).length >= 1)
126
+ .refine((value) => Array.from(value).length <= 100)
127
+ .nullish(),
128
+ });
129
+ const createValidatorShape1 = () => ({
130
+ lineHeight: z.enum(['1', 'sm', 'base', 'lg']).nullish(),
131
+ marginBottom: createValidatorSchema2(),
132
+ marginEnd: createValidatorSchema2(),
133
+ marginLg: z
134
+ .string()
135
+ .refine((value) => Array.from(value).length <= 160)
136
+ .nullish(),
137
+ marginMd: z
138
+ .string()
139
+ .refine((value) => Array.from(value).length <= 160)
140
+ .nullish(),
141
+ marginSm: z
142
+ .string()
143
+ .refine((value) => Array.from(value).length <= 160)
144
+ .nullish(),
145
+ marginStart: createValidatorSchema2(),
146
+ marginTop: createValidatorSchema2(),
147
+ marginXl: z
148
+ .string()
149
+ .refine((value) => Array.from(value).length <= 160)
150
+ .nullish(),
151
+ marginXxl: z
152
+ .string()
153
+ .refine((value) => Array.from(value).length <= 160)
154
+ .nullish(),
155
+ maxHeight: createValidatorSchema4(),
156
+ maxWidth: createValidatorSchema4(),
157
+ minHeight: createValidatorSchema4(),
158
+ minWidth: createValidatorSchema4(),
159
+ });
160
+ const createValidatorShape2 = () => ({
161
+ marginBottom: createValidatorSchema2(),
162
+ marginEnd: createValidatorSchema2(),
163
+ marginLg: z
164
+ .string()
165
+ .refine((value) => Array.from(value).length <= 160)
166
+ .nullish(),
167
+ marginMd: z
168
+ .string()
169
+ .refine((value) => Array.from(value).length <= 160)
170
+ .nullish(),
171
+ marginSm: z
172
+ .string()
173
+ .refine((value) => Array.from(value).length <= 160)
174
+ .nullish(),
175
+ marginStart: createValidatorSchema2(),
176
+ marginTop: createValidatorSchema2(),
177
+ marginXl: z
178
+ .string()
179
+ .refine((value) => Array.from(value).length <= 160)
180
+ .nullish(),
181
+ marginXxl: z
182
+ .string()
183
+ .refine((value) => Array.from(value).length <= 160)
184
+ .nullish(),
185
+ maxHeight: createValidatorSchema4(),
186
+ maxWidth: createValidatorSchema4(),
187
+ minHeight: createValidatorSchema4(),
188
+ minWidth: createValidatorSchema4(),
189
+ });
190
+ const createValidatorShape3 = () => ({
191
+ objectPosition: z.enum(['center', 'top', 'bottom', 'left', 'right']).nullish(),
192
+ opacity: z
193
+ .number()
194
+ .refine(Number.isInteger, { message: 'Expected integer' })
195
+ .gte(0)
196
+ .lte(100)
197
+ .nullish(),
198
+ overflow: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
199
+ overflowX: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
200
+ overflowY: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
201
+ paddingBottom: createValidatorSchema2(),
202
+ paddingEnd: createValidatorSchema2(),
203
+ paddingLg: z
204
+ .string()
205
+ .refine((value) => Array.from(value).length <= 160)
206
+ .nullish(),
207
+ paddingMd: z
208
+ .string()
209
+ .refine((value) => Array.from(value).length <= 160)
210
+ .nullish(),
211
+ paddingSm: z
212
+ .string()
213
+ .refine((value) => Array.from(value).length <= 160)
214
+ .nullish(),
215
+ paddingStart: createValidatorSchema2(),
216
+ paddingTop: createValidatorSchema2(),
217
+ paddingXl: z
218
+ .string()
219
+ .refine((value) => Array.from(value).length <= 160)
220
+ .nullish(),
221
+ paddingXxl: z
222
+ .string()
223
+ .refine((value) => Array.from(value).length <= 160)
224
+ .nullish(),
225
+ parentId: z
226
+ .string()
227
+ .refine((value) => Array.from(value).length >= 1)
228
+ .refine((value) => Array.from(value).length <= 100)
229
+ .nullish(),
230
+ });
231
+ const createValidatorShape4 = () => ({
232
+ overflow: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
233
+ overflowX: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
234
+ overflowY: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
235
+ paddingBottom: createValidatorSchema2(),
236
+ paddingEnd: createValidatorSchema2(),
237
+ paddingLg: z
238
+ .string()
239
+ .refine((value) => Array.from(value).length <= 160)
240
+ .nullish(),
241
+ paddingMd: z
242
+ .string()
243
+ .refine((value) => Array.from(value).length <= 160)
244
+ .nullish(),
245
+ paddingSm: z
246
+ .string()
247
+ .refine((value) => Array.from(value).length <= 160)
248
+ .nullish(),
249
+ paddingStart: createValidatorSchema2(),
250
+ paddingTop: createValidatorSchema2(),
251
+ paddingXl: z
252
+ .string()
253
+ .refine((value) => Array.from(value).length <= 160)
254
+ .nullish(),
255
+ paddingXxl: z
256
+ .string()
257
+ .refine((value) => Array.from(value).length <= 160)
258
+ .nullish(),
259
+ parentId: z
260
+ .string()
261
+ .refine((value) => Array.from(value).length >= 1)
262
+ .refine((value) => Array.from(value).length <= 100)
263
+ .nullish(),
264
+ });
265
+ const createValidatorShape5 = () => ({
266
+ lineHeight: z.enum(['1', 'sm', 'base', 'lg']).nullish(),
267
+ marginBottom: createValidatorSchema2(),
268
+ marginEnd: createValidatorSchema2(),
269
+ marginLg: z
270
+ .string()
271
+ .refine((value) => Array.from(value).length <= 160)
272
+ .nullish(),
273
+ marginMd: z
274
+ .string()
275
+ .refine((value) => Array.from(value).length <= 160)
276
+ .nullish(),
277
+ marginSm: z
278
+ .string()
279
+ .refine((value) => Array.from(value).length <= 160)
280
+ .nullish(),
281
+ marginStart: createValidatorSchema2(),
282
+ marginTop: createValidatorSchema2(),
283
+ marginXl: z
284
+ .string()
285
+ .refine((value) => Array.from(value).length <= 160)
286
+ .nullish(),
287
+ marginXxl: z
288
+ .string()
289
+ .refine((value) => Array.from(value).length <= 160)
290
+ .nullish(),
291
+ maxHeight: createValidatorSchema4(),
292
+ maxWidth: createValidatorSchema4(),
293
+ });
294
+ const createValidatorShape6 = () => ({
295
+ lineHeight: z.enum(['1', 'sm', 'base', 'lg']).nullish(),
296
+ marginBottom: createValidatorSchema2(),
297
+ marginEnd: createValidatorSchema2(),
298
+ marginLg: z
299
+ .string()
300
+ .refine((value) => Array.from(value).length <= 160)
301
+ .nullish(),
302
+ marginMd: z
303
+ .string()
304
+ .refine((value) => Array.from(value).length <= 160)
305
+ .nullish(),
306
+ marginSm: z
307
+ .string()
308
+ .refine((value) => Array.from(value).length <= 160)
309
+ .nullish(),
310
+ marginStart: createValidatorSchema2(),
311
+ marginTop: createValidatorSchema2(),
312
+ marginXl: z
313
+ .string()
314
+ .refine((value) => Array.from(value).length <= 160)
315
+ .nullish(),
316
+ marginXxl: z
317
+ .string()
318
+ .refine((value) => Array.from(value).length <= 160)
319
+ .nullish(),
320
+ });
321
+ const createValidatorShape7 = () => ({
322
+ paddingBottom: createValidatorSchema2(),
323
+ paddingEnd: createValidatorSchema2(),
324
+ paddingLg: z
325
+ .string()
326
+ .refine((value) => Array.from(value).length <= 160)
327
+ .nullish(),
328
+ paddingMd: z
329
+ .string()
330
+ .refine((value) => Array.from(value).length <= 160)
331
+ .nullish(),
332
+ paddingSm: z
333
+ .string()
334
+ .refine((value) => Array.from(value).length <= 160)
335
+ .nullish(),
336
+ paddingStart: createValidatorSchema2(),
337
+ paddingTop: createValidatorSchema2(),
338
+ paddingXl: z
339
+ .string()
340
+ .refine((value) => Array.from(value).length <= 160)
341
+ .nullish(),
342
+ paddingXxl: z
343
+ .string()
344
+ .refine((value) => Array.from(value).length <= 160)
345
+ .nullish(),
346
+ });
347
+ const createValidatorShape8 = () => ({
348
+ display: z
349
+ .enum(['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid'])
350
+ .nullish(),
351
+ displayHeading: z
352
+ .number()
353
+ .refine(Number.isInteger, { message: 'Expected integer' })
354
+ .gte(1)
355
+ .lte(6)
356
+ .nullish(),
357
+ displayLg: z
358
+ .enum(['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid'])
359
+ .nullish(),
360
+ displayMd: z
361
+ .enum(['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid'])
362
+ .nullish(),
363
+ displaySm: z
364
+ .enum(['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid'])
365
+ .nullish(),
366
+ displayXl: z
367
+ .enum(['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid'])
368
+ .nullish(),
369
+ displayXxl: z
370
+ .enum(['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid'])
371
+ .nullish(),
372
+ });
373
+ const createValidatorShape9 = () => ({
374
+ alignSelf: z.enum(['auto', 'start', 'end', 'center', 'baseline', 'stretch']).nullish(),
375
+ alignment: z.enum(['start', 'center', 'end']).nullish(),
376
+ ariaLabel: z
377
+ .string()
378
+ .refine((value) => Array.from(value).length <= 1000)
379
+ .nullish(),
380
+ background: createValidatorSchema19(),
381
+ border: z.enum(['all', 'top', 'bottom', 'start', 'end', 'none']).nullish(),
382
+ borderColor: createValidatorSchema14(),
383
+ borderWidth: z
384
+ .number()
385
+ .refine(Number.isInteger, { message: 'Expected integer' })
386
+ .gte(1)
387
+ .lte(5)
388
+ .nullish(),
389
+ });
390
+ const createValidatorShape10 = () => ({
391
+ ariaLabel: z
392
+ .string()
393
+ .refine((value) => Array.from(value).length <= 1000)
394
+ .nullish(),
395
+ background: createValidatorSchema19(),
396
+ border: z.enum(['all', 'top', 'bottom', 'start', 'end', 'none']).nullish(),
397
+ borderColor: createValidatorSchema14(),
398
+ borderWidth: z
399
+ .number()
400
+ .refine(Number.isInteger, { message: 'Expected integer' })
401
+ .gte(1)
402
+ .lte(5)
403
+ .nullish(),
404
+ colorMode: z.enum(['light', 'dark']).nullish(),
405
+ cssClasses: z
406
+ .string()
407
+ .refine((value) => Array.from(value).length <= 1024)
408
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
409
+ .nullish(),
410
+ });
411
+ const createValidatorShape11 = () => ({
412
+ background: createValidatorSchema19(),
413
+ border: z.enum(['all', 'top', 'bottom', 'start', 'end', 'none']).nullish(),
414
+ borderColor: createValidatorSchema14(),
415
+ borderWidth: z
416
+ .number()
417
+ .refine(Number.isInteger, { message: 'Expected integer' })
418
+ .gte(1)
419
+ .lte(5)
420
+ .nullish(),
421
+ });
422
+ const createValidatorShape12 = () => ({
423
+ textColor: z
424
+ .enum([
425
+ 'primary',
426
+ 'secondary',
427
+ 'success',
428
+ 'danger',
429
+ 'warning',
430
+ 'info',
431
+ 'light',
432
+ 'dark',
433
+ 'body',
434
+ 'muted',
435
+ 'white',
436
+ ])
437
+ .nullish(),
438
+ textDecoration: z.enum(['none', 'underline', 'line-through']).nullish(),
439
+ textTransform: z.enum(['lowercase', 'uppercase', 'capitalize']).nullish(),
440
+ textWrap: z.enum(['wrap', 'nowrap', 'break']).nullish(),
441
+ });
442
+ const createValidatorShape13 = () => ({
443
+ flexGrow: z.boolean().nullish(),
444
+ flexShrink: z.boolean().nullish(),
445
+ fontSize: z
446
+ .number()
447
+ .refine(Number.isInteger, { message: 'Expected integer' })
448
+ .gte(1)
449
+ .lte(6)
450
+ .nullish(),
451
+ fontWeight: z.enum(['light', 'normal', 'medium', 'semibold', 'bold']).nullish(),
452
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
453
+ id: z
454
+ .string()
455
+ .refine((value) => Array.from(value).length >= 1)
456
+ .refine((value) => Array.from(value).length <= 100),
457
+ });
458
+ const createValidatorShape14 = () => ({
459
+ fontSize: z
460
+ .number()
461
+ .refine(Number.isInteger, { message: 'Expected integer' })
462
+ .gte(1)
463
+ .lte(6)
464
+ .nullish(),
465
+ fontWeight: z.enum(['light', 'normal', 'medium', 'semibold', 'bold']).nullish(),
466
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
467
+ id: z
468
+ .string()
469
+ .refine((value) => Array.from(value).length >= 1)
470
+ .refine((value) => Array.from(value).length <= 100),
471
+ });
472
+ const createValidatorShape15 = () => ({
473
+ flexGrow: z.boolean().nullish(),
474
+ flexShrink: z.boolean().nullish(),
475
+ fontSize: z
476
+ .number()
477
+ .refine(Number.isInteger, { message: 'Expected integer' })
478
+ .gte(1)
479
+ .lte(6)
480
+ .nullish(),
481
+ fontWeight: z.enum(['light', 'normal', 'medium', 'semibold', 'bold']).nullish(),
482
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
483
+ });
484
+ const createValidatorShape16 = () => ({
485
+ maxHeight: createValidatorSchema4(),
486
+ maxWidth: createValidatorSchema4(),
487
+ });
488
+ const createValidatorShape17 = () => ({
489
+ minHeight: createValidatorSchema4(),
490
+ minWidth: createValidatorSchema4(),
491
+ });
492
+ const createValidatorShape18 = () => ({
493
+ overflow: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
494
+ overflowX: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
495
+ overflowY: z.enum(['visible', 'hidden', 'auto', 'scroll']).nullish(),
496
+ });
497
+ const createValidatorShape19 = () => ({
498
+ fontSize: z
499
+ .number()
500
+ .refine(Number.isInteger, { message: 'Expected integer' })
501
+ .gte(1)
502
+ .lte(6)
503
+ .nullish(),
504
+ fontWeight: z.enum(['light', 'normal', 'medium', 'semibold', 'bold']).nullish(),
505
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
506
+ });
507
+ const createValidatorShape20 = () => ({
508
+ flexGrow: z.boolean().nullish(),
509
+ flexShrink: z.boolean().nullish(),
510
+ fontSize: z
511
+ .number()
512
+ .refine(Number.isInteger, { message: 'Expected integer' })
513
+ .gte(1)
514
+ .lte(6)
515
+ .nullish(),
516
+ fontWeight: z.enum(['light', 'normal', 'medium', 'semibold', 'bold']).nullish(),
517
+ });
518
+ const createValidatorShape21 = () => ({
519
+ alignSelf: z.enum(['auto', 'start', 'end', 'center', 'baseline', 'stretch']).nullish(),
520
+ alignment: z.enum(['start', 'center', 'end']).nullish(),
521
+ ariaLabel: z
522
+ .string()
523
+ .refine((value) => Array.from(value).length <= 1000)
524
+ .nullish(),
525
+ });
526
+ const createValidatorShape22 = () => ({
527
+ rounded: z.enum(['0', '1', '2', '3', '4', '5', 'circle', 'pill']).nullish(),
528
+ shadow: z.enum(['none', 'sm', 'normal', 'lg']).nullish(),
529
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
530
+ });
531
+ const createValidatorShape23 = () => ({
532
+ objectPosition: z.enum(['center', 'top', 'bottom', 'left', 'right']).nullish(),
533
+ opacity: z
534
+ .number()
535
+ .refine(Number.isInteger, { message: 'Expected integer' })
536
+ .gte(0)
537
+ .lte(100)
538
+ .nullish(),
539
+ });
540
+ const createValidatorShape24 = () => ({
541
+ rounded: z.enum(['0', '1', '2', '3', '4', '5', 'circle', 'pill']).nullish(),
542
+ shadow: z.enum(['none', 'sm', 'normal', 'lg']).nullish(),
543
+ });
544
+ const createValidatorShape25 = () => ({
545
+ alignSelf: z.enum(['auto', 'start', 'end', 'center', 'baseline', 'stretch']).nullish(),
546
+ alignment: z.enum(['start', 'center', 'end']).nullish(),
547
+ });
548
+ const createValidatorShape26 = () => ({
549
+ verticalAlign: z.enum(['baseline', 'top', 'middle', 'bottom']).nullish(),
550
+ widthValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
551
+ });
552
+ const createValidatorShape27 = () => ({
553
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
554
+ id: z
555
+ .string()
556
+ .refine((value) => Array.from(value).length >= 1)
557
+ .refine((value) => Array.from(value).length <= 100),
558
+ });
559
+ const createValidatorShape28 = () => ({
560
+ colorMode: z.enum(['light', 'dark']).nullish(),
561
+ cssClasses: z
562
+ .string()
563
+ .refine((value) => Array.from(value).length <= 1024)
564
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
565
+ .nullish(),
566
+ });
567
+ const createValidatorShape29 = () => ({
568
+ shadow: z.enum(['none', 'sm', 'normal', 'lg']).nullish(),
569
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
570
+ });
571
+ const createValidatorShape48 = () => ({
572
+ captionsLabel: z
573
+ .string()
574
+ .refine((value) => Array.from(value).length <= 2000)
575
+ .optional()
576
+ .default('Captions'),
577
+ captionsLanguage: z
578
+ .string()
579
+ .refine((value) => Array.from(value).length >= 1)
580
+ .refine((value) => Array.from(value).length <= 100)
581
+ .optional()
582
+ .default('en'),
583
+ captionsSrc: z
584
+ .string()
585
+ .refine((value) => Array.from(value).length <= 2048)
586
+ .optional()
587
+ .default(''),
588
+ colorMode: z.enum(['light', 'dark']).nullish(),
589
+ controls: z.boolean().optional().default(true),
590
+ cssClasses: z
591
+ .string()
592
+ .refine((value) => Array.from(value).length <= 1024)
593
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
594
+ .nullish(),
595
+ });
596
+ const createValidatorShape54 = () => ({
597
+ size: z.enum(['sm', 'lg']).nullish(),
598
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
599
+ targetId: z
600
+ .string()
601
+ .refine((value) => Array.from(value).length >= 1)
602
+ .refine((value) => Array.from(value).length <= 100)
603
+ .nullish(),
604
+ targetKey: z
605
+ .string()
606
+ .refine((value) => Array.from(value).length <= 200)
607
+ .nullish(),
608
+ text: z
609
+ .string()
610
+ .refine((value) => Array.from(value).length <= 2000)
611
+ .optional()
612
+ .default('Button'),
613
+ });
614
+ const createValidatorShape58 = () => ({
615
+ href: z
616
+ .string()
617
+ .refine((value) => Array.from(value).length <= 2048)
618
+ .nullish(),
619
+ id: z
620
+ .string()
621
+ .refine((value) => Array.from(value).length >= 1)
622
+ .refine((value) => Array.from(value).length <= 100),
623
+ });
624
+ const createValidatorShape63 = () => ({
625
+ xl: z
626
+ .number()
627
+ .refine(Number.isInteger, { message: 'Expected integer' })
628
+ .gte(1)
629
+ .lte(12)
630
+ .nullish(),
631
+ xs: z
632
+ .number()
633
+ .refine(Number.isInteger, { message: 'Expected integer' })
634
+ .gte(1)
635
+ .lte(12)
636
+ .optional()
637
+ .default(6),
638
+ xxl: z
639
+ .number()
640
+ .refine(Number.isInteger, { message: 'Expected integer' })
641
+ .gte(1)
642
+ .lte(12)
643
+ .nullish(),
644
+ });
645
+ const createValidatorShape65 = () => ({
646
+ rounded: z.enum(['0', '1', '2', '3', '4', '5', 'circle', 'pill']).nullish(),
647
+ rowSpan: z
648
+ .number()
649
+ .refine(Number.isInteger, { message: 'Expected integer' })
650
+ .gte(1)
651
+ .lte(100)
652
+ .optional()
653
+ .default(1),
654
+ });
655
+ const createValidatorShape66 = () => ({
656
+ alt: z.string().refine((value) => Array.from(value).length <= 1000),
657
+ ariaLabel: z
658
+ .string()
659
+ .refine((value) => Array.from(value).length <= 1000)
660
+ .nullish(),
661
+ aspectRatio: z.enum(['1x1', '4x3', '16x9', '21x9']).nullish(),
662
+ });
663
+ const createValidatorShape69 = () => ({
664
+ action: z
665
+ .enum([
666
+ 'none',
667
+ 'link',
668
+ 'toggle',
669
+ 'show',
670
+ 'hide',
671
+ 'select-tab',
672
+ 'next-slide',
673
+ 'previous-slide',
674
+ ])
675
+ .optional()
676
+ .default('none'),
677
+ active: z.boolean().nullish(),
678
+ });
679
+ const createValidatorShape70 = () => ({
680
+ sm: z
681
+ .number()
682
+ .refine(Number.isInteger, { message: 'Expected integer' })
683
+ .gte(1)
684
+ .lte(12)
685
+ .nullish(),
686
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
687
+ });
688
+ const createValidatorShape74 = () => ({
689
+ lineHeight: z.enum(['1', 'sm', 'base', 'lg']).nullish(),
690
+ loop: z.boolean().optional().default(false),
691
+ });
692
+ export const zAccordionItemProps = z
693
+ .object({
694
+ ...createValidatorShape9(),
695
+ ...createValidatorShape28(),
696
+ ...createValidatorShape8(),
697
+ eventKey: z.string().refine((value) => Array.from(value).length <= 200),
698
+ ...createValidatorShape13(),
699
+ ...createValidatorShape0(),
700
+ ...createValidatorShape22(),
701
+ ...createValidatorShape12(),
702
+ title: z
703
+ .string()
704
+ .refine((value) => Array.from(value).length <= 2000)
705
+ .optional()
706
+ .default(''),
707
+ ...createValidatorShape26(),
708
+ })
709
+ .strict();
710
+ export const zAccordionProps = z
711
+ .object({
712
+ ...createValidatorShape25(),
713
+ alwaysOpen: z.boolean().optional().default(false),
714
+ ...createValidatorShape10(),
715
+ defaultActiveKey: z
716
+ .string()
717
+ .refine((value) => Array.from(value).length <= 200)
718
+ .optional()
719
+ .default(''),
720
+ ...createValidatorShape8(),
721
+ flexGrow: z.boolean().nullish(),
722
+ flexShrink: z.boolean().nullish(),
723
+ flush: z.boolean().optional().default(false),
724
+ ...createValidatorShape14(),
725
+ ...createValidatorShape0(),
726
+ ...createValidatorShape22(),
727
+ ...createValidatorShape12(),
728
+ ...createValidatorShape26(),
729
+ })
730
+ .strict();
731
+ export const zAlertProps = z
732
+ .object({
733
+ ...createValidatorShape9(),
734
+ ...createValidatorShape28(),
735
+ dismissible: z.boolean().optional().default(false),
736
+ ...createValidatorShape8(),
737
+ ...createValidatorShape13(),
738
+ ...createValidatorShape0(),
739
+ ...createValidatorShape22(),
740
+ ...createValidatorShape12(),
741
+ variant: z
742
+ .enum(['primary', 'secondary', 'success', 'info', 'warning', 'danger', 'light', 'dark'])
743
+ .optional()
744
+ .default('info'),
745
+ ...createValidatorShape26(),
746
+ })
747
+ .strict();
748
+ export const zAudioProps = z
749
+ .object({
750
+ ...createValidatorShape21(),
751
+ autoPlay: z.boolean().optional().default(false),
752
+ ...createValidatorShape11(),
753
+ ...createValidatorShape48(),
754
+ ...createValidatorShape8(),
755
+ ...createValidatorShape13(),
756
+ ...createValidatorShape74(),
757
+ ...createValidatorShape2(),
758
+ muted: z.boolean().optional().default(false),
759
+ ...createValidatorShape3(),
760
+ ...createValidatorShape22(),
761
+ src: z
762
+ .string()
763
+ .refine((value) => Array.from(value).length <= 2048)
764
+ .optional()
765
+ .default(''),
766
+ ...createValidatorShape12(),
767
+ ...createValidatorShape26(),
768
+ })
769
+ .strict();
770
+ export const zBadgeProps = z
771
+ .object({
772
+ ...createValidatorShape9(),
773
+ ...createValidatorShape28(),
774
+ ...createValidatorShape8(),
775
+ element: z.enum(['div', 'span']).optional().default('span'),
776
+ ...createValidatorShape13(),
777
+ ...createValidatorShape0(),
778
+ pill: z.boolean().optional().default(false),
779
+ ...createValidatorShape22(),
780
+ text: z.string().refine((value) => Array.from(value).length <= 2000),
781
+ ...createValidatorShape12(),
782
+ variant: createValidatorSchema21(),
783
+ ...createValidatorShape26(),
784
+ })
785
+ .strict();
786
+ export const zBootstrapProps = z
787
+ .object({
788
+ ...createValidatorShape9(),
789
+ ...createValidatorShape28(),
790
+ ...createValidatorShape8(),
791
+ ...createValidatorShape13(),
792
+ ...createValidatorShape0(),
793
+ ...createValidatorShape22(),
794
+ ...createValidatorShape12(),
795
+ ...createValidatorShape26(),
796
+ })
797
+ .strict();
798
+ export const zBreadcrumbItemProps = z
799
+ .object({
800
+ active: z.boolean().optional().default(false),
801
+ ...createValidatorShape9(),
802
+ ...createValidatorShape28(),
803
+ ...createValidatorShape8(),
804
+ ...createValidatorShape15(),
805
+ ...createValidatorShape58(),
806
+ ...createValidatorShape0(),
807
+ ...createValidatorShape22(),
808
+ text: z
809
+ .string()
810
+ .refine((value) => Array.from(value).length <= 2000)
811
+ .optional()
812
+ .default(''),
813
+ ...createValidatorShape12(),
814
+ ...createValidatorShape26(),
815
+ })
816
+ .strict();
817
+ export const zBreadcrumbProps = z
818
+ .object({
819
+ ...createValidatorShape9(),
820
+ ...createValidatorShape28(),
821
+ ...createValidatorShape8(),
822
+ ...createValidatorShape13(),
823
+ ...createValidatorShape0(),
824
+ ...createValidatorShape22(),
825
+ ...createValidatorShape12(),
826
+ ...createValidatorShape26(),
827
+ })
828
+ .strict();
829
+ export const zButtonGroupProps = z
830
+ .object({
831
+ ...createValidatorShape9(),
832
+ ...createValidatorShape28(),
833
+ ...createValidatorShape8(),
834
+ ...createValidatorShape13(),
835
+ ...createValidatorShape0(),
836
+ ...createValidatorShape24(),
837
+ size: z.enum(['sm', 'lg']).nullish(),
838
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
839
+ ...createValidatorShape12(),
840
+ vertical: z.boolean().optional().default(false),
841
+ ...createValidatorShape26(),
842
+ })
843
+ .strict();
844
+ export const zButtonProps = z
845
+ .object({
846
+ ...createValidatorShape69(),
847
+ ...createValidatorShape9(),
848
+ ...createValidatorShape28(),
849
+ disabled: z.boolean().optional().default(false),
850
+ ...createValidatorShape8(),
851
+ ...createValidatorShape15(),
852
+ ...createValidatorShape58(),
853
+ ...createValidatorShape1(),
854
+ newWindow: z.boolean().optional().default(false),
855
+ ...createValidatorShape23(),
856
+ outline: z.boolean().optional().default(false),
857
+ ...createValidatorShape4(),
858
+ ...createValidatorShape24(),
859
+ ...createValidatorShape54(),
860
+ ...createValidatorShape12(),
861
+ variant: createValidatorSchema25(),
862
+ ...createValidatorShape26(),
863
+ })
864
+ .strict();
865
+ export const zCardImageProps = z
866
+ .object({
867
+ ...createValidatorShape25(),
868
+ ...createValidatorShape66(),
869
+ ...createValidatorShape11(),
870
+ ...createValidatorShape28(),
871
+ ...createValidatorShape8(),
872
+ ...createValidatorShape13(),
873
+ ...createValidatorShape1(),
874
+ objectFit: z.enum(['contain', 'cover', 'fill', 'scale-down', 'none']).nullish(),
875
+ ...createValidatorShape3(),
876
+ position: z.enum(['top', 'bottom']).optional().default('top'),
877
+ ...createValidatorShape22(),
878
+ src: z.string().refine((value) => Array.from(value).length <= 2048),
879
+ ...createValidatorShape12(),
880
+ thumbnail: z.boolean().nullish(),
881
+ ...createValidatorShape26(),
882
+ })
883
+ .strict();
884
+ export const zCardLinkProps = z
885
+ .object({
886
+ ...createValidatorShape9(),
887
+ ...createValidatorShape28(),
888
+ ...createValidatorShape8(),
889
+ ...createValidatorShape15(),
890
+ href: z
891
+ .string()
892
+ .refine((value) => Array.from(value).length >= 1)
893
+ .refine((value) => Array.from(value).length <= 2048),
894
+ id: z
895
+ .string()
896
+ .refine((value) => Array.from(value).length >= 1)
897
+ .refine((value) => Array.from(value).length <= 100),
898
+ ...createValidatorShape0(),
899
+ ...createValidatorShape22(),
900
+ text: z.string().refine((value) => Array.from(value).length <= 2000),
901
+ ...createValidatorShape12(),
902
+ ...createValidatorShape26(),
903
+ })
904
+ .strict();
905
+ export const zCardSubtitleProps = z
906
+ .object({
907
+ ...createValidatorShape9(),
908
+ ...createValidatorShape28(),
909
+ ...createValidatorShape8(),
910
+ element: z.enum(['h1', 'h2', 'h3', 'h4', 'h5', 'h6']).optional().default('h6'),
911
+ ...createValidatorShape20(),
912
+ format: z.enum(['plain', 'html']),
913
+ ...createValidatorShape27(),
914
+ ...createValidatorShape0(),
915
+ ...createValidatorShape22(),
916
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
917
+ ...createValidatorShape12(),
918
+ ...createValidatorShape26(),
919
+ })
920
+ .strict();
921
+ export const zCardTitleProps = z
922
+ .object({
923
+ ...createValidatorShape9(),
924
+ ...createValidatorShape28(),
925
+ ...createValidatorShape8(),
926
+ element: z.enum(['h1', 'h2', 'h3', 'h4', 'h5', 'h6']).optional().default('h5'),
927
+ ...createValidatorShape20(),
928
+ format: z.enum(['plain', 'html']),
929
+ ...createValidatorShape27(),
930
+ ...createValidatorShape0(),
931
+ ...createValidatorShape22(),
932
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
933
+ ...createValidatorShape12(),
934
+ ...createValidatorShape26(),
935
+ })
936
+ .strict();
937
+ export const zCarouselItemProps = z
938
+ .object({
939
+ ...createValidatorShape9(),
940
+ caption: z
941
+ .string()
942
+ .refine((value) => Array.from(value).length <= 2000)
943
+ .optional()
944
+ .default(''),
945
+ ...createValidatorShape28(),
946
+ ...createValidatorShape8(),
947
+ eventKey: z.string().refine((value) => Array.from(value).length <= 200),
948
+ ...createValidatorShape13(),
949
+ ...createValidatorShape0(),
950
+ ...createValidatorShape22(),
951
+ ...createValidatorShape12(),
952
+ title: z
953
+ .string()
954
+ .refine((value) => Array.from(value).length <= 2000)
955
+ .optional()
956
+ .default(''),
957
+ ...createValidatorShape26(),
958
+ })
959
+ .strict();
960
+ export const zCarouselProps = z
961
+ .object({
962
+ ...createValidatorShape9(),
963
+ colorMode: z.enum(['light', 'dark']).nullish(),
964
+ controls: z.boolean().optional().default(true),
965
+ cssClasses: z
966
+ .string()
967
+ .refine((value) => Array.from(value).length <= 1024)
968
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
969
+ .nullish(),
970
+ defaultActiveKey: z
971
+ .string()
972
+ .refine((value) => Array.from(value).length <= 200)
973
+ .optional()
974
+ .default(''),
975
+ ...createValidatorShape8(),
976
+ fade: z.boolean().optional().default(false),
977
+ ...createValidatorShape13(),
978
+ indicators: z.boolean().optional().default(true),
979
+ interval: z
980
+ .number()
981
+ .refine(Number.isInteger, { message: 'Expected integer' })
982
+ .gte(0)
983
+ .lte(120000)
984
+ .optional()
985
+ .default(0),
986
+ ...createValidatorShape0(),
987
+ ...createValidatorShape22(),
988
+ ...createValidatorShape12(),
989
+ ...createValidatorShape26(),
990
+ })
991
+ .strict();
992
+ export const zCloseButtonProps = z
993
+ .object({
994
+ ...createValidatorShape9(),
995
+ ...createValidatorShape28(),
996
+ disabled: z.boolean().optional().default(false),
997
+ ...createValidatorShape8(),
998
+ ...createValidatorShape13(),
999
+ label: z
1000
+ .string()
1001
+ .refine((value) => Array.from(value).length >= 1)
1002
+ .refine((value) => Array.from(value).length <= 200)
1003
+ .optional()
1004
+ .default('Close'),
1005
+ ...createValidatorShape0(),
1006
+ ...createValidatorShape22(),
1007
+ ...createValidatorShape12(),
1008
+ ...createValidatorShape26(),
1009
+ })
1010
+ .strict();
1011
+ export const zContainerProps = z
1012
+ .object({
1013
+ ...createValidatorShape9(),
1014
+ ...createValidatorShape28(),
1015
+ ...createValidatorShape8(),
1016
+ flexGrow: z.boolean().nullish(),
1017
+ flexShrink: z.boolean().nullish(),
1018
+ fluid: z
1019
+ .union([z.boolean(), z.enum(['sm', 'md', 'lg', 'xl', 'xxl'])])
1020
+ .optional()
1021
+ .default(false),
1022
+ ...createValidatorShape14(),
1023
+ ...createValidatorShape1(),
1024
+ ...createValidatorShape23(),
1025
+ ...createValidatorShape18(),
1026
+ padding: z
1027
+ .number()
1028
+ .refine(Number.isInteger, { message: 'Expected integer' })
1029
+ .gte(0)
1030
+ .lte(5)
1031
+ .optional()
1032
+ .default(3),
1033
+ ...createValidatorShape7(),
1034
+ parentId: z
1035
+ .string()
1036
+ .refine((value) => Array.from(value).length >= 1)
1037
+ .refine((value) => Array.from(value).length <= 100)
1038
+ .nullish(),
1039
+ ...createValidatorShape22(),
1040
+ ...createValidatorShape12(),
1041
+ ...createValidatorShape26(),
1042
+ })
1043
+ .strict();
1044
+ export const zContentListProps = z
1045
+ .object({
1046
+ ...createValidatorShape9(),
1047
+ ...createValidatorShape28(),
1048
+ ...createValidatorShape8(),
1049
+ ...createValidatorShape13(),
1050
+ inline: z.boolean().optional().default(false),
1051
+ ...createValidatorShape1(),
1052
+ ...createValidatorShape23(),
1053
+ ordered: z.boolean().optional().default(false),
1054
+ ...createValidatorShape4(),
1055
+ ...createValidatorShape22(),
1056
+ ...createValidatorShape12(),
1057
+ unstyled: z.boolean().optional().default(false),
1058
+ ...createValidatorShape26(),
1059
+ })
1060
+ .strict();
1061
+ export const zDividerProps = z
1062
+ .object({
1063
+ ...createValidatorShape9(),
1064
+ ...createValidatorShape28(),
1065
+ direction: z.enum(['horizontal', 'vertical']).optional().default('horizontal'),
1066
+ ...createValidatorShape8(),
1067
+ ...createValidatorShape13(),
1068
+ ...createValidatorShape0(),
1069
+ ...createValidatorShape22(),
1070
+ ...createValidatorShape12(),
1071
+ ...createValidatorShape26(),
1072
+ })
1073
+ .strict();
1074
+ export const zDropdownItemProps = z
1075
+ .object({
1076
+ ...createValidatorShape69(),
1077
+ ...createValidatorShape9(),
1078
+ ...createValidatorShape28(),
1079
+ disabled: z.boolean().optional().default(false),
1080
+ ...createValidatorShape8(),
1081
+ eventKey: z
1082
+ .string()
1083
+ .refine((value) => Array.from(value).length <= 200)
1084
+ .nullish(),
1085
+ ...createValidatorShape15(),
1086
+ ...createValidatorShape58(),
1087
+ ...createValidatorShape1(),
1088
+ newWindow: z.boolean().optional().default(false),
1089
+ ...createValidatorShape23(),
1090
+ outline: z.boolean().optional().default(false),
1091
+ ...createValidatorShape4(),
1092
+ ...createValidatorShape24(),
1093
+ ...createValidatorShape54(),
1094
+ ...createValidatorShape12(),
1095
+ variant: createValidatorSchema25(),
1096
+ ...createValidatorShape26(),
1097
+ })
1098
+ .strict();
1099
+ export const zDropdownProps = z
1100
+ .object({
1101
+ ...createValidatorShape9(),
1102
+ ...createValidatorShape28(),
1103
+ ...createValidatorShape8(),
1104
+ ...createValidatorShape13(),
1105
+ ...createValidatorShape1(),
1106
+ nav: z.boolean().nullish(),
1107
+ ...createValidatorShape3(),
1108
+ ...createValidatorShape24(),
1109
+ size: z.enum(['sm', 'lg']).nullish(),
1110
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
1111
+ split: z.boolean().nullish(),
1112
+ text: z
1113
+ .string()
1114
+ .refine((value) => Array.from(value).length <= 2000)
1115
+ .optional()
1116
+ .default('Options'),
1117
+ ...createValidatorShape12(),
1118
+ variant: createValidatorSchema20(),
1119
+ ...createValidatorShape26(),
1120
+ })
1121
+ .strict();
1122
+ export const zEmbedProps = z
1123
+ .object({
1124
+ ...createValidatorShape25(),
1125
+ allowFullScreen: z.boolean().optional().default(true),
1126
+ ...createValidatorShape10(),
1127
+ ...createValidatorShape8(),
1128
+ ...createValidatorShape13(),
1129
+ ...createValidatorShape0(),
1130
+ ...createValidatorShape22(),
1131
+ src: z
1132
+ .string()
1133
+ .refine((value) => Array.from(value).length <= 2048)
1134
+ .optional()
1135
+ .default(''),
1136
+ ...createValidatorShape12(),
1137
+ title: z
1138
+ .string()
1139
+ .refine((value) => Array.from(value).length <= 2000)
1140
+ .optional()
1141
+ .default(''),
1142
+ ...createValidatorShape26(),
1143
+ })
1144
+ .strict();
1145
+ export const zFormLabelProps = z
1146
+ .object({
1147
+ ...createValidatorShape9(),
1148
+ ...createValidatorShape28(),
1149
+ ...createValidatorShape8(),
1150
+ ...createValidatorShape20(),
1151
+ format: z.enum(['plain', 'html']),
1152
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
1153
+ htmlFor: z
1154
+ .string()
1155
+ .refine((value) => Array.from(value).length >= 1)
1156
+ .refine((value) => Array.from(value).length <= 100)
1157
+ .nullish(),
1158
+ id: z
1159
+ .string()
1160
+ .refine((value) => Array.from(value).length >= 1)
1161
+ .refine((value) => Array.from(value).length <= 100),
1162
+ ...createValidatorShape0(),
1163
+ ...createValidatorShape22(),
1164
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
1165
+ ...createValidatorShape12(),
1166
+ ...createValidatorShape26(),
1167
+ })
1168
+ .strict();
1169
+ export const zGroupProps = z
1170
+ .object({
1171
+ ...createValidatorShape9(),
1172
+ ...createValidatorShape28(),
1173
+ ...createValidatorShape8(),
1174
+ element: z
1175
+ .enum(['div', 'section', 'article', 'aside', 'form', 'fieldset', 'nav', 'ul', 'li'])
1176
+ .optional()
1177
+ .default('div'),
1178
+ ...createValidatorShape13(),
1179
+ ...createValidatorShape0(),
1180
+ ...createValidatorShape22(),
1181
+ ...createValidatorShape12(),
1182
+ ...createValidatorShape26(),
1183
+ })
1184
+ .strict();
1185
+ export const zInputGroupProps = z
1186
+ .object({
1187
+ ...createValidatorShape9(),
1188
+ ...createValidatorShape28(),
1189
+ ...createValidatorShape8(),
1190
+ ...createValidatorShape13(),
1191
+ ...createValidatorShape0(),
1192
+ ...createValidatorShape24(),
1193
+ size: z.enum(['sm', 'lg']).nullish(),
1194
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
1195
+ ...createValidatorShape12(),
1196
+ ...createValidatorShape26(),
1197
+ })
1198
+ .strict();
1199
+ export const zListGroupItemProps = z
1200
+ .object({
1201
+ active: z.boolean().optional().default(false),
1202
+ ...createValidatorShape9(),
1203
+ ...createValidatorShape28(),
1204
+ disabled: z.boolean().optional().default(false),
1205
+ ...createValidatorShape8(),
1206
+ ...createValidatorShape13(),
1207
+ ...createValidatorShape0(),
1208
+ ...createValidatorShape22(),
1209
+ ...createValidatorShape12(),
1210
+ variant: createValidatorSchema14(),
1211
+ ...createValidatorShape26(),
1212
+ })
1213
+ .strict();
1214
+ export const zListGroupProps = z
1215
+ .object({
1216
+ ...createValidatorShape9(),
1217
+ ...createValidatorShape28(),
1218
+ ...createValidatorShape8(),
1219
+ flexGrow: z.boolean().nullish(),
1220
+ flexShrink: z.boolean().nullish(),
1221
+ flush: z.boolean().optional().default(false),
1222
+ ...createValidatorShape19(),
1223
+ horizontal: z.boolean().optional().default(false),
1224
+ horizontalBreakpoint: z.enum(['sm', 'md', 'lg', 'xl', 'xxl']).nullish(),
1225
+ id: z
1226
+ .string()
1227
+ .refine((value) => Array.from(value).length >= 1)
1228
+ .refine((value) => Array.from(value).length <= 100),
1229
+ ...createValidatorShape1(),
1230
+ numbered: z.boolean().optional().default(false),
1231
+ ...createValidatorShape3(),
1232
+ ...createValidatorShape22(),
1233
+ ...createValidatorShape12(),
1234
+ ...createValidatorShape26(),
1235
+ })
1236
+ .strict();
1237
+ export const zModalProps = z
1238
+ .object({
1239
+ ...createValidatorShape9(),
1240
+ centered: z.boolean().optional().default(true),
1241
+ closeButton: z.boolean().optional().default(true),
1242
+ ...createValidatorShape28(),
1243
+ defaultOpen: z.boolean().optional().default(false),
1244
+ ...createValidatorShape8(),
1245
+ ...createValidatorShape13(),
1246
+ inline: z.boolean().nullish(),
1247
+ ...createValidatorShape0(),
1248
+ rounded: z.enum(['0', '1', '2', '3', '4', '5', 'circle', 'pill']).nullish(),
1249
+ scrollable: z.boolean().optional().default(true),
1250
+ shadow: z.enum(['none', 'sm', 'normal', 'lg']).nullish(),
1251
+ size: z.enum(['sm', 'lg', 'xl', 'fullscreen']).optional().default('lg'),
1252
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
1253
+ ...createValidatorShape12(),
1254
+ title: z
1255
+ .string()
1256
+ .refine((value) => Array.from(value).length <= 2000)
1257
+ .optional()
1258
+ .default(''),
1259
+ ...createValidatorShape26(),
1260
+ })
1261
+ .strict();
1262
+ export const zNavbarProps = z
1263
+ .object({
1264
+ ...createValidatorShape9(),
1265
+ ...createValidatorShape28(),
1266
+ ...createValidatorShape8(),
1267
+ expand: z.enum(['sm', 'md', 'lg', 'xl', 'xxl']).optional().default('lg'),
1268
+ ...createValidatorShape13(),
1269
+ ...createValidatorShape0(),
1270
+ ...createValidatorShape22(),
1271
+ ...createValidatorShape12(),
1272
+ ...createValidatorShape26(),
1273
+ })
1274
+ .strict();
1275
+ export const zNavigationLinkProps = z
1276
+ .object({
1277
+ active: z.boolean().optional().default(false),
1278
+ ...createValidatorShape9(),
1279
+ ...createValidatorShape28(),
1280
+ disabled: z.boolean().optional().default(false),
1281
+ ...createValidatorShape8(),
1282
+ eventKey: z
1283
+ .string()
1284
+ .refine((value) => Array.from(value).length <= 200)
1285
+ .nullish(),
1286
+ ...createValidatorShape15(),
1287
+ href: z
1288
+ .string()
1289
+ .refine((value) => Array.from(value).length <= 2048)
1290
+ .optional()
1291
+ .default('#'),
1292
+ id: z
1293
+ .string()
1294
+ .refine((value) => Array.from(value).length >= 1)
1295
+ .refine((value) => Array.from(value).length <= 100),
1296
+ ...createValidatorShape0(),
1297
+ ...createValidatorShape22(),
1298
+ text: z
1299
+ .string()
1300
+ .refine((value) => Array.from(value).length <= 2000)
1301
+ .optional()
1302
+ .default('Link'),
1303
+ ...createValidatorShape12(),
1304
+ ...createValidatorShape26(),
1305
+ })
1306
+ .strict();
1307
+ export const zNavigationProps = z
1308
+ .object({
1309
+ ...createValidatorShape9(),
1310
+ ...createValidatorShape28(),
1311
+ defaultActiveKey: z
1312
+ .string()
1313
+ .refine((value) => Array.from(value).length <= 200)
1314
+ .optional()
1315
+ .default(''),
1316
+ ...createValidatorShape8(),
1317
+ ...createValidatorShape13(),
1318
+ ...createValidatorShape1(),
1319
+ navbar: z.boolean().optional().default(false),
1320
+ ...createValidatorShape3(),
1321
+ ...createValidatorShape22(),
1322
+ ...createValidatorShape12(),
1323
+ variant: z.enum(['tabs', 'pills', 'underline']).nullish(),
1324
+ vertical: z.boolean().optional().default(false),
1325
+ ...createValidatorShape26(),
1326
+ })
1327
+ .strict();
1328
+ export const zOffcanvasProps = z
1329
+ .object({
1330
+ ...createValidatorShape21(),
1331
+ backdrop: z.boolean().optional().default(true),
1332
+ ...createValidatorShape11(),
1333
+ closeButton: z.boolean().optional().default(true),
1334
+ ...createValidatorShape28(),
1335
+ defaultOpen: z.boolean().optional().default(false),
1336
+ ...createValidatorShape8(),
1337
+ ...createValidatorShape13(),
1338
+ ...createValidatorShape0(),
1339
+ placement: z.enum(['start', 'end', 'top', 'bottom']).optional().default('end'),
1340
+ ...createValidatorShape22(),
1341
+ ...createValidatorShape12(),
1342
+ title: z
1343
+ .string()
1344
+ .refine((value) => Array.from(value).length <= 2000)
1345
+ .optional()
1346
+ .default(''),
1347
+ ...createValidatorShape26(),
1348
+ })
1349
+ .strict();
1350
+ export const zPaginationItemProps = z
1351
+ .object({
1352
+ active: z.boolean().optional().default(false),
1353
+ ...createValidatorShape9(),
1354
+ ...createValidatorShape28(),
1355
+ disabled: z.boolean().optional().default(false),
1356
+ ...createValidatorShape8(),
1357
+ ...createValidatorShape13(),
1358
+ ...createValidatorShape0(),
1359
+ ...createValidatorShape22(),
1360
+ text: z
1361
+ .string()
1362
+ .refine((value) => Array.from(value).length <= 2000)
1363
+ .optional()
1364
+ .default('1'),
1365
+ ...createValidatorShape12(),
1366
+ ...createValidatorShape26(),
1367
+ })
1368
+ .strict();
1369
+ export const zPaginationProps = z
1370
+ .object({
1371
+ ...createValidatorShape9(),
1372
+ ...createValidatorShape28(),
1373
+ ...createValidatorShape8(),
1374
+ ...createValidatorShape13(),
1375
+ ...createValidatorShape0(),
1376
+ ...createValidatorShape24(),
1377
+ size: z.enum(['sm', 'lg']).nullish(),
1378
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
1379
+ ...createValidatorShape12(),
1380
+ ...createValidatorShape26(),
1381
+ })
1382
+ .strict();
1383
+ export const zPlaceholderButtonProps = z
1384
+ .object({
1385
+ ...createValidatorShape25(),
1386
+ animation: z.enum(['glow', 'wave']).nullish().default('glow'),
1387
+ ...createValidatorShape10(),
1388
+ ...createValidatorShape8(),
1389
+ ...createValidatorShape13(),
1390
+ lg: z
1391
+ .number()
1392
+ .refine(Number.isInteger, { message: 'Expected integer' })
1393
+ .gte(1)
1394
+ .lte(12)
1395
+ .nullish(),
1396
+ ...createValidatorShape5(),
1397
+ md: z
1398
+ .number()
1399
+ .refine(Number.isInteger, { message: 'Expected integer' })
1400
+ .gte(1)
1401
+ .lte(12)
1402
+ .nullish(),
1403
+ ...createValidatorShape17(),
1404
+ ...createValidatorShape3(),
1405
+ ...createValidatorShape24(),
1406
+ size: z.enum(['sm', 'lg']).nullish(),
1407
+ ...createValidatorShape70(),
1408
+ ...createValidatorShape12(),
1409
+ variant: createValidatorSchema20(),
1410
+ ...createValidatorShape26(),
1411
+ ...createValidatorShape63(),
1412
+ })
1413
+ .strict();
1414
+ export const zPlaceholderProps = z
1415
+ .object({
1416
+ ...createValidatorShape25(),
1417
+ animation: z.enum(['glow', 'wave']).nullish().default('glow'),
1418
+ ...createValidatorShape10(),
1419
+ ...createValidatorShape8(),
1420
+ ...createValidatorShape13(),
1421
+ lg: z
1422
+ .number()
1423
+ .refine(Number.isInteger, { message: 'Expected integer' })
1424
+ .gte(1)
1425
+ .lte(12)
1426
+ .nullish(),
1427
+ ...createValidatorShape5(),
1428
+ md: z
1429
+ .number()
1430
+ .refine(Number.isInteger, { message: 'Expected integer' })
1431
+ .gte(1)
1432
+ .lte(12)
1433
+ .nullish(),
1434
+ ...createValidatorShape17(),
1435
+ ...createValidatorShape3(),
1436
+ ...createValidatorShape24(),
1437
+ size: z.enum(['xs', 'sm', 'lg']).nullish(),
1438
+ ...createValidatorShape70(),
1439
+ ...createValidatorShape12(),
1440
+ variant: createValidatorSchema20(),
1441
+ ...createValidatorShape26(),
1442
+ ...createValidatorShape63(),
1443
+ })
1444
+ .strict();
1445
+ export const zPopoverProps = z
1446
+ .object({
1447
+ ...createValidatorShape9(),
1448
+ ...createValidatorShape28(),
1449
+ ...createValidatorShape8(),
1450
+ ...createValidatorShape13(),
1451
+ ...createValidatorShape0(),
1452
+ placement: z.enum(['top', 'bottom', 'start', 'end']).optional().default('end'),
1453
+ ...createValidatorShape22(),
1454
+ text: z
1455
+ .string()
1456
+ .refine((value) => Array.from(value).length <= 2000)
1457
+ .optional()
1458
+ .default(''),
1459
+ ...createValidatorShape12(),
1460
+ title: z
1461
+ .string()
1462
+ .refine((value) => Array.from(value).length <= 2000)
1463
+ .optional()
1464
+ .default(''),
1465
+ triggerText: z
1466
+ .string()
1467
+ .refine((value) => Array.from(value).length <= 2000)
1468
+ .nullish(),
1469
+ ...createValidatorShape26(),
1470
+ })
1471
+ .strict();
1472
+ export const zPracticeCheckProps = z
1473
+ .object({
1474
+ ...createValidatorShape9(),
1475
+ ...createValidatorShape28(),
1476
+ defaultChecked: z.boolean().optional().default(false),
1477
+ disabled: z.boolean().optional().default(false),
1478
+ ...createValidatorShape8(),
1479
+ ...createValidatorShape13(),
1480
+ label: z
1481
+ .string()
1482
+ .refine((value) => Array.from(value).length <= 2000)
1483
+ .optional()
1484
+ .default(''),
1485
+ ...createValidatorShape1(),
1486
+ name: z
1487
+ .string()
1488
+ .refine((value) => Array.from(value).length <= 200)
1489
+ .optional()
1490
+ .default(''),
1491
+ ...createValidatorShape3(),
1492
+ ...createValidatorShape22(),
1493
+ ...createValidatorShape12(),
1494
+ type: z.enum(['checkbox', 'switch', 'radio']).optional().default('checkbox'),
1495
+ ...createValidatorShape26(),
1496
+ })
1497
+ .strict();
1498
+ export const zPracticeInputProps = z
1499
+ .object({
1500
+ ...createValidatorShape9(),
1501
+ colorMode: z.enum(['light', 'dark']).nullish(),
1502
+ controlOnly: z.boolean().nullish(),
1503
+ cssClasses: z
1504
+ .string()
1505
+ .refine((value) => Array.from(value).length <= 1024)
1506
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
1507
+ .nullish(),
1508
+ defaultValue: z
1509
+ .string()
1510
+ .refine((value) => Array.from(value).length <= 2000)
1511
+ .optional()
1512
+ .default(''),
1513
+ disabled: z.boolean().optional().default(false),
1514
+ ...createValidatorShape8(),
1515
+ feedback: z
1516
+ .string()
1517
+ .refine((value) => Array.from(value).length <= 2000)
1518
+ .nullish(),
1519
+ flexGrow: z.boolean().nullish(),
1520
+ flexShrink: z.boolean().nullish(),
1521
+ floating: z.boolean().nullish(),
1522
+ ...createValidatorShape19(),
1523
+ helpText: z
1524
+ .string()
1525
+ .refine((value) => Array.from(value).length <= 2000)
1526
+ .nullish(),
1527
+ id: z
1528
+ .string()
1529
+ .refine((value) => Array.from(value).length >= 1)
1530
+ .refine((value) => Array.from(value).length <= 100),
1531
+ label: z
1532
+ .string()
1533
+ .refine((value) => Array.from(value).length <= 2000)
1534
+ .optional()
1535
+ .default(''),
1536
+ ...createValidatorShape0(),
1537
+ placeholder: z
1538
+ .string()
1539
+ .refine((value) => Array.from(value).length <= 2000)
1540
+ .optional()
1541
+ .default(''),
1542
+ plaintext: z.boolean().nullish(),
1543
+ readOnly: z.boolean().nullish(),
1544
+ required: z.boolean().optional().default(false),
1545
+ rounded: z.enum(['0', '1', '2', '3', '4', '5', 'circle', 'pill']).nullish(),
1546
+ rows: z
1547
+ .number()
1548
+ .refine(Number.isInteger, { message: 'Expected integer' })
1549
+ .gte(1)
1550
+ .lte(30)
1551
+ .nullish(),
1552
+ shadow: z.enum(['none', 'sm', 'normal', 'lg']).nullish(),
1553
+ size: z.enum(['sm', 'lg']).nullish(),
1554
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
1555
+ ...createValidatorShape12(),
1556
+ type: z
1557
+ .enum(['text', 'email', 'number', 'textarea', 'password', 'file', 'search'])
1558
+ .optional()
1559
+ .default('text'),
1560
+ validation: z.enum(['valid', 'invalid']).nullish(),
1561
+ ...createValidatorShape26(),
1562
+ })
1563
+ .strict();
1564
+ export const zPracticeOption = z
1565
+ .object({
1566
+ disabled: z.boolean().optional().default(false),
1567
+ label: z.string().refine((value) => Array.from(value).length <= 2000),
1568
+ value: z.string().refine((value) => Array.from(value).length <= 200),
1569
+ })
1570
+ .strict();
1571
+ export const zPracticeRangeProps = z
1572
+ .object({
1573
+ ...createValidatorShape9(),
1574
+ ...createValidatorShape28(),
1575
+ defaultValue: z.number().optional().default(50),
1576
+ disabled: z.boolean().optional().default(false),
1577
+ ...createValidatorShape8(),
1578
+ ...createValidatorShape13(),
1579
+ label: z
1580
+ .string()
1581
+ .refine((value) => Array.from(value).length <= 2000)
1582
+ .optional()
1583
+ .default(''),
1584
+ ...createValidatorShape6(),
1585
+ max: z.number().optional().default(100),
1586
+ ...createValidatorShape16(),
1587
+ min: z.number().optional().default(0),
1588
+ ...createValidatorShape17(),
1589
+ ...createValidatorShape3(),
1590
+ ...createValidatorShape22(),
1591
+ step: z.number().gt(0).optional().default(1),
1592
+ ...createValidatorShape12(),
1593
+ ...createValidatorShape26(),
1594
+ })
1595
+ .strict();
1596
+ export const zPracticeSelectProps = z
1597
+ .object({
1598
+ ...createValidatorShape9(),
1599
+ ...createValidatorShape28(),
1600
+ defaultValue: z
1601
+ .string()
1602
+ .refine((value) => Array.from(value).length <= 200)
1603
+ .optional()
1604
+ .default(''),
1605
+ disabled: z.boolean().optional().default(false),
1606
+ ...createValidatorShape8(),
1607
+ ...createValidatorShape13(),
1608
+ label: z
1609
+ .string()
1610
+ .refine((value) => Array.from(value).length <= 2000)
1611
+ .optional()
1612
+ .default(''),
1613
+ ...createValidatorShape1(),
1614
+ multiple: z.boolean().nullish(),
1615
+ ...createValidatorShape23(),
1616
+ options: z.array(zPracticeOption).max(50).optional(),
1617
+ ...createValidatorShape4(),
1618
+ required: z.boolean().optional().default(false),
1619
+ ...createValidatorShape24(),
1620
+ size: z.enum(['sm', 'lg']).nullish(),
1621
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
1622
+ ...createValidatorShape12(),
1623
+ ...createValidatorShape26(),
1624
+ })
1625
+ .strict();
1626
+ export const zProgressProps = z
1627
+ .object({
1628
+ ...createValidatorShape25(),
1629
+ animated: z.boolean().optional().default(false),
1630
+ ...createValidatorShape10(),
1631
+ ...createValidatorShape8(),
1632
+ ...createValidatorShape13(),
1633
+ label: z
1634
+ .string()
1635
+ .refine((value) => Array.from(value).length <= 2000)
1636
+ .optional()
1637
+ .default(''),
1638
+ ...createValidatorShape6(),
1639
+ max: z.number().optional().default(100),
1640
+ ...createValidatorShape16(),
1641
+ min: z.number().optional().default(0),
1642
+ ...createValidatorShape17(),
1643
+ ...createValidatorShape3(),
1644
+ ...createValidatorShape22(),
1645
+ striped: z.boolean().optional().default(false),
1646
+ ...createValidatorShape12(),
1647
+ value: z.number().optional().default(0),
1648
+ variant: createValidatorSchema21(),
1649
+ ...createValidatorShape26(),
1650
+ })
1651
+ .strict();
1652
+ export const zRatioProps = z
1653
+ .object({
1654
+ ...createValidatorShape21(),
1655
+ aspectRatio: z.enum(['1x1', '4x3', '16x9', '21x9']).optional().default('16x9'),
1656
+ ...createValidatorShape11(),
1657
+ ...createValidatorShape28(),
1658
+ ...createValidatorShape8(),
1659
+ ...createValidatorShape13(),
1660
+ ...createValidatorShape0(),
1661
+ ...createValidatorShape22(),
1662
+ ...createValidatorShape12(),
1663
+ ...createValidatorShape26(),
1664
+ })
1665
+ .strict();
1666
+ export const zRevealProps = z
1667
+ .object({
1668
+ ...createValidatorShape9(),
1669
+ ...createValidatorShape28(),
1670
+ defaultOpen: z.boolean().optional().default(false),
1671
+ ...createValidatorShape8(),
1672
+ ...createValidatorShape13(),
1673
+ ...createValidatorShape0(),
1674
+ ...createValidatorShape22(),
1675
+ ...createValidatorShape12(),
1676
+ ...createValidatorShape26(),
1677
+ })
1678
+ .strict();
1679
+ export const zRichTextProps = z
1680
+ .object({
1681
+ ...createValidatorShape9(),
1682
+ ...createValidatorShape28(),
1683
+ ...createValidatorShape8(),
1684
+ ...createValidatorShape20(),
1685
+ format: z.enum(['plain', 'html']),
1686
+ ...createValidatorShape27(),
1687
+ ...createValidatorShape0(),
1688
+ ...createValidatorShape22(),
1689
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
1690
+ ...createValidatorShape12(),
1691
+ ...createValidatorShape26(),
1692
+ })
1693
+ .strict();
1694
+ export const zSemanticTextProps = z
1695
+ .object({
1696
+ ...createValidatorShape9(),
1697
+ ...createValidatorShape28(),
1698
+ ...createValidatorShape8(),
1699
+ element: z.enum([
1700
+ 'p',
1701
+ 'h1',
1702
+ 'h2',
1703
+ 'h3',
1704
+ 'h4',
1705
+ 'h5',
1706
+ 'h6',
1707
+ 'div',
1708
+ 'span',
1709
+ 'lead',
1710
+ 'legend',
1711
+ 'label',
1712
+ 'small',
1713
+ ]),
1714
+ ...createValidatorShape20(),
1715
+ format: z.enum(['plain', 'html']),
1716
+ ...createValidatorShape27(),
1717
+ ...createValidatorShape0(),
1718
+ ...createValidatorShape22(),
1719
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
1720
+ ...createValidatorShape12(),
1721
+ ...createValidatorShape26(),
1722
+ })
1723
+ .strict();
1724
+ export const zSlideAccordion = z
1725
+ .object({
1726
+ props: zAccordionProps,
1727
+ type: z.literal('Accordion'),
1728
+ })
1729
+ .strict();
1730
+ export const zSlideAccordionItem = z
1731
+ .object({
1732
+ props: zAccordionItemProps,
1733
+ type: z.literal('AccordionItem'),
1734
+ })
1735
+ .strict();
1736
+ export const zSlideAlert = z
1737
+ .object({
1738
+ props: zAlertProps,
1739
+ type: z.literal('Alert'),
1740
+ })
1741
+ .strict();
1742
+ export const zSlideAudio = z
1743
+ .object({
1744
+ props: zAudioProps,
1745
+ type: z.literal('Audio'),
1746
+ })
1747
+ .strict();
1748
+ export const zSlideBadge = z
1749
+ .object({
1750
+ props: zBadgeProps,
1751
+ type: z.literal('Badge'),
1752
+ })
1753
+ .strict();
1754
+ export const zSlideBlockquote = z
1755
+ .object({
1756
+ props: zBootstrapProps,
1757
+ type: z.literal('Blockquote'),
1758
+ })
1759
+ .strict();
1760
+ export const zSlideBreadcrumb = z
1761
+ .object({
1762
+ props: zBreadcrumbProps,
1763
+ type: z.literal('Breadcrumb'),
1764
+ })
1765
+ .strict();
1766
+ export const zSlideBreadcrumbItem = z
1767
+ .object({
1768
+ props: zBreadcrumbItemProps,
1769
+ type: z.literal('BreadcrumbItem'),
1770
+ })
1771
+ .strict();
1772
+ export const zSlideButton = z
1773
+ .object({
1774
+ props: zButtonProps,
1775
+ type: z.literal('Button'),
1776
+ })
1777
+ .strict();
1778
+ export const zSlideButtonGroup = z
1779
+ .object({
1780
+ props: zButtonGroupProps,
1781
+ type: z.literal('ButtonGroup'),
1782
+ })
1783
+ .strict();
1784
+ export const zSlideCard = z
1785
+ .object({
1786
+ props: zBootstrapProps,
1787
+ type: z.literal('Card'),
1788
+ })
1789
+ .strict();
1790
+ export const zSlideCardBody = z
1791
+ .object({
1792
+ props: zBootstrapProps,
1793
+ type: z.literal('CardBody'),
1794
+ })
1795
+ .strict();
1796
+ export const zSlideCardFooter = z
1797
+ .object({
1798
+ props: zBootstrapProps,
1799
+ type: z.literal('CardFooter'),
1800
+ })
1801
+ .strict();
1802
+ export const zSlideCardGroup = z
1803
+ .object({
1804
+ props: zBootstrapProps,
1805
+ type: z.literal('CardGroup'),
1806
+ })
1807
+ .strict();
1808
+ export const zSlideCardHeader = z
1809
+ .object({
1810
+ props: zBootstrapProps,
1811
+ type: z.literal('CardHeader'),
1812
+ })
1813
+ .strict();
1814
+ export const zSlideCardImage = z
1815
+ .object({
1816
+ props: zCardImageProps,
1817
+ type: z.literal('CardImage'),
1818
+ })
1819
+ .strict();
1820
+ export const zSlideCardImageOverlay = z
1821
+ .object({
1822
+ props: zBootstrapProps,
1823
+ type: z.literal('CardImageOverlay'),
1824
+ })
1825
+ .strict();
1826
+ export const zSlideCardLink = z
1827
+ .object({
1828
+ props: zCardLinkProps,
1829
+ type: z.literal('CardLink'),
1830
+ })
1831
+ .strict();
1832
+ export const zSlideCardSubtitle = z
1833
+ .object({
1834
+ props: zCardSubtitleProps,
1835
+ type: z.literal('CardSubtitle'),
1836
+ })
1837
+ .strict();
1838
+ export const zSlideCardText = z
1839
+ .object({
1840
+ props: zRichTextProps,
1841
+ type: z.literal('CardText'),
1842
+ })
1843
+ .strict();
1844
+ export const zSlideCardTitle = z
1845
+ .object({
1846
+ props: zCardTitleProps,
1847
+ type: z.literal('CardTitle'),
1848
+ })
1849
+ .strict();
1850
+ export const zSlideCarousel = z
1851
+ .object({
1852
+ props: zCarouselProps,
1853
+ type: z.literal('Carousel'),
1854
+ })
1855
+ .strict();
1856
+ export const zSlideCarouselItem = z
1857
+ .object({
1858
+ props: zCarouselItemProps,
1859
+ type: z.literal('CarouselItem'),
1860
+ })
1861
+ .strict();
1862
+ export const zSlideCite = z
1863
+ .object({
1864
+ props: zBootstrapProps,
1865
+ type: z.literal('Cite'),
1866
+ })
1867
+ .strict();
1868
+ export const zSlideCloseButton = z
1869
+ .object({
1870
+ props: zCloseButtonProps,
1871
+ type: z.literal('CloseButton'),
1872
+ })
1873
+ .strict();
1874
+ export const zSlideColumnProps = z
1875
+ .object({
1876
+ ...createValidatorShape9(),
1877
+ ...createValidatorShape28(),
1878
+ ...createValidatorShape8(),
1879
+ extraExtraLargeOffset: z
1880
+ .number()
1881
+ .refine(Number.isInteger, { message: 'Expected integer' })
1882
+ .gte(0)
1883
+ .lte(11)
1884
+ .nullish(),
1885
+ extraExtraLargeOrder: z
1886
+ .number()
1887
+ .refine(Number.isInteger, { message: 'Expected integer' })
1888
+ .gte(0)
1889
+ .lte(5)
1890
+ .nullish(),
1891
+ extraExtraLargeWidth: z
1892
+ .number()
1893
+ .refine(Number.isInteger, { message: 'Expected integer' })
1894
+ .gte(1)
1895
+ .lte(12)
1896
+ .nullish(),
1897
+ extraExtraLargeWidthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
1898
+ extraLargeOffset: z
1899
+ .number()
1900
+ .refine(Number.isInteger, { message: 'Expected integer' })
1901
+ .gte(0)
1902
+ .lte(11)
1903
+ .nullish(),
1904
+ extraLargeOrder: z
1905
+ .number()
1906
+ .refine(Number.isInteger, { message: 'Expected integer' })
1907
+ .gte(0)
1908
+ .lte(5)
1909
+ .nullish(),
1910
+ extraLargeWidth: z
1911
+ .number()
1912
+ .refine(Number.isInteger, { message: 'Expected integer' })
1913
+ .gte(1)
1914
+ .lte(12)
1915
+ .nullish(),
1916
+ extraLargeWidthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
1917
+ ...createValidatorShape13(),
1918
+ largeOffset: z
1919
+ .number()
1920
+ .refine(Number.isInteger, { message: 'Expected integer' })
1921
+ .gte(0)
1922
+ .lte(11)
1923
+ .nullish(),
1924
+ largeOrder: z
1925
+ .number()
1926
+ .refine(Number.isInteger, { message: 'Expected integer' })
1927
+ .gte(0)
1928
+ .lte(5)
1929
+ .nullish(),
1930
+ largeWidth: z
1931
+ .number()
1932
+ .refine(Number.isInteger, { message: 'Expected integer' })
1933
+ .gte(1)
1934
+ .lte(12)
1935
+ .nullish(),
1936
+ largeWidthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
1937
+ ...createValidatorShape5(),
1938
+ mediumOffset: z
1939
+ .number()
1940
+ .refine(Number.isInteger, { message: 'Expected integer' })
1941
+ .gte(0)
1942
+ .lte(11)
1943
+ .nullish(),
1944
+ mediumOrder: z
1945
+ .number()
1946
+ .refine(Number.isInteger, { message: 'Expected integer' })
1947
+ .gte(0)
1948
+ .lte(5)
1949
+ .nullish(),
1950
+ mediumWidth: z
1951
+ .number()
1952
+ .refine(Number.isInteger, { message: 'Expected integer' })
1953
+ .gte(1)
1954
+ .lte(12)
1955
+ .nullish(),
1956
+ mediumWidthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
1957
+ ...createValidatorShape17(),
1958
+ mobileOffset: z
1959
+ .number()
1960
+ .refine(Number.isInteger, { message: 'Expected integer' })
1961
+ .gte(0)
1962
+ .lte(11)
1963
+ .nullish(),
1964
+ mobileOrder: z
1965
+ .number()
1966
+ .refine(Number.isInteger, { message: 'Expected integer' })
1967
+ .gte(-1)
1968
+ .lte(6)
1969
+ .nullish(),
1970
+ mobileWidth: z
1971
+ .number()
1972
+ .refine(Number.isInteger, { message: 'Expected integer' })
1973
+ .gte(1)
1974
+ .lte(12),
1975
+ mobileWidthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
1976
+ objectPosition: z.enum(['center', 'top', 'bottom', 'left', 'right']).nullish(),
1977
+ offset: z
1978
+ .number()
1979
+ .refine(Number.isInteger, { message: 'Expected integer' })
1980
+ .gte(0)
1981
+ .lte(11)
1982
+ .nullish(),
1983
+ opacity: z
1984
+ .number()
1985
+ .refine(Number.isInteger, { message: 'Expected integer' })
1986
+ .gte(0)
1987
+ .lte(100)
1988
+ .nullish(),
1989
+ order: z
1990
+ .number()
1991
+ .refine(Number.isInteger, { message: 'Expected integer' })
1992
+ .gte(0)
1993
+ .lte(5)
1994
+ .nullish(),
1995
+ ...createValidatorShape18(),
1996
+ ...createValidatorShape7(),
1997
+ parentId: z
1998
+ .string()
1999
+ .refine((value) => Array.from(value).length >= 1)
2000
+ .refine((value) => Array.from(value).length <= 100),
2001
+ ...createValidatorShape24(),
2002
+ smallOffset: z
2003
+ .number()
2004
+ .refine(Number.isInteger, { message: 'Expected integer' })
2005
+ .gte(0)
2006
+ .lte(11)
2007
+ .nullish(),
2008
+ smallOrder: z
2009
+ .number()
2010
+ .refine(Number.isInteger, { message: 'Expected integer' })
2011
+ .gte(0)
2012
+ .lte(5)
2013
+ .nullish(),
2014
+ smallWidth: z
2015
+ .number()
2016
+ .refine(Number.isInteger, { message: 'Expected integer' })
2017
+ .gte(1)
2018
+ .lte(12)
2019
+ .nullish(),
2020
+ smallWidthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
2021
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
2022
+ ...createValidatorShape12(),
2023
+ verticalAlign: z.enum(['baseline', 'top', 'middle', 'bottom']).nullish(),
2024
+ width: z.number().refine(Number.isInteger, { message: 'Expected integer' }).gte(1).lte(12),
2025
+ widthMode: z.enum(['fixed', 'equal', 'auto']).nullish(),
2026
+ widthValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
2027
+ })
2028
+ .strict();
2029
+ export const zSlideColumn = z
2030
+ .object({
2031
+ props: zSlideColumnProps,
2032
+ type: z.literal('Column'),
2033
+ })
2034
+ .strict();
2035
+ export const zSlideContainer = z
2036
+ .object({
2037
+ props: zContainerProps,
2038
+ type: z.literal('Container'),
2039
+ })
2040
+ .strict();
2041
+ export const zSlideContentList = z
2042
+ .object({
2043
+ props: zContentListProps,
2044
+ type: z.literal('ContentList'),
2045
+ })
2046
+ .strict();
2047
+ export const zSlideContentListItem = z
2048
+ .object({
2049
+ props: zBootstrapProps,
2050
+ type: z.literal('ContentListItem'),
2051
+ })
2052
+ .strict();
2053
+ export const zSlideDescriptionDetails = z
2054
+ .object({
2055
+ props: zBootstrapProps,
2056
+ type: z.literal('DescriptionDetails'),
2057
+ })
2058
+ .strict();
2059
+ export const zSlideDescriptionList = z
2060
+ .object({
2061
+ props: zBootstrapProps,
2062
+ type: z.literal('DescriptionList'),
2063
+ })
2064
+ .strict();
2065
+ export const zSlideDescriptionTerm = z
2066
+ .object({
2067
+ props: zBootstrapProps,
2068
+ type: z.literal('DescriptionTerm'),
2069
+ })
2070
+ .strict();
2071
+ export const zSlideDivider = z
2072
+ .object({
2073
+ props: zDividerProps,
2074
+ type: z.literal('Divider'),
2075
+ })
2076
+ .strict();
2077
+ export const zSlideDropdown = z
2078
+ .object({
2079
+ props: zDropdownProps,
2080
+ type: z.literal('Dropdown'),
2081
+ })
2082
+ .strict();
2083
+ export const zSlideDropdownDivider = z
2084
+ .object({
2085
+ props: zBootstrapProps,
2086
+ type: z.literal('DropdownDivider'),
2087
+ })
2088
+ .strict();
2089
+ export const zSlideDropdownHeader = z
2090
+ .object({
2091
+ props: zRichTextProps,
2092
+ type: z.literal('DropdownHeader'),
2093
+ })
2094
+ .strict();
2095
+ export const zSlideDropdownItem = z
2096
+ .object({
2097
+ props: zDropdownItemProps,
2098
+ type: z.literal('DropdownItem'),
2099
+ })
2100
+ .strict();
2101
+ export const zSlideEmbed = z
2102
+ .object({
2103
+ props: zEmbedProps,
2104
+ type: z.literal('Embed'),
2105
+ })
2106
+ .strict();
2107
+ export const zSlideFigcaption = z
2108
+ .object({
2109
+ props: zBootstrapProps,
2110
+ type: z.literal('Figcaption'),
2111
+ })
2112
+ .strict();
2113
+ export const zSlideFigure = z
2114
+ .object({
2115
+ props: zBootstrapProps,
2116
+ type: z.literal('Figure'),
2117
+ })
2118
+ .strict();
2119
+ export const zSlideFormControl = z
2120
+ .object({
2121
+ props: zPracticeInputProps,
2122
+ type: z.literal('FormControl'),
2123
+ })
2124
+ .strict();
2125
+ export const zSlideFormLabel = z
2126
+ .object({
2127
+ props: zFormLabelProps,
2128
+ type: z.literal('FormLabel'),
2129
+ })
2130
+ .strict();
2131
+ export const zSlideFormRange = z
2132
+ .object({
2133
+ props: zPracticeRangeProps,
2134
+ type: z.literal('FormRange'),
2135
+ })
2136
+ .strict();
2137
+ export const zSlideFormSelect = z
2138
+ .object({
2139
+ props: zPracticeSelectProps,
2140
+ type: z.literal('FormSelect'),
2141
+ })
2142
+ .strict();
2143
+ export const zSlideGroup = z
2144
+ .object({
2145
+ props: zGroupProps,
2146
+ type: z.literal('Group'),
2147
+ })
2148
+ .strict();
2149
+ export const zSlideHeadingProps = z
2150
+ .object({
2151
+ ...createValidatorShape9(),
2152
+ ...createValidatorShape8(),
2153
+ ...createValidatorShape13(),
2154
+ level: z
2155
+ .union([
2156
+ z.literal(1),
2157
+ z.literal(2),
2158
+ z.literal(3),
2159
+ z.literal(4),
2160
+ z.literal(5),
2161
+ z.literal(6),
2162
+ ])
2163
+ .nullish(),
2164
+ ...createValidatorShape0(),
2165
+ ...createValidatorShape22(),
2166
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
2167
+ ...createValidatorShape12(),
2168
+ ...createValidatorShape26(),
2169
+ })
2170
+ .strict();
2171
+ export const zSlideHeading = z
2172
+ .object({
2173
+ props: zSlideHeadingProps,
2174
+ type: z.literal('Heading'),
2175
+ })
2176
+ .strict();
2177
+ export const zSlideImageProps = z
2178
+ .object({
2179
+ alignSelf: z.enum(['auto', 'start', 'end', 'center', 'baseline', 'stretch']).nullish(),
2180
+ alignment: z.enum(['start', 'center', 'end']),
2181
+ ...createValidatorShape66(),
2182
+ ...createValidatorShape11(),
2183
+ caption: z.string().refine((value) => Array.from(value).length <= 2000),
2184
+ ...createValidatorShape8(),
2185
+ ...createValidatorShape13(),
2186
+ ...createValidatorShape1(),
2187
+ objectFit: z.enum(['contain', 'cover', 'fill', 'scale-down', 'none']).nullish(),
2188
+ ...createValidatorShape3(),
2189
+ rounded: z.enum(['0', '1', '2', '3', '4', '5', 'circle', 'pill']).nullish(),
2190
+ roundedCircle: z.boolean().nullish(),
2191
+ shadow: z.enum(['none', 'sm', 'normal', 'lg']).nullish(),
2192
+ size: z.enum(['small', 'medium', 'large', 'full']),
2193
+ src: z.string().refine((value) => Array.from(value).length <= 2048),
2194
+ ...createValidatorShape12(),
2195
+ thumbnail: z.boolean().nullish(),
2196
+ ...createValidatorShape26(),
2197
+ })
2198
+ .strict();
2199
+ export const zSlideImage = z
2200
+ .object({
2201
+ props: zSlideImageProps,
2202
+ type: z.literal('Image'),
2203
+ })
2204
+ .strict();
2205
+ export const zSlideIndicator = z
2206
+ .object({
2207
+ props: zBadgeProps,
2208
+ type: z.literal('Indicator'),
2209
+ })
2210
+ .strict();
2211
+ export const zSlideInputGroup = z
2212
+ .object({
2213
+ props: zInputGroupProps,
2214
+ type: z.literal('InputGroup'),
2215
+ })
2216
+ .strict();
2217
+ export const zSlideInputGroupText = z
2218
+ .object({
2219
+ props: zRichTextProps,
2220
+ type: z.literal('InputGroupText'),
2221
+ })
2222
+ .strict();
2223
+ export const zSlideListGroup = z
2224
+ .object({
2225
+ props: zListGroupProps,
2226
+ type: z.literal('ListGroup'),
2227
+ })
2228
+ .strict();
2229
+ export const zSlideListGroupItem = z
2230
+ .object({
2231
+ props: zListGroupItemProps,
2232
+ type: z.literal('ListGroupItem'),
2233
+ })
2234
+ .strict();
2235
+ export const zSlideModal = z
2236
+ .object({
2237
+ props: zModalProps,
2238
+ type: z.literal('Modal'),
2239
+ })
2240
+ .strict();
2241
+ export const zSlideNav = z
2242
+ .object({
2243
+ props: zNavigationProps,
2244
+ type: z.literal('Nav'),
2245
+ })
2246
+ .strict();
2247
+ export const zSlideNavLink = z
2248
+ .object({
2249
+ props: zNavigationLinkProps,
2250
+ type: z.literal('NavLink'),
2251
+ })
2252
+ .strict();
2253
+ export const zSlideNavbar = z
2254
+ .object({
2255
+ props: zNavbarProps,
2256
+ type: z.literal('Navbar'),
2257
+ })
2258
+ .strict();
2259
+ export const zSlideNavbarBrand = z
2260
+ .object({
2261
+ props: zNavigationLinkProps,
2262
+ type: z.literal('NavbarBrand'),
2263
+ })
2264
+ .strict();
2265
+ export const zSlideNavbarCollapse = z
2266
+ .object({
2267
+ props: zBootstrapProps,
2268
+ type: z.literal('NavbarCollapse'),
2269
+ })
2270
+ .strict();
2271
+ export const zSlideNavbarToggle = z
2272
+ .object({
2273
+ props: zBootstrapProps,
2274
+ type: z.literal('NavbarToggle'),
2275
+ })
2276
+ .strict();
2277
+ export const zSlideOffcanvas = z
2278
+ .object({
2279
+ props: zOffcanvasProps,
2280
+ type: z.literal('Offcanvas'),
2281
+ })
2282
+ .strict();
2283
+ export const zSlidePagination = z
2284
+ .object({
2285
+ props: zPaginationProps,
2286
+ type: z.literal('Pagination'),
2287
+ })
2288
+ .strict();
2289
+ export const zSlidePaginationItem = z
2290
+ .object({
2291
+ props: zPaginationItemProps,
2292
+ type: z.literal('PaginationItem'),
2293
+ })
2294
+ .strict();
2295
+ export const zSlidePlaceholder = z
2296
+ .object({
2297
+ props: zPlaceholderProps,
2298
+ type: z.literal('Placeholder'),
2299
+ })
2300
+ .strict();
2301
+ export const zSlidePlaceholderButton = z
2302
+ .object({
2303
+ props: zPlaceholderButtonProps,
2304
+ type: z.literal('PlaceholderButton'),
2305
+ })
2306
+ .strict();
2307
+ export const zSlidePopover = z
2308
+ .object({
2309
+ props: zPopoverProps,
2310
+ type: z.literal('Popover'),
2311
+ })
2312
+ .strict();
2313
+ export const zSlidePracticeCheck = z
2314
+ .object({
2315
+ props: zPracticeCheckProps,
2316
+ type: z.literal('PracticeCheck'),
2317
+ })
2318
+ .strict();
2319
+ export const zSlidePracticeInput = z
2320
+ .object({
2321
+ props: zPracticeInputProps,
2322
+ type: z.literal('PracticeInput'),
2323
+ })
2324
+ .strict();
2325
+ export const zSlidePracticeRange = z
2326
+ .object({
2327
+ props: zPracticeRangeProps,
2328
+ type: z.literal('PracticeRange'),
2329
+ })
2330
+ .strict();
2331
+ export const zSlidePracticeSelect = z
2332
+ .object({
2333
+ props: zPracticeSelectProps,
2334
+ type: z.literal('PracticeSelect'),
2335
+ })
2336
+ .strict();
2337
+ export const zSlideProgress = z
2338
+ .object({
2339
+ props: zProgressProps,
2340
+ type: z.literal('Progress'),
2341
+ })
2342
+ .strict();
2343
+ export const zSlideProgressGroup = z
2344
+ .object({
2345
+ props: zBootstrapProps,
2346
+ type: z.literal('ProgressGroup'),
2347
+ })
2348
+ .strict();
2349
+ export const zSlideRatio = z
2350
+ .object({
2351
+ props: zRatioProps,
2352
+ type: z.literal('Ratio'),
2353
+ })
2354
+ .strict();
2355
+ export const zSlideReveal = z
2356
+ .object({
2357
+ props: zRevealProps,
2358
+ type: z.literal('Reveal'),
2359
+ })
2360
+ .strict();
2361
+ export const zSlideRowProps = z
2362
+ .object({
2363
+ alignSelf: z.enum(['auto', 'start', 'end', 'center', 'baseline', 'stretch']).nullish(),
2364
+ alignment: z.enum(['start', 'center', 'end', 'stretch']),
2365
+ ariaLabel: z
2366
+ .string()
2367
+ .refine((value) => Array.from(value).length <= 1000)
2368
+ .nullish(),
2369
+ ...createValidatorShape11(),
2370
+ colorMode: z.enum(['light', 'dark']).nullish(),
2371
+ columns: z
2372
+ .number()
2373
+ .refine(Number.isInteger, { message: 'Expected integer' })
2374
+ .gte(1)
2375
+ .lte(6)
2376
+ .nullish(),
2377
+ columnsLg: z
2378
+ .number()
2379
+ .refine(Number.isInteger, { message: 'Expected integer' })
2380
+ .gte(1)
2381
+ .lte(6)
2382
+ .nullish(),
2383
+ columnsMd: z
2384
+ .number()
2385
+ .refine(Number.isInteger, { message: 'Expected integer' })
2386
+ .gte(1)
2387
+ .lte(6)
2388
+ .nullish(),
2389
+ columnsSm: z
2390
+ .number()
2391
+ .refine(Number.isInteger, { message: 'Expected integer' })
2392
+ .gte(1)
2393
+ .lte(6)
2394
+ .nullish(),
2395
+ columnsXl: z
2396
+ .number()
2397
+ .refine(Number.isInteger, { message: 'Expected integer' })
2398
+ .gte(1)
2399
+ .lte(6)
2400
+ .nullish(),
2401
+ columnsXxl: z
2402
+ .number()
2403
+ .refine(Number.isInteger, { message: 'Expected integer' })
2404
+ .gte(1)
2405
+ .lte(6)
2406
+ .nullish(),
2407
+ cssClasses: z
2408
+ .string()
2409
+ .refine((value) => Array.from(value).length <= 1024)
2410
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
2411
+ .nullish(),
2412
+ ...createValidatorShape8(),
2413
+ ...createValidatorShape20(),
2414
+ gap: z.number().refine(Number.isInteger, { message: 'Expected integer' }).gte(0).lte(5),
2415
+ gutterXLg: z
2416
+ .number()
2417
+ .refine(Number.isInteger, { message: 'Expected integer' })
2418
+ .gte(0)
2419
+ .lte(5)
2420
+ .nullish(),
2421
+ gutterXMd: z
2422
+ .number()
2423
+ .refine(Number.isInteger, { message: 'Expected integer' })
2424
+ .gte(0)
2425
+ .lte(5)
2426
+ .nullish(),
2427
+ gutterXSm: z
2428
+ .number()
2429
+ .refine(Number.isInteger, { message: 'Expected integer' })
2430
+ .gte(0)
2431
+ .lte(5)
2432
+ .nullish(),
2433
+ gutterXXl: z
2434
+ .number()
2435
+ .refine(Number.isInteger, { message: 'Expected integer' })
2436
+ .gte(0)
2437
+ .lte(5)
2438
+ .nullish(),
2439
+ gutterXXxl: z
2440
+ .number()
2441
+ .refine(Number.isInteger, { message: 'Expected integer' })
2442
+ .gte(0)
2443
+ .lte(5)
2444
+ .nullish(),
2445
+ gutterYLg: z
2446
+ .number()
2447
+ .refine(Number.isInteger, { message: 'Expected integer' })
2448
+ .gte(0)
2449
+ .lte(5)
2450
+ .nullish(),
2451
+ gutterYMd: z
2452
+ .number()
2453
+ .refine(Number.isInteger, { message: 'Expected integer' })
2454
+ .gte(0)
2455
+ .lte(5)
2456
+ .nullish(),
2457
+ gutterYSm: z
2458
+ .number()
2459
+ .refine(Number.isInteger, { message: 'Expected integer' })
2460
+ .gte(0)
2461
+ .lte(5)
2462
+ .nullish(),
2463
+ gutterYXl: z
2464
+ .number()
2465
+ .refine(Number.isInteger, { message: 'Expected integer' })
2466
+ .gte(0)
2467
+ .lte(5)
2468
+ .nullish(),
2469
+ gutterYXxl: z
2470
+ .number()
2471
+ .refine(Number.isInteger, { message: 'Expected integer' })
2472
+ .gte(0)
2473
+ .lte(5)
2474
+ .nullish(),
2475
+ heightValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
2476
+ horizontalGap: z
2477
+ .number()
2478
+ .refine(Number.isInteger, { message: 'Expected integer' })
2479
+ .gte(0)
2480
+ .lte(5)
2481
+ .nullish(),
2482
+ id: z
2483
+ .string()
2484
+ .refine((value) => Array.from(value).length >= 1)
2485
+ .refine((value) => Array.from(value).length <= 100),
2486
+ justify: z.enum(['start', 'center', 'end', 'between', 'around', 'evenly']).nullish(),
2487
+ ...createValidatorShape0(),
2488
+ ...createValidatorShape22(),
2489
+ ...createValidatorShape12(),
2490
+ verticalAlign: z.enum(['baseline', 'top', 'middle', 'bottom']).nullish(),
2491
+ verticalGap: z
2492
+ .number()
2493
+ .refine(Number.isInteger, { message: 'Expected integer' })
2494
+ .gte(0)
2495
+ .lte(5)
2496
+ .nullish(),
2497
+ widthValue: z.enum(['auto', '25', '50', '75', '100']).nullish(),
2498
+ wrap: z.boolean().nullish(),
2499
+ })
2500
+ .strict();
2501
+ export const zSlideRow = z
2502
+ .object({
2503
+ props: zSlideRowProps,
2504
+ type: z.literal('Row'),
2505
+ })
2506
+ .strict();
2507
+ export const zSlideTabContent = z
2508
+ .object({
2509
+ props: zBootstrapProps,
2510
+ type: z.literal('TabContent'),
2511
+ })
2512
+ .strict();
2513
+ export const zSlideTableBody = z
2514
+ .object({
2515
+ props: zBootstrapProps,
2516
+ type: z.literal('TableBody'),
2517
+ })
2518
+ .strict();
2519
+ export const zSlideTableCaption = z
2520
+ .object({
2521
+ props: zBootstrapProps,
2522
+ type: z.literal('TableCaption'),
2523
+ })
2524
+ .strict();
2525
+ export const zSlideTableFoot = z
2526
+ .object({
2527
+ props: zBootstrapProps,
2528
+ type: z.literal('TableFoot'),
2529
+ })
2530
+ .strict();
2531
+ export const zSlideTableHead = z
2532
+ .object({
2533
+ props: zBootstrapProps,
2534
+ type: z.literal('TableHead'),
2535
+ })
2536
+ .strict();
2537
+ export const zSlideTableRow = z
2538
+ .object({
2539
+ props: zBootstrapProps,
2540
+ type: z.literal('TableRow'),
2541
+ })
2542
+ .strict();
2543
+ export const zSlideText = z
2544
+ .object({
2545
+ props: zSemanticTextProps,
2546
+ type: z.literal('Text'),
2547
+ })
2548
+ .strict();
2549
+ export const zSlideTextProps = z
2550
+ .object({
2551
+ ...createValidatorShape9(),
2552
+ ...createValidatorShape8(),
2553
+ ...createValidatorShape13(),
2554
+ ...createValidatorShape0(),
2555
+ ...createValidatorShape22(),
2556
+ text: z.string().refine((value) => Array.from(value).length <= 32000),
2557
+ ...createValidatorShape12(),
2558
+ ...createValidatorShape26(),
2559
+ })
2560
+ .strict();
2561
+ export const zSlideParagraph = z
2562
+ .object({
2563
+ props: zSlideTextProps,
2564
+ type: z.literal('Paragraph'),
2565
+ })
2566
+ .strict();
2567
+ export const zSpinnerProps = z
2568
+ .object({
2569
+ ...createValidatorShape25(),
2570
+ animation: z.enum(['border', 'grow']).optional().default('border'),
2571
+ ...createValidatorShape10(),
2572
+ ...createValidatorShape8(),
2573
+ ...createValidatorShape13(),
2574
+ label: z
2575
+ .string()
2576
+ .refine((value) => Array.from(value).length >= 1)
2577
+ .refine((value) => Array.from(value).length <= 200)
2578
+ .optional()
2579
+ .default('Loading...'),
2580
+ ...createValidatorShape0(),
2581
+ ...createValidatorShape24(),
2582
+ size: z.literal('sm').nullish(),
2583
+ spacing: z.enum(['compact', 'normal', 'relaxed']).nullish(),
2584
+ ...createValidatorShape12(),
2585
+ variant: createValidatorSchema21(),
2586
+ ...createValidatorShape26(),
2587
+ })
2588
+ .strict();
2589
+ export const zSlideSpinner = z
2590
+ .object({
2591
+ props: zSpinnerProps,
2592
+ type: z.literal('Spinner'),
2593
+ })
2594
+ .strict();
2595
+ export const zStackProps = z
2596
+ .object({
2597
+ align: z.enum(['start', 'center', 'end', 'stretch']).optional().default('stretch'),
2598
+ ...createValidatorShape9(),
2599
+ ...createValidatorShape28(),
2600
+ direction: z.enum(['horizontal', 'vertical']).optional().default('vertical'),
2601
+ directionLg: z.enum(['horizontal', 'vertical']).nullish(),
2602
+ directionMd: z.enum(['horizontal', 'vertical']).nullish(),
2603
+ directionSm: z.enum(['horizontal', 'vertical']).nullish(),
2604
+ directionXl: z.enum(['horizontal', 'vertical']).nullish(),
2605
+ directionXxl: z.enum(['horizontal', 'vertical']).nullish(),
2606
+ ...createValidatorShape8(),
2607
+ ...createValidatorShape20(),
2608
+ gap: z
2609
+ .number()
2610
+ .refine(Number.isInteger, { message: 'Expected integer' })
2611
+ .gte(0)
2612
+ .lte(5)
2613
+ .optional()
2614
+ .default(3),
2615
+ gapLg: z
2616
+ .number()
2617
+ .refine(Number.isInteger, { message: 'Expected integer' })
2618
+ .gte(0)
2619
+ .lte(5)
2620
+ .nullish(),
2621
+ gapMd: z
2622
+ .number()
2623
+ .refine(Number.isInteger, { message: 'Expected integer' })
2624
+ .gte(0)
2625
+ .lte(5)
2626
+ .nullish(),
2627
+ gapSm: z
2628
+ .number()
2629
+ .refine(Number.isInteger, { message: 'Expected integer' })
2630
+ .gte(0)
2631
+ .lte(5)
2632
+ .nullish(),
2633
+ gapXl: z
2634
+ .number()
2635
+ .refine(Number.isInteger, { message: 'Expected integer' })
2636
+ .gte(0)
2637
+ .lte(5)
2638
+ .nullish(),
2639
+ gapXxl: z
2640
+ .number()
2641
+ .refine(Number.isInteger, { message: 'Expected integer' })
2642
+ .gte(0)
2643
+ .lte(5)
2644
+ .nullish(),
2645
+ ...createValidatorShape27(),
2646
+ justify: z
2647
+ .enum(['start', 'center', 'end', 'between', 'around', 'evenly'])
2648
+ .optional()
2649
+ .default('start'),
2650
+ ...createValidatorShape0(),
2651
+ ...createValidatorShape22(),
2652
+ ...createValidatorShape12(),
2653
+ ...createValidatorShape26(),
2654
+ wrap: z.boolean().optional().default(true),
2655
+ })
2656
+ .strict();
2657
+ export const zSlideStack = z
2658
+ .object({
2659
+ props: zStackProps,
2660
+ type: z.literal('Stack'),
2661
+ })
2662
+ .strict();
2663
+ export const zTabContainerProps = z
2664
+ .object({
2665
+ ...createValidatorShape9(),
2666
+ ...createValidatorShape28(),
2667
+ defaultActiveKey: z
2668
+ .string()
2669
+ .refine((value) => Array.from(value).length <= 200)
2670
+ .optional()
2671
+ .default('home'),
2672
+ ...createValidatorShape8(),
2673
+ ...createValidatorShape13(),
2674
+ ...createValidatorShape0(),
2675
+ ...createValidatorShape22(),
2676
+ ...createValidatorShape12(),
2677
+ ...createValidatorShape26(),
2678
+ })
2679
+ .strict();
2680
+ export const zSlideTabContainer = z
2681
+ .object({
2682
+ props: zTabContainerProps,
2683
+ type: z.literal('TabContainer'),
2684
+ })
2685
+ .strict();
2686
+ export const zTabPaneProps = z
2687
+ .object({
2688
+ ...createValidatorShape9(),
2689
+ ...createValidatorShape28(),
2690
+ ...createValidatorShape8(),
2691
+ eventKey: z.string().refine((value) => Array.from(value).length <= 200),
2692
+ ...createValidatorShape13(),
2693
+ ...createValidatorShape0(),
2694
+ ...createValidatorShape22(),
2695
+ ...createValidatorShape12(),
2696
+ ...createValidatorShape26(),
2697
+ })
2698
+ .strict();
2699
+ export const zSlideTabPane = z
2700
+ .object({
2701
+ props: zTabPaneProps,
2702
+ type: z.literal('TabPane'),
2703
+ })
2704
+ .strict();
2705
+ export const zTabProps = z
2706
+ .object({
2707
+ ...createValidatorShape9(),
2708
+ ...createValidatorShape28(),
2709
+ disabled: z.boolean().optional().default(false),
2710
+ ...createValidatorShape8(),
2711
+ eventKey: z.string().refine((value) => Array.from(value).length <= 200),
2712
+ ...createValidatorShape13(),
2713
+ ...createValidatorShape0(),
2714
+ ...createValidatorShape22(),
2715
+ ...createValidatorShape12(),
2716
+ title: z
2717
+ .string()
2718
+ .refine((value) => Array.from(value).length <= 2000)
2719
+ .optional()
2720
+ .default(''),
2721
+ ...createValidatorShape26(),
2722
+ })
2723
+ .strict();
2724
+ export const zSlideTab = z
2725
+ .object({
2726
+ props: zTabProps,
2727
+ type: z.literal('Tab'),
2728
+ })
2729
+ .strict();
2730
+ export const zTableCellProps = z
2731
+ .object({
2732
+ ...createValidatorShape9(),
2733
+ colSpan: z
2734
+ .number()
2735
+ .refine(Number.isInteger, { message: 'Expected integer' })
2736
+ .gte(1)
2737
+ .lte(12)
2738
+ .optional()
2739
+ .default(1),
2740
+ ...createValidatorShape28(),
2741
+ ...createValidatorShape8(),
2742
+ ...createValidatorShape13(),
2743
+ ...createValidatorShape0(),
2744
+ ...createValidatorShape65(),
2745
+ ...createValidatorShape29(),
2746
+ ...createValidatorShape12(),
2747
+ ...createValidatorShape26(),
2748
+ })
2749
+ .strict();
2750
+ export const zSlideTableCell = z
2751
+ .object({
2752
+ props: zTableCellProps,
2753
+ type: z.literal('TableCell'),
2754
+ })
2755
+ .strict();
2756
+ export const zTableHeaderProps = z
2757
+ .object({
2758
+ ...createValidatorShape9(),
2759
+ colSpan: z
2760
+ .number()
2761
+ .refine(Number.isInteger, { message: 'Expected integer' })
2762
+ .gte(1)
2763
+ .lte(12)
2764
+ .optional()
2765
+ .default(1),
2766
+ ...createValidatorShape28(),
2767
+ ...createValidatorShape8(),
2768
+ ...createValidatorShape13(),
2769
+ ...createValidatorShape0(),
2770
+ ...createValidatorShape65(),
2771
+ scope: z.enum(['col', 'row', 'colgroup', 'rowgroup']).optional().default('col'),
2772
+ ...createValidatorShape29(),
2773
+ ...createValidatorShape12(),
2774
+ ...createValidatorShape26(),
2775
+ })
2776
+ .strict();
2777
+ export const zSlideTableHeader = z
2778
+ .object({
2779
+ props: zTableHeaderProps,
2780
+ type: z.literal('TableHeader'),
2781
+ })
2782
+ .strict();
2783
+ export const zTableProps = z
2784
+ .object({
2785
+ ...createValidatorShape9(),
2786
+ bordered: z.boolean().optional().default(false),
2787
+ borderless: z.boolean().nullish(),
2788
+ captionTop: z.boolean().nullish(),
2789
+ colorMode: z.enum(['light', 'dark']).nullish(),
2790
+ compact: z.boolean().nullish(),
2791
+ cssClasses: z
2792
+ .string()
2793
+ .refine((value) => Array.from(value).length <= 1024)
2794
+ .check(patternCheck(String.raw `^[a-zA-Z0-9_ :.-]*$`))
2795
+ .nullish(),
2796
+ ...createValidatorShape8(),
2797
+ ...createValidatorShape15(),
2798
+ hover: z.boolean().optional().default(false),
2799
+ id: z
2800
+ .string()
2801
+ .refine((value) => Array.from(value).length >= 1)
2802
+ .refine((value) => Array.from(value).length <= 100),
2803
+ ...createValidatorShape0(),
2804
+ responsive: z.boolean().optional().default(true),
2805
+ responsiveBreakpoint: z.enum(['sm', 'md', 'lg', 'xl', 'xxl']).nullish(),
2806
+ ...createValidatorShape22(),
2807
+ striped: z.boolean().optional().default(false),
2808
+ stripedColumns: z.boolean().nullish(),
2809
+ ...createValidatorShape12(),
2810
+ variant: createValidatorSchema14(),
2811
+ ...createValidatorShape26(),
2812
+ })
2813
+ .strict();
2814
+ export const zSlideTable = z
2815
+ .object({
2816
+ props: zTableProps,
2817
+ type: z.literal('Table'),
2818
+ })
2819
+ .strict();
2820
+ export const zBootstrapBlock = z.union([
2821
+ zSlideCloseButton,
2822
+ zSlidePlaceholder,
2823
+ zSlidePlaceholderButton,
2824
+ zSlideSpinner,
2825
+ zSlideFormLabel,
2826
+ zSlideTabContainer,
2827
+ zSlideTabContent,
2828
+ zSlideTabPane,
2829
+ zSlideNavbar,
2830
+ zSlideNavbarBrand,
2831
+ zSlideNavbarToggle,
2832
+ zSlideNavbarCollapse,
2833
+ zSlideNav,
2834
+ zSlideNavLink,
2835
+ zSlidePagination,
2836
+ zSlidePaginationItem,
2837
+ zSlideInputGroup,
2838
+ zSlideInputGroupText,
2839
+ zSlideProgressGroup,
2840
+ zSlideDropdownDivider,
2841
+ zSlideDropdownHeader,
2842
+ zSlideStack,
2843
+ zSlideDivider,
2844
+ zSlideAlert,
2845
+ zSlideContentList,
2846
+ zSlideContentListItem,
2847
+ zSlideDescriptionList,
2848
+ zSlideDescriptionTerm,
2849
+ zSlideDescriptionDetails,
2850
+ zSlideContainer,
2851
+ zSlideText,
2852
+ zSlideFigure,
2853
+ zSlideBlockquote,
2854
+ zSlideFigcaption,
2855
+ zSlideCite,
2856
+ zSlideTable,
2857
+ zSlideTableHead,
2858
+ zSlideTableBody,
2859
+ zSlideTableFoot,
2860
+ zSlideTableRow,
2861
+ zSlideTableHeader,
2862
+ zSlideTableCell,
2863
+ zSlideTableCaption,
2864
+ zSlideIndicator,
2865
+ zSlideBadge,
2866
+ zSlideListGroup,
2867
+ zSlideListGroupItem,
2868
+ zSlideCard,
2869
+ zSlideCardHeader,
2870
+ zSlideCardBody,
2871
+ zSlideCardFooter,
2872
+ zSlideCardTitle,
2873
+ zSlideCardSubtitle,
2874
+ zSlideCardText,
2875
+ zSlideCardLink,
2876
+ zSlideCardImage,
2877
+ zSlideCardImageOverlay,
2878
+ zSlideCardGroup,
2879
+ ]);
2880
+ export const zTabsProps = z
2881
+ .object({
2882
+ ...createValidatorShape9(),
2883
+ ...createValidatorShape28(),
2884
+ defaultActiveKey: z
2885
+ .string()
2886
+ .refine((value) => Array.from(value).length <= 200)
2887
+ .optional()
2888
+ .default(''),
2889
+ ...createValidatorShape8(),
2890
+ fill: z.boolean().optional().default(false),
2891
+ ...createValidatorShape13(),
2892
+ justify: z.boolean().optional().default(false),
2893
+ ...createValidatorShape0(),
2894
+ ...createValidatorShape22(),
2895
+ ...createValidatorShape12(),
2896
+ variant: z.enum(['tabs', 'pills', 'underline']).optional().default('tabs'),
2897
+ ...createValidatorShape26(),
2898
+ })
2899
+ .strict();
2900
+ export const zSlideTabs = z
2901
+ .object({
2902
+ props: zTabsProps,
2903
+ type: z.literal('Tabs'),
2904
+ })
2905
+ .strict();
2906
+ export const zToastProps = z
2907
+ .object({
2908
+ ...createValidatorShape21(),
2909
+ autohide: z.boolean().optional().default(false),
2910
+ ...createValidatorShape11(),
2911
+ ...createValidatorShape28(),
2912
+ defaultOpen: z.boolean().optional().default(true),
2913
+ delay: z
2914
+ .number()
2915
+ .refine(Number.isInteger, { message: 'Expected integer' })
2916
+ .gte(0)
2917
+ .lte(120000)
2918
+ .optional()
2919
+ .default(5000),
2920
+ ...createValidatorShape8(),
2921
+ ...createValidatorShape13(),
2922
+ ...createValidatorShape0(),
2923
+ ...createValidatorShape22(),
2924
+ subtitle: z
2925
+ .string()
2926
+ .refine((value) => Array.from(value).length <= 2000)
2927
+ .nullish(),
2928
+ ...createValidatorShape12(),
2929
+ title: z
2930
+ .string()
2931
+ .refine((value) => Array.from(value).length <= 2000)
2932
+ .optional()
2933
+ .default(''),
2934
+ ...createValidatorShape26(),
2935
+ })
2936
+ .strict();
2937
+ export const zSlideToast = z
2938
+ .object({
2939
+ props: zToastProps,
2940
+ type: z.literal('Toast'),
2941
+ })
2942
+ .strict();
2943
+ export const zTooltipProps = z
2944
+ .object({
2945
+ ...createValidatorShape9(),
2946
+ ...createValidatorShape28(),
2947
+ ...createValidatorShape8(),
2948
+ ...createValidatorShape13(),
2949
+ ...createValidatorShape0(),
2950
+ placement: z.enum(['top', 'bottom', 'start', 'end']).optional().default('top'),
2951
+ ...createValidatorShape22(),
2952
+ text: z
2953
+ .string()
2954
+ .refine((value) => Array.from(value).length <= 2000)
2955
+ .optional()
2956
+ .default(''),
2957
+ ...createValidatorShape12(),
2958
+ triggerText: z
2959
+ .string()
2960
+ .refine((value) => Array.from(value).length <= 2000)
2961
+ .nullish(),
2962
+ ...createValidatorShape26(),
2963
+ })
2964
+ .strict();
2965
+ export const zSlideTooltip = z
2966
+ .object({
2967
+ props: zTooltipProps,
2968
+ type: z.literal('Tooltip'),
2969
+ })
2970
+ .strict();
2971
+ export const zVideoProps = z
2972
+ .object({
2973
+ ...createValidatorShape21(),
2974
+ autoPlay: z.boolean().optional().default(false),
2975
+ ...createValidatorShape11(),
2976
+ ...createValidatorShape48(),
2977
+ ...createValidatorShape8(),
2978
+ ...createValidatorShape13(),
2979
+ ...createValidatorShape74(),
2980
+ ...createValidatorShape2(),
2981
+ muted: z.boolean().optional().default(false),
2982
+ ...createValidatorShape3(),
2983
+ poster: z
2984
+ .string()
2985
+ .refine((value) => Array.from(value).length <= 2048)
2986
+ .optional()
2987
+ .default(''),
2988
+ ...createValidatorShape22(),
2989
+ src: z
2990
+ .string()
2991
+ .refine((value) => Array.from(value).length <= 2048)
2992
+ .optional()
2993
+ .default(''),
2994
+ ...createValidatorShape12(),
2995
+ ...createValidatorShape26(),
2996
+ })
2997
+ .strict();
2998
+ export const zSlideVideo = z
2999
+ .object({
3000
+ props: zVideoProps,
3001
+ type: z.literal('Video'),
3002
+ })
3003
+ .strict();
3004
+ export const zInteractionBlock = z.union([
3005
+ zSlideFormControl,
3006
+ zSlideFormSelect,
3007
+ zSlideFormRange,
3008
+ zSlideGroup,
3009
+ zSlideRatio,
3010
+ zSlideAccordion,
3011
+ zSlideAccordionItem,
3012
+ zSlideTabs,
3013
+ zSlideTab,
3014
+ zSlideButton,
3015
+ zSlideButtonGroup,
3016
+ zSlideReveal,
3017
+ zSlideTooltip,
3018
+ zSlidePopover,
3019
+ zSlideCarousel,
3020
+ zSlideCarouselItem,
3021
+ zSlideProgress,
3022
+ zSlideModal,
3023
+ zSlideOffcanvas,
3024
+ zSlideDropdown,
3025
+ zSlideToast,
3026
+ zSlidePracticeInput,
3027
+ zSlidePracticeSelect,
3028
+ zSlidePracticeCheck,
3029
+ zSlidePracticeRange,
3030
+ zSlideBreadcrumb,
3031
+ zSlideBreadcrumbItem,
3032
+ zSlideVideo,
3033
+ zSlideAudio,
3034
+ zSlideEmbed,
3035
+ zSlideDropdownItem,
3036
+ ]);