@feedmepos/mf-connect 0.1.114-prod → 0.1.115-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 (157) hide show
  1. package/README.md +66 -1
  2. package/dist/{App-DMYXrCc7.js → App-43mZfFAr.js} +700 -654
  3. package/dist/AuditLogs-BPpdm96t.js +2016 -0
  4. package/dist/{Bin-CHZolo56.js → Bin-CA7v180Y.js} +8 -8
  5. package/dist/Broadcast-qmdifF2Y.js +306 -0
  6. package/dist/{CampaignAnalytic-DgZvsUoF.js → CampaignAnalytic-xnrDxqaH.js} +7 -7
  7. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C42uL_JO.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zjk-QdtX.js} +9 -9
  8. package/dist/{Card-wRFTJwJ9.js → Card-D8icsk7L.js} +25 -24
  9. package/dist/{Collections-9G-_9Etz.js → Collections--THcD-E_.js} +197 -185
  10. package/dist/{Credit-Bl7IDMCU.js → Credit-JrbtVMBp.js} +21 -20
  11. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-BVLJeofG.js → DateRangeChip.vue_vue_type_script_setup_true_lang-DrwKtnE5.js} +1 -1
  12. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DgdAlHU7.js +4442 -0
  13. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Q1f6EQW3.js → EffectSheet.vue_vue_type_style_index_0_lang-hVgqWdD0.js} +32 -32
  14. package/dist/{Experience-Cs2iViLv.js → Experience-CFeRqBoj.js} +32 -31
  15. package/dist/{FileSaver.min-B3Levdbu.js → FileSaver.min-CCXIBm58.js} +1 -1
  16. package/dist/{Game-oXURgzan.js → Game-CPxq6Ex3.js} +19 -18
  17. package/dist/{GiftCardSetup-C2Wu-dRl.js → GiftCardSetup-D0esVZDp.js} +75 -75
  18. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-Da2e89Um.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-CJ1-vL-K.js} +7 -7
  19. package/dist/{Goals-B_xEM7gf.js → Goals-DaKI6uXt.js} +4 -4
  20. package/dist/Grab-BWzdN_cd.js +301 -0
  21. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BRJR1heE.js → ImageInput.vue_vue_type_script_setup_true_lang-BOnL0GxM.js} +1 -1
  22. package/dist/{Index-kuT6W6R_.js → Index-2kENoaZm.js} +10 -10
  23. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-7JqHfSk-.js → LocationPicker.vue_vue_type_script_setup_true_lang-BtWnJKU_.js} +1 -1
  24. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CI_4S7tW.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CX_Sspu5.js} +1 -1
  25. package/dist/{LoyaltyDashboard-CqxHdZcm.js → LoyaltyDashboard-CB93Fz8u.js} +15 -15
  26. package/dist/MainLayout-DwnjGXh6.js +4 -0
  27. package/dist/{MainLayout-CAERFIms.js → MainLayout.vue_vue_type_script_setup_true_lang-Du8fw5v_.js} +5 -4
  28. package/dist/Marketing-DCco__2F.js +273 -0
  29. package/dist/MarketingMaterialEdit-BbgFtrYP.js +1037 -0
  30. package/dist/{Member-B8VZEn9t.js → Member-B--nYyr0.js} +7 -7
  31. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-B31lVLKh.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-BBlzO7Db.js} +43 -50
  32. package/dist/{MemberImportHistory-D9tgHnTS.js → MemberImportHistory-D52Y4RTC.js} +7 -7
  33. package/dist/{MemberList-Hw_xQY1i.js → MemberList-13Owa1fj.js} +103 -105
  34. package/dist/{MemberTransactions-DiBO4plw.js → MemberTransactions-CpXEWNbq.js} +1 -1
  35. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CbFt5X89.js → MessageInput.vue_vue_type_script_setup_true_lang-DlELjFM0.js} +4228 -4176
  36. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-BE_-Ed4z.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-C_y0rM8c.js} +1 -1
  37. package/dist/{Mission-DpYei3aF.js → Mission-Ci-UzXSu.js} +22 -21
  38. package/dist/{Overview-CARquJCS.js → Overview-CKxSfAGF.js} +145 -144
  39. package/dist/{Overview-BFQMmyT6.js → Overview-CXen9Ram.js} +23 -22
  40. package/dist/{Point-Dd2ykwNv.js → Point-CR3YOaag.js} +22 -21
  41. package/dist/{Promotion-DXl-W7np.js → Promotion-tw3J4ul-.js} +137 -131
  42. package/dist/{Queue-Cd3N-4iB.js → Queue-BZGA5ZXt.js} +47 -46
  43. package/dist/{Record-C3HdDsh5.js → Record-BTevVXnT.js} +9 -9
  44. package/dist/{Review-Bif3Ub9Z.js → Review-BU7c8ZF0.js} +2 -2
  45. package/dist/ReviewFacebookCallback-BnMF6Arh.js +225 -0
  46. package/dist/{ReviewGoogleCallback-i-RNLlLm.js → ReviewGoogleCallback-xpdPHSdg.js} +5 -5
  47. package/dist/{Reward-DHxzrR_7.js → Reward-jlA_7cxz.js} +29 -29
  48. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DcrFlcSo.js → RewardGroup.vue_vue_type_script_setup_true_lang-D3z_n42G.js} +16 -15
  49. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CsHxqH9h.js +1923 -0
  50. package/dist/{Segment-Cjpxordk.js → Segment-C1Bwm--Q.js} +290 -291
  51. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-6u21xBu6.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-B6apgWTM.js} +31 -30
  52. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BOXVzfer.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-B7m2F9UV.js} +4 -4
  53. package/dist/Setting-CDM4RhLW.js +574 -0
  54. package/dist/{SettingAdvertisements-aog5fz32.js → SettingAdvertisements-4XEAJzlL.js} +12 -12
  55. package/dist/Settings-D-0tvZRr.js +286 -0
  56. package/dist/{Store-Bq3kw1l2.js → Store-C56dXtc4.js} +31 -30
  57. package/dist/{StoreRewards-ZGXKEM09.js → StoreRewards-DQ1Q6WS6.js} +15 -15
  58. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-LLD91Rz6.js +1319 -0
  59. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Bvy4NJMd.js +7007 -0
  60. package/dist/{Tier-CfgpEHY7.js → Tier-D4CPZqw7.js} +2576 -687
  61. package/dist/{Title-B2itYWeD.js → Title-DCbwhUic.js} +94 -92
  62. package/dist/{Transaction-hJ5ygIcf.js → Transaction-C5LrasXr.js} +2 -2
  63. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-8BgGlpTh.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Cl9b4mrK.js} +26 -26
  64. package/dist/{Voucher-TG47pGR3.js → Voucher-rrVbNZKR.js} +19 -19
  65. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CjuXCTxg.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BIq227nz.js} +16 -16
  66. package/dist/WhatsappAccount-oJDo5zTr.js +159 -0
  67. package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-aCQCYFYq.js +39 -0
  68. package/dist/WhatsappBot-Cl64wG_F.js +876 -0
  69. package/dist/WhatsappBotLogs-D3uT4EiB.js +372 -0
  70. package/dist/WhatsappBotSettings-Cs1lLxh-.js +705 -0
  71. package/dist/WhatsappLayout-C639d2HP.js +21 -0
  72. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DpPxWp2x.js +253 -0
  73. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BRs-gbP0.js → ZodTextField.vue_vue_type_script_setup_true_lang-C39_95SZ.js} +2 -2
  74. package/dist/{app-tPHYkJcQ.js → app-CgimGODl.js} +10610 -8223
  75. package/dist/app.js +4 -3
  76. package/dist/{base.export-BHDVnGj2.js → base.export-D2P6HFvo.js} +2 -2
  77. package/dist/browser-BSAOEeIM.js +1478 -0
  78. package/dist/{business-HLyWfrXY.js → business-Bu5TqSA0.js} +1 -1
  79. package/dist/campaign-BFIXSgdJ.js +400 -0
  80. package/dist/{campaign-5zFgUNLw.js → campaign-zJxttSIk.js} +31 -25
  81. package/dist/{campaign.enum-BOkDnP2g.js → campaign.enum-Dx-Zo68Q.js} +3 -2
  82. package/dist/{campaign.fn-BIAoVtJj.js → campaign.fn-gvjlcEfe.js} +78 -78
  83. package/dist/{collectible.enum-BbZSAfys.js → collectible.enum-Liy2wH3s.js} +1 -1
  84. package/dist/{collection.fn-DPSgBHnz.js → collection.fn-DOm0HsSh.js} +2 -2
  85. package/dist/{currency-BVrMqU6-.js → currency-BpbQvbm8.js} +1 -1
  86. package/dist/duplicateCampaign-CvsvjRE9.js +51 -0
  87. package/dist/{effect-BBifVx76.js → effect-D-GtNB3n.js} +1 -1
  88. package/dist/{email-addresses-9C7xHTNv.js → email-addresses-BKMoAtMi.js} +2 -2
  89. package/dist/feature-flag-BJ_eyKsq.js +868 -0
  90. package/dist/feature-flag-Bo-k5sIG.js +50 -0
  91. package/dist/google-BQK68wbe.js +5 -0
  92. package/dist/{helper-C08jyQNK.js → helper-CkfjBgMM.js} +1 -1
  93. package/dist/{index-Dhyqf1s8.js → index-B6kU3PkV.js} +2700 -2613
  94. package/dist/{index-BgwZGunW.js → index-BAtUrtqM.js} +19 -6
  95. package/dist/index-BKsxIwbi.js +14571 -0
  96. package/dist/{index-DZ-q5O-V.js → index-BdEXUNoG.js} +4 -4
  97. package/dist/{index-hIUtD2eY.js → index-Bhl5IRXy.js} +11 -10
  98. package/dist/{index-kCbkOivd.js → index-BpTIulTX.js} +1 -1
  99. package/dist/index-C-iwb2Ln.js +109 -0
  100. package/dist/{index-Ciw2TZxV.js → index-CCEXSPxk.js} +8 -7
  101. package/dist/{index-CUle4c2B.js → index-CIej31pF.js} +4 -3
  102. package/dist/{index-ihw-WFCa.js → index-CQ8XFbBk.js} +2 -2
  103. package/dist/index-C_H8jFYf.js +2743 -0
  104. package/dist/{index-CEe1kJ0T.js → index-CfQuYqXn.js} +1 -1
  105. package/dist/{index-C_WoO58V.js → index-CuREApMc.js} +8 -7
  106. package/dist/{index-NJSI4wX4.js → index-D0JK99Ko.js} +693 -231
  107. package/dist/{index-DnRMNmUA.js → index-DKxN1mMS.js} +396 -232
  108. package/dist/index-DQ8JJhxs.js +74 -0
  109. package/dist/{index-D24Q28cH.js → index-DUAZOMVJ.js} +1 -1
  110. package/dist/{index-Yo0tP8KJ.js → index-DqGs6RJG.js} +683 -581
  111. package/dist/{index-B_334Y_i.js → index-DwU3fsLW.js} +29 -15
  112. package/dist/{index-hSRM1smQ.js → index-LygS9WsG.js} +8028 -10767
  113. package/dist/{index-96ZiAKj_.js → index-feCrYhi6.js} +1 -1
  114. package/dist/{index-Dk-jg0wN.js → index-zTvr2GR4.js} +2 -2
  115. package/dist/{index.esm2017-hN99SQTb.js → index.esm2017-DZi9IQPS.js} +209 -209
  116. package/dist/{loading-CVuY4vQ4.js → loading-Brid2wnu.js} +1 -1
  117. package/dist/{lodash-GFl9_FMH.js → lodash-C1epw3Kv.js} +1 -1
  118. package/dist/{member-import-CshTzabx.js → member-import-DAIxTIiu.js} +6 -5
  119. package/dist/{membership-S0KES3Ex.js → membership-BZmljFhF.js} +3 -3
  120. package/dist/{money-JxdX8ru4.js → money-cLcyGcSZ.js} +1 -1
  121. package/dist/{number-BRLwa-mB.js → number-C2jPLJr2.js} +1 -1
  122. package/dist/objectid-C-wocWKI.js +145 -0
  123. package/dist/{onboarding-BSKYeyP7.js → onboarding-oRfy_g05.js} +25 -25
  124. package/dist/{onboardingSetup-BqT52VRm.js → onboardingSetup-BLD6m8HY.js} +2 -2
  125. package/dist/{plugins-BR_wmMFJ.js → plugins-CUsr9vB0.js} +3 -3
  126. package/dist/{MarketingMaterialEdit-BvIthCHG.js → remy-icon-BhUGu2NI.js} +2 -1031
  127. package/dist/{reward-CpCGg_W2.js → reward-UOT03odb.js} +1 -1
  128. package/dist/{rule-Dbg9e8MO.js → rule-BgJnPjkI.js} +572 -492
  129. package/dist/style.css +1 -1
  130. package/dist/template-BZyFhr73.js +188 -0
  131. package/dist/{timezone-CDVa-xPr.js → timezone-BXA4wq7Y.js} +1 -1
  132. package/dist/{transaction.fn-DrTBoF9T.js → transaction.fn-CQ4fpRt3.js} +2 -2
  133. package/dist/{trigger-wqGwQfB2.js → trigger-DXJCGT0q.js} +8 -8
  134. package/dist/useMarketingMaterialActions-B-Wib5ga.js +125 -0
  135. package/dist/{usePagination-fODgpZZ8.js → usePagination-Pp4okWr8.js} +1 -1
  136. package/dist/{user-DaLUK1dk.js → user-B3gXcAIy.js} +1 -1
  137. package/dist/vue-i18n-DWGiC_vs.js +2365 -0
  138. package/dist/{xlsx-Bl4_Dtrq.js → xlsx-CCaDUTgW.js} +651 -651
  139. package/dist/{zod-CAzWyVqj.js → zod-CPwjOxvW.js} +1 -1
  140. package/package.json +12 -3
  141. package/dist/Broadcast-ByWvxVhW.js +0 -271
  142. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DGpQfV5T.js +0 -2431
  143. package/dist/Marketing-KgcwGErU.js +0 -236
  144. package/dist/ReviewFacebookCallback-mJF54-9l.js +0 -238
  145. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-39f3I4BB.js +0 -1883
  146. package/dist/Setting-Dl9MelHz.js +0 -2036
  147. package/dist/Settings-DvCCClIP.js +0 -179
  148. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-DscLAF0p.js +0 -1264
  149. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-l_v4FHO0.js +0 -142
  150. package/dist/campaign-awCRccgX.js +0 -228
  151. package/dist/google-C3S8u0mT.js +0 -4
  152. package/dist/index-CoNJdOx7.js +0 -51
  153. package/dist/objectid-CEHN25HN.js +0 -145
  154. package/dist/rule-builder-BEIjxsE0.js +0 -102
  155. package/dist/template-CS-lExgI.js +0 -236
  156. package/dist/useMarketingMaterialActions-DC0gIyIZ.js +0 -96
  157. package/dist/vue-i18n-Dx-KXojZ.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-tPHYkJcQ.js";
3
- import { Z as r } from "./zod-CAzWyVqj.js";
4
- import { g as oe, f as ae } from "./index-Dhyqf1s8.js";
5
- import { u as I } from "./vue-i18n-Dx-KXojZ.js";
6
- import { s as S } from "./effect-BBifVx76.js";
7
- import { p as ne } from "./plugins-BR_wmMFJ.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-CgimGODl.js";
3
+ import { Z as r } from "./zod-CPwjOxvW.js";
4
+ import { j as oe, i as ae } from "./index-B6kU3PkV.js";
5
+ import { u as I } from "./vue-i18n-DWGiC_vs.js";
6
+ import { s as g } from "./effect-D-GtNB3n.js";
7
+ import { p as ne } from "./plugins-CUsr9vB0.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,
@@ -345,7 +345,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
345
345
  }
346
346
  });
347
347
  export {
348
- Ue as _,
348
+ re as _,
349
349
  Ce as a,
350
- re as b
350
+ Ue as b
351
351
  };
@@ -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-BR_wmMFJ.js";
5
- import { u as ee } from "./loading-CVuY4vQ4.js";
6
- import { u as te } from "./business-HLyWfrXY.js";
7
- import { u as oe } from "./campaign-5zFgUNLw.js";
8
- import { a as B, b as N, g as ae } from "./campaign-awCRccgX.js";
9
- import { u as ne, c as re, p as ie } from "./template-CS-lExgI.js";
10
- import { u as se } from "./vue-i18n-Dx-KXojZ.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-DGpQfV5T.js";
13
- import "./index-96ZiAKj_.js";
14
- import { u as me } from "./onboardingSetup-BqT52VRm.js";
4
+ import { p as Z } from "./plugins-CUsr9vB0.js";
5
+ import { u as ee } from "./loading-Brid2wnu.js";
6
+ import { u as te } from "./business-Bu5TqSA0.js";
7
+ import { u as oe } from "./campaign-zJxttSIk.js";
8
+ import { b as B, c as N, a as ae } from "./campaign-BFIXSgdJ.js";
9
+ import { c as ne, p as re } from "./duplicateCampaign-CvsvjRE9.js";
10
+ import { u as ie } from "./vue-i18n-DWGiC_vs.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-DgdAlHU7.js";
13
+ import { u as le } from "./template-BZyFhr73.js";
14
+ import "./index-feCrYhi6.js";
15
+ import { u as me } from "./onboardingSetup-BLD6m8HY.js";
15
16
  import { useRouter as pe } from "vue-router";
16
- import { c as g } from "./index-Dk-jg0wN.js";
17
- import { R as ue } from "./app-tPHYkJcQ.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-zTvr2GR4.js";
18
+ import { R as ue } from "./app-CgimGODl.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-tPHYkJcQ.js";
1
+ import { c as s } from "./app-CgimGODl.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-BR_wmMFJ.js";
5
- import { u as ie } from "./loading-CVuY4vQ4.js";
6
- import { u as re } from "./business-HLyWfrXY.js";
7
- import { u as se } from "./campaign-5zFgUNLw.js";
8
- import { a as T, b as U, g as le } from "./campaign-awCRccgX.js";
9
- import { c as ce, p as me, u as de } from "./template-CS-lExgI.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-DGpQfV5T.js";
12
- import { u as fe } from "./vue-i18n-Dx-KXojZ.js";
13
- import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-6u21xBu6.js";
14
- import "./index-96ZiAKj_.js";
4
+ import { c as ae, p as ne } from "./plugins-CUsr9vB0.js";
5
+ import { u as ie } from "./loading-Brid2wnu.js";
6
+ import { u as re } from "./business-Bu5TqSA0.js";
7
+ import { u as se } from "./campaign-zJxttSIk.js";
8
+ import { b as T, c as U, a as le } from "./campaign-BFIXSgdJ.js";
9
+ import { c as ce, p as me } from "./duplicateCampaign-CvsvjRE9.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-DgdAlHU7.js";
12
+ import { u as pe } from "./template-BZyFhr73.js";
13
+ import { u as fe } from "./vue-i18n-DWGiC_vs.js";
14
+ import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-B6apgWTM.js";
15
+ import "./index-feCrYhi6.js";
15
16
  import { useRouter as ye } from "vue-router";
16
- import { c as h } from "./index-Dk-jg0wN.js";
17
- import { R as _e } from "./app-tPHYkJcQ.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-zTvr2GR4.js";
18
+ import { R as _e } from "./app-CgimGODl.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
  };