@feedmepos/mf-connect 0.0.21-prod → 0.0.24-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 (73) hide show
  1. package/dist/{Analytic-C6F4G25g.js → Analytic-CHsctJL0.js} +21 -19
  2. package/dist/App-BSiHlz5h.js +4610 -0
  3. package/dist/{Broadcast-DO2VP__g.js → Broadcast-CL9Sa0bc.js} +7 -7
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0aQTASM.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C2krWgqp.js} +8 -8
  5. package/dist/{Card-DZyOKMh6.js → Card-CqTzwiBp.js} +74 -72
  6. package/dist/{Collections-DLyCIlvd.js → Collections-9OXjYxFu.js} +16 -14
  7. package/dist/{Credit-DRdsjXky.js → Credit-BDm7vWU6.js} +7 -7
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-733A3xAJ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7qqPxFM.js} +23 -20
  9. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CvtX7ULa.js → EffectSheet.vue_vue_type_style_index_0_lang-DItx2Ubv.js} +5 -5
  10. package/dist/{Experience-D33O1vby.js → Experience-DTWow5NR.js} +7 -7
  11. package/dist/{Game-BrYvnjMK.js → Game-BkYVDXqA.js} +7 -7
  12. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Dby96cpu.js → ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js} +1 -1
  13. package/dist/JsonViewer-v8_C7l5N.js +87 -0
  14. package/dist/{MainLayout-Cex8qsGf.js → MainLayout-DpZC6o3R.js} +2 -1
  15. package/dist/{Marketing-6ATQUGoF.js → Marketing-sDN1f-Rb.js} +13 -12
  16. package/dist/{Member-CCIVIzDM.js → Member-CIzs5lmW.js} +31 -30
  17. package/dist/MemberList-CdTv3lWA.js +1734 -0
  18. package/dist/{MemberTransactions-CLE7hYWY.js → MemberTransactions-CBoHXPr7.js} +1 -1
  19. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DcKMh_2f.js → MessageInput.vue_vue_type_script_setup_true_lang-CSwRL1kp.js} +2 -2
  20. package/dist/{Mission-BHI8zTMK.js → Mission-DdHOGOjC.js} +14 -14
  21. package/dist/{Point-CHxmW_O8.js → Point-Bc4su8pQ.js} +7 -7
  22. package/dist/{Promotion-C8CqdNGj.js → Promotion-Dhl69yfs.js} +96 -70
  23. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C9C8o4ON.js → RuleGroup.vue_vue_type_script_setup_true_lang-CPHiByal.js} +16 -15
  24. package/dist/{Segment-CvNLrjIH.js → Segment-D95w0dZl.js} +19 -18
  25. package/dist/{Setting-oXiZZAub.js → Setting-C3ia_BMY.js} +11 -10
  26. package/dist/{Store-WLcxJNzp.js → Store-ziVgZZSh.js} +51 -47
  27. package/dist/{StoreRewards-CMrnEHsB.js → StoreRewards-CJBlOtGb.js} +108 -105
  28. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-bgEBVCXH.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DNIqB0jd.js} +106 -108
  29. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-B6gZzsja.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C-5z47S1.js} +6 -6
  30. package/dist/{Tier-BwXb3Pk1.js → Tier-BKBlLV7D.js} +25 -24
  31. package/dist/{Title-BOyT9mEy.js → Title-COWE-LXc.js} +15 -15
  32. package/dist/{Transaction-wwnoXk9w.js → Transaction-BKU5hTvU.js} +1 -1
  33. package/dist/{Voucher-BbpSPfL0.js → Voucher-DGLn6y-b.js} +55 -51
  34. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  35. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  36. package/dist/app-BQpZdCao.js +2974 -0
  37. package/dist/{app-Bw4vX2Xq.js → app-CKg8FD6W.js} +1 -1
  38. package/dist/app-wDQR6dpb.js +39 -0
  39. package/dist/app.js +2 -2
  40. package/dist/business-DGCDUsna.js +78 -0
  41. package/dist/{campaign-BAxYqkWK.js → campaign-DFzcetIZ.js} +7 -7
  42. package/dist/{dto-CwGNrCVP.js → dto-BOsVyHhB.js} +50 -50
  43. package/dist/{effect-OIGvEMnu.js → effect-DAgCe9mB.js} +1 -1
  44. package/dist/{export-pnyF_Nqa.js → export-BArwqiqn.js} +3 -3
  45. package/dist/{helper-1r9zsTyt.js → helper-CjcpPq85.js} +1 -1
  46. package/dist/index-BLUNODxz.js +11 -0
  47. package/dist/{index-s63kYMDU.js → index-BtSUMNhN.js} +1 -1
  48. package/dist/{index-DdgrIdtX.js → index-CBYeGg9d.js} +177 -168
  49. package/dist/{app-CzpQo8NQ.js → index-CksikPRJ.js} +9660 -13019
  50. package/dist/{index-AeZIrHi3.js → index-Cr7N263J.js} +6 -7
  51. package/dist/{index-CFW6MW-j.js → index-D61l3xYo.js} +46 -39
  52. package/dist/{index-BULhetR6.js → index-D9aWLz3L.js} +1 -1
  53. package/dist/{index-6xeKaiuc.js → index-DQNrbgQh.js} +3 -3
  54. package/dist/{index-COXwd1ca.js → index-DUmYKFqp.js} +28 -27
  55. package/dist/{index-C9XT87dh.js → index-DarpjYwN.js} +6 -5
  56. package/dist/{index-C33oGCbQ.js → index-Dl6Tmuvm.js} +5 -5
  57. package/dist/{index-Shw3boHM.js → index-E9DFEkCN.js} +7 -2
  58. package/dist/index.esm2017-CK_DN0pS.js +3069 -0
  59. package/dist/{loading-D7uTV0-9.js → loading-CrTiMhEE.js} +11355 -14216
  60. package/dist/{lodash-O836mjN1.js → lodash-B5I3zXaY.js} +1 -1
  61. package/dist/{membership-BRlmOhUi.js → membership-BTYMMItR.js} +3 -3
  62. package/dist/{money-BdNZ4vMR.js → money-DPJgDQxk.js} +1 -1
  63. package/dist/number-DRvZfW5z.js +12 -0
  64. package/dist/{rule-2GUvtk01.js → rule-DBp5EC2a.js} +314 -343
  65. package/dist/{rule-builder-B3FwMkHG.js → rule-builder-B7-hVixK.js} +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/{template-COZoDCgl.js → template-D9IbwHGS.js} +5 -5
  68. package/dist/tslib.es6-BCqqvLQ_.js +44 -0
  69. package/dist/{usePagination-CwZ7gv3m.js → usePagination-JoYaROkV.js} +1 -1
  70. package/dist/{xlsx-B2_kvHAq.js → xlsx-BUPLRzvR.js} +1 -1
  71. package/package.json +15 -15
  72. package/dist/MemberList-Cs0LD8gi.js +0 -1718
  73. package/dist/number-CNiMHNNi.js +0 -12
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, ref as p, resolveComponent as _, openBlock as l, createElementBlock as d, createVNode as f, unref as e, createBlock as r, createCommentVNode as v } from "vue";
2
- import { _ as b, a as k } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-bgEBVCXH.js";
2
+ import { _ as b, a as k } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-DNIqB0jd.js";
3
3
  import { useRouter as x } from "vue-router";
4
4
  const C = { class: "flex flex-col gap-y-32 pb-24" }, N = /* @__PURE__ */ i({
5
5
  __name: "MemberTransactions",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as M, ref as C, computed as E, onMounted as D, resolveComponent as l, openBlock as p, createElementBlock as v, createElementVNode as m, createVNode as c, unref as u, withCtx as h, createTextVNode as F, toDisplayString as T, Fragment as j, renderList as k, createBlock as U } from "vue";
2
- import { p as A } from "./loading-D7uTV0-9.js";
3
- import { r as B } from "./index-C9XT87dh.js";
2
+ import { p as A } from "./loading-CrTiMhEE.js";
3
+ import { r as B } from "./index-DarpjYwN.js";
4
4
  const L = {
5
5
  "user.name": {
6
6
  name: "User name"
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as I, computed as A, onMounted as D, resolveComponent as r, openBlock as c, createElementBlock as _, Fragment as h, createVNode as i, unref as a, createElementVNode as s, withCtx as w, renderList as E, createBlock as x, resolveDynamicComponent as H, toDisplayString as y, h as m } from "vue";
2
2
  import { _ as q } from "./campaign-CpzFl8Vr.js";
3
- import { useDialog as z, components as b } from "@feedmepos/ui-library";
4
- import { u as G, a as J, p as Q } from "./loading-D7uTV0-9.js";
5
- import { b as W } from "./app-CzpQo8NQ.js";
6
- import { u as X } from "./campaign-BAxYqkWK.js";
7
- import { g as M, b as V } from "./dto-CwGNrCVP.js";
3
+ import { useDialog as z, components as C } from "@feedmepos/ui-library";
4
+ import { u as G, a as J, p as Q } from "./loading-CrTiMhEE.js";
5
+ import { u as W } from "./business-DGCDUsna.js";
6
+ import { u as X } from "./campaign-DFzcetIZ.js";
7
+ import { g as M, b as V } from "./dto-BOsVyHhB.js";
8
8
  import { _ as Y } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
9
- import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-733A3xAJ.js";
10
- import { u as ee } from "./template-COZoDCgl.js";
9
+ import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7qqPxFM.js";
10
+ import { u as ee } from "./template-D9IbwHGS.js";
11
11
  import { s as oe } from "./index-CuvNtC_M.js";
12
- import { c as g } from "./index-Shw3boHM.js";
12
+ import { c as g } from "./index-E9DFEkCN.js";
13
13
  const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-center justify-between w-full" }, se = { class: "flex gap-8 overflow-x-auto" }, ne = { class: "space-y-8" }, ie = { class: "flex w-full gap-4 items-center" }, re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, le = { class: "space-y-4" }, ce = { class: "fm-typo-en-body-lg-600" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ue = /* @__PURE__ */ s("img", {
14
14
  src: q,
15
15
  class: "aspect-square w-[150px]"
@@ -24,7 +24,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
24
24
  value: "create",
25
25
  isPrimary: !0,
26
26
  prependIcon: "add"
27
- }, B = ee("MISSION", z()), $ = W(), l = X(), { global: K, minor: C } = G, n = I({
27
+ }, B = ee("MISSION", z()), $ = W(), l = X(), { global: K, minor: b } = G, n = I({
28
28
  searchKey: "",
29
29
  location: null
30
30
  }), d = A(
@@ -40,7 +40,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
40
40
  return m("div", { class: "flex items-center justify-between gap-4" }, [
41
41
  m("div", { class: "flex items-center" }, [
42
42
  m(
43
- b.FmTooltip,
43
+ C.FmTooltip,
44
44
  {
45
45
  content: e.row.original._id,
46
46
  onClick: (o) => {
@@ -48,7 +48,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
48
48
  }
49
49
  },
50
50
  [
51
- m(b.FmIcon, {
51
+ m(C.FmIcon, {
52
52
  name: "info",
53
53
  outline: !0,
54
54
  size: "sm"
@@ -86,7 +86,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
86
86
  {
87
87
  header: "Actions",
88
88
  cell(e) {
89
- return m(b.FmButton, {
89
+ return m(C.FmButton, {
90
90
  variant: "tertiary",
91
91
  icon: "delete",
92
92
  iconColor: "neutral-gray-400",
@@ -98,7 +98,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
98
98
  }
99
99
  ], v = I();
100
100
  async function S(e) {
101
- await Q.remove(`Are you sure you want to remove ${e.name}?`) && await C(
101
+ await Q.remove(`Are you sure you want to remove ${e.name}?`) && await b(
102
102
  async () => {
103
103
  await g.delete(e._id), await l.read("MISSION");
104
104
  },
@@ -123,7 +123,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
123
123
  }
124
124
  }
125
125
  async function N(e) {
126
- await C(
126
+ await b(
127
127
  async () => {
128
128
  e.campaign._id ? await g.update(e.campaign._id, e) : await g.create(e), await l.read("MISSION");
129
129
  },
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as D, ref as S, computed as T, onMounted as j, resolveComponent as l, openBlock as c, createElementBlock as g, Fragment as h, createVNode as i, unref as o, withCtx as f, createElementVNode as n, renderList as E, createBlock as C, resolveDynamicComponent as M, toDisplayString as y, 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-D7uTV0-9.js";
5
- import { b as W } from "./app-CzpQo8NQ.js";
6
- import { u as X } from "./campaign-BAxYqkWK.js";
7
- import { g as V, b as L } from "./dto-CwGNrCVP.js";
4
+ import { u as J, p as Q } from "./loading-CrTiMhEE.js";
5
+ import { u as W } from "./business-DGCDUsna.js";
6
+ import { u as X } from "./campaign-DFzcetIZ.js";
7
+ import { g as V, b as L } from "./dto-BOsVyHhB.js";
8
8
  import { _ as Y } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
9
- import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-733A3xAJ.js";
10
- import { u as ee } from "./template-COZoDCgl.js";
11
- import { c as _ } from "./index-Shw3boHM.js";
9
+ import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7qqPxFM.js";
10
+ import { u as ee } from "./template-D9IbwHGS.js";
11
+ import { c as _ } from "./index-E9DFEkCN.js";
12
12
  const te = { class: "flex items-center" }, oe = /* @__PURE__ */ n("span", { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, "Point", -1), ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-center justify-between w-full" }, se = { class: "flex gap-8 overflow-x-auto" }, ie = { class: "space-y-8" }, le = { class: "flex w-full gap-4 items-center" }, re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "space-y-4" }, me = { class: "fm-typo-en-body-lg-600" }, de = { 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" }, ue = /* @__PURE__ */ n("img", {
13
13
  src: q,
14
14
  class: "aspect-square w-[150px]"
@@ -1,37 +1,42 @@
1
- import { defineComponent as A, ref as k, computed as D, onMounted as j, resolveComponent as i, openBlock as c, createElementBlock as g, Fragment as y, createVNode as s, unref as l, createElementVNode as a, withCtx as _, renderList as E, createBlock as h, resolveDynamicComponent as H, toDisplayString as P, h as q } from "vue";
2
- import { _ as z } from "./campaign-CpzFl8Vr.js";
3
- import { useDialog as G, components as J } from "@feedmepos/ui-library";
4
- import { c as S, u as Q, p as W } from "./loading-D7uTV0-9.js";
5
- import { b as X } from "./app-CzpQo8NQ.js";
6
- import { u as Y } from "./campaign-BAxYqkWK.js";
7
- import { g as O } from "./dto-CwGNrCVP.js";
8
- import { e as L } from "./effect-OIGvEMnu.js";
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-733A3xAJ.js";
11
- import { u as oe } from "./template-COZoDCgl.js";
12
- import { c as f } from "./index-Shw3boHM.js";
13
- const te = { 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" }, le = { class: "flex w-full gap-4 items-center" }, ie = { class: "space-y-4" }, re = { class: "fm-typo-en-body-lg-600" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = /* @__PURE__ */ a("img", {
14
- src: z,
1
+ import { defineComponent as E, ref as P, computed as H, onMounted as q, resolveComponent as i, openBlock as c, createElementBlock as g, Fragment as _, createVNode as s, unref as l, createElementVNode as a, withCtx as h, renderList as z, createBlock as w, resolveDynamicComponent as G, toDisplayString as k, h as J } from "vue";
2
+ import { _ as Q } from "./campaign-CpzFl8Vr.js";
3
+ import { useDialog as W, components as X } from "@feedmepos/ui-library";
4
+ import { c as S, u as Y, p as O } from "./loading-CrTiMhEE.js";
5
+ import { u as Z } from "./business-DGCDUsna.js";
6
+ import { u as ee } from "./campaign-DFzcetIZ.js";
7
+ import { g as L } from "./dto-BOsVyHhB.js";
8
+ import { e as V } from "./effect-DAgCe9mB.js";
9
+ import { _ as oe } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
10
+ import { _ as te } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7qqPxFM.js";
11
+ import { u as ae } from "./template-D9IbwHGS.js";
12
+ import { c as u } from "./index-E9DFEkCN.js";
13
+ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-center justify-between w-full" }, le = { class: "flex gap-8 overflow-x-auto" }, ie = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, ce = { class: "space-y-4" }, me = { class: "fm-typo-en-body-lg-600" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ue = /* @__PURE__ */ a("img", {
14
+ src: Q,
15
15
  class: "aspect-square w-[150px]"
16
- }, null, -1), de = /* @__PURE__ */ a("div", { class: "flex flex-col gap-16 text-center" }, [
16
+ }, null, -1), pe = /* @__PURE__ */ a("div", { class: "flex flex-col gap-16 text-center" }, [
17
17
  /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800" }, "Create promotion campaign"),
18
18
  /* @__PURE__ */ a("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Special offers or deals made available for a limited time to encourage user engagement and purchases. Promotions are generally available to all eligible users without the need for a specific code and are applied by merchant during the promotional period. ")
19
- ], -1), ke = /* @__PURE__ */ A({
19
+ ], -1), Se = /* @__PURE__ */ E({
20
20
  __name: "Promotion",
21
- setup(pe) {
22
- const V = {
21
+ setup(fe) {
22
+ const I = {
23
23
  label: "Create campaign",
24
24
  value: "create",
25
25
  isPrimary: !0,
26
26
  prependIcon: "add"
27
- }, $ = oe("PROMOTION", G()), v = X(), p = Y(), { global: T, minor: w } = Q, n = k({
27
+ }, T = {
28
+ label: "Force sync",
29
+ value: "sync",
30
+ isPrimary: !1,
31
+ prependIcon: "refresh"
32
+ }, $ = ae("PROMOTION", W()), v = Z(), p = ee(), { global: R, minor: y } = Y, n = P({
28
33
  searchKey: "",
29
34
  location: null
30
- }), r = D(
35
+ }), r = H(
31
36
  () => p.campaigns.promotion.filter(
32
37
  (e) => !n.value.location || !e.targetLocation || e.targetLocation.includes(n.value.location)
33
38
  )
34
- ), I = [
39
+ ), B = [
35
40
  {
36
41
  header: "Promotion title",
37
42
  accessorFn: (e) => e.name
@@ -39,7 +44,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
39
44
  {
40
45
  header: "Status",
41
46
  cell(e) {
42
- return O(e.row.original);
47
+ return L(e.row.original);
43
48
  }
44
49
  },
45
50
  {
@@ -48,12 +53,12 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
48
53
  },
49
54
  {
50
55
  header: "Summary",
51
- accessorFn: (e) => L(e.effect)
56
+ accessorFn: (e) => V(e.effect)
52
57
  },
53
58
  {
54
59
  header: "Actions",
55
60
  cell(e) {
56
- return q(J.FmButton, {
61
+ return J(X.FmButton, {
57
62
  variant: "tertiary",
58
63
  icon: "delete",
59
64
  iconColor: "neutral-gray-400",
@@ -63,11 +68,11 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
63
68
  });
64
69
  }
65
70
  }
66
- ], b = k();
71
+ ], b = P();
67
72
  async function x(e) {
68
- await W.remove(`Are you sure you want to remove ${e.name}?`) && await w(
73
+ await O.remove(`Are you sure you want to remove ${e.name}?`) && await y(
69
74
  async () => {
70
- await f.delete(e._id), await p.read("PROMOTION");
75
+ await u.delete(e._id), await p.read("PROMOTION");
71
76
  },
72
77
  {
73
78
  message: `Removing ${e.name}`,
@@ -75,7 +80,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
75
80
  }
76
81
  );
77
82
  }
78
- async function u(e) {
83
+ async function f(e) {
79
84
  e ? await t() : $.open(async (m) => {
80
85
  await t(m);
81
86
  });
@@ -84,15 +89,15 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
84
89
  (d = b.value) == null || d.showSheet(
85
90
  !0,
86
91
  "PROMOTION",
87
- e ? await f.readById(e._id) : void 0,
92
+ e ? await u.readById(e._id) : void 0,
88
93
  m
89
94
  );
90
95
  }
91
96
  }
92
- async function R(e) {
93
- await w(
97
+ async function M(e) {
98
+ await y(
94
99
  async () => {
95
- e.campaign._id ? await f.update(e.campaign._id, e) : await f.create(e), await p.read("PROMOTION");
100
+ e.campaign._id ? await u.update(e.campaign._id, e) : await u.create(e), await p.read("PROMOTION");
96
101
  },
97
102
  {
98
103
  message: `${e.campaign._id ? "Updating" : "Creating"} promotion`,
@@ -100,32 +105,53 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
100
105
  }
101
106
  );
102
107
  }
103
- return j(async () => {
104
- await T(async () => {
108
+ async function A(e) {
109
+ switch (e) {
110
+ case "create":
111
+ f();
112
+ break;
113
+ case "sync":
114
+ await O.confirm(
115
+ "Are you sure you want to synchronize all promotions to POS?",
116
+ "Force sync"
117
+ ) && y(
118
+ async () => {
119
+ await u.syncAllPromotion();
120
+ },
121
+ {
122
+ message: "Syncing promotions...",
123
+ successMessage: "All promotions synced"
124
+ }
125
+ );
126
+ break;
127
+ }
128
+ }
129
+ return q(async () => {
130
+ await R(async () => {
105
131
  await v.readLocations(), await p.read("PROMOTION");
106
132
  });
107
133
  }), (e, t) => {
108
- const m = i("FmPageHead"), d = i("FmSearch"), B = i("FmTable"), M = i("FmChip"), C = i("FmButton"), K = i("FmListItem"), N = i("FmList"), U = i("FmCard");
109
- return c(), g(y, null, [
134
+ const m = i("FmPageHead"), d = i("FmSearch"), K = i("FmTable"), N = i("FmChip"), C = i("FmButton"), U = i("FmListItem"), D = i("FmList"), j = i("FmCard");
135
+ return c(), g(_, null, [
110
136
  s(m, {
111
137
  title: "Promotion",
112
- actions: l(r).length > 0 ? [V] : [],
113
- "onClick:action": t[0] || (t[0] = (o) => u())
138
+ actions: l(r).length > 0 ? [I, T] : [],
139
+ "onClick:action": A
114
140
  }, null, 8, ["actions"]),
115
- a("div", te, [
141
+ a("div", ne, [
116
142
  s(d, {
117
143
  modelValue: n.value.searchKey,
118
- "onUpdate:modelValue": t[1] || (t[1] = (o) => n.value.searchKey = o),
144
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => n.value.searchKey = o),
119
145
  class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
120
146
  placeholder: "search",
121
147
  collapsible: ""
122
148
  }, null, 8, ["modelValue"]),
123
- l(r) && l(r).length > 0 ? (c(), g(y, { key: 0 }, [
124
- a("div", ae, [
125
- a("div", ne, [
126
- s(Z, {
149
+ l(r) && l(r).length > 0 ? (c(), g(_, { key: 0 }, [
150
+ a("div", se, [
151
+ a("div", le, [
152
+ s(oe, {
127
153
  modelValue: n.value.location,
128
- "onUpdate:modelValue": t[2] || (t[2] = (o) => n.value.location = o),
154
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => n.value.location = o),
129
155
  label: "Location: ",
130
156
  "show-item-label": !0,
131
157
  icon: "storefront",
@@ -135,43 +161,43 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
135
161
  ]),
136
162
  s(d, {
137
163
  modelValue: n.value.searchKey,
138
- "onUpdate:modelValue": t[3] || (t[3] = (o) => n.value.searchKey = o),
164
+ "onUpdate:modelValue": t[2] || (t[2] = (o) => n.value.searchKey = o),
139
165
  class: "xs:hidden",
140
166
  placeholder: "search",
141
167
  collapsible: ""
142
168
  }, null, 8, ["modelValue"])
143
169
  ]),
144
- s(B, {
170
+ s(K, {
145
171
  class: "xs:hidden",
146
172
  "row-data": l(r),
147
- "column-defs": I,
173
+ "column-defs": B,
148
174
  "search-value": n.value.searchKey,
149
175
  "column-filter": [],
150
- onRowClick: t[4] || (t[4] = (o) => u(o.original)),
176
+ onRowClick: t[3] || (t[3] = (o) => f(o.original)),
151
177
  "hide-footer": l(r).length < 10
152
178
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
153
- s(N, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
154
- default: _(() => [
155
- (c(!0), g(y, null, E(l(r).filter(
179
+ s(D, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
180
+ default: h(() => [
181
+ (c(!0), g(_, null, z(l(r).filter(
156
182
  (o) => o.name.toLowerCase().includes(n.value.searchKey.toLowerCase())
157
- ), (o) => (c(), h(K, {
183
+ ), (o) => (c(), w(U, {
158
184
  key: o._id.toString(),
159
- onClick: (F) => u(o),
185
+ onClick: (F) => f(o),
160
186
  class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
161
187
  }, {
162
- default: _(() => [
163
- a("div", se, [
164
- a("div", le, [
165
- (c(), h(H(l(O)(o)))),
166
- s(M, {
188
+ default: h(() => [
189
+ a("div", ie, [
190
+ a("div", re, [
191
+ (c(), w(G(l(L)(o)))),
192
+ s(N, {
167
193
  class: "!text-fm-color-typo-info !bg-fm-color-system-info-100",
168
194
  compact: !0,
169
195
  label: `${l(S).title(o.effect.options.target)} promotion`
170
196
  }, null, 8, ["label"])
171
197
  ]),
172
- a("div", ie, [
173
- a("div", re, P(o.name), 1),
174
- a("div", ce, P(l(L)(o.effect)), 1)
198
+ a("div", ce, [
199
+ a("div", me, k(o.name), 1),
200
+ a("div", de, k(l(V)(o.effect)), 1)
175
201
  ])
176
202
  ]),
177
203
  s(C, {
@@ -186,33 +212,33 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
186
212
  ]),
187
213
  _: 1
188
214
  })
189
- ], 64)) : (c(), h(U, {
215
+ ], 64)) : (c(), w(j, {
190
216
  key: 1,
191
217
  variant: "outlined",
192
218
  class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
193
219
  }, {
194
- default: _(() => [
195
- me,
196
- de,
220
+ default: h(() => [
221
+ ue,
222
+ pe,
197
223
  s(C, {
198
224
  variant: "primary",
199
225
  label: "Create promotion campaign",
200
226
  icon: "add",
201
- onClick: t[5] || (t[5] = (o) => u())
227
+ onClick: t[4] || (t[4] = (o) => f())
202
228
  })
203
229
  ]),
204
230
  _: 1
205
231
  }))
206
232
  ]),
207
- s(ee, {
233
+ s(te, {
208
234
  ref_key: "sheetRef",
209
235
  ref: b,
210
- "onSubmit:modelValue": R
236
+ "onSubmit:modelValue": M
211
237
  }, null, 512)
212
238
  ], 64);
213
239
  };
214
240
  }
215
241
  });
216
242
  export {
217
- ke as default
243
+ Se as default
218
244
  };
@@ -1,21 +1,22 @@
1
1
  import { defineComponent as $, computed as I, resolveComponent as g, openBlock as n, createElementBlock as F, createElementVNode as C, createVNode as y, unref as e, createTextVNode as ee, toDisplayString as j, withCtx as M, onMounted as K, createBlock as x, createCommentVNode as A, ref as P, Fragment as Y, renderList as N, normalizeClass as L, watch as ie, resolveDynamicComponent as ae, onBeforeMount as ue, isRef as me, createSlots as de } from "vue";
2
- import { c as pe, C as ce, d as ye, e as ve, f as fe } from "./index-DdgrIdtX.js";
3
- import { R as _, a as be } from "./rule-builder-B3FwMkHG.js";
4
- import { a as ge, R, S as ke, C as H, W as Ve, T as ne, O as Ee } from "./rule-2GUvtk01.js";
5
- import { p as Fe } from "./loading-D7uTV0-9.js";
2
+ import { c as pe, C as ce, d as ye, e as ve, f as fe } from "./index-CBYeGg9d.js";
3
+ import { R as _, a as be } from "./rule-builder-B7-hVixK.js";
4
+ import { a as ge, R, S as ke, C as H, W as Ve, T as ne, O as Ee } from "./rule-DBp5EC2a.js";
5
+ import { p as Fe } from "./loading-CrTiMhEE.js";
6
6
  import { useDialog as te, useDialogChild as se } from "@feedmepos/ui-library";
7
7
  import { h as J } from "./moment-BWErdI6_.js";
8
- import { z as Se, b as re } from "./app-CzpQo8NQ.js";
9
- import { u as z } from "./membership-BRlmOhUi.js";
10
- import { _ as D } from "./index-C33oGCbQ.js";
8
+ import { z as Se } from "./app-BQpZdCao.js";
9
+ import { u as z } from "./membership-BTYMMItR.js";
10
+ import { u as re } from "./business-DGCDUsna.js";
11
+ import { _ as D } from "./index-Dl6Tmuvm.js";
11
12
  import { c as le } from "./object-qECH92oz.js";
12
13
  import { Z } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
13
- import { x as xe } from "./app-Bw4vX2Xq.js";
14
- import "./index-AeZIrHi3.js";
15
- import "./index-C9XT87dh.js";
16
- import "./index-COXwd1ca.js";
17
- import "./index-CFW6MW-j.js";
18
- import "./index-s63kYMDU.js";
14
+ import { x as xe } from "./app-CKg8FD6W.js";
15
+ import "./index-Cr7N263J.js";
16
+ import "./index-DarpjYwN.js";
17
+ import "./index-DUmYKFqp.js";
18
+ import "./index-D61l3xYo.js";
19
+ import "./index-BtSUMNhN.js";
19
20
  const he = { class: "flex items-center justify-between" }, Te = { class: "flex items-center gap-8 xs:flex-wrap" }, Ce = /* @__PURE__ */ C("div", { class: "h-[26px] border-l-2 rounded-md border-fm-color-neutral-gray-100" }, null, -1), Ue = { class: "text-fm-color-primary line-clamp-1 text-ellipsis" }, Re = /* @__PURE__ */ $({
20
21
  __name: "RuleEntry",
21
22
  props: {
@@ -1671,7 +1672,7 @@ const Oe = [
1671
1672
  });
1672
1673
  };
1673
1674
  }
1674
- }), Ut = /* @__PURE__ */ C("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " When ", -1), Gt = /* @__PURE__ */ $({
1675
+ }), Ut = /* @__PURE__ */ C("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " When ", -1), Kt = /* @__PURE__ */ $({
1675
1676
  __name: "RuleGroup",
1676
1677
  props: {
1677
1678
  triggerType: {
@@ -1744,7 +1745,7 @@ const Oe = [
1744
1745
  }
1745
1746
  });
1746
1747
  export {
1747
- Gt as _,
1748
+ Kt as _,
1748
1749
  X as a,
1749
1750
  rt as b
1750
1751
  };
@@ -1,18 +1,19 @@
1
1
  import { defineComponent as A, onMounted as E, openBlock as p, createElementBlock as b, createElementVNode as a, toDisplayString as M, unref as e, createVNode as n, createCommentVNode as q, ref as w, computed as j, resolveComponent as u, createBlock as B, isRef as G, createSlots as J, withCtx as g, Fragment as V, reactive as W, watch as Q, onBeforeMount as X, renderList as ee, h as I } from "vue";
2
2
  import { _ as te } from "./campaign-CpzFl8Vr.js";
3
- import { F as N, p as oe, u as ae } from "./loading-D7uTV0-9.js";
3
+ import { F as N, p as oe, u as ae } from "./loading-CrTiMhEE.js";
4
4
  import { components as L } from "@feedmepos/ui-library";
5
- import { l as se } from "./lodash-O836mjN1.js";
5
+ import { l as se } from "./lodash-B5I3zXaY.js";
6
6
  import { _ as ne, Z as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
7
- import { a as ie } from "./index-COXwd1ca.js";
8
- import { u as re, b as me } from "./app-CzpQo8NQ.js";
9
- import { R as ce } from "./rule-builder-B3FwMkHG.js";
10
- import { _ as de } from "./RuleGroup.vue_vue_type_script_setup_true_lang-C9C8o4ON.js";
7
+ import { a as ie } from "./index-DUmYKFqp.js";
8
+ import { u as re } from "./app-wDQR6dpb.js";
9
+ import { R as me } from "./rule-builder-B7-hVixK.js";
10
+ import { _ as ce } from "./RuleGroup.vue_vue_type_script_setup_true_lang-CPHiByal.js";
11
11
  import { h as P } from "./moment-BWErdI6_.js";
12
- import { u as ue, _ as pe } from "./usePagination-CwZ7gv3m.js";
13
- import { s as k } from "./membership-BRlmOhUi.js";
14
- import { o as fe } from "./objectId-dwaoBfJX.js";
15
- import { m as ge } from "./index-6xeKaiuc.js";
12
+ import { u as de, _ as ue } from "./usePagination-JoYaROkV.js";
13
+ import { s as k } from "./membership-BTYMMItR.js";
14
+ import { o as pe } from "./objectId-dwaoBfJX.js";
15
+ import { u as fe } from "./business-DGCDUsna.js";
16
+ import { m as ge } from "./index-DQNrbgQh.js";
16
17
  const _e = ie.extend({
17
18
  _id: N.optional(),
18
19
  business: N.optional()
@@ -36,7 +37,7 @@ const _e = ie.extend({
36
37
  },
37
38
  {
38
39
  header: "Customer Since",
39
- accessorFn: (s) => P(fe(s._id.toString())).format("DD MMM YYYY")
40
+ accessorFn: (s) => P(pe(s._id.toString())).format("DD MMM YYYY")
40
41
  },
41
42
  {
42
43
  header: "Birthday",
@@ -52,7 +53,7 @@ const _e = ie.extend({
52
53
  sortBy: "_id",
53
54
  search: s.searchValue,
54
55
  descending: !0
55
- }) : { resources: [], meta: { totalResources: 0, totalPages: 0 } }, { tableMeta: r, rowData: c, onSort: m, debouncedFetchData: d, onSearch: l } = ue(v);
56
+ }) : { resources: [], meta: { totalResources: 0, totalPages: 0 } }, { tableMeta: r, rowData: c, onSort: m, debouncedFetchData: d, onSearch: l } = de(v);
56
57
  return E(async () => {
57
58
  await d();
58
59
  }), (s, F) => (p(), b("div", ve, [
@@ -64,7 +65,7 @@ const _e = ie.extend({
64
65
  a("div", null, "as of " + M(e(P)(s.segment.lastUpdated).format("DD MMM YYYY")), 1)
65
66
  ])
66
67
  ]),
67
- n(pe, {
68
+ n(ue, {
68
69
  loading: e(r).isLoading,
69
70
  "row-data": e(c),
70
71
  "row-count": e(r).totalRows,
@@ -87,7 +88,7 @@ const _e = ie.extend({
87
88
  setup(D, { expose: _, emit: x }) {
88
89
  const v = re(), r = w(!1), c = w(!1), m = {
89
90
  name: "",
90
- rule: ce.scaffoldGroup(),
91
+ rule: me.scaffoldGroup(),
91
92
  members: []
92
93
  }, d = _e, l = w(m), s = j(() => {
93
94
  const t = d.safeParse(l.value);
@@ -167,7 +168,7 @@ const _e = ie.extend({
167
168
  schema: e(le).typeAtPath(e(d), "name")
168
169
  }, null, 8, ["modelValue", "schema"]),
169
170
  Ve,
170
- n(de, {
171
+ n(ce, {
171
172
  "trigger-type": "MEMBERSHIP_JOINED",
172
173
  includeOnly: "user",
173
174
  "model-value": (y = e(l)) == null ? void 0 : y.rule,
@@ -203,10 +204,10 @@ const _e = ie.extend({
203
204
  }, null, -1), Ee = /* @__PURE__ */ a("div", { class: "flex flex-col gap-16 text-center" }, [
204
205
  /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800" }, "Create customer segments"),
205
206
  /* @__PURE__ */ a("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Segments allow you to categorize your customers based on various criteria, enabling targeted marketing and personalized experiences. ")
206
- ], -1), at = /* @__PURE__ */ A({
207
+ ], -1), st = /* @__PURE__ */ A({
207
208
  __name: "Segment",
208
209
  setup(D) {
209
- const { minor: _ } = ae, x = me(), v = w(0), r = [
210
+ const { minor: _ } = ae, x = fe(), v = w(0), r = [
210
211
  {
211
212
  header: "Name",
212
213
  accessorFn: (o) => o.name
@@ -440,5 +441,5 @@ const _e = ie.extend({
440
441
  }
441
442
  });
442
443
  export {
443
- at as default
444
+ st as default
444
445
  };
@@ -1,14 +1,15 @@
1
1
  import { defineComponent as Re, ref as z, computed as ie, onMounted as De, resolveComponent as L, openBlock as V, createBlock as we, withCtx as G, createElementVNode as b, createVNode as M, unref as h, isRef as ke, createElementBlock as q, Fragment as fe, createTextVNode as Q, toDisplayString as k, renderList as Ie, createCommentVNode as Pe } from "vue";
2
2
  import { h as rt } from "./moment-BWErdI6_.js";
3
3
  import { useDialog as Ve } from "@feedmepos/ui-library";
4
- import { a as xe, u as it, p as st, f as K } from "./loading-D7uTV0-9.js";
5
- import { b as be, l as $e, u as at } from "./app-CzpQo8NQ.js";
6
- import { u as ze } from "./membership-BRlmOhUi.js";
7
- import { l as lt } from "./index-C9XT87dh.js";
8
- import { _ as Ne } from "./ImageInput.vue_vue_type_script_setup_true_lang-Dby96cpu.js";
9
- import { _ as ct } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-B6gZzsja.js";
10
- import { _ as ut } from "./MessageInput.vue_vue_type_script_setup_true_lang-DcKMh_2f.js";
11
- import { m as dt } from "./index-BULhetR6.js";
4
+ import { a as xe, u as it, p as st, f as K } from "./loading-CrTiMhEE.js";
5
+ import { u as at } from "./app-wDQR6dpb.js";
6
+ import { u as be, l as $e } from "./business-DGCDUsna.js";
7
+ import { u as ze } from "./membership-BTYMMItR.js";
8
+ import { l as lt } from "./index-DarpjYwN.js";
9
+ import { _ as Ne } from "./ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js";
10
+ import { _ as ct } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-C-5z47S1.js";
11
+ import { _ as ut } from "./MessageInput.vue_vue_type_script_setup_true_lang-CSwRL1kp.js";
12
+ import { m as dt } from "./index-D9aWLz3L.js";
12
13
  import { o as ft } from "./objectId-dwaoBfJX.js";
13
14
  import { a as gt } from "./object-qECH92oz.js";
14
15
  var Z = {}, mt = function() {
@@ -1568,7 +1569,7 @@ const fn = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1568
1569
  }, hn = { class: "col-span-2 flex flex-col xs:col-span-3" }, pn = /* @__PURE__ */ b("div", { class: "fm-typo-en-title-sm-800" }, "Basic Information", -1), yn = { class: "space-y-24" }, wn = { class: "space-y-8" }, bn = /* @__PURE__ */ b("div", { class: "fm-typo-en-title-sm-800" }, "Counter App", -1), vn = { class: "fm-typo-body-lg-400" }, Cn = { class: "fm-typo-body-md-400 text-fm-color-typo-secondary" }, _n = { class: "fm-typo-body-md-400 text-fm-color-typo-secondary" }, En = { class: "space-y-8" }, Bn = { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, An = { class: "space-y-8" }, Mn = /* @__PURE__ */ b("div", { class: "fm-typo-en-title-sm-800" }, "SMS", -1), Sn = { class: "space-y-8" }, Tn = /* @__PURE__ */ b("div", { class: "fm-typo-en-title-sm-800" }, [
1569
1570
  /* @__PURE__ */ Q(" Free Credit as Discount "),
1570
1571
  /* @__PURE__ */ b("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-error" }, "*POS v6.56 or above")
1571
- ], -1), In = { class: "space-y-8" }, Pn = { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, Nn = { class: "space-y-8" }, Un = /* @__PURE__ */ b("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1), Ln = { class: "flex justify-end pb-24" }, Fn = { class: "col-span-1 space-y-8 xs:hidden" }, Rn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1), Dn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1), kn = { class: "fm-typo-en-body-lg-600" }, Vn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1), xn = { class: "fm-typo-en-body-lg-600" }, $n = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1), zn = { class: "fm-typo-en-body-lg-600" }, Hn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1), Kn = { class: "fm-typo-en-body-lg-600" }, oo = /* @__PURE__ */ Re({
1572
+ ], -1), In = { class: "space-y-8" }, Pn = { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, Nn = { class: "space-y-8" }, Un = /* @__PURE__ */ b("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1), Ln = { class: "flex justify-end pb-24" }, Fn = { class: "col-span-1 space-y-8 xs:hidden" }, Rn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1), Dn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1), kn = { class: "fm-typo-en-body-lg-600" }, Vn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1), xn = { class: "fm-typo-en-body-lg-600" }, $n = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1), zn = { class: "fm-typo-en-body-lg-600" }, Hn = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1), Kn = { class: "fm-typo-en-body-lg-600" }, ro = /* @__PURE__ */ Re({
1572
1573
  __name: "Setting",
1573
1574
  setup(t) {
1574
1575
  const e = at(), i = be(), r = ze(), { global: o, minor: n } = it, a = Ve(), s = z(), l = z(!1), f = [
@@ -1865,5 +1866,5 @@ const fn = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1865
1866
  }
1866
1867
  });
1867
1868
  export {
1868
- oo as default
1869
+ ro as default
1869
1870
  };