@useinsider/guido 1.0.0-beta.f57520c → 1.0.0-beta.f7c239e
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 +21 -386
- package/dist/@types/generic.d.ts +25 -7
- package/dist/@types/http.d.ts +19 -0
- package/dist/App.vue.d.ts +1 -1
- package/dist/components/Guido.vue.d.ts +3 -17
- package/dist/components/Guido.vue.js +7 -7
- package/dist/components/Guido.vue2.js +23 -63
- package/dist/components/organisms/header/LeftSlot.vue.d.ts +1 -1
- package/dist/components/organisms/header/LeftSlot.vue.js +9 -9
- package/dist/components/organisms/header/LeftSlot.vue2.js +6 -10
- package/dist/components/organisms/header/MiddleSlot.vue.js +7 -7
- package/dist/components/organisms/header/MiddleSlot.vue2.js +4 -6
- package/dist/components/organisms/header/RightSlot.vue.js +10 -7
- package/dist/components/organisms/header/RightSlot.vue2.js +17 -30
- package/dist/components/organisms/header/ViewOptions.vue.d.ts +1 -1
- package/dist/components/organisms/header/version-history/VersionHistory.vue.d.ts +1 -13
- package/dist/components/organisms/header/version-history/VersionHistory.vue.js +7 -7
- package/dist/components/organisms/header/version-history/VersionHistory.vue2.js +10 -13
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue.d.ts +1 -1
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue.js +1 -1
- package/dist/components/organisms/header/version-history/ViewOptions.vue.d.ts +1 -1
- package/dist/composables/useActionsApi.d.ts +0 -1
- package/dist/composables/useActionsApi.js +12 -14
- package/dist/composables/useApiExample.d.ts +4 -6
- package/dist/composables/useCustomInterfaceAppearance.js +9 -45
- package/dist/composables/useExport.d.ts +1 -1
- package/dist/composables/useExport.js +20 -35
- package/dist/composables/useHttp.d.ts +1 -19
- package/dist/composables/useStripo.js +28 -49
- package/dist/composables/useTemplates.d.ts +5 -0
- package/dist/composables/useTemplates.js +27 -0
- package/dist/composables/useToaster.d.ts +1 -9
- package/dist/composables/useTranslations.d.ts +1 -4
- package/dist/guido.css +1 -1
- package/dist/services/stripoApi.d.ts +7 -6
- package/dist/services/stripoApi.js +23 -44
- package/dist/static/editor.css.js +232 -0
- package/dist/static/templates/default/index.html.js +5 -0
- package/dist/static/templates/default/style.css.js +119 -0
- package/dist/stores/editor.d.ts +0 -2
- package/dist/stores/editor.js +3 -5
- package/package.json +5 -7
- package/dist/@types/save-as-template.d.ts +0 -11
- package/dist/_virtual/AddCustomFont.js +0 -4
- package/dist/_virtual/AiAssistantValueType.js +0 -4
- package/dist/_virtual/BackgroundColorBuiltInControl.js +0 -4
- package/dist/_virtual/BackgroundImageBuiltInControl.js +0 -4
- package/dist/_virtual/Block.js +0 -4
- package/dist/_virtual/BlockAttributes.js +0 -4
- package/dist/_virtual/BlockCompositionType.js +0 -4
- package/dist/_virtual/BlockPaddingsBuiltInControl.js +0 -4
- package/dist/_virtual/BlockRenderer.js +0 -4
- package/dist/_virtual/BlockType.js +0 -4
- package/dist/_virtual/BlocksPanel.js +0 -4
- package/dist/_virtual/BuiltInControl.js +0 -4
- package/dist/_virtual/BuiltInControlTypes.js +0 -4
- package/dist/_virtual/ButtonBorderBuiltInControl.js +0 -4
- package/dist/_virtual/ButtonColorBuiltInControl.js +0 -4
- package/dist/_virtual/ButtonFontColorBuiltInControl.js +0 -4
- package/dist/_virtual/ButtonInternalIndentsBuiltInControl.js +0 -4
- package/dist/_virtual/ButtonTextBuiltInControl.js +0 -4
- package/dist/_virtual/ContextAction.js +0 -4
- package/dist/_virtual/ContextActionType.js +0 -4
- package/dist/_virtual/Control.js +0 -4
- package/dist/_virtual/EditorStatePropertyType.js +0 -4
- package/dist/_virtual/Extension.js +0 -4
- package/dist/_virtual/ExtensionBuilder.js +0 -4
- package/dist/_virtual/FontFamilyBuiltInControl.js +0 -4
- package/dist/_virtual/LinkColorBuiltInControl.js +0 -4
- package/dist/_virtual/ModificationDescription.js +0 -4
- package/dist/_virtual/PanelPosition.js +0 -4
- package/dist/_virtual/PreviewDeviceMode.js +0 -4
- package/dist/_virtual/SettingsPanelRegistry.js +0 -4
- package/dist/_virtual/SettingsPanelTab.js +0 -4
- package/dist/_virtual/SettingsTab.js +0 -4
- package/dist/_virtual/StructureBorderBuiltInControl.js +0 -4
- package/dist/_virtual/StructurePaddingsBuiltInControl.js +0 -4
- package/dist/_virtual/TextColorBuiltInControl.js +0 -4
- package/dist/_virtual/TextLineSpacingBuiltInControl.js +0 -4
- package/dist/_virtual/TextSizeBuiltInControl.js +0 -4
- package/dist/_virtual/TextStyleBuiltInControl.js +0 -4
- package/dist/_virtual/UIElement.js +0 -4
- package/dist/_virtual/UIElementTagRegistry.js +0 -4
- package/dist/_virtual/UIElementType.js +0 -4
- package/dist/_virtual/UIElementsAttributes.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -4
- package/dist/components/organisms/header/version-history/RestoreButton.vue.d.ts +0 -2
- package/dist/components/organisms/header/version-history/RestoreButton.vue.js +0 -19
- package/dist/components/organisms/header/version-history/RestoreButton.vue2.js +0 -14
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue.d.ts +0 -2
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue.js +0 -20
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue2.js +0 -58
- package/dist/components/wrappers/WpDrawer.vue.d.ts +0 -63
- package/dist/components/wrappers/WpDrawer.vue.js +0 -25
- package/dist/components/wrappers/WpDrawer.vue2.js +0 -23
- package/dist/composables/useGuidoActions.d.ts +0 -46
- package/dist/composables/useGuidoActions.js +0 -37
- package/dist/composables/useHtmlCompiler.d.ts +0 -4
- package/dist/composables/useHtmlCompiler.js +0 -16
- package/dist/composables/useProvideInject.d.ts +0 -14
- package/dist/composables/useProvideInject.js +0 -17
- package/dist/composables/useValidation.d.ts +0 -30
- package/dist/composables/useValidation.js +0 -19
- package/dist/composables/validators/saveAsTemplate.d.ts +0 -26
- package/dist/composables/validators/saveAsTemplate.js +0 -21
- package/dist/config/compiler/htmlCompilerRules.d.ts +0 -2
- package/dist/config/compiler/htmlCompilerRules.js +0 -145
- package/dist/config/compiler/outlookCompilerRules.d.ts +0 -0
- package/dist/enums/displayConditions.d.ts +0 -2
- package/dist/enums/displayConditions.js +0 -80
- package/dist/extensions/DynamicContent/dynamic-content-modal.d.ts +0 -6
- package/dist/extensions/DynamicContent/dynamic-content-modal.js +0 -27
- package/dist/extensions/DynamicContent/dynamic-content.css.js +0 -24
- package/dist/extensions/DynamicContent/dynamic-content.d.ts +0 -16
- package/dist/extensions/DynamicContent/dynamic-content.js +0 -63
- package/dist/extensions/DynamicContent/extension.d.ts +0 -2
- package/dist/extensions/DynamicContent/extension.js +0 -11
- package/dist/mock/api/default-template.d.ts +0 -2
- package/dist/mock/api/template-library.d.ts +0 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +0 -51
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +0 -52
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +0 -41
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlockRenderer.js +0 -18
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlocksPanel.js +0 -32
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/ContextAction.js +0 -18
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AddCustomFont.js +0 -8
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockAttributes.js +0 -34
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +0 -104
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +0 -13
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +0 -45
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundColorBuiltInControl.js +0 -43
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundImageBuiltInControl.js +0 -46
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BlockPaddingsBuiltInControl.js +0 -44
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BuiltInControl.js +0 -22
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonBorderBuiltInControl.js +0 -46
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonColorBuiltInControl.js +0 -46
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonFontColorBuiltInControl.js +0 -45
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonInternalIndentsBuiltInControl.js +0 -45
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonTextBuiltInControl.js +0 -45
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +0 -20
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/FontFamilyBuiltInControl.js +0 -43
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/LinkColorBuiltInControl.js +0 -45
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +0 -18
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +0 -32
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructureBorderBuiltInControl.js +0 -46
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructurePaddingsBuiltInControl.js +0 -44
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextColorBuiltInControl.js +0 -43
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextLineSpacingBuiltInControl.js +0 -43
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextSizeBuiltInControl.js +0 -45
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextStyleBuiltInControl.js +0 -43
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/index.js +0 -266
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +0 -26
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +0 -22
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +0 -18
- package/dist/node_modules/valibot/dist/index.js +0 -157
- package/dist/static/styles/base.css.js +0 -11
- package/dist/static/styles/components/alert-message.css.js +0 -39
- package/dist/static/styles/components/amp-block.css.js +0 -18
- package/dist/static/styles/components/base-input.css.js +0 -47
- package/dist/static/styles/components/button-group.css.js +0 -54
- package/dist/static/styles/components/button.css.js +0 -106
- package/dist/static/styles/components/combobox.css.js +0 -49
- package/dist/static/styles/components/counter.css.js +0 -42
- package/dist/static/styles/components/dropdown-menu.css.js +0 -52
- package/dist/static/styles/components/narrow-panel.css.js +0 -38
- package/dist/static/styles/components/switcher.css.js +0 -11
- package/dist/static/styles/components/tabs.css.js +0 -97
- package/dist/static/styles/components/tools.css.js +0 -23
- package/dist/static/styles/components/version-history.css.js +0 -30
- package/dist/static/styles/components/wide-panel.css.js +0 -135
- package/dist/static/styles/variables.css.js +0 -23
- package/dist/stores/save-as-template.d.ts +0 -25
- package/dist/stores/save-as-template.js +0 -44
- package/dist/utils/htmlCompiler.d.ts +0 -12
- package/dist/utils/htmlCompiler.js +0 -70
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export interface HttpOptions extends Omit<RequestInit, 'method' | 'body'> {
|
|
3
|
-
baseURL?: string;
|
|
4
|
-
timeout?: number;
|
|
5
|
-
retry?: number;
|
|
6
|
-
retryDelay?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface HttpResponse<T = unknown> {
|
|
9
|
-
data: T;
|
|
10
|
-
status: number;
|
|
11
|
-
statusText: string;
|
|
12
|
-
headers: Headers;
|
|
13
|
-
}
|
|
14
|
-
export interface HttpError {
|
|
15
|
-
message: string;
|
|
16
|
-
status?: number;
|
|
17
|
-
statusText?: string;
|
|
18
|
-
response?: Response;
|
|
19
|
-
}
|
|
1
|
+
import type { HttpMethod, HttpOptions, HttpResponse } from '@/@types/http';
|
|
20
2
|
export declare const useHttp: (defaultOptions?: HttpOptions) => {
|
|
21
3
|
loading: import("vue").ComputedRef<boolean>;
|
|
22
4
|
error: import("vue").ComputedRef<{
|
|
@@ -1,95 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const A = (a) => {
|
|
9
|
-
const { handleError: d } = S(), { getToken: c, getCustomFonts: u } = y(), l = (e, r = []) => {
|
|
10
|
-
const i = h(), { html: t, css: s, forceRecreate: m } = e;
|
|
1
|
+
import { useCustomInterfaceAppearance as p } from "./useCustomInterfaceAppearance.js";
|
|
2
|
+
import { useToaster as m } from "./useToaster.js";
|
|
3
|
+
import c from "../services/stripoApi.js";
|
|
4
|
+
import { useEditorStore as g } from "../stores/editor.js";
|
|
5
|
+
const f = (a) => {
|
|
6
|
+
const { handleError: d } = m(), u = (e, i = []) => {
|
|
7
|
+
const r = g(), { html: t, css: n } = e;
|
|
11
8
|
window.UIEditor.initEditor(
|
|
12
9
|
document.querySelector("#guido-editor"),
|
|
13
10
|
{
|
|
14
11
|
metadata: a,
|
|
15
12
|
html: t,
|
|
16
|
-
css:
|
|
17
|
-
forceRecreate: m,
|
|
13
|
+
css: n,
|
|
18
14
|
locale: "en",
|
|
19
15
|
undoButtonSelector: "#guido__undo-button",
|
|
20
16
|
redoButtonSelector: "#guido__redo-button",
|
|
21
17
|
mobileViewButtonSelector: ".guido__view-option-selection-mobile",
|
|
22
18
|
desktopViewButtonSelector: ".guido__view-option-selection-desktop",
|
|
23
19
|
codeEditorButtonSelector: "#guido__code-button",
|
|
24
|
-
customAppearanceMergetags: !0,
|
|
25
|
-
customAppearanceMergetagsBorderColor: "#f1f3fe",
|
|
26
|
-
customAppearanceMergetagsBackgroundColor: "#f1f3fe",
|
|
27
|
-
customViewStyles: `
|
|
28
|
-
.esd-x, .esd-merge-tag {color: #0a2ecc !important; box-shadow: none !important;}
|
|
29
|
-
.esd-merge-tag {border: 1px solid #b5c1f1; border-radius: 4px !important;}
|
|
30
|
-
`,
|
|
31
|
-
conditionsEnabled: !0,
|
|
32
|
-
customConditionsEnabled: !0,
|
|
33
|
-
conditionCategories: C,
|
|
34
|
-
enableXSSSecurity: !0,
|
|
35
|
-
messageSettingsEnabled: !1,
|
|
36
20
|
editorFonts: {
|
|
37
21
|
showDefaultStandardFonts: !0,
|
|
38
22
|
showDefaultNotStandardFonts: !0,
|
|
39
|
-
customFonts:
|
|
23
|
+
customFonts: i
|
|
40
24
|
},
|
|
41
25
|
async onTokenRefreshRequest(o) {
|
|
42
26
|
try {
|
|
43
|
-
const
|
|
44
|
-
o(
|
|
45
|
-
} catch (
|
|
46
|
-
d(
|
|
27
|
+
const s = await c.getToken();
|
|
28
|
+
o(s);
|
|
29
|
+
} catch (s) {
|
|
30
|
+
d(s, "Failed to refresh token");
|
|
47
31
|
}
|
|
48
32
|
},
|
|
49
33
|
onTemplateLoaded() {
|
|
50
34
|
try {
|
|
51
|
-
const { importCss: o } =
|
|
52
|
-
o()
|
|
35
|
+
const { importCss: o } = p();
|
|
36
|
+
o();
|
|
53
37
|
} catch (o) {
|
|
54
38
|
d(o, "Failed to load custom interface appearance");
|
|
55
39
|
}
|
|
56
40
|
},
|
|
57
41
|
onCodeEditorVisibilityChanged(o) {
|
|
58
|
-
|
|
42
|
+
r.isCodeEditorOpen = o;
|
|
59
43
|
},
|
|
60
44
|
onEditorVisualModeChanged(o) {
|
|
61
|
-
|
|
45
|
+
r.editorVisualMode = o.toLowerCase();
|
|
62
46
|
},
|
|
63
47
|
onVersionHistoryVisibilityChanged(o) {
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
onDataChanged() {
|
|
67
|
-
i.hasChanges = !0;
|
|
68
|
-
},
|
|
69
|
-
ignoreClickOutsideSelectors: ["#guido-dynamic-content-modal"],
|
|
70
|
-
extensions: [E]
|
|
48
|
+
r.isVersionHistoryOpen = o;
|
|
49
|
+
}
|
|
71
50
|
}
|
|
72
51
|
);
|
|
73
|
-
},
|
|
52
|
+
}, l = (e) => new Promise((i, r) => {
|
|
74
53
|
if (document.getElementById("UiEditorScript")) {
|
|
75
|
-
e(),
|
|
54
|
+
e(), i();
|
|
76
55
|
return;
|
|
77
56
|
}
|
|
78
57
|
const t = document.createElement("script");
|
|
79
58
|
t.id = "UiEditorScript", t.type = "module", t.src = "https://plugins.stripo.email/resources/uieditor/latest/UIEditor.js", t.onload = () => {
|
|
80
|
-
e(),
|
|
59
|
+
e(), i();
|
|
81
60
|
}, t.onerror = () => {
|
|
82
|
-
const
|
|
83
|
-
|
|
61
|
+
const n = new Error("Failed to load Stripo UIEditor script");
|
|
62
|
+
r(n);
|
|
84
63
|
}, document.body.appendChild(t);
|
|
85
64
|
});
|
|
86
65
|
return { initPlugin: async (e) => {
|
|
87
|
-
await
|
|
88
|
-
const
|
|
89
|
-
|
|
66
|
+
await l(async () => {
|
|
67
|
+
const i = await c.getCustomFonts();
|
|
68
|
+
u(e, i);
|
|
90
69
|
});
|
|
91
70
|
} };
|
|
92
71
|
};
|
|
93
72
|
export {
|
|
94
|
-
|
|
73
|
+
f as useStripo
|
|
95
74
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const s = () => {
|
|
2
|
+
const t = async () => {
|
|
3
|
+
const [e, a] = await Promise.all([
|
|
4
|
+
// eslint-disable-next-line import/extensions
|
|
5
|
+
import("../static/templates/default/index.html.js"),
|
|
6
|
+
import("../static/templates/default/style.css.js")
|
|
7
|
+
]);
|
|
8
|
+
return {
|
|
9
|
+
html: e.default,
|
|
10
|
+
css: a.default
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
return {
|
|
14
|
+
getDefaultTemplate: t,
|
|
15
|
+
getTemplate: async (e) => {
|
|
16
|
+
switch (e) {
|
|
17
|
+
case "default":
|
|
18
|
+
return t();
|
|
19
|
+
default:
|
|
20
|
+
return t();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
s as useTemplates
|
|
27
|
+
};
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export type ToasterOptions = {
|
|
3
|
-
type?: ToasterType;
|
|
4
|
-
message: string;
|
|
5
|
-
actionButton?: {
|
|
6
|
-
text: string;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
1
|
+
import type { ToasterType, ToasterOptions } from '@/@types/generic';
|
|
10
2
|
export declare const useToaster: () => {
|
|
11
3
|
isToasterVisible: import("vue").Ref<boolean>;
|
|
12
4
|
toasterMessage: import("vue").Ref<string>;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: string | number | boolean;
|
|
3
|
-
}
|
|
1
|
+
import type { TranslationValues } from '@/@types/generic';
|
|
4
2
|
export declare const useTranslations: () => ((key: string, params?: TranslationValues) => string) & import("lodash").MemoizedFunction;
|
|
5
|
-
export {};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.version-history-item[data-v-
|
|
1
|
+
.version-history-item[data-v-0e2ff42d]{flex-basis:200px}.version-history-wrapper[data-v-187d41fa]{gap:8px}[data-v-6a2bde67] .guido__verion-history-view-option-selection-desktop svg,[data-v-6a2bde67] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6a2bde67] .in-segments-wrapper__button_selected,[data-v-6a2bde67] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-0fff376c] .guido__view-option-selection-desktop svg,[data-v-0fff376c] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-0fff376c] .in-segments-wrapper__button_selected,[data-v-0fff376c] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.header-right-slot[data-v-fefca98f]{gap:16px}.guido-editor__wrapper[data-v-d4a5c957],.guido-editor__container[data-v-d4a5c957]{width:100%;height:100vh}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { CustomFont
|
|
2
|
-
export
|
|
3
|
-
getToken
|
|
4
|
-
getCustomFonts
|
|
1
|
+
import type { CustomFont } from '@@/Types/stripo';
|
|
2
|
+
export interface StripoApiService {
|
|
3
|
+
getToken(): Promise<string>;
|
|
4
|
+
getCustomFonts(): Promise<(CustomFont & {
|
|
5
5
|
active: boolean;
|
|
6
6
|
})[]>;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
declare const stripoApiService: StripoApiService;
|
|
9
|
+
export default stripoApiService;
|
|
@@ -1,49 +1,28 @@
|
|
|
1
|
-
import { useHttp as
|
|
1
|
+
import { useHttp as r } from "../composables/useHttp.js";
|
|
2
2
|
import { useToaster as s } from "../composables/useToaster.js";
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return o(t, "Failed to fetch token"), "";
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
getCustomFonts: async () => {
|
|
15
|
-
try {
|
|
16
|
-
const { data: t = [] } = await r("/stripo/get-partner-custom-fonts");
|
|
17
|
-
return t.map((e) => ({
|
|
18
|
-
...e,
|
|
19
|
-
active: !0
|
|
20
|
-
}));
|
|
21
|
-
} catch (t) {
|
|
22
|
-
return o(t, "Failed to fetch custom fonts"), [];
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
getDefaultTemplate: async () => {
|
|
26
|
-
const t = {
|
|
27
|
-
html: "",
|
|
28
|
-
css: "",
|
|
29
|
-
forceRecreate: !0
|
|
30
|
-
};
|
|
31
|
-
try {
|
|
32
|
-
const { data: e } = await r("/stripo/default-template");
|
|
33
|
-
try {
|
|
34
|
-
return {
|
|
35
|
-
...JSON.parse(e),
|
|
36
|
-
forceRecreate: !0
|
|
37
|
-
};
|
|
38
|
-
} catch {
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
} catch (e) {
|
|
42
|
-
return o(e, "Failed to fetch default template"), t;
|
|
43
|
-
}
|
|
3
|
+
const c = {
|
|
4
|
+
async getToken() {
|
|
5
|
+
try {
|
|
6
|
+
const t = Number(localStorage.getItem("ins-guido-test-instance")), { get: e } = r(), { data: o } = await e(`/stripo/get-user-token?test=${t}`);
|
|
7
|
+
return o.body.token;
|
|
8
|
+
} catch (t) {
|
|
9
|
+
const { handleError: e } = s();
|
|
10
|
+
return e(t, "Failed to fetch token"), "";
|
|
44
11
|
}
|
|
45
|
-
}
|
|
12
|
+
},
|
|
13
|
+
async getCustomFonts() {
|
|
14
|
+
try {
|
|
15
|
+
const { get: t } = r(), { data: e = [] } = await t("/stripo/get-partner-custom-fonts");
|
|
16
|
+
return e.map((o) => ({
|
|
17
|
+
...o,
|
|
18
|
+
active: !0
|
|
19
|
+
}));
|
|
20
|
+
} catch (t) {
|
|
21
|
+
const { handleError: e } = s();
|
|
22
|
+
return e(t, "Failed to fetch custom fonts"), [];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
46
25
|
};
|
|
47
26
|
export {
|
|
48
|
-
|
|
27
|
+
c as default
|
|
49
28
|
};
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
const n = `:host {
|
|
2
|
+
--guido-color-white: #FFFFFF;
|
|
3
|
+
--guido-color-primary-500: #0A2ECC;
|
|
4
|
+
--guido-color-primary-100: #DAE1FB;
|
|
5
|
+
--guido-color-gray-800: #292929;
|
|
6
|
+
--guido-color-gray-300: #E1E1E1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.label {
|
|
10
|
+
font-size: 13px;
|
|
11
|
+
color: var(--guido-color-gray-800);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.stacked-panel-title {
|
|
15
|
+
padding: 16px;
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
color: var(--guido-color-gray-800);
|
|
19
|
+
text-align: left;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.stacked-panel-item {
|
|
23
|
+
border-radius: 4px;
|
|
24
|
+
border: 1px solid #dcdfe6;
|
|
25
|
+
box-shadow: 0 0 0 0 var(--guido-color-gray-300),0 15px 35px -5px rgba(0, 0, 0, .1),0 8px 10px -6px rgba(0, 0, 0, .1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.container {
|
|
29
|
+
padding: 16px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.container.parent-container>.container {
|
|
33
|
+
padding: 0 16px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** SEGMENT BUTTON */
|
|
37
|
+
ue-switcher input {
|
|
38
|
+
border-radius: 26px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
ue-switcher input:before {
|
|
42
|
+
border-radius: 22px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tabs-header {
|
|
46
|
+
padding: 0;
|
|
47
|
+
column-gap: 0;
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.tabs-header button {
|
|
52
|
+
background-color: #f7f9fa;
|
|
53
|
+
outline: none;
|
|
54
|
+
padding: 8px 16px;
|
|
55
|
+
border: 1px solid #dcdee6;
|
|
56
|
+
height: 42px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.tabs-header button ue-icon-component.icon-button {
|
|
60
|
+
color: var(--guido-color-gray-800);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.tabs-header button:not(:last-child),
|
|
64
|
+
.tabs-header button:not(:first-child) {
|
|
65
|
+
border-radius: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tabs-header button:first-child {
|
|
69
|
+
border-radius: 4px 0 0 4px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tabs-header button:last-child {
|
|
73
|
+
border-radius: 0 4px 4px 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.tabs-header button.checked {
|
|
77
|
+
background-color: var(--guido-color-primary-100);
|
|
78
|
+
color: var(--guido-color-primary-500);
|
|
79
|
+
border-color: var(--guido-color-primary-500);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tabs-header button.checked ue-icon-component.icon-button {
|
|
83
|
+
color: var(--guido-color-primary-500);
|
|
84
|
+
}
|
|
85
|
+
/** SEGMENT BUTTON */
|
|
86
|
+
|
|
87
|
+
/** BUTTON */
|
|
88
|
+
.button:not(:disabled,.disabled):active {
|
|
89
|
+
transform: none !important;
|
|
90
|
+
}
|
|
91
|
+
/** BUTTON */
|
|
92
|
+
|
|
93
|
+
/** BUTTON GROUP */
|
|
94
|
+
.button-group {
|
|
95
|
+
padding: 0;
|
|
96
|
+
column-gap: 0;
|
|
97
|
+
border-radius: 0;
|
|
98
|
+
background-color: transparent;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.button-group .button {
|
|
102
|
+
background-color: #f7f9fa;
|
|
103
|
+
outline: none;
|
|
104
|
+
padding: 8px 12px;
|
|
105
|
+
border: 1px solid #dcdee6;
|
|
106
|
+
box-shadow: none;
|
|
107
|
+
height: 42px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.button-group .button ue-icon-component.icon-button {
|
|
111
|
+
color: var(--guido-color-gray-800);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.button-group > div:first-of-type .button {
|
|
115
|
+
border-radius: 4px 0 0 4px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.button-group > *:last-child .button {
|
|
119
|
+
border-radius: 0 4px 4px 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
ue-check-buttons input:checked + .button,
|
|
123
|
+
ue-radio-buttons input:checked + .button {
|
|
124
|
+
background-color: var(--guido-color-primary-100);
|
|
125
|
+
color: var(--guido-color-primary-500);
|
|
126
|
+
border-color: var(--guido-color-primary-500);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
ue-check-buttons input:checked + .button ue-icon-component.icon-button,
|
|
130
|
+
ue-radio-buttons input:checked + .button ue-icon-component.icon-button {
|
|
131
|
+
color: var(--guido-color-primary-500);
|
|
132
|
+
}
|
|
133
|
+
/** BUTTON GROUP */
|
|
134
|
+
|
|
135
|
+
/** COMBOBOX */
|
|
136
|
+
.control-shadow-wrapper:has(.button[role="combobox"]) {
|
|
137
|
+
border-radius: 0;
|
|
138
|
+
padding: 0;
|
|
139
|
+
background: transparent;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.button[role="combobox"] {
|
|
143
|
+
background-color: #f9f9f9;
|
|
144
|
+
border: 1px solid var(--guido-color-gray-300);
|
|
145
|
+
border-radius: 4px;
|
|
146
|
+
box-shadow: none;
|
|
147
|
+
min-height: 42px;
|
|
148
|
+
padding: 8px;
|
|
149
|
+
color: var(--guido-color-gray-800);
|
|
150
|
+
text-align: left;
|
|
151
|
+
outline: none;
|
|
152
|
+
white-space: nowrap;
|
|
153
|
+
text-overflow: ellipsis;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.button[role="combobox"].on {
|
|
158
|
+
background-color: #f9f9f9;
|
|
159
|
+
border-color: var(--guido-color-primary-500);
|
|
160
|
+
box-shadow: 0 0 0 3px #b5c1f1 !important;
|
|
161
|
+
}
|
|
162
|
+
/** COMBOBOX */
|
|
163
|
+
|
|
164
|
+
/** BASE INPUT */
|
|
165
|
+
.base-input {
|
|
166
|
+
border: 1px solid var(--guido-color-gray-300);
|
|
167
|
+
border-radius: 4px;
|
|
168
|
+
background-color: #f9f9f9;
|
|
169
|
+
align-items: center;
|
|
170
|
+
height: 40px;
|
|
171
|
+
max-height: 40px;
|
|
172
|
+
box-sizing: content-box;
|
|
173
|
+
outline: none;
|
|
174
|
+
resize: vertical;
|
|
175
|
+
padding: 8px;
|
|
176
|
+
transition: none !important;
|
|
177
|
+
color: var(--guido-color-gray-800);
|
|
178
|
+
box-shadow: none !important;
|
|
179
|
+
box-sizing: border-box !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.base-input:hover:not(:disabled) {
|
|
183
|
+
background-color: #f9f9f9;
|
|
184
|
+
border-color: #7a92f2;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.base-input:focus:not(:disabled) {
|
|
188
|
+
background-color: #f9f9f9;
|
|
189
|
+
border-color: #0a2ecc;
|
|
190
|
+
box-shadow: 0 0 0 3px #b5c1f1 !important;
|
|
191
|
+
}
|
|
192
|
+
/** BASE INPUT */
|
|
193
|
+
|
|
194
|
+
/** COUNTER */
|
|
195
|
+
ue-counter {
|
|
196
|
+
padding: 0 !important;
|
|
197
|
+
background-color: var(--guido-color-white) !important;
|
|
198
|
+
border: 1px solid var(--guido-color-gray-300);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
ue-counter .button {
|
|
202
|
+
width: 40px;
|
|
203
|
+
height: 40px;
|
|
204
|
+
box-shadow: none;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
ue-counter .button .icon-button {
|
|
208
|
+
color: var(--guido-color-primary-500);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
ue-counter ue-button:first-child .button {
|
|
212
|
+
border-right: 1px solid var(--guido-color-gray-300);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
ue-counter ue-button:last-child .button {
|
|
216
|
+
border-left: 1px solid var(--guido-color-gray-300);
|
|
217
|
+
}
|
|
218
|
+
/** COUNTER */
|
|
219
|
+
|
|
220
|
+
/** COLOR */
|
|
221
|
+
ue-color {
|
|
222
|
+
width: 80px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
ue-color .base-input {
|
|
226
|
+
width: 100%;
|
|
227
|
+
}
|
|
228
|
+
/** COLOR */
|
|
229
|
+
`;
|
|
230
|
+
export {
|
|
231
|
+
n as default
|
|
232
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta charset="UTF-8"><meta content="width=device-width, initial-scale=1" name="viewport"><meta name="x-apple-disable-message-reformatting"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="telephone=no" name="format-detection"><title></title><!--[if (mso 16)]><style type="text/css">a{text-decoration:none;}</style><![endif]--><!--[if gte mso 9]><style>sup{font-size:100% !important;}</style><![endif]--><!--[if gte mso 9]><noscript><xml><o:OfficeDocumentSettings><o:AllowPNG></o:AllowPNG><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml></noscript><![endif]--><!--[if mso]><xml><w:WordDocument xmlns:w="urn:schemas-microsoft-com:office:word"><w:DontUseAdvancedTypographyReadingMail></w:DontUseAdvancedTypographyReadingMail></w:WordDocument></xml><![endif]--></head><body><div class="es-wrapper-color"> <!--[if gte mso 9]> <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t"> <v:fill type="tile" color="#f6f6f6"></v:fill> </v:background> <![endif]--><table class="es-wrapper" width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="esd-email-paddings" valign="top"><table class="es-content esd-header-popover" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td class="esd-stripe" align="center"><table class="es-content-body" width="600" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center"><tbody><tr><td class="esd-structure es-p20" align="left" bgcolor="#91949F" style="background-color: #91949f;"><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="esd-container-frame" width="560" valign="top" align="center"><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td align="center" class="esd-block-image es-p15" style="font-size: 0px;"><a target="_blank"><img class="adapt-img" src="https://web-image.useinsider.com/email-template/logo.png" alt style="display: block;" height="30"></a></td></tr><tr><td class="esd-block-text" align="center"><h2 style="color: #ffffff; font-size: 30px;"><strong>Time for great email design</strong></h2></td></tr><tr><td class="esd-block-text es-m-txt-c es-p10t" align="center"><p style="color: #ffffff;">I'm a new text block ready for your message content.</p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><table class="es-content" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td class="esd-stripe" align="center"><table class="es-content-body" width="600" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center"><tbody><tr><td class="esd-structure es-p30t es-p20b es-p20r es-p20l" align="left" bgcolor="#F9F9F9" style="background-color: #f9f9f9;"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td width="560" class="esd-container-frame" align="center" valign="top"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="center" class="esd-block-image es-p30t es-p20r" style="font-size: 0px;"><a target="_blank"><img class="adapt-img" src="https://web-image.useinsider.com/email-template/image-placeholder.png" alt style="display: block;" width="138"></a></td></tr><tr><td align="center" class="esd-block-text es-p10t es-p40b"><p style="color: #c5c6cc;">Image Placeholder</p></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td class="esd-structure es-p20t es-p20r es-p20l" align="left"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td width="560" class="esd-container-frame" align="center" valign="top"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="center" class="esd-block-text"><p style="font-size: 24px; color: #2c3546;"><strong>This is a sample heading</strong><br></p></td></tr><tr><td align="center" class="esd-block-text"><p style="color: #2c3546;">I'm a new text block ready for your message content.</p></td></tr><tr><td align="center" class="esd-block-text"><p style="color: #959aa3; font-size: 10px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor<br> incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br> exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><table class="es-content esd-footer-popover" cellspacing="0" cellpadding="0" align="center"><tbody><tr></tr><tr><td class="esd-stripe" esd-custom-block-id="8631" align="center"><table class="es-footer-body" style="background-color: #ffffff;" width="600" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td class="esd-structure es-p20t es-p15b es-p20r es-p20l" align="left"> <!--[if mso]><table width="560" cellpadding="0" cellspacing="0"><tr><td width="270" valign="top"><![endif]--><table cellpadding="0" cellspacing="0" class="es-left" align="left"><tbody><tr><td width="270" class="es-m-p20b esd-container-frame" align="left"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="right" class="esd-block-button"><span class="es-button-border" style="border-radius: 4px; border-color: #5d6980; background: #5d6980; border-width: 1px;"><a href class="es-button" target="_blank" style="color: #ffffff; background: #5d6980; border-color: #5d6980; border-radius: 4px; border-width: 10px 15px;"> Button </a></span></td></tr></tbody></table></td></tr></tbody></table> <!--[if mso]></td><td width="20"></td><td width="270" valign="top"><![endif]--><table cellpadding="0" cellspacing="0" class="es-right" align="right"><tbody><tr><td width="270" align="left" class="esd-container-frame"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="left" class="esd-block-button"><span class="es-button-border" style="border-radius: 4px; border-color: #5d6980; background: #ffffff; border-width: 1px;"><a href class="es-button" target="_blank" style="background: #ffffff; border-color: #ffffff; color: #5d6980; border-radius: 4px; border-width: 10px 15px;"> Button </a></span></td></tr></tbody></table></td></tr></tbody></table> <!--[if mso]></td></tr></table><![endif]--></td></tr><tr><td class="esd-structure es-p30t es-p35b es-p40r es-p40l" align="left" bgcolor="#F9F9F9" style="background-color: #f9f9f9;"> <!--[if mso]><table width="520" cellpadding="0" cellspacing="0"><tr><td width="257" valign="top"><![endif]--><table cellpadding="0" cellspacing="0" class="es-left" align="left"><tbody><tr><td width="257" class="es-m-p20b esd-container-frame" align="left"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="center" class="esd-block-image" style="font-size: 0px;"><a target="_blank"><img class="adapt-img" src="https://web-image.useinsider.com/email-template/image-placeholder.png" alt style="display: block;" width="96"></a></td></tr><tr><td align="center" class="esd-block-text"><p style="color: #c5c6cc;">Image Placeholder</p></td></tr></tbody></table></td></tr></tbody></table> <!--[if mso]></td><td width="0"></td><td width="263" valign="top"><![endif]--><table cellpadding="0" cellspacing="0" class="es-right" align="right"><tbody><tr><td width="263" align="left" class="esd-container-frame"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="center" class="esd-block-image" style="font-size: 0px;"><a target="_blank"><img class="adapt-img" src="https://web-image.useinsider.com/email-template/image-placeholder.png" alt style="display: block;" width="96"></a></td></tr><tr><td align="center" class="esd-block-text"><p style="color: #c5c6cc;">Image Placeholder</p></td></tr></tbody></table></td></tr></tbody></table> <!--[if mso]></td></tr></table><![endif]--></td></tr><tr><td class="esd-structure es-p20t es-p15b es-p20r es-p20l" align="left"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td width="560" class="esd-container-frame" align="center" valign="top"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="left" class="esd-block-text"><p>Text</p></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td class="esd-structure es-p20t es-p20b es-p20r es-p20l" align="left" bgcolor="#2C3546" style="background-color: #2c3546;"><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="esd-container-frame" width="560" valign="top" align="center"><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td align="center" class="esd-block-social" style="font-size:0"><table cellpadding="0" cellspacing="0" class="es-table-not-adapt es-social"><tbody><tr><td align="center" valign="top" class="es-p20r" esd-tmp-icon-type="facebook"><a target="_blank" href="https://facebook.com"><img title="Facebook" src="https://web-image.useinsider.com/email-template/facebook.png" alt="Facebook" width="24" height="24"></a></td><td align="center" valign="top" class="es-p20r" esd-tmp-icon-type="twitter"><a target="_blank" href="https://instagram.com"><img title="Instagram" src="https://web-image.useinsider.com/email-template/instagram.png" alt="Instagram" width="24" height="24"></a></td><td align="center" valign="top" esd-tmp-icon-type="instagram"><a target="_blank" href="https://twitter.com"><img title="Twitter" src="https://web-image.useinsider.com/email-template/twitter.png" alt="Twitter" width="24" height="24"></a></td></tr></tbody></table></td></tr><tr><td align="center" class="esd-block-text es-p20"><p style="font-size: 10px;">ADDRESS LINE, PROVINCE, CITY, COUNTRY - 999999</p></td></tr><tr><td align="center" class="esd-block-text"><p style="color: #959aa2; font-size: 10px;">You can <u>unsubscribe</u> from our emails, if you need to.</p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></body></html>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
t as default
|
|
5
|
+
};
|