@feedmepos/mf-connect 0.1.54-prod → 0.1.56-prod
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-Cgh2gOqq.js → Analytic-XUI4rZyP.js} +11 -11
- package/dist/{App-B_OUdOqs.js → App-vv5J1Ebe.js} +8 -8
- package/dist/{Bin-D_6-1WGD.js → Bin-D4V36uXK.js} +8 -8
- package/dist/{Broadcast-CctqNpEf.js → Broadcast-BvW27G77.js} +9 -9
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BfLxWrs3.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D2MC6Gy1.js} +6 -6
- package/dist/{Card-Bu7MkZcb.js → Card-C7xLv1Fb.js} +16 -16
- package/dist/{Collections-DzKL6niZ.js → Collections-BKfS-bGL.js} +7 -7
- package/dist/{Credit-C6nGdpja.js → Credit-CGmWQq0t.js} +9 -9
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Tq9msacU.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-C2p6_R01.js} +30 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-C1YE3Qw6.js → EffectSheet.vue_vue_type_style_index_0_lang-BGlaqjWp.js} +6 -6
- package/dist/{Experience-CVdd-8-k.js → Experience-CT7Yab3W.js} +9 -9
- package/dist/{Game-CsUUsEXZ.js → Game-DtW4rtYQ.js} +10 -10
- package/dist/{Index-CU6uEQuF.js → Index-Bs5ob9Km.js} +10 -10
- package/dist/{Marketing-DhqJPsjb.js → Marketing-tA350rTd.js} +17 -17
- package/dist/{Member-DI1kk7YH.js → Member-CZoTXgKz.js} +10 -10
- package/dist/{MemberList-u9qtdIAN.js → MemberList-ChwyPtmW.js} +25 -25
- package/dist/{MemberTransactions-ynUxrzBv.js → MemberTransactions-Cchtvxm9.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-5B4TqjPp.js → MessageInput.vue_vue_type_script_setup_true_lang-Bo0EnHBx.js} +8 -8
- package/dist/{Mission-BYfwkl8w.js → Mission-DDpelLqN.js} +10 -10
- package/dist/{Overview-5-0qrN3m.js → Overview-Da3ewBat.js} +18 -18
- package/dist/{Point-DIM2oRw-.js → Point-CggE8VUk.js} +9 -9
- package/dist/{Promotion-DQct_Kxh.js → Promotion-DxvbZhgQ.js} +10 -10
- package/dist/{Queue-uS_OQQiC.js → Queue-fIxlHrMd.js} +10 -10
- package/dist/{Record-DH5vXWlz.js → Record-Bv90_VUG.js} +8 -8
- package/dist/{Reward-D39zI6Bv.js → Reward-BWYLk7aC.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-5qROPC-x.js → RewardGroup.vue_vue_type_script_setup_true_lang-CjYEtENe.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Dicfl2c1.js → RuleGroup.vue_vue_type_script_setup_true_lang-Ak1R8Y2a.js} +165 -165
- package/dist/{Segment-B3EULGew.js → Segment-_VGdBy3a.js} +22 -22
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DdFxzIET.js → SelectItems.vue_vue_type_script_setup_true_lang-Dm4hF1n1.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B29i4eFf.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DWDMhmNr.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DZVoamqy.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-Czy25PII.js} +3 -3
- package/dist/{Setting-DAysowcH.js → Setting-7fTz1dJa.js} +124 -124
- package/dist/{Store-8GbVgzy9.js → Store-TQHKR__B.js} +20 -20
- package/dist/{StoreRewards-ClYZqh48.js → StoreRewards-DZy1ZwiI.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-AGDZ-2KI.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Cae25Vr6.js} +19 -19
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-V2oskKav.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BVVEzpyP.js} +1 -1
- package/dist/{Tier-wniBgtf6.js → Tier-CK53vdbl.js} +124 -120
- package/dist/{Title-E2RYI9fi.js → Title-CGWPq_FF.js} +19 -19
- package/dist/{Transaction-CcrdBP-1.js → Transaction-DjJ03PfX.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cn-Liq1M.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DNSdyxrF.js} +6 -6
- package/dist/{Voucher-17deXAl5.js → Voucher-D6RuJjNn.js} +14 -14
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-0bX4u9P_.js → VoucherEditor.vue_vue_type_script_setup_true_lang-D4iCOq3V.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BA02A_7b.js → ZodTextField.vue_vue_type_script_setup_true_lang-BFz8RvY_.js} +1 -1
- package/dist/{app-XFNGmi2p.js → app-BLlAxdVk.js} +1 -1
- package/dist/{app-C45TZLIO.js → app-_rmIFJ8M.js} +30 -30
- package/dist/app.js +1 -1
- package/dist/{business-CFJ0xYua.js → business-gJ9fK_2b.js} +1 -1
- package/dist/{campaign-DrNGVNoX.js → campaign-BfznfcHc.js} +2 -2
- package/dist/{campaign-Dw2RrUtd.js → campaign-C_Yq-ffV.js} +9 -9
- package/dist/{campaign.enum-CnfceZRP.js → campaign.enum-Dsbpz7BO.js} +1 -1
- package/dist/{campaign.fn-BabWG4aJ.js → campaign.fn-C6vKb-lp.js} +154 -154
- package/dist/{collectible.enum-BHdr8Fsq.js → collectible.enum-DNpj_oyC.js} +1 -1
- package/dist/{collection.fn-Cg-XDK5d.js → collection.fn-Cgo0sPL2.js} +2 -2
- package/dist/{dto-BCvjCG5B.js → dto-CaSQ4Pp9.js} +4 -4
- package/dist/{effect-CF7IMmev.js → effect-DuH74x-N.js} +1 -1
- package/dist/{email-addresses-Dmwd1mXi.js → email-addresses-DXr-Qqt9.js} +1 -1
- package/dist/{export-DZQqUbHB.js → export-tMPFlVV0.js} +3 -3
- package/dist/{helper-DMAZD35E.js → helper-CJTseW10.js} +1 -1
- package/dist/{index-ckMWHDMU.js → index-8RETBwYy.js} +2 -2
- package/dist/{index-Clv1TToy.js → index-B57kxqv7.js} +1 -1
- package/dist/{index-C9mu-xVe.js → index-BNUuy_4R.js} +1 -1
- package/dist/{index-yadHuI0F.js → index-BSJ-4JYy.js} +1 -1
- package/dist/{index-CjHFSLzh.js → index-BTpBLMHl.js} +351 -335
- package/dist/{index-C0GOD2lQ.js → index-C6Iyn1Q6.js} +3 -3
- package/dist/{index-Bz8PC4Oh.js → index-CWI06v9e.js} +1 -1
- package/dist/{index-Dal1YqFa.js → index-CdnKwJuz.js} +4 -4
- package/dist/{index-KFKR-bRX.js → index-Cr_9Bqa1.js} +1 -1
- package/dist/{index-D0hEmwFx.js → index-DTyfvK3U.js} +6 -6
- package/dist/{index-C8HZ7H6f.js → index-Dn0gJspN.js} +1023 -1023
- package/dist/{index-w1Eu6oQ8.js → index-IHKkNyxb.js} +1 -1
- package/dist/{index-BFZo-1T-.js → index-J3TDCX-5.js} +1 -1
- package/dist/{index-DoUXsI-K.js → index-V9kRRAB1.js} +1 -1
- package/dist/{index.esm2017-M-F4-yHs.js → index.esm2017-P2nmohVw.js} +1 -1
- package/dist/{loading-CYjgX3Da.js → loading-D5ZAAdUU.js} +1 -1
- package/dist/{membership-Chzkpuu0.js → membership-xl9aKOQ_.js} +3 -3
- package/dist/{money-C8os3P1d.js → money-CIHN3jJZ.js} +1 -1
- package/dist/{number-8hkyql5T.js → number-BN4-Jdog.js} +1 -1
- package/dist/{objectid-DkjP34a7.js → objectid-Dh6RD0Tk.js} +5 -5
- package/dist/{plugins-mc-aBSrg.js → plugins-CJlgzIv2.js} +2 -2
- package/dist/{reward-CD7pGnF4.js → reward-C8mezXzs.js} +1 -1
- package/dist/{rule-BsE7vMs1.js → rule-9VRIJFHZ.js} +3 -3
- package/dist/rule-builder-CZUgrDAw.js +102 -0
- package/dist/{template-os9CpzXT.js → template-aPJnNGLi.js} +4 -4
- package/dist/{timezone-Dx0uBz3P.js → timezone-CpvXaiqq.js} +1 -1
- package/dist/{trigger-Bn3HNQWN.js → trigger-BfrtcBd-.js} +4 -4
- package/dist/{user-CqC3Y9MD.js → user-Bt1C0yV5.js} +1 -1
- package/dist/{vue-i18n-4tpQ72vT.js → vue-i18n-OdHHHpEE.js} +251 -251
- package/dist/{xlsx-Cx0efEzr.js → xlsx-BgB0dYfE.js} +1 -1
- package/package.json +1 -1
- package/dist/rule-builder-CykDybjS.js +0 -93
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as Xe, ref as z, computed as ge, onMounted as Ze, resolveComponent as F, openBlock as x, createBlock as me, withCtx as oe, createElementVNode as y, createVNode as _, unref as
|
|
1
|
+
import { defineComponent as Xe, ref as z, computed as ge, onMounted as Ze, resolveComponent as F, openBlock as x, createBlock as me, withCtx as oe, createElementVNode as y, createVNode as _, unref as c, isRef as et, createElementBlock as q, Fragment as ce, toDisplayString as k, createTextVNode as te, createCommentVNode as ne, renderList as Ye } from "vue";
|
|
2
2
|
import { h as At } from "./moment-D7p2TMB-.js";
|
|
3
3
|
import { Z as je } from "./zod-Bg2FbC-D.js";
|
|
4
4
|
import { useDialog as tt } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Bt } from "./loading-
|
|
5
|
+
import { u as Bt } from "./loading-D5ZAAdUU.js";
|
|
6
6
|
import { u as Mt } from "./app-wDQR6dpb.js";
|
|
7
|
-
import { u as Ie, l as nt } from "./business-
|
|
8
|
-
import { u as ot } from "./membership-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { s as St, k as _t } from "./index-
|
|
7
|
+
import { u as Ie, l as nt } from "./business-gJ9fK_2b.js";
|
|
8
|
+
import { u as ot } from "./membership-xl9aKOQ_.js";
|
|
9
|
+
import "./index-Dn0gJspN.js";
|
|
10
|
+
import { s as St, k as _t } from "./index-BTpBLMHl.js";
|
|
11
11
|
import { _ as It } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
|
|
12
|
-
import { a as rt, p as Pt, f as G } from "./plugins-
|
|
13
|
-
import { _ as Tt } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { M as Nt, _ as Ut } from "./MessageInput.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as Lt } from "./vue-i18n-
|
|
12
|
+
import { a as rt, p as Pt, f as G } from "./plugins-CJlgzIv2.js";
|
|
13
|
+
import { _ as Tt } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-BVVEzpyP.js";
|
|
14
|
+
import { M as Nt, _ as Ut } from "./MessageInput.vue_vue_type_script_setup_true_lang-Bo0EnHBx.js";
|
|
15
|
+
import { u as Lt } from "./vue-i18n-OdHHHpEE.js";
|
|
16
16
|
import { useCoreStore as Ft } from "@feedmepos/mf-common";
|
|
17
|
-
import { m as Je } from "./index-
|
|
18
|
-
import { S as qe } from "./index-
|
|
17
|
+
import { m as Je } from "./index-BSJ-4JYy.js";
|
|
18
|
+
import { S as qe } from "./index-CdnKwJuz.js";
|
|
19
19
|
import { o as Rt } from "./objectId-dwaoBfJX.js";
|
|
20
20
|
import { a as kt } from "./object-qECH92oz.js";
|
|
21
21
|
var se = {}, Dt = function() {
|
|
@@ -197,7 +197,7 @@ at.getPositions = function(e) {
|
|
|
197
197
|
[0, i - Ge]
|
|
198
198
|
];
|
|
199
199
|
};
|
|
200
|
-
var
|
|
200
|
+
var ut = {};
|
|
201
201
|
(function(t) {
|
|
202
202
|
t.Patterns = {
|
|
203
203
|
PATTERN000: 0,
|
|
@@ -292,7 +292,7 @@ var ct = {};
|
|
|
292
292
|
}
|
|
293
293
|
return a;
|
|
294
294
|
};
|
|
295
|
-
})(
|
|
295
|
+
})(ut);
|
|
296
296
|
var we = {};
|
|
297
297
|
const K = ye, de = [
|
|
298
298
|
// L M Q H
|
|
@@ -647,7 +647,7 @@ we.getTotalCodewordsCount = function(e, i) {
|
|
|
647
647
|
return;
|
|
648
648
|
}
|
|
649
649
|
};
|
|
650
|
-
var
|
|
650
|
+
var ct = {}, be = {};
|
|
651
651
|
const re = new Uint8Array(512), he = new Uint8Array(256);
|
|
652
652
|
(function() {
|
|
653
653
|
let e = 1;
|
|
@@ -691,8 +691,8 @@ be.mul = function(e, i) {
|
|
|
691
691
|
o = t.mul(o, new Uint8Array([1, e.exp(n)]));
|
|
692
692
|
return o;
|
|
693
693
|
};
|
|
694
|
-
})(
|
|
695
|
-
const dt =
|
|
694
|
+
})(ct);
|
|
695
|
+
const dt = ct;
|
|
696
696
|
function Fe(t) {
|
|
697
697
|
this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
|
|
698
698
|
}
|
|
@@ -1186,8 +1186,8 @@ var ln = yt.exports;
|
|
|
1186
1186
|
const L = P[D], Y = "" + S + D;
|
|
1187
1187
|
N.push(Y), h[Y] = { node: L, lastCount: 0 }, w[Y] = {};
|
|
1188
1188
|
for (let A = 0; A < M.length; A++) {
|
|
1189
|
-
const
|
|
1190
|
-
h[
|
|
1189
|
+
const u = M[A];
|
|
1190
|
+
h[u] && h[u].node.mode === L.mode ? (w[u][Y] = g(h[u].lastCount + L.length, L.mode) - g(h[u].lastCount, L.mode), h[u].lastCount += L.length) : (h[u] && (h[u].lastCount = L.length), w[u][Y] = g(L.length, L.mode) + 4 + e.getCharCountIndicator(L.mode, b));
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
1193
|
M = N;
|
|
@@ -1228,7 +1228,7 @@ var ln = yt.exports;
|
|
|
1228
1228
|
);
|
|
1229
1229
|
};
|
|
1230
1230
|
})(pt);
|
|
1231
|
-
const ve = U, Ae = ye, an = xt,
|
|
1231
|
+
const ve = U, Ae = ye, an = xt, un = $t, cn = lt, dn = at, Te = ut, Ne = we, fn = Ht, pe = ft, mn = gt, gn = O, Be = pt;
|
|
1232
1232
|
function hn(t, e) {
|
|
1233
1233
|
const i = t.size, r = dn.getPositions(e);
|
|
1234
1234
|
for (let o = 0; o < r.length; o++) {
|
|
@@ -1247,7 +1247,7 @@ function pn(t) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
function yn(t, e) {
|
|
1250
|
-
const i =
|
|
1250
|
+
const i = cn.getPositions(e);
|
|
1251
1251
|
for (let r = 0; r < i.length; r++) {
|
|
1252
1252
|
const o = i[r][0], n = i[r][1];
|
|
1253
1253
|
for (let l = -2; l <= 2; l++)
|
|
@@ -1342,7 +1342,7 @@ The chosen QR Code version cannot contain this amount of data.
|
|
|
1342
1342
|
Minimum version required to store current data is: ` + n + `.
|
|
1343
1343
|
`
|
|
1344
1344
|
);
|
|
1345
|
-
const l = vn(e, i, o), a = ve.getSymbolSize(e), s = new
|
|
1345
|
+
const l = vn(e, i, o), a = ve.getSymbolSize(e), s = new un(a);
|
|
1346
1346
|
return hn(s, e), pn(s), yn(s, e), Me(s, i, 0), e >= 7 && wn(s, e), bn(s, l), isNaN(r) && (r = Te.getBestMask(
|
|
1347
1347
|
s,
|
|
1348
1348
|
Me.bind(null, s, i)
|
|
@@ -1503,7 +1503,7 @@ async function _n(t, e = 350) {
|
|
|
1503
1503
|
console.error(i);
|
|
1504
1504
|
}
|
|
1505
1505
|
}
|
|
1506
|
-
var In = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "
|
|
1506
|
+
var In = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedme.vip", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc" };
|
|
1507
1507
|
const Pn = { class: "flex items-start" }, Tn = { class: "flex flex-col gap-16 mt-16" }, Nn = ["src"], Un = /* @__PURE__ */ Xe({
|
|
1508
1508
|
__name: "LinkDeviceDialog",
|
|
1509
1509
|
setup(t) {
|
|
@@ -1537,29 +1537,29 @@ const Pn = { class: "flex items-start" }, Tn = { class: "flex flex-col gap-16 mt
|
|
|
1537
1537
|
], -1)),
|
|
1538
1538
|
_(v, {
|
|
1539
1539
|
name: "close",
|
|
1540
|
-
onClick: d[0] || (d[0] = (b) =>
|
|
1540
|
+
onClick: d[0] || (d[0] = (b) => c(r).close()),
|
|
1541
1541
|
class: "cursor-pointer"
|
|
1542
1542
|
})
|
|
1543
1543
|
]),
|
|
1544
1544
|
y("div", Tn, [
|
|
1545
1545
|
_(C, {
|
|
1546
|
-
modelValue:
|
|
1546
|
+
modelValue: c(n),
|
|
1547
1547
|
"onUpdate:modelValue": [
|
|
1548
1548
|
d[1] || (d[1] = (b) => et(n) ? n.value = b : null),
|
|
1549
1549
|
B
|
|
1550
1550
|
],
|
|
1551
1551
|
label: "Select Location",
|
|
1552
|
-
items:
|
|
1552
|
+
items: c(e).locationItems.filter((b) => !!b.value)
|
|
1553
1553
|
}, null, 8, ["modelValue", "items"]),
|
|
1554
1554
|
y("img", {
|
|
1555
|
-
src:
|
|
1555
|
+
src: c(o),
|
|
1556
1556
|
class: "aspect-square w-full"
|
|
1557
1557
|
}, null, 8, Nn),
|
|
1558
1558
|
_(I, {
|
|
1559
1559
|
class: "mx-auto",
|
|
1560
1560
|
variant: "plain",
|
|
1561
1561
|
icon: "content_copy",
|
|
1562
|
-
onClick: d[2] || (d[2] = (b) =>
|
|
1562
|
+
onClick: d[2] || (d[2] = (b) => c(rt)(c(a)))
|
|
1563
1563
|
})
|
|
1564
1564
|
])
|
|
1565
1565
|
]),
|
|
@@ -1568,7 +1568,7 @@ const Pn = { class: "flex items-start" }, Tn = { class: "flex flex-col gap-16 mt
|
|
|
1568
1568
|
};
|
|
1569
1569
|
}
|
|
1570
1570
|
});
|
|
1571
|
-
var _e = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "
|
|
1571
|
+
var _e = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedme.vip", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc" };
|
|
1572
1572
|
const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 border-b border-fm-color-neutral-gray-100" }, Fn = { class: "fm-typo-en-title-md-800" }, Rn = {
|
|
1573
1573
|
key: 0,
|
|
1574
1574
|
class: "px-24 gap-32 grid grid-cols-3 xs:pt-16"
|
|
@@ -1582,8 +1582,8 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1582
1582
|
var A;
|
|
1583
1583
|
return `https://${(A = s.value) == null ? void 0 : A.business}.${v}`;
|
|
1584
1584
|
}), I = z(), p = z([]), b = ge(() => {
|
|
1585
|
-
var A,
|
|
1586
|
-
return Math.min((((
|
|
1585
|
+
var A, u;
|
|
1586
|
+
return Math.min((((u = (A = s.value) == null ? void 0 : A.advertisements) == null ? void 0 : u.length) ?? 0) + 1, 5);
|
|
1587
1587
|
}), { t: h } = Lt(), w = i.currentCountry.value || "MY", M = [
|
|
1588
1588
|
"user.name",
|
|
1589
1589
|
"user.gender",
|
|
@@ -1592,8 +1592,8 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1592
1592
|
"membership.url"
|
|
1593
1593
|
].filter(
|
|
1594
1594
|
(A) => {
|
|
1595
|
-
var
|
|
1596
|
-
return !((
|
|
1595
|
+
var u;
|
|
1596
|
+
return !((u = Nt[w]) != null && u.includes(A));
|
|
1597
1597
|
}
|
|
1598
1598
|
);
|
|
1599
1599
|
async function S() {
|
|
@@ -1624,20 +1624,20 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1624
1624
|
var ae;
|
|
1625
1625
|
const A = kt(s.value);
|
|
1626
1626
|
A.welcomeMessage && !((ae = A.welcomeMessage) != null && ae.content) && (A.welcomeMessage.content = "Hi there, you have been invited to join our membership");
|
|
1627
|
-
const
|
|
1628
|
-
I.value === null &&
|
|
1627
|
+
const u = _t.parse(A);
|
|
1628
|
+
I.value === null && u.image ? await G.delete(G.coverImagePath()) : I.value && (u.image = await G.update(
|
|
1629
1629
|
G.coverImagePath(),
|
|
1630
1630
|
I.value
|
|
1631
|
-
)), f.value ?
|
|
1631
|
+
)), f.value ? u.advertisements = (await Promise.all(
|
|
1632
1632
|
new Array(b.value - 1).fill(null).map(async (V, H) => {
|
|
1633
1633
|
var ee;
|
|
1634
1634
|
const j = p.value[H];
|
|
1635
1635
|
return j ? await G.update(
|
|
1636
1636
|
G.advertisementPath(H, j),
|
|
1637
1637
|
j
|
|
1638
|
-
) : (ee =
|
|
1638
|
+
) : (ee = u.advertisements) == null ? void 0 : ee[H];
|
|
1639
1639
|
})
|
|
1640
|
-
)).filter((V) => V) :
|
|
1640
|
+
)).filter((V) => V) : u.advertisements = [], await Je.update(u), await o.readMembership(), s.value = o.membership;
|
|
1641
1641
|
},
|
|
1642
1642
|
{
|
|
1643
1643
|
message: "Updating membership",
|
|
@@ -1647,7 +1647,7 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1647
1647
|
}
|
|
1648
1648
|
async function D() {
|
|
1649
1649
|
const A = await Je.getEmailAddresses();
|
|
1650
|
-
console.log(A), m.value = A, B.value = A.find((
|
|
1650
|
+
console.log(A), m.value = A, B.value = A.find((u) => u.default.includes("Marketing"));
|
|
1651
1651
|
}
|
|
1652
1652
|
async function L() {
|
|
1653
1653
|
window.open(
|
|
@@ -1661,66 +1661,66 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1661
1661
|
}
|
|
1662
1662
|
return Ze(async () => {
|
|
1663
1663
|
await n(async () => {
|
|
1664
|
-
var A,
|
|
1665
|
-
await r.readPremium(), await r.readLocations(), await r.readLocationDevices(), await o.readMembership(), await D(), s.value = o.membership, f.value = (((A = s.value.advertisements) == null ? void 0 : A.length) ?? 0) > 0, p.value = ((
|
|
1664
|
+
var A, u;
|
|
1665
|
+
await r.readPremium(), await r.readLocations(), await r.readLocationDevices(), await o.readMembership(), await D(), s.value = o.membership, f.value = (((A = s.value.advertisements) == null ? void 0 : A.length) ?? 0) > 0, p.value = ((u = s.value.advertisements) == null ? void 0 : u.map(() => null)) ?? [];
|
|
1666
1666
|
});
|
|
1667
|
-
}), (A,
|
|
1667
|
+
}), (A, u) => {
|
|
1668
1668
|
var Ve, xe, $e, ze, He, Ke, Oe;
|
|
1669
1669
|
const ae = F("FmPageHead"), V = F("FmButton"), H = F("FmTextField"), j = F("FmCard"), ee = F("FmPill"), Ce = F("FmSwitch"), Ct = F("FmSelect"), Et = F("FmMenuDivider");
|
|
1670
|
-
return x(), q(
|
|
1670
|
+
return x(), q(ce, null, [
|
|
1671
1671
|
_(ae, {
|
|
1672
|
-
title:
|
|
1672
|
+
title: c(h)("connect.setting.title"),
|
|
1673
1673
|
class: "xs:hidden"
|
|
1674
1674
|
}, null, 8, ["title"]),
|
|
1675
1675
|
y("div", Ln, [
|
|
1676
|
-
y("div", Fn, k(
|
|
1676
|
+
y("div", Fn, k(c(h)("connect.setting.basicInfo.title")), 1),
|
|
1677
1677
|
_(V, {
|
|
1678
1678
|
icon: "info",
|
|
1679
1679
|
variant: "tertiary"
|
|
1680
1680
|
})
|
|
1681
1681
|
]),
|
|
1682
|
-
|
|
1682
|
+
c(s) ? (x(), q("div", Rn, [
|
|
1683
1683
|
y("div", kn, [
|
|
1684
|
-
y("div", Dn, k(
|
|
1684
|
+
y("div", Dn, k(c(h)("connect.setting.basicInfo.title")), 1),
|
|
1685
1685
|
y("div", Vn, [
|
|
1686
1686
|
_(H, {
|
|
1687
|
-
label:
|
|
1688
|
-
modelValue:
|
|
1689
|
-
"onUpdate:modelValue":
|
|
1687
|
+
label: c(h)("connect.setting.basicInfo.membershipTitle"),
|
|
1688
|
+
modelValue: c(s).name,
|
|
1689
|
+
"onUpdate:modelValue": u[0] || (u[0] = (E) => c(s).name = E)
|
|
1690
1690
|
}, null, 8, ["label", "modelValue"]),
|
|
1691
1691
|
_(H, {
|
|
1692
1692
|
disabled: !0,
|
|
1693
|
-
"model-value":
|
|
1693
|
+
"model-value": c(s).business,
|
|
1694
1694
|
rules: d,
|
|
1695
1695
|
required: !0,
|
|
1696
|
-
label:
|
|
1697
|
-
"helper-text":
|
|
1698
|
-
placeholder:
|
|
1699
|
-
"onUpdate:modelValue":
|
|
1696
|
+
label: c(h)("connect.setting.basicInfo.memberAppUrl"),
|
|
1697
|
+
"helper-text": c(C),
|
|
1698
|
+
placeholder: c(s).business.toString(),
|
|
1699
|
+
"onUpdate:modelValue": u[2] || (u[2] = (E) => c(s).url = E)
|
|
1700
1700
|
}, {
|
|
1701
|
-
prepend: oe(() => [...
|
|
1701
|
+
prepend: oe(() => [...u[13] || (u[13] = [
|
|
1702
1702
|
te(" https:// ", -1)
|
|
1703
1703
|
])]),
|
|
1704
1704
|
append: oe(() => [
|
|
1705
|
-
te(" ." + k(
|
|
1705
|
+
te(" ." + k(c(v)) + " ", 1),
|
|
1706
1706
|
_(V, {
|
|
1707
1707
|
icon: "content_copy",
|
|
1708
1708
|
variant: "tertiary",
|
|
1709
|
-
onClick:
|
|
1709
|
+
onClick: u[1] || (u[1] = (E) => c(rt)(c(C)))
|
|
1710
1710
|
})
|
|
1711
1711
|
]),
|
|
1712
1712
|
_: 1
|
|
1713
1713
|
}, 8, ["model-value", "label", "helper-text", "placeholder"]),
|
|
1714
1714
|
ne("", !0),
|
|
1715
1715
|
y("div", xn, [
|
|
1716
|
-
y("div", $n, k(
|
|
1716
|
+
y("div", $n, k(c(h)("connect.setting.counterApp.title")), 1),
|
|
1717
1717
|
_(V, {
|
|
1718
1718
|
variant: "plain",
|
|
1719
1719
|
icon: "link",
|
|
1720
|
-
label:
|
|
1720
|
+
label: c(h)("connect.setting.counterApp.linkDevice"),
|
|
1721
1721
|
onClick: S
|
|
1722
1722
|
}, null, 8, ["label"]),
|
|
1723
|
-
(x(!0), q(
|
|
1723
|
+
(x(!0), q(ce, null, Ye(c(r).locationDevices, (E, T) => (x(), me(j, {
|
|
1724
1724
|
key: T,
|
|
1725
1725
|
variant: "outlined",
|
|
1726
1726
|
class: "flex items-center justify-between px-16 py-12"
|
|
@@ -1728,10 +1728,10 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1728
1728
|
default: oe(() => [
|
|
1729
1729
|
y("div", null, [
|
|
1730
1730
|
y("p", zn, k(E.name || `Device ${E._id}`), 1),
|
|
1731
|
-
y("p", Hn, " Activation date: " + k(
|
|
1731
|
+
y("p", Hn, " Activation date: " + k(c(At)(c(Rt)(E._id.toString())).format(
|
|
1732
1732
|
"D MMM YYYY"
|
|
1733
1733
|
)), 1),
|
|
1734
|
-
y("p", Kn, " Linked location: " + k(
|
|
1734
|
+
y("p", Kn, " Linked location: " + k(c(r).locations.find((R) => R._id == E.location).name), 1)
|
|
1735
1735
|
]),
|
|
1736
1736
|
_(V, {
|
|
1737
1737
|
icon: "link_off",
|
|
@@ -1744,115 +1744,115 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1744
1744
|
]),
|
|
1745
1745
|
y("div", On, [
|
|
1746
1746
|
y("div", Yn, [
|
|
1747
|
-
|
|
1747
|
+
u[14] || (u[14] = te(" Advertisement ", -1)),
|
|
1748
1748
|
_(ee, { variant: "premium" })
|
|
1749
1749
|
]),
|
|
1750
1750
|
_(Ce, {
|
|
1751
|
-
modelValue:
|
|
1752
|
-
"onUpdate:modelValue":
|
|
1751
|
+
modelValue: c(f),
|
|
1752
|
+
"onUpdate:modelValue": u[4] || (u[4] = (E) => et(f) ? f.value = E : null),
|
|
1753
1753
|
label: "Advertisement",
|
|
1754
1754
|
sublabel: "This will be show on FeedMe ordering app",
|
|
1755
1755
|
"label-placement": "right",
|
|
1756
|
-
disabled: !
|
|
1756
|
+
disabled: !c(r).isPremium,
|
|
1757
1757
|
value: ""
|
|
1758
1758
|
}, null, 8, ["modelValue", "disabled"]),
|
|
1759
|
-
|
|
1759
|
+
c(f) ? (x(), q("div", {
|
|
1760
1760
|
class: "flex items-center gap-8 flex-wrap xs:grid xs:grid-cols-2 xs:overflow-x-scroll xs:w-full",
|
|
1761
|
-
key:
|
|
1761
|
+
key: c(b)
|
|
1762
1762
|
}, [
|
|
1763
|
-
(x(!0), q(
|
|
1763
|
+
(x(!0), q(ce, null, Ye(c(b), (E, T) => {
|
|
1764
1764
|
var R, J;
|
|
1765
1765
|
return x(), me(It, {
|
|
1766
1766
|
class: "w-[200px]",
|
|
1767
1767
|
"image-fit": "cover",
|
|
1768
1768
|
label: "",
|
|
1769
1769
|
"aspect-ratio": "2/3",
|
|
1770
|
-
thumbnail: (J = (R =
|
|
1770
|
+
thumbnail: (J = (R = c(s)) == null ? void 0 : R.advertisements) == null ? void 0 : J[T],
|
|
1771
1771
|
accept: ".png, .jpg, .jpeg, .mp4, .gif",
|
|
1772
1772
|
"recommended-size": "Recommended 4:5 ratio / 1080px x 1350px",
|
|
1773
|
-
file:
|
|
1774
|
-
"onUpdate:file": (
|
|
1775
|
-
|
|
1773
|
+
file: c(p)[T] ?? void 0,
|
|
1774
|
+
"onUpdate:file": (ue) => {
|
|
1775
|
+
c(s).advertisements || (c(s).advertisements = []), ue ? (c(s).advertisements[T] = "", c(p)[T] = ue) : (c(s).advertisements.splice(T, 1), c(p).splice(T, 1));
|
|
1776
1776
|
}
|
|
1777
1777
|
}, null, 8, ["thumbnail", "file", "onUpdate:file"]);
|
|
1778
1778
|
}), 256))
|
|
1779
1779
|
])) : ne("", !0)
|
|
1780
1780
|
]),
|
|
1781
1781
|
y("div", jn, [
|
|
1782
|
-
|
|
1782
|
+
u[15] || (u[15] = y("div", { class: "fm-typo-en-title-sm-800" }, "SMS", -1)),
|
|
1783
1783
|
_(H, {
|
|
1784
|
-
"model-value": ((Ve =
|
|
1784
|
+
"model-value": ((Ve = c(s)) == null ? void 0 : Ve.brand) || "",
|
|
1785
1785
|
"max-length": 15,
|
|
1786
1786
|
label: "Brand Name",
|
|
1787
1787
|
"show-word-count": "",
|
|
1788
|
-
"helper-text": `RM 0 ${((xe =
|
|
1789
|
-
"onUpdate:modelValue":
|
|
1788
|
+
"helper-text": `RM 0 ${((xe = c(s)) == null ? void 0 : xe.brand) || ""}: YOUR CUSTOMER MESSAGE`,
|
|
1789
|
+
"onUpdate:modelValue": u[5] || (u[5] = (E) => c(s).brand = E)
|
|
1790
1790
|
}, null, 8, ["model-value", "helper-text"]),
|
|
1791
1791
|
_(Ut, {
|
|
1792
|
-
modelValue:
|
|
1793
|
-
"onUpdate:modelValue":
|
|
1794
|
-
variables:
|
|
1792
|
+
modelValue: c(s).welcomeMessage,
|
|
1793
|
+
"onUpdate:modelValue": u[6] || (u[6] = (E) => c(s).welcomeMessage = E),
|
|
1794
|
+
variables: c(M),
|
|
1795
1795
|
placeholder: "Hi there, you have been invited to join membership"
|
|
1796
1796
|
}, null, 8, ["modelValue", "variables"])
|
|
1797
1797
|
]),
|
|
1798
1798
|
y("div", Jn, [
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1799
|
+
u[16] || (u[16] = y("div", { class: "fm-typo-en-title-sm-800" }, "Email", -1)),
|
|
1800
|
+
u[17] || (u[17] = y("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Email address that will be used to send email broadcast ", -1)),
|
|
1801
|
+
c(m).length ? ne("", !0) : (x(), me(V, {
|
|
1802
1802
|
key: 0,
|
|
1803
1803
|
onClick: L,
|
|
1804
1804
|
label: "Add new email address"
|
|
1805
1805
|
})),
|
|
1806
|
-
|
|
1806
|
+
c(m).length ? (x(), q(ce, { key: 1 }, [
|
|
1807
1807
|
_(Ct, {
|
|
1808
|
-
"model-value": ((ze = ($e =
|
|
1808
|
+
"model-value": ((ze = ($e = c(s)) == null ? void 0 : $e.email) == null ? void 0 : ze.from) || null,
|
|
1809
1809
|
label: "From Address",
|
|
1810
|
-
items:
|
|
1810
|
+
items: c(m).map((E) => ({
|
|
1811
1811
|
label: E.emailAddress,
|
|
1812
1812
|
value: E.emailAddress
|
|
1813
1813
|
})),
|
|
1814
|
-
placeholder:
|
|
1815
|
-
"onUpdate:modelValue":
|
|
1814
|
+
placeholder: c(B) ? c(B).emailAddress : "No email address available",
|
|
1815
|
+
"onUpdate:modelValue": u[7] || (u[7] = (E) => {
|
|
1816
1816
|
var T, R;
|
|
1817
|
-
(T =
|
|
1817
|
+
(T = c(s)) != null && T.email || (c(s).email = {
|
|
1818
1818
|
from: E,
|
|
1819
|
-
name: (R =
|
|
1820
|
-
}),
|
|
1819
|
+
name: (R = c(m).find((J) => J.emailAddress == E)) == null ? void 0 : R.name
|
|
1820
|
+
}), c(s).email.from = E || null;
|
|
1821
1821
|
}),
|
|
1822
|
-
rules: [
|
|
1822
|
+
rules: [c(je).ruleAtPath(c(g), "email.from")]
|
|
1823
1823
|
}, null, 8, ["model-value", "items", "placeholder", "rules"]),
|
|
1824
1824
|
_(H, {
|
|
1825
|
-
"model-value": ((Ke = (He =
|
|
1825
|
+
"model-value": ((Ke = (He = c(s)) == null ? void 0 : He.email) == null ? void 0 : Ke.name) || null,
|
|
1826
1826
|
label: "Sender name",
|
|
1827
1827
|
disabled: "",
|
|
1828
|
-
placeholder: ((Oe =
|
|
1829
|
-
"onUpdate:modelValue":
|
|
1828
|
+
placeholder: ((Oe = c(B)) == null ? void 0 : Oe.name) || null,
|
|
1829
|
+
"onUpdate:modelValue": u[8] || (u[8] = (E) => {
|
|
1830
1830
|
var T;
|
|
1831
|
-
(T =
|
|
1831
|
+
(T = c(s)) != null && T.email || (c(s).email = {
|
|
1832
1832
|
name: E
|
|
1833
|
-
}),
|
|
1833
|
+
}), c(s).email.name = E || null;
|
|
1834
1834
|
}),
|
|
1835
|
-
rules: [
|
|
1835
|
+
rules: [c(je).ruleAtPath(c(g), "email.name")]
|
|
1836
1836
|
}, null, 8, ["model-value", "placeholder", "rules"])
|
|
1837
1837
|
], 64)) : ne("", !0)
|
|
1838
1838
|
]),
|
|
1839
1839
|
y("div", qn, [
|
|
1840
|
-
|
|
1841
|
-
|
|
1840
|
+
u[18] || (u[18] = y("div", { class: "fm-typo-en-title-sm-800" }, "Whatsapp Channel", -1)),
|
|
1841
|
+
u[19] || (u[19] = y("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Whatsapp phone number that will be used to send whatsapp broadcast ", -1)),
|
|
1842
1842
|
_(V, {
|
|
1843
1843
|
label: "Manage Whatsapp Channel",
|
|
1844
1844
|
icon: "open_in_new",
|
|
1845
|
-
onClick:
|
|
1845
|
+
onClick: u[9] || (u[9] = (E) => Y())
|
|
1846
1846
|
})
|
|
1847
1847
|
]),
|
|
1848
1848
|
y("div", Gn, [
|
|
1849
|
-
|
|
1849
|
+
u[20] || (u[20] = y("div", { class: "fm-typo-en-title-sm-800" }, [
|
|
1850
1850
|
te(" Free Credit as Discount "),
|
|
1851
1851
|
y("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-error" }, "*POS v6.56 or above")
|
|
1852
1852
|
], -1)),
|
|
1853
1853
|
_(Ce, {
|
|
1854
|
-
"model-value":
|
|
1855
|
-
"onUpdate:modelValue":
|
|
1854
|
+
"model-value": c(s).freeCreditAsDiscount ?? !1,
|
|
1855
|
+
"onUpdate:modelValue": u[10] || (u[10] = (E) => c(s).freeCreditAsDiscount = E),
|
|
1856
1856
|
label: "Free Credit as Discount",
|
|
1857
1857
|
sublabel: "When enabled, this will allow free credit to be used as discount in the bill (POS >=v6.56)",
|
|
1858
1858
|
"label-placement": "right",
|
|
@@ -1861,25 +1861,25 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1861
1861
|
]),
|
|
1862
1862
|
y("div", Qn, [
|
|
1863
1863
|
y("div", Wn, [
|
|
1864
|
-
|
|
1864
|
+
u[21] || (u[21] = te(" Member Card ", -1)),
|
|
1865
1865
|
_(ee, { variant: "premium" })
|
|
1866
1866
|
]),
|
|
1867
1867
|
_(Ce, {
|
|
1868
|
-
"model-value":
|
|
1869
|
-
"onUpdate:modelValue":
|
|
1868
|
+
"model-value": c(s).cardEnable ?? !1,
|
|
1869
|
+
"onUpdate:modelValue": u[11] || (u[11] = (E) => c(s).cardEnable = E),
|
|
1870
1870
|
label: "",
|
|
1871
1871
|
sublabel: "Allow member to bind card via member app",
|
|
1872
1872
|
"label-placement": "right",
|
|
1873
1873
|
value: "",
|
|
1874
|
-
disabled: !
|
|
1874
|
+
disabled: !c(r).isPremium
|
|
1875
1875
|
}, null, 8, ["model-value", "disabled"])
|
|
1876
1876
|
]),
|
|
1877
1877
|
y("div", Xn, [
|
|
1878
|
-
|
|
1878
|
+
u[22] || (u[22] = y("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1)),
|
|
1879
1879
|
_(Tt, {
|
|
1880
1880
|
label: "Select restaurant",
|
|
1881
|
-
"model-value":
|
|
1882
|
-
"onUpdate:modelValue":
|
|
1881
|
+
"model-value": c(s).targetLocation ?? null,
|
|
1882
|
+
"onUpdate:modelValue": u[12] || (u[12] = (E) => c(s).targetLocation = E)
|
|
1883
1883
|
}, null, 8, ["model-value"])
|
|
1884
1884
|
]),
|
|
1885
1885
|
y("div", Zn, [
|
|
@@ -1887,8 +1887,8 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1887
1887
|
label: "Update",
|
|
1888
1888
|
type: "button",
|
|
1889
1889
|
onClick: N,
|
|
1890
|
-
disabled: !!
|
|
1891
|
-
loading: !!
|
|
1890
|
+
disabled: !!c(e).loadingQueue.length,
|
|
1891
|
+
loading: !!c(e).loadingQueue.length
|
|
1892
1892
|
}, null, 8, ["disabled", "loading"])
|
|
1893
1893
|
])
|
|
1894
1894
|
])
|
|
@@ -1901,24 +1901,24 @@ const Ln = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
|
|
|
1901
1901
|
default: oe(() => {
|
|
1902
1902
|
var E, T, R;
|
|
1903
1903
|
return [
|
|
1904
|
-
|
|
1904
|
+
u[27] || (u[27] = y("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1)),
|
|
1905
1905
|
_(Et, { class: "my-4" }),
|
|
1906
1906
|
y("div", null, [
|
|
1907
|
-
|
|
1908
|
-
y("div", to, k(
|
|
1907
|
+
u[23] || (u[23] = y("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1)),
|
|
1908
|
+
y("div", to, k(c(s).name), 1)
|
|
1909
1909
|
]),
|
|
1910
1910
|
y("div", null, [
|
|
1911
|
-
|
|
1912
|
-
y("div", no, k((((E =
|
|
1911
|
+
u[24] || (u[24] = y("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1)),
|
|
1912
|
+
y("div", no, k((((E = c(s).advertisements) == null ? void 0 : E.length) ?? 0) || "No advertisments"), 1)
|
|
1913
1913
|
]),
|
|
1914
1914
|
y("div", null, [
|
|
1915
|
-
|
|
1916
|
-
y("div", oo, k(
|
|
1915
|
+
u[25] || (u[25] = y("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1)),
|
|
1916
|
+
y("div", oo, k(c(s).freeCreditAsDiscount ? "Enabled" : "Disabled"), 1)
|
|
1917
1917
|
]),
|
|
1918
1918
|
y("div", null, [
|
|
1919
|
-
|
|
1920
|
-
y("div", ro, k(!
|
|
1921
|
-
(J) =>
|
|
1919
|
+
u[26] || (u[26] = y("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1)),
|
|
1920
|
+
y("div", ro, k(!c(s).targetLocation || c(s).targetLocation.length == c(Ie)().locations.length ? "All locations" : (R = (T = c(s)) == null ? void 0 : T.targetLocation) == null ? void 0 : R.map(
|
|
1921
|
+
(J) => c(r).locations.find((ue) => ue._id == J).name
|
|
1922
1922
|
).join(", ")), 1)
|
|
1923
1923
|
])
|
|
1924
1924
|
];
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as j, resolveComponent as h, openBlock as g, createBlock as I, withCtx as T, createElementVNode as _, createElementBlock as B, createVNode as i, createCommentVNode as M, toDisplayString as L, unref as e, Fragment as X, renderList as re, ref as U, isRef as oe, reactive as Ke, onMounted as fe, watch as we, toRaw as He, createTextVNode as de, h as qe } from "vue";
|
|
2
2
|
import { _ as Ye } from "./tier-BJDhpH6X.js";
|
|
3
3
|
import { useDialog as Me, useDialogChild as Oe, components as We } from "@feedmepos/ui-library";
|
|
4
|
-
import { c as D, e as he, S as ze } from "./index-
|
|
5
|
-
import { u as Ee } from "./loading-
|
|
6
|
-
import { u as ke, C as me } from "./membership-
|
|
4
|
+
import { c as D, e as he, S as ze } from "./index-CdnKwJuz.js";
|
|
5
|
+
import { u as Ee } from "./loading-D5ZAAdUU.js";
|
|
6
|
+
import { u as ke, C as me } from "./membership-xl9aKOQ_.js";
|
|
7
7
|
import { a as Je, c as De } from "./object-qECH92oz.js";
|
|
8
8
|
import { _ as ue } from "./lodash-B5I3zXaY.js";
|
|
9
|
-
import { c as se } from "./index-
|
|
10
|
-
import { u as be } from "./vue-i18n-
|
|
9
|
+
import { c as se } from "./index-Dn0gJspN.js";
|
|
10
|
+
import { u as be } from "./vue-i18n-OdHHHpEE.js";
|
|
11
11
|
import { Z, g as J, a as G } from "./zod-Bg2FbC-D.js";
|
|
12
|
-
import { z as Q, R as Ge } from "./app-
|
|
13
|
-
import { m as Xe, n as Ze, o as Qe, p as Ae, q as et } from "./index-
|
|
12
|
+
import { z as Q, R as Ge } from "./app-_rmIFJ8M.js";
|
|
13
|
+
import { m as Xe, n as Ze, o as Qe, p as Ae, q as et } from "./index-BTpBLMHl.js";
|
|
14
14
|
import { u as Se } from "./app-wDQR6dpb.js";
|
|
15
|
-
import { _ as te } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { a as tt, p as _e, n as nt, f as Fe } from "./plugins-
|
|
15
|
+
import { _ as te } from "./ZodTextField.vue_vue_type_script_setup_true_lang-BFz8RvY_.js";
|
|
16
|
+
import { a as tt, p as _e, n as nt, f as Fe } from "./plugins-CJlgzIv2.js";
|
|
17
17
|
import { J as Pe } from "./JsonViewer-v8_C7l5N.js";
|
|
18
|
-
import { _ as ot } from "./index-
|
|
18
|
+
import { _ as ot } from "./index-8RETBwYy.js";
|
|
19
19
|
import { _ as at } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
|
|
20
20
|
import { _ as lt } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
21
|
-
import { z as st, a as rt } from "./money-
|
|
22
|
-
import { F as it } from "./number-
|
|
23
|
-
import { t as dt } from "./helper-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./index-
|
|
28
|
-
import { m as ut } from "./index-
|
|
29
|
-
import { m as Ce } from "./index-
|
|
21
|
+
import { z as st, a as rt } from "./money-CIHN3jJZ.js";
|
|
22
|
+
import { F as it } from "./number-BN4-Jdog.js";
|
|
23
|
+
import { t as dt } from "./helper-CJTseW10.js";
|
|
24
|
+
import "./index-B57kxqv7.js";
|
|
25
|
+
import "./index-DTyfvK3U.js";
|
|
26
|
+
import "./index-IHKkNyxb.js";
|
|
27
|
+
import "./index-C6Iyn1Q6.js";
|
|
28
|
+
import { m as ut } from "./index-J3TDCX-5.js";
|
|
29
|
+
import { m as Ce } from "./index-BSJ-4JYy.js";
|
|
30
30
|
import { useRouter as ct } from "vue-router";
|
|
31
31
|
function je(v) {
|
|
32
32
|
return se.DineroFactory(v).toUnit();
|
|
@@ -1579,7 +1579,7 @@ const Jt = /* @__PURE__ */ ee({
|
|
|
1579
1579
|
};
|
|
1580
1580
|
}
|
|
1581
1581
|
});
|
|
1582
|
-
var pn = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "
|
|
1582
|
+
var pn = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedme.vip", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc" };
|
|
1583
1583
|
const yn = { class: "px-24 flex flex-col gap-y-16" }, fn = { class: "flex gap-8 items-center" }, bn = { class: "fm-typo-en-body-lg-600" }, gn = { class: "grid sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-24" }, vn = { class: "flex flex-col gap-16 text-center" }, hn = { class: "fm-typo-en-title-sm-800" }, xn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xn = /* @__PURE__ */ ee({
|
|
1584
1584
|
__name: "Store",
|
|
1585
1585
|
setup(v) {
|