@feedmepos/mf-connect 0.1.58-prod → 0.1.60-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-CB0xAr9Q.js +427 -0
- package/dist/App-fp_3oll7.js +4630 -0
- package/dist/Bin-CPEbn14A.js +166 -0
- package/dist/Broadcast-jKp2iB8c.js +233 -0
- package/dist/CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CmJG893h.js +121 -0
- package/dist/Card-BaPJkgd2.js +911 -0
- package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +97 -0
- package/dist/Collections-Bqsg-ON3.js +458 -0
- package/dist/Credit-C9zIva1h.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-CSMV8OwA.js +2194 -0
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-Doyw0pvU.js +348 -0
- package/dist/Experience-CCI_oesa.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-CRMVz1JP.js +284 -0
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js +144 -0
- package/dist/Index-szNiSnjR.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-AvEiNiD9.js +319 -0
- package/dist/Member-DIZwt6Hh.js +279 -0
- package/dist/MemberList-dxteIRWn.js +1607 -0
- package/dist/MemberOverview-wL_ailso.js +58 -0
- package/dist/MemberTransactions-Q3phmXfI.js +45 -0
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-BLk8rX-T.js +60553 -0
- package/dist/Mission-CZjySlcS.js +302 -0
- package/dist/Overview-BXbWEDy3.js +1079 -0
- package/dist/Point-CgjNc_Qn.js +232 -0
- package/dist/Promotion-COYo3qLi.js +289 -0
- package/dist/Queue-BLIStJth.js +260 -0
- package/dist/Record-BWoTvVEE.js +341 -0
- package/dist/Reward-Dq6GxHMP.js +442 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-CR1feHth.js +150 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DuYYfbOH.js +1763 -0
- package/dist/Segment-CUfn6k5R.js +882 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-CxycOqNJ.js +181 -0
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-C7jqrfEj.js +188 -0
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-CMmdbYH4.js +147 -0
- package/dist/Setting-CC5AiQSy.js +1928 -0
- package/dist/SettingAdvertisements-DHQTaMC1.js +262 -0
- package/dist/Store-CEgv5aOD.js +1842 -0
- package/dist/StoreRewards-Dtzk_YG2.js +423 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cwt8pmoM.js +995 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BEU2u1-a.js +139 -0
- package/dist/Tier-1xqQvWzc.js +895 -0
- package/dist/Title-Da-G8plz.js +566 -0
- package/dist/Transaction-B0vuVZFZ.js +39 -0
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-e4-wNfrg.js +130 -0
- package/dist/Voucher-DLFjkXLu.js +384 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-5X7dGFD9.js +419 -0
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-BPTrvEwa.js +56 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/app-Do_C3F_N.js +7094 -0
- package/dist/app-o7Kvv5aK.js +57962 -0
- package/dist/app-wDQR6dpb.js +39 -0
- package/dist/app.js +6 -0
- package/dist/business-BDi-QTa5.js +82 -0
- package/dist/campaign-BHqizYy6.js +1810 -0
- package/dist/campaign-CpzFl8Vr.js +4 -0
- package/dist/campaign-DNXI3K9c.js +94 -0
- package/dist/campaign.enum-BXDwYoeA.js +20 -0
- package/dist/campaign.fn-Rws4mJa5.js +758 -0
- package/dist/collectible.enum-cMc4fL1T.js +19 -0
- package/dist/collection.fn-F8FZ7Dnr.js +26 -0
- package/dist/dto-CAtf1jq0.js +216 -0
- package/dist/effect-Dhg1ZIrL.js +78 -0
- package/dist/email-addresses-BZJZwglQ.js +705 -0
- package/dist/export-B6yvRuct.js +97 -0
- package/dist/feedme.ico +0 -0
- package/dist/helper-VoErinsY.js +71 -0
- package/dist/index-B0Pzwzkd.js +31 -0
- package/dist/index-Bq6FwMwW.js +32 -0
- package/dist/index-BvE6Sbog.js +3 -0
- package/dist/index-BysJoGFD.js +146 -0
- package/dist/index-C8m_F_I4.js +121 -0
- package/dist/index-CQZinjc9.js +54 -0
- package/dist/index-Cq7s1Pk2.js +76 -0
- package/dist/index-CuvNtC_M.js +61 -0
- package/dist/index-DOGrOlB8.js +8859 -0
- package/dist/index-Di23nMJ7.js +38 -0
- package/dist/index-Dkyb4P6T.js +30076 -0
- package/dist/index-DvZiQOtl.js +3077 -0
- package/dist/index-Ved5V90A.js +2155 -0
- package/dist/index-d4A3r8kv.js +32269 -0
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/index-y7IqG-tl.js +44 -0
- package/dist/index.esm2017-CRTpUsW5.js +3069 -0
- package/dist/loading-CoUrS63J.js +71 -0
- package/dist/lodash-B5I3zXaY.js +3678 -0
- package/dist/membership-BiQwBHAA.js +235 -0
- package/dist/moment-D7p2TMB-.js +2583 -0
- package/dist/money-CA3gpWD3.js +15 -0
- package/dist/number-CgmVpwHm.js +12 -0
- package/dist/object-qECH92oz.js +26 -0
- package/dist/objectId-dwaoBfJX.js +7 -0
- package/dist/objectid-C80eoTvt.js +145 -0
- package/dist/plugins-BkWtR_R5.js +208 -0
- package/dist/reward-D7SKofYj.js +36 -0
- package/dist/rule-Cpxty5PH.js +1951 -0
- package/dist/rule-builder-d_TMgXEC.js +102 -0
- package/dist/style.css +4 -0
- package/dist/template-BB7bab5R.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-Dj3UaenF.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-ZVR5eR1H.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-DjRqnFsC.js +54 -0
- package/dist/vue-i18n-BlCNfIcP.js +2365 -0
- package/dist/xlsx-CtNr_GAa.js +15491 -0
- package/dist/zod-Bg2FbC-D.js +90 -0
- package/package.json +1 -1
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { defineComponent as J, ref as y, computed as E, onMounted as K, resolveComponent as A, openBlock as u, createElementBlock as b, createElementVNode as s, createVNode as d, createTextVNode as W, toDisplayString as v, unref as e, withCtx as S, createBlock as B, Fragment as Y, renderList as Z, createCommentVNode as N, isRef as ee } from "vue";
|
|
2
|
+
import { u as te } from "./loading-CoUrS63J.js";
|
|
3
|
+
import { u as ne } from "./app-wDQR6dpb.js";
|
|
4
|
+
import { u as se } from "./business-BDi-QTa5.js";
|
|
5
|
+
import { u as oe } from "./membership-BiQwBHAA.js";
|
|
6
|
+
import "./index-d4A3r8kv.js";
|
|
7
|
+
import { k as ae } from "./index-DvZiQOtl.js";
|
|
8
|
+
import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
|
|
9
|
+
import { f as Q, p as ie } from "./plugins-BkWtR_R5.js";
|
|
10
|
+
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-BEU2u1-a.js";
|
|
11
|
+
import { u as ce } from "./vue-i18n-BlCNfIcP.js";
|
|
12
|
+
import { useRouter as de } from "vue-router";
|
|
13
|
+
import { m as me } from "./index-BysJoGFD.js";
|
|
14
|
+
import { a as ue } from "./object-qECH92oz.js";
|
|
15
|
+
const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class: "bg-white border-b border-fm-color-neutral-gray-100 sticky top-0 z-10" }, fe = { class: "px-24 py-16 flex items-center justify-between" }, ge = { class: "flex items-center gap-16" }, _e = { class: "fm-typo-en-title-md-800 flex items-center gap-8" }, he = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, ye = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "px-24 py-24"
|
|
18
|
+
}, be = { class: "flex items-center gap-24 mb-24" }, we = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-body-lg-600" }, ke = { class: "fm-typo-en-title-sm-800 mb-8" }, Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, Ae = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "grid grid-cols-5 gap-16 lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2"
|
|
21
|
+
}, Ce = { class: "absolute top-8 right-8 z-10" }, Fe = { class: "aspect-[3/4] bg-fm-color-neutral-gray-100" }, je = ["src"], Le = ["src", "alt"], Ve = {
|
|
22
|
+
key: 2,
|
|
23
|
+
class: "w-full h-full flex items-center justify-center text-fm-color-typo-disabled"
|
|
24
|
+
}, Me = { class: "w-48 h-48 rounded-full bg-fm-color-neutral-gray-100 flex items-center justify-center mb-8" }, $e = { class: "fm-typo-en-body-md-600 mb-4" }, Be = { class: "fm-typo-en-body-xs-400 text-fm-color-typo-secondary" }, Pe = { class: "space-y-[40px]" }, Ie = { class: "flex" }, ze = { class: "flex flex-wrap" }, De = { class: "flex items-center gap-8" }, P = 20, Ze = /* @__PURE__ */ J({
|
|
25
|
+
__name: "SettingAdvertisements",
|
|
26
|
+
setup(Ee) {
|
|
27
|
+
const T = de(), C = ne(), V = se(), F = oe(), { global: U, minor: R } = te, { t: o } = ce(), c = y(), f = y([]), _ = y([]), w = y(!1), g = y(null), j = y(null), L = y(null), M = E(() => {
|
|
28
|
+
var n, t;
|
|
29
|
+
return ((t = (n = c.value) == null ? void 0 : n.advertisements) == null ? void 0 : t.length) ?? 0;
|
|
30
|
+
}), I = E(() => M.value < P);
|
|
31
|
+
function x(n) {
|
|
32
|
+
var a, p;
|
|
33
|
+
const t = (p = (a = c.value) == null ? void 0 : a.advertisements) == null ? void 0 : p[n];
|
|
34
|
+
if (t)
|
|
35
|
+
return typeof t == "string" ? t : t.url;
|
|
36
|
+
}
|
|
37
|
+
function q(n) {
|
|
38
|
+
return n ? [".mp4", ".webm", ".ogg", ".mov"].some((a) => n.toLowerCase().includes(a)) : !1;
|
|
39
|
+
}
|
|
40
|
+
async function $() {
|
|
41
|
+
await R(
|
|
42
|
+
async () => {
|
|
43
|
+
const n = ue(c.value), t = ae.parse(n), a = Date.now(), p = (m) => `${a}-${m}-${Math.random().toString(36).substring(2, 15)}`, k = await Promise.all(
|
|
44
|
+
f.value.map(async (m, h) => {
|
|
45
|
+
var r;
|
|
46
|
+
const i = (r = t.advertisements) == null ? void 0 : r[h];
|
|
47
|
+
let l;
|
|
48
|
+
return m ? l = await Q.update(
|
|
49
|
+
Q.advertisementPath(h, m),
|
|
50
|
+
m
|
|
51
|
+
) : typeof i == "string" ? l = i : i && typeof i == "object" && (l = i.url), l ? {
|
|
52
|
+
_id: typeof i == "object" && (i == null ? void 0 : i._id) || p(h),
|
|
53
|
+
url: l,
|
|
54
|
+
targetLocation: _.value[h] || null,
|
|
55
|
+
order: h
|
|
56
|
+
} : null;
|
|
57
|
+
})
|
|
58
|
+
);
|
|
59
|
+
t.advertisements = k.filter((m) => m), await me.update(t), await F.readMembership(), c.value = F.membership;
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
message: o("connect.advertisements.saving"),
|
|
63
|
+
successMessage: o("connect.advertisements.savedSuccessfully")
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
function z(n) {
|
|
68
|
+
g.value = n, j.value = f.value[n], L.value = _.value[n], w.value = !0;
|
|
69
|
+
}
|
|
70
|
+
function H() {
|
|
71
|
+
if (!I.value) return;
|
|
72
|
+
const n = f.value.length;
|
|
73
|
+
f.value.push(null), _.value.push(null), z(n);
|
|
74
|
+
}
|
|
75
|
+
async function O() {
|
|
76
|
+
g.value !== null && (f.value[g.value] = j.value, _.value[g.value] = L.value, await $(), w.value = !1);
|
|
77
|
+
}
|
|
78
|
+
async function X(n, t) {
|
|
79
|
+
var a, p;
|
|
80
|
+
n.stopPropagation(), await ie.remove(
|
|
81
|
+
o("connect.setting.advertisement.deleteConfirm"),
|
|
82
|
+
o("connect.setting.advertisement.delete"),
|
|
83
|
+
o("connect.setting.advertisement.delete")
|
|
84
|
+
) && ((p = (a = c.value) == null ? void 0 : a.advertisements) == null || p.splice(t, 1), f.value.splice(t, 1), _.value.splice(t, 1), await $());
|
|
85
|
+
}
|
|
86
|
+
function G() {
|
|
87
|
+
T.push("/setting");
|
|
88
|
+
}
|
|
89
|
+
return K(async () => {
|
|
90
|
+
await U(async () => {
|
|
91
|
+
var n, t;
|
|
92
|
+
await V.readPremium(), await V.readLocations(), await F.readMembership(), c.value = F.membership, (t = (n = c.value) == null ? void 0 : n.advertisements) != null && t.length ? (f.value = c.value.advertisements.map(() => null), _.value = c.value.advertisements.map(
|
|
93
|
+
(a) => typeof a == "string" ? null : a.targetLocation || null
|
|
94
|
+
)) : (f.value = [], _.value = []);
|
|
95
|
+
});
|
|
96
|
+
}), (n, t) => {
|
|
97
|
+
var i;
|
|
98
|
+
const a = A("FmButton"), p = A("FmPill"), k = A("FmCard"), m = A("FmIcon"), h = A("FmSideSheet");
|
|
99
|
+
return u(), b("div", ve, [
|
|
100
|
+
s("div", pe, [
|
|
101
|
+
s("div", fe, [
|
|
102
|
+
s("div", ge, [
|
|
103
|
+
d(a, {
|
|
104
|
+
icon: "arrow_back",
|
|
105
|
+
variant: "tertiary",
|
|
106
|
+
onClick: G
|
|
107
|
+
}),
|
|
108
|
+
s("div", null, [
|
|
109
|
+
s("div", _e, [
|
|
110
|
+
W(v(e(o)("connect.setting.advertisement.title")) + " ", 1),
|
|
111
|
+
d(p, { variant: "premium" })
|
|
112
|
+
]),
|
|
113
|
+
s("div", he, v(e(o)("connect.setting.advertisement.subtitle")), 1)
|
|
114
|
+
])
|
|
115
|
+
]),
|
|
116
|
+
d(a, {
|
|
117
|
+
label: e(o)("connect.setting.advertisement.saveChanges"),
|
|
118
|
+
onClick: $,
|
|
119
|
+
disabled: !!e(C).loadingQueue.length,
|
|
120
|
+
loading: !!e(C).loadingQueue.length
|
|
121
|
+
}, null, 8, ["label", "disabled", "loading"])
|
|
122
|
+
])
|
|
123
|
+
]),
|
|
124
|
+
e(c) ? (u(), b("div", ye, [
|
|
125
|
+
s("div", be, [
|
|
126
|
+
d(k, {
|
|
127
|
+
variant: "outlined",
|
|
128
|
+
class: "px-16 py-12 flex items-center gap-8"
|
|
129
|
+
}, {
|
|
130
|
+
default: S(() => [
|
|
131
|
+
s("span", we, v(e(o)("connect.setting.advertisement.activeAds")), 1),
|
|
132
|
+
s("span", xe, v(e(M)) + " / " + v(P), 1)
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
})
|
|
136
|
+
]),
|
|
137
|
+
e(V).isPremium ? (u(), b("div", Ae, [
|
|
138
|
+
(u(!0), b(Y, null, Z(((i = e(c).advertisements) == null ? void 0 : i.length) || 0, (l, r) => (u(), B(k, {
|
|
139
|
+
key: r,
|
|
140
|
+
variant: "outlined",
|
|
141
|
+
class: "cursor-pointer hover:shadow-lg transition-shadow overflow-hidden relative",
|
|
142
|
+
onClick: (D) => z(r)
|
|
143
|
+
}, {
|
|
144
|
+
default: S(() => [
|
|
145
|
+
s("div", Ce, [
|
|
146
|
+
d(a, {
|
|
147
|
+
icon: "delete",
|
|
148
|
+
variant: "tertiary",
|
|
149
|
+
size: "sm",
|
|
150
|
+
class: "bg-white/90 hover:bg-white shadow-sm",
|
|
151
|
+
onClick: (D) => X(D, r)
|
|
152
|
+
}, null, 8, ["onClick"])
|
|
153
|
+
]),
|
|
154
|
+
s("div", Fe, [
|
|
155
|
+
x(r) && q(x(r)) ? (u(), b("video", {
|
|
156
|
+
key: 0,
|
|
157
|
+
src: x(r),
|
|
158
|
+
class: "w-full h-full object-cover",
|
|
159
|
+
muted: "",
|
|
160
|
+
loop: "",
|
|
161
|
+
autoplay: "",
|
|
162
|
+
playsinline: ""
|
|
163
|
+
}, null, 8, je)) : x(r) ? (u(), b("img", {
|
|
164
|
+
key: 1,
|
|
165
|
+
src: x(r),
|
|
166
|
+
class: "w-full h-full object-cover",
|
|
167
|
+
alt: `Ad ${r + 1}`
|
|
168
|
+
}, null, 8, Le)) : (u(), b("div", Ve, [
|
|
169
|
+
d(m, {
|
|
170
|
+
name: "image",
|
|
171
|
+
size: "48"
|
|
172
|
+
})
|
|
173
|
+
]))
|
|
174
|
+
])
|
|
175
|
+
]),
|
|
176
|
+
_: 2
|
|
177
|
+
}, 1032, ["onClick"]))), 128)),
|
|
178
|
+
e(I) ? (u(), B(k, {
|
|
179
|
+
key: 0,
|
|
180
|
+
variant: "outlined",
|
|
181
|
+
class: "cursor-pointer hover:bg-fm-color-neutral-gray-50 transition-colors border-dashed aspect-[3/4] flex flex-col items-center justify-center",
|
|
182
|
+
onClick: H
|
|
183
|
+
}, {
|
|
184
|
+
default: S(() => [
|
|
185
|
+
s("div", Me, [
|
|
186
|
+
d(m, {
|
|
187
|
+
name: "add",
|
|
188
|
+
size: "24",
|
|
189
|
+
class: "text-fm-color-typo-secondary"
|
|
190
|
+
})
|
|
191
|
+
]),
|
|
192
|
+
s("div", $e, v(e(o)("connect.setting.advertisement.addAd")), 1),
|
|
193
|
+
s("div", Be, v(P - e(M)) + " " + v(e(o)("connect.setting.advertisement.left")), 1)
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
})) : N("", !0)
|
|
197
|
+
])) : (u(), B(k, {
|
|
198
|
+
key: 0,
|
|
199
|
+
variant: "outlined",
|
|
200
|
+
class: "p-24 text-center mb-24 bg-fm-color-warning-50"
|
|
201
|
+
}, {
|
|
202
|
+
default: S(() => [
|
|
203
|
+
s("div", ke, v(e(o)("connect.setting.advertisement.premiumFeatureTitle")), 1),
|
|
204
|
+
s("div", Se, v(e(o)("connect.setting.advertisement.premiumFeatureDescription")), 1)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}))
|
|
208
|
+
])) : N("", !0),
|
|
209
|
+
d(h, {
|
|
210
|
+
modelValue: e(w),
|
|
211
|
+
"onUpdate:modelValue": [
|
|
212
|
+
t[2] || (t[2] = (l) => ee(w) ? w.value = l : null),
|
|
213
|
+
t[3] || (t[3] = (l) => w.value = l)
|
|
214
|
+
],
|
|
215
|
+
"max-width": 560,
|
|
216
|
+
header: e(g) !== null ? `${e(o)("connect.setting.advertisement.manageAd")} #${e(g) + 1}` : e(o)("connect.setting.advertisement.addAdvertisement")
|
|
217
|
+
}, {
|
|
218
|
+
"side-sheet-footer": S(() => [
|
|
219
|
+
s("div", De, [
|
|
220
|
+
d(a, {
|
|
221
|
+
label: e(o)("connect.setting.advertisement.save"),
|
|
222
|
+
onClick: O,
|
|
223
|
+
loading: !!e(C).loadingQueue.length,
|
|
224
|
+
disabled: !!e(C).loadingQueue.length
|
|
225
|
+
}, null, 8, ["label", "loading", "disabled"])
|
|
226
|
+
])
|
|
227
|
+
]),
|
|
228
|
+
default: S(() => [
|
|
229
|
+
s("div", Pe, [
|
|
230
|
+
s("div", Ie, [
|
|
231
|
+
s("div", ze, [
|
|
232
|
+
d(le, {
|
|
233
|
+
label: e(o)("connect.setting.advertisement.advertisementImage"),
|
|
234
|
+
"image-fit": "cover",
|
|
235
|
+
"aspect-ratio": "4/5",
|
|
236
|
+
thumbnail: e(g) !== null ? x(e(g)) : void 0,
|
|
237
|
+
accept: ".png, .jpg, .jpeg, .mp4, .gif",
|
|
238
|
+
"recommended-size": "1080px x 1350px (4:5)",
|
|
239
|
+
file: e(j) ?? void 0,
|
|
240
|
+
"onUpdate:file": t[0] || (t[0] = (l) => j.value = l)
|
|
241
|
+
}, null, 8, ["label", "thumbnail", "file"])
|
|
242
|
+
])
|
|
243
|
+
]),
|
|
244
|
+
s("div", null, [
|
|
245
|
+
d(re, {
|
|
246
|
+
label: e(o)("connect.setting.advertisement.targetLocations"),
|
|
247
|
+
"helper-text": e(o)("connect.setting.advertisement.targetLocationsHelper"),
|
|
248
|
+
"model-value": e(L) ?? null,
|
|
249
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => L.value = l)
|
|
250
|
+
}, null, 8, ["label", "helper-text", "model-value"])
|
|
251
|
+
])
|
|
252
|
+
])
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["modelValue", "header"])
|
|
256
|
+
]);
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
export {
|
|
261
|
+
Ze as default
|
|
262
|
+
};
|