@feedmepos/mf-connect 0.1.115-dev → 0.1.115-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 (154) hide show
  1. package/README.md +1 -66
  2. package/dist/{App-43mZfFAr.js → App-CvtSY8ZO.js} +618 -652
  3. package/dist/{Bin-CA7v180Y.js → Bin-B3gS9QVZ.js} +8 -8
  4. package/dist/{Broadcast-qmdifF2Y.js → Broadcast-DAeb-HaN.js} +21 -22
  5. package/dist/{CampaignAnalytic-xnrDxqaH.js → CampaignAnalytic-BfTaHVem.js} +7 -7
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zjk-QdtX.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zsei4OfG.js} +9 -9
  7. package/dist/{Card-D8icsk7L.js → Card-JFeVIwFs.js} +24 -25
  8. package/dist/{Collections--THcD-E_.js → Collections-xcDpEhIm.js} +185 -197
  9. package/dist/{Credit-JrbtVMBp.js → Credit-C9HJZjDS.js} +20 -21
  10. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DrwKtnE5.js → DateRangeChip.vue_vue_type_script_setup_true_lang-DSqVY91w.js} +1 -1
  11. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D_jXVE2I.js +3494 -0
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-hVgqWdD0.js → EffectSheet.vue_vue_type_style_index_0_lang-C3J0rCTt.js} +32 -32
  13. package/dist/{Experience-CFeRqBoj.js → Experience-DszS8gto.js} +31 -32
  14. package/dist/{FileSaver.min-CCXIBm58.js → FileSaver.min-CFVQKaC-.js} +1 -1
  15. package/dist/{Game-CPxq6Ex3.js → Game-DhgeN7E2.js} +18 -19
  16. package/dist/{GiftCardSetup-D0esVZDp.js → GiftCardSetup-CWm6IhrS.js} +75 -75
  17. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-CJ1-vL-K.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BuKADvmK.js} +7 -7
  18. package/dist/{Goals-DaKI6uXt.js → Goals-DtRVierH.js} +4 -4
  19. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BOnL0GxM.js → ImageInput.vue_vue_type_script_setup_true_lang-DlEFyu6h.js} +1 -1
  20. package/dist/{Index-2kENoaZm.js → Index-DFRcu_qE.js} +10 -10
  21. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BtWnJKU_.js → LocationPicker.vue_vue_type_script_setup_true_lang-B3Br4Xvi.js} +1 -1
  22. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CX_Sspu5.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CjNJj3qj.js} +1 -1
  23. package/dist/{LoyaltyDashboard-CB93Fz8u.js → LoyaltyDashboard-BWHKDPzk.js} +15 -15
  24. package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Du8fw5v_.js → MainLayout-BmpNNAiE.js} +4 -5
  25. package/dist/Marketing-BKK45Eve.js +236 -0
  26. package/dist/{remy-icon-BhUGu2NI.js → MarketingMaterialEdit-x3c_N7Gs.js} +1031 -2
  27. package/dist/{Member-B--nYyr0.js → Member-xEzrBW_p.js} +7 -7
  28. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-BBlzO7Db.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-DRoC-I0t.js} +50 -43
  29. package/dist/{MemberImportHistory-D52Y4RTC.js → MemberImportHistory-CEQpBBF8.js} +7 -7
  30. package/dist/{MemberList-13Owa1fj.js → MemberList-CCvzkHv8.js} +105 -103
  31. package/dist/{MemberTransactions-CpXEWNbq.js → MemberTransactions-Bmh39J2W.js} +1 -1
  32. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DlELjFM0.js → MessageInput.vue_vue_type_script_setup_true_lang-D3Pmk80l.js} +14 -14
  33. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-C_y0rM8c.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DIBKAwHP.js} +1 -1
  34. package/dist/{Mission-Ci-UzXSu.js → Mission-CpUo2Bgw.js} +21 -22
  35. package/dist/{Overview-CKxSfAGF.js → Overview-CwQqQ1Tn.js} +144 -145
  36. package/dist/{Overview-CXen9Ram.js → Overview-DcDZmDXA.js} +22 -23
  37. package/dist/{Point-CR3YOaag.js → Point-CUNQsQIx.js} +21 -22
  38. package/dist/{Promotion-tw3J4ul-.js → Promotion-Cqdim7aW.js} +131 -137
  39. package/dist/{Queue-BZGA5ZXt.js → Queue-CNBVh1UG.js} +45 -46
  40. package/dist/{Record-BTevVXnT.js → Record-BYwz4l4o.js} +9 -9
  41. package/dist/{Review-BU7c8ZF0.js → Review-CqLcZFj8.js} +2 -2
  42. package/dist/ReviewFacebookCallback-DbSCILNN.js +238 -0
  43. package/dist/{ReviewGoogleCallback-xpdPHSdg.js → ReviewGoogleCallback-Dg8R7QlO.js} +5 -5
  44. package/dist/{Reward-jlA_7cxz.js → Reward-M8GZ8eHq.js} +29 -29
  45. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D3z_n42G.js → RewardGroup.vue_vue_type_script_setup_true_lang-BkM9-Sx-.js} +15 -16
  46. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CnaL93TF.js +1883 -0
  47. package/dist/{Segment-C1Bwm--Q.js → Segment-CrMi6xrp.js} +305 -304
  48. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B6apgWTM.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DKH5_9db.js} +30 -31
  49. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-B7m2F9UV.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CyeAQ-hg.js} +4 -4
  50. package/dist/Setting-BnFRI0Se.js +2037 -0
  51. package/dist/{SettingAdvertisements-4XEAJzlL.js → SettingAdvertisements-Dh7v4c1D.js} +12 -12
  52. package/dist/Settings-BvT8_tkQ.js +179 -0
  53. package/dist/{Store-C56dXtc4.js → Store-CV-BmK5b.js} +30 -31
  54. package/dist/{StoreRewards-DQ1Q6WS6.js → StoreRewards-DPhSLvSZ.js} +15 -15
  55. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CDu1QySl.js +1264 -0
  56. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Dqz6jTlH.js +142 -0
  57. package/dist/{Tier-D4CPZqw7.js → Tier-ChvYps23.js} +687 -2576
  58. package/dist/{Title-DCbwhUic.js → Title-v-Ivswr1.js} +92 -94
  59. package/dist/{Transaction-C5LrasXr.js → Transaction-CRqE1Ix0.js} +2 -2
  60. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cl9b4mrK.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B0Uh9iuj.js} +26 -26
  61. package/dist/{Voucher-rrVbNZKR.js → Voucher-Bg8FOuzD.js} +19 -19
  62. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BIq227nz.js → VoucherEditor.vue_vue_type_script_setup_true_lang-HKxivQMF.js} +16 -16
  63. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-C39_95SZ.js → ZodTextField.vue_vue_type_script_setup_true_lang-8d290Dcp.js} +2 -2
  64. package/dist/{app-CgimGODl.js → app-DdNKsn2Q.js} +7107 -8874
  65. package/dist/app.js +3 -4
  66. package/dist/{base.export-D2P6HFvo.js → base.export-R97FrSQL.js} +2 -2
  67. package/dist/{business-Bu5TqSA0.js → business-Ce8vq3wQ.js} +1 -1
  68. package/dist/{campaign-zJxttSIk.js → campaign-BTllt2LH.js} +25 -31
  69. package/dist/{campaign-BFIXSgdJ.js → campaign-C19If7bW.js} +94 -121
  70. package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-9CCbalR4.js} +2 -3
  71. package/dist/{campaign.fn-gvjlcEfe.js → campaign.fn-B4g03h0A.js} +78 -78
  72. package/dist/{collectible.enum-Liy2wH3s.js → collectible.enum-MvqF7mSg.js} +1 -1
  73. package/dist/{collection.fn-DOm0HsSh.js → collection.fn-CR0bD33S.js} +2 -2
  74. package/dist/{currency-BpbQvbm8.js → currency-DmlguGIM.js} +1 -1
  75. package/dist/{effect-D-GtNB3n.js → effect-Dx3zfl28.js} +1 -1
  76. package/dist/{email-addresses-BKMoAtMi.js → email-addresses-De5PGOY4.js} +2 -2
  77. package/dist/{feature-flag-BJ_eyKsq.js → feature-flag-CD9V1V0h.js} +74 -74
  78. package/dist/google-C3S8u0mT.js +4 -0
  79. package/dist/{helper-CkfjBgMM.js → helper-CEiv7SaO.js} +1 -1
  80. package/dist/{index-zTvr2GR4.js → index-649OZ_e1.js} +2 -2
  81. package/dist/{index-feCrYhi6.js → index-B8meeQoD.js} +1 -1
  82. package/dist/{index-CIej31pF.js → index-B8yWVB8P.js} +3 -4
  83. package/dist/{index-BKsxIwbi.js → index-BAXKd9Gg.js} +198 -198
  84. package/dist/{index-BAtUrtqM.js → index-BDPnyro2.js} +6 -19
  85. package/dist/{index-DUAZOMVJ.js → index-BR9h5DTI.js} +1 -1
  86. package/dist/{index-DwU3fsLW.js → index-BVdYxi3l.js} +15 -29
  87. package/dist/{index-D0JK99Ko.js → index-BW6eb3n6.js} +252 -611
  88. package/dist/{index-LygS9WsG.js → index-BYI9ttxy.js} +10767 -8028
  89. package/dist/{index-BdEXUNoG.js → index-BquSqx6K.js} +4 -4
  90. package/dist/{index-BpTIulTX.js → index-CBJy9bxB.js} +1 -1
  91. package/dist/{index-B6kU3PkV.js → index-CPODug8b.js} +2613 -2700
  92. package/dist/{index-CfQuYqXn.js → index-CWUrODxL.js} +1 -1
  93. package/dist/{index-DKxN1mMS.js → index-CqOCJTeR.js} +232 -390
  94. package/dist/{index-CuREApMc.js → index-D4d3l0gw.js} +7 -8
  95. package/dist/{index-Bhl5IRXy.js → index-DT3S00_Y.js} +10 -11
  96. package/dist/{index-DqGs6RJG.js → index-IZRfmmde.js} +581 -683
  97. package/dist/{index-CQ8XFbBk.js → index-__UT3_Ey.js} +2 -2
  98. package/dist/{index-CCEXSPxk.js → index-xct3mnu8.js} +7 -7
  99. package/dist/{index.esm2017-DZi9IQPS.js → index.esm2017-AVbZ9btd.js} +177 -177
  100. package/dist/{loading-Brid2wnu.js → loading-BvHm1m3K.js} +1 -1
  101. package/dist/{lodash-C1epw3Kv.js → lodash-Dvrceo7x.js} +1 -1
  102. package/dist/{member-import-DAIxTIiu.js → member-import-c9avpiSS.js} +5 -6
  103. package/dist/{membership-BZmljFhF.js → membership-D-pZS634.js} +3 -3
  104. package/dist/{money-cLcyGcSZ.js → money-D4skwMkD.js} +1 -1
  105. package/dist/{number-C2jPLJr2.js → number-DJ6ncfT6.js} +1 -1
  106. package/dist/objectid-DEMM_jdR.js +145 -0
  107. package/dist/{onboarding-oRfy_g05.js → onboarding-t7R1d3h-.js} +25 -25
  108. package/dist/{onboardingSetup-BLD6m8HY.js → onboardingSetup-lTaJc0oT.js} +2 -2
  109. package/dist/{plugins-CUsr9vB0.js → plugins-DQNOWwRC.js} +3 -3
  110. package/dist/{reward-UOT03odb.js → reward-BK150pjm.js} +1 -1
  111. package/dist/{rule-BgJnPjkI.js → rule-COcdAnUu.js} +492 -572
  112. package/dist/rule-builder-Deufb6h_.js +102 -0
  113. package/dist/style.css +1 -1
  114. package/dist/template-DeebIqJ_.js +236 -0
  115. package/dist/{timezone-BXA4wq7Y.js → timezone-BP6UC4KL.js} +1 -1
  116. package/dist/{transaction.fn-CQ4fpRt3.js → transaction.fn-BY0hzon0.js} +2 -2
  117. package/dist/{trigger-DXJCGT0q.js → trigger-DVBjVPbN.js} +8 -8
  118. package/dist/useMarketingMaterialActions-DpQCQHFI.js +96 -0
  119. package/dist/{usePagination-Pp4okWr8.js → usePagination-QT552XyF.js} +1 -1
  120. package/dist/{user-B3gXcAIy.js → user-CmAxNc7T.js} +1 -1
  121. package/dist/vue-i18n-Cze706-f.js +2365 -0
  122. package/dist/{xlsx-CCaDUTgW.js → xlsx-DAczoc8y.js} +224 -224
  123. package/dist/{zod-CPwjOxvW.js → zod-Aj-GuVQL.js} +1 -1
  124. package/package.json +2 -6
  125. package/dist/AuditLogs-BPpdm96t.js +0 -2016
  126. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DgdAlHU7.js +0 -4442
  127. package/dist/Grab-BWzdN_cd.js +0 -301
  128. package/dist/MainLayout-DwnjGXh6.js +0 -4
  129. package/dist/Marketing-DCco__2F.js +0 -273
  130. package/dist/MarketingMaterialEdit-BbgFtrYP.js +0 -1037
  131. package/dist/ReviewFacebookCallback-BnMF6Arh.js +0 -225
  132. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CsHxqH9h.js +0 -1923
  133. package/dist/Setting-CDM4RhLW.js +0 -574
  134. package/dist/Settings-D-0tvZRr.js +0 -286
  135. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-LLD91Rz6.js +0 -1319
  136. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Bvy4NJMd.js +0 -7007
  137. package/dist/WhatsappAccount-oJDo5zTr.js +0 -159
  138. package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-aCQCYFYq.js +0 -39
  139. package/dist/WhatsappBot-Cl64wG_F.js +0 -876
  140. package/dist/WhatsappBotLogs-D3uT4EiB.js +0 -372
  141. package/dist/WhatsappBotSettings-Cs1lLxh-.js +0 -705
  142. package/dist/WhatsappLayout-C639d2HP.js +0 -21
  143. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DpPxWp2x.js +0 -253
  144. package/dist/browser-BSAOEeIM.js +0 -1478
  145. package/dist/duplicateCampaign-CvsvjRE9.js +0 -51
  146. package/dist/feature-flag-Bo-k5sIG.js +0 -50
  147. package/dist/google-BQK68wbe.js +0 -5
  148. package/dist/index-C-iwb2Ln.js +0 -109
  149. package/dist/index-C_H8jFYf.js +0 -2743
  150. package/dist/index-DQ8JJhxs.js +0 -74
  151. package/dist/objectid-C-wocWKI.js +0 -145
  152. package/dist/template-BZyFhr73.js +0 -188
  153. package/dist/useMarketingMaterialActions-B-Wib5ga.js +0 -125
  154. package/dist/vue-i18n-DWGiC_vs.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 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";
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-DdNKsn2Q.js";
3
+ import { Z as r } from "./zod-Aj-GuVQL.js";
4
+ import { g as oe, f as ae } from "./index-CPODug8b.js";
5
+ import { u as I } from "./vue-i18n-Cze706-f.js";
6
+ import { s as S } from "./effect-Dx3zfl28.js";
7
+ import { p as ne } from "./plugins-DQNOWwRC.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
- ), S = G(
54
+ ), g = G(
55
55
  () => i.forCredit ? oe : ae
56
56
  ), y = G(() => {
57
- const m = S.value.safeParse(i.modelValue);
57
+ const m = g.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
- w(Y, {
93
+ h(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
- w(T, {
146
+ h(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 S = x("FmSwitch"), y = x("FmStepperField");
175
+ const g = x("FmSwitch"), y = x("FmStepperField");
176
176
  return d(), b("div", ue, [
177
- t.isMission ? f("", !0) : (d(), u(S, {
177
+ t.isMission ? f("", !0) : (d(), u(g, {
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
- w(y, {
188
+ h(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: h(() => [
195
+ label: w(() => [
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: h(() => [
213
+ label: w(() => [
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
- w(y, {
225
+ h(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: h(() => [
232
+ label: w(() => [
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: h(() => [
250
+ label: w(() => [
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
- w(re, {
260
+ h(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 S = x("FmButton"), y = x("FmSideSheet");
290
+ const g = 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": h(() => {
300
+ "side-sheet-button": w(() => {
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(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)
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)
310
310
  ]),
311
- w(S, {
311
+ h(g, {
312
312
  icon: "delete",
313
313
  "icon-color": "neutral-gray-400",
314
314
  variant: "tertiary",
315
315
  onClick: a
316
316
  })
317
- ])) : (d(), u(S, {
317
+ ])) : (d(), u(g, {
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": h(() => [...l[4] || (l[4] = [
328
+ "side-sheet-footer": w(() => [...l[4] || (l[4] = [
329
329
  ee(V(void 0), -1)
330
330
  ])]),
331
- default: h(() => [
332
- w(e(le), {
331
+ default: w(() => [
332
+ h(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
- re as _,
348
+ Ue as _,
349
349
  Ce as a,
350
- Ue as b
350
+ re as b
351
351
  };
@@ -1,32 +1,31 @@
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-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";
4
+ import { p as Z } from "./plugins-DQNOWwRC.js";
5
+ import { u as ee } from "./loading-BvHm1m3K.js";
6
+ import { u as te } from "./business-Ce8vq3wQ.js";
7
+ import { u as oe } from "./campaign-BTllt2LH.js";
8
+ import { a as B, b as N, g as ae } from "./campaign-C19If7bW.js";
9
+ import { u as ne, c as re, p as ie } from "./template-DeebIqJ_.js";
10
+ import { u as se } from "./vue-i18n-Cze706-f.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-D_jXVE2I.js";
13
+ import "./index-B8meeQoD.js";
14
+ import { u as me } from "./onboardingSetup-lTaJc0oT.js";
16
15
  import { useRouter as pe } from "vue-router";
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({
16
+ import { c as g } from "./index-649OZ_e1.js";
17
+ import { R as ue } from "./app-DdNKsn2Q.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({
20
19
  __name: "Experience",
21
20
  setup(Fe) {
22
- const { t: r } = ie(), T = pe(), V = {
21
+ const { t: r } = se(), T = pe(), V = {
23
22
  label: r("connect.program.common.actions.create", {
24
23
  type: r("connect.program.experience.title").toLowerCase()
25
24
  }),
26
25
  value: "create",
27
26
  isPrimary: !0,
28
27
  prependIcon: "add"
29
- }, R = le("POINT", W()), A = te(), p = oe(), { global: O, minor: P } = ee, c = E({
28
+ }, R = ne("POINT", W()), A = te(), p = oe(), { global: O, minor: P } = ee, c = E({
30
29
  searchKey: "",
31
30
  location: []
32
31
  });
@@ -37,7 +36,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
37
36
  return (i = e == null ? void 0 : e.targetLocation) == null ? void 0 : i.includes(l);
38
37
  }) : e.targetLocation.includes(t);
39
38
  }
40
- const g = G(
39
+ const f = G(
41
40
  () => p.campaigns.experience.filter((e) => $(e))
42
41
  ), D = [
43
42
  {
@@ -91,7 +90,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
91
90
  async function S(e) {
92
91
  await Z.remove(`Are you sure you want to remove ${e.name}?`) && await P(
93
92
  async () => {
94
- await f.delete(e._id), await p.read("POINT");
93
+ await g.delete(e._id), await p.read("POINT");
95
94
  },
96
95
  {
97
96
  message: `Removing ${e.name}`,
@@ -108,7 +107,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
108
107
  (i = y.value) == null || i.showSheet(
109
108
  !0,
110
109
  "POINT",
111
- e ? await f.readById(e._id) : void 0,
110
+ e ? await g.readById(e._id) : void 0,
112
111
  l
113
112
  );
114
113
  }
@@ -121,9 +120,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
121
120
  }
122
121
  async function L(e) {
123
122
  var i;
124
- if (!await ne(e.name))
123
+ if (!await re(e.name))
125
124
  return;
126
- const t = await f.readById(e._id), l = re(t, {
125
+ const t = await g.readById(e._id), l = ie(t, {
127
126
  keepCollectible: !0
128
127
  });
129
128
  (i = y.value) == null || i.showSheet(
@@ -136,7 +135,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
136
135
  async function K(e) {
137
136
  await P(
138
137
  async () => {
139
- e.campaign._id ? await f.update(e.campaign._id, e) : await f.create(e), await p.read("POINT");
138
+ e.campaign._id ? await g.update(e.campaign._id, e) : await g.create(e), await p.read("POINT");
140
139
  },
141
140
  {
142
141
  message: r("connect.program.common.update.updating", {
@@ -160,7 +159,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
160
159
  return d(), C(v, null, [
161
160
  s(l, {
162
161
  title: o(r)("connect.program.experience.title"),
163
- actions: o(g).length > 0 ? [V] : [],
162
+ actions: o(f).length > 0 ? [V] : [],
164
163
  "onClick:action": t[0] || (t[0] = () => _())
165
164
  }, null, 8, ["title", "actions"]),
166
165
  n("div", de, [
@@ -172,9 +171,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
172
171
  collapsible: ""
173
172
  }, null, 8, ["modelValue", "placeholder"]),
174
173
  o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (d(), C(v, { key: 0 }, [
175
- n("div", fe, [
176
- n("div", ge, [
177
- s(se, {
174
+ n("div", ge, [
175
+ n("div", fe, [
176
+ s(ce, {
178
177
  label: `${o(r)("connect.common.location")}: `,
179
178
  "right-icon": "keyboard_arrow_down",
180
179
  modelValue: o(c).location,
@@ -194,16 +193,16 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
194
193
  ]),
195
194
  s(U, {
196
195
  class: "xs:hidden sm:hidden",
197
- "row-data": o(g),
196
+ "row-data": o(f),
198
197
  "column-defs": D,
199
198
  "search-value": o(c).searchKey,
200
199
  "column-filter": [],
201
200
  onRowClick: t[4] || (t[4] = (a) => _(a.original)),
202
- "hide-footer": o(g).length < 10
201
+ "hide-footer": o(f).length < 10
203
202
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
204
203
  s(H, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
205
204
  default: b(() => [
206
- (d(!0), C(v, null, z(o(g).filter(
205
+ (d(!0), C(v, null, z(o(f).filter(
207
206
  (a) => a.name.toLowerCase().includes(o(c).searchKey.toLowerCase())
208
207
  ), (a) => (d(), k(j, {
209
208
  key: a._id.toString(),
@@ -273,7 +272,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
273
272
  ]),
274
273
  _: 1
275
274
  })),
276
- s(ce, {
275
+ s(le, {
277
276
  ref_key: "sheetRef",
278
277
  ref: y,
279
278
  "onSubmit:modelValue": K
@@ -284,5 +283,5 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
284
283
  }
285
284
  });
286
285
  export {
287
- He as default
286
+ je as default
288
287
  };
@@ -1,4 +1,4 @@
1
- import { c as s } from "./app-CgimGODl.js";
1
+ import { c as s } from "./app-DdNKsn2Q.js";
2
2
  var E = { exports: {} };
3
3
  (function(h, j) {
4
4
  (function(p, i) {
@@ -1,22 +1,21 @@
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-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";
4
+ import { c as ae, p as ne } from "./plugins-DQNOWwRC.js";
5
+ import { u as ie } from "./loading-BvHm1m3K.js";
6
+ import { u as re } from "./business-Ce8vq3wQ.js";
7
+ import { u as se } from "./campaign-BTllt2LH.js";
8
+ import { a as T, b as U, g as le } from "./campaign-C19If7bW.js";
9
+ import { c as ce, p as me, u as de } from "./template-DeebIqJ_.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-D_jXVE2I.js";
12
+ import { u as fe } from "./vue-i18n-Cze706-f.js";
13
+ import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-DKH5_9db.js";
14
+ import "./index-B8meeQoD.js";
16
15
  import { useRouter as ye } from "vue-router";
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({
16
+ import { c as h } from "./index-649OZ_e1.js";
17
+ import { R as _e } from "./app-DdNKsn2Q.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({
20
19
  __name: "Game",
21
20
  setup(Ee) {
22
21
  const { t: d } = fe(), D = ye(), I = {
@@ -26,7 +25,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
26
25
  value: "create",
27
26
  isPrimary: !0,
28
27
  prependIcon: "add"
29
- }, L = oe(), K = pe("GAME", L), w = re(), u = se(), { global: j, minor: B } = ie, c = A({
28
+ }, L = oe(), K = de("GAME", L), w = re(), u = se(), { global: j, minor: B } = ie, c = A({
30
29
  searchKey: "",
31
30
  location: []
32
31
  });
@@ -231,7 +230,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
231
230
  o(u).campaigns.token && o(u).campaigns.token.length > 0 ? (f(), P(R, { key: 0 }, [
232
231
  n("div", ve, [
233
232
  n("div", xe, [
234
- r(de, {
233
+ r(ue, {
235
234
  label: `${o(d)("connect.common.location")}: `,
236
235
  "right-icon": "keyboard_arrow_down",
237
236
  modelValue: o(c).location,
@@ -337,7 +336,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
337
336
  ]),
338
337
  _: 1
339
338
  })),
340
- r(ue, {
339
+ r(pe, {
341
340
  ref_key: "sheetRef",
342
341
  ref: k,
343
342
  "onSubmit:modelValue": H
@@ -352,5 +351,5 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
352
351
  }
353
352
  });
354
353
  export {
355
- Xe as default
354
+ Qe as default
356
355
  };