@feedmepos/mf-connect 0.0.6 → 0.0.8
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-BxRuK2P2.js} +8 -8
- package/dist/{Broadcast-B8FNr597.js → Broadcast-BqGojAWW.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BlZ4cdrl.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B-VzcVMS.js} +8 -8
- package/dist/{Card-DLHnQyMF.js → Card-Dlj5jQp4.js} +54 -54
- package/dist/{Collections-d7N7aO1G.js → Collections-DvdDRozp.js} +180 -185
- package/dist/{Credit-DWbl28df.js → Credit-BeHm7_2S.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DBRqd0z4.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsbgHsah.js} +170 -160
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DTxJHWjb.js → EffectSheet.vue_vue_type_style_index_0_lang-hwXvdiut.js} +2999 -2978
- package/dist/{Experience-Bzt7yrvt.js → Experience-CtDY9u4Y.js} +8 -8
- package/dist/{Game-IRXuMUL3.js → Game-DjaYuqcb.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-C8d0t8nQ.js → ImageInput.vue_vue_type_script_setup_true_lang-Bq5-Gl9N.js} +1 -1
- package/dist/{MainLayout-DDh1WuO8.js → MainLayout-B-iAZM2k.js} +1 -1
- package/dist/{Marketing-C2kkxDFL.js → Marketing-BJJltAh-.js} +6 -6
- package/dist/Member-eJ9Pdi5w.js +91 -0
- package/dist/MemberList-CrhMqUfJ.js +1664 -0
- package/dist/{MemberTransactions-DNIJDHOQ.js → MemberTransactions-DRET8mSQ.js} +4 -4
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DYWmeADi.js → MessageInput.vue_vue_type_script_setup_true_lang-D-ttMwn2.js} +2 -2
- package/dist/{Point-Bgp7ogL-.js → Point-DPTOgJbC.js} +8 -8
- package/dist/{Promotion-Dk6STeBk.js → Promotion-wzkRuNqO.js} +9 -9
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BXzBoSgP.js → RuleGroup.vue_vue_type_script_setup_true_lang-Z06eB5i5.js} +12 -12
- package/dist/{Segment-BEQJcNkY.js → Segment-DnsPrP7Q.js} +10 -10
- package/dist/{Setting-CZi479L2.js → Setting-CXuZu0-m.js} +9 -9
- package/dist/Store-4Um9keEp.js +1424 -0
- package/dist/StoreRewards-B-UFeyQM.js +434 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bdo4vZkG.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BAyotuXd.js} +5 -5
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DQQ-EPvQ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-I_XFpctY.js} +1 -1
- package/dist/Tier-C6KVsxGO.js +818 -0
- package/dist/{Title-Dc3COZA9.js → Title-DuN1ahIM.js} +236 -236
- package/dist/{Transaction-BCa3ObND.js → Transaction-DdfX7Xfe.js} +1 -1
- package/dist/Voucher-DarXrxZr.js +454 -0
- package/dist/{app-DldkpdyI.js → app-CxBTTB31.js} +2372 -2357
- package/dist/app.js +1 -1
- package/dist/{campaign-COrVPhtR.js → campaign-B0aXkadj.js} +7 -7
- package/dist/dto-BtdVC-Ab.js +1093 -0
- package/dist/{effect-B4_HDofh.js → effect-BUN6rkQM.js} +1 -1
- package/dist/{helper-CwQEM81T.js → helper-Cpq3x8K5.js} +1 -1
- package/dist/{index-DujHgfez.js → index-0GYrZr4L.js} +138 -132
- package/dist/{index-Cd-A6imB.js → index-8clzk3uX.js} +1 -1
- package/dist/{index-ClQze5GX.js → index-BTntbYTS.js} +1 -1
- package/dist/{index-D8ae8TSh.js → index-BvnZdJBY.js} +2 -2
- package/dist/{index-D3Oa_lL4.js → index-C6NgUSl2.js} +1 -1
- package/dist/{index-CDXgQC_P.js → index-CK9yJMj7.js} +34 -34
- package/dist/{index-DApTNNm8.js → index-D2Juhkdw.js} +2 -2
- package/dist/{index-DCIJl8iK.js → index-DDSLx7vu.js} +2 -2
- package/dist/{index-BGEOMkg0.js → index-Dg-PMgXV.js} +1 -1
- package/dist/index-DysVCkrx.js +1735 -0
- package/dist/libs/packages/core/src/campaign/campaign.enum.d.ts +6 -0
- package/dist/libs/packages/core/src/campaign/campaign.fn.d.ts +2 -0
- package/dist/libs/packages/core/src/template/templates.d.ts +7 -0
- package/dist/{loading-CEcLG67g.js → loading-Cxp7sI5p.js} +2 -2
- package/dist/{lodash-CQck_rTn.js → lodash-DsT1nK-T.js} +1 -1
- package/dist/{membership-Bat0mrVs.js → membership-DtD45RXh.js} +4 -4
- package/dist/{money-JE8h3c0z.js → money-CFI1TMCS.js} +1 -1
- package/dist/{number-D5WgTK0X.js → number-BBtf4fYz.js} +1 -1
- package/dist/packages/connect/src/api/index.d.ts +3 -0
- package/dist/packages/connect/src/api/settings/index.d.ts +1 -1
- package/dist/packages/connect/src/main.d.ts +1 -1
- package/dist/{plugins-B53iVLET.js → plugins-B_d-WFtN.js} +4 -4
- package/dist/{rule-lH1B2od5.js → rule-CB9Qlcx1.js} +2 -2
- package/dist/{rule-builder-D6chADAd.js → rule-builder-BIKcA4Bg.js} +1 -1
- package/dist/{template-D4IPNePW.js → template-qlb46PGl.js} +5 -5
- package/dist/{usePagination-MD91K8Ao.js → usePagination-CX66ab1Y.js} +1 -1
- package/dist/{xlsx-zo_mxA6a.js → xlsx-DMaFso0k.js} +1 -1
- package/package.json +2 -2
- 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/Tier-DS1BnVuA.js +0 -818
- package/dist/Voucher-BG51P9yR.js +0 -448
- package/dist/dto-lHIRZTaN.js +0 -353
- package/dist/index-BDLy_dUj.js +0 -1742
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as O, ref as k, computed as U, onMounted as A, resolveComponent as i, openBlock as c, createElementBlock as g, Fragment as _, createVNode as r, unref as a, createElementVNode as n, withCtx as h, renderList as D, createBlock as x, resolveDynamicComponent as j, toDisplayString as f, h as M } from "vue";
|
|
2
2
|
import { _ as H } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as q, components as z } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as G } from "./plugins-
|
|
5
|
-
import { u as J } from "./loading-
|
|
6
|
-
import { a as Q } from "./app-
|
|
7
|
-
import { u as W } from "./campaign-
|
|
8
|
-
import { g as S, b as V } from "./dto-
|
|
4
|
+
import { p as G } from "./plugins-B_d-WFtN.js";
|
|
5
|
+
import { u as J } from "./loading-Cxp7sI5p.js";
|
|
6
|
+
import { a as Q } from "./app-CxBTTB31.js";
|
|
7
|
+
import { u as W } from "./campaign-B0aXkadj.js";
|
|
8
|
+
import { g as S, b as V } from "./dto-BtdVC-Ab.js";
|
|
9
9
|
import { _ as X } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as Z } from "./template-
|
|
12
|
-
import { c as y } from "./index-
|
|
10
|
+
import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsbgHsah.js";
|
|
11
|
+
import { u as Z } from "./template-qlb46PGl.js";
|
|
12
|
+
import { c as y } from "./index-BTntbYTS.js";
|
|
13
13
|
const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, oe = { class: "flex gap-8 overflow-x-auto" }, ae = { class: "space-y-8" }, ne = { class: "flex w-full gap-4 items-center" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, re = { class: "space-y-4" }, ie = { class: "fm-typo-en-body-lg-600" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = /* @__PURE__ */ n("img", {
|
|
14
14
|
src: H,
|
|
15
15
|
class: "aspect-square w-[150px]"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as U, ref as V, computed as j, onMounted as D, resolveComponent as i, openBlock as c, createElementBlock as _, Fragment as h, createVNode as r, unref as a, createElementVNode as n, withCtx as w, renderList as H, createBlock as x, resolveDynamicComponent as N, toDisplayString as g, h as m } from "vue";
|
|
2
2
|
import { _ as q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as z, components as b } from "@feedmepos/ui-library";
|
|
4
|
-
import { c as J, p as O } from "./plugins-
|
|
5
|
-
import { u as Q } from "./loading-
|
|
6
|
-
import { a as W } from "./app-
|
|
7
|
-
import { u as X } from "./campaign-
|
|
8
|
-
import { g as L, b as A } from "./dto-
|
|
4
|
+
import { c as J, p as O } from "./plugins-B_d-WFtN.js";
|
|
5
|
+
import { u as Q } from "./loading-Cxp7sI5p.js";
|
|
6
|
+
import { a as W } from "./app-CxBTTB31.js";
|
|
7
|
+
import { u as X } from "./campaign-B0aXkadj.js";
|
|
8
|
+
import { g as L, b as A } from "./dto-BtdVC-Ab.js";
|
|
9
9
|
import { _ as Y } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as ee } from "./template-
|
|
12
|
-
import { c as y } from "./index-
|
|
10
|
+
import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsbgHsah.js";
|
|
11
|
+
import { u as ee } from "./template-qlb46PGl.js";
|
|
12
|
+
import { c as y } from "./index-BTntbYTS.js";
|
|
13
13
|
const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, ae = { class: "flex gap-8 overflow-x-auto" }, ne = { class: "space-y-8" }, se = { class: "flex w-full gap-4 items-center" }, re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ie = { class: "space-y-4" }, le = { class: "fm-typo-en-body-lg-600" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = /* @__PURE__ */ n("img", {
|
|
14
14
|
src: q,
|
|
15
15
|
class: "aspect-square w-[150px]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as o, createElementVNode as n, defineComponent as $, ref as v, onMounted as j, resolveComponent as m, renderSlot as h, toDisplayString as i, createCommentVNode as b, normalizeStyle as C, unref as s, Fragment as x, createVNode as w, withCtx as f, createTextVNode as g, normalizeClass as R, createBlock as F } from "vue";
|
|
2
|
-
import { _ as V } from "./app-
|
|
2
|
+
import { _ as V } from "./app-CxBTTB31.js";
|
|
3
3
|
const z = {}, H = { class: "animate-pulse flex space-x-4 bg-gray-300 dark:bg-gray-700 items-center justify-center rounded w-full h-full" }, N = /* @__PURE__ */ n("svg", {
|
|
4
4
|
class: "dark:text-gray-600 h-10 text-gray-200 w-10",
|
|
5
5
|
"aria-hidden": "true",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, resolveComponent, unref, createBlock, createVNode, normalizeClass, createCommentVNode, withDirectives, createElementVNode, vShow } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useAppStore } from "./app-
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useAppStore } from "./app-CxBTTB31.js";
|
|
3
3
|
import { useRoute } from "vue-router";
|
|
4
4
|
const v = "4.8.0", meta = {
|
|
5
5
|
g: "LottieFiles AE ",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { openBlock as c, createElementBlock as u, defineComponent as D, ref as b, onMounted as z, computed as $, resolveComponent as l, Fragment as C, createVNode as r, unref as m, createElementVNode as o, withCtx as x, renderList as Y, createBlock as A, toDisplayString as B, createCommentVNode as H, h as G } from "vue";
|
|
2
2
|
import { _ as J } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { components as j } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as q } from "./plugins-
|
|
5
|
-
import { u as X } from "./loading-
|
|
4
|
+
import { p as q } from "./plugins-B_d-WFtN.js";
|
|
5
|
+
import { u as X } from "./loading-Cxp7sI5p.js";
|
|
6
6
|
import { defineStore as Q } from "pinia";
|
|
7
|
-
import { F } from "./index-
|
|
7
|
+
import { F } from "./index-8clzk3uX.js";
|
|
8
8
|
import { useCoreStore as W } from "@feedmepos/mf-common";
|
|
9
|
-
import { e as y, S as Z, h as ee, _ as te } from "./app-
|
|
10
|
-
import { u as ae } from "./campaign-
|
|
9
|
+
import { e as y, S as Z, h as ee, _ as te } from "./app-CxBTTB31.js";
|
|
10
|
+
import { u as ae } from "./campaign-B0aXkadj.js";
|
|
11
11
|
import { h as ne } from "./moment-BWErdI6_.js";
|
|
12
12
|
var oe = { 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", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
|
|
13
13
|
const h = () => {
|
|
@@ -33,7 +33,7 @@ const h = () => {
|
|
|
33
33
|
async deleteMarketing(n) {
|
|
34
34
|
return y(await h().delete(n));
|
|
35
35
|
}
|
|
36
|
-
}, S = Q("marketing", {
|
|
36
|
+
}, S = Q("mf-connect-marketing", {
|
|
37
37
|
state: () => {
|
|
38
38
|
var n, s;
|
|
39
39
|
return {
|
|
@@ -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-CxBTTB31.js";
|
|
3
|
+
import { useRouter as N } from "vue-router";
|
|
4
|
+
import { m as Y } from "./index-Dg-PMgXV.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
|
+
};
|