@feedmepos/mf-connect 0.1.98-beta.11 → 0.1.98-beta.13
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/{App-DKClefqk.js → App-DQqZfak3.js} +7 -7
- package/dist/{AuditLogs-BeSkYL6M.js → AuditLogs-C19m85wp.js} +9 -9
- package/dist/{Bin-DqZYwOrb.js → Bin-GjJ5Q2ae.js} +8 -8
- package/dist/{Broadcast-D8AD4KkO.js → Broadcast-CVTBL0T0.js} +9 -9
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-vqHrjU8C.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B6BYvVmq.js} +5 -5
- package/dist/{Card-DvhrSAk4.js → Card-DzYit3v6.js} +18 -18
- package/dist/{Collections-D2w-IYlv.js → Collections-CaU7auvn.js} +7 -7
- package/dist/{Credit-C6WDUg72.js → Credit-B_eUMV0R.js} +9 -9
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CQJ6pNxV.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bgcm1S_g.js} +30 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CgoTE9a7.js → EffectSheet.vue_vue_type_style_index_0_lang-CZLoCJM4.js} +6 -6
- package/dist/{Experience-CzB0noGs.js → Experience-B7kxE07l.js} +9 -9
- package/dist/{FileSaver.min-ChS9YTfX.js → FileSaver.min-BBvy4uPh.js} +1 -1
- package/dist/{Game-C4NPtOis.js → Game-B98hcWvR.js} +10 -10
- package/dist/{Grab-DRQkvRE-.js → Grab-RdxV7xhM.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-DD_fi0Z5.js → ImageInput.vue_vue_type_script_setup_true_lang-BBYekrJp.js} +1 -1
- package/dist/{Index-bOOUuYVP.js → Index-CvMVxCY5.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-uPK3w6VD.js → LocationPicker.vue_vue_type_script_setup_true_lang-D4-wjMg6.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-B9JJ2xSz.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Jir8zY8e.js} +1 -1
- package/dist/{LoyaltyDashboard-bD6MlAbo.js → LoyaltyDashboard-B1OzFT4q.js} +4 -4
- package/dist/{MainLayout-1DjfB3tH.js → MainLayout-De_edc-D.js} +1 -1
- package/dist/{Marketing-CEagZu_d.js → Marketing-B7-To3XF.js} +4 -4
- package/dist/{MarketingMaterialEdit-pNm733VI.js → MarketingMaterialEdit-DGONncxn.js} +6 -6
- package/dist/{Member-Du0xk_f0.js → Member-DEGCrqnh.js} +11 -11
- package/dist/{MemberList-2BImw45d.js → MemberList-vKYbpLVu.js} +25 -25
- package/dist/{MemberTransactions-Ce9ccBGW.js → MemberTransactions-CGC3vYKC.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CY7V8qMz.js → MessageInput.vue_vue_type_script_setup_true_lang-BP9YtuPA.js} +9 -9
- package/dist/{Mission-C0S2U1yY.js → Mission-hxf_AIGL.js} +10 -10
- package/dist/Overview-NvgUuMYp.js +949 -0
- package/dist/{Overview-B0-bTPEk.js → Overview-iRLMLoAo.js} +18 -18
- package/dist/{Point-Blc4sA0k.js → Point-tkUTXOCe.js} +9 -9
- package/dist/{Promotion-8nM93Gci.js → Promotion-DNUcMKJQ.js} +10 -10
- package/dist/{Queue-Def03xU8.js → Queue-5XYiIuG8.js} +10 -10
- package/dist/{Record-Bop_7cP_.js → Record-B5aYp7eF.js} +9 -9
- package/dist/Review-BqaHlzXV.js +45 -0
- package/dist/ReviewFacebookCallback-BqlFkSB7.js +248 -0
- package/dist/ReviewGoogleCallback-ssKL4jh4.js +213 -0
- package/dist/{Reward-DKkjbPWO.js → Reward-1xOMowTW.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BglByPmS.js → RewardGroup.vue_vue_type_script_setup_true_lang-Db3FSfIc.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DHLeyxp_.js → RuleGroup.vue_vue_type_script_setup_true_lang-Cmrp2Tia.js} +13 -13
- package/dist/{Segment-DPBzExUz.js → Segment-BMBwsUug.js} +23 -23
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-Di-Xv-Fk.js → SelectItems.vue_vue_type_script_setup_true_lang-DSfdei-h.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DsSarYWA.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-BJVeGJ5J.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-MjnVm1zx.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-OBZubKUy.js} +4 -4
- package/dist/{Setting-BH61xoUN.js → Setting-DWygYkHW.js} +14 -14
- package/dist/{SettingAdvertisements-LfzmkWhb.js → SettingAdvertisements-TYB1b7dB.js} +12 -12
- package/dist/Settings-DynjmCPL.js +220 -0
- package/dist/{Store-DiNTwuRj.js → Store-DRYkmigC.js} +21 -21
- package/dist/{StoreRewards-3bylfB08.js → StoreRewards-DU8eWbXE.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DR2M_zjD.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BkqBjEFm.js} +21 -21
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-gIqflCTb.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-l6KmXVBZ.js} +2 -2
- package/dist/{Tier-Dyy84802.js → Tier-4k8SxKtl.js} +22 -22
- package/dist/{Title-DQdRI9k0.js → Title-B9lWQ_jl.js} +19 -19
- package/dist/{Transaction-BxNk0O0-.js → Transaction-C38Yd0tf.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BqrFEBBM.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-D6tgpKpc.js} +6 -6
- package/dist/{Voucher-D-qCe-wS.js → Voucher-BQbqC7RV.js} +13 -13
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-B3sadrpZ.js → VoucherEditor.vue_vue_type_script_setup_true_lang-erwpbvYi.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang--TG7NPaw.js → ZodTextField.vue_vue_type_script_setup_true_lang-Dt05b7fU.js} +2 -2
- package/dist/{app-CYjBbA_4.js → app-BTm9mz0r.js} +281 -260
- package/dist/app.js +1 -1
- package/dist/{business-B2SfzRDs.js → business-B7GwHLce.js} +1 -1
- package/dist/{campaign-CpQjVRLb.js → campaign-BCdKDHgz.js} +10 -10
- package/dist/{campaign-DsZVOlpO.js → campaign-DWlsbsKQ.js} +1 -1
- package/dist/{campaign.enum-CUrE4_NH.js → campaign.enum-BgK4maXz.js} +1 -1
- package/dist/{campaign.fn-WPHSaV98.js → campaign.fn-DxnwGCB2.js} +50 -50
- package/dist/{collectible.enum-BBE8WrYO.js → collectible.enum-CdOSUDwG.js} +1 -1
- package/dist/{duplicateCampaign-BUGw2sf1.js → duplicateCampaign-BSHe0P-g.js} +2 -2
- package/dist/{effect-D4ONfQoQ.js → effect-C7wkN_13.js} +1 -1
- package/dist/{email-addresses-BuZiD6UO.js → email-addresses-DJycNI7L.js} +2 -2
- package/dist/{export-Css_Pqj-.js → export-uIHWDxuh.js} +3 -3
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-CZfQKkv5.js → helper-czpAhAIw.js} +1 -1
- package/dist/{index-DsJwHWYF.js → index-5Sa4xS2m.js} +1 -1
- package/dist/{index-DrJOutcM.js → index-5WGEWCcI.js} +1 -1
- package/dist/{index-D-M_i6Mn.js → index-B2C7kc4z.js} +1 -1
- package/dist/{index-MJK4pjIp.js → index-B5eb6_bi.js} +4 -4
- package/dist/{index-wl8_bJLh.js → index-B7nE1Pb2.js} +1 -1
- package/dist/{index-Bkc0ov6S.js → index-BFAHLexA.js} +1 -1
- package/dist/{index-87QXVsV-.js → index-BanxlNli.js} +3 -3
- package/dist/{index-B5FUen0h.js → index-ByHoFriu.js} +1 -1
- package/dist/{index-DjHvO9Tb.js → index-Ca2bBJuR.js} +3 -3
- package/dist/{index-BCzQpGUZ.js → index-D-kYrDAi.js} +3 -3
- package/dist/{index-BfGNdgTX.js → index-D2gAYMIp.js} +2 -2
- package/dist/{index-BJPEIJ9Q.js → index-DWxmK2NJ.js} +6 -6
- package/dist/{index-3T8aqJmS.js → index-U_rwkNKU.js} +5 -5
- package/dist/{index-DK2Ciib6.js → index-knizSLfz.js} +2 -2
- package/dist/{index.esm2017-CM-jNysx.js → index.esm2017-DFVkiPjd.js} +1 -1
- package/dist/{loading-CXYKpSBl.js → loading-B3OgwEC8.js} +1 -1
- package/dist/{lodash-DKWJqSEk.js → lodash-CiRTkvui.js} +1 -1
- package/dist/{membership-BDi5RNlV.js → membership-s2VKnu_8.js} +3 -3
- package/dist/{money-CGM2GRnp.js → money-DqxOXYd0.js} +1 -1
- package/dist/{number-DGznpJcf.js → number-Bt4sacaM.js} +1 -1
- package/dist/{objectid-dfqc-m2y.js → objectid-CxCupSWP.js} +2 -2
- package/dist/{plugins-BphKx8yz.js → plugins-CQ1JAqJB.js} +3 -3
- package/dist/{reward-BxfsoKsP.js → reward-pjbal-XX.js} +1 -1
- package/dist/{rule-Bdwoo4oE.js → rule-CzU2GAur.js} +3 -3
- package/dist/{template-BcbeqGkQ.js → template-7yiMSL1f.js} +6 -6
- package/dist/{trigger-DhYSpO0F.js → trigger-C5bqlYHn.js} +5 -5
- package/dist/{useMarketingMaterialActions-DpD2R5LH.js → useMarketingMaterialActions-CW_QRtQb.js} +3 -3
- package/dist/{usePagination-9T8RlODO.js → usePagination-D2pke4vy.js} +1 -1
- package/dist/{user-DUZG4AEt.js → user-BcXrT_t5.js} +1 -1
- package/dist/{vue-i18n-B36YK77u.js → vue-i18n-CFNkj6JK.js} +246 -246
- package/dist/{xlsx-7bg82jL7.js → xlsx-DyVY5_Qx.js} +584 -584
- package/dist/{zod-BoDvtk8b.js → zod-BD_8DRqQ.js} +1 -1
- package/package.json +1 -1
- package/dist/Review-CFdfmjkW.js +0 -1186
- package/dist/ReviewFacebookCallback-KUQE5QOQ.js +0 -243
- package/dist/ReviewGoogleCallback-CZdfbE37.js +0 -208
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { defineComponent as N, useSlots as j, openBlock as t, createElementBlock as r, createElementVNode as l, normalizeClass as z, unref as o, toDisplayString as m, createCommentVNode as _, Fragment as b, createBlock as w, createVNode as x, renderSlot as O, ref as S, computed as C, onMounted as A, withCtx as I, renderList as $, createStaticVNode as D } from "vue";
|
|
2
|
+
import { u as M } from "./loading-B3OgwEC8.js";
|
|
3
|
+
import { u as q } from "./business-B7GwHLce.js";
|
|
4
|
+
import { components as g, useSnackbar as H } from "@feedmepos/ui-library";
|
|
5
|
+
import { u as U } from "./vue-i18n-CFNkj6JK.js";
|
|
6
|
+
import { g as J, f as K } from "./google-BQK68wbe.js";
|
|
7
|
+
import { r as p } from "./index-DWxmK2NJ.js";
|
|
8
|
+
const Q = { class: "rounded-lg border border-fm-color-neutral-gray-200 bg-white overflow-hidden" }, W = ["src"], X = { class: "flex flex-col flex-1 min-w-0" }, Y = { class: "fm-typo-en-body-md-600 capitalize" }, Z = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400 truncate"
|
|
11
|
+
}, E = /* @__PURE__ */ N({
|
|
12
|
+
__name: "ReviewSource",
|
|
13
|
+
props: {
|
|
14
|
+
icon: {},
|
|
15
|
+
name: {},
|
|
16
|
+
connected: { type: Boolean },
|
|
17
|
+
subtitle: {},
|
|
18
|
+
syncing: { type: Boolean },
|
|
19
|
+
tokenExpired: { type: Boolean }
|
|
20
|
+
},
|
|
21
|
+
emits: ["connect", "sync"],
|
|
22
|
+
setup(i, { emit: k }) {
|
|
23
|
+
const f = k, { t: u } = U(), c = j();
|
|
24
|
+
return (y, s) => (t(), r("div", Q, [
|
|
25
|
+
l("div", {
|
|
26
|
+
class: z(["flex items-center gap-12 p-16", o(c).default ? "border-b border-fm-color-neutral-gray-100" : ""])
|
|
27
|
+
}, [
|
|
28
|
+
l("img", {
|
|
29
|
+
src: i.icon,
|
|
30
|
+
class: "w-10 h-10 shrink-0"
|
|
31
|
+
}, null, 8, W),
|
|
32
|
+
l("div", X, [
|
|
33
|
+
l("span", Y, m(i.name), 1),
|
|
34
|
+
i.subtitle ? (t(), r("span", Z, m(i.subtitle), 1)) : _("", !0)
|
|
35
|
+
]),
|
|
36
|
+
i.connected ? (t(), r(b, { key: 0 }, [
|
|
37
|
+
i.tokenExpired ? (t(), w(o(g).FmChip, {
|
|
38
|
+
key: 0,
|
|
39
|
+
label: o(u)("connect.review.expired"),
|
|
40
|
+
variant: "critical"
|
|
41
|
+
}, null, 8, ["label"])) : _("", !0),
|
|
42
|
+
x(o(g).FmButton, {
|
|
43
|
+
variant: "secondary",
|
|
44
|
+
"prepend-icon": "refresh",
|
|
45
|
+
label: o(u)("connect.review.reconnect"),
|
|
46
|
+
onClick: s[0] || (s[0] = (v) => f("connect"))
|
|
47
|
+
}, null, 8, ["label"]),
|
|
48
|
+
i.tokenExpired ? _("", !0) : (t(), w(o(g).FmButton, {
|
|
49
|
+
key: 1,
|
|
50
|
+
variant: "primary",
|
|
51
|
+
"prepend-icon": "sync",
|
|
52
|
+
label: o(u)("connect.review.sync"),
|
|
53
|
+
loading: i.syncing,
|
|
54
|
+
onClick: s[1] || (s[1] = (v) => f("sync"))
|
|
55
|
+
}, null, 8, ["label", "loading"]))
|
|
56
|
+
], 64)) : (t(), w(o(g).FmButton, {
|
|
57
|
+
key: 1,
|
|
58
|
+
"prepend-icon": "add",
|
|
59
|
+
label: o(u)("connect.review.connect"),
|
|
60
|
+
onClick: s[2] || (s[2] = (v) => f("connect"))
|
|
61
|
+
}, null, 8, ["label"]))
|
|
62
|
+
], 2),
|
|
63
|
+
O(y.$slots, "default")
|
|
64
|
+
]));
|
|
65
|
+
}
|
|
66
|
+
}), ee = { class: "p-24 flex flex-col gap-8" }, oe = { class: "flex flex-col flex-1 min-w-0" }, ne = { class: "fm-typo-en-body-lg-600 truncate" }, te = { class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400 truncate" }, ce = ["src"], ae = { class: "flex flex-col flex-1 min-w-0" }, re = { class: "fm-typo-en-body-lg-600 truncate" }, le = { class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400 truncate" }, ye = /* @__PURE__ */ N({
|
|
67
|
+
__name: "Settings",
|
|
68
|
+
setup(i) {
|
|
69
|
+
const { t: k } = U(), f = H(), u = q(), c = S(null), y = S(!1), s = S(!1), v = C(
|
|
70
|
+
() => {
|
|
71
|
+
var e;
|
|
72
|
+
return c.value ? ((e = c.value.google) == null ? void 0 : e.accessToken) === null : !1;
|
|
73
|
+
}
|
|
74
|
+
), L = C(
|
|
75
|
+
() => {
|
|
76
|
+
var e;
|
|
77
|
+
return c.value ? ((e = c.value.facebook) == null ? void 0 : e.token) === null : !1;
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
function F(e) {
|
|
81
|
+
const n = window.location.pathname.replace(/\/review(?:\/.*)?$/, "");
|
|
82
|
+
return `${window.location.origin}${n}${e}`;
|
|
83
|
+
}
|
|
84
|
+
async function h() {
|
|
85
|
+
await M.minor(async () => {
|
|
86
|
+
c.value = await p.getSource();
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
function B(e) {
|
|
90
|
+
var n;
|
|
91
|
+
return (n = u.locations.find(
|
|
92
|
+
(a) => a._id.toString() === e
|
|
93
|
+
)) == null ? void 0 : n.name;
|
|
94
|
+
}
|
|
95
|
+
function P(e) {
|
|
96
|
+
return e.map((n) => B(n)).filter((n) => n !== void 0).join(", ");
|
|
97
|
+
}
|
|
98
|
+
async function R() {
|
|
99
|
+
var e, n;
|
|
100
|
+
y.value = !0;
|
|
101
|
+
try {
|
|
102
|
+
await p.syncGoogleReviews();
|
|
103
|
+
} catch (a) {
|
|
104
|
+
if (await h(), ((n = (e = c.value) == null ? void 0 : e.google) == null ? void 0 : n.accessToken) === null) {
|
|
105
|
+
f.open({
|
|
106
|
+
message: k("connect.review.tokenExpired"),
|
|
107
|
+
type: "error"
|
|
108
|
+
});
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
throw a;
|
|
112
|
+
} finally {
|
|
113
|
+
y.value = !1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
async function T() {
|
|
117
|
+
var e, n;
|
|
118
|
+
s.value = !0;
|
|
119
|
+
try {
|
|
120
|
+
await p.syncFacebookReviews();
|
|
121
|
+
} catch (a) {
|
|
122
|
+
if (await h(), ((n = (e = c.value) == null ? void 0 : e.facebook) == null ? void 0 : n.token) === null) {
|
|
123
|
+
f.open({
|
|
124
|
+
message: k("connect.review.tokenExpired"),
|
|
125
|
+
type: "error"
|
|
126
|
+
});
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
throw a;
|
|
130
|
+
} finally {
|
|
131
|
+
s.value = !1;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
async function V() {
|
|
135
|
+
const e = F("/review/google/callback"), { callbackUrl: n } = await p.getOauthUrl("google", e);
|
|
136
|
+
window.location.href = n;
|
|
137
|
+
}
|
|
138
|
+
async function G() {
|
|
139
|
+
const e = F("/review/facebook/callback"), { callbackUrl: n } = await p.getOauthUrl("facebook", e);
|
|
140
|
+
window.location.href = n;
|
|
141
|
+
}
|
|
142
|
+
return A(() => {
|
|
143
|
+
h(), u.readLocations();
|
|
144
|
+
}), (e, n) => (t(), r("div", ee, [
|
|
145
|
+
o(c) ? (t(), r(b, { key: 0 }, [
|
|
146
|
+
x(E, {
|
|
147
|
+
icon: o(J),
|
|
148
|
+
name: "google",
|
|
149
|
+
connected: !!o(c).google,
|
|
150
|
+
syncing: o(y),
|
|
151
|
+
"token-expired": o(v),
|
|
152
|
+
onConnect: V,
|
|
153
|
+
onSync: R
|
|
154
|
+
}, {
|
|
155
|
+
default: I(() => {
|
|
156
|
+
var a;
|
|
157
|
+
return [
|
|
158
|
+
(t(!0), r(b, null, $((a = o(c).google) == null ? void 0 : a.locations, (d) => (t(), r("div", {
|
|
159
|
+
key: d.googleLocationName,
|
|
160
|
+
class: "flex items-center gap-12 px-16 py-12 border-b border-fm-color-neutral-gray-100 last:border-b-0"
|
|
161
|
+
}, [
|
|
162
|
+
x(o(g).FmIcon, {
|
|
163
|
+
name: "location_on",
|
|
164
|
+
class: "text-fm-color-neutral-gray-300 shrink-0"
|
|
165
|
+
}),
|
|
166
|
+
l("div", oe, [
|
|
167
|
+
l("span", ne, m(d.displayName), 1),
|
|
168
|
+
l("span", te, m(B(d.locationId)), 1)
|
|
169
|
+
])
|
|
170
|
+
]))), 128))
|
|
171
|
+
];
|
|
172
|
+
}),
|
|
173
|
+
_: 1
|
|
174
|
+
}, 8, ["icon", "connected", "syncing", "token-expired"]),
|
|
175
|
+
x(E, {
|
|
176
|
+
icon: o(K),
|
|
177
|
+
name: "facebook",
|
|
178
|
+
connected: !!o(c).facebook,
|
|
179
|
+
syncing: o(s),
|
|
180
|
+
"token-expired": o(L),
|
|
181
|
+
onConnect: G,
|
|
182
|
+
onSync: T
|
|
183
|
+
}, {
|
|
184
|
+
default: I(() => {
|
|
185
|
+
var a;
|
|
186
|
+
return [
|
|
187
|
+
(t(!0), r(b, null, $((a = o(c).facebook) == null ? void 0 : a.pages, (d) => (t(), r("div", {
|
|
188
|
+
key: d.facebookPageId,
|
|
189
|
+
class: "flex items-center gap-12 px-16 py-12 border-b border-fm-color-neutral-gray-100 last:border-b-0"
|
|
190
|
+
}, [
|
|
191
|
+
d.pageProfileImageUrl ? (t(), r("img", {
|
|
192
|
+
key: 0,
|
|
193
|
+
src: d.pageProfileImageUrl,
|
|
194
|
+
class: "w-10 h-10 rounded-full shrink-0 object-cover"
|
|
195
|
+
}, null, 8, ce)) : (t(), w(o(g).FmIcon, {
|
|
196
|
+
key: 1,
|
|
197
|
+
name: "person",
|
|
198
|
+
class: "text-fm-color-neutral-gray-300 shrink-0"
|
|
199
|
+
})),
|
|
200
|
+
l("div", ae, [
|
|
201
|
+
l("span", re, m(d.pageName), 1),
|
|
202
|
+
l("span", le, m(P(d.locationIds)), 1)
|
|
203
|
+
])
|
|
204
|
+
]))), 128))
|
|
205
|
+
];
|
|
206
|
+
}),
|
|
207
|
+
_: 1
|
|
208
|
+
}, 8, ["icon", "connected", "syncing", "token-expired"])
|
|
209
|
+
], 64)) : (t(), r(b, { key: 1 }, $(["google", "facebook"], (a) => l("div", {
|
|
210
|
+
key: a,
|
|
211
|
+
class: "rounded-lg border border-fm-color-neutral-gray-200 bg-white p-16"
|
|
212
|
+
}, [...n[0] || (n[0] = [
|
|
213
|
+
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)
|
|
214
|
+
])])), 64))
|
|
215
|
+
]));
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
export {
|
|
219
|
+
ye as default
|
|
220
|
+
};
|
|
@@ -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-D2gAYMIp.js";
|
|
5
|
+
import { u as Ke } from "./loading-B3OgwEC8.js";
|
|
6
|
+
import { u as ke, C as ye } from "./membership-s2VKnu_8.js";
|
|
7
|
+
import { n as et, o as tt, p as nt, q as Ae, r as ot } from "./index-B5eb6_bi.js";
|
|
8
8
|
import { a as at, c as Fe } from "./object-BYyQ0PZp.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-CiRTkvui.js";
|
|
10
|
+
import { c as ue } from "./index-D-kYrDAi.js";
|
|
11
|
+
import { u as xe } from "./vue-i18n-CFNkj6JK.js";
|
|
12
|
+
import { Z as Q, g as G, a as X } from "./zod-BD_8DRqQ.js";
|
|
13
|
+
import { z as ee, R as lt } from "./app-BTm9mz0r.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-Dt05b7fU.js";
|
|
16
|
+
import { c as st, p as pe, n as rt, f as Ve } from "./plugins-CQ1JAqJB.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-BanxlNli.js";
|
|
19
|
+
import { _ as dt } from "./ImageInput.vue_vue_type_script_setup_true_lang-BBYekrJp.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-DqxOXYd0.js";
|
|
22
|
+
import { F as pt } from "./number-Bt4sacaM.js";
|
|
23
|
+
import { a as ft, t as yt } from "./helper-czpAhAIw.js";
|
|
24
|
+
import "./index-5WGEWCcI.js";
|
|
25
|
+
import "./index-U_rwkNKU.js";
|
|
26
|
+
import "./index-Ca2bBJuR.js";
|
|
27
|
+
import { m as bt } from "./index-ByHoFriu.js";
|
|
28
|
+
import { m as ge } from "./index-5Sa4xS2m.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-5WGEWCcI.js";
|
|
5
|
+
import { u as ae } from "./loading-B3OgwEC8.js";
|
|
6
|
+
import { C as Q, u as ne } from "./membership-s2VKnu_8.js";
|
|
7
|
+
import { p as B, f as K } from "./plugins-CQ1JAqJB.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-CFNkj6JK.js";
|
|
10
|
+
import { F as ie } from "./index-BanxlNli.js";
|
|
11
11
|
import { c as re } from "./object-BYyQ0PZp.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-B7GwHLce.js";
|
|
14
|
+
import { Z as h } from "./zod-BD_8DRqQ.js";
|
|
15
|
+
import { _ as de } from "./ZodTextField.vue_vue_type_script_setup_true_lang-Dt05b7fU.js";
|
|
16
|
+
import { _ as ce } from "./ImageInput.vue_vue_type_script_setup_true_lang-BBYekrJp.js";
|
|
17
|
+
import { _ as me } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-l6KmXVBZ.js";
|
|
18
|
+
import { _ as pe, a as ue } from "./EffectSheet.vue_vue_type_style_index_0_lang-CZLoCJM4.js";
|
|
19
|
+
import { i as fe, F as ye, h as j, t as we } from "./helper-czpAhAIw.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-5Sa4xS2m.js";
|
|
22
|
+
import { R as L } from "./app-BTm9mz0r.js";
|
|
23
23
|
function ve(w) {
|
|
24
24
|
return !!(w != null && w.isAdmin) || !!(w != null && w.isStaff);
|
|
25
25
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { ref as P, defineComponent as te, computed as j, h as s, resolveComponent as Y, openBlock as V, createBlock as se, unref as l, isRef as Se, withCtx as le, createElementVNode as _, createVNode as I, createElementBlock as B, Fragment as J, renderList as ie, toDisplayString as G, createTextVNode as _e, resolveDynamicComponent as we, watch as ce, onBeforeMount as Ce, onMounted as Te } from "vue";
|
|
2
2
|
import { components as v, useDialog as Re } from "@feedmepos/ui-library";
|
|
3
|
-
import { s as Z } from "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { s as Ie } from "./index-
|
|
3
|
+
import { s as Z } from "./index-B5eb6_bi.js";
|
|
4
|
+
import "./index-D-kYrDAi.js";
|
|
5
|
+
import { s as Ie } from "./index-B2C7kc4z.js";
|
|
6
6
|
import { h as C } from "./moment-D7p2TMB-.js";
|
|
7
7
|
import { _ as X } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
8
8
|
import { _ as ue } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js";
|
|
9
9
|
import { s as q } from "./index-CuvNtC_M.js";
|
|
10
|
-
import { f as ee } from "./number-
|
|
11
|
-
import { u as me } from "./business-
|
|
12
|
-
import { _ as de, u as Fe } from "./usePagination-
|
|
13
|
-
import { c as ae, p as De } from "./plugins-
|
|
14
|
-
import { g as pe } from "./user-
|
|
15
|
-
import { B as fe, e as Ee } from "./export-
|
|
16
|
-
import { u as ge } from "./campaign-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import { u as ye } from "./vue-i18n-
|
|
10
|
+
import { f as ee } from "./number-Bt4sacaM.js";
|
|
11
|
+
import { u as me } from "./business-B7GwHLce.js";
|
|
12
|
+
import { _ as de, u as Fe } from "./usePagination-D2pke4vy.js";
|
|
13
|
+
import { c as ae, p as De } from "./plugins-CQ1JAqJB.js";
|
|
14
|
+
import { g as pe } from "./user-BcXrT_t5.js";
|
|
15
|
+
import { B as fe, e as Ee } from "./export-uIHWDxuh.js";
|
|
16
|
+
import { u as ge } from "./campaign-DWlsbsKQ.js";
|
|
17
|
+
import "./index-5WGEWCcI.js";
|
|
18
|
+
import "./index-U_rwkNKU.js";
|
|
19
|
+
import "./index-BanxlNli.js";
|
|
20
|
+
import "./index-Ca2bBJuR.js";
|
|
21
|
+
import { u as ye } from "./vue-i18n-CFNkj6JK.js";
|
|
22
22
|
import { o as U } from "./objectId-dwaoBfJX.js";
|
|
23
|
-
import { u as he } from "./loading-
|
|
24
|
-
import { w as Ae } from "./xlsx-
|
|
23
|
+
import { u as he } from "./loading-B3OgwEC8.js";
|
|
24
|
+
import { w as Ae } from "./xlsx-DyVY5_Qx.js";
|
|
25
25
|
import { useRouter as Ne } from "vue-router";
|
|
26
|
-
import { t as L } from "./index-
|
|
27
|
-
import { R as W } from "./app-
|
|
28
|
-
import { F as Q } from "./collectible.enum-
|
|
26
|
+
import { t as L } from "./index-B7nE1Pb2.js";
|
|
27
|
+
import { R as W } from "./app-BTm9mz0r.js";
|
|
28
|
+
import { F as Q } from "./collectible.enum-CdOSUDwG.js";
|
|
29
29
|
import { useCoreStore as Pe } from "@feedmepos/mf-common";
|
|
30
30
|
import { c as Me } from "./string-Gcy5IM_H.js";
|
|
31
|
-
import { m as Oe } from "./index-
|
|
31
|
+
import { m as Oe } from "./index-5Sa4xS2m.js";
|
|
32
32
|
function ke(c) {
|
|
33
33
|
let p = "";
|
|
34
34
|
switch (c) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as tu, toValue as Ki, watch as qi, shallowReadonly as Gm, computed as Ji, defineComponent as Ym, resolveComponent as Yn, openBlock as Vt, createElementBlock as le, Fragment as oa, toDisplayString as Li, createCommentVNode as Hm, createElementVNode as Xm, createVNode as Hn, unref as xt, renderList as zi, createBlock as Ui, isRef as Po, withCtx as Wi } from "vue";
|
|
2
|
-
import { u as Qm } from "./business-
|
|
2
|
+
import { u as Qm } from "./business-B7GwHLce.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
import { useCustomAttributes as tg, useCoreStore as eg } from "@feedmepos/mf-common";
|
|
5
|
-
import { u as ng } from "./vue-i18n-
|
|
5
|
+
import { u as ng } from "./vue-i18n-CFNkj6JK.js";
|
|
6
6
|
function rg(u, r, a) {
|
|
7
7
|
return u.some(
|
|
8
8
|
a instanceof Function ? a : (o) => o === r
|