@feedmepos/mf-connect 0.0.12-beta.3 → 0.0.12-beta.4
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/{Analytic-B3l349eC.js → Analytic-ZMqozuM6.js} +49 -49
- package/dist/{Broadcast-yDSGC_XT.js → Broadcast-DA2mFscp.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CWIprF8i.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BCVez-GP.js} +8 -8
- package/dist/{Card-COIsCQPA.js → Card-_UXR_SX-.js} +32 -32
- package/dist/{Collections-J8U8f366.js → Collections-CBJU9iGb.js} +6 -6
- package/dist/{Credit-CjrP3YFP.js → Credit-4dxpxmCD.js} +7 -7
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-C525aMrg.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BzSfH-__.js} +21 -21
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-C24jDN2j.js → EffectSheet.vue_vue_type_style_index_0_lang-DdWS73Qu.js} +5 -5
- package/dist/{Experience-DSlLx1z0.js → Experience-ZFW90hkY.js} +7 -7
- package/dist/{Game-B-z4_UTN.js → Game-CVy18oi0.js} +7 -7
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-malA-32g.js → ImageInput.vue_vue_type_script_setup_true_lang-TU4pSc9U.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-WI-MRPa-.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DVa0OB7_.js} +1 -1
- package/dist/{MainLayout-C6ARKqBH.js → MainLayout-BY3PQBnu.js} +2 -2
- package/dist/{Marketing-D2wrqpD4.js → Marketing-B-8DHM1J.js} +4 -4
- package/dist/{Member-CF7RT-bG.js → Member-Cps2DwiF.js} +2 -2
- package/dist/{MemberList-B4Ypsesu.js → MemberList-BX-c5Jtb.js} +12 -12
- package/dist/{MemberTransactions-Be4vXNUA.js → MemberTransactions-B1fYKpBM.js} +2 -2
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DBO-PC5u.js → MessageInput.vue_vue_type_script_setup_true_lang-C0WCxI2q.js} +4 -4
- package/dist/{Mission-C3lEwwch.js → Mission-B-mu8Omv.js} +7 -7
- package/dist/{Point-BQcc40AK.js → Point-ByqjTraK.js} +7 -7
- package/dist/{Promotion-Dth9UKZa.js → Promotion-DNxKyxdi.js} +8 -8
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-D0d6jtUK.js → RuleGroup.vue_vue_type_script_setup_true_lang-DtWU-Awe.js} +13 -13
- package/dist/{Segment-VrzgOJaV.js → Segment-nv4NXnne.js} +9 -9
- package/dist/{Setting-Cw7gMEku.js → Setting-QHFMGukJ.js} +8 -8
- package/dist/{Store-WvTWGL-Y.js → Store-1BbOS7Df.js} +309 -297
- package/dist/{StoreRewards-DS98a80b.js → StoreRewards-CsccDCQ2.js} +9 -9
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BmYdad5P.js → StoreTransactions.vue_vue_type_script_setup_true_lang-COWzipRA.js} +6 -6
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-yagktc41.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-Do6FLE6j.js} +1 -1
- package/dist/{Tier-qGQZn4Ta.js → Tier-BNNfu3HQ.js} +16 -16
- package/dist/{Title-3m9b4ypu.js → Title-BIEYwDKC.js} +15 -15
- package/dist/{Transaction-BSvaaSlC.js → Transaction-DrXWXtpC.js} +1 -1
- package/dist/{Voucher-B5VVBjBM.js → Voucher-ChEudx-9.js} +9 -9
- package/dist/{app-DTCxr7KF.js → app-BLFoR4xA.js} +33 -33
- package/dist/{app-BupCXkUr.js → app-rRR7KoUe.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{campaign-OHQ7UOqe.js → campaign-B2W0HTDb.js} +2 -2
- package/dist/{collection.fn-Dd7SPHQP.js → collection.fn-BWCcKTqy.js} +2 -2
- package/dist/{dto-SNL4cPDS.js → dto-dHypapAm.js} +37 -37
- package/dist/{effect-Dr85rpJR.js → effect-BJ9RNRzu.js} +1 -1
- package/dist/{export-DTYVWfvU.js → export-D445oElS.js} +3 -3
- package/dist/{helper-DC1hD_Ov.js → helper-DFNjwSO-.js} +1 -1
- package/dist/{index-DZ9Xvc4O.js → index-9MCCctkh.js} +1 -1
- package/dist/{index-DWn8_sb7.js → index-BRGX8Cel.js} +1 -1
- package/dist/{index-mCbB3nPy.js → index-Br33VqCw.js} +1 -1
- package/dist/{index-DoJfh0nI.js → index-CspIXIB2.js} +1 -1
- package/dist/{index-cLhVQbcO.js → index-DIclAHKq.js} +2 -2
- package/dist/{index-CCwqxwrL.js → index-JkntTOYF.js} +2 -2
- package/dist/{index-D_XlrHSm.js → index-P_zlgnDL.js} +2 -2
- package/dist/{index-CinbZroT.js → index-UqYX-vKs.js} +5 -5
- package/dist/{index-DCoxbGI0.js → index-cWqq5Bf2.js} +5 -5
- package/dist/{index-EL2bSWjh.js → index-fsNnt3j5.js} +3 -3
- package/dist/{loading-D3MEr8M7.js → loading-DOmuEHZV.js} +4 -4
- package/dist/{lodash-CpJ4dLYx.js → lodash-D_c1ulHG.js} +1 -1
- package/dist/{membership-BzpR5UPD.js → membership-BjhlqfJC.js} +3 -3
- package/dist/{money-Dlb-UU3S.js → money-ygEY5HSe.js} +1 -1
- package/dist/{number-Cfr7wiRW.js → number-aHOdZHBk.js} +1 -1
- package/dist/{rule-CzrJkQG8.js → rule-DnxKCWJh.js} +2 -2
- package/dist/{rule-builder-P-Y2g79j.js → rule-builder-BJvYfKo-.js} +1 -1
- package/dist/{template-DVX94OSU.js → template-YAI3oq2T.js} +6 -6
- package/dist/{usePagination-BuMKg1LY.js → usePagination-DrADHLXA.js} +1 -1
- package/dist/{xlsx-C2on8TJu.js → xlsx-CHVjO0a4.js} +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as L, openBlock as r, createElementBlock as R, Fragment as
|
|
1
|
+
import { defineComponent as L, openBlock as r, createElementBlock as R, Fragment as S, renderList as O, createElementVNode as e, toDisplayString as w, createCommentVNode as z, resolveComponent as P, createBlock as x, withCtx as H, createVNode as n, unref as i, ref as V, computed as b, onMounted as Y, watch as eo, isRef as Z, createSlots as io, createTextVNode as to, reactive as ao, onBeforeMount as ro, normalizeClass as G } from "vue";
|
|
2
2
|
import { _ as Ko } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { f as no } from "./number-
|
|
4
|
-
import { C as Ao, F as Uo, a as lo } from "./dto-
|
|
3
|
+
import { f as no } from "./number-aHOdZHBk.js";
|
|
4
|
+
import { C as Ao, F as Uo, a as lo } from "./dto-dHypapAm.js";
|
|
5
5
|
import { useRouter as $ } from "vue-router";
|
|
6
|
-
import { c as J } from "./index-
|
|
6
|
+
import { c as J } from "./index-9MCCctkh.js";
|
|
7
7
|
import { _ as Fo } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWt4tVdk.js";
|
|
8
8
|
import { Z as so } from "./zod-W_PvIofQ.js";
|
|
9
|
-
import { J as po, u as co } from "./app-
|
|
10
|
-
import { u as Ro } from "./loading-
|
|
9
|
+
import { J as po, u as co } from "./app-BLFoR4xA.js";
|
|
10
|
+
import { u as Ro } from "./loading-DOmuEHZV.js";
|
|
11
11
|
import { useSnackbar as uo } from "@feedmepos/ui-library";
|
|
12
12
|
import { g as mo } from "./object-qECH92oz.js";
|
|
13
|
-
import { u as fo } from "./campaign-
|
|
14
|
-
import { u as Vo } from "./membership-
|
|
15
|
-
import { m as qo } from "./index-
|
|
16
|
-
const vo = { class: "divide-x flex flex-wrap" },
|
|
13
|
+
import { u as fo } from "./campaign-B2W0HTDb.js";
|
|
14
|
+
import { u as Vo } from "./membership-BjhlqfJC.js";
|
|
15
|
+
import { m as qo } from "./index-CspIXIB2.js";
|
|
16
|
+
const vo = { class: "divide-x flex flex-wrap" }, Po = { class: "fm-typo-en-body-md-400 mb-2 text-fm-color-typo-secondary" }, Xo = { class: "fm-typo-en-title-sm-800" }, yo = /* @__PURE__ */ L({
|
|
17
17
|
__name: "CampaignStat",
|
|
18
18
|
props: {
|
|
19
19
|
data: {
|
|
@@ -35,13 +35,13 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
35
35
|
return no((F = W.data) == null ? void 0 : F[m], 2, !0) || 0;
|
|
36
36
|
}
|
|
37
37
|
return (m, F) => (r(), R("div", vo, [
|
|
38
|
-
(r(), R(
|
|
38
|
+
(r(), R(S, null, O(U, (t) => (r(), R(S, null, [
|
|
39
39
|
t.key in u.data ? (r(), R("div", {
|
|
40
40
|
key: t.key,
|
|
41
41
|
class: "px-16"
|
|
42
42
|
}, [
|
|
43
|
-
e("div",
|
|
44
|
-
e("div",
|
|
43
|
+
e("div", Po, w(t.label), 1),
|
|
44
|
+
e("div", Xo, w(p(t.key)), 1)
|
|
45
45
|
])) : z("", !0)
|
|
46
46
|
], 64))), 64))
|
|
47
47
|
]));
|
|
@@ -62,7 +62,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
62
62
|
setup(u) {
|
|
63
63
|
const U = Ao[u.type];
|
|
64
64
|
return (p, m) => {
|
|
65
|
-
const F =
|
|
65
|
+
const F = P("FmIcon"), t = P("FmTooltip");
|
|
66
66
|
return r(), x(t, {
|
|
67
67
|
variant: "plain",
|
|
68
68
|
placement: "top",
|
|
@@ -119,7 +119,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
119
119
|
groupId: U.group._id.toString()
|
|
120
120
|
});
|
|
121
121
|
}), (t, s) => {
|
|
122
|
-
const A =
|
|
122
|
+
const A = P("FmButton"), a = P("FmCard");
|
|
123
123
|
return r(), x(a, {
|
|
124
124
|
class: "mb-24 p-24",
|
|
125
125
|
variant: "outlined"
|
|
@@ -137,7 +137,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
137
137
|
])
|
|
138
138
|
]),
|
|
139
139
|
e("div", go, [
|
|
140
|
-
(r(!0), R(
|
|
140
|
+
(r(!0), R(S, null, O(i(F), (d) => (r(), x(zo, {
|
|
141
141
|
key: t.index,
|
|
142
142
|
type: d.campaign.type,
|
|
143
143
|
label: d.label
|
|
@@ -176,7 +176,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
176
176
|
(A) => U.items.find((a) => a.value === A)
|
|
177
177
|
);
|
|
178
178
|
}), (A, a) => {
|
|
179
|
-
const d =
|
|
179
|
+
const d = P("FmCheckbox"), q = P("FmCard");
|
|
180
180
|
return r(), x(q, {
|
|
181
181
|
variant: "outlined",
|
|
182
182
|
class: "p-16 space-y-8 h-full cursor-pointer select-none xs:col-span-3"
|
|
@@ -190,8 +190,8 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
190
190
|
"onUpdate:modelValue": m
|
|
191
191
|
}, null, 8, ["model-value", "label", "indeterminate"]),
|
|
192
192
|
e("div", Ho, [
|
|
193
|
-
(r(!0), R(
|
|
194
|
-
key:
|
|
193
|
+
(r(!0), R(S, null, O(U.items, (f, X) => (r(), x(d, {
|
|
194
|
+
key: X,
|
|
195
195
|
"model-value": i(s),
|
|
196
196
|
label: f.label,
|
|
197
197
|
value: f.value,
|
|
@@ -231,8 +231,8 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
231
231
|
return Y(() => {
|
|
232
232
|
p.value = m.modelValue;
|
|
233
233
|
}), (A, a) => {
|
|
234
|
-
const d =
|
|
235
|
-
return r(), R(
|
|
234
|
+
const d = P("FmTextField");
|
|
235
|
+
return r(), R(S, null, [
|
|
236
236
|
n(po, { json: u.campaigns }, null, 8, ["json"]),
|
|
237
237
|
e("div", Co, [
|
|
238
238
|
e("div", Oo, [
|
|
@@ -246,11 +246,11 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
246
246
|
}, null, 8, ["modelValue"])
|
|
247
247
|
]),
|
|
248
248
|
e("div", No, [
|
|
249
|
-
(r(!0), R(
|
|
249
|
+
(r(!0), R(S, null, O(i(t), (q, f) => (r(), x(To, {
|
|
250
250
|
"model-value": i(p),
|
|
251
251
|
title: f,
|
|
252
252
|
items: q,
|
|
253
|
-
"onUpdate:modelValue": (
|
|
253
|
+
"onUpdate:modelValue": (X) => s(X, q)
|
|
254
254
|
}, null, 8, ["model-value", "title", "items", "onUpdate:modelValue"]))), 256))
|
|
255
255
|
])
|
|
256
256
|
])
|
|
@@ -270,7 +270,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
270
270
|
name: "",
|
|
271
271
|
campaigns: []
|
|
272
272
|
}, A = V(""), a = V({ ...s }), d = Uo.superRefine((l, o) => {
|
|
273
|
-
}), q = V([]), f = V(null), { global:
|
|
273
|
+
}), q = V([]), f = V(null), { global: X, minor: N } = Ro, D = b(() => {
|
|
274
274
|
const l = d.safeParse(a.value);
|
|
275
275
|
return l.success ? [] : l.error.errors;
|
|
276
276
|
});
|
|
@@ -323,7 +323,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
323
323
|
const o = (K = a.value.campaigns) == null ? void 0 : K.indexOf(l);
|
|
324
324
|
o != null && o > -1 && ((j = a.value.campaigns) == null || j.splice(o, 1));
|
|
325
325
|
}
|
|
326
|
-
async function
|
|
326
|
+
async function y() {
|
|
327
327
|
d.safeParse(a.value).success && await N(
|
|
328
328
|
async () => {
|
|
329
329
|
var o;
|
|
@@ -356,7 +356,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
356
356
|
showSheet: g,
|
|
357
357
|
hideSheet: M
|
|
358
358
|
}), (l, o) => {
|
|
359
|
-
const K =
|
|
359
|
+
const K = P("FmButton"), j = P("FmTextField"), B = P("FmList"), Q = P("FmSideSheet");
|
|
360
360
|
return r(), x(Q, {
|
|
361
361
|
modelValue: i(F),
|
|
362
362
|
"onUpdate:modelValue": o[7] || (o[7] = (v) => Z(F) ? F.value = v : null),
|
|
@@ -367,10 +367,10 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
367
367
|
}, io({
|
|
368
368
|
"side-sheet-footer": H(() => [
|
|
369
369
|
e("div", Eo, [
|
|
370
|
-
i(t) ? z("", !0) : (r(), R(
|
|
370
|
+
i(t) ? z("", !0) : (r(), R(S, { key: 0 }, [
|
|
371
371
|
n(K, {
|
|
372
372
|
label: "Submit",
|
|
373
|
-
onClick:
|
|
373
|
+
onClick: y,
|
|
374
374
|
disabled: i(D).length > 0 || i(m).isLoading
|
|
375
375
|
}, null, 8, ["disabled"]),
|
|
376
376
|
n(K, {
|
|
@@ -427,16 +427,16 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
427
427
|
campaigns: i(c)
|
|
428
428
|
}, null, 8, ["modelValue", "campaigns"])) : z("", !0),
|
|
429
429
|
e("div", Yo, [
|
|
430
|
-
i(t) ? z("", !0) : (r(!0), R(
|
|
430
|
+
i(t) ? z("", !0) : (r(!0), R(S, { key: 0 }, O(i(k), (v, oo) => (r(), R("div", null, [
|
|
431
431
|
e("div", Io, w(oo), 1),
|
|
432
432
|
n(B, { separator: !0 }, {
|
|
433
433
|
default: H(() => [
|
|
434
|
-
(r(!0), R(
|
|
434
|
+
(r(!0), R(S, null, O(v, (E) => (r(), R("div", Go, [
|
|
435
435
|
e("div", null, w(E.label), 1),
|
|
436
436
|
e("div", null, [
|
|
437
437
|
n(K, {
|
|
438
438
|
icon: "delete",
|
|
439
|
-
onClick: (
|
|
439
|
+
onClick: (Xe) => T(E.value),
|
|
440
440
|
variant: "tertiary"
|
|
441
441
|
}, null, 8, ["onClick"])
|
|
442
442
|
])
|
|
@@ -475,7 +475,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
475
475
|
}, ue = /* @__PURE__ */ e("div", { class: "h-[2px] flex-grow bg-fm-color-system-warning-100" }, null, -1), de = /* @__PURE__ */ e("div", { class: "text-fm-color-primary fm-typo-en-body-md-600" }, " All caught up ", -1), me = /* @__PURE__ */ e("div", { class: "h-[2px] flex-grow bg-fm-color-system-warning-100" }, null, -1), fe = ["src"], Ve = /* @__PURE__ */ e("img", {
|
|
476
476
|
src: Ko,
|
|
477
477
|
class: "w-[150px]"
|
|
478
|
-
}, null, -1), qe = /* @__PURE__ */ e("div", { class: "fm-typo-en-title-sm-800 text-center" }, " Create campaign group to track performance ", -1), ve = /* @__PURE__ */ e("div", { class: "fm-typo-body-en-md-400 text-center text-fm-color-typo-secondary" }, " Start organizing your campaigns and promotions by creating groups. Groups allow you to aggregate performance metrics across multiple vouchers, promotions, or other rewards. ", -1),
|
|
478
|
+
}, null, -1), qe = /* @__PURE__ */ e("div", { class: "fm-typo-en-title-sm-800 text-center" }, " Create campaign group to track performance ", -1), ve = /* @__PURE__ */ e("div", { class: "fm-typo-body-en-md-400 text-center text-fm-color-typo-secondary" }, " Start organizing your campaigns and promotions by creating groups. Groups allow you to aggregate performance metrics across multiple vouchers, promotions, or other rewards. ", -1), Pe = { class: "flex gap-16 items-center" }, Ne = /* @__PURE__ */ L({
|
|
479
479
|
__name: "Analytic",
|
|
480
480
|
setup(u) {
|
|
481
481
|
const W = {
|
|
@@ -532,18 +532,18 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
532
532
|
descending: !1
|
|
533
533
|
});
|
|
534
534
|
t.totalCampaign = ((k = c.resources) == null ? void 0 : k.filter(
|
|
535
|
-
(
|
|
535
|
+
(y) => ["PROMOTION", "VOUCHER", "BROADCAST"].includes(y.type) && !["ISSUE_REWARD"].includes("event" in y ? y == null ? void 0 : y.event.type : "")
|
|
536
536
|
).length) ?? 0, t.totalProgram = ((T = c.resources) == null ? void 0 : T.filter(
|
|
537
|
-
(
|
|
537
|
+
(y) => ["POINT", "COIN", "CREDIT", "GAME"].includes(y.type)
|
|
538
538
|
).length) ?? 0, t.totalMember = h.meta.totalResources ?? 0;
|
|
539
539
|
}
|
|
540
540
|
const f = b(() => m.value.filter((h) => {
|
|
541
541
|
var c;
|
|
542
542
|
return h.name.includes(F.value) || ((c = h.pf_campaigns) == null ? void 0 : c.filter((k) => k.name.includes(F.value)).length);
|
|
543
|
-
})),
|
|
543
|
+
})), X = Vo(), N = $(), D = V(!0), g = b(() => {
|
|
544
544
|
var h, c, k, T;
|
|
545
|
-
return !
|
|
546
|
-
(
|
|
545
|
+
return !X.storeOption || !X.storeOption.company ? -1 : !X.payoutAccount || !X.payoutAccount.enable || X.payoutAccount.status != "APPROVED" ? 0 : (c = (h = X.store) == null ? void 0 : h.categories) != null && c.length ? (T = (k = X.store) == null ? void 0 : k.categories) != null && T.some(
|
|
546
|
+
(y) => y.bundles.some((C) => C.isFeedvibe)
|
|
547
547
|
) ? 3 : 2 : 1;
|
|
548
548
|
});
|
|
549
549
|
function M() {
|
|
@@ -597,10 +597,10 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
597
597
|
}
|
|
598
598
|
];
|
|
599
599
|
return ro(async () => {
|
|
600
|
-
await d(), await q(), await
|
|
600
|
+
await d(), await q(), await X.readMemberStore(), await X.readMembership(), await X.readPayoutAccount();
|
|
601
601
|
}), (h, c) => {
|
|
602
|
-
const k =
|
|
603
|
-
return r(), R(
|
|
602
|
+
const k = P("FmPageHead"), T = P("FmSearch"), y = P("FmCard"), C = P("FmButton"), l = P("FmIcon");
|
|
603
|
+
return r(), R(S, null, [
|
|
604
604
|
n(k, {
|
|
605
605
|
title: "Analytic",
|
|
606
606
|
actions: i(m).length > 0 ? [W] : [],
|
|
@@ -617,14 +617,14 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
617
617
|
collapsible: ""
|
|
618
618
|
}, null, 8, ["modelValue"])
|
|
619
619
|
]),
|
|
620
|
-
n(
|
|
620
|
+
n(y, {
|
|
621
621
|
variant: "outlined",
|
|
622
622
|
class: "flex flex-col gap-16 p-16"
|
|
623
623
|
}, {
|
|
624
624
|
default: H(() => [
|
|
625
625
|
ie,
|
|
626
626
|
e("div", te, [
|
|
627
|
-
(r(), R(
|
|
627
|
+
(r(), R(S, null, O(A, (o, K) => e("div", {
|
|
628
628
|
key: o.key,
|
|
629
629
|
class: G(["px-8", { "xs:!border-r": K % 2 == 0 }])
|
|
630
630
|
}, [
|
|
@@ -636,7 +636,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
636
636
|
_: 1
|
|
637
637
|
})
|
|
638
638
|
]),
|
|
639
|
-
n(
|
|
639
|
+
n(y, {
|
|
640
640
|
variant: "outlined",
|
|
641
641
|
class: "flex"
|
|
642
642
|
}, {
|
|
@@ -663,13 +663,13 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
663
663
|
variant: "secondary"
|
|
664
664
|
}, null, 8, ["label"])
|
|
665
665
|
]),
|
|
666
|
-
i(D) ? (r(), R(
|
|
666
|
+
i(D) ? (r(), R(S, { key: 0 }, [
|
|
667
667
|
e("img", {
|
|
668
668
|
class: "xs:block hidden",
|
|
669
669
|
src: i(_)
|
|
670
670
|
}, null, 8, le),
|
|
671
671
|
e("div", Fe, [
|
|
672
|
-
(r(), R(
|
|
672
|
+
(r(), R(S, null, O(I, (o, K) => e("div", {
|
|
673
673
|
class: G(["fm-corner-radius-lg", {
|
|
674
674
|
"bg-fm-color-system-warning-100": i(g) + 1 == K
|
|
675
675
|
}]),
|
|
@@ -685,7 +685,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
685
685
|
}, null, 8, ["outline", "color"]),
|
|
686
686
|
e("div", se, [
|
|
687
687
|
e("div", pe, w(o.title), 1),
|
|
688
|
-
i(g) + 1 == K ? (r(), R(
|
|
688
|
+
i(g) + 1 == K ? (r(), R(S, { key: 0 }, [
|
|
689
689
|
e("div", ce, w(o.description), 1),
|
|
690
690
|
n(C, {
|
|
691
691
|
onClick: o.fn,
|
|
@@ -718,7 +718,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
718
718
|
]),
|
|
719
719
|
_: 1
|
|
720
720
|
}),
|
|
721
|
-
i(m).length ? z("", !0) : (r(), x(
|
|
721
|
+
i(m).length ? z("", !0) : (r(), x(y, {
|
|
722
722
|
key: 0,
|
|
723
723
|
variant: "outlined",
|
|
724
724
|
class: "flex flex-col gap-y-24 items-center p-16"
|
|
@@ -727,7 +727,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
727
727
|
Ve,
|
|
728
728
|
qe,
|
|
729
729
|
ve,
|
|
730
|
-
e("div",
|
|
730
|
+
e("div", Pe, [
|
|
731
731
|
n(C, {
|
|
732
732
|
label: "Create group",
|
|
733
733
|
icon: "add",
|
|
@@ -737,7 +737,7 @@ const vo = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
737
737
|
]),
|
|
738
738
|
_: 1
|
|
739
739
|
})),
|
|
740
|
-
(r(!0), R(
|
|
740
|
+
(r(!0), R(S, null, O(i(f), (o) => (r(), x(jo, {
|
|
741
741
|
key: o._id.toString(),
|
|
742
742
|
group: o,
|
|
743
743
|
"on-edit": a
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as P, ref as g, computed as U, onMounted as M, resolveComponent as l, openBlock as i, createElementBlock as f, Fragment as _, createVNode as r, unref as a, createElementVNode as s, withCtx as h, renderList as j, createBlock as w, resolveDynamicComponent as E, toDisplayString as b, createCommentVNode as H, h as q } from "vue";
|
|
2
2
|
import { _ as z } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as G, components as J } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as Q, p as W } from "./loading-
|
|
5
|
-
import { a as X } from "./app-
|
|
6
|
-
import { u as Y } from "./campaign-
|
|
7
|
-
import { g as F, b as k } from "./dto-
|
|
4
|
+
import { u as Q, p as W } from "./loading-DOmuEHZV.js";
|
|
5
|
+
import { a as X } from "./app-BLFoR4xA.js";
|
|
6
|
+
import { u as Y } from "./campaign-B2W0HTDb.js";
|
|
7
|
+
import { g as F, b as k } from "./dto-dHypapAm.js";
|
|
8
8
|
import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as te } from "./template-
|
|
11
|
-
import { c as y } from "./index-
|
|
9
|
+
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BzSfH-__.js";
|
|
10
|
+
import { u as te } from "./template-YAI3oq2T.js";
|
|
11
|
+
import { c as y } from "./index-9MCCctkh.js";
|
|
12
12
|
const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-center justify-between w-full" }, se = { class: "flex gap-8 overflow-x-auto" }, ne = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ie = { class: "space-y-4" }, ce = { class: "fm-typo-en-body-lg-600" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { key: 0 }, ue = /* @__PURE__ */ s("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, " No results found ", -1), pe = [
|
|
13
13
|
ue
|
|
14
14
|
], fe = /* @__PURE__ */ s("img", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as RuleOperator, _ } from "./index-
|
|
2
|
-
import { i as isRuleGroup } from "./rule-builder-
|
|
1
|
+
import { R as RuleOperator, _ } from "./index-DIclAHKq.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-BJvYfKo-.js";
|
|
3
3
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createVNode, toDisplayString } from "vue";
|
|
4
4
|
import { useDialog } from "@feedmepos/ui-library";
|
|
5
|
-
import "./index-
|
|
6
|
-
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
5
|
+
import "./index-JkntTOYF.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-cWqq5Bf2.js";
|
|
7
|
+
import "./index-fsNnt3j5.js";
|
|
8
|
+
import "./index-UqYX-vKs.js";
|
|
9
|
+
import "./index-P_zlgnDL.js";
|
|
10
|
+
import "./index-BRGX8Cel.js";
|
|
11
11
|
function validateRule(data, r, date) {
|
|
12
12
|
const rules = new RuleOperator(date ?? /* @__PURE__ */ new Date());
|
|
13
13
|
function meetConditions(e) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as
|
|
1
|
+
import { defineComponent as Z, ref as f, computed as V, watch as he, onMounted as ee, resolveComponent as g, openBlock as _, createBlock as x, unref as n, isRef as J, withCtx as T, createElementVNode as m, createVNode as l, createElementBlock as N, Fragment as B, renderList as Q, createCommentVNode as I, normalizeClass as ve, createSlots as Ee, withModifiers as Se, h as X } from "vue";
|
|
2
2
|
import { _ as ke } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { h as re } from "./moment-BWErdI6_.js";
|
|
4
4
|
import { useDialog as Te, components as ye } from "@feedmepos/ui-library";
|
|
5
|
-
import { p as Re, u as ne, f as ie } from "./loading-
|
|
6
|
-
import { u as Ae, g as Ce, a as Oe } from "./app-
|
|
7
|
-
import { u as te } from "./membership-
|
|
8
|
-
import { _ as le } from "./index-
|
|
9
|
-
import { m as oe } from "./index-
|
|
10
|
-
import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import { l as Ie } from "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
5
|
+
import { p as Re, u as ne, f as ie } from "./loading-DOmuEHZV.js";
|
|
6
|
+
import { u as Ae, g as Ce, a as Oe } from "./app-BLFoR4xA.js";
|
|
7
|
+
import { u as te } from "./membership-BjhlqfJC.js";
|
|
8
|
+
import { _ as le } from "./index-UqYX-vKs.js";
|
|
9
|
+
import { m as oe } from "./index-Br33VqCw.js";
|
|
10
|
+
import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-TU4pSc9U.js";
|
|
11
|
+
import "./index-JkntTOYF.js";
|
|
12
|
+
import "./index-DIclAHKq.js";
|
|
13
|
+
import { l as Ie } from "./index-cWqq5Bf2.js";
|
|
14
|
+
import "./index-fsNnt3j5.js";
|
|
15
|
+
import "./index-P_zlgnDL.js";
|
|
16
|
+
import "./index-BRGX8Cel.js";
|
|
17
17
|
import { a as xe } from "./object-qECH92oz.js";
|
|
18
|
-
import { w as Ne } from "./xlsx-
|
|
19
|
-
import { e as De, C as we } from "./export-
|
|
20
|
-
import { u as Ue, _ as He } from "./usePagination-
|
|
18
|
+
import { w as Ne } from "./xlsx-CHVjO0a4.js";
|
|
19
|
+
import { e as De, C as we } from "./export-D445oElS.js";
|
|
20
|
+
import { u as Ue, _ as He } from "./usePagination-DrADHLXA.js";
|
|
21
21
|
import { o as Fe } from "./objectId-dwaoBfJX.js";
|
|
22
22
|
const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number type", -1), Be = { class: "space-y-16" }, Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number Settings", -1), Ve = { class: "gap-16 grid grid-cols-2" }, Ge = { class: "space-y-16" }, Le = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Card Settings", -1), je = {
|
|
23
23
|
key: 0,
|
|
@@ -26,7 +26,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
26
26
|
__name: "CreateCardSheet",
|
|
27
27
|
emits: ["success", "export"],
|
|
28
28
|
setup(e, { expose: i, emit: D }) {
|
|
29
|
-
const { minor: w } = ne, v = te(), R =
|
|
29
|
+
const { minor: w } = ne, v = te(), R = f(), b = f(!1), A = D, h = f(!1);
|
|
30
30
|
function E(p) {
|
|
31
31
|
h.value = p, p && (a.value = {
|
|
32
32
|
quantity: 1,
|
|
@@ -40,7 +40,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
const a =
|
|
43
|
+
const a = f({
|
|
44
44
|
quantity: 1,
|
|
45
45
|
code: "",
|
|
46
46
|
codeConfig: {
|
|
@@ -76,12 +76,12 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
76
76
|
{ label: "Alphabetic Uppercase", value: "ABCDEFGHIJKLMNOPQRSTUVWXYZ" },
|
|
77
77
|
{ label: "Numbers", value: "0123456789" },
|
|
78
78
|
{ label: "Custom", value: "" }
|
|
79
|
-
], F =
|
|
79
|
+
], F = f(H[0].value), S = f("bulk"), U = f(0), P = V(
|
|
80
80
|
() => {
|
|
81
81
|
var p;
|
|
82
82
|
return (p = v.membership.design) == null ? void 0 : p[U.value];
|
|
83
83
|
}
|
|
84
|
-
), r =
|
|
84
|
+
), r = f(!1), o = V(
|
|
85
85
|
() => v.sortedStoreCategories.flatMap((p) => p.bundles)
|
|
86
86
|
);
|
|
87
87
|
async function u(p) {
|
|
@@ -115,7 +115,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
115
115
|
), ee(async () => {
|
|
116
116
|
await v.readMemberStore();
|
|
117
117
|
}), (p, t) => {
|
|
118
|
-
const y =
|
|
118
|
+
const y = g("FmRadio"), M = g("FmRadioGroup"), c = g("FmSwitch"), j = g("FmStepperField"), $ = g("FmSelect"), G = g("FmTextField"), ge = g("FmTextarea"), K = g("FmButton"), fe = g("FmForm"), be = g("FmSideSheet");
|
|
119
119
|
return _(), x(be, {
|
|
120
120
|
"max-width": 560,
|
|
121
121
|
"dismiss-away": !0,
|
|
@@ -142,7 +142,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
142
142
|
])
|
|
143
143
|
]),
|
|
144
144
|
default: T(() => [
|
|
145
|
-
l(
|
|
145
|
+
l(fe, {
|
|
146
146
|
ref_key: "form",
|
|
147
147
|
ref: R,
|
|
148
148
|
class: "space-y-40",
|
|
@@ -236,7 +236,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
236
236
|
"helper-text": `${n(a).quantity} card will be created`
|
|
237
237
|
}, null, 8, ["modelValue", "rules", "helper-text"])
|
|
238
238
|
], 64)) : I("", !0),
|
|
239
|
-
n(S) !== "bulk" ? (_(), x(
|
|
239
|
+
n(S) !== "bulk" ? (_(), x(ge, {
|
|
240
240
|
key: 1,
|
|
241
241
|
modelValue: n(a).code,
|
|
242
242
|
"onUpdate:modelValue": t[9] || (t[9] = (s) => n(a).code = s),
|
|
@@ -301,7 +301,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
301
301
|
src: s.image,
|
|
302
302
|
key: `image_${Y}`,
|
|
303
303
|
class: ve(["w-[112px] h-[63px] cursor-pointer", `${n(U) === Y ? "border-[2px] border-fm-color-primary" : ""}`]),
|
|
304
|
-
onClick: (
|
|
304
|
+
onClick: (gn) => U.value = Y,
|
|
305
305
|
alt: `ai_image_predict_${Y}`,
|
|
306
306
|
style: { objectFit: "cover" }
|
|
307
307
|
}, null, 10, Xe))), 128))
|
|
@@ -318,7 +318,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
|
-
var z = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_64c661be-ef26-4348-a024-2380144ef71e", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.3 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_64c661be-ef26-4348-a024-2380144ef71e", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "707", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_devDependencies_tailwindcss: "^3.4.4", npm_package_devDependencies_typescript: "^5.4.5", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241215.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:6012", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12630022129", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c622d222fc76a296851fa77d8a982b73b4e7c215", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/dev", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_50ef39aa-dc90-46d6-9fc5-bd1816a63239", INVOCATION_ID: "7ef85ff8e26d4a79ab70b7cf9a57744d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "27", GITHUB_TRIGGERING_ACTOR: "buxkaizhe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.11", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 68", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.10.4", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.12-beta.3", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "c622d222fc76a296851fa77d8a982b73b4e7c215", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_64c661be-ef26-4348-a024-2380144ef71e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "53389118", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_64c661be-ef26-4348-a024-2380144ef71e", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_64c661be-ef26-4348-a024-2380144ef71e", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } }, q = Math.floor(Math.random() * 16777215), pe = d.index = parseInt(Math.random() * 16777215, 10), me = (typeof z > "u" || typeof z.pid != "number" ? Math.floor(Math.random() * 1e5) : z.pid) % 65535, ue = (() => {
|
|
321
|
+
var z = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_881aa3c0-ec04-4240-be60-5741e2e4b587", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.3 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_881aa3c0-ec04-4240-be60-5741e2e4b587", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "708", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_devDependencies_tailwindcss: "^3.4.4", npm_package_devDependencies_typescript: "^5.4.5", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241215.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:6558", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12630321562", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "3737a63195f79a5836c0a4306c39957529502f93", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/dev", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_137791d3-0d27-4f18-a945-bc1ab2dd9d82", INVOCATION_ID: "fdb49c3e09b04892a6a75d708c2de5d1", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "29", GITHUB_TRIGGERING_ACTOR: "buxkaizhe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.11", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 199", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.10.4", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.12-beta.4", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "3737a63195f79a5836c0a4306c39957529502f93", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_881aa3c0-ec04-4240-be60-5741e2e4b587", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "53389118", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.3/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_881aa3c0-ec04-4240-be60-5741e2e4b587", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_881aa3c0-ec04-4240-be60-5741e2e4b587", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } }, q = Math.floor(Math.random() * 16777215), pe = d.index = parseInt(Math.random() * 16777215, 10), me = (typeof z > "u" || typeof z.pid != "number" ? Math.floor(Math.random() * 1e5) : z.pid) % 65535, ue = (() => {
|
|
322
322
|
try {
|
|
323
323
|
return _Buffer;
|
|
324
324
|
} catch {
|
|
@@ -465,9 +465,9 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
465
465
|
__name: "CardDesignSheet",
|
|
466
466
|
emits: ["success"],
|
|
467
467
|
setup(e, { expose: i, emit: D }) {
|
|
468
|
-
const { minor: w } = ne, v = te(), R = Te(), b =
|
|
469
|
-
|
|
470
|
-
const A =
|
|
468
|
+
const { minor: w } = ne, v = te(), R = Te(), b = f(!1);
|
|
469
|
+
f(), f(!1);
|
|
470
|
+
const A = f(), h = f(null);
|
|
471
471
|
V(() => {
|
|
472
472
|
var r, o;
|
|
473
473
|
return Math.min((((o = (r = A.value) == null ? void 0 : r.design) == null ? void 0 : o.length) ?? 0) + 1, an);
|
|
@@ -475,7 +475,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
475
475
|
const E = D, a = V(() => {
|
|
476
476
|
var r, o;
|
|
477
477
|
return ((o = (r = v.membership) == null ? void 0 : r.design) == null ? void 0 : o.filter((u) => u.image)) || [];
|
|
478
|
-
}), C =
|
|
478
|
+
}), C = f(!1);
|
|
479
479
|
function H(r) {
|
|
480
480
|
C.value = r;
|
|
481
481
|
}
|
|
@@ -527,7 +527,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
527
527
|
}), ee(async () => {
|
|
528
528
|
await P(), a.value.length || (b.value = !0);
|
|
529
529
|
}), (r, o) => {
|
|
530
|
-
const u =
|
|
530
|
+
const u = g("FmButton"), p = g("FmSideSheet");
|
|
531
531
|
return _(), x(p, {
|
|
532
532
|
"max-width": 560,
|
|
533
533
|
"dismiss-away": !0,
|
|
@@ -622,7 +622,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
622
622
|
], -1), _n = { class: "flex gap-x-8" }, Pn = /* @__PURE__ */ Z({
|
|
623
623
|
__name: "Card",
|
|
624
624
|
setup(e) {
|
|
625
|
-
const { minor: i, global: D } = ne, w =
|
|
625
|
+
const { minor: i, global: D } = ne, w = f(), v = f(), R = Oe(), b = te(), A = V(
|
|
626
626
|
() => b.sortedStoreCategories.flatMap((r) => r.bundles)
|
|
627
627
|
), h = [
|
|
628
628
|
{
|
|
@@ -712,7 +712,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
712
712
|
await R.readPremium(), await b.readMemberStore(), await b.readMembership(), await S();
|
|
713
713
|
});
|
|
714
714
|
}), (r, o) => {
|
|
715
|
-
const u =
|
|
715
|
+
const u = g("FmPill"), p = g("FmPageHead"), t = g("FmSearch"), y = g("FmButton"), M = g("FmCard");
|
|
716
716
|
return _(), N(B, null, [
|
|
717
717
|
l(p, {
|
|
718
718
|
title: "Card",
|
|
@@ -3,14 +3,14 @@ var te = (b, r, u) => r in b ? oe(b, r, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var $ = (b, r, u) => te(b, typeof r != "symbol" ? r + "" : r, u);
|
|
4
4
|
import { defineComponent as H, ref as g, computed as J, watch as O, resolveComponent as c, openBlock as h, createBlock as T, unref as e, isRef as K, withCtx as R, createElementVNode as v, createVNode as s, createElementBlock as N, Fragment as A, renderList as ae, createCommentVNode as P, onMounted as le, h as F } from "vue";
|
|
5
5
|
import { h as j } from "./moment-BWErdI6_.js";
|
|
6
|
-
import { u as ne, J as se, R as re } from "./app-
|
|
6
|
+
import { u as ne, J as se, R as re } from "./app-BLFoR4xA.js";
|
|
7
7
|
import { components as G } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as Q, a as ie } from "./loading-
|
|
8
|
+
import { u as Q, a as ie } from "./loading-DOmuEHZV.js";
|
|
9
9
|
import { useRoute as W } from "vue-router";
|
|
10
|
-
import { c as E } from "./index-
|
|
11
|
-
import { u as z, w as de } from "./xlsx-
|
|
12
|
-
import { u as ue, _ as ce } from "./usePagination-
|
|
13
|
-
import { m as me } from "./index-
|
|
10
|
+
import { c as E } from "./index-9MCCctkh.js";
|
|
11
|
+
import { u as z, w as de } from "./xlsx-CHVjO0a4.js";
|
|
12
|
+
import { u as ue, _ as ce } from "./usePagination-DrADHLXA.js";
|
|
13
|
+
import { m as me } from "./index-Br33VqCw.js";
|
|
14
14
|
import { o as pe } from "./objectId-dwaoBfJX.js";
|
|
15
15
|
const fe = /* @__PURE__ */ v("div", { class: "fm-typo-en-body-lg-600" }, "Code type", -1), ge = { class: "space-y-16" }, be = /* @__PURE__ */ v("div", { class: "fm-typo-en-body-lg-600" }, "Settings", -1), Ce = { class: "gap-16 grid grid-cols-2" }, ve = { class: "flex items-center gap-8" }, he = /* @__PURE__ */ H({
|
|
16
16
|
__name: "CreateCollectionSheet",
|