@feedmepos/mf-connect 0.1.38-beta.9 → 0.1.38-beta.92
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-3MN2saaU.js → Analytic-CWhVZ2N2.js} +31 -32
- package/dist/{App-Co8X5Wdy.js → App-BzHDZ550.js} +741 -728
- package/dist/AuditLogs-DjJOfxWr.js +2013 -0
- package/dist/{Bin-8a56ZDib.js → Bin-H9Mc0kOX.js} +10 -10
- package/dist/Broadcast-BlKv9pTl.js +266 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BVXlfq31.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Bfpr1EuT.js} +6 -6
- package/dist/{Card-B8_09LJu.js → Card-ByEYCMZi.js} +145 -140
- package/dist/Collections-BjlqpQR0.js +540 -0
- package/dist/Credit-DyBVTpfr.js +260 -0
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +128 -0
- package/dist/DateInput.vue_vue_type_script_setup_true_lang-BN4Q5Y3l.js +54 -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-DP50lRfA.js +3120 -0
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-BCQxJpVP.js +351 -0
- package/dist/Experience-Cf6lxdu_.js +259 -0
- package/dist/{FileSaver.min-NlMItPOc.js → FileSaver.min-BIgeA5yw.js} +1 -1
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
- package/dist/FmTableSelection.vue_vue_type_script_setup_true_lang-DzcUc0_w.js +52 -0
- package/dist/Game-CCgsa5as.js +330 -0
- package/dist/Grab-oIvB2uUc.js +300 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js → ImageInput.vue_vue_type_script_setup_true_lang-BuiY288K.js} +49 -48
- package/dist/{Index-DLF71mx_.js → Index--bmiSYq2.js} +54 -54
- package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-BQMZvHq2.js +48 -0
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Bj6wuosW.js} +1 -1
- package/dist/{MainLayout-B1aJoR95.js → MainLayout-DTva8da3.js} +1 -1
- package/dist/Marketing-D-5rvdRJ.js +236 -0
- package/dist/MarketingMaterialEdit-CZvsnFG5.js +1036 -0
- package/dist/{Member-Bkw4aqtv.js → Member-CxKA1iM1.js} +38 -37
- package/dist/{MemberList-a3PdVYB3.js → MemberList-CmBZ6w5v.js} +485 -489
- package/dist/{MemberTransactions-CPDBd-n3.js → MemberTransactions-Dc9uE1Jy.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-pbN8pN1m.js → MessageInput.vue_vue_type_script_setup_true_lang-DiOsNoiJ.js} +10392 -9967
- package/dist/Mission-D9ruHJsQ.js +334 -0
- package/dist/{Overview-De97NDoe.js → Overview-B4eiwvqi.js} +34 -34
- package/dist/Point-MXmcuDtD.js +262 -0
- package/dist/Promotion-CBoCcEhJ.js +397 -0
- package/dist/{Queue-ISVZxCE2.js → Queue-if5Lji0q.js} +18 -18
- package/dist/{Record-2FMByNC6.js → Record-XLXvSqlF.js} +15 -14
- package/dist/Review-BKIkmxLd.js +621 -0
- package/dist/ReviewFacebookCallback-B6TIL_H7.js +243 -0
- package/dist/ReviewGoogleCallback-D3sQbfuc.js +213 -0
- package/dist/{Reward-DPRyQ37x.js → Reward-DaymLqOP.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Ba7-3bL-.js → RewardGroup.vue_vue_type_script_setup_true_lang-cGyeUFlK.js} +13 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BOJdm376.js +1912 -0
- package/dist/Segment-o7srzt8o.js +1015 -0
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DZbyDVid.js → SelectItems.vue_vue_type_script_setup_true_lang-DnA83SVT.js} +23 -23
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-ioMFYIwK.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-RKn_DhW0.js} +12 -12
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-mzGtatEl.js +226 -0
- package/dist/Setting-Clbp5X2E.js +2039 -0
- package/dist/SettingAdvertisements-D9KTw00Q.js +264 -0
- package/dist/Store-DApDz7rO.js +1996 -0
- package/dist/StoreRewards-DTraNhDh.js +537 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BusvWI37.js +1130 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-D5HOiiLG.js +7007 -0
- package/dist/{Tier-CwRj0oJ1.js → Tier-BWiO5an3.js} +562 -480
- package/dist/{Title-EII5OxSP.js → Title-Dur74Of5.js} +151 -149
- package/dist/{Transaction-1MTkAfej.js → Transaction-x3fZwXdy.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BlQVWQHJ.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-9XLlfUdp.js} +7 -7
- package/dist/Voucher-DH7x7NAS.js +421 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-CNn4GR2l.js +421 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CTeGK4bk.js → ZodTextField.vue_vue_type_script_setup_true_lang-W-qWPW20.js} +2 -2
- package/dist/app-IRmnrMb8.js +59647 -0
- package/dist/app.js +1 -1
- package/dist/{business-DjnN-J4U.js → business-BZG7VHN8.js} +11 -8
- package/dist/campaign-BUvMmYOk.js +219 -0
- package/dist/campaign-BeRxvBzZ.js +254 -0
- package/dist/campaign.enum-BmFHrnub.js +26 -0
- package/dist/campaign.fn-B0sgTkC-.js +776 -0
- package/dist/{collectible.enum-r6N115Lu.js → collectible.enum-J0aolcpF.js} +1 -1
- package/dist/{collection.fn-CSsfVv26.js → collection.fn-BOhZm8S0.js} +2 -2
- package/dist/dto-CSNH3rWF.js +222 -0
- package/dist/duplicateCampaign-CAOL6p7n.js +51 -0
- package/dist/effect-DTL3F8d_.js +89 -0
- package/dist/{email-addresses-D8uheCCF.js → email-addresses-Bw8rSTHa.js} +2 -2
- package/dist/{export-Ver6WiX6.js → export-CY5VAxnU.js} +4 -4
- package/dist/{helper-Bg4xoFbh.js → helper-1sIKNm6C.js} +22 -7
- package/dist/{index-Dn_bmcns.js → index-BX_igCG6.js} +3 -3
- package/dist/index-B_-tEYD0.js +3625 -0
- package/dist/{index-BZZ4iF4-.js → index-BultP2zY.js} +23 -12
- package/dist/index-CAIsxBzT.js +48 -0
- package/dist/index-CVbL8J7-.js +85 -0
- package/dist/index-CuvNtC_M.js +61 -0
- package/dist/{index-D4JOeJJJ.js → index-D4Bx6J2q.js} +1 -1
- package/dist/{index-hJUxCNsF.js → index-DO2AYnVc.js} +1 -1
- package/dist/index-DPmqQmoC.js +30289 -0
- package/dist/{index-CNhr0_Zx.js → index-DoupH575.js} +617 -191
- package/dist/{index-Bb0CHeNx.js → index-DpXwZYX4.js} +3 -3
- package/dist/{index-BPQyQc4q.js → index-Gr5htFUW.js} +1 -1
- package/dist/index-KC-9_cY4.js +8910 -0
- package/dist/index-nMxh2OZ2.js +28900 -0
- package/dist/{index.esm2017-hK1Mi9yY.js → index.esm2017-0cVB_6L1.js} +122 -122
- package/dist/{loading-kIQFOTwH.js → loading-BUAN8WyV.js} +4 -3
- package/dist/{lodash-B5I3zXaY.js → lodash-C7OD0MNW.js} +1 -1
- package/dist/{membership--xR-HZoa.js → membership-CZkPkDiM.js} +38 -18
- package/dist/{moment-BWErdI6_.js → moment-D7p2TMB-.js} +6 -1
- package/dist/{money-c-ITXnlg.js → money-CdTox5sS.js} +1 -1
- package/dist/{number-DfZSBLOY.js → number-CxHO_EhJ.js} +1 -1
- package/dist/objectid-DL2GZe9v.js +145 -0
- package/dist/{campaign-BpJ1O6KS.js → plugins-BR4hQ6yY.js} +677 -699
- package/dist/remy-D_Deb3ue.js +13 -0
- package/dist/{reward-CE0ifMHS.js → reward-DWwwkcS3.js} +1 -1
- package/dist/{rule-DrjdmpaB.js → rule-CY_w8dsS.js} +505 -487
- package/dist/rule-builder-DMdUBkxB.js +102 -0
- package/dist/string-Gcy5IM_H.js +32 -0
- package/dist/style.css +11 -2
- package/dist/template-tuIzBpOC.js +188 -0
- package/dist/timezone-Dt3UFIE2.js +1156 -0
- package/dist/trigger-B9pWO76n.js +213 -0
- package/dist/useMarketingMaterialActions-C7XoKutU.js +96 -0
- package/dist/usePagination-Dvqiv0Ms.js +220 -0
- package/dist/{user-Cl3IotYV.js → user-DlrL0A8u.js} +15 -14
- package/dist/{vue-i18n-DKh0SMhL.js → vue-i18n-B2srUL0h.js} +449 -449
- package/dist/{xlsx-BDBzdOuM.js → xlsx-B9pnBbNc.js} +1 -1
- package/dist/{zod-Bg2FbC-D.js → zod-CO0ds3MB.js} +32 -31
- package/package.json +14 -6
- package/dist/AuditLogs-DTq6IAuc.js +0 -1887
- package/dist/Broadcast-UreS5Kiq.js +0 -227
- package/dist/Collections-B0I5ULxR.js +0 -465
- package/dist/Credit-B4Ad8DWP.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-DjgACf9F.js +0 -2185
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-y5JnuIev.js +0 -347
- package/dist/Experience-xO5KpTTm.js +0 -223
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js +0 -114
- package/dist/Game-ChgrVvz5.js +0 -278
- package/dist/Marketing-BlmRXSGl.js +0 -20073
- package/dist/Mission-B07wK0HX.js +0 -296
- package/dist/Point-Ckj9QIeH.js +0 -226
- package/dist/Promotion-aGNCOeRN.js +0 -289
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DWj-421v.js +0 -1751
- package/dist/Segment-CRMNJ11X.js +0 -882
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-Cfp8XXdO.js +0 -147
- package/dist/Setting-c0FWRZsD.js +0 -1936
- package/dist/Store-Bm1_15s8.js +0 -1842
- package/dist/StoreRewards-BCQHHfay.js +0 -423
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CfTF2l-D.js +0 -1029
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-rvhoxo0w.js +0 -139
- package/dist/Voucher-CYvjCb-v.js +0 -384
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-63Jr71dJ.js +0 -419
- package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/app-BJLHk8ao.js +0 -33357
- package/dist/app-BzIk1ojT.js +0 -7086
- package/dist/campaign-BHNS5kXt.js +0 -96
- package/dist/campaign.enum-CJDWE_Om.js +0 -20
- package/dist/campaign.fn-C0HQE9uh.js +0 -758
- package/dist/dto-Byq51uVH.js +0 -214
- package/dist/effect-Do3yTM-_.js +0 -78
- package/dist/index-B1V9UnI9.js +0 -76
- package/dist/index-BM9CWjC6.js +0 -38
- package/dist/index-CsaQJMAR.js +0 -66
- package/dist/index-D6VxioBg.js +0 -30038
- package/dist/index-DGKlRWn3.js +0 -32260
- package/dist/index-DLKyOu7W.js +0 -8861
- package/dist/index-DyYF6HYL.js +0 -121
- package/dist/index-UXtH44XQ.js +0 -3120
- package/dist/objectid-DKbha9-x.js +0 -145
- package/dist/plugins-DtakupKW.js +0 -208
- package/dist/remy-vue-client-Cpppk9h-.js +0 -1693
- package/dist/rule-builder-B_hCyq3x.js +0 -89
- package/dist/template-WI4a-lFY.js +0 -190
- package/dist/trigger-DieDHht3.js +0 -144
- package/dist/usePagination-BeF5K3M7.js +0 -223
package/dist/Game-ChgrVvz5.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-DtakupKW.js";
|
|
5
|
-
import { u as Z } from "./loading-kIQFOTwH.js";
|
|
6
|
-
import { u as ee } from "./business-DjnN-J4U.js";
|
|
7
|
-
import { u as te } from "./campaign-BHNS5kXt.js";
|
|
8
|
-
import { a as $, b as A, g as oe } from "./campaign-BpJ1O6KS.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-DjgACf9F.js";
|
|
11
|
-
import { u as se } from "./template-WI4a-lFY.js";
|
|
12
|
-
import { u as ie } from "./vue-i18n-DKh0SMhL.js";
|
|
13
|
-
import { _ as re } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-ioMFYIwK.js";
|
|
14
|
-
import { c as x } from "./index-DyYF6HYL.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
|
-
};
|