@useinsider/guido 3.1.1-beta.57fcdc6 → 3.1.1-beta.6b60896

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.
@@ -114,7 +114,9 @@ const m = {
114
114
  /** Enable unsubscribe block */
115
115
  unsubscribe: e(a(), !0),
116
116
  /** Disable modules panel in the editor */
117
- modulesDisabled: e(a(), !1)
117
+ modulesDisabled: e(a(), !1),
118
+ /** Enable Liquid template syntax */
119
+ liquidSyntax: e(a(), !1)
118
120
  }), E = n([
119
121
  "amp-accordion",
120
122
  "amp-carousel",
@@ -191,12 +193,12 @@ const m = {
191
193
  M,
192
194
  N,
193
195
  D
194
- ]), U = o({
196
+ ]), x = o({
195
197
  /** Custom compiler rules to apply */
196
198
  customRules: e(c(v), []),
197
199
  /** Skip default compiler rules */
198
200
  ignoreDefaultRules: e(a(), !1)
199
- }), x = o({
201
+ }), U = o({
200
202
  /**
201
203
  * External validation handler called before save completes.
202
204
  * Return false to cancel the save operation.
@@ -225,15 +227,15 @@ const m = {
225
227
  /** Block configuration */
226
228
  blocks: e(O, {}),
227
229
  /** Compiler configuration */
228
- compiler: e(U, {}),
230
+ compiler: e(x, {}),
229
231
  /** Callbacks and event handlers */
230
- callbacks: e(x, {})
232
+ callbacks: e(U, {})
231
233
  });
232
234
  export {
233
235
  O as BlocksSchema,
234
- x as CallbacksSchema,
236
+ U as CallbacksSchema,
235
237
  v as CompilerRuleSchema,
236
- U as CompilerSchema,
238
+ x as CompilerSchema,
237
239
  g as CustomBlockTypeSchema,
238
240
  D as CustomRuleSchema,
239
241
  E as DefaultBlockTypeSchema,
@@ -1,22 +1,23 @@
1
- import { useRecommendation as $ } from "../../../composables/useRecommendation.js";
2
- function b(e, u, r, o) {
3
- const n = `{{${e}_${u}_${r}}}`, t = `{{${e}_${u}_currency}}`;
4
- return o === "before" ? `${t} ${n}` : `${n} ${t}`;
1
+ import { useConfig as S } from "../../../composables/useConfig.js";
2
+ import { useRecommendation as _ } from "../../../composables/useRecommendation.js";
3
+ function y(e, n, r, o, s = "") {
4
+ const u = `{{${s}${e}_${n}_${r}}}`, t = `{{${s}${e}_${n}_currency}}`;
5
+ return o === "before" ? `${t} ${u}` : `${u} ${t}`;
5
6
  }
6
- function p(e, u, r, o, n) {
7
- switch (u) {
7
+ function p(e, n, r, o, s, u) {
8
+ switch (n) {
8
9
  case "productImage": {
9
10
  const t = e.querySelector("img");
10
- t && (t.setAttribute("src", `{{${r}_${o}_image_url}}`), t.setAttribute("alt", `{{${r}_${o}_name}}`));
11
+ t && (t.setAttribute("src", `{{${u}${r}_${o}_image_url}}`), t.setAttribute("alt", `{{${u}${r}_${o}_name}}`));
11
12
  const c = e.querySelector("a");
12
- c && c.setAttribute("href", `{{${r}_${o}_url}}`);
13
+ c && c.setAttribute("href", `{{${u}${r}_${o}_url}}`);
13
14
  break;
14
15
  }
15
16
  case "productName": {
16
17
  const t = e.querySelector("p");
17
18
  if (t) {
18
19
  const c = t.querySelector("strong") || t;
19
- c.textContent = `{{${r}_${o}_name}}`;
20
+ c.textContent = `{{${u}${r}_${o}_name}}`;
20
21
  }
21
22
  break;
22
23
  }
@@ -24,7 +25,7 @@ function p(e, u, r, o, n) {
24
25
  const t = e.querySelector("p");
25
26
  if (t) {
26
27
  const c = t.querySelector("strong") || t;
27
- c.textContent = b(r, o, "price", n);
28
+ c.textContent = y(r, o, "price", s, u);
28
29
  }
29
30
  break;
30
31
  }
@@ -32,24 +33,25 @@ function p(e, u, r, o, n) {
32
33
  const t = e.querySelector("p");
33
34
  if (t) {
34
35
  const c = t.querySelector("strong") || t;
35
- c.textContent = b(
36
+ c.textContent = y(
36
37
  r,
37
38
  o,
38
39
  "original_price",
39
- n
40
+ s,
41
+ u
40
42
  ), t.setAttribute("product-attr", "discount");
41
43
  }
42
44
  break;
43
45
  }
44
46
  case "productButton": {
45
47
  const t = e.querySelector("a");
46
- t && t.setAttribute("href", `{{${r}_${o}_url}}`);
48
+ t && t.setAttribute("href", `{{${u}${r}_${o}_url}}`);
47
49
  break;
48
50
  }
49
51
  case "productOmnibusPrice": {
50
52
  const t = e.querySelector(".omnibus-price-value");
51
53
  if (t) {
52
- t.textContent = `{{${r}_${o}_omnibus_price}}`;
54
+ t.textContent = `{{${u}${r}_${o}_omnibus_price}}`;
53
55
  const c = t.closest("p");
54
56
  c && (c.setAttribute("product-attr", "omnibus_price"), c.setAttribute("composition", "true"));
55
57
  }
@@ -58,7 +60,7 @@ function p(e, u, r, o, n) {
58
60
  case "productOmnibusDiscount": {
59
61
  const t = e.querySelector(".omnibus-discount-value");
60
62
  if (t) {
61
- t.textContent = `{{${r}_${o}_omnibus_discount}}`;
63
+ t.textContent = `{{${u}${r}_${o}_omnibus_discount}}`;
62
64
  const c = t.closest("p");
63
65
  c && (c.setAttribute("product-attr", "omnibus_discount"), c.setAttribute("composition", "true"));
64
66
  }
@@ -67,66 +69,66 @@ function p(e, u, r, o, n) {
67
69
  default: {
68
70
  const t = e.getAttribute("product-attr") ? e : e.querySelector("[product-attr]");
69
71
  if (t) {
70
- const c = t.getAttribute("product-attr"), s = t.querySelector("p");
71
- if (s) {
72
- const i = s.querySelector("strong") || s;
73
- i.textContent = `{{${r}_${o}_${c}}}`;
72
+ const c = t.getAttribute("product-attr"), i = t.querySelector("p");
73
+ if (i) {
74
+ const a = i.querySelector("strong") || i;
75
+ a.textContent = `{{${u}${r}_${o}_${c}}}`;
74
76
  }
75
77
  }
76
78
  break;
77
79
  }
78
80
  }
79
81
  }
80
- function S(e, u, r) {
81
- e.querySelectorAll(".recommendation-product-row").forEach((n, t) => {
82
- n.querySelectorAll("[data-attribute-type]").forEach((s) => {
83
- const i = s.getAttribute("data-attribute-type") || "", l = s.querySelectorAll(".attribute-cell");
84
- l.length > 0 ? l.forEach((a) => {
85
- p(a, i, u, t, r);
86
- }) : p(s, i, u, t, r);
82
+ function q(e, n, r, o) {
83
+ e.querySelectorAll(".recommendation-product-row").forEach((u, t) => {
84
+ u.querySelectorAll("[data-attribute-type]").forEach((i) => {
85
+ const a = i.getAttribute("data-attribute-type") || "", b = i.querySelectorAll(".attribute-cell");
86
+ b.length > 0 ? b.forEach((l) => {
87
+ p(l, a, n, t, r, o);
88
+ }) : p(i, a, n, t, r, o);
87
89
  });
88
90
  });
89
91
  }
90
- function _(e, u, r) {
91
- const o = e.querySelectorAll(".recommendation-product-row");
92
- if (!o.length)
92
+ function d(e, n, r, o) {
93
+ const s = e.querySelectorAll(".recommendation-product-row");
94
+ if (!s.length)
93
95
  return;
94
- const [n] = o, t = n.querySelector("[data-attribute-type]"), c = t ? t.querySelectorAll(".attribute-cell").length : 1;
95
- o.forEach((s, i) => {
96
- s.querySelectorAll("[data-attribute-type]").forEach((a) => {
97
- const f = a.getAttribute("data-attribute-type") || "";
98
- a.querySelectorAll(".attribute-cell").forEach((y, A) => {
99
- const m = i * c + A;
100
- p(y, f, u, m, r);
96
+ const [u] = s, t = u.querySelector("[data-attribute-type]"), c = t ? t.querySelectorAll(".attribute-cell").length : 1;
97
+ s.forEach((i, a) => {
98
+ i.querySelectorAll("[data-attribute-type]").forEach((l) => {
99
+ const $ = l.getAttribute("data-attribute-type") || "";
100
+ l.querySelectorAll(".attribute-cell").forEach((A, f) => {
101
+ const m = a * c + f;
102
+ p(A, $, n, m, r, o);
101
103
  });
102
104
  });
103
105
  });
104
106
  }
105
- function q(e, u, r) {
106
- e.querySelectorAll(".ins-recommendation-product-container").forEach((n) => {
107
- _(n, u, r);
107
+ function g(e, n, r, o) {
108
+ e.querySelectorAll(".ins-recommendation-product-container").forEach((u) => {
109
+ d(u, n, r, o);
108
110
  });
109
111
  }
110
- function d(e, u) {
111
- const r = e.getAttribute("data-layout") || "grid", o = e.getAttribute("currency-alignment") || "after";
112
- r === "list" ? S(e, u, o) : q(e, u, o);
112
+ function h(e, n, r) {
113
+ const o = e.getAttribute("data-layout") || "grid", s = e.getAttribute("currency-alignment") || "after";
114
+ o === "list" ? q(e, n, s, r) : g(e, n, s, r);
113
115
  }
114
- function g(e, u) {
116
+ function C(e, n) {
115
117
  const r = e.match(/<!DOCTYPE[^>]*>/i);
116
118
  return (r ? `${r[0]}
117
- ` : "") + u.documentElement.outerHTML;
119
+ ` : "") + n.documentElement.outerHTML;
118
120
  }
119
- function E(e) {
120
- const u = e.replaceAll("{%", "<!--{%").replaceAll("%}", "%}-->"), r = new DOMParser().parseFromString(u, "text/html"), o = r.querySelectorAll(".recommendation-block-v2");
121
+ function P(e) {
122
+ const n = e.replaceAll("{%", "<!--{%").replaceAll("%}", "%}-->"), r = new DOMParser().parseFromString(n, "text/html"), o = r.querySelectorAll(".recommendation-block-v2");
121
123
  if (!o.length)
122
124
  return e;
123
- const { buildCampaignUrl: n } = $();
124
- return o.forEach((c) => {
125
- const s = c.getAttribute("recommendation-id");
126
- s && (n(s), d(c, s));
127
- }), g(u, r).replaceAll("<!--{%", "{%").replaceAll("%}-->", "%}").replaceAll("&lt;!--{%", "{%").replaceAll("%}--&gt;", "%}");
125
+ const { buildCampaignUrl: s } = _(), { isFeatureEnabled: u } = S(), t = u("liquidSyntax") ? "reco_" : "";
126
+ return o.forEach((i) => {
127
+ const a = i.getAttribute("recommendation-id");
128
+ a && (s(a), h(i, a, t));
129
+ }), C(n, r).replaceAll("<!--{%", "{%").replaceAll("%}-->", "%}").replaceAll("&lt;!--{%", "{%").replaceAll("%}--&gt;", "%}");
128
130
  }
129
131
  export {
130
- b as formatPriceVariable,
131
- E as prepareRecommendationBlocks
132
+ y as formatPriceVariable,
133
+ P as prepareRecommendationBlocks
132
134
  };
@@ -28,8 +28,8 @@ const e = 20, s = 320, t = "vertical", m = {
28
28
  ATTRIBUTE_PARAGRAPH: /<p[^>]*?product-attr="(discount|omnibus_discount|omnibus_price)"[^>]*>[\S\s]*?<\/p>/gm,
29
29
  ATTRIBUTE_PARAGRAPH_START_TAG: /<p[^>]*?product-attr="(discount|omnibus_discount|omnibus_price)"[^>]*>/gm,
30
30
  COMPOSITION: /composition="true"/gm,
31
- CUSTOM_FIELD: /{{[0-9]+_[0-8]_(discount|omnibus_discount|omnibus_price)}}/gm,
32
- CUSTOM_FIELD_INDEXES_PART: /{{[0-9]+_[0-8]_/gm,
31
+ CUSTOM_FIELD: /{{(?:reco_)?[0-9]+_[0-8]_(discount|omnibus_discount|omnibus_price)}}/gm,
32
+ CUSTOM_FIELD_INDEXES_PART: /{{(?:reco_)?[0-9]+_[0-8]_/gm,
33
33
  CUSTOM_FIELD_NAME_PART: /_(discount|omnibus_discount|omnibus_price)}}/gm
34
34
  }, n = {
35
35
  PARAGRAPH_END_TAG: "</p>"
@@ -163,6 +163,8 @@ export declare const FeaturesSchema: v.ObjectSchema<{
163
163
  readonly unsubscribe: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
164
164
  /** Disable modules panel in the editor */
165
165
  readonly modulesDisabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
166
+ /** Enable Liquid template syntax */
167
+ readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
166
168
  }, undefined>;
167
169
  /**
168
170
  * Default block types available in Stripo
@@ -477,6 +479,8 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
477
479
  readonly unsubscribe: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
478
480
  /** Disable modules panel in the editor */
479
481
  readonly modulesDisabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
482
+ /** Enable Liquid template syntax */
483
+ readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
480
484
  }, undefined>, {}>;
481
485
  /** Block configuration */
482
486
  readonly blocks: v.OptionalSchema<v.ObjectSchema<{
@@ -57,6 +57,7 @@ export declare const useConfig: () => {
57
57
  displayConditions: boolean;
58
58
  unsubscribe: boolean;
59
59
  modulesDisabled: boolean;
60
+ liquidSyntax: boolean;
60
61
  };
61
62
  blocks: {
62
63
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -149,6 +150,7 @@ export declare const useConfig: () => {
149
150
  displayConditions: boolean;
150
151
  unsubscribe: boolean;
151
152
  modulesDisabled: boolean;
153
+ liquidSyntax: boolean;
152
154
  } | null>;
153
155
  blocks: import("vue").ComputedRef<{
154
156
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -6,7 +6,7 @@
6
6
  * @param alignment - Currency alignment from block config: 'before' or 'after'
7
7
  * @returns Formatted price string with currency variable in correct position
8
8
  */
9
- export declare function formatPriceVariable(campaignId: string, productIndex: number, attribute: string, alignment: string): string;
9
+ export declare function formatPriceVariable(campaignId: string, productIndex: number, attribute: string, alignment: string, prefix?: string): string;
10
10
  /**
11
11
  * Transforms recommendation block HTML by replacing product data with
12
12
  * template variables.
@@ -62,6 +62,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
62
62
  displayConditions: boolean;
63
63
  unsubscribe: boolean;
64
64
  modulesDisabled: boolean;
65
+ liquidSyntax: boolean;
65
66
  };
66
67
  blocks: {
67
68
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -160,6 +161,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
160
161
  displayConditions: boolean;
161
162
  unsubscribe: boolean;
162
163
  modulesDisabled: boolean;
164
+ liquidSyntax: boolean;
163
165
  };
164
166
  blocks: {
165
167
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -258,6 +260,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
258
260
  displayConditions: boolean;
259
261
  unsubscribe: boolean;
260
262
  modulesDisabled: boolean;
263
+ liquidSyntax: boolean;
261
264
  };
262
265
  blocks: {
263
266
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -356,6 +359,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
356
359
  displayConditions: boolean;
357
360
  unsubscribe: boolean;
358
361
  modulesDisabled: boolean;
362
+ liquidSyntax: boolean;
359
363
  };
360
364
  blocks: {
361
365
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -454,6 +458,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
454
458
  displayConditions: boolean;
455
459
  unsubscribe: boolean;
456
460
  modulesDisabled: boolean;
461
+ liquidSyntax: boolean;
457
462
  };
458
463
  blocks: {
459
464
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -552,6 +557,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
552
557
  displayConditions: boolean;
553
558
  unsubscribe: boolean;
554
559
  modulesDisabled: boolean;
560
+ liquidSyntax: boolean;
555
561
  };
556
562
  blocks: {
557
563
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -650,6 +656,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
650
656
  displayConditions: boolean;
651
657
  unsubscribe: boolean;
652
658
  modulesDisabled: boolean;
659
+ liquidSyntax: boolean;
653
660
  };
654
661
  blocks: {
655
662
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -748,6 +755,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
748
755
  displayConditions: boolean;
749
756
  unsubscribe: boolean;
750
757
  modulesDisabled: boolean;
758
+ liquidSyntax: boolean;
751
759
  };
752
760
  blocks: {
753
761
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -846,6 +854,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
846
854
  displayConditions: boolean;
847
855
  unsubscribe: boolean;
848
856
  modulesDisabled: boolean;
857
+ liquidSyntax: boolean;
849
858
  };
850
859
  blocks: {
851
860
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -944,6 +953,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
944
953
  displayConditions: boolean;
945
954
  unsubscribe: boolean;
946
955
  modulesDisabled: boolean;
956
+ liquidSyntax: boolean;
947
957
  };
948
958
  blocks: {
949
959
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1042,6 +1052,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1042
1052
  displayConditions: boolean;
1043
1053
  unsubscribe: boolean;
1044
1054
  modulesDisabled: boolean;
1055
+ liquidSyntax: boolean;
1045
1056
  };
1046
1057
  blocks: {
1047
1058
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1140,6 +1151,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1140
1151
  displayConditions: boolean;
1141
1152
  unsubscribe: boolean;
1142
1153
  modulesDisabled: boolean;
1154
+ liquidSyntax: boolean;
1143
1155
  };
1144
1156
  blocks: {
1145
1157
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1238,6 +1250,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1238
1250
  displayConditions: boolean;
1239
1251
  unsubscribe: boolean;
1240
1252
  modulesDisabled: boolean;
1253
+ liquidSyntax: boolean;
1241
1254
  };
1242
1255
  blocks: {
1243
1256
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1336,6 +1349,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1336
1349
  displayConditions: boolean;
1337
1350
  unsubscribe: boolean;
1338
1351
  modulesDisabled: boolean;
1352
+ liquidSyntax: boolean;
1339
1353
  };
1340
1354
  blocks: {
1341
1355
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1434,6 +1448,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1434
1448
  displayConditions: boolean;
1435
1449
  unsubscribe: boolean;
1436
1450
  modulesDisabled: boolean;
1451
+ liquidSyntax: boolean;
1437
1452
  };
1438
1453
  blocks: {
1439
1454
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1532,6 +1547,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1532
1547
  displayConditions: boolean;
1533
1548
  unsubscribe: boolean;
1534
1549
  modulesDisabled: boolean;
1550
+ liquidSyntax: boolean;
1535
1551
  };
1536
1552
  blocks: {
1537
1553
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1630,6 +1646,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1630
1646
  displayConditions: boolean;
1631
1647
  unsubscribe: boolean;
1632
1648
  modulesDisabled: boolean;
1649
+ liquidSyntax: boolean;
1633
1650
  };
1634
1651
  blocks: {
1635
1652
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1728,6 +1745,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1728
1745
  displayConditions: boolean;
1729
1746
  unsubscribe: boolean;
1730
1747
  modulesDisabled: boolean;
1748
+ liquidSyntax: boolean;
1731
1749
  };
1732
1750
  blocks: {
1733
1751
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "3.1.1-beta.57fcdc6",
3
+ "version": "3.1.1-beta.6b60896",
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",