@feedmepos/mf-connect 0.1.115-dev → 0.1.115-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/README.md +1 -66
- package/dist/{App-43mZfFAr.js → App-CvtSY8ZO.js} +618 -652
- package/dist/{Bin-CA7v180Y.js → Bin-B3gS9QVZ.js} +8 -8
- package/dist/{Broadcast-qmdifF2Y.js → Broadcast-DAeb-HaN.js} +21 -22
- package/dist/{CampaignAnalytic-xnrDxqaH.js → CampaignAnalytic-BfTaHVem.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zjk-QdtX.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zsei4OfG.js} +9 -9
- package/dist/{Card-D8icsk7L.js → Card-JFeVIwFs.js} +24 -25
- package/dist/{Collections--THcD-E_.js → Collections-xcDpEhIm.js} +185 -197
- package/dist/{Credit-JrbtVMBp.js → Credit-C9HJZjDS.js} +20 -21
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DrwKtnE5.js → DateRangeChip.vue_vue_type_script_setup_true_lang-DSqVY91w.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D_jXVE2I.js +3494 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-hVgqWdD0.js → EffectSheet.vue_vue_type_style_index_0_lang-C3J0rCTt.js} +32 -32
- package/dist/{Experience-CFeRqBoj.js → Experience-DszS8gto.js} +31 -32
- package/dist/{FileSaver.min-CCXIBm58.js → FileSaver.min-CFVQKaC-.js} +1 -1
- package/dist/{Game-CPxq6Ex3.js → Game-DhgeN7E2.js} +18 -19
- package/dist/{GiftCardSetup-D0esVZDp.js → GiftCardSetup-CWm6IhrS.js} +75 -75
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-CJ1-vL-K.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BuKADvmK.js} +7 -7
- package/dist/{Goals-DaKI6uXt.js → Goals-DtRVierH.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BOnL0GxM.js → ImageInput.vue_vue_type_script_setup_true_lang-DlEFyu6h.js} +1 -1
- package/dist/{Index-2kENoaZm.js → Index-DFRcu_qE.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BtWnJKU_.js → LocationPicker.vue_vue_type_script_setup_true_lang-B3Br4Xvi.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CX_Sspu5.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CjNJj3qj.js} +1 -1
- package/dist/{LoyaltyDashboard-CB93Fz8u.js → LoyaltyDashboard-BWHKDPzk.js} +15 -15
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Du8fw5v_.js → MainLayout-BmpNNAiE.js} +4 -5
- package/dist/Marketing-BKK45Eve.js +236 -0
- package/dist/{remy-icon-BhUGu2NI.js → MarketingMaterialEdit-x3c_N7Gs.js} +1031 -2
- package/dist/{Member-B--nYyr0.js → Member-xEzrBW_p.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-BBlzO7Db.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-DRoC-I0t.js} +50 -43
- package/dist/{MemberImportHistory-D52Y4RTC.js → MemberImportHistory-CEQpBBF8.js} +7 -7
- package/dist/{MemberList-13Owa1fj.js → MemberList-CCvzkHv8.js} +105 -103
- package/dist/{MemberTransactions-CpXEWNbq.js → MemberTransactions-Bmh39J2W.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DlELjFM0.js → MessageInput.vue_vue_type_script_setup_true_lang-D3Pmk80l.js} +14 -14
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-C_y0rM8c.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DIBKAwHP.js} +1 -1
- package/dist/{Mission-Ci-UzXSu.js → Mission-CpUo2Bgw.js} +21 -22
- package/dist/{Overview-CKxSfAGF.js → Overview-CwQqQ1Tn.js} +144 -145
- package/dist/{Overview-CXen9Ram.js → Overview-DcDZmDXA.js} +22 -23
- package/dist/{Point-CR3YOaag.js → Point-CUNQsQIx.js} +21 -22
- package/dist/{Promotion-tw3J4ul-.js → Promotion-Cqdim7aW.js} +131 -137
- package/dist/{Queue-BZGA5ZXt.js → Queue-CNBVh1UG.js} +45 -46
- package/dist/{Record-BTevVXnT.js → Record-BYwz4l4o.js} +9 -9
- package/dist/{Review-BU7c8ZF0.js → Review-CqLcZFj8.js} +2 -2
- package/dist/ReviewFacebookCallback-DbSCILNN.js +238 -0
- package/dist/{ReviewGoogleCallback-xpdPHSdg.js → ReviewGoogleCallback-Dg8R7QlO.js} +5 -5
- package/dist/{Reward-jlA_7cxz.js → Reward-M8GZ8eHq.js} +29 -29
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D3z_n42G.js → RewardGroup.vue_vue_type_script_setup_true_lang-BkM9-Sx-.js} +15 -16
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CnaL93TF.js +1883 -0
- package/dist/{Segment-C1Bwm--Q.js → Segment-CrMi6xrp.js} +305 -304
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B6apgWTM.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DKH5_9db.js} +30 -31
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-B7m2F9UV.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CyeAQ-hg.js} +4 -4
- package/dist/Setting-BnFRI0Se.js +2037 -0
- package/dist/{SettingAdvertisements-4XEAJzlL.js → SettingAdvertisements-Dh7v4c1D.js} +12 -12
- package/dist/Settings-BvT8_tkQ.js +179 -0
- package/dist/{Store-C56dXtc4.js → Store-CV-BmK5b.js} +30 -31
- package/dist/{StoreRewards-DQ1Q6WS6.js → StoreRewards-DPhSLvSZ.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CDu1QySl.js +1264 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Dqz6jTlH.js +142 -0
- package/dist/{Tier-D4CPZqw7.js → Tier-ChvYps23.js} +687 -2576
- package/dist/{Title-DCbwhUic.js → Title-v-Ivswr1.js} +92 -94
- package/dist/{Transaction-C5LrasXr.js → Transaction-CRqE1Ix0.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cl9b4mrK.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B0Uh9iuj.js} +26 -26
- package/dist/{Voucher-rrVbNZKR.js → Voucher-Bg8FOuzD.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BIq227nz.js → VoucherEditor.vue_vue_type_script_setup_true_lang-HKxivQMF.js} +16 -16
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-C39_95SZ.js → ZodTextField.vue_vue_type_script_setup_true_lang-8d290Dcp.js} +2 -2
- package/dist/{app-CgimGODl.js → app-DdNKsn2Q.js} +7107 -8874
- package/dist/app.js +3 -4
- package/dist/{base.export-D2P6HFvo.js → base.export-R97FrSQL.js} +2 -2
- package/dist/{business-Bu5TqSA0.js → business-Ce8vq3wQ.js} +1 -1
- package/dist/{campaign-zJxttSIk.js → campaign-BTllt2LH.js} +25 -31
- package/dist/{campaign-BFIXSgdJ.js → campaign-C19If7bW.js} +94 -121
- package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-9CCbalR4.js} +2 -3
- package/dist/{campaign.fn-gvjlcEfe.js → campaign.fn-B4g03h0A.js} +78 -78
- package/dist/{collectible.enum-Liy2wH3s.js → collectible.enum-MvqF7mSg.js} +1 -1
- package/dist/{collection.fn-DOm0HsSh.js → collection.fn-CR0bD33S.js} +2 -2
- package/dist/{currency-BpbQvbm8.js → currency-DmlguGIM.js} +1 -1
- package/dist/{effect-D-GtNB3n.js → effect-Dx3zfl28.js} +1 -1
- package/dist/{email-addresses-BKMoAtMi.js → email-addresses-De5PGOY4.js} +2 -2
- package/dist/{feature-flag-BJ_eyKsq.js → feature-flag-CD9V1V0h.js} +74 -74
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-CkfjBgMM.js → helper-CEiv7SaO.js} +1 -1
- package/dist/{index-zTvr2GR4.js → index-649OZ_e1.js} +2 -2
- package/dist/{index-feCrYhi6.js → index-B8meeQoD.js} +1 -1
- package/dist/{index-CIej31pF.js → index-B8yWVB8P.js} +3 -4
- package/dist/{index-BKsxIwbi.js → index-BAXKd9Gg.js} +198 -198
- package/dist/{index-BAtUrtqM.js → index-BDPnyro2.js} +6 -19
- package/dist/{index-DUAZOMVJ.js → index-BR9h5DTI.js} +1 -1
- package/dist/{index-DwU3fsLW.js → index-BVdYxi3l.js} +15 -29
- package/dist/{index-D0JK99Ko.js → index-BW6eb3n6.js} +252 -611
- package/dist/{index-LygS9WsG.js → index-BYI9ttxy.js} +10767 -8028
- package/dist/{index-BdEXUNoG.js → index-BquSqx6K.js} +4 -4
- package/dist/{index-BpTIulTX.js → index-CBJy9bxB.js} +1 -1
- package/dist/{index-B6kU3PkV.js → index-CPODug8b.js} +2613 -2700
- package/dist/{index-CfQuYqXn.js → index-CWUrODxL.js} +1 -1
- package/dist/{index-DKxN1mMS.js → index-CqOCJTeR.js} +232 -390
- package/dist/{index-CuREApMc.js → index-D4d3l0gw.js} +7 -8
- package/dist/{index-Bhl5IRXy.js → index-DT3S00_Y.js} +10 -11
- package/dist/{index-DqGs6RJG.js → index-IZRfmmde.js} +581 -683
- package/dist/{index-CQ8XFbBk.js → index-__UT3_Ey.js} +2 -2
- package/dist/{index-CCEXSPxk.js → index-xct3mnu8.js} +7 -7
- package/dist/{index.esm2017-DZi9IQPS.js → index.esm2017-AVbZ9btd.js} +177 -177
- package/dist/{loading-Brid2wnu.js → loading-BvHm1m3K.js} +1 -1
- package/dist/{lodash-C1epw3Kv.js → lodash-Dvrceo7x.js} +1 -1
- package/dist/{member-import-DAIxTIiu.js → member-import-c9avpiSS.js} +5 -6
- package/dist/{membership-BZmljFhF.js → membership-D-pZS634.js} +3 -3
- package/dist/{money-cLcyGcSZ.js → money-D4skwMkD.js} +1 -1
- package/dist/{number-C2jPLJr2.js → number-DJ6ncfT6.js} +1 -1
- package/dist/objectid-DEMM_jdR.js +145 -0
- package/dist/{onboarding-oRfy_g05.js → onboarding-t7R1d3h-.js} +25 -25
- package/dist/{onboardingSetup-BLD6m8HY.js → onboardingSetup-lTaJc0oT.js} +2 -2
- package/dist/{plugins-CUsr9vB0.js → plugins-DQNOWwRC.js} +3 -3
- package/dist/{reward-UOT03odb.js → reward-BK150pjm.js} +1 -1
- package/dist/{rule-BgJnPjkI.js → rule-COcdAnUu.js} +492 -572
- package/dist/rule-builder-Deufb6h_.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-DeebIqJ_.js +236 -0
- package/dist/{timezone-BXA4wq7Y.js → timezone-BP6UC4KL.js} +1 -1
- package/dist/{transaction.fn-CQ4fpRt3.js → transaction.fn-BY0hzon0.js} +2 -2
- package/dist/{trigger-DXJCGT0q.js → trigger-DVBjVPbN.js} +8 -8
- package/dist/useMarketingMaterialActions-DpQCQHFI.js +96 -0
- package/dist/{usePagination-Pp4okWr8.js → usePagination-QT552XyF.js} +1 -1
- package/dist/{user-B3gXcAIy.js → user-CmAxNc7T.js} +1 -1
- package/dist/vue-i18n-Cze706-f.js +2365 -0
- package/dist/{xlsx-CCaDUTgW.js → xlsx-DAczoc8y.js} +224 -224
- package/dist/{zod-CPwjOxvW.js → zod-Aj-GuVQL.js} +1 -1
- package/package.json +2 -6
- package/dist/AuditLogs-BPpdm96t.js +0 -2016
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DgdAlHU7.js +0 -4442
- package/dist/Grab-BWzdN_cd.js +0 -301
- package/dist/MainLayout-DwnjGXh6.js +0 -4
- package/dist/Marketing-DCco__2F.js +0 -273
- package/dist/MarketingMaterialEdit-BbgFtrYP.js +0 -1037
- package/dist/ReviewFacebookCallback-BnMF6Arh.js +0 -225
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CsHxqH9h.js +0 -1923
- package/dist/Setting-CDM4RhLW.js +0 -574
- package/dist/Settings-D-0tvZRr.js +0 -286
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-LLD91Rz6.js +0 -1319
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Bvy4NJMd.js +0 -7007
- package/dist/WhatsappAccount-oJDo5zTr.js +0 -159
- package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-aCQCYFYq.js +0 -39
- package/dist/WhatsappBot-Cl64wG_F.js +0 -876
- package/dist/WhatsappBotLogs-D3uT4EiB.js +0 -372
- package/dist/WhatsappBotSettings-Cs1lLxh-.js +0 -705
- package/dist/WhatsappLayout-C639d2HP.js +0 -21
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DpPxWp2x.js +0 -253
- package/dist/browser-BSAOEeIM.js +0 -1478
- package/dist/duplicateCampaign-CvsvjRE9.js +0 -51
- package/dist/feature-flag-Bo-k5sIG.js +0 -50
- package/dist/google-BQK68wbe.js +0 -5
- package/dist/index-C-iwb2Ln.js +0 -109
- package/dist/index-C_H8jFYf.js +0 -2743
- package/dist/index-DQ8JJhxs.js +0 -74
- package/dist/objectid-C-wocWKI.js +0 -145
- package/dist/template-BZyFhr73.js +0 -188
- package/dist/useMarketingMaterialActions-B-Wib5ga.js +0 -125
- package/dist/vue-i18n-DWGiC_vs.js +0 -2365
|
@@ -1,159 +0,0 @@
|
|
|
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-DWGiC_vs.js";
|
|
3
|
-
import { useRoute as D } from "vue-router";
|
|
4
|
-
import { S as H, a as M } from "./index-CCEXSPxk.js";
|
|
5
|
-
import { w as J } from "./index-DQ8JJhxs.js";
|
|
6
|
-
import { _ as K } from "./WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-aCQCYFYq.js";
|
|
7
|
-
import { u as Q, _ as X } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DpPxWp2x.js";
|
|
8
|
-
import { R as Y } from "./app-CgimGODl.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 = {
|
|
10
|
-
key: 0,
|
|
11
|
-
role: "status",
|
|
12
|
-
class: "py-[56px] flex flex-col items-center gap-[12px] text-[14px] text-fm-color-typo-secondary"
|
|
13
|
-
}, te = {
|
|
14
|
-
key: 1,
|
|
15
|
-
class: "border border-fm-color-neutral-gray-200 rounded-[16px] px-[24px] py-[56px] flex flex-col items-center text-center gap-[16px]"
|
|
16
|
-
}, oe = {
|
|
17
|
-
role: "alert",
|
|
18
|
-
class: "text-[14px] text-fm-color-typo-error"
|
|
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 = {
|
|
20
|
-
"aria-labelledby": "notification-group-title",
|
|
21
|
-
class: "border border-fm-color-neutral-gray-100 rounded-[16px] p-[24px] xs:p-[20px] flex items-center gap-[16px] flex-wrap"
|
|
22
|
-
}, ue = {
|
|
23
|
-
"aria-hidden": "true",
|
|
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"
|
|
25
|
-
}, de = { class: "min-w-[240px] xs:min-w-0 flex-1 flex flex-col gap-[4px]" }, fe = {
|
|
26
|
-
id: "notification-group-title",
|
|
27
|
-
class: "text-[16px] leading-[24px] font-semibold"
|
|
28
|
-
}, xe = { class: "text-[14px] leading-[20px] text-fm-color-typo-secondary [text-wrap:pretty]" }, ke = /* @__PURE__ */ j({
|
|
29
|
-
__name: "WhatsappAccount",
|
|
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), {
|
|
34
|
-
name: E,
|
|
35
|
-
phoneNumber: N,
|
|
36
|
-
initials: V,
|
|
37
|
-
state: P,
|
|
38
|
-
avatarColor: $,
|
|
39
|
-
profilePictureUrl: B,
|
|
40
|
-
profilePictureFailed: k
|
|
41
|
-
} = Q(r);
|
|
42
|
-
let l, h;
|
|
43
|
-
async function g(y = !1) {
|
|
44
|
-
clearTimeout(h), l == null || l.abort();
|
|
45
|
-
const t = new AbortController();
|
|
46
|
-
l = t, y || (_.value = !0, p.value = "");
|
|
47
|
-
try {
|
|
48
|
-
if (!f.value)
|
|
49
|
-
throw new Error(n("connect.whatsappBot.errors.selectBusiness"));
|
|
50
|
-
const s = await J.getClient(
|
|
51
|
-
f.value,
|
|
52
|
-
w.value,
|
|
53
|
-
t.signal
|
|
54
|
-
);
|
|
55
|
-
if (t.signal.aborted) return;
|
|
56
|
-
r.value = s, p.value = "";
|
|
57
|
-
} catch (s) {
|
|
58
|
-
if (t.signal.aborted) return;
|
|
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"));
|
|
60
|
-
} finally {
|
|
61
|
-
t.signal.aborted || (_.value = !1, r.value && (h = setTimeout(() => void g(!0), 1e4)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return U(
|
|
65
|
-
[f, w],
|
|
66
|
-
() => {
|
|
67
|
-
d.value = !1, r.value = void 0, g();
|
|
68
|
-
},
|
|
69
|
-
{ immediate: !0 }
|
|
70
|
-
), z(() => {
|
|
71
|
-
l == null || l.abort(), clearTimeout(h);
|
|
72
|
-
}), (y, t) => {
|
|
73
|
-
const s = v("FmIcon"), R = v("RouterLink"), S = v("FmCircularProgress"), C = v("FmButton");
|
|
74
|
-
return i(), u(F, null, [
|
|
75
|
-
o("div", Z, [
|
|
76
|
-
o("div", q, [
|
|
77
|
-
c(R, {
|
|
78
|
-
to: { name: e(Y)["$connect-WHATSAPP_BOT"] },
|
|
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"
|
|
80
|
-
}, {
|
|
81
|
-
default: G(() => [
|
|
82
|
-
c(s, {
|
|
83
|
-
name: "chevron_left",
|
|
84
|
-
size: "sm"
|
|
85
|
-
}),
|
|
86
|
-
I(" " + a(e(n)("connect.navigation.whatsappBot")), 1)
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
}, 8, ["to"]),
|
|
90
|
-
_.value ? (i(), u("div", ee, [
|
|
91
|
-
c(S),
|
|
92
|
-
I(" " + a(e(n)("connect.whatsappBot.loadingAccount")), 1)
|
|
93
|
-
])) : p.value ? (i(), u("div", te, [
|
|
94
|
-
o("p", oe, a(p.value), 1),
|
|
95
|
-
c(C, {
|
|
96
|
-
label: e(n)("connect.whatsappBot.tryAgain"),
|
|
97
|
-
"prepend-icon": "refresh",
|
|
98
|
-
class: "!rounded-full [&_.label]:text-[14px]",
|
|
99
|
-
onClick: t[0] || (t[0] = (x) => g())
|
|
100
|
-
}, null, 8, ["label"])
|
|
101
|
-
])) : r.value ? (i(), u(F, { key: 2 }, [
|
|
102
|
-
o("div", ne, [
|
|
103
|
-
o("div", {
|
|
104
|
-
"aria-hidden": "true",
|
|
105
|
-
class: O(["w-[56px] h-[56px] rounded-full overflow-hidden shrink-0 flex items-center justify-center text-[18px] font-semibold text-fm-color-typo-white", e($)])
|
|
106
|
-
}, [
|
|
107
|
-
e(B) && !e(k) ? (i(), u("img", {
|
|
108
|
-
key: 0,
|
|
109
|
-
src: e(B),
|
|
110
|
-
alt: "",
|
|
111
|
-
class: "w-full h-full object-cover",
|
|
112
|
-
referrerpolicy: "no-referrer",
|
|
113
|
-
onError: t[1] || (t[1] = (x) => k.value = !0)
|
|
114
|
-
}, null, 40, re)) : (i(), u("span", ae, a(e(V)), 1))
|
|
115
|
-
], 2),
|
|
116
|
-
o("div", le, [
|
|
117
|
-
o("h1", se, a(e(E)), 1),
|
|
118
|
-
o("div", ie, [
|
|
119
|
-
o("span", ce, a(e(N)), 1),
|
|
120
|
-
c(K, { state: e(P) }, null, 8, ["state"])
|
|
121
|
-
])
|
|
122
|
-
])
|
|
123
|
-
]),
|
|
124
|
-
o("section", pe, [
|
|
125
|
-
o("div", ue, [
|
|
126
|
-
c(s, {
|
|
127
|
-
name: "notifications",
|
|
128
|
-
size: "md"
|
|
129
|
-
})
|
|
130
|
-
]),
|
|
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
|
-
]),
|
|
135
|
-
c(C, {
|
|
136
|
-
variant: "secondary",
|
|
137
|
-
"border-color": "neutral-gray-200",
|
|
138
|
-
label: e(n)("connect.whatsappBot.notificationGroup.join"),
|
|
139
|
-
"prepend-icon": "group",
|
|
140
|
-
class: "shrink-0 !rounded-full !px-[20px] [&_.label]:text-[14px]",
|
|
141
|
-
onClick: t[2] || (t[2] = (x) => d.value = !0)
|
|
142
|
-
}, null, 8, ["label"])
|
|
143
|
-
])
|
|
144
|
-
], 64)) : T("", !0)
|
|
145
|
-
])
|
|
146
|
-
]),
|
|
147
|
-
r.value ? (i(), W(X, {
|
|
148
|
-
key: 0,
|
|
149
|
-
modelValue: d.value,
|
|
150
|
-
"onUpdate:modelValue": t[3] || (t[3] = (x) => d.value = x),
|
|
151
|
-
account: r.value
|
|
152
|
-
}, null, 8, ["modelValue", "account"])) : T("", !0)
|
|
153
|
-
], 64);
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
export {
|
|
158
|
-
ke as default
|
|
159
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
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-DWGiC_vs.js";
|
|
3
|
-
const h = /* @__PURE__ */ l({
|
|
4
|
-
__name: "WhatsappAccountStatusLabel",
|
|
5
|
-
props: {
|
|
6
|
-
state: {}
|
|
7
|
-
},
|
|
8
|
-
setup(o) {
|
|
9
|
-
const s = o, { t: n } = f(), c = {
|
|
10
|
-
connected: {
|
|
11
|
-
label: "connect.whatsappBot.connected",
|
|
12
|
-
pill: "text-fm-color-typo-success bg-fm-color-system-success-100",
|
|
13
|
-
dot: "bg-fm-color-system-success-400"
|
|
14
|
-
},
|
|
15
|
-
disconnected: {
|
|
16
|
-
label: "connect.whatsappBot.disconnected",
|
|
17
|
-
pill: "text-fm-color-typo-error bg-fm-color-system-error-100",
|
|
18
|
-
dot: "bg-fm-color-system-error-400"
|
|
19
|
-
},
|
|
20
|
-
connecting: {
|
|
21
|
-
label: "connect.whatsappBot.statusConnecting",
|
|
22
|
-
pill: "text-fm-color-typo-warning bg-fm-color-system-warning-100",
|
|
23
|
-
dot: "bg-fm-color-system-warning-400"
|
|
24
|
-
}
|
|
25
|
-
}, e = r(() => c[s.state]);
|
|
26
|
-
return (x, g) => (a(), p("span", {
|
|
27
|
-
class: t(["flex items-center gap-[6px] text-[12px] font-semibold px-[8px] py-[3px] rounded-[6px]", e.value.pill])
|
|
28
|
-
}, [
|
|
29
|
-
m("span", {
|
|
30
|
-
"aria-hidden": "true",
|
|
31
|
-
class: t(["w-[6px] h-[6px] rounded-full", e.value.dot])
|
|
32
|
-
}, null, 2),
|
|
33
|
-
i(" " + d(u(n)(e.value.label)), 1)
|
|
34
|
-
], 2));
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
export {
|
|
38
|
-
h as _
|
|
39
|
-
};
|