@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.
Files changed (137) hide show
  1. package/dist/{App-YfpYV7C0.js → App-CIWTDYuZ.js} +11 -11
  2. package/dist/{AuditLogs-kD0_HO_p.js → AuditLogs-BluLDXu9.js} +12 -12
  3. package/dist/{Bin-Dr-Xp3pn.js → Bin-jS6pM4L3.js} +8 -8
  4. package/dist/{Broadcast-CEbHu2xA.js → Broadcast-DBqsSZ0S.js} +12 -12
  5. package/dist/{CampaignAnalytic-DDiGxPwp.js → CampaignAnalytic-DJrjXD4H.js} +7 -7
  6. 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
  7. package/dist/{Card-BUnwg0eM.js → Card-B10nLilL.js} +22 -22
  8. package/dist/{Collections-CKyBkKq2.js → Collections-BN42A73p.js} +8 -8
  9. package/dist/{Credit-CJOXWLV1.js → Credit-0SS26HGE.js} +12 -12
  10. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DmEBLeNI.js → DateRangeChip.vue_vue_type_script_setup_true_lang-B3wozBFs.js} +1 -1
  11. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Ce5R4Un6.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BRd5RVYe.js} +35 -35
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CMFmlqfF.js → EffectSheet.vue_vue_type_style_index_0_lang-zV9dLCWp.js} +6 -6
  13. package/dist/{Experience-C_Am5CTY.js → Experience-D7qPzsrc.js} +13 -13
  14. package/dist/{FileSaver.min-CueAGbjq.js → FileSaver.min-BKWoklMK.js} +1 -1
  15. package/dist/{Game-B6GO_LVU.js → Game-BoYMwfog.js} +13 -13
  16. package/dist/{GiftCardSetup-CVLDDpI2.js → GiftCardSetup-B87O0xzo.js} +10 -10
  17. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-isfGhKO1.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-B3uGbEFY.js} +7 -7
  18. package/dist/{Goals-BX-sMV2V.js → Goals-CVxf3xCA.js} +4 -4
  19. package/dist/{Grab-Bh335Srh.js → Grab-mGL1Mue_.js} +9 -9
  20. 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
  21. package/dist/{Index-CyXRbwcm.js → Index-Dptuy-6c.js} +10 -10
  22. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-S3GB2Ems.js → LocationPicker.vue_vue_type_script_setup_true_lang-Cjc4UeKz.js} +1 -1
  23. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-ZlWHXwXZ.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Bh0ari3f.js} +1 -1
  24. package/dist/{LoyaltyDashboard-DrTq8oiu.js → LoyaltyDashboard-BxhI6RAE.js} +15 -15
  25. package/dist/{MainLayout-KbKkpX5n.js → MainLayout-YfDxvZXl.js} +1 -1
  26. 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
  27. package/dist/{Marketing-DQT1MWQg.js → Marketing-C2cVJacf.js} +4 -4
  28. package/dist/{MarketingMaterialEdit-fSqr53-M.js → MarketingMaterialEdit-DkOEy_L-.js} +6 -6
  29. package/dist/{Member-DwDUCzlv.js → Member-DufbKDOh.js} +7 -7
  30. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-DaQ4Lw8f.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-CU8EmBxy.js} +23 -23
  31. package/dist/{MemberImportHistory-D4ezvJGZ.js → MemberImportHistory-DlFN-uQl.js} +7 -7
  32. package/dist/{MemberList-DFieV7Qk.js → MemberList-B344n8I4.js} +14 -14
  33. package/dist/{MemberTransactions-BPOXyAuC.js → MemberTransactions-BS7H640M.js} +1 -1
  34. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhfsgDd4.js → MessageInput.vue_vue_type_script_setup_true_lang-CxDtXvwd.js} +10 -10
  35. 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
  36. package/dist/{Mission-nErb05Es.js → Mission-D2ed_oKn.js} +14 -14
  37. package/dist/{Overview-DuJr_hAg.js → Overview-CLh_T6YY.js} +4 -4
  38. package/dist/{Overview-7G31a7B-.js → Overview-DJa-hXDC.js} +20 -20
  39. package/dist/{Point-PWDLemD4.js → Point-DAPeg1VD.js} +14 -14
  40. package/dist/{Promotion-N80Tj8M6.js → Promotion-CPPCMMFl.js} +14 -14
  41. package/dist/{Queue-M7ZpgiMT.js → Queue-BcPwCRcM.js} +12 -12
  42. package/dist/{Record-NhxrdvWv.js → Record-C5XKn--g.js} +9 -9
  43. package/dist/{Review-DiAaAzIG.js → Review-Cc51luIv.js} +2 -2
  44. package/dist/{ReviewFacebookCallback-JdyxFbNl.js → ReviewFacebookCallback-BSGInFB8.js} +5 -5
  45. package/dist/{ReviewGoogleCallback-BXbI3Bsh.js → ReviewGoogleCallback-C1gY4vcP.js} +5 -5
  46. package/dist/{Reward-yTaOqOT8.js → Reward-k1R3hLiF.js} +16 -16
  47. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BWPfjZ9K.js → RewardGroup.vue_vue_type_script_setup_true_lang-BGbbGVK4.js} +13 -13
  48. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Cz2H9MKe.js → RuleGroup.vue_vue_type_script_setup_true_lang-Coh3L11L.js} +14 -14
  49. package/dist/{Segment-DE9Bcd6R.js → Segment-DsBnIvje.js} +25 -25
  50. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-pmv0cb4J.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CMKpvXN-.js} +14 -14
  51. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BeWwkTix.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-LyAtRMs8.js} +4 -4
  52. package/dist/{Setting-C0JAxIRT.js → Setting-BRueNgc4.js} +14 -14
  53. package/dist/{SettingAdvertisements-DxueyKU8.js → SettingAdvertisements-BrVcQyhF.js} +12 -12
  54. package/dist/{Settings-Cs46AcxZ.js → Settings-fOvXd29Z.js} +5 -5
  55. package/dist/{Store-DqQae9nE.js → Store-rrh2pIHH.js} +26 -26
  56. package/dist/{StoreRewards-JxSUsOzJ.js → StoreRewards-D-jivVKr.js} +15 -15
  57. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-qgrBtUNX.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CvQXsZbH.js} +24 -24
  58. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D7ifzgsI.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DbnY9VE9.js} +2 -2
  59. package/dist/{Tier-DWhgWush.js → Tier-DJiLtw3M.js} +26 -26
  60. package/dist/{Title-DUNeMdz8.js → Title-s0bzA7yZ.js} +22 -22
  61. package/dist/{Transaction-DAv-LVhC.js → Transaction-CQ-CJ_eh.js} +2 -2
  62. 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
  63. package/dist/{Voucher-uLTq9RSK.js → Voucher-9vydRET7.js} +18 -18
  64. 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
  65. package/dist/{WhatsappAccount-BpXQ4q0P.js → WhatsappAccount-D12Hvzfl.js} +52 -51
  66. package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-EssnbsgT.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BrZEDi6O.js} +1 -1
  67. package/dist/WhatsappBot-o5b_0CnB.js +629 -0
  68. package/dist/{WhatsappBotLogs-DDN4H_bv.js → WhatsappBotLogs-CK_V_iT5.js} +39 -39
  69. package/dist/WhatsappBotSettings-BooibLUg.js +694 -0
  70. package/dist/{WhatsappLayout-DSnq84Uo.js → WhatsappLayout-bOyNHGUI.js} +3 -3
  71. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-Cytrffdh.js +253 -0
  72. 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
  73. package/dist/{app-Devzv4gO.js → app-DV3e2LkD.js} +342 -267
  74. package/dist/app.js +1 -1
  75. package/dist/{base.export-CCSMkvAm.js → base.export-DQUUtGmy.js} +2 -2
  76. package/dist/{business-BjAmUqNA.js → business-BZ0boE-5.js} +1 -1
  77. package/dist/{campaign-C5c47GqT.js → campaign-CsfFq2S-.js} +8 -8
  78. package/dist/{campaign-CTe-T5Gd.js → campaign-DMrtYWcs.js} +2 -2
  79. package/dist/{campaign.fn-DxAO8A5b.js → campaign.fn-C-CdNNdR.js} +185 -185
  80. package/dist/{collection.fn-C9l-OtNt.js → collection.fn-C-rryKSc.js} +2 -2
  81. package/dist/{currency-mwm4AWXK.js → currency-BOd9iVZV.js} +1 -1
  82. package/dist/{duplicateCampaign-BbC4AwQ1.js → duplicateCampaign-ey_rW0Bz.js} +2 -2
  83. package/dist/{effect-D8ba9z0K.js → effect-BP6Hkxmj.js} +1 -1
  84. package/dist/{email-addresses-BR5J6_Jz.js → email-addresses-CO61QAq0.js} +2 -2
  85. package/dist/{feature-flag-C-5NdFW8.js → feature-flag-Bq1SgbYC.js} +1 -1
  86. package/dist/{feature-flag-CNcU4_3r.js → feature-flag-lvPP0ED-.js} +1 -1
  87. package/dist/{helper-D9cEaMIv.js → helper-BRpts-M-.js} +1 -1
  88. package/dist/{index-OvnHt5x5.js → index-03WIXl-H.js} +2 -2
  89. package/dist/{index-BfoDdVQS.js → index-B0RavybO.js} +2 -2
  90. package/dist/{index-BvY2hQac.js → index-BDNkoALK.js} +1 -1
  91. package/dist/{index-CmzjBrHR.js → index-BV5aPSYo.js} +8 -8
  92. package/dist/{index-B_gzo75q.js → index-Bk20uvPY.js} +1 -1
  93. package/dist/{index-Drmh0FT-.js → index-Bn19rfby.js} +3 -3
  94. package/dist/{index-DwTBiVts.js → index-Cj-eugzc.js} +1 -1
  95. package/dist/{index-DtcUCknS.js → index-CoROn5OA.js} +2 -2
  96. package/dist/{index-DnepoNWn.js → index-CrBhcMaL.js} +3 -3
  97. package/dist/{index-CZfqqrVu.js → index-CsBjAM3E.js} +1 -1
  98. package/dist/{index-yGSko6Eq.js → index-D1t4_KaG.js} +1 -1
  99. package/dist/{index-B7HH6vKF.js → index-D3wGTCWf.js} +2 -2
  100. package/dist/{index-D34iYRdc.js → index-D41kjcrZ.js} +4 -4
  101. package/dist/{index-B1jP-_Z_.js → index-DIZLkVe0.js} +10 -10
  102. package/dist/{index-Ct6YjTIW.js → index-DucKyzrD.js} +2 -2
  103. package/dist/{index-D4k1G2oE.js → index-R5WS21OL.js} +1 -1
  104. package/dist/{index-BFaZp6Et.js → index-VYI0zWNC.js} +2 -2
  105. package/dist/{index-0H82-X0n.js → index-ZRE89TKq.js} +1 -1
  106. package/dist/{index-Byg4ztr-.js → index-_Cj-bsd_.js} +14 -14
  107. package/dist/{index-VqAbYyHH.js → index-mToWKHVs.js} +2 -2
  108. package/dist/{index.esm2017-DLb2VyCT.js → index.esm2017-B_Sag8Pg.js} +76 -76
  109. package/dist/{loading-CUNk5u1d.js → loading-C5fVI0ry.js} +1 -1
  110. package/dist/{lodash-BJXravls.js → lodash-COo8_xCU.js} +1 -1
  111. package/dist/{member-import-DjYoddBi.js → member-import-I_pKwUfF.js} +1 -1
  112. package/dist/{membership-ByJUFP8f.js → membership-BgfH9Kva.js} +2 -2
  113. package/dist/{money-Bf2IEMJJ.js → money-Cr07YDlV.js} +1 -1
  114. package/dist/{number-CRBHrRUL.js → number-DFsj0dkh.js} +1 -1
  115. package/dist/objectid-Cu89BzwI.js +145 -0
  116. package/dist/{onboarding-CQ3lw7eY.js → onboarding-DlkJCm-5.js} +3 -3
  117. package/dist/{onboardingSetup-CsdZKGFk.js → onboardingSetup-BEhVj613.js} +2 -2
  118. package/dist/{plugins-iTZLbJGy.js → plugins-CPTtiKqf.js} +3 -3
  119. package/dist/{reward-DTN6JpEd.js → reward-DqY0mQ_5.js} +1 -1
  120. package/dist/{rule-BYACNQOL.js → rule-mJJ48eKw.js} +9 -9
  121. package/dist/{template--Vr0PCjB.js → template-C1QftpDG.js} +6 -6
  122. package/dist/{timezone-DwzjOED-.js → timezone-BBgBHels.js} +1 -1
  123. package/dist/{transaction.fn-DapYe3n7.js → transaction.fn-Sr0hj3kY.js} +2 -2
  124. package/dist/{trigger-D8r76yb0.js → trigger-PUP0mwKM.js} +7 -7
  125. package/dist/{useMarketingMaterialActions-CdMmibPE.js → useMarketingMaterialActions-faslwaHd.js} +3 -3
  126. package/dist/{usePagination-BRcQJkO1.js → usePagination-Be6nIQ9y.js} +1 -1
  127. package/dist/{user-vBZFKqXQ.js → user-DBSYzG_9.js} +1 -1
  128. package/dist/{vue-i18n-Cw6fF11e.js → vue-i18n-C6c2jsH3.js} +409 -409
  129. package/dist/{xlsx-Muy_Rjhk.js → xlsx-Bfo19lFv.js} +224 -224
  130. package/dist/{zod-CCPTOeUz.js → zod-CihbDg3N.js} +1 -1
  131. package/package.json +1 -1
  132. package/dist/WhatsappBot-DB4NRZMd.js +0 -589
  133. package/dist/WhatsappBotSettings-Bkv1VNwF.js +0 -387
  134. package/dist/WhatsappBotTickets-DAKgnE6T.js +0 -162
  135. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-1BvxPD-k.js +0 -195
  136. package/dist/objectid-58gyOvdR.js +0 -145
  137. package/dist/useWhatsappAccount-BOJ8fz84.js +0 -62
@@ -1,12 +1,12 @@
1
- import { defineComponent as T, resolveComponent as k, openBlock as l, createElementBlock as d, createElementVNode as s, toDisplayString as i, unref as p, createVNode as _, computed as w, Fragment as M, renderList as V, createCommentVNode as $, normalizeClass as ee, createTextVNode as P, createBlock as I, ref as b, watch as G, onBeforeUnmount as te, withCtx as O } from "vue";
2
- import { u as E } from "./vue-i18n-Cw6fF11e.js";
1
+ import { defineComponent as T, resolveComponent as k, openBlock as r, createElementBlock as d, createElementVNode as s, toDisplayString as i, unref as p, createVNode as _, computed as w, Fragment as M, renderList as V, createCommentVNode as $, normalizeClass as ee, createTextVNode as P, createBlock as I, ref as b, watch as G, onBeforeUnmount as te, withCtx as O } from "vue";
2
+ import { u as E } from "./vue-i18n-C6c2jsH3.js";
3
3
  import { useCoreStore as oe } from "@feedmepos/mf-common";
4
- import { S as ne } from "./index-OvnHt5x5.js";
5
- import { w as ae } from "./index-0H82-X0n.js";
4
+ import { S as ne } from "./index-03WIXl-H.js";
5
+ import { w as ae } from "./index-ZRE89TKq.js";
6
6
  import { _ as se } from "./remy-icon-BhUGu2NI.js";
7
- import { _ as re } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-1BvxPD-k.js";
8
- import { C as U } from "./timezone-DwzjOED-.js";
9
- import { m as le } from "./index-yGSko6Eq.js";
7
+ import { _ as le } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-Cytrffdh.js";
8
+ import { C as U } from "./timezone-BBgBHels.js";
9
+ import { m as re } from "./index-D1t4_KaG.js";
10
10
  const ce = { class: "group self-end min-w-[min(280px,100%)] max-w-[80%] rounded-[12px] rounded-br-[4px] bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary" }, ie = { class: "flex items-center gap-[4px] min-h-[28px] px-[10px] py-[4px] text-[11px] font-medium cursor-pointer list-none rounded-[12px] focus-visible:outline-fm-color-primary" }, pe = { class: "flex-1 group-open:hidden" }, ue = { class: "flex-1 hidden group-open:inline" }, me = { class: "px-[10px] pt-[2px] pb-[8px] text-[13px] leading-[18px] whitespace-pre-wrap break-words" }, de = /* @__PURE__ */ T({
11
11
  __name: "ThoughtBubble",
12
12
  props: {
@@ -16,7 +16,7 @@ const ce = { class: "group self-end min-w-[min(280px,100%)] max-w-[80%] rounded-
16
16
  const { t: v } = E();
17
17
  return (n, g) => {
18
18
  const c = k("FmIcon");
19
- return l(), d("details", ce, [
19
+ return r(), d("details", ce, [
20
20
  s("summary", ie, [
21
21
  g[0] || (g[0] = s("img", {
22
22
  src: se,
@@ -78,7 +78,7 @@ const ce = { class: "group self-end min-w-[min(280px,100%)] max-w-[80%] rounded-
78
78
  }
79
79
  return (f, B) => {
80
80
  const N = k("FmIcon");
81
- return l(), d("article", xe, [
81
+ return r(), d("article", xe, [
82
82
  s("header", fe, [
83
83
  s("div", he, i(u.value), 1),
84
84
  s("div", ve, [
@@ -91,34 +91,34 @@ const ce = { class: "group self-end min-w-[min(280px,100%)] max-w-[80%] rounded-
91
91
  }, i(A.value.format(new Date(m.conversation.lastCreatedAt))), 9, _e)
92
92
  ]),
93
93
  s("ol", we, [
94
- (l(!0), d(M, null, V(m.conversation.logs, (r) => (l(), d("li", {
95
- key: r.id,
94
+ (r(!0), d(M, null, V(m.conversation.logs, (l) => (r(), d("li", {
95
+ key: l.id,
96
96
  class: "flex flex-col gap-[4px] min-w-0"
97
97
  }, [
98
- r.type === "message" ? (l(), d(M, { key: 0 }, [
99
- r.isFromMe && !r.isFromBot ? (l(), d("span", be, i(p(c)("connect.whatsappBot.logs.sentByStaff")), 1)) : $("", !0),
98
+ l.type === "message" ? (r(), d(M, { key: 0 }, [
99
+ l.isFromMe && !l.isFromBot ? (r(), d("span", be, i(p(c)("connect.whatsappBot.logs.sentByStaff")), 1)) : $("", !0),
100
100
  s("div", {
101
101
  class: ee([
102
102
  "px-[10px] py-[6px] text-[14px] leading-[20px] whitespace-pre-wrap break-words min-w-0",
103
- r.isFromMe ? "self-end max-w-[80%] bg-fm-color-primary-oats rounded-[12px] rounded-br-[4px]" : "self-start max-w-[75%] bg-fm-color-neutral-gray-100/50 rounded-[12px] rounded-bl-[4px]"
103
+ l.isFromMe ? "self-end max-w-[80%] bg-fm-color-primary-oats rounded-[12px] rounded-br-[4px]" : "self-start max-w-[75%] bg-[#F7F7F7] rounded-[12px] rounded-bl-[4px]"
104
104
  ])
105
105
  }, [
106
- P(i(h(r)) + " ", 1),
107
- r.isEdit ? (l(), d("span", ke, " (" + i(p(c)("connect.whatsappBot.logs.edited")) + ") ", 1)) : $("", !0),
106
+ P(i(h(l)) + " ", 1),
107
+ l.isEdit ? (r(), d("span", ke, " (" + i(p(c)("connect.whatsappBot.logs.edited")) + ") ", 1)) : $("", !0),
108
108
  s("time", {
109
- datetime: r.timestamp,
109
+ datetime: l.timestamp,
110
110
  class: "float-right mt-[6px] ml-[10px] text-[11px] leading-[14px] text-fm-color-typo-tertiary tabular-nums"
111
- }, i(y.value.format(new Date(r.timestamp))), 9, Be)
111
+ }, i(y.value.format(new Date(l.timestamp))), 9, Be)
112
112
  ], 2)
113
- ], 64)) : r.type === "thought" ? (l(), I(de, {
113
+ ], 64)) : l.type === "thought" ? (r(), I(de, {
114
114
  key: 1,
115
- text: r.text
116
- }, null, 8, ["text"])) : r.type === "escalate" ? (l(), d("button", {
115
+ text: l.text
116
+ }, null, 8, ["text"])) : l.type === "escalate" ? (r(), d("button", {
117
117
  key: 2,
118
118
  type: "button",
119
119
  title: p(c)("connect.whatsappBot.logs.openNotificationGroup"),
120
120
  class: "self-end flex items-start gap-[8px] max-w-[80%] py-[8px] pr-[12px] pl-[8px] border border-fm-color-neutral-gray-200 rounded-[8px] text-left hover:bg-fm-color-neutral-gray-100/50 focus-visible:outline-fm-color-primary",
121
- onClick: (C) => g("notificationGroup", r.clientId)
121
+ onClick: (C) => g("notificationGroup", l.clientId)
122
122
  }, [
123
123
  s("span", Fe, [
124
124
  _(N, {
@@ -129,7 +129,7 @@ const ce = { class: "group self-end min-w-[min(280px,100%)] max-w-[80%] rounded-
129
129
  s("span", Ae, [
130
130
  s("span", Ne, i(p(c)("connect.whatsappBot.logs.escalated")), 1),
131
131
  s("span", $e, i(p(c)("connect.whatsappBot.logs.reason", {
132
- reason: r.source === "staff" ? p(c)("connect.whatsappBot.tickets.staffReason") : r.reason
132
+ reason: l.source === "staff" ? p(c)("connect.whatsappBot.tickets.staffReason") : l.reason
133
133
  })), 1)
134
134
  ])
135
135
  ], 8, Ce)) : $("", !0)
@@ -149,7 +149,7 @@ function Me(m, v) {
149
149
  t.chatJid
150
150
  ]), u = g.get(o) ?? { name: "", phone: "" };
151
151
  t.customerName && (u.name = t.customerName), t.phoneNumber && (u.phone = t.phoneNumber), g.set(o, u);
152
- const A = le.tz(t.createdAt, v).format("YYYY-MM-DD"), y = `${o}:${A}`, h = n.get(y);
152
+ const A = re.tz(t.createdAt, v).format("YYYY-MM-DD"), y = `${o}:${A}`, h = n.get(y);
153
153
  h ? (h.logs.push(t), h.lastCreatedAt = t.createdAt, h.clientId = t.clientId) : n.set(y, {
154
154
  id: y,
155
155
  clientId: t.clientId,
@@ -193,7 +193,7 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
193
193
  class: "border border-fm-color-neutral-gray-200 rounded-[16px] px-[24px] py-[56px] flex flex-col items-center text-center gap-[8px]"
194
194
  }, Ye = { class: "text-[20px] font-semibold" }, je = { class: "max-w-[420px] text-[14px] leading-[20px] text-fm-color-typo-secondary" }, Ge = {
195
195
  key: 4,
196
- class: "w-full max-w-[880px] flex flex-col gap-[12px]"
196
+ class: "mx-auto w-full min-w-0 flex flex-col gap-[12px]"
197
197
  }, qe = /* @__PURE__ */ T({
198
198
  __name: "WhatsappBotLogs",
199
199
  props: {
@@ -202,7 +202,7 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
202
202
  setup(m) {
203
203
  const v = m, { t: n } = E(), g = oe(), c = w(() => ne.getBusinessId() ?? ""), t = w(
204
204
  () => U[g.currentCountry.value || "MY"] ?? U.MY
205
- ), o = b([]), u = b(""), A = b([]), y = b([]), h = b(!0), f = b(""), B = b(), N = b(!1), r = b("");
205
+ ), o = b([]), u = b(""), A = b([]), y = b([]), h = b(!0), f = b(""), B = b(), N = b(!1), l = b("");
206
206
  let C;
207
207
  function S(a) {
208
208
  var F;
@@ -236,12 +236,12 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
236
236
  o.value = o.value.includes(a) ? o.value.filter((e) => e !== a) : [...o.value, a];
237
237
  }
238
238
  function K(a) {
239
- r.value = "";
239
+ l.value = "";
240
240
  const e = v.accounts.find(
241
241
  (F) => F.clientId === a
242
242
  );
243
243
  if (!e) {
244
- r.value = n("connect.whatsappBot.errors.accountNotFound");
244
+ l.value = n("connect.whatsappBot.errors.accountNotFound");
245
245
  return;
246
246
  }
247
247
  B.value = e, N.value = !0;
@@ -272,14 +272,14 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
272
272
  }
273
273
  }
274
274
  return G(c, () => {
275
- o.value = [], u.value = "", y.value = [], N.value = !1, B.value = void 0, r.value = "";
275
+ o.value = [], u.value = "", y.value = [], N.value = !1, B.value = void 0, l.value = "";
276
276
  }), G(
277
277
  [c, () => o.value.join(",")],
278
278
  () => void D(),
279
279
  { immediate: !0 }
280
280
  ), te(() => C == null ? void 0 : C.abort()), (a, e) => {
281
281
  const F = k("FmChip"), L = k("FmSearch"), Q = k("FmMenuDivider"), z = k("FmMenuItem"), X = k("FmMenu"), j = k("FmButton"), q = k("FmCircularProgress");
282
- return l(), d(M, null, [
282
+ return r(), d(M, null, [
283
283
  s("section", Se, [
284
284
  s("div", De, [
285
285
  _(X, {
@@ -307,14 +307,14 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
307
307
  onClick: e[1] || (e[1] = (x) => o.value = [])
308
308
  }, null, 8, ["label", "model-value"]),
309
309
  s("div", Le, [
310
- (l(!0), d(M, null, V(J.value, (x) => (l(), I(z, {
310
+ (r(!0), d(M, null, V(J.value, (x) => (r(), I(z, {
311
311
  key: x.clientId,
312
312
  label: x.label,
313
313
  "model-value": o.value.includes(x.clientId),
314
314
  "has-checkbox": "",
315
315
  onClick: (Oe) => H(x.clientId)
316
316
  }, null, 8, ["label", "model-value", "onClick"]))), 128)),
317
- J.value.length ? $("", !0) : (l(), I(z, {
317
+ J.value.length ? $("", !0) : (r(), I(z, {
318
318
  key: 0,
319
319
  label: p(n)("connect.whatsappBot.logs.noMatchingAccounts"),
320
320
  disabled: ""
@@ -332,11 +332,11 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
332
332
  onClick: e[2] || (e[2] = (x) => D())
333
333
  }, null, 8, ["label", "disabled"])
334
334
  ]),
335
- r.value ? (l(), d("p", ze, i(r.value), 1)) : $("", !0),
336
- h.value ? (l(), d("div", Ve, [
335
+ l.value ? (r(), d("p", ze, i(l.value), 1)) : $("", !0),
336
+ h.value ? (r(), d("div", Ve, [
337
337
  _(q),
338
338
  P(" " + i(p(n)("connect.whatsappBot.logs.loading")), 1)
339
- ])) : f.value ? (l(), d("div", Te, [
339
+ ])) : f.value ? (r(), d("div", Te, [
340
340
  s("p", Ee, i(f.value), 1),
341
341
  _(j, {
342
342
  variant: "secondary",
@@ -344,20 +344,20 @@ const Se = { class: "mt-[20px] flex flex-col gap-[16px]" }, De = { class: "flex
344
344
  label: p(n)("connect.whatsappBot.tryAgain"),
345
345
  onClick: e[3] || (e[3] = (x) => D())
346
346
  }, null, 8, ["label"])
347
- ])) : Y.value.length ? (l(), d("div", Ge, [
348
- (l(!0), d(M, null, V(Y.value, (x) => (l(), I(Ie, {
347
+ ])) : Y.value.length ? (r(), d("div", Ge, [
348
+ (r(!0), d(M, null, V(Y.value, (x) => (r(), I(Ie, {
349
349
  key: x.id,
350
350
  conversation: x,
351
351
  "account-name": S(x.clientId),
352
352
  timezone: t.value,
353
353
  onNotificationGroup: K
354
354
  }, null, 8, ["conversation", "account-name", "timezone"]))), 128))
355
- ])) : (l(), d("div", Je, [
355
+ ])) : (r(), d("div", Je, [
356
356
  s("h2", Ye, i(p(n)("connect.whatsappBot.logs.emptyTitle")), 1),
357
357
  s("p", je, i(p(n)("connect.whatsappBot.logs.emptyDescription")), 1)
358
358
  ]))
359
359
  ]),
360
- B.value ? (l(), I(re, {
360
+ B.value ? (r(), I(le, {
361
361
  key: 0,
362
362
  modelValue: N.value,
363
363
  "onUpdate:modelValue": e[4] || (e[4] = (x) => N.value = x),