monto-email-builder 1.2.2 → 1.2.3
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/README.md +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/index.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +2 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontStyleInput.d.ts +8 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontStyleInput.d.ts.map +1 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LetterSpacingInput.d.ts +8 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LetterSpacingInput.d.ts.map +1 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LineHeightInput.d.ts +8 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LineHeightInput.d.ts.map +1 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDecorationInput.d.ts +9 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDecorationInput.d.ts.map +1 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextFormatGroup.d.ts +8 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextFormatGroup.d.ts.map +1 -0
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/index.d.ts.map +1 -1
- package/dist/App/TemplatePanel/index.d.ts.map +1 -1
- package/dist/EmailBuilder/index.d.ts +16 -0
- package/dist/EmailBuilder/index.d.ts.map +1 -1
- package/dist/HtmlEditor/index.d.ts.map +1 -1
- package/dist/chunks/{chunk-CxhtzHBZ.js → chunk-_7XTjFEi.js} +220 -80
- package/dist/documents/blocks/Text/TextEditor.d.ts.map +1 -1
- package/dist/documents/blocks/Text/TextEditorRich.d.ts +3 -0
- package/dist/documents/blocks/Text/TextEditorRich.d.ts.map +1 -0
- package/dist/documents/blocks/Text/textDom.d.ts +70 -0
- package/dist/documents/blocks/Text/textDom.d.ts.map +1 -0
- package/dist/documents/blocks/Text/variableCatalog.d.ts +23 -0
- package/dist/documents/blocks/Text/variableCatalog.d.ts.map +1 -0
- package/dist/documents/blocks/helpers/TStyle.d.ts +4 -0
- package/dist/documents/blocks/helpers/TStyle.d.ts.map +1 -1
- package/dist/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts.map +1 -1
- package/dist/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts.map +1 -1
- package/dist/documents/editor/EditorContext.d.ts +85 -0
- package/dist/documents/editor/EditorContext.d.ts.map +1 -1
- package/dist/documents/editor/collectTemplateVariables.d.ts +51 -0
- package/dist/documents/editor/collectTemplateVariables.d.ts.map +1 -0
- package/dist/documents/editor/core.d.ts +717 -4
- package/dist/documents/editor/core.d.ts.map +1 -1
- package/dist/documents/editor/flushActiveTextEditorToDocument.d.ts +6 -0
- package/dist/documents/editor/flushActiveTextEditorToDocument.d.ts.map +1 -0
- package/dist/html-editor.js +144 -127
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5165 -2859
- package/package.json +16 -15
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { z } from 'zod';
|
|
3
2
|
export declare const EditorBlock: ({ type, data }: import("monto-email-document-core").BlockConfiguration<{
|
|
4
3
|
Button: z.ZodObject<{
|
|
@@ -722,6 +721,10 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
722
721
|
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
723
722
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
724
723
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
724
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
|
|
725
|
+
textDecoration: z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "underline", "line-through", "underline line-through"]>>>;
|
|
726
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
727
|
+
letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
725
728
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
726
729
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
727
730
|
top: z.ZodNumber;
|
|
@@ -745,6 +748,10 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
745
748
|
fontSize?: number | null | undefined;
|
|
746
749
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
747
750
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
751
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
752
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
753
|
+
lineHeight?: number | null | undefined;
|
|
754
|
+
letterSpacing?: string | number | null | undefined;
|
|
748
755
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
749
756
|
padding?: {
|
|
750
757
|
top: number;
|
|
@@ -758,6 +765,10 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
758
765
|
fontSize?: number | null | undefined;
|
|
759
766
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
760
767
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
768
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
769
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
770
|
+
lineHeight?: number | null | undefined;
|
|
771
|
+
letterSpacing?: string | number | null | undefined;
|
|
761
772
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
762
773
|
padding?: {
|
|
763
774
|
top: number;
|
|
@@ -767,14 +778,172 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
767
778
|
} | null | undefined;
|
|
768
779
|
}>>>;
|
|
769
780
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
770
|
-
|
|
781
|
+
html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
782
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
771
783
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
784
|
+
inlineRuns: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
785
|
+
start: z.ZodNumber;
|
|
786
|
+
end: z.ZodNumber;
|
|
787
|
+
style: z.ZodObject<{
|
|
788
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
789
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
790
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
791
|
+
fontFamily: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>>;
|
|
792
|
+
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
793
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
|
|
794
|
+
textDecoration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "underline", "line-through", "underline line-through"]>>>>;
|
|
795
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
796
|
+
letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
color?: string | null | undefined;
|
|
799
|
+
backgroundColor?: string | null | undefined;
|
|
800
|
+
fontSize?: number | null | undefined;
|
|
801
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
802
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
803
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
804
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
805
|
+
lineHeight?: number | null | undefined;
|
|
806
|
+
letterSpacing?: string | number | null | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
color?: string | null | undefined;
|
|
809
|
+
backgroundColor?: string | null | undefined;
|
|
810
|
+
fontSize?: number | null | undefined;
|
|
811
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
812
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
813
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
814
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
815
|
+
lineHeight?: number | null | undefined;
|
|
816
|
+
letterSpacing?: string | number | null | undefined;
|
|
817
|
+
}>;
|
|
818
|
+
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
style: {
|
|
820
|
+
color?: string | null | undefined;
|
|
821
|
+
backgroundColor?: string | null | undefined;
|
|
822
|
+
fontSize?: number | null | undefined;
|
|
823
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
824
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
825
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
826
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
827
|
+
lineHeight?: number | null | undefined;
|
|
828
|
+
letterSpacing?: string | number | null | undefined;
|
|
829
|
+
};
|
|
830
|
+
start: number;
|
|
831
|
+
end: number;
|
|
832
|
+
}, {
|
|
833
|
+
style: {
|
|
834
|
+
color?: string | null | undefined;
|
|
835
|
+
backgroundColor?: string | null | undefined;
|
|
836
|
+
fontSize?: number | null | undefined;
|
|
837
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
838
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
839
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
840
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
841
|
+
lineHeight?: number | null | undefined;
|
|
842
|
+
letterSpacing?: string | number | null | undefined;
|
|
843
|
+
};
|
|
844
|
+
start: number;
|
|
845
|
+
end: number;
|
|
846
|
+
}>, "many">>>;
|
|
847
|
+
inlineLinks: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
848
|
+
start: z.ZodNumber;
|
|
849
|
+
end: z.ZodNumber;
|
|
850
|
+
href: z.ZodString;
|
|
851
|
+
targetBlank: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
852
|
+
}, "strip", z.ZodTypeAny, {
|
|
853
|
+
href: string;
|
|
854
|
+
start: number;
|
|
855
|
+
end: number;
|
|
856
|
+
targetBlank?: boolean | null | undefined;
|
|
857
|
+
}, {
|
|
858
|
+
href: string;
|
|
859
|
+
start: number;
|
|
860
|
+
end: number;
|
|
861
|
+
targetBlank?: boolean | null | undefined;
|
|
862
|
+
}>, "many">>>;
|
|
863
|
+
markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
864
|
+
variableDefaults: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
865
|
+
variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
|
+
variableInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
867
|
+
attribute: z.ZodString;
|
|
868
|
+
variable: z.ZodString;
|
|
869
|
+
type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
|
870
|
+
}, "strip", z.ZodTypeAny, {
|
|
871
|
+
attribute: string;
|
|
872
|
+
variable: string;
|
|
873
|
+
type?: "user" | "system" | null | undefined;
|
|
874
|
+
variableInstanceId?: string | null | undefined;
|
|
875
|
+
}, {
|
|
876
|
+
attribute: string;
|
|
877
|
+
variable: string;
|
|
878
|
+
type?: "user" | "system" | null | undefined;
|
|
879
|
+
variableInstanceId?: string | null | undefined;
|
|
880
|
+
}>, "many">>>;
|
|
772
881
|
}, "strip", z.ZodTypeAny, {
|
|
773
882
|
markdown?: boolean | null | undefined;
|
|
883
|
+
message?: string | null | undefined;
|
|
884
|
+
html?: string | null | undefined;
|
|
774
885
|
text?: string | null | undefined;
|
|
886
|
+
inlineRuns?: {
|
|
887
|
+
style: {
|
|
888
|
+
color?: string | null | undefined;
|
|
889
|
+
backgroundColor?: string | null | undefined;
|
|
890
|
+
fontSize?: number | null | undefined;
|
|
891
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
892
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
893
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
894
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
895
|
+
lineHeight?: number | null | undefined;
|
|
896
|
+
letterSpacing?: string | number | null | undefined;
|
|
897
|
+
};
|
|
898
|
+
start: number;
|
|
899
|
+
end: number;
|
|
900
|
+
}[] | null | undefined;
|
|
901
|
+
inlineLinks?: {
|
|
902
|
+
href: string;
|
|
903
|
+
start: number;
|
|
904
|
+
end: number;
|
|
905
|
+
targetBlank?: boolean | null | undefined;
|
|
906
|
+
}[] | null | undefined;
|
|
907
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
908
|
+
variables?: {
|
|
909
|
+
attribute: string;
|
|
910
|
+
variable: string;
|
|
911
|
+
type?: "user" | "system" | null | undefined;
|
|
912
|
+
variableInstanceId?: string | null | undefined;
|
|
913
|
+
}[] | null | undefined;
|
|
775
914
|
}, {
|
|
776
915
|
markdown?: boolean | null | undefined;
|
|
916
|
+
message?: string | null | undefined;
|
|
917
|
+
html?: string | null | undefined;
|
|
777
918
|
text?: string | null | undefined;
|
|
919
|
+
inlineRuns?: {
|
|
920
|
+
style: {
|
|
921
|
+
color?: string | null | undefined;
|
|
922
|
+
backgroundColor?: string | null | undefined;
|
|
923
|
+
fontSize?: number | null | undefined;
|
|
924
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
925
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
926
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
927
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
928
|
+
lineHeight?: number | null | undefined;
|
|
929
|
+
letterSpacing?: string | number | null | undefined;
|
|
930
|
+
};
|
|
931
|
+
start: number;
|
|
932
|
+
end: number;
|
|
933
|
+
}[] | null | undefined;
|
|
934
|
+
inlineLinks?: {
|
|
935
|
+
href: string;
|
|
936
|
+
start: number;
|
|
937
|
+
end: number;
|
|
938
|
+
targetBlank?: boolean | null | undefined;
|
|
939
|
+
}[] | null | undefined;
|
|
940
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
941
|
+
variables?: {
|
|
942
|
+
attribute: string;
|
|
943
|
+
variable: string;
|
|
944
|
+
type?: "user" | "system" | null | undefined;
|
|
945
|
+
variableInstanceId?: string | null | undefined;
|
|
946
|
+
}[] | null | undefined;
|
|
778
947
|
}>>>;
|
|
779
948
|
}, "strip", z.ZodTypeAny, {
|
|
780
949
|
style?: {
|
|
@@ -783,6 +952,10 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
783
952
|
fontSize?: number | null | undefined;
|
|
784
953
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
785
954
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
955
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
956
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
957
|
+
lineHeight?: number | null | undefined;
|
|
958
|
+
letterSpacing?: string | number | null | undefined;
|
|
786
959
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
787
960
|
padding?: {
|
|
788
961
|
top: number;
|
|
@@ -793,7 +966,37 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
793
966
|
} | null | undefined;
|
|
794
967
|
props?: {
|
|
795
968
|
markdown?: boolean | null | undefined;
|
|
969
|
+
message?: string | null | undefined;
|
|
970
|
+
html?: string | null | undefined;
|
|
796
971
|
text?: string | null | undefined;
|
|
972
|
+
inlineRuns?: {
|
|
973
|
+
style: {
|
|
974
|
+
color?: string | null | undefined;
|
|
975
|
+
backgroundColor?: string | null | undefined;
|
|
976
|
+
fontSize?: number | null | undefined;
|
|
977
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
978
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
979
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
980
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
981
|
+
lineHeight?: number | null | undefined;
|
|
982
|
+
letterSpacing?: string | number | null | undefined;
|
|
983
|
+
};
|
|
984
|
+
start: number;
|
|
985
|
+
end: number;
|
|
986
|
+
}[] | null | undefined;
|
|
987
|
+
inlineLinks?: {
|
|
988
|
+
href: string;
|
|
989
|
+
start: number;
|
|
990
|
+
end: number;
|
|
991
|
+
targetBlank?: boolean | null | undefined;
|
|
992
|
+
}[] | null | undefined;
|
|
993
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
994
|
+
variables?: {
|
|
995
|
+
attribute: string;
|
|
996
|
+
variable: string;
|
|
997
|
+
type?: "user" | "system" | null | undefined;
|
|
998
|
+
variableInstanceId?: string | null | undefined;
|
|
999
|
+
}[] | null | undefined;
|
|
797
1000
|
} | null | undefined;
|
|
798
1001
|
}, {
|
|
799
1002
|
style?: {
|
|
@@ -802,6 +1005,10 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
802
1005
|
fontSize?: number | null | undefined;
|
|
803
1006
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
804
1007
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1008
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
1009
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
1010
|
+
lineHeight?: number | null | undefined;
|
|
1011
|
+
letterSpacing?: string | number | null | undefined;
|
|
805
1012
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
806
1013
|
padding?: {
|
|
807
1014
|
top: number;
|
|
@@ -812,7 +1019,37 @@ export declare const EditorBlock: ({ type, data }: import("monto-email-document-
|
|
|
812
1019
|
} | null | undefined;
|
|
813
1020
|
props?: {
|
|
814
1021
|
markdown?: boolean | null | undefined;
|
|
1022
|
+
message?: string | null | undefined;
|
|
1023
|
+
html?: string | null | undefined;
|
|
815
1024
|
text?: string | null | undefined;
|
|
1025
|
+
inlineRuns?: {
|
|
1026
|
+
style: {
|
|
1027
|
+
color?: string | null | undefined;
|
|
1028
|
+
backgroundColor?: string | null | undefined;
|
|
1029
|
+
fontSize?: number | null | undefined;
|
|
1030
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1031
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1032
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
1033
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
1034
|
+
lineHeight?: number | null | undefined;
|
|
1035
|
+
letterSpacing?: string | number | null | undefined;
|
|
1036
|
+
};
|
|
1037
|
+
start: number;
|
|
1038
|
+
end: number;
|
|
1039
|
+
}[] | null | undefined;
|
|
1040
|
+
inlineLinks?: {
|
|
1041
|
+
href: string;
|
|
1042
|
+
start: number;
|
|
1043
|
+
end: number;
|
|
1044
|
+
targetBlank?: boolean | null | undefined;
|
|
1045
|
+
}[] | null | undefined;
|
|
1046
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
1047
|
+
variables?: {
|
|
1048
|
+
attribute: string;
|
|
1049
|
+
variable: string;
|
|
1050
|
+
type?: "user" | "system" | null | undefined;
|
|
1051
|
+
variableInstanceId?: string | null | undefined;
|
|
1052
|
+
}[] | null | undefined;
|
|
816
1053
|
} | null | undefined;
|
|
817
1054
|
}>;
|
|
818
1055
|
EmailLayout: z.ZodObject<{
|
|
@@ -1769,6 +2006,10 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1769
2006
|
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1770
2007
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1771
2008
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
2009
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
|
|
2010
|
+
textDecoration: z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "underline", "line-through", "underline line-through"]>>>;
|
|
2011
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2012
|
+
letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1772
2013
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
1773
2014
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1774
2015
|
top: z.ZodNumber;
|
|
@@ -1792,6 +2033,10 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1792
2033
|
fontSize?: number | null | undefined;
|
|
1793
2034
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1794
2035
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2036
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2037
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2038
|
+
lineHeight?: number | null | undefined;
|
|
2039
|
+
letterSpacing?: string | number | null | undefined;
|
|
1795
2040
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
1796
2041
|
padding?: {
|
|
1797
2042
|
top: number;
|
|
@@ -1805,6 +2050,10 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1805
2050
|
fontSize?: number | null | undefined;
|
|
1806
2051
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1807
2052
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2053
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2054
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2055
|
+
lineHeight?: number | null | undefined;
|
|
2056
|
+
letterSpacing?: string | number | null | undefined;
|
|
1808
2057
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
1809
2058
|
padding?: {
|
|
1810
2059
|
top: number;
|
|
@@ -1814,14 +2063,172 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1814
2063
|
} | null | undefined;
|
|
1815
2064
|
}>>>;
|
|
1816
2065
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1817
|
-
|
|
2066
|
+
html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2067
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1818
2068
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2069
|
+
inlineRuns: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2070
|
+
start: z.ZodNumber;
|
|
2071
|
+
end: z.ZodNumber;
|
|
2072
|
+
style: z.ZodObject<{
|
|
2073
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2074
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2075
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2076
|
+
fontFamily: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>>;
|
|
2077
|
+
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
2078
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
|
|
2079
|
+
textDecoration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "underline", "line-through", "underline line-through"]>>>>;
|
|
2080
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2081
|
+
letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
2082
|
+
}, "strip", z.ZodTypeAny, {
|
|
2083
|
+
color?: string | null | undefined;
|
|
2084
|
+
backgroundColor?: string | null | undefined;
|
|
2085
|
+
fontSize?: number | null | undefined;
|
|
2086
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2087
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2088
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2089
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2090
|
+
lineHeight?: number | null | undefined;
|
|
2091
|
+
letterSpacing?: string | number | null | undefined;
|
|
2092
|
+
}, {
|
|
2093
|
+
color?: string | null | undefined;
|
|
2094
|
+
backgroundColor?: string | null | undefined;
|
|
2095
|
+
fontSize?: number | null | undefined;
|
|
2096
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2097
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2098
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2099
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2100
|
+
lineHeight?: number | null | undefined;
|
|
2101
|
+
letterSpacing?: string | number | null | undefined;
|
|
2102
|
+
}>;
|
|
2103
|
+
}, "strip", z.ZodTypeAny, {
|
|
2104
|
+
style: {
|
|
2105
|
+
color?: string | null | undefined;
|
|
2106
|
+
backgroundColor?: string | null | undefined;
|
|
2107
|
+
fontSize?: number | null | undefined;
|
|
2108
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2109
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2110
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2111
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2112
|
+
lineHeight?: number | null | undefined;
|
|
2113
|
+
letterSpacing?: string | number | null | undefined;
|
|
2114
|
+
};
|
|
2115
|
+
start: number;
|
|
2116
|
+
end: number;
|
|
2117
|
+
}, {
|
|
2118
|
+
style: {
|
|
2119
|
+
color?: string | null | undefined;
|
|
2120
|
+
backgroundColor?: string | null | undefined;
|
|
2121
|
+
fontSize?: number | null | undefined;
|
|
2122
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2123
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2124
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2125
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2126
|
+
lineHeight?: number | null | undefined;
|
|
2127
|
+
letterSpacing?: string | number | null | undefined;
|
|
2128
|
+
};
|
|
2129
|
+
start: number;
|
|
2130
|
+
end: number;
|
|
2131
|
+
}>, "many">>>;
|
|
2132
|
+
inlineLinks: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2133
|
+
start: z.ZodNumber;
|
|
2134
|
+
end: z.ZodNumber;
|
|
2135
|
+
href: z.ZodString;
|
|
2136
|
+
targetBlank: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
2137
|
+
}, "strip", z.ZodTypeAny, {
|
|
2138
|
+
href: string;
|
|
2139
|
+
start: number;
|
|
2140
|
+
end: number;
|
|
2141
|
+
targetBlank?: boolean | null | undefined;
|
|
2142
|
+
}, {
|
|
2143
|
+
href: string;
|
|
2144
|
+
start: number;
|
|
2145
|
+
end: number;
|
|
2146
|
+
targetBlank?: boolean | null | undefined;
|
|
2147
|
+
}>, "many">>>;
|
|
2148
|
+
markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
2149
|
+
variableDefaults: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2150
|
+
variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2151
|
+
variableInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2152
|
+
attribute: z.ZodString;
|
|
2153
|
+
variable: z.ZodString;
|
|
2154
|
+
type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
|
2155
|
+
}, "strip", z.ZodTypeAny, {
|
|
2156
|
+
attribute: string;
|
|
2157
|
+
variable: string;
|
|
2158
|
+
type?: "user" | "system" | null | undefined;
|
|
2159
|
+
variableInstanceId?: string | null | undefined;
|
|
2160
|
+
}, {
|
|
2161
|
+
attribute: string;
|
|
2162
|
+
variable: string;
|
|
2163
|
+
type?: "user" | "system" | null | undefined;
|
|
2164
|
+
variableInstanceId?: string | null | undefined;
|
|
2165
|
+
}>, "many">>>;
|
|
1819
2166
|
}, "strip", z.ZodTypeAny, {
|
|
1820
2167
|
markdown?: boolean | null | undefined;
|
|
2168
|
+
message?: string | null | undefined;
|
|
2169
|
+
html?: string | null | undefined;
|
|
1821
2170
|
text?: string | null | undefined;
|
|
2171
|
+
inlineRuns?: {
|
|
2172
|
+
style: {
|
|
2173
|
+
color?: string | null | undefined;
|
|
2174
|
+
backgroundColor?: string | null | undefined;
|
|
2175
|
+
fontSize?: number | null | undefined;
|
|
2176
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2177
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2178
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2179
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2180
|
+
lineHeight?: number | null | undefined;
|
|
2181
|
+
letterSpacing?: string | number | null | undefined;
|
|
2182
|
+
};
|
|
2183
|
+
start: number;
|
|
2184
|
+
end: number;
|
|
2185
|
+
}[] | null | undefined;
|
|
2186
|
+
inlineLinks?: {
|
|
2187
|
+
href: string;
|
|
2188
|
+
start: number;
|
|
2189
|
+
end: number;
|
|
2190
|
+
targetBlank?: boolean | null | undefined;
|
|
2191
|
+
}[] | null | undefined;
|
|
2192
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
2193
|
+
variables?: {
|
|
2194
|
+
attribute: string;
|
|
2195
|
+
variable: string;
|
|
2196
|
+
type?: "user" | "system" | null | undefined;
|
|
2197
|
+
variableInstanceId?: string | null | undefined;
|
|
2198
|
+
}[] | null | undefined;
|
|
1822
2199
|
}, {
|
|
1823
2200
|
markdown?: boolean | null | undefined;
|
|
2201
|
+
message?: string | null | undefined;
|
|
2202
|
+
html?: string | null | undefined;
|
|
1824
2203
|
text?: string | null | undefined;
|
|
2204
|
+
inlineRuns?: {
|
|
2205
|
+
style: {
|
|
2206
|
+
color?: string | null | undefined;
|
|
2207
|
+
backgroundColor?: string | null | undefined;
|
|
2208
|
+
fontSize?: number | null | undefined;
|
|
2209
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2210
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2211
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2212
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2213
|
+
lineHeight?: number | null | undefined;
|
|
2214
|
+
letterSpacing?: string | number | null | undefined;
|
|
2215
|
+
};
|
|
2216
|
+
start: number;
|
|
2217
|
+
end: number;
|
|
2218
|
+
}[] | null | undefined;
|
|
2219
|
+
inlineLinks?: {
|
|
2220
|
+
href: string;
|
|
2221
|
+
start: number;
|
|
2222
|
+
end: number;
|
|
2223
|
+
targetBlank?: boolean | null | undefined;
|
|
2224
|
+
}[] | null | undefined;
|
|
2225
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
2226
|
+
variables?: {
|
|
2227
|
+
attribute: string;
|
|
2228
|
+
variable: string;
|
|
2229
|
+
type?: "user" | "system" | null | undefined;
|
|
2230
|
+
variableInstanceId?: string | null | undefined;
|
|
2231
|
+
}[] | null | undefined;
|
|
1825
2232
|
}>>>;
|
|
1826
2233
|
}, "strip", z.ZodTypeAny, {
|
|
1827
2234
|
style?: {
|
|
@@ -1830,6 +2237,10 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1830
2237
|
fontSize?: number | null | undefined;
|
|
1831
2238
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1832
2239
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2240
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2241
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2242
|
+
lineHeight?: number | null | undefined;
|
|
2243
|
+
letterSpacing?: string | number | null | undefined;
|
|
1833
2244
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
1834
2245
|
padding?: {
|
|
1835
2246
|
top: number;
|
|
@@ -1840,7 +2251,37 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1840
2251
|
} | null | undefined;
|
|
1841
2252
|
props?: {
|
|
1842
2253
|
markdown?: boolean | null | undefined;
|
|
2254
|
+
message?: string | null | undefined;
|
|
2255
|
+
html?: string | null | undefined;
|
|
1843
2256
|
text?: string | null | undefined;
|
|
2257
|
+
inlineRuns?: {
|
|
2258
|
+
style: {
|
|
2259
|
+
color?: string | null | undefined;
|
|
2260
|
+
backgroundColor?: string | null | undefined;
|
|
2261
|
+
fontSize?: number | null | undefined;
|
|
2262
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2263
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2264
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2265
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2266
|
+
lineHeight?: number | null | undefined;
|
|
2267
|
+
letterSpacing?: string | number | null | undefined;
|
|
2268
|
+
};
|
|
2269
|
+
start: number;
|
|
2270
|
+
end: number;
|
|
2271
|
+
}[] | null | undefined;
|
|
2272
|
+
inlineLinks?: {
|
|
2273
|
+
href: string;
|
|
2274
|
+
start: number;
|
|
2275
|
+
end: number;
|
|
2276
|
+
targetBlank?: boolean | null | undefined;
|
|
2277
|
+
}[] | null | undefined;
|
|
2278
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
2279
|
+
variables?: {
|
|
2280
|
+
attribute: string;
|
|
2281
|
+
variable: string;
|
|
2282
|
+
type?: "user" | "system" | null | undefined;
|
|
2283
|
+
variableInstanceId?: string | null | undefined;
|
|
2284
|
+
}[] | null | undefined;
|
|
1844
2285
|
} | null | undefined;
|
|
1845
2286
|
}, {
|
|
1846
2287
|
style?: {
|
|
@@ -1849,6 +2290,10 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1849
2290
|
fontSize?: number | null | undefined;
|
|
1850
2291
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1851
2292
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2293
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2294
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2295
|
+
lineHeight?: number | null | undefined;
|
|
2296
|
+
letterSpacing?: string | number | null | undefined;
|
|
1852
2297
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
1853
2298
|
padding?: {
|
|
1854
2299
|
top: number;
|
|
@@ -1859,7 +2304,37 @@ export declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
1859
2304
|
} | null | undefined;
|
|
1860
2305
|
props?: {
|
|
1861
2306
|
markdown?: boolean | null | undefined;
|
|
2307
|
+
message?: string | null | undefined;
|
|
2308
|
+
html?: string | null | undefined;
|
|
1862
2309
|
text?: string | null | undefined;
|
|
2310
|
+
inlineRuns?: {
|
|
2311
|
+
style: {
|
|
2312
|
+
color?: string | null | undefined;
|
|
2313
|
+
backgroundColor?: string | null | undefined;
|
|
2314
|
+
fontSize?: number | null | undefined;
|
|
2315
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2316
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
2317
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
2318
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
2319
|
+
lineHeight?: number | null | undefined;
|
|
2320
|
+
letterSpacing?: string | number | null | undefined;
|
|
2321
|
+
};
|
|
2322
|
+
start: number;
|
|
2323
|
+
end: number;
|
|
2324
|
+
}[] | null | undefined;
|
|
2325
|
+
inlineLinks?: {
|
|
2326
|
+
href: string;
|
|
2327
|
+
start: number;
|
|
2328
|
+
end: number;
|
|
2329
|
+
targetBlank?: boolean | null | undefined;
|
|
2330
|
+
}[] | null | undefined;
|
|
2331
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
2332
|
+
variables?: {
|
|
2333
|
+
attribute: string;
|
|
2334
|
+
variable: string;
|
|
2335
|
+
type?: "user" | "system" | null | undefined;
|
|
2336
|
+
variableInstanceId?: string | null | undefined;
|
|
2337
|
+
}[] | null | undefined;
|
|
1863
2338
|
} | null | undefined;
|
|
1864
2339
|
}>;
|
|
1865
2340
|
EmailLayout: z.ZodObject<{
|
|
@@ -2816,6 +3291,10 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2816
3291
|
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2817
3292
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
2818
3293
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
3294
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
|
|
3295
|
+
textDecoration: z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "underline", "line-through", "underline line-through"]>>>;
|
|
3296
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3297
|
+
letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
2819
3298
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
2820
3299
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2821
3300
|
top: z.ZodNumber;
|
|
@@ -2839,6 +3318,10 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2839
3318
|
fontSize?: number | null | undefined;
|
|
2840
3319
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2841
3320
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3321
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3322
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3323
|
+
lineHeight?: number | null | undefined;
|
|
3324
|
+
letterSpacing?: string | number | null | undefined;
|
|
2842
3325
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
2843
3326
|
padding?: {
|
|
2844
3327
|
top: number;
|
|
@@ -2852,6 +3335,10 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2852
3335
|
fontSize?: number | null | undefined;
|
|
2853
3336
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2854
3337
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3338
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3339
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3340
|
+
lineHeight?: number | null | undefined;
|
|
3341
|
+
letterSpacing?: string | number | null | undefined;
|
|
2855
3342
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
2856
3343
|
padding?: {
|
|
2857
3344
|
top: number;
|
|
@@ -2861,14 +3348,172 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2861
3348
|
} | null | undefined;
|
|
2862
3349
|
}>>>;
|
|
2863
3350
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2864
|
-
|
|
3351
|
+
html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3352
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2865
3353
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3354
|
+
inlineRuns: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3355
|
+
start: z.ZodNumber;
|
|
3356
|
+
end: z.ZodNumber;
|
|
3357
|
+
style: z.ZodObject<{
|
|
3358
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3359
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3360
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3361
|
+
fontFamily: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>>;
|
|
3362
|
+
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
3363
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
|
|
3364
|
+
textDecoration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "underline", "line-through", "underline line-through"]>>>>;
|
|
3365
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3366
|
+
letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
3367
|
+
}, "strip", z.ZodTypeAny, {
|
|
3368
|
+
color?: string | null | undefined;
|
|
3369
|
+
backgroundColor?: string | null | undefined;
|
|
3370
|
+
fontSize?: number | null | undefined;
|
|
3371
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3372
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3373
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3374
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3375
|
+
lineHeight?: number | null | undefined;
|
|
3376
|
+
letterSpacing?: string | number | null | undefined;
|
|
3377
|
+
}, {
|
|
3378
|
+
color?: string | null | undefined;
|
|
3379
|
+
backgroundColor?: string | null | undefined;
|
|
3380
|
+
fontSize?: number | null | undefined;
|
|
3381
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3382
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3383
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3384
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3385
|
+
lineHeight?: number | null | undefined;
|
|
3386
|
+
letterSpacing?: string | number | null | undefined;
|
|
3387
|
+
}>;
|
|
3388
|
+
}, "strip", z.ZodTypeAny, {
|
|
3389
|
+
style: {
|
|
3390
|
+
color?: string | null | undefined;
|
|
3391
|
+
backgroundColor?: string | null | undefined;
|
|
3392
|
+
fontSize?: number | null | undefined;
|
|
3393
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3394
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3395
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3396
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3397
|
+
lineHeight?: number | null | undefined;
|
|
3398
|
+
letterSpacing?: string | number | null | undefined;
|
|
3399
|
+
};
|
|
3400
|
+
start: number;
|
|
3401
|
+
end: number;
|
|
3402
|
+
}, {
|
|
3403
|
+
style: {
|
|
3404
|
+
color?: string | null | undefined;
|
|
3405
|
+
backgroundColor?: string | null | undefined;
|
|
3406
|
+
fontSize?: number | null | undefined;
|
|
3407
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3408
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3409
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3410
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3411
|
+
lineHeight?: number | null | undefined;
|
|
3412
|
+
letterSpacing?: string | number | null | undefined;
|
|
3413
|
+
};
|
|
3414
|
+
start: number;
|
|
3415
|
+
end: number;
|
|
3416
|
+
}>, "many">>>;
|
|
3417
|
+
inlineLinks: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3418
|
+
start: z.ZodNumber;
|
|
3419
|
+
end: z.ZodNumber;
|
|
3420
|
+
href: z.ZodString;
|
|
3421
|
+
targetBlank: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
3422
|
+
}, "strip", z.ZodTypeAny, {
|
|
3423
|
+
href: string;
|
|
3424
|
+
start: number;
|
|
3425
|
+
end: number;
|
|
3426
|
+
targetBlank?: boolean | null | undefined;
|
|
3427
|
+
}, {
|
|
3428
|
+
href: string;
|
|
3429
|
+
start: number;
|
|
3430
|
+
end: number;
|
|
3431
|
+
targetBlank?: boolean | null | undefined;
|
|
3432
|
+
}>, "many">>>;
|
|
3433
|
+
markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
3434
|
+
variableDefaults: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3435
|
+
variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3436
|
+
variableInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3437
|
+
attribute: z.ZodString;
|
|
3438
|
+
variable: z.ZodString;
|
|
3439
|
+
type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
|
3440
|
+
}, "strip", z.ZodTypeAny, {
|
|
3441
|
+
attribute: string;
|
|
3442
|
+
variable: string;
|
|
3443
|
+
type?: "user" | "system" | null | undefined;
|
|
3444
|
+
variableInstanceId?: string | null | undefined;
|
|
3445
|
+
}, {
|
|
3446
|
+
attribute: string;
|
|
3447
|
+
variable: string;
|
|
3448
|
+
type?: "user" | "system" | null | undefined;
|
|
3449
|
+
variableInstanceId?: string | null | undefined;
|
|
3450
|
+
}>, "many">>>;
|
|
2866
3451
|
}, "strip", z.ZodTypeAny, {
|
|
2867
3452
|
markdown?: boolean | null | undefined;
|
|
3453
|
+
message?: string | null | undefined;
|
|
3454
|
+
html?: string | null | undefined;
|
|
2868
3455
|
text?: string | null | undefined;
|
|
3456
|
+
inlineRuns?: {
|
|
3457
|
+
style: {
|
|
3458
|
+
color?: string | null | undefined;
|
|
3459
|
+
backgroundColor?: string | null | undefined;
|
|
3460
|
+
fontSize?: number | null | undefined;
|
|
3461
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3462
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3463
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3464
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3465
|
+
lineHeight?: number | null | undefined;
|
|
3466
|
+
letterSpacing?: string | number | null | undefined;
|
|
3467
|
+
};
|
|
3468
|
+
start: number;
|
|
3469
|
+
end: number;
|
|
3470
|
+
}[] | null | undefined;
|
|
3471
|
+
inlineLinks?: {
|
|
3472
|
+
href: string;
|
|
3473
|
+
start: number;
|
|
3474
|
+
end: number;
|
|
3475
|
+
targetBlank?: boolean | null | undefined;
|
|
3476
|
+
}[] | null | undefined;
|
|
3477
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
3478
|
+
variables?: {
|
|
3479
|
+
attribute: string;
|
|
3480
|
+
variable: string;
|
|
3481
|
+
type?: "user" | "system" | null | undefined;
|
|
3482
|
+
variableInstanceId?: string | null | undefined;
|
|
3483
|
+
}[] | null | undefined;
|
|
2869
3484
|
}, {
|
|
2870
3485
|
markdown?: boolean | null | undefined;
|
|
3486
|
+
message?: string | null | undefined;
|
|
3487
|
+
html?: string | null | undefined;
|
|
2871
3488
|
text?: string | null | undefined;
|
|
3489
|
+
inlineRuns?: {
|
|
3490
|
+
style: {
|
|
3491
|
+
color?: string | null | undefined;
|
|
3492
|
+
backgroundColor?: string | null | undefined;
|
|
3493
|
+
fontSize?: number | null | undefined;
|
|
3494
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3495
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3496
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3497
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3498
|
+
lineHeight?: number | null | undefined;
|
|
3499
|
+
letterSpacing?: string | number | null | undefined;
|
|
3500
|
+
};
|
|
3501
|
+
start: number;
|
|
3502
|
+
end: number;
|
|
3503
|
+
}[] | null | undefined;
|
|
3504
|
+
inlineLinks?: {
|
|
3505
|
+
href: string;
|
|
3506
|
+
start: number;
|
|
3507
|
+
end: number;
|
|
3508
|
+
targetBlank?: boolean | null | undefined;
|
|
3509
|
+
}[] | null | undefined;
|
|
3510
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
3511
|
+
variables?: {
|
|
3512
|
+
attribute: string;
|
|
3513
|
+
variable: string;
|
|
3514
|
+
type?: "user" | "system" | null | undefined;
|
|
3515
|
+
variableInstanceId?: string | null | undefined;
|
|
3516
|
+
}[] | null | undefined;
|
|
2872
3517
|
}>>>;
|
|
2873
3518
|
}, "strip", z.ZodTypeAny, {
|
|
2874
3519
|
style?: {
|
|
@@ -2877,6 +3522,10 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2877
3522
|
fontSize?: number | null | undefined;
|
|
2878
3523
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2879
3524
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3525
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3526
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3527
|
+
lineHeight?: number | null | undefined;
|
|
3528
|
+
letterSpacing?: string | number | null | undefined;
|
|
2880
3529
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
2881
3530
|
padding?: {
|
|
2882
3531
|
top: number;
|
|
@@ -2887,7 +3536,37 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2887
3536
|
} | null | undefined;
|
|
2888
3537
|
props?: {
|
|
2889
3538
|
markdown?: boolean | null | undefined;
|
|
3539
|
+
message?: string | null | undefined;
|
|
3540
|
+
html?: string | null | undefined;
|
|
2890
3541
|
text?: string | null | undefined;
|
|
3542
|
+
inlineRuns?: {
|
|
3543
|
+
style: {
|
|
3544
|
+
color?: string | null | undefined;
|
|
3545
|
+
backgroundColor?: string | null | undefined;
|
|
3546
|
+
fontSize?: number | null | undefined;
|
|
3547
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3548
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3549
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3550
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3551
|
+
lineHeight?: number | null | undefined;
|
|
3552
|
+
letterSpacing?: string | number | null | undefined;
|
|
3553
|
+
};
|
|
3554
|
+
start: number;
|
|
3555
|
+
end: number;
|
|
3556
|
+
}[] | null | undefined;
|
|
3557
|
+
inlineLinks?: {
|
|
3558
|
+
href: string;
|
|
3559
|
+
start: number;
|
|
3560
|
+
end: number;
|
|
3561
|
+
targetBlank?: boolean | null | undefined;
|
|
3562
|
+
}[] | null | undefined;
|
|
3563
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
3564
|
+
variables?: {
|
|
3565
|
+
attribute: string;
|
|
3566
|
+
variable: string;
|
|
3567
|
+
type?: "user" | "system" | null | undefined;
|
|
3568
|
+
variableInstanceId?: string | null | undefined;
|
|
3569
|
+
}[] | null | undefined;
|
|
2891
3570
|
} | null | undefined;
|
|
2892
3571
|
}, {
|
|
2893
3572
|
style?: {
|
|
@@ -2896,6 +3575,10 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2896
3575
|
fontSize?: number | null | undefined;
|
|
2897
3576
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
2898
3577
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3578
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3579
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3580
|
+
lineHeight?: number | null | undefined;
|
|
3581
|
+
letterSpacing?: string | number | null | undefined;
|
|
2899
3582
|
textAlign?: "right" | "left" | "center" | null | undefined;
|
|
2900
3583
|
padding?: {
|
|
2901
3584
|
top: number;
|
|
@@ -2906,7 +3589,37 @@ export declare const EditorConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodEf
|
|
|
2906
3589
|
} | null | undefined;
|
|
2907
3590
|
props?: {
|
|
2908
3591
|
markdown?: boolean | null | undefined;
|
|
3592
|
+
message?: string | null | undefined;
|
|
3593
|
+
html?: string | null | undefined;
|
|
2909
3594
|
text?: string | null | undefined;
|
|
3595
|
+
inlineRuns?: {
|
|
3596
|
+
style: {
|
|
3597
|
+
color?: string | null | undefined;
|
|
3598
|
+
backgroundColor?: string | null | undefined;
|
|
3599
|
+
fontSize?: number | null | undefined;
|
|
3600
|
+
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
3601
|
+
fontWeight?: "bold" | "normal" | null | undefined;
|
|
3602
|
+
fontStyle?: "normal" | "italic" | null | undefined;
|
|
3603
|
+
textDecoration?: "none" | "underline" | "line-through" | "underline line-through" | null | undefined;
|
|
3604
|
+
lineHeight?: number | null | undefined;
|
|
3605
|
+
letterSpacing?: string | number | null | undefined;
|
|
3606
|
+
};
|
|
3607
|
+
start: number;
|
|
3608
|
+
end: number;
|
|
3609
|
+
}[] | null | undefined;
|
|
3610
|
+
inlineLinks?: {
|
|
3611
|
+
href: string;
|
|
3612
|
+
start: number;
|
|
3613
|
+
end: number;
|
|
3614
|
+
targetBlank?: boolean | null | undefined;
|
|
3615
|
+
}[] | null | undefined;
|
|
3616
|
+
variableDefaults?: Record<string, string> | null | undefined;
|
|
3617
|
+
variables?: {
|
|
3618
|
+
attribute: string;
|
|
3619
|
+
variable: string;
|
|
3620
|
+
type?: "user" | "system" | null | undefined;
|
|
3621
|
+
variableInstanceId?: string | null | undefined;
|
|
3622
|
+
}[] | null | undefined;
|
|
2910
3623
|
} | null | undefined;
|
|
2911
3624
|
}>;
|
|
2912
3625
|
EmailLayout: z.ZodObject<{
|