@feedmepos/mf-connect 0.0.21-prod → 0.0.24-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-C6F4G25g.js → Analytic-CHsctJL0.js} +21 -19
- package/dist/App-BSiHlz5h.js +4610 -0
- package/dist/{Broadcast-DO2VP__g.js → Broadcast-CL9Sa0bc.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0aQTASM.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C2krWgqp.js} +8 -8
- package/dist/{Card-DZyOKMh6.js → Card-CqTzwiBp.js} +74 -72
- package/dist/{Collections-DLyCIlvd.js → Collections-9OXjYxFu.js} +16 -14
- package/dist/{Credit-DRdsjXky.js → Credit-BDm7vWU6.js} +7 -7
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-733A3xAJ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7qqPxFM.js} +23 -20
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CvtX7ULa.js → EffectSheet.vue_vue_type_style_index_0_lang-DItx2Ubv.js} +5 -5
- package/dist/{Experience-D33O1vby.js → Experience-DTWow5NR.js} +7 -7
- package/dist/{Game-BrYvnjMK.js → Game-BkYVDXqA.js} +7 -7
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Dby96cpu.js → ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js} +1 -1
- package/dist/JsonViewer-v8_C7l5N.js +87 -0
- package/dist/{MainLayout-Cex8qsGf.js → MainLayout-DpZC6o3R.js} +2 -1
- package/dist/{Marketing-6ATQUGoF.js → Marketing-sDN1f-Rb.js} +13 -12
- package/dist/{Member-CCIVIzDM.js → Member-CIzs5lmW.js} +31 -30
- package/dist/MemberList-CdTv3lWA.js +1734 -0
- package/dist/{MemberTransactions-CLE7hYWY.js → MemberTransactions-CBoHXPr7.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DcKMh_2f.js → MessageInput.vue_vue_type_script_setup_true_lang-CSwRL1kp.js} +2 -2
- package/dist/{Mission-BHI8zTMK.js → Mission-DdHOGOjC.js} +14 -14
- package/dist/{Point-CHxmW_O8.js → Point-Bc4su8pQ.js} +7 -7
- package/dist/{Promotion-C8CqdNGj.js → Promotion-Dhl69yfs.js} +96 -70
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C9C8o4ON.js → RuleGroup.vue_vue_type_script_setup_true_lang-CPHiByal.js} +16 -15
- package/dist/{Segment-CvNLrjIH.js → Segment-D95w0dZl.js} +19 -18
- package/dist/{Setting-oXiZZAub.js → Setting-C3ia_BMY.js} +11 -10
- package/dist/{Store-WLcxJNzp.js → Store-ziVgZZSh.js} +51 -47
- package/dist/{StoreRewards-CMrnEHsB.js → StoreRewards-CJBlOtGb.js} +108 -105
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-bgEBVCXH.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DNIqB0jd.js} +106 -108
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-B6gZzsja.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C-5z47S1.js} +6 -6
- package/dist/{Tier-BwXb3Pk1.js → Tier-BKBlLV7D.js} +25 -24
- package/dist/{Title-BOyT9mEy.js → Title-COWE-LXc.js} +15 -15
- package/dist/{Transaction-wwnoXk9w.js → Transaction-BKU5hTvU.js} +1 -1
- package/dist/{Voucher-BbpSPfL0.js → Voucher-DGLn6y-b.js} +55 -51
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/app-BQpZdCao.js +2974 -0
- package/dist/{app-Bw4vX2Xq.js → app-CKg8FD6W.js} +1 -1
- package/dist/app-wDQR6dpb.js +39 -0
- package/dist/app.js +2 -2
- package/dist/business-DGCDUsna.js +78 -0
- package/dist/{campaign-BAxYqkWK.js → campaign-DFzcetIZ.js} +7 -7
- package/dist/{dto-CwGNrCVP.js → dto-BOsVyHhB.js} +50 -50
- package/dist/{effect-OIGvEMnu.js → effect-DAgCe9mB.js} +1 -1
- package/dist/{export-pnyF_Nqa.js → export-BArwqiqn.js} +3 -3
- package/dist/{helper-1r9zsTyt.js → helper-CjcpPq85.js} +1 -1
- package/dist/index-BLUNODxz.js +11 -0
- package/dist/{index-s63kYMDU.js → index-BtSUMNhN.js} +1 -1
- package/dist/{index-DdgrIdtX.js → index-CBYeGg9d.js} +177 -168
- package/dist/{app-CzpQo8NQ.js → index-CksikPRJ.js} +9660 -13019
- package/dist/{index-AeZIrHi3.js → index-Cr7N263J.js} +6 -7
- package/dist/{index-CFW6MW-j.js → index-D61l3xYo.js} +46 -39
- package/dist/{index-BULhetR6.js → index-D9aWLz3L.js} +1 -1
- package/dist/{index-6xeKaiuc.js → index-DQNrbgQh.js} +3 -3
- package/dist/{index-COXwd1ca.js → index-DUmYKFqp.js} +28 -27
- package/dist/{index-C9XT87dh.js → index-DarpjYwN.js} +6 -5
- package/dist/{index-C33oGCbQ.js → index-Dl6Tmuvm.js} +5 -5
- package/dist/{index-Shw3boHM.js → index-E9DFEkCN.js} +7 -2
- package/dist/index.esm2017-CK_DN0pS.js +3069 -0
- package/dist/{loading-D7uTV0-9.js → loading-CrTiMhEE.js} +11355 -14216
- package/dist/{lodash-O836mjN1.js → lodash-B5I3zXaY.js} +1 -1
- package/dist/{membership-BRlmOhUi.js → membership-BTYMMItR.js} +3 -3
- package/dist/{money-BdNZ4vMR.js → money-DPJgDQxk.js} +1 -1
- package/dist/number-DRvZfW5z.js +12 -0
- package/dist/{rule-2GUvtk01.js → rule-DBp5EC2a.js} +314 -343
- package/dist/{rule-builder-B3FwMkHG.js → rule-builder-B7-hVixK.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-COZoDCgl.js → template-D9IbwHGS.js} +5 -5
- package/dist/tslib.es6-BCqqvLQ_.js +44 -0
- package/dist/{usePagination-CwZ7gv3m.js → usePagination-JoYaROkV.js} +1 -1
- package/dist/{xlsx-B2_kvHAq.js → xlsx-BUPLRzvR.js} +1 -1
- package/package.json +15 -15
- package/dist/MemberList-Cs0LD8gi.js +0 -1718
- package/dist/number-CNiMHNNi.js +0 -12
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { defineComponent as J, openBlock as a, createElementBlock as R, Fragment as S, renderList as O, createElementVNode as e, toDisplayString as x, createCommentVNode as z, resolveComponent as P, createBlock as w, withCtx as H, createVNode as A, unref as i, ref as V, computed as b, onMounted as Y, watch as eo, isRef as Z, createSlots as io, createTextVNode as to, reactive as ao, onBeforeMount as ro, normalizeClass as G } from "vue";
|
|
2
2
|
import { _ as Ko } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { f as no } from "./number-
|
|
4
|
-
import { C as Ao, F as Uo, a as lo } from "./dto-
|
|
3
|
+
import { f as no } from "./number-DRvZfW5z.js";
|
|
4
|
+
import { C as Ao, F as Uo, a as lo } from "./dto-BOsVyHhB.js";
|
|
5
5
|
import { useRouter as $ } from "vue-router";
|
|
6
|
-
import { c as D } from "./index-
|
|
6
|
+
import { c as D } from "./index-E9DFEkCN.js";
|
|
7
7
|
import { _ as so, Z as Fo } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
|
|
8
|
-
import { J as po
|
|
9
|
-
import { u as
|
|
10
|
-
import { useSnackbar as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
8
|
+
import { J as po } from "./JsonViewer-v8_C7l5N.js";
|
|
9
|
+
import { u as co } from "./loading-CrTiMhEE.js";
|
|
10
|
+
import { useSnackbar as Ro } from "@feedmepos/ui-library";
|
|
11
|
+
import { u as uo } from "./app-wDQR6dpb.js";
|
|
12
|
+
import { g as mo } from "./object-qECH92oz.js";
|
|
13
|
+
import { u as fo } from "./campaign-DFzcetIZ.js";
|
|
14
|
+
import { u as Vo } from "./membership-BTYMMItR.js";
|
|
15
|
+
import { c as qo } from "./index-CksikPRJ.js";
|
|
16
|
+
import { m as vo } from "./index-DQNrbgQh.js";
|
|
15
17
|
const Po = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-md-400 mb-2 text-fm-color-typo-secondary" }, yo = { class: "fm-typo-en-title-sm-800" }, So = /* @__PURE__ */ J({
|
|
16
18
|
__name: "CampaignStat",
|
|
17
19
|
props: {
|
|
@@ -263,13 +265,13 @@ const Po = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
263
265
|
__name: "AnalyticSheet",
|
|
264
266
|
emits: ["success"],
|
|
265
267
|
setup(u, { expose: W, emit: U }) {
|
|
266
|
-
const p = U, m =
|
|
267
|
-
|
|
268
|
+
const p = U, m = uo();
|
|
269
|
+
Ro();
|
|
268
270
|
const s = V(!1), t = V(!1), F = {
|
|
269
271
|
name: "",
|
|
270
272
|
campaigns: []
|
|
271
273
|
}, n = V(""), r = V({ ...F }), d = Uo.superRefine((l, o) => {
|
|
272
|
-
}), q = V([]), f = V(null), { global: X, minor: L } =
|
|
274
|
+
}), q = V([]), f = V(null), { global: X, minor: L } = co, N = b(() => {
|
|
273
275
|
const l = d.safeParse(r.value);
|
|
274
276
|
return l.success ? [] : l.error.errors;
|
|
275
277
|
});
|
|
@@ -300,7 +302,7 @@ const Po = { class: "divide-x flex flex-wrap" }, Xo = { class: "fm-typo-en-body-
|
|
|
300
302
|
label: j.name,
|
|
301
303
|
value: j._id
|
|
302
304
|
}));
|
|
303
|
-
return
|
|
305
|
+
return mo(
|
|
304
306
|
q.value,
|
|
305
307
|
(K) => lo.formattedType(K.type),
|
|
306
308
|
l
|
|
@@ -476,7 +478,7 @@ const ee = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ie = { class: "space
|
|
|
476
478
|
}, me = /* @__PURE__ */ e("div", { class: "h-[2px] flex-grow bg-fm-color-system-warning-100" }, null, -1), fe = /* @__PURE__ */ e("div", { class: "text-fm-color-primary fm-typo-en-body-md-600" }, " All caught up ", -1), Ve = /* @__PURE__ */ e("div", { class: "h-[2px] flex-grow bg-fm-color-system-warning-100" }, null, -1), qe = ["src"], ve = /* @__PURE__ */ e("img", {
|
|
477
479
|
src: Ko,
|
|
478
480
|
class: "w-[150px]"
|
|
479
|
-
}, null, -1), Pe = /* @__PURE__ */ e("div", { class: "fm-typo-en-title-sm-800 text-center" }, " Create campaign group to track performance ", -1), Xe = /* @__PURE__ */ e("div", { class: "fm-typo-body-en-md-400 text-center text-fm-color-typo-secondary" }, " Start organizing your campaigns and promotions by creating groups. Groups allow you to aggregate performance metrics across multiple vouchers, promotions, or other rewards. ", -1), ye = { class: "flex gap-16 items-center" },
|
|
481
|
+
}, null, -1), Pe = /* @__PURE__ */ e("div", { class: "fm-typo-en-title-sm-800 text-center" }, " Create campaign group to track performance ", -1), Xe = /* @__PURE__ */ e("div", { class: "fm-typo-body-en-md-400 text-center text-fm-color-typo-secondary" }, " Start organizing your campaigns and promotions by creating groups. Groups allow you to aggregate performance metrics across multiple vouchers, promotions, or other rewards. ", -1), ye = { class: "flex gap-16 items-center" }, Le = /* @__PURE__ */ J({
|
|
480
482
|
__name: "Analytic",
|
|
481
483
|
setup(u) {
|
|
482
484
|
const W = {
|
|
@@ -484,7 +486,7 @@ const ee = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ie = { class: "space
|
|
|
484
486
|
value: "create",
|
|
485
487
|
isPrimary: !0,
|
|
486
488
|
prependIcon: "add"
|
|
487
|
-
}, U =
|
|
489
|
+
}, U = fo(), p = V(), m = V([]), s = V(""), t = ao({
|
|
488
490
|
totalCampaign: 0,
|
|
489
491
|
totalProgram: 0,
|
|
490
492
|
totalMember: 0
|
|
@@ -541,7 +543,7 @@ const ee = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ie = { class: "space
|
|
|
541
543
|
const f = b(() => m.value.filter((h) => {
|
|
542
544
|
var c;
|
|
543
545
|
return h.name.includes(s.value) || ((c = h.pf_campaigns) == null ? void 0 : c.filter((k) => k.name.includes(s.value)).length);
|
|
544
|
-
})), X =
|
|
546
|
+
})), X = Vo(), L = $(), N = V(!0), g = b(() => {
|
|
545
547
|
var h, c, k, T;
|
|
546
548
|
return !X.storeOption || !X.storeOption.company ? -1 : !X.payoutAccount || !X.payoutAccount.enable || X.payoutAccount.status != "APPROVED" ? 0 : (c = (h = X.store) == null ? void 0 : h.categories) != null && c.length ? (T = (k = X.store) == null ? void 0 : k.categories) != null && T.some(
|
|
547
549
|
(y) => y.bundles.some((C) => C.isFeedvibe)
|
|
@@ -637,7 +639,7 @@ const ee = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ie = { class: "space
|
|
|
637
639
|
_: 1
|
|
638
640
|
})
|
|
639
641
|
]),
|
|
640
|
-
i(
|
|
642
|
+
i(qo.Config).getCountry().code == "MY" ? (a(), w(y, {
|
|
641
643
|
key: 0,
|
|
642
644
|
variant: "outlined",
|
|
643
645
|
class: "flex"
|
|
@@ -755,5 +757,5 @@ const ee = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ie = { class: "space
|
|
|
755
757
|
}
|
|
756
758
|
});
|
|
757
759
|
export {
|
|
758
|
-
|
|
760
|
+
Le as default
|
|
759
761
|
};
|