@useinsider/guido 1.0.2-beta.2074c65 → 1.0.2-beta.208ffc6

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.
@@ -1,16 +1,16 @@
1
1
  import a from "./Guido.vue2.js";
2
2
  /* empty css */
3
3
  import i from "../_virtual/_plugin-vue2_normalizer.js";
4
- var t = function() {
4
+ var s = function() {
5
5
  var o = this, r = o._self._c, e = o._self._setupProxy;
6
- return r("div", { staticClass: "guido-editor__wrapper", class: { "guido-editor__no-header": e.noHeader } }, [r(e.HeaderWrapper, { ref: "headerWrapperRef" }), e.editorStore.isPreviewModeOpen ? r(e.PreviewContainer) : o._e(), r("div", { directives: [{ name: "show", rawName: "v-show", value: !e.previewStore.isLoaded, expression: "!previewStore.isLoaded" }], staticClass: "guido-editor__container", class: { "guido-editor__no-header": e.noHeader }, attrs: { id: "guido-editor" } }), r(e.Toaster), r(e.SaveAsTemplateDrawer), e.isTestPartner() ? o._e() : r(e.OnboardingWrapper), r(e.LoadingWrapper)], 1);
7
- }, s = [], d = /* @__PURE__ */ i(
6
+ return r("div", { staticClass: "guido-editor__wrapper", class: { "guido-editor__no-header": e.noHeader } }, [r(e.HeaderWrapper, { ref: "headerWrapperRef" }), e.editorStore.isPreviewModeOpen ? r(e.PreviewContainer) : o._e(), r("div", { directives: [{ name: "show", rawName: "v-show", value: !e.previewStore.isLoaded, expression: "!previewStore.isLoaded" }], staticClass: "guido-editor__container", class: { "guido-editor__no-header": e.noHeader }, attrs: { id: "guido-editor" } }), r(e.Toaster), r(e.SaveAsTemplateDrawer), !e.isTestPartner() && !e.isDevMode ? r(e.OnboardingWrapper) : o._e(), r(e.LoadingWrapper)], 1);
7
+ }, t = [], d = /* @__PURE__ */ i(
8
8
  a,
9
- t,
10
9
  s,
10
+ t,
11
11
  !1,
12
12
  null,
13
- "cc1f9260"
13
+ "cebb8ab0"
14
14
  );
15
15
  const v = d.exports;
16
16
  export {
@@ -1,18 +1,18 @@
1
- import { defineComponent as N, defineAsyncComponent as E, ref as H, computed as G, watch as R, onMounted as U, onUnmounted as x } from "vue";
1
+ import { defineComponent as H, defineAsyncComponent as G, ref as M, computed as c, watch as R, onMounted as U, onUnmounted as x } from "vue";
2
2
  import { provideGuidoActions as F } from "../composables/useGuidoActions.js";
3
- import { usePartner as M } from "../composables/usePartner.js";
4
- import { useStripo as z } from "../composables/useStripo.js";
5
- import { DefaultUsername as B, DefaultMessageType as K, DefaultGuidoConfig as O } from "../enums/defaults.js";
6
- import j from "./organisms/base/Toaster.vue.js";
7
- import q from "./organisms/header/HeaderWrapper.vue.js";
8
- import J from "./organisms/LoadingWrapper.vue.js";
9
- import Q from "./organisms/save-as-template/SaveAsTemplateDrawer.vue.js";
10
- import { useStripoApi as V } from "../services/stripoApi.js";
11
- import { useDynamicContentStore as X } from "../stores/dynamic-content.js";
12
- import { useEditorStore as Y } from "../stores/editor.js";
13
- import { usePreviewStore as Z } from "../stores/preview.js";
14
- import $ from "../node_modules/lodash-es/merge.js";
15
- const ge = /* @__PURE__ */ N({
3
+ import { usePartner as z } from "../composables/usePartner.js";
4
+ import { useStripo as B } from "../composables/useStripo.js";
5
+ import { DefaultUsername as K, DefaultMessageType as O, DefaultGuidoConfig as j } from "../enums/defaults.js";
6
+ import q from "./organisms/base/Toaster.vue.js";
7
+ import J from "./organisms/header/HeaderWrapper.vue.js";
8
+ import Q from "./organisms/LoadingWrapper.vue.js";
9
+ import V from "./organisms/save-as-template/SaveAsTemplateDrawer.vue.js";
10
+ import { useStripoApi as X } from "../services/stripoApi.js";
11
+ import { useDynamicContentStore as Y } from "../stores/dynamic-content.js";
12
+ import { useEditorStore as Z } from "../stores/editor.js";
13
+ import { usePreviewStore as $ } from "../stores/preview.js";
14
+ import ee from "../node_modules/lodash-es/merge.js";
15
+ const fe = /* @__PURE__ */ H({
16
16
  __name: "Guido",
17
17
  props: {
18
18
  templateId: null,
@@ -28,40 +28,40 @@ const ge = /* @__PURE__ */ N({
28
28
  },
29
29
  emits: ["dynamic-content:open", "back", "save:start", "save:complete", "on-change", "ready"],
30
30
  setup(P, { expose: I, emit: o }) {
31
- const n = P, L = E(
31
+ const n = P, L = G(
32
32
  () => import("./organisms/email-preview/PreviewContainer.vue.js")
33
- ), _ = E(
33
+ ), _ = G(
34
34
  () => import("./organisms/onboarding/OnboardingWrapper.vue.js")
35
- ), c = H(), r = X(), d = Y(), W = Z(), t = G(() => d.hasChanges), a = n.preselectedDynamicContentList || [], { getPartnerName: m, getProductType: l, isTestPartner: k } = M(), u = () => {
35
+ ), d = M(), r = Y(), m = Z(), W = $(), t = c(() => m.hasChanges), a = n.preselectedDynamicContentList || [], { getPartnerName: l, getProductType: u, isTestPartner: k } = z(), A = c(() => !1), p = () => {
36
36
  var e;
37
- return (e = c.value) == null ? void 0 : e.handleSave(!0);
37
+ return (e = d.value) == null ? void 0 : e.handleSave(!0);
38
38
  }, {
39
- templateId: p,
40
- userId: g,
41
- guidoConfig: f,
42
- html: y = "",
43
- css: v = "",
44
- partnerName: i = m(),
45
- productType: s = l(),
46
- messageType: C = K,
47
- username: h = B
39
+ templateId: g,
40
+ userId: f,
41
+ guidoConfig: y,
42
+ html: v = "",
43
+ css: C = "",
44
+ partnerName: s = l(),
45
+ productType: i = u(),
46
+ messageType: h = O,
47
+ username: w = K
48
48
  } = n;
49
- window.GuidoConfig = $(O, f), window.GuidoConfig.partner = {
50
- partnerName: i,
51
- productType: s,
52
- messageType: C
49
+ window.GuidoConfig = ee(j, y), window.GuidoConfig.partner = {
50
+ partnerName: s,
51
+ productType: i,
52
+ messageType: h
53
53
  };
54
- const { initPlugin: w } = z({
55
- emailId: p,
56
- userId: g,
57
- username: h,
58
- partnerName: i,
59
- productType: s,
54
+ const { initPlugin: S } = B({
55
+ emailId: g,
56
+ userId: f,
57
+ username: w,
58
+ partnerName: s,
59
+ productType: i,
60
60
  preselectedDynamicContentList: a,
61
61
  onReady: () => {
62
62
  console.debug("guido:ready"), o("ready");
63
63
  }
64
- }), { getDefaultTemplate: S } = V(), A = G(() => {
64
+ }), { getDefaultTemplate: D } = X(), N = c(() => {
65
65
  var e;
66
66
  return !((e = window.GuidoConfig) != null && e.useHeader);
67
67
  });
@@ -78,7 +78,7 @@ const ge = /* @__PURE__ */ N({
78
78
  });
79
79
  const b = (e) => {
80
80
  console.debug("dynamic-content:close", e), r.setSelectedDynamicContent(e), document.dispatchEvent(new CustomEvent("dynamic-content:close", { detail: e }));
81
- }, D = () => {
81
+ }, T = () => {
82
82
  console.debug("dynamic-content:close", "Without Data"), document.dispatchEvent(new CustomEvent("dynamic-content:close", { detail: { text: "", value: "" } }));
83
83
  };
84
84
  return R(() => t.value, () => {
@@ -87,18 +87,18 @@ const ge = /* @__PURE__ */ N({
87
87
  console.debug("Guido says happy coding 🎉"), console.debug("🚗 Ka-Chow");
88
88
  try {
89
89
  let e = {
90
- html: y,
91
- css: v,
90
+ html: v,
91
+ css: C,
92
92
  forceRecreate: !0
93
93
  // TODO: It should be false for old templates. We will communicate with Stripo
94
94
  };
95
- e.html || (e = await S()), await w(e), r.selectedDynamicContentList = a;
95
+ e.html || (e = await D()), await S(e), r.selectedDynamicContentList = a;
96
96
  } catch (e) {
97
97
  console.error("Failed to initialize Stripo editor:", e);
98
98
  }
99
99
  document.addEventListener("dynamic-content:open", (e) => {
100
- const T = e;
101
- console.debug("dynamic-content:open", T.detail), o("dynamic-content:open", T.detail);
100
+ const E = e;
101
+ console.debug("dynamic-content:open", E.detail), o("dynamic-content:open", E.detail);
102
102
  });
103
103
  }), x(() => {
104
104
  try {
@@ -109,13 +109,13 @@ const ge = /* @__PURE__ */ N({
109
109
  }), I({
110
110
  dynamicContent: {
111
111
  insert: b,
112
- close: D
112
+ close: T
113
113
  },
114
114
  hasChanges: t,
115
- saveSilent: u
116
- }), { __sfc: !0, PreviewContainer: L, OnboardingWrapper: _, headerWrapperRef: c, dynamicContentStore: r, props: n, editorStore: d, previewStore: W, hasChanges: t, preselectedDynamicContentList: a, getPartnerName: m, getProductType: l, isTestPartner: k, saveSilent: u, templateId: p, userId: g, guidoConfig: f, html: y, css: v, partnerName: i, productType: s, messageType: C, username: h, emit: o, initPlugin: w, getDefaultTemplate: S, noHeader: A, insertDynamicContent: b, closeDynamicContent: D, Toaster: j, HeaderWrapper: q, LoadingWrapper: J, SaveAsTemplateDrawer: Q };
115
+ saveSilent: p
116
+ }), { __sfc: !0, PreviewContainer: L, OnboardingWrapper: _, headerWrapperRef: d, dynamicContentStore: r, props: n, editorStore: m, previewStore: W, hasChanges: t, preselectedDynamicContentList: a, getPartnerName: l, getProductType: u, isTestPartner: k, isDevMode: A, saveSilent: p, templateId: g, userId: f, guidoConfig: y, html: v, css: C, partnerName: s, productType: i, messageType: h, username: w, emit: o, initPlugin: S, getDefaultTemplate: D, noHeader: N, insertDynamicContent: b, closeDynamicContent: T, Toaster: q, HeaderWrapper: J, LoadingWrapper: Q, SaveAsTemplateDrawer: V };
117
117
  }
118
118
  });
119
119
  export {
120
- ge as default
120
+ fe as default
121
121
  };
@@ -1,4 +1,3 @@
1
- import type { DynamicContent } from '@@/Types/generic';
2
1
  export declare const useHtmlValidator: () => {
3
- validateHtml: (html: string, customFields: DynamicContent[], isOnSaveValidation?: boolean) => Promise<boolean>;
2
+ validateHtml: (html: string, customFields: string[], isOnSaveValidation?: boolean) => Promise<boolean>;
4
3
  };
@@ -1,129 +1,119 @@
1
- import { useConfig as H } from "./useConfig.js";
2
- import { TemplateTypes as O } from "../enums/defaults.js";
3
- import { DISPLAY_CONDITIONS_REGEX as V, DISPLAY_CONDITIONS_EXCEPTIONS_REGEX as B, CampaignCouldNotBeSavedKey as _, CanNotMakeAnyChangesForRunningKey as R } from "../enums/html-validator.js";
4
- import { ToasterTypeOptions as c } from "../enums/toaster.js";
1
+ import { useConfig as V } from "./useConfig.js";
2
+ import { TemplateTypes as H } from "../enums/defaults.js";
3
+ import { DISPLAY_CONDITIONS_REGEX as O, DISPLAY_CONDITIONS_EXCEPTIONS_REGEX as B, CampaignCouldNotBeSavedKey as _, CanNotMakeAnyChangesForRunningKey as R } from "../enums/html-validator.js";
4
+ import { ToasterTypeOptions as r } from "../enums/toaster.js";
5
5
  import { useRecommendationStore as D } from "../stores/recommendation.js";
6
6
  import { base64EncodeWithSpecialChars as P } from "../utils/base64.js";
7
- import { useHttp as $ } from "./useHttp.js";
7
+ import { useHttp as X } from "./useHttp.js";
8
8
  import { useToaster as j } from "./useToaster.js";
9
- import { useTranslations as X } from "./useTranslations.js";
9
+ import { useTranslations as z } from "./useTranslations.js";
10
10
  const tt = () => {
11
11
  var d;
12
- const { showToaster: r } = j(), { post: y } = $(), { config: h } = H(), o = X(), m = D(), u = ((d = h.partner) == null ? void 0 : d.messageType) === O.transactional, C = async (t) => {
12
+ const { showToaster: a } = j(), { post: y } = X(), { config: C } = V(), i = z(), m = D(), f = ((d = C.partner) == null ? void 0 : d.messageType) === H.transactional, h = async (t) => {
13
13
  const e = await y(
14
14
  "/newsletter/template-library/check-template-html-body",
15
15
  { html: P(t) }
16
- ), { status: n, message: a } = e.data;
17
- return n || r({
18
- type: c.Alert,
19
- message: n === void 0 ? a : o("newsletter.invalid-url-link-for-toaster")
20
- }), o(_), a === o(R) && r({
21
- type: c.Alert,
22
- message: o("newsletter.already-in-progress")
16
+ ), { status: n, message: c } = e.data;
17
+ return n || a({
18
+ type: r.Alert,
19
+ message: n === void 0 ? c : i("newsletter.invalid-url-link-for-toaster")
20
+ }), i(_), c === i(R) && a({
21
+ type: r.Alert,
22
+ message: i("newsletter.already-in-progress")
23
23
  }), n;
24
24
  }, v = (t) => !["if", "endif", "else", "elif", "now"].includes(t.toLowerCase()), w = (t) => ["if", "endif"].includes(t.toLowerCase()), S = (t, s) => {
25
25
  const e = t.match(/({%(.*?)%})/g);
26
26
  let n = !0;
27
- return e !== null && !u && e.forEach((a) => {
28
- const i = a.slice(2, -2).trim().match(/(".*?"|[^"\s]+)(?=\s*|\s*$)/g);
29
- if (i && i.length > 0) {
30
- const [l] = i;
31
- v(l) && !s.includes(l) && (r({
32
- type: c.Warning,
33
- message: o("custom-fields.invalid-custom-fields")
27
+ return e !== null && !f && e.forEach((c) => {
28
+ const o = c.slice(2, -2).trim().match(/(".*?"|[^"\s]+)(?=\s*|\s*$)/g);
29
+ if (o && o.length > 0) {
30
+ const [l] = o;
31
+ v(l) && !s.includes(l) && (a({
32
+ type: r.Warning,
33
+ message: i("custom-fields.invalid-custom-fields")
34
34
  }), n = !1);
35
35
  }
36
36
  }), n;
37
37
  }, E = async (t, s, e) => {
38
- const n = e ? await C(t) : !0;
38
+ const n = e ? await h(t) : !0;
39
39
  return S(t, s) && n;
40
- }, T = (t) => t.length > 0 ? !0 : (r({
41
- type: c.Warning,
42
- message: o("newsletter.html-content-is-empty")
43
- }), !1), A = (t) => {
40
+ }, T = (t) => t.length > 0 ? !0 : (a({
41
+ type: r.Warning,
42
+ message: i("newsletter.html-content-is-empty")
43
+ }), !1), I = (t) => {
44
44
  const s = (t.match(/{/gm) || []).length, e = (t.match(/}/gm) || []).length;
45
- return s > e && r({
46
- type: c.Warning,
47
- message: o("custom-fields.missing-closing-braces")
48
- }), s < e && r({
49
- type: c.Warning,
50
- message: o("custom-fields.missing-opening-braces")
45
+ return s > e && a({
46
+ type: r.Warning,
47
+ message: i("custom-fields.missing-closing-braces")
48
+ }), s < e && a({
49
+ type: r.Warning,
50
+ message: i("custom-fields.missing-opening-braces")
51
51
  }), s === e;
52
- }, I = (t) => {
52
+ }, A = (t) => {
53
53
  const s = t.match(/{{\s*(\w+\s+((\w+\|\w+)|(\w+)))\s*}}/gm) === null;
54
- return s || r({
55
- type: c.Warning,
56
- message: o("custom-fields.invalid-custom-fields")
54
+ return s || a({
55
+ type: r.Warning,
56
+ message: i("custom-fields.invalid-custom-fields")
57
57
  }), s;
58
- }, F = (t, s) => {
58
+ }, W = (t, s) => {
59
59
  const e = t.match(/{{([a-zA-Z0-9_\s]*)}}/gm);
60
- if (e && !u) {
61
- const n = new Set(s.map((i) => i.toLowerCase())), a = [];
62
- if (e.forEach((i) => {
63
- const l = i.slice(2, -2).trim().toLowerCase();
64
- (!n.has(l) || l === "") && a.push(l);
65
- }), a.length > 0) {
66
- const i = `
67
- <ul>
68
- ${a.map((l) => `<li>${l}</li>`).join("")}
69
- </ul>
70
- `;
71
- return r({
72
- type: c.Alert,
73
- message: o("custom-fields.invalid-custom-fields") + i
74
- }), !1;
75
- }
60
+ if (e && !f) {
61
+ const n = s.map((o) => o.toLowerCase()), c = e.some((o) => {
62
+ const l = o.replace("{{", "").replace("}}", "").trim().toLowerCase();
63
+ return !n.includes(l) || l === "";
64
+ });
65
+ return c && a({
66
+ type: r.Warning,
67
+ message: i("custom-fields.invalid-custom-fields")
68
+ }), !c;
76
69
  }
77
70
  return !0;
78
- }, W = (t) => {
71
+ }, x = (t) => {
79
72
  const s = t.match(/{%(.*?)%}/g), e = [];
80
73
  let n = !0;
81
- if (s && s.forEach((a) => {
82
- const i = a.match(V), l = a.match(B), k = (i == null ? void 0 : i.join("")) || "";
83
- (!i || a !== k) && !l && (r({
84
- type: c.Alert,
85
- message: o("newsletter.display-conditions-invalid-syntax")
86
- }), n = !1), i && i.forEach((f) => {
87
- f.trim() === "=" && (r({
88
- type: c.Alert,
89
- message: o("custom-conditions.wrong-equality-operators")
74
+ if (s && s.forEach((c) => {
75
+ const o = c.match(O), l = c.match(B), L = (o == null ? void 0 : o.join("")) || "";
76
+ (!o || c !== L) && !l && (a({
77
+ type: r.Alert,
78
+ message: i("newsletter.display-conditions-invalid-syntax")
79
+ }), n = !1), o && o.forEach((u) => {
80
+ u.trim() === "=" && (a({
81
+ type: r.Alert,
82
+ message: i("custom-conditions.wrong-equality-operators")
90
83
  }), n = !1);
91
- const g = f.match(/^[a-zA-Z]*$/g);
84
+ const g = u.match(/^[a-zA-Z]*$/g);
92
85
  g && g.forEach((p) => {
93
86
  w(p) && e.push(p);
94
87
  });
95
88
  });
96
89
  }), e.length) {
97
- const a = e.filter((l) => l === "if"), i = e.filter((l) => l === "endif");
98
- a.length !== i.length && (r({
99
- type: c.Alert,
100
- message: o("custom-conditions.missing-if-endif-tag")
90
+ const c = e.filter((l) => l === "if"), o = e.filter((l) => l === "endif");
91
+ c.length !== o.length && (a({
92
+ type: r.Alert,
93
+ message: i("custom-conditions.missing-if-endif-tag")
101
94
  }), n = !1);
102
95
  }
103
96
  return n;
104
97
  }, b = (t) => {
105
98
  const s = (t.match(/{% /gm) || []).length, e = (t.match(/ %}/gm) || []).length, n = s === e;
106
- return n || r({
107
- type: c.Warning,
108
- message: o("custom-conditions.no-space-after-braces")
99
+ return n || a({
100
+ type: r.Warning,
101
+ message: i("custom-conditions.no-space-after-braces")
109
102
  }), n;
110
- }, x = (t) => (t.match(/({%(.*?)%})/g) || []).filter((e) => e.includes("if")).map((e) => (e.match(/{{.*}}/gm) || []).length).reduce((e, n) => e + n, 0) > 0 ? (r({
111
- type: c.Warning,
112
- message: o("custom-conditions.no-braces-inside-if-tag")
113
- }), !1) : !0, L = () => m.recommendationConfigs && Object.values(m.recommendationConfigs).find((s) => s.filters.find((e) => e.value === "")) !== void 0 ? (r({
114
- type: c.Alert,
115
- message: o("newsletter.fill-all-necessary-fields")
116
- }), !1) : !0, N = (t) => {
103
+ }, N = (t) => (t.match(/({%(.*?)%})/g) || []).filter((e) => e.includes("if")).map((e) => (e.match(/{{.*}}/gm) || []).length).reduce((e, n) => e + n, 0) > 0 ? (a({
104
+ type: r.Warning,
105
+ message: i("custom-conditions.no-braces-inside-if-tag")
106
+ }), !1) : !0, k = () => m.recommendationConfigs && Object.values(m.recommendationConfigs).find((s) => s.filters.find((e) => e.value === "")) !== void 0 ? (a({
107
+ type: r.Alert,
108
+ message: i("newsletter.fill-all-necessary-fields")
109
+ }), !1) : !0, F = (t) => {
117
110
  const s = /src="[^"]*\.(svg|pst)"/gm;
118
- return t.match(s) === null ? !0 : (r({
119
- type: c.Alert,
120
- message: o("newsletter.invalid-image-type")
111
+ return t.match(s) === null ? !0 : (a({
112
+ type: r.Alert,
113
+ message: i("newsletter.invalid-image-type")
121
114
  }), !1);
122
115
  };
123
- return { validateHtml: async (t, s, e = !1) => {
124
- const n = s.map((i) => i.value);
125
- return await E(t, n, e) && T(t) && A(t) && I(t) && F(t, n) && W(t) && b(t) && x(t) && L() && N(t);
126
- } };
116
+ return { validateHtml: async (t, s, e = !1) => await E(t, s, e) && T(t) && I(t) && A(t) && W(t, s) && x(t) && b(t) && N(t) && k() && F(t) };
127
117
  };
128
118
  export {
129
119
  tt as useHtmlValidator
@@ -1,12 +1,12 @@
1
- import { useSaveStart as i, useSaveComplete as m } from "./useGuidoActions.js";
2
- import { useTemplatePreparation as n } from "../utils/templatePreparation.js";
3
- import { useHtmlValidator as l } from "./useHtmlValidator.js";
1
+ import { useSaveStart as i, useSaveComplete as l } from "./useGuidoActions.js";
2
+ import { useTemplatePreparation as m } from "../utils/templatePreparation.js";
3
+ import { useHtmlValidator as n } from "./useHtmlValidator.js";
4
4
  const f = () => {
5
- const e = i(), a = m(), { validateHtml: s } = l();
5
+ const e = i(), a = l(), { validateHtml: s } = n();
6
6
  return { save: async (o = !1) => {
7
7
  e();
8
- const { prepareTemplateDetails: r } = n(), t = await r();
9
- if (await s(t.compiledHtml, t.dynamicContentList, !0))
8
+ const { prepareTemplateDetails: r } = m(), t = await r();
9
+ if (await s(t.compiledHtml, [], !0))
10
10
  return o || a(t), t;
11
11
  } };
12
12
  };
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- [data-v-a18ac2d3] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-cc1f9260],.guido-editor__container[data-v-cc1f9260]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-cc1f9260]{height:calc(100vh - 75px)}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
1
+ [data-v-a18ac2d3] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-cebb8ab0],.guido-editor__container[data-v-cebb8ab0]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-cebb8ab0]{height:calc(100vh - 75px)}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "1.0.2-beta.2074c65",
3
+ "version": "1.0.2-beta.208ffc6",
4
4
  "description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
5
5
  "main": "./dist/guido.umd.cjs",
6
6
  "module": "./dist/library.js",