@useinsider/guido 3.27.1 → 3.28.0
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 +10 -5
- package/dist/components/Guido.vue.js +7 -7
- package/dist/components/Guido.vue2.js +86 -83
- package/dist/components/organisms/dynamic-content/AmbiguousDynamicContentModal.vue.js +24 -0
- package/dist/components/organisms/dynamic-content/AmbiguousDynamicContentModal.vue2.js +59 -0
- package/dist/composables/useAmbiguousDynamicContent.js +72 -0
- package/dist/composables/useHtmlCompiler.js +21 -17
- package/dist/composables/useHtmlValidator.js +71 -71
- package/dist/composables/useModuleRepair.js +63 -32
- package/dist/composables/useSaveValidation.js +80 -80
- package/dist/composables/useStripo.js +44 -43
- package/dist/config/compiler/htmlCompilerRules.js +16 -6
- package/dist/config/compiler/pongoCompilerRules.js +13 -0
- package/dist/config/migrator/itemsBlockMigrator.js +220 -178
- package/dist/enums/dynamic-content.js +4 -0
- package/dist/enums/html-validator.js +8 -7
- package/dist/guido.css +1 -1
- package/dist/package.json.js +1 -1
- package/dist/src/@types/generic.d.ts +7 -0
- package/dist/src/components/organisms/dynamic-content/AmbiguousDynamicContentModal.vue.d.ts +2 -0
- package/dist/src/composables/useAmbiguousDynamicContent.d.ts +7 -0
- package/dist/src/composables/useModuleRepair.d.ts +6 -0
- package/dist/src/config/compiler/pongoCompilerRules.d.ts +2 -0
- package/dist/src/enums/dynamic-content.d.ts +3 -0
- package/dist/src/enums/html-validator.d.ts +1 -0
- package/dist/src/stores/module-dynamic-content.d.ts +30 -0
- package/dist/src/utils/dynamicContentConverter.d.ts +20 -18
- package/dist/src/utils/dynamicContentPendingMarker.d.ts +2 -0
- package/dist/src/utils/genericUtil.d.ts +4 -8
- package/dist/stores/module-dynamic-content.js +20 -0
- package/dist/utils/dynamicContentConverter.js +41 -27
- package/dist/utils/dynamicContentPendingMarker.js +6 -0
- package/dist/utils/genericUtil.js +39 -39
- package/package.json +1 -1
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import { useConfig as V } from "./useConfig.js";
|
|
2
2
|
import { getIgnoredRecommendationBlockIds as M } from "../config/compiler/utils/recommendationIgnoreUtils.js";
|
|
3
3
|
import { TemplateTypes as W } from "../enums/defaults.js";
|
|
4
|
-
import {
|
|
4
|
+
import { CONDITION_TAG_REGEX as G, DISPLAY_CONDITIONS_REGEX as H, DISPLAY_CONDITIONS_EXCEPTIONS_REGEX as K, CampaignCouldNotBeSavedKey as X, CanNotMakeAnyChangesForRunningKey as P, DATA_ATTRIBUTE_REGEX as Y, DYNAMIC_CONTENT_TAG_REGEX as $, ALLOWED_DYNAMIC_SYSTEM_TOKENS as U, VALID_DYNAMIC_VARIABLE_REGEX as j } from "../enums/html-validator.js";
|
|
5
5
|
import { ToasterTypeOptions as c } from "../enums/toaster.js";
|
|
6
|
-
import { BLOCK_ROOT_SELECTOR as
|
|
7
|
-
import { itemsBlockDynamicVariables as
|
|
8
|
-
import { BLOCK_ROOT_SELECTOR as
|
|
9
|
-
import { RECOMMENDATION_VARIABLE_BUILTIN_ATTRIBUTES as
|
|
10
|
-
import { useRecommendationExtensionStore as
|
|
11
|
-
import { filterToProductAttrValue as
|
|
12
|
-
import { STRATEGY_FIELD_KEY as
|
|
13
|
-
import { useRecommendationStore as
|
|
14
|
-
import { base64EncodeWithSpecialChars as
|
|
15
|
-
import { computed as
|
|
16
|
-
import { useHttp as
|
|
17
|
-
import { useToaster as
|
|
18
|
-
import { useTranslations as
|
|
19
|
-
const
|
|
20
|
-
function
|
|
21
|
-
return [...s.matchAll(
|
|
6
|
+
import { BLOCK_ROOT_SELECTOR as q } from "../extensions/Blocks/Checkbox/constants/selectors.js";
|
|
7
|
+
import { itemsBlockDynamicVariables as z } from "../extensions/Blocks/Items/enums/productEnums.js";
|
|
8
|
+
import { BLOCK_ROOT_SELECTOR as Z } from "../extensions/Blocks/RadioButton/constants/selectors.js";
|
|
9
|
+
import { RECOMMENDATION_VARIABLE_BUILTIN_ATTRIBUTES as J } from "../extensions/Blocks/Recommendation/constants/selectors.js";
|
|
10
|
+
import { useRecommendationExtensionStore as Q } from "../extensions/Blocks/Recommendation/store/recommendation.js";
|
|
11
|
+
import { filterToProductAttrValue as ee } from "../extensions/Blocks/Recommendation/utils/compositionKeys.js";
|
|
12
|
+
import { STRATEGY_FIELD_KEY as te, RecommendationAssignStrategyKey as ne, RecommendationRequiredFieldsKey as se } from "../extensions/Blocks/Recommendation/validation/requiredFields.js";
|
|
13
|
+
import { useRecommendationStore as re } from "../stores/recommendation.js";
|
|
14
|
+
import { base64EncodeWithSpecialChars as oe } from "../utils/base64.js";
|
|
15
|
+
import { computed as ie } from "vue";
|
|
16
|
+
import { useHttp as ae } from "./useHttp.js";
|
|
17
|
+
import { useToaster as ce } from "./useToaster.js";
|
|
18
|
+
import { useTranslations as le } from "./useTranslations.js";
|
|
19
|
+
const me = /recommendation-id="(\d+)"/g;
|
|
20
|
+
function ue(s) {
|
|
21
|
+
return [...s.matchAll(me)].map((m) => m[1]);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function de(s, m) {
|
|
24
24
|
return m.some((f) => s.startsWith(`${f}_`));
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
function
|
|
28
|
-
const m = s.match(
|
|
26
|
+
const fe = /^(\d+)_\d+_(.+)$/;
|
|
27
|
+
function ge(s) {
|
|
28
|
+
const m = s.match(fe);
|
|
29
29
|
return m ? { recoId: m[1], attribute: m[2] } : null;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
const m = new Set(
|
|
31
|
+
function pe(s) {
|
|
32
|
+
const m = new Set(J);
|
|
33
33
|
return Object.values(s).forEach((f) => {
|
|
34
|
-
m.add(
|
|
34
|
+
m.add(ee(f).toLowerCase());
|
|
35
35
|
}), m;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Ee(s, m, f, o, d) {
|
|
38
38
|
const u = s.match(/{{([a-zA-Z0-9_.\s]*)}}/gm);
|
|
39
39
|
if (!u)
|
|
40
40
|
return [];
|
|
41
|
-
const p = new Set(m.map((
|
|
42
|
-
return u.forEach((
|
|
43
|
-
const g =
|
|
41
|
+
const p = new Set(m.map((C) => C.toLowerCase())), E = [];
|
|
42
|
+
return u.forEach((C) => {
|
|
43
|
+
const g = C.slice(2, -2).trim().toLowerCase();
|
|
44
44
|
if (g !== "" && p.has(g))
|
|
45
45
|
return;
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
if (!d || d.has(
|
|
46
|
+
const y = ge(g);
|
|
47
|
+
if (y && o.has(y.recoId)) {
|
|
48
|
+
if (!d || d.has(y.attribute))
|
|
49
49
|
return;
|
|
50
50
|
E.push(g);
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
de(g, f) || g.includes(".") || E.push(g);
|
|
54
54
|
}), E;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return (s.replace(
|
|
56
|
+
function Ce(s) {
|
|
57
|
+
return (s.replace(Y, "$1").match($) ?? []).filter((o) => {
|
|
58
58
|
const d = o.slice(2, -2), u = d.indexOf("|"), p = (u === -1 ? d : d.slice(0, u)).trim();
|
|
59
|
-
return
|
|
59
|
+
return U.includes(p) ? !1 : j.test(p) ? u !== -1 && d.slice(u + 1).trim() === "" : !0;
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
const { showToaster: s } =
|
|
62
|
+
const Ve = () => {
|
|
63
|
+
const { showToaster: s } = ce(), { post: m } = ae(), { config: f } = V(), o = le(), d = re(), u = Q(), p = ie(
|
|
64
64
|
() => {
|
|
65
65
|
var e, t;
|
|
66
66
|
return ((t = (e = f.value) == null ? void 0 : e.partner) == null ? void 0 : t.messageType) === W.transactional;
|
|
@@ -73,20 +73,20 @@ const ke = () => {
|
|
|
73
73
|
} catch {
|
|
74
74
|
return null;
|
|
75
75
|
}
|
|
76
|
-
return
|
|
77
|
-
},
|
|
76
|
+
return pe(u.filterList);
|
|
77
|
+
}, C = async (e) => {
|
|
78
78
|
const n = await m(
|
|
79
79
|
"/newsletter/template-library/check-template-html-body",
|
|
80
|
-
{ html:
|
|
80
|
+
{ html: oe(e) }
|
|
81
81
|
), { status: r, message: a } = n.data;
|
|
82
82
|
return r || s({
|
|
83
83
|
type: c.Error,
|
|
84
84
|
message: r === void 0 ? a : o("newsletter.invalid-url-link-for-toaster")
|
|
85
|
-
}), o(
|
|
85
|
+
}), o(X), a === o(P) && s({
|
|
86
86
|
type: c.Error,
|
|
87
87
|
message: o("newsletter.already-in-progress")
|
|
88
88
|
}), r;
|
|
89
|
-
}, g = (e) => !["if", "endif", "else", "elif", "now"].includes(e.toLowerCase()),
|
|
89
|
+
}, g = (e) => !["if", "endif", "else", "elif", "now"].includes(e.toLowerCase()), y = (e) => ["if", "endif"].includes(e.toLowerCase()), S = (e, t) => {
|
|
90
90
|
const n = e.match(/({%(.*?)%})/g);
|
|
91
91
|
let r = !0;
|
|
92
92
|
return n !== null && !p.value && n.forEach((a) => {
|
|
@@ -100,12 +100,12 @@ const ke = () => {
|
|
|
100
100
|
}
|
|
101
101
|
}), r;
|
|
102
102
|
}, R = async (e, t, n) => {
|
|
103
|
-
const r = n ? await
|
|
104
|
-
return
|
|
105
|
-
},
|
|
103
|
+
const r = n ? await C(e) : !0;
|
|
104
|
+
return S(e, t) && r;
|
|
105
|
+
}, _ = (e) => e.length > 0 ? !0 : (s({
|
|
106
106
|
type: c.Warning,
|
|
107
107
|
message: o("newsletter.html-content-is-empty")
|
|
108
|
-
}), !1),
|
|
108
|
+
}), !1), A = (e) => {
|
|
109
109
|
const t = (e.match(/{/gm) || []).length, n = (e.match(/}/gm) || []).length;
|
|
110
110
|
return t > n && s({
|
|
111
111
|
type: c.Warning,
|
|
@@ -114,19 +114,19 @@ const ke = () => {
|
|
|
114
114
|
type: c.Warning,
|
|
115
115
|
message: o("custom-fields.missing-opening-braces")
|
|
116
116
|
}), t === n;
|
|
117
|
-
},
|
|
118
|
-
const t =
|
|
117
|
+
}, O = (e) => {
|
|
118
|
+
const t = Ce(e).length === 0;
|
|
119
119
|
return t || s({
|
|
120
120
|
type: c.Warning,
|
|
121
121
|
message: o("custom-fields.invalid-custom-fields")
|
|
122
122
|
}), t;
|
|
123
|
-
},
|
|
123
|
+
}, b = (e, t, n, r) => {
|
|
124
124
|
if (p.value)
|
|
125
125
|
return !0;
|
|
126
|
-
const a =
|
|
126
|
+
const a = Ee(
|
|
127
127
|
e,
|
|
128
128
|
t,
|
|
129
|
-
|
|
129
|
+
ue(e),
|
|
130
130
|
n,
|
|
131
131
|
r
|
|
132
132
|
);
|
|
@@ -143,10 +143,10 @@ const ke = () => {
|
|
|
143
143
|
}
|
|
144
144
|
return !0;
|
|
145
145
|
}, w = (e) => {
|
|
146
|
-
const t = e.match(
|
|
146
|
+
const t = e.match(G), n = [];
|
|
147
147
|
let r = !0;
|
|
148
148
|
if (t && t.forEach((a) => {
|
|
149
|
-
const i = a.match(
|
|
149
|
+
const i = a.match(H), l = a.match(K), v = (i == null ? void 0 : i.join("")) || "";
|
|
150
150
|
(!i || a !== v) && !l && (s({
|
|
151
151
|
type: c.Error,
|
|
152
152
|
message: o("newsletter.display-conditions-invalid-syntax")
|
|
@@ -155,9 +155,9 @@ const ke = () => {
|
|
|
155
155
|
type: c.Error,
|
|
156
156
|
message: o("custom-conditions.wrong-equality-operators")
|
|
157
157
|
}), r = !1);
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
const T = h.match(/^[a-zA-Z]*$/g);
|
|
159
|
+
T && T.forEach((I) => {
|
|
160
|
+
y(I) && n.push(I);
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
163
|
}), n.length) {
|
|
@@ -168,22 +168,22 @@ const ke = () => {
|
|
|
168
168
|
}), r = !1);
|
|
169
169
|
}
|
|
170
170
|
return r;
|
|
171
|
-
},
|
|
171
|
+
}, N = (e) => {
|
|
172
172
|
const t = (e.match(/{% /gm) || []).length, n = (e.match(/ %}/gm) || []).length, r = t === n;
|
|
173
173
|
return r || s({
|
|
174
174
|
type: c.Warning,
|
|
175
175
|
message: o("custom-conditions.no-space-after-braces")
|
|
176
176
|
}), r;
|
|
177
|
-
},
|
|
177
|
+
}, L = (e) => (e.match(/({%(.*?)%})/g) || []).filter((n) => n.includes("if")).map((n) => (n.match(/{{.*}}/gm) || []).length).reduce((n, r) => n + r, 0) > 0 ? (s({
|
|
178
178
|
type: c.Warning,
|
|
179
179
|
message: o("custom-conditions.no-braces-inside-if-tag")
|
|
180
180
|
}), !1) : !0, B = () => {
|
|
181
181
|
if (!u.hasInvalidBlock())
|
|
182
182
|
return !0;
|
|
183
|
-
const e = u.invalidBlockFields(), t = e.length > 0 && e.every((n) => n ===
|
|
183
|
+
const e = u.invalidBlockFields(), t = e.length > 0 && e.every((n) => n === te);
|
|
184
184
|
return s({
|
|
185
185
|
type: t ? c.Warning : c.Error,
|
|
186
|
-
message: o(t ?
|
|
186
|
+
message: o(t ? ne : se)
|
|
187
187
|
}), !1;
|
|
188
188
|
}, F = () => d.recommendationConfigs && Object.values(d.recommendationConfigs).find((t) => t.filters.find((n) => n.value === "")) !== void 0 ? (s({
|
|
189
189
|
type: c.Error,
|
|
@@ -195,7 +195,7 @@ const ke = () => {
|
|
|
195
195
|
message: o("newsletter.invalid-image-type")
|
|
196
196
|
}), !1);
|
|
197
197
|
}, D = (e) => {
|
|
198
|
-
const r = new DOMParser().parseFromString(e, "text/html").querySelectorAll(
|
|
198
|
+
const r = new DOMParser().parseFromString(e, "text/html").querySelectorAll(q);
|
|
199
199
|
return Array.from(r).find((i) => {
|
|
200
200
|
var l;
|
|
201
201
|
return !((l = i.id) != null && l.trim());
|
|
@@ -204,7 +204,7 @@ const ke = () => {
|
|
|
204
204
|
message: o("unsubscribe-templates.select-checkbox-groups")
|
|
205
205
|
}), !1) : !0;
|
|
206
206
|
}, k = (e) => {
|
|
207
|
-
const r = new DOMParser().parseFromString(e, "text/html").querySelectorAll(
|
|
207
|
+
const r = new DOMParser().parseFromString(e, "text/html").querySelectorAll(Z);
|
|
208
208
|
return Array.from(r).find((i) => {
|
|
209
209
|
var l;
|
|
210
210
|
return !((l = i.id) != null && l.trim());
|
|
@@ -216,18 +216,18 @@ const ke = () => {
|
|
|
216
216
|
return { validateHtml: async (e, t, n = !1) => {
|
|
217
217
|
var v, h;
|
|
218
218
|
const r = [
|
|
219
|
-
...t.map((
|
|
220
|
-
...
|
|
219
|
+
...t.map((T) => T.value),
|
|
220
|
+
...z,
|
|
221
221
|
...((h = (v = f.value) == null ? void 0 : v.template) == null ? void 0 : h.customFieldAttributes) ?? []
|
|
222
222
|
], a = M(e), i = await E(a);
|
|
223
|
-
return await R(e, r, n) &&
|
|
223
|
+
return await R(e, r, n) && _(e) && A(e) && O(e) && b(e, r, a, i) && w(e) && N(e) && L(e) && B() && F() && x(e) && D(e) && k(e);
|
|
224
224
|
} };
|
|
225
225
|
};
|
|
226
226
|
export {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
227
|
+
pe as buildPartnerAttributeNameSet,
|
|
228
|
+
Ee as findInvalidCustomFields,
|
|
229
|
+
Ce as getInvalidDynamicContentTags,
|
|
230
|
+
ue as getRecommendationBlockIds,
|
|
231
|
+
ge as parseRecommendationVariable,
|
|
232
|
+
Ve as useHtmlValidator
|
|
233
233
|
};
|
|
@@ -1,44 +1,75 @@
|
|
|
1
|
-
import { useConfig as
|
|
2
|
-
import { useToaster as
|
|
3
|
-
import { useTranslations as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { useConfig as h } from "./useConfig.js";
|
|
2
|
+
import { useToaster as v } from "./useToaster.js";
|
|
3
|
+
import { useTranslations as M } from "./useTranslations.js";
|
|
4
|
+
import { ModuleDynamicContentAttribute as T } from "../enums/dynamic-content.js";
|
|
5
|
+
import { ToasterTypeOptions as A } from "../enums/toaster.js";
|
|
6
|
+
import { itemsBlockDynamicVariables as O } from "../extensions/Blocks/Items/enums/productEnums.js";
|
|
7
|
+
import { useDynamicContentStore as E } from "../stores/dynamic-content.js";
|
|
8
|
+
import { useEditorStore as L } from "../stores/editor.js";
|
|
9
|
+
import { useModuleDynamicContentStore as U } from "../stores/module-dynamic-content.js";
|
|
10
|
+
import { buildDynamicContentLookup as _, convertModuleDynamicContent as F } from "../utils/dynamicContentConverter.js";
|
|
11
|
+
import { stripPendingMarker as P } from "../utils/dynamicContentPendingMarker.js";
|
|
12
|
+
import { flattenDynamicContentCandidates as S } from "../utils/genericUtil.js";
|
|
13
|
+
import { repairItemsCurrencyAttributes as N } from "../utils/itemsCurrencyRepair.js";
|
|
14
|
+
import { convertLegacyUnsubscribeInModuleHtml as R } from "../utils/legacyUnsubscribeConversion.js";
|
|
15
|
+
import { extractUsedDynamicContent as k } from "../utils/registerUsedDynamicContent.js";
|
|
16
|
+
const q = "dynamic-content.unresolved-attributes-on-drop", H = /^(\s*<[a-zA-Z][a-zA-Z0-9-]*)/;
|
|
17
|
+
let y = 0;
|
|
18
|
+
const $ = (s) => {
|
|
19
|
+
y += 1;
|
|
20
|
+
const o = `${Date.now().toString(36)}-${y}`;
|
|
21
|
+
return { html: s.replace(H, `$1 ${T.Pending}="${o}"`), id: o };
|
|
22
|
+
}, I = (s, o) => {
|
|
23
|
+
try {
|
|
24
|
+
const i = k(s, o.map(({ text: a, value: m }) => ({ text: a, value: m })));
|
|
25
|
+
i.length > 0 && E().registerDynamicContent(i);
|
|
26
|
+
} catch (i) {
|
|
27
|
+
console.error("Failed to register module dynamic content:", i);
|
|
28
|
+
}
|
|
29
|
+
}, re = () => {
|
|
30
|
+
const { template: s, isFeatureEnabled: o } = h(), { showToaster: i } = v(), a = M(), m = (r) => {
|
|
31
|
+
var u, e;
|
|
32
|
+
const t = o("liquidSyntax") ? [] : S((u = s.value) == null ? void 0 : u.dynamicContentList), c = _(t);
|
|
33
|
+
return c.size === 0 ? { html: r, unresolved: [], ambiguous: [], candidates: t } : {
|
|
34
|
+
...F(
|
|
35
|
+
r,
|
|
36
|
+
c,
|
|
37
|
+
[...((e = s.value) == null ? void 0 : e.customFieldAttributes) ?? [], ...O]
|
|
38
|
+
),
|
|
39
|
+
candidates: t
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
return { handleModuleAdd: (r, t) => {
|
|
43
|
+
var c, u;
|
|
14
44
|
try {
|
|
15
|
-
if ((
|
|
45
|
+
if ((r == null ? void 0 : r.action) !== "ADD" && (r == null ? void 0 : r.action) !== "COPY")
|
|
16
46
|
return;
|
|
17
|
-
const e = (c =
|
|
18
|
-
if (!e || typeof
|
|
47
|
+
const e = (c = t == null ? void 0 : t.getTargetNode) == null ? void 0 : c.call(t), l = (u = e == null ? void 0 : e.getOuterHTML) == null ? void 0 : u.call(e);
|
|
48
|
+
if (!e || typeof l != "string")
|
|
19
49
|
return;
|
|
20
|
-
let
|
|
21
|
-
convertToPriceFormat:
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
let
|
|
26
|
-
if (
|
|
50
|
+
let n = P(N(l, {
|
|
51
|
+
convertToPriceFormat: o("itemsPriceFormatting")
|
|
52
|
+
})), p = !1;
|
|
53
|
+
o("legacyUnsubscribeConversion") && ({ html: n, converted: p } = R(n));
|
|
54
|
+
const { html: f, unresolved: b, ambiguous: g, candidates: C } = m(n);
|
|
55
|
+
let d = null;
|
|
56
|
+
if (n = f, g.length > 0 && ({ html: n, id: d } = $(n)), n !== l && t.modifyHtml(e).replaceWith(n), I(n, C), p)
|
|
27
57
|
try {
|
|
28
|
-
|
|
29
|
-
} catch (
|
|
30
|
-
console.error("Failed to request the legacy unsubscribe modal:",
|
|
58
|
+
L().isLegacyUnsubscribeModalRequested = !0;
|
|
59
|
+
} catch (D) {
|
|
60
|
+
console.error("Failed to request the legacy unsubscribe modal:", D);
|
|
31
61
|
}
|
|
32
|
-
|
|
33
|
-
type:
|
|
34
|
-
message:
|
|
62
|
+
d && U().enqueue({ id: d, items: g }), b.length > 0 && i({
|
|
63
|
+
type: A.Warning,
|
|
64
|
+
message: a(q)
|
|
35
65
|
});
|
|
36
66
|
} catch (e) {
|
|
37
67
|
console.error("Failed to repair module on add:", e);
|
|
38
68
|
}
|
|
39
|
-
} };
|
|
69
|
+
}, convertDynamicContent: m };
|
|
40
70
|
};
|
|
41
71
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
72
|
+
q as UNRESOLVED_DYNAMIC_CONTENT_ON_DROP_KEY,
|
|
73
|
+
I as registerUsedAttributes,
|
|
74
|
+
re as useModuleRepair
|
|
44
75
|
};
|