@treygrr/vjml 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +143 -0
  3. package/dist/types/components/VjmlRenderFrame.vue.d.ts +69 -0
  4. package/dist/types/composables/useVjml.d.ts +1 -0
  5. package/dist/types/index.d.ts +15 -0
  6. package/dist/types/metadata.d.ts +24 -0
  7. package/dist/types/metadata.generated.d.ts +1231 -0
  8. package/dist/types/plugin.d.ts +14 -0
  9. package/dist/types/runtime/client/renderVjmlToDebugTree.d.ts +5 -0
  10. package/dist/types/runtime/client/renderVjmlToHtml.d.ts +5 -0
  11. package/dist/types/runtime/client/useVjmlRenderer.d.ts +10 -0
  12. package/dist/types/runtime/component-types.generated.d.ts +581 -0
  13. package/dist/types/runtime/components/Accordion.d.ts +2 -0
  14. package/dist/types/runtime/components/AccordionElement.d.ts +2 -0
  15. package/dist/types/runtime/components/AccordionText.d.ts +2 -0
  16. package/dist/types/runtime/components/AccordionTitle.d.ts +2 -0
  17. package/dist/types/runtime/components/All.d.ts +2 -0
  18. package/dist/types/runtime/components/Attributes.d.ts +2 -0
  19. package/dist/types/runtime/components/Body.d.ts +2 -0
  20. package/dist/types/runtime/components/Breakpoint.d.ts +2 -0
  21. package/dist/types/runtime/components/Button.d.ts +2 -0
  22. package/dist/types/runtime/components/Carousel.d.ts +2 -0
  23. package/dist/types/runtime/components/CarouselImage.d.ts +2 -0
  24. package/dist/types/runtime/components/Class.d.ts +2 -0
  25. package/dist/types/runtime/components/Column.d.ts +2 -0
  26. package/dist/types/runtime/components/Divider.d.ts +2 -0
  27. package/dist/types/runtime/components/Font.d.ts +2 -0
  28. package/dist/types/runtime/components/Group.d.ts +2 -0
  29. package/dist/types/runtime/components/Head.d.ts +2 -0
  30. package/dist/types/runtime/components/Hero.d.ts +2 -0
  31. package/dist/types/runtime/components/HtmlAttribute.d.ts +2 -0
  32. package/dist/types/runtime/components/HtmlAttributes.d.ts +2 -0
  33. package/dist/types/runtime/components/Image.d.ts +2 -0
  34. package/dist/types/runtime/components/Mjml.d.ts +2 -0
  35. package/dist/types/runtime/components/Navbar.d.ts +2 -0
  36. package/dist/types/runtime/components/NavbarLink.d.ts +2 -0
  37. package/dist/types/runtime/components/Preview.d.ts +2 -0
  38. package/dist/types/runtime/components/Raw.d.ts +2 -0
  39. package/dist/types/runtime/components/Section.d.ts +2 -0
  40. package/dist/types/runtime/components/Selector.d.ts +2 -0
  41. package/dist/types/runtime/components/Social.d.ts +2 -0
  42. package/dist/types/runtime/components/SocialElement.d.ts +2 -0
  43. package/dist/types/runtime/components/Spacer.d.ts +2 -0
  44. package/dist/types/runtime/components/Style.d.ts +2 -0
  45. package/dist/types/runtime/components/Table.d.ts +2 -0
  46. package/dist/types/runtime/components/Text.d.ts +2 -0
  47. package/dist/types/runtime/components/Title.d.ts +2 -0
  48. package/dist/types/runtime/components/Wrapper.d.ts +2 -0
  49. package/dist/types/runtime/components.generated.d.ts +77 -0
  50. package/dist/types/runtime/composables/useVjml.d.ts +2 -0
  51. package/dist/types/runtime/composables/useVjmlComponentName.d.ts +2 -0
  52. package/dist/types/runtime/internal/browserDocument.d.ts +2 -0
  53. package/dist/types/runtime/internal/browserRendering.d.ts +3 -0
  54. package/dist/types/runtime/internal/componentMetadata.d.ts +2 -0
  55. package/dist/types/runtime/internal/content.d.ts +3 -0
  56. package/dist/types/runtime/internal/context.d.ts +82 -0
  57. package/dist/types/runtime/internal/factory.d.ts +54 -0
  58. package/dist/types/runtime/internal/head.d.ts +3 -0
  59. package/dist/types/runtime/internal/helpers/conditional.d.ts +10 -0
  60. package/dist/types/runtime/internal/helpers/documentShared.d.ts +10 -0
  61. package/dist/types/runtime/internal/helpers/measurements.d.ts +10 -0
  62. package/dist/types/runtime/internal/helpers/shorthand.d.ts +3 -0
  63. package/dist/types/runtime/internal/interactive.d.ts +36 -0
  64. package/dist/types/runtime/internal/layout.d.ts +76 -0
  65. package/dist/types/runtime/internal/renderless.d.ts +1 -0
  66. package/dist/types/runtime/internal/vnodes.d.ts +11 -0
  67. package/dist/types/runtime/manifest.generated.d.ts +412 -0
  68. package/dist/types/runtime/types.d.ts +1 -0
  69. package/dist/types/vjml.d.ts +93 -0
  70. package/dist/vjml.cjs +154 -0
  71. package/dist/vjml.js +5056 -0
  72. package/package.json +73 -0
@@ -0,0 +1,14 @@
1
+ import type { App, Plugin } from 'vue';
2
+ import { type VjmlRuntimeConfig, type VjmlRuntimeConfigInput } from './vjml';
3
+ export interface VjmlPluginOptions extends VjmlRuntimeConfigInput {
4
+ includeUnprefixedAliases?: boolean;
5
+ }
6
+ export declare function resolveVjmlPluginConfig(options?: VjmlPluginOptions): Readonly<VjmlRuntimeConfig>;
7
+ export declare function registerVjmlComponents(app: App, prefix: string, includeUnprefixedAliases?: boolean): void;
8
+ export declare const VjmlPlugin: Plugin<VjmlPluginOptions>;
9
+ declare module 'vue' {
10
+ interface ComponentCustomProperties {
11
+ $vjml: Readonly<VjmlRuntimeConfig>;
12
+ }
13
+ }
14
+ export default VjmlPlugin;
@@ -0,0 +1,5 @@
1
+ import type { Component } from 'vue';
2
+ import { type VjmlRuntimeConfig } from '../../vjml';
3
+ import type { RenderVjmlToHtmlOptions, VjmlDebugRenderResult } from '../types';
4
+ export declare function renderVjmlToDebugTreeWithConfig(component: Component, config: VjmlRuntimeConfig, props?: Record<string, unknown>): Promise<VjmlDebugRenderResult>;
5
+ export declare function renderVjmlToDebugTree(component: Component, options?: RenderVjmlToHtmlOptions): Promise<VjmlDebugRenderResult>;
@@ -0,0 +1,5 @@
1
+ import type { Component } from 'vue';
2
+ import { type VjmlRuntimeConfig } from '../../vjml';
3
+ import type { RenderVjmlToHtmlOptions, VjmlRenderResult } from '../types';
4
+ export declare function renderVjmlToHtmlWithConfig(component: Component, config: VjmlRuntimeConfig, props?: Record<string, unknown>): Promise<VjmlRenderResult>;
5
+ export declare function renderVjmlToHtml(component: Component, options?: RenderVjmlToHtmlOptions): Promise<VjmlRenderResult>;
@@ -0,0 +1,10 @@
1
+ import type { Component } from 'vue';
2
+ import { type RenderVjmlToHtmlOptions, type VjmlDebugRenderResult, type VjmlRenderResult, type VjmlRuntimeConfigInput } from '../../vjml';
3
+ export declare function createVjmlRenderer(baseRuntime?: VjmlRuntimeConfigInput): {
4
+ renderToHtml(component: Component, options?: RenderVjmlToHtmlOptions): Promise<VjmlRenderResult>;
5
+ renderToDebugTree(component: Component, options?: RenderVjmlToHtmlOptions): Promise<VjmlDebugRenderResult>;
6
+ };
7
+ export declare function useVjmlRenderer(baseRuntime?: VjmlRuntimeConfigInput): {
8
+ renderToHtml(component: Component, options?: RenderVjmlToHtmlOptions): Promise<VjmlRenderResult>;
9
+ renderToDebugTree(component: Component, options?: RenderVjmlToHtmlOptions): Promise<VjmlDebugRenderResult>;
10
+ };
@@ -0,0 +1,581 @@
1
+ export type VjmlAttributePrimitive = string | number | boolean;
2
+ export type VjmlContentValue = string | number | boolean;
3
+ export type VjmlBooleanValue = boolean | 'true' | 'false' | '';
4
+ export type VjmlTokenBooleanValue<Token extends string> = VjmlBooleanValue | Token;
5
+ export type VjmlClassValue = string | readonly string[] | Readonly<Record<string, boolean>> | null | undefined;
6
+ export type VjmlUnitValue = string | number;
7
+ export type VjmlIntegerValue = number | `${number}`;
8
+ export type VjmlArbitraryAttributeValue = VjmlAttributePrimitive | VjmlClassValue | undefined;
9
+ export interface VjmlCommonComponentProps {
10
+ class?: VjmlClassValue;
11
+ className?: VjmlClassValue;
12
+ cssClass?: VjmlClassValue;
13
+ mjClass?: VjmlClassValue;
14
+ }
15
+ export interface VjmlNestedChildrenProps {
16
+ content?: never;
17
+ html?: never;
18
+ text?: never;
19
+ }
20
+ export interface VjmlLeafContentProps {
21
+ content?: never;
22
+ html?: never;
23
+ text?: never;
24
+ }
25
+ export interface VjmlHtmlContentProps {
26
+ content?: VjmlContentValue;
27
+ html?: VjmlContentValue;
28
+ text?: never;
29
+ }
30
+ export interface VjmlTextContentProps {
31
+ content?: VjmlContentValue;
32
+ html?: never;
33
+ text?: VjmlContentValue;
34
+ }
35
+ export type VjmlSocialElementName = "facebook" | "facebook-noshare" | "twitter" | "twitter-noshare" | "x" | "x-noshare" | "google" | "google-noshare" | "pinterest" | "pinterest-noshare" | "linkedin" | "linkedin-noshare" | "instagram" | "instagram-noshare" | "web" | "web-noshare" | "snapchat" | "snapchat-noshare" | "youtube" | "youtube-noshare" | "tumblr" | "tumblr-noshare" | "github" | "github-noshare" | "xing" | "xing-noshare" | "vimeo" | "vimeo-noshare" | "medium" | "medium-noshare" | "soundcloud" | "soundcloud-noshare" | "dribbble" | "dribbble-noshare";
36
+ export interface VjmlAccordionProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
37
+ border?: string;
38
+ containerBackgroundColor?: string;
39
+ fontFamily?: string;
40
+ iconAlign?: "top" | "middle" | "bottom";
41
+ iconHeight?: VjmlUnitValue;
42
+ iconPosition?: "left" | "right";
43
+ iconUnwrappedAlt?: string;
44
+ iconUnwrappedUrl?: string;
45
+ iconWidth?: VjmlUnitValue;
46
+ iconWrappedAlt?: string;
47
+ iconWrappedUrl?: string;
48
+ padding?: VjmlUnitValue;
49
+ paddingBottom?: VjmlUnitValue;
50
+ paddingLeft?: VjmlUnitValue;
51
+ paddingRight?: VjmlUnitValue;
52
+ paddingTop?: VjmlUnitValue;
53
+ }
54
+ export interface VjmlAccordionElementProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
55
+ backgroundColor?: string;
56
+ border?: string;
57
+ fontFamily?: string;
58
+ iconAlign?: "top" | "middle" | "bottom";
59
+ iconHeight?: VjmlUnitValue;
60
+ iconPosition?: "left" | "right";
61
+ iconUnwrappedAlt?: string;
62
+ iconUnwrappedUrl?: string;
63
+ iconWidth?: VjmlUnitValue;
64
+ iconWrappedAlt?: string;
65
+ iconWrappedUrl?: string;
66
+ }
67
+ export interface VjmlAccordionTextProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
68
+ backgroundColor?: string;
69
+ color?: string;
70
+ fontFamily?: string;
71
+ fontSize?: VjmlUnitValue;
72
+ fontWeight?: string;
73
+ letterSpacing?: VjmlUnitValue;
74
+ lineHeight?: VjmlUnitValue;
75
+ padding?: VjmlUnitValue;
76
+ paddingBottom?: VjmlUnitValue;
77
+ paddingLeft?: VjmlUnitValue;
78
+ paddingRight?: VjmlUnitValue;
79
+ paddingTop?: VjmlUnitValue;
80
+ }
81
+ export interface VjmlAccordionTitleProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
82
+ backgroundColor?: string;
83
+ color?: string;
84
+ fontFamily?: string;
85
+ fontSize?: VjmlUnitValue;
86
+ fontWeight?: string;
87
+ padding?: VjmlUnitValue;
88
+ paddingBottom?: VjmlUnitValue;
89
+ paddingLeft?: VjmlUnitValue;
90
+ paddingRight?: VjmlUnitValue;
91
+ paddingTop?: VjmlUnitValue;
92
+ }
93
+ export interface VjmlAllProps extends VjmlCommonComponentProps, VjmlLeafContentProps {
94
+ [attributeName: string]: VjmlArbitraryAttributeValue;
95
+ }
96
+ export interface VjmlAttributesProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
97
+ }
98
+ export interface VjmlBodyProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
99
+ backgroundColor?: string;
100
+ width?: VjmlUnitValue;
101
+ }
102
+ export interface VjmlBreakpointProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
103
+ width?: VjmlUnitValue;
104
+ }
105
+ export interface VjmlButtonProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
106
+ align?: "left" | "center" | "right";
107
+ backgroundColor?: string;
108
+ border?: string;
109
+ borderBottom?: string;
110
+ borderLeft?: string;
111
+ borderRadius?: string;
112
+ borderRight?: string;
113
+ borderTop?: string;
114
+ color?: string;
115
+ containerBackgroundColor?: string;
116
+ fontFamily?: string;
117
+ fontSize?: VjmlUnitValue;
118
+ fontStyle?: string;
119
+ fontWeight?: string;
120
+ height?: VjmlUnitValue;
121
+ href?: string;
122
+ innerPadding?: VjmlUnitValue;
123
+ letterSpacing?: VjmlUnitValue;
124
+ lineHeight?: VjmlUnitValue;
125
+ name?: string;
126
+ padding?: VjmlUnitValue;
127
+ paddingBottom?: VjmlUnitValue;
128
+ paddingLeft?: VjmlUnitValue;
129
+ paddingRight?: VjmlUnitValue;
130
+ paddingTop?: VjmlUnitValue;
131
+ rel?: string;
132
+ target?: string;
133
+ textAlign?: "left" | "right" | "center";
134
+ textDecoration?: string;
135
+ textTransform?: string;
136
+ title?: string;
137
+ verticalAlign?: "top" | "bottom" | "middle";
138
+ width?: VjmlUnitValue;
139
+ }
140
+ export interface VjmlCarouselProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
141
+ align?: "left" | "center" | "right";
142
+ borderRadius?: VjmlUnitValue;
143
+ containerBackgroundColor?: string;
144
+ iconWidth?: VjmlUnitValue;
145
+ leftIcon?: string;
146
+ padding?: VjmlUnitValue;
147
+ paddingBottom?: VjmlUnitValue;
148
+ paddingLeft?: VjmlUnitValue;
149
+ paddingRight?: VjmlUnitValue;
150
+ paddingTop?: VjmlUnitValue;
151
+ rightIcon?: string;
152
+ tbBorder?: string;
153
+ tbBorderRadius?: VjmlUnitValue;
154
+ tbHoverBorderColor?: string;
155
+ tbSelectedBorderColor?: string;
156
+ tbWidth?: VjmlUnitValue;
157
+ thumbnails?: "visible" | "hidden" | "supported";
158
+ }
159
+ export interface VjmlCarouselImageProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
160
+ alt?: string;
161
+ borderRadius?: VjmlUnitValue;
162
+ href?: string;
163
+ rel?: string;
164
+ src?: string;
165
+ target?: string;
166
+ tbBorder?: string;
167
+ tbBorderRadius?: VjmlUnitValue;
168
+ thumbnailsSrc?: string;
169
+ title?: string;
170
+ }
171
+ export interface VjmlClassProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
172
+ [attributeName: string]: VjmlArbitraryAttributeValue;
173
+ name?: string;
174
+ }
175
+ export interface VjmlColumnProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
176
+ backgroundColor?: string;
177
+ border?: string;
178
+ borderBottom?: string;
179
+ borderLeft?: string;
180
+ borderRadius?: VjmlUnitValue;
181
+ borderRight?: string;
182
+ borderTop?: string;
183
+ direction?: "ltr" | "rtl";
184
+ innerBackgroundColor?: string;
185
+ innerBorder?: string;
186
+ innerBorderBottom?: string;
187
+ innerBorderLeft?: string;
188
+ innerBorderRadius?: VjmlUnitValue;
189
+ innerBorderRight?: string;
190
+ innerBorderTop?: string;
191
+ padding?: VjmlUnitValue;
192
+ paddingBottom?: VjmlUnitValue;
193
+ paddingLeft?: VjmlUnitValue;
194
+ paddingRight?: VjmlUnitValue;
195
+ paddingTop?: VjmlUnitValue;
196
+ verticalAlign?: "top" | "bottom" | "middle";
197
+ width?: VjmlUnitValue;
198
+ }
199
+ export interface VjmlDividerProps extends VjmlCommonComponentProps, VjmlLeafContentProps {
200
+ align?: "left" | "center" | "right";
201
+ borderColor?: string;
202
+ borderStyle?: string;
203
+ borderWidth?: VjmlUnitValue;
204
+ containerBackgroundColor?: string;
205
+ padding?: VjmlUnitValue;
206
+ paddingBottom?: VjmlUnitValue;
207
+ paddingLeft?: VjmlUnitValue;
208
+ paddingRight?: VjmlUnitValue;
209
+ paddingTop?: VjmlUnitValue;
210
+ width?: VjmlUnitValue;
211
+ }
212
+ export interface VjmlFontProps extends VjmlCommonComponentProps, VjmlLeafContentProps {
213
+ href?: string;
214
+ name?: string;
215
+ }
216
+ export interface VjmlGroupProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
217
+ backgroundColor?: string;
218
+ direction?: "ltr" | "rtl";
219
+ verticalAlign?: "top" | "bottom" | "middle";
220
+ width?: VjmlUnitValue;
221
+ }
222
+ export interface VjmlHeadProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
223
+ }
224
+ export interface VjmlHeroProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
225
+ backgroundColor?: string;
226
+ backgroundHeight?: VjmlUnitValue;
227
+ backgroundPosition?: string;
228
+ backgroundUrl?: string;
229
+ backgroundWidth?: VjmlUnitValue;
230
+ borderRadius?: string;
231
+ containerBackgroundColor?: string;
232
+ height?: VjmlUnitValue;
233
+ innerBackgroundColor?: string;
234
+ innerPadding?: VjmlUnitValue;
235
+ innerPaddingBottom?: VjmlUnitValue;
236
+ innerPaddingLeft?: VjmlUnitValue;
237
+ innerPaddingRight?: VjmlUnitValue;
238
+ innerPaddingTop?: VjmlUnitValue;
239
+ mode?: string;
240
+ padding?: VjmlUnitValue;
241
+ paddingBottom?: VjmlUnitValue;
242
+ paddingLeft?: VjmlUnitValue;
243
+ paddingRight?: VjmlUnitValue;
244
+ paddingTop?: VjmlUnitValue;
245
+ verticalAlign?: "top" | "bottom" | "middle";
246
+ }
247
+ export interface VjmlHtmlAttributeProps extends VjmlCommonComponentProps, VjmlTextContentProps {
248
+ name?: string;
249
+ }
250
+ export interface VjmlHtmlAttributesProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
251
+ }
252
+ export interface VjmlImageProps extends VjmlCommonComponentProps, VjmlLeafContentProps {
253
+ align?: "left" | "center" | "right";
254
+ alt?: string;
255
+ border?: string;
256
+ borderBottom?: string;
257
+ borderLeft?: string;
258
+ borderRadius?: VjmlUnitValue;
259
+ borderRight?: string;
260
+ borderTop?: string;
261
+ containerBackgroundColor?: string;
262
+ fluidOnMobile?: VjmlBooleanValue;
263
+ fontSize?: VjmlUnitValue;
264
+ height?: VjmlUnitValue;
265
+ href?: string;
266
+ maxHeight?: VjmlUnitValue;
267
+ name?: string;
268
+ padding?: VjmlUnitValue;
269
+ paddingBottom?: VjmlUnitValue;
270
+ paddingLeft?: VjmlUnitValue;
271
+ paddingRight?: VjmlUnitValue;
272
+ paddingTop?: VjmlUnitValue;
273
+ rel?: string;
274
+ sizes?: string;
275
+ src?: string;
276
+ srcset?: string;
277
+ target?: string;
278
+ title?: string;
279
+ usemap?: string;
280
+ width?: VjmlUnitValue;
281
+ }
282
+ export interface VjmlMjmlProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
283
+ dir?: string;
284
+ lang?: string;
285
+ owa?: string;
286
+ }
287
+ export interface VjmlNavbarProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
288
+ align?: "left" | "center" | "right";
289
+ baseUrl?: string;
290
+ hamburger?: string;
291
+ icoAlign?: "left" | "center" | "right";
292
+ icoClose?: string;
293
+ icoColor?: string;
294
+ icoFontFamily?: string;
295
+ icoFontSize?: VjmlUnitValue;
296
+ icoLineHeight?: VjmlUnitValue;
297
+ icoOpen?: string;
298
+ icoPadding?: VjmlUnitValue;
299
+ icoPaddingBottom?: VjmlUnitValue;
300
+ icoPaddingLeft?: VjmlUnitValue;
301
+ icoPaddingRight?: VjmlUnitValue;
302
+ icoPaddingTop?: VjmlUnitValue;
303
+ icoTextDecoration?: string;
304
+ icoTextTransform?: string;
305
+ padding?: VjmlUnitValue;
306
+ paddingBottom?: VjmlUnitValue;
307
+ paddingLeft?: VjmlUnitValue;
308
+ paddingRight?: VjmlUnitValue;
309
+ paddingTop?: VjmlUnitValue;
310
+ }
311
+ export interface VjmlNavbarLinkProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
312
+ color?: string;
313
+ fontFamily?: string;
314
+ fontSize?: VjmlUnitValue;
315
+ fontStyle?: string;
316
+ fontWeight?: string;
317
+ href?: string;
318
+ letterSpacing?: VjmlUnitValue;
319
+ lineHeight?: VjmlUnitValue;
320
+ name?: string;
321
+ padding?: VjmlUnitValue;
322
+ paddingBottom?: VjmlUnitValue;
323
+ paddingLeft?: VjmlUnitValue;
324
+ paddingRight?: VjmlUnitValue;
325
+ paddingTop?: VjmlUnitValue;
326
+ rel?: string;
327
+ target?: string;
328
+ textDecoration?: string;
329
+ textTransform?: string;
330
+ }
331
+ export interface VjmlPreviewProps extends VjmlCommonComponentProps, VjmlTextContentProps {
332
+ }
333
+ export interface VjmlRawProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
334
+ position?: "file-start";
335
+ }
336
+ export interface VjmlSectionProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
337
+ backgroundColor?: string;
338
+ backgroundPosition?: string;
339
+ backgroundPositionX?: string;
340
+ backgroundPositionY?: string;
341
+ backgroundRepeat?: "repeat" | "no-repeat";
342
+ backgroundSize?: string;
343
+ backgroundUrl?: string;
344
+ border?: string;
345
+ borderBottom?: string;
346
+ borderLeft?: string;
347
+ borderRadius?: string;
348
+ borderRight?: string;
349
+ borderTop?: string;
350
+ direction?: "ltr" | "rtl";
351
+ fullWidth?: VjmlTokenBooleanValue<'full-width'>;
352
+ padding?: VjmlUnitValue;
353
+ paddingBottom?: VjmlUnitValue;
354
+ paddingLeft?: VjmlUnitValue;
355
+ paddingRight?: VjmlUnitValue;
356
+ paddingTop?: VjmlUnitValue;
357
+ textAlign?: "left" | "center" | "right";
358
+ textPadding?: VjmlUnitValue;
359
+ }
360
+ export interface VjmlSelectorProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
361
+ path?: string;
362
+ }
363
+ export interface VjmlSocialProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
364
+ align?: "left" | "right" | "center";
365
+ borderRadius?: VjmlUnitValue;
366
+ color?: string;
367
+ containerBackgroundColor?: string;
368
+ fontFamily?: string;
369
+ fontSize?: VjmlUnitValue;
370
+ fontStyle?: string;
371
+ fontWeight?: string;
372
+ iconHeight?: VjmlUnitValue;
373
+ iconPadding?: VjmlUnitValue;
374
+ iconSize?: VjmlUnitValue;
375
+ innerPadding?: VjmlUnitValue;
376
+ lineHeight?: VjmlUnitValue;
377
+ mode?: "horizontal" | "vertical";
378
+ padding?: VjmlUnitValue;
379
+ paddingBottom?: VjmlUnitValue;
380
+ paddingLeft?: VjmlUnitValue;
381
+ paddingRight?: VjmlUnitValue;
382
+ paddingTop?: VjmlUnitValue;
383
+ tableLayout?: "auto" | "fixed";
384
+ textDecoration?: string;
385
+ textPadding?: VjmlUnitValue;
386
+ verticalAlign?: "top" | "bottom" | "middle";
387
+ }
388
+ export interface VjmlSocialElementProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
389
+ align?: "left" | "center" | "right";
390
+ alt?: string;
391
+ backgroundColor?: string;
392
+ borderRadius?: VjmlUnitValue;
393
+ color?: string;
394
+ fontFamily?: string;
395
+ fontSize?: VjmlUnitValue;
396
+ fontStyle?: string;
397
+ fontWeight?: string;
398
+ href?: string;
399
+ iconHeight?: VjmlUnitValue;
400
+ iconPadding?: VjmlUnitValue;
401
+ iconPosition?: "left" | "right";
402
+ iconSize?: VjmlUnitValue;
403
+ lineHeight?: VjmlUnitValue;
404
+ name?: VjmlSocialElementName | (string & {});
405
+ padding?: VjmlUnitValue;
406
+ paddingBottom?: VjmlUnitValue;
407
+ paddingLeft?: VjmlUnitValue;
408
+ paddingRight?: VjmlUnitValue;
409
+ paddingTop?: VjmlUnitValue;
410
+ rel?: string;
411
+ sizes?: string;
412
+ src?: string;
413
+ srcset?: string;
414
+ target?: string;
415
+ textDecoration?: string;
416
+ textPadding?: VjmlUnitValue;
417
+ title?: string;
418
+ verticalAlign?: "top" | "middle" | "bottom";
419
+ }
420
+ export interface VjmlSpacerProps extends VjmlCommonComponentProps, VjmlLeafContentProps {
421
+ border?: string;
422
+ borderBottom?: string;
423
+ borderLeft?: string;
424
+ borderRight?: string;
425
+ borderTop?: string;
426
+ containerBackgroundColor?: string;
427
+ height?: VjmlUnitValue;
428
+ padding?: VjmlUnitValue;
429
+ paddingBottom?: VjmlUnitValue;
430
+ paddingLeft?: VjmlUnitValue;
431
+ paddingRight?: VjmlUnitValue;
432
+ paddingTop?: VjmlUnitValue;
433
+ }
434
+ export interface VjmlStyleProps extends VjmlCommonComponentProps, VjmlTextContentProps {
435
+ inline?: VjmlTokenBooleanValue<'inline'>;
436
+ }
437
+ export interface VjmlTableProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
438
+ align?: "left" | "right" | "center";
439
+ border?: string;
440
+ cellpadding?: VjmlIntegerValue;
441
+ cellspacing?: VjmlIntegerValue;
442
+ color?: string;
443
+ containerBackgroundColor?: string;
444
+ fontFamily?: string;
445
+ fontSize?: VjmlUnitValue;
446
+ fontWeight?: string;
447
+ lineHeight?: VjmlUnitValue;
448
+ padding?: VjmlUnitValue;
449
+ paddingBottom?: VjmlUnitValue;
450
+ paddingLeft?: VjmlUnitValue;
451
+ paddingRight?: VjmlUnitValue;
452
+ paddingTop?: VjmlUnitValue;
453
+ role?: "none" | "presentation";
454
+ tableLayout?: "auto" | "fixed" | "initial" | "inherit";
455
+ verticalAlign?: "top" | "bottom" | "middle";
456
+ width?: VjmlUnitValue;
457
+ }
458
+ export interface VjmlTextProps extends VjmlCommonComponentProps, VjmlHtmlContentProps {
459
+ align?: "left" | "right" | "center" | "justify";
460
+ backgroundColor?: string;
461
+ color?: string;
462
+ containerBackgroundColor?: string;
463
+ fontFamily?: string;
464
+ fontSize?: VjmlUnitValue;
465
+ fontStyle?: string;
466
+ fontWeight?: string;
467
+ height?: VjmlUnitValue;
468
+ letterSpacing?: VjmlUnitValue;
469
+ lineHeight?: VjmlUnitValue;
470
+ padding?: VjmlUnitValue;
471
+ paddingBottom?: VjmlUnitValue;
472
+ paddingLeft?: VjmlUnitValue;
473
+ paddingRight?: VjmlUnitValue;
474
+ paddingTop?: VjmlUnitValue;
475
+ textDecoration?: string;
476
+ textTransform?: string;
477
+ verticalAlign?: "top" | "bottom" | "middle";
478
+ }
479
+ export interface VjmlTitleProps extends VjmlCommonComponentProps, VjmlTextContentProps {
480
+ }
481
+ export interface VjmlWrapperProps extends VjmlCommonComponentProps, VjmlNestedChildrenProps {
482
+ backgroundColor?: string;
483
+ backgroundPosition?: string;
484
+ backgroundPositionX?: string;
485
+ backgroundPositionY?: string;
486
+ backgroundRepeat?: "repeat" | "no-repeat";
487
+ backgroundSize?: string;
488
+ backgroundUrl?: string;
489
+ border?: string;
490
+ borderBottom?: string;
491
+ borderLeft?: string;
492
+ borderRadius?: string;
493
+ borderRight?: string;
494
+ borderTop?: string;
495
+ direction?: "ltr" | "rtl";
496
+ fullWidth?: VjmlTokenBooleanValue<'full-width'>;
497
+ gap?: VjmlUnitValue;
498
+ padding?: VjmlUnitValue;
499
+ paddingBottom?: VjmlUnitValue;
500
+ paddingLeft?: VjmlUnitValue;
501
+ paddingRight?: VjmlUnitValue;
502
+ paddingTop?: VjmlUnitValue;
503
+ textAlign?: "left" | "center" | "right";
504
+ textPadding?: VjmlUnitValue;
505
+ }
506
+ export interface VjmlComponentPropsByBaseName {
507
+ Accordion: VjmlAccordionProps;
508
+ AccordionElement: VjmlAccordionElementProps;
509
+ AccordionText: VjmlAccordionTextProps;
510
+ AccordionTitle: VjmlAccordionTitleProps;
511
+ All: VjmlAllProps;
512
+ Attributes: VjmlAttributesProps;
513
+ Body: VjmlBodyProps;
514
+ Breakpoint: VjmlBreakpointProps;
515
+ Button: VjmlButtonProps;
516
+ Carousel: VjmlCarouselProps;
517
+ CarouselImage: VjmlCarouselImageProps;
518
+ Class: VjmlClassProps;
519
+ Column: VjmlColumnProps;
520
+ Divider: VjmlDividerProps;
521
+ Font: VjmlFontProps;
522
+ Group: VjmlGroupProps;
523
+ Head: VjmlHeadProps;
524
+ Hero: VjmlHeroProps;
525
+ HtmlAttribute: VjmlHtmlAttributeProps;
526
+ HtmlAttributes: VjmlHtmlAttributesProps;
527
+ Image: VjmlImageProps;
528
+ Mjml: VjmlMjmlProps;
529
+ Navbar: VjmlNavbarProps;
530
+ NavbarLink: VjmlNavbarLinkProps;
531
+ Preview: VjmlPreviewProps;
532
+ Raw: VjmlRawProps;
533
+ Section: VjmlSectionProps;
534
+ Selector: VjmlSelectorProps;
535
+ Social: VjmlSocialProps;
536
+ SocialElement: VjmlSocialElementProps;
537
+ Spacer: VjmlSpacerProps;
538
+ Style: VjmlStyleProps;
539
+ Table: VjmlTableProps;
540
+ Text: VjmlTextProps;
541
+ Title: VjmlTitleProps;
542
+ Wrapper: VjmlWrapperProps;
543
+ }
544
+ export interface VjmlComponentPropsByTagName {
545
+ "mj-accordion": VjmlAccordionProps;
546
+ "mj-accordion-element": VjmlAccordionElementProps;
547
+ "mj-accordion-text": VjmlAccordionTextProps;
548
+ "mj-accordion-title": VjmlAccordionTitleProps;
549
+ "mj-all": VjmlAllProps;
550
+ "mj-attributes": VjmlAttributesProps;
551
+ "mj-body": VjmlBodyProps;
552
+ "mj-breakpoint": VjmlBreakpointProps;
553
+ "mj-button": VjmlButtonProps;
554
+ "mj-carousel": VjmlCarouselProps;
555
+ "mj-carousel-image": VjmlCarouselImageProps;
556
+ "mj-class": VjmlClassProps;
557
+ "mj-column": VjmlColumnProps;
558
+ "mj-divider": VjmlDividerProps;
559
+ "mj-font": VjmlFontProps;
560
+ "mj-group": VjmlGroupProps;
561
+ "mj-head": VjmlHeadProps;
562
+ "mj-hero": VjmlHeroProps;
563
+ "mj-html-attribute": VjmlHtmlAttributeProps;
564
+ "mj-html-attributes": VjmlHtmlAttributesProps;
565
+ "mj-image": VjmlImageProps;
566
+ "mjml": VjmlMjmlProps;
567
+ "mj-navbar": VjmlNavbarProps;
568
+ "mj-navbar-link": VjmlNavbarLinkProps;
569
+ "mj-preview": VjmlPreviewProps;
570
+ "mj-raw": VjmlRawProps;
571
+ "mj-section": VjmlSectionProps;
572
+ "mj-selector": VjmlSelectorProps;
573
+ "mj-social": VjmlSocialProps;
574
+ "mj-social-element": VjmlSocialElementProps;
575
+ "mj-spacer": VjmlSpacerProps;
576
+ "mj-style": VjmlStyleProps;
577
+ "mj-table": VjmlTableProps;
578
+ "mj-text": VjmlTextProps;
579
+ "mj-title": VjmlTitleProps;
580
+ "mj-wrapper": VjmlWrapperProps;
581
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;