@useinsider/guido 1.0.0-beta.ef5e504 → 1.0.0-beta.f2786f4
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 +30 -294
- package/dist/@types/generic.d.ts +0 -12
- package/dist/App.vue.d.ts +1 -1
- package/dist/components/Guido.vue.d.ts +3 -17
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +20 -57
- package/dist/components/organisms/{header/HeaderWrapper.vue.js → top-bar/Header.vue.js} +7 -7
- package/dist/components/organisms/top-bar/Header.vue2.js +14 -0
- package/dist/components/organisms/top-bar/HeaderLeftSlot.vue.d.ts +2 -0
- package/dist/components/organisms/top-bar/HeaderLeftSlot.vue.js +17 -0
- package/dist/components/organisms/top-bar/HeaderLeftSlot.vue2.js +11 -0
- package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue.d.ts +2 -0
- package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue.js +17 -0
- package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue2.js +19 -0
- package/dist/components/organisms/top-bar/HeaderRightSlot.vue.js +18 -0
- package/dist/components/organisms/top-bar/HeaderRightSlot.vue2.js +12 -0
- package/dist/components/organisms/top-bar/HeaderViewOptions.vue.d.ts +2 -0
- package/dist/components/organisms/top-bar/HeaderViewOptions.vue.js +18 -0
- package/dist/components/organisms/{header/ViewOptions.vue2.js → top-bar/HeaderViewOptions.vue2.js} +3 -3
- package/dist/composables/useCustomInterfaceAppearance.js +9 -45
- package/dist/composables/useStripo.d.ts +2 -2
- package/dist/composables/useStripo.js +56 -66
- package/dist/composables/useTemplates.d.ts +5 -0
- package/dist/composables/useTemplates.js +27 -0
- package/dist/composables/useToaster.d.ts +0 -1
- package/dist/composables/useTranslations.d.ts +3 -1
- package/dist/composables/useTranslations.js +7 -5
- package/dist/enums/defaults.d.ts +0 -2
- package/dist/enums/defaults.js +3 -5
- package/dist/guido.css +1 -1
- package/dist/node_modules/pinia/dist/pinia.js +314 -0
- package/dist/node_modules/pinia/node_modules/vue-demi/lib/index.js +11 -0
- package/dist/static/editor.css.js +182 -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 -5
- package/dist/stores/editor.js +4 -9
- package/package.json +5 -6
- 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/design-preview/DesktopPreview.vue.d.ts +0 -16
- package/dist/components/organisms/design-preview/DesktopPreview.vue.js +0 -22
- package/dist/components/organisms/design-preview/DesktopPreview.vue2.js +0 -28
- package/dist/components/organisms/design-preview/EmailPreview.vue.d.ts +0 -16
- package/dist/components/organisms/design-preview/EmailPreview.vue.js +0 -17
- package/dist/components/organisms/design-preview/EmailPreview.vue2.js +0 -37
- package/dist/components/organisms/design-preview/EmailView.vue.d.ts +0 -18
- package/dist/components/organisms/design-preview/EmailView.vue.js +0 -19
- package/dist/components/organisms/design-preview/EmailView.vue2.js +0 -24
- package/dist/components/organisms/design-preview/InboxView.vue.d.ts +0 -17
- package/dist/components/organisms/design-preview/InboxView.vue.js +0 -19
- package/dist/components/organisms/design-preview/InboxView.vue2.js +0 -23
- package/dist/components/organisms/design-preview/MobilePreview.vue.d.ts +0 -17
- package/dist/components/organisms/design-preview/MobilePreview.vue.js +0 -17
- package/dist/components/organisms/design-preview/MobilePreview.vue2.js +0 -22
- package/dist/components/organisms/header/AmpErrorModal.vue.d.ts +0 -16
- package/dist/components/organisms/header/AmpErrorModal.vue.js +0 -21
- package/dist/components/organisms/header/AmpErrorModal.vue2.js +0 -27
- package/dist/components/organisms/header/AmpToggle.vue.js +0 -19
- package/dist/components/organisms/header/AmpToggle.vue2.js +0 -38
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +0 -14
- package/dist/components/organisms/header/LeftSlot.vue.d.ts +0 -2
- package/dist/components/organisms/header/LeftSlot.vue.js +0 -17
- package/dist/components/organisms/header/LeftSlot.vue2.js +0 -13
- package/dist/components/organisms/header/MiddleSlot.vue.d.ts +0 -2
- package/dist/components/organisms/header/MiddleSlot.vue.js +0 -17
- package/dist/components/organisms/header/MiddleSlot.vue2.js +0 -26
- package/dist/components/organisms/header/RightSlot.vue.d.ts +0 -2
- package/dist/components/organisms/header/RightSlot.vue.js +0 -17
- package/dist/components/organisms/header/RightSlot.vue2.js +0 -21
- package/dist/components/organisms/header/ViewOptions.vue.d.ts +0 -2
- package/dist/components/organisms/header/ViewOptions.vue.js +0 -18
- 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/header/version-history/VersionHistory.vue.d.ts +0 -14
- package/dist/components/organisms/header/version-history/VersionHistory.vue.js +0 -22
- package/dist/components/organisms/header/version-history/VersionHistory.vue2.js +0 -18
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue.d.ts +0 -16
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue.js +0 -18
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue2.js +0 -16
- package/dist/components/organisms/header/version-history/ViewOptions.vue.d.ts +0 -2
- package/dist/components/organisms/header/version-history/ViewOptions.vue.js +0 -18
- package/dist/components/organisms/header/version-history/ViewOptions.vue2.js +0 -23
- package/dist/composables/useActionsApi.d.ts +0 -5
- package/dist/composables/useActionsApi.js +0 -38
- package/dist/composables/useDebounce.d.ts +0 -4
- package/dist/composables/useDebounce.js +0 -12
- package/dist/composables/useExport.d.ts +0 -3
- package/dist/composables/useExport.js +0 -45
- package/dist/composables/useHtmlCompiler.d.ts +0 -4
- package/dist/composables/useHtmlCompiler.js +0 -16
- package/dist/composables/useHttp.js +0 -84
- package/dist/composables/useMobileGmailFit.d.ts +0 -5
- package/dist/composables/useMobileGmailFit.js +0 -69
- package/dist/composables/usePartner.d.ts +0 -4
- package/dist/composables/usePartner.js +0 -16
- package/dist/composables/usePreviewMode.d.ts +0 -6
- package/dist/composables/usePreviewMode.js +0 -19
- package/dist/composables/useToaster.js +0 -37
- package/dist/composables/useVersionHistoryApi.d.ts +0 -8
- package/dist/composables/useVersionHistoryApi.js +0 -53
- 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/enums/gmailMobilePreview.d.ts +0 -7
- package/dist/enums/gmailMobilePreview.js +0 -17
- 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/inbox-mockup.svg +0 -41
- package/dist/mock/api/custom-fonts.d.ts +0 -2
- package/dist/mock/api/default-template.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/phone-mockup.svg +0 -31
- package/dist/services/stripoApi.d.ts +0 -8
- package/dist/services/stripoApi.js +0 -45
- 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/version-history.d.ts +0 -80
- package/dist/stores/version-history.js +0 -28
- package/dist/utils/dateUtil.d.ts +0 -1
- package/dist/utils/dateUtil.js +0 -16
- package/dist/utils/htmlCompiler.d.ts +0 -12
- package/dist/utils/htmlCompiler.js +0 -70
- /package/dist/components/organisms/{header/AmpToggle.vue.d.ts → top-bar/Header.vue.d.ts} +0 -0
- /package/dist/components/organisms/{header/HeaderWrapper.vue.d.ts → top-bar/HeaderRightSlot.vue.d.ts} +0 -0
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { hasInjectionContext as ut } from "../node_modules/vue-demi/lib/index.js";
|
|
2
|
+
import { inject as at, getCurrentInstance as it, set as O, ref as K, reactive as ft, markRaw as j, effectScope as _t, isRef as I, isReactive as J, toRef as T, del as A, nextTick as B, computed as tt, getCurrentScope as lt, onScopeDispose as Et, watch as pt, toRefs as Q } from "vue";
|
|
3
|
+
/*!
|
|
4
|
+
* pinia v2.3.1
|
|
5
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
let R;
|
|
9
|
+
const $ = (t) => R = t, dt = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
10
|
+
/* istanbul ignore next */
|
|
11
|
+
Symbol()
|
|
12
|
+
);
|
|
13
|
+
function V(t) {
|
|
14
|
+
return t && typeof t == "object" && Object.prototype.toString.call(t) === "[object Object]" && typeof t.toJSON != "function";
|
|
15
|
+
}
|
|
16
|
+
var x;
|
|
17
|
+
(function(t) {
|
|
18
|
+
t.direct = "direct", t.patchObject = "patch object", t.patchFunction = "patch function";
|
|
19
|
+
})(x || (x = {}));
|
|
20
|
+
const C = typeof window < "u";
|
|
21
|
+
function et(t, c) {
|
|
22
|
+
for (const r in c) {
|
|
23
|
+
const s = c[r];
|
|
24
|
+
if (!(r in t))
|
|
25
|
+
continue;
|
|
26
|
+
const u = t[r];
|
|
27
|
+
V(u) && V(s) && !I(s) && !J(s) ? t[r] = et(u, s) : O(t, r, s);
|
|
28
|
+
}
|
|
29
|
+
return t;
|
|
30
|
+
}
|
|
31
|
+
const ot = () => {
|
|
32
|
+
};
|
|
33
|
+
function X(t, c, r, s = ot) {
|
|
34
|
+
t.push(c);
|
|
35
|
+
const u = () => {
|
|
36
|
+
const f = t.indexOf(c);
|
|
37
|
+
f > -1 && (t.splice(f, 1), s());
|
|
38
|
+
};
|
|
39
|
+
return !r && lt() && Et(u), u;
|
|
40
|
+
}
|
|
41
|
+
function g(t, ...c) {
|
|
42
|
+
t.slice().forEach((r) => {
|
|
43
|
+
r(...c);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
const ht = (t) => t(), Y = Symbol(), W = Symbol();
|
|
47
|
+
function H(t, c) {
|
|
48
|
+
t instanceof Map && c instanceof Map ? c.forEach((r, s) => t.set(s, r)) : t instanceof Set && c instanceof Set && c.forEach(t.add, t);
|
|
49
|
+
for (const r in c) {
|
|
50
|
+
if (!c.hasOwnProperty(r))
|
|
51
|
+
continue;
|
|
52
|
+
const s = c[r], u = t[r];
|
|
53
|
+
V(u) && V(s) && t.hasOwnProperty(r) && !I(s) && !J(s) ? t[r] = H(u, s) : t[r] = s;
|
|
54
|
+
}
|
|
55
|
+
return t;
|
|
56
|
+
}
|
|
57
|
+
const Nt = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
58
|
+
/* istanbul ignore next */
|
|
59
|
+
Symbol()
|
|
60
|
+
);
|
|
61
|
+
function vt(t) {
|
|
62
|
+
return !V(t) || !t.hasOwnProperty(Nt);
|
|
63
|
+
}
|
|
64
|
+
const { assign: y } = Object;
|
|
65
|
+
function Z(t) {
|
|
66
|
+
return !!(I(t) && t.effect);
|
|
67
|
+
}
|
|
68
|
+
function G(t, c, r, s) {
|
|
69
|
+
const { state: u, actions: f, getters: E } = c, i = r.state.value[t];
|
|
70
|
+
let b;
|
|
71
|
+
function N() {
|
|
72
|
+
!i && (process.env.NODE_ENV === "production" || !s) && O(r.state.value, t, u ? u() : {});
|
|
73
|
+
const p = process.env.NODE_ENV !== "production" && s ? (
|
|
74
|
+
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
75
|
+
Q(K(u ? u() : {}).value)
|
|
76
|
+
) : Q(r.state.value[t]);
|
|
77
|
+
return y(p, f, Object.keys(E || {}).reduce((_, l) => (process.env.NODE_ENV !== "production" && l in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${l}" in store "${t}".`), _[l] = j(tt(() => {
|
|
78
|
+
$(r);
|
|
79
|
+
const v = r._s.get(t);
|
|
80
|
+
if (v._r)
|
|
81
|
+
return E[l].call(v, v);
|
|
82
|
+
})), _), {}));
|
|
83
|
+
}
|
|
84
|
+
return b = M(t, N, c, r, s, !0), b;
|
|
85
|
+
}
|
|
86
|
+
function M(t, c, r = {}, s, u, f) {
|
|
87
|
+
let E;
|
|
88
|
+
const i = y({ actions: {} }, r);
|
|
89
|
+
if (process.env.NODE_ENV !== "production" && !s._e.active)
|
|
90
|
+
throw new Error("Pinia destroyed");
|
|
91
|
+
const b = { deep: !0 };
|
|
92
|
+
process.env.NODE_ENV;
|
|
93
|
+
let N, p, _ = [], l = [], v;
|
|
94
|
+
const D = s.state.value[t];
|
|
95
|
+
!f && !D && (process.env.NODE_ENV === "production" || !u) && O(s.state.value, t, {});
|
|
96
|
+
const w = K({});
|
|
97
|
+
let q;
|
|
98
|
+
function z(o) {
|
|
99
|
+
let e;
|
|
100
|
+
N = p = !1, process.env.NODE_ENV !== "production" && (v = []), typeof o == "function" ? (o(s.state.value[t]), e = {
|
|
101
|
+
type: x.patchFunction,
|
|
102
|
+
storeId: t,
|
|
103
|
+
events: v
|
|
104
|
+
}) : (H(s.state.value[t], o), e = {
|
|
105
|
+
type: x.patchObject,
|
|
106
|
+
payload: o,
|
|
107
|
+
storeId: t,
|
|
108
|
+
events: v
|
|
109
|
+
});
|
|
110
|
+
const a = q = Symbol();
|
|
111
|
+
B().then(() => {
|
|
112
|
+
q === a && (N = !0);
|
|
113
|
+
}), p = !0, g(_, e, s.state.value[t]);
|
|
114
|
+
}
|
|
115
|
+
const st = f ? function() {
|
|
116
|
+
const { state: e } = r, a = e ? e() : {};
|
|
117
|
+
this.$patch((d) => {
|
|
118
|
+
y(d, a);
|
|
119
|
+
});
|
|
120
|
+
} : (
|
|
121
|
+
/* istanbul ignore next */
|
|
122
|
+
process.env.NODE_ENV !== "production" ? () => {
|
|
123
|
+
throw new Error(`🍍: Store "${t}" is built using the setup syntax and does not implement $reset().`);
|
|
124
|
+
} : ot
|
|
125
|
+
);
|
|
126
|
+
function nt() {
|
|
127
|
+
E.stop(), _ = [], l = [], s._s.delete(t);
|
|
128
|
+
}
|
|
129
|
+
const k = (o, e = "") => {
|
|
130
|
+
if (Y in o)
|
|
131
|
+
return o[W] = e, o;
|
|
132
|
+
const a = function() {
|
|
133
|
+
$(s);
|
|
134
|
+
const d = Array.from(arguments), P = [], F = [];
|
|
135
|
+
function rt(h) {
|
|
136
|
+
P.push(h);
|
|
137
|
+
}
|
|
138
|
+
function ct(h) {
|
|
139
|
+
F.push(h);
|
|
140
|
+
}
|
|
141
|
+
g(l, {
|
|
142
|
+
args: d,
|
|
143
|
+
name: a[W],
|
|
144
|
+
store: n,
|
|
145
|
+
after: rt,
|
|
146
|
+
onError: ct
|
|
147
|
+
});
|
|
148
|
+
let S;
|
|
149
|
+
try {
|
|
150
|
+
S = o.apply(this && this.$id === t ? this : n, d);
|
|
151
|
+
} catch (h) {
|
|
152
|
+
throw g(F, h), h;
|
|
153
|
+
}
|
|
154
|
+
return S instanceof Promise ? S.then((h) => (g(P, h), h)).catch((h) => (g(F, h), Promise.reject(h))) : (g(P, S), S);
|
|
155
|
+
};
|
|
156
|
+
return a[Y] = !0, a[W] = e, a;
|
|
157
|
+
}, L = /* @__PURE__ */ j({
|
|
158
|
+
actions: {},
|
|
159
|
+
getters: {},
|
|
160
|
+
state: [],
|
|
161
|
+
hotState: w
|
|
162
|
+
}), U = {
|
|
163
|
+
_p: s,
|
|
164
|
+
// _s: scope,
|
|
165
|
+
$id: t,
|
|
166
|
+
$onAction: X.bind(null, l),
|
|
167
|
+
$patch: z,
|
|
168
|
+
$reset: st,
|
|
169
|
+
$subscribe(o, e = {}) {
|
|
170
|
+
const a = X(_, o, e.detached, () => d()), d = E.run(() => pt(() => s.state.value[t], (P) => {
|
|
171
|
+
(e.flush === "sync" ? p : N) && o({
|
|
172
|
+
storeId: t,
|
|
173
|
+
type: x.direct,
|
|
174
|
+
events: v
|
|
175
|
+
}, P);
|
|
176
|
+
}, y({}, b, e)));
|
|
177
|
+
return a;
|
|
178
|
+
},
|
|
179
|
+
$dispose: nt
|
|
180
|
+
};
|
|
181
|
+
U._r = !1;
|
|
182
|
+
const n = ft(process.env.NODE_ENV !== "production" || (process.env.NODE_ENV !== "production" || typeof __VUE_PROD_DEVTOOLS__ < "u" && __VUE_PROD_DEVTOOLS__) && process.env.NODE_ENV !== "test" && C ? y(
|
|
183
|
+
{
|
|
184
|
+
_hmrPayload: L,
|
|
185
|
+
_customProperties: j(/* @__PURE__ */ new Set())
|
|
186
|
+
// devtools custom properties
|
|
187
|
+
},
|
|
188
|
+
U
|
|
189
|
+
// must be added later
|
|
190
|
+
// setupStore
|
|
191
|
+
) : U);
|
|
192
|
+
s._s.set(t, n);
|
|
193
|
+
const m = (s._a && s._a.runWithContext || ht)(() => s._e.run(() => (E = _t()).run(() => c({ action: k }))));
|
|
194
|
+
for (const o in m) {
|
|
195
|
+
const e = m[o];
|
|
196
|
+
if (I(e) && !Z(e) || J(e))
|
|
197
|
+
process.env.NODE_ENV !== "production" && u ? O(w.value, o, T(m, o)) : f || (D && vt(e) && (I(e) ? e.value = D[o] : H(e, D[o])), O(s.state.value[t], o, e)), process.env.NODE_ENV !== "production" && L.state.push(o);
|
|
198
|
+
else if (typeof e == "function") {
|
|
199
|
+
const a = process.env.NODE_ENV !== "production" && u ? e : k(e, o);
|
|
200
|
+
O(m, o, a), process.env.NODE_ENV !== "production" && (L.actions[o] = e), i.actions[o] = e;
|
|
201
|
+
} else process.env.NODE_ENV !== "production" && Z(e) && (L.getters[o] = f ? (
|
|
202
|
+
// @ts-expect-error
|
|
203
|
+
r.getters[o]
|
|
204
|
+
) : e, C && (m._getters || // @ts-expect-error: same
|
|
205
|
+
(m._getters = j([]))).push(o));
|
|
206
|
+
}
|
|
207
|
+
if (Object.keys(m).forEach((o) => {
|
|
208
|
+
O(n, o, m[o]);
|
|
209
|
+
}), Object.defineProperty(n, "$state", {
|
|
210
|
+
get: () => process.env.NODE_ENV !== "production" && u ? w.value : s.state.value[t],
|
|
211
|
+
set: (o) => {
|
|
212
|
+
if (process.env.NODE_ENV !== "production" && u)
|
|
213
|
+
throw new Error("cannot set hotState");
|
|
214
|
+
z((e) => {
|
|
215
|
+
y(e, o);
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
}), process.env.NODE_ENV !== "production" && (n._hotUpdate = j((o) => {
|
|
219
|
+
n._hotUpdating = !0, o._hmrPayload.state.forEach((e) => {
|
|
220
|
+
if (e in n.$state) {
|
|
221
|
+
const a = o.$state[e], d = n.$state[e];
|
|
222
|
+
typeof a == "object" && V(a) && V(d) ? et(a, d) : o.$state[e] = d;
|
|
223
|
+
}
|
|
224
|
+
O(n, e, T(o.$state, e));
|
|
225
|
+
}), Object.keys(n.$state).forEach((e) => {
|
|
226
|
+
e in o.$state || A(n, e);
|
|
227
|
+
}), N = !1, p = !1, s.state.value[t] = T(o._hmrPayload, "hotState"), p = !0, B().then(() => {
|
|
228
|
+
N = !0;
|
|
229
|
+
});
|
|
230
|
+
for (const e in o._hmrPayload.actions) {
|
|
231
|
+
const a = o[e];
|
|
232
|
+
O(n, e, k(a, e));
|
|
233
|
+
}
|
|
234
|
+
for (const e in o._hmrPayload.getters) {
|
|
235
|
+
const a = o._hmrPayload.getters[e], d = f ? (
|
|
236
|
+
// special handling of options api
|
|
237
|
+
tt(() => ($(s), a.call(n, n)))
|
|
238
|
+
) : a;
|
|
239
|
+
O(n, e, d);
|
|
240
|
+
}
|
|
241
|
+
Object.keys(n._hmrPayload.getters).forEach((e) => {
|
|
242
|
+
e in o._hmrPayload.getters || A(n, e);
|
|
243
|
+
}), Object.keys(n._hmrPayload.actions).forEach((e) => {
|
|
244
|
+
e in o._hmrPayload.actions || A(n, e);
|
|
245
|
+
}), n._hmrPayload = o._hmrPayload, n._getters = o._getters, n._hotUpdating = !1;
|
|
246
|
+
})), (process.env.NODE_ENV !== "production" || typeof __VUE_PROD_DEVTOOLS__ < "u" && __VUE_PROD_DEVTOOLS__) && process.env.NODE_ENV !== "test" && C) {
|
|
247
|
+
const o = {
|
|
248
|
+
writable: !0,
|
|
249
|
+
configurable: !0,
|
|
250
|
+
// avoid warning on devtools trying to display this property
|
|
251
|
+
enumerable: !1
|
|
252
|
+
};
|
|
253
|
+
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((e) => {
|
|
254
|
+
Object.defineProperty(n, e, y({ value: n[e] }, o));
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
return n._r = !0, s._p.forEach((o) => {
|
|
258
|
+
if ((process.env.NODE_ENV !== "production" || typeof __VUE_PROD_DEVTOOLS__ < "u" && __VUE_PROD_DEVTOOLS__) && process.env.NODE_ENV !== "test" && C) {
|
|
259
|
+
const e = E.run(() => o({
|
|
260
|
+
store: n,
|
|
261
|
+
app: s._a,
|
|
262
|
+
pinia: s,
|
|
263
|
+
options: i
|
|
264
|
+
}));
|
|
265
|
+
Object.keys(e || {}).forEach((a) => n._customProperties.add(a)), y(n, e);
|
|
266
|
+
} else
|
|
267
|
+
y(n, E.run(() => o({
|
|
268
|
+
store: n,
|
|
269
|
+
app: s._a,
|
|
270
|
+
pinia: s,
|
|
271
|
+
options: i
|
|
272
|
+
})));
|
|
273
|
+
}), process.env.NODE_ENV !== "production" && n.$state && typeof n.$state == "object" && typeof n.$state.constructor == "function" && !n.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
274
|
+
state: () => new MyClass()
|
|
275
|
+
Found in store "${n.$id}".`), D && f && r.hydrate && r.hydrate(n.$state, D), N = !0, p = !0, n;
|
|
276
|
+
}
|
|
277
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
278
|
+
// @__NO_SIDE_EFFECTS__
|
|
279
|
+
function mt(t, c, r) {
|
|
280
|
+
let s, u;
|
|
281
|
+
const f = typeof c == "function";
|
|
282
|
+
s = t, u = f ? r : c;
|
|
283
|
+
function E(i, b) {
|
|
284
|
+
const N = ut();
|
|
285
|
+
if (i = // in test mode, ignore the argument provided as we can always retrieve a
|
|
286
|
+
// pinia instance with getActivePinia()
|
|
287
|
+
(process.env.NODE_ENV === "test" && R && R._testing ? null : i) || (N ? at(dt, null) : null), i && $(i), process.env.NODE_ENV !== "production" && !R)
|
|
288
|
+
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
289
|
+
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
290
|
+
This will fail in production.`);
|
|
291
|
+
i = R, i._s.has(s) || (f ? M(s, c, u, i) : G(s, u, i), process.env.NODE_ENV !== "production" && (E._pinia = i));
|
|
292
|
+
const p = i._s.get(s);
|
|
293
|
+
if (process.env.NODE_ENV !== "production" && b) {
|
|
294
|
+
const _ = "__hot:" + s, l = f ? M(_, c, u, i, !0) : G(_, y({}, u), i, !0);
|
|
295
|
+
b._hotUpdate(l), delete i.state.value[_], i._s.delete(_);
|
|
296
|
+
}
|
|
297
|
+
if (process.env.NODE_ENV !== "production" && C) {
|
|
298
|
+
const _ = it();
|
|
299
|
+
if (_ && _.proxy && // avoid adding stores that are just built for hot module replacement
|
|
300
|
+
!b) {
|
|
301
|
+
const l = _.proxy, v = "_pStores" in l ? l._pStores : l._pStores = {};
|
|
302
|
+
v[s] = p;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
return p;
|
|
306
|
+
}
|
|
307
|
+
return E.$id = s, E;
|
|
308
|
+
}
|
|
309
|
+
export {
|
|
310
|
+
x as MutationType,
|
|
311
|
+
mt as defineStore,
|
|
312
|
+
$ as setActivePinia,
|
|
313
|
+
vt as shouldHydrate
|
|
314
|
+
};
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
const n = `:host {
|
|
2
|
+
--guido-primary-color: #0a2ecc;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.label {
|
|
6
|
+
font-size: 13px;
|
|
7
|
+
color: #292929;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.stacked-panel-title {
|
|
11
|
+
font-size: 18px;
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
color: #2c3546
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.stacked-panel-item {
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
border: 1px solid #dcdfe6;
|
|
19
|
+
box-shadow: 0 0 0 0 #e1e1e1,0 15px 35px -5px rgba(0, 0, 0, .1),0 8px 10px -6px rgba(0, 0, 0, .1)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** SEGMENT BUTTON */
|
|
23
|
+
ue-switcher input {
|
|
24
|
+
border-radius: 26px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ue-switcher input:before {
|
|
28
|
+
border-radius: 22px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tabs-header {
|
|
32
|
+
padding: 0;
|
|
33
|
+
column-gap: 0;
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tabs-header button {
|
|
38
|
+
background-color: #f7f9fa;
|
|
39
|
+
outline: none;
|
|
40
|
+
padding: 8px 16px;
|
|
41
|
+
border: 1px solid #dcdee6;
|
|
42
|
+
height: 42px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tabs-header button ue-icon-component.icon-button {
|
|
46
|
+
color: #2c3546;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.tabs-header button:not(:last-child),
|
|
50
|
+
.tabs-header button:not(:first-child) {
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.tabs-header button:first-child {
|
|
55
|
+
border-radius: 4px 0 0 4px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.tabs-header button:last-child {
|
|
59
|
+
border-radius: 0 4px 4px 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.tabs-header button.checked {
|
|
63
|
+
background-color: #c2ddff;
|
|
64
|
+
color: var(--guido-primary-color);
|
|
65
|
+
border-color: var(--guido-primary-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tabs-header button.checked ue-icon-component.icon-button {
|
|
69
|
+
color: var(--guido-primary-color);
|
|
70
|
+
}
|
|
71
|
+
/** SEGMENT BUTTON */
|
|
72
|
+
|
|
73
|
+
/** BUTTON */
|
|
74
|
+
.button:not(:disabled,.disabled):active {
|
|
75
|
+
transform: none !important;
|
|
76
|
+
}
|
|
77
|
+
/** BUTTON */
|
|
78
|
+
|
|
79
|
+
/** BUTTON GROUP */
|
|
80
|
+
.button-group {
|
|
81
|
+
padding: 0;
|
|
82
|
+
column-gap: 0;
|
|
83
|
+
border-radius: 0;
|
|
84
|
+
background-color: transparent;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.button-group .button {
|
|
88
|
+
background-color: #f7f9fa;
|
|
89
|
+
outline: none;
|
|
90
|
+
padding: 8px 12px;
|
|
91
|
+
border: 1px solid #dcdee6;
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
height: 42px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.button-group .button ue-icon-component.icon-button {
|
|
97
|
+
color: #2c3546;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.button-group > div:first-of-type .button {
|
|
101
|
+
border-radius: 4px 0 0 4px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.button-group > *:last-child .button {
|
|
105
|
+
border-radius: 0 4px 4px 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
ue-check-buttons input:checked + .button,
|
|
109
|
+
ue-radio-buttons input:checked + .button {
|
|
110
|
+
background-color: #c2ddff;
|
|
111
|
+
color: var(--guido-primary-color);
|
|
112
|
+
border-color: var(--guido-primary-color);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
ue-check-buttons input:checked + .button ue-icon-component.icon-button,
|
|
116
|
+
ue-radio-buttons input:checked + .button ue-icon-component.icon-button {
|
|
117
|
+
color: var(--guido-primary-color);
|
|
118
|
+
}
|
|
119
|
+
/** BUTTON GROUP */
|
|
120
|
+
|
|
121
|
+
/** COMBOBOX */
|
|
122
|
+
.control-shadow-wrapper:has(.button[role="combobox"]) {
|
|
123
|
+
border-radius: 0;
|
|
124
|
+
padding: 0;
|
|
125
|
+
background: transparent;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.button[role="combobox"] {
|
|
129
|
+
background-color: #f9f9f9;
|
|
130
|
+
border: 1px solid #e1e1e1;
|
|
131
|
+
border-radius: 4px;
|
|
132
|
+
box-shadow: none;
|
|
133
|
+
min-height: 42px;
|
|
134
|
+
padding: 8px;
|
|
135
|
+
color: #292929;
|
|
136
|
+
text-align: left;
|
|
137
|
+
outline: none;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.button[role="combobox"].on {
|
|
144
|
+
background-color: #f9f9f9;
|
|
145
|
+
border-color: var(--guido-primary-color);
|
|
146
|
+
box-shadow: 0 0 0 3px #b5c1f1 !important;
|
|
147
|
+
}
|
|
148
|
+
/** COMBOBOX */
|
|
149
|
+
|
|
150
|
+
/** BASE INPUT */
|
|
151
|
+
.base-input {
|
|
152
|
+
border: 1px solid #e1e1e1;
|
|
153
|
+
border-radius: 4px;
|
|
154
|
+
background-color: #f9f9f9;
|
|
155
|
+
align-items: center;
|
|
156
|
+
height: 42px;
|
|
157
|
+
max-height: 42px;
|
|
158
|
+
box-sizing: content-box;
|
|
159
|
+
outline: none;
|
|
160
|
+
resize: vertical;
|
|
161
|
+
padding: 8px;
|
|
162
|
+
transition: none !important;
|
|
163
|
+
color: #292929;
|
|
164
|
+
box-shadow: none !important;
|
|
165
|
+
box-sizing: border-box !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.base-input:hover:not(:disabled) {
|
|
169
|
+
background-color: #f9f9f9;
|
|
170
|
+
border-color: #7a92f2;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.base-input:focus:not(:disabled) {
|
|
174
|
+
background-color: #f9f9f9;
|
|
175
|
+
border-color: #0a2ecc;
|
|
176
|
+
box-shadow: 0 0 0 3px #b5c1f1 !important;
|
|
177
|
+
}
|
|
178
|
+
/** BASE INPUT */
|
|
179
|
+
`;
|
|
180
|
+
export {
|
|
181
|
+
n as default
|
|
182
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
const t = `/* CONFIG STYLES Please do not delete and edit CSS styles below */ /* IMPORTANT THIS STYLES MUST BE ON FINAL EMAIL */ #outlook a { padding: 0; }.ExternalClass { width: 100%; }.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; }.es-button { mso-style-priority: 100 !important; text-decoration: none !important; }a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; }.es-desk-hidden { display: none; float: left; overflow: hidden; width: 0; max-height: 0; line-height: 0; mso-hide: all; }/* END OF IMPORTANT */ html, body { width: 100%; font-family: arial, 'helvetica neue', helvetica, sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }table { mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px; }table td, html, body, .es-wrapper { padding: 0; Margin: 0; }.es-content, .es-header, .es-footer { table-layout: fixed !important; width: 100%; }img { display: block; border: 0; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; }table tr { border-collapse: collapse; }p, hr { Margin: 0; }h1, h2, h3, h4, h5 { Margin: 0; line-height: 120%; mso-line-height-rule: exactly; font-family: arial, 'helvetica neue', helvetica, sans-serif; }p, ul li, ol li, a { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; mso-line-height-rule: exactly; }.es-left { float: left; }.es-right { float: right; }.es-p5 { padding: 5px; }.es-p5t { padding-top: 5px; }.es-p5b { padding-bottom: 5px; }.es-p5l { padding-left: 5px; }.es-p5r { padding-right: 5px; }.es-p10 { padding: 10px; }.es-p10t { padding-top: 10px; }.es-p10b { padding-bottom: 10px; }.es-p10l { padding-left: 10px; }.es-p10r { padding-right: 10px; }.es-p15 { padding: 15px; }.es-p15t { padding-top: 15px; }.es-p15b { padding-bottom: 15px; }.es-p15l { padding-left: 15px; }.es-p15r { padding-right: 15px; }.es-p20 { padding: 20px; }.es-p20t { padding-top: 20px; }.es-p20b { padding-bottom: 20px; }.es-p20l { padding-left: 20px; }.es-p20r { padding-right: 20px; }.es-p25 { padding: 25px; }.es-p25t { padding-top: 25px; }.es-p25b { padding-bottom: 25px; }.es-p25l { padding-left: 25px; }.es-p25r { padding-right: 25px; }.es-p30 { padding: 30px; }.es-p30t { padding-top: 30px; }.es-p30b { padding-bottom: 30px; }.es-p30l { padding-left: 30px; }.es-p30r { padding-right: 30px; }.es-p35 { padding: 35px; }.es-p35t { padding-top: 35px; }.es-p35b { padding-bottom: 35px; }.es-p35l { padding-left: 35px; }.es-p35r { padding-right: 35px; }.es-p40 { padding: 40px; }.es-p40t { padding-top: 40px; }.es-p40b { padding-bottom: 40px; }.es-p40l { padding-left: 40px; }.es-p40r { padding-right: 40px; }.es-menu td { border: 0; }.es-menu td a img { display: inline !important; }/* END CONFIG STYLES */ a { text-decoration: underline; }p, ul li, ol li { font-family: arial, 'helvetica neue', helvetica, sans-serif; line-height: 150%; }ul li, ol li { Margin-bottom: 15px; }.es-menu td a { text-decoration: none; display: block; }.es-wrapper { width: 100%; height: 100%; background-image: ; background-repeat: repeat; background-position: center top; }.es-wrapper-color { background-color: #f6f6f6; }.es-header { background-color: transparent; background-image: ; background-repeat: repeat; background-position: center top; }.es-header-body { background-color: transparent; }.es-header-body p, .es-header-body ul li, .es-header-body ol li { color: #333333; font-size: 14px; }.es-header-body a { color: #333333; font-size: 14px; }.es-content-body { background-color: #ffffff; }.es-content-body p, .es-content-body ul li, .es-content-body ol li { color: #333333; font-size: 14px; }.es-content-body a { color: #333333; font-size: 14px; }.es-footer { background-color: transparent; background-image: ; background-repeat: repeat; background-position: center top; }.es-footer-body { background-color: #333333; }.es-footer-body p, .es-footer-body ul li, .es-footer-body ol li { color: #ffffff; font-size: 14px; }.es-footer-body a { color: #ffffff; font-size: 14px; }.es-infoblock, .es-infoblock p, .es-infoblock ul li, .es-infoblock ol li { line-height: 120%; font-size: 12px; color: #cccccc; }.es-infoblock a { font-size: 12px; color: #cccccc; }h1 { font-size: 30px; font-style: normal; font-weight: normal; color: #333333; }h2 { font-size: 24px; font-style: normal; font-weight: normal; color: #333333; }h3 { font-size: 20px; font-style: normal; font-weight: normal; color: #333333; }.es-header-body h1 a, .es-content-body h1 a, .es-footer-body h1 a { font-size: 30px; }.es-header-body h2 a, .es-content-body h2 a, .es-footer-body h2 a { font-size: 24px; }.es-header-body h3 a, .es-content-body h3 a, .es-footer-body h3 a { font-size: 20px; }a.es-button, button.es-button { border-style: solid; border-color: #f0f0f0; border-width: 5px 30px 5px 30px; display: inline-block; background: #f0f0f0; border-radius: 0px; font-size: 16px; font-family: arial, 'helvetica neue', helvetica, sans-serif; font-weight: normal; font-style: normal; line-height: 120%; color: #333333; text-decoration: none; width: auto; text-align: center; }.es-button-border { border-style: solid solid solid solid; border-color: #808080 #808080 #808080 #808080; background: #f0f0f0; border-width: 2px 2px 2px 2px; display: inline-block; border-radius: 0px; width: auto; }.ins-trim-text {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
text-overflow: ellipsis;
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
padding-top: 10px;
|
|
6
|
+
padding-bottom: 10px;
|
|
7
|
+
}/* RESPONSIVE STYLES Please do not delete and edit CSS styles below. If you don't need responsive layout, please delete this section. */ @media only screen and (max-width: 600px) {p, ul li, ol li, a { line-height: 150% !important; }h1 { font-size: 30px !important; text-align: center; line-height: 120% !important; }h2 { font-size: 26px !important; text-align: center; line-height: 120% !important; }h3 { font-size: 20px !important; text-align: center; line-height: 120% !important; }.es-header-body h1 a, .es-content-body h1 a, .es-footer-body h1 a { font-size: 30px !important; }.es-header-body h2 a, .es-content-body h2 a, .es-footer-body h2 a { font-size: 26px !important; }.es-header-body h3 a, .es-content-body h3 a, .es-footer-body h3 a { font-size: 20px !important; }.es-menu td a { font-size: 13px !important; }.es-header-body p, .es-header-body ul li, .es-header-body ol li, .es-header-body a { font-size: 16px !important; }.es-content-body p, .es-content-body ul li, .es-content-body ol li, .es-content-body a { font-size: 16px !important; }.es-footer-body p, .es-footer-body ul li, .es-footer-body ol li, .es-footer-body a { font-size: 16px !important; }.es-infoblock p, .es-infoblock ul li, .es-infoblock ol li, .es-infoblock a { font-size: 12px !important; }*[class="gmail-fix"] { display: none !important; }.es-m-txt-c, .es-m-txt-c h1, .es-m-txt-c h2, .es-m-txt-c h3 { text-align: center !important; }.es-m-txt-r, .es-m-txt-r h1, .es-m-txt-r h2, .es-m-txt-r h3 { text-align: right !important; }.es-m-txt-l, .es-m-txt-l h1, .es-m-txt-l h2, .es-m-txt-l h3 { text-align: left !important; }.es-m-txt-r img, .es-m-txt-c img, .es-m-txt-l img { display: inline !important; }.es-button-border { display: block !important; }a.es-button, button.es-button { font-size: 16px !important; display: block !important; border-width: 10px 0px 10px 0px !important; }.es-btn-fw { border-width: 10px 0px !important; text-align: center !important; }.es-adaptive table, .es-btn-fw, .es-btn-fw-brdr, .es-left, .es-right { width: 100% !important; }.ext-product-button,
|
|
8
|
+
.ext-product-price p,
|
|
9
|
+
.ext-product-original-price p,
|
|
10
|
+
.ext-product-omnibus-price p,
|
|
11
|
+
.ext-product-omnibus-discount p {
|
|
12
|
+
width: 100% !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ext-product-button a {
|
|
16
|
+
max-width: 100% !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ext-product-name.ins-vertical p {
|
|
20
|
+
height: 90px !important;
|
|
21
|
+
overflow: hidden !important;
|
|
22
|
+
word-break: break-all !important;
|
|
23
|
+
font-size: 12px !important;
|
|
24
|
+
line-height: 150% !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ext-product-name.ins-vertical {
|
|
28
|
+
height: 100px !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ext-product-omnibus-price.ins-vertical p {
|
|
32
|
+
height: 30px !important;
|
|
33
|
+
overflow: hidden !important;
|
|
34
|
+
word-break: break-all !important;
|
|
35
|
+
font-size: 10px !important;
|
|
36
|
+
line-height: 150% !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ext-product-omnibus-price.ins-vertical {
|
|
40
|
+
height: 50px !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ext-product-omnibus-discount.ins-vertical p {
|
|
44
|
+
height: 30px !important;
|
|
45
|
+
overflow: hidden !important;
|
|
46
|
+
word-break: break-all !important;
|
|
47
|
+
font-size: 10px !important;
|
|
48
|
+
line-height: 150% !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ext-product-omnibus-discount.ins-vertical {
|
|
52
|
+
height: 50px !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ext-product-name p {
|
|
56
|
+
height: unset !important;
|
|
57
|
+
width: 100% !important;
|
|
58
|
+
overflow: hidden !important;
|
|
59
|
+
font-size: 16px !important;
|
|
60
|
+
line-height: 150% !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ext-product-name {
|
|
64
|
+
height: unset !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ext-product-price.ins-vertical p {
|
|
68
|
+
overflow: hidden !important;
|
|
69
|
+
word-break: break-all !important;
|
|
70
|
+
height: 36px !important;
|
|
71
|
+
font-size: 12px !important;
|
|
72
|
+
line-height: 150% !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ext-product-price.ins-vertical {
|
|
76
|
+
height: 56px !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ext-product-original-price.ins-vertical p {
|
|
80
|
+
overflow: hidden !important;
|
|
81
|
+
word-break: break-all !important;
|
|
82
|
+
height: 36px !important;
|
|
83
|
+
font-size: 12px !important;
|
|
84
|
+
line-height: 150% !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ext-product-original-price.ins-vertical {
|
|
88
|
+
height: 56px !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ext-ins-attr.ins-vertical p {
|
|
92
|
+
overflow: hidden !important;
|
|
93
|
+
word-break: break-all !important;
|
|
94
|
+
height: 54px !important;
|
|
95
|
+
font-size: 12px !important;
|
|
96
|
+
line-height: 150% !important;
|
|
97
|
+
width: 100% !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ext-ins-attr.ins-vertical {
|
|
101
|
+
height: 74px !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ext-product-button a.ins-vertical {
|
|
105
|
+
word-break: break-all !important;
|
|
106
|
+
font-size: 12px !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ext-product-image.ins-vertical {
|
|
110
|
+
height: unset !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
td.esdev-mso-td.ins-vertical {
|
|
114
|
+
vertical-align: bottom !important;
|
|
115
|
+
}.es-content table, .es-header table, .es-footer table, .es-content, .es-footer, .es-header { width: 100% !important; max-width: 600px !important; }.es-adapt-td { display: block !important; width: 100% !important; }.adapt-img { width: 100% !important; height: auto !important; }.es-m-p0 { padding: 0px !important; }.es-m-p0r { padding-right: 0px !important; }.es-m-p0l { padding-left: 0px !important; }.es-m-p0t { padding-top: 0px !important; }.es-m-p0b { padding-bottom: 0 !important; }.es-m-p20b { padding-bottom: 20px !important; }.es-mobile-hidden, .es-hidden { display: none !important; }.es-desk-hidden { display: table-row !important; width: auto !important; overflow: visible !important; float: none !important; max-height: inherit !important; line-height: inherit !important; }.es-desk-menu-hidden { display: table-cell !important; }table.es-table-not-adapt, .esd-block-html table { width: auto !important; }table.es-social { display: inline-block !important; }table.es-social td { display: inline-block !important; } }/* END RESPONSIVE STYLES */.ext-product-name p { -webkit-line-clamp:3 !important;-webkit-box-orient:vertical !important;overflow:hidden !important; }.ext-product-price p { height:26px !important; }
|
|
116
|
+
`;
|
|
117
|
+
export {
|
|
118
|
+
t as default
|
|
119
|
+
};
|
package/dist/stores/editor.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export declare const useEditorStore: import("pinia").StoreDefinition<"editor", {
|
|
2
2
|
isCodeEditorOpen: boolean;
|
|
3
|
-
isVersionHistoryOpen: boolean;
|
|
4
|
-
isPreviewModeOpen: boolean;
|
|
5
3
|
editorVisualMode: string;
|
|
6
|
-
emailFormat: "html" | "amp";
|
|
7
|
-
ampHtml: string | null;
|
|
8
|
-
ampErrors: string[] | null;
|
|
9
4
|
}, {}, {}>;
|