@useinsider/guido 3.10.0-beta.dfe1fa6 → 3.10.0-beta.f40b5d9

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.
@@ -19,10 +19,10 @@ const x = "email_template", L = "chat", M = "guido:debug:ai", R = () => {
19
19
  const l = c._s, p = l == null ? void 0 : l.get(L);
20
20
  if (!p)
21
21
  return;
22
- const { markPending: d, applyTemplate: f, applyTemplateDebounced: T } = w(), { showToaster: E } = I(), h = P(), y = (r, t) => {
23
- const e = h(r);
22
+ const { markPending: d, applyTemplate: f, applyTemplateDebounced: T } = w(), { showToaster: h } = I(), y = P(), A = (r, t) => {
23
+ const e = y(r);
24
24
  return e === r ? t : e;
25
- }, i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), u = R(), A = (r, t) => {
25
+ }, i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), u = R(), E = (r, t) => {
26
26
  u && console.debug(`[guido:cortex] msg=${r ?? "?"} type=${(t == null ? void 0 : t.type) ?? "?"}`, t);
27
27
  }, b = (r) => {
28
28
  if (r.blueprintType !== x)
@@ -36,9 +36,9 @@ const x = "email_template", L = "chat", M = "guido:debug:ai", R = () => {
36
36
  }
37
37
  const o = i.get(t);
38
38
  o === void 0 ? (i.set(t, e.html), f(t, e)) : o !== e.html && (i.set(t, e.html), T(t, e));
39
- }, s = (r) => r === void 0 || a.has(r) ? !1 : (a.add(r), E({
40
- type: S.Error,
41
- message: y("newsletter.ai-template-failed", "AI couldn't generate the template. Please try again.")
39
+ }, s = (r) => r === void 0 || a.has(r) ? !1 : (a.add(r), h({
40
+ type: S.Alert,
41
+ message: A("newsletter.ai-template-failed", "AI couldn't generate the template. Please try again.")
42
42
  }), !0), m = B(
43
43
  () => p.messages,
44
44
  (r) => {
@@ -48,7 +48,7 @@ const x = "email_template", L = "chat", M = "guido:debug:ai", R = () => {
48
48
  const o = t == null ? void 0 : t.segments;
49
49
  Array.isArray(o) && o.forEach((n) => {
50
50
  if (n)
51
- switch (A(e, n), n.type) {
51
+ switch (E(e, n), n.type) {
52
52
  case "blueprint":
53
53
  b(n);
54
54
  break;
@@ -4,20 +4,21 @@ import e from "../static/styles/components/amp-block.css.js";
4
4
  import i from "../static/styles/components/base-input.css.js";
5
5
  import p from "../static/styles/components/button-group.css.js";
6
6
  import n from "../static/styles/components/button.css.js";
7
- import s from "../static/styles/components/combobox.css.js";
8
- import C from "../static/styles/components/counter.css.js";
7
+ import C from "../static/styles/components/combobox.css.js";
8
+ import s from "../static/styles/components/counter.css.js";
9
9
  import f from "../static/styles/components/dropdown-menu.css.js";
10
10
  import a from "../static/styles/components/loader.css.js";
11
11
  import u from "../static/styles/components/narrow-panel.css.js";
12
- import c from "../static/styles/components/popup.css.js";
13
- import d from "../static/styles/components/switcher.css.js";
14
- import l from "../static/styles/components/tabs.css.js";
15
- import h from "../static/styles/components/tools.css.js";
16
- import w from "../static/styles/components/version-history.css.js";
17
- import y from "../static/styles/components/wide-panel.css.js";
18
- import B from "../static/styles/variables.css.js";
19
- const b = [
20
- B,
12
+ import c from "../static/styles/components/notification.css.js";
13
+ import d from "../static/styles/components/popup.css.js";
14
+ import l from "../static/styles/components/switcher.css.js";
15
+ import h from "../static/styles/components/tabs.css.js";
16
+ import w from "../static/styles/components/tools.css.js";
17
+ import y from "../static/styles/components/version-history.css.js";
18
+ import B from "../static/styles/components/wide-panel.css.js";
19
+ import b from "../static/styles/variables.css.js";
20
+ const A = [
21
+ b,
21
22
  // Must be on top
22
23
  S,
23
24
  // Must be on top
@@ -26,8 +27,8 @@ const b = [
26
27
  i,
27
28
  p,
28
29
  n,
29
- s,
30
30
  C,
31
+ s,
31
32
  f,
32
33
  a,
33
34
  u,
@@ -36,12 +37,13 @@ const b = [
36
37
  l,
37
38
  h,
38
39
  w,
39
- y
40
+ y,
41
+ B
40
42
  ].join(`
41
43
 
42
- `), v = () => ({ importCss: () => {
44
+ `), F = () => ({ importCss: () => {
43
45
  const o = new CSSStyleSheet();
44
- o.replaceSync(b);
46
+ o.replaceSync(A);
45
47
  const r = document.querySelector("ui-editor");
46
48
  if (!r)
47
49
  return;
@@ -49,5 +51,5 @@ const b = [
49
51
  t && (t.adoptedStyleSheets = [o]);
50
52
  } });
51
53
  export {
52
- v as useCustomInterfaceAppearance
54
+ F as useCustomInterfaceAppearance
53
55
  };
@@ -3,19 +3,19 @@ import { useToaster as f } from "./useToaster.js";
3
3
  import { useTranslations as y } from "./useTranslations.js";
4
4
  import { ToasterTypeOptions as n } from "../enums/toaster.js";
5
5
  import { ref as v } from "vue";
6
- const E = 250, s = v({}), o = {}, j = () => {
7
- const { updateHtmlAndCss: l } = T(), { showToaster: p } = f(), i = y(), u = (e) => {
6
+ const h = 250, s = v({}), o = {}, j = () => {
7
+ const { updateHtmlAndCss: l } = T(), { showToaster: r } = f(), i = y(), u = (e) => {
8
8
  s.value[e] === void 0 && (s.value = { ...s.value, [e]: "pending" });
9
- }, c = (e, t, r) => {
9
+ }, c = (e, t, p) => {
10
10
  s.value = { ...s.value, [e]: "applying" };
11
11
  try {
12
- l(t, r), s.value = { ...s.value, [e]: "applied" }, p({
12
+ l(t, p), s.value = { ...s.value, [e]: "applied" }, r({
13
13
  type: n.Success,
14
14
  message: i("newsletter.ai-template-applied")
15
15
  });
16
16
  } catch (a) {
17
- s.value = { ...s.value, [e]: "failed" }, p({
18
- type: n.Error,
17
+ s.value = { ...s.value, [e]: "failed" }, r({
18
+ type: n.Alert,
19
19
  message: a instanceof Error ? a.message : "Failed to apply template"
20
20
  });
21
21
  }
@@ -29,10 +29,10 @@ const E = 250, s = v({}), o = {}, j = () => {
29
29
  if (!t.html)
30
30
  return;
31
31
  m(e);
32
- const { html: r } = t, a = t.css ?? "";
32
+ const { html: p } = t, a = t.css ?? "";
33
33
  o[e] = setTimeout(() => {
34
- delete o[e], c(e, r, a);
35
- }, E);
34
+ delete o[e], c(e, p, a);
35
+ }, h);
36
36
  } };
37
37
  }, k = () => {
38
38
  Object.values(o).forEach(clearTimeout), Object.keys(o).forEach((l) => delete o[l]), s.value = {};
@@ -3,39 +3,39 @@ import { useActionsApi as m } from "./useActionsApi.js";
3
3
  import { useHtmlCompiler as p } from "./useHtmlCompiler.js";
4
4
  import { useToaster as d } from "./useToaster.js";
5
5
  const H = () => {
6
- const c = (s, o, n) => {
7
- const i = new Blob([s], { type: n }), t = URL.createObjectURL(i), e = document.createElement("a");
6
+ const l = (s, o, r) => {
7
+ const i = new Blob([s], { type: r }), t = URL.createObjectURL(i), e = document.createElement("a");
8
8
  e.href = t, e.download = o, document.body.appendChild(e), e.click(), document.body.removeChild(e), URL.revokeObjectURL(t);
9
- }, l = (s) => {
10
- const o = /* @__PURE__ */ new Date(), n = String(o.getDate()).padStart(2, "0"), i = String(o.getMonth() + 1).padStart(2, "0"), t = o.getFullYear(), e = String(o.getHours()).padStart(2, "0"), r = String(o.getMinutes()).padStart(2, "0");
11
- return `${s}_${n}-${i}-${t}_${e}-${r}.html`;
9
+ }, c = (s) => {
10
+ const o = /* @__PURE__ */ new Date(), r = String(o.getDate()).padStart(2, "0"), i = String(o.getMonth() + 1).padStart(2, "0"), t = o.getFullYear(), e = String(o.getHours()).padStart(2, "0"), n = String(o.getMinutes()).padStart(2, "0");
11
+ return `${s}_${r}-${i}-${t}_${e}-${n}.html`;
12
12
  };
13
13
  return { exportHtml: async (s = !0) => {
14
- const { getCompiledEmail: o } = m(), { showToaster: n } = d(), { compileHtml: i } = p();
14
+ const { getCompiledEmail: o } = m(), { showToaster: r } = d(), { compileHtml: i } = p();
15
15
  try {
16
16
  const { html: t } = await o();
17
17
  if (t) {
18
18
  let e = t;
19
19
  if (s) {
20
- const r = i(t);
21
- e = r.compiledHtml, console.debug("HTML Compilation Stats:", {
22
- originalSize: r.stats.originalSize,
23
- compiledSize: r.stats.compiledSize,
24
- reduction: `${r.stats.reductionPercentage.toFixed(2)}%`,
25
- appliedRules: r.appliedRules,
26
- executionTime: `${r.stats.executionTime.toFixed(2)}ms`
20
+ const n = i(t);
21
+ e = n.compiledHtml, console.debug("HTML Compilation Stats:", {
22
+ originalSize: n.stats.originalSize,
23
+ compiledSize: n.stats.compiledSize,
24
+ reduction: `${n.stats.reductionPercentage.toFixed(2)}%`,
25
+ appliedRules: n.appliedRules,
26
+ executionTime: `${n.stats.executionTime.toFixed(2)}ms`
27
27
  });
28
28
  }
29
- c(e, l("HTML"), "text/html");
29
+ l(e, c("HTML"), "text/html");
30
30
  } else
31
- n({
32
- type: a.Error,
31
+ r({
32
+ type: a.Alert,
33
33
  message: "No HTML content to download"
34
34
  });
35
35
  } catch (t) {
36
36
  const e = t instanceof Error ? t.message : String(t);
37
- n({
38
- type: a.Error,
37
+ r({
38
+ type: a.Alert,
39
39
  message: `Error compiling email: ${e}`
40
40
  });
41
41
  }
@@ -11,11 +11,11 @@ import { RecommendationRequiredFieldsKey as ee } from "../extensions/Blocks/Reco
11
11
  import { useRecommendationStore as te } from "../stores/recommendation.js";
12
12
  import { base64EncodeWithSpecialChars as ne } from "../utils/base64.js";
13
13
  import { useHttp as se } from "./useHttp.js";
14
- import { useToaster as re } from "./useToaster.js";
15
- import { useTranslations as oe } from "./useTranslations.js";
16
- const ie = /recommendation-id="(\d+)"/g;
14
+ import { useToaster as oe } from "./useToaster.js";
15
+ import { useTranslations as ie } from "./useTranslations.js";
16
+ const re = /recommendation-id="(\d+)"/g;
17
17
  function ae(t) {
18
- return [...t.matchAll(ie)].map((m) => m[1]);
18
+ return [...t.matchAll(re)].map((m) => m[1]);
19
19
  }
20
20
  function ce(t, m) {
21
21
  return m.some((f) => t.startsWith(`${f}_`));
@@ -31,34 +31,34 @@ function ue(t) {
31
31
  m.add(Q(f.attributeName, t).toLowerCase());
32
32
  }), m;
33
33
  }
34
- function de(t, m, f, o, d) {
34
+ function de(t, m, f, i, d) {
35
35
  const u = t.match(/{{([a-zA-Z0-9_.\s]*)}}/gm);
36
36
  if (!u)
37
37
  return [];
38
- const p = new Set(m.map((h) => h.toLowerCase())), E = [];
39
- return u.forEach((h) => {
40
- const g = h.slice(2, -2).trim().toLowerCase();
38
+ const p = new Set(m.map((y) => y.toLowerCase())), h = [];
39
+ return u.forEach((y) => {
40
+ const g = y.slice(2, -2).trim().toLowerCase();
41
41
  if (g !== "" && p.has(g))
42
42
  return;
43
- const y = me(g);
44
- if (y && o.has(y.recoId)) {
45
- if (!d || d.has(y.attribute))
43
+ const E = me(g);
44
+ if (E && i.has(E.recoId)) {
45
+ if (!d || d.has(E.attribute))
46
46
  return;
47
- E.push(g);
47
+ h.push(g);
48
48
  return;
49
49
  }
50
- ce(g, f) || g.includes(".") || E.push(g);
51
- }), E;
50
+ ce(g, f) || g.includes(".") || h.push(g);
51
+ }), h;
52
52
  }
53
53
  function fe(t) {
54
- return (t.replace(U, "$1").match(j) ?? []).filter((o) => {
55
- const d = o.slice(2, -2), u = d.indexOf("|"), p = (u === -1 ? d : d.slice(0, u)).trim();
54
+ return (t.replace(U, "$1").match(j) ?? []).filter((i) => {
55
+ const d = i.slice(2, -2), u = d.indexOf("|"), p = (u === -1 ? d : d.slice(0, u)).trim();
56
56
  return q.includes(p) ? !1 : K.test(p) ? u !== -1 && d.slice(u + 1).trim() === "" : !0;
57
57
  });
58
58
  }
59
59
  const xe = () => {
60
- var b, S;
61
- const { showToaster: t } = re(), { post: m } = se(), { config: f } = W(), o = oe(), d = te(), u = J(), p = ((S = (b = f.value) == null ? void 0 : b.partner) == null ? void 0 : S.messageType) === H.transactional, E = async (e) => {
60
+ var I, b;
61
+ const { showToaster: t } = oe(), { post: m } = se(), { config: f } = W(), i = ie(), d = te(), u = J(), p = ((b = (I = f.value) == null ? void 0 : I.partner) == null ? void 0 : b.messageType) === H.transactional, h = async (e) => {
62
62
  if (e.size === 0)
63
63
  return /* @__PURE__ */ new Set();
64
64
  try {
@@ -67,53 +67,53 @@ const xe = () => {
67
67
  return null;
68
68
  }
69
69
  return ue(u.filterList);
70
- }, h = async (e) => {
70
+ }, y = async (e) => {
71
71
  const n = await m(
72
72
  "/newsletter/template-library/check-template-html-body",
73
73
  { html: ne(e) }
74
- ), { status: r, message: a } = n.data;
75
- return r || t({
76
- type: c.Error,
77
- message: r === void 0 ? a : o("newsletter.invalid-url-link-for-toaster")
78
- }), o($), a === o(Y) && t({
79
- type: c.Error,
80
- message: o("newsletter.already-in-progress")
81
- }), r;
82
- }, g = (e) => !["if", "endif", "else", "elif", "now"].includes(e.toLowerCase()), y = (e) => ["if", "endif"].includes(e.toLowerCase()), T = (e, s) => {
74
+ ), { status: o, message: a } = n.data;
75
+ return o || t({
76
+ type: c.Alert,
77
+ message: o === void 0 ? a : i("newsletter.invalid-url-link-for-toaster")
78
+ }), i($), a === i(Y) && t({
79
+ type: c.Alert,
80
+ message: i("newsletter.already-in-progress")
81
+ }), o;
82
+ }, g = (e) => !["if", "endif", "else", "elif", "now"].includes(e.toLowerCase()), E = (e) => ["if", "endif"].includes(e.toLowerCase()), T = (e, s) => {
83
83
  const n = e.match(/({%(.*?)%})/g);
84
- let r = !0;
84
+ let o = !0;
85
85
  return n !== null && !p && n.forEach((a) => {
86
- const i = a.slice(2, -2).trim().match(/(".*?"|[^"\s]+)(?=\s*|\s*$)/g);
87
- if (i && i.length > 0) {
88
- const [l] = i;
86
+ const r = a.slice(2, -2).trim().match(/(".*?"|[^"\s]+)(?=\s*|\s*$)/g);
87
+ if (r && r.length > 0) {
88
+ const [l] = r;
89
89
  g(l) && !s.includes(l) && (t({
90
90
  type: c.Warning,
91
- message: o("custom-fields.invalid-custom-fields")
92
- }), r = !1);
91
+ message: i("custom-fields.invalid-custom-fields")
92
+ }), o = !1);
93
93
  }
94
- }), r;
94
+ }), o;
95
95
  }, w = async (e, s, n) => {
96
- const r = n ? await h(e) : !0;
97
- return T(e, s) && r;
96
+ const o = n ? await y(e) : !0;
97
+ return T(e, s) && o;
98
98
  }, R = (e) => e.length > 0 ? !0 : (t({
99
99
  type: c.Warning,
100
- message: o("newsletter.html-content-is-empty")
100
+ message: i("newsletter.html-content-is-empty")
101
101
  }), !1), _ = (e) => {
102
102
  const s = (e.match(/{/gm) || []).length, n = (e.match(/}/gm) || []).length;
103
103
  return s > n && t({
104
104
  type: c.Warning,
105
- message: o("custom-fields.missing-closing-braces")
105
+ message: i("custom-fields.missing-closing-braces")
106
106
  }), s < n && t({
107
107
  type: c.Warning,
108
- message: o("custom-fields.missing-opening-braces")
108
+ message: i("custom-fields.missing-opening-braces")
109
109
  }), s === n;
110
110
  }, N = (e) => {
111
111
  const s = fe(e).length === 0;
112
112
  return s || t({
113
113
  type: c.Warning,
114
- message: o("custom-fields.invalid-custom-fields")
114
+ message: i("custom-fields.invalid-custom-fields")
115
115
  }), s;
116
- }, x = (e, s, n, r) => {
116
+ }, x = (e, s, n, o) => {
117
117
  if (p)
118
118
  return !0;
119
119
  const a = de(
@@ -121,94 +121,94 @@ const xe = () => {
121
121
  s,
122
122
  ae(e),
123
123
  n,
124
- r
124
+ o
125
125
  );
126
126
  if (a.length > 0) {
127
- const i = `
127
+ const r = `
128
128
  <ul>
129
129
  ${a.map((l) => `<li>${l}</li>`).join("")}
130
130
  </ul>
131
131
  `;
132
132
  return t({
133
- type: c.Error,
134
- message: o("custom-fields.invalid-custom-fields") + i
133
+ type: c.Alert,
134
+ message: i("custom-fields.invalid-custom-fields") + r
135
135
  }), !1;
136
136
  }
137
137
  return !0;
138
138
  }, O = (e) => {
139
139
  const s = e.match(/{%(.*?)%}/g), n = [];
140
- let r = !0;
140
+ let o = !0;
141
141
  if (s && s.forEach((a) => {
142
- const i = a.match(P), l = a.match(X), v = (i == null ? void 0 : i.join("")) || "";
143
- (!i || a !== v) && !l && (t({
144
- type: c.Error,
145
- message: o("newsletter.display-conditions-invalid-syntax")
146
- }), r = !1), i && i.forEach((C) => {
142
+ const r = a.match(P), l = a.match(X), v = (r == null ? void 0 : r.join("")) || "";
143
+ (!r || a !== v) && !l && (t({
144
+ type: c.Alert,
145
+ message: i("newsletter.display-conditions-invalid-syntax")
146
+ }), o = !1), r && r.forEach((C) => {
147
147
  C.trim() === "=" && (t({
148
- type: c.Error,
149
- message: o("custom-conditions.wrong-equality-operators")
150
- }), r = !1);
151
- const I = C.match(/^[a-zA-Z]*$/g);
152
- I && I.forEach((A) => {
153
- y(A) && n.push(A);
148
+ type: c.Alert,
149
+ message: i("custom-conditions.wrong-equality-operators")
150
+ }), o = !1);
151
+ const A = C.match(/^[a-zA-Z]*$/g);
152
+ A && A.forEach((S) => {
153
+ E(S) && n.push(S);
154
154
  });
155
155
  });
156
156
  }), n.length) {
157
- const a = n.filter((l) => l === "if"), i = n.filter((l) => l === "endif");
158
- a.length !== i.length && (t({
159
- type: c.Error,
160
- message: o("custom-conditions.missing-if-endif-tag")
161
- }), r = !1);
157
+ const a = n.filter((l) => l === "if"), r = n.filter((l) => l === "endif");
158
+ a.length !== r.length && (t({
159
+ type: c.Alert,
160
+ message: i("custom-conditions.missing-if-endif-tag")
161
+ }), o = !1);
162
162
  }
163
- return r;
163
+ return o;
164
164
  }, k = (e) => {
165
- const s = (e.match(/{% /gm) || []).length, n = (e.match(/ %}/gm) || []).length, r = s === n;
166
- return r || t({
165
+ const s = (e.match(/{% /gm) || []).length, n = (e.match(/ %}/gm) || []).length, o = s === n;
166
+ return o || t({
167
167
  type: c.Warning,
168
- message: o("custom-conditions.no-space-after-braces")
169
- }), r;
170
- }, B = (e) => (e.match(/({%(.*?)%})/g) || []).filter((n) => n.includes("if")).map((n) => (n.match(/{{.*}}/gm) || []).length).reduce((n, r) => n + r, 0) > 0 ? (t({
168
+ message: i("custom-conditions.no-space-after-braces")
169
+ }), o;
170
+ }, B = (e) => (e.match(/({%(.*?)%})/g) || []).filter((n) => n.includes("if")).map((n) => (n.match(/{{.*}}/gm) || []).length).reduce((n, o) => n + o, 0) > 0 ? (t({
171
171
  type: c.Warning,
172
- message: o("custom-conditions.no-braces-inside-if-tag")
172
+ message: i("custom-conditions.no-braces-inside-if-tag")
173
173
  }), !1) : !0, D = () => u.hasInvalidBlock() ? (t({
174
- type: c.Error,
175
- message: o(ee)
174
+ type: c.Alert,
175
+ message: i(ee)
176
176
  }), !1) : !0, F = () => d.recommendationConfigs && Object.values(d.recommendationConfigs).find((s) => s.filters.find((n) => n.value === "")) !== void 0 ? (t({
177
- type: c.Error,
178
- message: o("newsletter.fill-all-necessary-fields")
177
+ type: c.Alert,
178
+ message: i("newsletter.fill-all-necessary-fields")
179
179
  }), !1) : !0, L = (e) => {
180
180
  const s = /src="[^"]*\.(svg|pst)"/gm;
181
181
  return e.match(s) === null ? !0 : (t({
182
- type: c.Error,
183
- message: o("newsletter.invalid-image-type")
182
+ type: c.Alert,
183
+ message: i("newsletter.invalid-image-type")
184
184
  }), !1);
185
185
  }, V = (e) => {
186
- const r = new DOMParser().parseFromString(e, "text/html").querySelectorAll(".checkbox-block-v2");
187
- return Array.from(r).find((i) => {
186
+ const o = new DOMParser().parseFromString(e, "text/html").querySelectorAll(".checkbox-block-v2");
187
+ return Array.from(o).find((r) => {
188
188
  var l;
189
- return !((l = i.id) != null && l.trim());
189
+ return !((l = r.id) != null && l.trim());
190
190
  }) ? (t({
191
- type: c.Error,
192
- message: o("unsubscribe-templates.select-checkbox-groups")
191
+ type: c.Alert,
192
+ message: i("unsubscribe-templates.select-checkbox-groups")
193
193
  }), !1) : !0;
194
194
  }, M = (e) => {
195
- const r = new DOMParser().parseFromString(e, "text/html").querySelectorAll(".radio-button-v2");
196
- return Array.from(r).find((i) => {
195
+ const o = new DOMParser().parseFromString(e, "text/html").querySelectorAll(".radio-button-v2");
196
+ return Array.from(o).find((r) => {
197
197
  var l;
198
- return !((l = i.id) != null && l.trim());
198
+ return !((l = r.id) != null && l.trim());
199
199
  }) ? (t({
200
- type: c.Error,
201
- message: o("unsubscribe-templates.select-radio-button-groups")
200
+ type: c.Alert,
201
+ message: i("unsubscribe-templates.select-radio-button-groups")
202
202
  }), !1) : !0;
203
203
  };
204
204
  return { validateHtml: async (e, s, n = !1) => {
205
205
  var v, C;
206
- const r = [
207
- ...s.map((I) => I.value),
206
+ const o = [
207
+ ...s.map((A) => A.value),
208
208
  ...z,
209
209
  ...((C = (v = f.value) == null ? void 0 : v.template) == null ? void 0 : C.customFieldAttributes) ?? []
210
- ], a = G(e), i = await E(a);
211
- return await w(e, r, n) && R(e) && _(e) && N(e) && x(e, r, a, i) && O(e) && k(e) && B(e) && D() && F() && L(e) && V(e) && M(e);
210
+ ], a = G(e), r = await h(a);
211
+ return await w(e, o, n) && R(e) && _(e) && N(e) && x(e, o, a, r) && O(e) && k(e) && B(e) && D() && F() && L(e) && V(e) && M(e);
212
212
  } };
213
213
  };
214
214
  export {