@feedmepos/mf-connect 0.1.98-prod → 0.1.100-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-BHDjuMfN.js → Analytic-XINt9B5E.js} +68 -67
- package/dist/{App-BSSze_b9.js → App-D9rsw0Yw.js} +811 -665
- package/dist/{Bin-DfzoQbE0.js → Bin-Bn4jz9a5.js} +8 -8
- package/dist/{Broadcast-DsqO4SXX.js → Broadcast-C2lNY8LH.js} +37 -34
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DQ0x2VJp.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B92vx_Vk.js} +6 -6
- package/dist/{Card-VxbqomXV.js → Card-VjSIVoYP.js} +18 -18
- package/dist/{Collections-CvD98I3M.js → Collections-XUNGy8IL.js} +16 -15
- package/dist/{Credit-BhM2m2L2.js → Credit-Di0w45Hp.js} +11 -10
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +58 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DvfrrjHc.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-C32lZqSA.js} +32 -32
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CPx9U9fU.js → EffectSheet.vue_vue_type_style_index_0_lang-D3DrzR4N.js} +6 -6
- package/dist/{Experience-uWQRb-qf.js → Experience-BJSRITSv.js} +30 -29
- package/dist/{FileSaver.min-DKNoHTvP.js → FileSaver.min-B_Ymi-NF.js} +1 -1
- package/dist/{Game-BgT3oNx7.js → Game-DMM7drh2.js} +12 -11
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-ClqrJbU6.js → ImageInput.vue_vue_type_script_setup_true_lang-Co4kHzny.js} +1 -1
- package/dist/{Index-D3RgVj9V.js → Index-CuNMEC3w.js} +10 -10
- package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-CerTVWce.js +48 -0
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CkCpumzB.js → LottieAnimation.vue_vue_type_script_setup_true_lang-XSvUUehA.js} +1 -1
- package/dist/{MainLayout-B2RiPsIR.js → MainLayout-D346WHmU.js} +1 -1
- package/dist/{Marketing-FrE7k7eW.js → Marketing-BwNU3ZkH.js} +4 -4
- package/dist/{MarketingMaterialEdit-DGNjEUu-.js → MarketingMaterialEdit-BXGBbKBt.js} +6 -6
- package/dist/{Member-CgTagUQ9.js → Member-B4He21B9.js} +11 -11
- package/dist/{MemberList-CKbzsDMX.js → MemberList-BsrjrcEu.js} +26 -26
- package/dist/{MemberTransactions-CnY5cFdv.js → MemberTransactions-s4DsYK7K.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DqivG_O4.js → MessageInput.vue_vue_type_script_setup_true_lang-BAKTr2Pq.js} +5434 -5279
- package/dist/{Mission-BGNqy7wQ.js → Mission-C3Hkny_r.js} +42 -41
- package/dist/Overview-BRf4GaDa.js +969 -0
- package/dist/{Overview-CnpF74wa.js → Overview-rjoe2HYr.js} +18 -18
- package/dist/{Point-BHgIy7Bz.js → Point-JJ2fRCIx.js} +25 -24
- package/dist/{Promotion-CNQvO5Lq.js → Promotion-fbSo4NJd.js} +12 -11
- package/dist/{Queue-CoPBE0UP.js → Queue-DE2G8iin.js} +16 -16
- package/dist/{Record-BuDQ15FJ.js → Record-C-8Q6nj7.js} +9 -9
- package/dist/Review-DH2P029F.js +46 -0
- package/dist/ReviewFacebookCallback-65plwW_E.js +238 -0
- package/dist/ReviewGoogleCallback-BUrwTtDU.js +213 -0
- package/dist/{Reward-BQlCO3Dk.js → Reward-CuxO88gi.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-nhNr_T7D.js → RewardGroup.vue_vue_type_script_setup_true_lang-BWxRzc64.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-lnxwLa8o.js → RuleGroup.vue_vue_type_script_setup_true_lang-C9GeT2EK.js} +14 -14
- package/dist/{Segment-DKFAXGzY.js → Segment-DcmanYob.js} +24 -24
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CUR7djaM.js → SelectItems.vue_vue_type_script_setup_true_lang-CEuhMVfD.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CZ3s2W8Q.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CuxO3_3_.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BbilZk82.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DScmPfA-.js} +4 -4
- package/dist/{Setting-hrDZ1cQR.js → Setting-CFTp0GmM.js} +14 -14
- package/dist/{SettingAdvertisements-CQsx4JqQ.js → SettingAdvertisements-8xmkoUKa.js} +12 -12
- package/dist/Settings-gILVyEj2.js +228 -0
- package/dist/{Store-Cgmsklnt.js → Store-DQVq0Xi6.js} +21 -21
- package/dist/{StoreRewards-CrPO4DKG.js → StoreRewards-DmSlqv8a.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-yesp6BoT.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CyHk--_H.js} +350 -401
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BnKybdKJ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-udy1jEkk.js} +2 -2
- package/dist/{Tier-DgKMMyKr.js → Tier-CTY4RIwU.js} +100 -99
- package/dist/{Title-BKijiEFV.js → Title-5HaDc6DJ.js} +30 -29
- package/dist/{Transaction-zHL4q_wj.js → Transaction-Bkx0TKcE.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DjafpVOa.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CxlCuX9E.js} +6 -6
- package/dist/{Voucher-DW4-SD1w.js → Voucher-YC-bec2o.js} +15 -14
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-y2wm2Bcu.js → VoucherEditor.vue_vue_type_script_setup_true_lang-2M6Vq8n7.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BWZUE554.js → ZodTextField.vue_vue_type_script_setup_true_lang-DFtesZs1.js} +2 -2
- package/dist/{app-B23RANXL.js → app-D0hzDd4e.js} +3629 -2961
- package/dist/app.js +1 -1
- package/dist/{business-BFU-2tpT.js → business-BnGi3KpM.js} +1 -1
- package/dist/campaign-Bxl_qdCX.js +94 -0
- package/dist/{campaign-BEKKOWya.js → campaign-p_ahNQqG.js} +8 -8
- package/dist/{campaign.enum-5KIiekYl.js → campaign.enum-6c5-J08o.js} +1 -1
- package/dist/{campaign.fn-CyWn_KL-.js → campaign.fn-CFny8OoE.js} +169 -169
- package/dist/{collectible.enum-DmmR-4Nj.js → collectible.enum-DzAp8NtK.js} +1 -1
- package/dist/{collection.fn-BB1OjBHL.js → collection.fn-DfJWUHyr.js} +2 -2
- package/dist/{dto-p31OYANk.js → dto-CEtiwWkS.js} +4 -4
- package/dist/{effect-DNDXE2iM.js → effect-D8goCe5E.js} +1 -1
- package/dist/{email-addresses-DXSkxrZ6.js → email-addresses-D06zPBLT.js} +2 -2
- package/dist/{export-zMj-UAnF.js → export-HaMl_Azr.js} +3 -3
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-D32ml7Qv.js → helper-CCtbisll.js} +1 -1
- package/dist/{index-Cc15IFUt.js → index-BO1Znykz.js} +1 -1
- package/dist/{index-DSGHkaP0.js → index-BOdZ1yDb.js} +1 -1
- package/dist/{index-PrTZHXNT.js → index-BrrdqEYe.js} +1 -1
- package/dist/index-CXhfmTIq.js +61 -0
- package/dist/index-CfIjhpNE.js +130 -0
- package/dist/index-CqDkGInW.js +45 -0
- package/dist/{index-B2OiTtF5.js → index-D-frQ2XF.js} +1 -1
- package/dist/{index-B9-jeiQR.js → index-DOfCIojC.js} +274 -293
- package/dist/{index-BWHk6oqv.js → index-DOsqahSi.js} +3 -3
- package/dist/{index-9jgqbdnt.js → index-DWEToi5v.js} +2 -2
- package/dist/{index-CA09A75h.js → index-Db7pTgFI.js} +3 -3
- package/dist/{index-CcnOzrwY.js → index-Dv6xFaU8.js} +1 -1
- package/dist/{index-DvHLsdIR.js → index-DzAMDjV5.js} +372 -103
- package/dist/{index-BmmFSQPd.js → index-tp4p25fB.js} +3 -3
- package/dist/{index-txVWLdtz.js → index-vulLVFK6.js} +1 -1
- package/dist/{index.esm2017-BJG8dqci.js → index.esm2017-DcvVBTwu.js} +1 -1
- package/dist/{loading-DuZVM_Ow.js → loading-CCOPHoh7.js} +1 -1
- package/dist/{lodash-DqQem5rZ.js → lodash-Do054Rv4.js} +1 -1
- package/dist/{membership-CvoEzwor.js → membership-D3vhqFT0.js} +3 -3
- package/dist/{money-B9PJ_JYh.js → money-VTIkdUl1.js} +1 -1
- package/dist/{number-GIC15kny.js → number-Ba3vNpgw.js} +1 -1
- package/dist/{objectid-CtJ4pTf2.js → objectid-DcsNOw8j.js} +6 -6
- package/dist/{plugins-XAhAFHmZ.js → plugins-Dk2lSfQI.js} +3 -3
- package/dist/{reward-Dy0Z6PLL.js → reward-BCRoFqpp.js} +1 -1
- package/dist/{rule-CUu9I1Ly.js → rule-DDB9bCnP.js} +3 -3
- package/dist/{rule-builder-DPmaehAO.js → rule-builder-CeD7EpXo.js} +1 -1
- package/dist/{template-BHtdbnoX.js → template-DpCblGWK.js} +7 -7
- package/dist/{timezone-BE1YhvLN.js → timezone-B4lML23K.js} +2 -2
- package/dist/{trigger-BcHfjuiZ.js → trigger-BgQMlw3-.js} +5 -5
- package/dist/{useMarketingMaterialActions-YQq4LWOp.js → useMarketingMaterialActions-Bnnnqi34.js} +3 -3
- package/dist/{usePagination-B1KK2gTx.js → usePagination-CbMNQlO7.js} +1 -1
- package/dist/{user-BTRRi1B3.js → user-Bi7G6H-v.js} +1 -1
- package/dist/{vue-i18n-D8NX5Rry.js → vue-i18n-DP39yHHU.js} +165 -165
- package/dist/{xlsx-C9LzK7Kg.js → xlsx-DwXPVJ6t.js} +1 -1
- package/dist/{zod-D3ciRzE4.js → zod-DERH6pU3.js} +1 -1
- package/package.json +1 -1
- package/dist/campaign-CwlWx58O.js +0 -213
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { defineComponent as U, useSlots as z, openBlock as t, createElementBlock as a, createElementVNode as l, normalizeClass as A, unref as o, toDisplayString as g, createCommentVNode as _, Fragment as k, createBlock as w, createVNode as x, renderSlot as M, ref as S, computed as B, onMounted as W, withCtx as C, renderList as E, createStaticVNode as D } from "vue";
|
|
2
|
+
import { u as q } from "./loading-CCOPHoh7.js";
|
|
3
|
+
import { u as H } from "./business-BnGi3KpM.js";
|
|
4
|
+
import { components as y, useSnackbar as J } from "@feedmepos/ui-library";
|
|
5
|
+
import { u as R } from "./vue-i18n-DP39yHHU.js";
|
|
6
|
+
import { g as K, f as Q } from "./google-BQK68wbe.js";
|
|
7
|
+
import { R as X } from "./app-D0hzDd4e.js";
|
|
8
|
+
import { useRouter as Y } from "vue-router";
|
|
9
|
+
import { r as b } from "./index-CXhfmTIq.js";
|
|
10
|
+
const Z = { class: "rounded-lg border border-fm-color-neutral-gray-200 bg-white overflow-hidden" }, ee = ["src"], oe = { class: "flex flex-col flex-1 min-w-0" }, ne = { class: "fm-typo-en-body-md-600 capitalize" }, te = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400 truncate"
|
|
13
|
+
}, N = /* @__PURE__ */ U({
|
|
14
|
+
__name: "ReviewSource",
|
|
15
|
+
props: {
|
|
16
|
+
icon: {},
|
|
17
|
+
name: {},
|
|
18
|
+
connected: { type: Boolean },
|
|
19
|
+
subtitle: {},
|
|
20
|
+
syncing: { type: Boolean },
|
|
21
|
+
tokenExpired: { type: Boolean }
|
|
22
|
+
},
|
|
23
|
+
emits: ["connect", "sync"],
|
|
24
|
+
setup(i, { emit: p }) {
|
|
25
|
+
const u = p, { t: f } = R(), v = z();
|
|
26
|
+
return (c, s) => (t(), a("div", Z, [
|
|
27
|
+
l("div", {
|
|
28
|
+
class: A(["flex items-center gap-12 p-16", o(v).default ? "border-b border-fm-color-neutral-gray-100" : ""])
|
|
29
|
+
}, [
|
|
30
|
+
l("img", {
|
|
31
|
+
src: i.icon,
|
|
32
|
+
class: "w-10 h-10 shrink-0"
|
|
33
|
+
}, null, 8, ee),
|
|
34
|
+
l("div", oe, [
|
|
35
|
+
l("span", ne, g(i.name), 1),
|
|
36
|
+
i.subtitle ? (t(), a("span", te, g(i.subtitle), 1)) : _("", !0)
|
|
37
|
+
]),
|
|
38
|
+
i.connected ? (t(), a(k, { key: 0 }, [
|
|
39
|
+
i.tokenExpired ? (t(), w(o(y).FmChip, {
|
|
40
|
+
key: 0,
|
|
41
|
+
label: o(f)("connect.review.expired"),
|
|
42
|
+
variant: "critical"
|
|
43
|
+
}, null, 8, ["label"])) : _("", !0),
|
|
44
|
+
x(o(y).FmButton, {
|
|
45
|
+
variant: "secondary",
|
|
46
|
+
"prepend-icon": "refresh",
|
|
47
|
+
label: o(f)("connect.review.reconnect"),
|
|
48
|
+
onClick: s[0] || (s[0] = (m) => u("connect"))
|
|
49
|
+
}, null, 8, ["label"]),
|
|
50
|
+
i.tokenExpired ? _("", !0) : (t(), w(o(y).FmButton, {
|
|
51
|
+
key: 1,
|
|
52
|
+
variant: "primary",
|
|
53
|
+
"prepend-icon": "sync",
|
|
54
|
+
label: o(f)("connect.review.sync"),
|
|
55
|
+
loading: i.syncing,
|
|
56
|
+
onClick: s[1] || (s[1] = (m) => u("sync"))
|
|
57
|
+
}, null, 8, ["label", "loading"]))
|
|
58
|
+
], 64)) : (t(), w(o(y).FmButton, {
|
|
59
|
+
key: 1,
|
|
60
|
+
"prepend-icon": "add",
|
|
61
|
+
label: o(f)("connect.review.connect"),
|
|
62
|
+
onClick: s[2] || (s[2] = (m) => u("connect"))
|
|
63
|
+
}, null, 8, ["label"]))
|
|
64
|
+
], 2),
|
|
65
|
+
M(c.$slots, "default")
|
|
66
|
+
]));
|
|
67
|
+
}
|
|
68
|
+
}), ce = { class: "p-24 flex flex-col gap-8" }, re = { class: "flex flex-col flex-1 min-w-0" }, ae = { class: "fm-typo-en-body-lg-600 truncate" }, le = { class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400 truncate" }, se = ["src"], ie = { class: "flex flex-col flex-1 min-w-0" }, de = { class: "fm-typo-en-body-lg-600 truncate" }, ue = { class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400 truncate" }, xe = /* @__PURE__ */ U({
|
|
69
|
+
__name: "Settings",
|
|
70
|
+
setup(i) {
|
|
71
|
+
const { t: p } = R(), u = J(), f = Y(), v = H(), c = S(null), s = S(!1), m = S(!1), V = B(
|
|
72
|
+
() => {
|
|
73
|
+
var e;
|
|
74
|
+
return c.value ? ((e = c.value.google) == null ? void 0 : e.accessToken) === null : !1;
|
|
75
|
+
}
|
|
76
|
+
), L = B(
|
|
77
|
+
() => {
|
|
78
|
+
var e;
|
|
79
|
+
return c.value ? ((e = c.value.facebook) == null ? void 0 : e.token) === null : !1;
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
function $(e) {
|
|
83
|
+
const n = window.location.pathname.replace(/\/review(?:\/.*)?$/, "");
|
|
84
|
+
return `${window.location.origin}${n}${e}`;
|
|
85
|
+
}
|
|
86
|
+
async function h() {
|
|
87
|
+
await q.minor(async () => {
|
|
88
|
+
c.value = await b.getSource();
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function I(e) {
|
|
92
|
+
var n;
|
|
93
|
+
return (n = v.locations.find(
|
|
94
|
+
(r) => r._id.toString() === e
|
|
95
|
+
)) == null ? void 0 : n.name;
|
|
96
|
+
}
|
|
97
|
+
function T(e) {
|
|
98
|
+
return e.map((n) => I(n)).filter((n) => n !== void 0).join(", ");
|
|
99
|
+
}
|
|
100
|
+
function F() {
|
|
101
|
+
u.open({
|
|
102
|
+
message: p("connect.review.syncSuccess"),
|
|
103
|
+
type: "success"
|
|
104
|
+
}), f.push({ name: X["$connect-REVIEW_OVERVIEW"] });
|
|
105
|
+
}
|
|
106
|
+
async function O() {
|
|
107
|
+
var e, n;
|
|
108
|
+
s.value = !0;
|
|
109
|
+
try {
|
|
110
|
+
await b.syncGoogleReviews(), F();
|
|
111
|
+
} catch (r) {
|
|
112
|
+
if (await h(), ((n = (e = c.value) == null ? void 0 : e.google) == null ? void 0 : n.accessToken) === null) {
|
|
113
|
+
u.open({
|
|
114
|
+
message: p("connect.review.tokenExpired"),
|
|
115
|
+
type: "error"
|
|
116
|
+
});
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
throw r;
|
|
120
|
+
} finally {
|
|
121
|
+
s.value = !1;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
async function P() {
|
|
125
|
+
var e, n;
|
|
126
|
+
m.value = !0;
|
|
127
|
+
try {
|
|
128
|
+
await b.syncFacebookReviews(), F();
|
|
129
|
+
} catch (r) {
|
|
130
|
+
if (await h(), ((n = (e = c.value) == null ? void 0 : e.facebook) == null ? void 0 : n.token) === null) {
|
|
131
|
+
u.open({
|
|
132
|
+
message: p("connect.review.tokenExpired"),
|
|
133
|
+
type: "error"
|
|
134
|
+
});
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
throw r;
|
|
138
|
+
} finally {
|
|
139
|
+
m.value = !1;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
async function G() {
|
|
143
|
+
const e = $("/review/google/callback"), { callbackUrl: n } = await b.getOauthUrl("google", e);
|
|
144
|
+
window.location.href = n;
|
|
145
|
+
}
|
|
146
|
+
async function j() {
|
|
147
|
+
const e = $("/review/facebook/callback"), { callbackUrl: n } = await b.getOauthUrl("facebook", e);
|
|
148
|
+
window.location.href = n;
|
|
149
|
+
}
|
|
150
|
+
return W(() => {
|
|
151
|
+
h(), v.readLocations();
|
|
152
|
+
}), (e, n) => (t(), a("div", ce, [
|
|
153
|
+
o(c) ? (t(), a(k, { key: 0 }, [
|
|
154
|
+
x(N, {
|
|
155
|
+
icon: o(K),
|
|
156
|
+
name: "google",
|
|
157
|
+
connected: !!o(c).google,
|
|
158
|
+
syncing: o(s),
|
|
159
|
+
"token-expired": o(V),
|
|
160
|
+
onConnect: G,
|
|
161
|
+
onSync: O
|
|
162
|
+
}, {
|
|
163
|
+
default: C(() => {
|
|
164
|
+
var r;
|
|
165
|
+
return [
|
|
166
|
+
(t(!0), a(k, null, E((r = o(c).google) == null ? void 0 : r.locations, (d) => (t(), a("div", {
|
|
167
|
+
key: d.googleLocationName,
|
|
168
|
+
class: "flex items-center gap-12 px-16 py-12 border-b border-fm-color-neutral-gray-100 last:border-b-0"
|
|
169
|
+
}, [
|
|
170
|
+
x(o(y).FmIcon, {
|
|
171
|
+
name: "location_on",
|
|
172
|
+
class: "text-fm-color-neutral-gray-300 shrink-0"
|
|
173
|
+
}),
|
|
174
|
+
l("div", re, [
|
|
175
|
+
l("span", ae, g(d.displayName), 1),
|
|
176
|
+
l("span", le, g(I(d.locationId)), 1)
|
|
177
|
+
])
|
|
178
|
+
]))), 128))
|
|
179
|
+
];
|
|
180
|
+
}),
|
|
181
|
+
_: 1
|
|
182
|
+
}, 8, ["icon", "connected", "syncing", "token-expired"]),
|
|
183
|
+
x(N, {
|
|
184
|
+
icon: o(Q),
|
|
185
|
+
name: "facebook",
|
|
186
|
+
connected: !!o(c).facebook,
|
|
187
|
+
syncing: o(m),
|
|
188
|
+
"token-expired": o(L),
|
|
189
|
+
onConnect: j,
|
|
190
|
+
onSync: P
|
|
191
|
+
}, {
|
|
192
|
+
default: C(() => {
|
|
193
|
+
var r;
|
|
194
|
+
return [
|
|
195
|
+
(t(!0), a(k, null, E((r = o(c).facebook) == null ? void 0 : r.pages, (d) => (t(), a("div", {
|
|
196
|
+
key: d.facebookPageId,
|
|
197
|
+
class: "flex items-center gap-12 px-16 py-12 border-b border-fm-color-neutral-gray-100 last:border-b-0"
|
|
198
|
+
}, [
|
|
199
|
+
d.pageProfileImageUrl ? (t(), a("img", {
|
|
200
|
+
key: 0,
|
|
201
|
+
src: d.pageProfileImageUrl,
|
|
202
|
+
class: "w-10 h-10 rounded-full shrink-0 object-cover"
|
|
203
|
+
}, null, 8, se)) : (t(), w(o(y).FmIcon, {
|
|
204
|
+
key: 1,
|
|
205
|
+
name: "person",
|
|
206
|
+
class: "text-fm-color-neutral-gray-300 shrink-0"
|
|
207
|
+
})),
|
|
208
|
+
l("div", ie, [
|
|
209
|
+
l("span", de, g(d.pageName), 1),
|
|
210
|
+
l("span", ue, g(T(d.locationIds)), 1)
|
|
211
|
+
])
|
|
212
|
+
]))), 128))
|
|
213
|
+
];
|
|
214
|
+
}),
|
|
215
|
+
_: 1
|
|
216
|
+
}, 8, ["icon", "connected", "syncing", "token-expired"])
|
|
217
|
+
], 64)) : (t(), a(k, { key: 1 }, E(["google", "facebook"], (r) => l("div", {
|
|
218
|
+
key: r,
|
|
219
|
+
class: "rounded-lg border border-fm-color-neutral-gray-200 bg-white p-16"
|
|
220
|
+
}, [...n[0] || (n[0] = [
|
|
221
|
+
D('<div class="animate-pulse flex items-center gap-12"><div class="w-10 h-10 rounded-full bg-fm-color-neutral-gray-100 shrink-0"></div><div class="flex-1 min-w-0 space-y-8"><div class="h-16 w-20 rounded bg-fm-color-neutral-gray-100"></div><div class="h-12 w-full max-w-[160px] rounded bg-fm-color-neutral-gray-100"></div></div><div class="h-32 w-24 rounded bg-fm-color-neutral-gray-100 shrink-0"></div></div>', 1)
|
|
222
|
+
])])), 64))
|
|
223
|
+
]));
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
export {
|
|
227
|
+
xe as default
|
|
228
|
+
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { defineComponent as te, computed as L, resolveComponent as S, openBlock as x, createBlock as O, withCtx as B, createElementVNode as F, toDisplayString as K, createVNode as r, createCommentVNode as E, createElementBlock as D, unref as e, Fragment as Y, renderList as ce, ref as N, isRef as re, reactive as ze, onMounted as he, watch as Pe, toRaw as Je, createTextVNode as me, h as Ge } from "vue";
|
|
2
2
|
import { _ as Xe } from "./tier-BJDhpH6X.js";
|
|
3
3
|
import { useDialog as je, useDialogChild as Le, components as Ze } from "@feedmepos/ui-library";
|
|
4
|
-
import { c as A, e as _e, S as Qe } from "./index-
|
|
5
|
-
import { u as Ke } from "./loading-
|
|
6
|
-
import { u as ke, C as ye } from "./membership-
|
|
7
|
-
import { n as et, o as tt, p as nt, q as Ae, r as ot } from "./index-
|
|
4
|
+
import { c as A, e as _e, S as Qe } from "./index-DWEToi5v.js";
|
|
5
|
+
import { u as Ke } from "./loading-CCOPHoh7.js";
|
|
6
|
+
import { u as ke, C as ye } from "./membership-D3vhqFT0.js";
|
|
7
|
+
import { n as et, o as tt, p as nt, q as Ae, r as ot } from "./index-DOfCIojC.js";
|
|
8
8
|
import { a as at, c as Fe } from "./object-qECH92oz.js";
|
|
9
|
-
import { _ as ae } from "./lodash-
|
|
10
|
-
import { c as ue } from "./index-
|
|
11
|
-
import { u as xe } from "./vue-i18n-
|
|
12
|
-
import { Z as Q, g as G, a as X } from "./zod-
|
|
13
|
-
import { z as ee, R as lt } from "./app-
|
|
9
|
+
import { _ as ae } from "./lodash-Do054Rv4.js";
|
|
10
|
+
import { c as ue } from "./index-tp4p25fB.js";
|
|
11
|
+
import { u as xe } from "./vue-i18n-DP39yHHU.js";
|
|
12
|
+
import { Z as Q, g as G, a as X } from "./zod-DERH6pU3.js";
|
|
13
|
+
import { z as ee, R as lt } from "./app-D0hzDd4e.js";
|
|
14
14
|
import { u as Se } from "./app-wDQR6dpb.js";
|
|
15
|
-
import { _ as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { c as st, p as pe, n as rt, f as Ve } from "./plugins-
|
|
15
|
+
import { _ as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-DFtesZs1.js";
|
|
16
|
+
import { c as st, p as pe, n as rt, f as Ve } from "./plugins-Dk2lSfQI.js";
|
|
17
17
|
import { J as Te } from "./JsonViewer-v8_C7l5N.js";
|
|
18
|
-
import { _ as it } from "./index-
|
|
19
|
-
import { _ as dt } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
18
|
+
import { _ as it } from "./index-Db7pTgFI.js";
|
|
19
|
+
import { _ as dt } from "./ImageInput.vue_vue_type_script_setup_true_lang-Co4kHzny.js";
|
|
20
20
|
import { _ as ut } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
21
|
-
import { z as ct, a as mt } from "./money-
|
|
22
|
-
import { F as pt } from "./number-
|
|
23
|
-
import { a as ft, t as yt } from "./helper-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./index-
|
|
27
|
-
import { m as bt } from "./index-
|
|
28
|
-
import { m as ge } from "./index-
|
|
21
|
+
import { z as ct, a as mt } from "./money-VTIkdUl1.js";
|
|
22
|
+
import { F as pt } from "./number-Ba3vNpgw.js";
|
|
23
|
+
import { a as ft, t as yt } from "./helper-CCtbisll.js";
|
|
24
|
+
import "./index-D-frQ2XF.js";
|
|
25
|
+
import "./index-DzAMDjV5.js";
|
|
26
|
+
import "./index-DOsqahSi.js";
|
|
27
|
+
import { m as bt } from "./index-vulLVFK6.js";
|
|
28
|
+
import { m as ge } from "./index-BrrdqEYe.js";
|
|
29
29
|
import { useRouter as gt } from "vue-router";
|
|
30
30
|
function He(C) {
|
|
31
31
|
return ue.DineroFactory(C).toUnit();
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as A, computed as q, onMounted as z, resolveComponent as F, openBlock as y, createBlock as E, unref as e, isRef as ee, withCtx as V, createElementVNode as s, createVNode as c, createElementBlock as D, createTextVNode as te, resolveDynamicComponent as N, toDisplayString as H, Fragment as W, createCommentVNode as P, h as C } from "vue";
|
|
2
2
|
import { _ as oe } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as J, components as $ } from "@feedmepos/ui-library";
|
|
4
|
-
import "./index-
|
|
5
|
-
import { u as ae } from "./loading-
|
|
6
|
-
import { C as Q, u as ne } from "./membership-
|
|
7
|
-
import { p as B, f as K } from "./plugins-
|
|
4
|
+
import "./index-D-frQ2XF.js";
|
|
5
|
+
import { u as ae } from "./loading-CCOPHoh7.js";
|
|
6
|
+
import { C as Q, u as ne } from "./membership-D3vhqFT0.js";
|
|
7
|
+
import { p as B, f as K } from "./plugins-Dk2lSfQI.js";
|
|
8
8
|
import { useCoreStore as X } from "@feedmepos/mf-common";
|
|
9
|
-
import { u as se } from "./vue-i18n-
|
|
10
|
-
import { F as ie } from "./index-
|
|
9
|
+
import { u as se } from "./vue-i18n-DP39yHHU.js";
|
|
10
|
+
import { F as ie } from "./index-Db7pTgFI.js";
|
|
11
11
|
import { c as re } from "./object-qECH92oz.js";
|
|
12
12
|
import { u as Y } from "./app-wDQR6dpb.js";
|
|
13
|
-
import { u as le } from "./business-
|
|
14
|
-
import { Z as h } from "./zod-
|
|
15
|
-
import { _ as de } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as ce } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { _ as me } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { _ as pe, a as ue } from "./EffectSheet.vue_vue_type_style_index_0_lang-
|
|
19
|
-
import { i as fe, F as ye, h as j, t as we } from "./helper-
|
|
13
|
+
import { u as le } from "./business-BnGi3KpM.js";
|
|
14
|
+
import { Z as h } from "./zod-DERH6pU3.js";
|
|
15
|
+
import { _ as de } from "./ZodTextField.vue_vue_type_script_setup_true_lang-DFtesZs1.js";
|
|
16
|
+
import { _ as ce } from "./ImageInput.vue_vue_type_script_setup_true_lang-Co4kHzny.js";
|
|
17
|
+
import { _ as me } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-udy1jEkk.js";
|
|
18
|
+
import { _ as pe, a as ue } from "./EffectSheet.vue_vue_type_style_index_0_lang-D3DrzR4N.js";
|
|
19
|
+
import { i as fe, F as ye, h as j, t as we } from "./helper-CCtbisll.js";
|
|
20
20
|
import { useRouter as ge } from "vue-router";
|
|
21
|
-
import { m as G } from "./index-
|
|
22
|
-
import { R as L } from "./app-
|
|
21
|
+
import { m as G } from "./index-BrrdqEYe.js";
|
|
22
|
+
import { R as L } from "./app-D0hzDd4e.js";
|
|
23
23
|
function ve(w) {
|
|
24
24
|
return !!(w != null && w.isAdmin) || !!(w != null && w.isStaff);
|
|
25
25
|
}
|