@feedmepos/mf-connect 0.1.58-prod → 0.1.59-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-1heLfSqq.js +427 -0
- package/dist/App-BOM2IfBO.js +4630 -0
- package/dist/Bin-BgYzSjrq.js +166 -0
- package/dist/Broadcast-DHeN_79K.js +233 -0
- package/dist/CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DFOIbmI6.js +121 -0
- package/dist/Card-CuJ7bMy5.js +911 -0
- package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +97 -0
- package/dist/Collections-D1FRwIRi.js +458 -0
- package/dist/Credit-CeYpgCod.js +228 -0
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +128 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-B8lOyyAc.js +2194 -0
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-De2lhmbT.js +348 -0
- package/dist/Experience-D-tJxul7.js +229 -0
- package/dist/FileSaver.min-NlMItPOc.js +74 -0
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
- package/dist/Game-BOmYWwRj.js +284 -0
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js +144 -0
- package/dist/Index-CRBYEPFf.js +259 -0
- package/dist/JsonViewer-v8_C7l5N.js +87 -0
- package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js +18737 -0
- package/dist/MainLayout-B1aJoR95.js +41 -0
- package/dist/Marketing-D7WunOsO.js +319 -0
- package/dist/Member-iYAPEdoQ.js +279 -0
- package/dist/MemberList-CtR-UjtG.js +1607 -0
- package/dist/MemberOverview-wL_ailso.js +58 -0
- package/dist/MemberTransactions-BMQOdkr2.js +45 -0
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-DhJlcYpw.js +60553 -0
- package/dist/Mission-DSBH4Di0.js +302 -0
- package/dist/Overview-C0KCN3fH.js +1079 -0
- package/dist/Point-AN7wmCXY.js +232 -0
- package/dist/Promotion-Cbf4W6Vh.js +289 -0
- package/dist/Queue-Bo_RtLpU.js +260 -0
- package/dist/Record-BphvsxDb.js +341 -0
- package/dist/Reward-CgHUAB5V.js +442 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-DaBRd_Kw.js +150 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-C_65qxpU.js +1763 -0
- package/dist/Segment-Cc0D6nPj.js +882 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-BxUG7_bX.js +181 -0
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-bqKHjikC.js +188 -0
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-DA7bevEn.js +147 -0
- package/dist/Setting-DjVTTqky.js +1918 -0
- package/dist/SettingAdvertisements-BL81KD_S.js +262 -0
- package/dist/Store-DqXIQ9EY.js +1842 -0
- package/dist/StoreRewards-xlzAHJkc.js +423 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-OphuWknh.js +995 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DGSjAbol.js +139 -0
- package/dist/Tier-DadaaAEc.js +895 -0
- package/dist/Title-BDBxQMEm.js +566 -0
- package/dist/Transaction-BRGCw9Va.js +39 -0
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-qe26FZBo.js +130 -0
- package/dist/Voucher-CtvWJfVU.js +384 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-dS7n6KJt.js +419 -0
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-ndun9vf-.js +56 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/app-9QTXPjre.js +57962 -0
- package/dist/app-UNZJVzly.js +7094 -0
- package/dist/app-wDQR6dpb.js +39 -0
- package/dist/app.js +6 -0
- package/dist/business-DtufpzhR.js +82 -0
- package/dist/campaign-63K4Xtsd.js +94 -0
- package/dist/campaign-CpzFl8Vr.js +4 -0
- package/dist/campaign-Dm85zK-z.js +1810 -0
- package/dist/campaign.enum-DBWgoidX.js +20 -0
- package/dist/campaign.fn-BpifzSGC.js +758 -0
- package/dist/collectible.enum-2_2_6r39.js +19 -0
- package/dist/collection.fn-B2rlSiv_.js +26 -0
- package/dist/dto-Df83CuN3.js +216 -0
- package/dist/effect-BUEqEGkq.js +78 -0
- package/dist/email-addresses-BUNKzO1f.js +705 -0
- package/dist/export-BzY3BDZJ.js +97 -0
- package/dist/feedme.ico +0 -0
- package/dist/helper-BaJdC23g.js +71 -0
- package/dist/index-BA5QwPCT.js +146 -0
- package/dist/index-BInlN52T.js +54 -0
- package/dist/index-BLjKPiBb.js +44 -0
- package/dist/index-BQTPw5fM.js +30076 -0
- package/dist/index-BSQCStAn.js +38 -0
- package/dist/index-Bzv6BHPk.js +32269 -0
- package/dist/index-C0XYFg_a.js +3077 -0
- package/dist/index-CuvNtC_M.js +61 -0
- package/dist/index-D_hUHpqX.js +31 -0
- package/dist/index-DlwtDkgr.js +32 -0
- package/dist/index-DrAbySpd.js +8859 -0
- package/dist/index-JxOM03oW.js +3 -0
- package/dist/index-X9YonBq5.js +76 -0
- package/dist/index-gvl1UKmI.js +2134 -0
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/index-zy0pOMPl.js +121 -0
- package/dist/index.esm2017-WVBFvkg-.js +3069 -0
- package/dist/loading-CKbcLJje.js +71 -0
- package/dist/lodash-B5I3zXaY.js +3678 -0
- package/dist/membership-BMv4jrI_.js +235 -0
- package/dist/moment-D7p2TMB-.js +2583 -0
- package/dist/money-iY-Nby0p.js +15 -0
- package/dist/number-CluL-GzZ.js +12 -0
- package/dist/object-qECH92oz.js +26 -0
- package/dist/objectId-dwaoBfJX.js +7 -0
- package/dist/objectid-sIFo0b00.js +145 -0
- package/dist/plugins-BlvUeMc1.js +208 -0
- package/dist/reward-CZlHuvJJ.js +36 -0
- package/dist/rule-DMH3fchR.js +1951 -0
- package/dist/rule-builder-BvBTYyZq.js +102 -0
- package/dist/style.css +4 -0
- package/dist/template-CzqV_mzm.js +190 -0
- package/dist/tier-BJDhpH6X.js +4 -0
- package/dist/tiers/tier=1.png +0 -0
- package/dist/tiers/tier=2.png +0 -0
- package/dist/tiers/tier=3.png +0 -0
- package/dist/tiers/tier=4.png +0 -0
- package/dist/timezone-Bo8HWoc4.js +1151 -0
- package/dist/titles/type=diamond.png +0 -0
- package/dist/titles/type=drinks.png +0 -0
- package/dist/titles/type=food.png +0 -0
- package/dist/titles/type=heart.png +0 -0
- package/dist/titles/type=medal.png +0 -0
- package/dist/titles/type=spend.png +0 -0
- package/dist/titles/type=thank-you.png +0 -0
- package/dist/titles/type=thumbs-up.png +0 -0
- package/dist/titles/type=years.png +0 -0
- package/dist/trigger-BGG22zoh.js +144 -0
- package/dist/tslib.es6-BCqqvLQ_.js +44 -0
- package/dist/type_drinks-D6jnpvwV.js +4 -0
- package/dist/usePagination-Ds-cuHop.js +223 -0
- package/dist/user-DesAMEEX.js +54 -0
- package/dist/vue-i18n-CN3WXgAO.js +2365 -0
- package/dist/xlsx-BKuxyTY9.js +15491 -0
- package/dist/zod-Bg2FbC-D.js +90 -0
- package/package.json +1 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { defineComponent as q, ref as w, computed as z, h as m, onMounted as W, resolveComponent as d, openBlock as u, createElementBlock as x, Fragment as v, createVNode as r, unref as t, createElementVNode as s, withCtx as C, renderList as G, createBlock as b, resolveDynamicComponent as J, toDisplayString as f } from "vue";
|
|
2
|
+
import { _ as Q } from "./campaign-CpzFl8Vr.js";
|
|
3
|
+
import { u as X } from "./loading-CKbcLJje.js";
|
|
4
|
+
import { g as Y, a as B, b as P } from "./campaign-Dm85zK-z.js";
|
|
5
|
+
import { a as Z, p as ee } from "./plugins-BlvUeMc1.js";
|
|
6
|
+
import { u as oe } from "./business-DtufpzhR.js";
|
|
7
|
+
import { u as te } from "./campaign-63K4Xtsd.js";
|
|
8
|
+
import { useDialog as ne, components as _ } from "@feedmepos/ui-library";
|
|
9
|
+
import { _ as ae } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
10
|
+
import { u as se } from "./template-CzqV_mzm.js";
|
|
11
|
+
import { _ as ie } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-B8lOyyAc.js";
|
|
12
|
+
import { s as re } from "./index-CuvNtC_M.js";
|
|
13
|
+
import { u as ce } from "./vue-i18n-CN3WXgAO.js";
|
|
14
|
+
import { _ as le } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-bqKHjikC.js";
|
|
15
|
+
import { c as h } from "./index-zy0pOMPl.js";
|
|
16
|
+
const 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" }, Ue = /* @__PURE__ */ q({
|
|
17
|
+
__name: "Mission",
|
|
18
|
+
setup(be) {
|
|
19
|
+
const { t: n } = ce(), R = {
|
|
20
|
+
label: n("connect.program.common.actions.create", {
|
|
21
|
+
type: n("connect.program.mission.title").toLowerCase()
|
|
22
|
+
}),
|
|
23
|
+
value: "create",
|
|
24
|
+
isPrimary: !0,
|
|
25
|
+
prependIcon: "add"
|
|
26
|
+
}, S = ne(), K = se("MISSION", S), A = oe(), p = te(), { global: N, minor: F } = X, c = w({
|
|
27
|
+
searchKey: "",
|
|
28
|
+
location: []
|
|
29
|
+
});
|
|
30
|
+
function O(e) {
|
|
31
|
+
const o = c.value.location;
|
|
32
|
+
return !o || o.length === 0 || !e.targetLocation ? !0 : Array.isArray(o) ? o.some((i) => {
|
|
33
|
+
var l;
|
|
34
|
+
return (l = e == null ? void 0 : e.targetLocation) == null ? void 0 : l.includes(i);
|
|
35
|
+
}) : e.targetLocation.includes(o);
|
|
36
|
+
}
|
|
37
|
+
const g = z(
|
|
38
|
+
() => p.campaigns.mission.filter((e) => O(e))
|
|
39
|
+
), T = [
|
|
40
|
+
{
|
|
41
|
+
header: n("connect.program.common.table.title"),
|
|
42
|
+
accessorKey: "name",
|
|
43
|
+
// accessorFn: (v) => v.name,
|
|
44
|
+
cell(e) {
|
|
45
|
+
return m("div", { class: "flex items-center justify-between gap-4" }, [
|
|
46
|
+
m("div", { class: "flex items-center" }, [
|
|
47
|
+
m(
|
|
48
|
+
_.FmTooltip,
|
|
49
|
+
{
|
|
50
|
+
content: e.row.original._id,
|
|
51
|
+
onClick: (o) => {
|
|
52
|
+
o.stopPropagation(), Z(e.row.original._id);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
[
|
|
56
|
+
m(_.FmIcon, {
|
|
57
|
+
name: "info",
|
|
58
|
+
outline: !0,
|
|
59
|
+
size: "sm"
|
|
60
|
+
})
|
|
61
|
+
]
|
|
62
|
+
)
|
|
63
|
+
]),
|
|
64
|
+
m("div", { class: "flex-1" }, e.row.original.name)
|
|
65
|
+
]);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
header: n("connect.campaign.mission.type"),
|
|
70
|
+
accessorFn: (e) => re(e.mission.type)
|
|
71
|
+
//v.effect,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
header: n("connect.program.common.table.status"),
|
|
75
|
+
accessorFn: (e) => Y(e),
|
|
76
|
+
cell(e) {
|
|
77
|
+
return B(e.row.original);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
header: n("connect.program.common.table.summary"),
|
|
82
|
+
accessorFn: (e) => P(e)
|
|
83
|
+
//v.effect,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
header: n("connect.campaign.mission.received"),
|
|
87
|
+
accessorFn: (e) => {
|
|
88
|
+
var o;
|
|
89
|
+
return ((o = e == null ? void 0 : e.pf_collectible) == null ? void 0 : o.currentReceive) ?? 0;
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
header: n("connect.program.common.table.actions"),
|
|
94
|
+
cell(e) {
|
|
95
|
+
return m("div", { class: "flex items-center gap-8" }, [
|
|
96
|
+
m(_.FmButton, {
|
|
97
|
+
variant: "tertiary",
|
|
98
|
+
icon: "send",
|
|
99
|
+
iconColor: "neutral-gray-400",
|
|
100
|
+
onClick: (o) => {
|
|
101
|
+
o.stopPropagation(), $(e.row.original);
|
|
102
|
+
}
|
|
103
|
+
}),
|
|
104
|
+
m(_.FmButton, {
|
|
105
|
+
variant: "tertiary",
|
|
106
|
+
icon: "delete",
|
|
107
|
+
iconColor: "neutral-gray-400",
|
|
108
|
+
onClick: (o) => {
|
|
109
|
+
o.stopPropagation(), L(e.row.original);
|
|
110
|
+
}
|
|
111
|
+
})
|
|
112
|
+
]);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
], k = w(), I = w();
|
|
116
|
+
async function L(e) {
|
|
117
|
+
await ee.remove(
|
|
118
|
+
n("connect.program.common.remove.confirm", { name: e.name })
|
|
119
|
+
) && await F(
|
|
120
|
+
async () => {
|
|
121
|
+
await h.delete(e._id), await p.read("MISSION");
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
message: n("connect.program.common.remove.removing", { name: e.name }),
|
|
125
|
+
successMessage: n("connect.program.common.remove.removed", {
|
|
126
|
+
name: e.name
|
|
127
|
+
})
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
async function y(e) {
|
|
132
|
+
e ? await o() : K.open(async (i) => {
|
|
133
|
+
await o(i);
|
|
134
|
+
});
|
|
135
|
+
async function o(i) {
|
|
136
|
+
var l;
|
|
137
|
+
(l = k.value) == null || l.showSheet(
|
|
138
|
+
!0,
|
|
139
|
+
"MISSION",
|
|
140
|
+
e ? await h.readById(e._id) : void 0,
|
|
141
|
+
i
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
async function U(e) {
|
|
146
|
+
e.campaign._id && e.campaign.rewards.some((o) => o.type === "VOUCHER") && await new Promise((o) => {
|
|
147
|
+
S.open({
|
|
148
|
+
title: "Confirmation",
|
|
149
|
+
message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
|
|
150
|
+
primaryActions: { text: "Update all", close: !0 },
|
|
151
|
+
secondaryActions: { text: "Update future only", close: !0 }
|
|
152
|
+
}).onPrimary(async () => {
|
|
153
|
+
var i;
|
|
154
|
+
e.updateCollections = !0, (i = window.top) == null || i.postMessage("updateAllVoucher", "*"), o();
|
|
155
|
+
}).onSecondary(async () => {
|
|
156
|
+
o();
|
|
157
|
+
});
|
|
158
|
+
}), await F(
|
|
159
|
+
async () => {
|
|
160
|
+
e.campaign._id ? await h.update(e.campaign._id, e) : await h.create(e), await p.read("MISSION");
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
message: n(
|
|
164
|
+
e.campaign._id ? "connect.program.common.update.updating" : "connect.program.common.update.creating",
|
|
165
|
+
{ type: "Mission" }
|
|
166
|
+
),
|
|
167
|
+
successMessage: n("connect.program.common.update.success", {
|
|
168
|
+
type: "Mission",
|
|
169
|
+
action: e.campaign._id ? "updated" : "created"
|
|
170
|
+
})
|
|
171
|
+
}
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
function $(e) {
|
|
175
|
+
var o;
|
|
176
|
+
(o = I.value) == null || o.showSheet({
|
|
177
|
+
campaign: e
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
return W(async () => {
|
|
181
|
+
await N(async () => {
|
|
182
|
+
await p.read("MISSION"), console.log(g);
|
|
183
|
+
});
|
|
184
|
+
}), (e, o) => {
|
|
185
|
+
const i = d("FmPageHead"), l = d("FmSearch"), D = d("FmTable"), V = d("FmButton"), j = d("FmListItem"), E = d("FmList"), H = d("FmCard");
|
|
186
|
+
return u(), x(v, null, [
|
|
187
|
+
r(i, {
|
|
188
|
+
title: t(n)("connect.campaign.mission.title"),
|
|
189
|
+
actions: t(g).length > 0 ? [R] : [],
|
|
190
|
+
"onClick:action": o[0] || (o[0] = () => y())
|
|
191
|
+
}, null, 8, ["title", "actions"]),
|
|
192
|
+
s("div", me, [
|
|
193
|
+
r(l, {
|
|
194
|
+
modelValue: t(c).searchKey,
|
|
195
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => t(c).searchKey = a),
|
|
196
|
+
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
197
|
+
placeholder: t(n)("connect.program.common.search"),
|
|
198
|
+
collapsible: ""
|
|
199
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
200
|
+
t(p).campaigns.mission && t(p).campaigns.mission.length > 0 ? (u(), x(v, { key: 0 }, [
|
|
201
|
+
s("div", de, [
|
|
202
|
+
s("div", pe, [
|
|
203
|
+
r(ae, {
|
|
204
|
+
label: `${t(n)("connect.program.common.location")}: `,
|
|
205
|
+
"right-icon": "keyboard_arrow_down",
|
|
206
|
+
modelValue: t(c).location,
|
|
207
|
+
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(c).location = a),
|
|
208
|
+
icon: "storefront",
|
|
209
|
+
"show-item-label": !0,
|
|
210
|
+
items: t(A).locationOptions
|
|
211
|
+
}, null, 8, ["label", "modelValue", "items"])
|
|
212
|
+
]),
|
|
213
|
+
r(l, {
|
|
214
|
+
modelValue: t(c).searchKey,
|
|
215
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(c).searchKey = a),
|
|
216
|
+
class: "xs:hidden",
|
|
217
|
+
placeholder: "search",
|
|
218
|
+
collapsible: ""
|
|
219
|
+
}, null, 8, ["modelValue"])
|
|
220
|
+
]),
|
|
221
|
+
r(D, {
|
|
222
|
+
class: "xs:hidden",
|
|
223
|
+
"row-data": t(g),
|
|
224
|
+
"column-defs": T,
|
|
225
|
+
"search-value": t(c).searchKey,
|
|
226
|
+
"column-filter": [],
|
|
227
|
+
onRowClick: o[4] || (o[4] = (a) => y(a.original)),
|
|
228
|
+
"hide-footer": t(g).length < 10
|
|
229
|
+
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
230
|
+
r(E, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
231
|
+
default: C(() => [
|
|
232
|
+
(u(!0), x(v, null, G(t(g).filter(
|
|
233
|
+
(a) => a.name.toLowerCase().includes(t(c).searchKey.toLowerCase())
|
|
234
|
+
), (a) => (u(), b(j, {
|
|
235
|
+
key: a._id.toString(),
|
|
236
|
+
onClick: (M) => y(a),
|
|
237
|
+
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
238
|
+
}, {
|
|
239
|
+
default: C(() => [
|
|
240
|
+
s("div", ue, [
|
|
241
|
+
s("div", fe, [
|
|
242
|
+
(u(), b(J(t(B)(a)))),
|
|
243
|
+
s("div", ge, f(a.currentReceive ?? 0) + " used ", 1)
|
|
244
|
+
]),
|
|
245
|
+
s("div", ye, [
|
|
246
|
+
s("div", _e, f(a.name), 1),
|
|
247
|
+
s("div", he, f(t(P)(a)), 1)
|
|
248
|
+
]),
|
|
249
|
+
s("div", we, " Token received: " + f(a.currentReceive ?? 0), 1)
|
|
250
|
+
]),
|
|
251
|
+
r(V, {
|
|
252
|
+
icon: "delete",
|
|
253
|
+
"icon-color": "neutral-gray-400",
|
|
254
|
+
variant: "tertiary",
|
|
255
|
+
onClick: (M) => (M.stopPropagation(), L(a))
|
|
256
|
+
}, null, 8, ["onClick"])
|
|
257
|
+
]),
|
|
258
|
+
_: 2
|
|
259
|
+
}, 1032, ["onClick"]))), 128))
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
})
|
|
263
|
+
], 64)) : (u(), b(H, {
|
|
264
|
+
key: 1,
|
|
265
|
+
variant: "outlined",
|
|
266
|
+
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
267
|
+
}, {
|
|
268
|
+
default: C(() => [
|
|
269
|
+
o[6] || (o[6] = s("img", {
|
|
270
|
+
src: Q,
|
|
271
|
+
class: "aspect-square w-[150px]"
|
|
272
|
+
}, null, -1)),
|
|
273
|
+
s("div", xe, [
|
|
274
|
+
s("div", ve, f(t(n)("connect.campaign.mission.createProgram")), 1),
|
|
275
|
+
s("div", Ce, f(t(n)("connect.campaign.mission.description")), 1)
|
|
276
|
+
]),
|
|
277
|
+
r(V, {
|
|
278
|
+
variant: "primary",
|
|
279
|
+
label: t(n)("connect.campaign.mission.create"),
|
|
280
|
+
icon: "add",
|
|
281
|
+
onClick: o[5] || (o[5] = (a) => y())
|
|
282
|
+
}, null, 8, ["label"])
|
|
283
|
+
]),
|
|
284
|
+
_: 1
|
|
285
|
+
})),
|
|
286
|
+
r(ie, {
|
|
287
|
+
ref_key: "sheetRef",
|
|
288
|
+
ref: k,
|
|
289
|
+
"onSubmit:modelValue": U
|
|
290
|
+
}, null, 512),
|
|
291
|
+
r(le, {
|
|
292
|
+
ref_key: "sendCollectionSheetRef",
|
|
293
|
+
ref: I
|
|
294
|
+
}, null, 512)
|
|
295
|
+
])
|
|
296
|
+
], 64);
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
export {
|
|
301
|
+
Ue as default
|
|
302
|
+
};
|