@feedmepos/mf-connect 0.1.98-beta.9 → 0.1.99-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-CmlJa1WX.js +426 -0
- package/dist/{App-CwMrP0Q-.js → App-D0thRELq.js} +807 -673
- package/dist/{Bin-sSw4Gatd.js → Bin-DnkPcZdC.js} +8 -8
- package/dist/{Broadcast-DH2Fpb-O.js → Broadcast-o6nSQOsx.js} +17 -18
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Cd47Mrej.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BPGzh4u8.js} +6 -5
- package/dist/{Card-D4YJZ_I8.js → Card-zjezSaRB.js} +19 -19
- package/dist/{Collections--8QcjuAp.js → Collections-48W_jFFS.js} +185 -197
- package/dist/{Credit-DgF3qd52.js → Credit-CYaCjNVK.js} +53 -54
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D3SnYlQ0.js +2223 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BgHApZqm.js → EffectSheet.vue_vue_type_style_index_0_lang-CbpKQj-r.js} +6 -6
- package/dist/{Experience-DxtkVeS9.js → Experience-HmfLlywu.js} +34 -35
- package/dist/{FileSaver.min-BtPuPAIo.js → FileSaver.min-cDraiw9g.js} +1 -1
- package/dist/{Game-CbcrkUBh.js → Game-DHLdDQRi.js} +15 -16
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CqoO7N7r.js → ImageInput.vue_vue_type_script_setup_true_lang-DZrmFruC.js} +1 -1
- package/dist/{Index-BzPX7mr1.js → Index-CMm5L1Ph.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-mI-5po-a.js → LocationPicker.vue_vue_type_script_setup_true_lang-B6tGeGGC.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DyP3ipwX.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CV4V9qlc.js} +1 -1
- package/dist/{MainLayout-gxkaZeZ-.js → MainLayout-iru8naVF.js} +1 -1
- package/dist/{Marketing-BlMjT0cP.js → Marketing-AP8z-pA0.js} +4 -4
- package/dist/{MarketingMaterialEdit-v0vGn3Lz.js → MarketingMaterialEdit-HYTdiTvs.js} +211 -214
- package/dist/{Member-BBUlAPqZ.js → Member-N_ks2GiW.js} +20 -20
- package/dist/{MemberList-DZJhULFD.js → MemberList-Cj8EfN0q.js} +51 -50
- package/dist/{MemberTransactions-CTBoDEg4.js → MemberTransactions-DUj4Fq6M.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-nlYOP9gZ.js → MessageInput.vue_vue_type_script_setup_true_lang-ZD6_8BzX.js} +11 -11
- package/dist/{Mission-D_xjOnWO.js → Mission-DfZ0brqC.js} +34 -35
- package/dist/{Overview-C5-uSEJH.js → Overview-BnFPQbSg.js} +19 -19
- package/dist/Overview-kB_HApIc.js +969 -0
- package/dist/{Point-BmVyG_i-.js → Point-PsWJEEsn.js} +29 -30
- package/dist/{Promotion-BWmTkHyw.js → Promotion-BsNT1kOG.js} +105 -111
- package/dist/{Queue-Do2XlY5H.js → Queue-Cgw3PgEi.js} +43 -43
- package/dist/{Record-BIzUOikr.js → Record-DwzoIz3R.js} +10 -10
- package/dist/Review-kF2wLu5o.js +46 -0
- package/dist/ReviewFacebookCallback-B6RjqR5T.js +238 -0
- package/dist/ReviewGoogleCallback-DjLK1b4-.js +213 -0
- package/dist/{Reward-gCpIJIq9.js → Reward-C8O5U2NU.js} +17 -17
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dkyz-W9m.js → RewardGroup.vue_vue_type_script_setup_true_lang-BqKABBF1.js} +12 -12
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DvNyurCW.js +1888 -0
- package/dist/{Segment-CZrzY2st.js → Segment-BtmeNQnL.js} +78 -77
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-B1qAMtkn.js → SelectItems.vue_vue_type_script_setup_true_lang-P4wy1bqG.js} +3 -3
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Dc36wzB0.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DQ93AOeI.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BtnF-BPt.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-B3P7Ob40.js} +4 -4
- package/dist/{Setting-JrI4ttI1.js → Setting-D1SQ6TKF.js} +248 -259
- package/dist/{SettingAdvertisements-iOOpEUlI.js → SettingAdvertisements-pUTX9uu3.js} +13 -13
- package/dist/Settings-Bbd3cMNH.js +228 -0
- package/dist/{Store-DbXKThJn.js → Store-Dgc-J8Q7.js} +24 -24
- package/dist/{StoreRewards-CfkwVw7d.js → StoreRewards-CJ090vEj.js} +16 -16
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B35vDFFq.js +1067 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-5Aazsvfa.js +142 -0
- package/dist/{Tier-BVrAqpWt.js → Tier-CKGyFDiY.js} +469 -544
- package/dist/{Title-DhumBh-S.js → Title-DXRex7t9.js} +92 -93
- package/dist/{Transaction-BQLge28p.js → Transaction-B1eC-Gln.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CSPaj2uN.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B2GABNUx.js} +6 -6
- package/dist/{Voucher-DeB4YhvL.js → Voucher-Omh_kYVH.js} +27 -28
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BjUFEIlS.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DD2WD_Vt.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BzrPUcC9.js → ZodTextField.vue_vue_type_script_setup_true_lang-CAtzo8zL.js} +2 -2
- package/dist/{app-BHIG18wW.js → app-D8i8XAyR.js} +1439 -1406
- package/dist/app.js +3 -4
- package/dist/{business-CCmy2VBj.js → business-6gZtKQ8L.js} +1 -1
- package/dist/{campaign-DiFdvcPE.js → campaign-DIgbywUy.js} +64 -114
- package/dist/{campaign-jofcGLi8.js → campaign-MPUFwgli.js} +7 -13
- package/dist/{campaign.enum-CBp5IeWz.js → campaign.enum-CSlbGhc-.js} +2 -3
- package/dist/{campaign.fn-BZ0Ivuwi.js → campaign.fn-BvxZt-0r.js} +65 -65
- package/dist/{collectible.enum-frp5wluZ.js → collectible.enum-20LKRFir.js} +1 -1
- package/dist/collection.fn-03oGQuF_.js +26 -0
- package/dist/dto-C5_Te4gk.js +216 -0
- package/dist/{effect-BegkMXTr.js → effect-CkurpNMu.js} +1 -1
- package/dist/{email-addresses-B0t3BKV6.js → email-addresses-CR8pgurp.js} +2 -2
- package/dist/{export-CGrchnsA.js → export-CfDeISbW.js} +3 -3
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-CIYSBZvt.js → helper-BQYvN6FL.js} +1 -1
- package/dist/{index-Dg_OJTxE.js → index-6FvsyekG.js} +1 -1
- package/dist/index-ARC-NYFZ.js +55 -0
- package/dist/{index-Cv0pq7A_.js → index-C9j6OhgK.js} +302 -634
- package/dist/{index-BPh_k5rA.js → index-CH_QL_76.js} +3 -3
- package/dist/{index-DdAl4SK2.js → index-CJUzQG6t.js} +26 -17
- package/dist/{index-PmoP3mXP.js → index-Cv-DbZdw.js} +7 -7
- package/dist/{index-D4_JDL9j.js → index-D6wOnTAl.js} +3 -3
- package/dist/{index-CixwNfnv.js → index-D8vmbFE5.js} +1 -1
- package/dist/{index-DcE-11T-.js → index-DW7H-3z4.js} +1275 -1506
- package/dist/{index-C_6y8OES.js → index-Dcxjgr6s.js} +1 -1
- package/dist/{index-CF1RNy12.js → index-Dz130JVH.js} +1 -1
- package/dist/{index-BBgVfqVf.js → index-ERqXuFvQ.js} +1 -1
- package/dist/{index-C-2YkeBp.js → index-hTgJrZR8.js} +1968 -1996
- package/dist/{index.esm2017-QGfAIiCc.js → index.esm2017-DY9Lrb0O.js} +184 -184
- package/dist/{loading-Cql_LElt.js → loading-EnU7K0k3.js} +1 -1
- package/dist/{lodash-PMdIVUsY.js → lodash-Cr7KdLib.js} +1 -1
- package/dist/{membership-BHD1GQ45.js → membership-B1eIzQDB.js} +3 -3
- package/dist/{money-CASVly6f.js → money-DpUzzEJj.js} +1 -1
- package/dist/{number-dMI2x0jy.js → number-DAz9zOKI.js} +1 -1
- package/dist/object-qECH92oz.js +26 -0
- package/dist/objectid-LXOkMCkM.js +145 -0
- package/dist/{plugins-CnEVta3V.js → plugins-DJ13vaqz.js} +95 -94
- package/dist/{reward-vdrNMYrF.js → reward-Cmx_swM1.js} +1 -1
- package/dist/{rule-BLXUDFEw.js → rule-BCzySyr6.js} +487 -505
- package/dist/rule-builder-CDkWYBLG.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-DfnYZzoa.js +236 -0
- package/dist/{index-DzQCyuGA.js → timezone-Beb0XkZC.js} +20 -21
- package/dist/{trigger-Ccrh378a.js → trigger-BfQprjI-.js} +5 -5
- package/dist/{useMarketingMaterialActions-BQLBRa3G.js → useMarketingMaterialActions-CagN58AP.js} +3 -3
- package/dist/{usePagination-BjsffqjT.js → usePagination-XyeJR5ws.js} +1 -1
- package/dist/{user-B5jS1GLb.js → user-l2YG1VjD.js} +1 -1
- package/dist/{vue-i18n-CCjHlB6z.js → vue-i18n-DJXhpQga.js} +391 -391
- package/dist/{xlsx-DmBOvA2N.js → xlsx-DypdT1NW.js} +1 -1
- package/dist/{zod-DrYZ6KS4.js → zod-BM5P7Bti.js} +1 -1
- package/package.json +4 -8
- package/dist/AuditLogs-CAtlilma.js +0 -2013
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bpr9KuHW.js +0 -3377
- package/dist/Grab-CDhmMNsL.js +0 -300
- package/dist/LoyaltyDashboard-BFjI3IWT.js +0 -1082
- package/dist/Review-D9cFDrhN.js +0 -1192
- package/dist/ReviewFacebookCallback-DbE8_6D3.js +0 -243
- package/dist/ReviewGoogleCallback-LMZgyopt.js +0 -208
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BEqgU70M.js +0 -1911
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CNC_jNgW.js +0 -1130
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BBlCR4pN.js +0 -7007
- package/dist/duplicateCampaign-CxuNftok.js +0 -51
- package/dist/index-Dc-I4Jr-.js +0 -67
- package/dist/object-BYyQ0PZp.js +0 -18
- package/dist/objectid-Db_4Ays3.js +0 -145
- package/dist/template-CRjkIq3e.js +0 -188
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { defineComponent as E, onMounted as T, ref as w, computed as B, openBlock as d, createElementBlock as p, Fragment as F, renderList as j, normalizeClass as z, unref as e, createElementVNode as m, createVNode as u, toDisplayString as y, createCommentVNode as S, createBlock as P, resolveComponent as U, isRef as V } from "vue";
|
|
2
|
+
import { u as A } from "./vue-i18n-DJXhpQga.js";
|
|
3
|
+
import { components as v } from "@feedmepos/ui-library";
|
|
4
|
+
import { r as C } from "./index-CJUzQG6t.js";
|
|
5
|
+
import { u as H } from "./business-6gZtKQ8L.js";
|
|
6
|
+
import { _ as D } from "./LocationPicker.vue_vue_type_script_setup_true_lang-B6tGeGGC.js";
|
|
7
|
+
import { R as O } from "./app-D8i8XAyR.js";
|
|
8
|
+
import { useRouter as W } from "vue-router";
|
|
9
|
+
const q = { class: "flex flex-col gap-8" }, J = ["onClick"], K = { class: "fm-typo-en-body-md-600 flex-1 truncate" }, Q = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "fm-typo-en-body-sm-400 text-fm-color-primary-500 shrink-0"
|
|
12
|
+
}, X = /* @__PURE__ */ E({
|
|
13
|
+
__name: "GoogleLocationMapping",
|
|
14
|
+
props: {
|
|
15
|
+
locations: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:locations"],
|
|
18
|
+
setup(k, { emit: a }) {
|
|
19
|
+
const N = k, b = a, i = H();
|
|
20
|
+
T(() => i.readLocations());
|
|
21
|
+
const g = w(null), h = B(() => {
|
|
22
|
+
const l = /* @__PURE__ */ new Set();
|
|
23
|
+
for (const r of N.locations)
|
|
24
|
+
r.locationId && l.add(r.locationId);
|
|
25
|
+
return l;
|
|
26
|
+
});
|
|
27
|
+
function L(l) {
|
|
28
|
+
return i.locations.filter((r) => {
|
|
29
|
+
const t = r._id.toString();
|
|
30
|
+
return !h.value.has(t) || l.locationId === t;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function f(l, r) {
|
|
34
|
+
const t = r._id.toString(), _ = N.locations.map((n) => {
|
|
35
|
+
if (n.googleLocationName !== l) return n;
|
|
36
|
+
const o = n.locationId === t;
|
|
37
|
+
return {
|
|
38
|
+
...n,
|
|
39
|
+
locationId: o ? null : t,
|
|
40
|
+
locationName: o ? null : r.name
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
b("update:locations", _);
|
|
44
|
+
}
|
|
45
|
+
function I(l) {
|
|
46
|
+
g.value = g.value === l ? null : l;
|
|
47
|
+
}
|
|
48
|
+
return (l, r) => (d(), p("div", q, [
|
|
49
|
+
(d(!0), p(F, null, j(k.locations, (t) => (d(), p("div", {
|
|
50
|
+
key: t.googleLocationName,
|
|
51
|
+
class: z([
|
|
52
|
+
"rounded-lg border overflow-hidden transition-colors",
|
|
53
|
+
e(g) === t.googleLocationName ? "border-fm-color-primary-500" : "border-fm-color-neutral-gray-200"
|
|
54
|
+
])
|
|
55
|
+
}, [
|
|
56
|
+
m("button", {
|
|
57
|
+
class: "w-full flex items-center gap-12 p-16 bg-white text-left hover:bg-fm-color-neutral-gray-50 transition-colors",
|
|
58
|
+
onClick: (_) => I(t.googleLocationName)
|
|
59
|
+
}, [
|
|
60
|
+
u(e(v).FmIcon, {
|
|
61
|
+
name: "storefront",
|
|
62
|
+
class: "text-fm-color-neutral-gray-400 shrink-0"
|
|
63
|
+
}),
|
|
64
|
+
m("span", K, y(t.displayName || t.googleLocationName), 1),
|
|
65
|
+
t.locationName ? (d(), p("span", Q, y(t.locationName), 1)) : S("", !0),
|
|
66
|
+
u(e(v).FmIcon, {
|
|
67
|
+
name: e(g) === t.googleLocationName ? "expand_less" : "expand_more",
|
|
68
|
+
class: "text-fm-color-neutral-gray-400 shrink-0"
|
|
69
|
+
}, null, 8, ["name"])
|
|
70
|
+
], 8, J),
|
|
71
|
+
e(g) === t.googleLocationName ? (d(), P(D, {
|
|
72
|
+
key: 0,
|
|
73
|
+
locations: L(t),
|
|
74
|
+
"selected-ids": t.locationId ? [t.locationId] : [],
|
|
75
|
+
onToggle: (_) => f(t.googleLocationName, _)
|
|
76
|
+
}, null, 8, ["locations", "selected-ids", "onToggle"])) : S("", !0)
|
|
77
|
+
], 2))), 128))
|
|
78
|
+
]));
|
|
79
|
+
}
|
|
80
|
+
}), Y = { class: "flex flex-col min-h-full gap-16 p-24" }, Z = {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "flex flex-col items-center justify-center flex-1 gap-16"
|
|
83
|
+
}, ee = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, oe = {
|
|
84
|
+
key: 1,
|
|
85
|
+
class: "flex flex-col items-center justify-center flex-1 gap-16"
|
|
86
|
+
}, te = { class: "fm-typo-en-body-lg-600" }, ne = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, ae = {
|
|
87
|
+
key: 2,
|
|
88
|
+
class: "flex flex-col items-center justify-center flex-1 gap-16"
|
|
89
|
+
}, le = { class: "fm-typo-en-body-lg-600" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, ce = { class: "fm-typo-en-body-lg-600" }, ie = { class: "flex gap-8 justify-end mt-auto pt-8" }, ve = /* @__PURE__ */ E({
|
|
90
|
+
__name: "ReviewGoogleCallback",
|
|
91
|
+
setup(k) {
|
|
92
|
+
const { t: a } = A(), N = W();
|
|
93
|
+
function b() {
|
|
94
|
+
return N.replace({ name: O["$connect-REVIEW_SETTINGS"] });
|
|
95
|
+
}
|
|
96
|
+
const i = w([]), g = w(!1), h = w(!1), L = w(!1), f = w(null), I = B(
|
|
97
|
+
() => i.value.some((n) => n.locationId !== null)
|
|
98
|
+
);
|
|
99
|
+
function l(n, o) {
|
|
100
|
+
return n instanceof Error ? n.message : o;
|
|
101
|
+
}
|
|
102
|
+
function r(n, o) {
|
|
103
|
+
const x = new Map(
|
|
104
|
+
o.map((s) => [s.googleLocationName, s.location])
|
|
105
|
+
);
|
|
106
|
+
return n.map((s) => {
|
|
107
|
+
const c = x.get(s.googleLocationName) ?? null;
|
|
108
|
+
return {
|
|
109
|
+
googleLocationName: s.googleLocationName,
|
|
110
|
+
displayName: s.displayName,
|
|
111
|
+
locationId: (c == null ? void 0 : c._id) ?? null,
|
|
112
|
+
locationName: (c == null ? void 0 : c.name) ?? null
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
async function t() {
|
|
117
|
+
var s;
|
|
118
|
+
const n = new URLSearchParams(window.location.search), o = n.get("code"), x = n.get("state");
|
|
119
|
+
if (!o || !x) {
|
|
120
|
+
f.value = a("connect.review.noToken");
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
g.value = !0;
|
|
124
|
+
try {
|
|
125
|
+
const c = await C.getSource(), R = ((s = c == null ? void 0 : c.google) == null ? void 0 : s.locations) ?? [], M = window.location.pathname.replace(/\/review(?:\/.*)?$/, ""), G = `${window.location.origin}${M}/review/google/callback`, $ = await C.connectGoogle(o, G, x);
|
|
126
|
+
i.value = r(($ == null ? void 0 : $.locations) ?? [], R), i.value.length === 0 && (f.value = a("connect.review.google.noLocations"));
|
|
127
|
+
} catch (c) {
|
|
128
|
+
f.value = l(c, a("connect.review.google.failed"));
|
|
129
|
+
} finally {
|
|
130
|
+
g.value = !1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
async function _() {
|
|
134
|
+
const n = i.value.map((o) => ({
|
|
135
|
+
googleLocationName: o.googleLocationName,
|
|
136
|
+
displayName: o.displayName,
|
|
137
|
+
locationId: o.locationId
|
|
138
|
+
}));
|
|
139
|
+
if (n.length === 0) {
|
|
140
|
+
f.value = a("connect.review.noMappings");
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
h.value = !0;
|
|
144
|
+
try {
|
|
145
|
+
await C.updateGoogleLocations(n), L.value = !0, setTimeout(b, 2e3);
|
|
146
|
+
} catch (o) {
|
|
147
|
+
f.value = l(o, a("connect.review.google.failed"));
|
|
148
|
+
} finally {
|
|
149
|
+
h.value = !1;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return T(t), (n, o) => {
|
|
153
|
+
const x = U("FmPageHead");
|
|
154
|
+
return d(), p(F, null, [
|
|
155
|
+
u(x, {
|
|
156
|
+
title: e(a)("connect.navigation.review")
|
|
157
|
+
}, null, 8, ["title"]),
|
|
158
|
+
m("div", Y, [
|
|
159
|
+
e(g) ? (d(), p("div", Z, [
|
|
160
|
+
u(e(v).FmIcon, {
|
|
161
|
+
name: "sync",
|
|
162
|
+
size: "xl",
|
|
163
|
+
class: "animate-spin text-fm-color-neutral-gray-400"
|
|
164
|
+
}),
|
|
165
|
+
m("p", ee, y(e(a)("connect.review.google.fetching")), 1)
|
|
166
|
+
])) : e(L) ? (d(), p("div", oe, [
|
|
167
|
+
u(e(v).FmIcon, {
|
|
168
|
+
name: "check_circle",
|
|
169
|
+
size: "xl",
|
|
170
|
+
class: "text-fm-color-typo-success"
|
|
171
|
+
}),
|
|
172
|
+
m("p", te, y(e(a)("connect.review.google.success")), 1),
|
|
173
|
+
m("p", ne, y(e(a)("connect.review.redirecting")), 1)
|
|
174
|
+
])) : e(f) ? (d(), p("div", ae, [
|
|
175
|
+
u(e(v).FmIcon, {
|
|
176
|
+
name: "error",
|
|
177
|
+
size: "xl",
|
|
178
|
+
class: "text-fm-color-system-error-500"
|
|
179
|
+
}),
|
|
180
|
+
m("p", le, y(e(a)("connect.review.errorTitle")), 1),
|
|
181
|
+
m("p", se, y(e(f)), 1),
|
|
182
|
+
u(e(v).FmButton, {
|
|
183
|
+
label: e(a)("connect.review.goBack"),
|
|
184
|
+
onClick: o[0] || (o[0] = (s) => b())
|
|
185
|
+
}, null, 8, ["label"])
|
|
186
|
+
])) : e(i).length > 0 ? (d(), p(F, { key: 3 }, [
|
|
187
|
+
m("p", ce, y(e(a)("connect.review.google.selectLocation")), 1),
|
|
188
|
+
u(X, {
|
|
189
|
+
locations: e(i),
|
|
190
|
+
"onUpdate:locations": o[1] || (o[1] = (s) => V(i) ? i.value = s : null)
|
|
191
|
+
}, null, 8, ["locations"]),
|
|
192
|
+
m("div", ie, [
|
|
193
|
+
u(e(v).FmButton, {
|
|
194
|
+
variant: "outlined",
|
|
195
|
+
label: e(a)("connect.review.cancel"),
|
|
196
|
+
onClick: o[2] || (o[2] = (s) => b())
|
|
197
|
+
}, null, 8, ["label"]),
|
|
198
|
+
u(e(v).FmButton, {
|
|
199
|
+
label: e(a)("connect.review.connect"),
|
|
200
|
+
disabled: !e(I),
|
|
201
|
+
loading: e(h),
|
|
202
|
+
onClick: _
|
|
203
|
+
}, null, 8, ["label", "disabled", "loading"])
|
|
204
|
+
])
|
|
205
|
+
], 64)) : S("", !0)
|
|
206
|
+
])
|
|
207
|
+
], 64);
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
export {
|
|
212
|
+
ve as default
|
|
213
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as X, ref as x, computed as H, resolveComponent as w, openBlock as b, createBlock as h, unref as t, isRef as Z, withCtx as A, createElementVNode as f, createVNode as d, createCommentVNode as k, createElementBlock as M, Fragment as Y, h as O, onMounted as q, toDisplayString as B } from "vue";
|
|
2
2
|
import { _ as z } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as Q, components as L } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as G } from "./loading-
|
|
5
|
-
import { u as J, C as ee } from "./membership-
|
|
6
|
-
import { f as j, p as te } from "./plugins-
|
|
7
|
-
import { u as oe } from "./vue-i18n-
|
|
8
|
-
import { c as ae } from "./object-
|
|
9
|
-
import { Z as _ } from "./zod-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { F as N } from "./index-
|
|
4
|
+
import { u as G } from "./loading-EnU7K0k3.js";
|
|
5
|
+
import { u as J, C as ee } from "./membership-B1eIzQDB.js";
|
|
6
|
+
import { f as j, p as te } from "./plugins-DJ13vaqz.js";
|
|
7
|
+
import { u as oe } from "./vue-i18n-DJXhpQga.js";
|
|
8
|
+
import { c as ae } from "./object-qECH92oz.js";
|
|
9
|
+
import { Z as _ } from "./zod-BM5P7Bti.js";
|
|
10
|
+
import "./index-hTgJrZR8.js";
|
|
11
|
+
import { F as N } from "./index-D6wOnTAl.js";
|
|
12
12
|
import { useCoreStore as le } from "@feedmepos/mf-common";
|
|
13
|
-
import { _ as ne, a as ie } from "./VoucherEditor.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { b as re } from "./EffectSheet.vue_vue_type_style_index_0_lang-
|
|
13
|
+
import { _ as ne, a as ie } from "./VoucherEditor.vue_vue_type_script_setup_true_lang-DD2WD_Vt.js";
|
|
14
|
+
import { b as re } from "./EffectSheet.vue_vue_type_style_index_0_lang-CbpKQj-r.js";
|
|
15
15
|
import { J as K } from "./JsonViewer-v8_C7l5N.js";
|
|
16
|
-
import { _ as se } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { i as de } from "./helper-
|
|
18
|
-
import { u as pe, r as P } from "./reward-
|
|
19
|
-
import "./index-
|
|
20
|
-
import { C as ce } from "./campaign.fn-
|
|
21
|
-
import { e as me } from "./effect-
|
|
16
|
+
import { _ as se } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CAtzo8zL.js";
|
|
17
|
+
import { i as de } from "./helper-BQYvN6FL.js";
|
|
18
|
+
import { u as pe, r as P } from "./reward-Cmx_swM1.js";
|
|
19
|
+
import "./index-Dz130JVH.js";
|
|
20
|
+
import { C as ce } from "./campaign.fn-BvxZt-0r.js";
|
|
21
|
+
import { e as me } from "./effect-CkurpNMu.js";
|
|
22
22
|
import { useRouter as ue } from "vue-router";
|
|
23
|
-
import { R as ye } from "./app-
|
|
23
|
+
import { R as ye } from "./app-D8i8XAyR.js";
|
|
24
24
|
const fe = { class: "flex gap-8 items-center justify-start" }, we = /* @__PURE__ */ X({
|
|
25
25
|
__name: "EditRewardSheet",
|
|
26
26
|
emits: ["update"],
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as p, defineComponent as T, computed as x, resolveComponent as y, openBlock as U, createBlock as G, unref as e, isRef as $, withCtx as b, createElementVNode as v, createVNode as u, toDisplayString as j } from "vue";
|
|
2
|
-
import { u as B } from "./loading-
|
|
2
|
+
import { u as B } from "./loading-EnU7K0k3.js";
|
|
3
3
|
import { J as P } from "./JsonViewer-v8_C7l5N.js";
|
|
4
|
-
import { _ as D } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as I } from "./UserRuleGroup.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { Z as L } from "./zod-
|
|
4
|
+
import { _ as D } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CAtzo8zL.js";
|
|
5
|
+
import { _ as I } from "./UserRuleGroup.vue_vue_type_script_setup_true_lang-B2GABNUx.js";
|
|
6
|
+
import { Z as L } from "./zod-BM5P7Bti.js";
|
|
7
7
|
import { u as V } from "./app-wDQR6dpb.js";
|
|
8
8
|
import { defineStore as N } from "pinia";
|
|
9
|
-
import { r as k } from "./index-
|
|
10
|
-
import
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { u as J } from "./vue-i18n-
|
|
16
|
-
import { c as C } from "./object-
|
|
9
|
+
import { r as k } from "./index-Dcxjgr6s.js";
|
|
10
|
+
import "./index-DW7H-3z4.js";
|
|
11
|
+
import "./index-hTgJrZR8.js";
|
|
12
|
+
import "./index-CH_QL_76.js";
|
|
13
|
+
import { c as E } from "./index-C9j6OhgK.js";
|
|
14
|
+
import "./index-D6wOnTAl.js";
|
|
15
|
+
import { u as J } from "./vue-i18n-DJXhpQga.js";
|
|
16
|
+
import { c as C } from "./object-qECH92oz.js";
|
|
17
17
|
import { useDialog as Z } from "@feedmepos/ui-library";
|
|
18
18
|
const A = N("mf-connect-referral", () => {
|
|
19
19
|
const h = p();
|