@charisol/plexo-sdk 1.0.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 (79) hide show
  1. package/README.md +242 -0
  2. package/dist/components/CodeViewer.d.ts +18 -0
  3. package/dist/components/InternalAlert.d.ts +7 -0
  4. package/dist/components/PlexoBuilder.d.ts +4 -0
  5. package/dist/components/PropertyAccordions.d.ts +10 -0
  6. package/dist/components/SidebarContainer.d.ts +16 -0
  7. package/dist/components/SidebarMenu.d.ts +6 -0
  8. package/dist/components/SidebarProperties.d.ts +12 -0
  9. package/dist/components/TopHeader.d.ts +25 -0
  10. package/dist/components/VisualCanvas.d.ts +10 -0
  11. package/dist/components/editor/CanvasDndComponents.d.ts +6 -0
  12. package/dist/components/editor/dnd/DraggablePaletteItem.d.ts +3 -0
  13. package/dist/components/editor/dnd/DroppableCanvas.d.ts +3 -0
  14. package/dist/components/editor/dnd/DroppableColumn.d.ts +3 -0
  15. package/dist/components/editor/dnd/LayoutPreview.d.ts +5 -0
  16. package/dist/components/editor/dnd/SortableElement.d.ts +15 -0
  17. package/dist/components/editor/dnd/SortableRow.d.ts +3 -0
  18. package/dist/components/icons.d.ts +61 -0
  19. package/dist/components/inlineControls/AccordionSection.d.ts +3 -0
  20. package/dist/components/inlineControls/BorderRadiusControls.d.ts +3 -0
  21. package/dist/components/inlineControls/ColumnsSelector.d.ts +3 -0
  22. package/dist/components/inlineControls/CustomSelect.d.ts +3 -0
  23. package/dist/components/inlineControls/InlineAlignment.d.ts +3 -0
  24. package/dist/components/inlineControls/InlineColorPicker.d.ts +3 -0
  25. package/dist/components/inlineControls/InlineCounter.d.ts +3 -0
  26. package/dist/components/inlineControls/InlineSelect.d.ts +3 -0
  27. package/dist/components/inlineControls/InlineTextArea.d.ts +3 -0
  28. package/dist/components/inlineControls/InlineTextInput.d.ts +3 -0
  29. package/dist/components/inlineControls/SpacingControls.d.ts +3 -0
  30. package/dist/components/inlineControls/StrataTokenPicker.d.ts +12 -0
  31. package/dist/components/inlineControls/Toggle.d.ts +3 -0
  32. package/dist/components/inlineControls/UploadZone.d.ts +3 -0
  33. package/dist/components/inlineControls/index.d.ts +14 -0
  34. package/dist/components/properties/ElementPropertyAccordions.d.ts +1 -0
  35. package/dist/components/properties/accordionSections/AdditionalSettingsAccordion.d.ts +2 -0
  36. package/dist/components/properties/accordionSections/ButtonPropertiesAccordion.d.ts +2 -0
  37. package/dist/components/properties/accordionSections/CarouselPropertiesAccordion.d.ts +2 -0
  38. package/dist/components/properties/accordionSections/FormContainerPropertiesAccordion.d.ts +2 -0
  39. package/dist/components/properties/accordionSections/HeadingPropertiesAccordion.d.ts +2 -0
  40. package/dist/components/properties/accordionSections/HtmlPropertiesAccordion.d.ts +2 -0
  41. package/dist/components/properties/accordionSections/IconPropertiesAccordion.d.ts +2 -0
  42. package/dist/components/properties/accordionSections/ImagePropertiesAccordion.d.ts +2 -0
  43. package/dist/components/properties/accordionSections/LayoutSpacingAccordion.d.ts +2 -0
  44. package/dist/components/properties/accordionSections/MenuPropertiesAccordion.d.ts +2 -0
  45. package/dist/components/properties/accordionSections/ParagraphPropertiesAccordion.d.ts +2 -0
  46. package/dist/components/properties/accordionSections/ResponsiveDesignAccordion.d.ts +2 -0
  47. package/dist/components/properties/accordionSections/SocialPropertiesAccordion.d.ts +2 -0
  48. package/dist/components/properties/accordionSections/SpacerPropertiesAccordion.d.ts +2 -0
  49. package/dist/components/properties/accordionSections/TablePropertiesAccordion.d.ts +2 -0
  50. package/dist/components/properties/accordionSections/TimerPropertiesAccordion.d.ts +2 -0
  51. package/dist/components/properties/accordionSections/VideoPropertiesAccordion.d.ts +2 -0
  52. package/dist/components/sidebarTabs/AuditTab.d.ts +12 -0
  53. package/dist/components/sidebarTabs/BlocksTab.d.ts +12 -0
  54. package/dist/components/sidebarTabs/BodyGlobalSettingsTab.d.ts +18 -0
  55. package/dist/components/sidebarTabs/ContentTab.d.ts +10 -0
  56. package/dist/components/sidebarTabs/ImagesTab.d.ts +19 -0
  57. package/dist/components/sidebarTabs/SidebarTabsRail.d.ts +9 -0
  58. package/dist/components/sidebarTabs/StrataTab.d.ts +12 -0
  59. package/dist/components/sidebarTabs/UploadsTab.d.ts +18 -0
  60. package/dist/favicon.svg +1 -0
  61. package/dist/icons.svg +24 -0
  62. package/dist/index.d.ts +9 -0
  63. package/dist/index.js +50846 -0
  64. package/dist/playground.d.ts +5 -0
  65. package/dist/plexo-sdk.css +2 -0
  66. package/dist/store.d.ts +59 -0
  67. package/dist/utilities/aiHelper.d.ts +21 -0
  68. package/dist/utilities/compiler.d.ts +17 -0
  69. package/dist/utilities/compilerClient.d.ts +3 -0
  70. package/dist/utilities/initialDemoTemplate.d.ts +2 -0
  71. package/dist/utilities/playground.constants.d.ts +31 -0
  72. package/dist/utilities/playground.helpers.d.ts +936 -0
  73. package/dist/utilities/playground.interfaces.d.ts +256 -0
  74. package/dist/utilities/plexoBuilderRuntime.d.ts +23 -0
  75. package/dist/utilities/strataTokenMapping.d.ts +42 -0
  76. package/dist/utilities/tierFeatures.d.ts +26 -0
  77. package/dist/utilities/types.d.ts +78 -0
  78. package/dist/utilities/useApiKeyValidation.d.ts +18 -0
  79. package/package.json +63 -0
@@ -0,0 +1,936 @@
1
+ import type { TemplateJSON } from './types';
2
+ import type { FormFieldKind, StockImageResult, FormFieldOption, FormFieldConfig } from './playground.interfaces';
3
+ export declare const buildDefaultFormFields: () => FormFieldConfig[];
4
+ export declare const getFormFields: (attrs: Record<string, any>) => FormFieldConfig[];
5
+ export declare const createFormField: (kind: FormFieldKind) => FormFieldConfig;
6
+ export declare const fieldSupportsOptions: (kind: FormFieldKind) => boolean;
7
+ export declare const serializeFieldOptions: (options?: FormFieldOption[]) => string;
8
+ export declare const parseFieldOptions: (value: string) => FormFieldOption[];
9
+ export declare const buildFallbackStockImages: (query: string) => StockImageResult[];
10
+ export declare const getDefaultStyle: (type: string) => {
11
+ color: string;
12
+ fontSize: string;
13
+ fontWeight: string;
14
+ padding: string;
15
+ fontFamily: string;
16
+ textAlign: string;
17
+ lineHeight?: undefined;
18
+ backgroundColor?: undefined;
19
+ borderRadius?: undefined;
20
+ width?: undefined;
21
+ borderWidth?: undefined;
22
+ borderStyle?: undefined;
23
+ borderColor?: undefined;
24
+ boxShadow?: undefined;
25
+ paddingTop?: undefined;
26
+ paddingRight?: undefined;
27
+ paddingBottom?: undefined;
28
+ paddingLeft?: undefined;
29
+ fieldSpacing?: undefined;
30
+ buttonBackgroundColor?: undefined;
31
+ buttonTextColor?: undefined;
32
+ buttonBorderRadius?: undefined;
33
+ buttonPaddingTop?: undefined;
34
+ buttonPaddingBottom?: undefined;
35
+ buttonPaddingLeft?: undefined;
36
+ buttonPaddingRight?: undefined;
37
+ buttonFontSize?: undefined;
38
+ buttonFontWeight?: undefined;
39
+ buttonAlign?: undefined;
40
+ buttonWidth?: undefined;
41
+ cellPadding?: undefined;
42
+ } | {
43
+ color: string;
44
+ fontSize: string;
45
+ padding: string;
46
+ fontFamily: string;
47
+ textAlign: string;
48
+ lineHeight: string;
49
+ fontWeight?: undefined;
50
+ backgroundColor?: undefined;
51
+ borderRadius?: undefined;
52
+ width?: undefined;
53
+ borderWidth?: undefined;
54
+ borderStyle?: undefined;
55
+ borderColor?: undefined;
56
+ boxShadow?: undefined;
57
+ paddingTop?: undefined;
58
+ paddingRight?: undefined;
59
+ paddingBottom?: undefined;
60
+ paddingLeft?: undefined;
61
+ fieldSpacing?: undefined;
62
+ buttonBackgroundColor?: undefined;
63
+ buttonTextColor?: undefined;
64
+ buttonBorderRadius?: undefined;
65
+ buttonPaddingTop?: undefined;
66
+ buttonPaddingBottom?: undefined;
67
+ buttonPaddingLeft?: undefined;
68
+ buttonPaddingRight?: undefined;
69
+ buttonFontSize?: undefined;
70
+ buttonFontWeight?: undefined;
71
+ buttonAlign?: undefined;
72
+ buttonWidth?: undefined;
73
+ cellPadding?: undefined;
74
+ } | {
75
+ color: string;
76
+ fontSize: string;
77
+ padding: string;
78
+ fontWeight?: undefined;
79
+ fontFamily?: undefined;
80
+ textAlign?: undefined;
81
+ lineHeight?: undefined;
82
+ backgroundColor?: undefined;
83
+ borderRadius?: undefined;
84
+ width?: undefined;
85
+ borderWidth?: undefined;
86
+ borderStyle?: undefined;
87
+ borderColor?: undefined;
88
+ boxShadow?: undefined;
89
+ paddingTop?: undefined;
90
+ paddingRight?: undefined;
91
+ paddingBottom?: undefined;
92
+ paddingLeft?: undefined;
93
+ fieldSpacing?: undefined;
94
+ buttonBackgroundColor?: undefined;
95
+ buttonTextColor?: undefined;
96
+ buttonBorderRadius?: undefined;
97
+ buttonPaddingTop?: undefined;
98
+ buttonPaddingBottom?: undefined;
99
+ buttonPaddingLeft?: undefined;
100
+ buttonPaddingRight?: undefined;
101
+ buttonFontSize?: undefined;
102
+ buttonFontWeight?: undefined;
103
+ buttonAlign?: undefined;
104
+ buttonWidth?: undefined;
105
+ cellPadding?: undefined;
106
+ } | {
107
+ color: string;
108
+ backgroundColor: string;
109
+ padding: string;
110
+ borderRadius: string;
111
+ textAlign: string;
112
+ fontWeight: string;
113
+ fontSize?: undefined;
114
+ fontFamily?: undefined;
115
+ lineHeight?: undefined;
116
+ width?: undefined;
117
+ borderWidth?: undefined;
118
+ borderStyle?: undefined;
119
+ borderColor?: undefined;
120
+ boxShadow?: undefined;
121
+ paddingTop?: undefined;
122
+ paddingRight?: undefined;
123
+ paddingBottom?: undefined;
124
+ paddingLeft?: undefined;
125
+ fieldSpacing?: undefined;
126
+ buttonBackgroundColor?: undefined;
127
+ buttonTextColor?: undefined;
128
+ buttonBorderRadius?: undefined;
129
+ buttonPaddingTop?: undefined;
130
+ buttonPaddingBottom?: undefined;
131
+ buttonPaddingLeft?: undefined;
132
+ buttonPaddingRight?: undefined;
133
+ buttonFontSize?: undefined;
134
+ buttonFontWeight?: undefined;
135
+ buttonAlign?: undefined;
136
+ buttonWidth?: undefined;
137
+ cellPadding?: undefined;
138
+ } | {
139
+ borderRadius: string;
140
+ width: string;
141
+ color?: undefined;
142
+ fontSize?: undefined;
143
+ fontWeight?: undefined;
144
+ padding?: undefined;
145
+ fontFamily?: undefined;
146
+ textAlign?: undefined;
147
+ lineHeight?: undefined;
148
+ backgroundColor?: undefined;
149
+ borderWidth?: undefined;
150
+ borderStyle?: undefined;
151
+ borderColor?: undefined;
152
+ boxShadow?: undefined;
153
+ paddingTop?: undefined;
154
+ paddingRight?: undefined;
155
+ paddingBottom?: undefined;
156
+ paddingLeft?: undefined;
157
+ fieldSpacing?: undefined;
158
+ buttonBackgroundColor?: undefined;
159
+ buttonTextColor?: undefined;
160
+ buttonBorderRadius?: undefined;
161
+ buttonPaddingTop?: undefined;
162
+ buttonPaddingBottom?: undefined;
163
+ buttonPaddingLeft?: undefined;
164
+ buttonPaddingRight?: undefined;
165
+ buttonFontSize?: undefined;
166
+ buttonFontWeight?: undefined;
167
+ buttonAlign?: undefined;
168
+ buttonWidth?: undefined;
169
+ cellPadding?: undefined;
170
+ } | {
171
+ backgroundColor: string;
172
+ borderRadius: string;
173
+ padding: string;
174
+ borderWidth: string;
175
+ borderStyle: string;
176
+ borderColor: string;
177
+ boxShadow: string;
178
+ color?: undefined;
179
+ fontSize?: undefined;
180
+ fontWeight?: undefined;
181
+ fontFamily?: undefined;
182
+ textAlign?: undefined;
183
+ lineHeight?: undefined;
184
+ width?: undefined;
185
+ paddingTop?: undefined;
186
+ paddingRight?: undefined;
187
+ paddingBottom?: undefined;
188
+ paddingLeft?: undefined;
189
+ fieldSpacing?: undefined;
190
+ buttonBackgroundColor?: undefined;
191
+ buttonTextColor?: undefined;
192
+ buttonBorderRadius?: undefined;
193
+ buttonPaddingTop?: undefined;
194
+ buttonPaddingBottom?: undefined;
195
+ buttonPaddingLeft?: undefined;
196
+ buttonPaddingRight?: undefined;
197
+ buttonFontSize?: undefined;
198
+ buttonFontWeight?: undefined;
199
+ buttonAlign?: undefined;
200
+ buttonWidth?: undefined;
201
+ cellPadding?: undefined;
202
+ } | {
203
+ backgroundColor: string;
204
+ borderRadius: string;
205
+ width: string;
206
+ padding: string;
207
+ paddingTop: string;
208
+ paddingRight: string;
209
+ paddingBottom: string;
210
+ paddingLeft: string;
211
+ fieldSpacing: string;
212
+ borderWidth: string;
213
+ borderStyle: string;
214
+ borderColor: string;
215
+ boxShadow: string;
216
+ buttonBackgroundColor: string;
217
+ buttonTextColor: string;
218
+ buttonBorderRadius: string;
219
+ buttonPaddingTop: string;
220
+ buttonPaddingBottom: string;
221
+ buttonPaddingLeft: string;
222
+ buttonPaddingRight: string;
223
+ buttonFontSize: string;
224
+ buttonFontWeight: string;
225
+ buttonAlign: string;
226
+ buttonWidth: string;
227
+ color?: undefined;
228
+ fontSize?: undefined;
229
+ fontWeight?: undefined;
230
+ fontFamily?: undefined;
231
+ textAlign?: undefined;
232
+ lineHeight?: undefined;
233
+ cellPadding?: undefined;
234
+ } | {
235
+ color: string;
236
+ backgroundColor: string;
237
+ borderRadius: string;
238
+ padding: string;
239
+ borderColor: string;
240
+ borderWidth: string;
241
+ borderStyle: string;
242
+ fontSize: string;
243
+ fontWeight?: undefined;
244
+ fontFamily?: undefined;
245
+ textAlign?: undefined;
246
+ lineHeight?: undefined;
247
+ width?: undefined;
248
+ boxShadow?: undefined;
249
+ paddingTop?: undefined;
250
+ paddingRight?: undefined;
251
+ paddingBottom?: undefined;
252
+ paddingLeft?: undefined;
253
+ fieldSpacing?: undefined;
254
+ buttonBackgroundColor?: undefined;
255
+ buttonTextColor?: undefined;
256
+ buttonBorderRadius?: undefined;
257
+ buttonPaddingTop?: undefined;
258
+ buttonPaddingBottom?: undefined;
259
+ buttonPaddingLeft?: undefined;
260
+ buttonPaddingRight?: undefined;
261
+ buttonFontSize?: undefined;
262
+ buttonFontWeight?: undefined;
263
+ buttonAlign?: undefined;
264
+ buttonWidth?: undefined;
265
+ cellPadding?: undefined;
266
+ } | {
267
+ color: string;
268
+ fontSize: string;
269
+ padding: string;
270
+ textAlign: string;
271
+ fontWeight?: undefined;
272
+ fontFamily?: undefined;
273
+ lineHeight?: undefined;
274
+ backgroundColor?: undefined;
275
+ borderRadius?: undefined;
276
+ width?: undefined;
277
+ borderWidth?: undefined;
278
+ borderStyle?: undefined;
279
+ borderColor?: undefined;
280
+ boxShadow?: undefined;
281
+ paddingTop?: undefined;
282
+ paddingRight?: undefined;
283
+ paddingBottom?: undefined;
284
+ paddingLeft?: undefined;
285
+ fieldSpacing?: undefined;
286
+ buttonBackgroundColor?: undefined;
287
+ buttonTextColor?: undefined;
288
+ buttonBorderRadius?: undefined;
289
+ buttonPaddingTop?: undefined;
290
+ buttonPaddingBottom?: undefined;
291
+ buttonPaddingLeft?: undefined;
292
+ buttonPaddingRight?: undefined;
293
+ buttonFontSize?: undefined;
294
+ buttonFontWeight?: undefined;
295
+ buttonAlign?: undefined;
296
+ buttonWidth?: undefined;
297
+ cellPadding?: undefined;
298
+ } | {
299
+ padding: string;
300
+ color?: undefined;
301
+ fontSize?: undefined;
302
+ fontWeight?: undefined;
303
+ fontFamily?: undefined;
304
+ textAlign?: undefined;
305
+ lineHeight?: undefined;
306
+ backgroundColor?: undefined;
307
+ borderRadius?: undefined;
308
+ width?: undefined;
309
+ borderWidth?: undefined;
310
+ borderStyle?: undefined;
311
+ borderColor?: undefined;
312
+ boxShadow?: undefined;
313
+ paddingTop?: undefined;
314
+ paddingRight?: undefined;
315
+ paddingBottom?: undefined;
316
+ paddingLeft?: undefined;
317
+ fieldSpacing?: undefined;
318
+ buttonBackgroundColor?: undefined;
319
+ buttonTextColor?: undefined;
320
+ buttonBorderRadius?: undefined;
321
+ buttonPaddingTop?: undefined;
322
+ buttonPaddingBottom?: undefined;
323
+ buttonPaddingLeft?: undefined;
324
+ buttonPaddingRight?: undefined;
325
+ buttonFontSize?: undefined;
326
+ buttonFontWeight?: undefined;
327
+ buttonAlign?: undefined;
328
+ buttonWidth?: undefined;
329
+ cellPadding?: undefined;
330
+ } | {
331
+ padding: string;
332
+ borderWidth: string;
333
+ borderStyle: string;
334
+ borderColor: string;
335
+ cellPadding: string;
336
+ color?: undefined;
337
+ fontSize?: undefined;
338
+ fontWeight?: undefined;
339
+ fontFamily?: undefined;
340
+ textAlign?: undefined;
341
+ lineHeight?: undefined;
342
+ backgroundColor?: undefined;
343
+ borderRadius?: undefined;
344
+ width?: undefined;
345
+ boxShadow?: undefined;
346
+ paddingTop?: undefined;
347
+ paddingRight?: undefined;
348
+ paddingBottom?: undefined;
349
+ paddingLeft?: undefined;
350
+ fieldSpacing?: undefined;
351
+ buttonBackgroundColor?: undefined;
352
+ buttonTextColor?: undefined;
353
+ buttonBorderRadius?: undefined;
354
+ buttonPaddingTop?: undefined;
355
+ buttonPaddingBottom?: undefined;
356
+ buttonPaddingLeft?: undefined;
357
+ buttonPaddingRight?: undefined;
358
+ buttonFontSize?: undefined;
359
+ buttonFontWeight?: undefined;
360
+ buttonAlign?: undefined;
361
+ buttonWidth?: undefined;
362
+ } | {
363
+ color: string;
364
+ backgroundColor: string;
365
+ borderRadius: string;
366
+ padding: string;
367
+ fontSize: string;
368
+ textAlign: string;
369
+ fontWeight?: undefined;
370
+ fontFamily?: undefined;
371
+ lineHeight?: undefined;
372
+ width?: undefined;
373
+ borderWidth?: undefined;
374
+ borderStyle?: undefined;
375
+ borderColor?: undefined;
376
+ boxShadow?: undefined;
377
+ paddingTop?: undefined;
378
+ paddingRight?: undefined;
379
+ paddingBottom?: undefined;
380
+ paddingLeft?: undefined;
381
+ fieldSpacing?: undefined;
382
+ buttonBackgroundColor?: undefined;
383
+ buttonTextColor?: undefined;
384
+ buttonBorderRadius?: undefined;
385
+ buttonPaddingTop?: undefined;
386
+ buttonPaddingBottom?: undefined;
387
+ buttonPaddingLeft?: undefined;
388
+ buttonPaddingRight?: undefined;
389
+ buttonFontSize?: undefined;
390
+ buttonFontWeight?: undefined;
391
+ buttonAlign?: undefined;
392
+ buttonWidth?: undefined;
393
+ cellPadding?: undefined;
394
+ } | {
395
+ padding: string;
396
+ borderRadius: string;
397
+ color?: undefined;
398
+ fontSize?: undefined;
399
+ fontWeight?: undefined;
400
+ fontFamily?: undefined;
401
+ textAlign?: undefined;
402
+ lineHeight?: undefined;
403
+ backgroundColor?: undefined;
404
+ width?: undefined;
405
+ borderWidth?: undefined;
406
+ borderStyle?: undefined;
407
+ borderColor?: undefined;
408
+ boxShadow?: undefined;
409
+ paddingTop?: undefined;
410
+ paddingRight?: undefined;
411
+ paddingBottom?: undefined;
412
+ paddingLeft?: undefined;
413
+ fieldSpacing?: undefined;
414
+ buttonBackgroundColor?: undefined;
415
+ buttonTextColor?: undefined;
416
+ buttonBorderRadius?: undefined;
417
+ buttonPaddingTop?: undefined;
418
+ buttonPaddingBottom?: undefined;
419
+ buttonPaddingLeft?: undefined;
420
+ buttonPaddingRight?: undefined;
421
+ buttonFontSize?: undefined;
422
+ buttonFontWeight?: undefined;
423
+ buttonAlign?: undefined;
424
+ buttonWidth?: undefined;
425
+ cellPadding?: undefined;
426
+ } | {
427
+ padding: string;
428
+ textAlign: string;
429
+ color?: undefined;
430
+ fontSize?: undefined;
431
+ fontWeight?: undefined;
432
+ fontFamily?: undefined;
433
+ lineHeight?: undefined;
434
+ backgroundColor?: undefined;
435
+ borderRadius?: undefined;
436
+ width?: undefined;
437
+ borderWidth?: undefined;
438
+ borderStyle?: undefined;
439
+ borderColor?: undefined;
440
+ boxShadow?: undefined;
441
+ paddingTop?: undefined;
442
+ paddingRight?: undefined;
443
+ paddingBottom?: undefined;
444
+ paddingLeft?: undefined;
445
+ fieldSpacing?: undefined;
446
+ buttonBackgroundColor?: undefined;
447
+ buttonTextColor?: undefined;
448
+ buttonBorderRadius?: undefined;
449
+ buttonPaddingTop?: undefined;
450
+ buttonPaddingBottom?: undefined;
451
+ buttonPaddingLeft?: undefined;
452
+ buttonPaddingRight?: undefined;
453
+ buttonFontSize?: undefined;
454
+ buttonFontWeight?: undefined;
455
+ buttonAlign?: undefined;
456
+ buttonWidth?: undefined;
457
+ cellPadding?: undefined;
458
+ } | {
459
+ color?: undefined;
460
+ fontSize?: undefined;
461
+ fontWeight?: undefined;
462
+ padding?: undefined;
463
+ fontFamily?: undefined;
464
+ textAlign?: undefined;
465
+ lineHeight?: undefined;
466
+ backgroundColor?: undefined;
467
+ borderRadius?: undefined;
468
+ width?: undefined;
469
+ borderWidth?: undefined;
470
+ borderStyle?: undefined;
471
+ borderColor?: undefined;
472
+ boxShadow?: undefined;
473
+ paddingTop?: undefined;
474
+ paddingRight?: undefined;
475
+ paddingBottom?: undefined;
476
+ paddingLeft?: undefined;
477
+ fieldSpacing?: undefined;
478
+ buttonBackgroundColor?: undefined;
479
+ buttonTextColor?: undefined;
480
+ buttonBorderRadius?: undefined;
481
+ buttonPaddingTop?: undefined;
482
+ buttonPaddingBottom?: undefined;
483
+ buttonPaddingLeft?: undefined;
484
+ buttonPaddingRight?: undefined;
485
+ buttonFontSize?: undefined;
486
+ buttonFontWeight?: undefined;
487
+ buttonAlign?: undefined;
488
+ buttonWidth?: undefined;
489
+ cellPadding?: undefined;
490
+ };
491
+ export declare const normalizeTemplateWithDefaults: (data: TemplateJSON) => TemplateJSON;
492
+ export declare const getDefaultAttributes: (type: string) => {
493
+ text: string;
494
+ href?: undefined;
495
+ openInNewTab?: undefined;
496
+ autoWidth?: undefined;
497
+ src?: undefined;
498
+ alt?: undefined;
499
+ linkType?: undefined;
500
+ title?: undefined;
501
+ description?: undefined;
502
+ formName?: undefined;
503
+ submitLabel?: undefined;
504
+ fields?: undefined;
505
+ buttonAutoWidth?: undefined;
506
+ name?: undefined;
507
+ placeholder?: undefined;
508
+ required?: undefined;
509
+ options?: undefined;
510
+ links?: undefined;
511
+ htmlContent?: undefined;
512
+ rowCount?: undefined;
513
+ colCount?: undefined;
514
+ targetDate?: undefined;
515
+ videoUrl?: undefined;
516
+ images?: undefined;
517
+ iconName?: undefined;
518
+ iconSize?: undefined;
519
+ } | {
520
+ text: string;
521
+ href: string;
522
+ openInNewTab: boolean;
523
+ autoWidth: boolean;
524
+ src?: undefined;
525
+ alt?: undefined;
526
+ linkType?: undefined;
527
+ title?: undefined;
528
+ description?: undefined;
529
+ formName?: undefined;
530
+ submitLabel?: undefined;
531
+ fields?: undefined;
532
+ buttonAutoWidth?: undefined;
533
+ name?: undefined;
534
+ placeholder?: undefined;
535
+ required?: undefined;
536
+ options?: undefined;
537
+ links?: undefined;
538
+ htmlContent?: undefined;
539
+ rowCount?: undefined;
540
+ colCount?: undefined;
541
+ targetDate?: undefined;
542
+ videoUrl?: undefined;
543
+ images?: undefined;
544
+ iconName?: undefined;
545
+ iconSize?: undefined;
546
+ } | {
547
+ src: string;
548
+ alt: string;
549
+ openInNewTab: boolean;
550
+ linkType: string;
551
+ href: string;
552
+ text?: undefined;
553
+ autoWidth?: undefined;
554
+ title?: undefined;
555
+ description?: undefined;
556
+ formName?: undefined;
557
+ submitLabel?: undefined;
558
+ fields?: undefined;
559
+ buttonAutoWidth?: undefined;
560
+ name?: undefined;
561
+ placeholder?: undefined;
562
+ required?: undefined;
563
+ options?: undefined;
564
+ links?: undefined;
565
+ htmlContent?: undefined;
566
+ rowCount?: undefined;
567
+ colCount?: undefined;
568
+ targetDate?: undefined;
569
+ videoUrl?: undefined;
570
+ images?: undefined;
571
+ iconName?: undefined;
572
+ iconSize?: undefined;
573
+ } | {
574
+ title: string;
575
+ description: string;
576
+ text?: undefined;
577
+ href?: undefined;
578
+ openInNewTab?: undefined;
579
+ autoWidth?: undefined;
580
+ src?: undefined;
581
+ alt?: undefined;
582
+ linkType?: undefined;
583
+ formName?: undefined;
584
+ submitLabel?: undefined;
585
+ fields?: undefined;
586
+ buttonAutoWidth?: undefined;
587
+ name?: undefined;
588
+ placeholder?: undefined;
589
+ required?: undefined;
590
+ options?: undefined;
591
+ links?: undefined;
592
+ htmlContent?: undefined;
593
+ rowCount?: undefined;
594
+ colCount?: undefined;
595
+ targetDate?: undefined;
596
+ videoUrl?: undefined;
597
+ images?: undefined;
598
+ iconName?: undefined;
599
+ iconSize?: undefined;
600
+ } | {
601
+ formName: string;
602
+ submitLabel: string;
603
+ fields: FormFieldConfig[];
604
+ buttonAutoWidth: boolean;
605
+ text?: undefined;
606
+ href?: undefined;
607
+ openInNewTab?: undefined;
608
+ autoWidth?: undefined;
609
+ src?: undefined;
610
+ alt?: undefined;
611
+ linkType?: undefined;
612
+ title?: undefined;
613
+ description?: undefined;
614
+ name?: undefined;
615
+ placeholder?: undefined;
616
+ required?: undefined;
617
+ options?: undefined;
618
+ links?: undefined;
619
+ htmlContent?: undefined;
620
+ rowCount?: undefined;
621
+ colCount?: undefined;
622
+ targetDate?: undefined;
623
+ videoUrl?: undefined;
624
+ images?: undefined;
625
+ iconName?: undefined;
626
+ iconSize?: undefined;
627
+ } | {
628
+ name: string;
629
+ placeholder: string;
630
+ required: boolean;
631
+ text?: undefined;
632
+ href?: undefined;
633
+ openInNewTab?: undefined;
634
+ autoWidth?: undefined;
635
+ src?: undefined;
636
+ alt?: undefined;
637
+ linkType?: undefined;
638
+ title?: undefined;
639
+ description?: undefined;
640
+ formName?: undefined;
641
+ submitLabel?: undefined;
642
+ fields?: undefined;
643
+ buttonAutoWidth?: undefined;
644
+ options?: undefined;
645
+ links?: undefined;
646
+ htmlContent?: undefined;
647
+ rowCount?: undefined;
648
+ colCount?: undefined;
649
+ targetDate?: undefined;
650
+ videoUrl?: undefined;
651
+ images?: undefined;
652
+ iconName?: undefined;
653
+ iconSize?: undefined;
654
+ } | {
655
+ name: string;
656
+ options: {
657
+ label: string;
658
+ value: string;
659
+ }[];
660
+ text?: undefined;
661
+ href?: undefined;
662
+ openInNewTab?: undefined;
663
+ autoWidth?: undefined;
664
+ src?: undefined;
665
+ alt?: undefined;
666
+ linkType?: undefined;
667
+ title?: undefined;
668
+ description?: undefined;
669
+ formName?: undefined;
670
+ submitLabel?: undefined;
671
+ fields?: undefined;
672
+ buttonAutoWidth?: undefined;
673
+ placeholder?: undefined;
674
+ required?: undefined;
675
+ links?: undefined;
676
+ htmlContent?: undefined;
677
+ rowCount?: undefined;
678
+ colCount?: undefined;
679
+ targetDate?: undefined;
680
+ videoUrl?: undefined;
681
+ images?: undefined;
682
+ iconName?: undefined;
683
+ iconSize?: undefined;
684
+ } | {
685
+ links: {
686
+ label: string;
687
+ href: string;
688
+ }[];
689
+ text?: undefined;
690
+ href?: undefined;
691
+ openInNewTab?: undefined;
692
+ autoWidth?: undefined;
693
+ src?: undefined;
694
+ alt?: undefined;
695
+ linkType?: undefined;
696
+ title?: undefined;
697
+ description?: undefined;
698
+ formName?: undefined;
699
+ submitLabel?: undefined;
700
+ fields?: undefined;
701
+ buttonAutoWidth?: undefined;
702
+ name?: undefined;
703
+ placeholder?: undefined;
704
+ required?: undefined;
705
+ options?: undefined;
706
+ htmlContent?: undefined;
707
+ rowCount?: undefined;
708
+ colCount?: undefined;
709
+ targetDate?: undefined;
710
+ videoUrl?: undefined;
711
+ images?: undefined;
712
+ iconName?: undefined;
713
+ iconSize?: undefined;
714
+ } | {
715
+ htmlContent: string;
716
+ text?: undefined;
717
+ href?: undefined;
718
+ openInNewTab?: undefined;
719
+ autoWidth?: undefined;
720
+ src?: undefined;
721
+ alt?: undefined;
722
+ linkType?: undefined;
723
+ title?: undefined;
724
+ description?: undefined;
725
+ formName?: undefined;
726
+ submitLabel?: undefined;
727
+ fields?: undefined;
728
+ buttonAutoWidth?: undefined;
729
+ name?: undefined;
730
+ placeholder?: undefined;
731
+ required?: undefined;
732
+ options?: undefined;
733
+ links?: undefined;
734
+ rowCount?: undefined;
735
+ colCount?: undefined;
736
+ targetDate?: undefined;
737
+ videoUrl?: undefined;
738
+ images?: undefined;
739
+ iconName?: undefined;
740
+ iconSize?: undefined;
741
+ } | {
742
+ rowCount: number;
743
+ colCount: number;
744
+ text?: undefined;
745
+ href?: undefined;
746
+ openInNewTab?: undefined;
747
+ autoWidth?: undefined;
748
+ src?: undefined;
749
+ alt?: undefined;
750
+ linkType?: undefined;
751
+ title?: undefined;
752
+ description?: undefined;
753
+ formName?: undefined;
754
+ submitLabel?: undefined;
755
+ fields?: undefined;
756
+ buttonAutoWidth?: undefined;
757
+ name?: undefined;
758
+ placeholder?: undefined;
759
+ required?: undefined;
760
+ options?: undefined;
761
+ links?: undefined;
762
+ htmlContent?: undefined;
763
+ targetDate?: undefined;
764
+ videoUrl?: undefined;
765
+ images?: undefined;
766
+ iconName?: undefined;
767
+ iconSize?: undefined;
768
+ } | {
769
+ targetDate: string;
770
+ text?: undefined;
771
+ href?: undefined;
772
+ openInNewTab?: undefined;
773
+ autoWidth?: undefined;
774
+ src?: undefined;
775
+ alt?: undefined;
776
+ linkType?: undefined;
777
+ title?: undefined;
778
+ description?: undefined;
779
+ formName?: undefined;
780
+ submitLabel?: undefined;
781
+ fields?: undefined;
782
+ buttonAutoWidth?: undefined;
783
+ name?: undefined;
784
+ placeholder?: undefined;
785
+ required?: undefined;
786
+ options?: undefined;
787
+ links?: undefined;
788
+ htmlContent?: undefined;
789
+ rowCount?: undefined;
790
+ colCount?: undefined;
791
+ videoUrl?: undefined;
792
+ images?: undefined;
793
+ iconName?: undefined;
794
+ iconSize?: undefined;
795
+ } | {
796
+ videoUrl: string;
797
+ text?: undefined;
798
+ href?: undefined;
799
+ openInNewTab?: undefined;
800
+ autoWidth?: undefined;
801
+ src?: undefined;
802
+ alt?: undefined;
803
+ linkType?: undefined;
804
+ title?: undefined;
805
+ description?: undefined;
806
+ formName?: undefined;
807
+ submitLabel?: undefined;
808
+ fields?: undefined;
809
+ buttonAutoWidth?: undefined;
810
+ name?: undefined;
811
+ placeholder?: undefined;
812
+ required?: undefined;
813
+ options?: undefined;
814
+ links?: undefined;
815
+ htmlContent?: undefined;
816
+ rowCount?: undefined;
817
+ colCount?: undefined;
818
+ targetDate?: undefined;
819
+ images?: undefined;
820
+ iconName?: undefined;
821
+ iconSize?: undefined;
822
+ } | {
823
+ links: {
824
+ provider: string;
825
+ url: string;
826
+ }[];
827
+ text?: undefined;
828
+ href?: undefined;
829
+ openInNewTab?: undefined;
830
+ autoWidth?: undefined;
831
+ src?: undefined;
832
+ alt?: undefined;
833
+ linkType?: undefined;
834
+ title?: undefined;
835
+ description?: undefined;
836
+ formName?: undefined;
837
+ submitLabel?: undefined;
838
+ fields?: undefined;
839
+ buttonAutoWidth?: undefined;
840
+ name?: undefined;
841
+ placeholder?: undefined;
842
+ required?: undefined;
843
+ options?: undefined;
844
+ htmlContent?: undefined;
845
+ rowCount?: undefined;
846
+ colCount?: undefined;
847
+ targetDate?: undefined;
848
+ videoUrl?: undefined;
849
+ images?: undefined;
850
+ iconName?: undefined;
851
+ iconSize?: undefined;
852
+ } | {
853
+ images: {
854
+ src: string;
855
+ caption: string;
856
+ }[];
857
+ text?: undefined;
858
+ href?: undefined;
859
+ openInNewTab?: undefined;
860
+ autoWidth?: undefined;
861
+ src?: undefined;
862
+ alt?: undefined;
863
+ linkType?: undefined;
864
+ title?: undefined;
865
+ description?: undefined;
866
+ formName?: undefined;
867
+ submitLabel?: undefined;
868
+ fields?: undefined;
869
+ buttonAutoWidth?: undefined;
870
+ name?: undefined;
871
+ placeholder?: undefined;
872
+ required?: undefined;
873
+ options?: undefined;
874
+ links?: undefined;
875
+ htmlContent?: undefined;
876
+ rowCount?: undefined;
877
+ colCount?: undefined;
878
+ targetDate?: undefined;
879
+ videoUrl?: undefined;
880
+ iconName?: undefined;
881
+ iconSize?: undefined;
882
+ } | {
883
+ iconName: string;
884
+ iconSize: string;
885
+ href: string;
886
+ openInNewTab: boolean;
887
+ text?: undefined;
888
+ autoWidth?: undefined;
889
+ src?: undefined;
890
+ alt?: undefined;
891
+ linkType?: undefined;
892
+ title?: undefined;
893
+ description?: undefined;
894
+ formName?: undefined;
895
+ submitLabel?: undefined;
896
+ fields?: undefined;
897
+ buttonAutoWidth?: undefined;
898
+ name?: undefined;
899
+ placeholder?: undefined;
900
+ required?: undefined;
901
+ options?: undefined;
902
+ links?: undefined;
903
+ htmlContent?: undefined;
904
+ rowCount?: undefined;
905
+ colCount?: undefined;
906
+ targetDate?: undefined;
907
+ videoUrl?: undefined;
908
+ images?: undefined;
909
+ } | {
910
+ text?: undefined;
911
+ href?: undefined;
912
+ openInNewTab?: undefined;
913
+ autoWidth?: undefined;
914
+ src?: undefined;
915
+ alt?: undefined;
916
+ linkType?: undefined;
917
+ title?: undefined;
918
+ description?: undefined;
919
+ formName?: undefined;
920
+ submitLabel?: undefined;
921
+ fields?: undefined;
922
+ buttonAutoWidth?: undefined;
923
+ name?: undefined;
924
+ placeholder?: undefined;
925
+ required?: undefined;
926
+ options?: undefined;
927
+ links?: undefined;
928
+ htmlContent?: undefined;
929
+ rowCount?: undefined;
930
+ colCount?: undefined;
931
+ targetDate?: undefined;
932
+ videoUrl?: undefined;
933
+ images?: undefined;
934
+ iconName?: undefined;
935
+ iconSize?: undefined;
936
+ };