@feedmepos/mf-connect 0.0.6 → 0.0.7
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-BJYHu6np.js → Analytic-D-E67IbN.js} +8 -8
- package/dist/{Broadcast-B8FNr597.js → Broadcast-NjpOa4PK.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BlZ4cdrl.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-7KnDJ-sV.js} +8 -8
- package/dist/{Card-DLHnQyMF.js → Card-BOEkf7wo.js} +16 -16
- package/dist/{Collections-d7N7aO1G.js → Collections-sLYCpBxu.js} +16 -16
- package/dist/{Credit-DWbl28df.js → Credit-DU2_9ex7.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DBRqd0z4.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBO6OHrM.js} +21 -21
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DTxJHWjb.js → EffectSheet.vue_vue_type_style_index_0_lang-CTvGOX7T.js} +5 -5
- package/dist/{Experience-Bzt7yrvt.js → Experience-DGNdVxuU.js} +8 -8
- package/dist/{Game-IRXuMUL3.js → Game-B1i79HLc.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-C8d0t8nQ.js → ImageInput.vue_vue_type_script_setup_true_lang-DzdMpEl_.js} +1 -1
- package/dist/{MainLayout-DDh1WuO8.js → MainLayout-CfgDdm6k.js} +1 -1
- package/dist/{Marketing-C2kkxDFL.js → Marketing-CBre7DEM.js} +5 -5
- package/dist/Member-BfvuL8GL.js +91 -0
- package/dist/MemberList-CQ17Q4V7.js +1664 -0
- package/dist/{MemberTransactions-DNIJDHOQ.js → MemberTransactions-Cviim4GX.js} +4 -4
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DYWmeADi.js → MessageInput.vue_vue_type_script_setup_true_lang-j31pc2Wx.js} +2 -2
- package/dist/{Point-Bgp7ogL-.js → Point-9ta-6dJv.js} +8 -8
- package/dist/{Promotion-Dk6STeBk.js → Promotion-CBmH5FNG.js} +9 -9
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BXzBoSgP.js → RuleGroup.vue_vue_type_script_setup_true_lang-r9Q-pOrs.js} +12 -12
- package/dist/{Segment-BEQJcNkY.js → Segment-ZUtFZM5W.js} +10 -10
- package/dist/{Setting-CZi479L2.js → Setting-TQdqaKPQ.js} +9 -9
- package/dist/Store-DX1ALcTQ.js +1424 -0
- package/dist/StoreRewards-Bd1ZFUQM.js +434 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bdo4vZkG.js → StoreTransactions.vue_vue_type_script_setup_true_lang-D0L-LkOm.js} +5 -5
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DQQ-EPvQ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C0xL6Ua_.js} +1 -1
- package/dist/{Tier-DS1BnVuA.js → Tier-DAUABM7F.js} +17 -17
- package/dist/{Title-Dc3COZA9.js → Title-YJtGygMA.js} +15 -15
- package/dist/{Transaction-BCa3ObND.js → Transaction-DmvmaPk6.js} +1 -1
- package/dist/Voucher-D88gJYa3.js +449 -0
- package/dist/{app-DldkpdyI.js → app-g6ra_l_x.js} +1455 -1455
- package/dist/app.js +1 -1
- package/dist/{campaign-COrVPhtR.js → campaign-DdY0vnwY.js} +2 -2
- package/dist/{dto-lHIRZTaN.js → dto-BQHDb7XC.js} +8 -8
- package/dist/{effect-B4_HDofh.js → effect-CghM-w8z.js} +1 -1
- package/dist/{helper-CwQEM81T.js → helper-xWsMhdHl.js} +1 -1
- package/dist/{index-D8ae8TSh.js → index-B4ootZIL.js} +2 -2
- package/dist/{index-DApTNNm8.js → index-BSF_A6Bx.js} +2 -2
- package/dist/{index-CDXgQC_P.js → index-Bp8rb1uM.js} +5 -5
- package/dist/{index-DCIJl8iK.js → index-C5UTq5_2.js} +2 -2
- package/dist/{index-BDLy_dUj.js → index-CPU_mtDw.js} +3 -3
- package/dist/{index-DujHgfez.js → index-CVSXd2FW.js} +5 -5
- package/dist/{index-D3Oa_lL4.js → index-Cl-b6jYW.js} +1 -1
- package/dist/{index-ClQze5GX.js → index-D71HFulf.js} +1 -1
- package/dist/{index-Cd-A6imB.js → index-Dz8i7yJ_.js} +1 -1
- package/dist/{index-BGEOMkg0.js → index-gLwPyXKM.js} +1 -1
- package/dist/{loading-CEcLG67g.js → loading-DClM7b3o.js} +2 -2
- package/dist/{lodash-CQck_rTn.js → lodash-wTDGx83S.js} +1 -1
- package/dist/{membership-Bat0mrVs.js → membership-BEDm55VI.js} +3 -3
- package/dist/{money-JE8h3c0z.js → money-CPy2C0LJ.js} +1 -1
- package/dist/{number-D5WgTK0X.js → number-ROACK3bi.js} +1 -1
- package/dist/{plugins-B53iVLET.js → plugins-CJou3ejy.js} +4 -4
- package/dist/{rule-lH1B2od5.js → rule-Cp7qN96m.js} +2 -2
- package/dist/{rule-builder-D6chADAd.js → rule-builder-OR4oX_mq.js} +1 -1
- package/dist/{template-D4IPNePW.js → template-Dk2sky27.js} +5 -5
- package/dist/{usePagination-MD91K8Ao.js → usePagination-DRHXkOF-.js} +1 -1
- package/dist/{xlsx-zo_mxA6a.js → xlsx-C5St1Lch.js} +1 -1
- package/package.json +1 -1
- package/dist/Member-CNfC-lCV.js +0 -90
- package/dist/MemberList-B_lQ2EIK.js +0 -1663
- package/dist/Store-BeH0Gm7T.js +0 -1423
- package/dist/StoreRewards-BgYxgC_0.js +0 -433
- package/dist/Voucher-BG51P9yR.js +0 -448
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent as f, computed as T, ref as p, watch as k, resolveComponent as i, openBlock as d, createElementBlock as B, Fragment as E, createVNode as _, unref as t, createElementVNode as M, createBlock as A, createCommentVNode as L } from "vue";
|
|
2
|
+
import { R as u, b as r } from "./app-g6ra_l_x.js";
|
|
3
|
+
import { useRouter as N } from "vue-router";
|
|
4
|
+
import { m as Y } from "./index-gLwPyXKM.js";
|
|
5
|
+
const w = { class: "px-24 flex flex-col gap-y-16 pb-24" }, V = /* @__PURE__ */ f({
|
|
6
|
+
__name: "Member",
|
|
7
|
+
setup(C) {
|
|
8
|
+
const s = N(), n = [
|
|
9
|
+
// {
|
|
10
|
+
// label: 'Overview',
|
|
11
|
+
// value: ROUTE_NAME['$connect-LOYALTY_MEMBER_OVERVIEW'],
|
|
12
|
+
// actions: [
|
|
13
|
+
// // {
|
|
14
|
+
// // label: 'Add member',
|
|
15
|
+
// // value: 'add_member',
|
|
16
|
+
// // isPrimary: true,
|
|
17
|
+
// // prependIcon: 'add',
|
|
18
|
+
// // },
|
|
19
|
+
// ],
|
|
20
|
+
// },
|
|
21
|
+
{
|
|
22
|
+
label: "Member list",
|
|
23
|
+
value: u["$connect-LOYALTY_MEMBER_LIST"],
|
|
24
|
+
actions: [
|
|
25
|
+
// {
|
|
26
|
+
// label: 'Import member',
|
|
27
|
+
// value: 'import_member',
|
|
28
|
+
// isPrimary: false,
|
|
29
|
+
// },
|
|
30
|
+
// {
|
|
31
|
+
// label: 'Add member',
|
|
32
|
+
// value: 'add_member',
|
|
33
|
+
// isPrimary: true,
|
|
34
|
+
// prependIcon: 'add',
|
|
35
|
+
// },
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
], a = T(() => {
|
|
39
|
+
var o;
|
|
40
|
+
return r.currentRoute.value.name != u["$connect-LOYALTY_MEMBER_TRANSACTIONS"] ? {
|
|
41
|
+
title: c.value.label,
|
|
42
|
+
actions: c.value.actions,
|
|
43
|
+
description: void 0
|
|
44
|
+
} : (c.value = n[1], {
|
|
45
|
+
backButton: !0,
|
|
46
|
+
title: "Member's transactions",
|
|
47
|
+
actions: [],
|
|
48
|
+
description: (o = m.value) == null ? void 0 : o.name,
|
|
49
|
+
onBackButton: async () => {
|
|
50
|
+
await s.push({ name: u["$connect-LOYALTY_MEMBER_LIST"] });
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}), c = p(
|
|
54
|
+
n.find((e) => e.value === r.currentRoute.value.name) ?? n[0]
|
|
55
|
+
), m = p();
|
|
56
|
+
async function b(e) {
|
|
57
|
+
await s.push({ name: e });
|
|
58
|
+
}
|
|
59
|
+
return k(
|
|
60
|
+
() => r.currentRoute.value.name,
|
|
61
|
+
async (e) => {
|
|
62
|
+
c.value = n.find((l) => l.value === e) ?? n[0];
|
|
63
|
+
const o = r.currentRoute.value.params.id;
|
|
64
|
+
o && (m.value = await Y.readById(o)), await s.push({ name: e });
|
|
65
|
+
}
|
|
66
|
+
), (e, o) => {
|
|
67
|
+
const l = i("FmPageHead"), v = i("FmTabs"), R = i("RouterView");
|
|
68
|
+
return d(), B(E, null, [
|
|
69
|
+
_(l, {
|
|
70
|
+
actions: t(a).actions,
|
|
71
|
+
title: t(a).title,
|
|
72
|
+
description: t(a).description,
|
|
73
|
+
"back-button": t(a).backButton,
|
|
74
|
+
"onClick:back": t(a).onBackButton
|
|
75
|
+
}, null, 8, ["actions", "title", "description", "back-button", "onClick:back"]),
|
|
76
|
+
M("div", w, [
|
|
77
|
+
t(r).currentRoute.value.name != t(u)["$connect-LOYALTY_MEMBER_TRANSACTIONS"] ? (d(), A(v, {
|
|
78
|
+
key: 0,
|
|
79
|
+
"model-value": t(c).value,
|
|
80
|
+
items: n,
|
|
81
|
+
"onUpdate:modelValue": b
|
|
82
|
+
}, null, 8, ["model-value"])) : L("", !0),
|
|
83
|
+
_(R)
|
|
84
|
+
])
|
|
85
|
+
], 64);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
export {
|
|
90
|
+
V as default
|
|
91
|
+
};
|