@feedmepos/mf-connect 0.1.38-beta.52 → 0.1.38-beta.53
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/package.json +2 -2
- package/dist/Analytic-BU1mOMoX.js +0 -760
- package/dist/App-fw6iFNxW.js +0 -4638
- package/dist/AuditLogs-CliU8167.js +0 -1887
- package/dist/Bin-C49tzfas.js +0 -166
- package/dist/Broadcast-YZVnZTCD.js +0 -232
- package/dist/CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DEwsZags.js +0 -122
- package/dist/Card-DcQQyJl9.js +0 -911
- package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +0 -97
- package/dist/Collections--8lmoXWR.js +0 -540
- package/dist/Credit-CfkLFMei.js +0 -227
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +0 -128
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +0 -58
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-t6eac8yR.js +0 -3151
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-CXVOuiLI.js +0 -347
- package/dist/Experience-BnVVC2-L.js +0 -228
- package/dist/FileSaver.min-NlMItPOc.js +0 -74
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +0 -129
- package/dist/Game-Dbz4DzY_.js +0 -297
- package/dist/Grab-CCqScmpp.js +0 -300
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-C5irH9v6.js +0 -145
- package/dist/Index-DPsM9D4W.js +0 -259
- package/dist/JsonViewer-v8_C7l5N.js +0 -87
- package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js +0 -18737
- package/dist/MainLayout-B1aJoR95.js +0 -41
- package/dist/Marketing-CFwxWdJq.js +0 -21761
- package/dist/Member-ZPKbf5Bk.js +0 -281
- package/dist/MemberList-BDs-70nG.js +0 -1607
- package/dist/MemberOverview-wL_ailso.js +0 -58
- package/dist/MemberTransactions-C-zHpuZF.js +0 -45
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-B2TKmOOK.js +0 -60616
- package/dist/Mission-BHkb1E9m.js +0 -301
- package/dist/Overview-DYlcqNCX.js +0 -1079
- package/dist/Point-BEhNBY2_.js +0 -231
- package/dist/Promotion-DOXRIej4.js +0 -363
- package/dist/Queue-Bwa0LWhf.js +0 -260
- package/dist/Record-BoI8l1Qq.js +0 -341
- package/dist/Reward-BVQaqAYM.js +0 -442
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-BC3dEiWi.js +0 -150
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-HpleMvjm.js +0 -1767
- package/dist/Segment-Cmy7nu27.js +0 -882
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-pab6X2DC.js +0 -181
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-BqIh8D8O.js +0 -189
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-CESoNd87.js +0 -147
- package/dist/Setting-DN8j_6Xv.js +0 -1993
- package/dist/SettingAdvertisements-qHdiaa6m.js +0 -264
- package/dist/Store-DfhVYCgX.js +0 -1936
- package/dist/StoreRewards-NYucFLJU.js +0 -535
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BGOcOAXR.js +0 -1036
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DRin8Jzw.js +0 -8093
- package/dist/Tier-Dl0aBuJz.js +0 -970
- package/dist/Title-DvO6Mira.js +0 -568
- package/dist/Transaction-ONVl4UZZ.js +0 -39
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-FyE25D8o.js +0 -130
- package/dist/Voucher-BZ1feYh1.js +0 -399
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-Lilql8J4.js +0 -421
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-C_ZdCOPI.js +0 -56
- package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-B_RRkjaD.js +0 -42566
- package/dist/app-wDQR6dpb.js +0 -39
- package/dist/app.js +0 -7
- package/dist/business-y5qSMcd-.js +0 -82
- package/dist/campaign-CpzFl8Vr.js +0 -4
- package/dist/campaign-DHgol2Lt.js +0 -219
- package/dist/campaign-Drxe0zPX.js +0 -253
- package/dist/campaign.enum-CwAPVgPe.js +0 -21
- package/dist/campaign.fn-DMx5xsiK.js +0 -776
- package/dist/collectible.enum-Bh4jnUgP.js +0 -19
- package/dist/collection.fn-BpC_YBwG.js +0 -26
- package/dist/dto-DWkf9QOb.js +0 -222
- package/dist/effect-D5ZWGpNS.js +0 -78
- package/dist/email-addresses-DFtVESS8.js +0 -705
- package/dist/export-BtUy3sWU.js +0 -97
- package/dist/feedme.ico +0 -0
- package/dist/helper-DtWMZoWX.js +0 -86
- package/dist/index-7HXC3sH0.js +0 -56
- package/dist/index-BQlhmw75.js +0 -3
- package/dist/index-BdX7CxUg.js +0 -30076
- package/dist/index-BerRe0M3.js +0 -76
- package/dist/index-BrZ3xZzk.js +0 -146
- package/dist/index-CJzBpsBP.js +0 -3412
- package/dist/index-CQiABpeB.js +0 -32456
- package/dist/index-CqIWlGW3.js +0 -38
- package/dist/index-CsaQJMAR.js +0 -66
- package/dist/index-DPCDboPA.js +0 -32
- package/dist/index-DPaH8jaV.js +0 -8884
- package/dist/index-Dkce3JZ_.js +0 -54
- package/dist/index-DrYv_gG4.js +0 -31
- package/dist/index-SfJbKfWl.js +0 -2407
- package/dist/index-vh86FiIQ.js +0 -10
- package/dist/index.esm2017-CbvE5vCC.js +0 -3069
- package/dist/loading-BWGIK17X.js +0 -71
- package/dist/lodash-B5I3zXaY.js +0 -3678
- package/dist/membership-Zy2P6O6X.js +0 -235
- package/dist/moment-D7p2TMB-.js +0 -2583
- package/dist/money-D_fZmBbi.js +0 -15
- package/dist/number-C4DhXkCm.js +0 -12
- package/dist/object-qECH92oz.js +0 -26
- package/dist/objectId-dwaoBfJX.js +0 -7
- package/dist/objectid-C6eRcDzI.js +0 -145
- package/dist/plugins-DDAJav2s.js +0 -1817
- package/dist/reward-Dxjvmy7-.js +0 -36
- package/dist/rule-builder-ZkPWAiTl.js +0 -102
- package/dist/rule-sclqeiyk.js +0 -1951
- package/dist/style.css +0 -4
- package/dist/template-CAs0lkTY.js +0 -188
- package/dist/tier-BJDhpH6X.js +0 -4
- 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-5t8ki0gE.js +0 -1151
- 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-B2fpKTfg.js +0 -213
- package/dist/tslib.es6-BCqqvLQ_.js +0 -44
- package/dist/type_drinks-D6jnpvwV.js +0 -4
- package/dist/usePagination-Ds-cuHop.js +0 -223
- package/dist/user-ORhbAsqi.js +0 -55
- package/dist/vue-i18n-cyOhW8mW.js +0 -2365
- package/dist/xlsx-4klfjFae.js +0 -15491
- package/dist/zod-BsHmzMQd.js +0 -91
package/dist/Mission-BHkb1E9m.js
DELETED
|
@@ -1,301 +0,0 @@
|
|
|
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-BWGIK17X.js";
|
|
4
|
-
import { a as Y, b as B, c as P } from "./campaign-Drxe0zPX.js";
|
|
5
|
-
import { a as Z, p as ee } from "./plugins-DDAJav2s.js";
|
|
6
|
-
import { u as oe } from "./business-y5qSMcd-.js";
|
|
7
|
-
import { u as te, c as _ } from "./campaign-DHgol2Lt.js";
|
|
8
|
-
import { useDialog as ne, components as h } 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-CAs0lkTY.js";
|
|
11
|
-
import { _ as ie } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-t6eac8yR.js";
|
|
12
|
-
import { s as re } from "./index-CsaQJMAR.js";
|
|
13
|
-
import { u as ce } from "./vue-i18n-cyOhW8mW.js";
|
|
14
|
-
import { _ as le } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-BqIh8D8O.js";
|
|
15
|
-
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" }, Te = /* @__PURE__ */ q({
|
|
16
|
-
__name: "Mission",
|
|
17
|
-
setup(be) {
|
|
18
|
-
const { t: n } = ce(), R = {
|
|
19
|
-
label: n("connect.program.common.actions.create", {
|
|
20
|
-
type: n("connect.program.mission.title").toLowerCase()
|
|
21
|
-
}),
|
|
22
|
-
value: "create",
|
|
23
|
-
isPrimary: !0,
|
|
24
|
-
prependIcon: "add"
|
|
25
|
-
}, S = ne(), K = se("MISSION", S), A = oe(), p = te(), { global: N, minor: F } = X, c = w({
|
|
26
|
-
searchKey: "",
|
|
27
|
-
location: []
|
|
28
|
-
});
|
|
29
|
-
function O(e) {
|
|
30
|
-
const o = c.value.location;
|
|
31
|
-
return !o || o.length === 0 || !e.targetLocation ? !0 : Array.isArray(o) ? o.some((i) => {
|
|
32
|
-
var l;
|
|
33
|
-
return (l = e == null ? void 0 : e.targetLocation) == null ? void 0 : l.includes(i);
|
|
34
|
-
}) : e.targetLocation.includes(o);
|
|
35
|
-
}
|
|
36
|
-
const g = z(
|
|
37
|
-
() => p.campaigns.mission.filter((e) => O(e))
|
|
38
|
-
), T = [
|
|
39
|
-
{
|
|
40
|
-
header: n("connect.program.common.table.title"),
|
|
41
|
-
accessorKey: "name",
|
|
42
|
-
// accessorFn: (v) => v.name,
|
|
43
|
-
cell(e) {
|
|
44
|
-
return m("div", { class: "flex items-center justify-between gap-4" }, [
|
|
45
|
-
m("div", { class: "flex items-center" }, [
|
|
46
|
-
m(
|
|
47
|
-
h.FmTooltip,
|
|
48
|
-
{
|
|
49
|
-
content: e.row.original._id,
|
|
50
|
-
onClick: (o) => {
|
|
51
|
-
o.stopPropagation(), Z(e.row.original._id);
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
[
|
|
55
|
-
m(h.FmIcon, {
|
|
56
|
-
name: "info",
|
|
57
|
-
outline: !0,
|
|
58
|
-
size: "sm"
|
|
59
|
-
})
|
|
60
|
-
]
|
|
61
|
-
)
|
|
62
|
-
]),
|
|
63
|
-
m("div", { class: "flex-1" }, e.row.original.name)
|
|
64
|
-
]);
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
header: n("connect.campaign.mission.type"),
|
|
69
|
-
accessorFn: (e) => re(e.mission.type)
|
|
70
|
-
//v.effect,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
header: n("connect.program.common.table.status"),
|
|
74
|
-
accessorFn: (e) => Y(e),
|
|
75
|
-
cell(e) {
|
|
76
|
-
return B(e.row.original);
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
header: n("connect.program.common.table.summary"),
|
|
81
|
-
accessorFn: (e) => P(e)
|
|
82
|
-
//v.effect,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
header: n("connect.campaign.mission.received"),
|
|
86
|
-
accessorFn: (e) => {
|
|
87
|
-
var o;
|
|
88
|
-
return ((o = e == null ? void 0 : e.pf_collectible) == null ? void 0 : o.currentReceive) ?? 0;
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
header: n("connect.program.common.table.actions"),
|
|
93
|
-
cell(e) {
|
|
94
|
-
return m("div", { class: "flex items-center gap-8" }, [
|
|
95
|
-
m(h.FmButton, {
|
|
96
|
-
variant: "tertiary",
|
|
97
|
-
icon: "send",
|
|
98
|
-
iconColor: "neutral-gray-400",
|
|
99
|
-
onClick: (o) => {
|
|
100
|
-
o.stopPropagation(), $(e.row.original);
|
|
101
|
-
}
|
|
102
|
-
}),
|
|
103
|
-
m(h.FmButton, {
|
|
104
|
-
variant: "tertiary",
|
|
105
|
-
icon: "delete",
|
|
106
|
-
iconColor: "neutral-gray-400",
|
|
107
|
-
onClick: (o) => {
|
|
108
|
-
o.stopPropagation(), L(e.row.original);
|
|
109
|
-
}
|
|
110
|
-
})
|
|
111
|
-
]);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
], k = w(), I = w();
|
|
115
|
-
async function L(e) {
|
|
116
|
-
await ee.remove(
|
|
117
|
-
n("connect.program.common.remove.confirm", { name: e.name })
|
|
118
|
-
) && await F(
|
|
119
|
-
async () => {
|
|
120
|
-
await _.delete(e._id), await p.read("MISSION");
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
message: n("connect.program.common.remove.removing", { name: e.name }),
|
|
124
|
-
successMessage: n("connect.program.common.remove.removed", {
|
|
125
|
-
name: e.name
|
|
126
|
-
})
|
|
127
|
-
}
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
async function y(e) {
|
|
131
|
-
e ? await o() : K.open(async (i) => {
|
|
132
|
-
await o(i);
|
|
133
|
-
});
|
|
134
|
-
async function o(i) {
|
|
135
|
-
var l;
|
|
136
|
-
(l = k.value) == null || l.showSheet(
|
|
137
|
-
!0,
|
|
138
|
-
"MISSION",
|
|
139
|
-
e ? await _.readById(e._id) : void 0,
|
|
140
|
-
i
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
async function U(e) {
|
|
145
|
-
e.campaign._id && e.campaign.rewards.some((o) => o.type === "VOUCHER") && await new Promise((o) => {
|
|
146
|
-
S.open({
|
|
147
|
-
title: "Confirmation",
|
|
148
|
-
message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
|
|
149
|
-
primaryActions: { text: "Update all", close: !0 },
|
|
150
|
-
secondaryActions: { text: "Update future only", close: !0 }
|
|
151
|
-
}).onPrimary(async () => {
|
|
152
|
-
var i;
|
|
153
|
-
e.updateCollections = !0, (i = window.top) == null || i.postMessage("updateAllVoucher", "*"), o();
|
|
154
|
-
}).onSecondary(async () => {
|
|
155
|
-
o();
|
|
156
|
-
});
|
|
157
|
-
}), await F(
|
|
158
|
-
async () => {
|
|
159
|
-
e.campaign._id ? await _.update(e.campaign._id, e) : await _.create(e), await p.read("MISSION");
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
message: n(
|
|
163
|
-
e.campaign._id ? "connect.program.common.update.updating" : "connect.program.common.update.creating",
|
|
164
|
-
{ type: "Mission" }
|
|
165
|
-
),
|
|
166
|
-
successMessage: n("connect.program.common.update.success", {
|
|
167
|
-
type: "Mission",
|
|
168
|
-
action: e.campaign._id ? "updated" : "created"
|
|
169
|
-
})
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
function $(e) {
|
|
174
|
-
var o;
|
|
175
|
-
(o = I.value) == null || o.showSheet({
|
|
176
|
-
campaign: e
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
return W(async () => {
|
|
180
|
-
await N(async () => {
|
|
181
|
-
await p.read("MISSION"), console.log(g);
|
|
182
|
-
});
|
|
183
|
-
}), (e, o) => {
|
|
184
|
-
const i = d("FmPageHead"), l = d("FmSearch"), D = d("FmTable"), V = d("FmButton"), j = d("FmListItem"), E = d("FmList"), H = d("FmCard");
|
|
185
|
-
return u(), x(v, null, [
|
|
186
|
-
r(i, {
|
|
187
|
-
title: t(n)("connect.campaign.mission.title"),
|
|
188
|
-
actions: t(g).length > 0 ? [R] : [],
|
|
189
|
-
"onClick:action": o[0] || (o[0] = () => y())
|
|
190
|
-
}, null, 8, ["title", "actions"]),
|
|
191
|
-
s("div", me, [
|
|
192
|
-
r(l, {
|
|
193
|
-
modelValue: t(c).searchKey,
|
|
194
|
-
"onUpdate:modelValue": o[1] || (o[1] = (a) => t(c).searchKey = a),
|
|
195
|
-
class: "hidden xs:!block border-b-2 border-fm-color-neutral-gray-100",
|
|
196
|
-
placeholder: t(n)("connect.program.common.search"),
|
|
197
|
-
collapsible: ""
|
|
198
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
199
|
-
t(p).campaigns.mission && t(p).campaigns.mission.length > 0 ? (u(), x(v, { key: 0 }, [
|
|
200
|
-
s("div", de, [
|
|
201
|
-
s("div", pe, [
|
|
202
|
-
r(ae, {
|
|
203
|
-
label: `${t(n)("connect.program.common.location")}: `,
|
|
204
|
-
"right-icon": "keyboard_arrow_down",
|
|
205
|
-
modelValue: t(c).location,
|
|
206
|
-
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(c).location = a),
|
|
207
|
-
icon: "storefront",
|
|
208
|
-
"show-item-label": !0,
|
|
209
|
-
items: t(A).locationOptions
|
|
210
|
-
}, null, 8, ["label", "modelValue", "items"])
|
|
211
|
-
]),
|
|
212
|
-
r(l, {
|
|
213
|
-
modelValue: t(c).searchKey,
|
|
214
|
-
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(c).searchKey = a),
|
|
215
|
-
class: "xs:hidden",
|
|
216
|
-
placeholder: "search",
|
|
217
|
-
collapsible: ""
|
|
218
|
-
}, null, 8, ["modelValue"])
|
|
219
|
-
]),
|
|
220
|
-
r(D, {
|
|
221
|
-
class: "xs:hidden",
|
|
222
|
-
"row-data": t(g),
|
|
223
|
-
"column-defs": T,
|
|
224
|
-
"search-value": t(c).searchKey,
|
|
225
|
-
"column-filter": [],
|
|
226
|
-
onRowClick: o[4] || (o[4] = (a) => y(a.original)),
|
|
227
|
-
"hide-footer": t(g).length < 10
|
|
228
|
-
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
229
|
-
r(E, { class: "hidden xs:!flex flex-col mx-[-24px]" }, {
|
|
230
|
-
default: C(() => [
|
|
231
|
-
(u(!0), x(v, null, G(t(g).filter(
|
|
232
|
-
(a) => a.name.toLowerCase().includes(t(c).searchKey.toLowerCase())
|
|
233
|
-
), (a) => (u(), b(j, {
|
|
234
|
-
key: a._id.toString(),
|
|
235
|
-
onClick: (M) => y(a),
|
|
236
|
-
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
237
|
-
}, {
|
|
238
|
-
default: C(() => [
|
|
239
|
-
s("div", ue, [
|
|
240
|
-
s("div", fe, [
|
|
241
|
-
(u(), b(J(t(B)(a)))),
|
|
242
|
-
s("div", ge, f(a.currentReceive ?? 0) + " used ", 1)
|
|
243
|
-
]),
|
|
244
|
-
s("div", ye, [
|
|
245
|
-
s("div", _e, f(a.name), 1),
|
|
246
|
-
s("div", he, f(t(P)(a)), 1)
|
|
247
|
-
]),
|
|
248
|
-
s("div", we, " Token received: " + f(a.currentReceive ?? 0), 1)
|
|
249
|
-
]),
|
|
250
|
-
r(V, {
|
|
251
|
-
icon: "delete",
|
|
252
|
-
"icon-color": "neutral-gray-400",
|
|
253
|
-
variant: "tertiary",
|
|
254
|
-
onClick: (M) => (M.stopPropagation(), L(a))
|
|
255
|
-
}, null, 8, ["onClick"])
|
|
256
|
-
]),
|
|
257
|
-
_: 2
|
|
258
|
-
}, 1032, ["onClick"]))), 128))
|
|
259
|
-
]),
|
|
260
|
-
_: 1
|
|
261
|
-
})
|
|
262
|
-
], 64)) : (u(), b(H, {
|
|
263
|
-
key: 1,
|
|
264
|
-
variant: "outlined",
|
|
265
|
-
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
266
|
-
}, {
|
|
267
|
-
default: C(() => [
|
|
268
|
-
o[6] || (o[6] = s("img", {
|
|
269
|
-
src: Q,
|
|
270
|
-
class: "aspect-square w-[150px]"
|
|
271
|
-
}, null, -1)),
|
|
272
|
-
s("div", xe, [
|
|
273
|
-
s("div", ve, f(t(n)("connect.campaign.mission.createProgram")), 1),
|
|
274
|
-
s("div", Ce, f(t(n)("connect.campaign.mission.description")), 1)
|
|
275
|
-
]),
|
|
276
|
-
r(V, {
|
|
277
|
-
variant: "primary",
|
|
278
|
-
label: t(n)("connect.campaign.mission.create"),
|
|
279
|
-
icon: "add",
|
|
280
|
-
onClick: o[5] || (o[5] = (a) => y())
|
|
281
|
-
}, null, 8, ["label"])
|
|
282
|
-
]),
|
|
283
|
-
_: 1
|
|
284
|
-
})),
|
|
285
|
-
r(ie, {
|
|
286
|
-
ref_key: "sheetRef",
|
|
287
|
-
ref: k,
|
|
288
|
-
"onSubmit:modelValue": U
|
|
289
|
-
}, null, 512),
|
|
290
|
-
r(le, {
|
|
291
|
-
ref_key: "sendCollectionSheetRef",
|
|
292
|
-
ref: I
|
|
293
|
-
}, null, 512)
|
|
294
|
-
])
|
|
295
|
-
], 64);
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
export {
|
|
300
|
-
Te as default
|
|
301
|
-
};
|