@feedmepos/mf-connect 0.1.98-beta.2 → 0.1.98-beta.21
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-BWBeJksP.js → App-B3f8GWoR.js} +794 -654
- package/dist/{AuditLogs-CWVUX5o0.js → AuditLogs-LRHzzpqj.js} +9 -9
- package/dist/{Bin-jXmZpGfg.js → Bin-Y761Ua4-.js} +8 -8
- package/dist/{Broadcast-C76pTADb.js → Broadcast-CdRuG42N.js} +38 -36
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-9kfq8OXE.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CsULDH9l.js} +5 -5
- package/dist/{Card-qXn83BYu.js → Card-GZ3ZLnBl.js} +18 -18
- package/dist/{Collections-DGXUQSbz.js → Collections-B59fL-oS.js} +7 -7
- package/dist/{Credit-CpmrPZx9.js → Credit-DJxzXBam.js} +48 -48
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DAnw5TFZ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-C3d8frgZ.js} +30 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BCAotF0P.js → EffectSheet.vue_vue_type_style_index_0_lang-DKUFvacX.js} +6 -6
- package/dist/{Experience-CuOq7hd3.js → Experience-lzpvYFPP.js} +9 -9
- package/dist/{FileSaver.min-Cjv6SzrG.js → FileSaver.min-BXoEv5ve.js} +1 -1
- package/dist/{Game-D0KfLD-b.js → Game-KCxIpXEC.js} +10 -10
- package/dist/{Grab-L1h7bHD7.js → Grab-BQgS104D.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-DMAaHxzm.js → ImageInput.vue_vue_type_script_setup_true_lang-Cz9iB9ox.js} +1 -1
- package/dist/{Index-DxwMHEV3.js → Index-B5UTBbUy.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-i9-B25xO.js → LocationPicker.vue_vue_type_script_setup_true_lang-CLLhy4-v.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-D84v7zC_.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BiIqs4zW.js} +1 -1
- package/dist/{LoyaltyDashboard-B5wg1EUC.js → LoyaltyDashboard-DPHWpaNJ.js} +4 -4
- package/dist/{MainLayout-Cgi3Z3EM.js → MainLayout-AvQ4_-oT.js} +1 -1
- package/dist/{Marketing-Cl5OSBI1.js → Marketing-Bn1ygF8d.js} +4 -4
- package/dist/{MarketingMaterialEdit-CzYTbdJd.js → MarketingMaterialEdit-Cw-VPVqE.js} +6 -6
- package/dist/{Member-D29x5Cic.js → Member-CpEXFHIF.js} +11 -11
- package/dist/{MemberList-DDPe6Ymr.js → MemberList-gSEw_idJ.js} +25 -25
- package/dist/{MemberTransactions-3mboVWAx.js → MemberTransactions-DEMzj9-y.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-C2HlA9O8.js → MessageInput.vue_vue_type_script_setup_true_lang-B4Y5KPpw.js} +5737 -5552
- package/dist/{Mission-CMPc4NLe.js → Mission-DMtpauNQ.js} +10 -10
- package/dist/Overview-CMudFYOc.js +969 -0
- package/dist/{Overview-sJ2kuP4U.js → Overview-DjNcF88f.js} +18 -18
- package/dist/{Point-BBP4UEhf.js → Point-CgdTrgXc.js} +9 -9
- package/dist/{Promotion-Bt0RLGsd.js → Promotion-DDQodFDb.js} +10 -10
- package/dist/{Queue-CzVsoIDM.js → Queue-BjoAJoVe.js} +14 -14
- package/dist/{Record-CAoGgaxo.js → Record-CfZFuwy_.js} +9 -9
- package/dist/Review-pIAxbjVU.js +45 -0
- package/dist/ReviewFacebookCallback-BRW4T-5-.js +238 -0
- package/dist/ReviewGoogleCallback-B-6EojXR.js +213 -0
- package/dist/{Reward-CrpFlr0a.js → Reward-_pdE2XZp.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DW-WFNI6.js → RewardGroup.vue_vue_type_script_setup_true_lang-S5dh0IGc.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DlcsO8fk.js → RuleGroup.vue_vue_type_script_setup_true_lang-C9B7NmF0.js} +13 -13
- package/dist/{Segment-Cy-QwYQQ.js → Segment-B1EMe-LZ.js} +23 -23
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-ovvxxcrQ.js → SelectItems.vue_vue_type_script_setup_true_lang-DAmjk8b3.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-D69bJtyd.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-C7sgPf8l.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DQyoPZ_6.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DVYTZr_E.js} +4 -4
- package/dist/{Setting-DEQIJ4fY.js → Setting-CQQ6zacB.js} +14 -14
- package/dist/{SettingAdvertisements-NuwjCPLN.js → SettingAdvertisements-9Wl9VWbM.js} +12 -12
- package/dist/Settings-Bvj2ChDR.js +228 -0
- package/dist/{Store-Cw2J_ecA.js → Store-BdUZ22g6.js} +21 -21
- package/dist/{StoreRewards-BK5rDAaK.js → StoreRewards-DsUS_Lu1.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-B3jwaYHX.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Zw-lIDCN.js} +190 -187
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D_OdWctk.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BECp3eqQ.js} +2 -2
- package/dist/{Tier-CwZ40RYc.js → Tier-2-mJ3SNK.js} +22 -22
- package/dist/{Title-DU7KmsK2.js → Title-BjeEDjxl.js} +19 -19
- package/dist/{Transaction-Uh5Ozt93.js → Transaction--U_kJKec.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BtnUNkcS.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BkLyvjA5.js} +6 -6
- package/dist/{Voucher-BF6ARaRe.js → Voucher-INa3N_6V.js} +13 -13
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-C7msPJdi.js → VoucherEditor.vue_vue_type_script_setup_true_lang-4Quzmc7-.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BrR2WA1K.js → ZodTextField.vue_vue_type_script_setup_true_lang-CPCnBExY.js} +2 -2
- package/dist/{app-DlECkPwT.js → app-Dlqr-LX4.js} +1551 -1223
- package/dist/app.js +1 -1
- package/dist/{business-BSe9C-xG.js → business-DWrfGEe_.js} +1 -1
- package/dist/{campaign-BNS2RxKc.js → campaign-DtNt-BqN.js} +10 -10
- package/dist/{campaign-CXw3jpdr.js → campaign-un9Ji1KF.js} +1 -1
- package/dist/{campaign.enum-CnMa2Tia.js → campaign.enum-B9-ZpK0C.js} +1 -1
- package/dist/{campaign.fn-CNOinW8t.js → campaign.fn-COxaWmi_.js} +93 -93
- package/dist/{collectible.enum-BIvEz79q.js → collectible.enum-CF0VF-r7.js} +1 -1
- package/dist/{duplicateCampaign-Co2TdbrL.js → duplicateCampaign-8ciT68QF.js} +2 -2
- package/dist/{effect-Bt8PE3-M.js → effect-CaSn-84h.js} +1 -1
- package/dist/{email-addresses-Dh95ALqP.js → email-addresses-BiMQ8xIx.js} +2 -2
- package/dist/{export-DIIgAwP7.js → export-BwBNgCo5.js} +3 -3
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-8zEdQ9jm.js → helper-CajV_0CM.js} +1 -1
- package/dist/{index-BP5qSDQw.js → index-B0ohh62P.js} +216 -194
- package/dist/{index-VS1hWlhk.js → index-B6ldAC8Y.js} +1 -1
- package/dist/{index-rwlkBKrS.js → index-B6tm_U_M.js} +3 -3
- package/dist/{index-Bqxe3Gbq.js → index-BP5rdioN.js} +3 -3
- package/dist/{index-ZKJoXi1-.js → index-Bqcfsd4p.js} +3 -3
- package/dist/{index-DDp0nMys.js → index-CQIciFrH.js} +1 -1
- package/dist/{index-DdCPfF8x.js → index-CQj9BQlQ.js} +2 -2
- package/dist/{index-BAlFstx4.js → index-CjW6Mj-1.js} +1 -1
- package/dist/{index-SsUBL4IR.js → index-D1--K-QL.js} +1 -1
- package/dist/{index-CfxDirFl.js → index-D1vhLY7l.js} +1 -1
- package/dist/{index-CWypTyOP.js → index-D90p28Hr.js} +31 -37
- package/dist/{index-0BNEvaYc.js → index-DBUTFa2h.js} +2 -2
- package/dist/{index-DW4-mTTG.js → index-DWBKko92.js} +26 -17
- package/dist/{index-IPOrNVQw.js → index-J8pSZ3WO.js} +1 -1
- package/dist/{index.esm2017-CgR02aQB.js → index.esm2017-QlPanYiW.js} +105 -105
- package/dist/{loading-CxY9qhzD.js → loading-CqqkzWSm.js} +1 -1
- package/dist/{lodash-CELsN1M_.js → lodash-DmbW2QhA.js} +1 -1
- package/dist/{membership-BoQMuerb.js → membership-Dcwyu-rr.js} +3 -3
- package/dist/{money-CH913hGN.js → money-DWr1gi--.js} +1 -1
- package/dist/{number-CO-WbLdr.js → number-CHhHAd1q.js} +1 -1
- package/dist/objectid-BsiuHVH8.js +145 -0
- package/dist/{plugins-YK45gSb1.js → plugins-BxmMI8fo.js} +3 -3
- package/dist/{reward-3aFPahH6.js → reward-DX0FjsNT.js} +1 -1
- package/dist/{rule-DC9my0Vg.js → rule-DDLcqiHH.js} +3 -3
- package/dist/{template-tDq12e1p.js → template-C0lF82yv.js} +6 -6
- package/dist/{trigger-DoPHRgKt.js → trigger-CsJcg_RY.js} +5 -5
- package/dist/{useMarketingMaterialActions-CEd6ODsz.js → useMarketingMaterialActions-B0iV6YzB.js} +3 -3
- package/dist/{usePagination-C8FUj5q_.js → usePagination-4EISkyGW.js} +1 -1
- package/dist/{user-Dhlhrnf8.js → user-DZuSeqRY.js} +1 -1
- package/dist/{vue-i18n-B-92uhPn.js → vue-i18n-BKcwYlp1.js} +252 -252
- package/dist/{xlsx-Dmxne1eM.js → xlsx-C-7dia55.js} +1 -1
- package/dist/{zod-Dcdy9Dm3.js → zod-DPxXVSRw.js} +1 -1
- package/package.json +3 -3
- package/dist/Review-CVBJlwGK.js +0 -959
- package/dist/ReviewFacebookCallback-RGWdxXYf.js +0 -243
- package/dist/ReviewGoogleCallback-L7_Jjbkx.js +0 -208
- package/dist/objectid-BM2Ygj-U.js +0 -145
|
@@ -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-CqqkzWSm.js";
|
|
3
|
+
import { u as H } from "./business-DWrfGEe_.js";
|
|
4
|
+
import { components as y, useSnackbar as J } from "@feedmepos/ui-library";
|
|
5
|
+
import { u as R } from "./vue-i18n-BKcwYlp1.js";
|
|
6
|
+
import { g as K, f as Q } from "./google-BQK68wbe.js";
|
|
7
|
+
import { R as X } from "./app-Dlqr-LX4.js";
|
|
8
|
+
import { useRouter as Y } from "vue-router";
|
|
9
|
+
import { r as b } from "./index-DWBKko92.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-DBUTFa2h.js";
|
|
5
|
+
import { u as Ke } from "./loading-CqqkzWSm.js";
|
|
6
|
+
import { u as ke, C as ye } from "./membership-Dcwyu-rr.js";
|
|
7
|
+
import { n as et, o as tt, p as nt, q as Ae, r as ot } from "./index-D90p28Hr.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-DmbW2QhA.js";
|
|
10
|
+
import { c as ue } from "./index-BP5rdioN.js";
|
|
11
|
+
import { u as xe } from "./vue-i18n-BKcwYlp1.js";
|
|
12
|
+
import { Z as Q, g as G, a as X } from "./zod-DPxXVSRw.js";
|
|
13
|
+
import { z as ee, R as lt } from "./app-Dlqr-LX4.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-CPCnBExY.js";
|
|
16
|
+
import { c as st, p as pe, n as rt, f as Ve } from "./plugins-BxmMI8fo.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-B6tm_U_M.js";
|
|
19
|
+
import { _ as dt } from "./ImageInput.vue_vue_type_script_setup_true_lang-Cz9iB9ox.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-DWr1gi--.js";
|
|
22
|
+
import { F as pt } from "./number-CHhHAd1q.js";
|
|
23
|
+
import { a as ft, t as yt } from "./helper-CajV_0CM.js";
|
|
24
|
+
import "./index-CQIciFrH.js";
|
|
25
|
+
import "./index-B0ohh62P.js";
|
|
26
|
+
import "./index-Bqcfsd4p.js";
|
|
27
|
+
import { m as bt } from "./index-B6ldAC8Y.js";
|
|
28
|
+
import { m as ge } from "./index-CjW6Mj-1.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-CQIciFrH.js";
|
|
5
|
+
import { u as ae } from "./loading-CqqkzWSm.js";
|
|
6
|
+
import { C as Q, u as ne } from "./membership-Dcwyu-rr.js";
|
|
7
|
+
import { p as B, f as K } from "./plugins-BxmMI8fo.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-BKcwYlp1.js";
|
|
10
|
+
import { F as ie } from "./index-B6tm_U_M.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-DWrfGEe_.js";
|
|
14
|
+
import { Z as h } from "./zod-DPxXVSRw.js";
|
|
15
|
+
import { _ as de } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CPCnBExY.js";
|
|
16
|
+
import { _ as ce } from "./ImageInput.vue_vue_type_script_setup_true_lang-Cz9iB9ox.js";
|
|
17
|
+
import { _ as me } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-BECp3eqQ.js";
|
|
18
|
+
import { _ as pe, a as ue } from "./EffectSheet.vue_vue_type_style_index_0_lang-DKUFvacX.js";
|
|
19
|
+
import { i as fe, F as ye, h as j, t as we } from "./helper-CajV_0CM.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-CjW6Mj-1.js";
|
|
22
|
+
import { R as L } from "./app-Dlqr-LX4.js";
|
|
23
23
|
function ve(w) {
|
|
24
24
|
return !!(w != null && w.isAdmin) || !!(w != null && w.isStaff);
|
|
25
25
|
}
|