@feedmepos/mf-connect 0.0.16-beta.12 → 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 (71) hide show
  1. package/dist/{Analytic-DIc9BYb0.js → Analytic-B8FGU0B7.js} +32 -32
  2. package/dist/App-BXAJ1Z_T.js +6260 -0
  3. package/dist/{Broadcast-dVPgK5QV.js → Broadcast-DvmjAtxH.js} +8 -8
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-TnEPvafD.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dvp3mOEx.js} +8 -8
  5. package/dist/{Card-Bj2Yd2pr.js → Card-DblSxqRr.js} +28 -28
  6. package/dist/{Collections-Fkb_zzqZ.js → Collections-C4KRnnWW.js} +4 -4
  7. package/dist/{Credit-DHn9OkE8.js → Credit-C5MbDbWr.js} +8 -8
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-C1ZXQski.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-D6mWny8y.js → EffectSheet.vue_vue_type_style_index_0_lang-CCsxDg45.js} +5 -5
  10. package/dist/{Experience-DX3aJihS.js → Experience-CmDLg17p.js} +8 -8
  11. package/dist/{Game-CcVQvETd.js → Game-5zvjlfuj.js} +8 -8
  12. package/dist/{Marketing-B9kykWEh.js → Marketing-BVpimsBU.js} +5 -5
  13. package/dist/Member-BkOqtn9n.js +69 -0
  14. package/dist/{MemberList-BUDxqMEK.js → MemberList-3IvxRInu.js} +105 -105
  15. package/dist/{MemberTransactions-Bh_tT1Rp.js → MemberTransactions-DRpV77Pn.js} +1 -1
  16. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Cj3-JHOX.js → MessageInput.vue_vue_type_script_setup_true_lang-CBvpHaAl.js} +2 -2
  17. package/dist/{Mission-DDvgCLy0.js → Mission-9fJLMJKS.js} +8 -8
  18. package/dist/{Point-BbPkt4kF.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-BGjeTeqS.js → RuleGroup.vue_vue_type_script_setup_true_lang-1Fko0V0J.js} +14 -14
  21. package/dist/{Segment-DAcpZWIN.js → Segment-DMaHcJT_.js} +8 -8
  22. package/dist/{Setting-CgXohUPt.js → Setting-DQh2aqfD.js} +8 -8
  23. package/dist/{Store-BVyHbQ8o.js → Store-WvEUlY9N.js} +393 -393
  24. package/dist/{StoreRewards-sccMDbkj.js → StoreRewards-D50uR2b9.js} +11 -11
  25. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang--sdQ_l8g.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Cm0lHUkP.js} +6 -6
  26. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CXlkvt2u.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BnjVkkS1.js} +1 -1
  27. package/dist/{Tier--P27XXbB.js → Tier-CqNKi52t.js} +14 -14
  28. package/dist/{Title-B27S3SxD.js → Title-CzBp5ig0.js} +14 -14
  29. package/dist/{Transaction-CYTtwwHY.js → Transaction-EKIwyavj.js} +2 -2
  30. package/dist/{Voucher-BZ8PKgO5.js → Voucher-Dhpzn8gs.js} +11 -11
  31. package/dist/{app-FfENBuoE.js → app-3-6LVz11.js} +27 -24
  32. package/dist/{app-CnKzqAcN.js → app-DM-4iSsh.js} +1 -1
  33. package/dist/app.js +1 -1
  34. package/dist/{business-CXyP9G7A.js → business-Wk7ElvEz.js} +1 -1
  35. package/dist/{campaign-0aM2KYOy.js → campaign-tHUDB7cm.js} +2 -2
  36. package/dist/{collection.fn-FicQhH1t.js → collection.fn-DS11Xpbu.js} +2 -2
  37. package/dist/{dto-BiYLkVdL.js → dto-B8X9qnLh.js} +147 -147
  38. package/dist/{effect-Cg-eNEjg.js → effect-BH3AL4S6.js} +9 -9
  39. package/dist/{export-D7BuObOL.js → export-DAAmj_h9.js} +3 -3
  40. package/dist/{helper-DvD-D7c7.js → helper-BSKllptD.js} +1 -1
  41. package/dist/index-5FIs0G8O.js +29193 -0
  42. package/dist/{index-DmdKoKk_.js → index-B0Pw9YQd.js} +2 -2
  43. package/dist/{index-BRXg5Si1.js → index-BH-mOC5-.js} +5 -5
  44. package/dist/{index-B1Q0GAWp.js → index-BO94KhQO.js} +1 -1
  45. package/dist/{index-BuDwICBJ.js → index-BgIWS3vT.js} +5 -5
  46. package/dist/{index-B6c-fUij.js → index-CIBWHBM-.js} +2 -2
  47. package/dist/{index-DA-fzkRR.js → index-CPxCpRFW.js} +3 -3
  48. package/dist/{index-Dkeb_9ER.js → index-CoYSYku2.js} +1 -1
  49. package/dist/{index-G-88ujCM.js → index-DOFTUTiA.js} +1 -1
  50. package/dist/{index-BP_5cfKa.js → index-DmxAa1MA.js} +1 -1
  51. package/dist/{index-CDMC-8iO.js → index-Z7d84hDW.js} +7 -2
  52. package/dist/{index-CcZt3OrE.js → index-vIwngIP9.js} +1 -1
  53. package/dist/index.esm2017-jX1Q0DsS.js +3069 -0
  54. package/dist/{loading-uCNeZibp.js → loading-DeWfPgai.js} +10751 -13605
  55. package/dist/{membership-DFRO9TyM.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-Ch2HRiGw.js → rule-C37bqQrm.js} +314 -343
  59. package/dist/{rule-builder-B_M9yvEe.js → rule-builder-DPQJ8Tbv.js} +1 -1
  60. package/dist/style.css +1 -1
  61. package/dist/{template-1o0LbOoJ.js → template-CIStnXhd.js} +4 -4
  62. package/dist/tslib.es6-BCqqvLQ_.js +44 -0
  63. package/dist/{vue-i18n-AtGIa4qH.js → vue-i18n-jf-SfrQy.js} +272 -272
  64. package/dist/{xlsx-pChq0adn.js → xlsx-C91dwH9k.js} +1 -1
  65. package/package.json +11 -11
  66. package/dist/App-BzzL9_Jw.js +0 -177
  67. package/dist/Member-RoJSCSC5.js +0 -69
  68. package/dist/Promotion-DEo-lxpX.js +0 -221
  69. package/dist/index-B4UZgSB-.js +0 -28058
  70. package/dist/money-OtkT4Pzp.js +0 -15
  71. package/dist/number-Cg3NCouc.js +0 -12
@@ -1,29 +1,29 @@
1
1
  var Pt = Object.defineProperty;
2
2
  var Ot = (F, E, x) => E in F ? Pt(F, E, { enumerable: !0, configurable: !0, writable: !0, value: x }) : F[E] = x;
3
3
  var it = (F, E, x) => Ot(F, typeof E != "symbol" ? E + "" : E, x);
4
- import { defineComponent as je, computed as ne, ref as ce, resolveComponent as U, openBlock as A, createElementBlock as Q, Fragment as fe, createElementVNode as m, unref as s, createBlock as re, createCommentVNode as xe, createVNode as D, renderList as _e, withCtx as ge, createTextVNode as ct, toDisplayString as J, withDirectives as dt, vShow as mt, onMounted as ft, isRef as Bt, h as ye } from "vue";
4
+ import { defineComponent as je, computed as ne, ref as ce, resolveComponent as U, openBlock as A, createElementBlock as Q, Fragment as fe, createElementVNode as m, unref as s, createBlock as re, createCommentVNode as xe, createVNode as I, renderList as _e, withCtx as ge, createTextVNode as ct, toDisplayString as J, withDirectives as dt, vShow as mt, onMounted as ft, isRef as Bt, h as ye } from "vue";
5
5
  import { h as M } from "./moment-BWErdI6_.js";
6
- import { useDialog as Ze, components as De } from "@feedmepos/ui-library";
6
+ import { useDialog as Ze, components as Ie } from "@feedmepos/ui-library";
7
7
  import { g as Ut } from "./_commonjsHelpers-BkfeUUK-.js";
8
- import { u as Qe, w as Yt } from "./xlsx-pChq0adn.js";
9
- import "./index-G-88ujCM.js";
10
- import { p as at, b as st, u as pt } from "./loading-uCNeZibp.js";
11
- import { u as et, C as lt, s as qt } from "./membership-DFRO9TyM.js";
12
- import { c as jt } from "./index-B4UZgSB-.js";
8
+ import { u as Qe, w as Yt } from "./xlsx-C91dwH9k.js";
9
+ import "./index-DOFTUTiA.js";
10
+ import { p as at, b as st, u as pt } from "./loading-DeWfPgai.js";
11
+ import { u as et, C as lt, s as qt } from "./membership-oIubaesw.js";
12
+ import { e as jt } from "./index-5FIs0G8O.js";
13
13
  import { _ as ut } from "./lodash-B5I3zXaY.js";
14
- import { F as zt, a as Kt } from "./index-B6c-fUij.js";
15
- import { F as Gt } from "./index-DA-fzkRR.js";
16
- import { C as Xe } from "./collection.fn-FicQhH1t.js";
17
- import { u as bt } from "./business-CXyP9G7A.js";
14
+ import { F as zt, a as Kt } from "./index-CIBWHBM-.js";
15
+ import { F as Gt } from "./index-CPxCpRFW.js";
16
+ import { C as Xe } from "./collection.fn-DS11Xpbu.js";
17
+ import { u as bt } from "./business-Wk7ElvEz.js";
18
18
  import { defineStore as Wt } from "pinia";
19
- import { m as ue } from "./index-CcZt3OrE.js";
19
+ import { m as ue } from "./index-vIwngIP9.js";
20
20
  import { o as vt } from "./objectId-dwaoBfJX.js";
21
- import { f as qe } from "./number-Cg3NCouc.js";
22
- import { t as Ht } from "./money-OtkT4Pzp.js";
21
+ import { f as qe } from "./number-D_Fi0beD.js";
22
+ import { t as Ht } from "./money-D-3GphEZ.js";
23
23
  import { u as Jt, _ as Qt } from "./usePagination-BeF5K3M7.js";
24
24
  import { g as Xt, a as Zt, b as en } from "./user-Bm4KttFq.js";
25
25
  import { useRouter as tn } from "vue-router";
26
- import { R as nn } from "./app-FfENBuoE.js";
26
+ import { R as nn } from "./app-3-6LVz11.js";
27
27
  class rn {
28
28
  constructor() {
29
29
  it(this, "data", []);
@@ -70,7 +70,7 @@ var yt = { exports: {} };
70
70
  var a;
71
71
  return r === null ? null : (a = L(i), a.tokens = r.tokens, a.semantic = r.semantic, a.children.push(r), a);
72
72
  }
73
- function I(i, r) {
73
+ function V(i, r) {
74
74
  return r !== null && (i.tokens += r.tokens, i.semantic += r.semantic), i.children.push(r), i;
75
75
  }
76
76
  function g(i) {
@@ -94,7 +94,7 @@ var yt = { exports: {} };
94
94
  for (N = R(), c = L("and"), a = 0; a < i.length; a += 1) {
95
95
  if (y = i[a](), y === null)
96
96
  return q(N), null;
97
- I(c, y);
97
+ V(c, y);
98
98
  }
99
99
  return c;
100
100
  };
@@ -133,7 +133,7 @@ var yt = { exports: {} };
133
133
  return function() {
134
134
  var c, y, N, le, ot;
135
135
  for (le = R(), c = L("star"), N = 0, ot = r === void 0 ? 0 : r; (y = i()) !== null; )
136
- N = N + 1, I(c, y);
136
+ N = N + 1, V(c, y);
137
137
  return N >= ot ? c : (q(le), null);
138
138
  };
139
139
  }
@@ -149,7 +149,7 @@ var yt = { exports: {} };
149
149
  function p() {
150
150
  return u("crlf", t(X, $)());
151
151
  }
152
- function V() {
152
+ function D() {
153
153
  return u("dquote", n('"')());
154
154
  }
155
155
  function T() {
@@ -193,7 +193,7 @@ var yt = { exports: {} };
193
193
  )
194
194
  )());
195
195
  }
196
- function Ie() {
196
+ function Ve() {
197
197
  return u("ctext", o(
198
198
  function() {
199
199
  return g(function(a) {
@@ -204,13 +204,13 @@ var yt = { exports: {} };
204
204
  xt
205
205
  )());
206
206
  }
207
- function Ve() {
208
- return u("ccontent", o(Ie, H, we)());
207
+ function De() {
208
+ return u("ccontent", o(Ve, H, we)());
209
209
  }
210
210
  function we() {
211
211
  return u("comment", t(
212
212
  n("("),
213
- b(t(e(B), Ve)),
213
+ b(t(e(B), De)),
214
214
  e(B),
215
215
  n(")")
216
216
  )());
@@ -258,7 +258,7 @@ var yt = { exports: {} };
258
258
  }
259
259
  function Ee() {
260
260
  var i, r;
261
- return i = u("dot-atom-text", b(he, 1)()), i === null || (r = b(t(n("."), b(he, 1)))(), r !== null && I(i, r)), i;
261
+ return i = u("dot-atom-text", b(he, 1)()), i === null || (r = b(t(n("."), b(he, 1)))(), r !== null && V(i, r)), i;
262
262
  }
263
263
  function Ae() {
264
264
  return u("dot-atom", t(d(e(k)), Ee, d(e(k)))());
@@ -280,10 +280,10 @@ var yt = { exports: {} };
280
280
  function ke() {
281
281
  return u("quoted-string", t(
282
282
  d(e(k)),
283
- d(V),
283
+ d(D),
284
284
  b(t(e(h(B)), Re)),
285
285
  e(d(B)),
286
- d(V),
286
+ d(D),
287
287
  d(e(k))
288
288
  )());
289
289
  }
@@ -367,7 +367,7 @@ var yt = { exports: {} };
367
367
  return l.rfc6532 && (y = y || P(a)), y;
368
368
  });
369
369
  },
370
- It
370
+ Vt
371
371
  )()
372
372
  );
373
373
  }
@@ -383,7 +383,7 @@ var yt = { exports: {} };
383
383
  }
384
384
  function ae() {
385
385
  return u("domain", function() {
386
- var r = o(Dt, Ae, be)();
386
+ var r = o(It, Ae, be)();
387
387
  return l.rejectTLD && r && r.semantic && r.semantic.indexOf(".") < 0 ? null : (r && (r.semantic = r.semantic.replace(/\s+/g, "")), r);
388
388
  }());
389
389
  }
@@ -517,10 +517,10 @@ var yt = { exports: {} };
517
517
  function Mt() {
518
518
  return l.strict ? null : u("obs-local-part", t(de, b(t(n("."), de)))());
519
519
  }
520
- function Dt() {
520
+ function It() {
521
521
  return l.strict ? null : u("obs-domain", t(Se, b(t(n("."), Se)))());
522
522
  }
523
- function It() {
523
+ function Vt() {
524
524
  return l.strict ? null : u("obs-dtext", o(Ue, H)());
525
525
  }
526
526
  function Ne(i, r) {
@@ -535,7 +535,7 @@ var yt = { exports: {} };
535
535
  }
536
536
  return null;
537
537
  }
538
- function Vt(i, r) {
538
+ function Dt(i, r) {
539
539
  var a, c, y, N;
540
540
  if (r == null)
541
541
  return null;
@@ -585,7 +585,7 @@ var yt = { exports: {} };
585
585
  };
586
586
  }
587
587
  function nt(i) {
588
- var r = Ne("display-name", i), a = Ne("addr-spec", i), c = Vt("cfws", i), y = He(["comment"], i), N = Ne("local-part", a), le = Ne("domain", a);
588
+ var r = Ne("display-name", i), a = Ne("addr-spec", i), c = Dt("cfws", i), y = He(["comment"], i), N = Ne("local-part", a), le = Ne("domain", a);
589
589
  return {
590
590
  node: i,
591
591
  parts: {
@@ -732,7 +732,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
732
732
  }
733
733
  },
734
734
  setup(F) {
735
- var z, L, u, I;
735
+ var z, L, u, V;
736
736
  const E = Ze(), x = et(), _ = F, K = ne(
737
737
  () => {
738
738
  var g;
@@ -759,7 +759,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
759
759
  ), S = ce({
760
760
  cardNo: _.member.cardNo,
761
761
  experience: ((L = (z = _.member.collection) == null ? void 0 : z.POINT) == null ? void 0 : L[0].balance) ?? 0,
762
- tier: ((I = (u = _.member.collection) == null ? void 0 : u.TIER) == null ? void 0 : I[0].balance) ?? -1,
762
+ tier: ((V = (u = _.member.collection) == null ? void 0 : u.TIER) == null ? void 0 : V[0].balance) ?? -1,
763
763
  titles: K.value.map((g) => ({ expiredAt: g.expiresIn, id: g._id })) ?? void 0
764
764
  }), G = ne(
765
765
  () => (x.sortedTitles ?? []).map((g) => ({
@@ -830,7 +830,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
830
830
  "helper-text": R("tier"),
831
831
  "helper-state": R("tier") ? "error" : void 0
832
832
  }, null, 8, ["modelValue", "items", "helper-text", "helper-state"])) : xe("", !0),
833
- D(t, {
833
+ I(t, {
834
834
  "model-value": s(S).experience ?? 0,
835
835
  "onUpdate:modelValue": v[1] || (v[1] = (p) => s(S).experience = p),
836
836
  label: "Member Experience",
@@ -839,7 +839,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
839
839
  "helper-state": R("experience") ? "error" : void 0
840
840
  }, null, 8, ["model-value", "helper-text", "helper-state"]),
841
841
  v[7] || (v[7] = m("div", { class: "fm-typo-en-title-sm-800 mt-16 mb-8" }, "Member Card", -1)),
842
- D(o, {
842
+ I(o, {
843
843
  modelValue: s(S).cardNo,
844
844
  "onUpdate:modelValue": v[2] || (v[2] = (p) => s(S).cardNo = p),
845
845
  label: "Card number",
@@ -854,7 +854,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
854
854
  m("div", { class: "w-24 h-1" })
855
855
  ], -1)
856
856
  ]))) : xe("", !0),
857
- (A(!0), Q(fe, null, _e(s(S).titles ?? [], (p, V) => (A(), Q("div", { key: V }, [
857
+ (A(!0), Q(fe, null, _e(s(S).titles ?? [], (p, D) => (A(), Q("div", { key: D }, [
858
858
  m("div", un, [
859
859
  s(K).some((T) => T._id === p.id) ? (A(), re(d, {
860
860
  key: 1,
@@ -862,7 +862,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
862
862
  class: "flex-1"
863
863
  }, {
864
864
  default: ge(() => [
865
- D(e, {
865
+ I(e, {
866
866
  disabled: !0,
867
867
  class: "text-fm-color-typo-secondary"
868
868
  }, {
@@ -888,24 +888,24 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
888
888
  }
889
889
  )
890
890
  }, null, 8, ["modelValue", "onUpdate:modelValue", "items"])),
891
- D(t, {
891
+ I(t, {
892
892
  modelValue: p.expiredAt,
893
893
  "onUpdate:modelValue": (T) => p.expiredAt = T,
894
894
  class: "flex-1",
895
895
  label: "",
896
896
  "max-fraction-digits": 0
897
897
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
898
- D(h, {
898
+ I(h, {
899
899
  class: "w-24 h-24",
900
900
  icon: "close",
901
901
  variant: "tertiary",
902
902
  onClick: (T) => {
903
903
  var $;
904
- return ($ = s(S).titles) == null ? void 0 : $.splice(V, 1);
904
+ return ($ = s(S).titles) == null ? void 0 : $.splice(D, 1);
905
905
  }
906
906
  }, null, 8, ["onClick"])
907
907
  ]),
908
- (A(!0), Q(fe, null, _e(q(`titles.${V}`), (T, $) => (A(), re(b, {
908
+ (A(!0), Q(fe, null, _e(q(`titles.${D}`), (T, $) => (A(), re(b, {
909
909
  key: $,
910
910
  class: "items-center",
911
911
  state: "error",
@@ -918,16 +918,16 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
918
918
  label: "Give title",
919
919
  variant: "plain",
920
920
  onClick: v[3] || (v[3] = (p) => {
921
- var V;
921
+ var D;
922
922
  return s(S).titles = [
923
923
  ...s(S).titles ?? [],
924
924
  {
925
- id: ((V = s(G).find(
925
+ id: ((D = s(G).find(
926
926
  (T) => {
927
927
  var $;
928
928
  return !(($ = s(S).titles) != null && $.map((Z) => Z.id).includes(T.value));
929
929
  }
930
- )) == null ? void 0 : V.value) || s(G)[0].value,
930
+ )) == null ? void 0 : D.value) || s(G)[0].value,
931
931
  expiredAt: 0
932
932
  }
933
933
  ];
@@ -935,20 +935,20 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
935
935
  })) : xe("", !0)
936
936
  ]),
937
937
  m("div", cn, [
938
- dt(D(b, {
938
+ dt(I(b, {
939
939
  state: "warning",
940
940
  text: "Updating member will cause tier to change"
941
941
  }, null, 512), [
942
942
  [mt, s(l)]
943
943
  ]),
944
- D(O),
945
- D(h, {
944
+ I(O),
945
+ I(h, {
946
946
  variant: "secondary",
947
947
  label: "Cancel",
948
948
  size: "md",
949
949
  onClick: v[4] || (v[4] = (p) => s(E).close())
950
950
  }),
951
- D(h, {
951
+ I(h, {
952
952
  disabled: !!s(W),
953
953
  variant: "primary",
954
954
  label: "Submit",
@@ -1001,18 +1001,18 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1001
1001
  const W = U("FmStepperField"), R = U("FmSwitch"), q = U("FmTextarea"), j = U("FmButton"), z = U("FmCard");
1002
1002
  return A(), re(z, { class: "flex flex-col gap-16 p-16" }, {
1003
1003
  default: ge(() => {
1004
- var L, u, I, g, v, n;
1004
+ var L, u, V, g, v, n;
1005
1005
  return [
1006
1006
  m("div", mn, J(x.action == "send" ? "Send" : "Deduct") + " " + J(s(lt)[x.type.toUpperCase()].name), 1),
1007
1007
  m("div", fn, [
1008
- D(W, {
1008
+ I(W, {
1009
1009
  modelValue: s(_).amount,
1010
1010
  "onUpdate:modelValue": C[0] || (C[0] = (t) => s(_).amount = t),
1011
1011
  label: `${s(lt)[x.type.toUpperCase()].name} amount`,
1012
1012
  "is-currency": !0,
1013
1013
  "max-fraction-digits": 2,
1014
1014
  "helper-state": (L = s(w)) != null && L.amount ? "error" : void 0,
1015
- "helper-text": (I = (u = s(w)) == null ? void 0 : u.amount) == null ? void 0 : I[0]
1015
+ "helper-text": (V = (u = s(w)) == null ? void 0 : u.amount) == null ? void 0 : V[0]
1016
1016
  }, null, 8, ["modelValue", "label", "helper-state", "helper-text"]),
1017
1017
  F.action === "send" && x.type === "coin" ? (A(), re(R, {
1018
1018
  key: 0,
@@ -1032,20 +1032,20 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1032
1032
  "helper-state": (g = s(w)) != null && g.day ? "error" : void 0,
1033
1033
  "helper-text": (n = (v = s(w)) == null ? void 0 : v.day) == null ? void 0 : n[0]
1034
1034
  }, null, 8, ["modelValue", "label", "helper-state", "helper-text"])) : xe("", !0),
1035
- D(q, {
1035
+ I(q, {
1036
1036
  modelValue: s(_).remark,
1037
1037
  "onUpdate:modelValue": C[3] || (C[3] = (t) => s(_).remark = t),
1038
1038
  label: "Remark"
1039
1039
  }, null, 8, ["modelValue"])
1040
1040
  ]),
1041
1041
  m("div", pn, [
1042
- D(j, {
1042
+ I(j, {
1043
1043
  variant: "secondary",
1044
1044
  label: "Cancel",
1045
1045
  size: "md",
1046
1046
  onClick: C[4] || (C[4] = (t) => s(E).close())
1047
1047
  }),
1048
- D(j, {
1048
+ I(j, {
1049
1049
  disabled: !!s(w),
1050
1050
  variant: "primary",
1051
1051
  label: "Submit",
@@ -1077,10 +1077,10 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1077
1077
  }), vn = { class: "flex flex-col flex-nowrap gap-y-24 max-h-full" }, yn = { class: "space-y-16" }, gn = { class: "flex gap-16 items-center" }, xn = { class: "flex-auto" }, hn = { class: "fm-typo-en-body-md-600" }, Sn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Cn = { class: "fm-typo-en-body-md-800" }, Tn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _n = { class: "fm-typo-en-body-md-600" }, wn = { class: "gap-16 grid grid-cols-2" }, An = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, kn = { class: "fm-typo-en-body-md-600" }, Nn = { class: "space-y-8" }, Mn = {
1078
1078
  key: 0,
1079
1079
  class: "space-x-8"
1080
- }, Dn = {
1080
+ }, In = {
1081
1081
  key: 1,
1082
1082
  class: "text-fm-color-typo-secondary"
1083
- }, In = { class: "space-y-8" }, Vn = ["src"], En = { class: "fm-typo-en-body-md-600" }, $n = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Rn = {
1083
+ }, Vn = { class: "space-y-8" }, Dn = ["src"], En = { class: "fm-typo-en-body-md-600" }, $n = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Rn = {
1084
1084
  key: 1,
1085
1085
  class: "text-fm-color-typo-secondary"
1086
1086
  }, Ln = {
@@ -1158,8 +1158,8 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1158
1158
  {
1159
1159
  label: "Tier",
1160
1160
  getter: (o) => {
1161
- var P, X, p, V, T;
1162
- const e = (((X = ut.first((P = w.member.collection) == null ? void 0 : P.TIER)) == null ? void 0 : X.balance) || 0) - 1, d = L.value.name, h = ((V = (p = o.collection) == null ? void 0 : p.POINT) == null ? void 0 : V[0].balance) ?? 0, b = K.sortedTiers[e + 1], O = ((T = b == null ? void 0 : b.option) == null ? void 0 : T.to) ?? 1 / 0;
1161
+ var P, X, p, D, T;
1162
+ const e = (((X = ut.first((P = w.member.collection) == null ? void 0 : P.TIER)) == null ? void 0 : X.balance) || 0) - 1, d = L.value.name, h = ((D = (p = o.collection) == null ? void 0 : p.POINT) == null ? void 0 : D[0].balance) ?? 0, b = K.sortedTiers[e + 1], O = ((T = b == null ? void 0 : b.option) == null ? void 0 : T.to) ?? 1 / 0;
1163
1163
  return `${d} (${h}/${O})`;
1164
1164
  }
1165
1165
  },
@@ -1198,7 +1198,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1198
1198
  },
1199
1199
  {
1200
1200
  label: "Average spend",
1201
- getter: (o) => jt.Dinero.fromNumber({ number: Number(o.stats.avgBillSize || 0) }).toFormat(
1201
+ getter: (o) => jt.fromNumber({ number: Number(o.stats.avgBillSize || 0) }).toFormat(
1202
1202
  !0
1203
1203
  )
1204
1204
  }
@@ -1233,12 +1233,12 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1233
1233
  }).filter(
1234
1234
  (e) => e.expiredAt ? M(e.expiredAt).isAfter(M()) : !0
1235
1235
  );
1236
- }), I = ce(!0);
1236
+ }), V = ce(!0);
1237
1237
  function g() {
1238
- I.value = !0, t.value = n[0];
1238
+ V.value = !0, t.value = n[0];
1239
1239
  }
1240
1240
  function v() {
1241
- I.value = !1;
1241
+ V.value = !1;
1242
1242
  }
1243
1243
  const n = [
1244
1244
  {
@@ -1258,8 +1258,8 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1258
1258
  }), (o, e) => {
1259
1259
  const d = U("FmTabs"), h = U("FmAvatar"), b = U("FmButton"), O = U("FmChip"), P = U("FmCard"), X = U("FmSideSheet");
1260
1260
  return A(), re(X, {
1261
- modelValue: s(I),
1262
- "onUpdate:modelValue": e[5] || (e[5] = (p) => Bt(I) ? I.value = p : null),
1261
+ modelValue: s(V),
1262
+ "onUpdate:modelValue": e[5] || (e[5] = (p) => Bt(V) ? V.value = p : null),
1263
1263
  header: "Member Detail",
1264
1264
  "dismiss-away": "",
1265
1265
  "close-button": !0,
@@ -1268,16 +1268,16 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1268
1268
  "side-sheet-footer": ge(() => e[19] || (e[19] = [])),
1269
1269
  default: ge(() => [
1270
1270
  m("div", vn, [
1271
- D(d, {
1271
+ I(d, {
1272
1272
  "model-value": s(t).value,
1273
1273
  items: n,
1274
- "onUpdate:modelValue": e[0] || (e[0] = (p) => t.value = n.find((V) => V.value === p))
1274
+ "onUpdate:modelValue": e[0] || (e[0] = (p) => t.value = n.find((D) => D.value === p))
1275
1275
  }, null, 8, ["model-value"]),
1276
1276
  s(t).value == "overview" ? (A(), Q(fe, { key: 0 }, [
1277
1277
  e[10] || (e[10] = m("div", { class: "fm-typo-en-title-sm-800" }, "Profile Information", -1)),
1278
1278
  m("div", yn, [
1279
1279
  m("div", gn, [
1280
- D(h, {
1280
+ I(h, {
1281
1281
  name: F.member.photoUrl ? void 0 : F.member.name,
1282
1282
  src: F.member.photoUrl || void 0
1283
1283
  }, null, 8, ["name", "src"]),
@@ -1290,13 +1290,13 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1290
1290
  m("span", Cn, J(F.member.cardNo ? F.member.cardNo : "-"), 1)
1291
1291
  ])
1292
1292
  ]),
1293
- D(b, {
1293
+ I(b, {
1294
1294
  variant: "tertiary",
1295
1295
  icon: "settings",
1296
1296
  onClick: q
1297
1297
  })
1298
1298
  ]),
1299
- (A(), Q(fe, null, _e(j, (p, V) => m("div", { key: V }, [
1299
+ (A(), Q(fe, null, _e(j, (p, D) => m("div", { key: D }, [
1300
1300
  m("div", Tn, J(p.label), 1),
1301
1301
  m("div", _n, J(p.key ? F.member[p.key] : p.getter(F.member)), 1)
1302
1302
  ])), 64))
@@ -1318,10 +1318,10 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1318
1318
  (A(!0), Q(fe, null, _e(s(W), (p) => (A(), re(O, {
1319
1319
  label: p.toString()
1320
1320
  }, null, 8, ["label"]))), 256))
1321
- ])) : (A(), Q("div", Dn, "No titles"))
1321
+ ])) : (A(), Q("div", In, "No titles"))
1322
1322
  ]),
1323
1323
  e[14] || (e[14] = m("div", { class: "border-fm-color-neutral-gray-100 rounded-sm border-t" }, null, -1)),
1324
- m("div", In, [
1324
+ m("div", Vn, [
1325
1325
  e[9] || (e[9] = m("div", { class: "fm-typo-en-title-sm-800" }, "Title badge", -1)),
1326
1326
  s(u).length ? (A(!0), Q(fe, { key: 0 }, _e(s(u).filter((p) => p.collectible), (p) => (A(), Q("div", {
1327
1327
  class: "flex items-center gap-x-8 h-48",
@@ -1330,7 +1330,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1330
1330
  m("img", {
1331
1331
  src: p.collectible.image || "/titles/type=drinks.png",
1332
1332
  class: "aspect-square h-full object-contain"
1333
- }, null, 8, Vn),
1333
+ }, null, 8, Dn),
1334
1334
  m("div", null, [
1335
1335
  m("div", En, J(p.name), 1),
1336
1336
  m("div", $n, " Expired on " + J(s(M)(p.expiredAt).format("MMM D, Y")), 1)
@@ -1338,16 +1338,16 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1338
1338
  ]))), 128)) : (A(), Q("div", Rn, "No titles"))
1339
1339
  ])
1340
1340
  ], 64)) : s(t).value == "loyalty" ? (A(), Q("div", Ln, [
1341
- D(P, {
1341
+ I(P, {
1342
1342
  class: "p-16 space-y-24",
1343
1343
  variant: "outlined"
1344
1344
  }, {
1345
1345
  default: ge(() => {
1346
- var p, V, T, $, Z, oe, ee;
1346
+ var p, D, T, $, Z, oe, ee;
1347
1347
  return [
1348
1348
  m("div", Pn, [
1349
1349
  e[15] || (e[15] = m("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Credit ", -1)),
1350
- m("div", On, J(((T = (V = (p = F.member.collection) == null ? void 0 : p.CREDIT) == null ? void 0 : V[0]) == null ? void 0 : T.balance) ?? 0), 1)
1350
+ m("div", On, J(((T = (D = (p = F.member.collection) == null ? void 0 : p.CREDIT) == null ? void 0 : D[0]) == null ? void 0 : T.balance) ?? 0), 1)
1351
1351
  ]),
1352
1352
  m("div", Bn, [
1353
1353
  e[16] || (e[16] = m("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Credit(s) to be expired in 30 days ", -1)),
@@ -1357,13 +1357,13 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1357
1357
  )) ?? 0), 1)
1358
1358
  ]),
1359
1359
  m("div", Yn, [
1360
- D(b, {
1360
+ I(b, {
1361
1361
  label: "Add credit",
1362
1362
  icon: "add",
1363
1363
  variant: "plain",
1364
1364
  onClick: e[1] || (e[1] = (H) => R("credit", "send"))
1365
1365
  }),
1366
- D(b, {
1366
+ I(b, {
1367
1367
  label: "Deduct credit",
1368
1368
  icon: "remove",
1369
1369
  variant: "plain",
@@ -1374,16 +1374,16 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1374
1374
  }),
1375
1375
  _: 1
1376
1376
  }),
1377
- D(P, {
1377
+ I(P, {
1378
1378
  class: "p-16 space-y-24",
1379
1379
  variant: "outlined"
1380
1380
  }, {
1381
1381
  default: ge(() => {
1382
- var p, V, T, $, Z, oe, ee;
1382
+ var p, D, T, $, Z, oe, ee;
1383
1383
  return [
1384
1384
  m("div", qn, [
1385
1385
  e[17] || (e[17] = m("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Point ", -1)),
1386
- m("div", jn, J(((T = (V = (p = F.member.collection) == null ? void 0 : p.COIN) == null ? void 0 : V[0]) == null ? void 0 : T.balance) ?? 0), 1)
1386
+ m("div", jn, J(((T = (D = (p = F.member.collection) == null ? void 0 : p.COIN) == null ? void 0 : D[0]) == null ? void 0 : T.balance) ?? 0), 1)
1387
1387
  ]),
1388
1388
  m("div", zn, [
1389
1389
  e[18] || (e[18] = m("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Point(s) to be expired in 30 days ", -1)),
@@ -1393,13 +1393,13 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1393
1393
  )) ?? 0), 1)
1394
1394
  ]),
1395
1395
  m("div", Gn, [
1396
- D(b, {
1396
+ I(b, {
1397
1397
  label: "Add point",
1398
1398
  icon: "add",
1399
1399
  variant: "plain",
1400
1400
  onClick: e[3] || (e[3] = (H) => R("coin", "send"))
1401
1401
  }),
1402
- D(b, {
1402
+ I(b, {
1403
1403
  label: "Deduct point",
1404
1404
  icon: "remove",
1405
1405
  variant: "plain",
@@ -1511,13 +1511,13 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1511
1511
  (t = n.row.original.stats) != null && t.lastVisit ? M((o = n.row.original.stats) == null ? void 0 : o.lastVisit).fromNow() : "NA"
1512
1512
  ),
1513
1513
  ye(
1514
- De.FmTooltip,
1514
+ Ie.FmTooltip,
1515
1515
  {
1516
1516
  content: M(n.row.original.stats.lastVisit).format(
1517
1517
  "D MMM YYYY - hh:mmA"
1518
1518
  )
1519
1519
  },
1520
- [ye(De.FmIcon, { name: "info", outline: !0, size: "sm" })]
1520
+ [ye(Ie.FmIcon, { name: "info", outline: !0, size: "sm" })]
1521
1521
  )
1522
1522
  ]);
1523
1523
  }
@@ -1526,7 +1526,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1526
1526
  id: "actions",
1527
1527
  cell(n) {
1528
1528
  return ye(
1529
- De.FmMenu,
1529
+ Ie.FmMenu,
1530
1530
  {
1531
1531
  placement: "bottom-end",
1532
1532
  onClick: (t) => {
@@ -1534,9 +1534,9 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1534
1534
  }
1535
1535
  },
1536
1536
  {
1537
- "menu-button": () => ye(De.FmButton, { icon: "more_vert", variant: "tertiary" }),
1537
+ "menu-button": () => ye(Ie.FmButton, { icon: "more_vert", variant: "tertiary" }),
1538
1538
  default: () => [
1539
- ye(De.FmMenuItem, {
1539
+ ye(Ie.FmMenuItem, {
1540
1540
  label: "Transaction details",
1541
1541
  onClick: async (t) => {
1542
1542
  t.stopPropagation(), await u(n.row.original._id);
@@ -1562,7 +1562,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1562
1562
  params: { id: n }
1563
1563
  });
1564
1564
  }
1565
- const I = {
1565
+ const V = {
1566
1566
  sortBy: "_id",
1567
1567
  descending: !1,
1568
1568
  rowsPerPage: 1e3,
@@ -1577,19 +1577,19 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1577
1577
  const n = new rn(), t = (await ue.read({
1578
1578
  limit: 1,
1579
1579
  skip: 0,
1580
- sortBy: I.sortBy,
1581
- descending: I.descending
1582
- })).meta.totalResources ?? 0, o = I.rowsPerPage;
1580
+ sortBy: V.sortBy,
1581
+ descending: V.descending
1582
+ })).meta.totalResources ?? 0, o = V.rowsPerPage;
1583
1583
  await K(
1584
1584
  async () => {
1585
- var e, d, h, b, O, P, X, p, V, T, $, Z, oe, ee, H, B, Ie, Ve, we, k, he, Se, Ee, Ae, $e, Re, ke;
1585
+ var e, d, h, b, O, P, X, p, D, T, $, Z, oe, ee, H, B, Ve, De, we, k, he, Se, Ee, Ae, $e, Re, ke;
1586
1586
  for (let de = 0; de < t; de += o) {
1587
1587
  const ze = {
1588
- ...I,
1588
+ ...V,
1589
1589
  limit: o,
1590
- skip: I.page - 1,
1591
- sortBy: I.sortBy,
1592
- descending: I.descending
1590
+ skip: V.page - 1,
1591
+ sortBy: V.sortBy,
1592
+ descending: V.descending
1593
1593
  }, me = await ue.read(ze);
1594
1594
  for (const f of me.resources) {
1595
1595
  const Ke = (e = an.parseOneAddress(
@@ -1612,7 +1612,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1612
1612
  return te[ie.name] = be ? M(be).format("DD/MM/YYYY") : "", te;
1613
1613
  },
1614
1614
  {}
1615
- ), Oe = ((P = (O = (b = f.collection) == null ? void 0 : b.CREDIT) == null ? void 0 : O.at(0)) == null ? void 0 : P.balance) || 0, Fe = ((T = (V = (p = (X = f.collection) == null ? void 0 : X.CREDIT) == null ? void 0 : p.at(0)) == null ? void 0 : V.expiryBalance) == null ? void 0 : T.reduce(
1615
+ ), Oe = ((P = (O = (b = f.collection) == null ? void 0 : b.CREDIT) == null ? void 0 : O.at(0)) == null ? void 0 : P.balance) || 0, Fe = ((T = (D = (p = (X = f.collection) == null ? void 0 : X.CREDIT) == null ? void 0 : p.at(0)) == null ? void 0 : D.expiryBalance) == null ? void 0 : T.reduce(
1616
1616
  (te, ie) => te + ie.amount,
1617
1617
  0
1618
1618
  )) || 0, pe = qe(Oe, 2), Ge = {
@@ -1627,7 +1627,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1627
1627
  FreeCredit: Number(Fe.toFixed(2)),
1628
1628
  TotalCredit: Number(pe),
1629
1629
  Exp: f != null && f.collection ? ((H = (ee = (oe = f.collection) == null ? void 0 : oe.POINT) == null ? void 0 : ee.at(0)) == null ? void 0 : H.balance) ?? 0 : 0,
1630
- Point: f != null && f.collection ? ((Ve = (Ie = (B = f.collection) == null ? void 0 : B.COIN) == null ? void 0 : Ie.at(0)) == null ? void 0 : Ve.balance) ?? 0 : 0,
1630
+ Point: f != null && f.collection ? ((De = (Ve = (B = f.collection) == null ? void 0 : B.COIN) == null ? void 0 : Ve.at(0)) == null ? void 0 : De.balance) ?? 0 : 0,
1631
1631
  Level: f != null && f.collection ? ((he = (k = (we = f.collection) == null ? void 0 : we.TIER) == null ? void 0 : k.at(0)) == null ? void 0 : he.balance) ?? 0 : 0,
1632
1632
  Tier: f != null && f.collection ? ((Ae = (Ee = (Se = f.collection) == null ? void 0 : Se.TIER) == null ? void 0 : Ee.at(0)) == null ? void 0 : Ae.balance) ?? 0 : 0,
1633
1633
  Titles: Le.join(","),
@@ -1648,7 +1648,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1648
1648
  };
1649
1649
  n.addRecord(Ge);
1650
1650
  }
1651
- I.page++;
1651
+ V.page++;
1652
1652
  }
1653
1653
  await Yt(
1654
1654
  n.buildExcel(),
@@ -1658,7 +1658,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1658
1658
  bookSST: !1,
1659
1659
  type: "array"
1660
1660
  }
1661
- ), I.page = 1;
1661
+ ), V.page = 1;
1662
1662
  },
1663
1663
  {
1664
1664
  message: "Exporting member...",
@@ -1672,7 +1672,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1672
1672
  const o = U("FmSearch"), e = U("FmButton"), d = U("FmSnackbar");
1673
1673
  return A(), Q("div", null, [
1674
1674
  m("div", Hn, [
1675
- D(o, {
1675
+ I(o, {
1676
1676
  class: "mt-4",
1677
1677
  modelValue: s(Y).searchValue,
1678
1678
  "onUpdate:modelValue": [
@@ -1682,13 +1682,13 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1682
1682
  placeholder: "Search",
1683
1683
  collapsible: ""
1684
1684
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1685
- D(e, {
1685
+ I(e, {
1686
1686
  icon: "ios_share",
1687
1687
  variant: "tertiary",
1688
1688
  onClick: v
1689
1689
  })
1690
1690
  ]),
1691
- dt(D(d, {
1691
+ dt(I(d, {
1692
1692
  "z-index": 0,
1693
1693
  class: "!max-w-full my-16",
1694
1694
  title: "Info",
@@ -1701,7 +1701,7 @@ const an = /* @__PURE__ */ Ut(on), sn = { class: "flex flex-col" }, ln = { key:
1701
1701
  }, null, 512), [
1702
1702
  [mt, s(q)]
1703
1703
  ]),
1704
- D(Qt, {
1704
+ I(Qt, {
1705
1705
  loading: s(Y).isLoading,
1706
1706
  "row-data": s(w),
1707
1707
  "row-count": s(Y).totalRows,