@feedmepos/mf-connect 0.0.16-beta.11 → 0.0.16-beta.13

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 (76) hide show
  1. package/dist/{Analytic-Gq7PoNer.js → Analytic-B8FGU0B7.js} +32 -32
  2. package/dist/App-BXAJ1Z_T.js +6260 -0
  3. package/dist/{Broadcast-DU3JnBwZ.js → Broadcast-DvmjAtxH.js} +8 -8
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0I8IZIR.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dvp3mOEx.js} +8 -8
  5. package/dist/Card-DblSxqRr.js +825 -0
  6. package/dist/{Collections-B1SC1rr7.js → Collections-C4KRnnWW.js} +4 -4
  7. package/dist/{Credit-BgwI8DR3.js → Credit-C5MbDbWr.js} +8 -8
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-D9VR3P2d.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-2MKUx_As.js} +718 -718
  9. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DPgu45MD.js → EffectSheet.vue_vue_type_style_index_0_lang-CCsxDg45.js} +8 -8
  10. package/dist/{Experience-C2Q-zqV6.js → Experience-CmDLg17p.js} +8 -8
  11. package/dist/{Game-DU2pZDGk.js → Game-5zvjlfuj.js} +8 -8
  12. package/dist/{Marketing-DWiTQp9I.js → Marketing-BVpimsBU.js} +5 -5
  13. package/dist/Member-BkOqtn9n.js +69 -0
  14. package/dist/{MemberList-DzMdajIf.js → MemberList-3IvxRInu.js} +105 -105
  15. package/dist/{MemberTransactions-Bciankuu.js → MemberTransactions-DRpV77Pn.js} +1 -1
  16. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DH25Hfk3.js → MessageInput.vue_vue_type_script_setup_true_lang-CBvpHaAl.js} +2 -2
  17. package/dist/{Mission-KzwRlaA5.js → Mission-9fJLMJKS.js} +8 -8
  18. package/dist/{Point-CSKvZXHc.js → Point-7O6IdhWH.js} +8 -8
  19. package/dist/Promotion-XqpFw0IZ.js +247 -0
  20. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-4zIO3oCr.js → RuleGroup.vue_vue_type_script_setup_true_lang-1Fko0V0J.js} +14 -14
  21. package/dist/{Segment-2Q0PonBb.js → Segment-DMaHcJT_.js} +8 -8
  22. package/dist/{Setting-Df5vVRt4.js → Setting-DQh2aqfD.js} +8 -8
  23. package/dist/{Store-C0WXCKs6.js → Store-WvEUlY9N.js} +393 -393
  24. package/dist/{StoreRewards-eSSIO0nk.js → StoreRewards-D50uR2b9.js} +11 -11
  25. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BjnCRKGX.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Cm0lHUkP.js} +6 -6
  26. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-b0xTcoEp.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BnjVkkS1.js} +1 -1
  27. package/dist/{Tier-v-1FkRU-.js → Tier-CqNKi52t.js} +14 -14
  28. package/dist/{Title-CQ2JWqBW.js → Title-CzBp5ig0.js} +14 -14
  29. package/dist/{Transaction-0OouN_6s.js → Transaction-EKIwyavj.js} +2 -2
  30. package/dist/{Voucher-CL0cgogx.js → Voucher-Dhpzn8gs.js} +11 -11
  31. package/dist/{app-Bd19eW7X.js → app-3-6LVz11.js} +27 -24
  32. package/dist/app-DM-4iSsh.js +53428 -0
  33. package/dist/app.js +1 -1
  34. package/dist/{business-dQh3AEot.js → business-Wk7ElvEz.js} +1 -1
  35. package/dist/{campaign-BOl8AgKA.js → campaign-tHUDB7cm.js} +2 -2
  36. package/dist/{collection.fn-B_YsXmrP.js → collection.fn-DS11Xpbu.js} +2 -2
  37. package/dist/dto-B8X9qnLh.js +1169 -0
  38. package/dist/{effect-C2jCStXO.js → effect-BH3AL4S6.js} +9 -9
  39. package/dist/{export-BtZc3Yzh.js → export-DAAmj_h9.js} +3 -3
  40. package/dist/{helper-8oGsrM56.js → helper-BSKllptD.js} +1 -1
  41. package/dist/index-5FIs0G8O.js +29193 -0
  42. package/dist/{index-HoacsZDk.js → index-B0Pw9YQd.js} +46 -39
  43. package/dist/{index-C_0IFnwi.js → index-BH-mOC5-.js} +5 -5
  44. package/dist/{index-C7oeXRUl.js → index-BO94KhQO.js} +1 -1
  45. package/dist/{index-DCixRRvz.js → index-BgIWS3vT.js} +5 -5
  46. package/dist/{index-CZKYIefW.js → index-CIBWHBM-.js} +2 -2
  47. package/dist/{index-Di-kWSmf.js → index-CPxCpRFW.js} +3 -3
  48. package/dist/{index-DYDhH9bi.js → index-CoYSYku2.js} +1 -1
  49. package/dist/{index-DwKqFNF6.js → index-DOFTUTiA.js} +1 -1
  50. package/dist/{index-DFgt4-VW.js → index-DmxAa1MA.js} +1 -1
  51. package/dist/{index-UTQHDUdW.js → index-Z7d84hDW.js} +7 -2
  52. package/dist/{index-6FkKY3q0.js → index-vIwngIP9.js} +1 -1
  53. package/dist/index.esm2017-jX1Q0DsS.js +3069 -0
  54. package/dist/loading-DeWfPgai.js +29843 -0
  55. package/dist/{membership-Ccrx9R6r.js → membership-oIubaesw.js} +3 -3
  56. package/dist/money-D-3GphEZ.js +15 -0
  57. package/dist/number-D_Fi0beD.js +12 -0
  58. package/dist/{rule-DJ07h3Gh.js → rule-C37bqQrm.js} +314 -343
  59. package/dist/{rule-builder-DJ-acvVD.js → rule-builder-DPQJ8Tbv.js} +1 -1
  60. package/dist/style.css +1 -1
  61. package/dist/{template-clxvNnbF.js → template-CIStnXhd.js} +4 -4
  62. package/dist/tslib.es6-BCqqvLQ_.js +44 -0
  63. package/dist/vue-i18n-jf-SfrQy.js +2365 -0
  64. package/dist/{xlsx-BB366cdN.js → xlsx-C91dwH9k.js} +1903 -1903
  65. package/package.json +12 -12
  66. package/dist/App-Cikl5jnp.js +0 -177
  67. package/dist/Card-hIeQ5XUH.js +0 -825
  68. package/dist/Member-BEXKBFry.js +0 -69
  69. package/dist/Promotion-IiwPhx8p.js +0 -221
  70. package/dist/app-CfS25Z66.js +0 -34797
  71. package/dist/dto-B8NfyVPG.js +0 -1169
  72. package/dist/index-Dn0jdj0o.js +0 -28058
  73. package/dist/loading-D_AN6p24.js +0 -32697
  74. package/dist/money-waD-f-Zz.js +0 -15
  75. package/dist/number-CwTGGsh9.js +0 -12
  76. package/dist/vue-i18n-BxwiXSkp.js +0 -2365
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as O, ref as R, onMounted as J, computed as z, resolveComponent as y, openBlock as s, createElementBlock as x, renderSlot as K, toDisplayString as A, createCommentVNode as f, createBlock as p, unref as e, isRef as H, createVNode as b, normalizeClass as q, watch as Q, withCtx as F, resolveDynamicComponent as k, Fragment as W, createElementVNode as h, createTextVNode as X } from "vue";
2
- import { z as _ } from "./app-Bd19eW7X.js";
2
+ import { z as _ } from "./app-3-6LVz11.js";
3
3
  import { Z as d } from "./zod-W_PvIofQ.js";
4
- import { g as ee, h as te } from "./index-DYDhH9bi.js";
5
- import { s as C } from "./effect-C2jCStXO.js";
6
- import { p as le } from "./loading-D_AN6p24.js";
7
- import { s as oe } from "./app-CfS25Z66.js";
4
+ import { g as ee, h as te } from "./index-CoYSYku2.js";
5
+ import { s as C } from "./effect-BH3AL4S6.js";
6
+ import { p as le } from "./loading-DeWfPgai.js";
7
+ import { I as oe } from "./app-DM-4iSsh.js";
8
8
  const ae = { class: "flex flex-col gap-8" }, ne = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-body-lg-600"
@@ -74,7 +74,7 @@ const ae = { class: "flex flex-col gap-8" }, ne = {
74
74
  });
75
75
  }
76
76
  return (r, i) => {
77
- var T, E, I, M, $, j, N, L;
77
+ var T, I, E, M, $, j, N, L;
78
78
  const D = y("FmButtonGroup"), G = y("FmSimpleDateRangePicker"), Z = y("FmSwitch"), Y = y("FmStepperField"), B = y("FmHelperText");
79
79
  return s(), x("div", ae, [
80
80
  K(r.$slots, "label", {}, () => [
@@ -92,8 +92,8 @@ const ae = { class: "flex flex-col gap-8" }, ne = {
92
92
  e(l).value === "range" ? (s(), x("div", se, [
93
93
  b(G, {
94
94
  "model-value": {
95
- startDate: (T = t.modelValue) != null && T.validAfter ? new Date((E = t.modelValue) == null ? void 0 : E.validAfter).toISOString() : null,
96
- endDate: (I = t.modelValue) != null && I.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
95
+ startDate: (T = t.modelValue) != null && T.validAfter ? new Date((I = t.modelValue) == null ? void 0 : I.validAfter).toISOString() : null,
96
+ endDate: (E = t.modelValue) != null && E.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
97
97
  },
98
98
  "onUpdate:modelValue": i[2] || (i[2] = (m) => {
99
99
  var V;
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as D, ref as S, computed as E, onMounted as U, resolveComponent as c, openBlock as m, createElementBlock as _, Fragment as x, createVNode as i, unref as t, createElementVNode as n, withCtx as h, renderList as j, createBlock as w, resolveDynamicComponent as M, toDisplayString as p, h as H } from "vue";
2
2
  import { _ as q } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as z, components as G } from "@feedmepos/ui-library";
4
- import { u as J, p as Q } from "./loading-D_AN6p24.js";
5
- import { u as W } from "./business-dQh3AEot.js";
6
- import { u as X } from "./campaign-BOl8AgKA.js";
7
- import { g as L, b as V } from "./dto-B8NfyVPG.js";
8
- import { u as Y } from "./vue-i18n-BxwiXSkp.js";
4
+ import { u as J, p as Q } from "./loading-DeWfPgai.js";
5
+ import { u as W } from "./business-Wk7ElvEz.js";
6
+ import { u as X } from "./campaign-tHUDB7cm.js";
7
+ import { g as L, b as V } from "./dto-B8X9qnLh.js";
8
+ import { u as Y } from "./vue-i18n-jf-SfrQy.js";
9
9
  import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
10
- import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D9VR3P2d.js";
11
- import { u as te } from "./template-clxvNnbF.js";
12
- import { c as g } from "./index-UTQHDUdW.js";
10
+ import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-2MKUx_As.js";
11
+ import { u as te } from "./template-CIStnXhd.js";
12
+ import { c as g } from "./index-Z7d84hDW.js";
13
13
  const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-center justify-between w-full" }, ne = { class: "flex gap-8 overflow-x-auto" }, se = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "space-y-4" }, le = { class: "fm-typo-en-body-lg-600" }, me = { 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" }, de = { class: "flex flex-col gap-16 text-center" }, ue = { class: "fm-typo-en-title-sm-800" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = /* @__PURE__ */ D({
14
14
  __name: "Experience",
15
15
  setup(ye) {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as D, ref as A, computed as H, onMounted as N, resolveComponent as r, openBlock as d, createElementBlock as x, Fragment as b, createVNode as i, unref as o, withCtx as h, createElementVNode as n, toDisplayString as l, renderList as q, createBlock as v, resolveDynamicComponent as z, h as p } from "vue";
2
2
  import { _ as J } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as O, components as C } from "@feedmepos/ui-library";
4
- import { u as Q, a as W, p as X } from "./loading-D_AN6p24.js";
5
- import { u as Y } from "./business-dQh3AEot.js";
6
- import { u as Z } from "./campaign-BOl8AgKA.js";
7
- import { g as B, b as $ } from "./dto-B8NfyVPG.js";
4
+ import { u as Q, a as W, p as X } from "./loading-DeWfPgai.js";
5
+ import { u as Y } from "./business-Wk7ElvEz.js";
6
+ import { u as Z } from "./campaign-tHUDB7cm.js";
7
+ import { g as B, b as $ } from "./dto-B8X9qnLh.js";
8
8
  import { _ as ee } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
9
- import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D9VR3P2d.js";
10
- import { u as oe } from "./template-clxvNnbF.js";
11
- import { u as ae } from "./vue-i18n-BxwiXSkp.js";
12
- import { c as w } from "./index-UTQHDUdW.js";
9
+ import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-2MKUx_As.js";
10
+ import { u as oe } from "./template-CIStnXhd.js";
11
+ import { u as ae } from "./vue-i18n-jf-SfrQy.js";
12
+ import { c as w } from "./index-Z7d84hDW.js";
13
13
  const ne = { class: "flex items-center" }, se = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, ie = { class: "px-24 flex flex-col gap-y-16" }, re = { class: "flex items-center justify-between w-full" }, le = { class: "flex gap-8 overflow-x-auto" }, ce = { class: "space-y-8" }, me = { class: "flex w-full gap-4 items-center" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "space-y-4" }, ue = { class: "fm-typo-en-body-lg-600" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, $e = /* @__PURE__ */ D({
14
14
  __name: "Game",
15
15
  setup(we) {
@@ -1,15 +1,15 @@
1
1
  import { openBlock as m, createElementBlock as p, defineComponent as z, ref as S, onMounted as Y, computed as H, h as J, resolveComponent as c, Fragment as x, createVNode as i, unref as r, createElementVNode as s, withCtx as F, renderList as $, createBlock as B, toDisplayString as f, createCommentVNode as j } from "vue";
2
2
  import { _ as q } from "./campaign-CpzFl8Vr.js";
3
3
  import { components as G } from "@feedmepos/ui-library";
4
- import { p as X, u as Q } from "./loading-D_AN6p24.js";
4
+ import { p as X, u as Q } from "./loading-DeWfPgai.js";
5
5
  import { defineStore as W } from "pinia";
6
- import { F as C } from "./index-DFgt4-VW.js";
6
+ import { F as C } from "./index-DmxAa1MA.js";
7
7
  import { useCoreStore as Z } from "@feedmepos/mf-common";
8
- import { g as y, S as ee, b as te } from "./index-Dn0jdj0o.js";
8
+ import { g as y, S as ee, b as te } from "./index-5FIs0G8O.js";
9
9
  import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as ae } from "./campaign-BOl8AgKA.js";
10
+ import { u as ae } from "./campaign-tHUDB7cm.js";
11
11
  import { h as oe } from "./moment-BWErdI6_.js";
12
- import { u as re } from "./vue-i18n-BxwiXSkp.js";
12
+ import { u as re } from "./vue-i18n-jf-SfrQy.js";
13
13
  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", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
14
14
  const h = () => {
15
15
  const o = ee.getBusinessId();
@@ -0,0 +1,69 @@
1
+ import { defineComponent as f, computed as T, ref as d, watch as k, resolveComponent as s, openBlock as _, createElementBlock as B, Fragment as E, createVNode as b, unref as n, createElementVNode as y, createBlock as A, createCommentVNode as L } from "vue";
2
+ import "./index-DOFTUTiA.js";
3
+ import { u as M } from "./vue-i18n-jf-SfrQy.js";
4
+ import { useRouter as N } from "vue-router";
5
+ import { m as Y } from "./index-vIwngIP9.js";
6
+ import { R as i } from "./app-3-6LVz11.js";
7
+ const h = { class: "px-24 flex flex-col gap-y-16 pb-24" }, g = /* @__PURE__ */ f({
8
+ __name: "Member",
9
+ setup(w) {
10
+ const e = N(), { t: p } = M(), o = [
11
+ {
12
+ label: p("connect.loyalty.member.tabs.member_list"),
13
+ value: i["$connect-LOYALTY_MEMBER_LIST"],
14
+ actions: []
15
+ }
16
+ ], r = T(() => {
17
+ var a, c, m;
18
+ return e.currentRoute.value.name != i["$connect-LOYALTY_MEMBER_TRANSACTIONS"] ? {
19
+ title: u.value.label,
20
+ actions: u.value.actions,
21
+ description: void 0
22
+ } : (u.value = o[1], {
23
+ backButton: !0,
24
+ title: p("connect.loyalty.member.title"),
25
+ actions: [],
26
+ description: `${(a = l.value) == null ? void 0 : a.name} (${(c = l.value) == null ? void 0 : c._id}) (${(m = l.value) == null ? void 0 : m.phoneNumber})`,
27
+ onBackButton: async () => {
28
+ await e.push({ name: i["$connect-LOYALTY_MEMBER_LIST"] });
29
+ }
30
+ });
31
+ }), u = d(
32
+ o.find((t) => t.value === e.currentRoute.value.name) ?? o[0]
33
+ ), l = d();
34
+ async function v(t) {
35
+ await e.push({ name: t });
36
+ }
37
+ return k(
38
+ () => e.currentRoute.value.name,
39
+ async (t) => {
40
+ u.value = o.find((c) => c.value === t) ?? o[0];
41
+ const a = e.currentRoute.value.params.id;
42
+ a && (l.value = await Y.readById(a)), await e.push({ name: t });
43
+ }
44
+ ), (t, a) => {
45
+ const c = s("FmPageHead"), m = s("FmTabs"), R = s("RouterView");
46
+ return _(), B(E, null, [
47
+ b(c, {
48
+ actions: n(r).actions,
49
+ title: n(r).title,
50
+ description: n(r).description,
51
+ "back-button": n(r).backButton,
52
+ "onClick:back": n(r).onBackButton
53
+ }, null, 8, ["actions", "title", "description", "back-button", "onClick:back"]),
54
+ y("div", h, [
55
+ n(e).currentRoute.value.name != n(i)["$connect-LOYALTY_MEMBER_TRANSACTIONS"] ? (_(), A(m, {
56
+ key: 0,
57
+ "model-value": n(u).value,
58
+ items: o,
59
+ "onUpdate:modelValue": v
60
+ }, null, 8, ["model-value"])) : L("", !0),
61
+ b(R)
62
+ ])
63
+ ], 64);
64
+ };
65
+ }
66
+ });
67
+ export {
68
+ g as default
69
+ };