@feedmepos/mf-connect 0.1.38-beta.33 → 0.1.38-beta.34
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-B1hvdnhQ.js → Analytic-DBUfOGXN.js} +13 -13
- package/dist/{App-BCjFwtVu.js → App-BKoC43t0.js} +8 -8
- package/dist/{AuditLogs-DwOzstOt.js → AuditLogs-DfcDKAAx.js} +9 -9
- package/dist/{Bin-BgnnzoZS.js → Bin-K1LAZ7Il.js} +8 -8
- package/dist/{Broadcast-DqSOAE01.js → Broadcast-dPQylejk.js} +9 -9
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CBMG8_Sk.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CADc94lG.js} +6 -6
- package/dist/{Card-A9CkhfVY.js → Card-DqXEthXd.js} +16 -16
- package/dist/{Collections-BgnFnaWo.js → Collections-2higR9xt.js} +6 -6
- package/dist/{Credit-a_OpuZJM.js → Credit-C0zUwRx_.js} +9 -9
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNBh1Id6.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DiMkp8eD.js} +32 -32
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-oao_UwRf.js → EffectSheet.vue_vue_type_style_index_0_lang-CeZvW4CN.js} +6 -6
- package/dist/{Experience-CpGj9JqO.js → Experience-B2an8JbD.js} +9 -9
- package/dist/{Game-D0e3MyPK.js → Game-BO7F7MwC.js} +10 -10
- package/dist/{Grab-Exo0vj4b.js → Grab-DhHyUon4.js} +9 -9
- package/dist/{Index-DU0reBq4.js → Index-uadi-EZ6.js} +10 -10
- package/dist/{Marketing-BZtDNsA-.js → Marketing-BWpOwWf0.js} +7 -7
- package/dist/{Member-D8buIkBR.js → Member-Mcwja1E6.js} +10 -10
- package/dist/{MemberList-CDwYfTlS.js → MemberList-BPGNOKXn.js} +25 -25
- package/dist/{MemberTransactions-DRkpizb_.js → MemberTransactions-DaBU7MOW.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-VzyI4O5z.js → MessageInput.vue_vue_type_script_setup_true_lang-DYuWH0OF.js} +8 -8
- package/dist/{Mission-BTzIK2Yx.js → Mission-DSRwwQMw.js} +10 -10
- package/dist/{Overview-CMkljRYt.js → Overview-B897q3qA.js} +18 -18
- package/dist/{Point-DGPLd8z-.js → Point-lhl01-GA.js} +9 -9
- package/dist/{Promotion-D8K2pFnv.js → Promotion-BvO0BUst.js} +10 -10
- package/dist/{Queue-CySghWZm.js → Queue-ec2IpEuf.js} +10 -10
- package/dist/{Record-CxloqLoN.js → Record-BXLVpbR2.js} +8 -8
- package/dist/{Reward-DxvFaqzm.js → Reward-DCzxzMzn.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-WOC3rplt.js → RewardGroup.vue_vue_type_script_setup_true_lang-COiUXYSb.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C4zhGkBY.js → RuleGroup.vue_vue_type_script_setup_true_lang-Bz3lj9Ng.js} +13 -13
- package/dist/{Segment-DKD6P0cE.js → Segment-CYk3w6PO.js} +22 -22
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-bpblaVLq.js → SelectItems.vue_vue_type_script_setup_true_lang-ITaqten3.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B1g0fHPV.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-ViJglQse.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CSR5EuVO.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DSm11Q46.js} +3 -3
- package/dist/{Setting-khHGWePA.js → Setting-DZtcRs0k.js} +141 -141
- package/dist/SettingAdvertisements-DBQEaFBm.js +262 -0
- package/dist/{Store-0cJJpCIV.js → Store-5svFOdbG.js} +20 -20
- package/dist/{StoreRewards-CV8XStEA.js → StoreRewards-DImHNqJA.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bqw4ayC4.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BUnlE8_-.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BprUyeOJ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CiDVA4p8.js} +1 -1
- package/dist/{Tier-BgahD6Rs.js → Tier-B43j8PN_.js} +20 -20
- package/dist/{Title-DKGqu5SL.js → Title-6ThYGwPj.js} +19 -19
- package/dist/{Transaction-Bu-Zaa-_.js → Transaction-CGkAjZ9A.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-cDZZz9DR.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Cvr5u0Zs.js} +6 -6
- package/dist/{Voucher-sko-4yOv.js → Voucher-Blbht91D.js} +14 -14
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DVlYxnyk.js → VoucherEditor.vue_vue_type_script_setup_true_lang-Bi0Z03Ai.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CeNxiT5A.js → ZodTextField.vue_vue_type_script_setup_true_lang-CWoUnCAa.js} +1 -1
- package/dist/{app-DivOpQ--.js → app-C6urTnJ4.js} +1 -1
- package/dist/{app-B06WmmlS.js → app-xTCQAKl2.js} +2209 -1122
- package/dist/app.js +1 -1
- package/dist/{business-ClV-3_wH.js → business-B7k-tZEN.js} +1 -1
- package/dist/{campaign-C-DtV5gs.js → campaign-Bz9UcS_m.js} +2 -2
- package/dist/{campaign-ChCAqzSE.js → campaign-muSKe19-.js} +71 -71
- package/dist/{campaign.enum-HJvL6WCW.js → campaign.enum-hDvXhq3o.js} +1 -1
- package/dist/{campaign.fn-FkHPIhXx.js → campaign.fn-dcycsEgm.js} +3 -3
- package/dist/{collectible.enum-DlxRyJMy.js → collectible.enum-wxQMWK6c.js} +1 -1
- package/dist/{collection.fn-DmYKiZsL.js → collection.fn-DDzDInuW.js} +2 -2
- package/dist/{dto-BKG9T2I2.js → dto-CunCCKYQ.js} +4 -4
- package/dist/{effect-qQUWG0In.js → effect-BXObGcbg.js} +1 -1
- package/dist/{email-addresses-Dqyt8I7s.js → email-addresses-C6eoXJGp.js} +1 -1
- package/dist/{export-CUcU1l-K.js → export-BDFxcaL0.js} +3 -3
- package/dist/{helper-Bxi0o7m8.js → helper-BvwYqXjY.js} +1 -1
- package/dist/{index-B5SrWi06.js → index--EQGC2IH.js} +3 -3
- package/dist/{index-C06Q7hpx.js → index-3EjNf2am.js} +1 -1
- package/dist/{index-BWq6tQbu.js → index-B41wOGTO.js} +1 -1
- package/dist/{index-Dhh1sEG_.js → index-BuvsKdUo.js} +6 -6
- package/dist/{index-BAv3BkZY.js → index-C-Y8B9_g.js} +1023 -1023
- package/dist/{index-DlK01rGI.js → index-CVG-2gDW.js} +1 -1
- package/dist/{index-DdekcTG4.js → index-CkdgYD-t.js} +1 -1
- package/dist/{index-Ct2-fiN2.js → index-D23WXsuy.js} +1 -1
- package/dist/{index-BEN3tBqd.js → index-DQqUeKpy.js} +2 -2
- package/dist/{index-BL_1CL4C.js → index-DVL-x7W6.js} +4 -4
- package/dist/{index-B94mBxiL.js → index-DtFTHQOJ.js} +1 -1
- package/dist/{index-DzELBV8R.js → index-RKOwESmg.js} +1 -1
- package/dist/{index-TKz_0Ysa.js → index-_9R9an9a.js} +1 -1
- package/dist/{index-UjD7i6Rs.js → index-tz_n5lEb.js} +4 -4
- package/dist/{index.esm2017-DHCRXeWh.js → index.esm2017-wyZHjxJg.js} +1 -1
- package/dist/{loading-B_UZCyhK.js → loading-CVL-OePP.js} +1 -1
- package/dist/{membership-_kM8eXz7.js → membership-Cwolq8Cj.js} +3 -3
- package/dist/{money-CoVA-srK.js → money-hSkLuGRM.js} +1 -1
- package/dist/{number-YRitPV2s.js → number-C6FRJ2M7.js} +1 -1
- package/dist/{objectid-C1na7D-x.js → objectid-aShDJfER.js} +4 -4
- package/dist/{plugins-CRzS5EeK.js → plugins-CPwW8rZp.js} +2 -2
- package/dist/{reward-BzSjQxTf.js → reward-BRjFlh6E.js} +1 -1
- package/dist/{rule-BTgu7Yg-.js → rule-CYMGrUxS.js} +3 -3
- package/dist/{rule-builder-DqxBZKm0.js → rule-builder-TdDaDyR7.js} +1 -1
- package/dist/{template-Cb_6r-V_.js → template-C78lPPQn.js} +4 -4
- package/dist/{timezone-_t4BbV7Q.js → timezone-CAUT5KZd.js} +1 -1
- package/dist/{trigger-B0ldNAaK.js → trigger-CQKxXHDL.js} +4 -4
- package/dist/{user-B4J6WtQq.js → user-8R-3y6sK.js} +1 -1
- package/dist/{vue-i18n-c1uC6tyM.js → vue-i18n-LviVr_kr.js} +2 -2
- package/dist/{xlsx-BRAFCQ59.js → xlsx-mDgALSyS.js} +1 -1
- package/package.json +1 -1
- package/dist/SettingAdvertisements-DJHKjE95.js +0 -264
|
@@ -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-CVL-OePP.js";
|
|
3
|
+
import { u as ne } from "./app-wDQR6dpb.js";
|
|
4
|
+
import { u as se } from "./business-B7k-tZEN.js";
|
|
5
|
+
import { u as oe } from "./membership-Cwolq8Cj.js";
|
|
6
|
+
import "./index-C-Y8B9_g.js";
|
|
7
|
+
import { k as ae } from "./index-tz_n5lEb.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-CPwW8rZp.js";
|
|
10
|
+
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CiDVA4p8.js";
|
|
11
|
+
import { u as ce } from "./vue-i18n-LviVr_kr.js";
|
|
12
|
+
import { useRouter as de } from "vue-router";
|
|
13
|
+
import { m as me } from "./index-DtFTHQOJ.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
|
+
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as j, resolveComponent as h, openBlock as g, createBlock as I, withCtx as T, createElementVNode as _, createElementBlock as B, createVNode as i, createCommentVNode as M, toDisplayString as L, unref as e, Fragment as X, renderList as ie, ref as U, isRef as oe, reactive as qe, onMounted as fe, watch as we, toRaw as Ye, createTextVNode as ue, h as We } from "vue";
|
|
2
2
|
import { _ as ze } from "./tier-BJDhpH6X.js";
|
|
3
3
|
import { useDialog as Ee, useDialogChild as je, components as Je } from "@feedmepos/ui-library";
|
|
4
|
-
import { c as D, e as he, S as Ge } from "./index-
|
|
5
|
-
import { u as Le } from "./loading-
|
|
6
|
-
import { u as ke, C as me } from "./membership-
|
|
4
|
+
import { c as D, e as he, S as Ge } from "./index-DVL-x7W6.js";
|
|
5
|
+
import { u as Le } from "./loading-CVL-OePP.js";
|
|
6
|
+
import { u as ke, C as me } from "./membership-Cwolq8Cj.js";
|
|
7
7
|
import { a as Xe, c as Me } from "./object-qECH92oz.js";
|
|
8
8
|
import { _ as re } from "./lodash-B5I3zXaY.js";
|
|
9
|
-
import { c as se } from "./index-
|
|
10
|
-
import { u as be } from "./vue-i18n-
|
|
9
|
+
import { c as se } from "./index-C-Y8B9_g.js";
|
|
10
|
+
import { u as be } from "./vue-i18n-LviVr_kr.js";
|
|
11
11
|
import { Z, g as J, a as G } from "./zod-Bg2FbC-D.js";
|
|
12
|
-
import { z as Q, R as Ze } from "./app-
|
|
13
|
-
import { m as Qe, n as et, o as tt, p as Oe, q as nt } from "./index-
|
|
12
|
+
import { z as Q, R as Ze } from "./app-xTCQAKl2.js";
|
|
13
|
+
import { m as Qe, n as et, o as tt, p as Oe, q as nt } from "./index-tz_n5lEb.js";
|
|
14
14
|
import { u as Se } from "./app-wDQR6dpb.js";
|
|
15
|
-
import { _ as te } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { a as ot, p as _e, n as at, f as Fe } from "./plugins-
|
|
15
|
+
import { _ as te } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWoUnCAa.js";
|
|
16
|
+
import { a as ot, p as _e, n as at, f as Fe } from "./plugins-CPwW8rZp.js";
|
|
17
17
|
import { J as Pe } from "./JsonViewer-v8_C7l5N.js";
|
|
18
|
-
import { _ as lt } from "./index-
|
|
18
|
+
import { _ as lt } from "./index-DQqUeKpy.js";
|
|
19
19
|
import { _ as st } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
|
|
20
20
|
import { _ as rt } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
21
|
-
import { z as it, a as dt } from "./money-
|
|
22
|
-
import { F as ut } from "./number-
|
|
23
|
-
import { t as ct } from "./helper-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./index
|
|
28
|
-
import { m as mt } from "./index-
|
|
29
|
-
import { m as Ce } from "./index-
|
|
21
|
+
import { z as it, a as dt } from "./money-hSkLuGRM.js";
|
|
22
|
+
import { F as ut } from "./number-C6FRJ2M7.js";
|
|
23
|
+
import { t as ct } from "./helper-BvwYqXjY.js";
|
|
24
|
+
import "./index-_9R9an9a.js";
|
|
25
|
+
import "./index-BuvsKdUo.js";
|
|
26
|
+
import "./index-CVG-2gDW.js";
|
|
27
|
+
import "./index--EQGC2IH.js";
|
|
28
|
+
import { m as mt } from "./index-3EjNf2am.js";
|
|
29
|
+
import { m as Ce } from "./index-DtFTHQOJ.js";
|
|
30
30
|
import { useRouter as pt } from "vue-router";
|
|
31
31
|
function Ke(v) {
|
|
32
32
|
return se.DineroFactory(v).toUnit();
|
|
@@ -1586,7 +1586,7 @@ const Xt = /* @__PURE__ */ ee({
|
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
1588
|
});
|
|
1589
|
-
var fn = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "
|
|
1589
|
+
var fn = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
|
|
1590
1590
|
const bn = { class: "px-24 flex flex-col gap-y-16" }, gn = { class: "flex gap-8 items-center" }, vn = { class: "fm-typo-en-body-lg-600" }, hn = { class: "grid sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-24" }, xn = { class: "flex flex-col gap-16 text-center" }, _n = { class: "fm-typo-en-title-sm-800" }, Cn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Qn = /* @__PURE__ */ ee({
|
|
1591
1591
|
__name: "Store",
|
|
1592
1592
|
setup(v) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as G, ref as F, computed as N, onMounted as q, resolveComponent as R, openBlock as d, createBlock as C, unref as e, isRef as Y, withCtx as S, createElementVNode as l, createVNode as c, createElementBlock as P, createTextVNode as z, resolveDynamicComponent as H, toDisplayString as T, Fragment as j, createCommentVNode as U, h } from "vue";
|
|
2
2
|
import { _ as J } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as Q, components as k } from "@feedmepos/ui-library";
|
|
4
|
-
import "./index-
|
|
5
|
-
import { u as X } from "./loading-
|
|
6
|
-
import { C as Z, u as ee } from "./membership-
|
|
7
|
-
import { p as M, f as B } from "./plugins-
|
|
8
|
-
import { u as te } from "./vue-i18n-
|
|
9
|
-
import { F as oe } from "./index-
|
|
4
|
+
import "./index-_9R9an9a.js";
|
|
5
|
+
import { u as X } from "./loading-CVL-OePP.js";
|
|
6
|
+
import { C as Z, u as ee } from "./membership-Cwolq8Cj.js";
|
|
7
|
+
import { p as M, f as B } from "./plugins-CPwW8rZp.js";
|
|
8
|
+
import { u as te } from "./vue-i18n-LviVr_kr.js";
|
|
9
|
+
import { F as oe } from "./index-DQqUeKpy.js";
|
|
10
10
|
import { c as ae } from "./object-qECH92oz.js";
|
|
11
11
|
import { u as K } from "./app-wDQR6dpb.js";
|
|
12
|
-
import { u as ne } from "./business-
|
|
12
|
+
import { u as ne } from "./business-B7k-tZEN.js";
|
|
13
13
|
import { useCoreStore as se } from "@feedmepos/mf-common";
|
|
14
14
|
import { Z as b } from "./zod-Bg2FbC-D.js";
|
|
15
|
-
import { _ as re } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { _ as re } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWoUnCAa.js";
|
|
16
16
|
import { _ as ie } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
|
|
17
|
-
import { _ as le } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { _ as me, a as ce } from "./EffectSheet.vue_vue_type_style_index_0_lang-
|
|
19
|
-
import { i as de, t as ue } from "./helper-
|
|
17
|
+
import { _ as le } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CiDVA4p8.js";
|
|
18
|
+
import { _ as me, a as ce } from "./EffectSheet.vue_vue_type_style_index_0_lang-CeZvW4CN.js";
|
|
19
|
+
import { i as de, t as ue } from "./helper-BvwYqXjY.js";
|
|
20
20
|
import { useRouter as pe } from "vue-router";
|
|
21
|
-
import { m as D } from "./index-
|
|
22
|
-
import { R as O } from "./app-
|
|
21
|
+
import { m as D } from "./index-DtFTHQOJ.js";
|
|
22
|
+
import { R as O } from "./app-xTCQAKl2.js";
|
|
23
23
|
const fe = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "flex flex-col space-y-16 pr-12"
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as M, computed as G, h as n, resolveComponent as U, openBlock as E, createBlock as te, unref as l, isRef as ge, withCtx as ae, createElementVNode as h, createVNode as w, createElementBlock as V, Fragment as W, renderList as oe, toDisplayString as z, createTextVNode as ye, resolveDynamicComponent as he, watch as ne, onBeforeMount as ve, onMounted as be } from "vue";
|
|
2
2
|
import { components as y, useDialog as _e } from "@feedmepos/ui-library";
|
|
3
|
-
import { r as X } from "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { s as xe } from "./index-
|
|
3
|
+
import { r as X } from "./index-tz_n5lEb.js";
|
|
4
|
+
import "./index-C-Y8B9_g.js";
|
|
5
|
+
import { s as xe } from "./index-B41wOGTO.js";
|
|
6
6
|
import { h as _ } from "./moment-D7p2TMB-.js";
|
|
7
7
|
import { _ as j } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
8
8
|
import { _ as re } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js";
|
|
9
9
|
import { s as K } from "./index-CsaQJMAR.js";
|
|
10
|
-
import { f as J } from "./number-
|
|
11
|
-
import { u as se } from "./business-
|
|
10
|
+
import { f as J } from "./number-C6FRJ2M7.js";
|
|
11
|
+
import { u as se } from "./business-B7k-tZEN.js";
|
|
12
12
|
import { u as le, _ as ie } from "./usePagination-Ds-cuHop.js";
|
|
13
|
-
import { a as Z, c as Se, p as we } from "./plugins-
|
|
14
|
-
import { g as ce } from "./user-
|
|
15
|
-
import { B as ue, e as me } from "./export-
|
|
16
|
-
import { u as de } from "./campaign-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./index
|
|
22
|
-
import { u as Te } from "./vue-i18n-
|
|
13
|
+
import { a as Z, c as Se, p as we } from "./plugins-CPwW8rZp.js";
|
|
14
|
+
import { g as ce } from "./user-8R-3y6sK.js";
|
|
15
|
+
import { B as ue, e as me } from "./export-BDFxcaL0.js";
|
|
16
|
+
import { u as de } from "./campaign-Bz9UcS_m.js";
|
|
17
|
+
import "./index-_9R9an9a.js";
|
|
18
|
+
import "./index-BuvsKdUo.js";
|
|
19
|
+
import "./index-DQqUeKpy.js";
|
|
20
|
+
import "./index-CVG-2gDW.js";
|
|
21
|
+
import "./index--EQGC2IH.js";
|
|
22
|
+
import { u as Te } from "./vue-i18n-LviVr_kr.js";
|
|
23
23
|
import { o as Y } from "./objectId-dwaoBfJX.js";
|
|
24
|
-
import { u as pe } from "./loading-
|
|
24
|
+
import { u as pe } from "./loading-CVL-OePP.js";
|
|
25
25
|
import { useRouter as Re } from "vue-router";
|
|
26
|
-
import { t as L } from "./index-
|
|
27
|
-
import { R as H } from "./app-
|
|
28
|
-
import { F as q } from "./collectible.enum-
|
|
26
|
+
import { t as L } from "./index-D23WXsuy.js";
|
|
27
|
+
import { R as H } from "./app-xTCQAKl2.js";
|
|
28
|
+
import { F as q } from "./collectible.enum-wxQMWK6c.js";
|
|
29
29
|
import { useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
30
|
-
import { m as Ie } from "./index-
|
|
30
|
+
import { m as Ie } from "./index-DtFTHQOJ.js";
|
|
31
31
|
function Ae(m) {
|
|
32
32
|
let p = "";
|
|
33
33
|
switch (m) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as C, computed as L, watch as E, resolveComponent as g, openBlock as o, createElementBlock as i, Fragment as y, toDisplayString as I, createCommentVNode as A, createElementVNode as M, createVNode as v, unref as u, renderList as S, createBlock as b, isRef as U, withCtx as F } from "vue";
|
|
2
|
-
import { u as T } from "./business-
|
|
2
|
+
import { u as T } from "./business-B7k-tZEN.js";
|
|
3
3
|
function j(l, s, n) {
|
|
4
4
|
return l.some(
|
|
5
5
|
n instanceof Function ? n : (a) => a === s
|