@feedmepos/mf-connect 0.1.118-dev → 0.1.119-dev
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-CBFNBDb2.js → App-z-u6skb5.js} +103 -99
- package/dist/{AuditLogs-BtSA8b08.js → AuditLogs-J0UJ3HJW.js} +12 -12
- package/dist/{Bin-CjmS_Tfn.js → Bin-Dh9RAgYi.js} +8 -8
- package/dist/{Broadcast-BeePmZa1.js → Broadcast-Dg6azPS8.js} +12 -12
- package/dist/{CampaignAnalytic-CZlnyvOi.js → CampaignAnalytic-CVB4dstO.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Du3Ah4HP.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DYgBeT23.js} +8 -8
- package/dist/{Card-C8SzQQ0z.js → Card-CY736Ul0.js} +22 -22
- package/dist/{Collections-BXNWTSZH.js → Collections-CdTKWkZZ.js} +8 -8
- package/dist/{Credit-CK0-0yD1.js → Credit-CUhEKlMI.js} +12 -12
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-BXYpYC7Y.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CBwgeTXh.js} +1 -1
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CdpnNDzR.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BC4jTtVY.js} +35 -35
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang--Oyj3KYg.js → EffectSheet.vue_vue_type_style_index_0_lang-D5-EKqG9.js} +6 -6
- package/dist/{Experience-CWJaj62g.js → Experience-CMp09U-6.js} +13 -13
- package/dist/{FileSaver.min-lV9H82L5.js → FileSaver.min-Bq5McdmK.js} +1 -1
- package/dist/{Game-zBV1LYAg.js → Game-Dv5NvG-q.js} +13 -13
- package/dist/{GiftCardSetup-Cnq9353j.js → GiftCardSetup-SO2Tk5In.js} +10 -10
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-CdgSBdrX.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-CgG5vHCp.js} +7 -7
- package/dist/{Goals-Utk08egN.js → Goals-BEwQP4cY.js} +4 -4
- package/dist/{Grab-DwMmWmbT.js → Grab-npbL7p7S.js} +9 -9
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CNPeU9xm.js → ImageInput.vue_vue_type_script_setup_true_lang-BDGEqsWE.js} +1 -1
- package/dist/{Index-Bjgs18xf.js → Index-8F2LOWng.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DWnf4lXH.js → LocationPicker.vue_vue_type_script_setup_true_lang-BwAjki7Y.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-Dy_oWJaZ.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DK4C0Y9j.js} +1 -1
- package/dist/{LoyaltyDashboard-DmUfujX_.js → LoyaltyDashboard-rWm0b8cm.js} +15 -15
- package/dist/{MainLayout-DlDZQJfy.js → MainLayout-ezbgp2IQ.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-yAflY70k.js → MainLayout.vue_vue_type_script_setup_true_lang-1QY5-U5y.js} +3 -3
- package/dist/{Marketing-B0iKlHP-.js → Marketing-DcWF4xVc.js} +4 -4
- package/dist/{MarketingMaterialEdit-BNHxVb8A.js → MarketingMaterialEdit-C1bXj_hU.js} +6 -6
- package/dist/{Member-Bcm3_pWB.js → Member-CgDZqGsV.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-CPp4OpOx.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dh1_j06F.js} +23 -23
- package/dist/{MemberImportHistory-AQgLzB3g.js → MemberImportHistory-DT3QJ5se.js} +7 -7
- package/dist/{MemberList-CkMTo2uD.js → MemberList-Bm05jnbk.js} +14 -14
- package/dist/{MemberTransactions-CxLCVjvw.js → MemberTransactions-D90tTpdC.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-4N20f8Sj.js → MessageInput.vue_vue_type_script_setup_true_lang-jvgjOXXA.js} +10 -10
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DghbYpSQ.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CxL-Nh6i.js} +1 -1
- package/dist/{Mission-CQS1CoDN.js → Mission-D_l2eJI3.js} +14 -14
- package/dist/{Overview-NQ287sgq.js → Overview-1AYfTeMD.js} +20 -20
- package/dist/{Overview-UG1IjY7-.js → Overview-BOZBnorP.js} +4 -4
- package/dist/{Point-krMa_mb1.js → Point-Cqy4XzeG.js} +14 -14
- package/dist/{Promotion-vFBmJSti.js → Promotion-9RDNbCgB.js} +14 -14
- package/dist/{Queue-BusxSPt-.js → Queue-D2Eie_np.js} +12 -12
- package/dist/{Record-DjKqn0za.js → Record-e4B--FD8.js} +9 -9
- package/dist/{Review-CqLp8l7U.js → Review-DcUpSvc-.js} +2 -2
- package/dist/{ReviewFacebookCallback-D2kMSVFC.js → ReviewFacebookCallback-BhHdYb4X.js} +5 -5
- package/dist/{ReviewGoogleCallback-B1cHR-o2.js → ReviewGoogleCallback-JPkamgo2.js} +5 -5
- package/dist/{Reward-FeSxgzuS.js → Reward-BQJw-R8V.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CCxVjBsO.js → RewardGroup.vue_vue_type_script_setup_true_lang-D_DSQ8q2.js} +13 -13
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-U403emCF.js → RuleGroup.vue_vue_type_script_setup_true_lang-DfWjXTx3.js} +14 -14
- package/dist/{Segment-Nj59F9Nr.js → Segment-Cjdqsqqg.js} +25 -25
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Kg9m-0DS.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-g-CJUZBF.js} +14 -14
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BLbDApPL.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-lbH0b170.js} +4 -4
- package/dist/{Setting-CCIzNxv-.js → Setting-B3HK4mtx.js} +14 -14
- package/dist/{SettingAdvertisements-CkPyAg5y.js → SettingAdvertisements-BQFJpdIm.js} +12 -12
- package/dist/{Settings-CYjKGCpa.js → Settings-DKWkiRuA.js} +5 -5
- package/dist/{Store-Bp8Zkzi2.js → Store-mp1LyXwr.js} +26 -26
- package/dist/{StoreRewards-DXW5nVyW.js → StoreRewards-DiSB6d7_.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BYVezFI2.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BAYKqf-Y.js} +24 -24
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CS6b1cM3.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-be7ksTJw.js} +2 -2
- package/dist/{Tier-B8Utn9Qb.js → Tier-CxaXh96q.js} +26 -26
- package/dist/{Title-CwaNSFer.js → Title-Byz0TGpi.js} +22 -22
- package/dist/{Transaction-ieciAdXP.js → Transaction-CNXulI3o.js} +2 -2
- package/dist/Upselling-Dto64bmE.js +1013 -0
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CMwZl4E6.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-C0bfVZf8.js} +6 -6
- package/dist/{Voucher-BKfujj6r.js → Voucher-CVw3E8Y4.js} +18 -18
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CkH-rNqZ.js → VoucherEditor.vue_vue_type_script_setup_true_lang-C0d3ktXA.js} +12 -12
- package/dist/{WhatsappAccount-D73WDP7a.js → WhatsappAccount-5vLzjaIV.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-C3L7vWZE.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CwGBRX-Q.js} +1 -1
- package/dist/{WhatsappBot-DTWZAXhi.js → WhatsappBot-BWJbD7Gk.js} +6 -6
- package/dist/{WhatsappBotLogs-DtDcrjs9.js → WhatsappBotLogs-C8gpmZyC.js} +6 -6
- package/dist/{WhatsappBotSettings-7_mH9U4y.js → WhatsappBotSettings-BvPnKHz-.js} +4 -4
- package/dist/{WhatsappLayout-BVpaFJ8H.js → WhatsappLayout-DJXhXeXf.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-CMeaNKJt.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-BxUYjrWQ.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BO1zA9AR.js → ZodTextField.vue_vue_type_script_setup_true_lang-CkjzVKif.js} +2 -2
- package/dist/{app-DX7OWVY2.js → app-BF1vds2J.js} +8560 -8537
- package/dist/app.js +1 -1
- package/dist/{base.export-bamzzexi.js → base.export-B7FU8J4P.js} +2 -2
- package/dist/{business-D3U9HSu9.js → business-DkUMhys1.js} +1 -1
- package/dist/{campaign-CKfeN2xN.js → campaign-0AgQP43B.js} +6 -6
- package/dist/{campaign-BqRf2VUO.js → campaign-C9cVkGMF.js} +8 -8
- package/dist/{campaign.fn-DQe5LZuT.js → campaign.fn-N6rJeDUx.js} +227 -227
- package/dist/{collection.fn-BcGqExuE.js → collection.fn-B_QnW0e3.js} +2 -2
- package/dist/{currency-sjMYWoI8.js → currency-XQmondpC.js} +1 -1
- package/dist/{duplicateCampaign-CJF3ZLNd.js → duplicateCampaign-CvQRWP-Z.js} +2 -2
- package/dist/{effect-Cv8ugBR3.js → effect-Mwn1x6qN.js} +1 -1
- package/dist/{email-addresses-CWqtseTn.js → email-addresses-DQQAi6-l.js} +2 -2
- package/dist/{feature-flag-BIh6MM4i.js → feature-flag-B1VMMZMd.js} +1 -1
- package/dist/{helper-WnxOxoRK.js → helper-D1R8vyjc.js} +1 -1
- package/dist/{index-qI1yx02a.js → index-BU6CU5MP.js} +14 -14
- package/dist/{index-ClvaVYkG.js → index-Bm43wR8L.js} +2 -2
- package/dist/{index-B3CkAr-6.js → index-Bym-ZIcv.js} +1 -1
- package/dist/{index-D3yYjyaj.js → index-C9Nbb7wc.js} +2 -2
- package/dist/{index-DzYFQGSw.js → index-CLlGMbnP.js} +1 -1
- package/dist/{index-CeafUn1o.js → index-CPB7j8Wn.js} +5 -5
- package/dist/{index-CDTETsXQ.js → index-CRAuAyO3.js} +1 -1
- package/dist/{index-DOgDR_QH.js → index-Cg8Z5eYT.js} +2 -2
- package/dist/{index-CiSTQhs9.js → index-CzE9ZPDV.js} +1 -1
- package/dist/{index-DqZX-A6e.js → index-D5BwAYuA.js} +3 -3
- package/dist/{index-DxhNNZ-a.js → index-DMfCzjiA.js} +2 -2
- package/dist/{index-iiWxryxo.js → index-DQnCdGWe.js} +4 -4
- package/dist/{index-BoAmM8QH.js → index-DaUhJ6xV.js} +2 -2
- package/dist/{index-BGguMtc0.js → index-P8DDRVa3.js} +1 -1
- package/dist/{index-5TTGGDnF.js → index-Rs75lw-x.js} +1 -1
- package/dist/{index-CnsSd5Dg.js → index-ZYrey0SM.js} +10 -10
- package/dist/{index-Bdg48Cus.js → index-eR9mqPPV.js} +2 -2
- package/dist/{index-B9XVyhtC.js → index-mOGrVzUV.js} +3 -3
- package/dist/{index-DDzi_-Lu.js → index-ug7pxPAX.js} +10 -10
- package/dist/{index-BtmVXdRR.js → index-ytSMcSMt.js} +1 -1
- package/dist/{index.esm2017-GI2alVO5.js → index.esm2017-Gkctw9Mb.js} +72 -72
- package/dist/{loading-Qx5K2WL0.js → loading-kUQqT44G.js} +1 -1
- package/dist/{lodash-CeSjJptg.js → lodash-B4AjV7YZ.js} +1 -1
- package/dist/{member-import-Cq8G7SsW.js → member-import-CwDUG5mj.js} +1 -1
- package/dist/{membership-BbeavSNs.js → membership-BI6U8-eM.js} +2 -2
- package/dist/{money-D8YIFaGA.js → money-Bum-AbB7.js} +1 -1
- package/dist/{number-DAubZ5bt.js → number-uAoNqG-N.js} +1 -1
- package/dist/{objectid-DeXFWDMh.js → objectid-CPTCMH2h.js} +12 -12
- package/dist/{onboarding-SyFxaTJY.js → onboarding-wtYzQipv.js} +20 -20
- package/dist/{onboardingSetup-CLpHlBn8.js → onboardingSetup-DlYM-oqd.js} +2 -2
- package/dist/{plugins-BHuaMEYA.js → plugins-BGyTPNfc.js} +3 -3
- package/dist/{reward-dYWnmAC8.js → reward-D0xtG-bp.js} +1 -1
- package/dist/{rule-BVsfOP2h.js → rule-BAA5-vRj.js} +9 -9
- package/dist/style.css +1 -1
- package/dist/{template-BcdtbhUJ.js → template-DKgW9ul3.js} +6 -6
- package/dist/{timezone-CUc7q5Ii.js → timezone-Bbw2OeEP.js} +1 -1
- package/dist/{transaction.fn-jF9u_cBy.js → transaction.fn-DZdNjP_E.js} +2 -2
- package/dist/{trigger-COlbQlaB.js → trigger-BpotFb7G.js} +7 -7
- package/dist/{useMarketingMaterialActions-Dq6-gsOW.js → useMarketingMaterialActions-CQ1M0N9c.js} +4 -4
- package/dist/{usePagination-BYZB6ORK.js → usePagination-qALFI_Td.js} +1 -1
- package/dist/{user-DK7L8VFR.js → user-X_94TRIK.js} +1 -1
- package/dist/{vue-i18n-CDSTH7g5.js → vue-i18n-CRFpVnMa.js} +162 -162
- package/dist/{xlsx-CKxXlDzD.js → xlsx-DW48eXDT.js} +1 -1
- package/dist/{zod-DjtAaF0U.js → zod-BAP9II5C.js} +1 -1
- package/package.json +3 -2
|
@@ -2,138 +2,142 @@ import { defineComponent as xe, ref as te, h as U, Comment as cn, computed as Y,
|
|
|
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 { u as gn, l as _n } from "./feature-flag-
|
|
7
|
-
import "./index-
|
|
5
|
+
import { u as mn } from "./business-DkUMhys1.js";
|
|
6
|
+
import { u as gn, l as _n } from "./feature-flag-B1VMMZMd.js";
|
|
7
|
+
import "./index-Bym-ZIcv.js";
|
|
8
8
|
import { components as W, useSnackbar as vn, useDialog as In } from "@feedmepos/ui-library";
|
|
9
|
-
import { u as Tt } from "./vue-i18n-
|
|
10
|
-
import { m as yn } from "./index-
|
|
11
|
-
import { C as Xe } from "./timezone-
|
|
12
|
-
import { u as wn } from "./onboarding-
|
|
13
|
-
import { R as
|
|
9
|
+
import { u as Tt } from "./vue-i18n-CRFpVnMa.js";
|
|
10
|
+
import { m as yn } from "./index-ytSMcSMt.js";
|
|
11
|
+
import { C as Xe } from "./timezone-Bbw2OeEP.js";
|
|
12
|
+
import { u as wn } from "./onboarding-wtYzQipv.js";
|
|
13
|
+
import { R as f, A as Tn, a as Qe } from "./app-BF1vds2J.js";
|
|
14
14
|
import { J as kn } from "./JsonViewer-v8_C7l5N.js";
|
|
15
|
-
import { r as Le, L as bn, g as kt, i as En, a as Sn, _ as Ze, C as et, b as Rn, S as se, c as A, d as X, E as Fe, e as An, f as bt, h as Pn, j as Cn, k as Et, l as w, m as Nn, F as Ve, n as On, q as oe, o as Ln, p as Mn, s as Un, t as Dn, u as xn } from "./index.esm2017-
|
|
15
|
+
import { r as Le, L as bn, g as kt, i as En, a as Sn, _ as Ze, C as et, b as Rn, S as se, c as A, d as X, E as Fe, e as An, f as bt, h as Pn, j as Cn, k as Et, l as w, m as Nn, F as Ve, n as On, q as oe, o as Ln, p as Mn, s as Un, t as Dn, u as xn } from "./index.esm2017-Gkctw9Mb.js";
|
|
16
16
|
import { _ as $e } from "./tslib.es6-BCqqvLQ_.js";
|
|
17
|
-
import { S as tt, c as Fn } from "./index-
|
|
17
|
+
import { S as tt, c as Fn } from "./index-CPB7j8Wn.js";
|
|
18
18
|
const Vn = { class: "flex flex-col h-full justify-between py-16" }, $n = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, Hn = /* @__PURE__ */ xe({
|
|
19
19
|
__name: "NavigationTab",
|
|
20
20
|
setup(n) {
|
|
21
21
|
const { t: e, locale: t } = Tt(), i = wn(), r = gn(), s = te(), o = [
|
|
22
22
|
{
|
|
23
23
|
label: e("connect.navigation.analytic"),
|
|
24
|
-
value:
|
|
24
|
+
value: f["$connect-ANALYTIC"]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: e("connect.navigation.upselling"),
|
|
28
|
+
value: f["$connect-UPSELLING"]
|
|
25
29
|
},
|
|
26
30
|
{
|
|
27
31
|
label: e("connect.navigation.campaign"),
|
|
28
|
-
value:
|
|
32
|
+
value: f["$connect-CAMPAIGN"],
|
|
29
33
|
children: [
|
|
30
34
|
{
|
|
31
35
|
label: e("connect.navigation.promotion"),
|
|
32
|
-
value:
|
|
36
|
+
value: f["$connect-CAMPAIGN_PROMOTION"]
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
39
|
label: e("connect.navigation.voucher"),
|
|
36
|
-
value:
|
|
40
|
+
value: f["$connect-CAMPAIGN_VOUCHER"]
|
|
37
41
|
},
|
|
38
42
|
{
|
|
39
43
|
label: e("connect.navigation.broadcast"),
|
|
40
|
-
value:
|
|
44
|
+
value: f["$connect-CAMPAIGN_BROADCAST"]
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
label: e("connect.navigation.grab"),
|
|
44
|
-
value:
|
|
48
|
+
value: f["$connect-CAMPAIGN_GRAB"]
|
|
45
49
|
}
|
|
46
50
|
]
|
|
47
51
|
},
|
|
48
52
|
{
|
|
49
53
|
label: e("connect.navigation.program"),
|
|
50
|
-
value:
|
|
54
|
+
value: f["$connect-PROGRAM"],
|
|
51
55
|
children: [
|
|
52
56
|
{
|
|
53
57
|
label: e("connect.navigation.tier"),
|
|
54
|
-
value:
|
|
58
|
+
value: f["$connect-PROGRAM_TIER"]
|
|
55
59
|
},
|
|
56
60
|
{
|
|
57
61
|
label: e("connect.navigation.title"),
|
|
58
|
-
value:
|
|
62
|
+
value: f["$connect-PROGRAM_TITLE"]
|
|
59
63
|
},
|
|
60
64
|
{
|
|
61
65
|
label: e("connect.navigation.experience"),
|
|
62
|
-
value:
|
|
66
|
+
value: f["$connect-PROGRAM_EXPERIENCE"]
|
|
63
67
|
},
|
|
64
68
|
{
|
|
65
69
|
label: e("connect.navigation.point"),
|
|
66
|
-
value:
|
|
70
|
+
value: f["$connect-PROGRAM_POINT"],
|
|
67
71
|
badge: () => U(W.FmPill, { variant: "premium" })
|
|
68
72
|
},
|
|
69
73
|
{
|
|
70
74
|
label: e("connect.navigation.credit"),
|
|
71
|
-
value:
|
|
75
|
+
value: f["$connect-PROGRAM_CREDIT"]
|
|
72
76
|
},
|
|
73
77
|
{
|
|
74
78
|
label: e("connect.navigation.game"),
|
|
75
|
-
value:
|
|
79
|
+
value: f["$connect-PROGRAM_GAME"],
|
|
76
80
|
badge: () => U(W.FmPill, { variant: "premium" })
|
|
77
81
|
},
|
|
78
82
|
{
|
|
79
83
|
label: "Mission",
|
|
80
|
-
value:
|
|
84
|
+
value: f["$connect-PROGRAM_MISSION"]
|
|
81
85
|
}
|
|
82
86
|
]
|
|
83
87
|
},
|
|
84
88
|
{
|
|
85
89
|
label: e("connect.navigation.loyalty"),
|
|
86
|
-
value:
|
|
90
|
+
value: f["$connect-LOYALTY"],
|
|
87
91
|
children: [
|
|
88
92
|
{
|
|
89
93
|
label: e("connect.navigation.member"),
|
|
90
|
-
value:
|
|
94
|
+
value: f["$connect-LOYALTY_MEMBER_LIST"]
|
|
91
95
|
},
|
|
92
96
|
{
|
|
93
97
|
label: e("connect.navigation.segments"),
|
|
94
|
-
value:
|
|
98
|
+
value: f["$connect-LOYALTY_SEGMENT"],
|
|
95
99
|
badge: () => U(W.FmPill, { variant: "premium" })
|
|
96
100
|
},
|
|
97
101
|
{
|
|
98
102
|
label: e("connect.navigation.card"),
|
|
99
|
-
value:
|
|
103
|
+
value: f["$connect-LOYALTY_CARD"],
|
|
100
104
|
badge: () => U(W.FmPill, { variant: "premium" })
|
|
101
105
|
}
|
|
102
106
|
]
|
|
103
107
|
},
|
|
104
108
|
{
|
|
105
109
|
label: e("connect.navigation.whatsappBot"),
|
|
106
|
-
value:
|
|
110
|
+
value: f["$connect-WHATSAPP"],
|
|
107
111
|
badge: () => U(W.FmPill, { variant: "beta" })
|
|
108
112
|
},
|
|
109
113
|
{
|
|
110
114
|
label: e("connect.navigation.referral"),
|
|
111
|
-
value:
|
|
115
|
+
value: f["$connect-REFERRAL"],
|
|
112
116
|
badge: () => U(W.FmPill, { variant: "premium" })
|
|
113
117
|
},
|
|
114
118
|
{
|
|
115
119
|
label: e("connect.navigation.store"),
|
|
116
|
-
value:
|
|
120
|
+
value: f["$connect-STORE"]
|
|
117
121
|
},
|
|
118
122
|
{
|
|
119
123
|
label: e("connect.navigation.transaction"),
|
|
120
|
-
value:
|
|
124
|
+
value: f["$connect-TRANSACTION"]
|
|
121
125
|
},
|
|
122
126
|
{
|
|
123
127
|
label: e("connect.navigation.marketingMaterials"),
|
|
124
|
-
value:
|
|
128
|
+
value: f["$connect-MARKETING"]
|
|
125
129
|
},
|
|
126
130
|
{
|
|
127
131
|
label: e("connect.navigation.auditLogs"),
|
|
128
|
-
value:
|
|
132
|
+
value: f["$connect-AUDIT_LOGS"]
|
|
129
133
|
},
|
|
130
134
|
{
|
|
131
135
|
label: e("connect.navigation.review"),
|
|
132
|
-
value:
|
|
136
|
+
value: f["$connect-REVIEW"]
|
|
133
137
|
},
|
|
134
138
|
{
|
|
135
139
|
label: e("connect.navigation.goals"),
|
|
136
|
-
value:
|
|
140
|
+
value: f["$connect-GOALS"],
|
|
137
141
|
badge: () => i.goalsRemaining > 0 ? U(W.FmBadge, {
|
|
138
142
|
variant: "numeric",
|
|
139
143
|
inline: !0,
|
|
@@ -142,17 +146,17 @@ const Vn = { class: "flex flex-col h-full justify-between py-16" }, $n = { class
|
|
|
142
146
|
},
|
|
143
147
|
{
|
|
144
148
|
label: e("connect.navigation.setting"),
|
|
145
|
-
value:
|
|
149
|
+
value: f["$connect-SETTING"]
|
|
146
150
|
},
|
|
147
151
|
{
|
|
148
152
|
label: e("connect.navigation.bin"),
|
|
149
|
-
value:
|
|
153
|
+
value: f["$connect-BIN"]
|
|
150
154
|
}
|
|
151
155
|
], c = Y(
|
|
152
156
|
() => o.filter(
|
|
153
|
-
(h) => h.value !==
|
|
157
|
+
(h) => (h.value !== f["$connect-WHATSAPP"] || r() === "on") && (h.value !== f["$connect-UPSELLING"] || m.namespace.value === "dev" && m.currentCountry.value === "MY")
|
|
154
158
|
)
|
|
155
|
-
), a = yt(), l = wt(), d = o.reduce((h,
|
|
159
|
+
), a = yt(), l = wt(), d = o.reduce((h, p) => [...(p.children ?? []).map((g) => g.value), ...h, p.value], []), m = ge(), y = Y(() => {
|
|
156
160
|
const h = m.currentCountry.value || "MY";
|
|
157
161
|
return console.log(`[MF] Timezone set to: ${Xe[h]}`), Xe[h];
|
|
158
162
|
});
|
|
@@ -179,7 +183,7 @@ const Vn = { class: "flex flex-col h-full justify-between py-16" }, $n = { class
|
|
|
179
183
|
async function T(h) {
|
|
180
184
|
await a.push({ name: h });
|
|
181
185
|
}
|
|
182
|
-
return (h,
|
|
186
|
+
return (h, p) => {
|
|
183
187
|
var v;
|
|
184
188
|
const g = ee("FmCollapsibleTabs");
|
|
185
189
|
return j(), me("div", Vn, [
|
|
@@ -210,7 +214,7 @@ function jn() {
|
|
|
210
214
|
} catch {
|
|
211
215
|
}
|
|
212
216
|
}
|
|
213
|
-
const
|
|
217
|
+
const Gn = { class: "flex flex-col gap-12" }, Bn = { class: "fm-corner-radius-xxl bg-fm-color-primary-oats flex items-start gap-4 self-start px-12 py-4" }, zn = { class: "fm-typo-en-body-sm-600 text-fm-color-primary" }, qn = { class: "fm-typo-en-title-sm-800 max-w-[560px] leading-[42px]" }, Kn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary max-w-[600px]" }, Jn = { class: "flex flex-col gap-24 pb-8" }, Yn = { class: "grid grid-cols-1 gap-16 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-3" }, Xn = { class: "fm-corner-radius-sm bg-fm-color-primary-oats flex h-40 w-40 shrink-0 items-center justify-center" }, Qn = { class: "fm-typo-en-body-lg-600" }, Zn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, ei = { class: "shrink-0" }, ti = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ni = { class: "flex w-full flex-col gap-12 px-[16px]" }, ii = { class: "flex flex-wrap items-center gap-12" }, ri = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary" }, si = /* @__PURE__ */ xe({
|
|
214
218
|
__name: "AiMarketingPromoDialog",
|
|
215
219
|
setup(n) {
|
|
216
220
|
let e = !1;
|
|
@@ -242,13 +246,13 @@ const Bn = { class: "flex flex-col gap-12" }, Gn = { class: "fm-corner-radius-xx
|
|
|
242
246
|
{ immediate: !0 }
|
|
243
247
|
);
|
|
244
248
|
async function m() {
|
|
245
|
-
o.value = !1, await i.push({ name:
|
|
249
|
+
o.value = !1, await i.push({ name: f["$connect-MARKETING"] });
|
|
246
250
|
}
|
|
247
251
|
function y() {
|
|
248
252
|
jn(), o.value = !1;
|
|
249
253
|
}
|
|
250
254
|
return (T, h) => {
|
|
251
|
-
const
|
|
255
|
+
const p = ee("FmIcon"), g = ee("FmCard"), v = ee("FmButton"), M = ee("FmDialog");
|
|
252
256
|
return j(), Oe(M, {
|
|
253
257
|
modelValue: o.value,
|
|
254
258
|
"onUpdate:modelValue": h[0] || (h[0] = (k) => o.value = k),
|
|
@@ -258,9 +262,9 @@ const Bn = { class: "flex flex-col gap-12" }, Gn = { class: "fm-corner-radius-xx
|
|
|
258
262
|
"dismiss-away": ""
|
|
259
263
|
}, {
|
|
260
264
|
"dialog-header": Z(() => [
|
|
261
|
-
I("div",
|
|
262
|
-
I("div",
|
|
263
|
-
S(
|
|
265
|
+
I("div", Gn, [
|
|
266
|
+
I("div", Bn, [
|
|
267
|
+
S(p, {
|
|
264
268
|
name: "auto_awesome",
|
|
265
269
|
size: "sm",
|
|
266
270
|
color: "primary"
|
|
@@ -301,7 +305,7 @@ const Bn = { class: "flex flex-col gap-12" }, Gn = { class: "fm-corner-radius-xx
|
|
|
301
305
|
}, {
|
|
302
306
|
default: Z(() => [
|
|
303
307
|
I("div", Xn, [
|
|
304
|
-
S(
|
|
308
|
+
S(p, {
|
|
305
309
|
name: k.icon,
|
|
306
310
|
size: "md",
|
|
307
311
|
color: "primary"
|
|
@@ -321,7 +325,7 @@ const Bn = { class: "flex flex-col gap-12" }, Gn = { class: "fm-corner-radius-xx
|
|
|
321
325
|
}, {
|
|
322
326
|
default: Z(() => [
|
|
323
327
|
I("div", ei, [
|
|
324
|
-
S(
|
|
328
|
+
S(p, {
|
|
325
329
|
name: "lightbulb",
|
|
326
330
|
size: "md",
|
|
327
331
|
color: "primary"
|
|
@@ -1310,7 +1314,7 @@ class C {
|
|
|
1310
1314
|
}
|
|
1311
1315
|
static _fromJSON(e, t) {
|
|
1312
1316
|
var i, r, s, o, c, a, l, d;
|
|
1313
|
-
const m = (i = t.displayName) !== null && i !== void 0 ? i : void 0, y = (r = t.email) !== null && r !== void 0 ? r : void 0, T = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, h = (o = t.photoURL) !== null && o !== void 0 ? o : void 0,
|
|
1317
|
+
const m = (i = t.displayName) !== null && i !== void 0 ? i : void 0, y = (r = t.email) !== null && r !== void 0 ? r : void 0, T = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, h = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, p = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, g = (a = t._redirectEventId) !== null && a !== void 0 ? a : void 0, v = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, M = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: k, emailVerified: Ke, isAnonymous: Je, providerData: Re, stsTokenManager: Ye } = t;
|
|
1314
1318
|
u(
|
|
1315
1319
|
k && Ye,
|
|
1316
1320
|
e,
|
|
@@ -1333,7 +1337,7 @@ class C {
|
|
|
1333
1337
|
e,
|
|
1334
1338
|
"internal-error"
|
|
1335
1339
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
1336
|
-
), D(T, e.name), D(h, e.name), D(
|
|
1340
|
+
), D(T, e.name), D(h, e.name), D(p, e.name), D(g, e.name), D(v, e.name), D(M, e.name);
|
|
1337
1341
|
const Ae = new C({
|
|
1338
1342
|
uid: k,
|
|
1339
1343
|
auth: e,
|
|
@@ -1343,7 +1347,7 @@ class C {
|
|
|
1343
1347
|
isAnonymous: Je,
|
|
1344
1348
|
photoURL: h,
|
|
1345
1349
|
phoneNumber: T,
|
|
1346
|
-
tenantId:
|
|
1350
|
+
tenantId: p,
|
|
1347
1351
|
stsTokenManager: on,
|
|
1348
1352
|
createdAt: v,
|
|
1349
1353
|
lastLoginAt: M
|
|
@@ -1574,7 +1578,7 @@ function ot(n) {
|
|
|
1574
1578
|
return "Blackberry";
|
|
1575
1579
|
if (Wt(e))
|
|
1576
1580
|
return "Webos";
|
|
1577
|
-
if (
|
|
1581
|
+
if (Ge(e))
|
|
1578
1582
|
return "Safari";
|
|
1579
1583
|
if ((e.includes("chrome/") || Ft(e)) && !e.includes("edge/"))
|
|
1580
1584
|
return "Chrome";
|
|
@@ -1590,7 +1594,7 @@ function ot(n) {
|
|
|
1590
1594
|
function xt(n = w()) {
|
|
1591
1595
|
return /firefox\//i.test(n);
|
|
1592
1596
|
}
|
|
1593
|
-
function
|
|
1597
|
+
function Ge(n = w()) {
|
|
1594
1598
|
const e = n.toLowerCase();
|
|
1595
1599
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
|
1596
1600
|
}
|
|
@@ -1645,7 +1649,7 @@ function Si() {
|
|
|
1645
1649
|
* See the License for the specific language governing permissions and
|
|
1646
1650
|
* limitations under the License.
|
|
1647
1651
|
*/
|
|
1648
|
-
function
|
|
1652
|
+
function Gt(n, e = []) {
|
|
1649
1653
|
let t;
|
|
1650
1654
|
switch (n) {
|
|
1651
1655
|
case "Browser":
|
|
@@ -2138,7 +2142,7 @@ class Ni {
|
|
|
2138
2142
|
), this.persistenceManager;
|
|
2139
2143
|
}
|
|
2140
2144
|
_logFramework(e) {
|
|
2141
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
|
2145
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = Gt(this.config.clientPlatform, this._getFrameworks()));
|
|
2142
2146
|
}
|
|
2143
2147
|
_getFrameworks() {
|
|
2144
2148
|
return this.frameworks;
|
|
@@ -2203,7 +2207,7 @@ class at {
|
|
|
2203
2207
|
* See the License for the specific language governing permissions and
|
|
2204
2208
|
* limitations under the License.
|
|
2205
2209
|
*/
|
|
2206
|
-
let
|
|
2210
|
+
let Be = {
|
|
2207
2211
|
async loadJS() {
|
|
2208
2212
|
throw new Error("Unable to load external scripts");
|
|
2209
2213
|
},
|
|
@@ -2212,13 +2216,13 @@ let Ge = {
|
|
|
2212
2216
|
gapiScript: ""
|
|
2213
2217
|
};
|
|
2214
2218
|
function Oi(n) {
|
|
2215
|
-
|
|
2219
|
+
Be = n;
|
|
2216
2220
|
}
|
|
2217
2221
|
function Li(n) {
|
|
2218
|
-
return
|
|
2222
|
+
return Be.loadJS(n);
|
|
2219
2223
|
}
|
|
2220
2224
|
function Mi() {
|
|
2221
|
-
return
|
|
2225
|
+
return Be.gapiScript;
|
|
2222
2226
|
}
|
|
2223
2227
|
function Ui(n) {
|
|
2224
2228
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
|
@@ -2270,7 +2274,7 @@ function Fi(n, e, t) {
|
|
|
2270
2274
|
"invalid-emulator-scheme"
|
|
2271
2275
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
|
2272
2276
|
);
|
|
2273
|
-
const r = !1, s =
|
|
2277
|
+
const r = !1, s = Bt(e), { host: o, port: c } = Vi(e), a = c === null ? "" : `:${c}`;
|
|
2274
2278
|
i.config.emulator = { url: `${s}//${o}${a}/` }, i.settings.appVerificationDisabledForTesting = !0, i.emulatorConfig = Object.freeze({
|
|
2275
2279
|
host: o,
|
|
2276
2280
|
port: c,
|
|
@@ -2278,12 +2282,12 @@ function Fi(n, e, t) {
|
|
|
2278
2282
|
options: Object.freeze({ disableWarnings: r })
|
|
2279
2283
|
}), $i();
|
|
2280
2284
|
}
|
|
2281
|
-
function
|
|
2285
|
+
function Bt(n) {
|
|
2282
2286
|
const e = n.indexOf(":");
|
|
2283
2287
|
return e < 0 ? "" : n.substr(0, e + 1);
|
|
2284
2288
|
}
|
|
2285
2289
|
function Vi(n) {
|
|
2286
|
-
const e =
|
|
2290
|
+
const e = Bt(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
|
2287
2291
|
if (!t)
|
|
2288
2292
|
return { host: "", port: null };
|
|
2289
2293
|
const i = t[2].split("@").pop() || "", r = /^(\[[^\]]+\])(:|$)/.exec(i);
|
|
@@ -2386,13 +2390,13 @@ async function J(n, e) {
|
|
|
2386
2390
|
* limitations under the License.
|
|
2387
2391
|
*/
|
|
2388
2392
|
const Hi = "http://localhost";
|
|
2389
|
-
class
|
|
2393
|
+
class G extends zt {
|
|
2390
2394
|
constructor() {
|
|
2391
2395
|
super(...arguments), this.pendingToken = null;
|
|
2392
2396
|
}
|
|
2393
2397
|
/** @internal */
|
|
2394
2398
|
static _fromParams(e) {
|
|
2395
|
-
const t = new
|
|
2399
|
+
const t = new G(e.providerId, e.signInMethod);
|
|
2396
2400
|
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
2401
|
"argument-error"
|
|
2398
2402
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
|
@@ -2423,7 +2427,7 @@ class B extends zt {
|
|
|
2423
2427
|
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: i, signInMethod: r } = t, s = $e(t, ["providerId", "signInMethod"]);
|
|
2424
2428
|
if (!i || !r)
|
|
2425
2429
|
return null;
|
|
2426
|
-
const o = new
|
|
2430
|
+
const o = new G(i, r);
|
|
2427
2431
|
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
2432
|
}
|
|
2429
2433
|
/** @internal */
|
|
@@ -2579,7 +2583,7 @@ class x extends ce {
|
|
|
2579
2583
|
* @param accessToken - Facebook access token.
|
|
2580
2584
|
*/
|
|
2581
2585
|
static credential(e) {
|
|
2582
|
-
return
|
|
2586
|
+
return G._fromParams({
|
|
2583
2587
|
providerId: x.PROVIDER_ID,
|
|
2584
2588
|
signInMethod: x.FACEBOOK_SIGN_IN_METHOD,
|
|
2585
2589
|
accessToken: e
|
|
@@ -2651,7 +2655,7 @@ class F extends ce {
|
|
|
2651
2655
|
* @param accessToken - Google access token.
|
|
2652
2656
|
*/
|
|
2653
2657
|
static credential(e, t) {
|
|
2654
|
-
return
|
|
2658
|
+
return G._fromParams({
|
|
2655
2659
|
providerId: F.PROVIDER_ID,
|
|
2656
2660
|
signInMethod: F.GOOGLE_SIGN_IN_METHOD,
|
|
2657
2661
|
idToken: e,
|
|
@@ -2719,7 +2723,7 @@ class V extends ce {
|
|
|
2719
2723
|
* @param accessToken - Github access token.
|
|
2720
2724
|
*/
|
|
2721
2725
|
static credential(e) {
|
|
2722
|
-
return
|
|
2726
|
+
return G._fromParams({
|
|
2723
2727
|
providerId: V.PROVIDER_ID,
|
|
2724
2728
|
signInMethod: V.GITHUB_SIGN_IN_METHOD,
|
|
2725
2729
|
accessToken: e
|
|
@@ -2784,7 +2788,7 @@ class $ extends ce {
|
|
|
2784
2788
|
* @param secret - Twitter secret.
|
|
2785
2789
|
*/
|
|
2786
2790
|
static credential(e, t) {
|
|
2787
|
-
return
|
|
2791
|
+
return G._fromParams({
|
|
2788
2792
|
providerId: $.PROVIDER_ID,
|
|
2789
2793
|
signInMethod: $.TWITTER_SIGN_IN_METHOD,
|
|
2790
2794
|
oauthToken: e,
|
|
@@ -2839,13 +2843,13 @@ $.PROVIDER_ID = "twitter.com";
|
|
|
2839
2843
|
* See the License for the specific language governing permissions and
|
|
2840
2844
|
* limitations under the License.
|
|
2841
2845
|
*/
|
|
2842
|
-
class
|
|
2846
|
+
class B {
|
|
2843
2847
|
constructor(e) {
|
|
2844
2848
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
|
2845
2849
|
}
|
|
2846
2850
|
static async _fromIdTokenResponse(e, t, i, r = !1) {
|
|
2847
2851
|
const s = await C._fromIdTokenResponse(e, i, r), o = lt(i);
|
|
2848
|
-
return new
|
|
2852
|
+
return new B({
|
|
2849
2853
|
user: s,
|
|
2850
2854
|
providerId: o,
|
|
2851
2855
|
_tokenResponse: i,
|
|
@@ -2859,7 +2863,7 @@ class G {
|
|
|
2859
2863
|
!0
|
|
2860
2864
|
);
|
|
2861
2865
|
const r = lt(i);
|
|
2862
|
-
return new
|
|
2866
|
+
return new B({
|
|
2863
2867
|
user: e,
|
|
2864
2868
|
providerId: r,
|
|
2865
2869
|
_tokenResponse: i,
|
|
@@ -2907,7 +2911,7 @@ function Kt(n, e, t, i) {
|
|
|
2907
2911
|
}
|
|
2908
2912
|
async function Wi(n, e, t = !1) {
|
|
2909
2913
|
const i = await re(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
|
|
2910
|
-
return
|
|
2914
|
+
return B._forOperation(n, "link", i);
|
|
2911
2915
|
}
|
|
2912
2916
|
/**
|
|
2913
2917
|
* @license
|
|
@@ -2951,7 +2955,7 @@ async function ji(n, e, t = !1) {
|
|
|
2951
2955
|
i,
|
|
2952
2956
|
"user-mismatch"
|
|
2953
2957
|
/* AuthErrorCode.USER_MISMATCH */
|
|
2954
|
-
),
|
|
2958
|
+
), B._forOperation(n, r, s);
|
|
2955
2959
|
} catch (s) {
|
|
2956
2960
|
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && O(
|
|
2957
2961
|
i,
|
|
@@ -2976,10 +2980,10 @@ async function ji(n, e, t = !1) {
|
|
|
2976
2980
|
* See the License for the specific language governing permissions and
|
|
2977
2981
|
* limitations under the License.
|
|
2978
2982
|
*/
|
|
2979
|
-
async function
|
|
2983
|
+
async function Gi(n, e, t = !1) {
|
|
2980
2984
|
if (A(n.app))
|
|
2981
2985
|
return Promise.reject(H(n));
|
|
2982
|
-
const i = "signIn", r = await Kt(n, i, e), s = await
|
|
2986
|
+
const i = "signIn", r = await Kt(n, i, e), s = await B._fromIdTokenResponse(n, i, r);
|
|
2983
2987
|
return t || await n._updateCurrentUser(s.user), s;
|
|
2984
2988
|
}
|
|
2985
2989
|
/**
|
|
@@ -2998,7 +3002,7 @@ async function Bi(n, e, t = !1) {
|
|
|
2998
3002
|
* See the License for the specific language governing permissions and
|
|
2999
3003
|
* limitations under the License.
|
|
3000
3004
|
*/
|
|
3001
|
-
async function
|
|
3005
|
+
async function Bi(n, e) {
|
|
3002
3006
|
return Ot(n, "POST", "/v1/accounts:signInWithCustomToken", Te(n, e));
|
|
3003
3007
|
}
|
|
3004
3008
|
/**
|
|
@@ -3020,10 +3024,10 @@ async function Gi(n, e) {
|
|
|
3020
3024
|
async function zi(n, e) {
|
|
3021
3025
|
if (A(n.app))
|
|
3022
3026
|
return Promise.reject(H(n));
|
|
3023
|
-
const t = be(n), i = await
|
|
3027
|
+
const t = be(n), i = await Bi(t, {
|
|
3024
3028
|
token: e,
|
|
3025
3029
|
returnSecureToken: !0
|
|
3026
|
-
}), r = await
|
|
3030
|
+
}), r = await B._fromIdTokenResponse(t, "signIn", i);
|
|
3027
3031
|
return await t._updateCurrentUser(r.user), r;
|
|
3028
3032
|
}
|
|
3029
3033
|
function qi(n, e, t, i) {
|
|
@@ -3092,7 +3096,7 @@ class Jt {
|
|
|
3092
3096
|
*/
|
|
3093
3097
|
function Ji() {
|
|
3094
3098
|
const n = w();
|
|
3095
|
-
return
|
|
3099
|
+
return Ge(n) || ke(n);
|
|
3096
3100
|
}
|
|
3097
3101
|
const Yi = 1e3, Xi = 10;
|
|
3098
3102
|
class Yt extends Jt {
|
|
@@ -3799,7 +3803,7 @@ class qe extends zt {
|
|
|
3799
3803
|
}
|
|
3800
3804
|
}
|
|
3801
3805
|
function hr(n) {
|
|
3802
|
-
return
|
|
3806
|
+
return Gi(n.auth, new qe(n), n.bypassAuthState);
|
|
3803
3807
|
}
|
|
3804
3808
|
function fr(n) {
|
|
3805
3809
|
const { auth: e, user: t } = n;
|
|
@@ -4378,7 +4382,7 @@ const Hr = {
|
|
|
4378
4382
|
resizable: "yes",
|
|
4379
4383
|
statusbar: "yes",
|
|
4380
4384
|
toolbar: "no"
|
|
4381
|
-
}, Wr = 500, jr = 600,
|
|
4385
|
+
}, Wr = 500, jr = 600, Gr = "_blank", Br = "http://localhost";
|
|
4382
4386
|
class pt {
|
|
4383
4387
|
constructor(e) {
|
|
4384
4388
|
this.window = e, this.associatedEvent = null;
|
|
@@ -4400,7 +4404,7 @@ function zr(n, e, t, i = Wr, r = jr) {
|
|
|
4400
4404
|
top: s,
|
|
4401
4405
|
left: o
|
|
4402
4406
|
}), l = w().toLowerCase();
|
|
4403
|
-
t && (c = Ft(l) ?
|
|
4407
|
+
t && (c = Ft(l) ? Gr : t), xt(l) && (e = e || Br, a.scrollbars = "yes");
|
|
4404
4408
|
const d = Object.entries(a).reduce((y, [T, h]) => `${y}${T}=${h},`, "");
|
|
4405
4409
|
if (bi(l) && c !== "_self")
|
|
4406
4410
|
return qr(e || "", c), new pt(null);
|
|
@@ -4553,7 +4557,7 @@ class Qr {
|
|
|
4553
4557
|
return this.originValidationPromises[t] || (this.originValidationPromises[t] = Pr(e)), this.originValidationPromises[t];
|
|
4554
4558
|
}
|
|
4555
4559
|
get _shouldInitProactively() {
|
|
4556
|
-
return jt() ||
|
|
4560
|
+
return jt() || Ge() || ke();
|
|
4557
4561
|
}
|
|
4558
4562
|
}
|
|
4559
4563
|
const Zr = Qr;
|
|
@@ -4654,7 +4658,7 @@ function ns(n) {
|
|
|
4654
4658
|
apiHost: "identitytoolkit.googleapis.com",
|
|
4655
4659
|
tokenApiHost: "securetoken.googleapis.com",
|
|
4656
4660
|
apiScheme: "https",
|
|
4657
|
-
sdkClientVersion:
|
|
4661
|
+
sdkClientVersion: Gt(n)
|
|
4658
4662
|
}, l = new Ni(i, r, s, a);
|
|
4659
4663
|
return xi(l, t), l;
|
|
4660
4664
|
},
|
|
@@ -4771,41 +4775,41 @@ const us = {
|
|
|
4771
4775
|
const e = ge(), t = pn(), i = mn(), r = vn(), s = In(), o = wt(), c = te(o.query.showHeader !== "false"), a = te(!1), { currentBusiness: l } = ge();
|
|
4772
4776
|
ie(
|
|
4773
4777
|
() => {
|
|
4774
|
-
var
|
|
4775
|
-
return (
|
|
4778
|
+
var p;
|
|
4779
|
+
return (p = l.value) == null ? void 0 : p._id;
|
|
4776
4780
|
},
|
|
4777
|
-
(
|
|
4778
|
-
|
|
4781
|
+
(p) => {
|
|
4782
|
+
p && _n(p);
|
|
4779
4783
|
},
|
|
4780
4784
|
{ immediate: !0 }
|
|
4781
4785
|
);
|
|
4782
4786
|
const d = te(!1), m = Y(() => i.version), y = Y(() => {
|
|
4783
|
-
const
|
|
4784
|
-
return `${ls.marketingV1Portal}/b/${v}/marketing/overview?showHeader=false&country=${
|
|
4787
|
+
const p = e.currentCountry.value || "MY", g = tt.getIdToken(), v = l.value._id;
|
|
4788
|
+
return `${ls.marketingV1Portal}/b/${v}/marketing/overview?showHeader=false&country=${p}&token=${g}`;
|
|
4785
4789
|
});
|
|
4786
4790
|
async function T() {
|
|
4787
4791
|
if (Un().length) {
|
|
4788
4792
|
console.warn("CONNECT: initFirebase: Firebase already initialized");
|
|
4789
4793
|
return;
|
|
4790
4794
|
}
|
|
4791
|
-
const
|
|
4792
|
-
await zi(v, g), xn(
|
|
4795
|
+
const p = Dn(cs.firebase), g = await fn.getCustomToken(), v = os();
|
|
4796
|
+
await zi(v, g), xn(p), console.log("initFirebase", p);
|
|
4793
4797
|
}
|
|
4794
4798
|
const h = async () => {
|
|
4795
4799
|
d.value = !1, await dn(), console.log("forceRerender"), tt.setBusinessId(l.value._id), await i.readPremium(), !a.value && m.value === "v2" ? e.registerSidebarComponent(Hn) : e.hideSidebarToggle(!0), await T(), a.value = !0, d.value = !0;
|
|
4796
4800
|
};
|
|
4797
4801
|
return un(() => {
|
|
4798
4802
|
if (Fn.Config.setCountry(e.currentCountry.value || "MY"), t.initProvider(r, s), !c.value) {
|
|
4799
|
-
const
|
|
4800
|
-
|
|
4803
|
+
const p = document.getElementsByClassName("app-header")[0], g = document.getElementsByClassName("app-sidebar")[0], v = document.getElementsByClassName("app-container")[0], M = document.getElementsByTagName("main")[0];
|
|
4804
|
+
p == null || p.classList.add("!hidden"), g == null || g.classList.add("!pt-0"), v == null || v.classList.add("!pt-0"), M == null || M.classList.add("!pt-0"), e.hideSidebarToggle(!0);
|
|
4801
4805
|
}
|
|
4802
4806
|
l.value != null && (console.log("App mounted, forceRerender"), h());
|
|
4803
4807
|
}), ie(
|
|
4804
4808
|
() => e.currentBusiness.value,
|
|
4805
|
-
async (
|
|
4806
|
-
console.log("Current business changed"),
|
|
4809
|
+
async (p, g) => {
|
|
4810
|
+
console.log("Current business changed"), p != null && p._id != g._id && (console.log("forceRerender when business changes", p, g), h());
|
|
4807
4811
|
}
|
|
4808
|
-
), (
|
|
4812
|
+
), (p, g) => (j(), me(It, null, [
|
|
4809
4813
|
_(d) && _(m) === "v2" ? (j(), Oe(_(hn), { key: 0 })) : Pe("", !0),
|
|
4810
4814
|
_(d) && _(m) === "v2" && _(c) ? (j(), Oe(si, { key: 1 })) : Pe("", !0),
|
|
4811
4815
|
_(d) && _(m) !== "v2" ? (j(), me("div", us, [
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as Ve, ref as ye, resolveComponent as Be, openBlock as P, createBlock as ui, unref as v, isRef as mi, withCtx as We, createElementVNode as k, createElementBlock as ie, Fragment as Ue, renderList as je, toDisplayString as $, watch as fi, onBeforeMount as hi, createVNode as H, createCommentVNode as gi, h as G } from "vue";
|
|
2
2
|
import { components as Ye } from "@feedmepos/ui-library";
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-mOGrVzUV.js";
|
|
4
4
|
import { h as Q } from "./moment-D7p2TMB-.js";
|
|
5
5
|
import { _ as Je } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
6
|
-
import { _ as vi } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as yi, _ as ki } from "./usePagination-
|
|
8
|
-
import { c as Xe } from "./plugins-
|
|
6
|
+
import { _ as vi } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-CBwgeTXh.js";
|
|
7
|
+
import { u as yi, _ as ki } from "./usePagination-qALFI_Td.js";
|
|
8
|
+
import { c as Xe } from "./plugins-BGyTPNfc.js";
|
|
9
9
|
import { c as Fe } from "./string-Gcy5IM_H.js";
|
|
10
|
-
import { f as me, g as xi } from "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
10
|
+
import { f as me, g as xi } from "./index-ug7pxPAX.js";
|
|
11
|
+
import "./index-DQnCdGWe.js";
|
|
12
|
+
import "./index-Bm43wR8L.js";
|
|
13
|
+
import "./index-BU6CU5MP.js";
|
|
14
|
+
import "./index-C9Nbb7wc.js";
|
|
15
15
|
import "./index-I9lmcd2w.js";
|
|
16
|
-
import "./index-
|
|
17
|
-
import { g as Si, S as Ei,
|
|
16
|
+
import "./index-P8DDRVa3.js";
|
|
17
|
+
import { g as Si, S as Ei, d as Ci } from "./index-CPB7j8Wn.js";
|
|
18
18
|
import { o as _i } from "./objectId-dwaoBfJX.js";
|
|
19
|
-
import { u as Oi } from "./vue-i18n-
|
|
19
|
+
import { u as Oi } from "./vue-i18n-CRFpVnMa.js";
|
|
20
20
|
var Ii = "2.0.10", ci = 500, Ke = "user-agent", te = "", Ze = "?", x = {
|
|
21
21
|
FUNCTION: "function",
|
|
22
22
|
OBJECT: "object",
|