@feedmepos/mf-brand-app-builder 0.5.14-alpha.4 → 0.5.14

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 (86) hide show
  1. package/dist/App-DZzvEb1n.js +101 -0
  2. package/dist/{AssetsSettings-5n_2qRjG.js → AssetsSettings-BNqB22rl.js} +102 -91
  3. package/dist/BuilderView-CdxiU_5V.js +5498 -0
  4. package/dist/ColorPicker-Bz8yOMlS.js +22 -0
  5. package/dist/{ImageUpload-DXagbr9d.js → ImageUpload-Cpkzp4iS.js} +16 -16
  6. package/dist/{LinkButton-B7xgRAIw.js → LinkButton-D0MS93kZ.js} +44 -44
  7. package/dist/{ListRepeater-vOdEfxqj.js → ListRepeater-B_aON8eJ.js} +1 -1
  8. package/dist/{ManagementSettings-BE16MVVb.js → ManagementSettings-ljpWqE-1.js} +61 -44
  9. package/dist/StepperField-xVvcmxNx.js +29 -0
  10. package/dist/{app-B9Ng1g2b.js → app-BSofsfPH.js} +72 -131
  11. package/dist/app.js +1 -1
  12. package/dist/components/src/components/Homepage.vue.d.ts +0 -2
  13. package/dist/components/src/components/atoms/Container.vue.d.ts +0 -1
  14. package/dist/components/src/main.d.ts +1 -10
  15. package/dist/{image-CgXjWyqN.js → image-Dm7AsBZX.js} +8 -8
  16. package/dist/{index-BakrTyC_.js → index-B0O5NxWl.js} +1 -2
  17. package/dist/{index-DKsLsGlf.js → index-BZ63ygCw.js} +1 -1
  18. package/dist/{vue-sonner-CBFYmm8_.js → index-CAfpg2Eg.js} +326 -256
  19. package/dist/index-CJXFGv-u.js +188 -0
  20. package/dist/main-BnnUrWK-.js +6725 -0
  21. package/dist/merchant/src/api/template/index.d.ts +2 -2
  22. package/dist/merchant/src/app.d.ts +1 -1
  23. package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +0 -1
  24. package/dist/merchant/src/composables/useNode/index.d.ts +1 -1
  25. package/dist/merchant/src/node-configs/branch-list/props.d.ts +0 -1
  26. package/dist/merchant/src/node-configs/button-list/props.d.ts +0 -1
  27. package/dist/merchant/src/node-configs/carousel/props.d.ts +0 -1
  28. package/dist/merchant/src/node-configs/container/props.d.ts +0 -28
  29. package/dist/merchant/src/node-configs/display-image/props.d.ts +0 -1
  30. package/dist/merchant/src/node-configs/display-text/props.d.ts +0 -1
  31. package/dist/merchant/src/node-configs/member-card/props.d.ts +0 -1
  32. package/dist/merchant/src/node-configs/mock-data.d.ts +1 -5
  33. package/dist/merchant/src/node-configs/order-history-card/props.d.ts +0 -1
  34. package/dist/merchant/src/node-configs/order-method/props.d.ts +0 -1
  35. package/dist/merchant/src/node-configs/props.d.ts +1 -9
  36. package/dist/merchant/src/node-configs/schema.d.ts +1 -9
  37. package/dist/merchant/src/stores/editor/index.d.ts +1 -1
  38. package/dist/merchant/src/stores/template/index.d.ts +9 -88
  39. package/dist/package.json +2 -5
  40. package/dist/style.css +1 -1
  41. package/package.json +2 -5
  42. package/dist/App-CWHXI9Wx.js +0 -109
  43. package/dist/BaDivider-Cp9gfB4r.js +0 -10
  44. package/dist/BuilderView-CczmL4SM.js +0 -9307
  45. package/dist/ColorPicker-CD7uePb_.js +0 -590
  46. package/dist/ProjectView-ww03hVq3.js +0 -602
  47. package/dist/StepperField-nyaUK9ht.js +0 -30
  48. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  49. package/dist/components/src/components/Member/MemberAchievements.vue.d.ts +0 -33
  50. package/dist/components/src/components/Member/MemberButtonList.vue.d.ts +0 -21
  51. package/dist/components/src/components/Member/MemberCards.vue.d.ts +0 -19
  52. package/dist/components/src/components/Member/MemberSummary.vue.d.ts +0 -24
  53. package/dist/components/src/components/Member/TransactionList.vue.d.ts +0 -5
  54. package/dist/components/src/components/NavigationBar.vue.d.ts +0 -17
  55. package/dist/components/src/utils/date.d.ts +0 -22
  56. package/dist/components/src/views/_Credit.vue.d.ts +0 -20
  57. package/dist/components/src/views/_MemberProfile.vue.d.ts +0 -39
  58. package/dist/components/src/views/_Point.vue.d.ts +0 -20
  59. package/dist/components/src/views/_Referral.vue.d.ts +0 -31
  60. package/dist/components/src/views/_ReferralTutorial.vue.d.ts +0 -23
  61. package/dist/index-BAS2oeyj.js +0 -198
  62. package/dist/index-XrsRjG_o.js +0 -73
  63. package/dist/main-Cuvlrh4r.js +0 -7981
  64. package/dist/merchant/src/node-configs/member-achievements/mock-data.d.ts +0 -15
  65. package/dist/merchant/src/node-configs/member-achievements/props.d.ts +0 -40
  66. package/dist/merchant/src/node-configs/member-achievements/schema.d.ts +0 -2
  67. package/dist/merchant/src/node-configs/member-button-list/props.d.ts +0 -31
  68. package/dist/merchant/src/node-configs/member-button-list/schema.d.ts +0 -2
  69. package/dist/merchant/src/node-configs/member-cards/mock-data.d.ts +0 -3
  70. package/dist/merchant/src/node-configs/member-cards/props.d.ts +0 -24
  71. package/dist/merchant/src/node-configs/member-cards/schema.d.ts +0 -2
  72. package/dist/merchant/src/node-configs/member-history/mock-data.d.ts +0 -843
  73. package/dist/merchant/src/node-configs/member-history/props.d.ts +0 -1692
  74. package/dist/merchant/src/node-configs/member-history/schema.d.ts +0 -3
  75. package/dist/merchant/src/node-configs/member-profile/props.d.ts +0 -449
  76. package/dist/merchant/src/node-configs/member-profile/schema.d.ts +0 -2
  77. package/dist/merchant/src/node-configs/member-referral/props.d.ts +0 -98
  78. package/dist/merchant/src/node-configs/member-referral/schema.d.ts +0 -2
  79. package/dist/merchant/src/node-configs/member-referral-tutorial/props.d.ts +0 -8
  80. package/dist/merchant/src/node-configs/member-referral-tutorial/schema.d.ts +0 -2
  81. package/dist/merchant/src/node-configs/member-summary/mock-data.d.ts +0 -9
  82. package/dist/merchant/src/node-configs/member-summary/props.d.ts +0 -32
  83. package/dist/merchant/src/node-configs/member-summary/schema.d.ts +0 -2
  84. package/dist/merchant/src/views/ProjectView.vue.d.ts +0 -2
  85. package/dist/merchant/src/views/views.d.ts +0 -11
  86. package/dist/views-Dd4l-D61.js +0 -89
@@ -3,17 +3,12 @@ const vo = [
3
3
  // {
4
4
  // path: '/',
5
5
  // name: 'home',
6
- // component: defineAsyncComponent(() => import('./merchant/src/views/HomeView.vue')),
6
+ // component: HomeView,
7
7
  // },
8
8
  {
9
- path: "/projects",
10
- name: "projects",
11
- component: L(() => import("./ProjectView-ww03hVq3.js"))
12
- },
13
- {
14
- path: "/builder/:templateId(.*)*",
9
+ path: "/builder",
15
10
  name: "builder",
16
- component: L(() => import("./BuilderView-CczmL4SM.js"))
11
+ component: L(() => import("./BuilderView-CdxiU_5V.js"))
17
12
  },
18
13
  {
19
14
  path: "/settings",
@@ -24,31 +19,27 @@ const vo = [
24
19
  {
25
20
  path: "assets",
26
21
  name: "settings-assets",
27
- component: L(
28
- () => import("./AssetsSettings-5n_2qRjG.js")
29
- )
22
+ component: L(() => import("./AssetsSettings-BNqB22rl.js"))
30
23
  },
31
24
  {
32
25
  path: "management",
33
26
  name: "settings-management",
34
- component: L(
35
- () => import("./ManagementSettings-BE16MVVb.js")
36
- )
27
+ component: L(() => import("./ManagementSettings-ljpWqE-1.js"))
37
28
  }
38
29
  ]
39
30
  },
40
31
  // temp until home view is done
41
32
  {
42
33
  path: "/",
43
- redirect: { name: "projects" }
34
+ redirect: { name: "builder" }
44
35
  },
45
36
  {
46
37
  path: "",
47
- redirect: { name: "projects" }
38
+ redirect: { name: "builder" }
48
39
  },
49
40
  {
50
41
  path: "/:pathMatch(.*)",
51
- redirect: { name: "projects" }
42
+ redirect: { name: "builder" }
52
43
  }
53
44
  ];
54
45
  var vr = [
@@ -126,20 +117,20 @@ function Cn(e) {
126
117
  n.reduce((s, i) => s.replace(i, r[i]), t)
127
118
  );
128
119
  }
129
- function Be(e) {
120
+ function Ue(e) {
130
121
  return Object.prototype.toString.call(e) === "[object Object]";
131
122
  }
132
123
  function je(e) {
133
- return Be(e) || Array.isArray(e);
124
+ return Ue(e) || Array.isArray(e);
134
125
  }
135
126
  function Se(e) {
136
- if (Be(e) === !1 || e.__FKNode__ || e.__POJO__ === !1)
127
+ if (Ue(e) === !1 || e.__FKNode__ || e.__POJO__ === !1)
137
128
  return !1;
138
129
  const t = e.constructor;
139
130
  if (t === void 0)
140
131
  return !0;
141
132
  const r = t.prototype;
142
- return !(Be(r) === !1 || r.hasOwnProperty("isPrototypeOf") === !1);
133
+ return !(Ue(r) === !1 || r.hasOwnProperty("isPrototypeOf") === !1);
143
134
  }
144
135
  var le = /* @__NO_SIDE_EFFECTS__ */ (e, t, r = !1, n = !1) => {
145
136
  if (t === null)
@@ -247,7 +238,7 @@ function Ae(e, t = vr) {
247
238
  });
248
239
  return r;
249
240
  }
250
- function B(e) {
241
+ function U(e) {
251
242
  return typeof e == "object" ? Ae(e) : e;
252
243
  }
253
244
  function In(e, t) {
@@ -395,7 +386,7 @@ var Tt = {
395
386
  remove: br,
396
387
  filter: Tn,
397
388
  reduce: Kn,
398
- release: Un,
389
+ release: Bn,
399
390
  touch: qn
400
391
  };
401
392
  function Dn(e = !1) {
@@ -515,10 +506,10 @@ function $r(e, t) {
515
506
  }
516
507
  );
517
508
  }
518
- function Un(e, t) {
509
+ function Bn(e, t) {
519
510
  t.buffer = !1, t._b.forEach(([r, n]) => t.apply(r, n)), t._b = [];
520
511
  }
521
- function Bn() {
512
+ function Un() {
522
513
  const e = {};
523
514
  let t;
524
515
  return {
@@ -650,11 +641,11 @@ function kr(e, t) {
650
641
  const r = typeof e == "string" ? Ve(e) : e;
651
642
  if (r) {
652
643
  const n = (a) => {
653
- const l = B(a.props.initial);
644
+ const l = U(a.props.initial);
654
645
  return l !== void 0 ? l : a.type === "group" ? {} : a.type === "list" ? [] : void 0;
655
646
  };
656
647
  r._e.pause(r);
657
- const s = B(t);
648
+ const s = U(t);
658
649
  return t && !Z(t) && (r.props.initial = je(s) ? Ce(s) : s, r.props._init = r.props.initial), r.input(n(r), !1), r.walk((a) => {
659
650
  a.type === "list" && a.sync || a.input(n(a), !1);
660
651
  }), r.input(
@@ -876,7 +867,7 @@ function ys(e, t, r) {
876
867
  Array.isArray(r) || n.forEach((o) => {
877
868
  "default" in r[o] && e.props[o] === void 0 && (e.props[o] = s[o]);
878
869
  });
879
- const l = B(t._value);
870
+ const l = U(t._value);
880
871
  e.props.initial = e.type !== "input" ? Ce(l) : l, e.props._emit = !0, e.props.attrs = a;
881
872
  }
882
873
  const i = Ir(e.props.__propDefs ?? [], r);
@@ -1092,7 +1083,7 @@ function Vs(e, t, r = !0, n) {
1092
1083
  }
1093
1084
  function Ns(e) {
1094
1085
  const t = {
1095
- initial: typeof e == "object" ? B(e) : e
1086
+ initial: typeof e == "object" ? U(e) : e
1096
1087
  };
1097
1088
  let r, n = !0, s = {};
1098
1089
  return new Proxy(t, {
@@ -1100,7 +1091,7 @@ function Ns(e) {
1100
1091
  var v, h, O, g;
1101
1092
  const [a, l] = i;
1102
1093
  let o;
1103
- P(t, l) ? (o = Reflect.get(...i), (v = s[l]) != null && v.boolean && (o = Rn(o))) : r && typeof l == "string" && r.config[l] !== void 0 ? (o = r.config[l], l === "mergeStrategy" && (r == null ? void 0 : r.type) === "input" && Be(o) && r.name in o && (o = o[r.name])) : o = (h = s[l]) == null ? void 0 : h.default;
1094
+ P(t, l) ? (o = Reflect.get(...i), (v = s[l]) != null && v.boolean && (o = Rn(o))) : r && typeof l == "string" && r.config[l] !== void 0 ? (o = r.config[l], l === "mergeStrategy" && (r == null ? void 0 : r.type) === "input" && Ue(o) && r.name in o && (o = o[r.name])) : o = (h = s[l]) == null ? void 0 : h.default;
1104
1095
  const y = (O = s[l]) == null ? void 0 : O.getter;
1105
1096
  return (g = s[l]) != null && g.boolean && (o = !!o), y ? y(o, r) : o;
1106
1097
  },
@@ -1149,7 +1140,7 @@ function qs(e) {
1149
1140
  hook: is(),
1150
1141
  isCreated: !1,
1151
1142
  isSettled: !0,
1152
- ledger: Bn(),
1143
+ ledger: Un(),
1153
1144
  name: ls(e),
1154
1145
  parent: e.parent || null,
1155
1146
  plugins: /* @__PURE__ */ new Set(),
@@ -1228,7 +1219,7 @@ function he(e) {
1228
1219
  function Hs(e) {
1229
1220
  return typeof e != "string" && "$formkit" in e;
1230
1221
  }
1231
- function Us(e) {
1222
+ function Bs(e) {
1232
1223
  if (typeof e == "string")
1233
1224
  return {
1234
1225
  $el: "text",
@@ -1439,7 +1430,7 @@ function He(e, t, r) {
1439
1430
  r(t, e)
1440
1431
  ) : r : {};
1441
1432
  }
1442
- function Bs(e, t, ...r) {
1433
+ function Us(e, t, ...r) {
1443
1434
  const n = r.reduce((s, i) => {
1444
1435
  if (!i)
1445
1436
  return at(s);
@@ -1713,9 +1704,9 @@ var Gs = Nr, Js = function({ value: e }, t = !1) {
1713
1704
  latin: /^[a-z]+$/
1714
1705
  }, n = P(r, t) ? t : "default";
1715
1706
  return r[n].test(String(e));
1716
- }, Ui = Hi, Bi = function({ value: t }, ...r) {
1707
+ }, Bi = Hi, Ui = function({ value: t }, ...r) {
1717
1708
  return r.some((n) => (typeof n == "string" && n.substr(0, 1) === "/" && n.substr(-1) === "/" && (n = new RegExp(n.substr(1, n.length - 2))), n instanceof RegExp ? n.test(String(t)) : n === t));
1718
- }, Zi = Bi, Yi = function({ value: t }, r = 10) {
1709
+ }, Zi = Ui, Yi = function({ value: t }, r = 10) {
1719
1710
  return Array.isArray(t) ? t.length <= r : Number(t) <= Number(r);
1720
1711
  }, Gi = Yi, Ji = function({ value: t }, r = 1) {
1721
1712
  return Array.isArray(t) ? t.length >= r : Number(t) >= Number(r);
@@ -1779,7 +1770,7 @@ const ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1779
1770
  ends_with: qi,
1780
1771
  is: Ki,
1781
1772
  length: Wi,
1782
- lowercase: Ui,
1773
+ lowercase: Bi,
1783
1774
  matches: Zi,
1784
1775
  max: Gi,
1785
1776
  min: Qi,
@@ -1801,20 +1792,20 @@ var _t = /* @__PURE__ */ H({
1801
1792
  });
1802
1793
  function da(e = {}) {
1803
1794
  return function(r) {
1804
- let n = B(r.props.validationRules || {}), s = { ...e, ...n };
1795
+ let n = U(r.props.validationRules || {}), s = { ...e, ...n };
1805
1796
  const i = { input: Ee(), rerun: null, isPassing: !0 };
1806
- let a = B(r.props.validation);
1797
+ let a = U(r.props.validation);
1807
1798
  r.on("prop:validation", ({ payload: o }) => l(o, n)), r.on(
1808
1799
  "prop:validationRules",
1809
1800
  ({ payload: o }) => l(a, o)
1810
1801
  );
1811
1802
  function l(o, y) {
1812
1803
  var v;
1813
- T(Object.keys(n || {}), Object.keys(y || {})) && T(a, o) || (n = B(y), a = B(o), s = { ...e, ...n }, (v = r.props.parsedRules) == null || v.forEach((h) => {
1804
+ T(Object.keys(n || {}), Object.keys(y || {})) && T(a, o) || (n = U(y), a = U(o), s = { ...e, ...n }, (v = r.props.parsedRules) == null || v.forEach((h) => {
1814
1805
  qr(h), jr(h.observer.receipts), h.observer.kill();
1815
- }), r.store.filter(() => !1, "validation"), r.props.parsedRules = Ut(o, s, r), i.isPassing = !0, wt(r, r.props.parsedRules, i));
1806
+ }), r.store.filter(() => !1, "validation"), r.props.parsedRules = Bt(o, s, r), i.isPassing = !0, wt(r, r.props.parsedRules, i));
1816
1807
  }
1817
- r.props.parsedRules = Ut(a, s, r), wt(r, r.props.parsedRules, i);
1808
+ r.props.parsedRules = Bt(a, s, r), wt(r, r.props.parsedRules, i);
1818
1809
  };
1819
1810
  }
1820
1811
  function wt(e, t, r) {
@@ -1952,7 +1943,7 @@ var Kr = "(?:[\\*+?()0-9]+)", zr = "[a-zA-Z][a-zA-Z0-9_]+", ba = new RegExp(
1952
1943
  skipEmpty: !0,
1953
1944
  name: ""
1954
1945
  };
1955
- function Ut(e, t, r) {
1946
+ function Bt(e, t, r) {
1956
1947
  return e ? (typeof e == "string" ? ka(e) : Ae(e)).reduce((s, i) => {
1957
1948
  let a = i.shift();
1958
1949
  const l = {};
@@ -2020,7 +2011,7 @@ function Ca(e, t) {
2020
2011
  function I(e) {
2021
2012
  return e[0].toUpperCase() + e.substr(1);
2022
2013
  }
2023
- function Bt(e, t = "or") {
2014
+ function Ut(e, t = "or") {
2024
2015
  return e.reduce((r, n, s) => (r += n, s <= e.length - 2 && e.length > 2 && (r += ", "), s === e.length - 2 && (r += `${e.length === 2 ? " " : ""}${t} `), r), "");
2025
2016
  }
2026
2017
  function Ke(e) {
@@ -2274,7 +2265,7 @@ var Ea = {
2274
2265
  * @see {@link https://formkit.com/essentials/validation#ends-with}
2275
2266
  */
2276
2267
  ends_with({ name: e, args: t }) {
2277
- return `${I(e)} doesn’t end with ${Bt(t)}.`;
2268
+ return `${I(e)} doesn’t end with ${Ut(t)}.`;
2278
2269
  },
2279
2270
  /**
2280
2271
  * Is not an allowed value
@@ -2356,7 +2347,7 @@ var Ea = {
2356
2347
  * @see {@link https://formkit.com/essentials/validation#starts-with}
2357
2348
  */
2358
2349
  starts_with({ name: e, args: t }) {
2359
- return `${I(e)} doesn’t start with ${Bt(t)}.`;
2350
+ return `${I(e)} doesn’t start with ${Ut(t)}.`;
2360
2351
  },
2361
2352
  /**
2362
2353
  * Is not a url
@@ -2554,13 +2545,13 @@ var Fa = /* @__PURE__ */ A("actions", () => ({
2554
2545
  attrs: {
2555
2546
  id: '$: "help-" + $option.attrs.id'
2556
2547
  }
2557
- })), Qe = /* @__PURE__ */ A("inner", "span"), Xe = /* @__PURE__ */ A("label", "span"), Ur = /* @__PURE__ */ A("option", () => ({
2548
+ })), Qe = /* @__PURE__ */ A("inner", "span"), Xe = /* @__PURE__ */ A("label", "span"), Br = /* @__PURE__ */ A("option", () => ({
2558
2549
  $el: "li",
2559
2550
  for: ["option", "$options"],
2560
2551
  attrs: {
2561
2552
  "data-disabled": "$option.attrs.disabled || $disabled || undefined"
2562
2553
  }
2563
- })), Br = /* @__PURE__ */ A("options", "ul"), et = /* @__PURE__ */ A("wrapper", () => ({
2554
+ })), Ur = /* @__PURE__ */ A("options", "ul"), et = /* @__PURE__ */ A("wrapper", () => ({
2564
2555
  $el: "label",
2565
2556
  attrs: {
2566
2557
  "data-disabled": {
@@ -2744,7 +2735,7 @@ var Fa = /* @__PURE__ */ A("actions", () => ({
2744
2735
  "aria-describedby": "$describedBy",
2745
2736
  "aria-required": "$state.required || undefined"
2746
2737
  }
2747
- })), Ua = /* @__PURE__ */ A("submit", () => ({
2738
+ })), Ba = /* @__PURE__ */ A("submit", () => ({
2748
2739
  $cmp: "FormKit",
2749
2740
  bind: "$submitAttrs",
2750
2741
  props: {
@@ -2765,7 +2756,7 @@ var Fa = /* @__PURE__ */ A("actions", () => ({
2765
2756
  "aria-describedby": "$describedBy",
2766
2757
  "aria-required": "$state.required || undefined"
2767
2758
  }
2768
- })), Ba = /* @__PURE__ */ A("input", () => ({
2759
+ })), Ua = /* @__PURE__ */ A("input", () => ({
2769
2760
  $el: "textarea",
2770
2761
  bind: "$attrs",
2771
2762
  attrs: {
@@ -2835,7 +2826,7 @@ function Ft(e) {
2835
2826
  e.config.disabled = G(t);
2836
2827
  });
2837
2828
  }
2838
- function Ue(e, t) {
2829
+ function Be(e, t) {
2839
2830
  return (r) => {
2840
2831
  r.store.set(
2841
2832
  /* @__PURE__ */ H({
@@ -2858,7 +2849,7 @@ function Xt(e, t) {
2858
2849
  t.target instanceof HTMLInputElement ? e === "dragover" && t.target.setAttribute("data-file-hover", "true") : t.preventDefault(), e === "drop" && Xr(t);
2859
2850
  }
2860
2851
  function Xa(e) {
2861
- Ue("noFiles", "Select file")(e), Ue("removeAll", "Remove all")(e), Ue("remove")(e), e.addProps(["_hasMultipleFiles"]), lt && (window._FormKit_File_Drop || (window.addEventListener(
2852
+ Be("noFiles", "Select file")(e), Be("removeAll", "Remove all")(e), Be("remove")(e), e.addProps(["_hasMultipleFiles"]), lt && (window._FormKit_File_Drop || (window.addEventListener(
2862
2853
  "dragover",
2863
2854
  Xt.bind(null, "dragover")
2864
2855
  ), window.addEventListener("drop", Xt.bind(null, "drop")), window.addEventListener("dragleave", Xr), window._FormKit_File_Drop = !0)), e.hook.input((t, r) => r(Array.isArray(t) ? t : [])), e.on("input", ({ payload: t }) => {
@@ -3131,7 +3122,7 @@ var rr = {
3131
3122
  /**
3132
3123
  * Additional features that should be added to your input
3133
3124
  */
3134
- features: [Ue("submit"), rl],
3125
+ features: [Be("submit"), rl],
3135
3126
  /**
3136
3127
  * A key to use for memoizing the schema. This is used to prevent the schema
3137
3128
  * from needing to be stringified when performing a memo lookup.
@@ -3159,8 +3150,8 @@ var rr = {
3159
3150
  /* @__PURE__ */ Zr(
3160
3151
  /* @__PURE__ */ Yr("$label"),
3161
3152
  /* @__PURE__ */ ee("$help"),
3162
- /* @__PURE__ */ Br(
3163
- /* @__PURE__ */ Ur(
3153
+ /* @__PURE__ */ Ur(
3154
+ /* @__PURE__ */ Br(
3164
3155
  /* @__PURE__ */ et(
3165
3156
  /* @__PURE__ */ Qe(
3166
3157
  /* @__PURE__ */ te(),
@@ -3279,7 +3270,7 @@ var rr = {
3279
3270
  schema: /* @__PURE__ */ Ka(
3280
3271
  "$slots.default",
3281
3272
  /* @__PURE__ */ ue(/* @__PURE__ */ oe("$message.value")),
3282
- /* @__PURE__ */ Fa(/* @__PURE__ */ Ua())
3273
+ /* @__PURE__ */ Fa(/* @__PURE__ */ Ba())
3283
3274
  ),
3284
3275
  /**
3285
3276
  * The type of node, can be a list, group, or input.
@@ -3394,8 +3385,8 @@ var rr = {
3394
3385
  /* @__PURE__ */ Zr(
3395
3386
  /* @__PURE__ */ Yr("$label"),
3396
3387
  /* @__PURE__ */ ee("$help"),
3397
- /* @__PURE__ */ Br(
3398
- /* @__PURE__ */ Ur(
3388
+ /* @__PURE__ */ Ur(
3389
+ /* @__PURE__ */ Br(
3399
3390
  /* @__PURE__ */ et(
3400
3391
  /* @__PURE__ */ Qe(
3401
3392
  /* @__PURE__ */ te(),
@@ -3501,7 +3492,7 @@ var rr = {
3501
3492
  /* @__PURE__ */ De(
3502
3493
  /* @__PURE__ */ D("prefix", "label"),
3503
3494
  /* @__PURE__ */ te(),
3504
- /* @__PURE__ */ Ba(),
3495
+ /* @__PURE__ */ Ua(),
3505
3496
  /* @__PURE__ */ re(),
3506
3497
  /* @__PURE__ */ D("suffix")
3507
3498
  )
@@ -3838,7 +3829,7 @@ var Rl = (e, t) => {
3838
3829
  N,
3839
3830
  N.props[`${C}Class`]
3840
3831
  );
3841
- V = Bs(
3832
+ V = Us(
3842
3833
  N,
3843
3834
  C,
3844
3835
  ce,
@@ -3927,7 +3918,7 @@ var Rl = (e, t) => {
3927
3918
  classes: S
3928
3919
  });
3929
3920
  t.on("created", () => {
3930
- T(p.value, t.value) || (u.value = t.value, w.value = t.value, Te(w), Te(u)), (async () => (await t.settled, t && (t.props._init = B(t.value))))();
3921
+ T(p.value, t.value) || (u.value = t.value, w.value = t.value, Te(w), Te(u)), (async () => (await t.settled, t && (t.props._init = U(t.value))))();
3931
3922
  }), t.on("mounted", () => {
3932
3923
  p.didMount = !0;
3933
3924
  }), t.on("settled", ({ payload: f }) => {
@@ -4133,7 +4124,7 @@ function ur(e, t, r) {
4133
4124
  }
4134
4125
  function a(g, b) {
4135
4126
  let c = null, m = () => null, d = !1, _ = null, S = null, $ = null, w = !1;
4136
- const u = Us(b);
4127
+ const u = Bs(b);
4137
4128
  if (bt(u) ? (c = u.$el, m = u.$el !== "text" ? i(u.attrs, u.bind) : () => null) : $t(u) ? (typeof u.$cmp == "string" ? P(g, u.$cmp) ? c = g[u.$cmp] : (c = u.$cmp, w = !0) : c = u.$cmp, m = i(u.props, u.bind)) : he(u) && ([d, _, S] = n(g, u)), !he(u) && "if" in u ? d = h(Y(u.if)) : !he(u) && c === null && (d = () => !0), "children" in u && u.children)
4138
4129
  if (typeof u.children == "string")
4139
4130
  if (u.children.startsWith("$slots."))
@@ -4350,7 +4341,7 @@ var pn = /* @__PURE__ */ dr({
4350
4341
  }
4351
4342
  return yr(() => t.emit("mounted")), vn(o), ql((y = ct()) == null ? void 0 : y.appContext.app, o), () => a ? a() : null;
4352
4343
  }
4353
- }), Ul = pn, Bl = typeof window > "u", pr = Symbol("FormKitParent"), Zl = Symbol("FormKitComponentCallback");
4344
+ }), Bl = pn, Ul = typeof window > "u", pr = Symbol("FormKitParent"), Zl = Symbol("FormKitComponentCallback");
4354
4345
  function Yl(e, t) {
4355
4346
  const r = no(e, t);
4356
4347
  if (r.props.definition || W(600, r), r.props.definition.component)
@@ -4371,7 +4362,7 @@ function Yl(e, t) {
4371
4362
  const y = (h = (v = r.props) == null ? void 0 : v.definition) == null ? void 0 : h.schema;
4372
4363
  y || W(601, r), typeof y == "function" ? (n.value = y({ ...e.sectionsSchema || {} }), (s && e.sectionsSchema || "memoKey" in y && typeof y.memoKey == "string") && (s = (s ?? (y == null ? void 0 : y.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = y;
4373
4364
  };
4374
- i(), Bl || r.on("schema", () => {
4365
+ i(), Ul || r.on("schema", () => {
4375
4366
  s += "♻️", i();
4376
4367
  }), t.emit("node", r);
4377
4368
  const a = r.props.definition.library, l = {
@@ -4402,7 +4393,7 @@ var mn = /* @__PURE__ */ dr(
4402
4393
  }
4403
4394
  ), dn = mn, Gl = Symbol();
4404
4395
  function Jl(e, t) {
4405
- return e.component(t.alias || "FormKit", dn).component(t.schemaAlias || "FormKitSchema", Ul), {
4396
+ return e.component(t.alias || "FormKit", dn).component(t.schemaAlias || "FormKitSchema", Bl), {
4406
4397
  get: Ve,
4407
4398
  setLocale: (r) => {
4408
4399
  var n;
@@ -4465,7 +4456,7 @@ function no(e, t, r = {}) {
4465
4456
  yr(() => {
4466
4457
  y = !0;
4467
4458
  });
4468
- const v = e.modelValue !== void 0 ? e.modelValue : B(t.attrs.value);
4459
+ const v = e.modelValue !== void 0 ? e.modelValue : U(t.attrs.value);
4469
4460
  function h() {
4470
4461
  const u = {
4471
4462
  ...ge(e),
@@ -4587,7 +4578,7 @@ function no(e, t, r = {}) {
4587
4578
  let w;
4588
4579
  return b.on("modelUpdated", () => {
4589
4580
  var u, p;
4590
- t.emit("inputRaw", (u = b.context) == null ? void 0 : u.value, b), y && t.emit("input", (p = b.context) == null ? void 0 : p.value, b), o && b.context && (w = B(b.value), t.emit("update:modelValue", dt(b.value)));
4581
+ t.emit("inputRaw", (u = b.context) == null ? void 0 : u.value, b), y && t.emit("input", (p = b.context) == null ? void 0 : p.value, b), o && b.context && (w = U(b.value), t.emit("update:modelValue", dt(b.value)));
4591
4582
  }), o && (Re(
4592
4583
  hn(e, "modelValue"),
4593
4584
  (u) => {
@@ -4600,7 +4591,7 @@ var so = 1;
4600
4591
  function io(e) {
4601
4592
  return typeof e == "function" && e.length === 2 || typeof e == "object" && !Array.isArray(e) && !("$el" in e) && !("$cmp" in e) && !("if" in e);
4602
4593
  }
4603
- function U(e, t = {}, r = {}) {
4594
+ function B(e, t = {}, r = {}) {
4604
4595
  const n = {
4605
4596
  type: "input",
4606
4597
  ...t
@@ -4614,7 +4605,7 @@ function U(e, t = {}, r = {}) {
4614
4605
  context: "$node.context"
4615
4606
  }
4616
4607
  })), n.library = { [i]: nt(e) };
4617
- } else typeof e == "function" ? s = e : s = /* @__PURE__ */ A("input", () => B(e));
4608
+ } else typeof e == "function" ? s = e : s = /* @__PURE__ */ A("input", () => U(e));
4618
4609
  return n.schema = /* @__PURE__ */ cl(s || "Schema undefined", r), n.schemaMemoKey || (n.schemaMemoKey = `${Math.random()}`), n;
4619
4610
  }
4620
4611
  var ao = /* @__PURE__ */ A("messages", () => ({
@@ -4674,72 +4665,22 @@ const go = (e) => {
4674
4665
  Xl,
4675
4666
  Vt({
4676
4667
  inputs: {
4677
- BaTextField: U(
4678
- L(
4679
- () => import("./TextField-DfBJB6vQ.js")
4680
- )
4681
- ),
4682
- BaStepperField: U(
4683
- L(
4684
- () => import("./StepperField-nyaUK9ht.js")
4685
- ),
4686
- { props: ["suffix", "disabled", "min"] }
4687
- ),
4688
- BaColorPicker: U(
4689
- L(
4690
- () => import("./ColorPicker-CD7uePb_.js")
4691
- )
4692
- ),
4693
- BaSelect: U(
4694
- L(
4695
- () => import("./Select-C2r_c4vv.js")
4696
- ),
4697
- { props: ["selectItems"] }
4698
- ),
4699
- BaListRepeater: U(
4700
- L(
4701
- () => import("./ListRepeater-vOdEfxqj.js")
4702
- )
4703
- ),
4704
- BaTextStyleList: U(
4705
- L(
4706
- () => import("./TextStyleList-Bef3irUx.js")
4707
- )
4708
- ),
4709
- BaTextAlign: U(
4710
- L(
4711
- () => import("./TextAlign-BSp1Xi7F.js")
4712
- )
4713
- ),
4714
- BaTextDecorators: U(
4715
- L(
4716
- () => import("./TextDecorators-1C54q7us.js")
4717
- )
4718
- ),
4719
- BaImageUpload: U(
4720
- L(
4721
- () => import("./ImageUpload-DXagbr9d.js")
4722
- ),
4723
- { props: ["ignoreUpdate"] }
4724
- ),
4725
- BaLinkButton: U(
4726
- L(
4727
- () => import("./LinkButton-B7xgRAIw.js")
4728
- )
4729
- ),
4730
- BaSwitch: U(
4731
- L(() => import("./Switch-uc_zN-mb.js"))
4732
- ),
4733
- BaButtonGroup: U(
4734
- L(
4735
- () => import("./ButtonGroup-CbW3Lnxj.js")
4736
- ),
4737
- { props: ["groupItems"] }
4738
- )
4668
+ BaTextField: B(L(() => import("./TextField-DfBJB6vQ.js"))),
4669
+ BaStepperField: B(L(() => import("./StepperField-xVvcmxNx.js")), { props: ["suffix", "disabled"] }),
4670
+ BaColorPicker: B(L(() => import("./ColorPicker-Bz8yOMlS.js"))),
4671
+ BaSelect: B(L(() => import("./Select-C2r_c4vv.js")), { props: ["selectItems"] }),
4672
+ BaListRepeater: B(L(() => import("./ListRepeater-B_aON8eJ.js"))),
4673
+ BaTextStyleList: B(L(() => import("./TextStyleList-Bef3irUx.js"))),
4674
+ BaTextAlign: B(L(() => import("./TextAlign-BSp1Xi7F.js"))),
4675
+ BaTextDecorators: B(L(() => import("./TextDecorators-1C54q7us.js"))),
4676
+ BaImageUpload: B(L(() => import("./ImageUpload-Cpkzp4iS.js"))),
4677
+ BaLinkButton: B(L(() => import("./LinkButton-D0MS93kZ.js"))),
4678
+ BaSwitch: B(L(() => import("./Switch-uc_zN-mb.js"))),
4679
+ BaButtonGroup: B(L(() => import("./ButtonGroup-CbW3Lnxj.js")), { props: ["groupItems"] })
4739
4680
  }
4740
4681
  })
4741
4682
  );
4742
- }, ho = L(() => import("./App-CWHXI9Wx.js"));
4683
+ }, ho = L(() => import("./App-DZzvEb1n.js"));
4743
4684
  export {
4744
4685
  dn as F,
4745
4686
  pn as a,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { b as p, c as s, r as t } from "./app-B9Ng1g2b.js";
2
+ import { b as p, c as s, r as t } from "./app-BSofsfPH.js";
3
3
  export {
4
4
  p as FmApp,
5
5
  s as FormKitPlugin,
@@ -5,8 +5,6 @@ interface IHomepageProps {
5
5
  paddingLeft?: string;
6
6
  paddingRight?: string;
7
7
  backgroundColor?: string;
8
- hideCountrySwitcher?: boolean;
9
- showNavigationBar?: boolean;
10
8
  }
11
9
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<IHomepageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IHomepageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
12
10
  default?: ((props: {}) => any) | undefined;
@@ -7,7 +7,6 @@ export interface IContainerProps {
7
7
  marginBottom: string;
8
8
  marginLeft: string;
9
9
  marginRight: string;
10
- background?: string;
11
10
  backgroundColor: string;
12
11
  borderRadius: string;
13
12
  borderWidth: string;
@@ -16,13 +16,4 @@ import Button from './components/atoms/Button.vue';
16
16
  import OrderTypeChip from './components/atoms/OrderTypeChip.vue';
17
17
  import LinkSlot from './components/atoms/LinkSlot.vue';
18
18
  import OrderDetails from './views/OrderDetails.vue';
19
- import MemberSummary from './components/Member/MemberSummary.vue';
20
- import MemberCards from './components/Member/MemberCards.vue';
21
- import MemberAchievements from './components/Member/MemberAchievements.vue';
22
- import MemberButtonList from './components/Member/MemberButtonList.vue';
23
- import _MemberProfile from './views/_MemberProfile.vue';
24
- import _Referral from './views/_Referral.vue';
25
- import _ReferralTutorial from './views/_ReferralTutorial.vue';
26
- import _Credit from './views/_Credit.vue';
27
- import _Point from './views/_Point.vue';
28
- export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails, LinkSlot, CountrySwitcher, Homepage as MemberHomepage, MemberSummary, MemberCards, MemberAchievements, MemberButtonList, _MemberProfile, _Credit, _Point, _ReferralTutorial, _Referral, };
19
+ export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails, LinkSlot, CountrySwitcher };
@@ -1,8 +1,8 @@
1
- import { H as r } from "./index-BakrTyC_.js";
1
+ import { H as r } from "./index-B0O5NxWl.js";
2
2
  async function p(e, t, a) {
3
3
  const n = new FormData();
4
4
  return n.append("file", a), (await r.Put(
5
- "https://api.feedmedev.vip",
5
+ "https://api.feedme.vip",
6
6
  `/image/${e}/${t}`,
7
7
  {
8
8
  headers: {
@@ -12,15 +12,15 @@ async function p(e, t, a) {
12
12
  }
13
13
  )).data;
14
14
  }
15
- async function d(e, t) {
15
+ async function i(e, t) {
16
16
  return (await r.Delete(
17
- "https://api.feedmedev.vip",
17
+ "https://api.feedme.vip",
18
18
  `/image/${e}/${t}`
19
19
  )).data;
20
20
  }
21
- async function i(e, t) {
21
+ async function s(e, t) {
22
22
  const a = new FormData();
23
- return a.append("file", t), a.append("businessId", e), (await r.Put("https://pwa-icon-service.feedmeapidev.com", "", {
23
+ return a.append("file", t), a.append("businessId", e), (await r.Put("https://pwa-icon-service.feedmeapi.com", "", {
24
24
  headers: {
25
25
  "Content-Type": "multipart/form-data"
26
26
  },
@@ -29,8 +29,8 @@ async function i(e, t) {
29
29
  }
30
30
  const o = {
31
31
  uploadImage: p,
32
- deleteImage: d,
33
- uploadAppIcon: i
32
+ deleteImage: i,
33
+ uploadAppIcon: s
34
34
  };
35
35
  function c(e) {
36
36
  return e.replace("images.feedme-dev.workers.dev", "image.feedmedev.vip").replace("image.feedmedev.cc", "image.feedmedev.vip");
@@ -1696,7 +1696,7 @@ let le = {
1696
1696
  };
1697
1697
  async function Xn() {
1698
1698
  const e = Ne().currentCountry.value, { data: t } = await b.get(
1699
- "https://country-config-dev.feedmeapi.com",
1699
+ "https://country-config.feedmeapi.com",
1700
1700
  {
1701
1701
  params: { country: e ?? "MY" }
1702
1702
  }
@@ -1735,7 +1735,6 @@ class Pn {
1735
1735
  }
1736
1736
  const Gn = () => le, Qn = new Pn();
1737
1737
  export {
1738
- Bn as A,
1739
1738
  Qn as H,
1740
1739
  Gn as a,
1741
1740
  Xn as g
@@ -1,4 +1,4 @@
1
- import { B as s } from "./index-XrsRjG_o.js";
1
+ import { B as s } from "./index-CAfpg2Eg.js";
2
2
  import { defineStore as n } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const m = n("business", () => {