@feedmepos/mf-connect 0.1.113-beta.3 → 0.1.114-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-YfpYV7C0.js → App-CIWTDYuZ.js} +11 -11
- package/dist/{AuditLogs-kD0_HO_p.js → AuditLogs-BluLDXu9.js} +12 -12
- package/dist/{Bin-Dr-Xp3pn.js → Bin-jS6pM4L3.js} +8 -8
- package/dist/{Broadcast-CEbHu2xA.js → Broadcast-DBqsSZ0S.js} +12 -12
- package/dist/{CampaignAnalytic-DDiGxPwp.js → CampaignAnalytic-DJrjXD4H.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Cc_Yho9-.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CzwigRLi.js} +8 -8
- package/dist/{Card-BUnwg0eM.js → Card-B10nLilL.js} +22 -22
- package/dist/{Collections-CKyBkKq2.js → Collections-BN42A73p.js} +8 -8
- package/dist/{Credit-CJOXWLV1.js → Credit-0SS26HGE.js} +12 -12
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DmEBLeNI.js → DateRangeChip.vue_vue_type_script_setup_true_lang-B3wozBFs.js} +1 -1
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Ce5R4Un6.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BRd5RVYe.js} +35 -35
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CMFmlqfF.js → EffectSheet.vue_vue_type_style_index_0_lang-zV9dLCWp.js} +6 -6
- package/dist/{Experience-C_Am5CTY.js → Experience-D7qPzsrc.js} +13 -13
- package/dist/{FileSaver.min-CueAGbjq.js → FileSaver.min-BKWoklMK.js} +1 -1
- package/dist/{Game-B6GO_LVU.js → Game-BoYMwfog.js} +13 -13
- package/dist/{GiftCardSetup-CVLDDpI2.js → GiftCardSetup-B87O0xzo.js} +10 -10
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-isfGhKO1.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-B3uGbEFY.js} +7 -7
- package/dist/{Goals-BX-sMV2V.js → Goals-CVxf3xCA.js} +4 -4
- package/dist/{Grab-Bh335Srh.js → Grab-mGL1Mue_.js} +9 -9
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-srSgUY3e.js → ImageInput.vue_vue_type_script_setup_true_lang-HipBZ1_T.js} +1 -1
- package/dist/{Index-CyXRbwcm.js → Index-Dptuy-6c.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-S3GB2Ems.js → LocationPicker.vue_vue_type_script_setup_true_lang-Cjc4UeKz.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-ZlWHXwXZ.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Bh0ari3f.js} +1 -1
- package/dist/{LoyaltyDashboard-DrTq8oiu.js → LoyaltyDashboard-BxhI6RAE.js} +15 -15
- package/dist/{MainLayout-KbKkpX5n.js → MainLayout-YfDxvZXl.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-2D5ate_s.js → MainLayout.vue_vue_type_script_setup_true_lang-BgXpznbi.js} +3 -3
- package/dist/{Marketing-DQT1MWQg.js → Marketing-C2cVJacf.js} +4 -4
- package/dist/{MarketingMaterialEdit-fSqr53-M.js → MarketingMaterialEdit-DkOEy_L-.js} +6 -6
- package/dist/{Member-DwDUCzlv.js → Member-DufbKDOh.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-DaQ4Lw8f.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-CU8EmBxy.js} +23 -23
- package/dist/{MemberImportHistory-D4ezvJGZ.js → MemberImportHistory-DlFN-uQl.js} +7 -7
- package/dist/{MemberList-DFieV7Qk.js → MemberList-B344n8I4.js} +14 -14
- package/dist/{MemberTransactions-BPOXyAuC.js → MemberTransactions-BS7H640M.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhfsgDd4.js → MessageInput.vue_vue_type_script_setup_true_lang-CxDtXvwd.js} +10 -10
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CX8bk_IQ.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-lY0jlyOG.js} +1 -1
- package/dist/{Mission-nErb05Es.js → Mission-D2ed_oKn.js} +14 -14
- package/dist/{Overview-DuJr_hAg.js → Overview-CLh_T6YY.js} +4 -4
- package/dist/{Overview-7G31a7B-.js → Overview-DJa-hXDC.js} +20 -20
- package/dist/{Point-PWDLemD4.js → Point-DAPeg1VD.js} +14 -14
- package/dist/{Promotion-N80Tj8M6.js → Promotion-CPPCMMFl.js} +14 -14
- package/dist/{Queue-M7ZpgiMT.js → Queue-BcPwCRcM.js} +12 -12
- package/dist/{Record-NhxrdvWv.js → Record-C5XKn--g.js} +9 -9
- package/dist/{Review-DiAaAzIG.js → Review-Cc51luIv.js} +2 -2
- package/dist/{ReviewFacebookCallback-JdyxFbNl.js → ReviewFacebookCallback-BSGInFB8.js} +5 -5
- package/dist/{ReviewGoogleCallback-BXbI3Bsh.js → ReviewGoogleCallback-C1gY4vcP.js} +5 -5
- package/dist/{Reward-yTaOqOT8.js → Reward-k1R3hLiF.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BWPfjZ9K.js → RewardGroup.vue_vue_type_script_setup_true_lang-BGbbGVK4.js} +13 -13
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Cz2H9MKe.js → RuleGroup.vue_vue_type_script_setup_true_lang-Coh3L11L.js} +14 -14
- package/dist/{Segment-DE9Bcd6R.js → Segment-DsBnIvje.js} +25 -25
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-pmv0cb4J.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CMKpvXN-.js} +14 -14
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BeWwkTix.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-LyAtRMs8.js} +4 -4
- package/dist/{Setting-C0JAxIRT.js → Setting-BRueNgc4.js} +14 -14
- package/dist/{SettingAdvertisements-DxueyKU8.js → SettingAdvertisements-BrVcQyhF.js} +12 -12
- package/dist/{Settings-Cs46AcxZ.js → Settings-fOvXd29Z.js} +5 -5
- package/dist/{Store-DqQae9nE.js → Store-rrh2pIHH.js} +26 -26
- package/dist/{StoreRewards-JxSUsOzJ.js → StoreRewards-D-jivVKr.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-qgrBtUNX.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CvQXsZbH.js} +24 -24
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D7ifzgsI.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DbnY9VE9.js} +2 -2
- package/dist/{Tier-DWhgWush.js → Tier-DJiLtw3M.js} +26 -26
- package/dist/{Title-DUNeMdz8.js → Title-s0bzA7yZ.js} +22 -22
- package/dist/{Transaction-DAv-LVhC.js → Transaction-CQ-CJ_eh.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cih-9IoW.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Bfy8SZH1.js} +6 -6
- package/dist/{Voucher-uLTq9RSK.js → Voucher-9vydRET7.js} +18 -18
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BevVL_Kx.js → VoucherEditor.vue_vue_type_script_setup_true_lang-Dq7veRL5.js} +12 -12
- package/dist/{WhatsappAccount-BpXQ4q0P.js → WhatsappAccount-D12Hvzfl.js} +52 -51
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-EssnbsgT.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BrZEDi6O.js} +1 -1
- package/dist/WhatsappBot-o5b_0CnB.js +629 -0
- package/dist/{WhatsappBotLogs-DDN4H_bv.js → WhatsappBotLogs-CK_V_iT5.js} +39 -39
- package/dist/WhatsappBotSettings-BooibLUg.js +694 -0
- package/dist/{WhatsappLayout-DSnq84Uo.js → WhatsappLayout-bOyNHGUI.js} +3 -3
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-Cytrffdh.js +253 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CR-F0x1r.js → ZodTextField.vue_vue_type_script_setup_true_lang-96t_eUzk.js} +2 -2
- package/dist/{app-Devzv4gO.js → app-DV3e2LkD.js} +342 -267
- package/dist/app.js +1 -1
- package/dist/{base.export-CCSMkvAm.js → base.export-DQUUtGmy.js} +2 -2
- package/dist/{business-BjAmUqNA.js → business-BZ0boE-5.js} +1 -1
- package/dist/{campaign-C5c47GqT.js → campaign-CsfFq2S-.js} +8 -8
- package/dist/{campaign-CTe-T5Gd.js → campaign-DMrtYWcs.js} +2 -2
- package/dist/{campaign.fn-DxAO8A5b.js → campaign.fn-C-CdNNdR.js} +185 -185
- package/dist/{collection.fn-C9l-OtNt.js → collection.fn-C-rryKSc.js} +2 -2
- package/dist/{currency-mwm4AWXK.js → currency-BOd9iVZV.js} +1 -1
- package/dist/{duplicateCampaign-BbC4AwQ1.js → duplicateCampaign-ey_rW0Bz.js} +2 -2
- package/dist/{effect-D8ba9z0K.js → effect-BP6Hkxmj.js} +1 -1
- package/dist/{email-addresses-BR5J6_Jz.js → email-addresses-CO61QAq0.js} +2 -2
- package/dist/{feature-flag-C-5NdFW8.js → feature-flag-Bq1SgbYC.js} +1 -1
- package/dist/{feature-flag-CNcU4_3r.js → feature-flag-lvPP0ED-.js} +1 -1
- package/dist/{helper-D9cEaMIv.js → helper-BRpts-M-.js} +1 -1
- package/dist/{index-OvnHt5x5.js → index-03WIXl-H.js} +2 -2
- package/dist/{index-BfoDdVQS.js → index-B0RavybO.js} +2 -2
- package/dist/{index-BvY2hQac.js → index-BDNkoALK.js} +1 -1
- package/dist/{index-CmzjBrHR.js → index-BV5aPSYo.js} +8 -8
- package/dist/{index-B_gzo75q.js → index-Bk20uvPY.js} +1 -1
- package/dist/{index-Drmh0FT-.js → index-Bn19rfby.js} +3 -3
- package/dist/{index-DwTBiVts.js → index-Cj-eugzc.js} +1 -1
- package/dist/{index-DtcUCknS.js → index-CoROn5OA.js} +2 -2
- package/dist/{index-DnepoNWn.js → index-CrBhcMaL.js} +3 -3
- package/dist/{index-CZfqqrVu.js → index-CsBjAM3E.js} +1 -1
- package/dist/{index-yGSko6Eq.js → index-D1t4_KaG.js} +1 -1
- package/dist/{index-B7HH6vKF.js → index-D3wGTCWf.js} +2 -2
- package/dist/{index-D34iYRdc.js → index-D41kjcrZ.js} +4 -4
- package/dist/{index-B1jP-_Z_.js → index-DIZLkVe0.js} +10 -10
- package/dist/{index-Ct6YjTIW.js → index-DucKyzrD.js} +2 -2
- package/dist/{index-D4k1G2oE.js → index-R5WS21OL.js} +1 -1
- package/dist/{index-BFaZp6Et.js → index-VYI0zWNC.js} +2 -2
- package/dist/{index-0H82-X0n.js → index-ZRE89TKq.js} +1 -1
- package/dist/{index-Byg4ztr-.js → index-_Cj-bsd_.js} +14 -14
- package/dist/{index-VqAbYyHH.js → index-mToWKHVs.js} +2 -2
- package/dist/{index.esm2017-DLb2VyCT.js → index.esm2017-B_Sag8Pg.js} +76 -76
- package/dist/{loading-CUNk5u1d.js → loading-C5fVI0ry.js} +1 -1
- package/dist/{lodash-BJXravls.js → lodash-COo8_xCU.js} +1 -1
- package/dist/{member-import-DjYoddBi.js → member-import-I_pKwUfF.js} +1 -1
- package/dist/{membership-ByJUFP8f.js → membership-BgfH9Kva.js} +2 -2
- package/dist/{money-Bf2IEMJJ.js → money-Cr07YDlV.js} +1 -1
- package/dist/{number-CRBHrRUL.js → number-DFsj0dkh.js} +1 -1
- package/dist/objectid-Cu89BzwI.js +145 -0
- package/dist/{onboarding-CQ3lw7eY.js → onboarding-DlkJCm-5.js} +3 -3
- package/dist/{onboardingSetup-CsdZKGFk.js → onboardingSetup-BEhVj613.js} +2 -2
- package/dist/{plugins-iTZLbJGy.js → plugins-CPTtiKqf.js} +3 -3
- package/dist/{reward-DTN6JpEd.js → reward-DqY0mQ_5.js} +1 -1
- package/dist/{rule-BYACNQOL.js → rule-mJJ48eKw.js} +9 -9
- package/dist/{template--Vr0PCjB.js → template-C1QftpDG.js} +6 -6
- package/dist/{timezone-DwzjOED-.js → timezone-BBgBHels.js} +1 -1
- package/dist/{transaction.fn-DapYe3n7.js → transaction.fn-Sr0hj3kY.js} +2 -2
- package/dist/{trigger-D8r76yb0.js → trigger-PUP0mwKM.js} +7 -7
- package/dist/{useMarketingMaterialActions-CdMmibPE.js → useMarketingMaterialActions-faslwaHd.js} +3 -3
- package/dist/{usePagination-BRcQJkO1.js → usePagination-Be6nIQ9y.js} +1 -1
- package/dist/{user-vBZFKqXQ.js → user-DBSYzG_9.js} +1 -1
- package/dist/{vue-i18n-Cw6fF11e.js → vue-i18n-C6c2jsH3.js} +409 -409
- package/dist/{xlsx-Muy_Rjhk.js → xlsx-Bfo19lFv.js} +224 -224
- package/dist/{zod-CCPTOeUz.js → zod-CihbDg3N.js} +1 -1
- package/package.json +1 -1
- package/dist/WhatsappBot-DB4NRZMd.js +0 -589
- package/dist/WhatsappBotSettings-Bkv1VNwF.js +0 -387
- package/dist/WhatsappBotTickets-DAKgnE6T.js +0 -162
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-1BvxPD-k.js +0 -195
- package/dist/objectid-58gyOvdR.js +0 -145
- package/dist/useWhatsappAccount-BOJ8fz84.js +0 -62
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { defineComponent as j, computed as A, ref as
|
|
2
|
-
import { u as L } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as j, computed as A, ref as m, watch as U, onBeforeUnmount as z, resolveComponent as v, openBlock as i, createElementBlock as u, Fragment as F, createElementVNode as o, createVNode as c, unref as e, withCtx as G, createTextVNode as I, toDisplayString as a, normalizeClass as O, createCommentVNode as T, createBlock as W } from "vue";
|
|
2
|
+
import { u as L } from "./vue-i18n-C6c2jsH3.js";
|
|
3
3
|
import { useRoute as D } from "vue-router";
|
|
4
|
-
import { S as H, a as M } from "./index-
|
|
5
|
-
import { w as J } from "./index-
|
|
6
|
-
import { _ as K } from "./WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typo-primary" }, q = { class: "w-full flex flex-col gap-[24px]" }, ee = {
|
|
4
|
+
import { S as H, a as M } from "./index-03WIXl-H.js";
|
|
5
|
+
import { w as J } from "./index-ZRE89TKq.js";
|
|
6
|
+
import { _ as K } from "./WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BrZEDi6O.js";
|
|
7
|
+
import { u as Q, _ as X } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-Cytrffdh.js";
|
|
8
|
+
import { R as Y } from "./app-DV3e2LkD.js";
|
|
9
|
+
const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typo-primary" }, q = { class: "mx-auto w-full min-w-0 flex flex-col gap-[24px]" }, ee = {
|
|
11
10
|
key: 0,
|
|
12
11
|
role: "status",
|
|
13
12
|
class: "py-[56px] flex flex-col items-center gap-[12px] text-[14px] text-fm-color-typo-secondary"
|
|
@@ -17,21 +16,21 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
|
|
|
17
16
|
}, oe = {
|
|
18
17
|
role: "alert",
|
|
19
18
|
class: "text-[14px] text-fm-color-typo-error"
|
|
20
|
-
}, ne = { class: "flex items-center gap-[16px]" }, re = ["src"],
|
|
19
|
+
}, ne = { class: "flex items-center gap-[16px]" }, re = ["src"], ae = { key: 1 }, le = { class: "min-w-0 flex-1 flex flex-col gap-[2px]" }, se = { class: "text-[24px] leading-[32px] font-semibold tracking-[-0.01em] break-words" }, ie = { class: "flex items-center gap-[10px] flex-wrap text-[14px] text-fm-color-typo-secondary" }, ce = { class: "break-all" }, pe = {
|
|
21
20
|
"aria-labelledby": "notification-group-title",
|
|
22
21
|
class: "border border-fm-color-neutral-gray-100 rounded-[16px] p-[24px] xs:p-[20px] flex items-center gap-[16px] flex-wrap"
|
|
23
22
|
}, ue = {
|
|
24
23
|
"aria-hidden": "true",
|
|
25
24
|
class: "w-[40px] h-[40px] rounded-[8px] shrink-0 self-start bg-fm-color-primary-oats text-fm-color-primary flex items-center justify-center"
|
|
26
|
-
},
|
|
25
|
+
}, de = { class: "min-w-[240px] xs:min-w-0 flex-1 flex flex-col gap-[4px]" }, fe = {
|
|
27
26
|
id: "notification-group-title",
|
|
28
27
|
class: "text-[16px] leading-[24px] font-semibold"
|
|
29
|
-
},
|
|
28
|
+
}, xe = { class: "text-[14px] leading-[20px] text-fm-color-typo-secondary [text-wrap:pretty]" }, ke = /* @__PURE__ */ j({
|
|
30
29
|
__name: "WhatsappAccount",
|
|
31
|
-
setup(
|
|
32
|
-
const { t: n } = L(),
|
|
33
|
-
() => typeof
|
|
34
|
-
), r =
|
|
30
|
+
setup(me) {
|
|
31
|
+
const { t: n } = L(), b = D(), f = A(() => H.getBusinessId() ?? ""), w = A(
|
|
32
|
+
() => typeof b.params.clientId == "string" ? b.params.clientId : ""
|
|
33
|
+
), r = m(), _ = m(!0), p = m(""), d = m(!1), {
|
|
35
34
|
name: E,
|
|
36
35
|
phoneNumber: N,
|
|
37
36
|
initials: V,
|
|
@@ -39,39 +38,39 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
|
|
|
39
38
|
avatarColor: $,
|
|
40
39
|
profilePictureUrl: B,
|
|
41
40
|
profilePictureFailed: k
|
|
42
|
-
} =
|
|
43
|
-
let
|
|
41
|
+
} = Q(r);
|
|
42
|
+
let l, h;
|
|
44
43
|
async function g(y = !1) {
|
|
45
|
-
clearTimeout(h),
|
|
44
|
+
clearTimeout(h), l == null || l.abort();
|
|
46
45
|
const t = new AbortController();
|
|
47
|
-
|
|
46
|
+
l = t, y || (_.value = !0, p.value = "");
|
|
48
47
|
try {
|
|
49
|
-
if (!
|
|
48
|
+
if (!f.value)
|
|
50
49
|
throw new Error(n("connect.whatsappBot.errors.selectBusiness"));
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
const s = await J.getClient(
|
|
51
|
+
f.value,
|
|
52
|
+
w.value,
|
|
54
53
|
t.signal
|
|
55
54
|
);
|
|
56
55
|
if (t.signal.aborted) return;
|
|
57
|
-
r.value =
|
|
58
|
-
} catch (
|
|
56
|
+
r.value = s, p.value = "";
|
|
57
|
+
} catch (s) {
|
|
59
58
|
if (t.signal.aborted) return;
|
|
60
|
-
|
|
59
|
+
s instanceof M && s.status === 404 ? (d.value = !1, r.value = void 0, p.value = n("connect.whatsappBot.errors.accountNotFound")) : y || (p.value = f.value ? n("connect.whatsappBot.errors.loadAccount") : n("connect.whatsappBot.errors.selectBusiness"));
|
|
61
60
|
} finally {
|
|
62
61
|
t.signal.aborted || (_.value = !1, r.value && (h = setTimeout(() => void g(!0), 1e4)));
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
return U(
|
|
66
|
-
[
|
|
65
|
+
[f, w],
|
|
67
66
|
() => {
|
|
68
|
-
|
|
67
|
+
d.value = !1, r.value = void 0, g();
|
|
69
68
|
},
|
|
70
69
|
{ immediate: !0 }
|
|
71
70
|
), z(() => {
|
|
72
|
-
|
|
71
|
+
l == null || l.abort(), clearTimeout(h);
|
|
73
72
|
}), (y, t) => {
|
|
74
|
-
const
|
|
73
|
+
const s = v("FmIcon"), R = v("RouterLink"), S = v("FmCircularProgress"), C = v("FmButton");
|
|
75
74
|
return i(), u(F, null, [
|
|
76
75
|
o("div", Z, [
|
|
77
76
|
o("div", q, [
|
|
@@ -80,23 +79,24 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
|
|
|
80
79
|
class: "self-start flex items-center gap-[4px] h-[32px] pl-[6px] pr-[10px] -ml-[6px] rounded-[8px] text-[14px] font-medium text-fm-color-typo-secondary no-underline hover:bg-fm-color-neutral-gray-100 hover:text-fm-color-typo-primary focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-fm-color-primary"
|
|
81
80
|
}, {
|
|
82
81
|
default: G(() => [
|
|
83
|
-
c(
|
|
82
|
+
c(s, {
|
|
84
83
|
name: "chevron_left",
|
|
85
84
|
size: "sm"
|
|
86
85
|
}),
|
|
87
|
-
I(" " +
|
|
86
|
+
I(" " + a(e(n)("connect.navigation.whatsappBot")), 1)
|
|
88
87
|
]),
|
|
89
88
|
_: 1
|
|
90
89
|
}, 8, ["to"]),
|
|
91
90
|
_.value ? (i(), u("div", ee, [
|
|
92
91
|
c(S),
|
|
93
|
-
I(" " +
|
|
92
|
+
I(" " + a(e(n)("connect.whatsappBot.loadingAccount")), 1)
|
|
94
93
|
])) : p.value ? (i(), u("div", te, [
|
|
95
|
-
o("p", oe,
|
|
94
|
+
o("p", oe, a(p.value), 1),
|
|
96
95
|
c(C, {
|
|
97
96
|
label: e(n)("connect.whatsappBot.tryAgain"),
|
|
98
97
|
"prepend-icon": "refresh",
|
|
99
|
-
|
|
98
|
+
class: "!rounded-full [&_.label]:text-[14px]",
|
|
99
|
+
onClick: t[0] || (t[0] = (x) => g())
|
|
100
100
|
}, null, 8, ["label"])
|
|
101
101
|
])) : r.value ? (i(), u(F, { key: 2 }, [
|
|
102
102
|
o("div", ne, [
|
|
@@ -110,43 +110,44 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
|
|
|
110
110
|
alt: "",
|
|
111
111
|
class: "w-full h-full object-cover",
|
|
112
112
|
referrerpolicy: "no-referrer",
|
|
113
|
-
onError: t[1] || (t[1] = (
|
|
114
|
-
}, null, 40, re)) : (i(), u("span",
|
|
113
|
+
onError: t[1] || (t[1] = (x) => k.value = !0)
|
|
114
|
+
}, null, 40, re)) : (i(), u("span", ae, a(e(V)), 1))
|
|
115
115
|
], 2),
|
|
116
|
-
o("div",
|
|
117
|
-
o("h1",
|
|
116
|
+
o("div", le, [
|
|
117
|
+
o("h1", se, a(e(E)), 1),
|
|
118
118
|
o("div", ie, [
|
|
119
|
-
o("span", ce,
|
|
119
|
+
o("span", ce, a(e(N)), 1),
|
|
120
120
|
c(K, { state: e(P) }, null, 8, ["state"])
|
|
121
121
|
])
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
o("section", pe, [
|
|
125
125
|
o("div", ue, [
|
|
126
|
-
c(
|
|
126
|
+
c(s, {
|
|
127
127
|
name: "notifications",
|
|
128
128
|
size: "md"
|
|
129
129
|
})
|
|
130
130
|
]),
|
|
131
|
-
o("div",
|
|
132
|
-
o("h2",
|
|
133
|
-
o("p",
|
|
131
|
+
o("div", de, [
|
|
132
|
+
o("h2", fe, a(e(n)("connect.whatsappBot.notificationGroup.title")), 1),
|
|
133
|
+
o("p", xe, a(e(n)("connect.whatsappBot.notificationGroup.description")), 1)
|
|
134
134
|
]),
|
|
135
135
|
c(C, {
|
|
136
136
|
variant: "secondary",
|
|
137
|
+
"border-color": "neutral-gray-200",
|
|
137
138
|
label: e(n)("connect.whatsappBot.notificationGroup.join"),
|
|
138
139
|
"prepend-icon": "group",
|
|
139
|
-
class: "shrink-0",
|
|
140
|
-
onClick: t[2] || (t[2] = (
|
|
140
|
+
class: "shrink-0 !rounded-full !px-[20px] [&_.label]:text-[14px]",
|
|
141
|
+
onClick: t[2] || (t[2] = (x) => d.value = !0)
|
|
141
142
|
}, null, 8, ["label"])
|
|
142
143
|
])
|
|
143
144
|
], 64)) : T("", !0)
|
|
144
145
|
])
|
|
145
146
|
]),
|
|
146
|
-
r.value ? (i(), W(
|
|
147
|
+
r.value ? (i(), W(X, {
|
|
147
148
|
key: 0,
|
|
148
|
-
modelValue:
|
|
149
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
149
|
+
modelValue: d.value,
|
|
150
|
+
"onUpdate:modelValue": t[3] || (t[3] = (x) => d.value = x),
|
|
150
151
|
account: r.value
|
|
151
152
|
}, null, 8, ["modelValue", "account"])) : T("", !0)
|
|
152
153
|
], 64);
|
|
@@ -154,5 +155,5 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
|
|
|
154
155
|
}
|
|
155
156
|
});
|
|
156
157
|
export {
|
|
157
|
-
|
|
158
|
+
ke as default
|
|
158
159
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as r, openBlock as a, createElementBlock as p, normalizeClass as t, createElementVNode as m, createTextVNode as i, toDisplayString as d, unref as u } from "vue";
|
|
2
|
-
import { u as f } from "./vue-i18n-
|
|
2
|
+
import { u as f } from "./vue-i18n-C6c2jsH3.js";
|
|
3
3
|
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "WhatsappAccountStatusLabel",
|
|
5
5
|
props: {
|