@feedmepos/mf-connect 0.1.48-prod → 0.1.49-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-DrjBaKmx.js → Analytic-ibBD_21m.js} +11 -11
- package/dist/{App-eIaytGsZ.js → App-CDjwWK8a.js} +7 -7
- package/dist/{Bin-CVp0eFwl.js → Bin-DCaG0YGW.js} +8 -8
- package/dist/Broadcast-CbF3d_N7.js +233 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CugJWeBo.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BqYusgBO.js} +6 -6
- package/dist/{Card-DkP6oJVn.js → Card-CDNE85po.js} +16 -16
- package/dist/{Collections-DYb_aeTW.js → Collections-DHn__E9U.js} +7 -7
- package/dist/Credit-DiTnwnFe.js +228 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Dt9c2kvf.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJEAsRON.js} +30 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DT3y4k1C.js → EffectSheet.vue_vue_type_style_index_0_lang-CU9XpMjd.js} +6 -6
- package/dist/Experience-CjMVeGsX.js +229 -0
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
- package/dist/{Game-C7jxRESY.js → Game-D3gANFAo.js} +103 -97
- package/dist/{Index-DYr1p4sh.js → Index-DEF_a5Mu.js} +10 -10
- package/dist/{Marketing-Djl27fez.js → Marketing-BeED4Y7H.js} +6 -6
- package/dist/{Member-CWXedfTG.js → Member-CA4hnHJY.js} +10 -10
- package/dist/{MemberList-C2TvGi22.js → MemberList-CZtriA_Q.js} +25 -25
- package/dist/{MemberTransactions-BSUocGg9.js → MemberTransactions-BVrvf4AM.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D8xPA6jM.js → MessageInput.vue_vue_type_script_setup_true_lang-BqTDGnOG.js} +7 -7
- package/dist/{Mission-BVx9Cqi5.js → Mission-CDSMpqnG.js} +112 -106
- package/dist/{Overview-DyXF9zfB.js → Overview-ArineqY4.js} +18 -18
- package/dist/Point-51MD49EM.js +232 -0
- package/dist/{Promotion-B0Q6GItP.js → Promotion-BVrofYd6.js} +11 -11
- package/dist/{Queue-BAWG1Hh-.js → Queue-Q-aEeZ8w.js} +11 -11
- package/dist/{Record-CTp80g4A.js → Record-DaVcschI.js} +8 -8
- package/dist/{Reward-_Jow1lJ7.js → Reward-DTtFuqOZ.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BV8xCejA.js → RewardGroup.vue_vue_type_script_setup_true_lang-P_gNd6ZP.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DkDAuGY0.js → RuleGroup.vue_vue_type_script_setup_true_lang-CVy_kDmy.js} +13 -13
- package/dist/{Segment-CsdJ1SjK.js → Segment-DIy4RERw.js} +22 -22
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DH3oIm2t.js → SelectItems.vue_vue_type_script_setup_true_lang-D3KIZJLo.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DvVrjpxR.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-bSi6_uqi.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-D5gV89Xk.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BsNLkA2v.js} +3 -3
- package/dist/{Setting-BZRA50LO.js → Setting-DGDgmP84.js} +11 -11
- package/dist/{Store-CFnCN_7-.js → Store-Dh2uVHGY.js} +19 -19
- package/dist/{StoreRewards-B_McpBz-.js → StoreRewards-DFF_0g59.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-vL0vr-Xn.js → StoreTransactions.vue_vue_type_script_setup_true_lang-PrFhYJXc.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-C1ZlLdme.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-VcU2Asjy.js} +1 -1
- package/dist/{Tier-CCYFu6kJ.js → Tier-yKvE4mRW.js} +20 -20
- package/dist/{Title-7Mg-Ml4z.js → Title-DWWSC02W.js} +19 -19
- package/dist/{Transaction-BqZrbpZi.js → Transaction-ru7M0PKE.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-C6ZwPUD4.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BSkv6hMH.js} +6 -6
- package/dist/{Voucher-Yty_7SuS.js → Voucher-DmuaThKv.js} +14 -14
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-Bt12t3gB.js → VoucherEditor.vue_vue_type_script_setup_true_lang-Db_aeyc1.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-C3NHrEIl.js → ZodTextField.vue_vue_type_script_setup_true_lang-B5co0F__.js} +1 -1
- package/dist/{app-Dzon--6x.js → app-DaFoFS2V.js} +1 -1
- package/dist/{app-2EJP4psh.js → app-ja_XST5q.js} +30 -30
- package/dist/app.js +1 -1
- package/dist/{business-BehG4fR2.js → business-BSP_3iNl.js} +11 -8
- package/dist/{campaign-CAcP56Sz.js → campaign-C1hWNRWr.js} +2 -2
- package/dist/{campaign-BpaiTG4f.js → campaign-DMZnXtyb.js} +9 -9
- package/dist/{campaign.enum-BWjI8Hop.js → campaign.enum-Bfsz7Aon.js} +1 -1
- package/dist/{campaign.fn-PVdB1-V1.js → campaign.fn-B-xvcbEb.js} +63 -63
- package/dist/{collectible.enum-BYmuqayi.js → collectible.enum-BRkrN4Bi.js} +1 -1
- package/dist/{collection.fn-CbH8hbWW.js → collection.fn-D03AXdUn.js} +2 -2
- package/dist/{dto-Dd3Oc4QO.js → dto-DpRkSGg6.js} +4 -4
- package/dist/{effect-DvEQNEl0.js → effect-BW1-I1J4.js} +1 -1
- package/dist/{email-addresses-C-9JrAi8.js → email-addresses-BLVkwSkP.js} +1 -1
- package/dist/{export-RWE9Cn-d.js → export-DOfDownW.js} +3 -3
- package/dist/{helper-Bl6LdWED.js → helper-BzfjLXgi.js} +1 -1
- package/dist/{index-DZN5WWgq.js → index-BBi9jDD1.js} +3 -3
- package/dist/{index-DpoNuVc-.js → index-BJl_HxaB.js} +6 -6
- package/dist/{index-BCQMVr1J.js → index-Ba5-z1MU.js} +1 -1
- package/dist/{index-Bgnrbk5x.js → index-Bp8F6U9V.js} +1 -1
- package/dist/{index-CzCqc7ph.js → index-C6fpU8-G.js} +1 -1
- package/dist/{index-Bjf5Z2QE.js → index-COoQSeE7.js} +4 -4
- package/dist/{index-DX1X6Owa.js → index-DTnzjEWu.js} +1 -1
- package/dist/{index-G_XSbrXB.js → index-DWBeauin.js} +3 -3
- package/dist/{index-1bU9cLqV.js → index-Da1qz9oA.js} +1 -1
- package/dist/{index-wOExBjGo.js → index-Dve1-uYX.js} +1 -1
- package/dist/{index-CFW9ogow.js → index-P6ISAxfQ.js} +1 -1
- package/dist/{index-VVy4GPzJ.js → index-cpWgtd-c.js} +1 -1
- package/dist/{index-DhUvELhc.js → index-sFyvCun2.js} +1023 -1023
- package/dist/{index-CfgczUMX.js → index-zyVYgteg.js} +2 -2
- package/dist/{index.esm2017-DfgZFSqe.js → index.esm2017-DT0awUwa.js} +40 -40
- package/dist/{loading-qlqqYGF3.js → loading-CZH88Duq.js} +1 -1
- package/dist/{membership-Bh_1iu5v.js → membership-GNRX1fEK.js} +3 -3
- package/dist/{money-DvTB_Fek.js → money-Xe5mDYRC.js} +1 -1
- package/dist/{number-DJQ3gi1P.js → number-CAjqc2Pu.js} +1 -1
- package/dist/objectid-BQJRv_jX.js +145 -0
- package/dist/{plugins-DJpBrPbQ.js → plugins-Z2YcDTj8.js} +2 -2
- package/dist/{reward-DZ4KlN9B.js → reward-G656rbLJ.js} +1 -1
- package/dist/{rule-DV0yCGlq.js → rule-BJ5blBZp.js} +3 -3
- package/dist/{rule-builder-D6ihVPNO.js → rule-builder-CursBigG.js} +1 -1
- package/dist/{template-ElP-JIFL.js → template-BnyUm8is.js} +4 -4
- package/dist/{timezone-FaHjut_D.js → timezone-B64-HrWi.js} +1 -1
- package/dist/{trigger-D8wnJVTA.js → trigger-C_ih51ky.js} +4 -4
- package/dist/{user-NWV9KppR.js → user-BZc_OAUj.js} +1 -1
- package/dist/{vue-i18n-CkbS-IDD.js → vue-i18n-2D47GxQX.js} +376 -376
- package/dist/{xlsx-CdQE5RZi.js → xlsx-BEk5qawh.js} +1 -1
- package/package.json +1 -1
- package/dist/Broadcast-DBgBT6yz.js +0 -227
- package/dist/Credit-WVv_PL5D.js +0 -222
- package/dist/Experience-BdH44wBG.js +0 -223
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js +0 -114
- package/dist/Point-ovkgTwZO.js +0 -226
- package/dist/objectid-BKU0cEuv.js +0 -145
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { useDialog as
|
|
4
|
-
import { a as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { a as $, b as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { c as x } from "./index-
|
|
15
|
-
const
|
|
1
|
+
import { defineComponent as q, ref as v, computed as z, onMounted as O, resolveComponent as r, openBlock as f, createElementBlock as C, Fragment as b, createVNode as s, unref as o, withCtx as h, createElementVNode as n, toDisplayString as u, renderList as J, createBlock as k, resolveDynamicComponent as Q, h as l } from "vue";
|
|
2
|
+
import { _ as W } from "./campaign-CpzFl8Vr.js";
|
|
3
|
+
import { useDialog as X, components as w } from "@feedmepos/ui-library";
|
|
4
|
+
import { a as Y, p as Z } from "./plugins-Z2YcDTj8.js";
|
|
5
|
+
import { u as ee } from "./loading-CZH88Duq.js";
|
|
6
|
+
import { u as te } from "./business-BSP_3iNl.js";
|
|
7
|
+
import { u as oe } from "./campaign-C1hWNRWr.js";
|
|
8
|
+
import { a as $, b as R, g as ae } from "./campaign-DMZnXtyb.js";
|
|
9
|
+
import { _ as ne } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
10
|
+
import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJEAsRON.js";
|
|
11
|
+
import { u as ie } from "./template-BnyUm8is.js";
|
|
12
|
+
import { u as re } from "./vue-i18n-2D47GxQX.js";
|
|
13
|
+
import { _ as le } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-bSi6_uqi.js";
|
|
14
|
+
import { c as x } from "./index-Ba5-z1MU.js";
|
|
15
|
+
const ce = { class: "flex items-center" }, me = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, de = { class: "px-24 flex flex-col gap-y-16" }, ue = { class: "flex items-center justify-between w-full" }, pe = { class: "flex gap-8 overflow-x-auto" }, fe = { class: "space-y-8" }, ge = { class: "flex w-full gap-4 items-center" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _e = { class: "space-y-4" }, he = { class: "fm-typo-en-body-lg-600" }, we = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ve = { class: "flex flex-col gap-16 text-center" }, Ce = { class: "fm-typo-en-title-sm-800" }, be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Te = /* @__PURE__ */ q({
|
|
16
16
|
__name: "Game",
|
|
17
|
-
setup(
|
|
18
|
-
const { t:
|
|
19
|
-
label:
|
|
20
|
-
type:
|
|
17
|
+
setup(ke) {
|
|
18
|
+
const { t: c } = re(), E = {
|
|
19
|
+
label: c("connect.program.common.actions.create", {
|
|
20
|
+
type: c("connect.program.game.title").toLowerCase()
|
|
21
21
|
}),
|
|
22
22
|
value: "create",
|
|
23
23
|
isPrimary: !0,
|
|
24
24
|
prependIcon: "add"
|
|
25
|
-
}, K =
|
|
25
|
+
}, K = ie("GAME", X()), g = te(), p = oe(), { global: M, minor: F } = ee, i = v({
|
|
26
26
|
searchKey: "",
|
|
27
|
-
location:
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
)
|
|
32
|
-
|
|
27
|
+
location: []
|
|
28
|
+
});
|
|
29
|
+
function G(e) {
|
|
30
|
+
const t = i.value.location;
|
|
31
|
+
return !t || t.length === 0 || !e.targetLocation ? !0 : Array.isArray(t) ? t.some((m) => {
|
|
32
|
+
var d;
|
|
33
|
+
return (d = e == null ? void 0 : e.targetLocation) == null ? void 0 : d.includes(m);
|
|
34
|
+
}) : e.targetLocation.includes(t);
|
|
35
|
+
}
|
|
36
|
+
const y = z(
|
|
37
|
+
() => p.campaigns.token.filter((e) => G(e))
|
|
38
|
+
), I = [
|
|
33
39
|
{
|
|
34
40
|
header: "Program title",
|
|
35
41
|
accessorKey: "name",
|
|
@@ -42,7 +48,7 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
42
48
|
{
|
|
43
49
|
content: e.row.original._id,
|
|
44
50
|
onClick: (t) => {
|
|
45
|
-
t.stopPropagation(),
|
|
51
|
+
t.stopPropagation(), Y(e.row.original._id);
|
|
46
52
|
}
|
|
47
53
|
},
|
|
48
54
|
[
|
|
@@ -60,14 +66,14 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
60
66
|
},
|
|
61
67
|
{
|
|
62
68
|
header: "Status",
|
|
63
|
-
accessorFn: (e) =>
|
|
69
|
+
accessorFn: (e) => ae(e),
|
|
64
70
|
cell(e) {
|
|
65
71
|
return $(e.row.original);
|
|
66
72
|
}
|
|
67
73
|
},
|
|
68
74
|
{
|
|
69
75
|
header: "Summary",
|
|
70
|
-
accessorFn: (e) =>
|
|
76
|
+
accessorFn: (e) => R(e)
|
|
71
77
|
//v.effect,
|
|
72
78
|
},
|
|
73
79
|
{
|
|
@@ -86,7 +92,7 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
86
92
|
icon: "send",
|
|
87
93
|
iconColor: "neutral-gray-400",
|
|
88
94
|
onClick: (t) => {
|
|
89
|
-
t.stopPropagation(),
|
|
95
|
+
t.stopPropagation(), U(e.row.original);
|
|
90
96
|
}
|
|
91
97
|
}),
|
|
92
98
|
l(w.FmButton, {
|
|
@@ -94,17 +100,17 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
94
100
|
icon: "delete",
|
|
95
101
|
iconColor: "neutral-gray-400",
|
|
96
102
|
onClick: (t) => {
|
|
97
|
-
t.stopPropagation(),
|
|
103
|
+
t.stopPropagation(), P(e.row.original);
|
|
98
104
|
}
|
|
99
105
|
})
|
|
100
106
|
]);
|
|
101
107
|
}
|
|
102
108
|
}
|
|
103
|
-
], S = v(),
|
|
104
|
-
async function
|
|
105
|
-
await
|
|
109
|
+
], S = v(), L = v();
|
|
110
|
+
async function P(e) {
|
|
111
|
+
await Z.remove(`Are you sure you want to remove ${e.name}?`) && await F(
|
|
106
112
|
async () => {
|
|
107
|
-
await x.delete(e._id), await
|
|
113
|
+
await x.delete(e._id), await p.read("GAME");
|
|
108
114
|
},
|
|
109
115
|
{
|
|
110
116
|
message: `Removing ${e.name}`,
|
|
@@ -112,24 +118,24 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
112
118
|
}
|
|
113
119
|
);
|
|
114
120
|
}
|
|
115
|
-
async function
|
|
116
|
-
e ? await t() : K.open(async (
|
|
117
|
-
await t(
|
|
121
|
+
async function _(e) {
|
|
122
|
+
e ? await t() : K.open(async (m) => {
|
|
123
|
+
await t(m);
|
|
118
124
|
});
|
|
119
|
-
async function t(
|
|
120
|
-
var
|
|
121
|
-
(
|
|
125
|
+
async function t(m) {
|
|
126
|
+
var d;
|
|
127
|
+
(d = S.value) == null || d.showSheet(
|
|
122
128
|
!0,
|
|
123
129
|
"GAME",
|
|
124
130
|
e ? await x.readById(e._id) : void 0,
|
|
125
|
-
|
|
131
|
+
m
|
|
126
132
|
);
|
|
127
133
|
}
|
|
128
134
|
}
|
|
129
|
-
async function
|
|
135
|
+
async function T(e) {
|
|
130
136
|
await F(
|
|
131
137
|
async () => {
|
|
132
|
-
e.campaign._id ? await x.update(e.campaign._id, e) : await x.create(e), await
|
|
138
|
+
e.campaign._id ? await x.update(e.campaign._id, e) : await x.create(e), await p.read("GAME");
|
|
133
139
|
},
|
|
134
140
|
{
|
|
135
141
|
message: `${e.campaign._id ? "Updating" : "Creating"} game program`,
|
|
@@ -137,32 +143,32 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
137
143
|
}
|
|
138
144
|
);
|
|
139
145
|
}
|
|
140
|
-
function
|
|
146
|
+
function U(e) {
|
|
141
147
|
var t;
|
|
142
|
-
(t =
|
|
148
|
+
(t = L.value) == null || t.showSheet({
|
|
143
149
|
campaign: e
|
|
144
150
|
});
|
|
145
151
|
}
|
|
146
|
-
return
|
|
152
|
+
return O(async () => {
|
|
147
153
|
await M(async () => {
|
|
148
|
-
await
|
|
154
|
+
await p.read("GAME"), await g.readPremium();
|
|
149
155
|
});
|
|
150
156
|
}), (e, t) => {
|
|
151
|
-
const
|
|
152
|
-
return
|
|
153
|
-
s(
|
|
154
|
-
actions: o(
|
|
155
|
-
"onClick:action": t[0] || (t[0] = () =>
|
|
157
|
+
const m = r("FmPill"), d = r("FmPageHead"), V = r("FmSearch"), j = r("FmTable"), A = r("FmButton"), D = r("FmListItem"), H = r("FmList"), N = r("FmCard");
|
|
158
|
+
return f(), C(b, null, [
|
|
159
|
+
s(d, {
|
|
160
|
+
actions: o(y).length > 0 && o(g).isPremium ? [E] : [],
|
|
161
|
+
"onClick:action": t[0] || (t[0] = () => _())
|
|
156
162
|
}, {
|
|
157
163
|
title: h(() => [
|
|
158
|
-
n("div",
|
|
159
|
-
n("span",
|
|
160
|
-
s(
|
|
164
|
+
n("div", ce, [
|
|
165
|
+
n("span", me, u(o(c)("connect.program.game.title")), 1),
|
|
166
|
+
s(m, { variant: "premium" })
|
|
161
167
|
])
|
|
162
168
|
]),
|
|
163
169
|
_: 1
|
|
164
170
|
}, 8, ["actions"]),
|
|
165
|
-
n("div",
|
|
171
|
+
n("div", de, [
|
|
166
172
|
s(V, {
|
|
167
173
|
modelValue: o(i).searchKey,
|
|
168
174
|
"onUpdate:modelValue": t[1] || (t[1] = (a) => o(i).searchKey = a),
|
|
@@ -170,18 +176,18 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
170
176
|
placeholder: "search",
|
|
171
177
|
collapsible: ""
|
|
172
178
|
}, null, 8, ["modelValue"]),
|
|
173
|
-
o(
|
|
174
|
-
n("div",
|
|
179
|
+
o(p).campaigns.token && o(p).campaigns.token.length > 0 ? (f(), C(b, { key: 0 }, [
|
|
180
|
+
n("div", ue, [
|
|
175
181
|
n("div", pe, [
|
|
176
|
-
s(
|
|
182
|
+
s(ne, {
|
|
183
|
+
label: `${o(c)("connect.common.location")}: `,
|
|
184
|
+
"right-icon": "keyboard_arrow_down",
|
|
177
185
|
modelValue: o(i).location,
|
|
178
186
|
"onUpdate:modelValue": t[2] || (t[2] = (a) => o(i).location = a),
|
|
179
|
-
label: "Location: ",
|
|
180
|
-
"show-item-label": !0,
|
|
181
187
|
icon: "storefront",
|
|
182
|
-
|
|
183
|
-
items: o(
|
|
184
|
-
}, null, 8, ["modelValue", "items"])
|
|
188
|
+
"show-item-label": !0,
|
|
189
|
+
items: o(g).locationOptions
|
|
190
|
+
}, null, 8, ["label", "modelValue", "items"])
|
|
185
191
|
]),
|
|
186
192
|
s(V, {
|
|
187
193
|
modelValue: o(i).searchKey,
|
|
@@ -191,43 +197,43 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
191
197
|
collapsible: ""
|
|
192
198
|
}, null, 8, ["modelValue"])
|
|
193
199
|
]),
|
|
194
|
-
s(
|
|
200
|
+
s(j, {
|
|
195
201
|
class: "xs:hidden",
|
|
196
|
-
"row-data": o(
|
|
197
|
-
"column-defs":
|
|
202
|
+
"row-data": o(y),
|
|
203
|
+
"column-defs": I,
|
|
198
204
|
"search-value": o(i).searchKey,
|
|
199
205
|
"column-filter": [],
|
|
200
|
-
onRowClick: t[4] || (t[4] = (a) =>
|
|
201
|
-
"hide-footer": o(
|
|
206
|
+
onRowClick: t[4] || (t[4] = (a) => _(a.original)),
|
|
207
|
+
"hide-footer": o(y).length < 10
|
|
202
208
|
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
203
|
-
s(
|
|
209
|
+
s(H, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
204
210
|
default: h(() => [
|
|
205
|
-
(
|
|
211
|
+
(f(!0), C(b, null, J(o(y).filter(
|
|
206
212
|
(a) => a.name.toLowerCase().includes(o(i).searchKey.toLowerCase())
|
|
207
|
-
), (a) => (
|
|
213
|
+
), (a) => (f(), k(D, {
|
|
208
214
|
key: a._id.toString(),
|
|
209
|
-
onClick: (
|
|
215
|
+
onClick: (B) => _(a),
|
|
210
216
|
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
211
217
|
}, {
|
|
212
218
|
default: h(() => [
|
|
213
|
-
n("div",
|
|
214
|
-
n("div",
|
|
215
|
-
(
|
|
216
|
-
n("div",
|
|
219
|
+
n("div", fe, [
|
|
220
|
+
n("div", ge, [
|
|
221
|
+
(f(), k(Q(o($)(a)))),
|
|
222
|
+
n("div", ye, u(a.currentReceive ?? 0) + " used ", 1)
|
|
217
223
|
]),
|
|
218
|
-
n("div",
|
|
219
|
-
n("div",
|
|
220
|
-
n("div",
|
|
224
|
+
n("div", _e, [
|
|
225
|
+
n("div", he, u(a.name), 1),
|
|
226
|
+
n("div", we, u(o(R)(a)), 1)
|
|
221
227
|
]),
|
|
222
|
-
n("div",
|
|
228
|
+
n("div", xe, u(o(c)("connect.program.game.token_received", {
|
|
223
229
|
count: a.currentReceive ?? 0
|
|
224
230
|
})), 1)
|
|
225
231
|
]),
|
|
226
|
-
s(
|
|
232
|
+
s(A, {
|
|
227
233
|
icon: "delete",
|
|
228
234
|
"icon-color": "neutral-gray-400",
|
|
229
235
|
variant: "tertiary",
|
|
230
|
-
onClick: (
|
|
236
|
+
onClick: (B) => (B.stopPropagation(), P(a))
|
|
231
237
|
}, null, 8, ["onClick"])
|
|
232
238
|
]),
|
|
233
239
|
_: 2
|
|
@@ -235,38 +241,38 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
235
241
|
]),
|
|
236
242
|
_: 1
|
|
237
243
|
})
|
|
238
|
-
], 64)) : (
|
|
244
|
+
], 64)) : (f(), k(N, {
|
|
239
245
|
key: 1,
|
|
240
246
|
variant: "outlined",
|
|
241
247
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
242
248
|
}, {
|
|
243
249
|
default: h(() => [
|
|
244
250
|
t[6] || (t[6] = n("img", {
|
|
245
|
-
src:
|
|
251
|
+
src: W,
|
|
246
252
|
class: "aspect-square w-[150px]"
|
|
247
253
|
}, null, -1)),
|
|
248
|
-
n("div",
|
|
249
|
-
n("div",
|
|
250
|
-
n("div",
|
|
254
|
+
n("div", ve, [
|
|
255
|
+
n("div", Ce, u(o(c)("connect.program.game.empty_state.title")), 1),
|
|
256
|
+
n("div", be, u(o(c)("connect.program.game.empty_state.description")), 1)
|
|
251
257
|
]),
|
|
252
|
-
s(
|
|
258
|
+
s(A, {
|
|
253
259
|
variant: "primary",
|
|
254
260
|
label: "Create game program",
|
|
255
261
|
icon: "add",
|
|
256
|
-
disabled: !o(
|
|
257
|
-
onClick: t[5] || (t[5] = (a) =>
|
|
262
|
+
disabled: !o(g).isPremium,
|
|
263
|
+
onClick: t[5] || (t[5] = (a) => _())
|
|
258
264
|
}, null, 8, ["disabled"])
|
|
259
265
|
]),
|
|
260
266
|
_: 1
|
|
261
267
|
})),
|
|
262
|
-
s(
|
|
268
|
+
s(se, {
|
|
263
269
|
ref_key: "sheetRef",
|
|
264
270
|
ref: S,
|
|
265
|
-
"onSubmit:modelValue":
|
|
271
|
+
"onSubmit:modelValue": T
|
|
266
272
|
}, null, 512),
|
|
267
|
-
s(
|
|
273
|
+
s(le, {
|
|
268
274
|
ref_key: "sendCollectionSheetRef",
|
|
269
|
-
ref:
|
|
275
|
+
ref: L
|
|
270
276
|
}, null, 512)
|
|
271
277
|
])
|
|
272
278
|
], 64);
|
|
@@ -274,5 +280,5 @@ const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-60
|
|
|
274
280
|
}
|
|
275
281
|
});
|
|
276
282
|
export {
|
|
277
|
-
|
|
283
|
+
Te as default
|
|
278
284
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
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 B, 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-
|
|
3
|
-
import "./index-
|
|
2
|
+
import { u as H } from "./vue-i18n-2D47GxQX.js";
|
|
3
|
+
import "./index-Da1qz9oA.js";
|
|
4
4
|
import { useRouter as K } from "vue-router";
|
|
5
|
-
import { u as Q } from "./loading-
|
|
6
|
-
import { f as V, p as X } from "./plugins-
|
|
7
|
-
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Q } from "./loading-CZH88Duq.js";
|
|
6
|
+
import { f as V, p as X } from "./plugins-Z2YcDTj8.js";
|
|
7
|
+
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-P_gNd6ZP.js";
|
|
8
8
|
import { useDialog as ee, useSnackbar as ne, FmButtonVariant as p } from "@feedmepos/ui-library";
|
|
9
|
-
import { r as N } from "./index-
|
|
10
|
-
import { u as ae } from "./reward-
|
|
11
|
-
import { u as oe } from "./business-
|
|
12
|
-
import { u as te } from "./membership-
|
|
13
|
-
import { R as $ } from "./app-
|
|
9
|
+
import { r as N } from "./index-Dve1-uYX.js";
|
|
10
|
+
import { u as ae } from "./reward-G656rbLJ.js";
|
|
11
|
+
import { u as oe } from "./business-BSP_3iNl.js";
|
|
12
|
+
import { u as te } from "./membership-GNRX1fEK.js";
|
|
13
|
+
import { R as $ } from "./app-ja_XST5q.js";
|
|
14
14
|
const re = { class: "space-y-24" }, le = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: /* @__PURE__ */ G([
|
|
@@ -1,16 +1,16 @@
|
|
|
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 } from "./plugins-
|
|
5
|
-
import { u as Q } from "./loading-
|
|
4
|
+
import { p as X } from "./plugins-Z2YcDTj8.js";
|
|
5
|
+
import { u as Q } from "./loading-CZH88Duq.js";
|
|
6
6
|
import { defineStore as W } from "pinia";
|
|
7
|
-
import { F as C } from "./index-
|
|
7
|
+
import { F as C } from "./index-P6ISAxfQ.js";
|
|
8
8
|
import { useCoreStore as Z } from "@feedmepos/mf-common";
|
|
9
|
-
import { g as y, S as ee, b as te } from "./index-
|
|
9
|
+
import { g as y, S as ee, b as te } from "./index-DWBeauin.js";
|
|
10
10
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { u as ae } from "./campaign-
|
|
11
|
+
import { u as ae } from "./campaign-C1hWNRWr.js";
|
|
12
12
|
import { h as oe } from "./moment-D7p2TMB-.js";
|
|
13
|
-
import { u as re } from "./vue-i18n-
|
|
13
|
+
import { u as re } from "./vue-i18n-2D47GxQX.js";
|
|
14
14
|
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", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc" };
|
|
15
15
|
const h = () => {
|
|
16
16
|
const o = ee.getBusinessId();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as L, ref as F, watch as P, resolveComponent as m, openBlock as x, createElementBlock as h, Fragment as R, createElementVNode as b, createVNode as u, unref as n, withCtx as M, renderList as $, createBlock as D, toDisplayString as O, normalizeClass as U, computed as Y, createCommentVNode as q } from "vue";
|
|
2
|
-
import "./index-
|
|
2
|
+
import "./index-Da1qz9oA.js";
|
|
3
3
|
import { useDialogChild as H, FmButtonVariant as S, useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as N } from "./vue-i18n-
|
|
5
|
-
import { c as A } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { u as g, w as j } from "./xlsx-
|
|
4
|
+
import { u as N } from "./vue-i18n-2D47GxQX.js";
|
|
5
|
+
import { c as A } from "./index-COoQSeE7.js";
|
|
6
|
+
import "./index-zyVYgteg.js";
|
|
7
|
+
import "./index-BJl_HxaB.js";
|
|
8
|
+
import "./index-P6ISAxfQ.js";
|
|
9
|
+
import "./index-BBi9jDD1.js";
|
|
10
|
+
import { u as g, w as j } from "./xlsx-BEk5qawh.js";
|
|
11
11
|
import { F as z } from "./FileSaver.min-NlMItPOc.js";
|
|
12
12
|
import { useCoreStore as G } from "@feedmepos/mf-common";
|
|
13
13
|
import { useRouter as W } from "vue-router";
|
|
14
|
-
import { m as I } from "./index-
|
|
15
|
-
import { R as E } from "./app-
|
|
14
|
+
import { m as I } from "./index-C6fpU8-G.js";
|
|
15
|
+
import { R as E } from "./app-ja_XST5q.js";
|
|
16
16
|
const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: /* @__PURE__ */ U([
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { defineComponent as be, computed as H, ref as G, resolveComponent as V, openBlock as p, createElementBlock as A, Fragment as q, createElementVNode as n, unref as t, createBlock as R, createCommentVNode as ce, createVNode as _, renderList as ie, withCtx as xe, createTextVNode as Fe, toDisplayString as $, withDirectives as Re, vShow as Ue, watch as Le, onBeforeMount as rt, h as K, onMounted as ze, isRef as st, normalizeClass as it } from "vue";
|
|
2
2
|
import { h as S } from "./moment-D7p2TMB-.js";
|
|
3
3
|
import { useDialog as Ee, components as ve } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as lt, M as ct } from "./email-addresses-
|
|
5
|
-
import { w as dt } from "./xlsx-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import { u as Ve, C as De, s as mt } from "./membership-
|
|
9
|
-
import { c as ut } from "./index-
|
|
4
|
+
import { e as lt, M as ct } from "./email-addresses-BLVkwSkP.js";
|
|
5
|
+
import { w as dt } from "./xlsx-BEk5qawh.js";
|
|
6
|
+
import "./index-Da1qz9oA.js";
|
|
7
|
+
import "./index-sFyvCun2.js";
|
|
8
|
+
import { u as Ve, C as De, s as mt } from "./membership-GNRX1fEK.js";
|
|
9
|
+
import { c as ut } from "./index-DWBeauin.js";
|
|
10
10
|
import { _ as Ne } from "./lodash-B5I3zXaY.js";
|
|
11
11
|
import { D as pt } from "./type_drinks-D6jnpvwV.js";
|
|
12
|
-
import { d as ft, e as bt, f as yt, g as gt, h as vt } from "./index-
|
|
13
|
-
import { p as Ye, c as Pe, b as Oe } from "./plugins-
|
|
14
|
-
import { u as je } from "./loading-
|
|
15
|
-
import { C as Ae } from "./collection.fn-
|
|
12
|
+
import { d as ft, e as bt, f as yt, g as gt, h as vt } from "./index-COoQSeE7.js";
|
|
13
|
+
import { p as Ye, c as Pe, b as Oe } from "./plugins-Z2YcDTj8.js";
|
|
14
|
+
import { u as je } from "./loading-CZH88Duq.js";
|
|
15
|
+
import { C as Ae } from "./collection.fn-D03AXdUn.js";
|
|
16
16
|
import { defineStore as xt } from "pinia";
|
|
17
|
-
import { u as qe } from "./business-
|
|
18
|
-
import { f as ee } from "./number-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./index-
|
|
17
|
+
import { u as qe } from "./business-BSP_3iNl.js";
|
|
18
|
+
import { f as ee } from "./number-CAjqc2Pu.js";
|
|
19
|
+
import "./index-zyVYgteg.js";
|
|
20
|
+
import "./index-BJl_HxaB.js";
|
|
21
|
+
import "./index-P6ISAxfQ.js";
|
|
22
|
+
import "./index-BBi9jDD1.js";
|
|
23
23
|
import { s as ht } from "./index-CuvNtC_M.js";
|
|
24
24
|
import { u as Ke, _ as Ge } from "./usePagination-Ds-cuHop.js";
|
|
25
|
-
import { B as _t, e as St } from "./export-
|
|
26
|
-
import { m as Me } from "./index-
|
|
25
|
+
import { B as _t, e as St } from "./export-DOfDownW.js";
|
|
26
|
+
import { m as Me } from "./index-DTnzjEWu.js";
|
|
27
27
|
import { o as Ce } from "./objectId-dwaoBfJX.js";
|
|
28
|
-
import { F as ke } from "./collectible.enum-
|
|
29
|
-
import { g as Ct, b as wt } from "./campaign-
|
|
28
|
+
import { F as ke } from "./collectible.enum-BRkrN4Bi.js";
|
|
29
|
+
import { g as Ct, b as wt } from "./campaign-DMZnXtyb.js";
|
|
30
30
|
import { useRouter as He } from "vue-router";
|
|
31
|
-
import { m as le } from "./index-
|
|
32
|
-
import { t as Ft } from "./index-
|
|
33
|
-
import { R as We } from "./app-
|
|
34
|
-
import { t as Mt } from "./money-
|
|
35
|
-
import { g as Tt, a as kt, b as At } from "./user-
|
|
31
|
+
import { m as le } from "./index-C6fpU8-G.js";
|
|
32
|
+
import { t as Ft } from "./index-Bp8F6U9V.js";
|
|
33
|
+
import { R as We } from "./app-ja_XST5q.js";
|
|
34
|
+
import { t as Mt } from "./money-Xe5mDYRC.js";
|
|
35
|
+
import { g as Tt, a as kt, b as At } from "./user-BZc_OAUj.js";
|
|
36
36
|
const Et = { class: "flex flex-col" }, Vt = { key: 1 }, It = { class: "flex flex-nowrap gap-4 items-center my-[-4px]" }, $t = { class: "flex flex-nowrap gap-8 items-center pt-24 w-full" }, Bt = /* @__PURE__ */ be({
|
|
37
37
|
__name: "MemberStatsDialog",
|
|
38
38
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, ref as p, resolveComponent as _, openBlock as a, createElementBlock as f, createVNode as v, unref as o, createBlock as u, createCommentVNode as b } from "vue";
|
|
2
|
-
import { _ as k, a as x } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as k, a as x } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-PrFhYJXc.js";
|
|
3
3
|
import { useRouter as y } from "vue-router";
|
|
4
4
|
const C = { class: "flex flex-col gap-y-32 pb-24" }, F = /* @__PURE__ */ d({
|
|
5
5
|
__name: "MemberTransactions",
|
|
@@ -3,18 +3,18 @@ var wg = (n, i, e) => i in n ? pg(n, i, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var h = (n, i, e) => wg(n, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import * as sl from "vue";
|
|
5
5
|
import { defineComponent as Ji, shallowRef as _g, openBlock as _e, createElementBlock as Zt, normalizeStyle as bg, ref as ke, resolveComponent as Be, createBlock as wt, unref as oe, isRef as ia, withCtx as nt, createVNode as Ce, createElementVNode as ye, createCommentVNode as Sn, withDirectives as rl, vShow as ol, mergeModels as al, useModel as vg, watch as ll, onMounted as na, markRaw as yg, onBeforeUnmount as kg, resolveDynamicComponent as Eg, version as Tg, computed as Is, toDisplayString as Ph, Fragment as go, renderList as Sh, createTextVNode as cl, normalizeClass as Cg } from "vue";
|
|
6
|
-
import { p as xg } from "./plugins-
|
|
7
|
-
import { B as Ag } from "./index-
|
|
8
|
-
import "./index-
|
|
6
|
+
import { p as xg } from "./plugins-Z2YcDTj8.js";
|
|
7
|
+
import { B as Ag } from "./index-COoQSeE7.js";
|
|
8
|
+
import "./index-sFyvCun2.js";
|
|
9
9
|
import { _ as Ig } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { _ as Pg, S as Sg } from "./LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js";
|
|
11
11
|
import { c as Mg } from "./object-qECH92oz.js";
|
|
12
12
|
import { useCoreStore as Rg } from "@feedmepos/mf-common";
|
|
13
|
-
import { u as Og } from "./membership-
|
|
14
|
-
import { u as Bg } from "./loading-
|
|
15
|
-
import { S as ys } from "./index-
|
|
13
|
+
import { u as Og } from "./membership-GNRX1fEK.js";
|
|
14
|
+
import { u as Bg } from "./loading-CZH88Duq.js";
|
|
15
|
+
import { S as ys } from "./index-DWBeauin.js";
|
|
16
16
|
import { useSnackbar as Vg } from "@feedmepos/ui-library";
|
|
17
|
-
import { m as Lg } from "./index-
|
|
17
|
+
import { m as Lg } from "./index-DTnzjEWu.js";
|
|
18
18
|
const Mh = {
|
|
19
19
|
"user.name": {
|
|
20
20
|
name: "User name"
|