@feedmepos/mf-connect 0.0.9-prod → 0.0.10-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 (58) hide show
  1. package/dist/{Analytic-0oY-mN8c.js → Analytic-BFeicKpw.js} +7 -7
  2. package/dist/{Broadcast-B8Cg3mTh.js → Broadcast-D0NyeAPC.js} +7 -7
  3. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-cByZptkJ.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DAUidvXJ.js} +8 -8
  4. package/dist/{Card-W5t70gfs.js → Card-DsFHDP5R.js} +98 -98
  5. package/dist/{Collections-g2EXdnKK.js → Collections-mc47YFfd.js} +6 -6
  6. package/dist/{Credit-CU-XaSJt.js → Credit-TQYanlxz.js} +7 -7
  7. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DrUfNND1.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BtEHnivB.js} +20 -20
  8. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-C4ISUyTx.js → EffectSheet.vue_vue_type_style_index_0_lang-kA-uGqCI.js} +5 -5
  9. package/dist/{Experience-C5RyprMA.js → Experience-CyASWXXY.js} +7 -7
  10. package/dist/{Game-hpBNJ0mb.js → Game-Tek__-5h.js} +7 -7
  11. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-DTiR-HWG.js → ImageInput.vue_vue_type_script_setup_true_lang-D-wHmyMe.js} +1 -1
  12. package/dist/{MainLayout-DGnwUSvk.js → MainLayout-zw-S_EV5.js} +1 -1
  13. package/dist/{Marketing-CxEE9GOu.js → Marketing-BcmbBw-5.js} +16 -16
  14. package/dist/{Member-C2cQ2cqX.js → Member-DWRIIPj-.js} +2 -2
  15. package/dist/{MemberList-Dotl5Hlq.js → MemberList-DNG0mNej.js} +11 -11
  16. package/dist/{MemberTransactions-CrYCY6zF.js → MemberTransactions-xdm0zGuQ.js} +2 -2
  17. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-WEOUYnH4.js → MessageInput.vue_vue_type_script_setup_true_lang-Bqs3tfs_.js} +2 -2
  18. package/dist/{Point-B5ebBGKa.js → Point-C1mfq_Fd.js} +7 -7
  19. package/dist/{Promotion-l8cba5zR.js → Promotion-DlxqsZFt.js} +8 -8
  20. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-D-H3HuuD.js → RuleGroup.vue_vue_type_script_setup_true_lang-DcLK4o-E.js} +12 -12
  21. package/dist/{Segment-F6y-QpnL.js → Segment-BLMz7i-L.js} +9 -9
  22. package/dist/{Setting-DFKwrYsY.js → Setting-CWftoE15.js} +10 -10
  23. package/dist/{Store-D18-l7g1.js → Store-jqibjN4j.js} +11 -11
  24. package/dist/{StoreRewards-Dst4OU0g.js → StoreRewards-DWbp79R_.js} +9 -9
  25. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-ByDlGARW.js → StoreTransactions.vue_vue_type_script_setup_true_lang-b21Sy462.js} +6 -6
  26. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BVl1EZbj.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BUOfEY4s.js} +1 -1
  27. package/dist/{Tier-D5rX4BBt.js → Tier-lymEcCqJ.js} +16 -16
  28. package/dist/{Title-By-v-YtC.js → Title-CYkql8-l.js} +15 -15
  29. package/dist/{Transaction-BfKa0OmO.js → Transaction-Ca_AVh3S.js} +1 -1
  30. package/dist/{Voucher-CDNXzgvN.js → Voucher-DX70cORv.js} +30 -30
  31. package/dist/{app-CLiRVe09.js → app-Bpd1FsZZ.js} +781 -781
  32. package/dist/app.js +1 -1
  33. package/dist/{campaign-C0O4ufjR.js → campaign-CfsRf50J.js} +2 -2
  34. package/dist/{dto-D6x9Qi1C.js → dto-COz9T0F3.js} +61 -61
  35. package/dist/{effect-D0Jd4NXE.js → effect-CiUKauPm.js} +1 -1
  36. package/dist/{export-DLH5vnDU.js → export-oV5_2WhN.js} +3 -3
  37. package/dist/{helper-B1EQjBHn.js → helper-dCIRT9Az.js} +1 -1
  38. package/dist/{index-eWVdMBtU.js → index-BL_KPUtI.js} +1 -1
  39. package/dist/{index-DCyU3ov_.js → index-BYvX1Aa7.js} +2 -2
  40. package/dist/{index-CPxRWvm_.js → index-BgPP5w8f.js} +1 -1
  41. package/dist/{index-YNAtmrR2.js → index-C8kJRh0b.js} +2 -2
  42. package/dist/{index-4pPD5wO7.js → index-D9opigZA.js} +1 -1
  43. package/dist/{index-CtYnft8L.js → index-DL_XK8dd.js} +2 -2
  44. package/dist/{index-PD37prq9.js → index-Dd41k099.js} +1 -1
  45. package/dist/{index-Bg-6bGZe.js → index-De3pocAb.js} +5 -5
  46. package/dist/{index-hhkiOhh7.js → index-Qqifr9f8.js} +5 -5
  47. package/dist/{index-B--hVfHi.js → index-XTz7nzez.js} +3 -3
  48. package/dist/{loading-DD8co_fy.js → loading-Baon-6K7.js} +4 -4
  49. package/dist/{lodash-DIq_jRjG.js → lodash-C7zZd2mb.js} +1 -1
  50. package/dist/{membership-D49DXd1A.js → membership-Cg82yybg.js} +3 -3
  51. package/dist/{money-CaZoW_d2.js → money-CI5RX_Uc.js} +1 -1
  52. package/dist/{number-DxWYVokp.js → number-BD3GORAT.js} +1 -1
  53. package/dist/{rule-BkhZzXst.js → rule-BnlZjqSN.js} +2 -2
  54. package/dist/{rule-builder-DlVKnN3T.js → rule-builder-Qvpo2dS_.js} +1 -1
  55. package/dist/{template-CpSPM08D.js → template-CG_Y7BYa.js} +5 -5
  56. package/dist/{usePagination-CDCXG_E0.js → usePagination-BHEEnWBL.js} +1 -1
  57. package/dist/{xlsx-Cr68ZfNA.js → xlsx-DQZIpY73.js} +1 -1
  58. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { defineComponent as X, ref as y, watch as N, onMounted as J, resolveComponent as p, openBlock as g, createBlock as V, unref as t, isRef as j, withCtx as I, createElementVNode as s, createVNode as r, toDisplayString as M, computed as ee, createElementBlock as O, Fragment as T, renderList as ae, resolveDynamicComponent as te, createCommentVNode as K, h as v } from "vue";
1
+ import { defineComponent as X, ref as y, watch as N, onMounted as J, resolveComponent as p, openBlock as g, createBlock as V, unref as t, isRef as j, withCtx as I, createElementVNode as s, createVNode as r, toDisplayString as M, computed as ee, createElementBlock as O, Fragment as T, renderList as ae, resolveDynamicComponent as te, createCommentVNode as K, h as _ } from "vue";
2
2
  import { _ as oe } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as ne, components as x } from "@feedmepos/ui-library";
4
- import { u as Q, p as z, a as se } from "./loading-DD8co_fy.js";
4
+ import { u as Q, p as z, a as se } from "./loading-Baon-6K7.js";
5
5
  import { useCoreStore as le } from "@feedmepos/mf-common";
6
- import { u as ie, J as re, a as ce, R as ue, b as D } from "./app-CLiRVe09.js";
7
- import { u as me } from "./campaign-C0O4ufjR.js";
8
- import { g as q, b as G } from "./dto-D6x9Qi1C.js";
9
- import { u as de } from "./template-CpSPM08D.js";
10
- import { _ as pe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DrUfNND1.js";
6
+ import { u as ie, J as re, a as ce, R as ue, b as D } from "./app-Bpd1FsZZ.js";
7
+ import { u as me } from "./campaign-CfsRf50J.js";
8
+ import { g as q, b as G } from "./dto-COz9T0F3.js";
9
+ import { u as de } from "./template-CG_Y7BYa.js";
10
+ import { _ as pe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BtEHnivB.js";
11
11
  import { _ as fe } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
12
- import { l as he } from "./lodash-DIq_jRjG.js";
13
- import { m as ge } from "./index-PD37prq9.js";
14
- import { c as F } from "./index-CPxRWvm_.js";
12
+ import { l as he } from "./lodash-C7zZd2mb.js";
13
+ import { m as ge } from "./index-Dd41k099.js";
14
+ import { c as F } from "./index-BgPP5w8f.js";
15
15
  import { useRouter as ye } from "vue-router";
16
- const ve = { class: "space-y-16" }, _e = { class: "fm-typo-en-body-md-600" }, Ce = { class: "flex items-center justify-end" }, be = { class: "flex items-center gap-8" }, we = /* @__PURE__ */ X({
16
+ const _e = { class: "space-y-16" }, ve = { class: "fm-typo-en-body-md-600" }, Ce = { class: "flex items-center justify-end" }, be = { class: "flex items-center gap-8" }, we = /* @__PURE__ */ X({
17
17
  __name: "SendVoucherSheet",
18
18
  emits: ["success"],
19
19
  setup(W, { expose: U, emit: L }) {
@@ -21,7 +21,7 @@ const ve = { class: "space-y-16" }, _e = { class: "fm-typo-en-body-md-600" }, Ce
21
21
  function m(e) {
22
22
  f.value = !0, R.value = e.campaignId, u.value = [];
23
23
  }
24
- function _() {
24
+ function v() {
25
25
  f.value = !1;
26
26
  }
27
27
  const A = [
@@ -73,7 +73,7 @@ const ve = { class: "space-y-16" }, _e = { class: "fm-typo-en-body-md-600" }, Ce
73
73
  async () => {
74
74
  await F.sendCollection(R.value, {
75
75
  memberId: u.value
76
- }), await E("success"), _();
76
+ }), await E("success"), v();
77
77
  },
78
78
  {
79
79
  message: "Sending claim(s)",
@@ -88,7 +88,7 @@ const ve = { class: "space-y-16" }, _e = { class: "fm-typo-en-body-md-600" }, Ce
88
88
  }, 500)
89
89
  ), U({
90
90
  showSheet: m,
91
- hideSheet: _
91
+ hideSheet: v
92
92
  }), J(async () => {
93
93
  await C(l.value);
94
94
  }), (e, a) => {
@@ -120,8 +120,8 @@ const ve = { class: "space-y-16" }, _e = { class: "fm-typo-en-body-md-600" }, Ce
120
120
  ]),
121
121
  default: I(() => [
122
122
  r(re, { json: t(u) }, null, 8, ["json"]),
123
- s("div", ve, [
124
- s("div", _e, M(t(u).length) + " members selected ", 1),
123
+ s("div", _e, [
124
+ s("div", ve, M(t(u).length) + " members selected ", 1),
125
125
  s("div", Ce, [
126
126
  r(o, {
127
127
  class: "mt-4",
@@ -150,7 +150,7 @@ const ve = { class: "space-y-16" }, _e = { class: "fm-typo-en-body-md-600" }, Ce
150
150
  };
151
151
  }
152
152
  });
153
- var Se = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
153
+ var Se = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedme.cc", crmUrl: "crm.feedme.cc", marketingV1Portal: "https://marketing-v1.feedme.cc" };
154
154
  const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-center justify-between w-full" }, ke = { class: "flex gap-8 overflow-x-auto" }, Fe = { class: "space-y-8" }, Ie = { class: "flex w-full gap-4 items-center" }, Le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "space-y-4" }, Me = { class: "fm-typo-en-body-lg-600" }, Ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "flex gap-8 items-center" }, Ee = /* @__PURE__ */ s("img", {
155
155
  src: oe,
156
156
  class: "aspect-square w-[150px]"
@@ -168,7 +168,7 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
168
168
  }, L = ne(), P = de("VOUCHER", L), R = ce(), i = me(), { global: E, minor: f } = Q, u = ye(), m = y({
169
169
  searchKey: "",
170
170
  location: null
171
- }), _ = ee(
171
+ }), v = ee(
172
172
  () => i.campaigns.voucher.filter(
173
173
  (e) => !m.value.location || !e.targetLocation || e.targetLocation.includes(m.value.location)
174
174
  )
@@ -204,8 +204,8 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
204
204
  {
205
205
  header: "Actions",
206
206
  cell(e) {
207
- return v("div", { class: "flex items-center justify-end" }, [
208
- v(x.FmButton, {
207
+ return _("div", { class: "flex items-center justify-end" }, [
208
+ _(x.FmButton, {
209
209
  icon: "visibility",
210
210
  variant: "tertiary",
211
211
  iconColor: "neutral-gray-400",
@@ -216,7 +216,7 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
216
216
  });
217
217
  }
218
218
  }),
219
- v(
219
+ _(
220
220
  x.FmMenu,
221
221
  {
222
222
  placement: "bottom-end",
@@ -225,14 +225,14 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
225
225
  }
226
226
  },
227
227
  {
228
- "menu-button": () => v(x.FmButton, {
228
+ "menu-button": () => _(x.FmButton, {
229
229
  icon: "more_vert",
230
230
  iconColor: "neutral-gray-400",
231
231
  variant: "tertiary"
232
232
  }),
233
233
  default: () => {
234
234
  const a = [
235
- v(
235
+ _(
236
236
  x.FmMenuItem,
237
237
  {
238
238
  onClick: async (o) => {
@@ -240,7 +240,7 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
240
240
  }
241
241
  },
242
242
  {
243
- label: v(
243
+ label: _(
244
244
  "div",
245
245
  {
246
246
  class: "text-fm-color-typo-error fm-typo-en-body-md-400"
@@ -251,7 +251,7 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
251
251
  )
252
252
  ];
253
253
  return e.row.original.event.type === "SIMPLE_CLAIM" && (a.unshift(
254
- v(x.FmMenuItem, {
254
+ _(x.FmMenuItem, {
255
255
  label: "Send",
256
256
  onClick: async (o) => {
257
257
  var c;
@@ -261,7 +261,7 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
261
261
  }
262
262
  })
263
263
  ), a.unshift(
264
- v(x.FmMenuItem, {
264
+ _(x.FmMenuItem, {
265
265
  label: "Share",
266
266
  onClick: async (o) => {
267
267
  if (o.stopPropagation(), e.row.original.event.type !== "SIMPLE_CLAIM")
@@ -343,7 +343,7 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
343
343
  return g(), O(T, null, [
344
344
  r(o, {
345
345
  title: "Voucher",
346
- actions: t(_).length > 0 ? [U] : [],
346
+ actions: t(v).length > 0 ? [U] : [],
347
347
  "onClick:action": a[0] || (a[0] = () => b())
348
348
  }, null, 8, ["actions"]),
349
349
  s("div", xe, [
@@ -377,16 +377,16 @@ const xe = { class: "px-24 flex flex-col gap-y-16" }, Ve = { class: "flex items-
377
377
  ]),
378
378
  r(w, {
379
379
  class: "xs:hidden",
380
- "row-data": t(_),
380
+ "row-data": t(v),
381
381
  "column-defs": A,
382
382
  "search-value": t(m).searchKey,
383
383
  "column-filter": [],
384
384
  onRowClick: a[4] || (a[4] = (n) => b(n.original)),
385
- "hide-footer": t(_).length < 10
385
+ "hide-footer": t(v).length < 10
386
386
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
387
387
  r(Z, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
388
388
  default: I(() => [
389
- (g(!0), O(T, null, ae(t(_).filter(
389
+ (g(!0), O(T, null, ae(t(v).filter(
390
390
  (n) => n.name.toLowerCase().includes(t(m).searchKey.toLowerCase())
391
391
  ), (n) => (g(), V(h, {
392
392
  key: n._id.toString(),