@feedmepos/mf-connect 0.1.10-prod → 0.1.11-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-CpSbitWV.js → Analytic-Bbt1kP2U.js} +9 -9
- package/dist/{App-BPT8XzjX.js → App-CVA65EVC.js} +6 -6
- package/dist/{Broadcast-CJHpiQeN.js → Broadcast-BJXK8OE5.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DUPqWdIm.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DDEx0cK9.js} +7 -7
- package/dist/{Card-Bvn36zqZ.js → Card-DFiUkfYj.js} +15 -15
- package/dist/{Collections-Bq6OxsJC.js → Collections-qVnvveUf.js} +5 -5
- package/dist/{Credit-Dno_g7dW.js → Credit-BWHTbAG-.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-cGbwORhw.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-4_cHlWUJ.js} +27 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Ho7zwlbb.js → EffectSheet.vue_vue_type_style_index_0_lang-DLgZd4HU.js} +6 -6
- package/dist/{Experience-BC1qSIGO.js → Experience-BmGSus53.js} +8 -8
- package/dist/{Game-C_CKGMBW.js → Game-49w7XN5k.js} +8 -8
- package/dist/{Index-BXFaWTfw.js → Index-D-7hsAaE.js} +80 -77
- package/dist/{Marketing-Ni0WAie5.js → Marketing-DtbJxS_j.js} +5 -5
- package/dist/{Member-djnisrK1.js → Member-jZks4pw_.js} +4 -4
- package/dist/{MemberList-CclU-3B7.js → MemberList-BqO54kPC.js} +14 -14
- package/dist/{MemberTransactions-DVVsv3Ux.js → MemberTransactions-CLK7VmPw.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-khyDg1m4.js → MessageInput.vue_vue_type_script_setup_true_lang-ef2Qrdvd.js} +2 -2
- package/dist/{Mission-Z5somdo_.js → Mission-LGC1CGrB.js} +8 -8
- package/dist/{Overview-BvMVz3lQ.js → Overview-Dm_ycoqZ.js} +400 -396
- package/dist/{Point-DdPukiTg.js → Point-BBNJ9cc5.js} +8 -8
- package/dist/{Promotion-DCqdIwjG.js → Promotion-DFh9IEmP.js} +9 -9
- package/dist/Record-oBmJTn3G.js +338 -0
- package/dist/{Reward-CiJHGXfQ.js → Reward-DR_HzrrM.js} +14 -14
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CrGCBRmH.js → RewardGroup.vue_vue_type_script_setup_true_lang-Du_0o2b9.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-tnT6i0Jq.js → RuleGroup.vue_vue_type_script_setup_true_lang-CxXugphA.js} +13 -13
- package/dist/{Segment-CQb3j-o0.js → Segment-DjyHLWZC.js} +13 -13
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-B7YqIU5D.js → SelectItems.vue_vue_type_script_setup_true_lang-stTwgie4.js} +2 -2
- package/dist/{Setting-91cK3ssU.js → Setting-a7Tw-3ht.js} +8 -8
- package/dist/{Store-B-uldUKt.js → Store-HWGWswEm.js} +18 -18
- package/dist/{StoreRewards-dDNeFlA9.js → StoreRewards-s4cX1bFH.js} +12 -12
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BVb1X0aq.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Dq4qIXZu.js} +18 -18
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Ds0WxGxr.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BQpbScyf.js} +1 -1
- package/dist/{Tier-_jMaLj3u.js → Tier-C7kiLjzE.js} +19 -19
- package/dist/{Title-By7o67aT.js → Title-BPv1ZiHg.js} +19 -19
- package/dist/{Transaction-BLpEgeI2.js → Transaction-HdR7RiGY.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Bf_nO9zH.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-D3VgIQb-.js} +6 -6
- package/dist/{Voucher-CG5tfibn.js → Voucher-Y5Lh5xms.js} +11 -11
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DpQUoXyQ.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CFKID7mS.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-YwGR2En3.js → ZodTextField.vue_vue_type_script_setup_true_lang-6asSbt53.js} +1 -1
- package/dist/{app-DDmTqTb7.js → app-Bh2mviM1.js} +1 -1
- package/dist/{app-vCqTQIeC.js → app-MbHo43vs.js} +623 -490
- package/dist/app.js +1 -1
- package/dist/{business-Cz78KGF2.js → business-DMzeDNMd.js} +1 -1
- package/dist/{campaign-BBd4o7F_.js → campaign-2swZVVbi.js} +2 -2
- package/dist/{campaign.enum-CIhi0b-m.js → campaign.enum-CHI6p9lH.js} +1 -1
- package/dist/{campaign.fn-5silF1DK.js → campaign.fn-DNwV5ZWO.js} +135 -135
- package/dist/{collectible.enum-cMIQ6ogq.js → collectible.enum-Y3ALLTcR.js} +1 -1
- package/dist/{collection.fn-BGc7Qeli.js → collection.fn-CfvnmVQa.js} +2 -2
- package/dist/{dto-i04OPJfW.js → dto-DseG41FR.js} +10 -10
- package/dist/{effect-D8UzkYRg.js → effect-BH4hGy1N.js} +1 -1
- package/dist/{email-addresses-u05o35hN.js → email-addresses-doOfKmSj.js} +1 -1
- package/dist/{export-BEXuPYEd.js → export-DGrsZa4F.js} +3 -3
- package/dist/{helper-RptRJGv6.js → helper-3ohDu5Tn.js} +1 -1
- package/dist/{index-C6-rCMhD.js → index-B8HMoADH.js} +3 -3
- package/dist/{index-Cq_ZIbRm.js → index-BUzeShnL.js} +7 -7
- package/dist/{index-UfL5qRzR.js → index-BWwF7uuk.js} +4 -4
- package/dist/{index-g8EbRVnr.js → index-BXw9yi-G.js} +1 -1
- package/dist/{index-Dt6K2eG8.js → index-C-ozJGq6.js} +1 -1
- package/dist/{index-DFAnoAe9.js → index-CDT7BpQ3.js} +1 -1
- package/dist/{index-B8s-gucK.js → index-CKfeyWFN.js} +1 -1
- package/dist/{index-DwzoqCt8.js → index-CKji0U5N.js} +3 -3
- package/dist/{index-hEE_ntHd.js → index-CVlbqA1t.js} +1 -1
- package/dist/{index-BjHZUhiH.js → index-D5CHO7oc.js} +1 -1
- package/dist/{index-Bpu2DYUc.js → index-rYTZxC9p.js} +2 -2
- package/dist/{index-DbyJ6Nyn.js → index-wBdTUnZ6.js} +3 -3
- package/dist/{index.esm2017-BSzW_yaL.js → index.esm2017-D-hthfW3.js} +1 -1
- package/dist/{loading-DjEdwdnj.js → loading-DQnXnCXT.js} +4 -4
- package/dist/{membership-BL9Xs8lD.js → membership-C3envHTy.js} +3 -3
- package/dist/{money-D7lq0cx-.js → money-Dm7B8wUJ.js} +1 -1
- package/dist/{number-BiDabTkI.js → number-Swjcamr8.js} +1 -1
- package/dist/{objectid-CXf0jb1W.js → objectid-xH_8eWzr.js} +7 -7
- package/dist/{reward-Cr8rbe5R.js → reward-DOggYNm3.js} +1 -1
- package/dist/{rule-vkYJij4h.js → rule-BQy3e3DE.js} +3 -3
- package/dist/{rule-builder-DPKFZ5UX.js → rule-builder-CPWmw5lP.js} +1 -1
- package/dist/{template-Bep5Y5ch.js → template-Dprn2jD_.js} +4 -4
- package/dist/{trigger-fWhQ3bqv.js → trigger-BUY-zCBi.js} +4 -4
- package/dist/{usePagination-DSF5b4hM.js → usePagination-CEQLUMQ7.js} +1 -1
- package/dist/{user-9UiaP0xs.js → user-DIK4sBIA.js} +1 -1
- package/dist/{vue-i18n-BhiDOB1j.js → vue-i18n-B7ledd-g.js} +282 -282
- package/package.json +1 -1
- package/dist/Record-CvMxXm1B.js +0 -337
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as U, ref as g, watch as O, onMounted as
|
|
2
|
-
import { u as H } from "./vue-i18n-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { defineComponent as U, ref as g, watch as O, onMounted as I, resolveComponent as m, openBlock as b, createBlock as j, withCtx as P, createTextVNode as z, toDisplayString as $, createElementVNode as c, createVNode as o, unref as e, createElementBlock as F, createCommentVNode as W, normalizeClass as G, computed as L, Fragment as q, isRef as J } from "vue";
|
|
2
|
+
import { u as H } from "./vue-i18n-B7ledd-g.js";
|
|
3
|
+
import "./index-C-ozJGq6.js";
|
|
4
4
|
import { useRouter as K } from "vue-router";
|
|
5
|
-
import { f as V, p as Q, u as X } from "./loading-
|
|
6
|
-
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { useDialog as ee, useSnackbar as
|
|
8
|
-
import { r as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as oe } from "./business-
|
|
11
|
-
import { u as te } from "./membership-
|
|
12
|
-
import { R as S } from "./app-
|
|
5
|
+
import { f as V, p as Q, u as X } from "./loading-DQnXnCXT.js";
|
|
6
|
+
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-Du_0o2b9.js";
|
|
7
|
+
import { useDialog as ee, useSnackbar as ne, FmButtonVariant as p } from "@feedmepos/ui-library";
|
|
8
|
+
import { r as N } from "./index-BXw9yi-G.js";
|
|
9
|
+
import { u as ae } from "./reward-DOggYNm3.js";
|
|
10
|
+
import { u as oe } from "./business-DMzeDNMd.js";
|
|
11
|
+
import { u as te } from "./membership-C3envHTy.js";
|
|
12
|
+
import { R as S } from "./app-MbHo43vs.js";
|
|
13
13
|
const re = { class: "space-y-24" }, le = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: /* @__PURE__ */ G([
|
|
@@ -25,19 +25,19 @@ const re = { class: "space-y-24" }, le = {
|
|
|
25
25
|
"border border-fm-color-neutral-gray-300",
|
|
26
26
|
"p-16 space-x-16 rounded-md"
|
|
27
27
|
])
|
|
28
|
-
}, ce = { class: "fm-typo-en-body-lg-400 flex-1 truncate" },
|
|
28
|
+
}, ce = { class: "fm-typo-en-body-lg-400 flex-1 truncate" }, me = { class: "flex justify-end space-x-8 w-full" }, de = /* @__PURE__ */ U({
|
|
29
29
|
__name: "TermAndConditionDialog",
|
|
30
30
|
props: {
|
|
31
31
|
modelValue: { type: Boolean }
|
|
32
32
|
},
|
|
33
33
|
emits: ["update:modelValue"],
|
|
34
|
-
setup(B, { emit:
|
|
34
|
+
setup(B, { emit: k }) {
|
|
35
35
|
const y = B;
|
|
36
36
|
ee();
|
|
37
|
-
const
|
|
37
|
+
const s = ne(), { t } = H(), i = Y(), { minor: _ } = X, d = g(!1), T = k, r = g(null), w = g(null);
|
|
38
38
|
async function h() {
|
|
39
|
-
if (!
|
|
40
|
-
|
|
39
|
+
if (!r.value) {
|
|
40
|
+
s.open({
|
|
41
41
|
type: "error",
|
|
42
42
|
title: "Please upload a file"
|
|
43
43
|
});
|
|
@@ -45,12 +45,12 @@ const re = { class: "space-y-24" }, le = {
|
|
|
45
45
|
}
|
|
46
46
|
_(
|
|
47
47
|
async () => {
|
|
48
|
-
|
|
48
|
+
d.value = !0;
|
|
49
49
|
const n = await V.update(
|
|
50
50
|
V.referralTermAndConditionPath(),
|
|
51
|
-
|
|
52
|
-
), a =
|
|
53
|
-
a.term_and_condition = n, await
|
|
51
|
+
r.value
|
|
52
|
+
), a = i.referralProgram;
|
|
53
|
+
a.term_and_condition = n, await N.update(a), d.value = !1, v();
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
successMessage: "Term and Condition uploaded successfully"
|
|
@@ -59,14 +59,17 @@ const re = { class: "space-y-24" }, le = {
|
|
|
59
59
|
}
|
|
60
60
|
async function x() {
|
|
61
61
|
await Q.confirm(
|
|
62
|
-
"
|
|
62
|
+
t("connect.referral.term_and_condition.confirm_remove"),
|
|
63
|
+
t("connect.common.confirm"),
|
|
64
|
+
t("connect.common.confirm"),
|
|
65
|
+
t("connect.common.cancel")
|
|
63
66
|
) && _(
|
|
64
67
|
async () => {
|
|
65
|
-
|
|
68
|
+
d.value = !0, await V.delete(
|
|
66
69
|
V.referralTermAndConditionPath()
|
|
67
70
|
);
|
|
68
|
-
const a =
|
|
69
|
-
a.term_and_condition = void 0, await
|
|
71
|
+
const a = i.referralProgram;
|
|
72
|
+
a.term_and_condition = void 0, await N.update(a), d.value = !1, v();
|
|
70
73
|
},
|
|
71
74
|
{
|
|
72
75
|
successMessage: "Term and Condition removed successfully"
|
|
@@ -74,40 +77,40 @@ const re = { class: "space-y-24" }, le = {
|
|
|
74
77
|
);
|
|
75
78
|
}
|
|
76
79
|
function v() {
|
|
77
|
-
|
|
80
|
+
r.value = null, T("update:modelValue", !1);
|
|
78
81
|
}
|
|
79
|
-
function
|
|
82
|
+
function l() {
|
|
80
83
|
var n;
|
|
81
|
-
window.open((n =
|
|
84
|
+
window.open((n = i.referralProgram) == null ? void 0 : n.term_and_condition, "_blank");
|
|
82
85
|
}
|
|
83
86
|
return O(
|
|
84
87
|
() => y.modelValue,
|
|
85
88
|
(n) => {
|
|
86
|
-
|
|
89
|
+
r.value = null;
|
|
87
90
|
}
|
|
88
|
-
),
|
|
91
|
+
), I(() => {
|
|
89
92
|
}), (n, a) => {
|
|
90
|
-
const R =
|
|
91
|
-
return b(), j(
|
|
93
|
+
const R = m("FmButton"), E = m("FmDropField"), u = m("fm-button"), A = m("fm-dialog");
|
|
94
|
+
return b(), j(A, {
|
|
92
95
|
"model-value": n.modelValue,
|
|
93
96
|
"onUpdate:modelValue": a[3] || (a[3] = (C) => n.$emit("update:modelValue", C)),
|
|
94
97
|
"dismiss-away": ""
|
|
95
98
|
}, {
|
|
96
99
|
"dialog-header": P(() => [
|
|
97
|
-
z("
|
|
100
|
+
z($(n.$t("connect.referral.actions.terms")), 1)
|
|
98
101
|
]),
|
|
99
102
|
"dialog-footer": P(() => [
|
|
100
|
-
c("div",
|
|
101
|
-
o(
|
|
103
|
+
c("div", me, [
|
|
104
|
+
o(u, {
|
|
102
105
|
variant: e(p).Tertiary,
|
|
103
|
-
label: e(
|
|
106
|
+
label: e(t)("connect.common.cancel"),
|
|
104
107
|
onClick: v
|
|
105
108
|
}, null, 8, ["variant", "label"]),
|
|
106
|
-
o(
|
|
109
|
+
o(u, {
|
|
107
110
|
variant: e(p).Primary,
|
|
108
111
|
class: "ml-auto mr-8",
|
|
109
|
-
label: e(
|
|
110
|
-
loading: e(
|
|
112
|
+
label: e(t)("connect.common.save"),
|
|
113
|
+
loading: e(d),
|
|
111
114
|
onClick: h
|
|
112
115
|
}, null, 8, ["variant", "label", "loading"])
|
|
113
116
|
])
|
|
@@ -116,12 +119,12 @@ const re = { class: "space-y-24" }, le = {
|
|
|
116
119
|
var C;
|
|
117
120
|
return [
|
|
118
121
|
c("div", re, [
|
|
119
|
-
(C = e(
|
|
122
|
+
(C = e(i).referralProgram) != null && C.term_and_condition ? (b(), F("div", le, [
|
|
120
123
|
o(R, {
|
|
121
|
-
label: e(
|
|
124
|
+
label: e(t)("View uploaded file"),
|
|
122
125
|
variant: e(p).Plain,
|
|
123
126
|
icon: "file_present",
|
|
124
|
-
onClick:
|
|
127
|
+
onClick: l
|
|
125
128
|
}, null, 8, ["label", "variant"]),
|
|
126
129
|
o(R, {
|
|
127
130
|
variant: e(p).Plain,
|
|
@@ -129,20 +132,20 @@ const re = { class: "space-y-24" }, le = {
|
|
|
129
132
|
onClick: x
|
|
130
133
|
}, null, 8, ["variant"])
|
|
131
134
|
])) : W("", !0),
|
|
132
|
-
e(
|
|
133
|
-
o(
|
|
135
|
+
e(r) ? (b(), F("div", se, [
|
|
136
|
+
o(u, {
|
|
134
137
|
variant: e(p).Tertiary,
|
|
135
138
|
"prepend-icon": "attach_file"
|
|
136
139
|
}, null, 8, ["variant"]),
|
|
137
|
-
c("p", ce,
|
|
140
|
+
c("p", ce, $(e(r).name), 1),
|
|
138
141
|
c("label", {
|
|
139
142
|
ref_key: "fileLabelRef",
|
|
140
143
|
ref: w,
|
|
141
144
|
htmlFor: "file"
|
|
142
145
|
}, [
|
|
143
|
-
o(
|
|
146
|
+
o(u, {
|
|
144
147
|
variant: e(p).Plain,
|
|
145
|
-
label: e(
|
|
148
|
+
label: e(t)("Replace File"),
|
|
146
149
|
onClick: a[1] || (a[1] = () => {
|
|
147
150
|
var f;
|
|
148
151
|
return (f = e(w)) == null ? void 0 : f.click();
|
|
@@ -155,13 +158,13 @@ const re = { class: "space-y-24" }, le = {
|
|
|
155
158
|
type: "file",
|
|
156
159
|
onChange: a[2] || (a[2] = (f) => {
|
|
157
160
|
var D, M;
|
|
158
|
-
return
|
|
161
|
+
return r.value = ((M = (D = f.target) == null ? void 0 : D.files) == null ? void 0 : M[0]) ?? null;
|
|
159
162
|
})
|
|
160
163
|
}, null, 32)
|
|
161
164
|
], 512)
|
|
162
165
|
])) : (b(), F("div", ie, [
|
|
163
|
-
o(
|
|
164
|
-
onFileUpload: a[0] || (a[0] = (f) =>
|
|
166
|
+
o(E, {
|
|
167
|
+
onFileUpload: a[0] || (a[0] = (f) => r.value = f),
|
|
165
168
|
accept: ".pdf",
|
|
166
169
|
"max-file-size": 8e6
|
|
167
170
|
})
|
|
@@ -173,74 +176,74 @@ const re = { class: "space-y-24" }, le = {
|
|
|
173
176
|
}, 8, ["model-value"]);
|
|
174
177
|
};
|
|
175
178
|
}
|
|
176
|
-
}),
|
|
179
|
+
}), ue = { class: "flex items-center" }, fe = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, pe = { class: "px-24 flex flex-col gap-y-16 pb-24" }, Te = /* @__PURE__ */ U({
|
|
177
180
|
__name: "Index",
|
|
178
181
|
setup(B) {
|
|
179
|
-
const
|
|
182
|
+
const k = ae(), y = g(null), { t: s } = H(), t = K(), i = g(!1), _ = oe(), d = te(), T = L(() => _.isPremium ? [
|
|
180
183
|
{
|
|
181
|
-
label:
|
|
184
|
+
label: s("connect.referral.actions.terms"),
|
|
182
185
|
value: "term_and_condition"
|
|
183
186
|
},
|
|
184
187
|
{
|
|
185
|
-
label:
|
|
188
|
+
label: s("connect.referral.actions.manage_reward"),
|
|
186
189
|
value: "manage_reward"
|
|
187
190
|
},
|
|
188
191
|
{
|
|
189
|
-
label:
|
|
192
|
+
label: s("connect.referral.actions.add_referral_tier"),
|
|
190
193
|
value: "add_referral_tier",
|
|
191
194
|
prependIcon: "add",
|
|
192
195
|
isPrimary: !0
|
|
193
196
|
}
|
|
194
|
-
] : []),
|
|
197
|
+
] : []), r = [
|
|
195
198
|
{
|
|
196
|
-
label:
|
|
199
|
+
label: s("connect.referral.tabs.overview"),
|
|
197
200
|
value: S["$connect-REFERRAL_OVERVIEW"],
|
|
198
201
|
actions: []
|
|
199
202
|
},
|
|
200
203
|
{
|
|
201
|
-
label:
|
|
204
|
+
label: s("connect.referral.tabs.record"),
|
|
202
205
|
value: S["$connect-REFERRAL_RECORD"],
|
|
203
206
|
actions: []
|
|
204
207
|
}
|
|
205
|
-
], w =
|
|
206
|
-
async function h(
|
|
207
|
-
await
|
|
208
|
+
], w = L(() => r.find((l) => l.value === t.currentRoute.value.name) ?? r[0]);
|
|
209
|
+
async function h(l) {
|
|
210
|
+
await t.push({ name: l });
|
|
208
211
|
}
|
|
209
|
-
async function x(
|
|
212
|
+
async function x(l) {
|
|
210
213
|
var n;
|
|
211
|
-
|
|
214
|
+
l === "add_referral_tier" && ((n = y.value) == null || n.onManageRewardGroup(-1)), l === "manage_reward" && await t.push({ name: S["$connect-REWARD_TEMPLATE"] }), l === "term_and_condition" && v();
|
|
212
215
|
}
|
|
213
216
|
async function v() {
|
|
214
|
-
|
|
217
|
+
i.value = !0;
|
|
215
218
|
}
|
|
216
|
-
return
|
|
217
|
-
await
|
|
218
|
-
}), (
|
|
219
|
-
const a =
|
|
219
|
+
return I(async () => {
|
|
220
|
+
await k.readRewards(), await _.readPremium(), await d.readSegments();
|
|
221
|
+
}), (l, n) => {
|
|
222
|
+
const a = m("FmPill"), R = m("FmPageHead"), E = m("FmTabs"), u = m("RouterView");
|
|
220
223
|
return b(), F(q, null, [
|
|
221
224
|
o(R, {
|
|
222
|
-
actions: e(
|
|
225
|
+
actions: e(T),
|
|
223
226
|
"onClick:action": x
|
|
224
227
|
}, {
|
|
225
228
|
title: P(() => [
|
|
226
|
-
c("div",
|
|
227
|
-
c("span", fe,
|
|
229
|
+
c("div", ue, [
|
|
230
|
+
c("span", fe, $(e(s)("connect.referral.title")), 1),
|
|
228
231
|
o(a, { variant: "premium" })
|
|
229
232
|
])
|
|
230
233
|
]),
|
|
231
234
|
_: 1
|
|
232
235
|
}, 8, ["actions"]),
|
|
233
236
|
c("div", pe, [
|
|
234
|
-
o(
|
|
237
|
+
o(E, {
|
|
235
238
|
"model-value": e(w).value,
|
|
236
|
-
items:
|
|
239
|
+
items: r,
|
|
237
240
|
"onUpdate:modelValue": h
|
|
238
241
|
}, null, 8, ["model-value"]),
|
|
239
|
-
o(
|
|
242
|
+
o(u)
|
|
240
243
|
]),
|
|
241
|
-
o(
|
|
242
|
-
modelValue: e(
|
|
243
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
244
|
+
o(de, {
|
|
245
|
+
modelValue: e(i),
|
|
246
|
+
"onUpdate:modelValue": n[0] || (n[0] = (A) => J(i) ? i.value = A : null)
|
|
244
247
|
}, null, 8, ["modelValue"]),
|
|
245
248
|
o(Z, {
|
|
246
249
|
ref_key: "rewardGroupRef",
|
|
@@ -251,5 +254,5 @@ const re = { class: "space-y-24" }, le = {
|
|
|
251
254
|
}
|
|
252
255
|
});
|
|
253
256
|
export {
|
|
254
|
-
|
|
257
|
+
Te as default
|
|
255
258
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { openBlock as m, createElementBlock as p, defineComponent as z, ref as S, onMounted as Y, computed as H, h as J, resolveComponent as c, Fragment as x, createVNode as i, unref as r, createElementVNode as s, withCtx as F, renderList as $, createBlock as B, toDisplayString as f, createCommentVNode as j } from "vue";
|
|
2
2
|
import { _ as q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { components as G } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as X, u as Q } from "./loading-
|
|
4
|
+
import { p as X, u as Q } from "./loading-DQnXnCXT.js";
|
|
5
5
|
import { defineStore as W } from "pinia";
|
|
6
|
-
import { F as C } from "./index-
|
|
6
|
+
import { F as C } from "./index-CVlbqA1t.js";
|
|
7
7
|
import { useCoreStore as Z } from "@feedmepos/mf-common";
|
|
8
|
-
import { g as h, S as ee, b as te } from "./index-
|
|
8
|
+
import { g as h, S as ee, b as te } from "./index-B8HMoADH.js";
|
|
9
9
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { u as ae } from "./campaign-
|
|
10
|
+
import { u as ae } from "./campaign-2swZVVbi.js";
|
|
11
11
|
import { h as oe } from "./moment-BWErdI6_.js";
|
|
12
|
-
import { u as re } from "./vue-i18n-
|
|
12
|
+
import { u as re } from "./vue-i18n-B7ledd-g.js";
|
|
13
13
|
var se = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedme.cc", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", marketingV1Portal: "https://marketing-v1.feedme.cc" };
|
|
14
14
|
const y = () => {
|
|
15
15
|
const o = ee.getBusinessId();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as f, computed as T, ref as d, watch as k, resolveComponent as s, openBlock as _, createElementBlock as B, Fragment as E, createVNode as b, unref as n, createElementVNode as y, createBlock as A, createCommentVNode as L } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { u as M } from "./vue-i18n-
|
|
2
|
+
import "./index-C-ozJGq6.js";
|
|
3
|
+
import { u as M } from "./vue-i18n-B7ledd-g.js";
|
|
4
4
|
import { useRouter as N } from "vue-router";
|
|
5
|
-
import { m as Y } from "./index-
|
|
6
|
-
import { R as i } from "./app-
|
|
5
|
+
import { m as Y } from "./index-D5CHO7oc.js";
|
|
6
|
+
import { R as i } from "./app-MbHo43vs.js";
|
|
7
7
|
const h = { class: "px-24 flex flex-col gap-y-16 pb-24" }, g = /* @__PURE__ */ f({
|
|
8
8
|
__name: "Member",
|
|
9
9
|
setup(w) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as pe, computed as Y, ref as X, resolveComponent as F, openBlock as v, createElementBlock as N, Fragment as ee, createElementVNode as a, unref as t, createBlock as j, createCommentVNode as ae, createVNode as _, renderList as se, withCtx as ne, createTextVNode as ue, toDisplayString as M, withDirectives as Pe, vShow as Re, onMounted as Oe, isRef as Ze, h as oe } from "vue";
|
|
2
2
|
import { h as g } from "./moment-BWErdI6_.js";
|
|
3
3
|
import { useDialog as be, components as ce } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as et, M as tt } from "./email-addresses-
|
|
5
|
-
import { a as ot, _ as nt, w as at } from "./usePagination-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { p as Ee, b as De, u as Ye } from "./loading-
|
|
8
|
-
import { u as ye, C as Be, s as st } from "./membership-
|
|
9
|
-
import { c as it } from "./index-
|
|
4
|
+
import { e as et, M as tt } from "./email-addresses-doOfKmSj.js";
|
|
5
|
+
import { a as ot, _ as nt, w as at } from "./usePagination-CEQLUMQ7.js";
|
|
6
|
+
import "./index-C-ozJGq6.js";
|
|
7
|
+
import { p as Ee, b as De, u as Ye } from "./loading-DQnXnCXT.js";
|
|
8
|
+
import { u as ye, C as Be, s as st } from "./membership-C3envHTy.js";
|
|
9
|
+
import { c as it } from "./index-B8HMoADH.js";
|
|
10
10
|
import { _ as Ue } from "./lodash-B5I3zXaY.js";
|
|
11
11
|
import { D as rt } from "./type_drinks-D6jnpvwV.js";
|
|
12
|
-
import { F as lt, a as ct, b as dt, c as mt, d as ut } from "./index-
|
|
13
|
-
import { C as fe } from "./collection.fn-
|
|
12
|
+
import { F as lt, a as ct, b as dt, c as mt, d as ut } from "./index-CKji0U5N.js";
|
|
13
|
+
import { C as fe } from "./collection.fn-CfvnmVQa.js";
|
|
14
14
|
import { defineStore as pt } from "pinia";
|
|
15
|
-
import { u as Le } from "./business-
|
|
16
|
-
import { m as J } from "./index-
|
|
15
|
+
import { u as Le } from "./business-DMzeDNMd.js";
|
|
16
|
+
import { m as J } from "./index-D5CHO7oc.js";
|
|
17
17
|
import { o as ze } from "./objectId-dwaoBfJX.js";
|
|
18
|
-
import { f as me } from "./number-
|
|
19
|
-
import { t as ft } from "./money-
|
|
20
|
-
import { g as bt, a as yt, b as vt } from "./user-
|
|
18
|
+
import { f as me } from "./number-Swjcamr8.js";
|
|
19
|
+
import { t as ft } from "./money-Dm7B8wUJ.js";
|
|
20
|
+
import { g as bt, a as yt, b as vt } from "./user-DIK4sBIA.js";
|
|
21
21
|
import { useRouter as xt } from "vue-router";
|
|
22
|
-
import { R as gt } from "./app-
|
|
22
|
+
import { R as gt } from "./app-MbHo43vs.js";
|
|
23
23
|
const _t = { class: "flex flex-col" }, ht = /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800 mb-8" }, "Member tiering", -1), Ct = /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800 mt-16 mb-8" }, "Member Card", -1), St = /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800 mt-16 mb-8" }, "Titles", -1), Ft = { key: 1 }, Tt = /* @__PURE__ */ a("div", { class: "flex flex-nowrap gap-4 items-center" }, [
|
|
24
24
|
/* @__PURE__ */ a("div", { class: "flex-1" }, "Title"),
|
|
25
25
|
/* @__PURE__ */ a("div", { class: "flex-1" }, "Expires in days"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as p, resolveComponent as _, openBlock as l, createElementBlock as d, createVNode as f, unref as e, createBlock as r, createCommentVNode as v } from "vue";
|
|
2
|
-
import { _ as b, a as k } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b, a as k } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-Dq4qIXZu.js";
|
|
3
3
|
import { useRouter as x } from "vue-router";
|
|
4
4
|
const C = { class: "flex flex-col gap-y-32 pb-24" }, N = /* @__PURE__ */ i({
|
|
5
5
|
__name: "MemberTransactions",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as M, ref as C, computed as E, onMounted as D, resolveComponent as l, openBlock as p, createElementBlock as v, createElementVNode as m, createVNode as c, unref as u, withCtx as h, createTextVNode as F, toDisplayString as T, Fragment as j, renderList as k, createBlock as U } from "vue";
|
|
2
|
-
import { p as A } from "./loading-
|
|
3
|
-
import { s as B } from "./index-
|
|
2
|
+
import { p as A } from "./loading-DQnXnCXT.js";
|
|
3
|
+
import { s as B } from "./index-BWwF7uuk.js";
|
|
4
4
|
const L = {
|
|
5
5
|
"user.name": {
|
|
6
6
|
name: "User name"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as E, ref as M, computed as $, h as d, onMounted as H, resolveComponent as l, openBlock as p, createElementBlock as h, Fragment as w, createVNode as c, unref as t, createElementVNode as s, withCtx as x, renderList as q, createBlock as b, resolveDynamicComponent as z, toDisplayString as u } from "vue";
|
|
2
2
|
import { _ as W } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { a as G, p as J, u as Q } from "./loading-
|
|
4
|
-
import { g as L, a as B } from "./dto-
|
|
5
|
-
import { u as X } from "./business-
|
|
6
|
-
import { u as Y } from "./campaign-
|
|
3
|
+
import { a as G, p as J, u as Q } from "./loading-DQnXnCXT.js";
|
|
4
|
+
import { g as L, a as B } from "./dto-DseG41FR.js";
|
|
5
|
+
import { u as X } from "./business-DMzeDNMd.js";
|
|
6
|
+
import { u as Y } from "./campaign-2swZVVbi.js";
|
|
7
7
|
import { useDialog as Z, components as v } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as ee } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { u as oe } from "./template-
|
|
10
|
-
import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as oe } from "./template-Dprn2jD_.js";
|
|
10
|
+
import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-4_cHlWUJ.js";
|
|
11
11
|
import { s as ne } from "./index-CuvNtC_M.js";
|
|
12
|
-
import { u as ae } from "./vue-i18n-
|
|
13
|
-
import { c as _ } from "./index-
|
|
12
|
+
import { u as ae } from "./vue-i18n-B7ledd-g.js";
|
|
13
|
+
import { c as _ } from "./index-CDT7BpQ3.js";
|
|
14
14
|
const se = { class: "px-24 flex flex-col gap-y-16" }, ie = { class: "flex items-center justify-between w-full" }, ce = { class: "flex gap-8 overflow-x-auto" }, re = { 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" }, de = { 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" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = /* @__PURE__ */ s("img", {
|
|
15
15
|
src: W,
|
|
16
16
|
class: "aspect-square w-[150px]"
|