@feedmepos/mf-connect 0.0.39-prod → 0.1.0-beta.2
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-DSD9TsKr.js +622 -0
- package/dist/{App-X3fNEBF3.js → App-D8a5eW51.js} +250 -249
- package/dist/Broadcast-C8jgMe6g.js +223 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CRYS_tzZ.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-pG8WvV4I.js} +20 -20
- package/dist/Card-C1K7ULPo.js +825 -0
- package/dist/Collections-lMrdPUuM.js +453 -0
- package/dist/Credit-CJfU5tP4.js +220 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DoZyevfa.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BYoaa_-x.js} +1042 -1011
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-CzEtOmp0.js +345 -0
- package/dist/Experience-Bp2ki8gU.js +221 -0
- package/dist/Game-BpTf6ebE.js +255 -0
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +144 -0
- package/dist/{MainLayout-DpZC6o3R.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js} +19 -53
- package/dist/MainLayout-B1aJoR95.js +41 -0
- package/dist/Marketing-BiKE2gxA.js +316 -0
- package/dist/Member-BSWyy32a.js +69 -0
- package/dist/MemberList-CHlGREyR.js +1733 -0
- package/dist/MemberOverview-wL_ailso.js +58 -0
- package/dist/{MemberTransactions-DueaXBCy.js → MemberTransactions-BzHiXCnp.js} +1 -1
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-e-zWg08J.js +432 -0
- package/dist/Mission-8IGT3T2C.js +261 -0
- package/dist/Point-CbbJ6ohd.js +222 -0
- package/dist/Promotion-BYXCJa_S.js +247 -0
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-_RX1J0Br.js → RuleGroup.vue_vue_type_script_setup_true_lang-Bruh-umZ.js} +557 -557
- package/dist/Segment-DXDNM0yd.js +437 -0
- package/dist/Setting-CLpvvZTv.js +1901 -0
- package/dist/Store-C6-P6bwc.js +1511 -0
- package/dist/StoreRewards-CUM2irXK.js +401 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-CLFiuO5k.js → StoreTransactions.vue_vue_type_script_setup_true_lang-JaRdmqif.js} +10 -10
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CoMQBL4P.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DEb4OBcX.js} +1 -1
- package/dist/{Tier-CftEoP_R.js → Tier-DZTDxWBo.js} +481 -453
- package/dist/{Title-BsavXbYh.js → Title-C2Dr5ceK.js} +314 -295
- package/dist/Transaction-BL4mS29d.js +39 -0
- package/dist/Voucher-Cx0r2-df.js +490 -0
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-DWuAODUF.js +56 -0
- package/dist/{app-BNmAx3zq.js → app-B_xuZ5HB.js} +1 -1
- package/dist/app-wE5HTF_Y.js +5762 -0
- package/dist/app.js +5 -3
- package/dist/{business-DGL4Ayx0.js → business-DSv8zM8C.js} +1 -1
- package/dist/{campaign-D94sS1kM.js → campaign-7y5qquHZ.js} +5 -3
- package/dist/{collection.fn-BHJ1ISqO.js → collection.fn-BxVZQAx0.js} +2 -2
- package/dist/dto-Ew1QwLci.js +2778 -0
- package/dist/{effect-CFRICzlM.js → effect-BzPh8fRI.js} +9 -9
- package/dist/{export-w2o9NYcy.js → export-C9tDplkA.js} +3 -3
- package/dist/{helper-CUDWQ8vq.js → helper-Sz7oQ0F4.js} +1 -1
- package/dist/{index-BGuLhEym.js → index-BQm0C3Jm.js} +3 -3
- package/dist/{index-BjwyxNSp.js → index-C-SOz7jt.js} +1 -1
- package/dist/{index-BcWJcD9f.js → index-C0lpADCo.js} +1 -1
- package/dist/{index-DIq2KVis.js → index-C3_4GUiI.js} +1 -1
- package/dist/{index-BPEV5Tzg.js → index-D-2nFLsg.js} +59 -47
- package/dist/{index-CFMBSL24.js → index-DBMaUGYI.js} +2 -2
- package/dist/{index-CpwFQFTV.js → index-DH_1nOJ_.js} +3 -3
- package/dist/index-Dy4pmQpt.js +29193 -0
- package/dist/{index-BQ6isIeo.js → index-_3qBsogG.js} +1 -1
- package/dist/index-gIRszcHf.js +3 -0
- package/dist/{index-VjUw31dN.js → index-tv4t0Pnh.js} +1 -1
- package/dist/{index-tZ1aqhks.js → index-z0IfdrZk.js} +319 -281
- package/dist/{index.esm2017-zciuPty-.js → index.esm2017-BnKJDxUo.js} +55 -55
- package/dist/{loading-GuXe5bYG.js → loading-Ds-yFYhc.js} +469 -460
- package/dist/{membership-BHWJVI3e.js → membership-DaiVw9qF.js} +3 -3
- package/dist/money-BHtBdZoz.js +15 -0
- package/dist/number-CZhcB8ef.js +12 -0
- package/dist/{rule-MgNa_8FF.js → rule-Cd2M6Ri2.js} +2 -2
- package/dist/{rule-builder-BsBCWzq_.js → rule-builder-B6og27Q1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-D6k3lusq.js → template-DouRWBpv.js} +63 -63
- package/dist/{usePagination-JoYaROkV.js → usePagination-BeF5K3M7.js} +85 -85
- package/dist/vue-i18n-BTlOChXs.js +2365 -0
- package/dist/{xlsx-ClrA4KOh.js → xlsx-SahfXQ70.js} +517 -517
- package/dist/zod-Bg2FbC-D.js +90 -0
- package/package.json +7 -4
- package/dist/Analytic-DMFueUju.js +0 -620
- package/dist/Broadcast-YIfWIXeA.js +0 -216
- package/dist/Card-BIxlgQm7.js +0 -824
- package/dist/Collections-M6DaHM2W.js +0 -441
- package/dist/Credit-BtRy-xoY.js +0 -214
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-D5DNTBSQ.js +0 -344
- package/dist/Experience-DGm1lnqj.js +0 -211
- package/dist/Game-B8-lG7qq.js +0 -250
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +0 -144
- package/dist/Marketing-DtG3AIWr.js +0 -309
- package/dist/Member-K443-9Vy.js +0 -92
- package/dist/MemberList-CYXHXFTL.js +0 -1735
- package/dist/MemberOverview-C2n9oJZh.js +0 -58
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-Bk2HLVmt.js +0 -203
- package/dist/Mission-CN5umXXA.js +0 -248
- package/dist/Point-XAm6H2p_.js +0 -220
- package/dist/Promotion-DsrA4KiE.js +0 -244
- package/dist/Segment-CZGGHoAu.js +0 -435
- package/dist/Setting-BjfxLKyp.js +0 -1870
- package/dist/Store-D_B-vhh3.js +0 -1513
- package/dist/StoreRewards-BjHffUKj.js +0 -429
- package/dist/Transaction-CdxzoKDG.js +0 -36
- package/dist/Voucher-B_9Nv1Mr.js +0 -485
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js +0 -140
- package/dist/app--1Ks5Hms.js +0 -2974
- package/dist/dto-X0Eeujxx.js +0 -1151
- package/dist/index-BPNG8N-w.js +0 -11
- package/dist/index-DWM9MWGj.js +0 -28058
- package/dist/money-CrttVpCp.js +0 -15
- package/dist/number-CIndGU4O.js +0 -12
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as d, ref as f, resolveComponent as s, openBlock as t, createElementBlock as v, Fragment as b, createVNode as r, unref as o, createElementVNode as k, createBlock as l, KeepAlive as x, resolveDynamicComponent as m, createCommentVNode as F } from "vue";
|
|
2
|
+
import { _ as g, a as y } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-JaRdmqif.js";
|
|
3
|
+
import { u as C } from "./vue-i18n-BTlOChXs.js";
|
|
4
|
+
const T = { class: "px-24 flex flex-col gap-y-32 pb-24" }, P = /* @__PURE__ */ d({
|
|
5
|
+
__name: "Transaction",
|
|
6
|
+
setup(V) {
|
|
7
|
+
const { t: n } = C(), a = [
|
|
8
|
+
{
|
|
9
|
+
label: n("connect.transaction.tabs.collection"),
|
|
10
|
+
value: "collection"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
label: n("connect.transaction.tabs.store"),
|
|
14
|
+
value: "store"
|
|
15
|
+
}
|
|
16
|
+
], e = f(a[0]);
|
|
17
|
+
return (B, c) => {
|
|
18
|
+
const i = s("FmPageHead"), u = s("FmTabs");
|
|
19
|
+
return t(), v(b, null, [
|
|
20
|
+
r(i, {
|
|
21
|
+
title: o(n)("connect.transaction.title")
|
|
22
|
+
}, null, 8, ["title"]),
|
|
23
|
+
k("div", T, [
|
|
24
|
+
r(u, {
|
|
25
|
+
"model-value": o(e).value,
|
|
26
|
+
items: a,
|
|
27
|
+
"onUpdate:modelValue": c[0] || (c[0] = (p) => e.value = a.find((_) => _.value === p))
|
|
28
|
+
}, null, 8, ["model-value"]),
|
|
29
|
+
(t(), l(x, null, [
|
|
30
|
+
o(e).value == "collection" ? (t(), l(m(g), { key: 0 })) : o(e).value == "store" ? (t(), l(m(y), { key: 1 })) : F("", !0)
|
|
31
|
+
], 1024))
|
|
32
|
+
])
|
|
33
|
+
], 64);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
P as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { defineComponent as X, ref as _, watch as N, onMounted as J, resolveComponent as h, openBlock as y, createBlock as k, unref as t, isRef as j, withCtx as M, createElementVNode as l, createVNode as r, toDisplayString as F, computed as oe, h as C, createElementBlock as $, Fragment as T, renderList as te, resolveDynamicComponent as ae, createCommentVNode as K } from "vue";
|
|
2
|
+
import { _ as ne } from "./campaign-CpzFl8Vr.js";
|
|
3
|
+
import { useDialog as se, components as V } from "@feedmepos/ui-library";
|
|
4
|
+
import { u as W, p as z, a as le } from "./loading-Ds-yFYhc.js";
|
|
5
|
+
import { useCoreStore as ce } from "@feedmepos/mf-common";
|
|
6
|
+
import { u as ie } from "./business-DSv8zM8C.js";
|
|
7
|
+
import { u as re } from "./campaign-7y5qquHZ.js";
|
|
8
|
+
import { g as D, b as q } from "./dto-Ew1QwLci.js";
|
|
9
|
+
import "./index-gIRszcHf.js";
|
|
10
|
+
import { u as ue } from "./template-DouRWBpv.js";
|
|
11
|
+
import { _ as me } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BYoaa_-x.js";
|
|
12
|
+
import { _ as de } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
13
|
+
import { J as pe } from "./JsonViewer-v8_C7l5N.js";
|
|
14
|
+
import { u as fe } from "./app-wDQR6dpb.js";
|
|
15
|
+
import { l as he } from "./lodash-B5I3zXaY.js";
|
|
16
|
+
import { m as ve } from "./index-tv4t0Pnh.js";
|
|
17
|
+
import { c as L } from "./index-C-SOz7jt.js";
|
|
18
|
+
import { u as ge } from "./vue-i18n-BTlOChXs.js";
|
|
19
|
+
import { useRouter as ye } from "vue-router";
|
|
20
|
+
import { R as G } from "./app-wE5HTF_Y.js";
|
|
21
|
+
const _e = { class: "space-y-16" }, be = { class: "fm-typo-en-body-md-600" }, Ce = { class: "flex items-center justify-end" }, we = { class: "flex items-center gap-8" }, Se = /* @__PURE__ */ X({
|
|
22
|
+
__name: "SendVoucherSheet",
|
|
23
|
+
emits: ["success"],
|
|
24
|
+
setup(Q, { expose: a, emit: A }) {
|
|
25
|
+
const { minor: R } = W, P = _(""), v = _({}), b = A, g = _(!1), u = _([]);
|
|
26
|
+
function U(c) {
|
|
27
|
+
g.value = !0, P.value = c.campaignId, u.value = [];
|
|
28
|
+
}
|
|
29
|
+
function m() {
|
|
30
|
+
g.value = !1;
|
|
31
|
+
}
|
|
32
|
+
const S = [
|
|
33
|
+
{
|
|
34
|
+
header: "Name",
|
|
35
|
+
accessorFn: (c) => c.name || "No Profile"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
header: "Phone",
|
|
39
|
+
accessorFn: (c) => c.phoneNumber || "-"
|
|
40
|
+
}
|
|
41
|
+
], i = _({
|
|
42
|
+
searchValue: "",
|
|
43
|
+
pageSize: 10,
|
|
44
|
+
pageCount: 0,
|
|
45
|
+
pageIndex: 0,
|
|
46
|
+
totalRows: 0,
|
|
47
|
+
isLoading: !1
|
|
48
|
+
}), f = _([]), w = async (c) => {
|
|
49
|
+
i.value.isLoading = !0, f.value = [];
|
|
50
|
+
const e = await ve.read({
|
|
51
|
+
limit: c.pageSize,
|
|
52
|
+
skip: c.pageIndex,
|
|
53
|
+
sortBy: "_id",
|
|
54
|
+
search: i.value.searchValue,
|
|
55
|
+
descending: !1
|
|
56
|
+
});
|
|
57
|
+
f.value = e.resources, i.value.totalRows = e.meta.totalResources ?? 0, i.value.pageCount = e.meta.totalPages ?? 0, i.value.isLoading = !1, v.value = {}, u.value.forEach((o) => {
|
|
58
|
+
const s = f.value.findIndex((d) => d._id == o);
|
|
59
|
+
s > -1 && (console.log(s, "fetch member index"), v.value[s] = !0);
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
function E() {
|
|
63
|
+
f.value.length > 0 && (u.value = u.value.filter(
|
|
64
|
+
(c) => !f.value.some((e) => e._id === c) || // Keep if not in current page
|
|
65
|
+
Object.entries(v.value).some(
|
|
66
|
+
([e, o]) => o && f.value[e]._id === c
|
|
67
|
+
// Keep if selected in current page
|
|
68
|
+
)
|
|
69
|
+
));
|
|
70
|
+
for (const [c, e] of Object.entries(v.value))
|
|
71
|
+
if (e) {
|
|
72
|
+
const o = f.value[c]._id;
|
|
73
|
+
u.value.includes(o) || u.value.push(o);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
async function x(c) {
|
|
77
|
+
u.value.length < 1 || await R(
|
|
78
|
+
async () => {
|
|
79
|
+
await L.sendCollection(P.value, {
|
|
80
|
+
memberId: u.value
|
|
81
|
+
}), await b("success"), m();
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
message: "Sending claim(s)",
|
|
85
|
+
successMessage: "Claim(s) created"
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
return N(v, E, { deep: !0 }), N(
|
|
90
|
+
() => i.value.searchValue,
|
|
91
|
+
he.debounce(async () => {
|
|
92
|
+
await w({ pageSize: 10, pageIndex: 0 });
|
|
93
|
+
}, 500)
|
|
94
|
+
), a({
|
|
95
|
+
showSheet: U,
|
|
96
|
+
hideSheet: m
|
|
97
|
+
}), J(async () => {
|
|
98
|
+
await w(i.value);
|
|
99
|
+
}), (c, e) => {
|
|
100
|
+
const o = h("FmSearch"), s = h("FmTable"), d = h("FmButton"), B = h("FmSideSheet");
|
|
101
|
+
return y(), k(B, {
|
|
102
|
+
"max-width": 560,
|
|
103
|
+
"dismiss-away": !0,
|
|
104
|
+
header: "Send voucher to",
|
|
105
|
+
modelValue: t(g),
|
|
106
|
+
"onUpdate:modelValue": [
|
|
107
|
+
e[3] || (e[3] = (p) => j(g) ? g.value = p : null),
|
|
108
|
+
e[4] || (e[4] = (p) => g.value = p)
|
|
109
|
+
]
|
|
110
|
+
}, {
|
|
111
|
+
"side-sheet-footer": M(() => [
|
|
112
|
+
l("div", we, [
|
|
113
|
+
r(d, {
|
|
114
|
+
label: "Send",
|
|
115
|
+
loading: t(fe)().isLoading,
|
|
116
|
+
onClick: x
|
|
117
|
+
}, null, 8, ["loading"]),
|
|
118
|
+
r(d, {
|
|
119
|
+
label: "Cancel",
|
|
120
|
+
type: "button",
|
|
121
|
+
variant: "tertiary",
|
|
122
|
+
onClick: e[2] || (e[2] = (p) => g.value = !1)
|
|
123
|
+
})
|
|
124
|
+
])
|
|
125
|
+
]),
|
|
126
|
+
default: M(() => [
|
|
127
|
+
r(pe, { json: t(u) }, null, 8, ["json"]),
|
|
128
|
+
l("div", _e, [
|
|
129
|
+
l("div", be, F(t(u).length) + " members selected ", 1),
|
|
130
|
+
l("div", Ce, [
|
|
131
|
+
r(o, {
|
|
132
|
+
class: "mt-4",
|
|
133
|
+
modelValue: t(i).searchValue,
|
|
134
|
+
"onUpdate:modelValue": e[0] || (e[0] = (p) => t(i).searchValue = p),
|
|
135
|
+
placeholder: "Search Member",
|
|
136
|
+
collapsible: ""
|
|
137
|
+
}, null, 8, ["modelValue"])
|
|
138
|
+
]),
|
|
139
|
+
r(s, {
|
|
140
|
+
modelValue: t(v),
|
|
141
|
+
"onUpdate:modelValue": e[1] || (e[1] = (p) => j(v) ? v.value = p : null),
|
|
142
|
+
selection: "multiple",
|
|
143
|
+
loading: t(i).isLoading,
|
|
144
|
+
"row-data": t(f),
|
|
145
|
+
"column-defs": S,
|
|
146
|
+
"page-size": t(i).pageSize,
|
|
147
|
+
"page-count": t(i).pageCount,
|
|
148
|
+
"hide-footer": t(i).totalRows <= t(i).pageSize,
|
|
149
|
+
"fetch-fn": w
|
|
150
|
+
}, null, 8, ["modelValue", "loading", "row-data", "page-size", "page-count", "hide-footer"])
|
|
151
|
+
])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}, 8, ["modelValue"]);
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
var xe = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
|
|
159
|
+
const Ve = { class: "px-24 flex flex-col gap-y-16" }, ke = { class: "flex items-center justify-between w-full" }, Fe = { class: "flex gap-8 overflow-x-auto" }, Ie = { class: "space-y-8" }, Le = { class: "flex w-full gap-4 items-center" }, Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "space-y-4" }, Pe = { class: "fm-typo-en-body-lg-600" }, Ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ee = { class: "flex gap-8 items-center" }, Ae = { class: "flex flex-col gap-16 text-center" }, Be = { class: "fm-typo-en-title-sm-800" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, no = /* @__PURE__ */ X({
|
|
160
|
+
__name: "Voucher",
|
|
161
|
+
setup(Q) {
|
|
162
|
+
const { t: a } = ge(), A = {
|
|
163
|
+
label: a("connect.voucher.createCampaign"),
|
|
164
|
+
value: "create",
|
|
165
|
+
isPrimary: !0,
|
|
166
|
+
prependIcon: "add"
|
|
167
|
+
}, R = se(), P = ue("VOUCHER", R), v = ie(), b = re(), { global: g, minor: u } = W, U = ye(), m = _({
|
|
168
|
+
searchKey: "",
|
|
169
|
+
location: null
|
|
170
|
+
}), S = oe(
|
|
171
|
+
() => b.campaigns.voucher.filter(
|
|
172
|
+
(e) => !m.value.location || !e.targetLocation || e.targetLocation.includes(m.value.location)
|
|
173
|
+
)
|
|
174
|
+
), i = [
|
|
175
|
+
{
|
|
176
|
+
header: a("connect.voucher.voucherTitle"),
|
|
177
|
+
accessorFn: (e) => e.name
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
header: a("connect.voucher.status"),
|
|
181
|
+
cell(e) {
|
|
182
|
+
return D(e.row.original);
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
header: a("connect.voucher.summary"),
|
|
187
|
+
accessorFn: (e) => q(e)
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
header: a("connect.voucher.quota"),
|
|
191
|
+
accessorFn: (e) => {
|
|
192
|
+
var o;
|
|
193
|
+
return ((o = e.pf_collectible) == null ? void 0 : o.options.maxReceive) ?? "Unlimited";
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
header: a("connect.voucher.claimed"),
|
|
198
|
+
accessorFn: (e) => {
|
|
199
|
+
var o;
|
|
200
|
+
return ((o = e == null ? void 0 : e.pf_collectible) == null ? void 0 : o.currentReceive) ?? 0;
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
header: a("connect.voucher.actions"),
|
|
205
|
+
cell(e) {
|
|
206
|
+
return C("div", { class: "flex items-center justify-end" }, [
|
|
207
|
+
C(V.FmButton, {
|
|
208
|
+
icon: "visibility",
|
|
209
|
+
variant: "tertiary",
|
|
210
|
+
iconColor: "neutral-gray-400",
|
|
211
|
+
onClick: async (o) => {
|
|
212
|
+
o.stopPropagation(), await U.push({
|
|
213
|
+
name: G["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
|
|
214
|
+
params: { id: e.row.original._id }
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
}),
|
|
218
|
+
C(
|
|
219
|
+
V.FmMenu,
|
|
220
|
+
{
|
|
221
|
+
placement: "bottom-end",
|
|
222
|
+
onClick: (o) => {
|
|
223
|
+
o.stopPropagation();
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"menu-button": () => C(V.FmButton, {
|
|
228
|
+
icon: "more_vert",
|
|
229
|
+
iconColor: "neutral-gray-400",
|
|
230
|
+
variant: "tertiary"
|
|
231
|
+
}),
|
|
232
|
+
default: () => {
|
|
233
|
+
const o = [
|
|
234
|
+
C(
|
|
235
|
+
V.FmMenuItem,
|
|
236
|
+
{
|
|
237
|
+
onClick: async (s) => {
|
|
238
|
+
s.stopPropagation(), E(e.row.original);
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
label: C(
|
|
243
|
+
"div",
|
|
244
|
+
{
|
|
245
|
+
class: "text-fm-color-typo-error fm-typo-en-body-md-400"
|
|
246
|
+
},
|
|
247
|
+
a("connect.voucher.remove")
|
|
248
|
+
)
|
|
249
|
+
}
|
|
250
|
+
)
|
|
251
|
+
];
|
|
252
|
+
return e.row.original.event.type === "SIMPLE_CLAIM" && (o.unshift(
|
|
253
|
+
C(V.FmMenuItem, {
|
|
254
|
+
label: a("connect.voucher.send"),
|
|
255
|
+
onClick: async (s) => {
|
|
256
|
+
var d;
|
|
257
|
+
s.stopPropagation(), (d = w.value) == null || d.showSheet({
|
|
258
|
+
campaignId: e.row.original._id
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
})
|
|
262
|
+
), o.unshift(
|
|
263
|
+
C(V.FmMenuItem, {
|
|
264
|
+
label: a("connect.voucher.share"),
|
|
265
|
+
onClick: async (s) => {
|
|
266
|
+
if (s.stopPropagation(), e.row.original.event.type !== "SIMPLE_CLAIM")
|
|
267
|
+
return await z.confirm(
|
|
268
|
+
"Cannot share a voucher that is not a simple claim.",
|
|
269
|
+
"Share Voucher",
|
|
270
|
+
"OK"
|
|
271
|
+
);
|
|
272
|
+
await le(
|
|
273
|
+
`https://${ce().currentBusiness.value._id}.${xe.appUrl}/vouchers/${e.row.original._id}`,
|
|
274
|
+
{
|
|
275
|
+
successMessage: "Voucher link copied to clipboard"
|
|
276
|
+
}
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
)), o;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
)
|
|
284
|
+
]);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
], f = _(), w = _();
|
|
288
|
+
async function E(e) {
|
|
289
|
+
await z.remove(a("voucher.confirmRemove", { name: e.name })) && await u(
|
|
290
|
+
async () => {
|
|
291
|
+
await L.delete(e._id), await b.read("VOUCHER");
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
message: a("voucher.removing", { name: e.name }),
|
|
295
|
+
successMessage: a("voucher.removedSuccessfully", { name: e.name })
|
|
296
|
+
}
|
|
297
|
+
);
|
|
298
|
+
}
|
|
299
|
+
async function x(e) {
|
|
300
|
+
e ? await o() : P.open(async (s) => {
|
|
301
|
+
await o(s);
|
|
302
|
+
});
|
|
303
|
+
async function o(s) {
|
|
304
|
+
var d;
|
|
305
|
+
(d = f.value) == null || d.showSheet(
|
|
306
|
+
!0,
|
|
307
|
+
"VOUCHER",
|
|
308
|
+
e ? await L.readById(e._id) : void 0,
|
|
309
|
+
s
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
async function c(e) {
|
|
314
|
+
e.campaign._id && await new Promise((o) => {
|
|
315
|
+
R.open({
|
|
316
|
+
title: "Confirmation",
|
|
317
|
+
message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
|
|
318
|
+
primaryActions: { text: "Update all", close: !0 },
|
|
319
|
+
secondaryActions: { text: "Update future only", close: !0 }
|
|
320
|
+
}).onPrimary(async () => {
|
|
321
|
+
var s;
|
|
322
|
+
e.updateCollections = !0, (s = window.top) == null || s.postMessage("updateAllVoucher", "*"), o();
|
|
323
|
+
}).onSecondary(async () => {
|
|
324
|
+
o();
|
|
325
|
+
});
|
|
326
|
+
}), await u(
|
|
327
|
+
async () => {
|
|
328
|
+
e.campaign._id ? await L.update(e.campaign._id, e) : await L.create(e), await b.read("VOUCHER");
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
message: a(
|
|
332
|
+
e.campaign._id ? "connect.voucher.updating" : "connect.voucher.creating"
|
|
333
|
+
),
|
|
334
|
+
successMessage: a(
|
|
335
|
+
e.campaign._id ? "connect.voucher.updatedSuccessfully" : "connect.voucher.createdSuccessfully"
|
|
336
|
+
)
|
|
337
|
+
}
|
|
338
|
+
);
|
|
339
|
+
}
|
|
340
|
+
return J(async () => {
|
|
341
|
+
await g(async () => {
|
|
342
|
+
await b.read("VOUCHER");
|
|
343
|
+
});
|
|
344
|
+
}), (e, o) => {
|
|
345
|
+
const s = h("FmPageHead"), d = h("FmSearch"), B = h("FmTable"), p = h("FmButton"), Z = h("FmListItem"), Y = h("FmList"), ee = h("FmCard");
|
|
346
|
+
return y(), $(T, null, [
|
|
347
|
+
r(s, {
|
|
348
|
+
title: t(a)("connect.voucher.title"),
|
|
349
|
+
actions: t(S).length > 0 ? [A] : [],
|
|
350
|
+
"onClick:action": o[0] || (o[0] = () => x())
|
|
351
|
+
}, null, 8, ["title", "actions"]),
|
|
352
|
+
l("div", Ve, [
|
|
353
|
+
r(d, {
|
|
354
|
+
modelValue: t(m).searchKey,
|
|
355
|
+
"onUpdate:modelValue": o[1] || (o[1] = (n) => t(m).searchKey = n),
|
|
356
|
+
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
357
|
+
placeholder: t(a)("connect.voucher.search"),
|
|
358
|
+
collapsible: ""
|
|
359
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
360
|
+
t(b).campaigns.voucher && t(b).campaigns.voucher.length > 0 ? (y(), $(T, { key: 0 }, [
|
|
361
|
+
l("div", ke, [
|
|
362
|
+
l("div", Fe, [
|
|
363
|
+
r(de, {
|
|
364
|
+
modelValue: t(m).location,
|
|
365
|
+
"onUpdate:modelValue": o[2] || (o[2] = (n) => t(m).location = n),
|
|
366
|
+
label: t(a)("connect.voucher.location"),
|
|
367
|
+
"show-item-label": !0,
|
|
368
|
+
icon: "storefront",
|
|
369
|
+
placement: "bottom-start",
|
|
370
|
+
items: t(v).locationItems
|
|
371
|
+
}, null, 8, ["modelValue", "label", "items"])
|
|
372
|
+
]),
|
|
373
|
+
r(d, {
|
|
374
|
+
modelValue: t(m).searchKey,
|
|
375
|
+
"onUpdate:modelValue": o[3] || (o[3] = (n) => t(m).searchKey = n),
|
|
376
|
+
class: "xs:hidden",
|
|
377
|
+
placeholder: t(a)("connect.voucher.search"),
|
|
378
|
+
collapsible: ""
|
|
379
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
380
|
+
]),
|
|
381
|
+
r(B, {
|
|
382
|
+
class: "xs:hidden",
|
|
383
|
+
"row-data": t(S),
|
|
384
|
+
"column-defs": i,
|
|
385
|
+
"search-value": t(m).searchKey,
|
|
386
|
+
"column-filter": [],
|
|
387
|
+
onRowClick: o[4] || (o[4] = (n) => x(n.original)),
|
|
388
|
+
"hide-footer": t(S).length < 10
|
|
389
|
+
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
390
|
+
r(Y, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
391
|
+
default: M(() => [
|
|
392
|
+
(y(!0), $(T, null, te(t(S).filter(
|
|
393
|
+
(n) => n.name.toLowerCase().includes(t(m).searchKey.toLowerCase())
|
|
394
|
+
), (n) => (y(), k(Z, {
|
|
395
|
+
key: n._id.toString(),
|
|
396
|
+
onClick: (O) => x(n),
|
|
397
|
+
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
398
|
+
}, {
|
|
399
|
+
default: M(() => {
|
|
400
|
+
var O;
|
|
401
|
+
return [
|
|
402
|
+
l("div", Ie, [
|
|
403
|
+
l("div", Le, [
|
|
404
|
+
(y(), k(ae(t(D)(n)))),
|
|
405
|
+
l("div", Me, F(((O = n.pf_collectible) == null ? void 0 : O.currentReceive) ?? 0) + " claimed ", 1)
|
|
406
|
+
]),
|
|
407
|
+
l("div", Re, [
|
|
408
|
+
l("div", Pe, F(n.name), 1),
|
|
409
|
+
l("div", Ue, F(t(q)(n)), 1)
|
|
410
|
+
])
|
|
411
|
+
]),
|
|
412
|
+
l("div", Ee, [
|
|
413
|
+
n.event.type === "SIMPLE_CLAIM" ? (y(), k(p, {
|
|
414
|
+
key: 0,
|
|
415
|
+
icon: "visibility",
|
|
416
|
+
"icon-color": "neutral-gray-400",
|
|
417
|
+
variant: "tertiary",
|
|
418
|
+
onClick: async (I) => {
|
|
419
|
+
I.stopPropagation(), await t(U).push({
|
|
420
|
+
name: t(G)["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
|
|
421
|
+
params: { id: n._id }
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
}, null, 8, ["onClick"])) : K("", !0),
|
|
425
|
+
n.event.type === "SIMPLE_CLAIM" ? (y(), k(p, {
|
|
426
|
+
key: 1,
|
|
427
|
+
icon: "send",
|
|
428
|
+
"icon-color": "neutral-gray-400",
|
|
429
|
+
variant: "tertiary",
|
|
430
|
+
onClick: (I) => {
|
|
431
|
+
var H;
|
|
432
|
+
I.stopPropagation(), (H = t(w)) == null || H.showSheet({
|
|
433
|
+
campaignId: n._id
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
}, null, 8, ["onClick"])) : K("", !0),
|
|
437
|
+
r(p, {
|
|
438
|
+
icon: "delete",
|
|
439
|
+
"icon-color": "neutral-gray-400",
|
|
440
|
+
variant: "tertiary",
|
|
441
|
+
onClick: (I) => (I.stopPropagation(), E(n))
|
|
442
|
+
}, null, 8, ["onClick"])
|
|
443
|
+
])
|
|
444
|
+
];
|
|
445
|
+
}),
|
|
446
|
+
_: 2
|
|
447
|
+
}, 1032, ["onClick"]))), 128))
|
|
448
|
+
]),
|
|
449
|
+
_: 1
|
|
450
|
+
})
|
|
451
|
+
], 64)) : (y(), k(ee, {
|
|
452
|
+
key: 1,
|
|
453
|
+
variant: "outlined",
|
|
454
|
+
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
455
|
+
}, {
|
|
456
|
+
default: M(() => [
|
|
457
|
+
o[6] || (o[6] = l("img", {
|
|
458
|
+
src: ne,
|
|
459
|
+
class: "aspect-square w-[150px]"
|
|
460
|
+
}, null, -1)),
|
|
461
|
+
l("div", Ae, [
|
|
462
|
+
l("div", Be, F(t(a)("connect.voucher.createVoucherCampaign")), 1),
|
|
463
|
+
l("div", Oe, F(t(a)("connect.voucher.description")), 1)
|
|
464
|
+
]),
|
|
465
|
+
r(p, {
|
|
466
|
+
variant: "primary",
|
|
467
|
+
label: t(a)("connect.voucher.createVoucherCampaign"),
|
|
468
|
+
icon: "add",
|
|
469
|
+
onClick: o[5] || (o[5] = (n) => x())
|
|
470
|
+
}, null, 8, ["label"])
|
|
471
|
+
]),
|
|
472
|
+
_: 1
|
|
473
|
+
})),
|
|
474
|
+
r(me, {
|
|
475
|
+
ref_key: "sheetRef",
|
|
476
|
+
ref: f,
|
|
477
|
+
"onSubmit:modelValue": c
|
|
478
|
+
}, null, 512),
|
|
479
|
+
r(Se, {
|
|
480
|
+
ref_key: "sendVoucherSheetRef",
|
|
481
|
+
ref: w
|
|
482
|
+
}, null, 512)
|
|
483
|
+
])
|
|
484
|
+
], 64);
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
export {
|
|
489
|
+
no as default
|
|
490
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as f, useAttrs as y, resolveComponent as b, openBlock as l, createBlock as v, mergeProps as x, unref as t, createSlots as g, withCtx as h, createElementVNode as a, toDisplayString as n, renderSlot as k, createElementBlock as F, createCommentVNode as S } from "vue";
|
|
2
|
+
import { Z as d } from "./zod-Bg2FbC-D.js";
|
|
3
|
+
import { u as V } from "./vue-i18n-BTlOChXs.js";
|
|
4
|
+
const B = { class: "fm-typo-en-body-lg-400 flex gap-4 text-fm-color-typo-primary items-center" }, C = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "text-fm-color-typo-tertiary"
|
|
7
|
+
}, E = /* @__PURE__ */ f({
|
|
8
|
+
__name: "ZodTextField",
|
|
9
|
+
props: {
|
|
10
|
+
label: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: !1
|
|
13
|
+
},
|
|
14
|
+
schema: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: !0
|
|
17
|
+
},
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
21
|
+
disabled: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:model-value", "focus-changed"],
|
|
27
|
+
setup(e, { emit: r }) {
|
|
28
|
+
const { t: s } = V(), m = r, i = y();
|
|
29
|
+
return (c, o) => {
|
|
30
|
+
const u = b("FmTextField");
|
|
31
|
+
return l(), v(u, x({
|
|
32
|
+
"model-value": e.modelValue,
|
|
33
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => m("update:model-value", p)),
|
|
34
|
+
disabled: e.disabled
|
|
35
|
+
}, t(i), {
|
|
36
|
+
rules: [t(d).toRule(e.schema)]
|
|
37
|
+
}), g({ _: 2 }, [
|
|
38
|
+
e.label ? {
|
|
39
|
+
name: "label",
|
|
40
|
+
fn: h(() => [
|
|
41
|
+
a("div", B, [
|
|
42
|
+
a("div", null, n(e.label), 1),
|
|
43
|
+
k(c.$slots, "append-label", {}, () => [
|
|
44
|
+
t(d).isRequired(e.schema) ? S("", !0) : (l(), F("div", C, n(t(s)("connect.common.optional")), 1))
|
|
45
|
+
])
|
|
46
|
+
])
|
|
47
|
+
]),
|
|
48
|
+
key: "0"
|
|
49
|
+
} : void 0
|
|
50
|
+
]), 1040, ["model-value", "disabled", "rules"]);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
E as _
|
|
56
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as Qm, storeToRefs as Xm } from "pinia";
|
|
2
2
|
import { ref as Pr, defineComponent as ar, resolveComponent as st, openBlock as qe, createBlock as an, withCtx as Ii, createVNode as He, createElementVNode as Ue, withDirectives as eg, unref as on, vShow as tg, createCommentVNode as Xt, onMounted as zc, watch as Wp, computed as nt, createElementBlock as Xe, toDisplayString as Br, Fragment as Fr, renderList as Go, createTextVNode as Ra, resolveDynamicComponent as Ph, normalizeClass as Jp, pushScopeId as rg, popScopeId as ng } from "vue";
|
|
3
3
|
import { useCoreStore as ql } from "@feedmepos/mf-common";
|
|
4
|
-
var xt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3158e91e-17a3-4c5a-aeb7-c9b4d03b9f0e", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", 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.6 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3158e91e-17a3-4c5a-aeb7-c9b4d03b9f0e", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/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.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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.12", 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.6", npm_package_devDependencies_typescript: "^5.5.3", 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.26", 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: "20250223.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.8", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/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.6/x64", JOURNAL_STREAM: "8:6240", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/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.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13652937553", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "428c25b4ed3cced2781a03c61bff1c5b169b94ac", 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/[PROD] publish-mf-connect.yml@refs/heads/main", 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.6/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.6/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.6/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/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_6d04074d-70cf-4289-bc48-8555ad295f58", INVOCATION_ID: "f494e8ae551c4f929a7abd54a3cbd26a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/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: "37", GITHUB_TRIGGERING_ACTOR: "qaijunse", 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.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 347", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", 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.6", npm_lifecycle_script: "vite build --mode fmmf:prod", 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.6/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.39-prod", npm_lifecycle_event: "build:mf:prod", 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: "428c25b4ed3cced2781a03c61bff1c5b169b94ac", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", 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.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_3158e91e-17a3-4c5a-aeb7-c9b4d03b9f0e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/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_3158e91e-17a3-4c5a-aeb7-c9b4d03b9f0e", 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.39", 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_3158e91e-17a3-4c5a-aeb7-c9b4d03b9f0e", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account" } }, ag = Object.defineProperty, ig = (s, c, l) => c in s ? ag(s, c, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[c] = l, Ch = (s, c, l) => (ig(s, typeof c != "symbol" ? c + "" : c, l), l), Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
|
+
var xt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_936fd623-7c36-4137-aca7-24b5357f2ab3", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", 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.6 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_936fd623-7c36-4137-aca7-24b5357f2ab3", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/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.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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.12.5", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "721", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.12", 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_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", 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.26", 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: "20250223.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.8", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/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.6/x64", JOURNAL_STREAM: "8:6579", 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.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13652771354", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b5d8f5536faa172aa8affb49ff88dc3779b659f7", 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.6/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.6/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.6/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/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_33a3584c-7838-41a5-8e13-7a3727a2f5e2", INVOCATION_ID: "220bf1c3de2a43998caf4efb068d5a2b", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/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: "58", GITHUB_TRIGGERING_ACTOR: "qaijunse", 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.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 290", 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.6", 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.6/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.0-beta.2", 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", npm_package_dependencies_vue_i18n: "10.0.5", 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: "b5d8f5536faa172aa8affb49ff88dc3779b659f7", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "qaijunse", 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.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_936fd623-7c36-4137-aca7-24b5357f2ab3", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.6/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_936fd623-7c36-4137-aca7-24b5357f2ab3", 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.39", 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_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", 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_936fd623-7c36-4137-aca7-24b5357f2ab3", 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" } }, ag = Object.defineProperty, ig = (s, c, l) => c in s ? ag(s, c, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[c] = l, Ch = (s, c, l) => (ig(s, typeof c != "symbol" ? c + "" : c, l), l), Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function og(s) {
|
|
6
6
|
if (s.__esModule)
|
|
7
7
|
return s;
|