@topol.io/editor 0.2.1 → 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/LICENSE +1 -1
  2. package/dist/topol-plugin.es.js +107 -20
  3. package/dist/topol-plugin.umd.js +1 -1
  4. package/dist/types/src/core/script-loader.d.ts +7 -0
  5. package/dist/types/src/email-editor/constants.d.ts +7 -0
  6. package/dist/types/src/email-editor/index.d.ts +97 -0
  7. package/dist/types/src/landing-page-editor/constants.d.ts +1 -0
  8. package/dist/types/src/landing-page-editor/index.d.ts +55 -0
  9. package/dist/types/src/landing-page-editor/schemas/ai/aiSchema.d.ts +15 -0
  10. package/dist/types/src/landing-page-editor/schemas/api/apiSchema.d.ts +33 -0
  11. package/dist/types/src/landing-page-editor/schemas/authHeaderConfig/authHeaderConfigScheme.d.ts +3 -0
  12. package/dist/types/src/landing-page-editor/schemas/autosave/autosaveSchema.d.ts +33 -0
  13. package/dist/types/src/landing-page-editor/schemas/comments/commentsSchema.d.ts +91 -0
  14. package/dist/types/src/landing-page-editor/schemas/contentBlock/contentBlockScheme.d.ts +470 -0
  15. package/dist/types/src/landing-page-editor/schemas/font/fontSchema.d.ts +12 -0
  16. package/dist/types/src/landing-page-editor/schemas/helpdesk/helpdeskSchema.d.ts +8 -0
  17. package/dist/types/src/landing-page-editor/schemas/image/imageSchema.d.ts +26 -0
  18. package/dist/types/src/landing-page-editor/schemas/language/languageSchema.d.ts +3 -0
  19. package/dist/types/src/landing-page-editor/schemas/mjmlStore/mjmlStoreSchema.d.ts +31 -0
  20. package/dist/types/src/landing-page-editor/schemas/notification/notificationSchema.d.ts +16 -0
  21. package/dist/types/src/landing-page-editor/schemas/openAI/openAISchema.d.ts +7 -0
  22. package/dist/types/src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema.d.ts +81 -0
  23. package/dist/types/src/landing-page-editor/schemas/premadeBlock/premadeBlockSchema.d.ts +59750 -0
  24. package/dist/types/src/landing-page-editor/schemas/premadeTemplates/premadeTemplatesSchema.d.ts +65 -0
  25. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockApiSchema.d.ts +44831 -0
  26. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockSchema.d.ts +59725 -0
  27. package/dist/types/src/landing-page-editor/schemas/template/blocks/buttonBlockSchema.d.ts +700 -0
  28. package/dist/types/src/landing-page-editor/schemas/template/blocks/carouselBlockSchema.d.ts +74 -0
  29. package/dist/types/src/landing-page-editor/schemas/template/blocks/dividerBlockSchema.d.ts +362 -0
  30. package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts +1157 -0
  31. package/dist/types/src/landing-page-editor/schemas/template/blocks/index.d.ts +12 -0
  32. package/dist/types/src/landing-page-editor/schemas/template/blocks/rawBlockSchema.d.ts +45 -0
  33. package/dist/types/src/landing-page-editor/schemas/template/blocks/socialBlockSchema.d.ts +637 -0
  34. package/dist/types/src/landing-page-editor/schemas/template/blocks/spacerBlockSchema.d.ts +392 -0
  35. package/dist/types/src/landing-page-editor/schemas/template/blocks/textBlockSchema.d.ts +480 -0
  36. package/dist/types/src/landing-page-editor/schemas/template/blocks/videoBlockSchema.d.ts +333 -0
  37. package/dist/types/src/landing-page-editor/schemas/template/commonSchema.d.ts +265 -0
  38. package/dist/types/src/landing-page-editor/schemas/template/settingsSchema.d.ts +4812 -0
  39. package/dist/types/src/landing-page-editor/schemas/template/structure/blockSchema.d.ts +7502 -0
  40. package/dist/types/src/landing-page-editor/schemas/template/structure/columnSchema.d.ts +7983 -0
  41. package/dist/types/src/landing-page-editor/schemas/template/structure/sectionSchema.d.ts +15074 -0
  42. package/dist/types/src/landing-page-editor/schemas/template/styleSchema.d.ts +185 -0
  43. package/dist/types/src/landing-page-editor/schemas/templateSchema.d.ts +58720 -0
  44. package/dist/types/src/landing-page-editor/schemas/templateSettings/templateSettingsSchema.d.ts +4959 -0
  45. package/dist/types/src/landing-page-editor/schemas/theme/themeSchema.d.ts +40 -0
  46. package/dist/types/src/landing-page-editor/schemas/user/userSchema.d.ts +13 -0
  47. package/dist/types/src/landing-page-editor/schemas/utils/transformBorder.d.ts +9 -0
  48. package/dist/types/src/main.d.ts +78 -24
  49. package/dist/types/types/Callbacks/ICallbackPayloads.d.ts +29 -0
  50. package/dist/types/types/Callbacks/IEmailCallbacks.d.ts +109 -0
  51. package/dist/types/types/ITopolOptions.d.ts +20 -38
  52. package/dist/types/types/ITopolPlugin.d.ts +7 -0
  53. package/dist/types/types/landing-page/ILandingPageEditorInstance.d.ts +19 -0
  54. package/dist/types/types/landing-page/ILandingPageOptions.d.ts +114 -0
  55. package/package.json +12 -6
@@ -0,0 +1,333 @@
1
+ import { z } from "zod";
2
+ export declare const TopolVideoStyleAttributesSchema: z.ZodObject<{
3
+ "aspect-ratio": z.ZodCatch<z.ZodOptional<z.ZodString>>;
4
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
5
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
6
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
7
+ color: "color";
8
+ normal: "normal";
9
+ multiply: "multiply";
10
+ screen: "screen";
11
+ overlay: "overlay";
12
+ darken: "darken";
13
+ lighten: "lighten";
14
+ "color-dodge": "color-dodge";
15
+ "color-burn": "color-burn";
16
+ "hard-light": "hard-light";
17
+ "soft-light": "soft-light";
18
+ difference: "difference";
19
+ exclusion: "exclusion";
20
+ hue: "hue";
21
+ saturation: "saturation";
22
+ luminosity: "luminosity";
23
+ }>>>;
24
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
25
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
26
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
27
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
28
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
29
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
30
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
31
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
32
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
33
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
34
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
35
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
36
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
37
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
38
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
39
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
40
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
41
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
42
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
43
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
44
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
45
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
46
+ block: "block";
47
+ none: "none";
48
+ }>>>;
49
+ }, z.core.$strip>;
50
+ export declare const TopolVideoHoverSchema: z.ZodObject<{
51
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
52
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
53
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
54
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
55
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
56
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
57
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
58
+ color: "color";
59
+ normal: "normal";
60
+ multiply: "multiply";
61
+ screen: "screen";
62
+ overlay: "overlay";
63
+ darken: "darken";
64
+ lighten: "lighten";
65
+ "color-dodge": "color-dodge";
66
+ "color-burn": "color-burn";
67
+ "hard-light": "hard-light";
68
+ "soft-light": "soft-light";
69
+ difference: "difference";
70
+ exclusion: "exclusion";
71
+ hue: "hue";
72
+ saturation: "saturation";
73
+ luminosity: "luminosity";
74
+ }>>>;
75
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
76
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
77
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
78
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
79
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
80
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
81
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
82
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
83
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
84
+ }, z.core.$strip>;
85
+ export declare const TopolVideoBlockSchema: z.ZodObject<{
86
+ uid: z.ZodCatch<z.ZodString>;
87
+ customKey: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
88
+ locked: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
89
+ tagName: z.ZodLiteral<"mj-video">;
90
+ isVideo: z.ZodCatch<z.ZodOptional<z.ZodLiteral<true>>>;
91
+ attributes: z.ZodDefault<z.ZodObject<{
92
+ "aspect-ratio": z.ZodCatch<z.ZodOptional<z.ZodString>>;
93
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
94
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
95
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
96
+ color: "color";
97
+ normal: "normal";
98
+ multiply: "multiply";
99
+ screen: "screen";
100
+ overlay: "overlay";
101
+ darken: "darken";
102
+ lighten: "lighten";
103
+ "color-dodge": "color-dodge";
104
+ "color-burn": "color-burn";
105
+ "hard-light": "hard-light";
106
+ "soft-light": "soft-light";
107
+ difference: "difference";
108
+ exclusion: "exclusion";
109
+ hue: "hue";
110
+ saturation: "saturation";
111
+ luminosity: "luminosity";
112
+ }>>>;
113
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
114
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
115
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
116
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
117
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
118
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
119
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
120
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
121
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
122
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
123
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
124
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
125
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
126
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
127
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
128
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
129
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
130
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
131
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
132
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
133
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
134
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
135
+ block: "block";
136
+ none: "none";
137
+ }>>>;
138
+ src: z.ZodCatch<z.ZodString>;
139
+ noIframe: z.ZodOptional<z.ZodBoolean>;
140
+ alt: z.ZodCatch<z.ZodOptional<z.ZodString>>;
141
+ title: z.ZodOptional<z.ZodString>;
142
+ "css-class": z.ZodOptional<z.ZodPipe<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
143
+ "": "";
144
+ hide_on_mobile: "hide_on_mobile";
145
+ hide_on_desktop: "hide_on_desktop";
146
+ }>, z.ZodArray<z.ZodString>]>>, z.ZodTransform<"" | string[] | null, string[] | z.core.$InferEnumOutput<{
147
+ "": "";
148
+ hide_on_mobile: "hide_on_mobile";
149
+ hide_on_desktop: "hide_on_desktop";
150
+ }> | null>>>;
151
+ }, z.core.$strip>>;
152
+ mdAttributes: z.ZodDefault<z.ZodObject<{
153
+ "aspect-ratio": z.ZodCatch<z.ZodOptional<z.ZodString>>;
154
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
155
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
156
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
157
+ color: "color";
158
+ normal: "normal";
159
+ multiply: "multiply";
160
+ screen: "screen";
161
+ overlay: "overlay";
162
+ darken: "darken";
163
+ lighten: "lighten";
164
+ "color-dodge": "color-dodge";
165
+ "color-burn": "color-burn";
166
+ "hard-light": "hard-light";
167
+ "soft-light": "soft-light";
168
+ difference: "difference";
169
+ exclusion: "exclusion";
170
+ hue: "hue";
171
+ saturation: "saturation";
172
+ luminosity: "luminosity";
173
+ }>>>;
174
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
175
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
176
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
177
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
178
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
179
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
180
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
181
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
182
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
183
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
184
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
185
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
186
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
187
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
188
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
189
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
190
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
191
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
192
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
193
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
194
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
195
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
196
+ block: "block";
197
+ none: "none";
198
+ }>>>;
199
+ }, z.core.$strip>>;
200
+ smAttributes: z.ZodDefault<z.ZodObject<{
201
+ "aspect-ratio": z.ZodCatch<z.ZodOptional<z.ZodString>>;
202
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
203
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
204
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
205
+ color: "color";
206
+ normal: "normal";
207
+ multiply: "multiply";
208
+ screen: "screen";
209
+ overlay: "overlay";
210
+ darken: "darken";
211
+ lighten: "lighten";
212
+ "color-dodge": "color-dodge";
213
+ "color-burn": "color-burn";
214
+ "hard-light": "hard-light";
215
+ "soft-light": "soft-light";
216
+ difference: "difference";
217
+ exclusion: "exclusion";
218
+ hue: "hue";
219
+ saturation: "saturation";
220
+ luminosity: "luminosity";
221
+ }>>>;
222
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
223
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
224
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
225
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
226
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
227
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
228
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
229
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
230
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
231
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
232
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
233
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
234
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
235
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
236
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
237
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
238
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
239
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
240
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
241
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
242
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
243
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
244
+ block: "block";
245
+ none: "none";
246
+ }>>>;
247
+ }, z.core.$strip>>;
248
+ xsAttributes: z.ZodDefault<z.ZodObject<{
249
+ "aspect-ratio": z.ZodCatch<z.ZodOptional<z.ZodString>>;
250
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
251
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
252
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
253
+ color: "color";
254
+ normal: "normal";
255
+ multiply: "multiply";
256
+ screen: "screen";
257
+ overlay: "overlay";
258
+ darken: "darken";
259
+ lighten: "lighten";
260
+ "color-dodge": "color-dodge";
261
+ "color-burn": "color-burn";
262
+ "hard-light": "hard-light";
263
+ "soft-light": "soft-light";
264
+ difference: "difference";
265
+ exclusion: "exclusion";
266
+ hue: "hue";
267
+ saturation: "saturation";
268
+ luminosity: "luminosity";
269
+ }>>>;
270
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
271
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
272
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
273
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
274
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
275
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
276
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
277
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
278
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
279
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
280
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
281
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
282
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
283
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
284
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
285
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
286
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
287
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
288
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
289
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
290
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
291
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
292
+ block: "block";
293
+ none: "none";
294
+ }>>>;
295
+ }, z.core.$strip>>;
296
+ hover: z.ZodCatch<z.ZodOptional<z.ZodObject<{
297
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
298
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
299
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
300
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
301
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
302
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
303
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
304
+ color: "color";
305
+ normal: "normal";
306
+ multiply: "multiply";
307
+ screen: "screen";
308
+ overlay: "overlay";
309
+ darken: "darken";
310
+ lighten: "lighten";
311
+ "color-dodge": "color-dodge";
312
+ "color-burn": "color-burn";
313
+ "hard-light": "hard-light";
314
+ "soft-light": "soft-light";
315
+ difference: "difference";
316
+ exclusion: "exclusion";
317
+ hue: "hue";
318
+ saturation: "saturation";
319
+ luminosity: "luminosity";
320
+ }>>>;
321
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
322
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
323
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
324
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
325
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
326
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
327
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
328
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
329
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
330
+ }, z.core.$strip>>>;
331
+ }, z.core.$strip>;
332
+ export type TopolVideoBlock = z.infer<typeof TopolVideoBlockSchema>;
333
+ export declare const videoTagAttributes: readonly ["src", "title", "alt"];
@@ -0,0 +1,265 @@
1
+ import { z } from "zod";
2
+ export declare const TopolBlockCssClassSchema: z.ZodPipe<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
3
+ "": "";
4
+ hide_on_mobile: "hide_on_mobile";
5
+ hide_on_desktop: "hide_on_desktop";
6
+ }>, z.ZodArray<z.ZodString>]>>, z.ZodTransform<"" | string[] | null, string[] | z.core.$InferEnumOutput<{
7
+ "": "";
8
+ hide_on_mobile: "hide_on_mobile";
9
+ hide_on_desktop: "hide_on_desktop";
10
+ }> | null>>;
11
+ export declare const TopolBlockAlignSchema: z.ZodEnum<{
12
+ left: "left";
13
+ right: "right";
14
+ center: "center";
15
+ }>;
16
+ export declare const TopolVertcalAlignSchema: z.ZodEnum<{
17
+ top: "top";
18
+ middle: "middle";
19
+ bottom: "bottom";
20
+ }>;
21
+ export declare const TopolTargetSchema: z.ZodEnum<{
22
+ _blank: "_blank";
23
+ _self: "_self";
24
+ _parent: "_parent";
25
+ _top: "_top";
26
+ }>;
27
+ export declare const TopolDisplaySchema: z.ZodEnum<{
28
+ block: "block";
29
+ inline: "inline";
30
+ "inline-block": "inline-block";
31
+ flex: "flex";
32
+ grid: "grid";
33
+ none: "none";
34
+ }>;
35
+ export declare const TopolFlexDirectionSchema: z.ZodEnum<{
36
+ row: "row";
37
+ "row-reverse": "row-reverse";
38
+ column: "column";
39
+ "column-reverse": "column-reverse";
40
+ }>;
41
+ export declare const TopolJustifyContentSchema: z.ZodEnum<{
42
+ center: "center";
43
+ start: "start";
44
+ end: "end";
45
+ "space-between": "space-between";
46
+ "space-around": "space-around";
47
+ "space-evenly": "space-evenly";
48
+ }>;
49
+ export declare const TopolAlignItemsSchema: z.ZodEnum<{
50
+ center: "center";
51
+ start: "start";
52
+ end: "end";
53
+ stretch: "stretch";
54
+ }>;
55
+ export declare const TopolPositionSchema: z.ZodEnum<{
56
+ static: "static";
57
+ relative: "relative";
58
+ absolute: "absolute";
59
+ fixed: "fixed";
60
+ sticky: "sticky";
61
+ }>;
62
+ export declare const TopolLayoutSchema: z.ZodObject<{
63
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
64
+ block: "block";
65
+ inline: "inline";
66
+ "inline-block": "inline-block";
67
+ flex: "flex";
68
+ grid: "grid";
69
+ none: "none";
70
+ }>>>;
71
+ "grid-template-columns": z.ZodCatch<z.ZodOptional<z.ZodString>>;
72
+ "justify-content": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
73
+ center: "center";
74
+ start: "start";
75
+ end: "end";
76
+ "space-between": "space-between";
77
+ "space-around": "space-around";
78
+ "space-evenly": "space-evenly";
79
+ }>>>;
80
+ "align-items": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
81
+ center: "center";
82
+ start: "start";
83
+ end: "end";
84
+ stretch: "stretch";
85
+ }>>>;
86
+ gap: z.ZodCatch<z.ZodOptional<z.ZodString>>;
87
+ "flex-direction": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
88
+ row: "row";
89
+ "row-reverse": "row-reverse";
90
+ column: "column";
91
+ "column-reverse": "column-reverse";
92
+ }>>>;
93
+ "flex-wrap": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
94
+ wrap: "wrap";
95
+ nowrap: "nowrap";
96
+ "wrap-reverse": "wrap-reverse";
97
+ }>>>;
98
+ }, z.core.$strip>;
99
+ export declare const TopolBlockLayoutSchema: z.ZodObject<{
100
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
101
+ block: "block";
102
+ none: "none";
103
+ }>>>;
104
+ }, z.core.$strip>;
105
+ export declare const TopolSizeSchema: z.ZodObject<{
106
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
107
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
108
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
109
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
110
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
111
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
112
+ }, z.core.$strip>;
113
+ export declare const TopolSpacingSchema: z.ZodObject<{
114
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
115
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
116
+ }, z.core.$strip>;
117
+ export declare const TopolTypographySchema: z.ZodObject<{
118
+ color: z.ZodCatch<z.ZodOptional<z.ZodString>>;
119
+ "font-family": z.ZodCatch<z.ZodOptional<z.ZodString>>;
120
+ "font-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
121
+ "font-weight": z.ZodCatch<z.ZodOptional<z.ZodString>>;
122
+ "font-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
123
+ "text-transform": z.ZodCatch<z.ZodOptional<z.ZodString>>;
124
+ "text-decoration": z.ZodCatch<z.ZodOptional<z.ZodString>>;
125
+ "text-align": z.ZodCatch<z.ZodOptional<z.ZodString>>;
126
+ "line-height": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
127
+ "letter-spacing": z.ZodCatch<z.ZodOptional<z.ZodString>>;
128
+ }, z.core.$strip>;
129
+ export declare const TopolBackgroundSchema: z.ZodObject<{
130
+ "background-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
131
+ "background-image": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
132
+ "background-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
133
+ "background-repeat": z.ZodCatch<z.ZodOptional<z.ZodString>>;
134
+ "background-position": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
135
+ "background-attachment": z.ZodCatch<z.ZodOptional<z.ZodString>>;
136
+ "background-clip": z.ZodCatch<z.ZodOptional<z.ZodString>>;
137
+ }, z.core.$strip>;
138
+ export declare const TopolBorderSchema: z.ZodObject<{
139
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
140
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
141
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
142
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
143
+ }, z.core.$strip>;
144
+ export declare const TopolBasicEffectSchema: z.ZodObject<{
145
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
146
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
147
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
148
+ color: "color";
149
+ normal: "normal";
150
+ multiply: "multiply";
151
+ screen: "screen";
152
+ overlay: "overlay";
153
+ darken: "darken";
154
+ lighten: "lighten";
155
+ "color-dodge": "color-dodge";
156
+ "color-burn": "color-burn";
157
+ "hard-light": "hard-light";
158
+ "soft-light": "soft-light";
159
+ difference: "difference";
160
+ exclusion: "exclusion";
161
+ hue: "hue";
162
+ saturation: "saturation";
163
+ luminosity: "luminosity";
164
+ }>>>;
165
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
166
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
167
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
168
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
169
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
170
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
171
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
172
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
173
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
174
+ }, z.core.$strip>;
175
+ export declare const TopolHoverSchema: z.ZodObject<{
176
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
177
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
178
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
179
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
180
+ "background-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
181
+ "background-image": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
182
+ "background-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
183
+ "background-repeat": z.ZodCatch<z.ZodOptional<z.ZodString>>;
184
+ "background-position": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
185
+ "background-attachment": z.ZodCatch<z.ZodOptional<z.ZodString>>;
186
+ "background-clip": z.ZodCatch<z.ZodOptional<z.ZodString>>;
187
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
188
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
189
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
190
+ color: "color";
191
+ normal: "normal";
192
+ multiply: "multiply";
193
+ screen: "screen";
194
+ overlay: "overlay";
195
+ darken: "darken";
196
+ lighten: "lighten";
197
+ "color-dodge": "color-dodge";
198
+ "color-burn": "color-burn";
199
+ "hard-light": "hard-light";
200
+ "soft-light": "soft-light";
201
+ difference: "difference";
202
+ exclusion: "exclusion";
203
+ hue: "hue";
204
+ saturation: "saturation";
205
+ luminosity: "luminosity";
206
+ }>>>;
207
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
208
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
209
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
210
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
211
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
212
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
213
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
214
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
215
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
216
+ }, z.core.$strip>;
217
+ export declare const TopolBasicSchema: z.ZodObject<{
218
+ tagName: z.ZodString;
219
+ uid: z.ZodCatch<z.ZodString>;
220
+ customKey: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
221
+ hover: z.ZodCatch<z.ZodOptional<z.ZodObject<{
222
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
223
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
224
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
225
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
226
+ "background-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
227
+ "background-image": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
228
+ "background-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
229
+ "background-repeat": z.ZodCatch<z.ZodOptional<z.ZodString>>;
230
+ "background-position": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
231
+ "background-attachment": z.ZodCatch<z.ZodOptional<z.ZodString>>;
232
+ "background-clip": z.ZodCatch<z.ZodOptional<z.ZodString>>;
233
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
234
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
235
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
236
+ color: "color";
237
+ normal: "normal";
238
+ multiply: "multiply";
239
+ screen: "screen";
240
+ overlay: "overlay";
241
+ darken: "darken";
242
+ lighten: "lighten";
243
+ "color-dodge": "color-dodge";
244
+ "color-burn": "color-burn";
245
+ "hard-light": "hard-light";
246
+ "soft-light": "soft-light";
247
+ difference: "difference";
248
+ exclusion: "exclusion";
249
+ hue: "hue";
250
+ saturation: "saturation";
251
+ luminosity: "luminosity";
252
+ }>>>;
253
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
254
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
255
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
256
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
257
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
258
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
259
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
260
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
261
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
262
+ }, z.core.$strip>>>;
263
+ locked: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
264
+ }, z.core.$strip>;
265
+ export type TopolHover = z.infer<typeof TopolHoverSchema>;