@feedmepos/mf-connect 0.1.116-dev → 0.1.117-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-DWDgsBqW.js → App-CAo1izHr.js} +618 -652
- package/dist/{Bin-Cz6fmewG.js → Bin-DDDfjisJ.js} +8 -8
- package/dist/{Broadcast-CQ0pfKpx.js → Broadcast-BsCulZhE.js} +21 -22
- package/dist/{CampaignAnalytic-CiRCB3kh.js → CampaignAnalytic-CnVYFSkT.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Bp7UeQWJ.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-ZTHyZ_0y.js} +9 -9
- package/dist/{Card-Kw2PFL2m.js → Card-DPyQH9qZ.js} +24 -25
- package/dist/{Collections-D8Vx_EEH.js → Collections-CZCVA969.js} +185 -197
- package/dist/{Credit-B1jsQ5zg.js → Credit-BTg364-i.js} +20 -21
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-B6Fpf8zy.js → DateRangeChip.vue_vue_type_script_setup_true_lang-BJx8K6Ja.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Ijya9Cho.js +3494 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Cdpr9Ku4.js → EffectSheet.vue_vue_type_style_index_0_lang-CfEnSXzg.js} +32 -32
- package/dist/{Experience-B0JIA3sL.js → Experience-Bk_eUcSX.js} +31 -32
- package/dist/{FileSaver.min-M-9kTN8q.js → FileSaver.min-CXFiZAp7.js} +1 -1
- package/dist/{Game-CNJyqnK3.js → Game-CBnKpFdl.js} +18 -19
- package/dist/{GiftCardSetup-DSQIC7fD.js → GiftCardSetup-q75wNV_F.js} +75 -75
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-ABiLOF1j.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-Cga0Th2O.js} +7 -7
- package/dist/{Goals-DBPzGIRK.js → Goals-Bbbgurfd.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B2edB52s.js → ImageInput.vue_vue_type_script_setup_true_lang-CZS05h1r.js} +1 -1
- package/dist/{Index-CiWyZXnK.js → Index-C8_OWllb.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DnP03_b7.js → LocationPicker.vue_vue_type_script_setup_true_lang-BlCg-jI7.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DM17LaNE.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CACxChIo.js} +1 -1
- package/dist/{LoyaltyDashboard-C4ZlK9Hv.js → LoyaltyDashboard-DJlE0371.js} +15 -15
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-CJncINki.js → MainLayout-Bs2UPvFx.js} +4 -5
- package/dist/Marketing-BvRYzFV8.js +236 -0
- package/dist/{remy-icon-BhUGu2NI.js → MarketingMaterialEdit-o88sdvTM.js} +1031 -2
- package/dist/{Member-B-l5P9jk.js → Member-C4yqwsMH.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-C_ZjHH4I.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-BbumjyC_.js} +50 -43
- package/dist/{MemberImportHistory-BJcu-ahG.js → MemberImportHistory-CbuXCdxC.js} +7 -7
- package/dist/{MemberList-DVsWNWIc.js → MemberList-CpAepPBe.js} +105 -103
- package/dist/{MemberTransactions-C2VPySEO.js → MemberTransactions-BbpXvsSk.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BXqrn9tg.js → MessageInput.vue_vue_type_script_setup_true_lang-BaWgxbad.js} +14 -14
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-BouFp66T.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CEgMElLo.js} +1 -1
- package/dist/{Mission-DWO-IF0f.js → Mission-Bdb9KVeP.js} +21 -22
- package/dist/{Overview-DPcWm2S0.js → Overview-CEiyGMcf.js} +22 -23
- package/dist/{Overview-Dbp4Sv-H.js → Overview-D_9JwnFU.js} +144 -145
- package/dist/{Point-PnWrzVOY.js → Point-Bd5cMXQx.js} +21 -22
- package/dist/{Promotion-Bwpi60dN.js → Promotion-D9gZDvgR.js} +131 -137
- package/dist/{Queue-BvEcKyVJ.js → Queue-BnAOL_rp.js} +45 -46
- package/dist/{Record-DzNvU2fM.js → Record-D6TWFKe0.js} +9 -9
- package/dist/{Review-HDYwnMd6.js → Review-DLEgvnc-.js} +2 -2
- package/dist/ReviewFacebookCallback-jVlm2O8f.js +238 -0
- package/dist/{ReviewGoogleCallback-6V9JNKsl.js → ReviewGoogleCallback-BgAbO3pI.js} +5 -5
- package/dist/{Reward-DI6IyG-d.js → Reward-DBheQiFu.js} +29 -29
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DFAIPMe7.js → RewardGroup.vue_vue_type_script_setup_true_lang-Bt-EqsiH.js} +15 -16
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CKL8MEld.js +1883 -0
- package/dist/{Segment-DrV6pQyx.js → Segment-B9Se5FFw.js} +305 -304
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CXHt_ZeT.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-f7AS5vwv.js} +30 -31
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-XRXkLy6j.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-3BKA0UFI.js} +4 -4
- package/dist/Setting-B92JT_Y4.js +2037 -0
- package/dist/{SettingAdvertisements-BtqKt4Ca.js → SettingAdvertisements-CLw-dqiA.js} +12 -12
- package/dist/Settings-BmmM8ZnR.js +179 -0
- package/dist/{Store-HZs9GG03.js → Store-B5PPP5zM.js} +30 -31
- package/dist/{StoreRewards-BSTXL4FR.js → StoreRewards-DllyaVBY.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-3Vvqf6_H.js +1264 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-7ZZ0e5tQ.js +142 -0
- package/dist/{Tier-Ka0rbjC_.js → Tier-M_TApfju.js} +687 -2576
- package/dist/{Title-7jvrf34J.js → Title-Cpltm-I2.js} +92 -94
- package/dist/{Transaction-D-M3udf5.js → Transaction-BYfAYRpv.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CrlpuElX.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BOhfGxVj.js} +26 -26
- package/dist/{Voucher-BZCLPyDk.js → Voucher-DHoyg0YZ.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-C_MOMFkX.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DWHwM6AJ.js} +16 -16
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-Do4GTTKx.js → ZodTextField.vue_vue_type_script_setup_true_lang-B6tTjLAZ.js} +2 -2
- package/dist/{app-CEe3kSZM.js → app-B_doYklh.js} +7107 -8879
- package/dist/app.js +3 -4
- package/dist/{base.export-BjSdr85q.js → base.export-DmbnT_bp.js} +2 -2
- package/dist/{business-CJjiItSo.js → business-DdVGtTvx.js} +1 -1
- package/dist/{campaign-DEXq52fE.js → campaign-CVkA08zl.js} +25 -31
- package/dist/{campaign-D4MWLs1D.js → campaign-jEhKmpKg.js} +94 -121
- package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-DWu6-kOo.js} +2 -3
- package/dist/{campaign.fn-DiadKjES.js → campaign.fn-BlgEyeFz.js} +82 -82
- package/dist/{collectible.enum-Liy2wH3s.js → collectible.enum-CVLkXKml.js} +1 -1
- package/dist/{collection.fn-CfqIdnSS.js → collection.fn-DLNGTrPf.js} +2 -2
- package/dist/{currency-CPB6E_s-.js → currency-DKS1md4e.js} +1 -1
- package/dist/{effect-DFodA5mh.js → effect-Bk-zYexf.js} +1 -1
- package/dist/{email-addresses-C0CwgNs_.js → email-addresses-I9A5iLzf.js} +2 -2
- package/dist/{feature-flag-Bap2oi_S.js → feature-flag-DQti61iR.js} +74 -74
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-DKKsSb2o.js → helper-9cPlo6ae.js} +1 -1
- package/dist/{index-CJGb1iJi.js → index-1Cdj34z1.js} +1 -1
- package/dist/{index-CtwPthW5.js → index-3V8E9GaZ.js} +2 -2
- package/dist/{index-CfqmNZUH.js → index-728mP6kW.js} +581 -683
- package/dist/{index-DDmpyI6z.js → index-BRm0LMTo.js} +252 -611
- package/dist/{index-qAQiQd-s.js → index-BxpbI0GH.js} +7 -7
- package/dist/{index-DFV2ydYE.js → index-C-OnJpT8.js} +1 -1
- package/dist/{index-D5veZ8LP.js → index-CIwdXphn.js} +2613 -2700
- package/dist/{index-DxmlvoHV.js → index-CNUXbXvG.js} +6 -19
- package/dist/{index-RUdMURTx.js → index-Cj6oxbl0.js} +10 -11
- package/dist/{index-CXqPYmyv.js → index-ClYX4COd.js} +3 -4
- package/dist/{index-CEFEuMOF.js → index-CuyzSc1l.js} +1 -1
- package/dist/{index-BS6725ZB.js → index-DOE2VR99.js} +198 -198
- package/dist/{index-C_4eW8Sr.js → index-DWkuIfHy.js} +232 -390
- package/dist/{index-BdGo-qgB.js → index-Dj51vqab.js} +4 -4
- package/dist/{index-DRnUcSVN.js → index-DuvnRxeo.js} +1 -1
- package/dist/{index-BJCirs9i.js → index-cgtAlOl9.js} +10767 -8028
- package/dist/{index-BWsGYTzB.js → index-fHiFL1dW.js} +15 -29
- package/dist/{index-CFZMwKR6.js → index-oNMFyOGe.js} +7 -8
- package/dist/{index-4LQanFJi.js → index-vKvGJ4Ve.js} +2 -2
- package/dist/{index.esm2017-i1myv90H.js → index.esm2017-CsF37oA-.js} +177 -177
- package/dist/{loading-BAFiJnEb.js → loading-BJJmTFoe.js} +1 -1
- package/dist/{lodash-De2KDgqX.js → lodash-BMJ6_hsa.js} +1 -1
- package/dist/{member-import-BP4RZGbA.js → member-import-DrGxVJt9.js} +5 -6
- package/dist/{membership-CQWw-rTa.js → membership-CAqKihwy.js} +3 -3
- package/dist/{money-rwjWYzdi.js → money-Bf9d2ZUH.js} +1 -1
- package/dist/{number-DwSvkBpS.js → number-CWXlGZa5.js} +1 -1
- package/dist/objectid-2DN5a9sY.js +145 -0
- package/dist/{onboarding-u7cpl6k3.js → onboarding-Dn9O7r3a.js} +25 -25
- package/dist/{onboardingSetup-DoxDlcVN.js → onboardingSetup-BMkDoGy-.js} +2 -2
- package/dist/{plugins-CKaeoHSK.js → plugins-KDgceFWV.js} +3 -3
- package/dist/{reward-BasbGRWt.js → reward-eilGRaXi.js} +1 -1
- package/dist/{rule-IN41b-qE.js → rule-Dr9Zjg_o.js} +492 -572
- package/dist/rule-builder-cz6Dy-no.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-DwbazO8p.js +236 -0
- package/dist/{timezone-C68y8HiI.js → timezone-C5CIfvHs.js} +1 -1
- package/dist/{transaction.fn-Ckxm2gof.js → transaction.fn-Cr-FLjh0.js} +2 -2
- package/dist/{trigger-xA8j3s9B.js → trigger-B0Fv6wbN.js} +8 -8
- package/dist/useMarketingMaterialActions-CNk3LR9M.js +96 -0
- package/dist/{usePagination-CIRxyVr8.js → usePagination-BcA-imTr.js} +1 -1
- package/dist/{user-PTTQTMyQ.js → user-DRvLwlBE.js} +1 -1
- package/dist/vue-i18n-y7bHQpNx.js +2365 -0
- package/dist/{xlsx-l0AsOrP1.js → xlsx-CBObn76o.js} +379 -379
- package/dist/{zod-Bm1pKYLC.js → zod-DWU5EdQV.js} +1 -1
- package/package.json +2 -6
- package/dist/AuditLogs-BqEtvKFs.js +0 -2016
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BW1RntIP.js +0 -4442
- package/dist/Grab-CGWinKBS.js +0 -301
- package/dist/MainLayout-D22Q2_jN.js +0 -4
- package/dist/Marketing-CmVnvEN6.js +0 -269
- package/dist/MarketingMaterialEdit-CQ55zG-W.js +0 -1037
- package/dist/ReviewFacebookCallback-rAlgcTQ_.js +0 -225
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CDoba0oG.js +0 -1923
- package/dist/Setting-aLQCUCP9.js +0 -574
- package/dist/Settings-BkYtKb4l.js +0 -286
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-D9nykzc3.js +0 -1319
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DBnHk6jn.js +0 -7007
- package/dist/WhatsappAccount-BG0dIroG.js +0 -159
- package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-Co05OXon.js +0 -39
- package/dist/WhatsappBot-O5h5UKXz.js +0 -876
- package/dist/WhatsappBotLogs-BOPTuu6o.js +0 -372
- package/dist/WhatsappBotSettings-BSiIvpGO.js +0 -705
- package/dist/WhatsappLayout-DLVIfkzJ.js +0 -21
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DJdi7dV6.js +0 -253
- package/dist/browser-BSAOEeIM.js +0 -1478
- package/dist/duplicateCampaign-BzWvsZwc.js +0 -51
- package/dist/feature-flag--GbS6Qn_.js +0 -50
- package/dist/google-BQK68wbe.js +0 -5
- package/dist/index-C-iwb2Ln.js +0 -109
- package/dist/index-C1C21iKU.js +0 -74
- package/dist/index-C_H8jFYf.js +0 -2743
- package/dist/objectid-DtEPzPd_.js +0 -145
- package/dist/template-3Nu_MAMG.js +0 -188
- package/dist/useMarketingMaterialActions-ClYoBaFw.js +0 -125
- package/dist/vue-i18n-DYnrLWFT.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-DYnrLWFT.js";
|
|
3
|
-
import { useRoute as D } from "vue-router";
|
|
4
|
-
import { S as H, a as M } from "./index-qAQiQd-s.js";
|
|
5
|
-
import { w as J } from "./index-C1C21iKU.js";
|
|
6
|
-
import { _ as K } from "./WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-Co05OXon.js";
|
|
7
|
-
import { u as Q, _ as X } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DJdi7dV6.js";
|
|
8
|
-
import { R as Y } from "./app-CEe3kSZM.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-DYnrLWFT.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
|
-
};
|