@useinsider/guido 3.18.2-beta.f42547e → 3.18.2-beta.fc87f65
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/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +1 -1
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +16 -16
- package/dist/composables/useHtmlValidator.js +16 -16
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +32 -28
- package/dist/guido.css +1 -1
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +4 -0
- package/dist/src/utils/liquidDynamicContent.d.ts +20 -0
- package/dist/utils/genericUtil.js +64 -61
- package/dist/utils/liquidDynamicContent.js +15 -0
- package/package.json +5 -5
|
@@ -16,22 +16,22 @@ const rt = /* @__PURE__ */ A({
|
|
|
16
16
|
__name: "AssignStrategyDrawer",
|
|
17
17
|
setup(M) {
|
|
18
18
|
const m = () => import("@useinsider/design-system-organisms"), u = (t, r) => ({
|
|
19
|
-
render: (
|
|
19
|
+
render: (o) => o(L, { props: { sizing: { width: t, height: r } } })
|
|
20
20
|
}), w = S({
|
|
21
21
|
loader: async () => (await m()).OrgStrategyDetailModal,
|
|
22
22
|
loadingComponent: u(480, 240),
|
|
23
23
|
delay: 0
|
|
24
24
|
}), D = S({
|
|
25
25
|
loader: async () => (await m()).OrgStrategyDropdown
|
|
26
|
-
}), n = "guido-edit-strategy-",
|
|
26
|
+
}), n = "guido-edit-strategy-", a = b(), e = R(), { showToaster: i } = C(), s = T(null), c = T(!1), I = g(() => e.assignStrategyDrawerStatus ? a("email-editor.assign-strategy-description", { url: k.RECOMMENDATION_STRATEGIES_PANEL_PATH }) : "");
|
|
27
27
|
h(() => e.assignStrategyDrawerStatus, (t) => {
|
|
28
28
|
if (!t)
|
|
29
29
|
return;
|
|
30
30
|
const { strategyId: r } = e.recommendationConfigs;
|
|
31
|
-
s.value = r || null, c.value = !1, e.fetchStrategies().catch(() => {
|
|
31
|
+
s.value = r || null, c.value = !1, e.invalidateStrategies(), e.fetchStrategies().catch(() => {
|
|
32
32
|
i({
|
|
33
33
|
type: d.Error,
|
|
34
|
-
message:
|
|
34
|
+
message: a("discovery-strategy.error-description")
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
});
|
|
@@ -39,8 +39,8 @@ const rt = /* @__PURE__ */ A({
|
|
|
39
39
|
const r = v(t.updated_at || t.created_at);
|
|
40
40
|
if (!r)
|
|
41
41
|
return "";
|
|
42
|
-
const
|
|
43
|
-
return
|
|
42
|
+
const o = P(r, B);
|
|
43
|
+
return a("recommendation-strategy.last-updated-on", { value: o });
|
|
44
44
|
}, x = g(() => e.strategies.map((t) => ({
|
|
45
45
|
text: t.name,
|
|
46
46
|
value: t.strategy_id,
|
|
@@ -58,7 +58,7 @@ const rt = /* @__PURE__ */ A({
|
|
|
58
58
|
// that can carry the strategy back to the click handler.
|
|
59
59
|
buttonOptions: [{
|
|
60
60
|
id: `${n}${t.strategy_id}`,
|
|
61
|
-
text:
|
|
61
|
+
text: a("eureka.edit-strategy"),
|
|
62
62
|
type: "text",
|
|
63
63
|
// Resolved from Guido's own public/sprite.svg by InIcons; an unknown name would
|
|
64
64
|
// silently render blank space instead of failing.
|
|
@@ -70,10 +70,10 @@ const rt = /* @__PURE__ */ A({
|
|
|
70
70
|
const r = (f = t == null ? void 0 : t.id) != null && f.startsWith(n) ? t.id.slice(n.length) : "";
|
|
71
71
|
if (!r)
|
|
72
72
|
return;
|
|
73
|
-
const
|
|
73
|
+
const o = e.currentRecommendationId;
|
|
74
74
|
String(s.value ?? "") === r && (s.value = null);
|
|
75
75
|
const l = e.recommendationConfigs.strategyId === r;
|
|
76
|
-
l && e.removeStrategy(), e.openStrategyEdit(r), l &&
|
|
76
|
+
l && e.removeStrategy(), e.openStrategyEdit(r), l && o !== null && _(o, "Removed recommendation strategy");
|
|
77
77
|
}, p = g(() => {
|
|
78
78
|
const t = e.strategies.find((r) => String(r.strategy_id) === String(s.value ?? ""));
|
|
79
79
|
return t ? { ...t, fallback_config: null } : null;
|
|
@@ -81,15 +81,15 @@ const rt = /* @__PURE__ */ A({
|
|
|
81
81
|
primaryButton: {
|
|
82
82
|
styling: "solid",
|
|
83
83
|
type: "primary",
|
|
84
|
-
labelText:
|
|
84
|
+
labelText: a("products.assign-btn")
|
|
85
85
|
},
|
|
86
86
|
cancelOrBackButton: {
|
|
87
87
|
styling: "ghost",
|
|
88
88
|
type: "secondary",
|
|
89
|
-
labelText:
|
|
89
|
+
labelText: a("products.cancel")
|
|
90
90
|
}
|
|
91
91
|
}));
|
|
92
|
-
return { __sfc: !0, loadOrganisms: m, skeleton: u, OrgStrategyDetailModal: w, OrgStrategyDropdown: D, EDIT_BUTTON_ID_PREFIX: n, trans:
|
|
92
|
+
return { __sfc: !0, loadOrganisms: m, skeleton: u, OrgStrategyDetailModal: w, OrgStrategyDropdown: D, EDIT_BUTTON_ID_PREFIX: n, trans: a, store: e, showToaster: i, selectedStrategyId: s, showSelectionError: c, drawerDescription: I, lastUpdatedText: y, strategyOptions: x, onInfoBoxButtonClick: E, selectedStrategy: p, footerButtonGroupOptions: O, closeDrawer: () => {
|
|
93
93
|
e.closeAssignStrategyDrawer();
|
|
94
94
|
}, assignStrategy: async () => {
|
|
95
95
|
const t = p.value;
|
|
@@ -106,15 +106,15 @@ const rt = /* @__PURE__ */ A({
|
|
|
106
106
|
if (!r) {
|
|
107
107
|
i({
|
|
108
108
|
type: d.Error,
|
|
109
|
-
message:
|
|
109
|
+
message: a("email-editor.strategy-assign-failed", { strategyName: t.name })
|
|
110
110
|
});
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
|
-
const
|
|
113
|
+
const o = e.currentRecommendationId;
|
|
114
114
|
e.assignStrategy(t), i({
|
|
115
115
|
type: d.Success,
|
|
116
|
-
message:
|
|
117
|
-
}), e.closeAssignStrategyDrawer(),
|
|
116
|
+
message: a("email-editor.strategy-assigned-success", { strategyName: t.name })
|
|
117
|
+
}), e.closeAssignStrategyDrawer(), o !== null && await _(o, "Assigned recommendation strategy");
|
|
118
118
|
}, onSelect: (t) => {
|
|
119
119
|
s.value = t.value, c.value = !1;
|
|
120
120
|
} };
|
|
@@ -38,14 +38,14 @@ function pe(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((y) => y.toLowerCase())), E = [];
|
|
42
|
+
return u.forEach((y) => {
|
|
43
|
+
const g = y.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 C = fe(g);
|
|
47
|
+
if (C && o.has(C.recoId)) {
|
|
48
|
+
if (!d || d.has(C.attribute))
|
|
49
49
|
return;
|
|
50
50
|
E.push(g);
|
|
51
51
|
return;
|
|
@@ -74,7 +74,7 @@ const ke = () => {
|
|
|
74
74
|
return null;
|
|
75
75
|
}
|
|
76
76
|
return ge(u.filterList);
|
|
77
|
-
},
|
|
77
|
+
}, y = async (e) => {
|
|
78
78
|
const n = await m(
|
|
79
79
|
"/newsletter/template-library/check-template-html-body",
|
|
80
80
|
{ html: re(e) }
|
|
@@ -86,7 +86,7 @@ const ke = () => {
|
|
|
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()), C = (e) => ["if", "endif"].includes(e.toLowerCase()), I = (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,7 +100,7 @@ const ke = () => {
|
|
|
100
100
|
}
|
|
101
101
|
}), r;
|
|
102
102
|
}, R = async (e, t, n) => {
|
|
103
|
-
const r = n ? await
|
|
103
|
+
const r = n ? await y(e) : !0;
|
|
104
104
|
return I(e, t) && r;
|
|
105
105
|
}, A = (e) => e.length > 0 ? !0 : (s({
|
|
106
106
|
type: c.Warning,
|
|
@@ -157,7 +157,7 @@ const ke = () => {
|
|
|
157
157
|
}), r = !1);
|
|
158
158
|
const S = h.match(/^[a-zA-Z]*$/g);
|
|
159
159
|
S && S.forEach((T) => {
|
|
160
|
-
|
|
160
|
+
C(T) && n.push(T);
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
163
|
}), n.length) {
|
|
@@ -180,15 +180,15 @@ const ke = () => {
|
|
|
180
180
|
}), !1) : !0, B = () => {
|
|
181
181
|
if (!u.hasInvalidBlock())
|
|
182
182
|
return !0;
|
|
183
|
-
const e = u.invalidBlockFields().
|
|
183
|
+
const e = u.invalidBlockFields(), t = e.length > 0 && e.every((n) => n === ee);
|
|
184
184
|
return s({
|
|
185
|
-
type:
|
|
186
|
-
message: o(
|
|
185
|
+
type: t ? c.Warning : c.Error,
|
|
186
|
+
message: o(t ? te : ne)
|
|
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,
|
|
190
190
|
message: o("newsletter.fill-all-necessary-fields")
|
|
191
|
-
}), !1) : !0,
|
|
191
|
+
}), !1) : !0, x = (e) => {
|
|
192
192
|
const t = /src="[^"]*\.(svg|pst)"/gm;
|
|
193
193
|
return e.match(t) === null ? !0 : (s({
|
|
194
194
|
type: c.Error,
|
|
@@ -220,7 +220,7 @@ const ke = () => {
|
|
|
220
220
|
...q,
|
|
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) && A(e) && _(e) && b(e) && O(e, r, a, i) && w(e) && L(e) && N(e) && B() &&
|
|
223
|
+
return await R(e, r, n) && A(e) && _(e) && b(e) && O(e, r, a, i) && w(e) && L(e) && N(e) && B() && F() && x(e) && D(e) && k(e);
|
|
224
224
|
} };
|
|
225
225
|
};
|
|
226
226
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { getRecommendationFeedSourceMaps as
|
|
1
|
+
import { getRecommendationFeedSourceMaps as v, strategyEditPath as D, URLS as _, getOperatorOptions as N, PriceAttributes as U } from "../../../../enums/extensions/recommendationBlock.js";
|
|
2
2
|
import { useRecommendationApi as A } from "../../../../services/recommendationApi.js";
|
|
3
|
-
import { useConfigStore as
|
|
4
|
-
import { defineStore as
|
|
3
|
+
import { useConfigStore as k } from "../../../../stores/config.js";
|
|
4
|
+
import { defineStore as E } from "pinia";
|
|
5
5
|
import "../constants/selectors.js";
|
|
6
|
-
import { DEFAULT_MOBILE_CARDS_IN_ROW as
|
|
6
|
+
import { DEFAULT_MOBILE_CARDS_IN_ROW as L, DEFAULT_CARDS_IN_ROW as x } from "../constants/layout.js";
|
|
7
7
|
import { DEFAULT_NODE_CONFIG as B, EXCLUDED_ALGORITHM_IDS as M } from "../constants/defaultConfig.js";
|
|
8
|
-
import { getDefaultProducts as
|
|
9
|
-
import { generateCompleteFilterQuery as
|
|
8
|
+
import { getDefaultProducts as F } from "../templates/utils.js";
|
|
9
|
+
import { generateCompleteFilterQuery as w } from "../utils/filterUtil.js";
|
|
10
10
|
import { getPartnerRecommendationParams as O } from "../utils/partnerCustomizations.js";
|
|
11
11
|
import { sanitizeProductIds as T } from "../utils/productIds.js";
|
|
12
12
|
import { isFilterValid as z } from "../validation/filterSchema.js";
|
|
13
13
|
import { getInvalidFields as V, isConfigValid as j } from "../validation/requiredFields.js";
|
|
14
14
|
const f = A();
|
|
15
15
|
let S = null, p = null, y = null, I = "", R = null, b = 0;
|
|
16
|
-
const
|
|
16
|
+
const g = /* @__PURE__ */ new Map();
|
|
17
17
|
let l = null;
|
|
18
18
|
function G() {
|
|
19
19
|
return {
|
|
@@ -31,7 +31,7 @@ function G() {
|
|
|
31
31
|
productIds: [],
|
|
32
32
|
id: 1,
|
|
33
33
|
language: "en_US",
|
|
34
|
-
mobileCardsInRow:
|
|
34
|
+
mobileCardsInRow: L,
|
|
35
35
|
mobileLayoutEnabled: !1,
|
|
36
36
|
orientation: "grid",
|
|
37
37
|
recommendedProducts: [],
|
|
@@ -41,7 +41,7 @@ function G() {
|
|
|
41
41
|
// that default is what reached buildCampaignUrl and baked a most-popular feed URL
|
|
42
42
|
// for a block the user never configured (SD-149916). Legacy blocks still get their real
|
|
43
43
|
// algorithm from the node-config sync or the save-time seed.
|
|
44
|
-
strategy:
|
|
44
|
+
strategy: k().isFeatureEnabled("reusableRecommendationStrategy") ? "" : "mostPopular",
|
|
45
45
|
strategyId: "",
|
|
46
46
|
textTrimming: !0,
|
|
47
47
|
unresponsive: !1,
|
|
@@ -51,7 +51,7 @@ function G() {
|
|
|
51
51
|
priceHideIfSameAsDiscounted: !1
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function P() {
|
|
55
55
|
return {
|
|
56
56
|
recommendationConfigs: G(),
|
|
57
57
|
recommendationProducts: [],
|
|
@@ -80,7 +80,7 @@ const $ = () => ({
|
|
|
80
80
|
currentRecommendationId: null,
|
|
81
81
|
strategyPanelOpen: !1,
|
|
82
82
|
configVersion: 0
|
|
83
|
-
}), it =
|
|
83
|
+
}), it = E("guidoRecommendationExtension", {
|
|
84
84
|
state: () => $(),
|
|
85
85
|
getters: {
|
|
86
86
|
// ====================================================================
|
|
@@ -146,7 +146,7 @@ const $ = () => ({
|
|
|
146
146
|
return [...new Set(t.map((e) => e.filterGroup))].sort((e, r) => e - r);
|
|
147
147
|
},
|
|
148
148
|
getActivePredictiveAlgorithms: (t) => {
|
|
149
|
-
const e =
|
|
149
|
+
const e = v(), r = [];
|
|
150
150
|
return t.activePredictiveAlgorithms.filter((n) => !M.includes(n)).forEach((n) => {
|
|
151
151
|
r.push(...e.filter((s) => s.id === n));
|
|
152
152
|
}), r.map((n) => ({
|
|
@@ -187,7 +187,7 @@ const $ = () => ({
|
|
|
187
187
|
setCurrentBlock(t) {
|
|
188
188
|
this.blockStates[t] || (this.blockStates = {
|
|
189
189
|
...this.blockStates,
|
|
190
|
-
[t]:
|
|
190
|
+
[t]: P()
|
|
191
191
|
}), this.currentRecommendationId = t;
|
|
192
192
|
},
|
|
193
193
|
/**
|
|
@@ -209,12 +209,16 @@ const $ = () => ({
|
|
|
209
209
|
/**
|
|
210
210
|
* Deep-clones a block's state and mirrors its campaign URL under a new id.
|
|
211
211
|
* Invoked from `onCreated` when a duplicate is detected (SD-142352).
|
|
212
|
+
*
|
|
213
|
+
* The clone keeps the source's data but drops its "already fetched / already
|
|
214
|
+
* synced" claims for strategy blocks, so it fetches again like a fresh drop
|
|
215
|
+
* (SD-149916).
|
|
212
216
|
*/
|
|
213
217
|
cloneBlockState(t, e) {
|
|
214
218
|
const r = this.blockStates[t];
|
|
215
219
|
if (r) {
|
|
216
220
|
const o = structuredClone(r);
|
|
217
|
-
o.recommendationConfigs.id = e, this.blockStates = {
|
|
221
|
+
o.recommendationConfigs.id = e, o.recommendationConfigs.strategyId && k().isFeatureEnabled("reusableRecommendationStrategy") && (o.isInitialized = !1, o.syncedConfigFingerprint = null), this.blockStates = {
|
|
218
222
|
...this.blockStates,
|
|
219
223
|
[e]: o
|
|
220
224
|
};
|
|
@@ -255,7 +259,7 @@ const $ = () => ({
|
|
|
255
259
|
decimalCount: String(e.currencyDecimalCount),
|
|
256
260
|
decimalSeparator: r(e.currencyDecimalSeparator, ","),
|
|
257
261
|
thousandSeparator: r(e.currencyThousandSeparator, ".")
|
|
258
|
-
}, s = !this.blockStates[t], i = s ?
|
|
262
|
+
}, s = !this.blockStates[t], i = s ? P() : this.blockStates[t];
|
|
259
263
|
i.recommendationConfigs = {
|
|
260
264
|
...i.recommendationConfigs,
|
|
261
265
|
strategy: e.strategy,
|
|
@@ -571,7 +575,7 @@ const $ = () => ({
|
|
|
571
575
|
}), e.recommendationConfigs.filters = r;
|
|
572
576
|
},
|
|
573
577
|
generateFilterQuery() {
|
|
574
|
-
return
|
|
578
|
+
return w(this.recommendationConfigs.filters);
|
|
575
579
|
},
|
|
576
580
|
/**
|
|
577
581
|
* Validation-only check invoked at save-CTA time. Defined as an action
|
|
@@ -611,20 +615,20 @@ const $ = () => ({
|
|
|
611
615
|
}
|
|
612
616
|
},
|
|
613
617
|
async _doFetchProducts() {
|
|
614
|
-
var
|
|
615
|
-
const t = this.currentRecommendationId, e = this.blockStates[t], { recommendationConfigs: r } = e, n =
|
|
618
|
+
var h;
|
|
619
|
+
const t = this.currentRecommendationId, e = this.blockStates[t], { recommendationConfigs: r } = e, n = k();
|
|
616
620
|
if (r.strategyId && n.isFeatureEnabled("reusableRecommendationStrategy")) {
|
|
617
621
|
await this._doFetchStrategyProducts(t);
|
|
618
622
|
return;
|
|
619
623
|
}
|
|
620
|
-
const s = (
|
|
621
|
-
|
|
624
|
+
const s = (g.get(t) ?? 0) + 1;
|
|
625
|
+
g.set(t, s);
|
|
622
626
|
const i = parseInt(r.size) || 6;
|
|
623
627
|
if (!r.strategy) {
|
|
624
628
|
this._setBlockProducts(t, [], i);
|
|
625
629
|
return;
|
|
626
630
|
}
|
|
627
|
-
const o = r.filters.filter((d) => d.isValid), a =
|
|
631
|
+
const o = r.filters.filter((d) => d.isValid), a = w(o), u = ((h = v().find((d) => d.key === r.strategy)) == null ? void 0 : h.path) || "", c = {
|
|
628
632
|
locale: r.language,
|
|
629
633
|
currency: r.currencySettings.value,
|
|
630
634
|
partnerName: n.partnerName,
|
|
@@ -642,11 +646,11 @@ const $ = () => ({
|
|
|
642
646
|
} catch {
|
|
643
647
|
m = [];
|
|
644
648
|
}
|
|
645
|
-
|
|
649
|
+
g.get(t) === s && this._setBlockProducts(t, m, i);
|
|
646
650
|
},
|
|
647
651
|
async _doFetchStrategyProducts(t) {
|
|
648
|
-
const e = (
|
|
649
|
-
|
|
652
|
+
const e = (g.get(t) ?? 0) + 1;
|
|
653
|
+
g.set(t, e);
|
|
650
654
|
const { recommendationConfigs: r } = this.blockStates[t];
|
|
651
655
|
let n = [], s = parseInt(r.size) || 6;
|
|
652
656
|
try {
|
|
@@ -656,21 +660,21 @@ const $ = () => ({
|
|
|
656
660
|
);
|
|
657
661
|
if (i) {
|
|
658
662
|
s = parseInt(String(i.size ?? "")) || s;
|
|
659
|
-
const o = r.currencySettings.value, u = (await this.resolveStrategyUrlTemplate(i, o)).replaceAll("{locale}", r.language).replaceAll("{currency}", o), c = u.indexOf("?"), m = c === -1 ? u : u.slice(0, c),
|
|
663
|
+
const o = r.currencySettings.value, u = (await this.resolveStrategyUrlTemplate(i, o)).replaceAll("{locale}", r.language).replaceAll("{currency}", o), c = u.indexOf("?"), m = c === -1 ? u : u.slice(0, c), h = (c === -1 ? "" : u.slice(c + 1)).split("&").filter((C) => C && !C.startsWith("user_id=")), d = h.length ? `${m}?${h.join("&")}` : m;
|
|
660
664
|
d && (n = await f.fetchRecommendationProductsByUrl(d));
|
|
661
665
|
}
|
|
662
666
|
} catch {
|
|
663
667
|
n = [];
|
|
664
668
|
}
|
|
665
|
-
|
|
669
|
+
g.get(t) === e && this._setBlockProducts(t, n, s);
|
|
666
670
|
},
|
|
667
671
|
_setBlockProducts(t, e, r) {
|
|
668
672
|
if (!this.blockStates[t])
|
|
669
673
|
return;
|
|
670
|
-
const n = e.length > 0 ? e :
|
|
674
|
+
const n = e.length > 0 ? e : F(r);
|
|
671
675
|
this.blockStates[t].recommendationProducts = [
|
|
672
676
|
...n.slice(0, r),
|
|
673
|
-
...
|
|
677
|
+
...F(Math.max(0, r - n.length))
|
|
674
678
|
];
|
|
675
679
|
}
|
|
676
680
|
}
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-1ca6baf0]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-cc5ee925]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-cc5ee925]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-cc5ee925]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-
|
|
1
|
+
@charset "UTF-8";.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-1ca6baf0]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-cc5ee925]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-cc5ee925]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-cc5ee925]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-800656f5]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-800656f5] .in-skeleton{width:100%!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-800656f5] .in-dropdown-box__container{width:413px}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}
|
|
@@ -426,6 +426,10 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
426
426
|
/**
|
|
427
427
|
* Deep-clones a block's state and mirrors its campaign URL under a new id.
|
|
428
428
|
* Invoked from `onCreated` when a duplicate is detected (SD-142352).
|
|
429
|
+
*
|
|
430
|
+
* The clone keeps the source's data but drops its "already fetched / already
|
|
431
|
+
* synced" claims for strategy blocks, so it fetches again like a fresh drop
|
|
432
|
+
* (SD-149916).
|
|
429
433
|
*/
|
|
430
434
|
cloneBlockState(sourceId: number, newId: number): void;
|
|
431
435
|
/**
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { BaseDynamicContent } from '@@/Types/generic';
|
|
2
|
+
export type DynamicContentFormat = NonNullable<BaseDynamicContent['format']>;
|
|
3
|
+
/** Format key the dynamic-content picker sends for a custom date/time format. */
|
|
4
|
+
export declare const TIME_FORMAT_KEY = "time-format";
|
|
5
|
+
/** Wraps a Liquid filter argument in whichever quote style the value itself does not use. */
|
|
6
|
+
export declare const quoteArgument: (value: string) => string | null;
|
|
7
|
+
/**
|
|
8
|
+
* `{ key: 'time-format', value: '%Y-%m-%d' }` -> `date: "%Y-%m-%d"`.
|
|
9
|
+
*
|
|
10
|
+
* Only a custom date/time strftime pattern has a Liquid equivalent. Anything else returns null so
|
|
11
|
+
* the caller emits a plain tag rather than one that silently lost — or literally printed — its
|
|
12
|
+
* format.
|
|
13
|
+
* @example formatToLiquidFilter({ key: 'time-format', value: '%b %-d, %Y' }) -> date: "%b %-d, %Y"
|
|
14
|
+
*/
|
|
15
|
+
export declare const formatToLiquidFilter: (format: DynamicContentFormat) => string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Inverse of `formatToLiquidFilter` — reads the picker format back out of one filter segment, so a
|
|
18
|
+
* reopened tag restores its selection in the host's format dropdown.
|
|
19
|
+
*/
|
|
20
|
+
export declare const liquidFilterToFormat: (segment: string) => DynamicContentFormat | null;
|
|
@@ -1,75 +1,78 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { formatToLiquidFilter as b, quoteArgument as y, liquidFilterToFormat as h } from "./liquidDynamicContent.js";
|
|
2
|
+
const g = (t) => {
|
|
3
|
+
if (!t.includes("="))
|
|
4
|
+
return null;
|
|
5
|
+
const [r, e] = t.split("=");
|
|
6
|
+
return { key: r.trim(), value: e.trim() };
|
|
7
|
+
}, c = "default:", f = (t) => {
|
|
8
|
+
if (!t.startsWith(c))
|
|
9
|
+
return t;
|
|
10
|
+
const r = t.slice(c.length).trim(), e = (l) => r.length >= 2 && r.startsWith(l) && r.endsWith(l);
|
|
11
|
+
return e('"') || e("'") ? r.slice(1, -1) : r;
|
|
12
|
+
}, k = (t) => {
|
|
13
|
+
const e = t.value.match(/\{\{([^}]+)\}\}/)[1].split("|").map((a) => a.trim()), [l] = e, s = {
|
|
14
|
+
text: t.label,
|
|
15
|
+
value: l || ""
|
|
5
16
|
};
|
|
6
|
-
if (
|
|
7
|
-
const [,
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
n ? r.format = n : l || (r.fallback = e), l && (r.fallback = l);
|
|
17
|
+
if (e.length >= 2) {
|
|
18
|
+
const [, a, n] = e;
|
|
19
|
+
if (a.startsWith(c))
|
|
20
|
+
s.fallback = f(a);
|
|
21
|
+
else {
|
|
22
|
+
const o = h(a) ?? g(a);
|
|
23
|
+
o ? s.format = o : n || (s.fallback = a), n && (s.fallback = f(n));
|
|
14
24
|
}
|
|
15
25
|
}
|
|
16
|
-
return
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
if (c) {
|
|
24
|
-
if (!t.fallback)
|
|
25
|
-
return {
|
|
26
|
-
label: t.text,
|
|
27
|
-
value: `{{ ${t.value} }}`
|
|
28
|
-
};
|
|
29
|
-
const r = !Number.isNaN(Number(t.fallback)) && t.fallback.trim() !== "" ? t.fallback : `"${t.fallback}"`;
|
|
30
|
-
return {
|
|
31
|
-
label: `${t.text} | ${t.fallback}`,
|
|
32
|
-
value: `{{ ${t.value} | default: ${r} }}`
|
|
33
|
-
};
|
|
34
|
-
}
|
|
26
|
+
return s;
|
|
27
|
+
}, p = (t) => {
|
|
28
|
+
const e = !Number.isNaN(Number(t)) && t.trim() !== "" ? t : y(t);
|
|
29
|
+
return e === null ? null : `${c} ${e}`;
|
|
30
|
+
}, v = (t) => {
|
|
31
|
+
const r = t.format ? b(t.format) : null, e = t.fallback ? p(t.fallback) : null, l = [t.value, r, e].filter(Boolean);
|
|
35
32
|
return {
|
|
36
|
-
label: t.
|
|
37
|
-
value:
|
|
33
|
+
label: [t.text, r, e && t.fallback].filter(Boolean).join(" | "),
|
|
34
|
+
value: `{{ ${l.join(" | ")} }}`
|
|
38
35
|
};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
}, i = (t, r = !1) => t.map((e) => r ? v(e) : e.format ? {
|
|
37
|
+
label: `${e.text} | ${e.format.key}=${e.format.value}`,
|
|
38
|
+
value: `{{${e.value}|${e.format.key}=${e.format.value}}}`
|
|
39
|
+
} : {
|
|
40
|
+
label: e.fallback ? `${e.text} | ${e.fallback}` : e.text,
|
|
41
|
+
value: e.fallback ? `{{${e.value}|${e.fallback}}}` : `{{${e.value}}}`
|
|
42
|
+
}), $ = (t) => {
|
|
43
|
+
const r = [], e = /* @__PURE__ */ new Set(), l = (a) => {
|
|
44
|
+
Array.isArray(a) && a.forEach((n) => {
|
|
45
|
+
const o = [...n.children ?? [], ...n.select_items ?? []];
|
|
46
|
+
if (o.length > 0) {
|
|
47
|
+
l(o);
|
|
45
48
|
return;
|
|
46
49
|
}
|
|
47
|
-
const
|
|
48
|
-
|
|
50
|
+
const u = n.text || n.tag_text;
|
|
51
|
+
u && n.value && !e.has(n.value) && (e.add(n.value), r.push({ text: u, value: n.value }));
|
|
49
52
|
});
|
|
50
|
-
}, [
|
|
51
|
-
return s
|
|
52
|
-
},
|
|
53
|
-
const
|
|
53
|
+
}, [s] = Object.values(t ?? {});
|
|
54
|
+
return l(s), r;
|
|
55
|
+
}, d = (t, r, e = !1) => {
|
|
56
|
+
const l = new Set(t.map((a) => a.value)), s = r.filter((a) => l.has(a.value) ? !1 : (l.add(a.value), !0));
|
|
54
57
|
return [
|
|
55
|
-
...
|
|
56
|
-
...
|
|
58
|
+
...i(t, e),
|
|
59
|
+
...i(s, e)
|
|
57
60
|
];
|
|
58
|
-
},
|
|
59
|
-
var
|
|
60
|
-
return ((
|
|
61
|
-
},
|
|
62
|
-
if (
|
|
61
|
+
}, F = () => {
|
|
62
|
+
var t;
|
|
63
|
+
return ((t = document.head.querySelector('meta[name="csrf-token"]')) == null ? void 0 : t.getAttribute("content")) ?? "";
|
|
64
|
+
}, T = (t) => typeof t == "string" ? t : typeof t == "number" ? String(t) : "", x = (t) => {
|
|
65
|
+
if (t === null || typeof t != "object" || Array.isArray(t))
|
|
63
66
|
return !1;
|
|
64
|
-
const
|
|
65
|
-
return
|
|
67
|
+
const r = Object.getPrototypeOf(t);
|
|
68
|
+
return r === Object.prototype || r === null;
|
|
66
69
|
};
|
|
67
70
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
T as asText,
|
|
72
|
+
d as buildMergeTagEntries,
|
|
73
|
+
i as dynamicContentToMergeTags,
|
|
74
|
+
$ as flattenDynamicContentList,
|
|
75
|
+
F as getCsrfToken,
|
|
76
|
+
x as isPlainObject,
|
|
77
|
+
k as mergeTagToDynamicContent
|
|
75
78
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const E = "time-format", r = "date", u = new RegExp(`^${r}\\s*:\\s*(?:"([^"]*)"|'([^']*)')$`), s = /%[-_0^#]?\d*[a-zA-Z%]/, c = new RegExp(s, "g"), l = /\b(?:Y{2,4}|M{2,4}|D{1,4}|d{3,4}|H{2}|h{2}|m{2}|s{2}|S{1,3}|A|a)\b/, T = (t) => t.includes('"') ? t.includes("'") ? null : `'${t}'` : `"${t}"`, i = (t) => s.test(t) && !l.test(t.replace(c, "")), R = (t) => {
|
|
2
|
+
if (t.key !== E || !i(t.value ?? ""))
|
|
3
|
+
return null;
|
|
4
|
+
const n = T(t.value);
|
|
5
|
+
return n === null ? null : `${r}: ${n}`;
|
|
6
|
+
}, _ = (t) => {
|
|
7
|
+
const [, n, o] = t.match(u) ?? [], e = n ?? o;
|
|
8
|
+
return e ? { key: E, value: e } : null;
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
E as TIME_FORMAT_KEY,
|
|
12
|
+
R as formatToLiquidFilter,
|
|
13
|
+
_ as liquidFilterToFormat,
|
|
14
|
+
T as quoteArgument
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "3.18.2-beta.
|
|
3
|
+
"version": "3.18.2-beta.fc87f65",
|
|
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",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@typescript-eslint/parser": "7.18.0",
|
|
78
78
|
"@useinsider/eslint-config": "1.5.3",
|
|
79
79
|
"@vitejs/plugin-vue2": "2.3.1",
|
|
80
|
-
"@vitest/coverage-v8": "
|
|
80
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
81
81
|
"eslint": "8.57.1",
|
|
82
82
|
"eslint-config-airbnb-base": "15.0.0",
|
|
83
83
|
"eslint-config-airbnb-typescript": "18.0.0",
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
"happy-dom": "15.11.7",
|
|
91
91
|
"husky": "9.1.7",
|
|
92
92
|
"msw": "2.10.3",
|
|
93
|
-
"nyc": "
|
|
93
|
+
"nyc": "18.0.0",
|
|
94
94
|
"sass": "1.69.7",
|
|
95
95
|
"typescript": "5.5.4",
|
|
96
96
|
"typescript-eslint": "8.26.0",
|
|
97
97
|
"vite-plugin-dts": "4.5.4",
|
|
98
98
|
"vite-plugin-istanbul": "7.0.0",
|
|
99
|
-
"vitest": "
|
|
99
|
+
"vitest": "4.1.11",
|
|
100
100
|
"vue-tsc": "2.2.10"
|
|
101
101
|
},
|
|
102
102
|
"overrides": {
|
|
103
|
-
"axios": "1.
|
|
103
|
+
"axios": "1.20.0",
|
|
104
104
|
"flatted": "3.4.2",
|
|
105
105
|
"micromatch": "4.0.8",
|
|
106
106
|
"path-to-regexp": "6.3.0"
|