@kontakto/email-template-editor 1.4.0 → 1.5.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.
- package/dist/index.cjs +1396 -423
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +754 -9
- package/dist/index.d.ts +754 -9
- package/dist/index.js +1304 -335
- package/dist/index.js.map +1 -1
- package/package.json +10 -19
package/dist/index.d.ts
CHANGED
|
@@ -1701,6 +1701,316 @@ declare const ImageProps: z.ZodObject<{
|
|
|
1701
1701
|
}>;
|
|
1702
1702
|
declare function Image({ style, props }: ImageProps): React.JSX.Element;
|
|
1703
1703
|
|
|
1704
|
+
declare const SignaturePropsSchema: z.ZodObject<{
|
|
1705
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1706
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1707
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1708
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1709
|
+
top: z.ZodNumber;
|
|
1710
|
+
bottom: z.ZodNumber;
|
|
1711
|
+
right: z.ZodNumber;
|
|
1712
|
+
left: z.ZodNumber;
|
|
1713
|
+
}, "strip", z.ZodTypeAny, {
|
|
1714
|
+
top: number;
|
|
1715
|
+
bottom: number;
|
|
1716
|
+
right: number;
|
|
1717
|
+
left: number;
|
|
1718
|
+
}, {
|
|
1719
|
+
top: number;
|
|
1720
|
+
bottom: number;
|
|
1721
|
+
right: number;
|
|
1722
|
+
left: number;
|
|
1723
|
+
}>>>;
|
|
1724
|
+
}, "strip", z.ZodTypeAny, {
|
|
1725
|
+
backgroundColor?: string | null | undefined;
|
|
1726
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1727
|
+
padding?: {
|
|
1728
|
+
top: number;
|
|
1729
|
+
bottom: number;
|
|
1730
|
+
right: number;
|
|
1731
|
+
left: number;
|
|
1732
|
+
} | null | undefined;
|
|
1733
|
+
}, {
|
|
1734
|
+
backgroundColor?: string | null | undefined;
|
|
1735
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1736
|
+
padding?: {
|
|
1737
|
+
top: number;
|
|
1738
|
+
bottom: number;
|
|
1739
|
+
right: number;
|
|
1740
|
+
left: number;
|
|
1741
|
+
} | null | undefined;
|
|
1742
|
+
}>>>;
|
|
1743
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1744
|
+
greeting: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1745
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1746
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1747
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1748
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1749
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1750
|
+
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1751
|
+
website: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1752
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1753
|
+
imageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1754
|
+
imageShape: z.ZodNullable<z.ZodOptional<z.ZodEnum<["circle", "square", "rounded"]>>>;
|
|
1755
|
+
layout: z.ZodNullable<z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>>;
|
|
1756
|
+
nameColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1757
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
|
+
linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1759
|
+
}, "strip", z.ZodTypeAny, {
|
|
1760
|
+
title?: string | null | undefined;
|
|
1761
|
+
address?: string | null | undefined;
|
|
1762
|
+
imageUrl?: string | null | undefined;
|
|
1763
|
+
greeting?: string | null | undefined;
|
|
1764
|
+
name?: string | null | undefined;
|
|
1765
|
+
company?: string | null | undefined;
|
|
1766
|
+
email?: string | null | undefined;
|
|
1767
|
+
phone?: string | null | undefined;
|
|
1768
|
+
website?: string | null | undefined;
|
|
1769
|
+
imageSize?: number | null | undefined;
|
|
1770
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1771
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1772
|
+
nameColor?: string | null | undefined;
|
|
1773
|
+
textColor?: string | null | undefined;
|
|
1774
|
+
linkColor?: string | null | undefined;
|
|
1775
|
+
}, {
|
|
1776
|
+
title?: string | null | undefined;
|
|
1777
|
+
address?: string | null | undefined;
|
|
1778
|
+
imageUrl?: string | null | undefined;
|
|
1779
|
+
greeting?: string | null | undefined;
|
|
1780
|
+
name?: string | null | undefined;
|
|
1781
|
+
company?: string | null | undefined;
|
|
1782
|
+
email?: string | null | undefined;
|
|
1783
|
+
phone?: string | null | undefined;
|
|
1784
|
+
website?: string | null | undefined;
|
|
1785
|
+
imageSize?: number | null | undefined;
|
|
1786
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1787
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1788
|
+
nameColor?: string | null | undefined;
|
|
1789
|
+
textColor?: string | null | undefined;
|
|
1790
|
+
linkColor?: string | null | undefined;
|
|
1791
|
+
}>>>;
|
|
1792
|
+
}, "strip", z.ZodTypeAny, {
|
|
1793
|
+
style?: {
|
|
1794
|
+
backgroundColor?: string | null | undefined;
|
|
1795
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1796
|
+
padding?: {
|
|
1797
|
+
top: number;
|
|
1798
|
+
bottom: number;
|
|
1799
|
+
right: number;
|
|
1800
|
+
left: number;
|
|
1801
|
+
} | null | undefined;
|
|
1802
|
+
} | null | undefined;
|
|
1803
|
+
props?: {
|
|
1804
|
+
title?: string | null | undefined;
|
|
1805
|
+
address?: string | null | undefined;
|
|
1806
|
+
imageUrl?: string | null | undefined;
|
|
1807
|
+
greeting?: string | null | undefined;
|
|
1808
|
+
name?: string | null | undefined;
|
|
1809
|
+
company?: string | null | undefined;
|
|
1810
|
+
email?: string | null | undefined;
|
|
1811
|
+
phone?: string | null | undefined;
|
|
1812
|
+
website?: string | null | undefined;
|
|
1813
|
+
imageSize?: number | null | undefined;
|
|
1814
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1815
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1816
|
+
nameColor?: string | null | undefined;
|
|
1817
|
+
textColor?: string | null | undefined;
|
|
1818
|
+
linkColor?: string | null | undefined;
|
|
1819
|
+
} | null | undefined;
|
|
1820
|
+
}, {
|
|
1821
|
+
style?: {
|
|
1822
|
+
backgroundColor?: string | null | undefined;
|
|
1823
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1824
|
+
padding?: {
|
|
1825
|
+
top: number;
|
|
1826
|
+
bottom: number;
|
|
1827
|
+
right: number;
|
|
1828
|
+
left: number;
|
|
1829
|
+
} | null | undefined;
|
|
1830
|
+
} | null | undefined;
|
|
1831
|
+
props?: {
|
|
1832
|
+
title?: string | null | undefined;
|
|
1833
|
+
address?: string | null | undefined;
|
|
1834
|
+
imageUrl?: string | null | undefined;
|
|
1835
|
+
greeting?: string | null | undefined;
|
|
1836
|
+
name?: string | null | undefined;
|
|
1837
|
+
company?: string | null | undefined;
|
|
1838
|
+
email?: string | null | undefined;
|
|
1839
|
+
phone?: string | null | undefined;
|
|
1840
|
+
website?: string | null | undefined;
|
|
1841
|
+
imageSize?: number | null | undefined;
|
|
1842
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1843
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1844
|
+
nameColor?: string | null | undefined;
|
|
1845
|
+
textColor?: string | null | undefined;
|
|
1846
|
+
linkColor?: string | null | undefined;
|
|
1847
|
+
} | null | undefined;
|
|
1848
|
+
}>;
|
|
1849
|
+
type SignatureProps = z.infer<typeof SignaturePropsSchema>;
|
|
1850
|
+
declare const SignatureProps: z.ZodObject<{
|
|
1851
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1852
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1853
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1854
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1855
|
+
top: z.ZodNumber;
|
|
1856
|
+
bottom: z.ZodNumber;
|
|
1857
|
+
right: z.ZodNumber;
|
|
1858
|
+
left: z.ZodNumber;
|
|
1859
|
+
}, "strip", z.ZodTypeAny, {
|
|
1860
|
+
top: number;
|
|
1861
|
+
bottom: number;
|
|
1862
|
+
right: number;
|
|
1863
|
+
left: number;
|
|
1864
|
+
}, {
|
|
1865
|
+
top: number;
|
|
1866
|
+
bottom: number;
|
|
1867
|
+
right: number;
|
|
1868
|
+
left: number;
|
|
1869
|
+
}>>>;
|
|
1870
|
+
}, "strip", z.ZodTypeAny, {
|
|
1871
|
+
backgroundColor?: string | null | undefined;
|
|
1872
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1873
|
+
padding?: {
|
|
1874
|
+
top: number;
|
|
1875
|
+
bottom: number;
|
|
1876
|
+
right: number;
|
|
1877
|
+
left: number;
|
|
1878
|
+
} | null | undefined;
|
|
1879
|
+
}, {
|
|
1880
|
+
backgroundColor?: string | null | undefined;
|
|
1881
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1882
|
+
padding?: {
|
|
1883
|
+
top: number;
|
|
1884
|
+
bottom: number;
|
|
1885
|
+
right: number;
|
|
1886
|
+
left: number;
|
|
1887
|
+
} | null | undefined;
|
|
1888
|
+
}>>>;
|
|
1889
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1890
|
+
greeting: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1891
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1892
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1893
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1894
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1895
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1896
|
+
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1897
|
+
website: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1898
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1899
|
+
imageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1900
|
+
imageShape: z.ZodNullable<z.ZodOptional<z.ZodEnum<["circle", "square", "rounded"]>>>;
|
|
1901
|
+
layout: z.ZodNullable<z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>>;
|
|
1902
|
+
nameColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1903
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1904
|
+
linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1905
|
+
}, "strip", z.ZodTypeAny, {
|
|
1906
|
+
title?: string | null | undefined;
|
|
1907
|
+
address?: string | null | undefined;
|
|
1908
|
+
imageUrl?: string | null | undefined;
|
|
1909
|
+
greeting?: string | null | undefined;
|
|
1910
|
+
name?: string | null | undefined;
|
|
1911
|
+
company?: string | null | undefined;
|
|
1912
|
+
email?: string | null | undefined;
|
|
1913
|
+
phone?: string | null | undefined;
|
|
1914
|
+
website?: string | null | undefined;
|
|
1915
|
+
imageSize?: number | null | undefined;
|
|
1916
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1917
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1918
|
+
nameColor?: string | null | undefined;
|
|
1919
|
+
textColor?: string | null | undefined;
|
|
1920
|
+
linkColor?: string | null | undefined;
|
|
1921
|
+
}, {
|
|
1922
|
+
title?: string | null | undefined;
|
|
1923
|
+
address?: string | null | undefined;
|
|
1924
|
+
imageUrl?: string | null | undefined;
|
|
1925
|
+
greeting?: string | null | undefined;
|
|
1926
|
+
name?: string | null | undefined;
|
|
1927
|
+
company?: string | null | undefined;
|
|
1928
|
+
email?: string | null | undefined;
|
|
1929
|
+
phone?: string | null | undefined;
|
|
1930
|
+
website?: string | null | undefined;
|
|
1931
|
+
imageSize?: number | null | undefined;
|
|
1932
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1933
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1934
|
+
nameColor?: string | null | undefined;
|
|
1935
|
+
textColor?: string | null | undefined;
|
|
1936
|
+
linkColor?: string | null | undefined;
|
|
1937
|
+
}>>>;
|
|
1938
|
+
}, "strip", z.ZodTypeAny, {
|
|
1939
|
+
style?: {
|
|
1940
|
+
backgroundColor?: string | null | undefined;
|
|
1941
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1942
|
+
padding?: {
|
|
1943
|
+
top: number;
|
|
1944
|
+
bottom: number;
|
|
1945
|
+
right: number;
|
|
1946
|
+
left: number;
|
|
1947
|
+
} | null | undefined;
|
|
1948
|
+
} | null | undefined;
|
|
1949
|
+
props?: {
|
|
1950
|
+
title?: string | null | undefined;
|
|
1951
|
+
address?: string | null | undefined;
|
|
1952
|
+
imageUrl?: string | null | undefined;
|
|
1953
|
+
greeting?: string | null | undefined;
|
|
1954
|
+
name?: string | null | undefined;
|
|
1955
|
+
company?: string | null | undefined;
|
|
1956
|
+
email?: string | null | undefined;
|
|
1957
|
+
phone?: string | null | undefined;
|
|
1958
|
+
website?: string | null | undefined;
|
|
1959
|
+
imageSize?: number | null | undefined;
|
|
1960
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1961
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1962
|
+
nameColor?: string | null | undefined;
|
|
1963
|
+
textColor?: string | null | undefined;
|
|
1964
|
+
linkColor?: string | null | undefined;
|
|
1965
|
+
} | null | undefined;
|
|
1966
|
+
}, {
|
|
1967
|
+
style?: {
|
|
1968
|
+
backgroundColor?: string | null | undefined;
|
|
1969
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1970
|
+
padding?: {
|
|
1971
|
+
top: number;
|
|
1972
|
+
bottom: number;
|
|
1973
|
+
right: number;
|
|
1974
|
+
left: number;
|
|
1975
|
+
} | null | undefined;
|
|
1976
|
+
} | null | undefined;
|
|
1977
|
+
props?: {
|
|
1978
|
+
title?: string | null | undefined;
|
|
1979
|
+
address?: string | null | undefined;
|
|
1980
|
+
imageUrl?: string | null | undefined;
|
|
1981
|
+
greeting?: string | null | undefined;
|
|
1982
|
+
name?: string | null | undefined;
|
|
1983
|
+
company?: string | null | undefined;
|
|
1984
|
+
email?: string | null | undefined;
|
|
1985
|
+
phone?: string | null | undefined;
|
|
1986
|
+
website?: string | null | undefined;
|
|
1987
|
+
imageSize?: number | null | undefined;
|
|
1988
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
1989
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
1990
|
+
nameColor?: string | null | undefined;
|
|
1991
|
+
textColor?: string | null | undefined;
|
|
1992
|
+
linkColor?: string | null | undefined;
|
|
1993
|
+
} | null | undefined;
|
|
1994
|
+
}>;
|
|
1995
|
+
declare const SignaturePropsDefaults: {
|
|
1996
|
+
readonly greeting: "";
|
|
1997
|
+
readonly name: "";
|
|
1998
|
+
readonly title: "";
|
|
1999
|
+
readonly company: "";
|
|
2000
|
+
readonly address: "";
|
|
2001
|
+
readonly email: "";
|
|
2002
|
+
readonly phone: "";
|
|
2003
|
+
readonly website: "";
|
|
2004
|
+
readonly imageUrl: "";
|
|
2005
|
+
readonly imageSize: 64;
|
|
2006
|
+
readonly imageShape: "circle";
|
|
2007
|
+
readonly layout: "horizontal";
|
|
2008
|
+
readonly nameColor: "#262626";
|
|
2009
|
+
readonly textColor: "#666666";
|
|
2010
|
+
readonly linkColor: "#0079CC";
|
|
2011
|
+
};
|
|
2012
|
+
declare function Signature({ style, props }: SignatureProps): React.JSX.Element;
|
|
2013
|
+
|
|
1704
2014
|
declare const SpacerPropsSchema: z.ZodObject<{
|
|
1705
2015
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1706
2016
|
height: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
@@ -2017,18 +2327,18 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
2017
2327
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2018
2328
|
borderColor?: string | null | undefined;
|
|
2019
2329
|
borderRadius?: number | null | undefined;
|
|
2330
|
+
textColor?: string | null | undefined;
|
|
2020
2331
|
childrenIds?: string[] | null | undefined;
|
|
2021
2332
|
backdropColor?: string | null | undefined;
|
|
2022
2333
|
canvasColor?: string | null | undefined;
|
|
2023
|
-
textColor?: string | null | undefined;
|
|
2024
2334
|
}, {
|
|
2025
2335
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2026
2336
|
borderColor?: string | null | undefined;
|
|
2027
2337
|
borderRadius?: number | null | undefined;
|
|
2338
|
+
textColor?: string | null | undefined;
|
|
2028
2339
|
childrenIds?: string[] | null | undefined;
|
|
2029
2340
|
backdropColor?: string | null | undefined;
|
|
2030
2341
|
canvasColor?: string | null | undefined;
|
|
2031
|
-
textColor?: string | null | undefined;
|
|
2032
2342
|
}>;
|
|
2033
2343
|
Avatar: z.ZodObject<{
|
|
2034
2344
|
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -2712,6 +3022,151 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
2712
3022
|
text?: string | null | undefined;
|
|
2713
3023
|
} | null | undefined;
|
|
2714
3024
|
}>;
|
|
3025
|
+
Signature: z.ZodObject<{
|
|
3026
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3027
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3028
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
3029
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3030
|
+
top: z.ZodNumber;
|
|
3031
|
+
bottom: z.ZodNumber;
|
|
3032
|
+
right: z.ZodNumber;
|
|
3033
|
+
left: z.ZodNumber;
|
|
3034
|
+
}, "strip", z.ZodTypeAny, {
|
|
3035
|
+
top: number;
|
|
3036
|
+
bottom: number;
|
|
3037
|
+
right: number;
|
|
3038
|
+
left: number;
|
|
3039
|
+
}, {
|
|
3040
|
+
top: number;
|
|
3041
|
+
bottom: number;
|
|
3042
|
+
right: number;
|
|
3043
|
+
left: number;
|
|
3044
|
+
}>>>;
|
|
3045
|
+
}, "strip", z.ZodTypeAny, {
|
|
3046
|
+
backgroundColor?: string | null | undefined;
|
|
3047
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3048
|
+
padding?: {
|
|
3049
|
+
top: number;
|
|
3050
|
+
bottom: number;
|
|
3051
|
+
right: number;
|
|
3052
|
+
left: number;
|
|
3053
|
+
} | null | undefined;
|
|
3054
|
+
}, {
|
|
3055
|
+
backgroundColor?: string | null | undefined;
|
|
3056
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3057
|
+
padding?: {
|
|
3058
|
+
top: number;
|
|
3059
|
+
bottom: number;
|
|
3060
|
+
right: number;
|
|
3061
|
+
left: number;
|
|
3062
|
+
} | null | undefined;
|
|
3063
|
+
}>>>;
|
|
3064
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3065
|
+
greeting: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3066
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3067
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3068
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3069
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3070
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3071
|
+
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3072
|
+
website: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3073
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3074
|
+
imageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3075
|
+
imageShape: z.ZodNullable<z.ZodOptional<z.ZodEnum<["circle", "square", "rounded"]>>>;
|
|
3076
|
+
layout: z.ZodNullable<z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>>;
|
|
3077
|
+
nameColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3078
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3079
|
+
linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3080
|
+
}, "strip", z.ZodTypeAny, {
|
|
3081
|
+
title?: string | null | undefined;
|
|
3082
|
+
address?: string | null | undefined;
|
|
3083
|
+
imageUrl?: string | null | undefined;
|
|
3084
|
+
greeting?: string | null | undefined;
|
|
3085
|
+
name?: string | null | undefined;
|
|
3086
|
+
company?: string | null | undefined;
|
|
3087
|
+
email?: string | null | undefined;
|
|
3088
|
+
phone?: string | null | undefined;
|
|
3089
|
+
website?: string | null | undefined;
|
|
3090
|
+
imageSize?: number | null | undefined;
|
|
3091
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
3092
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
3093
|
+
nameColor?: string | null | undefined;
|
|
3094
|
+
textColor?: string | null | undefined;
|
|
3095
|
+
linkColor?: string | null | undefined;
|
|
3096
|
+
}, {
|
|
3097
|
+
title?: string | null | undefined;
|
|
3098
|
+
address?: string | null | undefined;
|
|
3099
|
+
imageUrl?: string | null | undefined;
|
|
3100
|
+
greeting?: string | null | undefined;
|
|
3101
|
+
name?: string | null | undefined;
|
|
3102
|
+
company?: string | null | undefined;
|
|
3103
|
+
email?: string | null | undefined;
|
|
3104
|
+
phone?: string | null | undefined;
|
|
3105
|
+
website?: string | null | undefined;
|
|
3106
|
+
imageSize?: number | null | undefined;
|
|
3107
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
3108
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
3109
|
+
nameColor?: string | null | undefined;
|
|
3110
|
+
textColor?: string | null | undefined;
|
|
3111
|
+
linkColor?: string | null | undefined;
|
|
3112
|
+
}>>>;
|
|
3113
|
+
}, "strip", z.ZodTypeAny, {
|
|
3114
|
+
style?: {
|
|
3115
|
+
backgroundColor?: string | null | undefined;
|
|
3116
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3117
|
+
padding?: {
|
|
3118
|
+
top: number;
|
|
3119
|
+
bottom: number;
|
|
3120
|
+
right: number;
|
|
3121
|
+
left: number;
|
|
3122
|
+
} | null | undefined;
|
|
3123
|
+
} | null | undefined;
|
|
3124
|
+
props?: {
|
|
3125
|
+
title?: string | null | undefined;
|
|
3126
|
+
address?: string | null | undefined;
|
|
3127
|
+
imageUrl?: string | null | undefined;
|
|
3128
|
+
greeting?: string | null | undefined;
|
|
3129
|
+
name?: string | null | undefined;
|
|
3130
|
+
company?: string | null | undefined;
|
|
3131
|
+
email?: string | null | undefined;
|
|
3132
|
+
phone?: string | null | undefined;
|
|
3133
|
+
website?: string | null | undefined;
|
|
3134
|
+
imageSize?: number | null | undefined;
|
|
3135
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
3136
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
3137
|
+
nameColor?: string | null | undefined;
|
|
3138
|
+
textColor?: string | null | undefined;
|
|
3139
|
+
linkColor?: string | null | undefined;
|
|
3140
|
+
} | null | undefined;
|
|
3141
|
+
}, {
|
|
3142
|
+
style?: {
|
|
3143
|
+
backgroundColor?: string | null | undefined;
|
|
3144
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3145
|
+
padding?: {
|
|
3146
|
+
top: number;
|
|
3147
|
+
bottom: number;
|
|
3148
|
+
right: number;
|
|
3149
|
+
left: number;
|
|
3150
|
+
} | null | undefined;
|
|
3151
|
+
} | null | undefined;
|
|
3152
|
+
props?: {
|
|
3153
|
+
title?: string | null | undefined;
|
|
3154
|
+
address?: string | null | undefined;
|
|
3155
|
+
imageUrl?: string | null | undefined;
|
|
3156
|
+
greeting?: string | null | undefined;
|
|
3157
|
+
name?: string | null | undefined;
|
|
3158
|
+
company?: string | null | undefined;
|
|
3159
|
+
email?: string | null | undefined;
|
|
3160
|
+
phone?: string | null | undefined;
|
|
3161
|
+
website?: string | null | undefined;
|
|
3162
|
+
imageSize?: number | null | undefined;
|
|
3163
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
3164
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
3165
|
+
nameColor?: string | null | undefined;
|
|
3166
|
+
textColor?: string | null | undefined;
|
|
3167
|
+
linkColor?: string | null | undefined;
|
|
3168
|
+
} | null | undefined;
|
|
3169
|
+
}>;
|
|
2715
3170
|
}>, any>;
|
|
2716
3171
|
type TReaderBlock = z.infer<typeof ReaderBlockSchema>;
|
|
2717
3172
|
declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodDiscriminatedUnion<"type", any>, BlockConfiguration<{
|
|
@@ -2939,18 +3394,18 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
2939
3394
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2940
3395
|
borderColor?: string | null | undefined;
|
|
2941
3396
|
borderRadius?: number | null | undefined;
|
|
3397
|
+
textColor?: string | null | undefined;
|
|
2942
3398
|
childrenIds?: string[] | null | undefined;
|
|
2943
3399
|
backdropColor?: string | null | undefined;
|
|
2944
3400
|
canvasColor?: string | null | undefined;
|
|
2945
|
-
textColor?: string | null | undefined;
|
|
2946
3401
|
}, {
|
|
2947
3402
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2948
3403
|
borderColor?: string | null | undefined;
|
|
2949
3404
|
borderRadius?: number | null | undefined;
|
|
3405
|
+
textColor?: string | null | undefined;
|
|
2950
3406
|
childrenIds?: string[] | null | undefined;
|
|
2951
3407
|
backdropColor?: string | null | undefined;
|
|
2952
3408
|
canvasColor?: string | null | undefined;
|
|
2953
|
-
textColor?: string | null | undefined;
|
|
2954
3409
|
}>;
|
|
2955
3410
|
Avatar: z.ZodObject<{
|
|
2956
3411
|
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -3634,6 +4089,151 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
3634
4089
|
text?: string | null | undefined;
|
|
3635
4090
|
} | null | undefined;
|
|
3636
4091
|
}>;
|
|
4092
|
+
Signature: z.ZodObject<{
|
|
4093
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4094
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4095
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
4096
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4097
|
+
top: z.ZodNumber;
|
|
4098
|
+
bottom: z.ZodNumber;
|
|
4099
|
+
right: z.ZodNumber;
|
|
4100
|
+
left: z.ZodNumber;
|
|
4101
|
+
}, "strip", z.ZodTypeAny, {
|
|
4102
|
+
top: number;
|
|
4103
|
+
bottom: number;
|
|
4104
|
+
right: number;
|
|
4105
|
+
left: number;
|
|
4106
|
+
}, {
|
|
4107
|
+
top: number;
|
|
4108
|
+
bottom: number;
|
|
4109
|
+
right: number;
|
|
4110
|
+
left: number;
|
|
4111
|
+
}>>>;
|
|
4112
|
+
}, "strip", z.ZodTypeAny, {
|
|
4113
|
+
backgroundColor?: string | null | undefined;
|
|
4114
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
4115
|
+
padding?: {
|
|
4116
|
+
top: number;
|
|
4117
|
+
bottom: number;
|
|
4118
|
+
right: number;
|
|
4119
|
+
left: number;
|
|
4120
|
+
} | null | undefined;
|
|
4121
|
+
}, {
|
|
4122
|
+
backgroundColor?: string | null | undefined;
|
|
4123
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
4124
|
+
padding?: {
|
|
4125
|
+
top: number;
|
|
4126
|
+
bottom: number;
|
|
4127
|
+
right: number;
|
|
4128
|
+
left: number;
|
|
4129
|
+
} | null | undefined;
|
|
4130
|
+
}>>>;
|
|
4131
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4132
|
+
greeting: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4133
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4134
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4135
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4136
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4137
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4138
|
+
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4139
|
+
website: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4140
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4141
|
+
imageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4142
|
+
imageShape: z.ZodNullable<z.ZodOptional<z.ZodEnum<["circle", "square", "rounded"]>>>;
|
|
4143
|
+
layout: z.ZodNullable<z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>>;
|
|
4144
|
+
nameColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4145
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4146
|
+
linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4147
|
+
}, "strip", z.ZodTypeAny, {
|
|
4148
|
+
title?: string | null | undefined;
|
|
4149
|
+
address?: string | null | undefined;
|
|
4150
|
+
imageUrl?: string | null | undefined;
|
|
4151
|
+
greeting?: string | null | undefined;
|
|
4152
|
+
name?: string | null | undefined;
|
|
4153
|
+
company?: string | null | undefined;
|
|
4154
|
+
email?: string | null | undefined;
|
|
4155
|
+
phone?: string | null | undefined;
|
|
4156
|
+
website?: string | null | undefined;
|
|
4157
|
+
imageSize?: number | null | undefined;
|
|
4158
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
4159
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
4160
|
+
nameColor?: string | null | undefined;
|
|
4161
|
+
textColor?: string | null | undefined;
|
|
4162
|
+
linkColor?: string | null | undefined;
|
|
4163
|
+
}, {
|
|
4164
|
+
title?: string | null | undefined;
|
|
4165
|
+
address?: string | null | undefined;
|
|
4166
|
+
imageUrl?: string | null | undefined;
|
|
4167
|
+
greeting?: string | null | undefined;
|
|
4168
|
+
name?: string | null | undefined;
|
|
4169
|
+
company?: string | null | undefined;
|
|
4170
|
+
email?: string | null | undefined;
|
|
4171
|
+
phone?: string | null | undefined;
|
|
4172
|
+
website?: string | null | undefined;
|
|
4173
|
+
imageSize?: number | null | undefined;
|
|
4174
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
4175
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
4176
|
+
nameColor?: string | null | undefined;
|
|
4177
|
+
textColor?: string | null | undefined;
|
|
4178
|
+
linkColor?: string | null | undefined;
|
|
4179
|
+
}>>>;
|
|
4180
|
+
}, "strip", z.ZodTypeAny, {
|
|
4181
|
+
style?: {
|
|
4182
|
+
backgroundColor?: string | null | undefined;
|
|
4183
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
4184
|
+
padding?: {
|
|
4185
|
+
top: number;
|
|
4186
|
+
bottom: number;
|
|
4187
|
+
right: number;
|
|
4188
|
+
left: number;
|
|
4189
|
+
} | null | undefined;
|
|
4190
|
+
} | null | undefined;
|
|
4191
|
+
props?: {
|
|
4192
|
+
title?: string | null | undefined;
|
|
4193
|
+
address?: string | null | undefined;
|
|
4194
|
+
imageUrl?: string | null | undefined;
|
|
4195
|
+
greeting?: string | null | undefined;
|
|
4196
|
+
name?: string | null | undefined;
|
|
4197
|
+
company?: string | null | undefined;
|
|
4198
|
+
email?: string | null | undefined;
|
|
4199
|
+
phone?: string | null | undefined;
|
|
4200
|
+
website?: string | null | undefined;
|
|
4201
|
+
imageSize?: number | null | undefined;
|
|
4202
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
4203
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
4204
|
+
nameColor?: string | null | undefined;
|
|
4205
|
+
textColor?: string | null | undefined;
|
|
4206
|
+
linkColor?: string | null | undefined;
|
|
4207
|
+
} | null | undefined;
|
|
4208
|
+
}, {
|
|
4209
|
+
style?: {
|
|
4210
|
+
backgroundColor?: string | null | undefined;
|
|
4211
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
4212
|
+
padding?: {
|
|
4213
|
+
top: number;
|
|
4214
|
+
bottom: number;
|
|
4215
|
+
right: number;
|
|
4216
|
+
left: number;
|
|
4217
|
+
} | null | undefined;
|
|
4218
|
+
} | null | undefined;
|
|
4219
|
+
props?: {
|
|
4220
|
+
title?: string | null | undefined;
|
|
4221
|
+
address?: string | null | undefined;
|
|
4222
|
+
imageUrl?: string | null | undefined;
|
|
4223
|
+
greeting?: string | null | undefined;
|
|
4224
|
+
name?: string | null | undefined;
|
|
4225
|
+
company?: string | null | undefined;
|
|
4226
|
+
email?: string | null | undefined;
|
|
4227
|
+
phone?: string | null | undefined;
|
|
4228
|
+
website?: string | null | undefined;
|
|
4229
|
+
imageSize?: number | null | undefined;
|
|
4230
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
4231
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
4232
|
+
nameColor?: string | null | undefined;
|
|
4233
|
+
textColor?: string | null | undefined;
|
|
4234
|
+
linkColor?: string | null | undefined;
|
|
4235
|
+
} | null | undefined;
|
|
4236
|
+
}>;
|
|
3637
4237
|
}>, any>>;
|
|
3638
4238
|
type TReaderProps = {
|
|
3639
4239
|
document: Record<string, z.infer<typeof ReaderBlockSchema>>;
|
|
@@ -3915,18 +4515,18 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
|
|
|
3915
4515
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3916
4516
|
borderColor?: string | null | undefined;
|
|
3917
4517
|
borderRadius?: number | null | undefined;
|
|
4518
|
+
textColor?: string | null | undefined;
|
|
3918
4519
|
childrenIds?: string[] | null | undefined;
|
|
3919
4520
|
backdropColor?: string | null | undefined;
|
|
3920
4521
|
canvasColor?: string | null | undefined;
|
|
3921
|
-
textColor?: string | null | undefined;
|
|
3922
4522
|
}, {
|
|
3923
4523
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3924
4524
|
borderColor?: string | null | undefined;
|
|
3925
4525
|
borderRadius?: number | null | undefined;
|
|
4526
|
+
textColor?: string | null | undefined;
|
|
3926
4527
|
childrenIds?: string[] | null | undefined;
|
|
3927
4528
|
backdropColor?: string | null | undefined;
|
|
3928
4529
|
canvasColor?: string | null | undefined;
|
|
3929
|
-
textColor?: string | null | undefined;
|
|
3930
4530
|
}>;
|
|
3931
4531
|
type EmailLayoutProps = z.infer<typeof EmailLayoutPropsSchema>;
|
|
3932
4532
|
|
|
@@ -4749,18 +5349,18 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
4749
5349
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
4750
5350
|
borderColor?: string | null | undefined;
|
|
4751
5351
|
borderRadius?: number | null | undefined;
|
|
5352
|
+
textColor?: string | null | undefined;
|
|
4752
5353
|
childrenIds?: string[] | null | undefined;
|
|
4753
5354
|
backdropColor?: string | null | undefined;
|
|
4754
5355
|
canvasColor?: string | null | undefined;
|
|
4755
|
-
textColor?: string | null | undefined;
|
|
4756
5356
|
}, {
|
|
4757
5357
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
4758
5358
|
borderColor?: string | null | undefined;
|
|
4759
5359
|
borderRadius?: number | null | undefined;
|
|
5360
|
+
textColor?: string | null | undefined;
|
|
4760
5361
|
childrenIds?: string[] | null | undefined;
|
|
4761
5362
|
backdropColor?: string | null | undefined;
|
|
4762
5363
|
canvasColor?: string | null | undefined;
|
|
4763
|
-
textColor?: string | null | undefined;
|
|
4764
5364
|
}>;
|
|
4765
5365
|
Spacer: z.ZodObject<{
|
|
4766
5366
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -4854,6 +5454,151 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
4854
5454
|
lineHeight?: number | null | undefined;
|
|
4855
5455
|
} | null | undefined;
|
|
4856
5456
|
}>;
|
|
5457
|
+
Signature: z.ZodObject<{
|
|
5458
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5459
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5460
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
5461
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5462
|
+
top: z.ZodNumber;
|
|
5463
|
+
bottom: z.ZodNumber;
|
|
5464
|
+
right: z.ZodNumber;
|
|
5465
|
+
left: z.ZodNumber;
|
|
5466
|
+
}, "strip", z.ZodTypeAny, {
|
|
5467
|
+
top: number;
|
|
5468
|
+
bottom: number;
|
|
5469
|
+
right: number;
|
|
5470
|
+
left: number;
|
|
5471
|
+
}, {
|
|
5472
|
+
top: number;
|
|
5473
|
+
bottom: number;
|
|
5474
|
+
right: number;
|
|
5475
|
+
left: number;
|
|
5476
|
+
}>>>;
|
|
5477
|
+
}, "strip", z.ZodTypeAny, {
|
|
5478
|
+
backgroundColor?: string | null | undefined;
|
|
5479
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
5480
|
+
padding?: {
|
|
5481
|
+
top: number;
|
|
5482
|
+
bottom: number;
|
|
5483
|
+
right: number;
|
|
5484
|
+
left: number;
|
|
5485
|
+
} | null | undefined;
|
|
5486
|
+
}, {
|
|
5487
|
+
backgroundColor?: string | null | undefined;
|
|
5488
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
5489
|
+
padding?: {
|
|
5490
|
+
top: number;
|
|
5491
|
+
bottom: number;
|
|
5492
|
+
right: number;
|
|
5493
|
+
left: number;
|
|
5494
|
+
} | null | undefined;
|
|
5495
|
+
}>>>;
|
|
5496
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5497
|
+
greeting: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5498
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5499
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5500
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5501
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5502
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5503
|
+
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5504
|
+
website: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5505
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5506
|
+
imageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
5507
|
+
imageShape: z.ZodNullable<z.ZodOptional<z.ZodEnum<["circle", "square", "rounded"]>>>;
|
|
5508
|
+
layout: z.ZodNullable<z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>>;
|
|
5509
|
+
nameColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5510
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5511
|
+
linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5512
|
+
}, "strip", z.ZodTypeAny, {
|
|
5513
|
+
title?: string | null | undefined;
|
|
5514
|
+
address?: string | null | undefined;
|
|
5515
|
+
imageUrl?: string | null | undefined;
|
|
5516
|
+
greeting?: string | null | undefined;
|
|
5517
|
+
name?: string | null | undefined;
|
|
5518
|
+
company?: string | null | undefined;
|
|
5519
|
+
email?: string | null | undefined;
|
|
5520
|
+
phone?: string | null | undefined;
|
|
5521
|
+
website?: string | null | undefined;
|
|
5522
|
+
imageSize?: number | null | undefined;
|
|
5523
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
5524
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
5525
|
+
nameColor?: string | null | undefined;
|
|
5526
|
+
textColor?: string | null | undefined;
|
|
5527
|
+
linkColor?: string | null | undefined;
|
|
5528
|
+
}, {
|
|
5529
|
+
title?: string | null | undefined;
|
|
5530
|
+
address?: string | null | undefined;
|
|
5531
|
+
imageUrl?: string | null | undefined;
|
|
5532
|
+
greeting?: string | null | undefined;
|
|
5533
|
+
name?: string | null | undefined;
|
|
5534
|
+
company?: string | null | undefined;
|
|
5535
|
+
email?: string | null | undefined;
|
|
5536
|
+
phone?: string | null | undefined;
|
|
5537
|
+
website?: string | null | undefined;
|
|
5538
|
+
imageSize?: number | null | undefined;
|
|
5539
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
5540
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
5541
|
+
nameColor?: string | null | undefined;
|
|
5542
|
+
textColor?: string | null | undefined;
|
|
5543
|
+
linkColor?: string | null | undefined;
|
|
5544
|
+
}>>>;
|
|
5545
|
+
}, "strip", z.ZodTypeAny, {
|
|
5546
|
+
style?: {
|
|
5547
|
+
backgroundColor?: string | null | undefined;
|
|
5548
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
5549
|
+
padding?: {
|
|
5550
|
+
top: number;
|
|
5551
|
+
bottom: number;
|
|
5552
|
+
right: number;
|
|
5553
|
+
left: number;
|
|
5554
|
+
} | null | undefined;
|
|
5555
|
+
} | null | undefined;
|
|
5556
|
+
props?: {
|
|
5557
|
+
title?: string | null | undefined;
|
|
5558
|
+
address?: string | null | undefined;
|
|
5559
|
+
imageUrl?: string | null | undefined;
|
|
5560
|
+
greeting?: string | null | undefined;
|
|
5561
|
+
name?: string | null | undefined;
|
|
5562
|
+
company?: string | null | undefined;
|
|
5563
|
+
email?: string | null | undefined;
|
|
5564
|
+
phone?: string | null | undefined;
|
|
5565
|
+
website?: string | null | undefined;
|
|
5566
|
+
imageSize?: number | null | undefined;
|
|
5567
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
5568
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
5569
|
+
nameColor?: string | null | undefined;
|
|
5570
|
+
textColor?: string | null | undefined;
|
|
5571
|
+
linkColor?: string | null | undefined;
|
|
5572
|
+
} | null | undefined;
|
|
5573
|
+
}, {
|
|
5574
|
+
style?: {
|
|
5575
|
+
backgroundColor?: string | null | undefined;
|
|
5576
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
5577
|
+
padding?: {
|
|
5578
|
+
top: number;
|
|
5579
|
+
bottom: number;
|
|
5580
|
+
right: number;
|
|
5581
|
+
left: number;
|
|
5582
|
+
} | null | undefined;
|
|
5583
|
+
} | null | undefined;
|
|
5584
|
+
props?: {
|
|
5585
|
+
title?: string | null | undefined;
|
|
5586
|
+
address?: string | null | undefined;
|
|
5587
|
+
imageUrl?: string | null | undefined;
|
|
5588
|
+
greeting?: string | null | undefined;
|
|
5589
|
+
name?: string | null | undefined;
|
|
5590
|
+
company?: string | null | undefined;
|
|
5591
|
+
email?: string | null | undefined;
|
|
5592
|
+
phone?: string | null | undefined;
|
|
5593
|
+
website?: string | null | undefined;
|
|
5594
|
+
imageSize?: number | null | undefined;
|
|
5595
|
+
imageShape?: "circle" | "square" | "rounded" | null | undefined;
|
|
5596
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
5597
|
+
nameColor?: string | null | undefined;
|
|
5598
|
+
textColor?: string | null | undefined;
|
|
5599
|
+
linkColor?: string | null | undefined;
|
|
5600
|
+
} | null | undefined;
|
|
5601
|
+
}>;
|
|
4857
5602
|
}>, any>;
|
|
4858
5603
|
type TEditorBlock = z.infer<typeof EditorBlockSchema>;
|
|
4859
5604
|
type TEditorConfiguration = Record<string, TEditorBlock>;
|
|
@@ -4973,4 +5718,4 @@ interface EmailEditorProps {
|
|
|
4973
5718
|
}
|
|
4974
5719
|
declare const EmailEditor: React.ForwardRefExoticComponent<EmailEditorProps & React.RefAttributes<EmailEditorRef>>;
|
|
4975
5720
|
|
|
4976
|
-
export { Avatar, AvatarProps, AvatarPropsDefaults, AvatarPropsSchema, BlockConfiguration, Button, ButtonProps, ButtonPropsDefaults, ButtonPropsSchema, ColumnsContainer, ColumnsContainerProps$1 as ColumnsContainerProps, ColumnsContainerPropsSchema$1 as ColumnsContainerPropsSchema, ColumnsContainerReader, Container, ContainerProps$1 as ContainerProps, ContainerPropsSchema$1 as ContainerPropsSchema, ContainerReader, Divider, DividerProps, DividerPropsDefaults, DividerPropsSchema, DocumentBlocksDictionary, EmailEditor, type EmailEditorContextType, type EmailEditorProps, EmailEditorProvider, type EmailEditorProviderProps, type EmailEditorRef, EmailLayoutPropsSchema, EmailLayoutReader, EmailMarkdown, Heading, HeadingProps, HeadingPropsDefaults, HeadingPropsSchema, Html, HtmlProps, HtmlPropsSchema, Image, ImageProps, ImagePropsSchema, Reader, ReaderBlock, ReaderBlockSchema, ReaderDocumentSchema, Spacer, SpacerProps, SpacerPropsDefaults, SpacerPropsSchema, type TReaderBlock, type TReaderBlockProps, type TReaderDocument, type TReaderProps, Text, TextProps, TextPropsDefaults, TextPropsSchema, buildBlockComponent, buildBlockConfigurationDictionary, buildBlockConfigurationSchema, htmlToEditorConfig, renderToStaticMarkup, renderToText, THEME as theme, useEmailEditor };
|
|
5721
|
+
export { Avatar, AvatarProps, AvatarPropsDefaults, AvatarPropsSchema, BlockConfiguration, Button, ButtonProps, ButtonPropsDefaults, ButtonPropsSchema, ColumnsContainer, ColumnsContainerProps$1 as ColumnsContainerProps, ColumnsContainerPropsSchema$1 as ColumnsContainerPropsSchema, ColumnsContainerReader, Container, ContainerProps$1 as ContainerProps, ContainerPropsSchema$1 as ContainerPropsSchema, ContainerReader, Divider, DividerProps, DividerPropsDefaults, DividerPropsSchema, DocumentBlocksDictionary, EmailEditor, type EmailEditorContextType, type EmailEditorProps, EmailEditorProvider, type EmailEditorProviderProps, type EmailEditorRef, EmailLayoutPropsSchema, EmailLayoutReader, EmailMarkdown, Heading, HeadingProps, HeadingPropsDefaults, HeadingPropsSchema, Html, HtmlProps, HtmlPropsSchema, Image, ImageProps, ImagePropsSchema, Reader, ReaderBlock, ReaderBlockSchema, ReaderDocumentSchema, Signature, SignatureProps, SignaturePropsDefaults, SignaturePropsSchema, Spacer, SpacerProps, SpacerPropsDefaults, SpacerPropsSchema, type TReaderBlock, type TReaderBlockProps, type TReaderDocument, type TReaderProps, Text, TextProps, TextPropsDefaults, TextPropsSchema, buildBlockComponent, buildBlockConfigurationDictionary, buildBlockConfigurationSchema, htmlToEditorConfig, renderToStaticMarkup, renderToText, THEME as theme, useEmailEditor };
|