@feedmepos/mf-connect 0.1.0-beta.46 → 0.1.0-beta.48
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-FUBu9S3z.js → Analytic-BiWBlCjy.js} +18 -17
- package/dist/{App-BTwI4KZc.js → App-D0EdXXhP.js} +10 -6
- package/dist/AuditLogs-B2Nld9Po.js +1856 -0
- package/dist/{Broadcast--MGo_2gm.js → Broadcast-D4PumMOO.js} +36 -35
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C32eEMKS.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D5IhdwKy.js} +6 -6
- package/dist/{Card-_lhnaxgB.js → Card-B8r77l_c.js} +23 -21
- package/dist/{Collections-0tY22bQ1.js → Collections-DkNX0ENB.js} +11 -9
- package/dist/{Credit-C8TFWJfJ.js → Credit-us-DaVK_.js} +11 -10
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-CLFeMi0j.js +169 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CAmn-C0f.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DuE9a4wa.js} +28 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BbWefC0X.js → EffectSheet.vue_vue_type_style_index_0_lang-DSPI2sPl.js} +6 -6
- package/dist/{Experience-B2Cs3kV_.js → Experience-B5xBVt9X.js} +26 -25
- package/dist/{Game-BjMEeTcC.js → Game-DZQngWps.js} +14 -13
- package/dist/{Index-CXenbxDR.js → Index-D6G1bPFk.js} +14 -13
- package/dist/{Marketing-sjviUACc.js → Marketing-BgVsJdkB.js} +8 -7
- package/dist/{Member-DhCu_i2m.js → Member-Cm0Dh1__.js} +4 -4
- package/dist/MemberList--liSD7XA.js +1598 -0
- package/dist/{MemberTransactions-JdAgL9A7.js → MemberTransactions-BBbIbY5M.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CWPPhyDI.js → MessageInput.vue_vue_type_script_setup_true_lang-B41VEr7k.js} +2 -2
- package/dist/{Mission-D96V1W9h.js → Mission-BjwPhMvr.js} +14 -13
- package/dist/{Overview-CtFzt4nG.js → Overview-ChHHbxMZ.js} +19 -18
- package/dist/{Point-DKS6TqWo.js → Point-DJOghScx.js} +11 -10
- package/dist/{Promotion-BNCoCICl.js → Promotion-CfaXu_lI.js} +16 -15
- package/dist/{Record-CWFW3doO.js → Record-Jgfc7mJg.js} +18 -16
- package/dist/{Reward--6seDEv8.js → Reward-AOM8CBLj.js} +33 -32
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dmcr0wNX.js → RewardGroup.vue_vue_type_script_setup_true_lang-C8FwIGwQ.js} +13 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BQos5vSk.js → RuleGroup.vue_vue_type_script_setup_true_lang-BKZdKB1T.js} +12 -12
- package/dist/{Segment-Cr89cfvW.js → Segment-duLNRLE3.js} +19 -17
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-C68x3EHV.js → SelectItems.vue_vue_type_script_setup_true_lang-DjdIb54T.js} +2 -2
- package/dist/{Setting-OPJw2EOa.js → Setting-O8ZQpi95.js} +131 -130
- package/dist/{Store-Chjs-gWh.js → Store-Dhec11BC.js} +24 -23
- package/dist/{StoreRewards-CaY3y82T.js → StoreRewards-B4wePYvY.js} +33 -32
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-DbD2wugh.js +939 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Cs6aAcMz.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BNUxrEoR.js} +1 -1
- package/dist/{Tier-Dwf5hrcP.js → Tier-DZpvxsfn.js} +21 -20
- package/dist/{Title-Czj0Sokt.js → Title-3QqFZn_-.js} +28 -27
- package/dist/{Transaction-Do4zlaUZ.js → Transaction-B5iZ4MUu.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-D0SOq2Cy.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CQQ5HcAZ.js} +6 -6
- package/dist/{Voucher-DJ1JeAEz.js → Voucher-B-q9fB-f.js} +14 -13
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-kgipRx1E.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DL0eVHb3.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DK1RrLmn.js → ZodTextField.vue_vue_type_script_setup_true_lang-Deg2sdGO.js} +1 -1
- package/dist/{app-DDx8sR9s.js → app-3eroteiC.js} +1 -1
- package/dist/{app-Do17XyvO.js → app-BCsc9J-D.js} +121 -57
- package/dist/app.js +1 -1
- package/dist/{business-GwBNossl.js → business-Cp6db6DR.js} +1 -1
- package/dist/{campaign-G12OoMgD.js → campaign-BOGJy7S9.js} +2 -2
- package/dist/{campaign-4wHri0ck.js → campaign-D2yrg-Er.js} +9 -9
- package/dist/{campaign.enum-CWktQS4a.js → campaign.enum-CwF2Ajv3.js} +1 -1
- package/dist/{campaign.fn-C6hLLBEd.js → campaign.fn-Bp-ZzEJT.js} +41 -41
- package/dist/{collectible.enum-C0cNljB-.js → collectible.enum-B-71aP1r.js} +1 -1
- package/dist/{collection.fn-DXmHST47.js → collection.fn-DjSa_nTr.js} +2 -2
- package/dist/{dto-g42KsPJu.js → dto-LDNtfFmE.js} +4 -4
- package/dist/{effect-B_WAysaq.js → effect-BmYqIMsW.js} +1 -1
- package/dist/{email-addresses-DNx5SUjl.js → email-addresses-Di8hCXyI.js} +1 -1
- package/dist/{export-BVs2zCzA.js → export-DycH87nL.js} +5 -5
- package/dist/{helper-BYXE9o8R.js → helper-DFhx_pcj.js} +1 -1
- package/dist/{index-DrskJU4Z.js → index-BCbMOBB8.js} +101 -56
- package/dist/{index-BhDVH8vT.js → index-CpKBy2gq.js} +1 -1
- package/dist/{index-De9k8fnO.js → index-D0RI_RQG.js} +16 -5
- package/dist/{index-7Ua3jDRI.js → index-DHA2afdR.js} +1 -1
- package/dist/{index-BYKVuJLF.js → index-D_JGs1_m.js} +1 -1
- package/dist/{index-DQE4ktDO.js → index-DmF2UyFL.js} +1 -1
- package/dist/{index-D_Z1FCNe.js → index-Dvwi4GLz.js} +2 -2
- package/dist/{index-C7D5DHJq.js → index-Dw6vcUmt.js} +1 -1
- package/dist/{index-jNeR4MKb.js → index-EjX7PzTR.js} +3 -3
- package/dist/{index-BoQMvGk2.js → index-JDxeUUHy.js} +5 -5
- package/dist/{index-D1Ss53VQ.js → index-gsJpOkBA.js} +1 -1
- package/dist/{index-2BYEkY-x.js → index-zGjFnt2i.js} +4 -4
- package/dist/{index.esm2017-6PxeTVni.js → index.esm2017-Bx1gO_wH.js} +33 -33
- package/dist/loading-CkL5IkHw.js +100 -0
- package/dist/{membership-B8Ts8Dgq.js → membership-Bsr6Cvle.js} +3 -3
- package/dist/{money-CajYT1U_.js → money-DUBsxwt7.js} +1 -1
- package/dist/{number-DnQECWbC.js → number-D7RIsT0N.js} +1 -1
- package/dist/objectid-B-fcFN1Q.js +145 -0
- package/dist/{loading-CpdyLYxO.js → plugins-Dr9LdRza.js} +3764 -3860
- package/dist/{reward-BeIbbggX.js → reward-BkXDV7ND.js} +1 -1
- package/dist/{rule-BkWJ0Pz8.js → rule-Bq8z_m5L.js} +3 -3
- package/dist/{rule-builder-BKSDbKLq.js → rule-builder-BpUdiP64.js} +1 -1
- package/dist/{template-COxQB5fi.js → template-CKiPP35H.js} +4 -4
- package/dist/{trigger-WQCb5b4r.js → trigger-DCJmo6Nw.js} +4 -4
- package/dist/usePagination-BeF5K3M7.js +223 -0
- package/dist/{user-D-irYIrP.js → user-CjCy_BYx.js} +1 -1
- package/dist/{vue-i18n-BYw4xlLJ.js → vue-i18n-36uLpBY2.js} +326 -326
- package/dist/{usePagination-C4qRAmFC.js → xlsx-C7gDU4gE.js} +2962 -3183
- package/package.json +2 -1
- package/dist/MemberList-BgqTRkpc.js +0 -1554
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BLhLIubz.js +0 -1099
- package/dist/objectid-B7lDV6cM.js +0 -145
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as P, ref as R, onMounted as Q, computed as H, resolveComponent as y, openBlock as s, createElementBlock as x, renderSlot as W, toDisplayString as A, createCommentVNode as v, createBlock as f, unref as e, isRef as q, createVNode as b, normalizeClass as G, watch as X, withCtx as F, resolveDynamicComponent as D, Fragment as _, createElementVNode as h, createTextVNode as ee } from "vue";
|
|
2
|
-
import { z as te } from "./app-
|
|
2
|
+
import { z as te } from "./app-BCsc9J-D.js";
|
|
3
3
|
import { Z as u } from "./zod-Bg2FbC-D.js";
|
|
4
|
-
import { f as le, g as oe } from "./index-
|
|
5
|
-
import { u as Z } from "./vue-i18n-
|
|
6
|
-
import { s as O } from "./effect-
|
|
7
|
-
import { p as ae } from "./
|
|
8
|
-
import { I as ne } from "./app-
|
|
4
|
+
import { f as le, g as oe } from "./index-Dvwi4GLz.js";
|
|
5
|
+
import { u as Z } from "./vue-i18n-36uLpBY2.js";
|
|
6
|
+
import { s as O } from "./effect-BmYqIMsW.js";
|
|
7
|
+
import { p as ae } from "./plugins-Dr9LdRza.js";
|
|
8
|
+
import { I as ne } from "./app-3eroteiC.js";
|
|
9
9
|
const ie = { class: "flex flex-col gap-8" }, se = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "fm-typo-en-body-lg-600"
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as D, ref as S, computed as E, onMounted as U, resolveComponent as
|
|
1
|
+
import { defineComponent as D, ref as S, computed as E, onMounted as U, resolveComponent as c, openBlock as m, createElementBlock as _, Fragment as x, createVNode as i, unref as t, createElementVNode as n, withCtx as h, renderList as j, createBlock as w, resolveDynamicComponent as M, toDisplayString as p, h as H } from "vue";
|
|
2
2
|
import { _ as q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as z, components as G } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { p as J } from "./plugins-Dr9LdRza.js";
|
|
5
|
+
import { u as Q } from "./loading-CkL5IkHw.js";
|
|
6
|
+
import { u as W } from "./business-Cp6db6DR.js";
|
|
7
|
+
import { u as X } from "./campaign-BOGJy7S9.js";
|
|
8
|
+
import { g as L, a as V } from "./campaign-D2yrg-Er.js";
|
|
9
|
+
import { u as Y } from "./vue-i18n-36uLpBY2.js";
|
|
9
10
|
import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as te } from "./template-
|
|
12
|
-
import { c as g } from "./index-
|
|
13
|
-
const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-center justify-between w-full" }, ne = { class: "flex gap-8 overflow-x-auto" }, se = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" },
|
|
11
|
+
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DuE9a4wa.js";
|
|
12
|
+
import { u as te } from "./template-CKiPP35H.js";
|
|
13
|
+
import { c as g } from "./index-CpKBy2gq.js";
|
|
14
|
+
const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-center justify-between w-full" }, ne = { class: "flex gap-8 overflow-x-auto" }, se = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "space-y-4" }, le = { class: "fm-typo-en-body-lg-600" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "flex flex-col gap-16 text-center" }, ue = { class: "fm-typo-en-title-sm-800" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ie = /* @__PURE__ */ D({
|
|
14
15
|
__name: "Experience",
|
|
15
16
|
setup(ye) {
|
|
16
17
|
const { t: s } = Y(), I = {
|
|
@@ -20,7 +21,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
20
21
|
value: "create",
|
|
21
22
|
isPrimary: !0,
|
|
22
23
|
prependIcon: "add"
|
|
23
|
-
}, P = te("POINT", z()), B = W(), l = X(), { global: T, minor: v } =
|
|
24
|
+
}, P = te("POINT", z()), B = W(), l = X(), { global: T, minor: v } = Q, r = S({
|
|
24
25
|
searchKey: "",
|
|
25
26
|
location: null
|
|
26
27
|
}), f = E(
|
|
@@ -58,7 +59,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
58
59
|
}
|
|
59
60
|
], b = S();
|
|
60
61
|
async function C(e) {
|
|
61
|
-
await
|
|
62
|
+
await J.remove(`Are you sure you want to remove ${e.name}?`) && await v(
|
|
62
63
|
async () => {
|
|
63
64
|
await g.delete(e._id), await l.read("POINT");
|
|
64
65
|
},
|
|
@@ -103,15 +104,15 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
103
104
|
await l.read("POINT");
|
|
104
105
|
});
|
|
105
106
|
}), (e, o) => {
|
|
106
|
-
const d =
|
|
107
|
+
const d = c("FmPageHead"), u = c("FmSearch"), R = c("FmTable"), F = c("FmButton"), $ = c("FmListItem"), O = c("FmList"), A = c("FmCard");
|
|
107
108
|
return m(), _(x, null, [
|
|
108
|
-
|
|
109
|
+
i(d, {
|
|
109
110
|
title: t(s)("connect.program.experience.title"),
|
|
110
111
|
actions: t(f).length > 0 ? [I] : [],
|
|
111
112
|
"onClick:action": o[0] || (o[0] = () => y())
|
|
112
113
|
}, null, 8, ["title", "actions"]),
|
|
113
114
|
n("div", oe, [
|
|
114
|
-
|
|
115
|
+
i(u, {
|
|
115
116
|
modelValue: t(r).searchKey,
|
|
116
117
|
"onUpdate:modelValue": o[1] || (o[1] = (a) => t(r).searchKey = a),
|
|
117
118
|
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
@@ -121,7 +122,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
121
122
|
t(l).campaigns.experience && t(l).campaigns.experience.length > 0 ? (m(), _(x, { key: 0 }, [
|
|
122
123
|
n("div", ae, [
|
|
123
124
|
n("div", ne, [
|
|
124
|
-
|
|
125
|
+
i(Z, {
|
|
125
126
|
modelValue: t(r).location,
|
|
126
127
|
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(r).location = a),
|
|
127
128
|
label: "Location: ",
|
|
@@ -131,7 +132,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
131
132
|
items: t(B).locationItems
|
|
132
133
|
}, null, 8, ["modelValue", "items"])
|
|
133
134
|
]),
|
|
134
|
-
|
|
135
|
+
i(u, {
|
|
135
136
|
modelValue: t(r).searchKey,
|
|
136
137
|
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(r).searchKey = a),
|
|
137
138
|
class: "xs:hidden",
|
|
@@ -139,7 +140,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
139
140
|
collapsible: ""
|
|
140
141
|
}, null, 8, ["modelValue"])
|
|
141
142
|
]),
|
|
142
|
-
|
|
143
|
+
i(R, {
|
|
143
144
|
class: "xs:hidden",
|
|
144
145
|
"row-data": t(f),
|
|
145
146
|
"column-defs": K,
|
|
@@ -148,7 +149,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
148
149
|
onRowClick: o[4] || (o[4] = (a) => y(a.original)),
|
|
149
150
|
"hide-footer": t(f).length < 10
|
|
150
151
|
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
151
|
-
|
|
152
|
+
i(O, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
152
153
|
default: h(() => [
|
|
153
154
|
(m(!0), _(x, null, j(t(f).filter(
|
|
154
155
|
(a) => a.name.toLowerCase().includes(t(r).searchKey.toLowerCase())
|
|
@@ -161,9 +162,9 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
161
162
|
n("div", se, [
|
|
162
163
|
n("div", re, [
|
|
163
164
|
(m(), w(M(t(L)(a)))),
|
|
164
|
-
n("div",
|
|
165
|
+
n("div", ie, p(a.currentReceive ?? 0) + " used ", 1)
|
|
165
166
|
]),
|
|
166
|
-
n("div",
|
|
167
|
+
n("div", ce, [
|
|
167
168
|
n("div", le, p(a.name), 1),
|
|
168
169
|
n("div", me, p(t(V)(a)), 1)
|
|
169
170
|
]),
|
|
@@ -171,7 +172,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
171
172
|
count: a.currentReceive ?? 0
|
|
172
173
|
})), 1)
|
|
173
174
|
]),
|
|
174
|
-
|
|
175
|
+
i(F, {
|
|
175
176
|
icon: "delete",
|
|
176
177
|
"icon-color": "neutral-gray-400",
|
|
177
178
|
variant: "tertiary",
|
|
@@ -197,7 +198,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
197
198
|
n("div", ue, p(t(s)("connect.program.experience.empty_state.title")), 1),
|
|
198
199
|
n("div", fe, p(t(s)("connect.program.experience.empty_state.description")), 1)
|
|
199
200
|
]),
|
|
200
|
-
|
|
201
|
+
i(F, {
|
|
201
202
|
variant: "primary",
|
|
202
203
|
label: "Create experience program",
|
|
203
204
|
icon: "add",
|
|
@@ -206,7 +207,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
206
207
|
]),
|
|
207
208
|
_: 1
|
|
208
209
|
})),
|
|
209
|
-
|
|
210
|
+
i(ee, {
|
|
210
211
|
ref_key: "sheetRef",
|
|
211
212
|
ref: b,
|
|
212
213
|
"onSubmit:modelValue": N
|
|
@@ -217,5 +218,5 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
|
|
|
217
218
|
}
|
|
218
219
|
});
|
|
219
220
|
export {
|
|
220
|
-
|
|
221
|
+
Ie as default
|
|
221
222
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { defineComponent as D, ref as A, computed as H, onMounted as N, resolveComponent as r, openBlock as d, createElementBlock as x, Fragment as v, createVNode as i, unref as o, withCtx as h, createElementVNode as n, toDisplayString as l, renderList as q, createBlock as b, resolveDynamicComponent as z, h as p } from "vue";
|
|
2
2
|
import { _ as J } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as O, components as C } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
4
|
+
import { c as Q, p as W } from "./plugins-Dr9LdRza.js";
|
|
5
|
+
import { u as X } from "./loading-CkL5IkHw.js";
|
|
6
|
+
import { u as Y } from "./business-Cp6db6DR.js";
|
|
7
|
+
import { u as Z } from "./campaign-BOGJy7S9.js";
|
|
8
|
+
import { g as B, a as $ } from "./campaign-D2yrg-Er.js";
|
|
8
9
|
import { _ as ee } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as oe } from "./template-
|
|
11
|
-
import { u as ae } from "./vue-i18n-
|
|
12
|
-
import { c as w } from "./index-
|
|
13
|
-
const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, ie = { class: "px-24 flex flex-col gap-y-16" }, re = { class: "flex items-center justify-between w-full" }, le = { class: "flex gap-8 overflow-x-auto" }, ce = { class: "space-y-8" }, me = { class: "flex w-full gap-4 items-center" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "space-y-4" }, ue = { class: "fm-typo-en-body-lg-600" }, fe = { 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" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
10
|
+
import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DuE9a4wa.js";
|
|
11
|
+
import { u as oe } from "./template-CKiPP35H.js";
|
|
12
|
+
import { u as ae } from "./vue-i18n-36uLpBY2.js";
|
|
13
|
+
import { c as w } from "./index-CpKBy2gq.js";
|
|
14
|
+
const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, ie = { class: "px-24 flex flex-col gap-y-16" }, re = { class: "flex items-center justify-between w-full" }, le = { class: "flex gap-8 overflow-x-auto" }, ce = { class: "space-y-8" }, me = { class: "flex w-full gap-4 items-center" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "space-y-4" }, ue = { class: "fm-typo-en-body-lg-600" }, fe = { 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" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ee = /* @__PURE__ */ D({
|
|
14
15
|
__name: "Game",
|
|
15
16
|
setup(we) {
|
|
16
17
|
const { t: c } = ae(), E = {
|
|
@@ -20,7 +21,7 @@ const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-60
|
|
|
20
21
|
value: "create",
|
|
21
22
|
isPrimary: !0,
|
|
22
23
|
prependIcon: "add"
|
|
23
|
-
}, K = oe("GAME", O()), f = Y(), m = Z(), { global: M, minor: k } =
|
|
24
|
+
}, K = oe("GAME", O()), f = Y(), m = Z(), { global: M, minor: k } = X, s = A({
|
|
24
25
|
searchKey: "",
|
|
25
26
|
location: null
|
|
26
27
|
}), g = H(
|
|
@@ -40,7 +41,7 @@ const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-60
|
|
|
40
41
|
{
|
|
41
42
|
content: e.row.original._id,
|
|
42
43
|
onClick: (t) => {
|
|
43
|
-
t.stopPropagation(),
|
|
44
|
+
t.stopPropagation(), Q(e.row.original._id);
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
[
|
|
@@ -89,7 +90,7 @@ const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-60
|
|
|
89
90
|
}
|
|
90
91
|
], F = A();
|
|
91
92
|
async function S(e) {
|
|
92
|
-
await
|
|
93
|
+
await W.remove(`Are you sure you want to remove ${e.name}?`) && await k(
|
|
93
94
|
async () => {
|
|
94
95
|
await w.delete(e._id), await m.read("GAME");
|
|
95
96
|
},
|
|
@@ -251,5 +252,5 @@ const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-60
|
|
|
251
252
|
}
|
|
252
253
|
});
|
|
253
254
|
export {
|
|
254
|
-
|
|
255
|
+
Ee as default
|
|
255
256
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { defineComponent as U, ref as g, watch as O, onMounted as N, resolveComponent as c, openBlock as b, createBlock as j, withCtx as P, createTextVNode as z, createElementVNode as d, createVNode as o, unref as e, createElementBlock as F, createCommentVNode as W, toDisplayString as I, normalizeClass as G, computed as $, 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-36uLpBY2.js";
|
|
3
|
+
import "./index-gsJpOkBA.js";
|
|
4
4
|
import { useRouter as K } from "vue-router";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { u as Q } from "./loading-CkL5IkHw.js";
|
|
6
|
+
import { f as V, p as X } from "./plugins-Dr9LdRza.js";
|
|
7
|
+
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-C8FwIGwQ.js";
|
|
7
8
|
import { useDialog as ee, useSnackbar as ae, FmButtonVariant as p } from "@feedmepos/ui-library";
|
|
8
|
-
import { r as L } from "./index-
|
|
9
|
-
import { u as ne } from "./reward-
|
|
10
|
-
import { u as oe } from "./business-
|
|
11
|
-
import { u as te } from "./membership-
|
|
12
|
-
import { R as S } from "./app-
|
|
9
|
+
import { r as L } from "./index-D_JGs1_m.js";
|
|
10
|
+
import { u as ne } from "./reward-BkXDV7ND.js";
|
|
11
|
+
import { u as oe } from "./business-Cp6db6DR.js";
|
|
12
|
+
import { u as te } from "./membership-Bsr6Cvle.js";
|
|
13
|
+
import { R as S } from "./app-BCsc9J-D.js";
|
|
13
14
|
const re = { class: "space-y-24" }, le = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: /* @__PURE__ */ G([
|
|
@@ -34,7 +35,7 @@ const re = { class: "space-y-24" }, le = {
|
|
|
34
35
|
setup(B, { emit: T }) {
|
|
35
36
|
const y = B;
|
|
36
37
|
ee();
|
|
37
|
-
const i = ae(), { t: s } = H(), l = Y(), { minor: _ } =
|
|
38
|
+
const i = ae(), { t: s } = H(), l = Y(), { minor: _ } = Q, u = g(!1), k = T, t = g(null), w = g(null);
|
|
38
39
|
async function x() {
|
|
39
40
|
if (!t.value) {
|
|
40
41
|
i.open({
|
|
@@ -58,7 +59,7 @@ const re = { class: "space-y-24" }, le = {
|
|
|
58
59
|
);
|
|
59
60
|
}
|
|
60
61
|
async function h() {
|
|
61
|
-
await
|
|
62
|
+
await X.confirm(
|
|
62
63
|
"Are you sure you want to remove the term and condition?"
|
|
63
64
|
) && _(
|
|
64
65
|
async () => {
|
|
@@ -173,7 +174,7 @@ const re = { class: "space-y-24" }, le = {
|
|
|
173
174
|
}, 8, ["model-value"]);
|
|
174
175
|
};
|
|
175
176
|
}
|
|
176
|
-
}), me = { 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" },
|
|
177
|
+
}), me = { 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" }, xe = /* @__PURE__ */ U({
|
|
177
178
|
__name: "Index",
|
|
178
179
|
setup(B) {
|
|
179
180
|
const T = ne(), y = g(null), { t: i } = H(), s = K(), l = g(!1), _ = oe(), u = te(), k = $(() => _.isPremium ? [
|
|
@@ -251,5 +252,5 @@ const re = { class: "space-y-24" }, le = {
|
|
|
251
252
|
}
|
|
252
253
|
});
|
|
253
254
|
export {
|
|
254
|
-
|
|
255
|
+
xe as default
|
|
255
256
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { ref as gt, reactive as he, defineComponent as bt, mergeModels as Lt, useModel as Dt, onMounted as Gt, resolveComponent as ft, openBlock as Q, createBlock as vt, withCtx as pt, createElementVNode as Y, createVNode as ot, unref as X, createElementBlock as ut, Fragment as xt, renderList as Ot, normalizeClass as kt, toDisplayString as Tt, Transition as ce, withDirectives as wt, renderSlot as ee, vShow as Pt, isRef as At, computed as Ct, watch as jt, resolveDirective as ue, createTextVNode as Kt, vModelText as te, createCommentVNode as Et, nextTick as fe, normalizeStyle as Ft, createStaticVNode as de, h as ge } from "vue";
|
|
2
2
|
import { _ as me } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useSnackbar as Nt, useDialog as pe, components as ve } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
4
|
+
import { p as ye } from "./plugins-Dr9LdRza.js";
|
|
5
|
+
import { u as ie } from "./loading-CkL5IkHw.js";
|
|
5
6
|
import { defineStore as _e } from "pinia";
|
|
6
|
-
import { F as $t } from "./index-
|
|
7
|
+
import { F as $t } from "./index-DmF2UyFL.js";
|
|
7
8
|
import { useCoreStore as Jt } from "@feedmepos/mf-common";
|
|
8
|
-
import { g as Wt, S as ne, b as Ce, r as qt } from "./index-
|
|
9
|
+
import { g as Wt, S as ne, b as Ce, r as qt } from "./index-EjX7PzTR.js";
|
|
9
10
|
import { _ as xe } from "./ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js";
|
|
10
11
|
import { Y as Yt } from "./remy-vue-client-Cpppk9h-.js";
|
|
11
12
|
import { s as re, c as zt } from "./index-CsaQJMAR.js";
|
|
12
|
-
import { u as se } from "./campaign-
|
|
13
|
+
import { u as se } from "./campaign-BOGJy7S9.js";
|
|
13
14
|
import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
import { h as Se } from "./moment-BWErdI6_.js";
|
|
15
|
-
import { u as we } from "./vue-i18n-
|
|
16
|
+
import { u as we } from "./vue-i18n-36uLpBY2.js";
|
|
16
17
|
var Te = { 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", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
|
|
17
18
|
const Vt = () => {
|
|
18
19
|
const P = ne.getBusinessId();
|
|
@@ -19890,7 +19891,7 @@ const si = { key: 1 }, ai = { class: "w-full" }, Rt = /* @__PURE__ */ bt({
|
|
|
19890
19891
|
}, 8, ["model-value"]);
|
|
19891
19892
|
};
|
|
19892
19893
|
}
|
|
19893
|
-
}), bn = { class: "px-24 flex flex-col gap-y-16" }, Sn = { class: "flex items-center justify-between w-full" }, wn = { class: "space-y-8" }, Tn = { class: "fm-typo-en-body-lg-600" }, On = { class: "fm-typo-en-body-lg-600" }, kn = { key: 0 }, Pn = { class: "fm-typo-en-title-sm-800" }, En = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary w-4/6 text-center" },
|
|
19894
|
+
}), bn = { class: "px-24 flex flex-col gap-y-16" }, Sn = { class: "flex items-center justify-between w-full" }, wn = { class: "space-y-8" }, Tn = { class: "fm-typo-en-body-lg-600" }, On = { class: "fm-typo-en-body-lg-600" }, kn = { key: 0 }, Pn = { class: "fm-typo-en-title-sm-800" }, En = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary w-4/6 text-center" }, Gn = /* @__PURE__ */ bt({
|
|
19894
19895
|
__name: "Marketing",
|
|
19895
19896
|
setup(P) {
|
|
19896
19897
|
const { t: f } = we(), nt = {
|
|
@@ -20066,5 +20067,5 @@ const si = { key: 1 }, ai = { class: "w-full" }, Rt = /* @__PURE__ */ bt({
|
|
|
20066
20067
|
}
|
|
20067
20068
|
});
|
|
20068
20069
|
export {
|
|
20069
|
-
|
|
20070
|
+
Gn as default
|
|
20070
20071
|
};
|
|
@@ -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-gsJpOkBA.js";
|
|
3
|
+
import { u as M } from "./vue-i18n-36uLpBY2.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-DHA2afdR.js";
|
|
6
|
+
import { R as i } from "./app-BCsc9J-D.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) {
|