@feedmepos/mf-connect 0.1.117-dev → 0.1.118-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.
Files changed (146) hide show
  1. package/dist/{App-BpcsgH7K.js → App-BHcTqLff.js} +89 -97
  2. package/dist/{Bin-Cm0wjQeR.js → Bin-DWhXJmHo.js} +8 -8
  3. package/dist/{Broadcast-BoJaHqnO.js → Broadcast-Ct1DL8Pd.js} +21 -22
  4. package/dist/{CampaignAnalytic-Eg4xZW0B.js → CampaignAnalytic-BSEKCM-4.js} +7 -7
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BXylK6Ze.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BxRg2Wu8.js} +10 -9
  6. package/dist/{Card-BfkMcFaG.js → Card-B7DwrAPH.js} +23 -23
  7. package/dist/{Collections-RXmxQbII.js → Collections-BJw4JJq_.js} +185 -197
  8. package/dist/{Credit-CsRPM1jv.js → Credit-BteIGXkp.js} +20 -21
  9. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-D2tvK7pw.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CSFwIzOS.js} +1 -1
  10. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJotVIKM.js +3496 -0
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CUx8UIIq.js → EffectSheet.vue_vue_type_style_index_0_lang-BDZ21UHA.js} +30 -30
  12. package/dist/{Experience-BC8Pj-v9.js → Experience-C_VQVfJX.js} +31 -32
  13. package/dist/{FileSaver.min-DzmoQFA0.js → FileSaver.min-CMiQUZQE.js} +1 -1
  14. package/dist/{Game-DJXNHFBs.js → Game-BiHMrMBF.js} +18 -19
  15. package/dist/{GiftCardSetup-_0n8lU-t.js → GiftCardSetup-DtJIm6oI.js} +31 -31
  16. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-C-AiJdui.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BKGnPAEj.js} +7 -7
  17. package/dist/{Goals-DSZwKpds.js → Goals-B7VjLMDT.js} +4 -4
  18. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BZb-H4fM.js → ImageInput.vue_vue_type_script_setup_true_lang-C9ecPgpJ.js} +1 -1
  19. package/dist/{Index-Cbi0bquE.js → Index-D_DIHKZG.js} +10 -10
  20. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-GLhMtvzi.js → LocationPicker.vue_vue_type_script_setup_true_lang-DSwB0Ubn.js} +1 -1
  21. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-Bt9CO_QR.js → LottieAnimation.vue_vue_type_script_setup_true_lang-dk8_eVwd.js} +1 -1
  22. package/dist/{LoyaltyDashboard-fK90c27A.js → LoyaltyDashboard-DOgHeJdK.js} +15 -15
  23. package/dist/{MainLayout-Bf-l9yL4.js → MainLayout-CfYgoXLS.js} +1 -1
  24. package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-COR6YYYI.js → MainLayout.vue_vue_type_script_setup_true_lang-Bz2LGHUd.js} +3 -3
  25. package/dist/{Marketing-B7cZGsO-.js → Marketing-B6TCrwaR.js} +4 -4
  26. package/dist/{MarketingMaterialEdit-5IcV2ct6.js → MarketingMaterialEdit-Bu3a9NGj.js} +211 -214
  27. package/dist/{Member-BGTrRVdq.js → Member-X51KrYXV.js} +7 -7
  28. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-DJr2hV2W.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-CYU21JaO.js} +48 -40
  29. package/dist/{MemberImportHistory--FxkTJmu.js → MemberImportHistory-CHd9fx7E.js} +7 -7
  30. package/dist/{MemberList-EjY5dgwt.js → MemberList-D4L3bSlw.js} +105 -103
  31. package/dist/{MemberTransactions-Oia7LIFK.js → MemberTransactions-CEgjfhnX.js} +1 -1
  32. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CLOQZCYy.js → MessageInput.vue_vue_type_script_setup_true_lang-zsaig_yK.js} +12 -12
  33. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-Ev3bB8cg.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-YZQkKG66.js} +1 -1
  34. package/dist/{Mission-BFHYb4aT.js → Mission-BEVtvY0-.js} +21 -22
  35. package/dist/{Overview-d5U37aot.js → Overview-4QRkldza.js} +144 -145
  36. package/dist/{Overview-BVNyQxFL.js → Overview-DVoXXZ16.js} +21 -21
  37. package/dist/{Point-CXkqH02Z.js → Point-BJmebaL9.js} +21 -22
  38. package/dist/{Promotion-DdxNvlOO.js → Promotion-DWZZBofu.js} +131 -137
  39. package/dist/{Queue-C96oNKyP.js → Queue-DLdsyhCT.js} +46 -46
  40. package/dist/{Record-Bj2e2Y4i.js → Record-QOD3XELf.js} +9 -9
  41. package/dist/{Review-CJK5S1oI.js → Review-CKmhyuqj.js} +2 -2
  42. package/dist/ReviewFacebookCallback-C6DlaJ_j.js +238 -0
  43. package/dist/{ReviewGoogleCallback-Dmk4VyGA.js → ReviewGoogleCallback-CDriVQPZ.js} +5 -5
  44. package/dist/{Reward-Dh2YI0Xb.js → Reward-DftoZfPN.js} +16 -16
  45. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-U47m3AAn.js → RewardGroup.vue_vue_type_script_setup_true_lang-ZgYX2QwC.js} +14 -14
  46. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DHmBwLNP.js +1884 -0
  47. package/dist/{Segment-FYvtCkqH.js → Segment-URdB0lnl.js} +307 -304
  48. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DPZZz2e0.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DmI2LAsz.js} +15 -15
  49. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-D8wBgLlS.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCEgZzA4.js} +4 -4
  50. package/dist/{Setting-CUAWjCqa.js → Setting-BDIHH2Wk.js} +148 -159
  51. package/dist/{SettingAdvertisements-COIQwUD6.js → SettingAdvertisements-CkJYZnIN.js} +12 -12
  52. package/dist/Settings-9gaegvYJ.js +179 -0
  53. package/dist/{Store-BAXwiyvx.js → Store-CV0kYncl.js} +29 -29
  54. package/dist/{StoreRewards-2mUavtUg.js → StoreRewards-30kSkAZ_.js} +15 -15
  55. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Dgwyk3NA.js +1265 -0
  56. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CDUhH6wp.js +142 -0
  57. package/dist/{Tier-BmAOzRHL.js → Tier-DiQSC3iv.js} +688 -2576
  58. package/dist/{Title-DMxiUg30.js → Title-DixxpjAg.js} +95 -96
  59. package/dist/{Transaction-CF6hXEpN.js → Transaction-DQK4LUGD.js} +2 -2
  60. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BON_t0dL.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CL-GKkuD.js} +26 -26
  61. package/dist/{Voucher-DrtITxq-.js → Voucher-CSVlk_Hr.js} +19 -19
  62. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-1DZOzJKx.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CiSoy0Ky.js} +12 -12
  63. package/dist/{WhatsappAccount-Bb0Y7ikk.js → WhatsappAccount-CQYbv2Ew.js} +66 -64
  64. package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CPlyzkp4.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DjgRo9iA.js} +1 -1
  65. package/dist/{WhatsappBot-DNvvaPey.js → WhatsappBot-DdO9Bfvh.js} +324 -322
  66. package/dist/{WhatsappBotLogs-C8M-1pvv.js → WhatsappBotLogs-CjjWJGND.js} +11 -11
  67. package/dist/{WhatsappBotSettings-D6egqUyU.js → WhatsappBotSettings-DYGx-kRr.js} +287 -288
  68. package/dist/{WhatsappLayout-DeQTPuF6.js → WhatsappLayout-B6k_79Kl.js} +3 -3
  69. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DTUytfe5.js +261 -0
  70. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CKZscSjU.js → ZodTextField.vue_vue_type_script_setup_true_lang-DdCUr_Zm.js} +2 -2
  71. package/dist/{app-BjdLqYQq.js → app-CqQeNnGq.js} +3382 -4110
  72. package/dist/app.js +3 -4
  73. package/dist/{base.export-B68z5BF6.js → base.export-Dls5LQeu.js} +2 -2
  74. package/dist/{business-D9fgkHxb.js → business-gvLSQklz.js} +1 -1
  75. package/dist/{campaign-Dw_ujovr.js → campaign-BqazvOUj.js} +94 -121
  76. package/dist/{campaign-eMaPX8r6.js → campaign-Cd6GmA4U.js} +25 -31
  77. package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-BqekIiiN.js} +1 -2
  78. package/dist/{campaign.fn-DFjGNvmN.js → campaign.fn-C0oMb1fs.js} +99 -99
  79. package/dist/{collection.fn-CCOWtB-c.js → collection.fn-CERMsFPh.js} +2 -2
  80. package/dist/{currency-CTLKReFC.js → currency-IkiKiNg1.js} +1 -1
  81. package/dist/{effect-CTI1ZH57.js → effect-j_T62HBN.js} +1 -1
  82. package/dist/{email-addresses-B74e3bnB.js → email-addresses-CN1kPlEj.js} +2 -2
  83. package/dist/{feature-flag-DVdEaChJ.js → feature-flag-DDfyOLsv.js} +88 -88
  84. package/dist/google-C3S8u0mT.js +4 -0
  85. package/dist/{helper-as9K-piK.js → helper-DVUe13eh.js} +1 -1
  86. package/dist/{index-BW7FoVEA.js → index-9RBtEPPj.js} +1 -1
  87. package/dist/{index-Czg-2Ni0.js → index-BmIfGArh.js} +3 -3
  88. package/dist/{index-DKI8401o.js → index-BvkqHehI.js} +7 -7
  89. package/dist/{index-B0h0iYWP.js → index-BvoOJdfc.js} +2 -2
  90. package/dist/{index-CWLOcQ6j.js → index-C-IajuP1.js} +9 -9
  91. package/dist/{index-3LjKJhQa.js → index-COuLtOaw.js} +1 -1
  92. package/dist/{index-QHqcSN2q.js → index-CPyK4a5J.js} +4 -4
  93. package/dist/{index-BbVbqe4Y.js → index-CWGbeg5X.js} +6 -19
  94. package/dist/{index-CHU3UePP.js → index-C_SaKemI.js} +1 -1
  95. package/dist/{index-BEKMTiFb.js → index-Cjy0SXCn.js} +197 -197
  96. package/dist/{index-C5V6u2Qd.js → index-DALsfLV7.js} +2613 -2699
  97. package/dist/{index-CQxkDpX0.js → index-DMiaWY0s.js} +581 -682
  98. package/dist/{index-B_wRpO02.js → index-D_1pnadB.js} +15 -29
  99. package/dist/{index-TAoQpeLQ.js → index-DzbVgUEP.js} +1 -1
  100. package/dist/{index-C-iwb2Ln.js → index-I9lmcd2w.js} +2 -2
  101. package/dist/{index-wsCCqwdr.js → index-UJHdDEG1.js} +2 -2
  102. package/dist/{index-DcZiikOH.js → index-ep_Kxxid.js} +2 -2
  103. package/dist/{index-BhTrG89b.js → index-fNYUguDQ.js} +232 -389
  104. package/dist/{index-Ba719MYq.js → index-jS16KX9p.js} +1 -1
  105. package/dist/{index-Ckz6u3ac.js → index-k7FFxt_M.js} +2 -2
  106. package/dist/{index-8mBfDn3M.js → index-lzQ6ehOk.js} +251 -608
  107. package/dist/{index.esm2017-DL6rTGDW.js → index.esm2017-vJKhLfdu.js} +177 -177
  108. package/dist/{loading-x6IScY4K.js → loading-jZV2Dm--.js} +1 -1
  109. package/dist/{lodash-nwnDizYo.js → lodash-C2pLek0l.js} +1 -1
  110. package/dist/{member-import-C-b01Tyd.js → member-import-BKI7soRD.js} +1 -1
  111. package/dist/{membership-DfarOMtO.js → membership-smdlFpPr.js} +2 -2
  112. package/dist/{money-CFn-jR4W.js → money-5XyTnYwW.js} +1 -1
  113. package/dist/{number-CSlyDL2x.js → number-DHU9qJJQ.js} +1 -1
  114. package/dist/objectid-jT5g6pGt.js +145 -0
  115. package/dist/{onboarding-DyaFaaF2.js → onboarding-C_5pyGx-.js} +25 -25
  116. package/dist/{onboardingSetup-DQt91O9f.js → onboardingSetup-Bd1V-Ipy.js} +2 -2
  117. package/dist/{plugins-DEHr0UOe.js → plugins-D1Ru-da5.js} +3 -3
  118. package/dist/{reward-Du_Pv-4p.js → reward-BqPl68Xk.js} +1 -1
  119. package/dist/{rule-DfqmQTVK.js → rule-WBrRXwL-.js} +492 -572
  120. package/dist/rule-builder-DAlSbaWh.js +102 -0
  121. package/dist/style.css +1 -1
  122. package/dist/template-DDquG4Xc.js +236 -0
  123. package/dist/{timezone-_4tabIaK.js → timezone-O4qrCDcK.js} +1 -1
  124. package/dist/{transaction.fn-C46PHwCV.js → transaction.fn-CY_F8Nb8.js} +2 -2
  125. package/dist/{trigger-Dipr6btC.js → trigger-D-vySeIB.js} +8 -8
  126. package/dist/{useMarketingMaterialActions-BAw2ZjeF.js → useMarketingMaterialActions-kA6SLHy_.js} +4 -4
  127. package/dist/{usePagination-D6RZ18zS.js → usePagination-AYE_RJH2.js} +1 -1
  128. package/dist/{user-BCexQj3Q.js → user-DJcMkYXP.js} +1 -1
  129. package/dist/vue-i18n-kXHiDb_1.js +2365 -0
  130. package/dist/{xlsx-BTxt_Jg6.js → xlsx--s3hBdDk.js} +224 -224
  131. package/dist/{zod-T4wMYjWT.js → zod-IpHRbxaJ.js} +1 -1
  132. package/package.json +2 -6
  133. package/dist/AuditLogs-BNnUiVnD.js +0 -2016
  134. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BgPeHurN.js +0 -4442
  135. package/dist/Grab-DDc7e-AC.js +0 -301
  136. package/dist/ReviewFacebookCallback-ChG7TRy5.js +0 -225
  137. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-2L6ZGMW7.js +0 -1923
  138. package/dist/Settings-D2gFPvmW.js +0 -286
  139. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-5g3yIL1a.js +0 -1319
  140. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DHi4rdT1.js +0 -7007
  141. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DI0pcHcE.js +0 -253
  142. package/dist/duplicateCampaign-BcpBfUGL.js +0 -51
  143. package/dist/google-BQK68wbe.js +0 -5
  144. package/dist/objectid-zcT6ESET.js +0 -145
  145. package/dist/template-CcbNF4PF.js +0 -188
  146. package/dist/vue-i18n-DXvyTCZf.js +0 -2365
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, computed as b, resolveComponent as s, openBlock as t, createElementBlock as v, Fragment as y, createVNode as m, unref as o, createElementVNode as k, createBlock as l, KeepAlive as x, resolveDynamicComponent as u, createCommentVNode as F } from "vue";
2
- import { _ as T, a as g } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-5g3yIL1a.js";
3
- import { u as C } from "./vue-i18n-DXvyTCZf.js";
2
+ import { _ as T, a as g } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-Dgwyk3NA.js";
3
+ import { u as C } from "./vue-i18n-kXHiDb_1.js";
4
4
  import { useRoute as V, useRouter as q } from "vue-router";
5
5
  const B = { class: "px-24 flex flex-col gap-y-32 pb-24" }, $ = /* @__PURE__ */ f({
6
6
  __name: "Transaction",
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as y, computed as b, openBlock as i, createBlock as R, unref as l, ref as E, watch as k, resolveComponent as h, createElementBlock as g, createElementVNode as B, Fragment as O, renderList as T, createVNode as V, isRef as U, createCommentVNode as v } from "vue";
2
- import "./index-C5V6u2Qd.js";
3
- import { a as C, R as e } from "./index-8mBfDn3M.js";
4
- import { a as I } from "./RuleGroup.vue_vue_type_script_setup_true_lang-2L6ZGMW7.js";
5
- import { p as N } from "./plugins-DEHr0UOe.js";
6
- import { u as S } from "./membership-DfarOMtO.js";
2
+ import "./index-DALsfLV7.js";
3
+ import { i as C, R as e } from "./rule-builder-DAlSbaWh.js";
4
+ import { _ as I } from "./RuleGroup.vue_vue_type_script_setup_true_lang-DHmBwLNP.js";
5
+ import { p as N } from "./plugins-D1Ru-da5.js";
6
+ import { u as S } from "./membership-smdlFpPr.js";
7
7
  import { _ as j } from "./CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js";
8
- import { u as x } from "./vue-i18n-DXvyTCZf.js";
8
+ import { u as x } from "./vue-i18n-kXHiDb_1.js";
9
9
  const A = /* @__PURE__ */ y({
10
10
  __name: "SegmentConfigurator",
11
11
  props: {
@@ -15,8 +15,8 @@ const A = /* @__PURE__ */ y({
15
15
  }
16
16
  },
17
17
  emits: ["update:model-value"],
18
- setup(a, { emit: f }) {
19
- const o = a, n = b(() => {
18
+ setup(n, { emit: f }) {
19
+ const o = n, m = b(() => {
20
20
  var s;
21
21
  const [u] = C(o.modelValue) ? Object.values(((s = o.modelValue) == null ? void 0 : s.rules) ?? {}) : [null];
22
22
  return (u ?? e.constructEntry("user.segment", "_hasAny", [])).conditions._hasAny;
@@ -24,7 +24,7 @@ const A = /* @__PURE__ */ y({
24
24
  return (u, c) => (i(), R(j, {
25
25
  multiselect: !0,
26
26
  items: l(S)().segmentOptions,
27
- "model-value": l(n),
27
+ "model-value": l(m),
28
28
  "onUpdate:modelValue": c[0] || (c[0] = (s) => r(
29
29
  "update:model-value",
30
30
  l(e).setRuleToGroup(
@@ -45,9 +45,9 @@ const A = /* @__PURE__ */ y({
45
45
  }
46
46
  },
47
47
  emits: ["update:model-value"],
48
- setup(a, { emit: f }) {
49
- const { t: o } = x(), n = a, r = f, u = E(
50
- n.modelValue ? e.getRules(n.modelValue.rules.g_user).length > 0 ? "custom" : e.getRules(n.modelValue.rules.g_segment).length > 0 ? "segment" : "all_users" : "all_users"
48
+ setup(n, { emit: f }) {
49
+ const { t: o } = x(), m = n, r = f, u = E(
50
+ m.modelValue ? e.getRules(m.modelValue.rules.g_user).length > 0 ? "custom" : e.getRules(m.modelValue.rules.g_segment).length > 0 ? "segment" : "all_users" : "all_users"
51
51
  ), c = [
52
52
  {
53
53
  value: "all_users",
@@ -65,7 +65,7 @@ const A = /* @__PURE__ */ y({
65
65
  return k(u, async (s, t) => {
66
66
  var p;
67
67
  if (t != "all_users" && t != s && e.getRules(
68
- (p = n.modelValue) == null ? void 0 : p.rules[t == "custom" ? "g_user" : "g_segment"]
68
+ (p = m.modelValue) == null ? void 0 : p.rules[t == "custom" ? "g_user" : "g_segment"]
69
69
  ).length > 0) {
70
70
  const d = await N.confirm(
71
71
  o("connect.template.rule.audience.confirm_remove"),
@@ -76,7 +76,7 @@ const A = /* @__PURE__ */ y({
76
76
  d && r(
77
77
  "update:model-value",
78
78
  e.setRuleToGroup(
79
- n.modelValue ?? e.scaffoldGroup(),
79
+ m.modelValue ?? e.scaffoldGroup(),
80
80
  e.scaffoldGroup(t == "custom" ? "g_user" : "g_segment")
81
81
  )
82
82
  ), u.value = d ? s : t;
@@ -86,22 +86,22 @@ const A = /* @__PURE__ */ y({
86
86
  const p = h("FmRadio");
87
87
  return i(), g("div", F, [
88
88
  B("div", null, [
89
- (i(), g(O, null, T(c, (m) => V(p, {
90
- key: m.value,
91
- value: m.value,
92
- label: m.label,
89
+ (i(), g(O, null, T(c, (a) => V(p, {
90
+ key: a.value,
91
+ value: a.value,
92
+ label: a.label,
93
93
  modelValue: l(u),
94
94
  "onUpdate:modelValue": t[0] || (t[0] = (G) => U(u) ? u.value = G : null)
95
95
  }, null, 8, ["value", "label", "modelValue"])), 64))
96
96
  ]),
97
97
  l(u) == "segment" ? (i(), g("div", M, [
98
98
  V(A, {
99
- modelValue: ((d = a.modelValue) == null ? void 0 : d.rules.g_segment) ?? l(e).scaffoldGroup("g_segment"),
100
- "onUpdate:modelValue": t[1] || (t[1] = (m) => r(
99
+ modelValue: ((d = n.modelValue) == null ? void 0 : d.rules.g_segment) ?? l(e).scaffoldGroup("g_segment"),
100
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => r(
101
101
  "update:model-value",
102
102
  l(e).setRuleToGroup(
103
- a.modelValue ?? l(e).scaffoldGroup(),
104
- m,
103
+ n.modelValue ?? l(e).scaffoldGroup(),
104
+ a,
105
105
  "&&"
106
106
  )
107
107
  ))
@@ -111,12 +111,12 @@ const A = /* @__PURE__ */ y({
111
111
  key: 1,
112
112
  "include-only": "user",
113
113
  "trigger-type": "MEMBERSHIP_JOINED",
114
- "model-value": ((_ = a.modelValue) == null ? void 0 : _.rules.g_user) ?? l(e).scaffoldGroup("g_user"),
115
- "onUpdate:modelValue": t[2] || (t[2] = (m) => r(
114
+ "model-value": ((_ = n.modelValue) == null ? void 0 : _.rules.g_user) ?? l(e).scaffoldGroup("g_user"),
115
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => r(
116
116
  "update:model-value",
117
117
  l(e).setRuleToGroup(
118
- a.modelValue ?? l(e).scaffoldGroup(),
119
- m,
118
+ n.modelValue ?? l(e).scaffoldGroup(),
119
+ a,
120
120
  "&&"
121
121
  )
122
122
  ))
@@ -2,26 +2,26 @@ import { defineComponent as le, ref as w, computed as ce, h as m, onMounted as r
2
2
  import { _ as pe } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as ue, components as d } from "@feedmepos/ui-library";
4
4
  import { _ as M } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
5
- import { c as de, p as he } from "./plugins-DEHr0UOe.js";
5
+ import { c as de, p as he } from "./plugins-D1Ru-da5.js";
6
6
  import { useCoreStore as ge } from "@feedmepos/mf-common";
7
- import { u as fe } from "./loading-x6IScY4K.js";
8
- import { u as ye } from "./business-D9fgkHxb.js";
9
- import { u as _e } from "./campaign-eMaPX8r6.js";
10
- import { a as Ce, b as B, c as D } from "./campaign-Dw_ujovr.js";
11
- import { c as be, p as ve } from "./duplicateCampaign-BcpBfUGL.js";
12
- import "./index-Ba719MYq.js";
13
- import { u as He } from "./template-CcbNF4PF.js";
14
- import { _ as Se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BgPeHurN.js";
15
- import { _ as ze } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-D8wBgLlS.js";
16
- import { u as Ue } from "./vue-i18n-DXvyTCZf.js";
17
- import { T as Te } from "./trigger-Dipr6btC.js";
18
- import { u as Ve } from "./onboardingSetup-DQt91O9f.js";
19
- import { R as W, W as Pe, S as we } from "./index-8mBfDn3M.js";
20
- import "./index-C5V6u2Qd.js";
21
- import { i as $ } from "./helper-as9K-piK.js";
7
+ import { u as fe } from "./loading-jZV2Dm--.js";
8
+ import { u as ye } from "./business-gvLSQklz.js";
9
+ import { u as _e } from "./campaign-Cd6GmA4U.js";
10
+ import { g as Ce, a as B, b as D } from "./campaign-BqazvOUj.js";
11
+ import { c as be, p as ve, u as He } from "./template-DDquG4Xc.js";
12
+ import "./index-jS16KX9p.js";
13
+ import { _ as Se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJotVIKM.js";
14
+ import { _ as ze } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCEgZzA4.js";
15
+ import { u as Ue } from "./vue-i18n-kXHiDb_1.js";
16
+ import { T as Te } from "./trigger-D-vySeIB.js";
17
+ import { u as Ve } from "./onboardingSetup-Bd1V-Ipy.js";
18
+ import { W as Pe, S as we } from "./index-lzQ6ehOk.js";
19
+ import "./index-DALsfLV7.js";
20
+ import { R as W } from "./rule-builder-DAlSbaWh.js";
21
+ import { i as $ } from "./helper-DVUe13eh.js";
22
22
  import { useRouter as Ne } from "vue-router";
23
- import { c as C } from "./index-DcZiikOH.js";
24
- import { R } from "./app-BjdLqYQq.js";
23
+ import { c as C } from "./index-ep_Kxxid.js";
24
+ import { R } from "./app-CqQeNnGq.js";
25
25
  const Ee = {
26
26
  _id: "",
27
27
  intention: ["REVISITING", "MEMBER_REWARD"],
@@ -395,7 +395,7 @@ W.scaffoldGroup(), $("VOUCHER", {
395
395
  business: null,
396
396
  noCampaign: !1
397
397
  });
398
- var xe = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc", voucherAppUrl: "https://voucher.feedmedev.cc/" };
398
+ var xe = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedme.cc", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc", voucherAppUrl: "https://voucher.feedme.cc/" };
399
399
  const Fe = { class: "px-24 flex flex-col gap-y-16" }, Re = { class: "flex items-center justify-between w-full" }, je = { class: "flex gap-8 overflow-x-auto" }, ke = { class: "space-y-8" }, Ie = { class: "flex w-full gap-4 items-center" }, Je = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Oe = { class: "space-y-4" }, Le = { class: "fm-typo-en-body-lg-600" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "flex gap-8 items-center" }, Be = { class: "flex flex-col gap-16 text-center" }, De = { class: "fm-typo-en-title-sm-800" }, We = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, yt = /* @__PURE__ */ le({
400
400
  __name: "Voucher",
401
401
  setup($e) {
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as B, ref as L, resolveComponent as g, openBlock as p, createBlock as O, withCtx as y, renderSlot as J, createVNode as m, createTextVNode as U, toDisplayString as f, createElementVNode as s, unref as e, computed as N, createElementBlock as S, Fragment as w, renderList as K, normalizeClass as Q, createCommentVNode as T, resolveDynamicComponent as H } from "vue";
2
- import { u as G } from "./vue-i18n-DXvyTCZf.js";
3
- import { c as j } from "./index-DKI8401o.js";
4
- import { g as W, F as Y } from "./index-C5V6u2Qd.js";
5
- import { C as ee } from "./membership-DfarOMtO.js";
6
- import { Z as x } from "./zod-T4wMYjWT.js";
7
- import { S as te } from "./app-BjdLqYQq.js";
8
- import { u as le } from "./business-D9fgkHxb.js";
2
+ import { u as G } from "./vue-i18n-kXHiDb_1.js";
3
+ import { c as j } from "./index-BvkqHehI.js";
4
+ import { e as W, F as Y } from "./index-DALsfLV7.js";
5
+ import { C as ee } from "./membership-smdlFpPr.js";
6
+ import { Z as x } from "./zod-IpHRbxaJ.js";
7
+ import { S as te } from "./app-CqQeNnGq.js";
8
+ import { u as le } from "./business-gvLSQklz.js";
9
9
  import { useCoreStore as oe } from "@feedmepos/mf-common";
10
- import { _ as ne } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CKZscSjU.js";
11
- import { _ as ae } from "./ImageInput.vue_vue_type_script_setup_true_lang-BZb-H4fM.js";
12
- import { b as ie, a as se } from "./EffectSheet.vue_vue_type_style_index_0_lang-CUx8UIIq.js";
13
- import { _ as me } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-DHi4rdT1.js";
14
- import { i as re } from "./helper-as9K-piK.js";
10
+ import { _ as ne } from "./ZodTextField.vue_vue_type_script_setup_true_lang-DdCUr_Zm.js";
11
+ import { _ as ae } from "./ImageInput.vue_vue_type_script_setup_true_lang-C9ecPgpJ.js";
12
+ import { b as ie, a as se } from "./EffectSheet.vue_vue_type_style_index_0_lang-BDZ21UHA.js";
13
+ import { _ as me } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CDUhH6wp.js";
14
+ import { i as re } from "./helper-DVUe13eh.js";
15
15
  const ue = { class: "flex justify-end gap-8 w-full" }, ce = /* @__PURE__ */ B({
16
16
  __name: "MenuSheet",
17
17
  props: {
@@ -1,138 +1,140 @@
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-DXvyTCZf.js";
3
- import { useRoute as D } from "vue-router";
4
- import { S as H, a as M } from "./index-DKI8401o.js";
5
- import { w as J } from "./index-wsCCqwdr.js";
6
- import { _ as K } from "./WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CPlyzkp4.js";
7
- import { u as Q, _ as X } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DI0pcHcE.js";
8
- import { R as Y } from "./app-BjdLqYQq.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 = {
1
+ import { defineComponent as U, computed as A, ref as m, watch as z, onBeforeUnmount as G, resolveComponent as v, openBlock as c, createElementBlock as u, Fragment as F, createElementVNode as o, createVNode as i, unref as e, withCtx as O, createTextVNode as I, toDisplayString as l, normalizeClass as W, createCommentVNode as T, createBlock as L } from "vue";
2
+ import { u as D } from "./vue-i18n-kXHiDb_1.js";
3
+ import { useRoute as H } from "vue-router";
4
+ import { S as M, a as J } from "./index-BvkqHehI.js";
5
+ import { w as K } from "./index-UJHdDEG1.js";
6
+ import { _ as Q } from "./WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DjgRo9iA.js";
7
+ import { u as X, _ as Y } from "./WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DTUytfe5.js";
8
+ import { R as Z } from "./app-CqQeNnGq.js";
9
+ const q = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typo-primary" }, ee = { class: "mx-auto w-full min-w-0 flex flex-col gap-[24px]" }, te = {
10
10
  key: 0,
11
- role: "status",
12
11
  class: "py-[56px] flex flex-col items-center gap-[12px] text-[14px] text-fm-color-typo-secondary"
13
- }, te = {
12
+ }, oe = {
14
13
  key: 1,
15
14
  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 = {
15
+ }, ne = {
17
16
  role: "alert",
18
17
  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 = {
18
+ }, re = { class: "flex items-center gap-[16px]" }, le = ["src"], se = { key: 1 }, ae = { class: "min-w-0 flex-1 flex flex-col gap-[2px]" }, ce = { 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" }, pe = { class: "break-all" }, ue = {
20
19
  "aria-labelledby": "notification-group-title",
21
20
  class: "border border-fm-color-neutral-gray-100 rounded-[16px] p-[24px] xs:p-[20px] flex items-center gap-[16px] flex-wrap"
22
- }, ue = {
21
+ }, de = {
23
22
  "aria-hidden": "true",
24
23
  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 = {
24
+ }, fe = { class: "min-w-[240px] xs:min-w-0 flex-1 flex flex-col gap-[4px]" }, xe = {
26
25
  id: "notification-group-title",
27
26
  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({
27
+ }, me = { class: "text-[14px] leading-[20px] text-fm-color-typo-secondary [text-wrap:pretty]" }, Ce = /* @__PURE__ */ U({
29
28
  __name: "WhatsappAccount",
30
- setup(me) {
31
- const { t: n } = L(), b = D(), f = A(() => H.getBusinessId() ?? ""), w = A(
29
+ setup(ve) {
30
+ const { t: n } = D(), b = H(), f = A(() => M.getBusinessId() ?? ""), w = A(
32
31
  () => typeof b.params.clientId == "string" ? b.params.clientId : ""
33
32
  ), r = m(), _ = m(!0), p = m(""), d = m(!1), {
34
33
  name: E,
35
34
  phoneNumber: N,
36
35
  initials: V,
37
36
  state: P,
38
- avatarColor: $,
37
+ avatarColor: R,
39
38
  profilePictureUrl: B,
40
39
  profilePictureFailed: k
41
- } = Q(r);
42
- let l, h;
40
+ } = X(r);
41
+ let s, h;
42
+ function $() {
43
+ r.value && (h = setTimeout(() => void g(!0), 1e4));
44
+ }
43
45
  async function g(y = !1) {
44
- clearTimeout(h), l == null || l.abort();
46
+ clearTimeout(h), s == null || s.abort();
45
47
  const t = new AbortController();
46
- l = t, y || (_.value = !0, p.value = "");
48
+ s = t, y || (_.value = !0, p.value = "");
47
49
  try {
48
50
  if (!f.value)
49
51
  throw new Error(n("connect.whatsappBot.errors.selectBusiness"));
50
- const s = await J.getClient(
52
+ const a = await K.getClient(
51
53
  f.value,
52
54
  w.value,
53
55
  t.signal
54
56
  );
55
57
  if (t.signal.aborted) return;
56
- r.value = s, p.value = "";
57
- } catch (s) {
58
+ r.value = a, p.value = "";
59
+ } catch (a) {
58
60
  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"));
61
+ a instanceof J && a.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
62
  } finally {
61
- t.signal.aborted || (_.value = !1, r.value && (h = setTimeout(() => void g(!0), 1e4)));
63
+ t.signal.aborted || (_.value = !1, $());
62
64
  }
63
65
  }
64
- return U(
66
+ return z(
65
67
  [f, w],
66
68
  () => {
67
69
  d.value = !1, r.value = void 0, g();
68
70
  },
69
71
  { immediate: !0 }
70
- ), z(() => {
71
- l == null || l.abort(), clearTimeout(h);
72
+ ), G(() => {
73
+ s == null || s.abort(), clearTimeout(h);
72
74
  }), (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"] },
75
+ const a = v("FmIcon"), S = v("RouterLink"), j = v("FmCircularProgress"), C = v("FmButton");
76
+ return c(), u(F, null, [
77
+ o("div", q, [
78
+ o("div", ee, [
79
+ i(S, {
80
+ to: { name: e(Z)["$connect-WHATSAPP_BOT"] },
79
81
  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
82
  }, {
81
- default: G(() => [
82
- c(s, {
83
+ default: O(() => [
84
+ i(a, {
83
85
  name: "chevron_left",
84
86
  size: "sm"
85
87
  }),
86
- I(" " + a(e(n)("connect.navigation.whatsappBot")), 1)
88
+ I(" " + l(e(n)("connect.navigation.whatsappBot")), 1)
87
89
  ]),
88
90
  _: 1
89
91
  }, 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, {
92
+ _.value ? (c(), u("output", te, [
93
+ i(j),
94
+ I(" " + l(e(n)("connect.whatsappBot.loadingAccount")), 1)
95
+ ])) : p.value ? (c(), u("div", oe, [
96
+ o("p", ne, l(p.value), 1),
97
+ i(C, {
96
98
  label: e(n)("connect.whatsappBot.tryAgain"),
97
99
  "prepend-icon": "refresh",
98
100
  class: "!rounded-full [&_.label]:text-[14px]",
99
101
  onClick: t[0] || (t[0] = (x) => g())
100
102
  }, null, 8, ["label"])
101
- ])) : r.value ? (i(), u(F, { key: 2 }, [
102
- o("div", ne, [
103
+ ])) : r.value ? (c(), u(F, { key: 2 }, [
104
+ o("div", re, [
103
105
  o("div", {
104
106
  "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($)])
107
+ class: W(["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(R)])
106
108
  }, [
107
- e(B) && !e(k) ? (i(), u("img", {
109
+ e(B) && !e(k) ? (c(), u("img", {
108
110
  key: 0,
109
111
  src: e(B),
110
112
  alt: "",
111
113
  class: "w-full h-full object-cover",
112
114
  referrerpolicy: "no-referrer",
113
115
  onError: t[1] || (t[1] = (x) => k.value = !0)
114
- }, null, 40, re)) : (i(), u("span", ae, a(e(V)), 1))
116
+ }, null, 40, le)) : (c(), u("span", se, l(e(V)), 1))
115
117
  ], 2),
116
- o("div", le, [
117
- o("h1", se, a(e(E)), 1),
118
+ o("div", ae, [
119
+ o("h1", ce, l(e(E)), 1),
118
120
  o("div", ie, [
119
- o("span", ce, a(e(N)), 1),
120
- c(K, { state: e(P) }, null, 8, ["state"])
121
+ o("span", pe, l(e(N)), 1),
122
+ i(Q, { state: e(P) }, null, 8, ["state"])
121
123
  ])
122
124
  ])
123
125
  ]),
124
- o("section", pe, [
125
- o("div", ue, [
126
- c(s, {
126
+ o("section", ue, [
127
+ o("div", de, [
128
+ i(a, {
127
129
  name: "notifications",
128
130
  size: "md"
129
131
  })
130
132
  ]),
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)
133
+ o("div", fe, [
134
+ o("h2", xe, l(e(n)("connect.whatsappBot.notificationGroup.title")), 1),
135
+ o("p", me, l(e(n)("connect.whatsappBot.notificationGroup.description")), 1)
134
136
  ]),
135
- c(C, {
137
+ i(C, {
136
138
  variant: "secondary",
137
139
  "border-color": "neutral-gray-200",
138
140
  label: e(n)("connect.whatsappBot.notificationGroup.join"),
@@ -144,7 +146,7 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
144
146
  ], 64)) : T("", !0)
145
147
  ])
146
148
  ]),
147
- r.value ? (i(), W(X, {
149
+ r.value ? (c(), L(Y, {
148
150
  key: 0,
149
151
  modelValue: d.value,
150
152
  "onUpdate:modelValue": t[3] || (t[3] = (x) => d.value = x),
@@ -155,5 +157,5 @@ const Z = { class: "px-[24px] xs:px-[12px] pt-[20px] pb-[40px] text-fm-color-typ
155
157
  }
156
158
  });
157
159
  export {
158
- ke as default
160
+ Ce as default
159
161
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, computed as r, openBlock as a, createElementBlock as p, normalizeClass as t, createElementVNode as m, createTextVNode as i, toDisplayString as d, unref as u } from "vue";
2
- import { u as f } from "./vue-i18n-DXvyTCZf.js";
2
+ import { u as f } from "./vue-i18n-kXHiDb_1.js";
3
3
  const h = /* @__PURE__ */ l({
4
4
  __name: "WhatsappAccountStatusLabel",
5
5
  props: {