@feedmepos/mf-connect 0.1.0-beta.7 → 0.1.0-beta.70
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-DEQUEGlq.js +427 -0
- package/dist/{App-DalxIjTu.js → App-CcoU2SAx.js} +445 -420
- package/dist/AuditLogs-CiB6u06w.js +1886 -0
- package/dist/Bin-C2_1m5RT.js +166 -0
- package/dist/{Broadcast-uMAvsC--.js → Broadcast-TotIXDuJ.js} +56 -54
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-JxbENan8.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CixQu3Pr.js} +6 -8
- package/dist/Card-Ce-_xMgS.js +896 -0
- package/dist/Collections-DKva6Doi.js +459 -0
- package/dist/{Credit-QlnatflM.js → Credit-BVUxIJ6C.js} +36 -34
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BKEumoan.js +2181 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BE07lc4M.js → EffectSheet.vue_vue_type_style_index_0_lang-ah4bz-qR.js} +49 -49
- package/dist/{Experience-Czy41ifp.js → Experience-DV3384o0.js} +32 -30
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/Game-DY83ti52.js +278 -0
- package/dist/Index-DEIaZ-2H.js +259 -0
- package/dist/Marketing-C2RwIlrg.js +20071 -0
- package/dist/Member-D4fc-wzd.js +333 -0
- package/dist/MemberList-DSMI6t_D.js +1598 -0
- package/dist/MemberTransactions-wXUlbbRq.js +45 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CtM73bcN.js → MessageInput.vue_vue_type_script_setup_true_lang-DYS0klKm.js} +135 -120
- package/dist/Mission-P_KLDEpg.js +296 -0
- package/dist/Overview-8vc0f1D7.js +1078 -0
- package/dist/{Point-By6ogYy_.js → Point-B4Y0Pq60.js} +55 -53
- package/dist/{Promotion-DKcBr-RI.js → Promotion-C1CbesgZ.js} +65 -57
- package/dist/Queue-BlPA7PNH.js +244 -0
- package/dist/Record-Cl1qXSSk.js +340 -0
- package/dist/Reward-jy6-W1Eh.js +442 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-d5JNNNHf.js +150 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DYul_Nu8.js +1640 -0
- package/dist/Segment-B36Nrvxs.js +568 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-jN0xUFNR.js +181 -0
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-BLFTNooB.js +186 -0
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-H_Sehhgf.js +147 -0
- package/dist/Setting-AgQf2X4W.js +1931 -0
- package/dist/Store-D3Mm0pan.js +1841 -0
- package/dist/StoreRewards-L0VLWz8l.js +423 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Zl_cXXSD.js +1028 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-nEdCD6la.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-b4mfueTj.js} +1 -1
- package/dist/{Tier-DvAs0-yx.js → Tier-DQq-375x.js} +327 -318
- package/dist/{Title-B_Trr39o.js → Title-OJxuBvaa.js} +224 -209
- package/dist/{Transaction-DCJw-b3H.js → Transaction-vgsYRfD7.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-Cwi0mvC3.js +130 -0
- package/dist/Voucher-BFwLaoxe.js +354 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DNUBaNtJ.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DXkhu8e9.js → ZodTextField.vue_vue_type_script_setup_true_lang-ms40eptZ.js} +1 -1
- package/dist/app-BQFTJ_hE.js +33357 -0
- package/dist/app-D7C3Fxfi.js +7077 -0
- package/dist/app.js +1 -1
- package/dist/{business-BC4-i1cU.js → business-vzpvmTdG.js} +1 -1
- package/dist/{campaign--0_yMbMV.js → campaign-BkxTDfsK.js} +2 -2
- package/dist/campaign-UQ8kMVeC.js +1810 -0
- package/dist/campaign.enum-BdT-e9h9.js +20 -0
- package/dist/campaign.fn-lc4ZhFCU.js +758 -0
- package/dist/collectible.enum-C8kd17Tz.js +19 -0
- package/dist/{collection.fn-3TwPe7aF.js → collection.fn-BIw1Y_tv.js} +2 -2
- package/dist/dto-CwzAhB8x.js +214 -0
- package/dist/{effect-BeR0LK61.js → effect-CJcvLlKG.js} +33 -16
- package/dist/email-addresses-BCJTQPT0.js +705 -0
- package/dist/{export-xeLLhqvh.js → export-URRwle1z.js} +5 -5
- package/dist/{helper-B5iqfKh8.js → helper-DccnE6zn.js} +1 -1
- package/dist/index-BiIZ7X6d.js +29556 -0
- package/dist/{index-CyKZ-SsN.js → index-BsRJ4kVb.js} +1 -1
- package/dist/{index-CU_d8jjU.js → index-C3lpXz_P.js} +1 -1
- package/dist/{index-Ct_wR519.js → index-CFA3EqId.js} +24 -21
- package/dist/{index-DP-dGMJC.js → index-CPRN3irj.js} +2230 -871
- package/dist/index-CaxFS90M.js +56 -0
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/index-D4MX9e5q.js +115 -0
- package/dist/index-DrE9VkxR.js +32 -0
- package/dist/index-EOPRlB9V.js +54 -0
- package/dist/{index-CAn5heDe.js → index-FcxOGFKj.js} +48 -4
- package/dist/{index-Bh-uaaBG.js → index-OScGm4mF.js} +1506 -1480
- package/dist/{index-BOdtpNkP.js → index-ghSGvG-m.js} +266 -173
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/{index.esm2017-5jeDA5Zo.js → index.esm2017-CE1CQHrP.js} +121 -121
- package/dist/loading-B8zghYbj.js +71 -0
- package/dist/{membership-D0nqqWNZ.js → membership-DoJMF2T6.js} +54 -46
- package/dist/money-CTR0rXZw.js +15 -0
- package/dist/number-Bhgz9eFP.js +12 -0
- package/dist/objectid-DdVJrRBw.js +145 -0
- package/dist/{loading-C-JDVajU.js → plugins-B5mQ7CHT.js} +3871 -3943
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/reward-DicsEEHe.js +36 -0
- package/dist/{rule-builder-BXt29Es4.js → rule-builder-BWb4JTrd.js} +1 -1
- package/dist/{rule-Dn_GgBCe.js → rule-s8siRar1.js} +185 -178
- package/dist/style.css +1 -1
- package/dist/{template-D2Oi3dxP.js → template-Qb5ozfLa.js} +5 -5
- package/dist/trigger-Bsb3Kj35.js +144 -0
- package/dist/user-DJ8aHRaM.js +54 -0
- package/dist/{vue-i18n-Dud8fvmw.js → vue-i18n-BG2U7GtN.js} +282 -282
- package/dist/{xlsx-CCRCidY2.js → xlsx-2QxyDFwt.js} +1 -1
- package/package.json +11 -7
- package/dist/Analytic-BMpS6jWb.js +0 -622
- package/dist/Card-DV8-g69L.js +0 -825
- package/dist/Collections-DRafEHT1.js +0 -453
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-TDoMehSB.js +0 -2813
- package/dist/Game-CD3zSitz.js +0 -255
- package/dist/Marketing-NNes8z6Q.js +0 -316
- package/dist/Member-CTqBgYuV.js +0 -69
- package/dist/MemberList-B99tS5ce.js +0 -1733
- package/dist/MemberTransactions-D1YCXPOg.js +0 -38
- package/dist/Mission-XbBVKBiE.js +0 -261
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D1ESqEFO.js +0 -1753
- package/dist/Segment-B8cszL-F.js +0 -437
- package/dist/Setting-aZYABlMW.js +0 -1901
- package/dist/Store-Bx2tyJwe.js +0 -1511
- package/dist/StoreRewards-DTp9G6gw.js +0 -401
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B2W7ly5Z.js +0 -890
- package/dist/Voucher-jqv3ji90.js +0 -490
- package/dist/app-WlcUVbFb.js +0 -5764
- package/dist/app-_w0hjM7u.js +0 -53428
- package/dist/dto-Ns2dLn1B.js +0 -2770
- package/dist/index-BWb9vRCi.js +0 -29193
- package/dist/index-CpU9aqyW.js +0 -206
- package/dist/index-CqO_ZvtD.js +0 -99
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-DsNsA2uX.js +0 -298
- package/dist/index-WAMr3npT.js +0 -762
- package/dist/money-hdbrblud.js +0 -15
- package/dist/number-CRWGOZaW.js +0 -12
- package/dist/user-Bm4KttFq.js +0 -37
|
@@ -1,38 +0,0 @@
|
|
|
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-B2W7ly5Z.js";
|
|
3
|
-
import { useRouter as x } from "vue-router";
|
|
4
|
-
const C = { class: "flex flex-col gap-y-32 pb-24" }, N = /* @__PURE__ */ i({
|
|
5
|
-
__name: "MemberTransactions",
|
|
6
|
-
setup(T) {
|
|
7
|
-
const s = x(), t = [
|
|
8
|
-
{
|
|
9
|
-
label: "Collection",
|
|
10
|
-
value: "collection"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
label: "Store",
|
|
14
|
-
value: "store"
|
|
15
|
-
}
|
|
16
|
-
], o = p(t[0]), a = s.currentRoute.value.params.id;
|
|
17
|
-
return (y, n) => {
|
|
18
|
-
const u = _("FmTabs");
|
|
19
|
-
return l(), d("div", C, [
|
|
20
|
-
f(u, {
|
|
21
|
-
"model-value": e(o).value,
|
|
22
|
-
items: t,
|
|
23
|
-
"onUpdate:modelValue": n[0] || (n[0] = (c) => o.value = t.find((m) => m.value === c))
|
|
24
|
-
}, null, 8, ["model-value"]),
|
|
25
|
-
e(o).value == "collection" ? (l(), r(b, {
|
|
26
|
-
key: 0,
|
|
27
|
-
user: e(a)
|
|
28
|
-
}, null, 8, ["user"])) : e(o).value == "store" ? (l(), r(k, {
|
|
29
|
-
key: 1,
|
|
30
|
-
user: e(a)
|
|
31
|
-
}, null, 8, ["user"])) : v("", !0)
|
|
32
|
-
]);
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
export {
|
|
37
|
-
N as default
|
|
38
|
-
};
|
package/dist/Mission-XbBVKBiE.js
DELETED
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, ref as V, computed as E, h as m, onMounted as A, resolveComponent as r, openBlock as d, createElementBlock as h, Fragment as b, createVNode as c, unref as t, createElementVNode as s, withCtx as w, renderList as H, createBlock as x, resolveDynamicComponent as q, toDisplayString as p } from "vue";
|
|
2
|
-
import { _ as z } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { useDialog as G, components as v } from "@feedmepos/ui-library";
|
|
4
|
-
import { a as J, p as Q, u as W } from "./loading-C-JDVajU.js";
|
|
5
|
-
import { u as X } from "./business-BC4-i1cU.js";
|
|
6
|
-
import { u as Y } from "./campaign--0_yMbMV.js";
|
|
7
|
-
import { g as L, b as M } from "./dto-Ns2dLn1B.js";
|
|
8
|
-
import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-TDoMehSB.js";
|
|
10
|
-
import { u as oe } from "./template-D2Oi3dxP.js";
|
|
11
|
-
import { s as te } from "./index-CuvNtC_M.js";
|
|
12
|
-
import { u as ne } from "./vue-i18n-Dud8fvmw.js";
|
|
13
|
-
import { c as _ } from "./index-CqO_ZvtD.js";
|
|
14
|
-
const ae = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-center justify-between w-full" }, ie = { class: "flex gap-8 overflow-x-auto" }, ce = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = { class: "space-y-4" }, de = { class: "fm-typo-en-body-lg-600" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = { class: "flex flex-col gap-16 text-center" }, ge = { class: "fm-typo-en-title-sm-800" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Be = /* @__PURE__ */ $({
|
|
15
|
-
__name: "Mission",
|
|
16
|
-
setup(_e) {
|
|
17
|
-
const { t: n } = ne(), B = {
|
|
18
|
-
label: n("connect.program.common.actions.create", {
|
|
19
|
-
type: n("connect.program.mission.title").toLowerCase()
|
|
20
|
-
}),
|
|
21
|
-
value: "create",
|
|
22
|
-
isPrimary: !0,
|
|
23
|
-
prependIcon: "add"
|
|
24
|
-
}, K = oe("MISSION", G()), N = X(), l = Y(), { global: P, minor: C } = W, i = V({
|
|
25
|
-
searchKey: "",
|
|
26
|
-
location: null
|
|
27
|
-
}), u = E(
|
|
28
|
-
() => l.campaigns.mission.filter(
|
|
29
|
-
(e) => !i.value.location || !e.targetLocation || e.targetLocation.includes(i.value.location)
|
|
30
|
-
)
|
|
31
|
-
), R = [
|
|
32
|
-
{
|
|
33
|
-
header: n("connect.program.common.table.title"),
|
|
34
|
-
accessorKey: "name",
|
|
35
|
-
// accessorFn: (v) => v.name,
|
|
36
|
-
cell(e) {
|
|
37
|
-
return m("div", { class: "flex items-center justify-between gap-4" }, [
|
|
38
|
-
m("div", { class: "flex items-center" }, [
|
|
39
|
-
m(
|
|
40
|
-
v.FmTooltip,
|
|
41
|
-
{
|
|
42
|
-
content: e.row.original._id,
|
|
43
|
-
onClick: (o) => {
|
|
44
|
-
o.stopPropagation(), J(e.row.original._id);
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
[
|
|
48
|
-
m(v.FmIcon, {
|
|
49
|
-
name: "info",
|
|
50
|
-
outline: !0,
|
|
51
|
-
size: "sm"
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
)
|
|
55
|
-
]),
|
|
56
|
-
m("div", { class: "flex-1" }, e.row.original.name)
|
|
57
|
-
]);
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
header: n("connect.campaign.mission.type"),
|
|
62
|
-
accessorFn: (e) => te(e.mission.type)
|
|
63
|
-
//v.effect,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
header: n("connect.program.common.table.status"),
|
|
67
|
-
cell(e) {
|
|
68
|
-
return L(e.row.original);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
header: n("connect.program.common.table.summary"),
|
|
73
|
-
accessorFn: (e) => M(e)
|
|
74
|
-
//v.effect,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
header: n("connect.campaign.mission.received"),
|
|
78
|
-
accessorFn: (e) => {
|
|
79
|
-
var o;
|
|
80
|
-
return ((o = e == null ? void 0 : e.pf_collectible) == null ? void 0 : o.currentReceive) ?? 0;
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
header: n("connect.program.common.table.actions"),
|
|
85
|
-
cell(e) {
|
|
86
|
-
return m(v.FmButton, {
|
|
87
|
-
variant: "tertiary",
|
|
88
|
-
icon: "delete",
|
|
89
|
-
iconColor: "neutral-gray-400",
|
|
90
|
-
onClick: (o) => {
|
|
91
|
-
o.stopPropagation(), F(e.row.original);
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
], S = V();
|
|
97
|
-
async function F(e) {
|
|
98
|
-
await Q.remove(
|
|
99
|
-
n("connect.program.common.remove.confirm", { name: e.name })
|
|
100
|
-
) && await C(
|
|
101
|
-
async () => {
|
|
102
|
-
await _.delete(e._id), await l.read("MISSION");
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
message: n("connect.program.common.remove.removing", { name: e.name }),
|
|
106
|
-
successMessage: n("connect.program.common.remove.removed", {
|
|
107
|
-
name: e.name
|
|
108
|
-
})
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
async function y(e) {
|
|
113
|
-
e ? await o() : K.open(async (f) => {
|
|
114
|
-
await o(f);
|
|
115
|
-
});
|
|
116
|
-
async function o(f) {
|
|
117
|
-
var g;
|
|
118
|
-
(g = S.value) == null || g.showSheet(
|
|
119
|
-
!0,
|
|
120
|
-
"MISSION",
|
|
121
|
-
e ? await _.readById(e._id) : void 0,
|
|
122
|
-
f
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
async function T(e) {
|
|
127
|
-
await C(
|
|
128
|
-
async () => {
|
|
129
|
-
e.campaign._id ? await _.update(e.campaign._id, e) : await _.create(e), await l.read("MISSION");
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
message: n(
|
|
133
|
-
e.campaign._id ? "connect.program.common.update.updating" : "connect.program.common.update.creating",
|
|
134
|
-
{ type: "Mission" }
|
|
135
|
-
),
|
|
136
|
-
successMessage: n("connect.program.common.update.success", {
|
|
137
|
-
type: "Mission",
|
|
138
|
-
action: e.campaign._id ? "updated" : "created"
|
|
139
|
-
})
|
|
140
|
-
}
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
return A(async () => {
|
|
144
|
-
await P(async () => {
|
|
145
|
-
await l.read("MISSION"), console.log(u);
|
|
146
|
-
});
|
|
147
|
-
}), (e, o) => {
|
|
148
|
-
const f = r("FmPageHead"), g = r("FmSearch"), O = r("FmTable"), k = r("FmButton"), j = r("FmListItem"), D = r("FmList"), U = r("FmCard");
|
|
149
|
-
return d(), h(b, null, [
|
|
150
|
-
c(f, {
|
|
151
|
-
title: t(n)("connect.campaign.mission.title"),
|
|
152
|
-
actions: t(u).length > 0 ? [B] : [],
|
|
153
|
-
"onClick:action": o[0] || (o[0] = () => y())
|
|
154
|
-
}, null, 8, ["title", "actions"]),
|
|
155
|
-
s("div", ae, [
|
|
156
|
-
c(g, {
|
|
157
|
-
modelValue: t(i).searchKey,
|
|
158
|
-
"onUpdate:modelValue": o[1] || (o[1] = (a) => t(i).searchKey = a),
|
|
159
|
-
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
160
|
-
placeholder: t(n)("connect.program.common.search"),
|
|
161
|
-
collapsible: ""
|
|
162
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
163
|
-
t(l).campaigns.mission && t(l).campaigns.mission.length > 0 ? (d(), h(b, { key: 0 }, [
|
|
164
|
-
s("div", se, [
|
|
165
|
-
s("div", ie, [
|
|
166
|
-
c(Z, {
|
|
167
|
-
modelValue: t(i).location,
|
|
168
|
-
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(i).location = a),
|
|
169
|
-
label: t(n)("connect.program.common.location"),
|
|
170
|
-
"show-item-label": !0,
|
|
171
|
-
icon: "storefront",
|
|
172
|
-
placement: "bottom-start",
|
|
173
|
-
items: t(N).locationItems
|
|
174
|
-
}, null, 8, ["modelValue", "label", "items"])
|
|
175
|
-
]),
|
|
176
|
-
c(g, {
|
|
177
|
-
modelValue: t(i).searchKey,
|
|
178
|
-
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(i).searchKey = a),
|
|
179
|
-
class: "xs:hidden",
|
|
180
|
-
placeholder: "search",
|
|
181
|
-
collapsible: ""
|
|
182
|
-
}, null, 8, ["modelValue"])
|
|
183
|
-
]),
|
|
184
|
-
c(O, {
|
|
185
|
-
class: "xs:hidden",
|
|
186
|
-
"row-data": t(u),
|
|
187
|
-
"column-defs": R,
|
|
188
|
-
"search-value": t(i).searchKey,
|
|
189
|
-
"column-filter": [],
|
|
190
|
-
onRowClick: o[4] || (o[4] = (a) => y(a.original)),
|
|
191
|
-
"hide-footer": t(u).length < 10
|
|
192
|
-
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
193
|
-
c(D, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
194
|
-
default: w(() => [
|
|
195
|
-
(d(!0), h(b, null, H(t(u).filter(
|
|
196
|
-
(a) => a.name.toLowerCase().includes(t(i).searchKey.toLowerCase())
|
|
197
|
-
), (a) => (d(), x(j, {
|
|
198
|
-
key: a._id.toString(),
|
|
199
|
-
onClick: (I) => y(a),
|
|
200
|
-
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
201
|
-
}, {
|
|
202
|
-
default: w(() => [
|
|
203
|
-
s("div", ce, [
|
|
204
|
-
s("div", re, [
|
|
205
|
-
(d(), x(q(t(L)(a)))),
|
|
206
|
-
s("div", le, p(a.currentReceive ?? 0) + " used ", 1)
|
|
207
|
-
]),
|
|
208
|
-
s("div", me, [
|
|
209
|
-
s("div", de, p(a.name), 1),
|
|
210
|
-
s("div", pe, p(t(M)(a)), 1)
|
|
211
|
-
]),
|
|
212
|
-
s("div", ue, " Token received: " + p(a.currentReceive ?? 0), 1)
|
|
213
|
-
]),
|
|
214
|
-
c(k, {
|
|
215
|
-
icon: "delete",
|
|
216
|
-
"icon-color": "neutral-gray-400",
|
|
217
|
-
variant: "tertiary",
|
|
218
|
-
onClick: (I) => (I.stopPropagation(), F(a))
|
|
219
|
-
}, null, 8, ["onClick"])
|
|
220
|
-
]),
|
|
221
|
-
_: 2
|
|
222
|
-
}, 1032, ["onClick"]))), 128))
|
|
223
|
-
]),
|
|
224
|
-
_: 1
|
|
225
|
-
})
|
|
226
|
-
], 64)) : (d(), x(U, {
|
|
227
|
-
key: 1,
|
|
228
|
-
variant: "outlined",
|
|
229
|
-
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
230
|
-
}, {
|
|
231
|
-
default: w(() => [
|
|
232
|
-
o[6] || (o[6] = s("img", {
|
|
233
|
-
src: z,
|
|
234
|
-
class: "aspect-square w-[150px]"
|
|
235
|
-
}, null, -1)),
|
|
236
|
-
s("div", fe, [
|
|
237
|
-
s("div", ge, p(t(n)("connect.campaign.mission.createProgram")), 1),
|
|
238
|
-
s("div", ye, p(t(n)("connect.campaign.mission.description")), 1)
|
|
239
|
-
]),
|
|
240
|
-
c(k, {
|
|
241
|
-
variant: "primary",
|
|
242
|
-
label: t(n)("connect.campaign.mission.create"),
|
|
243
|
-
icon: "add",
|
|
244
|
-
onClick: o[5] || (o[5] = (a) => y())
|
|
245
|
-
}, null, 8, ["label"])
|
|
246
|
-
]),
|
|
247
|
-
_: 1
|
|
248
|
-
})),
|
|
249
|
-
c(ee, {
|
|
250
|
-
ref_key: "sheetRef",
|
|
251
|
-
ref: S,
|
|
252
|
-
"onSubmit:modelValue": T
|
|
253
|
-
}, null, 512)
|
|
254
|
-
])
|
|
255
|
-
], 64);
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
export {
|
|
260
|
-
Be as default
|
|
261
|
-
};
|