@feedmepos/mf-connect 0.1.117-dev → 0.1.118-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/{App-BpcsgH7K.js → App-BHcTqLff.js} +89 -97
- package/dist/{Bin-Cm0wjQeR.js → Bin-DWhXJmHo.js} +8 -8
- package/dist/{Broadcast-BoJaHqnO.js → Broadcast-Ct1DL8Pd.js} +21 -22
- package/dist/{CampaignAnalytic-Eg4xZW0B.js → CampaignAnalytic-BSEKCM-4.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BXylK6Ze.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BxRg2Wu8.js} +10 -9
- package/dist/{Card-BfkMcFaG.js → Card-B7DwrAPH.js} +23 -23
- package/dist/{Collections-RXmxQbII.js → Collections-BJw4JJq_.js} +185 -197
- package/dist/{Credit-CsRPM1jv.js → Credit-BteIGXkp.js} +20 -21
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-D2tvK7pw.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CSFwIzOS.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJotVIKM.js +3496 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CUx8UIIq.js → EffectSheet.vue_vue_type_style_index_0_lang-BDZ21UHA.js} +30 -30
- package/dist/{Experience-BC8Pj-v9.js → Experience-C_VQVfJX.js} +31 -32
- package/dist/{FileSaver.min-DzmoQFA0.js → FileSaver.min-CMiQUZQE.js} +1 -1
- package/dist/{Game-DJXNHFBs.js → Game-BiHMrMBF.js} +18 -19
- package/dist/{GiftCardSetup-_0n8lU-t.js → GiftCardSetup-DtJIm6oI.js} +31 -31
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-C-AiJdui.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BKGnPAEj.js} +7 -7
- package/dist/{Goals-DSZwKpds.js → Goals-B7VjLMDT.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BZb-H4fM.js → ImageInput.vue_vue_type_script_setup_true_lang-C9ecPgpJ.js} +1 -1
- package/dist/{Index-Cbi0bquE.js → Index-D_DIHKZG.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-GLhMtvzi.js → LocationPicker.vue_vue_type_script_setup_true_lang-DSwB0Ubn.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-Bt9CO_QR.js → LottieAnimation.vue_vue_type_script_setup_true_lang-dk8_eVwd.js} +1 -1
- package/dist/{LoyaltyDashboard-fK90c27A.js → LoyaltyDashboard-DOgHeJdK.js} +15 -15
- package/dist/{MainLayout-Bf-l9yL4.js → MainLayout-CfYgoXLS.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-COR6YYYI.js → MainLayout.vue_vue_type_script_setup_true_lang-Bz2LGHUd.js} +3 -3
- package/dist/{Marketing-B7cZGsO-.js → Marketing-B6TCrwaR.js} +4 -4
- package/dist/{MarketingMaterialEdit-5IcV2ct6.js → MarketingMaterialEdit-Bu3a9NGj.js} +211 -214
- package/dist/{Member-BGTrRVdq.js → Member-X51KrYXV.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-DJr2hV2W.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-CYU21JaO.js} +48 -40
- package/dist/{MemberImportHistory--FxkTJmu.js → MemberImportHistory-CHd9fx7E.js} +7 -7
- package/dist/{MemberList-EjY5dgwt.js → MemberList-D4L3bSlw.js} +105 -103
- package/dist/{MemberTransactions-Oia7LIFK.js → MemberTransactions-CEgjfhnX.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CLOQZCYy.js → MessageInput.vue_vue_type_script_setup_true_lang-zsaig_yK.js} +12 -12
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-Ev3bB8cg.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-YZQkKG66.js} +1 -1
- package/dist/{Mission-BFHYb4aT.js → Mission-BEVtvY0-.js} +21 -22
- package/dist/{Overview-d5U37aot.js → Overview-4QRkldza.js} +144 -145
- package/dist/{Overview-BVNyQxFL.js → Overview-DVoXXZ16.js} +21 -21
- package/dist/{Point-CXkqH02Z.js → Point-BJmebaL9.js} +21 -22
- package/dist/{Promotion-DdxNvlOO.js → Promotion-DWZZBofu.js} +131 -137
- package/dist/{Queue-C96oNKyP.js → Queue-DLdsyhCT.js} +46 -46
- package/dist/{Record-Bj2e2Y4i.js → Record-QOD3XELf.js} +9 -9
- package/dist/{Review-CJK5S1oI.js → Review-CKmhyuqj.js} +2 -2
- package/dist/ReviewFacebookCallback-C6DlaJ_j.js +238 -0
- package/dist/{ReviewGoogleCallback-Dmk4VyGA.js → ReviewGoogleCallback-CDriVQPZ.js} +5 -5
- package/dist/{Reward-Dh2YI0Xb.js → Reward-DftoZfPN.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-U47m3AAn.js → RewardGroup.vue_vue_type_script_setup_true_lang-ZgYX2QwC.js} +14 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DHmBwLNP.js +1884 -0
- package/dist/{Segment-FYvtCkqH.js → Segment-URdB0lnl.js} +307 -304
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DPZZz2e0.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DmI2LAsz.js} +15 -15
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-D8wBgLlS.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCEgZzA4.js} +4 -4
- package/dist/{Setting-CUAWjCqa.js → Setting-BDIHH2Wk.js} +148 -159
- package/dist/{SettingAdvertisements-COIQwUD6.js → SettingAdvertisements-CkJYZnIN.js} +12 -12
- package/dist/Settings-9gaegvYJ.js +179 -0
- package/dist/{Store-BAXwiyvx.js → Store-CV0kYncl.js} +29 -29
- package/dist/{StoreRewards-2mUavtUg.js → StoreRewards-30kSkAZ_.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Dgwyk3NA.js +1265 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CDUhH6wp.js +142 -0
- package/dist/{Tier-BmAOzRHL.js → Tier-DiQSC3iv.js} +688 -2576
- package/dist/{Title-DMxiUg30.js → Title-DixxpjAg.js} +95 -96
- package/dist/{Transaction-CF6hXEpN.js → Transaction-DQK4LUGD.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BON_t0dL.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CL-GKkuD.js} +26 -26
- package/dist/{Voucher-DrtITxq-.js → Voucher-CSVlk_Hr.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-1DZOzJKx.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CiSoy0Ky.js} +12 -12
- package/dist/{WhatsappAccount-Bb0Y7ikk.js → WhatsappAccount-CQYbv2Ew.js} +66 -64
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CPlyzkp4.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DjgRo9iA.js} +1 -1
- package/dist/{WhatsappBot-DNvvaPey.js → WhatsappBot-DdO9Bfvh.js} +324 -322
- package/dist/{WhatsappBotLogs-C8M-1pvv.js → WhatsappBotLogs-CjjWJGND.js} +11 -11
- package/dist/{WhatsappBotSettings-D6egqUyU.js → WhatsappBotSettings-DYGx-kRr.js} +287 -288
- package/dist/{WhatsappLayout-DeQTPuF6.js → WhatsappLayout-B6k_79Kl.js} +3 -3
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DTUytfe5.js +261 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CKZscSjU.js → ZodTextField.vue_vue_type_script_setup_true_lang-DdCUr_Zm.js} +2 -2
- package/dist/{app-BjdLqYQq.js → app-CqQeNnGq.js} +3382 -4110
- package/dist/app.js +3 -4
- package/dist/{base.export-B68z5BF6.js → base.export-Dls5LQeu.js} +2 -2
- package/dist/{business-D9fgkHxb.js → business-gvLSQklz.js} +1 -1
- package/dist/{campaign-Dw_ujovr.js → campaign-BqazvOUj.js} +94 -121
- package/dist/{campaign-eMaPX8r6.js → campaign-Cd6GmA4U.js} +25 -31
- package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-BqekIiiN.js} +1 -2
- package/dist/{campaign.fn-DFjGNvmN.js → campaign.fn-C0oMb1fs.js} +99 -99
- package/dist/{collection.fn-CCOWtB-c.js → collection.fn-CERMsFPh.js} +2 -2
- package/dist/{currency-CTLKReFC.js → currency-IkiKiNg1.js} +1 -1
- package/dist/{effect-CTI1ZH57.js → effect-j_T62HBN.js} +1 -1
- package/dist/{email-addresses-B74e3bnB.js → email-addresses-CN1kPlEj.js} +2 -2
- package/dist/{feature-flag-DVdEaChJ.js → feature-flag-DDfyOLsv.js} +88 -88
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-as9K-piK.js → helper-DVUe13eh.js} +1 -1
- package/dist/{index-BW7FoVEA.js → index-9RBtEPPj.js} +1 -1
- package/dist/{index-Czg-2Ni0.js → index-BmIfGArh.js} +3 -3
- package/dist/{index-DKI8401o.js → index-BvkqHehI.js} +7 -7
- package/dist/{index-B0h0iYWP.js → index-BvoOJdfc.js} +2 -2
- package/dist/{index-CWLOcQ6j.js → index-C-IajuP1.js} +9 -9
- package/dist/{index-3LjKJhQa.js → index-COuLtOaw.js} +1 -1
- package/dist/{index-QHqcSN2q.js → index-CPyK4a5J.js} +4 -4
- package/dist/{index-BbVbqe4Y.js → index-CWGbeg5X.js} +6 -19
- package/dist/{index-CHU3UePP.js → index-C_SaKemI.js} +1 -1
- package/dist/{index-BEKMTiFb.js → index-Cjy0SXCn.js} +197 -197
- package/dist/{index-C5V6u2Qd.js → index-DALsfLV7.js} +2613 -2699
- package/dist/{index-CQxkDpX0.js → index-DMiaWY0s.js} +581 -682
- package/dist/{index-B_wRpO02.js → index-D_1pnadB.js} +15 -29
- package/dist/{index-TAoQpeLQ.js → index-DzbVgUEP.js} +1 -1
- package/dist/{index-C-iwb2Ln.js → index-I9lmcd2w.js} +2 -2
- package/dist/{index-wsCCqwdr.js → index-UJHdDEG1.js} +2 -2
- package/dist/{index-DcZiikOH.js → index-ep_Kxxid.js} +2 -2
- package/dist/{index-BhTrG89b.js → index-fNYUguDQ.js} +232 -389
- package/dist/{index-Ba719MYq.js → index-jS16KX9p.js} +1 -1
- package/dist/{index-Ckz6u3ac.js → index-k7FFxt_M.js} +2 -2
- package/dist/{index-8mBfDn3M.js → index-lzQ6ehOk.js} +251 -608
- package/dist/{index.esm2017-DL6rTGDW.js → index.esm2017-vJKhLfdu.js} +177 -177
- package/dist/{loading-x6IScY4K.js → loading-jZV2Dm--.js} +1 -1
- package/dist/{lodash-nwnDizYo.js → lodash-C2pLek0l.js} +1 -1
- package/dist/{member-import-C-b01Tyd.js → member-import-BKI7soRD.js} +1 -1
- package/dist/{membership-DfarOMtO.js → membership-smdlFpPr.js} +2 -2
- package/dist/{money-CFn-jR4W.js → money-5XyTnYwW.js} +1 -1
- package/dist/{number-CSlyDL2x.js → number-DHU9qJJQ.js} +1 -1
- package/dist/objectid-jT5g6pGt.js +145 -0
- package/dist/{onboarding-DyaFaaF2.js → onboarding-C_5pyGx-.js} +25 -25
- package/dist/{onboardingSetup-DQt91O9f.js → onboardingSetup-Bd1V-Ipy.js} +2 -2
- package/dist/{plugins-DEHr0UOe.js → plugins-D1Ru-da5.js} +3 -3
- package/dist/{reward-Du_Pv-4p.js → reward-BqPl68Xk.js} +1 -1
- package/dist/{rule-DfqmQTVK.js → rule-WBrRXwL-.js} +492 -572
- package/dist/rule-builder-DAlSbaWh.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-DDquG4Xc.js +236 -0
- package/dist/{timezone-_4tabIaK.js → timezone-O4qrCDcK.js} +1 -1
- package/dist/{transaction.fn-C46PHwCV.js → transaction.fn-CY_F8Nb8.js} +2 -2
- package/dist/{trigger-Dipr6btC.js → trigger-D-vySeIB.js} +8 -8
- package/dist/{useMarketingMaterialActions-BAw2ZjeF.js → useMarketingMaterialActions-kA6SLHy_.js} +4 -4
- package/dist/{usePagination-D6RZ18zS.js → usePagination-AYE_RJH2.js} +1 -1
- package/dist/{user-BCexQj3Q.js → user-DJcMkYXP.js} +1 -1
- package/dist/vue-i18n-kXHiDb_1.js +2365 -0
- package/dist/{xlsx-BTxt_Jg6.js → xlsx--s3hBdDk.js} +224 -224
- package/dist/{zod-T4wMYjWT.js → zod-IpHRbxaJ.js} +1 -1
- package/package.json +2 -6
- package/dist/AuditLogs-BNnUiVnD.js +0 -2016
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BgPeHurN.js +0 -4442
- package/dist/Grab-DDc7e-AC.js +0 -301
- package/dist/ReviewFacebookCallback-ChG7TRy5.js +0 -225
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-2L6ZGMW7.js +0 -1923
- package/dist/Settings-D2gFPvmW.js +0 -286
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-5g3yIL1a.js +0 -1319
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DHi4rdT1.js +0 -7007
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DI0pcHcE.js +0 -253
- package/dist/duplicateCampaign-BcpBfUGL.js +0 -51
- package/dist/google-BQK68wbe.js +0 -5
- package/dist/objectid-zcT6ESET.js +0 -145
- package/dist/template-CcbNF4PF.js +0 -188
- package/dist/vue-i18n-DXvyTCZf.js +0 -2365
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as xe, ref as te, h as U, Comment as cn, computed as Y, watch as ie, resolveComponent as ee, openBlock as
|
|
1
|
+
import { defineComponent as xe, ref as te, h as U, Comment as cn, computed as Y, watch as ie, resolveComponent as ee, openBlock as W, createElementBlock as me, createVNode as S, unref as _, createElementVNode as I, toDisplayString as R, createBlock as Oe, withCtx as Z, Fragment as It, renderList as ln, onMounted as un, createCommentVNode as Pe, nextTick as dn } from "vue";
|
|
2
2
|
import { useRouter as yt, useRoute as wt, RouterView as hn } from "vue-router";
|
|
3
3
|
import { useCoreStore as ge, FeedMeAuth as fn } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as pn } from "./app-wDQR6dpb.js";
|
|
5
|
-
import { u as mn } from "./business-
|
|
6
|
-
import { F as gn, u as _n, l as vn } from "./feature-flag-
|
|
7
|
-
import "./index-
|
|
8
|
-
import { components as
|
|
9
|
-
import { u as Tt } from "./vue-i18n-
|
|
10
|
-
import { m as wn } from "./index-
|
|
11
|
-
import { C as Xe } from "./timezone-
|
|
12
|
-
import { u as Tn } from "./onboarding-
|
|
13
|
-
import { R as p, A as kn, a as Qe } from "./app-
|
|
5
|
+
import { u as mn } from "./business-gvLSQklz.js";
|
|
6
|
+
import { F as gn, u as _n, l as vn } from "./feature-flag-DDfyOLsv.js";
|
|
7
|
+
import "./index-jS16KX9p.js";
|
|
8
|
+
import { components as j, useSnackbar as In, useDialog as yn } from "@feedmepos/ui-library";
|
|
9
|
+
import { u as Tt } from "./vue-i18n-kXHiDb_1.js";
|
|
10
|
+
import { m as wn } from "./index-DzbVgUEP.js";
|
|
11
|
+
import { C as Xe } from "./timezone-O4qrCDcK.js";
|
|
12
|
+
import { u as Tn } from "./onboarding-C_5pyGx-.js";
|
|
13
|
+
import { R as p, A as kn, a as Qe } from "./app-CqQeNnGq.js";
|
|
14
14
|
import { J as bn } from "./JsonViewer-v8_C7l5N.js";
|
|
15
|
-
import { r as Le, L as En, g as kt, i as Sn, a as Rn, _ as Ze, C as et, b as An, S as se, c as A, d as X, E as Fe, e as Pn, f as bt, h as Cn, j as Nn, k as Et, l as w, m as On, F as Ve, n as Ln, q as oe, o as Mn, p as Un, s as Dn, t as xn, u as Fn } from "./index.esm2017-
|
|
15
|
+
import { r as Le, L as En, g as kt, i as Sn, a as Rn, _ as Ze, C as et, b as An, S as se, c as A, d as X, E as Fe, e as Pn, f as bt, h as Cn, j as Nn, k as Et, l as w, m as On, F as Ve, n as Ln, q as oe, o as Mn, p as Un, s as Dn, t as xn, u as Fn } from "./index.esm2017-vJKhLfdu.js";
|
|
16
16
|
import { _ as $e } from "./tslib.es6-BCqqvLQ_.js";
|
|
17
|
-
import { S as tt, c as Vn } from "./index-
|
|
18
|
-
const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" },
|
|
17
|
+
import { S as tt, c as Vn } from "./index-BvkqHehI.js";
|
|
18
|
+
const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, jn = /* @__PURE__ */ xe({
|
|
19
19
|
__name: "NavigationTab",
|
|
20
20
|
setup(n) {
|
|
21
21
|
const { t: e, locale: t } = Tt(), i = Tn(), r = _n(), s = te(), o = [
|
|
@@ -38,10 +38,6 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
38
38
|
{
|
|
39
39
|
label: e("connect.navigation.broadcast"),
|
|
40
40
|
value: p["$connect-CAMPAIGN_BROADCAST"]
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: e("connect.navigation.grab"),
|
|
44
|
-
value: p["$connect-CAMPAIGN_GRAB"]
|
|
45
41
|
}
|
|
46
42
|
]
|
|
47
43
|
},
|
|
@@ -64,7 +60,7 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
64
60
|
{
|
|
65
61
|
label: e("connect.navigation.point"),
|
|
66
62
|
value: p["$connect-PROGRAM_POINT"],
|
|
67
|
-
badge: () => U(
|
|
63
|
+
badge: () => U(j.FmPill, { variant: "premium" })
|
|
68
64
|
},
|
|
69
65
|
{
|
|
70
66
|
label: e("connect.navigation.credit"),
|
|
@@ -73,7 +69,7 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
73
69
|
{
|
|
74
70
|
label: e("connect.navigation.game"),
|
|
75
71
|
value: p["$connect-PROGRAM_GAME"],
|
|
76
|
-
badge: () => U(
|
|
72
|
+
badge: () => U(j.FmPill, { variant: "premium" })
|
|
77
73
|
},
|
|
78
74
|
{
|
|
79
75
|
label: "Mission",
|
|
@@ -92,24 +88,24 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
92
88
|
{
|
|
93
89
|
label: e("connect.navigation.segments"),
|
|
94
90
|
value: p["$connect-LOYALTY_SEGMENT"],
|
|
95
|
-
badge: () => U(
|
|
91
|
+
badge: () => U(j.FmPill, { variant: "premium" })
|
|
96
92
|
},
|
|
97
93
|
{
|
|
98
94
|
label: e("connect.navigation.card"),
|
|
99
95
|
value: p["$connect-LOYALTY_CARD"],
|
|
100
|
-
badge: () => U(
|
|
96
|
+
badge: () => U(j.FmPill, { variant: "premium" })
|
|
101
97
|
}
|
|
102
98
|
]
|
|
103
99
|
},
|
|
104
100
|
{
|
|
105
101
|
label: e("connect.navigation.whatsappBot"),
|
|
106
102
|
value: p["$connect-WHATSAPP"],
|
|
107
|
-
badge: () => U(
|
|
103
|
+
badge: () => U(j.FmPill, { variant: "beta" })
|
|
108
104
|
},
|
|
109
105
|
{
|
|
110
106
|
label: e("connect.navigation.referral"),
|
|
111
107
|
value: p["$connect-REFERRAL"],
|
|
112
|
-
badge: () => U(
|
|
108
|
+
badge: () => U(j.FmPill, { variant: "premium" })
|
|
113
109
|
},
|
|
114
110
|
{
|
|
115
111
|
label: e("connect.navigation.store"),
|
|
@@ -123,10 +119,6 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
123
119
|
label: e("connect.navigation.marketingMaterials"),
|
|
124
120
|
value: p["$connect-MARKETING"]
|
|
125
121
|
},
|
|
126
|
-
{
|
|
127
|
-
label: e("connect.navigation.auditLogs"),
|
|
128
|
-
value: p["$connect-AUDIT_LOGS"]
|
|
129
|
-
},
|
|
130
122
|
{
|
|
131
123
|
label: e("connect.navigation.review"),
|
|
132
124
|
value: p["$connect-REVIEW"]
|
|
@@ -134,7 +126,7 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
134
126
|
{
|
|
135
127
|
label: e("connect.navigation.goals"),
|
|
136
128
|
value: p["$connect-GOALS"],
|
|
137
|
-
badge: () => i.goalsRemaining > 0 ? U(
|
|
129
|
+
badge: () => i.goalsRemaining > 0 ? U(j.FmBadge, {
|
|
138
130
|
variant: "numeric",
|
|
139
131
|
inline: !0,
|
|
140
132
|
value: i.goalsRemaining
|
|
@@ -182,7 +174,7 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
182
174
|
return (h, f) => {
|
|
183
175
|
var v;
|
|
184
176
|
const g = ee("FmCollapsibleTabs");
|
|
185
|
-
return
|
|
177
|
+
return W(), me("div", $n, [
|
|
186
178
|
S(g, {
|
|
187
179
|
class: "border-fm-color-neutral-gray-100 border-r px-4",
|
|
188
180
|
"model-value": (v = _(s)) == null ? void 0 : v.toString(),
|
|
@@ -197,20 +189,20 @@ const $n = { class: "flex flex-col h-full justify-between py-16" }, Hn = { class
|
|
|
197
189
|
};
|
|
198
190
|
}
|
|
199
191
|
}), St = "feedme_connect_marketing_promo_hidden";
|
|
200
|
-
function
|
|
192
|
+
function Wn() {
|
|
201
193
|
try {
|
|
202
194
|
return localStorage.getItem(St) !== null;
|
|
203
195
|
} catch {
|
|
204
196
|
return !1;
|
|
205
197
|
}
|
|
206
198
|
}
|
|
207
|
-
function
|
|
199
|
+
function Bn() {
|
|
208
200
|
try {
|
|
209
201
|
localStorage.setItem(St, (/* @__PURE__ */ new Date()).toISOString());
|
|
210
202
|
} catch {
|
|
211
203
|
}
|
|
212
204
|
}
|
|
213
|
-
const
|
|
205
|
+
const Gn = { class: "flex flex-col gap-12" }, zn = { class: "fm-corner-radius-xxl bg-fm-color-primary-oats flex items-start gap-4 self-start px-12 py-4" }, qn = { class: "fm-typo-en-body-sm-600 text-fm-color-primary" }, Kn = { class: "fm-typo-en-title-sm-800 max-w-[560px] leading-[42px]" }, Jn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary max-w-[600px]" }, Yn = { class: "flex flex-col gap-24 pb-8" }, Xn = { class: "grid grid-cols-1 gap-16 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-3" }, Qn = { class: "fm-corner-radius-sm bg-fm-color-primary-oats flex h-40 w-40 shrink-0 items-center justify-center" }, Zn = { class: "fm-typo-en-body-lg-600" }, ei = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, ti = { class: "shrink-0" }, ni = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ii = { class: "flex w-full flex-col gap-12 px-[16px]" }, ri = { class: "flex flex-wrap items-center gap-12" }, si = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary" }, oi = /* @__PURE__ */ xe({
|
|
214
206
|
__name: "AiMarketingPromoDialog",
|
|
215
207
|
setup(n) {
|
|
216
208
|
let e = !1;
|
|
@@ -237,7 +229,7 @@ const Bn = { class: "flex flex-col gap-12" }, zn = { class: "fm-corner-radius-xx
|
|
|
237
229
|
ie(
|
|
238
230
|
l,
|
|
239
231
|
(T) => {
|
|
240
|
-
d || !T || (d = !0, !(
|
|
232
|
+
d || !T || (d = !0, !(Wn() || e) && (e = !0, o.value = !0));
|
|
241
233
|
},
|
|
242
234
|
{ immediate: !0 }
|
|
243
235
|
);
|
|
@@ -245,11 +237,11 @@ const Bn = { class: "flex flex-col gap-12" }, zn = { class: "fm-corner-radius-xx
|
|
|
245
237
|
o.value = !1, await i.push({ name: p["$connect-MARKETING"] });
|
|
246
238
|
}
|
|
247
239
|
function y() {
|
|
248
|
-
|
|
240
|
+
Bn(), o.value = !1;
|
|
249
241
|
}
|
|
250
242
|
return (T, h) => {
|
|
251
243
|
const f = ee("FmIcon"), g = ee("FmCard"), v = ee("FmButton"), M = ee("FmDialog");
|
|
252
|
-
return
|
|
244
|
+
return W(), Oe(M, {
|
|
253
245
|
modelValue: o.value,
|
|
254
246
|
"onUpdate:modelValue": h[0] || (h[0] = (k) => o.value = k),
|
|
255
247
|
"min-width": "min(500px, calc(100% - 48px))",
|
|
@@ -258,7 +250,7 @@ const Bn = { class: "flex flex-col gap-12" }, zn = { class: "fm-corner-radius-xx
|
|
|
258
250
|
"dismiss-away": ""
|
|
259
251
|
}, {
|
|
260
252
|
"dialog-header": Z(() => [
|
|
261
|
-
I("div",
|
|
253
|
+
I("div", Gn, [
|
|
262
254
|
I("div", zn, [
|
|
263
255
|
S(f, {
|
|
264
256
|
name: "auto_awesome",
|
|
@@ -294,7 +286,7 @@ const Bn = { class: "flex flex-col gap-12" }, zn = { class: "fm-corner-radius-xx
|
|
|
294
286
|
default: Z(() => [
|
|
295
287
|
I("div", Yn, [
|
|
296
288
|
I("div", Xn, [
|
|
297
|
-
(
|
|
289
|
+
(W(), me(It, null, ln(c, (k) => S(g, {
|
|
298
290
|
key: k.key,
|
|
299
291
|
variant: "outlined",
|
|
300
292
|
class: "!h-full flex flex-col gap-8 p-16"
|
|
@@ -537,7 +529,7 @@ class ae {
|
|
|
537
529
|
* See the License for the specific language governing permissions and
|
|
538
530
|
* limitations under the License.
|
|
539
531
|
*/
|
|
540
|
-
function
|
|
532
|
+
function je(n, e) {
|
|
541
533
|
L(n.emulator, "Emulator should always be set here");
|
|
542
534
|
const { url: t } = n.emulator;
|
|
543
535
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
|
@@ -768,7 +760,7 @@ async function Ot(n, e, t, i, r = {}) {
|
|
|
768
760
|
}
|
|
769
761
|
function Lt(n, e, t, i) {
|
|
770
762
|
const r = `${e}${t}?${i}`;
|
|
771
|
-
return n.config.emulator ?
|
|
763
|
+
return n.config.emulator ? je(n.config, r) : `${n.config.apiScheme}://${r}`;
|
|
772
764
|
}
|
|
773
765
|
class gi {
|
|
774
766
|
constructor(e) {
|
|
@@ -840,7 +832,7 @@ function ne(n) {
|
|
|
840
832
|
}
|
|
841
833
|
}
|
|
842
834
|
async function vi(n, e = !1) {
|
|
843
|
-
const t = X(n), i = await t.getIdToken(e), r =
|
|
835
|
+
const t = X(n), i = await t.getIdToken(e), r = We(i);
|
|
844
836
|
u(
|
|
845
837
|
r && r.exp && r.auth_time && r.iat,
|
|
846
838
|
t.auth,
|
|
@@ -861,7 +853,7 @@ async function vi(n, e = !1) {
|
|
|
861
853
|
function Ce(n) {
|
|
862
854
|
return Number(n) * 1e3;
|
|
863
855
|
}
|
|
864
|
-
function
|
|
856
|
+
function We(n) {
|
|
865
857
|
const [e, t, i] = n.split(".");
|
|
866
858
|
if (e === void 0 || t === void 0 || i === void 0)
|
|
867
859
|
return de("JWT malformed, contained fewer than 3 sections"), null;
|
|
@@ -873,7 +865,7 @@ function je(n) {
|
|
|
873
865
|
}
|
|
874
866
|
}
|
|
875
867
|
function it(n) {
|
|
876
|
-
const e =
|
|
868
|
+
const e = We(n);
|
|
877
869
|
return u(
|
|
878
870
|
e,
|
|
879
871
|
"internal-error"
|
|
@@ -1572,9 +1564,9 @@ function ot(n) {
|
|
|
1572
1564
|
return "Silk";
|
|
1573
1565
|
if (Ht(e))
|
|
1574
1566
|
return "Blackberry";
|
|
1575
|
-
if (
|
|
1567
|
+
if (jt(e))
|
|
1576
1568
|
return "Webos";
|
|
1577
|
-
if (
|
|
1569
|
+
if (Be(e))
|
|
1578
1570
|
return "Safari";
|
|
1579
1571
|
if ((e.includes("chrome/") || Ft(e)) && !e.includes("edge/"))
|
|
1580
1572
|
return "Chrome";
|
|
@@ -1590,7 +1582,7 @@ function ot(n) {
|
|
|
1590
1582
|
function xt(n = w()) {
|
|
1591
1583
|
return /firefox\//i.test(n);
|
|
1592
1584
|
}
|
|
1593
|
-
function
|
|
1585
|
+
function Be(n = w()) {
|
|
1594
1586
|
const e = n.toLowerCase();
|
|
1595
1587
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
|
1596
1588
|
}
|
|
@@ -1606,7 +1598,7 @@ function $t(n = w()) {
|
|
|
1606
1598
|
function Ht(n = w()) {
|
|
1607
1599
|
return /blackberry/i.test(n);
|
|
1608
1600
|
}
|
|
1609
|
-
function
|
|
1601
|
+
function jt(n = w()) {
|
|
1610
1602
|
return /webos/i.test(n);
|
|
1611
1603
|
}
|
|
1612
1604
|
function ke(n = w()) {
|
|
@@ -1619,8 +1611,8 @@ function Ei(n = w()) {
|
|
|
1619
1611
|
function Si() {
|
|
1620
1612
|
return Mn() && document.documentMode === 10;
|
|
1621
1613
|
}
|
|
1622
|
-
function
|
|
1623
|
-
return ke(n) || $t(n) ||
|
|
1614
|
+
function Wt(n = w()) {
|
|
1615
|
+
return ke(n) || $t(n) || jt(n) || Ht(n) || /windows phone/i.test(n) || Vt(n);
|
|
1624
1616
|
}
|
|
1625
1617
|
function Ri() {
|
|
1626
1618
|
try {
|
|
@@ -1645,7 +1637,7 @@ function Ri() {
|
|
|
1645
1637
|
* See the License for the specific language governing permissions and
|
|
1646
1638
|
* limitations under the License.
|
|
1647
1639
|
*/
|
|
1648
|
-
function
|
|
1640
|
+
function Bt(n, e = []) {
|
|
1649
1641
|
let t;
|
|
1650
1642
|
switch (n) {
|
|
1651
1643
|
case "Browser":
|
|
@@ -2138,7 +2130,7 @@ class Oi {
|
|
|
2138
2130
|
), this.persistenceManager;
|
|
2139
2131
|
}
|
|
2140
2132
|
_logFramework(e) {
|
|
2141
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
|
2133
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = Bt(this.config.clientPlatform, this._getFrameworks()));
|
|
2142
2134
|
}
|
|
2143
2135
|
_getFrameworks() {
|
|
2144
2136
|
return this.frameworks;
|
|
@@ -2203,7 +2195,7 @@ class at {
|
|
|
2203
2195
|
* See the License for the specific language governing permissions and
|
|
2204
2196
|
* limitations under the License.
|
|
2205
2197
|
*/
|
|
2206
|
-
let
|
|
2198
|
+
let Ge = {
|
|
2207
2199
|
async loadJS() {
|
|
2208
2200
|
throw new Error("Unable to load external scripts");
|
|
2209
2201
|
},
|
|
@@ -2212,13 +2204,13 @@ let Be = {
|
|
|
2212
2204
|
gapiScript: ""
|
|
2213
2205
|
};
|
|
2214
2206
|
function Li(n) {
|
|
2215
|
-
|
|
2207
|
+
Ge = n;
|
|
2216
2208
|
}
|
|
2217
2209
|
function Mi(n) {
|
|
2218
|
-
return
|
|
2210
|
+
return Ge.loadJS(n);
|
|
2219
2211
|
}
|
|
2220
2212
|
function Ui() {
|
|
2221
|
-
return
|
|
2213
|
+
return Ge.gapiScript;
|
|
2222
2214
|
}
|
|
2223
2215
|
function Di(n) {
|
|
2224
2216
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
|
@@ -2270,7 +2262,7 @@ function Vi(n, e, t) {
|
|
|
2270
2262
|
"invalid-emulator-scheme"
|
|
2271
2263
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
|
2272
2264
|
);
|
|
2273
|
-
const r = !1, s =
|
|
2265
|
+
const r = !1, s = Gt(e), { host: o, port: c } = $i(e), a = c === null ? "" : `:${c}`;
|
|
2274
2266
|
i.config.emulator = { url: `${s}//${o}${a}/` }, i.settings.appVerificationDisabledForTesting = !0, i.emulatorConfig = Object.freeze({
|
|
2275
2267
|
host: o,
|
|
2276
2268
|
port: c,
|
|
@@ -2278,12 +2270,12 @@ function Vi(n, e, t) {
|
|
|
2278
2270
|
options: Object.freeze({ disableWarnings: r })
|
|
2279
2271
|
}), Hi();
|
|
2280
2272
|
}
|
|
2281
|
-
function
|
|
2273
|
+
function Gt(n) {
|
|
2282
2274
|
const e = n.indexOf(":");
|
|
2283
2275
|
return e < 0 ? "" : n.substr(0, e + 1);
|
|
2284
2276
|
}
|
|
2285
2277
|
function $i(n) {
|
|
2286
|
-
const e =
|
|
2278
|
+
const e = Gt(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
|
2287
2279
|
if (!t)
|
|
2288
2280
|
return { host: "", port: null };
|
|
2289
2281
|
const i = t[2].split("@").pop() || "", r = /^(\[[^\]]+\])(:|$)/.exec(i);
|
|
@@ -2385,14 +2377,14 @@ async function J(n, e) {
|
|
|
2385
2377
|
* See the License for the specific language governing permissions and
|
|
2386
2378
|
* limitations under the License.
|
|
2387
2379
|
*/
|
|
2388
|
-
const
|
|
2389
|
-
class
|
|
2380
|
+
const ji = "http://localhost";
|
|
2381
|
+
class B extends zt {
|
|
2390
2382
|
constructor() {
|
|
2391
2383
|
super(...arguments), this.pendingToken = null;
|
|
2392
2384
|
}
|
|
2393
2385
|
/** @internal */
|
|
2394
2386
|
static _fromParams(e) {
|
|
2395
|
-
const t = new
|
|
2387
|
+
const t = new B(e.providerId, e.signInMethod);
|
|
2396
2388
|
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) : O(
|
|
2397
2389
|
"argument-error"
|
|
2398
2390
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
|
@@ -2423,7 +2415,7 @@ class G extends zt {
|
|
|
2423
2415
|
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: i, signInMethod: r } = t, s = $e(t, ["providerId", "signInMethod"]);
|
|
2424
2416
|
if (!i || !r)
|
|
2425
2417
|
return null;
|
|
2426
|
-
const o = new
|
|
2418
|
+
const o = new B(i, r);
|
|
2427
2419
|
return o.idToken = s.idToken || void 0, o.accessToken = s.accessToken || void 0, o.secret = s.secret, o.nonce = s.nonce, o.pendingToken = s.pendingToken || null, o;
|
|
2428
2420
|
}
|
|
2429
2421
|
/** @internal */
|
|
@@ -2443,7 +2435,7 @@ class G extends zt {
|
|
|
2443
2435
|
}
|
|
2444
2436
|
buildRequest() {
|
|
2445
2437
|
const e = {
|
|
2446
|
-
requestUri:
|
|
2438
|
+
requestUri: ji,
|
|
2447
2439
|
returnSecureToken: !0
|
|
2448
2440
|
};
|
|
2449
2441
|
if (this.pendingToken)
|
|
@@ -2579,7 +2571,7 @@ class x extends ce {
|
|
|
2579
2571
|
* @param accessToken - Facebook access token.
|
|
2580
2572
|
*/
|
|
2581
2573
|
static credential(e) {
|
|
2582
|
-
return
|
|
2574
|
+
return B._fromParams({
|
|
2583
2575
|
providerId: x.PROVIDER_ID,
|
|
2584
2576
|
signInMethod: x.FACEBOOK_SIGN_IN_METHOD,
|
|
2585
2577
|
accessToken: e
|
|
@@ -2651,7 +2643,7 @@ class F extends ce {
|
|
|
2651
2643
|
* @param accessToken - Google access token.
|
|
2652
2644
|
*/
|
|
2653
2645
|
static credential(e, t) {
|
|
2654
|
-
return
|
|
2646
|
+
return B._fromParams({
|
|
2655
2647
|
providerId: F.PROVIDER_ID,
|
|
2656
2648
|
signInMethod: F.GOOGLE_SIGN_IN_METHOD,
|
|
2657
2649
|
idToken: e,
|
|
@@ -2719,7 +2711,7 @@ class V extends ce {
|
|
|
2719
2711
|
* @param accessToken - Github access token.
|
|
2720
2712
|
*/
|
|
2721
2713
|
static credential(e) {
|
|
2722
|
-
return
|
|
2714
|
+
return B._fromParams({
|
|
2723
2715
|
providerId: V.PROVIDER_ID,
|
|
2724
2716
|
signInMethod: V.GITHUB_SIGN_IN_METHOD,
|
|
2725
2717
|
accessToken: e
|
|
@@ -2784,7 +2776,7 @@ class $ extends ce {
|
|
|
2784
2776
|
* @param secret - Twitter secret.
|
|
2785
2777
|
*/
|
|
2786
2778
|
static credential(e, t) {
|
|
2787
|
-
return
|
|
2779
|
+
return B._fromParams({
|
|
2788
2780
|
providerId: $.PROVIDER_ID,
|
|
2789
2781
|
signInMethod: $.TWITTER_SIGN_IN_METHOD,
|
|
2790
2782
|
oauthToken: e,
|
|
@@ -2839,13 +2831,13 @@ $.PROVIDER_ID = "twitter.com";
|
|
|
2839
2831
|
* See the License for the specific language governing permissions and
|
|
2840
2832
|
* limitations under the License.
|
|
2841
2833
|
*/
|
|
2842
|
-
class
|
|
2834
|
+
class G {
|
|
2843
2835
|
constructor(e) {
|
|
2844
2836
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
|
2845
2837
|
}
|
|
2846
2838
|
static async _fromIdTokenResponse(e, t, i, r = !1) {
|
|
2847
2839
|
const s = await C._fromIdTokenResponse(e, i, r), o = lt(i);
|
|
2848
|
-
return new
|
|
2840
|
+
return new G({
|
|
2849
2841
|
user: s,
|
|
2850
2842
|
providerId: o,
|
|
2851
2843
|
_tokenResponse: i,
|
|
@@ -2859,7 +2851,7 @@ class B {
|
|
|
2859
2851
|
!0
|
|
2860
2852
|
);
|
|
2861
2853
|
const r = lt(i);
|
|
2862
|
-
return new
|
|
2854
|
+
return new G({
|
|
2863
2855
|
user: e,
|
|
2864
2856
|
providerId: r,
|
|
2865
2857
|
_tokenResponse: i,
|
|
@@ -2905,9 +2897,9 @@ function Kt(n, e, t, i) {
|
|
|
2905
2897
|
throw s.code === "auth/multi-factor-auth-required" ? Ie._fromErrorAndOperation(n, s, e, i) : s;
|
|
2906
2898
|
});
|
|
2907
2899
|
}
|
|
2908
|
-
async function
|
|
2900
|
+
async function Wi(n, e, t = !1) {
|
|
2909
2901
|
const i = await re(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
|
|
2910
|
-
return
|
|
2902
|
+
return G._forOperation(n, "link", i);
|
|
2911
2903
|
}
|
|
2912
2904
|
/**
|
|
2913
2905
|
* @license
|
|
@@ -2925,7 +2917,7 @@ async function ji(n, e, t = !1) {
|
|
|
2925
2917
|
* See the License for the specific language governing permissions and
|
|
2926
2918
|
* limitations under the License.
|
|
2927
2919
|
*/
|
|
2928
|
-
async function
|
|
2920
|
+
async function Bi(n, e, t = !1) {
|
|
2929
2921
|
const { auth: i } = n;
|
|
2930
2922
|
if (A(i.app))
|
|
2931
2923
|
return Promise.reject(H(i));
|
|
@@ -2938,7 +2930,7 @@ async function Gi(n, e, t = !1) {
|
|
|
2938
2930
|
"internal-error"
|
|
2939
2931
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
2940
2932
|
);
|
|
2941
|
-
const o =
|
|
2933
|
+
const o = We(s.idToken);
|
|
2942
2934
|
u(
|
|
2943
2935
|
o,
|
|
2944
2936
|
i,
|
|
@@ -2951,7 +2943,7 @@ async function Gi(n, e, t = !1) {
|
|
|
2951
2943
|
i,
|
|
2952
2944
|
"user-mismatch"
|
|
2953
2945
|
/* AuthErrorCode.USER_MISMATCH */
|
|
2954
|
-
),
|
|
2946
|
+
), G._forOperation(n, r, s);
|
|
2955
2947
|
} catch (s) {
|
|
2956
2948
|
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && O(
|
|
2957
2949
|
i,
|
|
@@ -2976,10 +2968,10 @@ async function Gi(n, e, t = !1) {
|
|
|
2976
2968
|
* See the License for the specific language governing permissions and
|
|
2977
2969
|
* limitations under the License.
|
|
2978
2970
|
*/
|
|
2979
|
-
async function
|
|
2971
|
+
async function Gi(n, e, t = !1) {
|
|
2980
2972
|
if (A(n.app))
|
|
2981
2973
|
return Promise.reject(H(n));
|
|
2982
|
-
const i = "signIn", r = await Kt(n, i, e), s = await
|
|
2974
|
+
const i = "signIn", r = await Kt(n, i, e), s = await G._fromIdTokenResponse(n, i, r);
|
|
2983
2975
|
return t || await n._updateCurrentUser(s.user), s;
|
|
2984
2976
|
}
|
|
2985
2977
|
/**
|
|
@@ -3023,7 +3015,7 @@ async function qi(n, e) {
|
|
|
3023
3015
|
const t = be(n), i = await zi(t, {
|
|
3024
3016
|
token: e,
|
|
3025
3017
|
returnSecureToken: !0
|
|
3026
|
-
}), r = await
|
|
3018
|
+
}), r = await G._fromIdTokenResponse(t, "signIn", i);
|
|
3027
3019
|
return await t._updateCurrentUser(r.user), r;
|
|
3028
3020
|
}
|
|
3029
3021
|
function Ki(n, e, t, i) {
|
|
@@ -3092,7 +3084,7 @@ class Jt {
|
|
|
3092
3084
|
*/
|
|
3093
3085
|
function Yi() {
|
|
3094
3086
|
const n = w();
|
|
3095
|
-
return
|
|
3087
|
+
return Be(n) || ke(n);
|
|
3096
3088
|
}
|
|
3097
3089
|
const Xi = 1e3, Qi = 10;
|
|
3098
3090
|
class Yt extends Jt {
|
|
@@ -3101,7 +3093,7 @@ class Yt extends Jt {
|
|
|
3101
3093
|
() => window.localStorage,
|
|
3102
3094
|
"LOCAL"
|
|
3103
3095
|
/* PersistenceType.LOCAL */
|
|
3104
|
-
), this.boundEventHandler = (e, t) => this.onStorageEvent(e, t), this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.safariLocalStorageNotSynced = Yi() && Ri(), this.fallbackToPolling =
|
|
3096
|
+
), this.boundEventHandler = (e, t) => this.onStorageEvent(e, t), this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.safariLocalStorageNotSynced = Yi() && Ri(), this.fallbackToPolling = Wt(), this._shouldAllowMigration = !0;
|
|
3105
3097
|
}
|
|
3106
3098
|
forAllChangedKeys(e) {
|
|
3107
3099
|
for (const t of Object.keys(this.listeners)) {
|
|
@@ -3799,7 +3791,7 @@ class qe extends zt {
|
|
|
3799
3791
|
}
|
|
3800
3792
|
}
|
|
3801
3793
|
function fr(n) {
|
|
3802
|
-
return
|
|
3794
|
+
return Gi(n.auth, new qe(n), n.bypassAuthState);
|
|
3803
3795
|
}
|
|
3804
3796
|
function pr(n) {
|
|
3805
3797
|
const { auth: e, user: t } = n;
|
|
@@ -3808,7 +3800,7 @@ function pr(n) {
|
|
|
3808
3800
|
e,
|
|
3809
3801
|
"internal-error"
|
|
3810
3802
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
3811
|
-
),
|
|
3803
|
+
), Bi(t, new qe(n), n.bypassAuthState);
|
|
3812
3804
|
}
|
|
3813
3805
|
async function mr(n) {
|
|
3814
3806
|
const { auth: e, user: t } = n;
|
|
@@ -3817,7 +3809,7 @@ async function mr(n) {
|
|
|
3817
3809
|
e,
|
|
3818
3810
|
"internal-error"
|
|
3819
3811
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
3820
|
-
),
|
|
3812
|
+
), Wi(t, new qe(n), n.bypassAuthState);
|
|
3821
3813
|
}
|
|
3822
3814
|
/**
|
|
3823
3815
|
* @license
|
|
@@ -4315,7 +4307,7 @@ function $r(n) {
|
|
|
4315
4307
|
"auth-domain-config-required"
|
|
4316
4308
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
|
4317
4309
|
);
|
|
4318
|
-
const t = e.emulator ?
|
|
4310
|
+
const t = e.emulator ? je(e, xr) : `https://${n.config.authDomain}/${Dr}`, i = {
|
|
4319
4311
|
apiKey: e.apiKey,
|
|
4320
4312
|
appName: n.name,
|
|
4321
4313
|
v: se
|
|
@@ -4373,12 +4365,12 @@ async function Hr(n) {
|
|
|
4373
4365
|
* See the License for the specific language governing permissions and
|
|
4374
4366
|
* limitations under the License.
|
|
4375
4367
|
*/
|
|
4376
|
-
const
|
|
4368
|
+
const jr = {
|
|
4377
4369
|
location: "yes",
|
|
4378
4370
|
resizable: "yes",
|
|
4379
4371
|
statusbar: "yes",
|
|
4380
4372
|
toolbar: "no"
|
|
4381
|
-
},
|
|
4373
|
+
}, Wr = 500, Br = 600, Gr = "_blank", zr = "http://localhost";
|
|
4382
4374
|
class pt {
|
|
4383
4375
|
constructor(e) {
|
|
4384
4376
|
this.window = e, this.associatedEvent = null;
|
|
@@ -4391,16 +4383,16 @@ class pt {
|
|
|
4391
4383
|
}
|
|
4392
4384
|
}
|
|
4393
4385
|
}
|
|
4394
|
-
function qr(n, e, t, i =
|
|
4386
|
+
function qr(n, e, t, i = Wr, r = Br) {
|
|
4395
4387
|
const s = Math.max((window.screen.availHeight - r) / 2, 0).toString(), o = Math.max((window.screen.availWidth - i) / 2, 0).toString();
|
|
4396
4388
|
let c = "";
|
|
4397
|
-
const a = Object.assign(Object.assign({},
|
|
4389
|
+
const a = Object.assign(Object.assign({}, jr), {
|
|
4398
4390
|
width: i.toString(),
|
|
4399
4391
|
height: r.toString(),
|
|
4400
4392
|
top: s,
|
|
4401
4393
|
left: o
|
|
4402
4394
|
}), l = w().toLowerCase();
|
|
4403
|
-
t && (c = Ft(l) ?
|
|
4395
|
+
t && (c = Ft(l) ? Gr : t), xt(l) && (e = e || zr, a.scrollbars = "yes");
|
|
4404
4396
|
const d = Object.entries(a).reduce((y, [T, h]) => `${y}${T}=${h},`, "");
|
|
4405
4397
|
if (Ei(l) && c !== "_self")
|
|
4406
4398
|
return Kr(e || "", c), new pt(null);
|
|
@@ -4477,7 +4469,7 @@ async function mt(n, e, t, i, r, s) {
|
|
|
4477
4469
|
return `${Qr(n)}?${oe(c).slice(1)}${l}`;
|
|
4478
4470
|
}
|
|
4479
4471
|
function Qr({ config: n }) {
|
|
4480
|
-
return n.emulator ?
|
|
4472
|
+
return n.emulator ? je(n, Yr) : `https://${n.authDomain}/${Jr}`;
|
|
4481
4473
|
}
|
|
4482
4474
|
/**
|
|
4483
4475
|
* @license
|
|
@@ -4553,7 +4545,7 @@ class Zr {
|
|
|
4553
4545
|
return this.originValidationPromises[t] || (this.originValidationPromises[t] = Cr(e)), this.originValidationPromises[t];
|
|
4554
4546
|
}
|
|
4555
4547
|
get _shouldInitProactively() {
|
|
4556
|
-
return
|
|
4548
|
+
return Wt() || Be() || ke();
|
|
4557
4549
|
}
|
|
4558
4550
|
}
|
|
4559
4551
|
const es = Zr;
|
|
@@ -4654,7 +4646,7 @@ function is(n) {
|
|
|
4654
4646
|
apiHost: "identitytoolkit.googleapis.com",
|
|
4655
4647
|
tokenApiHost: "securetoken.googleapis.com",
|
|
4656
4648
|
apiScheme: "https",
|
|
4657
|
-
sdkClientVersion:
|
|
4649
|
+
sdkClientVersion: Bt(n)
|
|
4658
4650
|
}, l = new Oi(i, r, s, a);
|
|
4659
4651
|
return Fi(l, t), l;
|
|
4660
4652
|
},
|
|
@@ -4761,7 +4753,7 @@ is(
|
|
|
4761
4753
|
"Browser"
|
|
4762
4754
|
/* ClientPlatform.BROWSER */
|
|
4763
4755
|
);
|
|
4764
|
-
var ls = { firebase: { apiKey: "
|
|
4756
|
+
var ls = { firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc", importFilesBucketUrl: "feedme-253402.appspot.com", clientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", featureFlagApiKey: "6GhcttsJ9Rj9cTevcdrpin" }, us = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedme.cc", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc", voucherAppUrl: "https://voucher.feedme.cc/" };
|
|
4765
4757
|
const ds = {
|
|
4766
4758
|
key: 2,
|
|
4767
4759
|
class: "h-full w-full"
|
|
@@ -4792,7 +4784,7 @@ const ds = {
|
|
|
4792
4784
|
await qi(v, g), Fn(f), console.log("initFirebase", f);
|
|
4793
4785
|
}
|
|
4794
4786
|
const h = async () => {
|
|
4795
|
-
d.value = !1, await dn(), console.log("forceRerender"), tt.setBusinessId(l.value._id), await i.readPremium(), !a.value && m.value === "v2" ? e.registerSidebarComponent(
|
|
4787
|
+
d.value = !1, await dn(), console.log("forceRerender"), tt.setBusinessId(l.value._id), await i.readPremium(), !a.value && m.value === "v2" ? e.registerSidebarComponent(jn) : e.hideSidebarToggle(!0), await T(), a.value = !0, d.value = !0;
|
|
4796
4788
|
};
|
|
4797
4789
|
return un(() => {
|
|
4798
4790
|
if (Vn.Config.setCountry(e.currentCountry.value || "MY"), t.initProvider(r, s), !c.value) {
|
|
@@ -4805,10 +4797,10 @@ const ds = {
|
|
|
4805
4797
|
async (f, g) => {
|
|
4806
4798
|
console.log("Current business changed"), f != null && f._id != g._id && (console.log("forceRerender when business changes", f, g), h());
|
|
4807
4799
|
}
|
|
4808
|
-
), (f, g) => (
|
|
4809
|
-
_(d) && _(m) === "v2" ? (
|
|
4810
|
-
_(d) && _(m) === "v2" && _(c) ? (
|
|
4811
|
-
_(d) && _(m) !== "v2" ? (
|
|
4800
|
+
), (f, g) => (W(), me(It, null, [
|
|
4801
|
+
_(d) && _(m) === "v2" ? (W(), Oe(_(hn), { key: 0 })) : Pe("", !0),
|
|
4802
|
+
_(d) && _(m) === "v2" && _(c) ? (W(), Oe(oi, { key: 1 })) : Pe("", !0),
|
|
4803
|
+
_(d) && _(m) !== "v2" ? (W(), me("div", ds, [
|
|
4812
4804
|
S(bn, {
|
|
4813
4805
|
json: { url: _(y) }
|
|
4814
4806
|
}, null, 8, ["json"]),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as C, ref as c, h as s, onMounted as x, resolveComponent as d, openBlock as S, createElementBlock as B, Fragment as M, createVNode as l, unref as o, createElementVNode as u } from "vue";
|
|
2
2
|
import { components as p } from "@feedmepos/ui-library";
|
|
3
|
-
import { u as K } from "./loading-
|
|
4
|
-
import { u as R } from "./business-
|
|
5
|
-
import { C as A } from "./campaign-
|
|
6
|
-
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as K } from "./loading-jZV2Dm--.js";
|
|
4
|
+
import { u as R } from "./business-gvLSQklz.js";
|
|
5
|
+
import { C as A } from "./campaign-BqazvOUj.js";
|
|
6
|
+
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJotVIKM.js";
|
|
7
7
|
import { _ as U } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
8
|
-
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as D } from "./vue-i18n-
|
|
8
|
+
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCEgZzA4.js";
|
|
9
|
+
import { u as D } from "./vue-i18n-kXHiDb_1.js";
|
|
10
10
|
import { h as E } from "./moment-D7p2TMB-.js";
|
|
11
|
-
import { p as I } from "./plugins-
|
|
12
|
-
import { c as g } from "./index-
|
|
11
|
+
import { p as I } from "./plugins-D1Ru-da5.js";
|
|
12
|
+
import { c as g } from "./index-ep_Kxxid.js";
|
|
13
13
|
const T = { class: "px-24 flex flex-col gap-y-16" }, $ = { class: "flex items-center justify-between w-full" }, j = { class: "flex gap-8 overflow-x-auto" }, oe = /* @__PURE__ */ C({
|
|
14
14
|
__name: "Bin",
|
|
15
15
|
setup(H) {
|