@feedmepos/mf-connect 0.1.63-prod → 0.1.65-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-CG3hA6fW.js → Analytic-C5DE9NQJ.js} +27 -28
- package/dist/{App-CQUFVNES.js → App-DgEd6GLa.js} +7 -7
- package/dist/{Bin-whBityJo.js → Bin-DyWpGeoP.js} +8 -8
- package/dist/{Broadcast-BRgmIWF2.js → Broadcast-eqjJulx4.js} +10 -11
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DfATb_0G.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BfgttR2V.js} +6 -6
- package/dist/{Card-BgIT9bSV.js → Card-hFexO-iT.js} +16 -16
- package/dist/{Collections-DgBll2HL.js → Collections-BtBugjnH.js} +179 -165
- package/dist/{Credit-FVqQqTve.js → Credit-98wQjJxS.js} +10 -11
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CIApefkS.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-IrMeqHYK.js} +31 -31
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CVRvxR02.js → EffectSheet.vue_vue_type_style_index_0_lang-QM5-F282.js} +6 -6
- package/dist/{Experience-C23g_MfA.js → Experience-eVl9fAYr.js} +27 -28
- package/dist/{Game-CqbQTIqS.js → Game-C1oQthuo.js} +11 -12
- package/dist/{Index-D32I90Uf.js → Index-BACzirfP.js} +10 -10
- package/dist/{Marketing-ApmF9GMZ.js → Marketing-BOuh3JQF.js} +6 -6
- package/dist/{Member-p-MDnwdo.js → Member-DHcw5SAF.js} +10 -10
- package/dist/{MemberList-CWS216Oq.js → MemberList-BNVIjVXb.js} +25 -25
- package/dist/{MemberTransactions-1NaCYExP.js → MemberTransactions-DMpNrtT4.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Ds28eMF3.js → MessageInput.vue_vue_type_script_setup_true_lang-MYkwax61.js} +7 -7
- package/dist/{Mission-D2EklQ6k.js → Mission-O9thc-xh.js} +19 -20
- package/dist/{Overview-Q2_jChHL.js → Overview-DYDTEJpf.js} +18 -18
- package/dist/{Point-D7IFoiQ5.js → Point-AoMfVDyc.js} +10 -11
- package/dist/{Promotion-BMKAj_VJ.js → Promotion-Bdmmnd5n.js} +11 -12
- package/dist/{Queue-CckukUf2.js → Queue-C59v4zpR.js} +10 -10
- package/dist/{Record-sjJx9Rxr.js → Record-DJimfMy6.js} +8 -8
- package/dist/{Reward-C33_2GAs.js → Reward-DoRA5oe0.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-4Ah1HGJW.js → RewardGroup.vue_vue_type_script_setup_true_lang-ys_Vh6MC.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CpDZBVmB.js → RuleGroup.vue_vue_type_script_setup_true_lang-ClQbIu9q.js} +13 -13
- package/dist/{Segment-CR4_Y82e.js → Segment-B1bvEg9R.js} +22 -22
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CDZw5i96.js → SelectItems.vue_vue_type_script_setup_true_lang-BKdjRWtr.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-pW_AdLpP.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CDOOVRwr.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BS62Yf0v.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CvZRK_DV.js} +3 -3
- package/dist/{Setting-D4RTLzZM.js → Setting-puwRxs7w.js} +12 -12
- package/dist/{SettingAdvertisements-Cc9IMI41.js → SettingAdvertisements-D0e9lyCy.js} +65 -63
- package/dist/Store-BSbLeEpY.js +1924 -0
- package/dist/{StoreRewards-CzrZS5Au.js → StoreRewards-DDtlg3wU.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Ci3xQrAn.js → StoreTransactions.vue_vue_type_script_setup_true_lang-xWPIvf68.js} +361 -343
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DG7dPhv0.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-6gvUWrB_.js} +1 -1
- package/dist/{Tier-9-iKsHxM.js → Tier-C3ZY5wI7.js} +97 -98
- package/dist/{Title-C6TY3BbS.js → Title-D9FHvMc0.js} +27 -28
- package/dist/{Transaction-BGxgNf0y.js → Transaction-hopVsT0g.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-xiH9sxVn.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CsL3d7xM.js} +6 -6
- package/dist/{Voucher-Cdh0PqeF.js → Voucher-D1WfKPnA.js} +132 -117
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BRw2nedI.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BCorf-T-.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-D6En5sRQ.js → ZodTextField.vue_vue_type_script_setup_true_lang-fp4U_C6t.js} +1 -1
- package/dist/{app-DIFcDSPz.js → app-BOEkcROx.js} +1 -1
- package/dist/{app-qOoNoXsj.js → app-VcIY7uz8.js} +496 -454
- package/dist/app.js +1 -1
- package/dist/{business-D8WOIwU3.js → business-CxrnbBG7.js} +1 -1
- package/dist/{campaign-B5Zcg5dG.js → campaign-DOOGvk7s.js} +9 -9
- package/dist/campaign-OdVtlvIh.js +213 -0
- package/dist/{campaign.enum-BVGqtpbT.js → campaign.enum-jzknDWsU.js} +1 -1
- package/dist/{campaign.fn-BJksX0lC.js → campaign.fn-C8KE-0gy.js} +40 -40
- package/dist/{collectible.enum-CDt5sCg-.js → collectible.enum-GH2dIJq0.js} +1 -1
- package/dist/{collection.fn-BmkwrIEt.js → collection.fn-BAhwf5Jh.js} +2 -2
- package/dist/{dto-BazhL1Wz.js → dto-B7m1l1UL.js} +4 -4
- package/dist/{effect-CERxlyga.js → effect-Cu0scI-k.js} +1 -1
- package/dist/{email-addresses-XWcL2s8u.js → email-addresses-C0c1x8Vz.js} +1 -1
- package/dist/{export-Ctk6xkHX.js → export-BR2VkJmz.js} +3 -3
- package/dist/{helper-C36sBB0k.js → helper-DNkQl8J2.js} +1 -1
- package/dist/{index-CYHzkVmf.js → index-BsQsj910.js} +3 -3
- package/dist/{index-BHPj_XYw.js → index-ByfJpxsf.js} +4 -4
- package/dist/{index-B9gRFG1Q.js → index-C23lCiVv.js} +1 -1
- package/dist/{index-Dz55oJOD.js → index-CO55xRbh.js} +530 -523
- package/dist/{index-D-cA3r-f.js → index-C_rW5Zzv.js} +1 -1
- package/dist/{index-1xCqie-s.js → index-CszV-kA7.js} +1 -1
- package/dist/{index-COJnc6ip.js → index-DWMboOMi.js} +1 -1
- package/dist/{index-Dr1iOdke.js → index-Dfi4M9Ap.js} +112 -104
- package/dist/{index-BSdS5JkE.js → index-DlgPQvBd.js} +1 -1
- package/dist/{index-BGirRSvf.js → index-Drvx6WWC.js} +1 -1
- package/dist/{index-Ctu4ZSkP.js → index-RkjhZsEw.js} +1 -1
- package/dist/{index-BhcuNARt.js → index-WCOWzb_D.js} +3 -3
- package/dist/{index-BAjS-mNm.js → index-WY8Y3SjU.js} +3 -3
- package/dist/{index.esm2017-CwEbNcAn.js → index.esm2017-DBFvix-C.js} +1 -1
- package/dist/{loading-DsAWzrAU.js → loading-DfP4ZQcW.js} +1 -1
- package/dist/{membership-CIWA-YIz.js → membership-CiLwVV-2.js} +3 -3
- package/dist/{money-B8_RYpfI.js → money-B92Ui9aH.js} +1 -1
- package/dist/{number-ClNyxrPX.js → number-CHYDMZpy.js} +1 -1
- package/dist/{objectid-B7Hb21TR.js → objectid-CsToJ4hH.js} +6 -6
- package/dist/{plugins-BaCcQwW_.js → plugins-GAf1L8Pd.js} +2 -2
- package/dist/{reward-Br3L7Y4x.js → reward-FLVXCKuH.js} +1 -1
- package/dist/{rule-CELh8Paa.js → rule-BHV4bC-1.js} +3 -3
- package/dist/{rule-builder-Dw3JpYy8.js → rule-builder-5WcDxoUM.js} +1 -1
- package/dist/{template-BIOneLeZ.js → template-C-y0046H.js} +4 -4
- package/dist/{timezone-Jr40C0YQ.js → timezone-Bdf9qSCF.js} +1 -1
- package/dist/{trigger-Bl_yRkKF.js → trigger-CjZQ4Gch.js} +4 -4
- package/dist/{user-C3J0hjK-.js → user-C5qgJUwB.js} +1 -1
- package/dist/{vue-i18n-DbCbvmTz.js → vue-i18n-6i4pn5bC.js} +99 -99
- package/dist/{xlsx-ClGRNHcc.js → xlsx-C4iuxJ6i.js} +166 -166
- package/package.json +1 -1
- package/dist/Store-BTE44D1j.js +0 -1842
- package/dist/campaign-IEgssyOs.js +0 -94
- package/dist/index-DTvC-nBb.js +0 -124
|
@@ -1,52 +1,54 @@
|
|
|
1
|
-
import { defineComponent as J, ref as y, computed as
|
|
2
|
-
import { u as te } from "./loading-
|
|
1
|
+
import { defineComponent as J, ref as y, computed as z, 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-DfP4ZQcW.js";
|
|
3
3
|
import { u as ne } from "./app-wDQR6dpb.js";
|
|
4
|
-
import { u as se } from "./business-
|
|
5
|
-
import { u as oe } from "./membership-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { k as ae } from "./index-
|
|
4
|
+
import { u as se } from "./business-CxrnbBG7.js";
|
|
5
|
+
import { u as oe } from "./membership-CiLwVV-2.js";
|
|
6
|
+
import "./index-WY8Y3SjU.js";
|
|
7
|
+
import { k as ae } from "./index-ByfJpxsf.js";
|
|
8
|
+
import "./index-DWMboOMi.js";
|
|
8
9
|
import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
|
|
9
|
-
import { f as
|
|
10
|
-
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as ce } from "./vue-i18n-
|
|
10
|
+
import { f as D, p as ie } from "./plugins-GAf1L8Pd.js";
|
|
11
|
+
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-6gvUWrB_.js";
|
|
12
|
+
import { u as ce } from "./vue-i18n-6i4pn5bC.js";
|
|
12
13
|
import { useRouter as de } from "vue-router";
|
|
13
|
-
import { m as me } from "./index-
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import { m as me } from "./index-CszV-kA7.js";
|
|
15
|
+
import { R as ue } from "./app-VcIY7uz8.js";
|
|
16
|
+
import { a as ve } from "./object-qECH92oz.js";
|
|
17
|
+
const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class: "bg-white border-b border-fm-color-neutral-gray-100 sticky top-0 z-10" }, ge = { class: "px-24 py-16 flex items-center justify-between" }, _e = { class: "flex items-center gap-16" }, he = { class: "fm-typo-en-title-md-800 flex items-center gap-8" }, ye = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, be = {
|
|
16
18
|
key: 0,
|
|
17
19
|
class: "px-24 py-24"
|
|
18
|
-
},
|
|
20
|
+
}, we = { class: "flex items-center gap-24 mb-24" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600" }, Se = { class: "fm-typo-en-title-sm-800 mb-8" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, Ce = {
|
|
19
21
|
key: 1,
|
|
20
22
|
class: "grid grid-cols-5 gap-16 lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2"
|
|
21
|
-
},
|
|
23
|
+
}, Fe = { class: "absolute top-8 right-8 z-10" }, je = { class: "aspect-[3/4] bg-fm-color-neutral-gray-100" }, Le = ["src"], Me = ["src", "alt"], Ve = {
|
|
22
24
|
key: 2,
|
|
23
25
|
class: "w-full h-full flex items-center justify-center text-fm-color-typo-disabled"
|
|
24
|
-
},
|
|
26
|
+
}, $e = { class: "w-48 h-48 rounded-full bg-fm-color-neutral-gray-100 flex items-center justify-center mb-8" }, Be = { class: "fm-typo-en-body-md-600 mb-4" }, Ie = { class: "fm-typo-en-body-xs-400 text-fm-color-typo-secondary" }, Pe = { class: "space-y-[40px]" }, Ee = { class: "flex" }, Te = { class: "flex flex-wrap" }, ze = { class: "flex items-center gap-8" }, I = 20, nt = /* @__PURE__ */ J({
|
|
25
27
|
__name: "SettingAdvertisements",
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
+
setup(Ne) {
|
|
29
|
+
const U = de(), C = ne(), M = se(), F = oe(), { global: Q, minor: R } = te, { t: o } = ce(), c = y(), f = y([]), _ = y([]), w = y(!1), g = y(null), j = y(null), L = y(null), V = z(() => {
|
|
28
30
|
var n, t;
|
|
29
31
|
return ((t = (n = c.value) == null ? void 0 : n.advertisements) == null ? void 0 : t.length) ?? 0;
|
|
30
|
-
}),
|
|
32
|
+
}), P = z(() => V.value < I);
|
|
31
33
|
function x(n) {
|
|
32
34
|
var a, p;
|
|
33
35
|
const t = (p = (a = c.value) == null ? void 0 : a.advertisements) == null ? void 0 : p[n];
|
|
34
36
|
if (t)
|
|
35
37
|
return typeof t == "string" ? t : t.url;
|
|
36
38
|
}
|
|
37
|
-
function
|
|
39
|
+
function O(n) {
|
|
38
40
|
return n ? [".mp4", ".webm", ".ogg", ".mov"].some((a) => n.toLowerCase().includes(a)) : !1;
|
|
39
41
|
}
|
|
40
42
|
async function $() {
|
|
41
43
|
await R(
|
|
42
44
|
async () => {
|
|
43
|
-
const n =
|
|
45
|
+
const n = ve(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
46
|
f.value.map(async (m, h) => {
|
|
45
47
|
var r;
|
|
46
48
|
const i = (r = t.advertisements) == null ? void 0 : r[h];
|
|
47
49
|
let l;
|
|
48
|
-
return m ? l = await
|
|
49
|
-
|
|
50
|
+
return m ? l = await D.update(
|
|
51
|
+
D.advertisementPath(h, m),
|
|
50
52
|
m
|
|
51
53
|
) : typeof i == "string" ? l = i : i && typeof i == "object" && (l = i.url), l ? {
|
|
52
54
|
_id: typeof i == "object" && (i == null ? void 0 : i._id) || p(h),
|
|
@@ -64,18 +66,18 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
64
66
|
}
|
|
65
67
|
);
|
|
66
68
|
}
|
|
67
|
-
function
|
|
69
|
+
function E(n) {
|
|
68
70
|
g.value = n, j.value = f.value[n], L.value = _.value[n], w.value = !0;
|
|
69
71
|
}
|
|
70
|
-
function
|
|
71
|
-
if (!
|
|
72
|
+
function q() {
|
|
73
|
+
if (!P.value) return;
|
|
72
74
|
const n = f.value.length;
|
|
73
|
-
f.value.push(null), _.value.push(null),
|
|
75
|
+
f.value.push(null), _.value.push(null), E(n);
|
|
74
76
|
}
|
|
75
|
-
async function
|
|
77
|
+
async function G() {
|
|
76
78
|
g.value !== null && (f.value[g.value] = j.value, _.value[g.value] = L.value, await $(), w.value = !1);
|
|
77
79
|
}
|
|
78
|
-
async function
|
|
80
|
+
async function H(n, t) {
|
|
79
81
|
var a, p;
|
|
80
82
|
n.stopPropagation(), await ie.remove(
|
|
81
83
|
o("connect.setting.advertisement.deleteConfirm"),
|
|
@@ -83,34 +85,34 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
83
85
|
o("connect.setting.advertisement.delete")
|
|
84
86
|
) && ((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
87
|
}
|
|
86
|
-
function
|
|
87
|
-
|
|
88
|
+
function X() {
|
|
89
|
+
U.push({ name: ue["$connect-SETTING"] });
|
|
88
90
|
}
|
|
89
91
|
return K(async () => {
|
|
90
|
-
await
|
|
92
|
+
await Q(async () => {
|
|
91
93
|
var n, t;
|
|
92
|
-
await
|
|
94
|
+
await M.readPremium(), await M.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
95
|
(a) => typeof a == "string" ? null : a.targetLocation || null
|
|
94
96
|
)) : (f.value = [], _.value = []);
|
|
95
97
|
});
|
|
96
98
|
}), (n, t) => {
|
|
97
99
|
var i;
|
|
98
100
|
const a = A("FmButton"), p = A("FmPill"), k = A("FmCard"), m = A("FmIcon"), h = A("FmSideSheet");
|
|
99
|
-
return u(), b("div",
|
|
100
|
-
s("div",
|
|
101
|
-
s("div",
|
|
102
|
-
s("div",
|
|
101
|
+
return u(), b("div", pe, [
|
|
102
|
+
s("div", fe, [
|
|
103
|
+
s("div", ge, [
|
|
104
|
+
s("div", _e, [
|
|
103
105
|
d(a, {
|
|
104
106
|
icon: "arrow_back",
|
|
105
107
|
variant: "tertiary",
|
|
106
|
-
onClick:
|
|
108
|
+
onClick: X
|
|
107
109
|
}),
|
|
108
110
|
s("div", null, [
|
|
109
|
-
s("div",
|
|
111
|
+
s("div", he, [
|
|
110
112
|
W(v(e(o)("connect.setting.advertisement.title")) + " ", 1),
|
|
111
113
|
d(p, { variant: "premium" })
|
|
112
114
|
]),
|
|
113
|
-
s("div",
|
|
115
|
+
s("div", ye, v(e(o)("connect.setting.advertisement.subtitle")), 1)
|
|
114
116
|
])
|
|
115
117
|
]),
|
|
116
118
|
d(a, {
|
|
@@ -121,38 +123,38 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
121
123
|
}, null, 8, ["label", "disabled", "loading"])
|
|
122
124
|
])
|
|
123
125
|
]),
|
|
124
|
-
e(c) ? (u(), b("div",
|
|
125
|
-
s("div",
|
|
126
|
+
e(c) ? (u(), b("div", be, [
|
|
127
|
+
s("div", we, [
|
|
126
128
|
d(k, {
|
|
127
129
|
variant: "outlined",
|
|
128
130
|
class: "px-16 py-12 flex items-center gap-8"
|
|
129
131
|
}, {
|
|
130
132
|
default: S(() => [
|
|
131
|
-
s("span",
|
|
132
|
-
s("span",
|
|
133
|
+
s("span", xe, v(e(o)("connect.setting.advertisement.activeAds")), 1),
|
|
134
|
+
s("span", ke, v(e(V)) + " / " + v(I), 1)
|
|
133
135
|
]),
|
|
134
136
|
_: 1
|
|
135
137
|
})
|
|
136
138
|
]),
|
|
137
|
-
e(
|
|
139
|
+
e(M).isPremium ? (u(), b("div", Ce, [
|
|
138
140
|
(u(!0), b(Y, null, Z(((i = e(c).advertisements) == null ? void 0 : i.length) || 0, (l, r) => (u(), B(k, {
|
|
139
141
|
key: r,
|
|
140
142
|
variant: "outlined",
|
|
141
143
|
class: "cursor-pointer hover:shadow-lg transition-shadow overflow-hidden relative",
|
|
142
|
-
onClick: (
|
|
144
|
+
onClick: (T) => E(r)
|
|
143
145
|
}, {
|
|
144
146
|
default: S(() => [
|
|
145
|
-
s("div",
|
|
147
|
+
s("div", Fe, [
|
|
146
148
|
d(a, {
|
|
147
149
|
icon: "delete",
|
|
148
150
|
variant: "tertiary",
|
|
149
151
|
size: "sm",
|
|
150
152
|
class: "bg-white/90 hover:bg-white shadow-sm",
|
|
151
|
-
onClick: (
|
|
153
|
+
onClick: (T) => H(T, r)
|
|
152
154
|
}, null, 8, ["onClick"])
|
|
153
155
|
]),
|
|
154
|
-
s("div",
|
|
155
|
-
x(r) &&
|
|
156
|
+
s("div", je, [
|
|
157
|
+
x(r) && O(x(r)) ? (u(), b("video", {
|
|
156
158
|
key: 0,
|
|
157
159
|
src: x(r),
|
|
158
160
|
class: "w-full h-full object-cover",
|
|
@@ -160,12 +162,12 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
160
162
|
loop: "",
|
|
161
163
|
autoplay: "",
|
|
162
164
|
playsinline: ""
|
|
163
|
-
}, null, 8,
|
|
165
|
+
}, null, 8, Le)) : x(r) ? (u(), b("img", {
|
|
164
166
|
key: 1,
|
|
165
167
|
src: x(r),
|
|
166
168
|
class: "w-full h-full object-cover",
|
|
167
169
|
alt: `Ad ${r + 1}`
|
|
168
|
-
}, null, 8,
|
|
170
|
+
}, null, 8, Me)) : (u(), b("div", Ve, [
|
|
169
171
|
d(m, {
|
|
170
172
|
name: "image",
|
|
171
173
|
size: "48"
|
|
@@ -175,22 +177,22 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
175
177
|
]),
|
|
176
178
|
_: 2
|
|
177
179
|
}, 1032, ["onClick"]))), 128)),
|
|
178
|
-
e(
|
|
180
|
+
e(P) ? (u(), B(k, {
|
|
179
181
|
key: 0,
|
|
180
182
|
variant: "outlined",
|
|
181
183
|
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:
|
|
184
|
+
onClick: q
|
|
183
185
|
}, {
|
|
184
186
|
default: S(() => [
|
|
185
|
-
s("div",
|
|
187
|
+
s("div", $e, [
|
|
186
188
|
d(m, {
|
|
187
189
|
name: "add",
|
|
188
190
|
size: "24",
|
|
189
191
|
class: "text-fm-color-typo-secondary"
|
|
190
192
|
})
|
|
191
193
|
]),
|
|
192
|
-
s("div",
|
|
193
|
-
s("div",
|
|
194
|
+
s("div", Be, v(e(o)("connect.setting.advertisement.addAd")), 1),
|
|
195
|
+
s("div", Ie, v(I - e(V)) + " " + v(e(o)("connect.setting.advertisement.left")), 1)
|
|
194
196
|
]),
|
|
195
197
|
_: 1
|
|
196
198
|
})) : N("", !0)
|
|
@@ -200,8 +202,8 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
200
202
|
class: "p-24 text-center mb-24 bg-fm-color-warning-50"
|
|
201
203
|
}, {
|
|
202
204
|
default: S(() => [
|
|
203
|
-
s("div",
|
|
204
|
-
s("div",
|
|
205
|
+
s("div", Se, v(e(o)("connect.setting.advertisement.premiumFeatureTitle")), 1),
|
|
206
|
+
s("div", Ae, v(e(o)("connect.setting.advertisement.premiumFeatureDescription")), 1)
|
|
205
207
|
]),
|
|
206
208
|
_: 1
|
|
207
209
|
}))
|
|
@@ -216,10 +218,10 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
216
218
|
header: e(g) !== null ? `${e(o)("connect.setting.advertisement.manageAd")} #${e(g) + 1}` : e(o)("connect.setting.advertisement.addAdvertisement")
|
|
217
219
|
}, {
|
|
218
220
|
"side-sheet-footer": S(() => [
|
|
219
|
-
s("div",
|
|
221
|
+
s("div", ze, [
|
|
220
222
|
d(a, {
|
|
221
223
|
label: e(o)("connect.setting.advertisement.save"),
|
|
222
|
-
onClick:
|
|
224
|
+
onClick: G,
|
|
223
225
|
loading: !!e(C).loadingQueue.length,
|
|
224
226
|
disabled: !!e(C).loadingQueue.length
|
|
225
227
|
}, null, 8, ["label", "loading", "disabled"])
|
|
@@ -227,8 +229,8 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
227
229
|
]),
|
|
228
230
|
default: S(() => [
|
|
229
231
|
s("div", Pe, [
|
|
230
|
-
s("div",
|
|
231
|
-
s("div",
|
|
232
|
+
s("div", Ee, [
|
|
233
|
+
s("div", Te, [
|
|
232
234
|
d(le, {
|
|
233
235
|
label: e(o)("connect.setting.advertisement.advertisementImage"),
|
|
234
236
|
"image-fit": "cover",
|
|
@@ -258,5 +260,5 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
|
|
|
258
260
|
}
|
|
259
261
|
});
|
|
260
262
|
export {
|
|
261
|
-
|
|
263
|
+
nt as default
|
|
262
264
|
};
|