@topol.io/editor 1.0.0-alpha.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +160 -97
- package/dist/index.js +171 -0
- package/dist/types/src/email-editor/index.d.ts +16 -102
- package/dist/types/src/landing-page-editor/constants.d.ts +1 -1
- package/dist/types/src/landing-page-editor/index.d.ts +10 -5
- package/dist/types/src/landing-page-editor/schemas/api/apiSchema.d.ts +5 -11
- package/dist/types/src/landing-page-editor/schemas/contentBlock/contentBlockScheme.d.ts +34 -18
- package/dist/types/src/landing-page-editor/schemas/language/languageSchema.d.ts +1 -1
- package/dist/types/src/landing-page-editor/schemas/mjmlStore/mjmlStoreSchema.d.ts +8 -6
- package/dist/types/src/landing-page-editor/schemas/notification/notificationSchema.d.ts +0 -1
- package/dist/types/src/landing-page-editor/schemas/openAI/openAISchema.d.ts +1 -2
- package/dist/types/src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema.d.ts +65 -21
- package/dist/types/src/landing-page-editor/schemas/premadeSection/premadeSectionSchema.d.ts +30 -0
- package/dist/types/src/landing-page-editor/schemas/template/blocks/buttonBlockSchema.d.ts +687 -5
- package/dist/types/src/landing-page-editor/schemas/template/blocks/carouselBlockSchema.d.ts +9 -2
- package/dist/types/src/landing-page-editor/schemas/template/blocks/dividerBlockSchema.d.ts +11 -3
- package/dist/types/src/landing-page-editor/schemas/template/blocks/formBlockSchema.d.ts +1069 -0
- package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts +35 -19
- package/dist/types/src/landing-page-editor/schemas/template/blocks/rawBlockSchema.d.ts +9 -1
- package/dist/types/src/landing-page-editor/schemas/template/blocks/socialBlockSchema.d.ts +11 -3
- package/dist/types/src/landing-page-editor/schemas/template/blocks/spacerBlockSchema.d.ts +18 -10
- package/dist/types/src/landing-page-editor/schemas/template/blocks/textBlockSchema.d.ts +9 -1
- package/dist/types/src/landing-page-editor/schemas/template/blocks/videoBlockSchema.d.ts +9 -1
- package/dist/types/src/landing-page-editor/schemas/template/commonSchema.d.ts +28 -8
- package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarCTASchema.d.ts +335 -0
- package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarHamburgerSchema.d.ts +1109 -0
- package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarLogoSchema.d.ts +252 -0
- package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarMenuSchema.d.ts +1209 -0
- package/dist/types/src/landing-page-editor/schemas/template/settingsSchema.d.ts +4058 -546
- package/dist/types/src/landing-page-editor/schemas/template/structure/blockSchema.d.ts +5007 -2328
- package/dist/types/src/landing-page-editor/schemas/template/structure/columnSchema.d.ts +5501 -2412
- package/dist/types/src/landing-page-editor/schemas/template/structure/navbarSchema.d.ts +4394 -0
- package/dist/types/src/landing-page-editor/schemas/template/structure/rowSchema.d.ts +11094 -0
- package/dist/types/src/landing-page-editor/schemas/template/structure/sectionSchema.d.ts +8602 -3337
- package/dist/types/src/landing-page-editor/schemas/template/styleSchema.d.ts +55 -44
- package/dist/types/src/landing-page-editor/schemas/templateSchema.d.ts +34865 -48464
- package/dist/types/src/landing-page-editor/schemas/templateSettings/templateSettingsSchema.d.ts +4304 -794
- package/dist/types/src/landing-page-editor/schemas/theme/themeSchema.d.ts +6 -1
- package/dist/types/src/landing-page-editor/schemas/utils/cssValue.d.ts +21 -0
- package/dist/types/src/landing-page-editor/schemas/utils/transformBorder.d.ts +10 -5
- package/dist/types/src/main.d.ts +28 -108
- package/dist/types/types/API/API.d.ts +8 -9
- package/dist/types/types/APIBlocks/APIBlocks.d.ts +9 -0
- package/dist/types/types/Auth/IAuthorize.d.ts +6 -0
- package/dist/types/types/Auth/INonceAuthCallbacks.d.ts +10 -0
- package/dist/types/types/Callbacks/ICallbackPayloads.d.ts +27 -23
- package/dist/types/types/Callbacks/IEmailCallbacks.d.ts +73 -155
- package/dist/types/types/Cloud/ICloudOptions.d.ts +32 -0
- package/dist/types/types/ContentBlock/IContentBlockOptions.d.ts +1 -1
- package/dist/types/types/Countdown/ICountdownOptions.d.ts +48 -0
- package/dist/types/types/{ITopolOptions.d.ts → IEmailConfig.d.ts} +80 -28
- package/dist/types/types/IEmailEditorInstance.d.ts +64 -0
- package/dist/types/types/IEmailOptions.d.ts +7 -0
- package/dist/types/types/Language/Language.d.ts +1 -1
- package/dist/types/types/MergeTag/IMergeTag.d.ts +18 -0
- package/dist/types/types/Notification/INotification.d.ts +2 -1
- package/dist/types/types/Sections/ISections.d.ts +41 -0
- package/dist/types/types/Shortcuts/EditorShortcut.d.ts +4 -0
- package/dist/types/types/Theme/ITheme.d.ts +12 -2
- package/dist/types/types/landing-page/ILandingPageEditorInstance.d.ts +65 -5
- package/dist/types/types/landing-page/ILandingPageOptions.d.ts +15 -12
- package/logo.svg +1 -0
- package/package.json +11 -13
- package/dist/topol-plugin.es.js +0 -277
- package/dist/topol-plugin.umd.js +0 -1
- package/dist/types/src/landing-page-editor/schemas/helpdesk/helpdeskSchema.d.ts +0 -8
- package/dist/types/src/landing-page-editor/schemas/premadeBlock/premadeBlockSchema.d.ts +0 -59750
- package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockApiSchema.d.ts +0 -44831
- package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockSchema.d.ts +0 -59725
- package/dist/types/src/landing-page-editor/schemas/template/blocks/index.d.ts +0 -12
- package/dist/types/types/ITopolPlugin.d.ts +0 -44
- package/dist/types/types/SavedBlock/ISavedBlock.d.ts +0 -6
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Palette of newly created countdowns. Any subset of `background`, `digits`, `labels`
|
|
3
|
+
* and `accent` as hex colors (`#RGB`, `#RRGGBB` or `#RRGGBBAA`); unset colors keep the
|
|
4
|
+
* editor defaults (white background, black text, purple accent).
|
|
5
|
+
*/
|
|
6
|
+
export interface ICountdownDefaultColors {
|
|
7
|
+
background?: string;
|
|
8
|
+
digits?: string;
|
|
9
|
+
labels?: string;
|
|
10
|
+
accent?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A merge tag of your ESP that can supply the end date of a dynamic countdown.
|
|
14
|
+
* The `value` goes into the countdown image URL verbatim (`?end_date_time={tag}`)
|
|
15
|
+
* and must produce an RFC 3339 date once the ESP substitutes it.
|
|
16
|
+
*/
|
|
17
|
+
export interface ICountdownDateMergeTag {
|
|
18
|
+
/** Name shown to the user when picking the tag. */
|
|
19
|
+
label: string;
|
|
20
|
+
/**
|
|
21
|
+
* The tag itself. `{seconds}` in it is replaced with the countdown length the user
|
|
22
|
+
* sets (e.g. `*|SEND_DATE+{seconds}|*`); without it the tag is inserted as is
|
|
23
|
+
* (e.g. `*|RESERVATION_UNTIL|*`). At most 200 characters, no quotes, `<`, `>` or `&`.
|
|
24
|
+
*/
|
|
25
|
+
value: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Countdown block settings of the host. The block itself is gated by the add-on flag
|
|
29
|
+
* in the editor nonce. See https://docs.topol.io/email-editor/reference/topol-options#countdown
|
|
30
|
+
*/
|
|
31
|
+
export interface ICountdownOptions {
|
|
32
|
+
/** Palette of newly created countdowns (any subset); unset colors keep the package defaults. */
|
|
33
|
+
defaultColors?: ICountdownDefaultColors;
|
|
34
|
+
/** Base URL of a custom style thumbnail set: the editor loads `{base}/{style}.gif` for every countdown style. */
|
|
35
|
+
styleThumbnailBase?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Merge tag the evergreen countdowns' recipient key is rendered with (verbatim, no quotes).
|
|
38
|
+
* Use a value that is stable and unique per recipient, ideally a contact ID
|
|
39
|
+
* (e.g. `*|CONTACT_ID|*`). Unset = the recipient's email address in the syntax of
|
|
40
|
+
* `emailServiceProvider`. At most 100 characters.
|
|
41
|
+
*/
|
|
42
|
+
mergeTag?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Merge tags a dynamic countdown's deadline (`end_date_time`) can come from;
|
|
45
|
+
* `{seconds}` in a value = the countdown length the user sets. Unset = no dynamic mode.
|
|
46
|
+
*/
|
|
47
|
+
dateMergeTags?: ICountdownDateMergeTag[];
|
|
48
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { IAuthorize } from "./Auth/IAuthorize";
|
|
1
2
|
import type IAPI from "./API/API";
|
|
2
3
|
import type IAPIBlockProperties from "./APIBlocks/APIBlocks";
|
|
3
|
-
import type
|
|
4
|
+
import type { ISavedSection, IPremadeSectionsOptions } from "./Sections/ISections";
|
|
5
|
+
import type { ICloudOptions } from "./Cloud/ICloudOptions";
|
|
4
6
|
import type IMergeTagGroup from "./MergeTag/IMergeTagGroup";
|
|
5
7
|
import type { IContentBlockOptions } from "./ContentBlock/IContentBlockOptions";
|
|
8
|
+
import type { ICountdownOptions } from "./Countdown/ICountdownOptions";
|
|
6
9
|
import type ITheme from "./Theme/ITheme";
|
|
7
10
|
import type IAuthHeaderConfig from "./AuthHeaderConfig/IAuthHeaderConfig";
|
|
8
11
|
import type IFont from "./Font/IFont";
|
|
@@ -12,21 +15,18 @@ import type IMergeTag from "./MergeTag/IMergeTag";
|
|
|
12
15
|
import type SmartMergeTagPattern from "./MergeTag/SmartMergeTagPattern";
|
|
13
16
|
import type IUser from "./User/User";
|
|
14
17
|
import type IHelpdesk from "./Helpdesk/Helpdesk";
|
|
15
|
-
import type
|
|
18
|
+
import type { EmailEditorShortcut } from "./Shortcuts/EditorShortcut";
|
|
16
19
|
type TopolTagAttribute = "font-family" | "font-size" | "font-weight" | "font-style" | "letter-spacing" | "text-transform" | "text-decoration" | "background-color" | "color" | "border-collapse";
|
|
17
20
|
type DefaultTemplateLangsSchema = {
|
|
18
|
-
|
|
21
|
+
code: string;
|
|
19
22
|
primary: boolean;
|
|
20
23
|
}[];
|
|
21
24
|
/**
|
|
22
|
-
* Configuration options for the Email Editor (
|
|
25
|
+
* Configuration options for the Email Editor: the `config` of `EmailEditor.init({ config, ...callbacks })`.
|
|
23
26
|
*/
|
|
24
|
-
export default interface
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
apiKey: string;
|
|
28
|
-
userId: string | number;
|
|
29
|
-
};
|
|
27
|
+
export default interface IEmailConfig {
|
|
28
|
+
authorize: IAuthorize;
|
|
29
|
+
aiLabeledElements?: boolean;
|
|
30
30
|
api?: IAPI;
|
|
31
31
|
apiAuthorizationHeader?: IAuthHeaderConfig | string;
|
|
32
32
|
apiBlocks?: Record<string, IAPIBlockProperties>;
|
|
@@ -34,10 +34,23 @@ export default interface ITopolOptions {
|
|
|
34
34
|
betaFeatures?: {
|
|
35
35
|
carousel?: boolean;
|
|
36
36
|
loop?: boolean;
|
|
37
|
+
rating?: boolean;
|
|
37
38
|
};
|
|
38
39
|
chatAI?: boolean;
|
|
40
|
+
chatAIOnSegment?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Lets users exclude single links from click tracking: shows the "disable click tracking"
|
|
43
|
+
* switch (button, text links) and names the provider the opt-out is rendered for.
|
|
44
|
+
* Independent of `emailServiceProvider`, which only picks the merge tag syntax.
|
|
45
|
+
*/
|
|
46
|
+
clickTrackingOptOut?: {
|
|
47
|
+
provider: "sparkpost";
|
|
48
|
+
};
|
|
49
|
+
cloud?: ICloudOptions;
|
|
39
50
|
colors?: Array<string>;
|
|
40
51
|
contentBlocks?: IContentBlockOptions;
|
|
52
|
+
/** Countdown block settings of the host (the block itself is gated by the add-on flag in the nonce). */
|
|
53
|
+
countdown?: ICountdownOptions;
|
|
41
54
|
currentUser?: IUser;
|
|
42
55
|
customBlocks?: ICustomBlockData[];
|
|
43
56
|
customFileManager?: boolean;
|
|
@@ -52,7 +65,8 @@ export default interface ITopolOptions {
|
|
|
52
65
|
defaultTemplateSettings?: {
|
|
53
66
|
emailWidth?: number;
|
|
54
67
|
emailBackgroundColor?: string;
|
|
55
|
-
|
|
68
|
+
/** Background color of sections. */
|
|
69
|
+
sectionBackgroundColor?: string;
|
|
56
70
|
buttonsBackgroundColor?: string;
|
|
57
71
|
hyperlinkColor?: string;
|
|
58
72
|
h1?: {
|
|
@@ -67,21 +81,33 @@ export default interface ITopolOptions {
|
|
|
67
81
|
p?: {
|
|
68
82
|
[key in TopolTagAttribute]?: string;
|
|
69
83
|
};
|
|
70
|
-
button?:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
84
|
+
button?: Record<string, unknown>;
|
|
85
|
+
carousel?: Record<string, unknown>;
|
|
86
|
+
divider?: Record<string, unknown>;
|
|
87
|
+
gif?: Record<string, unknown>;
|
|
88
|
+
image?: Record<string, unknown>;
|
|
89
|
+
loop?: Record<string, unknown>;
|
|
90
|
+
social?: Record<string, unknown>;
|
|
91
|
+
text?: Record<string, unknown>;
|
|
92
|
+
column?: Record<string, unknown>;
|
|
93
|
+
section?: Record<string, unknown>;
|
|
94
|
+
/** Padding of sections. */
|
|
95
|
+
sectionPadding?: string;
|
|
96
|
+
lineHeight?: number;
|
|
97
|
+
stackColumns?: boolean;
|
|
76
98
|
langs?: DefaultTemplateLangsSchema;
|
|
77
99
|
};
|
|
78
100
|
disableAiAssistant?: boolean;
|
|
79
101
|
disableAlerts?: boolean;
|
|
80
102
|
disableExtendedComparators?: boolean;
|
|
81
|
-
|
|
103
|
+
/** `true` turns every editor keyboard shortcut off; an array only the listed ones. */
|
|
104
|
+
disableShortcuts?: boolean | EmailEditorShortcut[];
|
|
105
|
+
emailServiceProvider?: "mailchimp" | "sparkpost" | "jinja";
|
|
82
106
|
enableAutosaves?: boolean;
|
|
83
107
|
enableComments?: boolean;
|
|
84
108
|
enableDarkMode?: boolean;
|
|
109
|
+
enableFileManagerInGif?: boolean;
|
|
110
|
+
enableSubjectLine?: boolean;
|
|
85
111
|
enableImageToTextRatio?: boolean;
|
|
86
112
|
enableMergeTagPreview?: boolean;
|
|
87
113
|
enableSectionVariants?: boolean;
|
|
@@ -89,12 +115,14 @@ export default interface ITopolOptions {
|
|
|
89
115
|
fileManagerPreferences?: {
|
|
90
116
|
defaultTilesView?: boolean;
|
|
91
117
|
hidePexelsIntegration?: boolean;
|
|
118
|
+
maxUploadingFiles?: number;
|
|
92
119
|
};
|
|
93
120
|
fontSizes?: Array<number>;
|
|
94
|
-
|
|
121
|
+
googlePromotionalAnnotation?: boolean;
|
|
95
122
|
helpdesk?: IHelpdesk;
|
|
96
123
|
hideSettingsTab?: boolean;
|
|
97
|
-
|
|
124
|
+
hideSelectionPanel?: boolean;
|
|
125
|
+
hideSelectionPanelExpand?: boolean;
|
|
98
126
|
htmlDesktopFirst?: boolean;
|
|
99
127
|
htmlMinified?: boolean;
|
|
100
128
|
imageCompressionOptions?: {
|
|
@@ -108,25 +136,48 @@ export default interface ITopolOptions {
|
|
|
108
136
|
hideControls?: Array<string>;
|
|
109
137
|
};
|
|
110
138
|
imageMaxSize?: number;
|
|
139
|
+
lambdaStage?: "local" | "production" | "stage1" | "stage2" | "stage3";
|
|
111
140
|
language?: Language;
|
|
141
|
+
languageMergeTag?: string;
|
|
112
142
|
light?: boolean;
|
|
113
143
|
logicalOperatorsInsideVariant?: boolean;
|
|
114
144
|
mainMenuAlign?: "left" | "right";
|
|
115
145
|
mergeTags?: Array<IMergeTagGroup | IMergeTag>;
|
|
116
146
|
mobileFirstEnabled?: boolean;
|
|
117
147
|
multilingual?: boolean;
|
|
118
|
-
|
|
119
|
-
premadeBlocksNoOverwrite?: boolean;
|
|
148
|
+
premadeSections?: IPremadeSectionsOptions;
|
|
120
149
|
premadeTemplates?: boolean;
|
|
121
150
|
premadeTemplatesOptions?: {
|
|
122
151
|
hideSearch?: boolean;
|
|
123
152
|
showDelete?: boolean;
|
|
124
153
|
};
|
|
154
|
+
productMergeTags?: {
|
|
155
|
+
label: string;
|
|
156
|
+
value: string;
|
|
157
|
+
}[];
|
|
158
|
+
permissions?: {
|
|
159
|
+
canLockBlocks?: boolean;
|
|
160
|
+
canLockSections?: boolean;
|
|
161
|
+
canEditLockedSections?: boolean;
|
|
162
|
+
canEditLockedBlocks?: boolean;
|
|
163
|
+
canRemoveFiles?: boolean;
|
|
164
|
+
};
|
|
165
|
+
ecm?: {
|
|
166
|
+
articleFeeds?: string;
|
|
167
|
+
articles?: string;
|
|
168
|
+
dataFeeds?: string;
|
|
169
|
+
showArticleBlock?: boolean;
|
|
170
|
+
};
|
|
125
171
|
removeTopBar?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* How Save and Save & Close are laid out when both are visible: `"dropdown"` (default) tucks
|
|
174
|
+
* Save & Close under the Save button's menu, `"separate"` renders two standalone buttons.
|
|
175
|
+
* Ignored when either button is hidden via `hideTopbarControls`.
|
|
176
|
+
*/
|
|
177
|
+
saveAndCloseButton?: "dropdown" | "separate";
|
|
126
178
|
renameTemplate?: boolean;
|
|
127
179
|
role?: "manager" | "editor" | "reader";
|
|
128
|
-
|
|
129
|
-
showControlPanelExpand?: boolean;
|
|
180
|
+
savedSections?: ISavedSection[] | boolean | null;
|
|
130
181
|
showUnsavedDialogBeforeExit?: boolean;
|
|
131
182
|
smartMergeTags?: {
|
|
132
183
|
enabled: boolean;
|
|
@@ -136,7 +187,8 @@ export default interface ITopolOptions {
|
|
|
136
187
|
end: string;
|
|
137
188
|
};
|
|
138
189
|
};
|
|
139
|
-
|
|
190
|
+
startWithOpenElementsPanel?: boolean;
|
|
191
|
+
syncedSectionsEnabled?: boolean;
|
|
140
192
|
teamUsers?: IUser[];
|
|
141
193
|
templateId?: number | string;
|
|
142
194
|
testingEmails?: boolean | string[];
|
|
@@ -147,10 +199,10 @@ export default interface ITopolOptions {
|
|
|
147
199
|
tinyConfig?: unknown;
|
|
148
200
|
tiptapConfig?: {
|
|
149
201
|
light?: boolean;
|
|
202
|
+
showMergeTagText?: boolean;
|
|
150
203
|
};
|
|
151
204
|
title?: string;
|
|
152
|
-
|
|
205
|
+
hideTopbarControls?: string[];
|
|
153
206
|
windowBar?: Array<string>;
|
|
154
|
-
callbacks: IEmailCallbacks;
|
|
155
207
|
}
|
|
156
|
-
export
|
|
208
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type IEmailConfig from "./IEmailConfig";
|
|
2
|
+
import type INotification from "./Notification/INotification";
|
|
3
|
+
import type { ISavedSection } from "./Sections/ISections";
|
|
4
|
+
import type IMergeTag from "./MergeTag/IMergeTag";
|
|
5
|
+
import type IMergeTagGroup from "./MergeTag/IMergeTagGroup";
|
|
6
|
+
import type { ILanguageMutation } from "./Callbacks/ICallbackPayloads";
|
|
7
|
+
export interface IUpdateTemplateOptions {
|
|
8
|
+
skipSnapshot?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Per-instance methods cross the iframe boundary asynchronously. Use onInit to observe successful authentication. */
|
|
11
|
+
export default interface IEmailEditorInstance {
|
|
12
|
+
render(container: string | HTMLElement): Promise<void>;
|
|
13
|
+
destroy(): Promise<void>;
|
|
14
|
+
/** Alias of destroy(), the name the script-tag instance has always had. */
|
|
15
|
+
close(): Promise<void>;
|
|
16
|
+
/** Resolves once the template is actually applied. */
|
|
17
|
+
load: (json: unknown) => Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Resolves once the save (render/persist + host onSave) has settled; the onSave fired
|
|
20
|
+
* meanwhile is this call's answer. Rejects with an Error whose `code` is
|
|
21
|
+
* `"SAVE_IN_PROGRESS"` while another save is still running (no onSave fires then).
|
|
22
|
+
*/
|
|
23
|
+
save: (payload?: {
|
|
24
|
+
langCode?: string;
|
|
25
|
+
}) => Promise<void>;
|
|
26
|
+
togglePreview: () => Promise<void>;
|
|
27
|
+
togglePreviewSize: () => Promise<void>;
|
|
28
|
+
toggleDarkMode: () => Promise<void>;
|
|
29
|
+
chooseFile: (url: string) => Promise<void>;
|
|
30
|
+
undo: () => Promise<void>;
|
|
31
|
+
redo: () => Promise<void>;
|
|
32
|
+
setSavedSections: (savedSections: ISavedSection[]) => Promise<void>;
|
|
33
|
+
setPreviewHTML: (html: unknown) => Promise<void>;
|
|
34
|
+
createNotification: (notification: INotification) => Promise<void>;
|
|
35
|
+
setActiveMembers: (activeMembers: string[]) => Promise<void>;
|
|
36
|
+
changeEmailToMobile: () => Promise<void>;
|
|
37
|
+
changeEmailToDesktop: () => Promise<void>;
|
|
38
|
+
toggleHiddenElementsVisibility: () => Promise<void>;
|
|
39
|
+
updateCustomBlockContent: (content: string) => Promise<void>;
|
|
40
|
+
refreshComments: (key: string) => Promise<void>;
|
|
41
|
+
refreshSyncedSections: () => Promise<void>;
|
|
42
|
+
openPremadeTemplatesSelection: () => Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Update the authorization header of all later API calls. An object is merged into the
|
|
45
|
+
* current header; a `null` value removes that header.
|
|
46
|
+
*/
|
|
47
|
+
updateApiAuthorizationHeader: (newHeader: string | Record<string, string | null>) => Promise<void>;
|
|
48
|
+
setTemplateName: (name: string) => Promise<void>;
|
|
49
|
+
updateOptions: (topolOptions: Partial<Omit<IEmailConfig, "authorize">>) => Promise<void>;
|
|
50
|
+
setMergeTags: (mergeTags: Array<IMergeTag | IMergeTagGroup>) => Promise<void>;
|
|
51
|
+
toggleChatAI: () => Promise<void>;
|
|
52
|
+
toggleAutosaves: () => Promise<void>;
|
|
53
|
+
toggleComments: () => Promise<void>;
|
|
54
|
+
createLanguage: (code: string) => Promise<void>;
|
|
55
|
+
setPrimaryLanguage: (code: string) => Promise<void>;
|
|
56
|
+
deleteLanguage: (code: string) => Promise<void>;
|
|
57
|
+
selectLanguage: (code: string) => Promise<void>;
|
|
58
|
+
translateLanguage: (code: string, sourceCode?: string) => Promise<void>;
|
|
59
|
+
translateAllLanguages: () => Promise<void>;
|
|
60
|
+
/** Returns the template's language mutations (also fires onGetMutations). */
|
|
61
|
+
getMutations: () => Promise<ILanguageMutation[]>;
|
|
62
|
+
toggleSelectionPanel: () => Promise<void>;
|
|
63
|
+
updateTemplate: (json: unknown, options?: IUpdateTemplateOptions) => Promise<void>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type IEmailConfig from "./IEmailConfig";
|
|
2
|
+
import type IEmailCallbacks from "./Callbacks/IEmailCallbacks";
|
|
3
|
+
/** Email Editor v4 factory props. Callbacks live alongside config. */
|
|
4
|
+
export default interface IEmailOptions extends IEmailCallbacks {
|
|
5
|
+
config: IEmailConfig;
|
|
6
|
+
}
|
|
7
|
+
export type { IEmailCallbacks };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Language = "en" | "fr" | "pt" | "es" | "ja" | "zh" | "ru" | "tr" | "de" | "sv" | "nl" | "it" | "fi" | "ro" | "cs" | "pl" | "ko" | "vi" | "he";
|
|
1
|
+
export type Language = "en" | "fr" | "pt" | "es" | "ja" | "zh" | "ru" | "tr" | "de" | "sv" | "nl" | "it" | "fi" | "ro" | "cs" | "pl" | "ko" | "vi" | "he" | "ar" | "sk";
|
|
2
2
|
export type IMultilingualLanguage = {
|
|
3
3
|
name: string;
|
|
4
4
|
code: string;
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
/** A property of the items a merge tag iterates over. */
|
|
2
|
+
export interface IMergeTagChildProperty {
|
|
3
|
+
value: string;
|
|
4
|
+
text: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type?: "image" | "button" | "number" | "text";
|
|
7
|
+
}
|
|
8
|
+
/** A named predefined list of values, insertable at once into a list condition. */
|
|
9
|
+
export interface IMergeTagSuggestionSet {
|
|
10
|
+
name: string;
|
|
11
|
+
values: string[];
|
|
12
|
+
}
|
|
1
13
|
export default interface IMergeTag {
|
|
2
14
|
value: string;
|
|
3
15
|
text: string;
|
|
4
16
|
label: string;
|
|
5
17
|
defaultValue?: string;
|
|
18
|
+
parentPath?: string;
|
|
19
|
+
childrenProperties?: IMergeTagChildProperty[] | null;
|
|
20
|
+
/** Values offered when the tag is used in a condition. */
|
|
21
|
+
suggestions?: string[] | null;
|
|
22
|
+
/** Named predefined lists of values, insertable at once into a list condition. */
|
|
23
|
+
suggestionSets?: IMergeTagSuggestionSet[] | null;
|
|
6
24
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/** Reusable section. Template definitions and translations are opaque JSON. */
|
|
2
|
+
export interface ISavedSection {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
img?: string | null;
|
|
6
|
+
definition: unknown;
|
|
7
|
+
translation?: unknown;
|
|
8
|
+
children?: ISavedSection[];
|
|
9
|
+
}
|
|
10
|
+
/** What `onSavedSectionSave` hands over: the host assigns `id` and `name` before passing it back via `setSavedSections`. */
|
|
11
|
+
export type ISavedSectionDraft = Pick<ISavedSection, "definition" | "translation">;
|
|
12
|
+
export interface IPremadeSection {
|
|
13
|
+
name?: string;
|
|
14
|
+
img?: string;
|
|
15
|
+
definition: unknown;
|
|
16
|
+
translation?: unknown;
|
|
17
|
+
}
|
|
18
|
+
export type IPremadeSections = {
|
|
19
|
+
id?: number;
|
|
20
|
+
name: string;
|
|
21
|
+
blocks: IPremadeSection[];
|
|
22
|
+
}[];
|
|
23
|
+
export interface ILegacyPremadeSections {
|
|
24
|
+
content?: IPremadeSection[];
|
|
25
|
+
ecomm?: IPremadeSection[];
|
|
26
|
+
footers?: IPremadeSection[];
|
|
27
|
+
headers?: IPremadeSection[];
|
|
28
|
+
}
|
|
29
|
+
/** Topol's default premade section groups, in the order the sidebar shows them. */
|
|
30
|
+
export type IPremadePresetId = "header" | "content" | "ecommerce" | "footer";
|
|
31
|
+
/**
|
|
32
|
+
* A reference to one of Topol's default groups. Inside the `blocks` array of the object form it
|
|
33
|
+
* expands, in place, to that group. Each preset can be listed once and takes no other key.
|
|
34
|
+
*/
|
|
35
|
+
export interface IPremadePreset {
|
|
36
|
+
preset: IPremadePresetId;
|
|
37
|
+
}
|
|
38
|
+
export type IPremadeSectionsOptions = false | IPremadeSections | ILegacyPremadeSections | {
|
|
39
|
+
blocks: Array<IPremadeSections[number] | IPremadePreset> | ILegacyPremadeSections;
|
|
40
|
+
override: boolean;
|
|
41
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Keyboard shortcuts of the Email Editor that `disableShortcuts` can switch off. */
|
|
2
|
+
export type EmailEditorShortcut = "save" | "saveAndClose" | "undo" | "redo" | "preview" | "developerMode" | "copy" | "escape";
|
|
3
|
+
/** Keyboard shortcuts of the Landing Page Editor that `disableShortcuts` can switch off. */
|
|
4
|
+
export type LandingPageEditorShortcut = "save" | "saveAndClose" | "undo" | "redo" | "preview" | "developerMode" | "escape" | "addBelow" | "delete" | "duplicate" | "cut" | "copy";
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
export default interface ITheme {
|
|
2
|
-
preset
|
|
2
|
+
preset?: "light" | "dark";
|
|
3
3
|
borderRadius?: {
|
|
4
|
+
extraSmall?: string;
|
|
4
5
|
small?: string;
|
|
5
6
|
large?: string;
|
|
7
|
+
extraLarge?: string;
|
|
6
8
|
};
|
|
7
|
-
|
|
9
|
+
canvasColor?: string;
|
|
10
|
+
/** Font of the editor UI; `url` points to the stylesheet that loads `family`. */
|
|
11
|
+
font?: {
|
|
12
|
+
family?: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
};
|
|
15
|
+
colors?: {
|
|
8
16
|
"900"?: string;
|
|
9
17
|
"800"?: string;
|
|
10
18
|
"700"?: string;
|
|
@@ -31,5 +39,7 @@ export default interface ITheme {
|
|
|
31
39
|
active?: string;
|
|
32
40
|
"active-2"?: string;
|
|
33
41
|
"active-3"?: string;
|
|
42
|
+
"locked-structure"?: string;
|
|
43
|
+
"locked-content"?: string;
|
|
34
44
|
};
|
|
35
45
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import type { IPluginOptionsPartial } from "../../src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema";
|
|
2
|
+
import type { INotification } from "../../src/landing-page-editor/schemas/notification/notificationSchema";
|
|
1
3
|
/**
|
|
2
4
|
* Instance of the Landing Page Editor returned by LandingPageEditor.init().
|
|
5
|
+
*
|
|
6
|
+
* The editor runs in an iframe, so every method is forwarded to it and returns a Promise that
|
|
7
|
+
* settles once the editor has processed the call.
|
|
8
|
+
* See https://docs.topol.io/landing-page-editor/reference/topol-plugin
|
|
3
9
|
*/
|
|
4
10
|
export default interface ILandingPageEditorInstance {
|
|
5
11
|
/**
|
|
@@ -12,16 +18,70 @@ export default interface ILandingPageEditorInstance {
|
|
|
12
18
|
*/
|
|
13
19
|
render(container: string | HTMLElement): Promise<void>;
|
|
14
20
|
/**
|
|
15
|
-
* Load a template into the editor.
|
|
16
|
-
*
|
|
21
|
+
* Load a template into the editor. Resolves once the template is applied. A template that
|
|
22
|
+
* fails to load is reported to the user in a notification and the Promise still resolves.
|
|
23
|
+
* @param template - The template JSON, as a string or a parsed object
|
|
17
24
|
*/
|
|
18
|
-
load(template: unknown): void
|
|
25
|
+
load(template: unknown): Promise<void>;
|
|
19
26
|
/**
|
|
20
|
-
*
|
|
27
|
+
* Render the template, then fire `onSave({ json, html })`. Resolves once the save has
|
|
28
|
+
* settled, including your `onSave` Promise, so the `onSave` fired meanwhile is this call's
|
|
29
|
+
* answer. A failed save still resolves and is reported through `onEditorError` with
|
|
30
|
+
* `source: "save"`.
|
|
31
|
+
*
|
|
32
|
+
* Only one save runs at a time: while another save is running the call fires no `onSave`
|
|
33
|
+
* and rejects with an Error whose `code` is `"SAVE_IN_PROGRESS"`.
|
|
34
|
+
*/
|
|
35
|
+
save(): Promise<void>;
|
|
36
|
+
/** Toggle preview mode on or off. */
|
|
37
|
+
togglePreview(): Promise<void>;
|
|
38
|
+
/** Switch the preview device: `0` mobile, `1` mobile landscape, `2` tablet, `3` desktop (any other value). */
|
|
39
|
+
setPreviewSize(index: number): Promise<void>;
|
|
40
|
+
/** Undo the last change. */
|
|
41
|
+
undo(): Promise<void>;
|
|
42
|
+
/** Redo the last undone change. */
|
|
43
|
+
redo(): Promise<void>;
|
|
44
|
+
/** Hand the file chosen in your custom file manager (`onOpenFileManager`) back to the editor. */
|
|
45
|
+
chooseFile(url: string): Promise<void>;
|
|
46
|
+
/** Reload the synced sections and the placed ones in the template. */
|
|
47
|
+
refreshSyncedSections(): Promise<void>;
|
|
48
|
+
/** Reload the comments of one conversation. */
|
|
49
|
+
refreshComments(key: string): Promise<void>;
|
|
50
|
+
/** Open the premade templates picker. */
|
|
51
|
+
openPremadeTemplatesSelection(): Promise<void>;
|
|
52
|
+
/** Set the template name shown in the editor. */
|
|
53
|
+
setTemplateName(name: string): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Reconfigure the running editor with any options except `authorize`. Resolves once the
|
|
56
|
+
* options are applied and rejects when they fail validation.
|
|
57
|
+
*/
|
|
58
|
+
updateOptions(options: IPluginOptionsPartial): Promise<void>;
|
|
59
|
+
/** Collapse or expand the right-side selection panel. */
|
|
60
|
+
toggleSelectionPanel(): Promise<void>;
|
|
61
|
+
/** Open or close the autosaves panel. Does nothing while `enableAutosaves` is off. */
|
|
62
|
+
toggleAutosaves(): Promise<void>;
|
|
63
|
+
/** Open or close the comments panel. Does nothing while `enableComments` is off. */
|
|
64
|
+
toggleComments(): Promise<void>;
|
|
65
|
+
/** Replace the presence list shown in the top bar. A display indicator, not co-editing. */
|
|
66
|
+
setActiveMembers(activeMembers: string[]): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Replace the content of the custom block whose dialog was last opened through
|
|
69
|
+
* `onOpenCustomBlockDialog`. Rejects when `content` is not a string.
|
|
21
70
|
*/
|
|
22
|
-
|
|
71
|
+
updateCustomBlockContent(content: string): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Update the authorization header of all later API calls. An object is merged into the
|
|
74
|
+
* current header; a `null` value removes that header.
|
|
75
|
+
*/
|
|
76
|
+
updateApiAuthorizationHeader(newHeader: string | Record<string, string | null>): Promise<void>;
|
|
77
|
+
/** Show a notification in the editor. Shown even with `disableAlerts` and never forwarded to `onAlert`. */
|
|
78
|
+
createNotification(notification: INotification): Promise<void>;
|
|
23
79
|
/**
|
|
24
80
|
* Destroy the editor instance and clean up resources.
|
|
25
81
|
*/
|
|
26
82
|
destroy(): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Alias of destroy(), the name the script-tag instance has always had.
|
|
85
|
+
*/
|
|
86
|
+
close(): Promise<void>;
|
|
27
87
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* Re-exports the IPluginOptions from the schema with additional callbacks.
|
|
2
|
+
* Options of `LandingPageEditor.init()`: the editor `config` plus the host callbacks.
|
|
4
3
|
*/
|
|
5
|
-
import type {
|
|
4
|
+
import type { ILandingPageConfig } from "../../src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema";
|
|
6
5
|
import type { INotification } from "../../src/landing-page-editor/schemas/notification/notificationSchema";
|
|
6
|
+
import type { EditorErrorSource } from "../Callbacks/ICallbackPayloads";
|
|
7
|
+
import type { INonceAuthCallbacks } from "../Auth/INonceAuthCallbacks";
|
|
7
8
|
/**
|
|
8
9
|
* Payload of `onSave` and `onSaveAndClose`.
|
|
9
10
|
*/
|
|
@@ -12,6 +13,8 @@ export interface ILandingPageSavePayload {
|
|
|
12
13
|
json: unknown;
|
|
13
14
|
/** The rendered page HTML. */
|
|
14
15
|
html: string;
|
|
16
|
+
/** Ids of the synced sections placed in the saved template. */
|
|
17
|
+
syncedSections?: number[];
|
|
15
18
|
}
|
|
16
19
|
/**
|
|
17
20
|
* A file or folder deleted in the built-in file manager (`onImageDelete`).
|
|
@@ -27,8 +30,8 @@ export interface ILandingPageDeletedItem {
|
|
|
27
30
|
* Payload of `onEditorError`.
|
|
28
31
|
*/
|
|
29
32
|
export interface ILandingPageErrorPayload {
|
|
30
|
-
/** Where the error originated. `"
|
|
31
|
-
source:
|
|
33
|
+
/** Where the error originated. The wrappers report `"integration"` when `init()` or `render()` rejects. */
|
|
34
|
+
source: EditorErrorSource;
|
|
32
35
|
/** Human-readable description. */
|
|
33
36
|
message: string;
|
|
34
37
|
/** Raw error data when available (for `network` errors, the response body). */
|
|
@@ -40,9 +43,9 @@ export interface ILandingPageErrorPayload {
|
|
|
40
43
|
* Every callback receives at most one argument: a payload object with named
|
|
41
44
|
* properties. New fields can be added to a payload without breaking handlers,
|
|
42
45
|
* so destructure what you need and ignore the rest. Callbacks that carry no
|
|
43
|
-
* data are called with no arguments.
|
|
46
|
+
* data are called with no arguments. The one exception is `getNonce`, which returns a value.
|
|
44
47
|
*/
|
|
45
|
-
export interface ILandingPageCallbacks {
|
|
48
|
+
export interface ILandingPageCallbacks extends INonceAuthCallbacks {
|
|
46
49
|
/**
|
|
47
50
|
* Called when the user saves the landing page.
|
|
48
51
|
* May return a Promise: the editor keeps its saving state until it settles and a
|
|
@@ -114,10 +117,10 @@ export interface ILandingPageCallbacks {
|
|
|
114
117
|
*/
|
|
115
118
|
onEditorClose?(): void | Promise<void>;
|
|
116
119
|
/**
|
|
117
|
-
* Called when the unsaved-changes state flips. `
|
|
120
|
+
* Called when the unsaved-changes state flips. `hasUnsavedChanges` is `true` while there are unsaved edits.
|
|
118
121
|
*/
|
|
119
|
-
|
|
120
|
-
|
|
122
|
+
onUnsavedChangesChange?(payload: {
|
|
123
|
+
hasUnsavedChanges: boolean;
|
|
121
124
|
}): void;
|
|
122
125
|
/**
|
|
123
126
|
* Called when a custom block dialog should be opened. `block` is the custom block data.
|
|
@@ -146,7 +149,7 @@ export default interface ILandingPageOptions extends ILandingPageCallbacks {
|
|
|
146
149
|
/**
|
|
147
150
|
* Editor configuration options.
|
|
148
151
|
*/
|
|
149
|
-
config:
|
|
152
|
+
config: ILandingPageConfig;
|
|
150
153
|
}
|
|
151
|
-
export type {
|
|
154
|
+
export type { ILandingPageConfig };
|
|
152
155
|
export type { LambdaStage, UserRole } from "../../src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema";
|
package/logo.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="391" height="100" viewBox="0 0 391 100" fill="none" role="img" aria-label="Topol"><title>Topol</title><path d="M198.658 24.5069C194.15 21.9659 188.894 20.6954 182.903 20.6954C176.911 20.6954 171.655 21.9659 167.103 24.5069C162.561 27.0478 159.024 30.5918 156.525 35.161C154.003 39.7192 152.765 45.024 152.765 51.0755C152.765 57.1269 154.014 62.376 156.558 66.9341C159.08 71.5034 162.617 75.0474 167.136 77.5883C171.678 80.1293 176.922 81.3998 182.914 81.3998C188.906 81.3998 194.116 80.1293 198.635 77.5883C203.177 75.0474 206.703 71.5034 209.224 66.9341C211.746 62.376 213.018 57.0824 213.018 51.0755C213.018 45.0685 211.746 39.7192 209.224 35.161C206.703 30.5918 203.177 27.0478 198.658 24.5069ZM198.011 60.604C196.593 63.3233 194.585 65.4296 192.008 66.9119C189.43 68.4052 186.395 69.1519 182.914 69.1519C179.432 69.1519 176.386 68.4052 173.798 66.9119C171.209 65.4296 169.2 63.3233 167.772 60.604C166.344 57.8848 165.641 54.7086 165.641 51.0755C165.641 47.4423 166.344 44.2216 167.772 41.5134C169.2 38.8165 171.198 36.699 173.775 35.2056C176.353 33.7011 179.399 32.9433 182.914 32.9433C186.428 32.9433 189.43 33.7011 192.008 35.2056C194.585 36.699 196.593 38.8165 198.011 41.5134C199.439 44.2216 200.153 47.3978 200.153 51.0755C200.153 54.7532 199.439 57.8959 198.011 60.604ZM332.387 24.5069C327.879 21.9659 322.635 20.6954 316.643 20.6954C310.651 20.6954 305.384 21.9659 300.843 24.5069C296.291 27.0478 292.753 30.5918 290.254 35.161C287.744 39.7192 286.494 45.024 286.494 51.0755C286.494 57.1269 287.755 62.376 290.288 66.9341C292.809 71.5034 296.335 75.0474 300.876 77.5883C305.407 80.1293 310.651 81.3998 316.654 81.3998C322.657 81.3998 327.834 80.1293 332.376 77.5883C336.906 75.0474 340.432 71.5034 342.953 66.9341C345.475 62.376 346.747 57.0824 346.747 51.0755C346.747 45.0685 345.475 39.7192 342.953 35.161C340.432 30.5918 336.906 27.0478 332.387 24.5069ZM331.751 60.604C330.323 63.3233 328.325 65.4296 325.748 66.9119C323.159 68.4052 320.124 69.1519 316.654 69.1519C313.184 69.1519 310.126 68.4052 307.527 66.9119C304.938 65.4296 302.93 63.3233 301.501 60.604C300.084 57.8848 299.37 54.7086 299.37 51.0755C299.37 47.4423 300.084 44.2216 301.501 41.5134C302.93 38.8165 304.927 36.699 307.504 35.2056C310.082 33.7011 313.139 32.9433 316.654 32.9433C320.169 32.9433 323.159 33.7011 325.748 35.2056C328.325 36.699 330.323 38.8165 331.751 41.5134C333.168 44.2216 333.882 47.3978 333.882 51.0755C333.882 54.7532 333.168 57.8959 331.751 60.604ZM267.971 24.44C263.798 21.9436 258.889 20.6954 253.276 20.6954C248.043 20.6954 243.591 21.8656 239.942 24.1837C236.963 26.0782 234.575 28.7195 232.768 32.0517V21.8767H219.3V100H232.768V69.464C234.575 72.7962 236.952 75.4263 239.942 77.3208C243.591 79.6612 248.043 80.8091 253.276 80.8091C258.889 80.8091 263.798 79.5609 267.971 77.0311C272.156 74.5236 275.414 71.0019 277.757 66.4772C280.1 61.9637 281.283 56.7034 281.283 50.7188C281.283 44.7342 280.1 39.474 277.757 34.9604C275.414 30.4358 272.145 26.9252 267.971 24.44ZM266.186 60.1137C264.736 62.7995 262.694 64.8724 260.072 66.3435C257.449 67.8257 254.359 68.5612 250.81 68.5612C247.262 68.5612 244.171 67.8257 241.549 66.3435C238.916 64.8724 236.874 62.7995 235.435 60.1137C233.984 57.439 233.248 54.3185 233.248 50.7411C233.248 47.1637 233.973 43.9987 235.435 41.3351C236.874 38.6827 238.916 36.6098 241.549 35.1499C244.171 33.6788 247.262 32.9544 250.81 32.9544C254.359 32.9544 257.483 33.69 260.094 35.1499C262.705 36.6098 264.724 38.6827 266.186 41.3574C267.626 44.0321 268.362 47.1526 268.362 50.7411C268.362 54.3297 267.637 57.4501 266.186 60.1137ZM391 66.7781V80.2407H366.408V66.7781H391ZM366.397 0V66.7781H352.918V0H366.397ZM127.38 21.7096H149.607V35.1722H127.38V66.7893H113.79V0H127.38V21.7096ZM127.38 66.7781H147.152V80.2407H127.38V66.7781ZM80.3379 66.8004V80.263H60.2534V66.8004H80.3379ZM0 66.8004H20.0845V80.263H0V66.8004ZM0.0223161 50.1727V30.1126H20.0845V50.1727H0.0223161ZM60.2534 50.1727V30.1126H20.0845V13.4849H60.2534V30.1126H80.3044V50.1727H60.2534ZM20.0845 50.1727H60.2534V66.8004H20.0845V50.1727ZM0 13.4738V0.0222891H20.0845V13.4849L0 13.4738ZM80.3379 13.4738H60.2534V0.0222891H80.3379V13.4738Z" fill="#000000"/></svg>
|