@feedmepos/mf-connect 0.1.119-prod → 0.1.121-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 (146) hide show
  1. package/dist/{App-BN2LKM3u.js → App-DwtaLO6F.js} +147 -135
  2. package/dist/AuditLogs-s572aHLw.js +2016 -0
  3. package/dist/{Bin-DpQ1atb7.js → Bin-BBaVggZI.js} +8 -8
  4. package/dist/{Broadcast-c1ZyYClI.js → Broadcast-CqAQ3EmE.js} +22 -21
  5. package/dist/{CampaignAnalytic-w1hIlc2r.js → CampaignAnalytic-34bfP8iY.js} +7 -7
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D7U6evm1.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BvAAxE3a.js} +8 -9
  7. package/dist/{Card-De53Xgbe.js → Card-8hlnKnhk.js} +22 -22
  8. package/dist/{Collections-BL2RD3FU.js → Collections-BJ0-UjKf.js} +197 -185
  9. package/dist/{Credit-2KvFFcwR.js → Credit-DJNc__yp.js} +21 -20
  10. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CKSs2nYE.js → DateRangeChip.vue_vue_type_script_setup_true_lang-BvilcyyB.js} +1 -1
  11. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js +4439 -0
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Jy7HkK5Z.js → EffectSheet.vue_vue_type_style_index_0_lang-DFzVuuEy.js} +30 -30
  13. package/dist/{Experience-Cb0jHtVo.js → Experience-D-cUhjWc.js} +32 -31
  14. package/dist/{FileSaver.min-UDgZF_Cv.js → FileSaver.min-DKYYse6A.js} +1 -1
  15. package/dist/{Game-BnysxSMs.js → Game-DdFV90Kp.js} +19 -18
  16. package/dist/{GiftCardSetup-s1OR6xQq.js → GiftCardSetup-Dz0AN159.js} +31 -31
  17. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-D108r20x.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-GCp3IFaC.js} +7 -7
  18. package/dist/{Goals-BAieLPzR.js → Goals-Dg_kAezl.js} +4 -4
  19. package/dist/Grab-BSQt4deB.js +301 -0
  20. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B9Jgq5Bp.js → ImageInput.vue_vue_type_script_setup_true_lang-B_H1Bgy1.js} +1 -1
  21. package/dist/{Index-DnX16GAE.js → Index-ZSup3I7J.js} +10 -10
  22. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DeM-WG6m.js → LocationPicker.vue_vue_type_script_setup_true_lang-DisF-jcd.js} +1 -1
  23. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BAN69FOS.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BHhjZOYi.js} +1 -1
  24. package/dist/{LoyaltyDashboard-D8g6OSbC.js → LoyaltyDashboard-D8BhHsaw.js} +15 -15
  25. package/dist/{MainLayout-DWABjpQn.js → MainLayout-BBnhRxyR.js} +1 -1
  26. package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-COp7iulq.js → MainLayout.vue_vue_type_script_setup_true_lang-DFrPlj5u.js} +16 -16
  27. package/dist/{Marketing-Dagatr0y.js → Marketing-5F9LLn91.js} +4 -4
  28. package/dist/{MarketingMaterialEdit-DYVzNDpM.js → MarketingMaterialEdit-C7dD4Bzw.js} +214 -211
  29. package/dist/{Member-DAxdEF_Z.js → Member-Dk4JeGru.js} +7 -7
  30. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-nBg7Hckj.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-ISolD_Qg.js} +39 -47
  31. package/dist/{MemberImportHistory-2gx6FnLh.js → MemberImportHistory-C0Ep8L2q.js} +7 -7
  32. package/dist/{MemberList-By_gGl-J.js → MemberList-BsuPfBgk.js} +103 -105
  33. package/dist/{MemberTransactions-BEF-4ZNp.js → MemberTransactions-mZ3fHw5O.js} +1 -1
  34. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Bs8wKx9B.js → MessageInput.vue_vue_type_script_setup_true_lang-1weyRM8c.js} +12 -12
  35. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DN3mWfKj.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-caED3JRW.js} +1 -1
  36. package/dist/{Mission-jg15lBxo.js → Mission-C7DqUOJz.js} +22 -21
  37. package/dist/{Overview-C7WfdzfV.js → Overview-U201nBVO.js} +20 -20
  38. package/dist/{Overview-BFKLTAk1.js → Overview-VABLg36G.js} +145 -144
  39. package/dist/{Point-dv9WgWTQ.js → Point-DU6Ndv35.js} +22 -21
  40. package/dist/{Promotion-mFPF_8jO.js → Promotion-9UhZXNPb.js} +137 -131
  41. package/dist/{Queue-BQoR_M5H.js → Queue-CUxMedbd.js} +45 -45
  42. package/dist/{Record-1JZ1N5iX.js → Record-BIftCQzV.js} +9 -9
  43. package/dist/{Review-B52AxCeT.js → Review-lyVgTfsP.js} +2 -2
  44. package/dist/ReviewFacebookCallback-Da5G19bE.js +225 -0
  45. package/dist/{ReviewGoogleCallback-DO6SVFIC.js → ReviewGoogleCallback-B41PXfsj.js} +5 -5
  46. package/dist/{Reward-Cp4jPAB0.js → Reward-BMun_Rs4.js} +16 -16
  47. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DLD6X13Z.js → RewardGroup.vue_vue_type_script_setup_true_lang-3TONrUQu.js} +13 -13
  48. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DHzFgr4h.js +1923 -0
  49. package/dist/{Segment-DaKw0YXF.js → Segment-1VS7ycXi.js} +303 -306
  50. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bj3OQ_JJ.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-C5iJSlxi.js} +14 -14
  51. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-B1Otak97.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CXY9Wyk9.js} +4 -4
  52. package/dist/{Setting-DveUrt8J.js → Setting-BdtzvKjt.js} +159 -148
  53. package/dist/{SettingAdvertisements-QRXOMNnM.js → SettingAdvertisements-BO2l3HBT.js} +12 -12
  54. package/dist/Settings-CvYawDU5.js +286 -0
  55. package/dist/{Store-DjdXRw3V.js → Store-DWQz-MgY.js} +28 -28
  56. package/dist/{StoreRewards-CjlGrc9E.js → StoreRewards-Bfwuqxf-.js} +15 -15
  57. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CBwmDKAw.js +1319 -0
  58. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CHzFjo24.js +7007 -0
  59. package/dist/{Tier-D74Oh2np.js → Tier-CKn-l-wY.js} +2575 -687
  60. package/dist/{Title-CeeviOW8.js → Title-BXDk69uL.js} +95 -94
  61. package/dist/{Transaction-CWdw0ITl.js → Transaction-D4HQO4i9.js} +2 -2
  62. package/dist/Upselling-CikWzKq7.js +1032 -0
  63. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-B9nf-9s0.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-um124o4t.js} +26 -26
  64. package/dist/{Voucher-C0nNXMtv.js → Voucher-BGIyw4jq.js} +19 -19
  65. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DxZLsQq9.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BKyZj5SP.js} +12 -12
  66. package/dist/{WhatsappAccount-CoLSjCQ2.js → WhatsappAccount-Cd82g_xj.js} +6 -6
  67. package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DkHPlGgT.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DWy8kS66.js} +1 -1
  68. package/dist/{WhatsappBot-kLb3kUav.js → WhatsappBot-auQhO8zk.js} +6 -6
  69. package/dist/{WhatsappBotLogs-jcYaHs0t.js → WhatsappBotLogs-CWuJzK9W.js} +6 -6
  70. package/dist/{WhatsappBotSettings-B6jJD61h.js → WhatsappBotSettings-B8KXMpIF.js} +4 -4
  71. package/dist/{WhatsappLayout-C24bIjI2.js → WhatsappLayout-DxooAkkL.js} +3 -3
  72. package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-9a_grP76.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-CYHmgQ2v.js} +3 -3
  73. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-i8Wc2mCr.js → ZodTextField.vue_vue_type_script_setup_true_lang-DilxQM_z.js} +2 -2
  74. package/dist/{app-C06bAZj3.js → app-BG-zK89d.js} +4181 -3401
  75. package/dist/app.js +4 -3
  76. package/dist/{base.export-CgNRhKu8.js → base.export-BcMuREGH.js} +2 -2
  77. package/dist/{business-D23Dt1x4.js → business-9_NOI2V9.js} +1 -1
  78. package/dist/{campaign-FVcbXtrP.js → campaign-8y_9SvKP.js} +34 -28
  79. package/dist/{campaign-DfEvGigm.js → campaign-DjBTRZyA.js} +121 -94
  80. package/dist/{campaign.enum-BqekIiiN.js → campaign.enum-Dx-Zo68Q.js} +2 -1
  81. package/dist/campaign.fn-COkPH1QE.js +776 -0
  82. package/dist/{collection.fn-DC1AMI9o.js → collection.fn-yXurU9iv.js} +2 -2
  83. package/dist/{currency-Bra2RJK4.js → currency-YzyBFtDU.js} +1 -1
  84. package/dist/duplicateCampaign-dRWioann.js +51 -0
  85. package/dist/{effect-EL4V3pAu.js → effect-bMGarJZ6.js} +1 -1
  86. package/dist/{email-addresses-Ddtf1x_y.js → email-addresses-Ciu83j_3.js} +2 -2
  87. package/dist/{feature-flag-umACX47C.js → feature-flag-H5D1Cob5.js} +70 -70
  88. package/dist/google-BQK68wbe.js +5 -0
  89. package/dist/{helper-DqDOnLCf.js → helper-BH9HMikb.js} +1 -1
  90. package/dist/{index-CEh6ryp2.js → index-B7-Uvnfn.js} +19 -6
  91. package/dist/{index-DuCJtx1m.js → index-BHO82_Ix.js} +1 -1
  92. package/dist/{index-B_BmgKrh.js → index-BaTnDV-T.js} +2699 -2613
  93. package/dist/{index-C3hAzzS2.js → index-BvKJM3M2.js} +29 -15
  94. package/dist/{index-rcfcslIC.js → index-BxwJfT08.js} +197 -197
  95. package/dist/{index-C6p9Lsvf.js → index-CH-KHkm5.js} +1 -1
  96. package/dist/{index-B2lqC_hH.js → index-CIOidYvo.js} +1 -1
  97. package/dist/{index-BzwwXWpZ.js → index-CJAFz9Nn.js} +1 -1
  98. package/dist/{index-ByVPdKdB.js → index-CooParq-.js} +682 -581
  99. package/dist/{index-pfmx-Gor.js → index-Cyf05z_2.js} +2 -2
  100. package/dist/{index-Bvk61_w_.js → index-DYu7ZdQt.js} +1 -1
  101. package/dist/{index-B3U3KZl0.js → index-DbxiG50D.js} +2 -2
  102. package/dist/{index-BkKu2G2c.js → index-DkMy7WpU.js} +2 -2
  103. package/dist/{index-LjoAs_nX.js → index-DpkoCl4z.js} +10 -10
  104. package/dist/{index-C3lk4GHF.js → index-MWNnMT2T.js} +4 -4
  105. package/dist/{index-DK9zxpDu.js → index-RvJ5cq__.js} +3 -3
  106. package/dist/{index-iVbjwKxc.js → index-Ye3qFt34.js} +10 -10
  107. package/dist/{index-BTjhdlN_.js → index-_giqGuYM.js} +1 -1
  108. package/dist/{index-TDCPGtW3.js → index-pnM5q4c_.js} +389 -232
  109. package/dist/{index-BroF2fC8.js → index-taPHgOqE.js} +608 -251
  110. package/dist/{index.esm2017-DCuQPCX2.js → index.esm2017-CLxZor1Y.js} +111 -111
  111. package/dist/{loading-CQm1DKWE.js → loading-CsOSUWBd.js} +1 -1
  112. package/dist/{lodash-C2wVbAap.js → lodash-CshibTzh.js} +1 -1
  113. package/dist/{member-import-BLEmTRso.js → member-import-BdaGAjjt.js} +1 -1
  114. package/dist/{membership-XycnxPEW.js → membership-C5JWO1FM.js} +2 -2
  115. package/dist/{money-DY_QGzd1.js → money-Blt5EM43.js} +1 -1
  116. package/dist/{number-BHthf4qF.js → number-COm3MiH8.js} +1 -1
  117. package/dist/objectid-DQTx3-ee.js +145 -0
  118. package/dist/{onboarding-BOJw54Fn.js → onboarding-BbQDJOOS.js} +36 -36
  119. package/dist/{onboardingSetup-Cf2u1tXu.js → onboardingSetup-BLISY52M.js} +2 -2
  120. package/dist/{plugins-DKQeoL_e.js → plugins-De_chCYU.js} +3 -3
  121. package/dist/{reward-D4RIYSpl.js → reward-Dl8Zoxe_.js} +1 -1
  122. package/dist/{rule-Ba-s0L_w.js → rule-D6_iss3O.js} +572 -492
  123. package/dist/style.css +1 -1
  124. package/dist/template-Cw6j1cLX.js +224 -0
  125. package/dist/{timezone-CAc8xi1h.js → timezone-CA5FwOyy.js} +1 -1
  126. package/dist/{transaction.fn-Cp2hnhyU.js → transaction.fn-DI_NeGQb.js} +2 -2
  127. package/dist/{trigger-3ebhNBX7.js → trigger-CuymoMM-.js} +9 -9
  128. package/dist/{useMarketingMaterialActions-6URv8neP.js → useMarketingMaterialActions-Bz0Kgvgd.js} +4 -4
  129. package/dist/{usePagination-C-fyMmiy.js → usePagination-yb1rupwa.js} +1 -1
  130. package/dist/{user-T-iXTrYV.js → user-QSKyFaMI.js} +1 -1
  131. package/dist/vue-i18n-B_qtODCw.js +2365 -0
  132. package/dist/{xlsx-B8OqaJfb.js → xlsx--RjkGa9A.js} +224 -224
  133. package/dist/{zod-DZkNj425.js → zod-CmPMd-h0.js} +1 -1
  134. package/package.json +8 -3
  135. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js +0 -3493
  136. package/dist/ReviewFacebookCallback-ihTdiI8V.js +0 -238
  137. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-pdHRjCt8.js +0 -1884
  138. package/dist/Settings-D9D-mkBa.js +0 -179
  139. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-DnwMpqzf.js +0 -1265
  140. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-I5-5BV4h.js +0 -142
  141. package/dist/campaign.fn-0MNUj1fZ.js +0 -776
  142. package/dist/google-C3S8u0mT.js +0 -4
  143. package/dist/objectid-CPCAqIiC.js +0 -145
  144. package/dist/rule-builder-D0B0DPao.js +0 -102
  145. package/dist/template-B40I16Yg.js +0 -236
  146. package/dist/vue-i18n-DzsxJorb.js +0 -2365
@@ -1,10 +1,10 @@
1
- import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as h, normalizeClass as Z, watch as X, withCtx as w, resolveDynamicComponent as P, Fragment as _, createElementVNode as k, createTextVNode as ee } from "vue";
2
- import { z as te, f as le } from "./app-C06bAZj3.js";
3
- import { Z as r } from "./zod-DZkNj425.js";
4
- import { g as oe, f as ae } from "./index-B_BmgKrh.js";
5
- import { u as I } from "./vue-i18n-DzsxJorb.js";
6
- import { s as S } from "./effect-EL4V3pAu.js";
7
- import { p as ne } from "./plugins-DKQeoL_e.js";
1
+ import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as w, normalizeClass as Z, watch as X, withCtx as h, resolveDynamicComponent as P, Fragment as _, createElementVNode as k, createTextVNode as ee } from "vue";
2
+ import { z as te, h as le } from "./app-BG-zK89d.js";
3
+ import { Z as r } from "./zod-CmPMd-h0.js";
4
+ import { j as oe, i as ae } from "./index-BaTnDV-T.js";
5
+ import { u as I } from "./vue-i18n-B_qtODCw.js";
6
+ import { s as g } from "./effect-bMGarJZ6.js";
7
+ import { p as ne } from "./plugins-De_chCYU.js";
8
8
  const ie = { class: "flex flex-col gap-8" }, de = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-body-lg-600"
@@ -51,10 +51,10 @@ const ie = { class: "flex flex-col gap-8" }, de = {
51
51
  });
52
52
  const l = O(
53
53
  i.type ? a.find((m) => m.value === i.type) : (U = i.modelValue) != null && U.validBefore || (A = i.modelValue) != null && A.validAfter ? a[0] : a[1]
54
- ), g = G(
54
+ ), S = G(
55
55
  () => i.forCredit ? oe : ae
56
56
  ), y = G(() => {
57
- const m = g.value.safeParse(i.modelValue);
57
+ const m = S.value.safeParse(i.modelValue);
58
58
  return m.success ? [] : m.error.errors;
59
59
  });
60
60
  function o(m) {
@@ -90,7 +90,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
90
90
  items: a
91
91
  }, null, 8, ["modelValue"])),
92
92
  e(l).value === "range" ? (d(), b("div", se, [
93
- h(Y, {
93
+ w(Y, {
94
94
  "model-value": {
95
95
  startDate: (E = t.modelValue) != null && E.validAfter ? new Date(($ = t.modelValue) == null ? void 0 : $.validAfter).toISOString() : null,
96
96
  endDate: (j = t.modelValue) != null && j.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
@@ -143,7 +143,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
143
143
  key: 3,
144
144
  text: e(n)("connect.template.validity_option.expire_follow_first_receive")
145
145
  }, null, 8, ["text"])) : f("", !0),
146
- h(T, {
146
+ w(T, {
147
147
  text: t.helperText || (((L = i.modelValue) == null ? void 0 : L.validForDay) === 0 ? e(n)("connect.template.validity_option.expires_on_same_day") : e(r).helperText(e(y), "")),
148
148
  state: t.helperText ? "error" : ((z = i.modelValue) == null ? void 0 : z.validForDay) === 0 ? "warning" : e(r).helperState(e(y), "")
149
149
  }, null, 8, ["text", "state"])
@@ -172,9 +172,9 @@ const ie = { class: "flex flex-col gap-8" }, de = {
172
172
  setup(t, { emit: C }) {
173
173
  const { t: n } = I(), i = t, v = C, a = O(i.modelValue ?? {});
174
174
  return X(a, () => v("update:model-value", a.value)), (c, l) => {
175
- const g = x("FmSwitch"), y = x("FmStepperField");
175
+ const S = x("FmSwitch"), y = x("FmStepperField");
176
176
  return d(), b("div", ue, [
177
- t.isMission ? f("", !0) : (d(), u(g, {
177
+ t.isMission ? f("", !0) : (d(), u(S, {
178
178
  key: 0,
179
179
  label: e(n)("connect.template.enable_transfer"),
180
180
  "label-placement": "right",
@@ -185,14 +185,14 @@ const ie = { class: "flex flex-col gap-8" }, de = {
185
185
  key: 1,
186
186
  class: Z(["grid gap-16", t.isMission ? "" : "grid-cols-2"])
187
187
  }, [
188
- h(y, {
188
+ w(y, {
189
189
  modelValue: e(a).maxPerUser,
190
190
  "onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).maxPerUser = o),
191
191
  "show-steppers": !1,
192
192
  rules: [e(r).ruleAtPath(t.schema, "maxPerUser")],
193
193
  "helper-text": e(n)("connect.template.leave_empty_unlimited")
194
194
  }, {
195
- label: w(() => [
195
+ label: h(() => [
196
196
  (d(), u(P(
197
197
  e(r).toInputLabel(
198
198
  e(r).typeAtPath(t.schema, "maxPerUser"),
@@ -210,7 +210,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
210
210
  rules: [e(r).ruleAtPath(t.schema, "maxReceive")],
211
211
  "helper-text": e(n)("connect.template.leave_empty_unlimited")
212
212
  }, {
213
- label: w(() => [
213
+ label: h(() => [
214
214
  (d(), u(P(
215
215
  e(r).toInputLabel(
216
216
  e(r).typeAtPath(t.schema, "maxReceive"),
@@ -222,14 +222,14 @@ const ie = { class: "flex flex-col gap-8" }, de = {
222
222
  }, 8, ["modelValue", "rules", "helper-text"]))
223
223
  ], 2)),
224
224
  t.isMission ? f("", !0) : (d(), b(_, { key: 2 }, [
225
- h(y, {
225
+ w(y, {
226
226
  modelValue: e(a).maxUse,
227
227
  "onUpdate:modelValue": l[3] || (l[3] = (o) => e(a).maxUse = o),
228
228
  "append-text": "use(s)",
229
229
  "show-steppers": !1,
230
230
  rules: [e(r).ruleAtPath(t.schema, "maxUse")]
231
231
  }, {
232
- label: w(() => [
232
+ label: h(() => [
233
233
  (d(), u(P(
234
234
  e(r).toInputLabel(
235
235
  e(r).typeAtPath(t.schema, "maxUse"),
@@ -247,7 +247,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
247
247
  "show-steppers": !1,
248
248
  rules: [e(r).ruleAtPath(t.schema, "cooldown")]
249
249
  }, {
250
- label: w(() => [
250
+ label: h(() => [
251
251
  (d(), u(P(
252
252
  e(r).toInputLabel(
253
253
  e(r).typeAtPath(t.schema, "cooldown"),
@@ -257,7 +257,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
257
257
  ]),
258
258
  _: 1
259
259
  }, 8, ["modelValue", "rules"])) : f("", !0),
260
- h(re, {
260
+ w(re, {
261
261
  modelValue: e(a).validityOption,
262
262
  "onUpdate:modelValue": l[5] || (l[5] = (o) => e(a).validityOption = o),
263
263
  label: e(n)("connect.template.validity_option.title")
@@ -287,7 +287,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
287
287
  c.stopPropagation(), await ne.remove(n("connect.effect.removeConfirm")) && i("update:model-value", null);
288
288
  }
289
289
  return (c, l) => {
290
- const g = x("FmButton"), y = x("FmSideSheet");
290
+ const S = x("FmButton"), y = x("FmSideSheet");
291
291
  return d(), u(y, {
292
292
  "max-width": 550,
293
293
  header: e(n)("connect.effect.title"),
@@ -297,24 +297,24 @@ const ie = { class: "flex flex-col gap-8" }, de = {
297
297
  l[3] || (l[3] = (o) => v.value = o)
298
298
  ]
299
299
  }, {
300
- "side-sheet-button": w(() => {
300
+ "side-sheet-button": h(() => {
301
301
  var o, D, U, A, m, s;
302
302
  return [
303
303
  k("div", ce, [
304
304
  k("div", pe, V(e(n)("connect.effect.description")), 1),
305
305
  t.modelValue ? (d(), b("div", fe, [
306
306
  k("div", ve, [
307
- k("div", null, V((o = e(S)(t.modelValue)) == null ? void 0 : o.type), 1),
308
- k("div", ye, V((D = e(S)(t.modelValue)) == null ? void 0 : D.adjustment) + " " + V(e(n)("connect.effect.with")) + " " + V((U = e(S)(t.modelValue)) == null ? void 0 : U.requirements) + " " + V((A = e(S)(t.modelValue)) == null ? void 0 : A.maxCap), 1),
309
- (m = e(S)(t.modelValue)) != null && m.posHint ? (d(), b("div", Ve, V((s = e(S)(t.modelValue)) == null ? void 0 : s.posHint), 1)) : f("", !0)
307
+ k("div", null, V((o = e(g)(t.modelValue)) == null ? void 0 : o.type), 1),
308
+ k("div", ye, V((D = e(g)(t.modelValue)) == null ? void 0 : D.adjustment) + " " + V(e(n)("connect.effect.with")) + " " + V((U = e(g)(t.modelValue)) == null ? void 0 : U.requirements) + " " + V((A = e(g)(t.modelValue)) == null ? void 0 : A.maxCap), 1),
309
+ (m = e(g)(t.modelValue)) != null && m.posHint ? (d(), b("div", Ve, V((s = e(g)(t.modelValue)) == null ? void 0 : s.posHint), 1)) : f("", !0)
310
310
  ]),
311
- h(g, {
311
+ w(S, {
312
312
  icon: "delete",
313
313
  "icon-color": "neutral-gray-400",
314
314
  variant: "tertiary",
315
315
  onClick: a
316
316
  })
317
- ])) : (d(), u(g, {
317
+ ])) : (d(), u(S, {
318
318
  key: 0,
319
319
  label: e(n)("connect.effect.title"),
320
320
  icon: "add",
@@ -325,11 +325,11 @@ const ie = { class: "flex flex-col gap-8" }, de = {
325
325
  ])
326
326
  ];
327
327
  }),
328
- "side-sheet-footer": w(() => [...l[4] || (l[4] = [
328
+ "side-sheet-footer": h(() => [...l[4] || (l[4] = [
329
329
  ee(V(void 0), -1)
330
330
  ])]),
331
- default: w(() => [
332
- h(e(le), {
331
+ default: h(() => [
332
+ w(e(le), {
333
333
  class: "fm-effect-sheet",
334
334
  title: "",
335
335
  "can-set-auto-apply": t.canSetAutoApply,
@@ -1,31 +1,32 @@
1
1
  import { defineComponent as q, ref as E, computed as G, onMounted as Y, resolveComponent as m, openBlock as d, createElementBlock as C, Fragment as v, createVNode as s, unref as o, createElementVNode as n, withCtx as b, renderList as z, createBlock as k, resolveDynamicComponent as J, toDisplayString as w, h as x } from "vue";
2
2
  import { _ as Q } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as W, components as F } from "@feedmepos/ui-library";
4
- import { p as Z } from "./plugins-DKQeoL_e.js";
5
- import { u as ee } from "./loading-CQm1DKWE.js";
6
- import { u as te } from "./business-D23Dt1x4.js";
7
- import { u as oe } from "./campaign-FVcbXtrP.js";
8
- import { a as B, b as N, g as ae } from "./campaign-DfEvGigm.js";
9
- import { u as ne, c as re, p as ie } from "./template-B40I16Yg.js";
10
- import { u as se } from "./vue-i18n-DzsxJorb.js";
11
- import { _ as ce } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
12
- import { _ as le } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js";
13
- import "./index-BzwwXWpZ.js";
14
- import { u as me } from "./onboardingSetup-Cf2u1tXu.js";
4
+ import { p as Z } from "./plugins-De_chCYU.js";
5
+ import { u as ee } from "./loading-CsOSUWBd.js";
6
+ import { u as te } from "./business-9_NOI2V9.js";
7
+ import { u as oe } from "./campaign-8y_9SvKP.js";
8
+ import { b as B, c as N, a as ae } from "./campaign-DjBTRZyA.js";
9
+ import { c as ne, p as re } from "./duplicateCampaign-dRWioann.js";
10
+ import { u as ie } from "./vue-i18n-B_qtODCw.js";
11
+ import { _ as se } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
12
+ import { _ as ce } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js";
13
+ import { u as le } from "./template-Cw6j1cLX.js";
14
+ import "./index-CJAFz9Nn.js";
15
+ import { u as me } from "./onboardingSetup-BLISY52M.js";
15
16
  import { useRouter as pe } from "vue-router";
16
- import { c as g } from "./index-BkKu2G2c.js";
17
- import { R as ue } from "./app-C06bAZj3.js";
18
- const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-center justify-between w-full" }, fe = { class: "flex gap-8 overflow-x-auto" }, ye = { class: "space-y-8" }, _e = { class: "flex w-full gap-4 items-center" }, he = { class: "space-y-4" }, we = { class: "fm-typo-en-body-lg-600" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { class: "flex items-center gap-8" }, ve = { class: "flex flex-col gap-16 text-center" }, be = { class: "fm-typo-en-title-sm-800" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, je = /* @__PURE__ */ q({
17
+ import { c as f } from "./index-DkMy7WpU.js";
18
+ import { R as ue } from "./app-BG-zK89d.js";
19
+ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-center justify-between w-full" }, ge = { class: "flex gap-8 overflow-x-auto" }, ye = { class: "space-y-8" }, _e = { class: "flex w-full gap-4 items-center" }, he = { class: "space-y-4" }, we = { class: "fm-typo-en-body-lg-600" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { class: "flex items-center gap-8" }, ve = { class: "flex flex-col gap-16 text-center" }, be = { class: "fm-typo-en-title-sm-800" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, He = /* @__PURE__ */ q({
19
20
  __name: "Experience",
20
21
  setup(Fe) {
21
- const { t: r } = se(), T = pe(), V = {
22
+ const { t: r } = ie(), T = pe(), V = {
22
23
  label: r("connect.program.common.actions.create", {
23
24
  type: r("connect.program.experience.title").toLowerCase()
24
25
  }),
25
26
  value: "create",
26
27
  isPrimary: !0,
27
28
  prependIcon: "add"
28
- }, R = ne("POINT", W()), A = te(), p = oe(), { global: O, minor: P } = ee, c = E({
29
+ }, R = le("POINT", W()), A = te(), p = oe(), { global: O, minor: P } = ee, c = E({
29
30
  searchKey: "",
30
31
  location: []
31
32
  });
@@ -36,7 +37,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
36
37
  return (i = e == null ? void 0 : e.targetLocation) == null ? void 0 : i.includes(l);
37
38
  }) : e.targetLocation.includes(t);
38
39
  }
39
- const f = G(
40
+ const g = G(
40
41
  () => p.campaigns.experience.filter((e) => $(e))
41
42
  ), D = [
42
43
  {
@@ -90,7 +91,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
90
91
  async function S(e) {
91
92
  await Z.remove(`Are you sure you want to remove ${e.name}?`) && await P(
92
93
  async () => {
93
- await g.delete(e._id), await p.read("POINT");
94
+ await f.delete(e._id), await p.read("POINT");
94
95
  },
95
96
  {
96
97
  message: `Removing ${e.name}`,
@@ -107,7 +108,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
107
108
  (i = y.value) == null || i.showSheet(
108
109
  !0,
109
110
  "POINT",
110
- e ? await g.readById(e._id) : void 0,
111
+ e ? await f.readById(e._id) : void 0,
111
112
  l
112
113
  );
113
114
  }
@@ -120,9 +121,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
120
121
  }
121
122
  async function L(e) {
122
123
  var i;
123
- if (!await re(e.name))
124
+ if (!await ne(e.name))
124
125
  return;
125
- const t = await g.readById(e._id), l = ie(t, {
126
+ const t = await f.readById(e._id), l = re(t, {
126
127
  keepCollectible: !0
127
128
  });
128
129
  (i = y.value) == null || i.showSheet(
@@ -135,7 +136,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
135
136
  async function K(e) {
136
137
  await P(
137
138
  async () => {
138
- e.campaign._id ? await g.update(e.campaign._id, e) : await g.create(e), await p.read("POINT");
139
+ e.campaign._id ? await f.update(e.campaign._id, e) : await f.create(e), await p.read("POINT");
139
140
  },
140
141
  {
141
142
  message: r("connect.program.common.update.updating", {
@@ -159,7 +160,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
159
160
  return d(), C(v, null, [
160
161
  s(l, {
161
162
  title: o(r)("connect.program.experience.title"),
162
- actions: o(f).length > 0 ? [V] : [],
163
+ actions: o(g).length > 0 ? [V] : [],
163
164
  "onClick:action": t[0] || (t[0] = () => _())
164
165
  }, null, 8, ["title", "actions"]),
165
166
  n("div", de, [
@@ -171,9 +172,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
171
172
  collapsible: ""
172
173
  }, null, 8, ["modelValue", "placeholder"]),
173
174
  o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (d(), C(v, { key: 0 }, [
174
- n("div", ge, [
175
- n("div", fe, [
176
- s(ce, {
175
+ n("div", fe, [
176
+ n("div", ge, [
177
+ s(se, {
177
178
  label: `${o(r)("connect.common.location")}: `,
178
179
  "right-icon": "keyboard_arrow_down",
179
180
  modelValue: o(c).location,
@@ -193,16 +194,16 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
193
194
  ]),
194
195
  s(U, {
195
196
  class: "xs:hidden sm:hidden",
196
- "row-data": o(f),
197
+ "row-data": o(g),
197
198
  "column-defs": D,
198
199
  "search-value": o(c).searchKey,
199
200
  "column-filter": [],
200
201
  onRowClick: t[4] || (t[4] = (a) => _(a.original)),
201
- "hide-footer": o(f).length < 10
202
+ "hide-footer": o(g).length < 10
202
203
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
203
204
  s(H, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
204
205
  default: b(() => [
205
- (d(!0), C(v, null, z(o(f).filter(
206
+ (d(!0), C(v, null, z(o(g).filter(
206
207
  (a) => a.name.toLowerCase().includes(o(c).searchKey.toLowerCase())
207
208
  ), (a) => (d(), k(j, {
208
209
  key: a._id.toString(),
@@ -272,7 +273,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
272
273
  ]),
273
274
  _: 1
274
275
  })),
275
- s(le, {
276
+ s(ce, {
276
277
  ref_key: "sheetRef",
277
278
  ref: y,
278
279
  "onSubmit:modelValue": K
@@ -283,5 +284,5 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
283
284
  }
284
285
  });
285
286
  export {
286
- je as default
287
+ He as default
287
288
  };
@@ -1,4 +1,4 @@
1
- import { c as s } from "./app-C06bAZj3.js";
1
+ import { c as s } from "./app-BG-zK89d.js";
2
2
  var E = { exports: {} };
3
3
  (function(h, j) {
4
4
  (function(p, i) {
@@ -1,21 +1,22 @@
1
1
  import { defineComponent as J, ref as A, computed as Q, onMounted as X, resolveComponent as m, openBlock as f, createElementBlock as P, Fragment as R, createVNode as r, unref as o, withCtx as b, createElementVNode as n, toDisplayString as g, renderList as Z, createBlock as V, resolveDynamicComponent as ee, h as l } from "vue";
2
2
  import { _ as te } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as oe, components as y } from "@feedmepos/ui-library";
4
- import { c as ae, p as ne } from "./plugins-DKQeoL_e.js";
5
- import { u as ie } from "./loading-CQm1DKWE.js";
6
- import { u as re } from "./business-D23Dt1x4.js";
7
- import { u as se } from "./campaign-FVcbXtrP.js";
8
- import { a as T, b as U, g as le } from "./campaign-DfEvGigm.js";
9
- import { c as ce, p as me, u as de } from "./template-B40I16Yg.js";
10
- import { _ as ue } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
11
- import { _ as pe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js";
12
- import { u as fe } from "./vue-i18n-DzsxJorb.js";
13
- import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bj3OQ_JJ.js";
14
- import "./index-BzwwXWpZ.js";
4
+ import { c as ae, p as ne } from "./plugins-De_chCYU.js";
5
+ import { u as ie } from "./loading-CsOSUWBd.js";
6
+ import { u as re } from "./business-9_NOI2V9.js";
7
+ import { u as se } from "./campaign-8y_9SvKP.js";
8
+ import { b as T, c as U, a as le } from "./campaign-DjBTRZyA.js";
9
+ import { c as ce, p as me } from "./duplicateCampaign-dRWioann.js";
10
+ import { _ as de } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
11
+ import { _ as ue } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js";
12
+ import { u as pe } from "./template-Cw6j1cLX.js";
13
+ import { u as fe } from "./vue-i18n-B_qtODCw.js";
14
+ import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-C5iJSlxi.js";
15
+ import "./index-CJAFz9Nn.js";
15
16
  import { useRouter as ye } from "vue-router";
16
- import { c as h } from "./index-BkKu2G2c.js";
17
- import { R as _e } from "./app-C06bAZj3.js";
18
- const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, Ce = { class: "px-24 flex flex-col gap-y-16" }, ve = { class: "flex items-center justify-between w-full" }, xe = { class: "flex gap-8 overflow-x-auto" }, be = { class: "space-y-8" }, ke = { class: "flex w-full gap-4 items-center" }, Fe = { class: "space-y-4" }, Se = { class: "fm-typo-en-body-lg-600" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "flex items-center gap-8" }, Ve = { class: "flex flex-col gap-16 text-center" }, Le = { class: "fm-typo-en-title-sm-800" }, Be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Qe = /* @__PURE__ */ J({
17
+ import { c as h } from "./index-DkMy7WpU.js";
18
+ import { R as _e } from "./app-BG-zK89d.js";
19
+ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, Ce = { class: "px-24 flex flex-col gap-y-16" }, ve = { class: "flex items-center justify-between w-full" }, xe = { class: "flex gap-8 overflow-x-auto" }, be = { class: "space-y-8" }, ke = { class: "flex w-full gap-4 items-center" }, Fe = { class: "space-y-4" }, Se = { class: "fm-typo-en-body-lg-600" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "flex items-center gap-8" }, Ve = { class: "flex flex-col gap-16 text-center" }, Le = { class: "fm-typo-en-title-sm-800" }, Be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xe = /* @__PURE__ */ J({
19
20
  __name: "Game",
20
21
  setup(Ee) {
21
22
  const { t: d } = fe(), D = ye(), I = {
@@ -25,7 +26,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
25
26
  value: "create",
26
27
  isPrimary: !0,
27
28
  prependIcon: "add"
28
- }, L = oe(), K = de("GAME", L), w = re(), u = se(), { global: j, minor: B } = ie, c = A({
29
+ }, L = oe(), K = pe("GAME", L), w = re(), u = se(), { global: j, minor: B } = ie, c = A({
29
30
  searchKey: "",
30
31
  location: []
31
32
  });
@@ -230,7 +231,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
230
231
  o(u).campaigns.token && o(u).campaigns.token.length > 0 ? (f(), P(R, { key: 0 }, [
231
232
  n("div", ve, [
232
233
  n("div", xe, [
233
- r(ue, {
234
+ r(de, {
234
235
  label: `${o(d)("connect.common.location")}: `,
235
236
  "right-icon": "keyboard_arrow_down",
236
237
  modelValue: o(c).location,
@@ -336,7 +337,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
336
337
  ]),
337
338
  _: 1
338
339
  })),
339
- r(pe, {
340
+ r(ue, {
340
341
  ref_key: "sheetRef",
341
342
  ref: k,
342
343
  "onSubmit:modelValue": H
@@ -351,5 +352,5 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
351
352
  }
352
353
  });
353
354
  export {
354
- Qe as default
355
+ Xe as default
355
356
  };
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as rt, computed as p, ref as d, onMounted as ct, resolveComponent as x, openBlock as u, createElementBlock as m, unref as e, createBlock as J, createCommentVNode as g, createElementVNode as n, createVNode as r, toDisplayString as s, withCtx as P, isRef as b, Fragment as R, renderList as K, normalizeClass as Y, withDirectives as it, withKeys as dt, vModelText as ut, createTextVNode as de } from "vue";
2
- import { u as mt } from "./loading-CQm1DKWE.js";
2
+ import { u as mt } from "./loading-CsOSUWBd.js";
3
3
  import { u as ft } from "./app-wDQR6dpb.js";
4
- import { n as M, f as L } from "./plugins-DKQeoL_e.js";
5
- import "./index-BzwwXWpZ.js";
6
- import { g as ue } from "./index-B2lqC_hH.js";
7
- import { c as pt } from "./index-BkKu2G2c.js";
8
- import { S as Fe } from "./index-iVbjwKxc.js";
9
- import { b as vt } from "./MessageInput.vue_vue_type_script_setup_true_lang-Bs8wKx9B.js";
4
+ import { n as M, f as L } from "./plugins-De_chCYU.js";
5
+ import "./index-CJAFz9Nn.js";
6
+ import { g as ue } from "./index-CIOidYvo.js";
7
+ import { c as pt } from "./index-DkMy7WpU.js";
8
+ import { S as Fe } from "./index-Ye3qFt34.js";
9
+ import { b as vt } from "./MessageInput.vue_vue_type_script_setup_true_lang-1weyRM8c.js";
10
10
  import { J as gt } from "./JsonViewer-v8_C7l5N.js";
11
- import { u as Q, v as Te, w as yt, x as bt, y as _t, G as W, z as xt, A as Ct, B as ke, C as me, E as ht } from "./index-ByVPdKdB.js";
12
- import { u as At } from "./vue-i18n-DzsxJorb.js";
11
+ import { z as Q, A as Te, B as yt, C as bt, E as _t, G as W, H as xt, I as Ct, J as ke, K as me, L as ht } from "./index-CooParq-.js";
12
+ import { u as At } from "./vue-i18n-B_qtODCw.js";
13
13
  import { useRouter as Dt, useRoute as Et } from "vue-router";
14
- import { R as Mt } from "./app-C06bAZj3.js";
15
- var we = { 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/" };
16
- const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start gap-12 py-24" }, kt = { class: "flex flex-col gap-4" }, wt = { class: "fm-typo-en-title-md-800 text-fm-color-typo-primary" }, St = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Nt = { class: "flex flex-col gap-16 max-w-[860px]" }, Ut = { class: "flex gap-12" }, Vt = { class: "flex flex-col gap-4" }, It = { class: "fm-typo-en-body-lg-600" }, Pt = { class: "flex gap-12" }, Rt = { class: "flex flex-col gap-4" }, Lt = { class: "fm-typo-en-body-lg-600" }, Gt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ht = { class: "flex flex-wrap items-start gap-12" }, $t = ["src"], Ot = ["aria-label", "title", "onClick"], Xt = { class: "absolute bottom-4 left-4 px-8 py-2 rounded-sm bg-fm-color-neutral-white fm-typo-en-body-sm-600" }, Bt = { class: "flex gap-12" }, zt = { class: "flex flex-col gap-4" }, jt = { class: "fm-typo-en-body-lg-600" }, Jt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Kt = { class: "flex flex-col gap-8" }, Wt = ["onClick"], Zt = {
14
+ import { R as Mt } from "./app-BG-zK89d.js";
15
+ var Se = { 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/" };
16
+ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start gap-12 py-24" }, kt = { class: "flex flex-col gap-4" }, St = { class: "fm-typo-en-title-md-800 text-fm-color-typo-primary" }, wt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Nt = { class: "flex flex-col gap-16 max-w-[860px]" }, Ut = { class: "flex gap-12" }, Vt = { class: "flex flex-col gap-4" }, It = { class: "fm-typo-en-body-lg-600" }, Pt = { class: "flex gap-12" }, Rt = { class: "flex flex-col gap-4" }, Lt = { class: "fm-typo-en-body-lg-600" }, Gt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ht = { class: "flex flex-wrap items-start gap-12" }, $t = ["src"], Ot = ["aria-label", "title", "onClick"], Xt = { class: "absolute bottom-4 left-4 px-8 py-2 rounded-sm bg-fm-color-neutral-white fm-typo-en-body-sm-600" }, Bt = { class: "flex gap-12" }, zt = { class: "flex flex-col gap-4" }, jt = { class: "fm-typo-en-body-lg-600" }, Jt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Kt = { class: "flex flex-col gap-8" }, Wt = ["onClick"], Zt = {
17
17
  key: 0,
18
18
  class: "w-[9px] h-[9px] rounded-full bg-fm-color-primary"
19
19
  }, qt = { class: "flex-1" }, Yt = { class: "block fm-typo-en-body-md-600" }, Qt = { class: "block fm-typo-en-body-md-400 text-fm-color-typo-secondary mt-2" }, eo = {
@@ -31,10 +31,10 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
31
31
  }, Eo = {
32
32
  key: 1,
33
33
  class: "fm-typo-en-body-sm-400 text-fm-color-typo-error"
34
- }, Mo = { class: "flex gap-12" }, Fo = { class: "flex flex-col gap-4" }, To = { class: "fm-typo-en-body-lg-600" }, ko = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, wo = {
34
+ }, Mo = { class: "flex gap-12" }, Fo = { class: "flex flex-col gap-4" }, To = { class: "fm-typo-en-body-lg-600" }, ko = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, So = {
35
35
  key: 0,
36
36
  class: "flex items-start gap-12 p-16 rounded-md bg-fm-color-system-info-100"
37
- }, So = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-primary" }, No = { class: "flex items-center gap-12" }, Uo = { class: "fm-typo-en-body-md-500" }, Vo = { class: "flex flex-col gap-8" }, Io = { class: "fm-typo-en-body-md-600" }, Po = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ro = { class: "flex flex-col gap-16 rounded-md border-1 border-fm-color-neutral-gray-300 p-16" }, Lo = {
37
+ }, wo = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-primary" }, No = { class: "flex items-center gap-12" }, Uo = { class: "fm-typo-en-body-md-500" }, Vo = { class: "flex flex-col gap-8" }, Io = { class: "fm-typo-en-body-md-600" }, Po = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ro = { class: "flex flex-col gap-16 rounded-md border-1 border-fm-color-neutral-gray-300 p-16" }, Lo = {
38
38
  key: 0,
39
39
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
40
40
  }, Go = {
@@ -52,12 +52,12 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
52
52
  }, qo = { class: "w-40 h-40 rounded-sm flex-none grid place-items-center bg-fm-color-neutral-gray-100" }, Yo = { class: "flex-1 min-w-0" }, Qo = ["href"], en = {
53
53
  key: 0,
54
54
  class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
55
- }, tn = { class: "flex items-center justify-end gap-8 pt-8" }, Se = 5e6, on = 5e6, _n = /* @__PURE__ */ rt({
55
+ }, tn = { class: "flex items-center justify-end gap-8 pt-8" }, we = 5e6, on = 5e6, _n = /* @__PURE__ */ rt({
56
56
  __name: "GiftCardSetup",
57
57
  setup(nn) {
58
58
  const { t: l } = At(), { global: Ne, minor: ee } = mt, Ue = Dt(), Ve = Et(), G = p(() => Ve.params.id || null), H = p(() => !!G.value), F = d(""), h = d([]);
59
59
  let fe = /* @__PURE__ */ new Set();
60
- const pe = /* @__PURE__ */ new Set(), Ie = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/gif"]), A = d("DEFAULT"), $ = d(16), T = d(Q().charset), O = d("GC"), X = d(""), ve = d(0), ge = [10, 20, 30, 50, 100], f = d([]), k = d(""), D = d(!1), w = d(10), S = d(100), ye = d(!1), B = d(!0), be = `https://${Fe.getBusinessId()}.${we.appUrl}/member/gift-cards`, N = d(
60
+ const pe = /* @__PURE__ */ new Set(), Ie = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/gif"]), A = d("DEFAULT"), $ = d(16), T = d(Q().charset), O = d("GC"), X = d(""), ve = d(0), ge = [10, 20, 30, 50, 100], f = d([]), k = d(""), D = d(!1), S = d(10), w = d(100), ye = d(!1), B = d(!0), be = `https://${Fe.getBusinessId()}.${Se.appUrl}/member/gift-cards`, N = d(
61
61
  Te(be)
62
62
  ), E = d("SMS"), v = d(["SMS"]), te = d({
63
63
  SMS: !0,
@@ -90,7 +90,7 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
90
90
  }
91
91
  }, _e = p(
92
92
  () => Z.value.filter((t) => !t.available).map((t) => t.label)
93
- ), Re = `${we.licensePortalUrl}settings?businessId=${Fe.businessId}`;
93
+ ), Re = `${Se.licensePortalUrl}settings?businessId=${Fe.businessId}`;
94
94
  function Le(t) {
95
95
  if (!(!te.value[t] && !v.value.includes(t)) && (v.value = v.value.includes(t) ? v.value.filter((o) => o !== t) : [...v.value, t], !v.value.includes(E.value))) {
96
96
  const o = v.value[0];
@@ -177,7 +177,7 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
177
177
  }
178
178
  f.value = [...f.value, t].sort((o, c) => o - c), k.value = "";
179
179
  }
180
- const ae = p(() => f.value.length === 0 && !D.value ? l("connect.store.giftCard.errorNoAmount") : D.value && Number(w.value) > Number(S.value) ? l("connect.store.giftCard.errorRange") : null), Je = p(
180
+ const ae = p(() => f.value.length === 0 && !D.value ? l("connect.store.giftCard.errorNoAmount") : D.value && Number(S.value) > Number(w.value) ? l("connect.store.giftCard.errorRange") : null), Je = p(
181
181
  () => F.value.trim() ? null : l("connect.store.giftCard.errorNoName")
182
182
  ), se = p(
183
183
  () => v.value.length ? null : l("connect.store.giftCard.errorNoChannel")
@@ -213,7 +213,7 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
213
213
  );
214
214
  }
215
215
  function Ze(t) {
216
- const o = Ie.has(t.type) && t.size <= Se;
216
+ const o = Ie.has(t.type) && t.size <= we;
217
217
  return o || M.error(l("connect.store.giftCard.invalidDesignFile")), o;
218
218
  }
219
219
  async function qe(t) {
@@ -266,8 +266,8 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
266
266
  denominations: f.value.map(Number),
267
267
  anyAmount: D.value ? {
268
268
  enabled: !0,
269
- min: Number(w.value),
270
- max: Number(S.value)
269
+ min: Number(S.value),
270
+ max: Number(w.value)
271
271
  } : null,
272
272
  channels: v.value,
273
273
  allowPersonalMessage: B.value,
@@ -278,7 +278,7 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
278
278
  }
279
279
  function ot(t) {
280
280
  var y, C, I, q;
281
- F.value = t.name, h.value = [...t.designs ?? []], fe = new Set(h.value), f.value = [...t.denominations ?? []], D.value = !!((y = t.anyAmount) != null && y.enabled), w.value = ((C = t.anyAmount) == null ? void 0 : C.min) ?? 10, S.value = ((I = t.anyAmount) == null ? void 0 : I.max) ?? 100, v.value = (q = t.channels) != null && q.length ? [...t.channels] : ["SMS"], B.value = t.allowPersonalMessage ?? !0, N.value = structuredClone(
281
+ F.value = t.name, h.value = [...t.designs ?? []], fe = new Set(h.value), f.value = [...t.denominations ?? []], D.value = !!((y = t.anyAmount) != null && y.enabled), S.value = ((C = t.anyAmount) == null ? void 0 : C.min) ?? 10, w.value = ((I = t.anyAmount) == null ? void 0 : I.max) ?? 100, v.value = (q = t.channels) != null && q.length ? [...t.channels] : ["SMS"], B.value = t.allowPersonalMessage ?? !0, N.value = structuredClone(
282
282
  t.deliveryMessages ?? Te(be)
283
283
  ), E.value = v.value[0] ?? "SMS";
284
284
  const o = t.numberFormat, c = !o || o.prefix === "GC" && Number(o.length) === 16;
@@ -323,8 +323,8 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
323
323
  onClick: ie
324
324
  }),
325
325
  n("div", kt, [
326
- n("h1", wt, s(e(H) ? e(l)("connect.store.giftCard.editTitle") : e(l)("connect.store.giftCard.createTitle")), 1),
327
- n("p", St, s(e(l)("connect.store.giftCard.pageSubtitle")), 1)
326
+ n("h1", St, s(e(H) ? e(l)("connect.store.giftCard.editTitle") : e(l)("connect.store.giftCard.createTitle")), 1),
327
+ n("p", wt, s(e(l)("connect.store.giftCard.pageSubtitle")), 1)
328
328
  ])
329
329
  ]),
330
330
  n("div", Nt, [
@@ -385,7 +385,7 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
385
385
  ]))), 128)),
386
386
  r(q, {
387
387
  accept: ".png, .jpg, .jpeg, .gif",
388
- "max-file-size": Se,
388
+ "max-file-size": we,
389
389
  "content-class": "w-[179px] h-[115px]",
390
390
  onFileUpload: Ke
391
391
  })
@@ -543,15 +543,15 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
543
543
  ]),
544
544
  e(D) ? (u(), m("div", Do, [
545
545
  r(y, {
546
- modelValue: e(w),
547
- "onUpdate:modelValue": o[8] || (o[8] = (a) => b(w) ? w.value = a : null),
546
+ modelValue: e(S),
547
+ "onUpdate:modelValue": o[8] || (o[8] = (a) => b(S) ? S.value = a : null),
548
548
  type: "number",
549
549
  label: e(l)("connect.store.giftCard.min"),
550
550
  class: "flex-1"
551
551
  }, null, 8, ["modelValue", "label"]),
552
552
  r(y, {
553
- modelValue: e(S),
554
- "onUpdate:modelValue": o[9] || (o[9] = (a) => b(S) ? S.value = a : null),
553
+ modelValue: e(w),
554
+ "onUpdate:modelValue": o[9] || (o[9] = (a) => b(w) ? w.value = a : null),
555
555
  type: "number",
556
556
  label: e(l)("connect.store.giftCard.max"),
557
557
  "helper-text": `Up to RM${e(me)}`,
@@ -576,12 +576,12 @@ const Ft = { class: "relative px-24 pb-40" }, Tt = { class: "flex items-start ga
576
576
  n("div", ko, s(e(l)("connect.store.giftCard.sendingHint")), 1)
577
577
  ])
578
578
  ]),
579
- e(ye) ? g("", !0) : (u(), m("div", wo, [
579
+ e(ye) ? g("", !0) : (u(), m("div", So, [
580
580
  r(I, {
581
581
  name: "info",
582
582
  class: "text-fm-color-system-info-400 flex-none"
583
583
  }),
584
- n("div", So, s(e(l)("connect.store.giftCard.broadcastNotice")), 1),
584
+ n("div", wo, s(e(l)("connect.store.giftCard.broadcastNotice")), 1),
585
585
  r(c, {
586
586
  icon: "close",
587
587
  variant: "tertiary",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as A, resolveComponent as k, openBlock as o, createBlock as p, withCtx as w, createElementVNode as c, unref as t, createVNode as x, ref as ee, computed as I, toDisplayString as h, createElementBlock as r, Fragment as L, renderList as T, createCommentVNode as f, normalizeClass as me, isRef as pe } from "vue";
2
- import { u as K } from "./vue-i18n-DzsxJorb.js";
2
+ import { u as K } from "./vue-i18n-B_qtODCw.js";
3
3
  import { useRouter as be } from "vue-router";
4
- import { S as fe } from "./index-iVbjwKxc.js";
5
- import "./index-BzwwXWpZ.js";
6
- import { n as te } from "./plugins-DKQeoL_e.js";
7
- import { u as ne } from "./business-D23Dt1x4.js";
8
- import { u as U, e as ye, i as ge, p as _e, g as oe, o as ve, d as xe, c as he } from "./onboarding-BOJw54Fn.js";
9
- import { R as Z } from "./app-C06bAZj3.js";
4
+ import { S as fe } from "./index-Ye3qFt34.js";
5
+ import "./index-CJAFz9Nn.js";
6
+ import { n as te } from "./plugins-De_chCYU.js";
7
+ import { u as ne } from "./business-9_NOI2V9.js";
8
+ import { u as U, e as ye, i as ge, p as _e, g as oe, o as ve, d as xe, c as he } from "./onboarding-BbQDJOOS.js";
9
+ import { R as Z } from "./app-BG-zK89d.js";
10
10
  const ke = ["aria-label"], M = /* @__PURE__ */ A({
11
11
  __name: "SectionChip",
12
12
  props: {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as ee, ref as P, computed as u, onMounted as te, onBeforeUnmount as oe, resolveComponent as g, openBlock as n, createElementBlock as s, Fragment as h, createVNode as p, unref as e, createElementVNode as a, toDisplayString as i, createBlock as y, createCommentVNode as f, renderList as L, withCtx as H } from "vue";
2
2
  import { h as ne } from "./moment-D7p2TMB-.js";
3
- import { u as ae } from "./vue-i18n-DzsxJorb.js";
3
+ import { u as ae } from "./vue-i18n-B_qtODCw.js";
4
4
  import { useRouter as le } from "vue-router";
5
- import { n as se } from "./plugins-DKQeoL_e.js";
6
- import { u as ie, h as ce, p as re, b as de, r as me, d as ue, c as pe } from "./onboarding-BOJw54Fn.js";
7
- import { _ as fe, a as ve } from "./GoalPickerPanel.vue_vue_type_script_setup_true_lang-D108r20x.js";
5
+ import { n as se } from "./plugins-De_chCYU.js";
6
+ import { u as ie, h as ce, p as re, b as de, r as me, d as ue, c as pe } from "./onboarding-BbQDJOOS.js";
7
+ import { _ as fe, a as ve } from "./GoalPickerPanel.vue_vue_type_script_setup_true_lang-GCp3IFaC.js";
8
8
  const ye = { class: "px-24 pb-24 flex flex-col gap-24" }, _e = {
9
9
  key: 0,
10
10
  class: "flex justify-center py-40"