monto-email-builder 1.4.1 → 1.4.2

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.
@@ -170,6 +170,9 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
170
170
  childrenIds?: string[] | null | undefined;
171
171
  }>>>;
172
172
  }, "strip", z.ZodTypeAny, {
173
+ props?: {
174
+ childrenIds?: string[] | null | undefined;
175
+ } | null | undefined;
173
176
  style?: {
174
177
  backgroundColor?: string | null | undefined;
175
178
  borderColor?: string | null | undefined;
@@ -181,10 +184,10 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
181
184
  left: number;
182
185
  } | null | undefined;
183
186
  } | null | undefined;
187
+ }, {
184
188
  props?: {
185
189
  childrenIds?: string[] | null | undefined;
186
190
  } | null | undefined;
187
- }, {
188
191
  style?: {
189
192
  backgroundColor?: string | null | undefined;
190
193
  borderColor?: string | null | undefined;
@@ -196,9 +199,6 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
196
199
  left: number;
197
200
  } | null | undefined;
198
201
  } | null | undefined;
199
- props?: {
200
- childrenIds?: string[] | null | undefined;
201
- } | null | undefined;
202
202
  }>;
203
203
  ColumnsContainer: z.ZodObject<{
204
204
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -255,7 +255,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
255
255
  columnsCount?: number | null | undefined;
256
256
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
257
257
  columnsGap?: number | null | undefined;
258
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
258
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
259
259
  }, {
260
260
  columns: {
261
261
  childrenIds: string[];
@@ -263,9 +263,18 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
263
263
  columnsCount?: number | null | undefined;
264
264
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
265
265
  columnsGap?: number | null | undefined;
266
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
266
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
267
267
  }>>>;
268
268
  }, "strip", z.ZodTypeAny, {
269
+ props?: {
270
+ columns: {
271
+ childrenIds: string[];
272
+ }[];
273
+ columnsCount?: number | null | undefined;
274
+ fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
275
+ columnsGap?: number | null | undefined;
276
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
277
+ } | null | undefined;
269
278
  style?: {
270
279
  backgroundColor?: string | null | undefined;
271
280
  padding?: {
@@ -275,6 +284,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
275
284
  left: number;
276
285
  } | null | undefined;
277
286
  } | null | undefined;
287
+ }, {
278
288
  props?: {
279
289
  columns: {
280
290
  childrenIds: string[];
@@ -282,9 +292,8 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
282
292
  columnsCount?: number | null | undefined;
283
293
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
284
294
  columnsGap?: number | null | undefined;
285
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
295
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
286
296
  } | null | undefined;
287
- }, {
288
297
  style?: {
289
298
  backgroundColor?: string | null | undefined;
290
299
  padding?: {
@@ -294,15 +303,6 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
294
303
  left: number;
295
304
  } | null | undefined;
296
305
  } | null | undefined;
297
- props?: {
298
- columns: {
299
- childrenIds: string[];
300
- }[];
301
- columnsCount?: number | null | undefined;
302
- fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
303
- columnsGap?: number | null | undefined;
304
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
305
- } | null | undefined;
306
306
  }>;
307
307
  Heading: z.ZodObject<{
308
308
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -610,22 +610,22 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
610
610
  height?: string | null | undefined;
611
611
  width?: string | null | undefined;
612
612
  alt?: string | null | undefined;
613
+ url?: string | null | undefined;
614
+ autoplay?: boolean | null | undefined;
613
615
  controls?: boolean | null | undefined;
614
616
  loop?: boolean | null | undefined;
615
617
  muted?: boolean | null | undefined;
616
- url?: string | null | undefined;
617
- autoplay?: boolean | null | undefined;
618
618
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
619
619
  linkHref?: string | null | undefined;
620
620
  }, {
621
621
  height?: string | null | undefined;
622
622
  width?: string | null | undefined;
623
623
  alt?: string | null | undefined;
624
+ url?: string | null | undefined;
625
+ autoplay?: boolean | null | undefined;
624
626
  controls?: boolean | null | undefined;
625
627
  loop?: boolean | null | undefined;
626
628
  muted?: boolean | null | undefined;
627
- url?: string | null | undefined;
628
- autoplay?: boolean | null | undefined;
629
629
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
630
630
  linkHref?: string | null | undefined;
631
631
  }>>>;
@@ -650,7 +650,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
650
650
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
651
651
  }, "strip", z.ZodTypeAny, {
652
652
  backgroundColor?: string | null | undefined;
653
- textAlign?: "center" | "left" | "right" | null | undefined;
653
+ textAlign?: "left" | "right" | "center" | null | undefined;
654
654
  padding?: {
655
655
  bottom: number;
656
656
  left: number;
@@ -659,7 +659,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
659
659
  } | null | undefined;
660
660
  }, {
661
661
  backgroundColor?: string | null | undefined;
662
- textAlign?: "center" | "left" | "right" | null | undefined;
662
+ textAlign?: "left" | "right" | "center" | null | undefined;
663
663
  padding?: {
664
664
  bottom: number;
665
665
  left: number;
@@ -668,32 +668,21 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
668
668
  } | null | undefined;
669
669
  }>>>;
670
670
  }, "strip", z.ZodTypeAny, {
671
- style?: {
672
- backgroundColor?: string | null | undefined;
673
- textAlign?: "center" | "left" | "right" | null | undefined;
674
- padding?: {
675
- bottom: number;
676
- left: number;
677
- right: number;
678
- top: number;
679
- } | null | undefined;
680
- } | null | undefined;
681
671
  props?: {
682
672
  height?: string | null | undefined;
683
673
  width?: string | null | undefined;
684
674
  alt?: string | null | undefined;
675
+ url?: string | null | undefined;
676
+ autoplay?: boolean | null | undefined;
685
677
  controls?: boolean | null | undefined;
686
678
  loop?: boolean | null | undefined;
687
679
  muted?: boolean | null | undefined;
688
- url?: string | null | undefined;
689
- autoplay?: boolean | null | undefined;
690
680
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
691
681
  linkHref?: string | null | undefined;
692
682
  } | null | undefined;
693
- }, {
694
683
  style?: {
695
684
  backgroundColor?: string | null | undefined;
696
- textAlign?: "center" | "left" | "right" | null | undefined;
685
+ textAlign?: "left" | "right" | "center" | null | undefined;
697
686
  padding?: {
698
687
  bottom: number;
699
688
  left: number;
@@ -701,18 +690,29 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
701
690
  top: number;
702
691
  } | null | undefined;
703
692
  } | null | undefined;
693
+ }, {
704
694
  props?: {
705
695
  height?: string | null | undefined;
706
696
  width?: string | null | undefined;
707
697
  alt?: string | null | undefined;
698
+ url?: string | null | undefined;
699
+ autoplay?: boolean | null | undefined;
708
700
  controls?: boolean | null | undefined;
709
701
  loop?: boolean | null | undefined;
710
702
  muted?: boolean | null | undefined;
711
- url?: string | null | undefined;
712
- autoplay?: boolean | null | undefined;
713
703
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
714
704
  linkHref?: string | null | undefined;
715
705
  } | null | undefined;
706
+ style?: {
707
+ backgroundColor?: string | null | undefined;
708
+ textAlign?: "left" | "right" | "center" | null | undefined;
709
+ padding?: {
710
+ bottom: number;
711
+ left: number;
712
+ right: number;
713
+ top: number;
714
+ } | null | undefined;
715
+ } | null | undefined;
716
716
  }>;
717
717
  Text: z.ZodObject<{
718
718
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -1225,7 +1225,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
1225
1225
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
1226
1226
  }, "strip", z.ZodTypeAny, {
1227
1227
  backgroundColor?: string | null | undefined;
1228
- textAlign?: "center" | "left" | "right" | null | undefined;
1228
+ textAlign?: "left" | "right" | "center" | null | undefined;
1229
1229
  padding?: {
1230
1230
  bottom: number;
1231
1231
  left: number;
@@ -1234,7 +1234,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
1234
1234
  } | null | undefined;
1235
1235
  }, {
1236
1236
  backgroundColor?: string | null | undefined;
1237
- textAlign?: "center" | "left" | "right" | null | undefined;
1237
+ textAlign?: "left" | "right" | "center" | null | undefined;
1238
1238
  padding?: {
1239
1239
  bottom: number;
1240
1240
  left: number;
@@ -1243,16 +1243,6 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
1243
1243
  } | null | undefined;
1244
1244
  }>>>;
1245
1245
  }, "strip", z.ZodTypeAny, {
1246
- style?: {
1247
- backgroundColor?: string | null | undefined;
1248
- textAlign?: "center" | "left" | "right" | null | undefined;
1249
- padding?: {
1250
- bottom: number;
1251
- left: number;
1252
- right: number;
1253
- top: number;
1254
- } | null | undefined;
1255
- } | null | undefined;
1256
1246
  props?: {
1257
1247
  platforms?: ("x" | "facebook" | "instagram" | "linkedin" | "youtube" | "tiktok" | "snapchat" | "whatsapp" | "telegram" | "discord" | "reddit" | "twitch" | "threads")[] | null | undefined;
1258
1248
  iconStyle?: "standard" | "no-border-black" | "no-border-white" | "origin-colorful" | "with-border-black" | "with-border-white" | "with-border-line-colorful" | "with-border-line-black" | "with-border-line-white" | null | undefined;
@@ -1262,10 +1252,9 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
1262
1252
  url?: string | null | undefined;
1263
1253
  }[] | null | undefined;
1264
1254
  } | null | undefined;
1265
- }, {
1266
1255
  style?: {
1267
1256
  backgroundColor?: string | null | undefined;
1268
- textAlign?: "center" | "left" | "right" | null | undefined;
1257
+ textAlign?: "left" | "right" | "center" | null | undefined;
1269
1258
  padding?: {
1270
1259
  bottom: number;
1271
1260
  left: number;
@@ -1273,6 +1262,7 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
1273
1262
  top: number;
1274
1263
  } | null | undefined;
1275
1264
  } | null | undefined;
1265
+ }, {
1276
1266
  props?: {
1277
1267
  platforms?: ("x" | "facebook" | "instagram" | "linkedin" | "youtube" | "tiktok" | "snapchat" | "whatsapp" | "telegram" | "discord" | "reddit" | "twitch" | "threads")[] | null | undefined;
1278
1268
  iconStyle?: "standard" | "no-border-black" | "no-border-white" | "origin-colorful" | "with-border-black" | "with-border-white" | "with-border-line-colorful" | "with-border-line-black" | "with-border-line-white" | null | undefined;
@@ -1282,6 +1272,16 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
1282
1272
  url?: string | null | undefined;
1283
1273
  }[] | null | undefined;
1284
1274
  } | null | undefined;
1275
+ style?: {
1276
+ backgroundColor?: string | null | undefined;
1277
+ textAlign?: "left" | "right" | "center" | null | undefined;
1278
+ padding?: {
1279
+ bottom: number;
1280
+ left: number;
1281
+ right: number;
1282
+ top: number;
1283
+ } | null | undefined;
1284
+ } | null | undefined;
1285
1285
  }>;
1286
1286
  }>) => React.JSX.Element;
1287
1287
  export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", any>, import("monto-email-document-core").BlockConfiguration<{
@@ -1455,6 +1455,9 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1455
1455
  childrenIds?: string[] | null | undefined;
1456
1456
  }>>>;
1457
1457
  }, "strip", z.ZodTypeAny, {
1458
+ props?: {
1459
+ childrenIds?: string[] | null | undefined;
1460
+ } | null | undefined;
1458
1461
  style?: {
1459
1462
  backgroundColor?: string | null | undefined;
1460
1463
  borderColor?: string | null | undefined;
@@ -1466,10 +1469,10 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1466
1469
  left: number;
1467
1470
  } | null | undefined;
1468
1471
  } | null | undefined;
1472
+ }, {
1469
1473
  props?: {
1470
1474
  childrenIds?: string[] | null | undefined;
1471
1475
  } | null | undefined;
1472
- }, {
1473
1476
  style?: {
1474
1477
  backgroundColor?: string | null | undefined;
1475
1478
  borderColor?: string | null | undefined;
@@ -1481,9 +1484,6 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1481
1484
  left: number;
1482
1485
  } | null | undefined;
1483
1486
  } | null | undefined;
1484
- props?: {
1485
- childrenIds?: string[] | null | undefined;
1486
- } | null | undefined;
1487
1487
  }>;
1488
1488
  ColumnsContainer: z.ZodObject<{
1489
1489
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -1540,7 +1540,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1540
1540
  columnsCount?: number | null | undefined;
1541
1541
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
1542
1542
  columnsGap?: number | null | undefined;
1543
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
1543
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
1544
1544
  }, {
1545
1545
  columns: {
1546
1546
  childrenIds: string[];
@@ -1548,9 +1548,18 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1548
1548
  columnsCount?: number | null | undefined;
1549
1549
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
1550
1550
  columnsGap?: number | null | undefined;
1551
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
1551
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
1552
1552
  }>>>;
1553
1553
  }, "strip", z.ZodTypeAny, {
1554
+ props?: {
1555
+ columns: {
1556
+ childrenIds: string[];
1557
+ }[];
1558
+ columnsCount?: number | null | undefined;
1559
+ fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
1560
+ columnsGap?: number | null | undefined;
1561
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
1562
+ } | null | undefined;
1554
1563
  style?: {
1555
1564
  backgroundColor?: string | null | undefined;
1556
1565
  padding?: {
@@ -1560,6 +1569,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1560
1569
  left: number;
1561
1570
  } | null | undefined;
1562
1571
  } | null | undefined;
1572
+ }, {
1563
1573
  props?: {
1564
1574
  columns: {
1565
1575
  childrenIds: string[];
@@ -1567,9 +1577,8 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1567
1577
  columnsCount?: number | null | undefined;
1568
1578
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
1569
1579
  columnsGap?: number | null | undefined;
1570
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
1580
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
1571
1581
  } | null | undefined;
1572
- }, {
1573
1582
  style?: {
1574
1583
  backgroundColor?: string | null | undefined;
1575
1584
  padding?: {
@@ -1579,15 +1588,6 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1579
1588
  left: number;
1580
1589
  } | null | undefined;
1581
1590
  } | null | undefined;
1582
- props?: {
1583
- columns: {
1584
- childrenIds: string[];
1585
- }[];
1586
- columnsCount?: number | null | undefined;
1587
- fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
1588
- columnsGap?: number | null | undefined;
1589
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
1590
- } | null | undefined;
1591
1591
  }>;
1592
1592
  Heading: z.ZodObject<{
1593
1593
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -1895,22 +1895,22 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1895
1895
  height?: string | null | undefined;
1896
1896
  width?: string | null | undefined;
1897
1897
  alt?: string | null | undefined;
1898
+ url?: string | null | undefined;
1899
+ autoplay?: boolean | null | undefined;
1898
1900
  controls?: boolean | null | undefined;
1899
1901
  loop?: boolean | null | undefined;
1900
1902
  muted?: boolean | null | undefined;
1901
- url?: string | null | undefined;
1902
- autoplay?: boolean | null | undefined;
1903
1903
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
1904
1904
  linkHref?: string | null | undefined;
1905
1905
  }, {
1906
1906
  height?: string | null | undefined;
1907
1907
  width?: string | null | undefined;
1908
1908
  alt?: string | null | undefined;
1909
+ url?: string | null | undefined;
1910
+ autoplay?: boolean | null | undefined;
1909
1911
  controls?: boolean | null | undefined;
1910
1912
  loop?: boolean | null | undefined;
1911
1913
  muted?: boolean | null | undefined;
1912
- url?: string | null | undefined;
1913
- autoplay?: boolean | null | undefined;
1914
1914
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
1915
1915
  linkHref?: string | null | undefined;
1916
1916
  }>>>;
@@ -1935,7 +1935,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1935
1935
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
1936
1936
  }, "strip", z.ZodTypeAny, {
1937
1937
  backgroundColor?: string | null | undefined;
1938
- textAlign?: "center" | "left" | "right" | null | undefined;
1938
+ textAlign?: "left" | "right" | "center" | null | undefined;
1939
1939
  padding?: {
1940
1940
  bottom: number;
1941
1941
  left: number;
@@ -1944,7 +1944,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1944
1944
  } | null | undefined;
1945
1945
  }, {
1946
1946
  backgroundColor?: string | null | undefined;
1947
- textAlign?: "center" | "left" | "right" | null | undefined;
1947
+ textAlign?: "left" | "right" | "center" | null | undefined;
1948
1948
  padding?: {
1949
1949
  bottom: number;
1950
1950
  left: number;
@@ -1953,32 +1953,21 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1953
1953
  } | null | undefined;
1954
1954
  }>>>;
1955
1955
  }, "strip", z.ZodTypeAny, {
1956
- style?: {
1957
- backgroundColor?: string | null | undefined;
1958
- textAlign?: "center" | "left" | "right" | null | undefined;
1959
- padding?: {
1960
- bottom: number;
1961
- left: number;
1962
- right: number;
1963
- top: number;
1964
- } | null | undefined;
1965
- } | null | undefined;
1966
1956
  props?: {
1967
1957
  height?: string | null | undefined;
1968
1958
  width?: string | null | undefined;
1969
1959
  alt?: string | null | undefined;
1960
+ url?: string | null | undefined;
1961
+ autoplay?: boolean | null | undefined;
1970
1962
  controls?: boolean | null | undefined;
1971
1963
  loop?: boolean | null | undefined;
1972
1964
  muted?: boolean | null | undefined;
1973
- url?: string | null | undefined;
1974
- autoplay?: boolean | null | undefined;
1975
1965
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
1976
1966
  linkHref?: string | null | undefined;
1977
1967
  } | null | undefined;
1978
- }, {
1979
1968
  style?: {
1980
1969
  backgroundColor?: string | null | undefined;
1981
- textAlign?: "center" | "left" | "right" | null | undefined;
1970
+ textAlign?: "left" | "right" | "center" | null | undefined;
1982
1971
  padding?: {
1983
1972
  bottom: number;
1984
1973
  left: number;
@@ -1986,18 +1975,29 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
1986
1975
  top: number;
1987
1976
  } | null | undefined;
1988
1977
  } | null | undefined;
1978
+ }, {
1989
1979
  props?: {
1990
1980
  height?: string | null | undefined;
1991
1981
  width?: string | null | undefined;
1992
1982
  alt?: string | null | undefined;
1983
+ url?: string | null | undefined;
1984
+ autoplay?: boolean | null | undefined;
1993
1985
  controls?: boolean | null | undefined;
1994
1986
  loop?: boolean | null | undefined;
1995
1987
  muted?: boolean | null | undefined;
1996
- url?: string | null | undefined;
1997
- autoplay?: boolean | null | undefined;
1998
1988
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
1999
1989
  linkHref?: string | null | undefined;
2000
1990
  } | null | undefined;
1991
+ style?: {
1992
+ backgroundColor?: string | null | undefined;
1993
+ textAlign?: "left" | "right" | "center" | null | undefined;
1994
+ padding?: {
1995
+ bottom: number;
1996
+ left: number;
1997
+ right: number;
1998
+ top: number;
1999
+ } | null | undefined;
2000
+ } | null | undefined;
2001
2001
  }>;
2002
2002
  Text: z.ZodObject<{
2003
2003
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -2510,7 +2510,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
2510
2510
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2511
2511
  }, "strip", z.ZodTypeAny, {
2512
2512
  backgroundColor?: string | null | undefined;
2513
- textAlign?: "center" | "left" | "right" | null | undefined;
2513
+ textAlign?: "left" | "right" | "center" | null | undefined;
2514
2514
  padding?: {
2515
2515
  bottom: number;
2516
2516
  left: number;
@@ -2519,7 +2519,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
2519
2519
  } | null | undefined;
2520
2520
  }, {
2521
2521
  backgroundColor?: string | null | undefined;
2522
- textAlign?: "center" | "left" | "right" | null | undefined;
2522
+ textAlign?: "left" | "right" | "center" | null | undefined;
2523
2523
  padding?: {
2524
2524
  bottom: number;
2525
2525
  left: number;
@@ -2528,16 +2528,6 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
2528
2528
  } | null | undefined;
2529
2529
  }>>>;
2530
2530
  }, "strip", z.ZodTypeAny, {
2531
- style?: {
2532
- backgroundColor?: string | null | undefined;
2533
- textAlign?: "center" | "left" | "right" | null | undefined;
2534
- padding?: {
2535
- bottom: number;
2536
- left: number;
2537
- right: number;
2538
- top: number;
2539
- } | null | undefined;
2540
- } | null | undefined;
2541
2531
  props?: {
2542
2532
  platforms?: ("x" | "facebook" | "instagram" | "linkedin" | "youtube" | "tiktok" | "snapchat" | "whatsapp" | "telegram" | "discord" | "reddit" | "twitch" | "threads")[] | null | undefined;
2543
2533
  iconStyle?: "standard" | "no-border-black" | "no-border-white" | "origin-colorful" | "with-border-black" | "with-border-white" | "with-border-line-colorful" | "with-border-line-black" | "with-border-line-white" | null | undefined;
@@ -2547,10 +2537,9 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
2547
2537
  url?: string | null | undefined;
2548
2538
  }[] | null | undefined;
2549
2539
  } | null | undefined;
2550
- }, {
2551
2540
  style?: {
2552
2541
  backgroundColor?: string | null | undefined;
2553
- textAlign?: "center" | "left" | "right" | null | undefined;
2542
+ textAlign?: "left" | "right" | "center" | null | undefined;
2554
2543
  padding?: {
2555
2544
  bottom: number;
2556
2545
  left: number;
@@ -2558,6 +2547,7 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
2558
2547
  top: number;
2559
2548
  } | null | undefined;
2560
2549
  } | null | undefined;
2550
+ }, {
2561
2551
  props?: {
2562
2552
  platforms?: ("x" | "facebook" | "instagram" | "linkedin" | "youtube" | "tiktok" | "snapchat" | "whatsapp" | "telegram" | "discord" | "reddit" | "twitch" | "threads")[] | null | undefined;
2563
2553
  iconStyle?: "standard" | "no-border-black" | "no-border-white" | "origin-colorful" | "with-border-black" | "with-border-white" | "with-border-line-colorful" | "with-border-line-black" | "with-border-line-white" | null | undefined;
@@ -2567,6 +2557,16 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
2567
2557
  url?: string | null | undefined;
2568
2558
  }[] | null | undefined;
2569
2559
  } | null | undefined;
2560
+ style?: {
2561
+ backgroundColor?: string | null | undefined;
2562
+ textAlign?: "left" | "right" | "center" | null | undefined;
2563
+ padding?: {
2564
+ bottom: number;
2565
+ left: number;
2566
+ right: number;
2567
+ top: number;
2568
+ } | null | undefined;
2569
+ } | null | undefined;
2570
2570
  }>;
2571
2571
  }>, any>;
2572
2572
  export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodDiscriminatedUnion<"type", any>, import("monto-email-document-core").BlockConfiguration<{
@@ -2740,6 +2740,9 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2740
2740
  childrenIds?: string[] | null | undefined;
2741
2741
  }>>>;
2742
2742
  }, "strip", z.ZodTypeAny, {
2743
+ props?: {
2744
+ childrenIds?: string[] | null | undefined;
2745
+ } | null | undefined;
2743
2746
  style?: {
2744
2747
  backgroundColor?: string | null | undefined;
2745
2748
  borderColor?: string | null | undefined;
@@ -2751,10 +2754,10 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2751
2754
  left: number;
2752
2755
  } | null | undefined;
2753
2756
  } | null | undefined;
2757
+ }, {
2754
2758
  props?: {
2755
2759
  childrenIds?: string[] | null | undefined;
2756
2760
  } | null | undefined;
2757
- }, {
2758
2761
  style?: {
2759
2762
  backgroundColor?: string | null | undefined;
2760
2763
  borderColor?: string | null | undefined;
@@ -2766,9 +2769,6 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2766
2769
  left: number;
2767
2770
  } | null | undefined;
2768
2771
  } | null | undefined;
2769
- props?: {
2770
- childrenIds?: string[] | null | undefined;
2771
- } | null | undefined;
2772
2772
  }>;
2773
2773
  ColumnsContainer: z.ZodObject<{
2774
2774
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -2825,7 +2825,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2825
2825
  columnsCount?: number | null | undefined;
2826
2826
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
2827
2827
  columnsGap?: number | null | undefined;
2828
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
2828
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
2829
2829
  }, {
2830
2830
  columns: {
2831
2831
  childrenIds: string[];
@@ -2833,9 +2833,18 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2833
2833
  columnsCount?: number | null | undefined;
2834
2834
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
2835
2835
  columnsGap?: number | null | undefined;
2836
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
2836
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
2837
2837
  }>>>;
2838
2838
  }, "strip", z.ZodTypeAny, {
2839
+ props?: {
2840
+ columns: {
2841
+ childrenIds: string[];
2842
+ }[];
2843
+ columnsCount?: number | null | undefined;
2844
+ fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
2845
+ columnsGap?: number | null | undefined;
2846
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
2847
+ } | null | undefined;
2839
2848
  style?: {
2840
2849
  backgroundColor?: string | null | undefined;
2841
2850
  padding?: {
@@ -2845,6 +2854,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2845
2854
  left: number;
2846
2855
  } | null | undefined;
2847
2856
  } | null | undefined;
2857
+ }, {
2848
2858
  props?: {
2849
2859
  columns: {
2850
2860
  childrenIds: string[];
@@ -2852,9 +2862,8 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2852
2862
  columnsCount?: number | null | undefined;
2853
2863
  fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
2854
2864
  columnsGap?: number | null | undefined;
2855
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
2865
+ contentAlignment?: "bottom" | "top" | "middle" | "stretch" | null | undefined;
2856
2866
  } | null | undefined;
2857
- }, {
2858
2867
  style?: {
2859
2868
  backgroundColor?: string | null | undefined;
2860
2869
  padding?: {
@@ -2864,15 +2873,6 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
2864
2873
  left: number;
2865
2874
  } | null | undefined;
2866
2875
  } | null | undefined;
2867
- props?: {
2868
- columns: {
2869
- childrenIds: string[];
2870
- }[];
2871
- columnsCount?: number | null | undefined;
2872
- fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
2873
- columnsGap?: number | null | undefined;
2874
- contentAlignment?: "bottom" | "top" | "stretch" | "middle" | null | undefined;
2875
- } | null | undefined;
2876
2876
  }>;
2877
2877
  Heading: z.ZodObject<{
2878
2878
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -3180,22 +3180,22 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3180
3180
  height?: string | null | undefined;
3181
3181
  width?: string | null | undefined;
3182
3182
  alt?: string | null | undefined;
3183
+ url?: string | null | undefined;
3184
+ autoplay?: boolean | null | undefined;
3183
3185
  controls?: boolean | null | undefined;
3184
3186
  loop?: boolean | null | undefined;
3185
3187
  muted?: boolean | null | undefined;
3186
- url?: string | null | undefined;
3187
- autoplay?: boolean | null | undefined;
3188
3188
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
3189
3189
  linkHref?: string | null | undefined;
3190
3190
  }, {
3191
3191
  height?: string | null | undefined;
3192
3192
  width?: string | null | undefined;
3193
3193
  alt?: string | null | undefined;
3194
+ url?: string | null | undefined;
3195
+ autoplay?: boolean | null | undefined;
3194
3196
  controls?: boolean | null | undefined;
3195
3197
  loop?: boolean | null | undefined;
3196
3198
  muted?: boolean | null | undefined;
3197
- url?: string | null | undefined;
3198
- autoplay?: boolean | null | undefined;
3199
3199
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
3200
3200
  linkHref?: string | null | undefined;
3201
3201
  }>>>;
@@ -3220,7 +3220,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3220
3220
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
3221
3221
  }, "strip", z.ZodTypeAny, {
3222
3222
  backgroundColor?: string | null | undefined;
3223
- textAlign?: "center" | "left" | "right" | null | undefined;
3223
+ textAlign?: "left" | "right" | "center" | null | undefined;
3224
3224
  padding?: {
3225
3225
  bottom: number;
3226
3226
  left: number;
@@ -3229,7 +3229,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3229
3229
  } | null | undefined;
3230
3230
  }, {
3231
3231
  backgroundColor?: string | null | undefined;
3232
- textAlign?: "center" | "left" | "right" | null | undefined;
3232
+ textAlign?: "left" | "right" | "center" | null | undefined;
3233
3233
  padding?: {
3234
3234
  bottom: number;
3235
3235
  left: number;
@@ -3238,32 +3238,21 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3238
3238
  } | null | undefined;
3239
3239
  }>>>;
3240
3240
  }, "strip", z.ZodTypeAny, {
3241
- style?: {
3242
- backgroundColor?: string | null | undefined;
3243
- textAlign?: "center" | "left" | "right" | null | undefined;
3244
- padding?: {
3245
- bottom: number;
3246
- left: number;
3247
- right: number;
3248
- top: number;
3249
- } | null | undefined;
3250
- } | null | undefined;
3251
3241
  props?: {
3252
3242
  height?: string | null | undefined;
3253
3243
  width?: string | null | undefined;
3254
3244
  alt?: string | null | undefined;
3245
+ url?: string | null | undefined;
3246
+ autoplay?: boolean | null | undefined;
3255
3247
  controls?: boolean | null | undefined;
3256
3248
  loop?: boolean | null | undefined;
3257
3249
  muted?: boolean | null | undefined;
3258
- url?: string | null | undefined;
3259
- autoplay?: boolean | null | undefined;
3260
3250
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
3261
3251
  linkHref?: string | null | undefined;
3262
3252
  } | null | undefined;
3263
- }, {
3264
3253
  style?: {
3265
3254
  backgroundColor?: string | null | undefined;
3266
- textAlign?: "center" | "left" | "right" | null | undefined;
3255
+ textAlign?: "left" | "right" | "center" | null | undefined;
3267
3256
  padding?: {
3268
3257
  bottom: number;
3269
3258
  left: number;
@@ -3271,18 +3260,29 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3271
3260
  top: number;
3272
3261
  } | null | undefined;
3273
3262
  } | null | undefined;
3263
+ }, {
3274
3264
  props?: {
3275
3265
  height?: string | null | undefined;
3276
3266
  width?: string | null | undefined;
3277
3267
  alt?: string | null | undefined;
3268
+ url?: string | null | undefined;
3269
+ autoplay?: boolean | null | undefined;
3278
3270
  controls?: boolean | null | undefined;
3279
3271
  loop?: boolean | null | undefined;
3280
3272
  muted?: boolean | null | undefined;
3281
- url?: string | null | undefined;
3282
- autoplay?: boolean | null | undefined;
3283
3273
  contentAlignment?: "bottom" | "top" | "middle" | null | undefined;
3284
3274
  linkHref?: string | null | undefined;
3285
3275
  } | null | undefined;
3276
+ style?: {
3277
+ backgroundColor?: string | null | undefined;
3278
+ textAlign?: "left" | "right" | "center" | null | undefined;
3279
+ padding?: {
3280
+ bottom: number;
3281
+ left: number;
3282
+ right: number;
3283
+ top: number;
3284
+ } | null | undefined;
3285
+ } | null | undefined;
3286
3286
  }>;
3287
3287
  Text: z.ZodObject<{
3288
3288
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -3795,7 +3795,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3795
3795
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
3796
3796
  }, "strip", z.ZodTypeAny, {
3797
3797
  backgroundColor?: string | null | undefined;
3798
- textAlign?: "center" | "left" | "right" | null | undefined;
3798
+ textAlign?: "left" | "right" | "center" | null | undefined;
3799
3799
  padding?: {
3800
3800
  bottom: number;
3801
3801
  left: number;
@@ -3804,7 +3804,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3804
3804
  } | null | undefined;
3805
3805
  }, {
3806
3806
  backgroundColor?: string | null | undefined;
3807
- textAlign?: "center" | "left" | "right" | null | undefined;
3807
+ textAlign?: "left" | "right" | "center" | null | undefined;
3808
3808
  padding?: {
3809
3809
  bottom: number;
3810
3810
  left: number;
@@ -3813,16 +3813,6 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3813
3813
  } | null | undefined;
3814
3814
  }>>>;
3815
3815
  }, "strip", z.ZodTypeAny, {
3816
- style?: {
3817
- backgroundColor?: string | null | undefined;
3818
- textAlign?: "center" | "left" | "right" | null | undefined;
3819
- padding?: {
3820
- bottom: number;
3821
- left: number;
3822
- right: number;
3823
- top: number;
3824
- } | null | undefined;
3825
- } | null | undefined;
3826
3816
  props?: {
3827
3817
  platforms?: ("x" | "facebook" | "instagram" | "linkedin" | "youtube" | "tiktok" | "snapchat" | "whatsapp" | "telegram" | "discord" | "reddit" | "twitch" | "threads")[] | null | undefined;
3828
3818
  iconStyle?: "standard" | "no-border-black" | "no-border-white" | "origin-colorful" | "with-border-black" | "with-border-white" | "with-border-line-colorful" | "with-border-line-black" | "with-border-line-white" | null | undefined;
@@ -3832,10 +3822,9 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3832
3822
  url?: string | null | undefined;
3833
3823
  }[] | null | undefined;
3834
3824
  } | null | undefined;
3835
- }, {
3836
3825
  style?: {
3837
3826
  backgroundColor?: string | null | undefined;
3838
- textAlign?: "center" | "left" | "right" | null | undefined;
3827
+ textAlign?: "left" | "right" | "center" | null | undefined;
3839
3828
  padding?: {
3840
3829
  bottom: number;
3841
3830
  left: number;
@@ -3843,6 +3832,7 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3843
3832
  top: number;
3844
3833
  } | null | undefined;
3845
3834
  } | null | undefined;
3835
+ }, {
3846
3836
  props?: {
3847
3837
  platforms?: ("x" | "facebook" | "instagram" | "linkedin" | "youtube" | "tiktok" | "snapchat" | "whatsapp" | "telegram" | "discord" | "reddit" | "twitch" | "threads")[] | null | undefined;
3848
3838
  iconStyle?: "standard" | "no-border-black" | "no-border-white" | "origin-colorful" | "with-border-black" | "with-border-white" | "with-border-line-colorful" | "with-border-line-black" | "with-border-line-white" | null | undefined;
@@ -3852,6 +3842,16 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
3852
3842
  url?: string | null | undefined;
3853
3843
  }[] | null | undefined;
3854
3844
  } | null | undefined;
3845
+ style?: {
3846
+ backgroundColor?: string | null | undefined;
3847
+ textAlign?: "left" | "right" | "center" | null | undefined;
3848
+ padding?: {
3849
+ bottom: number;
3850
+ left: number;
3851
+ right: number;
3852
+ top: number;
3853
+ } | null | undefined;
3854
+ } | null | undefined;
3855
3855
  }>;
3856
3856
  }>, any>>;
3857
3857
  export type TEditorBlock = z.infer<typeof EditorBlockSchema>;