@feedmepos/mf-connect 0.1.124-prod → 0.1.125-prod
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DMh2xABv.js → App-VvS6HIoz.js} +10 -10
- package/dist/{Bin-C_pkPgIo.js → Bin-dVF9Q1iu.js} +8 -8
- package/dist/{Broadcast-6ZJzdY0b.js → Broadcast-BIZbCshz.js} +11 -11
- package/dist/{CampaignAnalytic-CLd5ecQe.js → CampaignAnalytic-Ci8Ryoig.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C4OWhhAx.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CMgvX7Qs.js} +10 -10
- package/dist/{Card-CkS8F43U.js → Card-CZkmyXaw.js} +23 -23
- package/dist/{Collections-BA9I-dDz.js → Collections-Inv8osLz.js} +9 -9
- package/dist/{Credit-CXm0A-qe.js → Credit-C0sAkt2c.js} +11 -11
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DzsHTlrN.js → DateRangeChip.vue_vue_type_script_setup_true_lang-BiJ_wHig.js} +1 -1
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-C5INV6R7.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-B28ds81U.js} +37 -37
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-zSPUBUSz.js → EffectSheet.vue_vue_type_style_index_0_lang-BU1c2K1g.js} +6 -6
- package/dist/{Experience-Bq4ykqTJ.js → Experience-BNEfKjkq.js} +12 -12
- package/dist/{FileSaver.min-BtBxrIBi.js → FileSaver.min-C5THVA6m.js} +1 -1
- package/dist/{Game-DpLFmP-G.js → Game-S9z8ZBF3.js} +12 -12
- package/dist/{GiftCardSetup-BqOqEUim.js → GiftCardSetup-nVMJLp50.js} +10 -10
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-B06xj5q7.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-DC2QB9kR.js} +7 -7
- package/dist/{Goals-DMlNeiUc.js → Goals-Do6Z0FfW.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-DPWRgxG_.js → ImageInput.vue_vue_type_script_setup_true_lang-CFb4EUQ5.js} +1 -1
- package/dist/{Index-Cw07jj0k.js → Index-CLVDmWRo.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-CLjjquVP.js → LocationPicker.vue_vue_type_script_setup_true_lang-CZwKWjn6.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DHOShJQp.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CGPZUYnY.js} +1 -1
- package/dist/{LoyaltyDashboard-DzSiK6M7.js → LoyaltyDashboard-B_HpEQdz.js} +15 -15
- package/dist/{MainLayout-1EF680_j.js → MainLayout-uQfsgnnu.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Df9pBgH9.js → MainLayout.vue_vue_type_script_setup_true_lang-DNPmnCA8.js} +3 -3
- package/dist/{Marketing-T-epFsvG.js → Marketing-DPWybdMq.js} +4 -4
- package/dist/{MarketingMaterialEdit-CVhPfyEp.js → MarketingMaterialEdit-BfBgdPyz.js} +6 -6
- package/dist/{Member-BUZOPyQR.js → Member-Bkt3UPXA.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-zURjtl1z.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-EIc8nFZ0.js} +24 -24
- package/dist/{MemberImportHistory-DGz9i6L7.js → MemberImportHistory-DbzrfaI6.js} +7 -7
- package/dist/{MemberList-CNdSrzBa.js → MemberList-CAxUgRRp.js} +14 -14
- package/dist/{MemberTransactions-CdQMuQsd.js → MemberTransactions-DDGkVcHw.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CWKVXeCa.js → MessageInput.vue_vue_type_script_setup_true_lang-C2D5J4Ja.js} +10 -10
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-xZitIoXE.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-2f1SFptj.js} +1 -1
- package/dist/{Mission-CYxgMBPt.js → Mission-CTa5syv8.js} +13 -13
- package/dist/{Overview-DSm8AfDB.js → Overview-CD6Q9DJm.js} +21 -21
- package/dist/{Overview-qZ1KKw9D.js → Overview-DLXj9lo5.js} +4 -4
- package/dist/{Point-BGlbT9OK.js → Point-ktWnL8q5.js} +13 -13
- package/dist/{Promotion-CtlrUFa8.js → Promotion-hqaOxx8q.js} +13 -13
- package/dist/{Queue-Dc_z9MKc.js → Queue-BE-fU8IM.js} +13 -13
- package/dist/{Record-DVKrhFwJ.js → Record-BEFt0lae.js} +9 -9
- package/dist/{Review-Bh8Tw_QU.js → Review-DcLFxegb.js} +2 -2
- package/dist/{ReviewFacebookCallback-ZZ0pxplM.js → ReviewFacebookCallback-6BapqO6b.js} +5 -5
- package/dist/{ReviewGoogleCallback-CsSCz_C5.js → ReviewGoogleCallback-CQ1awmJH.js} +5 -5
- package/dist/{Reward-DY1Q3m1w.js → Reward-eZLQ_qzv.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-4A91EkSW.js → RewardGroup.vue_vue_type_script_setup_true_lang-DT4cU2lr.js} +14 -14
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-JA0XIgqb.js → RuleGroup.vue_vue_type_script_setup_true_lang-CdWm80id.js} +16 -16
- package/dist/{Segment-D6LchJFl.js → Segment-C1Xbqlcv.js} +27 -27
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CSAtkMnJ.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-C_1xj3Cl.js} +15 -15
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-Co1MQoVq.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DwejRzlR.js} +4 -4
- package/dist/{Setting-UkdSKiUb.js → Setting-Cg21mqEc.js} +15 -15
- package/dist/{SettingAdvertisements-DK97gcus.js → SettingAdvertisements-CA6x_w-6.js} +12 -12
- package/dist/{Settings-BFcVswDS.js → Settings-CbrC5bN2.js} +5 -5
- package/dist/{Store-2VVStL5_.js → Store-CFDsun8N.js} +27 -27
- package/dist/{StoreRewards-f3Pyb9hu.js → StoreRewards-BhURDAsS.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BmnyPSVT.js → StoreTransactions.vue_vue_type_script_setup_true_lang-JkpE5XsA.js} +25 -25
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CCWNzg4p.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DzMfetDA.js} +2 -2
- package/dist/{Tier-D4Of9P17.js → Tier-B4iofOYH.js} +26 -26
- package/dist/{Title-Cg6X9UkB.js → Title-3YNx77l4.js} +24 -24
- package/dist/{Transaction-LJbjQnj_.js → Transaction-CX9SxMEG.js} +2 -2
- package/dist/{Upselling-B-VwbtjT.js → Upselling-CznVPMJC.js} +3 -3
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DqH6Upx-.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BZVdb3An.js} +6 -6
- package/dist/{Voucher-BJG6VKXt.js → Voucher-7Hl1LPrh.js} +18 -18
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-7kYeJthi.js → VoucherEditor.vue_vue_type_script_setup_true_lang-dFJXQsFv.js} +12 -12
- package/dist/{WhatsappAccount-Dc1fJWWj.js → WhatsappAccount-DQbkWBel.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BV0Bsl7a.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CvqJzTXs.js} +1 -1
- package/dist/{WhatsappBot-Coq1WP96.js → WhatsappBot-B0nZTeT7.js} +6 -6
- package/dist/WhatsappBotLogs-DujpGQWa.js +509 -0
- package/dist/{WhatsappBotSettings-fNRFecJX.js → WhatsappBotSettings-CfhMycMW.js} +65 -65
- package/dist/{WhatsappLayout-x9Ovpu6e.js → WhatsappLayout-b1gwbBm0.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DZlT0uLW.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DiQnP4cp.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DSJncfI_.js → ZodTextField.vue_vue_type_script_setup_true_lang-Cidk_OlM.js} +2 -2
- package/dist/{app-BMFxxLUm.js → app-C5LDuXmt.js} +452 -416
- package/dist/app.js +1 -1
- package/dist/{base.export-LmQ51u5f.js → base.export-BBrPA7Jg.js} +2 -2
- package/dist/{business-DZWViiMC.js → business-ClZ-GkSj.js} +1 -1
- package/dist/{campaign-DZDGbR4W.js → campaign-B-h5N3HR.js} +8 -8
- package/dist/{campaign-C9xvGyrL.js → campaign-DefEj7jV.js} +2 -2
- package/dist/{campaign.fn-OVkj0QLu.js → campaign.fn-C5ZXEU8C.js} +205 -205
- package/dist/{collection.fn-DrNrla0B.js → collection.fn-DZ0ViZdo.js} +2 -2
- package/dist/{currency-BZv2gSlF.js → currency-C0Qn4nj3.js} +1 -1
- package/dist/{effect-CvumfBMY.js → effect-CJHdpc35.js} +1 -1
- package/dist/{email-addresses-79tPeI4j.js → email-addresses-CipYiyL4.js} +2 -2
- package/dist/{feature-flag-CYXnrECh.js → feature-flag-BBsHJnnj.js} +1 -1
- package/dist/{helper-DFjsyjri.js → helper-Cn8vgyK3.js} +1 -1
- package/dist/{index-Bnane9cm.js → index-0Ub4nEKy.js} +1 -1
- package/dist/{index-CAWnce4u.js → index-B2r_X6DR.js} +1 -1
- package/dist/{index-MhAbTpBy.js → index-BAvmo8cc.js} +2 -2
- package/dist/{index-DZrX13oF.js → index-BREObqqd.js} +4 -4
- package/dist/{index-Ba1t5vQv.js → index-BcjArc8W.js} +4 -4
- package/dist/{index-C6Rx7pjc.js → index-BcwGxZje.js} +8 -8
- package/dist/{index-B_8PAyia.js → index-BkXjF7ZI.js} +2 -2
- package/dist/{index-C43KoLej.js → index-BzLz01zb.js} +1 -1
- package/dist/{index-BiPRZRyE.js → index-C5o2Pc_f.js} +2 -2
- package/dist/{index-I9lmcd2w.js → index-CH-uRaZH.js} +56 -53
- package/dist/{index-C5bC2n8X.js → index-CWs0a5Bx.js} +3 -3
- package/dist/{index-C6ZTa-eq.js → index-CZ3CQEXM.js} +1 -1
- package/dist/{index-CW4rNV1_.js → index-CazcZ2A4.js} +2 -2
- package/dist/{index-_-nCOZ1D.js → index-DBqf8mMi.js} +1 -1
- package/dist/{index-DWZzsJHU.js → index-DKg5PbUy.js} +2 -2
- package/dist/{index-Bt-n8QuD.js → index-DLKFoHdk.js} +9 -9
- package/dist/{index-CA7oIW_T.js → index-DYMRcL11.js} +3 -3
- package/dist/{index-CNzQ3FLi.js → index-Wm89O5a0.js} +1 -1
- package/dist/{index-CcCiEG6N.js → index-auS6xhgf.js} +1 -1
- package/dist/{index-CBd91xYU.js → index-sntP2S4R.js} +2 -2
- package/dist/index-xn_PXhGL.js +86 -0
- package/dist/{index.esm2017-DtTjnHHc.js → index.esm2017-ePnKsRWd.js} +1 -1
- package/dist/{loading-DkqEFbrR.js → loading-DyfvdnK3.js} +1 -1
- package/dist/{lodash-BxU_5gPB.js → lodash-OSOEHuHV.js} +1 -1
- package/dist/{member-import-B3NBqSF6.js → member-import-DyKhgdl1.js} +22 -13
- package/dist/{membership-Dr5BxoL-.js → membership-E97L9c1m.js} +2 -2
- package/dist/{money-D58xuACG.js → money-BizInVDg.js} +1 -1
- package/dist/{number-C9CiD5ci.js → number-BLjNuAXB.js} +1 -1
- package/dist/objectid-CfbfYlrU.js +145 -0
- package/dist/{onboarding-BssUSfGQ.js → onboarding-BVOkoMd2.js} +3 -3
- package/dist/{onboardingSetup-Dc_lD-K8.js → onboardingSetup-WWZ5x3uC.js} +2 -2
- package/dist/{plugins-D7Xjefvk.js → plugins-BFwgESNo.js} +3 -3
- package/dist/{reward-CACqYkQp.js → reward-BOldgYfT.js} +1 -1
- package/dist/{rule-BRaTrwKz.js → rule-CffnxtCw.js} +3 -3
- package/dist/{rule-builder-DZOASGFD.js → rule-builder-dOQCz1XZ.js} +1 -1
- package/dist/{template-DdeVPIBt.js → template-CbHOOFuo.js} +7 -7
- package/dist/{timezone-CgVEOC5i.js → timezone-CDbzzKWe.js} +1 -1
- package/dist/{transaction.fn-C64l_ja_.js → transaction.fn-CM89jnhJ.js} +2 -2
- package/dist/{trigger-d2RIqXLt.js → trigger-BUKAiVxy.js} +5 -5
- package/dist/{useMarketingMaterialActions-Drf2MY9h.js → useMarketingMaterialActions-D-AWVN4e.js} +4 -4
- package/dist/{usePagination-IUw34YLE.js → usePagination-3kKtIKVu.js} +1 -1
- package/dist/{user-ClGyYHyS.js → user-CHb8XZ5i.js} +1 -1
- package/dist/{vue-i18n-Cby9s0nj.js → vue-i18n-CqhxVhhE.js} +345 -345
- package/dist/{xlsx-HvtVSofi.js → xlsx-BR-cAoRJ.js} +1 -1
- package/dist/{zod-IPdjFU_b.js → zod-dX5GDNHW.js} +1 -1
- package/package.json +1 -1
- package/dist/WhatsappBotLogs-EH9PQVn9.js +0 -372
- package/dist/index-C-pVo6PI.js +0 -74
- package/dist/objectid-CgTtbB6Q.js +0 -145
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as U } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as L, mergeModels as Z, useModel as H, openBlock as a, createElementBlock as i, createElementVNode as e, toDisplayString as l, unref as t, withDirectives as q, vModelText as re, resolveComponent as $, Fragment as O, renderList as ee, createBlock as P, ref as y, computed as E, watch as ce, onBeforeUnmount as ie, createCommentVNode as _, createVNode as S, createTextVNode as N, withCtx as ae, normalizeClass as X, vModelRadio as fe } from "vue";
|
|
2
|
+
import { u as U } from "./vue-i18n-CqhxVhhE.js";
|
|
3
3
|
import { useSnackbar as de } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as J, a as W, b as
|
|
5
|
-
import { S as Q } from "./index-
|
|
6
|
-
import { w as Y } from "./index-
|
|
7
|
-
import { p as he } from "./plugins-
|
|
4
|
+
import { F as J, a as W, b as ve, c as se, d as be, e as z, f as ge } from "./index-CH-uRaZH.js";
|
|
5
|
+
import { S as Q } from "./index-sntP2S4R.js";
|
|
6
|
+
import { w as Y } from "./index-xn_PXhGL.js";
|
|
7
|
+
import { p as he } from "./plugins-BFwgESNo.js";
|
|
8
8
|
const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col gap-[2px]" }, we = {
|
|
9
9
|
id: "whatsapp-bot-instructions-title",
|
|
10
10
|
class: "text-[16px] leading-[24px] font-semibold"
|
|
@@ -14,7 +14,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
14
14
|
}, ke = { class: "flex flex-col gap-[6px]" }, Se = ["placeholder", "maxlength", "disabled"], $e = {
|
|
15
15
|
id: "whatsapp-bot-instructions-count",
|
|
16
16
|
class: "text-right text-[12px] leading-[16px] text-fm-color-typo-tertiary tabular-nums"
|
|
17
|
-
}, Ae = /* @__PURE__ */
|
|
17
|
+
}, Ae = /* @__PURE__ */ L({
|
|
18
18
|
__name: "BotInstructions",
|
|
19
19
|
props: /* @__PURE__ */ Z({
|
|
20
20
|
disabled: { type: Boolean }
|
|
@@ -32,7 +32,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
32
32
|
]),
|
|
33
33
|
e("div", ke, [
|
|
34
34
|
q(e("textarea", {
|
|
35
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
35
|
+
"onUpdate:modelValue": o[0] || (o[0] = (v) => n.value = v),
|
|
36
36
|
"aria-labelledby": "whatsapp-bot-instructions-title",
|
|
37
37
|
"aria-describedby": "whatsapp-bot-instructions-description whatsapp-bot-instructions-count",
|
|
38
38
|
placeholder: t(m)("connect.whatsappBot.botSettings.placeholder"),
|
|
@@ -59,7 +59,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
59
59
|
}, Pe = {
|
|
60
60
|
scope: "col",
|
|
61
61
|
class: "py-[10px] pl-[8px] pr-[16px]"
|
|
62
|
-
}, Ne = { class: "sr-only" }, De = { class: "text-[14px] leading-[20px]" },
|
|
62
|
+
}, Ne = { class: "sr-only" }, De = { class: "text-[14px] leading-[20px]" }, Oe = { class: "py-[8px] pl-[16px] pr-[8px] font-medium" }, Le = ["title"], Ue = { class: "px-[8px] py-[8px] text-fm-color-typo-secondary tabular-nums" }, Me = ["title"], Re = { class: "px-[8px] py-[8px] text-fm-color-typo-tertiary tabular-nums" }, We = ["datetime", "title"], ze = { class: "py-[8px] pl-[8px] pr-[16px]" }, He = ["aria-label", "disabled", "aria-busy", "onClick"], Ge = { key: 1 }, ne = /* @__PURE__ */ L({
|
|
63
63
|
__name: "ExcludedAccountsTable",
|
|
64
64
|
props: {
|
|
65
65
|
accounts: {},
|
|
@@ -68,8 +68,8 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
68
68
|
emits: ["remove"],
|
|
69
69
|
setup(p, { emit: n }) {
|
|
70
70
|
const m = n, { t: s, locale: o } = U();
|
|
71
|
-
function
|
|
72
|
-
return f.customerName || f.phoneNumber || f.
|
|
71
|
+
function v(f) {
|
|
72
|
+
return f.customerName || f.phoneNumber || f.conversationId;
|
|
73
73
|
}
|
|
74
74
|
function u(f) {
|
|
75
75
|
return new Intl.DateTimeFormat(o.value, {
|
|
@@ -101,15 +101,15 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
101
101
|
])
|
|
102
102
|
]),
|
|
103
103
|
e("tbody", De, [
|
|
104
|
-
(a(!0), i(
|
|
104
|
+
(a(!0), i(O, null, ee(p.accounts, (r) => (a(), i("tr", {
|
|
105
105
|
key: r.id,
|
|
106
106
|
class: "border-b border-fm-color-neutral-gray-100 last:border-b-0"
|
|
107
107
|
}, [
|
|
108
|
-
e("td",
|
|
108
|
+
e("td", Oe, [
|
|
109
109
|
e("span", {
|
|
110
110
|
class: "block truncate",
|
|
111
|
-
title:
|
|
112
|
-
}, l(
|
|
111
|
+
title: v(r)
|
|
112
|
+
}, l(v(r)), 9, Le)
|
|
113
113
|
]),
|
|
114
114
|
e("td", Ue, [
|
|
115
115
|
e("span", {
|
|
@@ -128,7 +128,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
128
128
|
e("button", {
|
|
129
129
|
type: "button",
|
|
130
130
|
"aria-label": t(s)("connect.whatsappBot.excludedAccounts.removeAccount", {
|
|
131
|
-
name:
|
|
131
|
+
name: v(r)
|
|
132
132
|
}),
|
|
133
133
|
disabled: !!p.removingId,
|
|
134
134
|
"aria-busy": p.removingId === r.id,
|
|
@@ -181,7 +181,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
181
181
|
}, ct = {
|
|
182
182
|
key: 1,
|
|
183
183
|
class: "px-[24px] py-[40px] text-center text-[14px] text-fm-color-typo-secondary"
|
|
184
|
-
}, it = /* @__PURE__ */
|
|
184
|
+
}, it = /* @__PURE__ */ L({
|
|
185
185
|
__name: "ExcludedAccounts",
|
|
186
186
|
props: {
|
|
187
187
|
accounts: {},
|
|
@@ -190,31 +190,31 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
190
190
|
},
|
|
191
191
|
emits: ["retry", "removed"],
|
|
192
192
|
setup(p, { emit: n }) {
|
|
193
|
-
const m = p, s = n, { t: o } = U(),
|
|
193
|
+
const m = p, s = n, { t: o } = U(), v = de(), u = y(""), f = y(""), h = y(!1);
|
|
194
194
|
let w;
|
|
195
195
|
const r = E(
|
|
196
|
-
() => [...m.accounts].sort((x,
|
|
196
|
+
() => [...m.accounts].sort((x, b) => b.updatedAt.localeCompare(x.updatedAt))
|
|
197
197
|
), T = E(() => r.value.slice(0, 3));
|
|
198
198
|
async function C(x) {
|
|
199
199
|
if (u.value) return;
|
|
200
|
-
const
|
|
201
|
-
if (!
|
|
200
|
+
const b = Q.getBusinessId();
|
|
201
|
+
if (!b || x.businessId !== b) return;
|
|
202
202
|
const B = new AbortController();
|
|
203
203
|
w = B, u.value = x.id, f.value = "";
|
|
204
204
|
try {
|
|
205
205
|
if (await Y.removeExcludedAccount(
|
|
206
|
-
|
|
206
|
+
b,
|
|
207
207
|
x.id,
|
|
208
208
|
B.signal
|
|
209
209
|
), B.signal.aborted) return;
|
|
210
|
-
s("removed", x.id),
|
|
210
|
+
s("removed", x.id), v.open({
|
|
211
211
|
type: "success",
|
|
212
212
|
message: o("connect.whatsappBot.excludedAccounts.removed", {
|
|
213
|
-
name: x.customerName || x.phoneNumber || x.
|
|
213
|
+
name: x.customerName || x.phoneNumber || x.conversationId
|
|
214
214
|
})
|
|
215
215
|
});
|
|
216
216
|
} catch (I) {
|
|
217
|
-
B.signal.aborted || (f.value = I instanceof Error ? I.message : o("connect.whatsappBot.excludedAccounts.removeError"),
|
|
217
|
+
B.signal.aborted || (f.value = I instanceof Error ? I.message : o("connect.whatsappBot.excludedAccounts.removeError"), v.open({ type: "error", message: f.value }));
|
|
218
218
|
} finally {
|
|
219
219
|
B.signal.aborted || (u.value = "");
|
|
220
220
|
}
|
|
@@ -222,9 +222,9 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
222
222
|
function g() {
|
|
223
223
|
w == null || w.abort(), u.value = "", f.value = "", h.value = !1;
|
|
224
224
|
}
|
|
225
|
-
return ce(() => Q.getBusinessId(), g), ie(g), (x,
|
|
225
|
+
return ce(() => Q.getBusinessId(), g), ie(g), (x, b) => {
|
|
226
226
|
const B = $("FmCircularProgress"), I = $("FmButton"), G = $("FmIcon"), K = $("FmDialog");
|
|
227
|
-
return a(), i(
|
|
227
|
+
return a(), i(O, null, [
|
|
228
228
|
e("section", Ke, [
|
|
229
229
|
e("div", je, [
|
|
230
230
|
e("h2", Xe, l(t(o)("connect.whatsappBot.excludedAccounts.title")), 1),
|
|
@@ -234,7 +234,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
234
234
|
p.loading ? (a(), i("output", Ye, [
|
|
235
235
|
S(B),
|
|
236
236
|
N(" " + l(t(o)("connect.whatsappBot.excludedAccounts.loading")), 1)
|
|
237
|
-
])) : (a(), i(
|
|
237
|
+
])) : (a(), i(O, { key: 2 }, [
|
|
238
238
|
p.error ? (a(), i("div", Ze, [
|
|
239
239
|
e("p", qe, l(p.error), 1),
|
|
240
240
|
S(I, {
|
|
@@ -243,7 +243,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
243
243
|
label: t(o)("connect.whatsappBot.tryAgain"),
|
|
244
244
|
"prepend-icon": "refresh",
|
|
245
245
|
class: "!rounded-full [&_.label]:text-[14px]",
|
|
246
|
-
onClick:
|
|
246
|
+
onClick: b[0] || (b[0] = (V) => s("retry"))
|
|
247
247
|
}, null, 8, ["label"])
|
|
248
248
|
])) : _("", !0),
|
|
249
249
|
!r.value.length && !p.error ? (a(), i("div", et, [
|
|
@@ -259,7 +259,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
259
259
|
key: 0,
|
|
260
260
|
type: "button",
|
|
261
261
|
class: "flex min-h-[44px] w-full items-center justify-center gap-[6px] border-t border-fm-color-neutral-gray-100 px-[16px] py-[8px] text-[14px] font-semibold text-fm-color-primary transition-colors hover:bg-fm-color-primary-oats focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-inset focus-visible:ring-fm-color-primary",
|
|
262
|
-
onClick:
|
|
262
|
+
onClick: b[1] || (b[1] = (V) => h.value = !0)
|
|
263
263
|
}, [
|
|
264
264
|
N(l(t(o)("connect.whatsappBot.excludedAccounts.showAll", {
|
|
265
265
|
count: r.value.length
|
|
@@ -275,7 +275,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
275
275
|
]),
|
|
276
276
|
S(K, {
|
|
277
277
|
modelValue: h.value,
|
|
278
|
-
"onUpdate:modelValue":
|
|
278
|
+
"onUpdate:modelValue": b[2] || (b[2] = (V) => h.value = V),
|
|
279
279
|
"min-width": "min(720px, calc(100% - 32px))",
|
|
280
280
|
"max-width": "720px",
|
|
281
281
|
"max-height": "90vh",
|
|
@@ -307,7 +307,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
307
307
|
}, pt = { class: "flex flex-col gap-[2px]" }, ut = {
|
|
308
308
|
id: "knowledge-base-title",
|
|
309
309
|
class: "text-[16px] leading-[24px] font-semibold"
|
|
310
|
-
}, mt = { class: "text-[14px] leading-[20px] text-fm-color-typo-secondary [text-wrap:pretty]" }, xt = { class: "flex flex-wrap gap-[8px]" }, ft = ["title", "aria-expanded", "disabled", "onClick"],
|
|
310
|
+
}, mt = { class: "text-[14px] leading-[20px] text-fm-color-typo-secondary [text-wrap:pretty]" }, xt = { class: "flex flex-wrap gap-[8px]" }, ft = ["title", "aria-expanded", "disabled", "onClick"], vt = ["disabled"], bt = {
|
|
311
311
|
key: 0,
|
|
312
312
|
class: "text-[14px] text-fm-color-typo-tertiary"
|
|
313
313
|
}, gt = {
|
|
@@ -319,7 +319,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
319
319
|
}, _t = ["placeholder", "maxlength", "disabled"], wt = {
|
|
320
320
|
id: "whatsapp-knowledge-topic-description-count",
|
|
321
321
|
class: "text-right text-[12px] leading-[16px] text-fm-color-typo-tertiary tabular-nums"
|
|
322
|
-
}, Bt = /* @__PURE__ */
|
|
322
|
+
}, Bt = /* @__PURE__ */ L({
|
|
323
323
|
__name: "KnowledgeBase",
|
|
324
324
|
props: /* @__PURE__ */ Z({
|
|
325
325
|
disabled: { type: Boolean }
|
|
@@ -335,7 +335,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
335
335
|
}),
|
|
336
336
|
emits: ["update:modelValue", "update:activeTopicIndex"],
|
|
337
337
|
setup(p) {
|
|
338
|
-
const n = p, m = H(p, "modelValue"), s = H(p, "activeTopicIndex"), { t: o } = U(),
|
|
338
|
+
const n = p, m = H(p, "modelValue"), s = H(p, "activeTopicIndex"), { t: o } = U(), v = E(
|
|
339
339
|
() => s.value === null ? null : m.value[s.value]
|
|
340
340
|
);
|
|
341
341
|
function u() {
|
|
@@ -352,7 +352,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
352
352
|
e("p", mt, l(t(o)("connect.whatsappBot.botSettings.knowledgeBase.description")), 1)
|
|
353
353
|
]),
|
|
354
354
|
e("div", xt, [
|
|
355
|
-
(a(!0), i(
|
|
355
|
+
(a(!0), i(O, null, ee(m.value, (g, x) => (a(), i("button", {
|
|
356
356
|
key: x,
|
|
357
357
|
type: "button",
|
|
358
358
|
title: g.title.trim() || t(o)("connect.whatsappBot.botSettings.knowledgeBase.untitled"),
|
|
@@ -363,7 +363,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
363
363
|
s.value === x ? "border-fm-color-primary bg-fm-color-primary-oats text-fm-color-primary" : "border-fm-color-neutral-gray-200 bg-fm-color-neutral-white",
|
|
364
364
|
p.disabled ? "cursor-default" : "cursor-pointer hover:border-fm-color-primary"
|
|
365
365
|
]]),
|
|
366
|
-
onClick: (
|
|
366
|
+
onClick: (b) => s.value = s.value === x ? null : x
|
|
367
367
|
}, l(g.title.trim() || t(o)("connect.whatsappBot.botSettings.knowledgeBase.untitled")), 11, ft))), 128)),
|
|
368
368
|
e("button", {
|
|
369
369
|
type: "button",
|
|
@@ -376,30 +376,30 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
376
376
|
size: "sm"
|
|
377
377
|
}),
|
|
378
378
|
N(" " + l(t(o)("connect.whatsappBot.botSettings.knowledgeBase.addTopic")), 1)
|
|
379
|
-
], 8,
|
|
379
|
+
], 8, vt)
|
|
380
380
|
]),
|
|
381
|
-
m.value.length === 0 ? (a(), i("p",
|
|
381
|
+
m.value.length === 0 ? (a(), i("p", bt, l(t(o)("connect.whatsappBot.botSettings.knowledgeBase.empty")), 1)) : _("", !0),
|
|
382
382
|
m.value.length >= t(W) ? (a(), i("p", gt, l(t(o)("connect.whatsappBot.botSettings.knowledgeBase.topicLimit", {
|
|
383
383
|
count: t(W)
|
|
384
384
|
})), 1)) : _("", !0),
|
|
385
|
-
|
|
385
|
+
v.value ? (a(), i("div", {
|
|
386
386
|
id: "knowledge-topic-editor",
|
|
387
387
|
key: s.value ?? void 0,
|
|
388
388
|
class: "rounded-[8px] border-[1px] border-fm-color-neutral-gray-100 p-[16px] flex flex-col gap-[10px]"
|
|
389
389
|
}, [
|
|
390
390
|
S(T, {
|
|
391
|
-
modelValue:
|
|
392
|
-
"onUpdate:modelValue": w[0] || (w[0] = (g) =>
|
|
391
|
+
modelValue: v.value.title,
|
|
392
|
+
"onUpdate:modelValue": w[0] || (w[0] = (g) => v.value.title = g),
|
|
393
393
|
label: t(o)("connect.whatsappBot.botSettings.knowledgeBase.titleLabel"),
|
|
394
394
|
placeholder: t(o)("connect.whatsappBot.botSettings.knowledgeBase.titlePlaceholder"),
|
|
395
|
-
"max-length": t(
|
|
395
|
+
"max-length": t(ve),
|
|
396
396
|
disabled: p.disabled
|
|
397
397
|
}, null, 8, ["modelValue", "label", "placeholder", "max-length", "disabled"]),
|
|
398
398
|
e("div", ht, [
|
|
399
399
|
e("label", yt, l(t(o)("connect.whatsappBot.botSettings.knowledgeBase.descriptionLabel")), 1),
|
|
400
400
|
q(e("textarea", {
|
|
401
401
|
id: "whatsapp-knowledge-topic-description",
|
|
402
|
-
"onUpdate:modelValue": w[1] || (w[1] = (g) =>
|
|
402
|
+
"onUpdate:modelValue": w[1] || (w[1] = (g) => v.value.description = g),
|
|
403
403
|
"aria-describedby": "whatsapp-knowledge-topic-description-count",
|
|
404
404
|
placeholder: t(o)(
|
|
405
405
|
"connect.whatsappBot.botSettings.knowledgeBase.descriptionPlaceholder"
|
|
@@ -409,9 +409,9 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
409
409
|
rows: "5",
|
|
410
410
|
class: "block w-full min-h-[116px] resize-y rounded-[8px] border border-fm-color-neutral-gray-200 bg-fm-color-neutral-white px-[12px] py-[8px] text-[14px] leading-[20px] text-fm-color-typo-primary placeholder:text-fm-color-typo-tertiary transition-[border-color,box-shadow] focus:border-fm-color-primary focus:outline-none focus:ring-[4px] focus:ring-fm-color-primary/30 disabled:cursor-not-allowed disabled:bg-fm-color-neutral-gray-100 disabled:text-fm-color-typo-disabled"
|
|
411
411
|
}, null, 8, _t), [
|
|
412
|
-
[re,
|
|
412
|
+
[re, v.value.description]
|
|
413
413
|
]),
|
|
414
|
-
e("p", wt, l(
|
|
414
|
+
e("p", wt, l(v.value.description.length) + " / " + l(t(se)), 1)
|
|
415
415
|
]),
|
|
416
416
|
S(C, {
|
|
417
417
|
variant: "plain",
|
|
@@ -448,7 +448,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
448
448
|
}, Pt = {
|
|
449
449
|
key: 0,
|
|
450
450
|
class: "rounded-[8px] bg-fm-color-system-warning-100 px-[12px] py-[10px] flex items-start gap-[10px] text-[14px] leading-[20px]"
|
|
451
|
-
}, Nt = /* @__PURE__ */
|
|
451
|
+
}, Nt = /* @__PURE__ */ L({
|
|
452
452
|
__name: "ResponseSpeed",
|
|
453
453
|
props: /* @__PURE__ */ Z({
|
|
454
454
|
disabled: { type: Boolean }
|
|
@@ -462,14 +462,14 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
462
462
|
setup(p) {
|
|
463
463
|
const n = H(p, "modelValue"), { t: m } = U();
|
|
464
464
|
return (s, o) => {
|
|
465
|
-
const
|
|
465
|
+
const v = $("FmIcon");
|
|
466
466
|
return a(), i("section", kt, [
|
|
467
467
|
e("div", St, [
|
|
468
468
|
e("h2", $t, l(t(m)("connect.whatsappBot.botSettings.responseSpeed.title")), 1),
|
|
469
469
|
e("p", At, l(t(m)("connect.whatsappBot.botSettings.responseSpeed.description")), 1)
|
|
470
470
|
]),
|
|
471
471
|
e("div", Tt, [
|
|
472
|
-
(a(!0), i(
|
|
472
|
+
(a(!0), i(O, null, ee(t(be), (u) => (a(), i("label", { key: u }, [
|
|
473
473
|
q(e("input", {
|
|
474
474
|
"onUpdate:modelValue": o[0] || (o[0] = (f) => n.value = f),
|
|
475
475
|
type: "radio",
|
|
@@ -506,7 +506,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
506
506
|
`connect.whatsappBot.botSettings.responseSpeed.${n.value}.detail`
|
|
507
507
|
)), 1),
|
|
508
508
|
n.value === "immediate" ? (a(), i("div", Pt, [
|
|
509
|
-
S(
|
|
509
|
+
S(v, {
|
|
510
510
|
name: "warning",
|
|
511
511
|
size: "sm",
|
|
512
512
|
class: "mt-[2px] shrink-0 text-fm-color-typo-warning"
|
|
@@ -516,17 +516,17 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
516
516
|
]);
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
|
-
}), Dt = { class: "mt-[20px] mx-auto w-full min-w-0 flex flex-col gap-[20px]" },
|
|
519
|
+
}), Dt = { class: "mt-[20px] mx-auto w-full min-w-0 flex flex-col gap-[20px]" }, Ot = {
|
|
520
520
|
key: 0,
|
|
521
521
|
class: "py-[56px] flex flex-col items-center gap-[12px] text-[14px] text-fm-color-typo-secondary"
|
|
522
|
-
},
|
|
522
|
+
}, Lt = { class: "border-t border-fm-color-neutral-gray-100 pt-[20px]" }, Ut = { class: "group border-t border-fm-color-neutral-gray-100 pt-[12px]" }, Mt = { class: "flex h-[36px] w-fit cursor-pointer list-none items-center gap-[8px] rounded-[8px] px-[8px] -ml-[8px] text-[16px] font-semibold transition-colors hover:bg-fm-color-neutral-gray-100 focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-fm-color-primary [&::-webkit-details-marker]:hidden" }, Rt = { class: "mt-[20px] flex flex-col gap-[20px]" }, Wt = {
|
|
523
523
|
key: 1,
|
|
524
524
|
role: "alert",
|
|
525
525
|
class: "text-[14px] text-fm-color-typo-error"
|
|
526
|
-
}, zt = { class: "flex items-center justify-end gap-[12px] flex-wrap" }, Yt = /* @__PURE__ */
|
|
526
|
+
}, zt = { class: "flex items-center justify-end gap-[12px] flex-wrap" }, Yt = /* @__PURE__ */ L({
|
|
527
527
|
__name: "WhatsappBotSettings",
|
|
528
528
|
setup(p) {
|
|
529
|
-
const { t: n } = U(), m = de(), s = E(() => Q.getBusinessId() ?? ""), o = y(""),
|
|
529
|
+
const { t: n } = U(), m = de(), s = E(() => Q.getBusinessId() ?? ""), o = y(""), v = y(""), u = y([]), f = y([]), h = y(null), w = E(
|
|
530
530
|
() => u.value.filter(
|
|
531
531
|
(d) => d.title.trim() || d.description.trim()
|
|
532
532
|
)
|
|
@@ -534,8 +534,8 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
534
534
|
z
|
|
535
535
|
), T = y(
|
|
536
536
|
z
|
|
537
|
-
), C = y(!0), g = y(!1), x = y(!1),
|
|
538
|
-
() => o.value !==
|
|
537
|
+
), C = y(!0), g = y(!1), x = y(!1), b = y(""), B = y([]), I = y(""), G = J, K = E(
|
|
538
|
+
() => o.value !== v.value || r.value !== T.value || JSON.stringify(u.value) !== JSON.stringify(f.value)
|
|
539
539
|
), V = E(
|
|
540
540
|
() => !g.value || x.value || !K.value
|
|
541
541
|
), te = E(
|
|
@@ -543,19 +543,19 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
543
543
|
);
|
|
544
544
|
let A, M;
|
|
545
545
|
function oe(d) {
|
|
546
|
-
B.value = d.excludedAccounts, o.value = d.botInstructions,
|
|
546
|
+
B.value = d.excludedAccounts, o.value = d.botInstructions, v.value = d.botInstructions, r.value = d.responseSpeed, T.value = d.responseSpeed, u.value = d.knowledgeBase.map((c) => ({ ...c })), f.value = d.knowledgeBase.map((c) => ({
|
|
547
547
|
...c
|
|
548
548
|
}));
|
|
549
549
|
}
|
|
550
550
|
function pe(d, c) {
|
|
551
551
|
const k = d instanceof Error ? d.message : n("connect.whatsappBot.errors.loadSettings");
|
|
552
|
-
c ? I.value = k :
|
|
552
|
+
c ? I.value = k : b.value = k;
|
|
553
553
|
}
|
|
554
554
|
async function R(d = !1) {
|
|
555
555
|
if (d && x.value) return;
|
|
556
556
|
clearTimeout(M), A == null || A.abort();
|
|
557
557
|
const c = new AbortController();
|
|
558
|
-
A = c, d || (C.value = !0, g.value = !1, x.value = !1,
|
|
558
|
+
A = c, d || (C.value = !0, g.value = !1, x.value = !1, b.value = "", o.value = "", v.value = "", r.value = z, T.value = z, u.value = [], f.value = [], h.value = null, B.value = [], I.value = "");
|
|
559
559
|
try {
|
|
560
560
|
if (!s.value)
|
|
561
561
|
throw new Error(n("connect.whatsappBot.errors.selectBusiness"));
|
|
@@ -583,7 +583,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
583
583
|
if (te.value) return;
|
|
584
584
|
clearTimeout(M), A == null || A.abort();
|
|
585
585
|
const d = new AbortController();
|
|
586
|
-
A = d, x.value = !0,
|
|
586
|
+
A = d, x.value = !0, b.value = "";
|
|
587
587
|
const c = h.value === null ? void 0 : u.value[h.value], k = c ? w.value.indexOf(c) : -1;
|
|
588
588
|
try {
|
|
589
589
|
const D = await Y.saveSettings(
|
|
@@ -601,7 +601,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
601
601
|
message: n("connect.whatsappBot.botSettings.saved")
|
|
602
602
|
});
|
|
603
603
|
} catch (D) {
|
|
604
|
-
d.signal.aborted || (
|
|
604
|
+
d.signal.aborted || (b.value = D instanceof Error ? D.message : n("connect.whatsappBot.errors.saveSettings"), m.open({ type: "error", message: b.value }));
|
|
605
605
|
} finally {
|
|
606
606
|
d.signal.aborted || (x.value = !1, le());
|
|
607
607
|
}
|
|
@@ -614,24 +614,24 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
614
614
|
n("connect.whatsappBot.botSettings.discardChangesTitle"),
|
|
615
615
|
n("connect.common.confirm"),
|
|
616
616
|
n("connect.common.cancel")
|
|
617
|
-
) || V.value || s.value !== d || (o.value =
|
|
617
|
+
) || V.value || s.value !== d || (o.value = v.value, r.value = T.value, u.value = f.value.map((k) => ({ ...k })), h.value = null);
|
|
618
618
|
}
|
|
619
619
|
return ce(s, () => void R(), { immediate: !0 }), ie(() => {
|
|
620
620
|
A == null || A.abort(), clearTimeout(M);
|
|
621
621
|
}), (d, c) => {
|
|
622
622
|
const k = $("FmCircularProgress"), D = $("FmIcon"), j = $("FmButton");
|
|
623
623
|
return a(), i("div", Dt, [
|
|
624
|
-
C.value ? (a(), i("output",
|
|
624
|
+
C.value ? (a(), i("output", Ot, [
|
|
625
625
|
S(k),
|
|
626
626
|
N(" " + l(t(n)("connect.whatsappBot.botSettings.loading")), 1)
|
|
627
|
-
])) : (a(), i(
|
|
627
|
+
])) : (a(), i(O, { key: 1 }, [
|
|
628
628
|
g.value ? (a(), P(Ae, {
|
|
629
629
|
key: 0,
|
|
630
630
|
modelValue: o.value,
|
|
631
631
|
"onUpdate:modelValue": c[0] || (c[0] = (F) => o.value = F),
|
|
632
632
|
disabled: x.value
|
|
633
633
|
}, null, 8, ["modelValue", "disabled"])) : _("", !0),
|
|
634
|
-
e("div",
|
|
634
|
+
e("div", Lt, [
|
|
635
635
|
g.value ? (a(), P(it, {
|
|
636
636
|
key: 0,
|
|
637
637
|
accounts: B.value,
|
|
@@ -669,7 +669,7 @@ const ye = { class: "flex flex-col gap-[10px]" }, _e = { class: "flex flex-col g
|
|
|
669
669
|
}, null, 8, ["modelValue", "disabled"])) : _("", !0)
|
|
670
670
|
])
|
|
671
671
|
]),
|
|
672
|
-
|
|
672
|
+
b.value ? (a(), i("p", Wt, l(b.value), 1)) : _("", !0),
|
|
673
673
|
g.value ? _("", !0) : (a(), P(j, {
|
|
674
674
|
key: 2,
|
|
675
675
|
class: "self-start !rounded-full [&_.label]:text-[14px]",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as n, computed as c, watch as p, openBlock as t, createBlock as a, createCommentVNode as s } from "vue";
|
|
2
2
|
import { useRouter as u } from "vue-router";
|
|
3
|
-
import { _ as f, a as i } from "./MainLayout.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as _ } from "./feature-flag-
|
|
5
|
-
import { R as l } from "./app-
|
|
3
|
+
import { _ as f, a as i } from "./MainLayout.vue_vue_type_script_setup_true_lang-DNPmnCA8.js";
|
|
4
|
+
import { u as _ } from "./feature-flag-BBsHJnnj.js";
|
|
5
|
+
import { R as l } from "./app-C5LDuXmt.js";
|
|
6
6
|
const A = /* @__PURE__ */ n({
|
|
7
7
|
__name: "WhatsappLayout",
|
|
8
8
|
setup(d) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as d, toValue as j, ref as f, watch as D, defineComponent as W, mergeModels as O, useModel as $, onBeforeUnmount as z, resolveComponent as N, openBlock as v, createBlock as H, withCtx as T, createElementVNode as t, toDisplayString as s, unref as r, createElementBlock as _, createVNode as L, createTextVNode as V, Fragment as J, renderList as K, createCommentVNode as F } from "vue";
|
|
2
|
-
import { u as E } from "./vue-i18n-
|
|
2
|
+
import { u as E } from "./vue-i18n-CqhxVhhE.js";
|
|
3
3
|
import { b as Q } from "./browser-BSAOEeIM.js";
|
|
4
|
-
import { S as X, a as Y } from "./index-
|
|
5
|
-
import { w as Z } from "./index-
|
|
4
|
+
import { S as X, a as Y } from "./index-sntP2S4R.js";
|
|
5
|
+
import { w as Z } from "./index-xn_PXhGL.js";
|
|
6
6
|
function ee(m) {
|
|
7
7
|
const l = m.connectedAt !== null;
|
|
8
8
|
switch (m.status) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, useAttrs as y, resolveComponent as b, openBlock as l, createBlock as v, mergeProps as x, unref as t, createSlots as g, withCtx as h, createElementVNode as a, toDisplayString as n, renderSlot as k, createElementBlock as F, createCommentVNode as S } from "vue";
|
|
2
|
-
import { Z as d } from "./zod-
|
|
3
|
-
import { u as V } from "./vue-i18n-
|
|
2
|
+
import { Z as d } from "./zod-dX5GDNHW.js";
|
|
3
|
+
import { u as V } from "./vue-i18n-CqhxVhhE.js";
|
|
4
4
|
const B = { class: "fm-typo-en-body-lg-400 flex gap-4 text-fm-color-typo-primary items-center" }, C = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "text-fm-color-typo-tertiary"
|