@feedmepos/mf-connect 0.1.38-beta.59 → 0.1.38-beta.60
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 +5 -3
- package/dist/Analytic-DwoLGg4q.js +0 -760
- package/dist/App-CbNpSsTx.js +0 -4638
- package/dist/AuditLogs-DHItENug.js +0 -1887
- package/dist/Bin-CjqvbjiX.js +0 -166
- package/dist/Broadcast-O6WqL0WM.js +0 -232
- package/dist/CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CQTGbWsC.js +0 -122
- package/dist/Card-BkbvLM78.js +0 -911
- package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +0 -97
- package/dist/Collections-DRmED98I.js +0 -540
- package/dist/Credit-DJ5cJY6d.js +0 -225
- 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-D4C-fpN-.js +0 -3151
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-BVNfTZFX.js +0 -347
- package/dist/Experience-DRmAZF_y.js +0 -224
- 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-fDLTYN62.js +0 -299
- package/dist/Grab-qCAaG_tC.js +0 -300
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-BpBsOlP-.js +0 -145
- package/dist/Index-DC_hP9Vu.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-BxJd8LEF.js +0 -21761
- package/dist/Member-DxLyAHl0.js +0 -281
- package/dist/MemberList-t4sO4eNo.js +0 -1607
- package/dist/MemberOverview-wL_ailso.js +0 -58
- package/dist/MemberTransactions-qPv37NL2.js +0 -45
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-Bv22gIM1.js +0 -60616
- package/dist/Mission-Df9So3a7.js +0 -303
- package/dist/Overview-7LyOV_Xe.js +0 -1079
- package/dist/Point-C7HQR7NU.js +0 -227
- package/dist/Promotion-COpyH3Jy.js +0 -363
- package/dist/Queue-DrnemuvH.js +0 -260
- package/dist/Record-DQOjVag_.js +0 -341
- package/dist/Reward-BDh3g9v4.js +0 -442
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-9D0kMhvK.js +0 -150
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Lq65YU0I.js +0 -1767
- package/dist/Segment-ToQ--rix.js +0 -882
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-D3h9Q1C1.js +0 -181
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-DxTxcXrD.js +0 -189
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-DYMV_6G4.js +0 -147
- package/dist/Setting-1XY_9QUk.js +0 -1993
- package/dist/SettingAdvertisements-BP79SS8j.js +0 -264
- package/dist/Store-CL4DwsUo.js +0 -1936
- package/dist/StoreRewards-DztdNWRH.js +0 -535
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BLn1RzVd.js +0 -1036
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-C3YB11LU.js +0 -8093
- package/dist/Tier-B3ohvQIZ.js +0 -970
- package/dist/Title-CUTapIxw.js +0 -568
- package/dist/Transaction-Dsdll8BN.js +0 -39
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-B01ishWS.js +0 -130
- package/dist/Voucher-BlclebZc.js +0 -399
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-B1gePcpt.js +0 -421
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-BX5aHGIh.js +0 -56
- package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-ZbnMOjMo.js +0 -42658
- package/dist/app-wDQR6dpb.js +0 -39
- package/dist/app.js +0 -7
- package/dist/business-BE2NNRgv.js +0 -82
- package/dist/campaign-CpzFl8Vr.js +0 -4
- package/dist/campaign-DGZsvhoz.js +0 -253
- package/dist/campaign-DQzP0lzN.js +0 -219
- package/dist/campaign.enum-BZuGSgZv.js +0 -21
- package/dist/campaign.fn-BlaNCoOb.js +0 -776
- package/dist/collectible.enum-X59zAhgN.js +0 -19
- package/dist/collection.fn-kjWrac0y.js +0 -26
- package/dist/dto-NWQmJvRM.js +0 -222
- package/dist/effect-DpSxQ-N5.js +0 -78
- package/dist/email-addresses-D96VA3I3.js +0 -705
- package/dist/export-BjfHXqTR.js +0 -97
- package/dist/feedme.ico +0 -0
- package/dist/helper-C8OHgq2a.js +0 -86
- package/dist/index-7eOWPThg.js +0 -31
- package/dist/index-B1IJ4pjv.js +0 -2407
- package/dist/index-B9TK-7yy.js +0 -146
- package/dist/index-BFIYtayJ.js +0 -32456
- package/dist/index-BUIbtGUn.js +0 -54
- package/dist/index-Bf0ahJk1.js +0 -8884
- package/dist/index-C-jkOXyh.js +0 -38
- package/dist/index-CIlx2w3d.js +0 -32
- package/dist/index-Cs8q0R7b.js +0 -3419
- package/dist/index-CsaQJMAR.js +0 -66
- package/dist/index-D1Y-Txn3.js +0 -30076
- package/dist/index-c71I5Bvt.js +0 -56
- package/dist/index-nRJyihl3.js +0 -3
- package/dist/index-vh86FiIQ.js +0 -10
- package/dist/index-xSGsAoAs.js +0 -76
- package/dist/index.esm2017-BfIF_Qxi.js +0 -3069
- package/dist/loading-DtG5daSr.js +0 -71
- package/dist/lodash-B5I3zXaY.js +0 -3678
- package/dist/membership-BTQfrhjS.js +0 -235
- package/dist/moment-D7p2TMB-.js +0 -2583
- package/dist/money-0eEEhUsF.js +0 -15
- package/dist/number-BKlatpG1.js +0 -12
- package/dist/object-qECH92oz.js +0 -26
- package/dist/objectId-dwaoBfJX.js +0 -7
- package/dist/objectid-BOsp36rn.js +0 -145
- package/dist/plugins-CQLxX5lH.js +0 -1817
- package/dist/reward-EfOaSMd2.js +0 -36
- package/dist/rule-CAML5bj4.js +0 -1951
- package/dist/rule-builder-E7zRNd4e.js +0 -102
- package/dist/style.css +0 -4
- package/dist/template-CiX1Kipi.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-MzvR1JHx.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-CcbZ-UCr.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-XLoFzAl-.js +0 -55
- package/dist/vue-i18n-CRlEE5s3.js +0 -2365
- package/dist/xlsx-gW1LPKTx.js +0 -15491
- package/dist/zod-BQC7KOw1.js +0 -91
package/dist/Mission-Df9So3a7.js
DELETED
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, ref as x, computed as W, h as m, onMounted as G, resolveComponent as d, openBlock as u, createElementBlock as b, Fragment as C, createVNode as r, unref as t, createElementVNode as s, withCtx as v, renderList as J, createBlock as S, resolveDynamicComponent as Q, toDisplayString as f } from "vue";
|
|
2
|
-
import { _ as X } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { u as Y } from "./loading-DtG5daSr.js";
|
|
4
|
-
import { a as Z, b as B, c as P } from "./campaign-DGZsvhoz.js";
|
|
5
|
-
import { a as ee, p as oe } from "./plugins-CQLxX5lH.js";
|
|
6
|
-
import { u as te } from "./business-BE2NNRgv.js";
|
|
7
|
-
import { u as ne, c as _ } from "./campaign-DQzP0lzN.js";
|
|
8
|
-
import { useDialog as ae, components as h } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as se } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
10
|
-
import { u as ie } from "./template-CiX1Kipi.js";
|
|
11
|
-
import { _ as re } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D4C-fpN-.js";
|
|
12
|
-
import { s as ce } from "./index-CsaQJMAR.js";
|
|
13
|
-
import { u as le } from "./vue-i18n-CRlEE5s3.js";
|
|
14
|
-
import { _ as me } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-DxTxcXrD.js";
|
|
15
|
-
const de = { class: "px-24 flex flex-col gap-y-16" }, pe = { class: "flex items-center justify-between w-full" }, ue = { class: "flex gap-8 overflow-x-auto" }, fe = { class: "space-y-8" }, ge = { class: "flex w-full gap-4 items-center" }, 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" }, be = { class: "fm-typo-en-title-sm-800" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = /* @__PURE__ */ z({
|
|
16
|
-
__name: "Mission",
|
|
17
|
-
setup(ve) {
|
|
18
|
-
const { t: n } = le(), K = {
|
|
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
|
-
}, F = ae(), R = ie("MISSION", F), A = te(), p = ne(), { global: N, minor: k } = Y, c = x({
|
|
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 = W(
|
|
37
|
-
() => p.campaigns.mission.filter((e) => O(e))
|
|
38
|
-
), U = [
|
|
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(), ee(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) => ce(e.mission.type)
|
|
70
|
-
//v.effect,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
header: n("connect.program.common.table.status"),
|
|
74
|
-
accessorFn: (e) => Z(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(), V(e.row.original);
|
|
109
|
-
}
|
|
110
|
-
})
|
|
111
|
-
]);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
], I = x(), L = x();
|
|
115
|
-
async function V(e) {
|
|
116
|
-
await oe.remove(
|
|
117
|
-
n("connect.program.common.remove.confirm", { name: e.name })
|
|
118
|
-
) && await k(
|
|
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() : R.open(async (i) => {
|
|
132
|
-
await o(i);
|
|
133
|
-
});
|
|
134
|
-
async function o(i) {
|
|
135
|
-
var l;
|
|
136
|
-
(l = I.value) == null || l.showSheet(
|
|
137
|
-
!0,
|
|
138
|
-
"MISSION",
|
|
139
|
-
e ? await _.readById(e._id) : void 0,
|
|
140
|
-
i
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
async function T(e) {
|
|
145
|
-
e.campaign._id && e.campaign.rewards.some((o) => o.type === "VOUCHER") && await new Promise((o) => {
|
|
146
|
-
F.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 k(
|
|
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 = L.value) == null || o.showSheet({
|
|
176
|
-
campaign: e
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
return G(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"), M = d("FmButton"), j = d("FmListItem"), E = d("FmList"), H = d("FmCard");
|
|
185
|
-
return u(), b(C, null, [
|
|
186
|
-
r(i, {
|
|
187
|
-
title: t(n)("connect.campaign.mission.title"),
|
|
188
|
-
actions: t(g).length > 0 ? [K] : [],
|
|
189
|
-
"onClick:action": o[0] || (o[0] = () => y())
|
|
190
|
-
}, null, 8, ["title", "actions"]),
|
|
191
|
-
s("div", de, [
|
|
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 sm:!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(), b(C, { key: 0 }, [
|
|
200
|
-
s("div", pe, [
|
|
201
|
-
s("div", ue, [
|
|
202
|
-
r(se, {
|
|
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 sm:hidden",
|
|
216
|
-
placeholder: "search",
|
|
217
|
-
collapsible: ""
|
|
218
|
-
}, null, 8, ["modelValue"])
|
|
219
|
-
]),
|
|
220
|
-
r(D, {
|
|
221
|
-
class: "xs:hidden sm:hidden",
|
|
222
|
-
"row-data": t(g),
|
|
223
|
-
"column-defs": U,
|
|
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 sm:!flex flex-col mx-[-24px]" }, {
|
|
230
|
-
default: v(() => [
|
|
231
|
-
(u(!0), b(C, null, J(t(g).filter(
|
|
232
|
-
(a) => a.name.toLowerCase().includes(t(c).searchKey.toLowerCase())
|
|
233
|
-
), (a) => (u(), S(j, {
|
|
234
|
-
key: a._id.toString(),
|
|
235
|
-
onClick: (w) => y(a),
|
|
236
|
-
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
237
|
-
}, {
|
|
238
|
-
default: v(() => {
|
|
239
|
-
var w;
|
|
240
|
-
return [
|
|
241
|
-
s("div", fe, [
|
|
242
|
-
s("div", ge, [
|
|
243
|
-
(u(), S(Q(t(B)(a))))
|
|
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, f(t(n)("connect.campaign.mission.received")) + " : " + f(((w = a == null ? void 0 : a.pf_collectible) == null ? void 0 : w.currentReceive) ?? 0), 1)
|
|
250
|
-
]),
|
|
251
|
-
r(M, {
|
|
252
|
-
icon: "delete",
|
|
253
|
-
"icon-color": "neutral-gray-400",
|
|
254
|
-
variant: "tertiary",
|
|
255
|
-
onClick: (q) => (q.stopPropagation(), V(a))
|
|
256
|
-
}, null, 8, ["onClick"])
|
|
257
|
-
];
|
|
258
|
-
}),
|
|
259
|
-
_: 2
|
|
260
|
-
}, 1032, ["onClick"]))), 128))
|
|
261
|
-
]),
|
|
262
|
-
_: 1
|
|
263
|
-
})
|
|
264
|
-
], 64)) : (u(), S(H, {
|
|
265
|
-
key: 1,
|
|
266
|
-
variant: "outlined",
|
|
267
|
-
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
268
|
-
}, {
|
|
269
|
-
default: v(() => [
|
|
270
|
-
o[6] || (o[6] = s("img", {
|
|
271
|
-
src: X,
|
|
272
|
-
class: "aspect-square w-[150px]"
|
|
273
|
-
}, null, -1)),
|
|
274
|
-
s("div", xe, [
|
|
275
|
-
s("div", be, f(t(n)("connect.campaign.mission.createProgram")), 1),
|
|
276
|
-
s("div", Ce, f(t(n)("connect.campaign.mission.description")), 1)
|
|
277
|
-
]),
|
|
278
|
-
r(M, {
|
|
279
|
-
variant: "primary",
|
|
280
|
-
label: t(n)("connect.campaign.mission.create"),
|
|
281
|
-
icon: "add",
|
|
282
|
-
onClick: o[5] || (o[5] = (a) => y())
|
|
283
|
-
}, null, 8, ["label"])
|
|
284
|
-
]),
|
|
285
|
-
_: 1
|
|
286
|
-
})),
|
|
287
|
-
r(re, {
|
|
288
|
-
ref_key: "sheetRef",
|
|
289
|
-
ref: I,
|
|
290
|
-
"onSubmit:modelValue": T
|
|
291
|
-
}, null, 512),
|
|
292
|
-
r(me, {
|
|
293
|
-
ref_key: "sendCollectionSheetRef",
|
|
294
|
-
ref: L
|
|
295
|
-
}, null, 512)
|
|
296
|
-
])
|
|
297
|
-
], 64);
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
export {
|
|
302
|
-
Ue as default
|
|
303
|
-
};
|