@feedmepos/mf-connect 0.1.38-beta.6 → 0.1.38-beta.61
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-NBx32reB.js → Analytic-CM7mh-iO.js} +16 -16
- package/dist/{App-CaK9PvMd.js → App-CeCzzsDu.js} +625 -619
- package/dist/AuditLogs-VWx8DFKA.js +1991 -0
- package/dist/{Bin-CL6o1JSs.js → Bin-vUuol_I9.js} +10 -10
- package/dist/Broadcast-6VXz4-IG.js +233 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BIySMYGP.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CV-zhJ15.js} +6 -6
- package/dist/{Card-DNdEjt6s.js → Card-CeIeGET1.js} +144 -140
- package/dist/Collections-CF_OcAL3.js +540 -0
- package/dist/Credit-BUqGOyp_.js +226 -0
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +128 -0
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js → DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-0DMFuBoG.js +3150 -0
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-BZfchHlT.js +347 -0
- package/dist/Experience-BxiFH_uV.js +225 -0
- package/dist/{FileSaver.min-NlMItPOc.js → FileSaver.min-lgg_oBvT.js} +1 -1
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
- package/dist/Game-BzYW0LfY.js +300 -0
- package/dist/GenerateMaterial-B5A7mx2y.js +589 -0
- package/dist/Grab-BgiMqwvj.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js → ImageInput.vue_vue_type_script_setup_true_lang-DZ8DHrQ_.js} +49 -48
- package/dist/{Index-2wokhhFB.js → Index-B85ops8K.js} +54 -54
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js → LottieAnimation.vue_vue_type_script_setup_true_lang-B5rIjxYd.js} +1 -1
- package/dist/{MainLayout-B1aJoR95.js → MainLayout-CXGVkD-W.js} +1 -1
- package/dist/Marketing-Bnijl7lA.js +145 -0
- package/dist/MarketingMaterialEdit-BlUKwSoP.js +746 -0
- package/dist/{Member-2xV4Izwa.js → Member-sT853g51.js} +38 -37
- package/dist/{MemberList-CYgBdyJt.js → MemberList-DYT5_fSP.js} +158 -159
- package/dist/{MemberTransactions-DWDV01N4.js → MemberTransactions-Cqce5ebe.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Becsw31k.js → MessageInput.vue_vue_type_script_setup_true_lang-Dq0Hswj8.js} +5940 -5668
- package/dist/Mission-Q5_sGgrm.js +304 -0
- package/dist/{Overview-BZjto86d.js → Overview-B0rwrHR1.js} +24 -25
- package/dist/Point-BGYFMvev.js +228 -0
- package/dist/Promotion-0acd63nA.js +364 -0
- package/dist/{Queue-D62r2qjy.js → Queue-SVqRUlD_.js} +14 -15
- package/dist/{Record-0iF3dG7y.js → Record-BTjg4ihy.js} +10 -10
- package/dist/{Reward-C5IEJYu6.js → Reward-DW58VMRO.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-S2Fd0qO8.js → RewardGroup.vue_vue_type_script_setup_true_lang-s1RI55Rc.js} +13 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Os17lXBX.js +1766 -0
- package/dist/{Segment-BknjBrUP.js → Segment-Dny8pxP1.js} +273 -274
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BLQlkp-j.js → SelectItems.vue_vue_type_script_setup_true_lang-Czx7rqiq.js} +12 -12
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CaPi4hYB.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-EgVxUG_N.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BoZ0ZpNZ.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CO0fgI3K.js} +4 -4
- package/dist/Setting-CjcnxK34.js +1992 -0
- package/dist/SettingAdvertisements-CIyDF4C8.js +263 -0
- package/dist/Store-B8k5YVqU.js +1934 -0
- package/dist/StoreRewards-BW08rwpL.js +534 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BfFSfE2H.js +1034 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CZkKjUNQ.js +8093 -0
- package/dist/{Tier-B168DtFj.js → Tier-DKzu4tYw.js} +561 -480
- package/dist/{Title-uH0RI1N3.js → Title-BK-TXatJ.js} +149 -147
- package/dist/{Transaction-Bx-pmLrJ.js → Transaction-Duayg1jd.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Ce_55V7l.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BAR9h1TV.js} +7 -7
- package/dist/{Voucher-Dzpz2AEB.js → Voucher-BEVAkNeJ.js} +140 -124
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DvFy9Z6X.js +421 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CfLiUj9f.js → ZodTextField.vue_vue_type_script_setup_true_lang-CU_Sx2PM.js} +2 -2
- package/dist/app-IvbII0ql.js +45026 -0
- package/dist/app.js +1 -1
- package/dist/{business-B65OtB5B.js → business-BFIwFfkq.js} +11 -8
- package/dist/campaign-RuIwxc4y.js +253 -0
- package/dist/{campaign-qGy6uzrC.js → campaign-w9j4I4jn.js} +29 -25
- package/dist/{campaign.enum-CZp2DmXI.js → campaign.enum-IHLsfdik.js} +3 -2
- package/dist/campaign.fn-B_P1MkRV.js +776 -0
- package/dist/{collectible.enum-CN-lnG1m.js → collectible.enum-CUgSjO08.js} +1 -1
- package/dist/{collection.fn-mMwGQWce.js → collection.fn-CrfnNb41.js} +2 -2
- package/dist/dto-jwO_sX9I.js +222 -0
- package/dist/{effect-Bg3yb9T6.js → effect--0g8PNyt.js} +1 -1
- package/dist/{email-addresses-CQsN724N.js → email-addresses-HtsxvXw9.js} +2 -2
- package/dist/{export-BLf2dhFd.js → export-CFEwMRmd.js} +9 -10
- package/dist/{helper-CFaph16Q.js → helper-CCfb24PO.js} +22 -7
- package/dist/index-B-AMMFfT.js +3419 -0
- package/dist/{index-BPyac0fq.js → index-BR3UbZ0F.js} +1 -1
- package/dist/{index-Dy5p_b1S.js → index-BZEM0T2A.js} +1 -1
- package/dist/index-Bflu4Rft.js +8884 -0
- package/dist/{index-Dkmn0jmX.js → index-CR3f3BXQ.js} +2552 -2356
- package/dist/{index-BkySejFg.js → index-CZPcwcUo.js} +3 -3
- package/dist/{index-BPZtjcTm.js → index-CkuPY85X.js} +1 -1
- package/dist/index-CppLPpqB.js +30933 -0
- package/dist/index-CuvNtC_M.js +61 -0
- package/dist/{index-BKOgzVx6.js → index-DDYH-IEX.js} +1 -1
- package/dist/{index-DaEQgaiW.js → index-DdZdHioZ.js} +455 -245
- package/dist/{index-BBPIZjw6.js → index-Dic_WcAL.js} +3 -3
- package/dist/{index-CH2d_B8c.js → index-DpjYgKTN.js} +4 -1
- package/dist/index-wzSeRJAd.js +36 -0
- package/dist/{index.esm2017-B9vJTKYg.js → index.esm2017-CUnjzfU-.js} +89 -89
- package/dist/loading-CivgDw5C.js +215 -0
- package/dist/{lodash-B5I3zXaY.js → lodash-BSbv_9TG.js} +1 -1
- package/dist/{membership-Du79A0Pl.js → membership-j2w1YUO-.js} +3 -3
- package/dist/{moment-BWErdI6_.js → moment-D7p2TMB-.js} +6 -1
- package/dist/{money-DXgYs2-R.js → money-DL-x8hiT.js} +1 -1
- package/dist/{number-CBMkNZvH.js → number-D1yoFGEr.js} +1 -1
- package/dist/objectid-CHab6j3r.js +145 -0
- package/dist/{campaign-iKI-L84v.js → plugins-P-V4XWmW.js} +784 -777
- package/dist/remy-D_Deb3ue.js +13 -0
- package/dist/{reward-ClX_lWcQ.js → reward-BqMlBQRu.js} +1 -1
- package/dist/{rule-BfidJ75Y.js → rule-CztsLdki.js} +4 -4
- package/dist/rule-builder-DANv7Rmz.js +102 -0
- package/dist/style.css +11 -2
- package/dist/template-Dbz3FhHK.js +188 -0
- package/dist/timezone-BgVqObBq.js +1151 -0
- package/dist/trigger-CbriUibd.js +213 -0
- package/dist/usePagination-DtNK7W0U.js +223 -0
- package/dist/user-CVapqHfr.js +55 -0
- package/dist/vue-i18n-tpDAnnmD.js +2365 -0
- package/dist/{xlsx-Be4bARvl.js → xlsx-EewcN2uY.js} +1 -1
- package/dist/{zod-Bg2FbC-D.js → zod-D-wiCQRJ.js} +32 -31
- package/package.json +13 -5
- package/dist/AuditLogs-C-gCCPvF.js +0 -1887
- package/dist/Broadcast-B2-itjvZ.js +0 -227
- package/dist/Collections-DepGq6WJ.js +0 -465
- package/dist/Credit-D7K0gFwc.js +0 -222
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +0 -108
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-HMjbuy2C.js +0 -2185
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-DrbMJlm5.js +0 -347
- package/dist/Experience-FlBX3eyN.js +0 -223
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js +0 -114
- package/dist/Game-Cc3D7lKV.js +0 -278
- package/dist/Marketing-D7PXYloN.js +0 -20073
- package/dist/Mission-BSGc9822.js +0 -296
- package/dist/Point-0U4TTdPW.js +0 -226
- package/dist/Promotion-DiUa0GcV.js +0 -289
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CxlamGFP.js +0 -1751
- package/dist/Setting-RLI7RgmN.js +0 -1936
- package/dist/Store-gxmv8hWJ.js +0 -1842
- package/dist/StoreRewards-C_6gY_Nk.js +0 -423
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B5uzSYM4.js +0 -1029
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-yjI96ZL0.js +0 -139
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-dbA6_6b9.js +0 -419
- package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/app-B90wINOO.js +0 -33357
- package/dist/app-DuUxQ1ZP.js +0 -7086
- package/dist/campaign.fn-DKScnmjX.js +0 -758
- package/dist/dto-C5ri8Nws.js +0 -214
- package/dist/index-BCGDOgxb.js +0 -38
- package/dist/index-BCPBmANe.js +0 -3120
- package/dist/index-BN2Uyvj4.js +0 -30038
- package/dist/index-CrbnfAk8.js +0 -8861
- package/dist/index-CsaQJMAR.js +0 -66
- package/dist/index-DJwQICyC.js +0 -146
- package/dist/loading-MEQuW9Xa.js +0 -71
- package/dist/objectid-BeZTZYqi.js +0 -145
- package/dist/plugins-KiMuDTPp.js +0 -208
- package/dist/remy-vue-client-Cpppk9h-.js +0 -1693
- package/dist/rule-builder-BTcZx77a.js +0 -89
- package/dist/template-DPpMK30W.js +0 -190
- package/dist/trigger-DLp1bkZP.js +0 -144
- package/dist/usePagination-BeF5K3M7.js +0 -223
- package/dist/user-Cq9CGBHZ.js +0 -54
- package/dist/vue-i18n-COzqUgQy.js +0 -2365
package/dist/Game-Cc3D7lKV.js
DELETED
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, ref as v, computed as q, onMounted as z, resolveComponent as r, openBlock as p, createElementBlock as C, Fragment as b, createVNode as s, unref as o, withCtx as h, createElementVNode as n, toDisplayString as c, renderList as J, createBlock as k, resolveDynamicComponent as O, h as l } from "vue";
|
|
2
|
-
import { _ as Q } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { useDialog as W, components as w } from "@feedmepos/ui-library";
|
|
4
|
-
import { a as X, p as Y } from "./plugins-KiMuDTPp.js";
|
|
5
|
-
import { u as Z } from "./loading-MEQuW9Xa.js";
|
|
6
|
-
import { u as ee } from "./business-B65OtB5B.js";
|
|
7
|
-
import { u as te } from "./campaign-qGy6uzrC.js";
|
|
8
|
-
import { a as $, b as A, g as oe } from "./campaign-iKI-L84v.js";
|
|
9
|
-
import { _ as ae } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as ne } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-HMjbuy2C.js";
|
|
11
|
-
import { u as se } from "./template-DPpMK30W.js";
|
|
12
|
-
import { u as ie } from "./vue-i18n-COzqUgQy.js";
|
|
13
|
-
import { _ as re } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-CaPi4hYB.js";
|
|
14
|
-
import { c as x } from "./index-CH2d_B8c.js";
|
|
15
|
-
const le = { class: "flex items-center" }, ce = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, me = { class: "px-24 flex flex-col gap-y-16" }, de = { class: "flex items-center justify-between w-full" }, pe = { class: "flex gap-8 overflow-x-auto" }, ue = { class: "space-y-8" }, fe = { class: "flex w-full gap-4 items-center" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "space-y-4" }, _e = { class: "fm-typo-en-body-lg-600" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col gap-16 text-center" }, ve = { class: "fm-typo-en-title-sm-800" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ie = /* @__PURE__ */ N({
|
|
16
|
-
__name: "Game",
|
|
17
|
-
setup(be) {
|
|
18
|
-
const { t: m } = ie(), E = {
|
|
19
|
-
label: m("connect.program.common.actions.create", {
|
|
20
|
-
type: m("connect.program.game.title").toLowerCase()
|
|
21
|
-
}),
|
|
22
|
-
value: "create",
|
|
23
|
-
isPrimary: !0,
|
|
24
|
-
prependIcon: "add"
|
|
25
|
-
}, K = se("GAME", W()), f = ee(), d = te(), { global: M, minor: F } = Z, i = v({
|
|
26
|
-
searchKey: "",
|
|
27
|
-
location: null
|
|
28
|
-
}), g = q(
|
|
29
|
-
() => d.campaigns.token.filter(
|
|
30
|
-
(e) => !i.value.location || !e.targetLocation || e.targetLocation.includes(i.value.location)
|
|
31
|
-
)
|
|
32
|
-
), G = [
|
|
33
|
-
{
|
|
34
|
-
header: "Program title",
|
|
35
|
-
accessorKey: "name",
|
|
36
|
-
// accessorFn: (v) => v.name,
|
|
37
|
-
cell(e) {
|
|
38
|
-
return l("div", { class: "flex items-center justify-between gap-4" }, [
|
|
39
|
-
l("div", { class: "flex items-center" }, [
|
|
40
|
-
l(
|
|
41
|
-
w.FmTooltip,
|
|
42
|
-
{
|
|
43
|
-
content: e.row.original._id,
|
|
44
|
-
onClick: (t) => {
|
|
45
|
-
t.stopPropagation(), X(e.row.original._id);
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
[
|
|
49
|
-
l(w.FmIcon, {
|
|
50
|
-
name: "info",
|
|
51
|
-
outline: !0,
|
|
52
|
-
size: "sm"
|
|
53
|
-
})
|
|
54
|
-
]
|
|
55
|
-
)
|
|
56
|
-
]),
|
|
57
|
-
l("div", { class: "flex-1" }, e.row.original.name)
|
|
58
|
-
]);
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
header: "Status",
|
|
63
|
-
accessorFn: (e) => oe(e),
|
|
64
|
-
cell(e) {
|
|
65
|
-
return $(e.row.original);
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
header: "Summary",
|
|
70
|
-
accessorFn: (e) => A(e)
|
|
71
|
-
//v.effect,
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
header: "Token received",
|
|
75
|
-
accessorFn: (e) => {
|
|
76
|
-
var t;
|
|
77
|
-
return ((t = e == null ? void 0 : e.pf_collectible) == null ? void 0 : t.currentReceive) ?? 0;
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
header: "Actions",
|
|
82
|
-
cell(e) {
|
|
83
|
-
return l("div", { class: "flex items-center gap-8" }, [
|
|
84
|
-
l(w.FmButton, {
|
|
85
|
-
variant: "tertiary",
|
|
86
|
-
icon: "send",
|
|
87
|
-
iconColor: "neutral-gray-400",
|
|
88
|
-
onClick: (t) => {
|
|
89
|
-
t.stopPropagation(), T(e.row.original);
|
|
90
|
-
}
|
|
91
|
-
}),
|
|
92
|
-
l(w.FmButton, {
|
|
93
|
-
variant: "tertiary",
|
|
94
|
-
icon: "delete",
|
|
95
|
-
iconColor: "neutral-gray-400",
|
|
96
|
-
onClick: (t) => {
|
|
97
|
-
t.stopPropagation(), L(e.row.original);
|
|
98
|
-
}
|
|
99
|
-
})
|
|
100
|
-
]);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
], S = v(), P = v();
|
|
104
|
-
async function L(e) {
|
|
105
|
-
await Y.remove(`Are you sure you want to remove ${e.name}?`) && await F(
|
|
106
|
-
async () => {
|
|
107
|
-
await x.delete(e._id), await d.read("GAME");
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
message: `Removing ${e.name}`,
|
|
111
|
-
successMessage: `Removed ${e.name} successfully`
|
|
112
|
-
}
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
async function y(e) {
|
|
116
|
-
e ? await t() : K.open(async (u) => {
|
|
117
|
-
await t(u);
|
|
118
|
-
});
|
|
119
|
-
async function t(u) {
|
|
120
|
-
var _;
|
|
121
|
-
(_ = S.value) == null || _.showSheet(
|
|
122
|
-
!0,
|
|
123
|
-
"GAME",
|
|
124
|
-
e ? await x.readById(e._id) : void 0,
|
|
125
|
-
u
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
async function I(e) {
|
|
130
|
-
await F(
|
|
131
|
-
async () => {
|
|
132
|
-
e.campaign._id ? await x.update(e.campaign._id, e) : await x.create(e), await d.read("GAME");
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
message: `${e.campaign._id ? "Updating" : "Creating"} game program`,
|
|
136
|
-
successMessage: `Game program ${e.campaign._id ? "updated" : "created"} successfully`
|
|
137
|
-
}
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
function T(e) {
|
|
141
|
-
var t;
|
|
142
|
-
(t = P.value) == null || t.showSheet({
|
|
143
|
-
campaign: e
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
return z(async () => {
|
|
147
|
-
await M(async () => {
|
|
148
|
-
await d.read("GAME"), await f.readPremium();
|
|
149
|
-
});
|
|
150
|
-
}), (e, t) => {
|
|
151
|
-
const u = r("FmPill"), _ = r("FmPageHead"), V = r("FmSearch"), U = r("FmTable"), B = r("FmButton"), j = r("FmListItem"), D = r("FmList"), H = r("FmCard");
|
|
152
|
-
return p(), C(b, null, [
|
|
153
|
-
s(_, {
|
|
154
|
-
actions: o(g).length > 0 && o(f).isPremium ? [E] : [],
|
|
155
|
-
"onClick:action": t[0] || (t[0] = () => y())
|
|
156
|
-
}, {
|
|
157
|
-
title: h(() => [
|
|
158
|
-
n("div", le, [
|
|
159
|
-
n("span", ce, c(o(m)("connect.program.game.title")), 1),
|
|
160
|
-
s(u, { variant: "premium" })
|
|
161
|
-
])
|
|
162
|
-
]),
|
|
163
|
-
_: 1
|
|
164
|
-
}, 8, ["actions"]),
|
|
165
|
-
n("div", me, [
|
|
166
|
-
s(V, {
|
|
167
|
-
modelValue: o(i).searchKey,
|
|
168
|
-
"onUpdate:modelValue": t[1] || (t[1] = (a) => o(i).searchKey = a),
|
|
169
|
-
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
170
|
-
placeholder: "search",
|
|
171
|
-
collapsible: ""
|
|
172
|
-
}, null, 8, ["modelValue"]),
|
|
173
|
-
o(d).campaigns.token && o(d).campaigns.token.length > 0 ? (p(), C(b, { key: 0 }, [
|
|
174
|
-
n("div", de, [
|
|
175
|
-
n("div", pe, [
|
|
176
|
-
s(ae, {
|
|
177
|
-
modelValue: o(i).location,
|
|
178
|
-
"onUpdate:modelValue": t[2] || (t[2] = (a) => o(i).location = a),
|
|
179
|
-
label: "Location: ",
|
|
180
|
-
"show-item-label": !0,
|
|
181
|
-
icon: "storefront",
|
|
182
|
-
placement: "bottom-start",
|
|
183
|
-
items: o(f).locationItems
|
|
184
|
-
}, null, 8, ["modelValue", "items"])
|
|
185
|
-
]),
|
|
186
|
-
s(V, {
|
|
187
|
-
modelValue: o(i).searchKey,
|
|
188
|
-
"onUpdate:modelValue": t[3] || (t[3] = (a) => o(i).searchKey = a),
|
|
189
|
-
class: "xs:hidden",
|
|
190
|
-
placeholder: "search",
|
|
191
|
-
collapsible: ""
|
|
192
|
-
}, null, 8, ["modelValue"])
|
|
193
|
-
]),
|
|
194
|
-
s(U, {
|
|
195
|
-
class: "xs:hidden",
|
|
196
|
-
"row-data": o(g),
|
|
197
|
-
"column-defs": G,
|
|
198
|
-
"search-value": o(i).searchKey,
|
|
199
|
-
"column-filter": [],
|
|
200
|
-
onRowClick: t[4] || (t[4] = (a) => y(a.original)),
|
|
201
|
-
"hide-footer": o(g).length < 10
|
|
202
|
-
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
203
|
-
s(D, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
204
|
-
default: h(() => [
|
|
205
|
-
(p(!0), C(b, null, J(o(g).filter(
|
|
206
|
-
(a) => a.name.toLowerCase().includes(o(i).searchKey.toLowerCase())
|
|
207
|
-
), (a) => (p(), k(j, {
|
|
208
|
-
key: a._id.toString(),
|
|
209
|
-
onClick: (R) => y(a),
|
|
210
|
-
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
211
|
-
}, {
|
|
212
|
-
default: h(() => [
|
|
213
|
-
n("div", ue, [
|
|
214
|
-
n("div", fe, [
|
|
215
|
-
(p(), k(O(o($)(a)))),
|
|
216
|
-
n("div", ge, c(a.currentReceive ?? 0) + " used ", 1)
|
|
217
|
-
]),
|
|
218
|
-
n("div", ye, [
|
|
219
|
-
n("div", _e, c(a.name), 1),
|
|
220
|
-
n("div", he, c(o(A)(a)), 1)
|
|
221
|
-
]),
|
|
222
|
-
n("div", we, c(o(m)("connect.program.game.token_received", {
|
|
223
|
-
count: a.currentReceive ?? 0
|
|
224
|
-
})), 1)
|
|
225
|
-
]),
|
|
226
|
-
s(B, {
|
|
227
|
-
icon: "delete",
|
|
228
|
-
"icon-color": "neutral-gray-400",
|
|
229
|
-
variant: "tertiary",
|
|
230
|
-
onClick: (R) => (R.stopPropagation(), L(a))
|
|
231
|
-
}, null, 8, ["onClick"])
|
|
232
|
-
]),
|
|
233
|
-
_: 2
|
|
234
|
-
}, 1032, ["onClick"]))), 128))
|
|
235
|
-
]),
|
|
236
|
-
_: 1
|
|
237
|
-
})
|
|
238
|
-
], 64)) : (p(), k(H, {
|
|
239
|
-
key: 1,
|
|
240
|
-
variant: "outlined",
|
|
241
|
-
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
242
|
-
}, {
|
|
243
|
-
default: h(() => [
|
|
244
|
-
t[6] || (t[6] = n("img", {
|
|
245
|
-
src: Q,
|
|
246
|
-
class: "aspect-square w-[150px]"
|
|
247
|
-
}, null, -1)),
|
|
248
|
-
n("div", xe, [
|
|
249
|
-
n("div", ve, c(o(m)("connect.program.game.empty_state.title")), 1),
|
|
250
|
-
n("div", Ce, c(o(m)("connect.program.game.empty_state.description")), 1)
|
|
251
|
-
]),
|
|
252
|
-
s(B, {
|
|
253
|
-
variant: "primary",
|
|
254
|
-
label: "Create game program",
|
|
255
|
-
icon: "add",
|
|
256
|
-
disabled: !o(f).isPremium,
|
|
257
|
-
onClick: t[5] || (t[5] = (a) => y())
|
|
258
|
-
}, null, 8, ["disabled"])
|
|
259
|
-
]),
|
|
260
|
-
_: 1
|
|
261
|
-
})),
|
|
262
|
-
s(ne, {
|
|
263
|
-
ref_key: "sheetRef",
|
|
264
|
-
ref: S,
|
|
265
|
-
"onSubmit:modelValue": I
|
|
266
|
-
}, null, 512),
|
|
267
|
-
s(re, {
|
|
268
|
-
ref_key: "sendCollectionSheetRef",
|
|
269
|
-
ref: P
|
|
270
|
-
}, null, 512)
|
|
271
|
-
])
|
|
272
|
-
], 64);
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
export {
|
|
277
|
-
Ie as default
|
|
278
|
-
};
|