@feedmepos/mf-connect 0.0.5-beta.20 → 0.0.5-beta.21

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 (67) hide show
  1. package/dist/{Analytic-DUWe-WYz.js → Analytic-CVpCpEBl.js} +12 -13
  2. package/dist/{Broadcast-CAmI-dS9.js → Broadcast-C0SHdFpT.js} +11 -12
  3. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CQbePPyW.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B94-nKP4.js} +8 -8
  4. package/dist/Card-C5yXOEhK.js +827 -0
  5. package/dist/Collections-Ka_q_V3S.js +424 -0
  6. package/dist/{Credit-CxyIk-mH.js → Credit-CmTa3hjm.js} +11 -12
  7. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-AGQwe70B.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNSfNMA_.js} +23 -24
  8. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-y263YYGy.js → EffectSheet.vue_vue_type_style_index_0_lang-BLfzJ46z.js} +5 -5
  9. package/dist/{Experience-DH6nbWal.js → Experience-yd4ZPBXy.js} +11 -12
  10. package/dist/{Game-BGMGl6Uw.js → Game-DYTplwOh.js} +22 -23
  11. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-rs3BEnpo.js → ImageInput.vue_vue_type_script_setup_true_lang-BuuYdlE4.js} +1 -1
  12. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BIwBZ7FH.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BfWuKa1w.js} +1 -1
  13. package/dist/{MainLayout-CjvNB4RK.js → MainLayout-8tc3ZtLI.js} +2 -2
  14. package/dist/{Marketing-BLbR9_KN.js → Marketing-D5Le-SWn.js} +19 -20
  15. package/dist/{Member-BqPHWUos.js → Member-CzY5Um_y.js} +2 -2
  16. package/dist/{MemberList-DoBv4aBY.js → MemberList-DpFa2ttF.js} +20 -21
  17. package/dist/{MemberTransactions-Cri3UCrX.js → MemberTransactions-CDKkRdfp.js} +4 -4
  18. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang--qiv_ZUS.js → MessageInput.vue_vue_type_script_setup_true_lang-BD27S5wB.js} +4 -4
  19. package/dist/{Mission-BXRMH__V.js → Mission-9BmMMzyr.js} +25 -26
  20. package/dist/{Point-MS30HaX7.js → Point-IiWgZIyI.js} +11 -12
  21. package/dist/{Promotion-BuOELg3x.js → Promotion-BmEQ28sH.js} +42 -44
  22. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CAnO-3XN.js → RuleGroup.vue_vue_type_script_setup_true_lang-BhOoz0HL.js} +12 -12
  23. package/dist/{Segment-C9s9hDBX.js → Segment-D1ID4Rmt.js} +39 -40
  24. package/dist/{Setting-CHk3QEsN.js → Setting-B3WeabHJ.js} +17 -18
  25. package/dist/{Store-CQWAs4Ew.js → Store-CKFLaYKH.js} +18 -19
  26. package/dist/{StoreRewards-DJkh42Es.js → StoreRewards-DIQL173Q.js} +27 -28
  27. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B2kjcViv.js +794 -0
  28. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CEBqSaBp.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C1QmPELI.js} +1 -1
  29. package/dist/{Tier-3zGwCsja.js → Tier-BvE47ciZ.js} +43 -43
  30. package/dist/{Title-TotAXw2n.js → Title-DfcczCHg.js} +42 -42
  31. package/dist/Transaction-CF0f3QCU.js +36 -0
  32. package/dist/Voucher-CCOZjT6k.js +481 -0
  33. package/dist/{app--rCS8dWb.js → app-B4oDOeXm.js} +1456 -1456
  34. package/dist/app.js +1 -1
  35. package/dist/{campaign-BPWXzTLO.js → campaign-BWwTQs_d.js} +2 -2
  36. package/dist/{collection.fn-NFB67-6j.js → collection.fn-C5XN0PPR.js} +2 -2
  37. package/dist/{dto-ChVvY7GG.js → dto-Ktuw3JiD.js} +138 -139
  38. package/dist/{effect-CbwZuhWY.js → effect-BM2dJl1a.js} +1 -1
  39. package/dist/export-LApNX--r.js +97 -0
  40. package/dist/{helper-D16-sxkv.js → helper-BUC1dAUX.js} +1 -1
  41. package/dist/{index-EmqFPQGb.js → index-B6GvsaDA.js} +1 -1
  42. package/dist/{index-DlqRXSLU.js → index-BZMMIcyM.js} +1 -1
  43. package/dist/{index-Blbjd5Y9.js → index-Bc-r4pik.js} +5 -5
  44. package/dist/{index-CGTaSvN6.js → index-Bt_xFt9g.js} +1 -1
  45. package/dist/{index-D-bPAs1d.js → index-C7qI5flU.js} +2 -2
  46. package/dist/{index-Dh6x04Wk.js → index-C86T8VON.js} +2 -2
  47. package/dist/{index-C7SZ9gvu.js → index-CvZ_MhCE.js} +7 -7
  48. package/dist/{index-vsgk07Y2.js → index-CzVShOLS.js} +1 -1
  49. package/dist/{index-BGAWJ6-h.js → index-DSUUVWFu.js} +3 -3
  50. package/dist/{index--VC0kdJZ.js → index-DVJQt0_Q.js} +2 -2
  51. package/dist/{plugins-Ccv9TIl4.js → loading-CM3ZyteE.js} +8204 -8108
  52. package/dist/{lodash-7Fz14kKI.js → lodash-DYMRs712.js} +1 -1
  53. package/dist/{membership-ByQds6Nb.js → membership-D0Z9EBWi.js} +3 -3
  54. package/dist/{money-DsiT1-aV.js → money-Cyt6uuok.js} +1 -1
  55. package/dist/{number-D4SI_vwy.js → number-CSBV_14_.js} +1 -1
  56. package/dist/{rule-NzJI8lrC.js → rule-C4ovkUox.js} +2 -2
  57. package/dist/{rule-builder-CNz0WgMq.js → rule-builder-DxDhft7B.js} +1 -1
  58. package/dist/{template-9wDwTGR-.js → template-Dd9xYS-m.js} +6 -6
  59. package/dist/{usePagination-CsZrmXsU.js → usePagination-cObe7G1g.js} +1 -1
  60. package/dist/{xlsx-CUa5ix7U.js → xlsx--baqnGDY.js} +1 -1
  61. package/package.json +1 -1
  62. package/dist/Card-DhgETjhz.js +0 -914
  63. package/dist/Collections-9fPXIR34.js +0 -424
  64. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-1GgzlIRZ.js +0 -693
  65. package/dist/Transaction-gV9vaJCR.js +0 -34
  66. package/dist/Voucher-BJ-pXo7Y.js +0 -449
  67. package/dist/loading-B5tUSWjN.js +0 -100
@@ -1,22 +1,21 @@
1
1
  import { defineComponent as A, ref as k, computed as D, onMounted as T, resolveComponent as i, openBlock as c, createElementBlock as g, Fragment as _, createVNode as r, unref as a, createElementVNode as n, withCtx as h, renderList as j, createBlock as C, resolveDynamicComponent as E, toDisplayString as f, h as M } from "vue";
2
2
  import { _ as H } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as q, components as z } from "@feedmepos/ui-library";
4
- import { p as G } from "./plugins-Ccv9TIl4.js";
5
- import { u as J } from "./loading-B5tUSWjN.js";
6
- import { a as Q } from "./app--rCS8dWb.js";
7
- import { u as W } from "./campaign-BPWXzTLO.js";
8
- import { g as S, b as V } from "./dto-ChVvY7GG.js";
4
+ import { u as G, p as J } from "./loading-CM3ZyteE.js";
5
+ import { a as Q } from "./app-B4oDOeXm.js";
6
+ import { u as W } from "./campaign-BWwTQs_d.js";
7
+ import { g as S, b as V } from "./dto-Ktuw3JiD.js";
9
8
  import { _ as X } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
10
- import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-AGQwe70B.js";
11
- import { u as Z } from "./template-9wDwTGR-.js";
12
- import { c as y } from "./index-DlqRXSLU.js";
9
+ import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNSfNMA_.js";
10
+ import { u as Z } from "./template-Dd9xYS-m.js";
11
+ import { c as y } from "./index-BZMMIcyM.js";
13
12
  const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, oe = { class: "flex gap-8 overflow-x-auto" }, ae = { class: "space-y-8" }, ne = { class: "flex w-full gap-4 items-center" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, re = { class: "space-y-4" }, ie = { class: "fm-typo-en-body-lg-600" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = /* @__PURE__ */ n("img", {
14
13
  src: H,
15
14
  class: "aspect-square w-[150px]"
16
15
  }, null, -1), de = /* @__PURE__ */ n("div", { class: "flex flex-col gap-16 text-center" }, [
17
16
  /* @__PURE__ */ n("div", { class: "fm-typo-en-title-sm-800" }, "Create your point program"),
18
17
  /* @__PURE__ */ n("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Points are virtual point that customers can earn and use to purchase bundle items. ")
19
- ], -1), ke = /* @__PURE__ */ A({
18
+ ], -1), Fe = /* @__PURE__ */ A({
20
19
  __name: "Point",
21
20
  setup(pe) {
22
21
  const L = {
@@ -24,7 +23,7 @@ const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
24
23
  value: "create",
25
24
  isPrimary: !0,
26
25
  prependIcon: "add"
27
- }, P = Z("COIN", q()), I = Q(), l = W(), { global: B, minor: w } = J, s = k({
26
+ }, P = Z("COIN", q()), I = Q(), l = W(), { global: B, minor: w } = G, s = k({
28
27
  searchKey: "",
29
28
  location: null
30
29
  }), p = D(
@@ -62,7 +61,7 @@ const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
62
61
  }
63
62
  ], x = k();
64
63
  async function v(e) {
65
- await G.remove(`Are you sure you want to remove ${e.name}?`) && await w(
64
+ await J.remove(`Are you sure you want to remove ${e.name}?`) && await w(
66
65
  async () => {
67
66
  await y.delete(e._id), await l.read("COIN");
68
67
  },
@@ -208,5 +207,5 @@ const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
208
207
  }
209
208
  });
210
209
  export {
211
- ke as default
210
+ Fe as default
212
211
  };
@@ -1,38 +1,37 @@
1
- import { defineComponent as A, ref as P, computed as D, onMounted as j, resolveComponent as i, openBlock as c, createElementBlock as y, Fragment as g, createVNode as s, unref as l, createElementVNode as a, withCtx as _, renderList as E, createBlock as h, resolveDynamicComponent as H, toDisplayString as v, h as q } from "vue";
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
2
  import { _ as z } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as G, components as J } from "@feedmepos/ui-library";
4
- import { p as Q } from "./plugins-Ccv9TIl4.js";
5
- import { c as S, u as W } from "./loading-B5tUSWjN.js";
6
- import { a as X } from "./app--rCS8dWb.js";
7
- import { u as Y } from "./campaign-BPWXzTLO.js";
8
- import { g as O } from "./dto-ChVvY7GG.js";
9
- import { e as L } from "./effect-CbwZuhWY.js";
4
+ import { c as S, u as Q, p as W } from "./loading-CM3ZyteE.js";
5
+ import { a as X } from "./app-B4oDOeXm.js";
6
+ import { u as Y } from "./campaign-BWwTQs_d.js";
7
+ import { g as O } from "./dto-Ktuw3JiD.js";
8
+ import { e as L } from "./effect-BM2dJl1a.js";
10
9
  import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
11
- import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-AGQwe70B.js";
12
- import { u as oe } from "./template-9wDwTGR-.js";
13
- import { c as f } from "./index-DlqRXSLU.js";
14
- 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: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, re = { 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 = /* @__PURE__ */ a("img", {
10
+ import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNSfNMA_.js";
11
+ import { u as oe } from "./template-Dd9xYS-m.js";
12
+ import { c as f } from "./index-BZMMIcyM.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", {
15
14
  src: z,
16
15
  class: "aspect-square w-[150px]"
17
- }, null, -1), pe = /* @__PURE__ */ a("div", { class: "flex flex-col gap-16 text-center" }, [
16
+ }, null, -1), de = /* @__PURE__ */ a("div", { class: "flex flex-col gap-16 text-center" }, [
18
17
  /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800" }, "Create promotion campaign"),
19
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. ")
20
- ], -1), Se = /* @__PURE__ */ A({
19
+ ], -1), ke = /* @__PURE__ */ A({
21
20
  __name: "Promotion",
22
- setup(ue) {
21
+ setup(pe) {
23
22
  const V = {
24
23
  label: "Create campaign",
25
24
  value: "create",
26
25
  isPrimary: !0,
27
26
  prependIcon: "add"
28
- }, $ = oe("PROMOTION", G()), w = X(), p = Y(), { global: R, minor: b } = W, n = P({
27
+ }, $ = oe("PROMOTION", G()), v = X(), p = Y(), { global: T, minor: w } = Q, n = k({
29
28
  searchKey: "",
30
29
  location: null
31
30
  }), r = D(
32
31
  () => p.campaigns.promotion.filter(
33
32
  (e) => !n.value.location || !e.targetLocation || e.targetLocation.includes(n.value.location)
34
33
  )
35
- ), T = [
34
+ ), I = [
36
35
  {
37
36
  header: "Promotion title",
38
37
  accessorFn: (e) => e.name
@@ -59,14 +58,14 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
59
58
  icon: "delete",
60
59
  iconColor: "neutral-gray-400",
61
60
  onClick: (t) => {
62
- t.stopPropagation(), C(e.row.original);
61
+ t.stopPropagation(), x(e.row.original);
63
62
  }
64
63
  });
65
64
  }
66
65
  }
67
- ], x = P();
68
- async function C(e) {
69
- await Q.remove(`Are you sure you want to remove ${e.name}?`) && await b(
66
+ ], b = k();
67
+ async function x(e) {
68
+ await W.remove(`Are you sure you want to remove ${e.name}?`) && await w(
70
69
  async () => {
71
70
  await f.delete(e._id), await p.read("PROMOTION");
72
71
  },
@@ -82,7 +81,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
82
81
  });
83
82
  async function t(m) {
84
83
  var d;
85
- (d = x.value) == null || d.showSheet(
84
+ (d = b.value) == null || d.showSheet(
86
85
  !0,
87
86
  "PROMOTION",
88
87
  e ? await f.readById(e._id) : void 0,
@@ -90,8 +89,8 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
90
89
  );
91
90
  }
92
91
  }
93
- async function I(e) {
94
- await b(
92
+ async function R(e) {
93
+ await w(
95
94
  async () => {
96
95
  e.campaign._id ? await f.update(e.campaign._id, e) : await f.create(e), await p.read("PROMOTION");
97
96
  },
@@ -102,12 +101,12 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
102
101
  );
103
102
  }
104
103
  return j(async () => {
105
- await R(async () => {
106
- await w.readLocations(), await p.read("PROMOTION");
104
+ await T(async () => {
105
+ await v.readLocations(), await p.read("PROMOTION");
107
106
  });
108
107
  }), (e, t) => {
109
- const m = i("FmPageHead"), d = i("FmSearch"), B = i("FmTable"), M = i("FmChip"), F = i("FmButton"), K = i("FmListItem"), N = i("FmList"), U = i("FmCard");
110
- return c(), y(g, null, [
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, [
111
110
  s(m, {
112
111
  title: "Promotion",
113
112
  actions: l(r).length > 0 ? [V] : [],
@@ -121,7 +120,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
121
120
  placeholder: "search",
122
121
  collapsible: ""
123
122
  }, null, 8, ["modelValue"]),
124
- l(r) && l(r).length > 0 ? (c(), y(g, { key: 0 }, [
123
+ l(r) && l(r).length > 0 ? (c(), g(y, { key: 0 }, [
125
124
  a("div", ae, [
126
125
  a("div", ne, [
127
126
  s(Z, {
@@ -131,7 +130,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
131
130
  "show-item-label": !0,
132
131
  icon: "storefront",
133
132
  placement: "bottom-start",
134
- items: l(w).locationItems
133
+ items: l(v).locationItems
135
134
  }, null, 8, ["modelValue", "items"])
136
135
  ]),
137
136
  s(d, {
@@ -145,7 +144,7 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
145
144
  s(B, {
146
145
  class: "xs:hidden",
147
146
  "row-data": l(r),
148
- "column-defs": T,
147
+ "column-defs": I,
149
148
  "search-value": n.value.searchKey,
150
149
  "column-filter": [],
151
150
  onRowClick: t[4] || (t[4] = (o) => u(o.original)),
@@ -153,11 +152,11 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
153
152
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
154
153
  s(N, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
155
154
  default: _(() => [
156
- (c(!0), y(g, null, E(l(r).filter(
155
+ (c(!0), g(y, null, E(l(r).filter(
157
156
  (o) => o.name.toLowerCase().includes(n.value.searchKey.toLowerCase())
158
157
  ), (o) => (c(), h(K, {
159
158
  key: o._id.toString(),
160
- onClick: (k) => u(o),
159
+ onClick: (F) => u(o),
161
160
  class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
162
161
  }, {
163
162
  default: _(() => [
@@ -168,19 +167,18 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
168
167
  class: "!text-fm-color-typo-info !bg-fm-color-system-info-100",
169
168
  compact: !0,
170
169
  label: `${l(S).title(o.effect.options.target)} promotion`
171
- }, null, 8, ["label"]),
172
- a("div", ie, v(o.currentReceive ?? 0) + " used ", 1)
170
+ }, null, 8, ["label"])
173
171
  ]),
174
- a("div", re, [
175
- a("div", ce, v(o.name), 1),
176
- a("div", me, v(l(L)(o.effect)), 1)
172
+ a("div", ie, [
173
+ a("div", re, P(o.name), 1),
174
+ a("div", ce, P(l(L)(o.effect)), 1)
177
175
  ])
178
176
  ]),
179
- s(F, {
177
+ s(C, {
180
178
  icon: "delete",
181
179
  "icon-color": "neutral-gray-400",
182
180
  variant: "tertiary",
183
- onClick: (k) => (k.stopPropagation(), C(o))
181
+ onClick: (F) => (F.stopPropagation(), x(o))
184
182
  }, null, 8, ["onClick"])
185
183
  ]),
186
184
  _: 2
@@ -194,9 +192,9 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
194
192
  class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
195
193
  }, {
196
194
  default: _(() => [
195
+ me,
197
196
  de,
198
- pe,
199
- s(F, {
197
+ s(C, {
200
198
  variant: "primary",
201
199
  label: "Create promotion campaign",
202
200
  icon: "add",
@@ -208,13 +206,13 @@ const te = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-
208
206
  ]),
209
207
  s(ee, {
210
208
  ref_key: "sheetRef",
211
- ref: x,
212
- "onSubmit:modelValue": I
209
+ ref: b,
210
+ "onSubmit:modelValue": R
213
211
  }, null, 512)
214
212
  ], 64);
215
213
  };
216
214
  }
217
215
  });
218
216
  export {
219
- Se as default
217
+ ke as default
220
218
  };
@@ -1,20 +1,20 @@
1
1
  import { defineComponent as A, computed as B, resolveComponent as k, openBlock as r, createElementBlock as S, createElementVNode as x, createVNode as y, unref as e, createTextVNode as ee, toDisplayString as j, withCtx as M, onMounted as Z, createBlock as g, createCommentVNode as q, ref as K, Fragment as w, renderList as N, normalizeClass as P, resolveDynamicComponent as oe, onBeforeMount as ne, isRef as ie, createSlots as me } from "vue";
2
- import { c as de, C as pe, d as ye, e as ce, f as ve } from "./index-Dh6x04Wk.js";
3
- import { R as h, a as be } from "./rule-builder-CNz0WgMq.js";
4
- import { a as fe, R, S as ge, C as $, W as ke, T as ae, O as Ee } from "./rule-NzJI8lrC.js";
5
- import { p as Te } from "./plugins-Ccv9TIl4.js";
2
+ import { c as de, C as pe, d as ye, e as ce, f as ve } from "./index-C86T8VON.js";
3
+ import { R as h, a as be } from "./rule-builder-DxDhft7B.js";
4
+ import { a as fe, R, S as ge, C as $, W as ke, T as ae, O as Ee } from "./rule-C4ovkUox.js";
5
+ import { p as Te } from "./loading-CM3ZyteE.js";
6
6
  import { useDialog as te, useDialogChild as ue } from "@feedmepos/ui-library";
7
7
  import { h as J } from "./moment-BWErdI6_.js";
8
- import { z as Se, a as re } from "./app--rCS8dWb.js";
9
- import { u as Q } from "./membership-ByQds6Nb.js";
10
- import { _ as O } from "./index-Blbjd5Y9.js";
8
+ import { z as Se, a as re } from "./app-B4oDOeXm.js";
9
+ import { u as Q } from "./membership-D0Z9EBWi.js";
10
+ import { _ as O } from "./index-Bc-r4pik.js";
11
11
  import { c as se } from "./object-qECH92oz.js";
12
12
  import { Z as z } from "./zod-W_PvIofQ.js";
13
- import "./index-D-bPAs1d.js";
14
- import "./index-C7SZ9gvu.js";
15
- import "./index-BGAWJ6-h.js";
16
- import "./index--VC0kdJZ.js";
17
- import "./index-vsgk07Y2.js";
13
+ import "./index-C7qI5flU.js";
14
+ import "./index-CvZ_MhCE.js";
15
+ import "./index-DSUUVWFu.js";
16
+ import "./index-DVJQt0_Q.js";
17
+ import "./index-CzVShOLS.js";
18
18
  const Ve = { class: "flex items-center justify-between" }, Fe = { class: "flex items-center gap-8 xs:flex-wrap" }, Ue = /* @__PURE__ */ x("div", { class: "h-[26px] border-l-2 rounded-md border-fm-color-neutral-gray-100" }, null, -1), xe = { class: "text-fm-color-primary line-clamp-1 text-ellipsis" }, Ce = /* @__PURE__ */ A({
19
19
  __name: "RuleEntry",
20
20
  props: {
@@ -1,23 +1,22 @@
1
- import { defineComponent as P, onMounted as N, openBlock as g, createElementBlock as x, createElementVNode as r, toDisplayString as D, unref as e, createVNode as c, createCommentVNode as E, ref as f, computed as U, resolveComponent as R, createBlock as A, isRef as H, createSlots as T, withCtx as Y, Fragment as B, reactive as j, watch as O, onBeforeMount as K, h as C } from "vue";
2
- import { F as L, p as Z } from "./plugins-Ccv9TIl4.js";
3
- import { u as G } from "./loading-B5tUSWjN.js";
1
+ import { defineComponent as P, onMounted as N, openBlock as g, createElementBlock as x, createElementVNode as r, toDisplayString as D, unref as e, createVNode as m, createCommentVNode as E, ref as f, computed as U, resolveComponent as R, createBlock as A, isRef as H, createSlots as T, withCtx as Y, Fragment as B, reactive as j, watch as O, onBeforeMount as K, h as C } from "vue";
2
+ import { F as L, p as Z, u as G } from "./loading-CM3ZyteE.js";
4
3
  import { components as z } from "@feedmepos/ui-library";
5
- import { l as J } from "./lodash-7Fz14kKI.js";
4
+ import { l as J } from "./lodash-DYMRs712.js";
6
5
  import { Z as W } from "./zod-W_PvIofQ.js";
7
- import { a as q } from "./index-BGAWJ6-h.js";
8
- import { u as Q } from "./app--rCS8dWb.js";
9
- import { R as X } from "./rule-builder-CNz0WgMq.js";
6
+ import { a as q } from "./index-DSUUVWFu.js";
7
+ import { u as Q } from "./app-B4oDOeXm.js";
8
+ import { R as X } from "./rule-builder-DxDhft7B.js";
10
9
  import { _ as ee } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWt4tVdk.js";
11
- import { _ as te } from "./RuleGroup.vue_vue_type_script_setup_true_lang-CAnO-3XN.js";
10
+ import { _ as te } from "./RuleGroup.vue_vue_type_script_setup_true_lang-BhOoz0HL.js";
12
11
  import { h as k } from "./moment-BWErdI6_.js";
13
- import { u as ae, _ as oe } from "./usePagination-CsZrmXsU.js";
14
- import { s as b } from "./membership-ByQds6Nb.js";
12
+ import { u as ae, _ as oe } from "./usePagination-cObe7G1g.js";
13
+ import { s as b } from "./membership-D0Z9EBWi.js";
15
14
  import { o as se } from "./objectId-dwaoBfJX.js";
16
- import { m as ne } from "./index-CGTaSvN6.js";
15
+ import { m as ne } from "./index-Bt_xFt9g.js";
17
16
  const ie = q.extend({
18
17
  _id: L.optional(),
19
18
  business: L.optional()
20
- }), le = { class: "space-y-16 pr-12" }, re = { class: "fm-typo-en-title-md-800" }, me = { class: "flex space-x-8" }, ce = { class: "fm-typo-en-title-md-800 text-fm-color-primary" }, de = { class: "text-fm-color-typo-secondary" }, ue = /* @__PURE__ */ r("div", null, "contacts in your segment", -1), pe = {
19
+ }), le = { class: "space-y-16 pr-12" }, re = { class: "fm-typo-en-title-md-800" }, ce = { class: "flex space-x-8" }, me = { class: "fm-typo-en-title-md-800 text-fm-color-primary" }, de = { class: "text-fm-color-typo-secondary" }, ue = /* @__PURE__ */ r("div", null, "contacts in your segment", -1), pe = {
21
20
  key: 0,
22
21
  class: "w-full flex flex-col gap-16 items-center pt-16"
23
22
  }, ge = /* @__PURE__ */ r("div", { class: "fm-typo-en-body-lg-600" }, "No data found", -1), fe = /* @__PURE__ */ r("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " No data to show at the current moment. ", -1), ve = [
@@ -53,21 +52,21 @@ const ie = q.extend({
53
52
  sortBy: "_id",
54
53
  search: o.searchValue,
55
54
  descending: !0
56
- }) : { resources: [], meta: { totalResources: 0, totalPages: 0 } }, { tableMeta: i, rowData: m, onSort: w, debouncedFetchData: l, onSearch: s } = ae(v);
55
+ }) : { resources: [], meta: { totalResources: 0, totalPages: 0 } }, { tableMeta: i, rowData: c, onSort: w, debouncedFetchData: l, onSearch: s } = ae(v);
57
56
  return N(async () => {
58
57
  await l();
59
58
  }), (o, d) => (g(), x("div", le, [
60
59
  r("div", re, D(u.title), 1),
61
- r("div", me, [
62
- r("div", ce, D(o.segment.members.length), 1),
60
+ r("div", ce, [
61
+ r("div", me, D(o.segment.members.length), 1),
63
62
  r("div", de, [
64
63
  ue,
65
64
  r("div", null, "as of " + D(e(k)(o.segment.lastUpdated).format("DD MMM YYYY")), 1)
66
65
  ])
67
66
  ]),
68
- c(oe, {
67
+ m(oe, {
69
68
  loading: e(i).isLoading,
70
- "row-data": e(m),
69
+ "row-data": e(c),
71
70
  "row-count": e(i).totalRows,
72
71
  "column-defs": S,
73
72
  "page-size": e(i).pageSize,
@@ -76,7 +75,7 @@ const ie = q.extend({
76
75
  onSortChange: e(w),
77
76
  onPageChange: d[0] || (d[0] = (h) => e(l)({ pageSize: h.pageSize, pageIndex: h.pageIndex }))
78
77
  }, null, 8, ["loading", "row-data", "row-count", "page-size", "page-count", "page-index", "onSortChange"]),
79
- e(m).length == 0 ? (g(), x("div", pe, ve)) : E("", !0)
78
+ e(c).length == 0 ? (g(), x("div", pe, ve)) : E("", !0)
80
79
  ]));
81
80
  }
82
81
  }), _e = { class: "flex items-center gap-x-8" }, ye = /* @__PURE__ */ r("div", null, "Review segment", -1), Se = {
@@ -86,7 +85,7 @@ const ie = q.extend({
86
85
  __name: "SegmentSheet",
87
86
  emits: ["update:model-value"],
88
87
  setup(M, { expose: u, emit: S }) {
89
- const v = Q(), i = f(!1), m = f(!1), w = {
88
+ const v = Q(), i = f(!1), c = f(!1), w = {
90
89
  name: "",
91
90
  rule: X.scaffoldGroup(),
92
91
  members: []
@@ -95,16 +94,16 @@ const ie = q.extend({
95
94
  return a.success ? [] : a.error.errors;
96
95
  });
97
96
  function d(a) {
98
- i.value = !0, m.value = !1, a ? s.value = { ...a } : s.value = { ...w };
97
+ i.value = !0, c.value = !1, a ? s.value = { ...a } : s.value = { ...w };
99
98
  }
100
99
  function h() {
101
100
  i.value = !1;
102
101
  }
103
102
  async function V() {
104
- l.safeParse(s.value).success && (m.value = !0);
103
+ l.safeParse(s.value).success && (c.value = !0);
105
104
  }
106
105
  function I() {
107
- m.value = !1;
106
+ c.value = !1;
108
107
  }
109
108
  async function F() {
110
109
  t("update:model-value", s.value);
@@ -127,25 +126,25 @@ const ie = q.extend({
127
126
  }, T({
128
127
  "side-sheet-footer": Y(() => [
129
128
  r("div", be, [
130
- e(m) ? (g(), x(B, { key: 0 }, [
131
- c(p, {
129
+ e(c) ? (g(), x(B, { key: 0 }, [
130
+ m(p, {
132
131
  label: "Save Segment",
133
132
  onClick: F,
134
133
  loading: e(v).isLoading,
135
134
  disabled: e(o).length > 0 || e(v).isLoading
136
135
  }, null, 8, ["loading", "disabled"]),
137
- c(p, {
136
+ m(p, {
138
137
  label: "Cancel",
139
138
  onClick: n[3] || (n[3] = (y) => I()),
140
139
  variant: "tertiary"
141
140
  })
142
141
  ], 64)) : (g(), x(B, { key: 1 }, [
143
- c(p, {
142
+ m(p, {
144
143
  label: "Review Segment",
145
144
  disabled: e(o).length > 0 || e(v).isLoading,
146
145
  onClick: V
147
146
  }, null, 8, ["disabled"]),
148
- c(p, {
147
+ m(p, {
149
148
  label: "Cancel",
150
149
  onClick: n[4] || (n[4] = (y) => h()),
151
150
  variant: "tertiary"
@@ -156,19 +155,19 @@ const ie = q.extend({
156
155
  default: Y(() => {
157
156
  var y;
158
157
  return [
159
- e(m) ? (g(), A(he, {
158
+ e(c) ? (g(), A(he, {
160
159
  key: 1,
161
160
  title: e(s).name,
162
161
  segment: e(s)
163
162
  }, null, 8, ["title", "segment"])) : (g(), x("div", Se, [
164
- c(ee, {
163
+ m(ee, {
165
164
  modelValue: e(s).name,
166
165
  "onUpdate:modelValue": n[1] || (n[1] = ($) => e(s).name = $),
167
166
  label: "Segment title",
168
167
  schema: e(W).typeAtPath(e(l), "name")
169
168
  }, null, 8, ["modelValue", "schema"]),
170
169
  we,
171
- c(te, {
170
+ m(te, {
172
171
  "trigger-type": "MEMBERSHIP_JOINED",
173
172
  includeOnly: "user",
174
173
  "model-value": (y = e(s)) == null ? void 0 : y.rule,
@@ -181,14 +180,14 @@ const ie = q.extend({
181
180
  }),
182
181
  _: 2
183
182
  }, [
184
- e(m) ? {
183
+ e(c) ? {
185
184
  name: "side-sheet-header",
186
185
  fn: Y(() => [
187
186
  r("div", _e, [
188
- c(p, {
187
+ m(p, {
189
188
  icon: "arrow_back",
190
189
  variant: "tertiary",
191
- onClick: n[0] || (n[0] = (y) => m.value = !1)
190
+ onClick: n[0] || (n[0] = (y) => c.value = !1)
192
191
  }),
193
192
  ye
194
193
  ])
@@ -198,7 +197,7 @@ const ie = q.extend({
198
197
  ]), 1032, ["modelValue"]);
199
198
  };
200
199
  }
201
- }), Ce = { class: "px-24 flex flex-col gap-y-32 pb-24" }, Ue = /* @__PURE__ */ P({
200
+ }), Ce = { class: "px-24 flex flex-col gap-y-32 pb-24" }, Ee = /* @__PURE__ */ P({
202
201
  __name: "Segment",
203
202
  setup(M) {
204
203
  const { minor: u } = G, S = f(0);
@@ -212,7 +211,7 @@ const ie = q.extend({
212
211
  value: "add",
213
212
  isPrimary: !0,
214
213
  prependIcon: "add"
215
- }, m = [
214
+ }, c = [
216
215
  {
217
216
  header: "Name",
218
217
  accessorFn: (t) => t.name
@@ -345,16 +344,16 @@ const ie = q.extend({
345
344
  }), (t, a) => {
346
345
  const n = R("FmPageHead"), p = R("FmTable");
347
346
  return g(), x(B, null, [
348
- c(n, {
347
+ m(n, {
349
348
  title: "Segments",
350
349
  actions: [v, i],
351
350
  "onClick:action": a[0] || (a[0] = (_) => _ === "add" ? F() : h())
352
351
  }, null, 8, ["actions"]),
353
352
  r("div", Ce, [
354
- c(p, {
353
+ m(p, {
355
354
  class: "xs:hidden",
356
355
  "row-data": e(s),
357
- "column-defs": m,
356
+ "column-defs": c,
358
357
  "search-value": e(w).searchKey,
359
358
  "column-filter": [],
360
359
  "hide-footer": !0,
@@ -362,7 +361,7 @@ const ie = q.extend({
362
361
  F(_.original);
363
362
  })
364
363
  }, null, 8, ["row-data", "search-value"]),
365
- c(xe, {
364
+ m(xe, {
366
365
  ref_key: "sheetRef",
367
366
  ref: o,
368
367
  "onUpdate:modelValue": I
@@ -373,5 +372,5 @@ const ie = q.extend({
373
372
  }
374
373
  });
375
374
  export {
376
- Ue as default
375
+ Ee as default
377
376
  };
@@ -2,15 +2,14 @@ import { defineComponent as $e, ref as H, computed as ie, onMounted as ze, resol
2
2
  import { h as ct } from "./moment-BWErdI6_.js";
3
3
  import { Z as Re } from "./zod-W_PvIofQ.js";
4
4
  import { useDialog as Ke } from "@feedmepos/ui-library";
5
- import { u as ut } from "./loading-B5tUSWjN.js";
6
- import { a as ve, l as Oe, u as dt } from "./app--rCS8dWb.js";
7
- import { u as je } from "./membership-ByQds6Nb.js";
8
- import { c as Ye, p as ft, f as O } from "./plugins-Ccv9TIl4.js";
9
- import { k as mt, j as gt } from "./index-C7SZ9gvu.js";
10
- import { _ as De } from "./ImageInput.vue_vue_type_script_setup_true_lang-rs3BEnpo.js";
11
- import { _ as ht } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CEBqSaBp.js";
12
- import { _ as pt } from "./MessageInput.vue_vue_type_script_setup_true_lang--qiv_ZUS.js";
13
- import { m as yt } from "./index-EmqFPQGb.js";
5
+ import { a as Oe, u as ut, p as dt, f as O } from "./loading-CM3ZyteE.js";
6
+ import { a as ve, l as je, u as ft } from "./app-B4oDOeXm.js";
7
+ import { u as Ye } from "./membership-D0Z9EBWi.js";
8
+ import { k as mt, j as gt } from "./index-CvZ_MhCE.js";
9
+ import { _ as De } from "./ImageInput.vue_vue_type_script_setup_true_lang-BuuYdlE4.js";
10
+ import { _ as ht } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-C1QmPELI.js";
11
+ import { _ as pt } from "./MessageInput.vue_vue_type_script_setup_true_lang-BD27S5wB.js";
12
+ import { m as yt } from "./index-B6GvsaDA.js";
14
13
  import { o as wt } from "./objectId-dwaoBfJX.js";
15
14
  import { a as bt } from "./object-qECH92oz.js";
16
15
  var Z = {}, vt = function() {
@@ -1505,12 +1504,12 @@ const fn = { class: "flex items-start" }, mn = /* @__PURE__ */ w("div", null, [
1505
1504
  ], -1), gn = { class: "flex flex-col gap-16 mt-16" }, hn = ["src"], pn = /* @__PURE__ */ $e({
1506
1505
  __name: "LinkDeviceDialog",
1507
1506
  setup(t) {
1508
- const e = ve(), i = je(), r = Ke(), o = H(), n = H(), a = dn.crmUrl, s = H(), l = ie(() => i.membership), m = ie(() => {
1507
+ const e = ve(), i = Ye(), r = Ke(), o = H(), n = H(), a = dn.crmUrl, s = H(), l = ie(() => i.membership), m = ie(() => {
1509
1508
  var h, d;
1510
1509
  return `https://${(h = l.value) != null && h.url ? l.value.url : (d = l.value) == null ? void 0 : d.business}.${a}`;
1511
1510
  });
1512
1511
  async function g(h) {
1513
- const d = await Oe.getOtp(h);
1512
+ const d = await je.getOtp(h);
1514
1513
  return `${m.value}?link-device=${d.otp}`;
1515
1514
  }
1516
1515
  async function B(h) {
@@ -1554,7 +1553,7 @@ const fn = { class: "flex items-start" }, mn = /* @__PURE__ */ w("div", null, [
1554
1553
  class: "mx-auto",
1555
1554
  variant: "plain",
1556
1555
  icon: "content_copy",
1557
- onClick: d[2] || (d[2] = (b) => u(Ye)(u(s)))
1556
+ onClick: d[2] || (d[2] = (b) => u(Oe)(u(s)))
1558
1557
  })
1559
1558
  ])
1560
1559
  ]),
@@ -1570,10 +1569,10 @@ const wn = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1570
1569
  }, Cn = { class: "col-span-2 flex flex-col xs:col-span-3" }, En = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Basic Information", -1), _n = { class: "space-y-24" }, Bn = { class: "space-y-8" }, An = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Counter App", -1), Mn = { class: "fm-typo-body-lg-400" }, Sn = { class: "fm-typo-body-md-400 text-fm-color-typo-secondary" }, Tn = { class: "fm-typo-body-md-400 text-fm-color-typo-secondary" }, In = { class: "space-y-8" }, Pn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Advertisement", -1), Nn = { class: "space-y-8" }, Un = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "SMS", -1), Ln = { class: "space-y-8" }, Fn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Email", -1), Rn = { class: "space-y-8" }, Dn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, [
1571
1570
  /* @__PURE__ */ be(" Free Credit as Discount "),
1572
1571
  /* @__PURE__ */ w("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-error" }, "*POS v6.56 or above")
1573
- ], -1), kn = { class: "space-y-8" }, Vn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Member Card", -1), xn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1), $n = { class: "flex justify-end pb-24" }, zn = { class: "col-span-1 space-y-8 xs:hidden" }, Hn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1), Kn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1), On = { class: "fm-typo-en-body-lg-600" }, jn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1), Yn = { class: "fm-typo-en-body-lg-600" }, Jn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1), qn = { class: "fm-typo-en-body-lg-600" }, Gn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1), Qn = { class: "fm-typo-en-body-lg-600" }, mo = /* @__PURE__ */ $e({
1572
+ ], -1), kn = { class: "space-y-8" }, Vn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Member Card", -1), xn = /* @__PURE__ */ w("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1), $n = { class: "flex justify-end pb-24" }, zn = { class: "col-span-1 space-y-8 xs:hidden" }, Hn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1), Kn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1), On = { class: "fm-typo-en-body-lg-600" }, jn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1), Yn = { class: "fm-typo-en-body-lg-600" }, Jn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1), qn = { class: "fm-typo-en-body-lg-600" }, Gn = /* @__PURE__ */ w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1), Qn = { class: "fm-typo-en-body-lg-600" }, fo = /* @__PURE__ */ $e({
1574
1573
  __name: "Setting",
1575
1574
  setup(t) {
1576
- const e = dt(), i = ve(), r = je(), { global: o, minor: n } = ut, a = Ke(), s = H(), l = H(!1), m = mt, g = [
1575
+ const e = ft(), i = ve(), r = Ye(), { global: o, minor: n } = ut, a = Ke(), s = H(), l = H(!1), m = mt, g = [
1577
1576
  (f) => !f || f.length >= 6 || "Invalid URL format, please enter at least 6 characters",
1578
1577
  (f) => !f || new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/).test(f) || "Invalid URL format, url should start with a letter or number and can only include lowercase letters, numbers, or hyphens"
1579
1578
  ], B = yn.appUrl, h = ie(() => {
@@ -1591,13 +1590,13 @@ const wn = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1591
1590
  });
1592
1591
  }
1593
1592
  async function p(f) {
1594
- await ft.remove(
1593
+ await dt.remove(
1595
1594
  "Are you sure you want to unlink this device?",
1596
1595
  "Unlink device",
1597
1596
  "Unlink"
1598
1597
  ) && await n(
1599
1598
  async () => {
1600
- await Oe.unregisterDevice(f), await i.readLocationDevices();
1599
+ await je.unregisterDevice(f), await i.readLocationDevices();
1601
1600
  },
1602
1601
  {
1603
1602
  message: "Unlinking device",
@@ -1679,7 +1678,7 @@ const wn = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1679
1678
  M(_, {
1680
1679
  icon: "content_copy",
1681
1680
  variant: "tertiary",
1682
- onClick: c[1] || (c[1] = (C) => u(Ye)(u(h)))
1681
+ onClick: c[1] || (c[1] = (C) => u(Oe)(u(h)))
1683
1682
  })
1684
1683
  ]),
1685
1684
  _: 1
@@ -1889,5 +1888,5 @@ const wn = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1889
1888
  }
1890
1889
  });
1891
1890
  export {
1892
- mo as default
1891
+ fo as default
1893
1892
  };