@feedmepos/mf-connect 0.1.9-prod → 0.1.11-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-8Ew7y5t9.js → Analytic-Bbt1kP2U.js} +24 -23
- package/dist/{App-3BVNH3r-.js → App-CVA65EVC.js} +56 -51
- package/dist/{Broadcast-CrsPUhLT.js → Broadcast-BJXK8OE5.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DE300Y56.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DDEx0cK9.js} +7 -7
- package/dist/Card-DFiUkfYj.js +895 -0
- package/dist/{Collections-djS9hLI8.js → Collections-qVnvveUf.js} +24 -29
- package/dist/{Credit-D4KEvIov.js → Credit-BWHTbAG-.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BjM81fmS.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-4_cHlWUJ.js} +648 -1284
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-aEWfdpCg.js → EffectSheet.vue_vue_type_style_index_0_lang-DLgZd4HU.js} +19 -19
- package/dist/{Experience-2FPLO7aV.js → Experience-BmGSus53.js} +8 -8
- package/dist/{Game-e_UjVJgU.js → Game-49w7XN5k.js} +8 -8
- package/dist/Index-D-7hsAaE.js +258 -0
- package/dist/{Marketing-B2hCjZ2r.js → Marketing-DtbJxS_j.js} +5 -5
- package/dist/{Member-D_ykRIBb.js → Member-jZks4pw_.js} +4 -4
- package/dist/{MemberList-LmzzYxEn.js → MemberList-BqO54kPC.js} +193 -189
- package/dist/{MemberTransactions-B2vqlKaP.js → MemberTransactions-CLK7VmPw.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DQ2ubF0N.js → MessageInput.vue_vue_type_script_setup_true_lang-ef2Qrdvd.js} +2 -2
- package/dist/Mission-LGC1CGrB.js +273 -0
- package/dist/Overview-Dm_ycoqZ.js +1078 -0
- package/dist/{Point-DFriwWWY.js → Point-BBNJ9cc5.js} +8 -8
- package/dist/{Promotion-Db3IEs2F.js → Promotion-DFh9IEmP.js} +9 -9
- package/dist/Record-oBmJTn3G.js +338 -0
- package/dist/Reward-DR_HzrrM.js +441 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-Du_0o2b9.js +150 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CxXugphA.js +1638 -0
- package/dist/{Segment-CE8q9JV2.js → Segment-DjyHLWZC.js} +13 -13
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-stTwgie4.js +181 -0
- package/dist/{Setting-Vcz1S27V.js → Setting-a7Tw-3ht.js} +31 -31
- package/dist/Store-HWGWswEm.js +1744 -0
- package/dist/{StoreRewards-Dt30AkWo.js → StoreRewards-s4cX1bFH.js} +12 -12
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Dq4qIXZu.js +1132 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-f59onlgt.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BQpbScyf.js} +1 -1
- package/dist/{Tier-a6yXEtLd.js → Tier-C7kiLjzE.js} +19 -19
- package/dist/{Title-A3-2EI0w.js → Title-BPv1ZiHg.js} +19 -19
- package/dist/{Transaction-DswABr2P.js → Transaction-HdR7RiGY.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-D3VgIQb-.js +130 -0
- package/dist/{Voucher-DEoVgZYa.js → Voucher-Y5Lh5xms.js} +11 -11
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-CFKID7mS.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-ccc1vxjS.js → ZodTextField.vue_vue_type_script_setup_true_lang-6asSbt53.js} +1 -1
- package/dist/{app-C23GfQGq.js → app-Bh2mviM1.js} +1 -1
- package/dist/{app-C66C2KLW.js → app-MbHo43vs.js} +982 -698
- package/dist/app.js +1 -1
- package/dist/{business-DNAVZOSH.js → business-DMzeDNMd.js} +1 -1
- package/dist/{campaign-Cv0HaUD1.js → campaign-2swZVVbi.js} +2 -2
- package/dist/campaign.enum-CHI6p9lH.js +20 -0
- package/dist/campaign.fn-DNwV5ZWO.js +758 -0
- package/dist/collectible.enum-Y3ALLTcR.js +19 -0
- package/dist/{collection.fn-Dxzr2oPt.js → collection.fn-CfvnmVQa.js} +2 -2
- package/dist/dto-DseG41FR.js +2018 -0
- package/dist/{effect-CUuL8Tci.js → effect-BH4hGy1N.js} +1 -1
- package/dist/{email-addresses-Yt3s7i2b.js → email-addresses-doOfKmSj.js} +1 -1
- package/dist/{export-CNg5YWMm.js → export-DGrsZa4F.js} +3 -3
- package/dist/{helper-DzmKNFue.js → helper-3ohDu5Tn.js} +1 -1
- package/dist/{index-BK8X9RF6.js → index-B8HMoADH.js} +3 -3
- package/dist/{index-D0obMrAS.js → index-BUzeShnL.js} +173 -62
- package/dist/index-BWwF7uuk.js +1049 -0
- package/dist/index-BXw9yi-G.js +32 -0
- package/dist/{index-yzH5eyKW.js → index-C-ozJGq6.js} +1 -1
- package/dist/{index-CsCgQ8gt.js → index-CDT7BpQ3.js} +1 -1
- package/dist/{index-Dnf7j71V.js → index-CKfeyWFN.js} +9 -3
- package/dist/{index-9CXt2kbQ.js → index-CKji0U5N.js} +293 -287
- package/dist/{index-QuBsnXgx.js → index-CVlbqA1t.js} +1 -1
- package/dist/{index-B88e_9YI.js → index-D5CHO7oc.js} +1 -1
- package/dist/{index-O9lB54LY.js → index-rYTZxC9p.js} +1348 -1342
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/index-wBdTUnZ6.js +54 -0
- package/dist/{index.esm2017-TpBElhnN.js → index.esm2017-D-hthfW3.js} +1 -1
- package/dist/{loading-ChoC5E9d.js → loading-DQnXnCXT.js} +156 -153
- package/dist/{membership-CU-k0-Tf.js → membership-C3envHTy.js} +52 -44
- package/dist/{money-DANmyTBj.js → money-Dm7B8wUJ.js} +1 -1
- package/dist/{number-DrocTWDD.js → number-Swjcamr8.js} +1 -1
- package/dist/objectid-xH_8eWzr.js +145 -0
- package/dist/reward-DOggYNm3.js +36 -0
- package/dist/{rule-BQLmpER9.js → rule-BQy3e3DE.js} +4 -3
- package/dist/{rule-builder-3YRdr18A.js → rule-builder-CPWmw5lP.js} +1 -1
- package/dist/{template-DOKU1QkY.js → template-Dprn2jD_.js} +4 -4
- package/dist/trigger-BUY-zCBi.js +144 -0
- package/dist/{usePagination-JGI7x0W7.js → usePagination-CEQLUMQ7.js} +1 -1
- package/dist/user-DIK4sBIA.js +54 -0
- package/dist/{vue-i18n-Bch1JmhI.js → vue-i18n-B7ledd-g.js} +120 -120
- package/package.json +2 -2
- package/dist/Card-DndggRLr.js +0 -1036
- package/dist/Mission-CsLdMq1M.js +0 -261
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-_P2yImhi.js +0 -1804
- package/dist/Store-C8kT7JN5.js +0 -1531
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cc2F_06x.js +0 -1065
- package/dist/dto-CcrufW2j.js +0 -2770
- package/dist/index-C7745kXl.js +0 -755
- package/dist/index-CZ28ywyB.js +0 -298
- package/dist/user-Bm4KttFq.js +0 -37
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as p, resolveComponent as _, openBlock as l, createElementBlock as d, createVNode as f, unref as e, createBlock as r, createCommentVNode as v } from "vue";
|
|
2
|
-
import { _ as b, a as k } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b, a as k } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-Dq4qIXZu.js";
|
|
3
3
|
import { useRouter as x } from "vue-router";
|
|
4
4
|
const C = { class: "flex flex-col gap-y-32 pb-24" }, N = /* @__PURE__ */ i({
|
|
5
5
|
__name: "MemberTransactions",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as M, ref as C, computed as E, onMounted as D, resolveComponent as l, openBlock as p, createElementBlock as v, createElementVNode as m, createVNode as c, unref as u, withCtx as h, createTextVNode as F, toDisplayString as T, Fragment as j, renderList as k, createBlock as U } from "vue";
|
|
2
|
-
import { p as A } from "./loading-
|
|
3
|
-
import {
|
|
2
|
+
import { p as A } from "./loading-DQnXnCXT.js";
|
|
3
|
+
import { s as B } from "./index-BWwF7uuk.js";
|
|
4
4
|
const L = {
|
|
5
5
|
"user.name": {
|
|
6
6
|
name: "User name"
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { defineComponent as E, ref as M, computed as $, h as d, onMounted as H, resolveComponent as l, openBlock as p, createElementBlock as h, Fragment as w, createVNode as c, unref as t, createElementVNode as s, withCtx as x, renderList as q, createBlock as b, resolveDynamicComponent as z, toDisplayString as u } from "vue";
|
|
2
|
+
import { _ as W } from "./campaign-CpzFl8Vr.js";
|
|
3
|
+
import { a as G, p as J, u as Q } from "./loading-DQnXnCXT.js";
|
|
4
|
+
import { g as L, a as B } from "./dto-DseG41FR.js";
|
|
5
|
+
import { u as X } from "./business-DMzeDNMd.js";
|
|
6
|
+
import { u as Y } from "./campaign-2swZVVbi.js";
|
|
7
|
+
import { useDialog as Z, components as v } from "@feedmepos/ui-library";
|
|
8
|
+
import { _ as ee } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
+
import { u as oe } from "./template-Dprn2jD_.js";
|
|
10
|
+
import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-4_cHlWUJ.js";
|
|
11
|
+
import { s as ne } from "./index-CuvNtC_M.js";
|
|
12
|
+
import { u as ae } from "./vue-i18n-B7ledd-g.js";
|
|
13
|
+
import { c as _ } from "./index-CDT7BpQ3.js";
|
|
14
|
+
const se = { class: "px-24 flex flex-col gap-y-16" }, ie = { class: "flex items-center justify-between w-full" }, ce = { class: "flex gap-8 overflow-x-auto" }, re = { class: "space-y-8" }, le = { class: "flex w-full gap-4 items-center" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "space-y-4" }, pe = { class: "fm-typo-en-body-lg-600" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = /* @__PURE__ */ s("img", {
|
|
15
|
+
src: W,
|
|
16
|
+
class: "aspect-square w-[150px]"
|
|
17
|
+
}, null, -1), ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ke = /* @__PURE__ */ E({
|
|
18
|
+
__name: "Mission",
|
|
19
|
+
setup(we) {
|
|
20
|
+
const { t: n } = ae(), P = {
|
|
21
|
+
label: n("connect.program.common.actions.create", {
|
|
22
|
+
type: n("connect.program.mission.title").toLowerCase()
|
|
23
|
+
}),
|
|
24
|
+
value: "create",
|
|
25
|
+
isPrimary: !0,
|
|
26
|
+
prependIcon: "add"
|
|
27
|
+
}, C = Z(), K = oe("MISSION", C), N = X(), m = Y(), { global: R, minor: S } = Q, i = M({
|
|
28
|
+
searchKey: "",
|
|
29
|
+
location: null
|
|
30
|
+
}), g = $(
|
|
31
|
+
() => m.campaigns.mission.filter(
|
|
32
|
+
(e) => !i.value.location || !e.targetLocation || e.targetLocation.includes(i.value.location)
|
|
33
|
+
)
|
|
34
|
+
), T = [
|
|
35
|
+
{
|
|
36
|
+
header: n("connect.program.common.table.title"),
|
|
37
|
+
accessorKey: "name",
|
|
38
|
+
// accessorFn: (v) => v.name,
|
|
39
|
+
cell(e) {
|
|
40
|
+
return d("div", { class: "flex items-center justify-between gap-4" }, [
|
|
41
|
+
d("div", { class: "flex items-center" }, [
|
|
42
|
+
d(
|
|
43
|
+
v.FmTooltip,
|
|
44
|
+
{
|
|
45
|
+
content: e.row.original._id,
|
|
46
|
+
onClick: (o) => {
|
|
47
|
+
o.stopPropagation(), G(e.row.original._id);
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
[
|
|
51
|
+
d(v.FmIcon, {
|
|
52
|
+
name: "info",
|
|
53
|
+
outline: !0,
|
|
54
|
+
size: "sm"
|
|
55
|
+
})
|
|
56
|
+
]
|
|
57
|
+
)
|
|
58
|
+
]),
|
|
59
|
+
d("div", { class: "flex-1" }, e.row.original.name)
|
|
60
|
+
]);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
header: n("connect.campaign.mission.type"),
|
|
65
|
+
accessorFn: (e) => ne(e.mission.type)
|
|
66
|
+
//v.effect,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
header: n("connect.program.common.table.status"),
|
|
70
|
+
cell(e) {
|
|
71
|
+
return L(e.row.original);
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
header: n("connect.program.common.table.summary"),
|
|
76
|
+
accessorFn: (e) => B(e)
|
|
77
|
+
//v.effect,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
header: n("connect.campaign.mission.received"),
|
|
81
|
+
accessorFn: (e) => {
|
|
82
|
+
var o;
|
|
83
|
+
return ((o = e == null ? void 0 : e.pf_collectible) == null ? void 0 : o.currentReceive) ?? 0;
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
header: n("connect.program.common.table.actions"),
|
|
88
|
+
cell(e) {
|
|
89
|
+
return d(v.FmButton, {
|
|
90
|
+
variant: "tertiary",
|
|
91
|
+
icon: "delete",
|
|
92
|
+
iconColor: "neutral-gray-400",
|
|
93
|
+
onClick: (o) => {
|
|
94
|
+
o.stopPropagation(), k(e.row.original);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
], F = M();
|
|
100
|
+
async function k(e) {
|
|
101
|
+
await J.remove(
|
|
102
|
+
n("connect.program.common.remove.confirm", { name: e.name })
|
|
103
|
+
) && await S(
|
|
104
|
+
async () => {
|
|
105
|
+
await _.delete(e._id), await m.read("MISSION");
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
message: n("connect.program.common.remove.removing", { name: e.name }),
|
|
109
|
+
successMessage: n("connect.program.common.remove.removed", {
|
|
110
|
+
name: e.name
|
|
111
|
+
})
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
async function y(e) {
|
|
116
|
+
e ? await o() : K.open(async (r) => {
|
|
117
|
+
await o(r);
|
|
118
|
+
});
|
|
119
|
+
async function o(r) {
|
|
120
|
+
var f;
|
|
121
|
+
(f = F.value) == null || f.showSheet(
|
|
122
|
+
!0,
|
|
123
|
+
"MISSION",
|
|
124
|
+
e ? await _.readById(e._id) : void 0,
|
|
125
|
+
r
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
async function U(e) {
|
|
130
|
+
e.campaign._id && e.campaign.rewards.some((o) => o.type === "VOUCHER") && await new Promise((o) => {
|
|
131
|
+
C.open({
|
|
132
|
+
title: "Confirmation",
|
|
133
|
+
message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
|
|
134
|
+
primaryActions: { text: "Update all", close: !0 },
|
|
135
|
+
secondaryActions: { text: "Update future only", close: !0 }
|
|
136
|
+
}).onPrimary(async () => {
|
|
137
|
+
var r;
|
|
138
|
+
e.updateCollections = !0, (r = window.top) == null || r.postMessage("updateAllVoucher", "*"), o();
|
|
139
|
+
}).onSecondary(async () => {
|
|
140
|
+
o();
|
|
141
|
+
});
|
|
142
|
+
}), await S(
|
|
143
|
+
async () => {
|
|
144
|
+
e.campaign._id ? await _.update(e.campaign._id, e) : await _.create(e), await m.read("MISSION");
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
message: n(
|
|
148
|
+
e.campaign._id ? "connect.program.common.update.updating" : "connect.program.common.update.creating",
|
|
149
|
+
{ type: "Mission" }
|
|
150
|
+
),
|
|
151
|
+
successMessage: n("connect.program.common.update.success", {
|
|
152
|
+
type: "Mission",
|
|
153
|
+
action: e.campaign._id ? "updated" : "created"
|
|
154
|
+
})
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
return H(async () => {
|
|
159
|
+
await R(async () => {
|
|
160
|
+
await m.read("MISSION"), console.log(g);
|
|
161
|
+
});
|
|
162
|
+
}), (e, o) => {
|
|
163
|
+
const r = l("FmPageHead"), f = l("FmSearch"), O = l("FmTable"), I = l("FmButton"), A = l("FmListItem"), D = l("FmList"), j = l("FmCard");
|
|
164
|
+
return p(), h(w, null, [
|
|
165
|
+
c(r, {
|
|
166
|
+
title: t(n)("connect.campaign.mission.title"),
|
|
167
|
+
actions: t(g).length > 0 ? [P] : [],
|
|
168
|
+
"onClick:action": o[0] || (o[0] = () => y())
|
|
169
|
+
}, null, 8, ["title", "actions"]),
|
|
170
|
+
s("div", se, [
|
|
171
|
+
c(f, {
|
|
172
|
+
modelValue: t(i).searchKey,
|
|
173
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => t(i).searchKey = a),
|
|
174
|
+
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
175
|
+
placeholder: t(n)("connect.program.common.search"),
|
|
176
|
+
collapsible: ""
|
|
177
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
178
|
+
t(m).campaigns.mission && t(m).campaigns.mission.length > 0 ? (p(), h(w, { key: 0 }, [
|
|
179
|
+
s("div", ie, [
|
|
180
|
+
s("div", ce, [
|
|
181
|
+
c(ee, {
|
|
182
|
+
modelValue: t(i).location,
|
|
183
|
+
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(i).location = a),
|
|
184
|
+
label: t(n)("connect.program.common.location"),
|
|
185
|
+
"show-item-label": !0,
|
|
186
|
+
icon: "storefront",
|
|
187
|
+
placement: "bottom-start",
|
|
188
|
+
items: t(N).locationItems
|
|
189
|
+
}, null, 8, ["modelValue", "label", "items"])
|
|
190
|
+
]),
|
|
191
|
+
c(f, {
|
|
192
|
+
modelValue: t(i).searchKey,
|
|
193
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(i).searchKey = a),
|
|
194
|
+
class: "xs:hidden",
|
|
195
|
+
placeholder: "search",
|
|
196
|
+
collapsible: ""
|
|
197
|
+
}, null, 8, ["modelValue"])
|
|
198
|
+
]),
|
|
199
|
+
c(O, {
|
|
200
|
+
class: "xs:hidden",
|
|
201
|
+
"row-data": t(g),
|
|
202
|
+
"column-defs": T,
|
|
203
|
+
"search-value": t(i).searchKey,
|
|
204
|
+
"column-filter": [],
|
|
205
|
+
onRowClick: o[4] || (o[4] = (a) => y(a.original)),
|
|
206
|
+
"hide-footer": t(g).length < 10
|
|
207
|
+
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
208
|
+
c(D, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
209
|
+
default: x(() => [
|
|
210
|
+
(p(!0), h(w, null, q(t(g).filter(
|
|
211
|
+
(a) => a.name.toLowerCase().includes(t(i).searchKey.toLowerCase())
|
|
212
|
+
), (a) => (p(), b(A, {
|
|
213
|
+
key: a._id.toString(),
|
|
214
|
+
onClick: (V) => y(a),
|
|
215
|
+
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
216
|
+
}, {
|
|
217
|
+
default: x(() => [
|
|
218
|
+
s("div", re, [
|
|
219
|
+
s("div", le, [
|
|
220
|
+
(p(), b(z(t(L)(a)))),
|
|
221
|
+
s("div", me, u(a.currentReceive ?? 0) + " used ", 1)
|
|
222
|
+
]),
|
|
223
|
+
s("div", de, [
|
|
224
|
+
s("div", pe, u(a.name), 1),
|
|
225
|
+
s("div", ue, u(t(B)(a)), 1)
|
|
226
|
+
]),
|
|
227
|
+
s("div", ge, " Token received: " + u(a.currentReceive ?? 0), 1)
|
|
228
|
+
]),
|
|
229
|
+
c(I, {
|
|
230
|
+
icon: "delete",
|
|
231
|
+
"icon-color": "neutral-gray-400",
|
|
232
|
+
variant: "tertiary",
|
|
233
|
+
onClick: (V) => (V.stopPropagation(), k(a))
|
|
234
|
+
}, null, 8, ["onClick"])
|
|
235
|
+
]),
|
|
236
|
+
_: 2
|
|
237
|
+
}, 1032, ["onClick"]))), 128))
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
})
|
|
241
|
+
], 64)) : (p(), b(j, {
|
|
242
|
+
key: 1,
|
|
243
|
+
variant: "outlined",
|
|
244
|
+
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
245
|
+
}, {
|
|
246
|
+
default: x(() => [
|
|
247
|
+
fe,
|
|
248
|
+
s("div", ye, [
|
|
249
|
+
s("div", _e, u(t(n)("connect.campaign.mission.createProgram")), 1),
|
|
250
|
+
s("div", he, u(t(n)("connect.campaign.mission.description")), 1)
|
|
251
|
+
]),
|
|
252
|
+
c(I, {
|
|
253
|
+
variant: "primary",
|
|
254
|
+
label: t(n)("connect.campaign.mission.create"),
|
|
255
|
+
icon: "add",
|
|
256
|
+
onClick: o[5] || (o[5] = (a) => y())
|
|
257
|
+
}, null, 8, ["label"])
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
})),
|
|
261
|
+
c(te, {
|
|
262
|
+
ref_key: "sheetRef",
|
|
263
|
+
ref: F,
|
|
264
|
+
"onSubmit:modelValue": U
|
|
265
|
+
}, null, 512)
|
|
266
|
+
])
|
|
267
|
+
], 64);
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
export {
|
|
272
|
+
Ke as default
|
|
273
|
+
};
|