@feedmepos/mf-connect 0.1.0-beta.60 → 0.1.0-beta.62

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 (88) hide show
  1. package/dist/{Analytic-CXegtSEd.js → Analytic-CZofkL_c.js} +11 -11
  2. package/dist/{App-m9A9s3wd.js → App-duE_AJqe.js} +6 -6
  3. package/dist/{AuditLogs-CpUOkyXq.js → AuditLogs-DutcPIE2.js} +8 -8
  4. package/dist/{Bin-m6mPl3FE.js → Bin-BGFg2nCk.js} +8 -8
  5. package/dist/{Broadcast-DNjHnlPp.js → Broadcast-CnOpaER8.js} +9 -9
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-cjdNZLkE.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B-zuTksy.js} +6 -6
  7. package/dist/{Card-CAvS5aaN.js → Card-D2fnPu8D.js} +15 -15
  8. package/dist/{Collections-3C9I2byH.js → Collections-C7BF8KXA.js} +5 -5
  9. package/dist/{Credit-DcAmLeMb.js → Credit-CZioaJrN.js} +9 -9
  10. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-wGFMCV-y.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-xqz145Dc.js} +28 -28
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CIEn1N24.js → EffectSheet.vue_vue_type_style_index_0_lang-O4v86-mN.js} +18 -18
  12. package/dist/{Experience-GF9yOrlE.js → Experience-B2dNP4Ht.js} +9 -9
  13. package/dist/{Game-CzBn_Li3.js → Game-BI4Bqn1m.js} +9 -9
  14. package/dist/{Index-Bhmkdb4n.js → Index-tz-XmFTF.js} +10 -10
  15. package/dist/{Marketing-DlbcOoiN.js → Marketing-Ci_VUzUI.js} +6 -6
  16. package/dist/{Member-CdXG5uEN.js → Member-BLa4bDUF.js} +5 -5
  17. package/dist/{MemberList-xIOXAHJf.js → MemberList-L-_vOrn_.js} +24 -24
  18. package/dist/{MemberTransactions-CsW9vso0.js → MemberTransactions-D4nf1xFm.js} +1 -1
  19. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jtjk9NjI.js → MessageInput.vue_vue_type_script_setup_true_lang-BCsaSW4P.js} +2 -2
  20. package/dist/{Mission-2UjKrmGe.js → Mission-rAPcd01t.js} +9 -9
  21. package/dist/{Overview-ClittdS6.js → Overview-DPrlOcgo.js} +17 -17
  22. package/dist/{Point-BON4g7zE.js → Point-Dqf5dHyp.js} +9 -9
  23. package/dist/{Promotion-qUEZmmm8.js → Promotion-Cd1ZkdOC.js} +10 -10
  24. package/dist/{Queue-DA4glGdE.js → Queue-BK-0T_mw.js} +9 -9
  25. package/dist/{Record-EUAnp1--.js → Record-B_UICVJp.js} +7 -7
  26. package/dist/{Reward-ChbsdQuW.js → Reward-WjzuJDG3.js} +15 -15
  27. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CUFw56sf.js → RewardGroup.vue_vue_type_script_setup_true_lang-BSkREth1.js} +11 -11
  28. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BKesht7Y.js → RuleGroup.vue_vue_type_script_setup_true_lang-fdD6QmMo.js} +12 -12
  29. package/dist/{Segment-DbwFx6vD.js → Segment-LCQp7yFU.js} +14 -14
  30. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-lwpYOWMR.js → SelectItems.vue_vue_type_script_setup_true_lang-CsYTUykJ.js} +14 -14
  31. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BbuOPEGY.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-Br4iyQnk.js} +3 -3
  32. package/dist/{Setting-FMTftvlU.js → Setting-DEBKrIrZ.js} +10 -10
  33. package/dist/{Store-BkUwiBUq.js → Store-D-VnFXXb.js} +193 -189
  34. package/dist/{StoreRewards-Z8uhK0v1.js → StoreRewards-BQePjt8a.js} +13 -13
  35. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DwFYJ1Iz.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DIiMqyQ4.js} +17 -17
  36. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D6mrJp05.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-atONAPM9.js} +1 -1
  37. package/dist/{Tier-COCmcJJF.js → Tier-rvjwX1oN.js} +19 -19
  38. package/dist/{Title-7qCjbur9.js → Title-2Te1Z8L_.js} +19 -19
  39. package/dist/{Transaction-9FS_K2hv.js → Transaction-7xL3nMig.js} +2 -2
  40. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Fx-J2gcK.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-C7j9opqh.js} +6 -6
  41. package/dist/{Voucher-Dx70JAgw.js → Voucher-DLwMEm2g.js} +12 -12
  42. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CECJsKRJ.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BjkTOUYG.js} +10 -10
  43. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-Bne_nxYS.js → ZodTextField.vue_vue_type_script_setup_true_lang-DBUEmzcs.js} +1 -1
  44. package/dist/{app-q6W6-faT.js → app-BShWGgpm.js} +576 -568
  45. package/dist/app-DkKtpaKX.js +33357 -0
  46. package/dist/app.js +1 -1
  47. package/dist/{business-D5AQBRGS.js → business-C2C62fmX.js} +1 -1
  48. package/dist/{campaign-BGiM8ccX.js → campaign-C3S0GWWR.js} +9 -9
  49. package/dist/{campaign-v8MAkDo-.js → campaign-Cd2Xvdnr.js} +2 -2
  50. package/dist/{campaign.enum-Dro6UEcE.js → campaign.enum-Cbm_ptfY.js} +1 -1
  51. package/dist/{campaign.fn-DsJUr-gE.js → campaign.fn-C-GOEh0w.js} +131 -131
  52. package/dist/{collectible.enum-BH9pX7PE.js → collectible.enum-CHS5qsdh.js} +1 -1
  53. package/dist/{collection.fn-CHiRShK_.js → collection.fn-REHsES3X.js} +2 -2
  54. package/dist/{dto-CeX9egUp.js → dto-CGSpsQ6n.js} +4 -4
  55. package/dist/{effect-DtJQE1cD.js → effect-FpVy58EM.js} +1 -1
  56. package/dist/{email-addresses-DKOsgzML.js → email-addresses-CAjqVugi.js} +1 -1
  57. package/dist/{export-Daiv_zH9.js → export-BcKoJs_C.js} +3 -3
  58. package/dist/{helper-B5Emawnj.js → helper-pgFU5X3a.js} +1 -1
  59. package/dist/{index-Xwc07I54.js → index-B7xzzZ_T.js} +3 -3
  60. package/dist/{index-ZBSI6ViG.js → index-B8NVI4dz.js} +1 -1
  61. package/dist/{index-9WBy0L7U.js → index-BP-isrwr.js} +3 -3
  62. package/dist/{index-g9NNHS8s.js → index-BwurOQvo.js} +1 -1
  63. package/dist/{index-Dw2RtHKR.js → index-C0-0sWRy.js} +1 -1
  64. package/dist/{index-DteeKoFo.js → index-CAPuLnGU.js} +1 -1
  65. package/dist/{index-CgCcvX_L.js → index-CArWRFoQ.js} +4 -4
  66. package/dist/{index-p6F08hhh.js → index-C_BvwoUm.js} +1 -1
  67. package/dist/{index-DrWrGAHJ.js → index-C_MHfWjy.js} +1 -1
  68. package/dist/{index-BSHuLDD0.js → index-DBtdOASF.js} +2 -2
  69. package/dist/{index-ICbXrXiP.js → index-DGMvMDKq.js} +1 -1
  70. package/dist/{index-CUl_8M_c.js → index-ydNGavnu.js} +6 -6
  71. package/dist/{index.esm2017-B-SDA6Y2.js → index.esm2017-pmeVCWAr.js} +1 -1
  72. package/dist/{loading-CDbkBsRr.js → loading-DGuuMKTZ.js} +1 -1
  73. package/dist/{membership-B8uwuntJ.js → membership-BawPINR9.js} +3 -3
  74. package/dist/{money-DRKB3Rpe.js → money-CxS3dRJv.js} +1 -1
  75. package/dist/{number-DtyC1DJU.js → number-BTmiI23H.js} +1 -1
  76. package/dist/{objectid-wGrq9P1h.js → objectid-lKrpTxxC.js} +3 -3
  77. package/dist/{plugins-DKNh-lBz.js → plugins-DxZVLGOA.js} +4 -4
  78. package/dist/{reward-C2jv5dmJ.js → reward-DV6wq-w3.js} +1 -1
  79. package/dist/{rule-C5AMTchR.js → rule-DTmrn71Z.js} +3 -3
  80. package/dist/{rule-builder-DLOGHT1l.js → rule-builder-BDDy0h4p.js} +1 -1
  81. package/dist/style.css +1 -1
  82. package/dist/{template-C-fz1DXI.js → template-CyP4_Pkv.js} +4 -4
  83. package/dist/{trigger-DTErX60D.js → trigger-CNXsYYai.js} +4 -4
  84. package/dist/{user-CVRoQGCF.js → user-qYAZabq2.js} +1 -1
  85. package/dist/{vue-i18n-CxMxiW_u.js → vue-i18n-PyVAnDDy.js} +243 -243
  86. package/dist/{xlsx-CARvMJN_.js → xlsx-Be-UKhyI.js} +1 -1
  87. package/package.json +2 -2
  88. package/dist/app-CWKpKW78.js +0 -53428
@@ -1,36 +1,36 @@
1
- import { defineComponent as ee, computed as j, resolveComponent as h, openBlock as v, createBlock as I, withCtx as T, createElementVNode as _, createElementBlock as D, createVNode as r, createCommentVNode as A, toDisplayString as L, unref as e, Fragment as X, renderList as re, ref as R, isRef as oe, reactive as He, onMounted as fe, watch as we, toRaw as qe, createTextVNode as de, h as Ke } from "vue";
1
+ import { defineComponent as ee, computed as j, resolveComponent as h, openBlock as v, createBlock as I, withCtx as T, createElementVNode as _, createElementBlock as D, createVNode as i, createCommentVNode as A, toDisplayString as L, unref as e, Fragment as X, renderList as re, ref as R, isRef as oe, reactive as He, onMounted as fe, watch as we, toRaw as qe, createTextVNode as de, h as Ke } from "vue";
2
2
  import { _ as We } from "./tier-BJDhpH6X.js";
3
3
  import { useDialog as Ae, useDialogChild as Me, components as ze } from "@feedmepos/ui-library";
4
- import { c as B, e as Ce, S as Ye } from "./index-Xwc07I54.js";
5
- import { u as Ee } from "./loading-CDbkBsRr.js";
6
- import { u as $e, C as me } from "./membership-B8uwuntJ.js";
4
+ import { c as B, e as Ce, S as Ye } from "./index-B7xzzZ_T.js";
5
+ import { u as Ee } from "./loading-DGuuMKTZ.js";
6
+ import { u as $e, C as me } from "./membership-BawPINR9.js";
7
7
  import { a as Je, c as Ne } from "./object-qECH92oz.js";
8
8
  import { _ as ue } from "./lodash-B5I3zXaY.js";
9
- import { d as se, a as Ge, p as he, n as Xe, f as Fe } from "./plugins-DKNh-lBz.js";
10
- import { u as be } from "./vue-i18n-CxMxiW_u.js";
9
+ import { d as se, a as Ge, p as he, n as Xe, f as Fe } from "./plugins-DxZVLGOA.js";
10
+ import { u as be } from "./vue-i18n-PyVAnDDy.js";
11
11
  import { Z, g as J, a as G } from "./zod-Bg2FbC-D.js";
12
- import { z as Q, R as Ze } from "./app-q6W6-faT.js";
13
- import { k as Qe, l as et, m as tt, n as Oe, o as nt } from "./index-CgCcvX_L.js";
12
+ import { z as Q, R as Ze } from "./app-BShWGgpm.js";
13
+ import { k as Qe, l as et, m as tt, n as Oe, o as nt } from "./index-CArWRFoQ.js";
14
14
  import { u as _e } from "./app-wDQR6dpb.js";
15
- import { _ as te } from "./ZodTextField.vue_vue_type_script_setup_true_lang-Bne_nxYS.js";
15
+ import { _ as te } from "./ZodTextField.vue_vue_type_script_setup_true_lang-DBUEmzcs.js";
16
16
  import { J as ke } from "./JsonViewer-v8_C7l5N.js";
17
- import { _ as ot } from "./index-BSHuLDD0.js";
17
+ import { _ as ot } from "./index-DBtdOASF.js";
18
18
  import { _ as lt } from "./ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js";
19
19
  import { _ as at } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
20
- import { z as st, a as rt } from "./money-DRKB3Rpe.js";
21
- import { F as it } from "./number-DtyC1DJU.js";
22
- import { t as dt } from "./helper-B5Emawnj.js";
23
- import "./index-ICbXrXiP.js";
24
- import "./index-CUl_8M_c.js";
25
- import "./index-Dw2RtHKR.js";
26
- import "./index-9WBy0L7U.js";
27
- import { m as ut } from "./index-ZBSI6ViG.js";
28
- import { m as xe } from "./index-DrWrGAHJ.js";
20
+ import { z as st, a as rt } from "./money-CxS3dRJv.js";
21
+ import { F as it } from "./number-BTmiI23H.js";
22
+ import { t as dt } from "./helper-pgFU5X3a.js";
23
+ import "./index-DGMvMDKq.js";
24
+ import "./index-ydNGavnu.js";
25
+ import "./index-C0-0sWRy.js";
26
+ import "./index-BP-isrwr.js";
27
+ import { m as ut } from "./index-B8NVI4dz.js";
28
+ import { m as xe } from "./index-C_MHfWjy.js";
29
29
  import { useRouter as ct } from "vue-router";
30
30
  function je(g) {
31
31
  return se.DineroFactory(g).toUnit();
32
32
  }
33
- function mt(g, x, a, f, i = [], b = []) {
33
+ function mt(g, x, a, f, r = [], b = []) {
34
34
  const o = ot.compact(
35
35
  x.map((t) => g.find((c) => c.systemCode === t.systemCode && c.taxCode === t.taxCode)).filter((t) => !!t && b.includes(t.systemCode))
36
36
  ), m = o.reduce(
@@ -38,7 +38,7 @@ function mt(g, x, a, f, i = [], b = []) {
38
38
  var y;
39
39
  return Object.assign(t, {
40
40
  [c.taxCode]: {
41
- inclusive: ((y = i.find((d) => d.systemCode === c.systemCode)) == null ? void 0 : y.inclusive) || !1,
41
+ inclusive: ((y = r.find((d) => d.systemCode === c.systemCode)) == null ? void 0 : y.inclusive) || !1,
42
42
  adjustment: {
43
43
  level: 1,
44
44
  type: {
@@ -85,9 +85,9 @@ function mt(g, x, a, f, i = [], b = []) {
85
85
  }));
86
86
  }
87
87
  function pt(g, x, a) {
88
- return g ? g.reduce((f, i) => {
88
+ return g ? g.reduce((f, r) => {
89
89
  var b;
90
- return (b = a.find((o) => o.systemCode === i.systemCode)) != null && b.inclusive || (f = se.DineroFactory(f.toObject()).add(i.total)), f;
90
+ return (b = a.find((o) => o.systemCode === r.systemCode)) != null && b.inclusive || (f = se.DineroFactory(f.toObject()).add(r.total)), f;
91
91
  }, se.DineroFactory(x)).toObject() : se.DineroFactory(x).toObject();
92
92
  }
93
93
  const yt = { class: "relative h-[120px] aspect-video flex items-center justify-center border rounded-md border-fm-color-neutral-gray-300" }, ft = ["src"], bt = {
@@ -100,7 +100,7 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
100
100
  },
101
101
  emits: ["edit", "delete", "send"],
102
102
  setup(g, { emit: x }) {
103
- const a = g, f = x, i = j(() => {
103
+ const a = g, f = x, r = j(() => {
104
104
  const o = [];
105
105
  return a.bundle.price.amount > 0 && o.push(
106
106
  `${B.Config.getCountry().currency.symbol}${je(a.bundle.price)}`
@@ -134,22 +134,22 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
134
134
  class: "text-fm-color-neutral-gray-200"
135
135
  })),
136
136
  g.bundle.isFeedvibe ? (v(), D("div", bt, [
137
- r(t, {
137
+ i(t, {
138
138
  label: "Feedvibe",
139
139
  class: "text-fm-color-primary bg-fm-color-system-warning-100",
140
140
  compact: ""
141
141
  })
142
142
  ])) : A("", !0),
143
143
  _("div", vt, [
144
- r(d, { placement: "bottom-end" }, {
144
+ i(d, { placement: "bottom-end" }, {
145
145
  "menu-button": T(() => [
146
- r(c, {
146
+ i(c, {
147
147
  icon: "more_vert",
148
148
  variant: "tertiary"
149
149
  })
150
150
  ]),
151
151
  default: T(() => [
152
- r(y, {
152
+ i(y, {
153
153
  onClick: m[0] || (m[0] = (l) => f("edit", g.bundle)),
154
154
  icon: "edit",
155
155
  label: "Edit"
@@ -160,7 +160,7 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
160
160
  icon: "send",
161
161
  label: "Send"
162
162
  })),
163
- r(y, {
163
+ i(y, {
164
164
  onClick: m[2] || (m[2] = (l) => f("delete", g.bundle)),
165
165
  icon: "delete"
166
166
  }, {
@@ -175,7 +175,7 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
175
175
  ])
176
176
  ]),
177
177
  _("div", gt, L(g.bundle.name), 1),
178
- _("div", ht, L(e(i) || "Free"), 1),
178
+ _("div", ht, L(e(r) || "Free"), 1),
179
179
  _("div", xt, [
180
180
  (v(!0), D(X, null, re(e(b), (l, F) => (v(), I(t, {
181
181
  key: F,
@@ -192,14 +192,14 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
192
192
  emits: ["create"],
193
193
  setup(g, { emit: x }) {
194
194
  const { t: a } = be(), f = x;
195
- return (i, b) => {
195
+ return (r, b) => {
196
196
  const o = h("FmButton"), m = h("FmCard");
197
197
  return v(), I(m, {
198
198
  variant: "outlined",
199
199
  class: "flex flex-col gap-y-8 p-16 h-full min-h-[240px] items-center justify-center"
200
200
  }, {
201
201
  default: T(() => [
202
- r(o, {
202
+ i(o, {
203
203
  onClick: b[0] || (b[0] = (u) => f("create")),
204
204
  label: e(a)("connect.store.actions.addBundle"),
205
205
  icon: "add",
@@ -223,17 +223,17 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
223
223
  }
224
224
  },
225
225
  setup(g) {
226
- const { t: x } = be(), a = g, f = Ae(), { emitData: i, emitAction: b } = Me(), o = R(a.initialValue), m = Q.string().min(1);
226
+ const { t: x } = be(), a = g, f = Ae(), { emitData: r, emitAction: b } = Me(), o = R(a.initialValue), m = Q.string().min(1);
227
227
  function u() {
228
- i(o.value), b("primary"), f.close();
228
+ r(o.value), b("primary"), f.close();
229
229
  }
230
230
  function t() {
231
- i(null), b("primary"), f.close();
231
+ r(null), b("primary"), f.close();
232
232
  }
233
233
  return (c, y) => {
234
234
  const d = h("FmTextField"), S = h("FmButton");
235
235
  return v(), D("div", Ft, [
236
- r(d, {
236
+ i(d, {
237
237
  modelValue: e(o),
238
238
  "onUpdate:modelValue": y[0] || (y[0] = (l) => oe(o) ? o.value = l : null),
239
239
  label: e(x)("connect.store.category.label"),
@@ -249,12 +249,12 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
249
249
  }, null, 8, ["label"])) : A("", !0)
250
250
  ]),
251
251
  _("div", St, [
252
- r(S, {
252
+ i(S, {
253
253
  label: e(x)("connect.common.cancel"),
254
254
  variant: "tertiary",
255
255
  onClick: y[1] || (y[1] = (l) => e(f).close())
256
256
  }, null, 8, ["label"]),
257
- r(S, {
257
+ i(S, {
258
258
  label: g.action == "edit" ? e(x)("connect.common.edit") : e(x)("connect.common.add"),
259
259
  disabled: !e(o),
260
260
  onClick: u
@@ -267,7 +267,7 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
267
267
  }), $t = { class: "space-y-16" }, kt = { class: "flex items-center justify-end gap-8 pb-16" }, Pt = /* @__PURE__ */ ee({
268
268
  __name: "SelectCategoryDialog",
269
269
  setup(g) {
270
- const { emitData: x, emitAction: a } = Me(), f = $e(), i = R(), b = j(
270
+ const { emitData: x, emitAction: a } = Me(), f = $e(), r = R(), b = j(
271
271
  () => f.sortedStoreCategories.map((o, m) => ({
272
272
  label: o.name,
273
273
  value: m
@@ -277,26 +277,26 @@ const yt = { class: "relative h-[120px] aspect-video flex items-center justify-c
277
277
  const u = h("FmSelect"), t = h("FmButton");
278
278
  return v(), D("div", $t, [
279
279
  m[4] || (m[4] = _("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Select a category to create FeedMe CNY 2025 bundle ", -1)),
280
- r(u, {
280
+ i(u, {
281
281
  placeholder: "Select a category",
282
282
  items: e(b),
283
- modelValue: e(i),
283
+ modelValue: e(r),
284
284
  "onUpdate:modelValue": [
285
- m[0] || (m[0] = (c) => oe(i) ? i.value = c : null),
285
+ m[0] || (m[0] = (c) => oe(r) ? r.value = c : null),
286
286
  m[1] || (m[1] = (c) => e(x)(c))
287
287
  ],
288
288
  label: "Category"
289
289
  }, null, 8, ["items", "modelValue"]),
290
290
  _("div", kt, [
291
- r(t, {
291
+ i(t, {
292
292
  variant: "tertiary",
293
293
  label: "Cancel",
294
294
  onClick: m[2] || (m[2] = (c) => e(a)("tertiary"))
295
295
  }),
296
- r(t, {
296
+ i(t, {
297
297
  label: "Select",
298
298
  onClick: m[3] || (m[3] = (c) => e(a)("primary")),
299
- disabled: e(i) == null
299
+ disabled: e(r) == null
300
300
  }, null, 8, ["disabled"])
301
301
  ])
302
302
  ]);
@@ -420,13 +420,13 @@ const Tt = {
420
420
  },
421
421
  emits: ["update:model-value"],
422
422
  setup(g, { emit: x }) {
423
- const a = g, f = ne.taxSystem, i = x, b = R(a.modelValue);
423
+ const a = g, f = ne.taxSystem, r = x, b = R(a.modelValue);
424
424
  function o(c, y) {
425
425
  const d = ue.clone(a.modelValue), S = d.findIndex((l) => l.systemCode === c);
426
426
  S >= 0 ? d[S].inclusive = y : d.push({
427
427
  systemCode: c,
428
428
  inclusive: y
429
- }), b.value = d, i("update:model-value", d);
429
+ }), b.value = d, r("update:model-value", d);
430
430
  }
431
431
  function m() {
432
432
  return f.map((c) => {
@@ -458,7 +458,7 @@ const Tt = {
458
458
  return v(!0), D(X, null, re(e(u), (S, l) => {
459
459
  var F;
460
460
  return v(), D("div", { key: l }, [
461
- r(d, {
461
+ i(d, {
462
462
  "model-value": ((F = e(b)[l]) == null ? void 0 : F.inclusive) || !1,
463
463
  "label-placement": "left",
464
464
  "onUpdate:modelValue": ($) => S.input($)
@@ -487,8 +487,8 @@ const It = { class: "space-y-8" }, Dt = {
487
487
  },
488
488
  emits: ["update:modelValue"],
489
489
  setup(g, { emit: x }) {
490
- const a = g, f = x, i = R(!1);
491
- we(i, (o, m) => {
490
+ const a = g, f = x, r = R(!1);
491
+ we(r, (o, m) => {
492
492
  m != o && (!a.modelValue && o ? f("update:modelValue", {
493
493
  apiKey: "",
494
494
  webhookSecret: ""
@@ -499,31 +499,31 @@ const It = { class: "space-y-8" }, Dt = {
499
499
  return `https://marketing${o ? "-dev" : ""}${u}.feedmeapi.com/stripe/${Ye.getBusinessId()}/webhook`;
500
500
  });
501
501
  return fe(() => {
502
- i.value = !!a.modelValue;
502
+ r.value = !!a.modelValue;
503
503
  }), (o, m) => {
504
504
  const u = h("FmSwitch"), t = h("FmTextField"), c = h("FmButton");
505
505
  return v(), D("div", It, [
506
- r(u, {
507
- modelValue: e(i),
508
- "onUpdate:modelValue": m[0] || (m[0] = (y) => oe(i) ? i.value = y : null),
506
+ i(u, {
507
+ modelValue: e(r),
508
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => oe(r) ? r.value = y : null),
509
509
  value: "true",
510
510
  label: "Enable Stripe"
511
511
  }, null, 8, ["modelValue"]),
512
512
  a.modelValue ? (v(), D("div", Dt, [
513
- r(t, {
513
+ i(t, {
514
514
  label: "API Key",
515
515
  modelValue: a.modelValue.apiKey,
516
516
  "onUpdate:modelValue": m[1] || (m[1] = (y) => a.modelValue.apiKey = y),
517
517
  "helper-text": "Go to Stripe Dashboard get your API Key and paste here."
518
518
  }, null, 8, ["modelValue"]),
519
- r(t, {
519
+ i(t, {
520
520
  label: "Webhook URL",
521
521
  "model-value": e(b),
522
522
  readonly: "",
523
523
  "helper-text": "Copy this URL to your Stripe dashboard"
524
524
  }, {
525
525
  append: T(() => [
526
- r(c, {
526
+ i(c, {
527
527
  icon: "content_copy",
528
528
  variant: "tertiary",
529
529
  onClick: m[2] || (m[2] = (y) => e(Ge)(e(b)))
@@ -531,7 +531,7 @@ const It = { class: "space-y-8" }, Dt = {
531
531
  ]),
532
532
  _: 1
533
533
  }, 8, ["model-value"]),
534
- r(t, {
534
+ i(t, {
535
535
  modelValue: a.modelValue.webhookSecret,
536
536
  "onUpdate:modelValue": m[3] || (m[3] = (y) => a.modelValue.webhookSecret = y),
537
537
  label: "Webhook Secret",
@@ -552,7 +552,7 @@ const It = { class: "space-y-8" }, Dt = {
552
552
  __name: "StoreSettingSheet",
553
553
  emits: ["update"],
554
554
  setup(g, { expose: x, emit: a }) {
555
- const { t: f } = be(), i = a, b = R(!1), o = R(), m = R(!1), u = Qe.extend({
555
+ const { t: f } = be(), r = a, b = R(!1), o = R(), m = R(!1), u = Qe.extend({
556
556
  company: et.extend({
557
557
  name: Q.string().min(1, "Company name is required"),
558
558
  regNo: Q.string().min(1, "Registration number is required"),
@@ -570,7 +570,7 @@ const It = { class: "space-y-8" }, Dt = {
570
570
  }), t = j(() => u.safeParse(o.value).success);
571
571
  function c() {
572
572
  const S = u.safeParse(o.value);
573
- S.success && i("update", S.data);
573
+ S.success && r("update", S.data);
574
574
  }
575
575
  function y() {
576
576
  return {
@@ -607,13 +607,13 @@ const It = { class: "space-y-8" }, Dt = {
607
607
  }, {
608
608
  "side-sheet-footer": T(() => [
609
609
  _("div", Wt, [
610
- r(Y, {
610
+ i(Y, {
611
611
  label: e(f)("connect.common.save"),
612
612
  onClick: c,
613
613
  disabled: !e(t) || e(_e)().isLoading,
614
614
  loading: e(_e)().isLoading
615
615
  }, null, 8, ["label", "disabled", "loading"]),
616
- r(Y, {
616
+ i(Y, {
617
617
  label: e(f)("connect.common.cancel"),
618
618
  onClick: l[14] || (l[14] = (z) => d(!1)),
619
619
  variant: "tertiary"
@@ -623,16 +623,16 @@ const It = { class: "space-y-8" }, Dt = {
623
623
  default: T(() => {
624
624
  var z, le;
625
625
  return [
626
- r(ke, { json: e(o) }, null, 8, ["json"]),
626
+ i(ke, { json: e(o) }, null, 8, ["json"]),
627
627
  e(o) && e(o).company ? (v(), D("div", Nt, [
628
628
  _("div", Ot, L(e(f)("connect.store.setting.company.legal_info")), 1),
629
- r(te, {
629
+ i(te, {
630
630
  modelValue: e(o).company.name,
631
631
  "onUpdate:modelValue": l[0] || (l[0] = (s) => e(o).company.name = s),
632
632
  label: e(f)("connect.store.setting.company.name"),
633
633
  schema: e(Z).typeAtPath(e(u), "company.name")
634
634
  }, null, 8, ["modelValue", "label", "schema"]),
635
- r(te, {
635
+ i(te, {
636
636
  modelValue: e(o).company.regNo,
637
637
  "onUpdate:modelValue": l[1] || (l[1] = (s) => e(o).company.regNo = s),
638
638
  label: e(f)("connect.store.setting.company.reg_no"),
@@ -650,38 +650,38 @@ const It = { class: "space-y-8" }, Dt = {
650
650
  }, null, 8, ["modelValue", "label", "schema"])) : A("", !0),
651
651
  (z = e(o).company) != null && z.sstRegNo && e(o).inclusiveTaxes ? (v(), D("div", At, [
652
652
  _("div", Mt, L(e(f)("connect.store.setting.company.tax")), 1),
653
- r(Ut, {
653
+ i(Ut, {
654
654
  modelValue: e(o).inclusiveTaxes,
655
655
  "onUpdate:modelValue": l[4] || (l[4] = (s) => e(o).inclusiveTaxes = s)
656
656
  }, null, 8, ["modelValue"])
657
657
  ])) : A("", !0),
658
- r(te, {
658
+ i(te, {
659
659
  modelValue: e(o).company.phoneNo,
660
660
  "onUpdate:modelValue": l[5] || (l[5] = (s) => e(o).company.phoneNo = s),
661
661
  label: e(f)("connect.store.setting.company.phone"),
662
662
  schema: e(Z).typeAtPath(e(u), "company.phoneNo")
663
663
  }, null, 8, ["modelValue", "label", "schema"]),
664
664
  _("div", Et, L(e(f)("connect.store.setting.company.address.title")), 1),
665
- r(te, {
665
+ i(te, {
666
666
  modelValue: e(o).company.address.line1,
667
667
  "onUpdate:modelValue": l[6] || (l[6] = (s) => e(o).company.address.line1 = s),
668
668
  label: e(f)("connect.store.setting.company.address.line1"),
669
669
  schema: e(Z).typeAtPath(e(u), "company.address.line1")
670
670
  }, null, 8, ["modelValue", "label", "schema"]),
671
- r(te, {
671
+ i(te, {
672
672
  modelValue: e(o).company.address.line2,
673
673
  "onUpdate:modelValue": l[7] || (l[7] = (s) => e(o).company.address.line2 = s),
674
674
  label: e(f)("connect.store.setting.company.address.line2"),
675
675
  schema: e(Z).typeAtPath(e(u), "company.address.line2")
676
676
  }, null, 8, ["modelValue", "label", "schema"]),
677
677
  _("div", jt, [
678
- r(te, {
678
+ i(te, {
679
679
  modelValue: e(o).company.address.city,
680
680
  "onUpdate:modelValue": l[8] || (l[8] = (s) => e(o).company.address.city = s),
681
681
  label: e(f)("connect.store.setting.company.address.city"),
682
682
  schema: e(Z).typeAtPath(e(u), "company.address.city")
683
683
  }, null, 8, ["modelValue", "label", "schema"]),
684
- r(te, {
684
+ i(te, {
685
685
  modelValue: e(o).company.address.postcode,
686
686
  "onUpdate:modelValue": l[9] || (l[9] = (s) => e(o).company.address.postcode = s),
687
687
  label: e(f)("connect.store.setting.company.address.postcode"),
@@ -689,19 +689,19 @@ const It = { class: "space-y-8" }, Dt = {
689
689
  }, null, 8, ["modelValue", "label", "schema"]),
690
690
  _("div", Lt, [
691
691
  _("div", Ht, L(e(f)("connect.store.setting.company.address.state")), 1),
692
- r(N, {
692
+ i(N, {
693
693
  placement: "top-end",
694
694
  "model-value": e(m)
695
695
  }, {
696
696
  "menu-button": T(() => [
697
- r(te, {
697
+ i(te, {
698
698
  modelValue: e(o).company.address.state,
699
699
  "onUpdate:modelValue": l[10] || (l[10] = (s) => e(o).company.address.state = s),
700
700
  schema: e(Z).typeAtPath(e(u), "company.address.state"),
701
701
  onFocusChanged: l[11] || (l[11] = (s) => m.value = s)
702
702
  }, {
703
703
  append: T(() => [
704
- r(F, {
704
+ i(F, {
705
705
  name: e(m) ? "keyboard_arrow_up" : "keyboard_arrow_down"
706
706
  }, null, 8, ["name"])
707
707
  ]),
@@ -726,7 +726,7 @@ const It = { class: "space-y-8" }, Dt = {
726
726
  _: 1
727
727
  }, 8, ["model-value"])
728
728
  ]),
729
- r(W, {
729
+ i(W, {
730
730
  label: e(f)("connect.store.setting.company.address.country"),
731
731
  modelValue: e(o).company.address.country,
732
732
  "onUpdate:modelValue": l[12] || (l[12] = (s) => e(o).company.address.country = s),
@@ -741,7 +741,7 @@ const It = { class: "space-y-8" }, Dt = {
741
741
  ]),
742
742
  _("div", qt, [
743
743
  _("div", Kt, L(e(f)("connect.store.setting.stripe.title")), 1),
744
- r(Bt, {
744
+ i(Bt, {
745
745
  "model-value": (le = e(o)) == null ? void 0 : le.stripe,
746
746
  "onUpdate:modelValue": l[13] || (l[13] = (s) => e(o).stripe = s)
747
747
  }, null, 8, ["model-value"])
@@ -780,10 +780,10 @@ const Jt = /* @__PURE__ */ ee({
780
780
  u(t);
781
781
  }
782
782
  });
783
- function i() {
783
+ function r() {
784
784
  return ne.groupedTaxOptions();
785
785
  }
786
- const b = j(() => i().map((t) => ({
786
+ const b = j(() => r().map((t) => ({
787
787
  name: t.code,
788
788
  value: (o.value || []).find(
789
789
  (c) => t.options.some((y) => y.feedmeTaxCode === c)
@@ -794,7 +794,7 @@ const Jt = /* @__PURE__ */ ee({
794
794
  }))
795
795
  }))), o = j(() => a.modelValue.map((t) => ne.generateCode(t)));
796
796
  function m(t) {
797
- const c = i().find(
797
+ const c = r().find(
798
798
  (l) => l.options.some((F) => F.feedmeTaxCode === t)
799
799
  ), y = c == null ? void 0 : c.options.find((l) => l.feedmeTaxCode === t);
800
800
  if (!y) return;
@@ -804,7 +804,7 @@ const Jt = /* @__PURE__ */ ee({
804
804
  function u(t) {
805
805
  const c = ue.clone(a.modelValue);
806
806
  t.forEach((y) => {
807
- const d = i().find(
807
+ const d = r().find(
808
808
  (F) => F.options.some(($) => $.feedmeTaxCode === ne.generateCode(y))
809
809
  ), S = (d == null ? void 0 : d.options) || [], l = c.findIndex(
810
810
  (F) => S.some(($) => ne.generateCode($) === ne.generateCode(F))
@@ -818,7 +818,7 @@ const Jt = /* @__PURE__ */ ee({
818
818
  key: S.name,
819
819
  class: "flex items-start"
820
820
  }, [
821
- r(d, {
821
+ i(d, {
822
822
  modelValue: S.value,
823
823
  "onUpdate:modelValue": [
824
824
  (l) => S.value = l,
@@ -865,11 +865,11 @@ const Jt = /* @__PURE__ */ ee({
865
865
  }, Gt = {
866
866
  key: 0,
867
867
  class: "space-y-24 pr-12"
868
- }, Xt = { class: "space-y-8" }, Zt = { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, Qt = { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, en = { class: "fm-typo-en-title-sm-800 !mb-[-20px]" }, tn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary !mb-[-16px]" }, nn = { class: "space-y-8" }, on = { class: "flex items-center justify-between" }, ln = { class: "fm-typo-en-title-sm-800 !mb-[-20px]" }, an = { class: "space-y-8" }, sn = { class: "flex items-center gap-8" }, rn = /* @__PURE__ */ ee({
868
+ }, Xt = { class: "space-y-8" }, Zt = { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, Qt = { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, en = { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, tn = { class: "fm-typo-en-title-sm-800 !mb-[-20px]" }, nn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary !mb-[-16px]" }, on = { class: "space-y-8" }, ln = { class: "flex items-center justify-between" }, an = { class: "fm-typo-en-title-sm-800 !mb-[-20px]" }, sn = { class: "space-y-8" }, rn = { class: "flex items-center gap-8" }, dn = /* @__PURE__ */ ee({
869
869
  __name: "EditBundleSheet",
870
870
  emits: ["update"],
871
871
  setup(g, { expose: x, emit: a }) {
872
- const f = a, { t: i } = be(), b = $e(), o = R(!1), m = R([]), u = R({
872
+ const f = a, { t: r } = be(), b = $e(), o = R(!1), m = R([]), u = R({
873
873
  category: 0,
874
874
  index: -1,
875
875
  originalCategoryIndex: void 0
@@ -914,7 +914,9 @@ const Jt = /* @__PURE__ */ ee({
914
914
  }
915
915
  }
916
916
  ], l = R([]), F = j(() => b.bundleRewards.map((p) => {
917
- const n = $.value.find((k) => k.id == p._id), C = p.type === "VOUCHER" ? `${p.options.maxUse} use(s), ${dt(p.options.validityOption || {})}` : "No expiry";
917
+ const n = $.value.find((k) => k.id == p._id), C = p.type === "VOUCHER" ? `${p.options.maxUse} use(s), ${dt(
918
+ p.options.validityOption || {}
919
+ )}` : "No expiry";
918
920
  return {
919
921
  collectible: p,
920
922
  description: C,
@@ -1010,17 +1012,17 @@ const Jt = /* @__PURE__ */ ee({
1010
1012
  "max-width": 768,
1011
1013
  modelValue: e(o),
1012
1014
  "onUpdate:modelValue": n[20] || (n[20] = (ae) => oe(o) ? o.value = ae : null),
1013
- header: e(u).index != -1 ? e(i)("connect.store.bundle.edit.title") : e(i)("connect.store.bundle.edit.create")
1015
+ header: e(u).index != -1 ? e(r)("connect.store.bundle.edit.title") : e(r)("connect.store.bundle.edit.create")
1014
1016
  }, {
1015
1017
  "side-sheet-footer": T(() => [
1016
- _("div", sn, [
1017
- r(ce, {
1018
+ _("div", rn, [
1019
+ i(ce, {
1018
1020
  label: e(u).index != -1 ? "Save" : "Add",
1019
1021
  onClick: M,
1020
1022
  disabled: e(d).length > 0,
1021
1023
  loading: e(_e)().isLoading
1022
1024
  }, null, 8, ["label", "disabled", "loading"]),
1023
- r(ce, {
1025
+ i(ce, {
1024
1026
  label: "Cancel",
1025
1027
  onClick: n[19] || (n[19] = (ae) => O(!1)),
1026
1028
  variant: "tertiary"
@@ -1030,7 +1032,7 @@ const Jt = /* @__PURE__ */ ee({
1030
1032
  default: T(() => {
1031
1033
  var ae, Pe, Te, Ue, Re, Ie, De, Be;
1032
1034
  return [
1033
- r(ke, { json: e(t) }, null, 8, ["json"]),
1035
+ i(ke, { json: e(t) }, null, 8, ["json"]),
1034
1036
  e(t) ? (v(), D("div", Gt, [
1035
1037
  _("div", Xt, [
1036
1038
  e(B.Config).getCountry().code == "MY" && ((ae = e(b).payoutAccount) == null ? void 0 : ae.status) == "APPROVED" && ((Pe = e(b).payoutAccount) != null && Pe.enable) ? (v(), I(C, {
@@ -1049,22 +1051,22 @@ const Jt = /* @__PURE__ */ ee({
1049
1051
  state: "warning"
1050
1052
  })) : A("", !0)
1051
1053
  ]),
1052
- _("div", Zt, L(e(i)("connect.store.bundle.edit.basicInformation")), 1),
1053
- r(E, {
1054
- label: e(i)("connect.store.bundle.edit.bundleName"),
1054
+ _("div", Zt, L(e(r)("connect.store.bundle.edit.basicInformation")), 1),
1055
+ i(E, {
1056
+ label: e(r)("connect.store.bundle.edit.bundleName"),
1055
1057
  modelValue: e(t).name,
1056
1058
  "onUpdate:modelValue": n[1] || (n[1] = (V) => e(t).name = V),
1057
1059
  "helper-state": e(J)(e(d), "name"),
1058
1060
  "helper-text": e(G)(e(d), "name")
1059
1061
  }, null, 8, ["label", "modelValue", "helper-state", "helper-text"]),
1060
- r(K, {
1062
+ i(K, {
1061
1063
  modelValue: e(u).category,
1062
1064
  "onUpdate:modelValue": n[2] || (n[2] = (V) => e(u).category = V),
1063
1065
  label: "Store Category",
1064
1066
  items: e(m).map((V, Le) => ({ label: V, value: Le }))
1065
1067
  }, null, 8, ["modelValue", "items"]),
1066
- r(lt, {
1067
- label: e(i)("connect.store.bundle.edit.bundleImage"),
1068
+ i(lt, {
1069
+ label: e(r)("connect.store.bundle.edit.bundleImage"),
1068
1070
  class: "w-1/2 xs:w-2/3",
1069
1071
  "aspect-ratio": "16/9",
1070
1072
  thumbnail: e(t).image ?? void 0,
@@ -1075,9 +1077,9 @@ const Jt = /* @__PURE__ */ ee({
1075
1077
  "helper-state": e(J)(e(d), "image"),
1076
1078
  "helper-text": e(G)(e(d), "image")
1077
1079
  }, null, 8, ["label", "thumbnail", "file", "helper-state", "helper-text"]),
1078
- r(q, {
1080
+ i(q, {
1079
1081
  "model-value": e(B.Dinero).fromFdoDinero(e(t).price).toUnit(),
1080
- label: e(i)("connect.store.bundle.edit.bundlePrice"),
1082
+ label: e(r)("connect.store.bundle.edit.bundlePrice"),
1081
1083
  min: 0,
1082
1084
  "max-fraction-digits": 2,
1083
1085
  "onUpdate:modelValue": n[4] || (n[4] = (V) => {
@@ -1085,7 +1087,9 @@ const Jt = /* @__PURE__ */ ee({
1085
1087
  }),
1086
1088
  "is-currency": !0,
1087
1089
  "show-steppers": !1,
1088
- "helper-text": e(G)(e(d), "price") || `${e(B.Dinero).fromNumber({ number: 1 }).toFormat(!0)} = ${e(B.Dinero).fromNumber({ number: 1 }).toUnit()} credit`,
1090
+ "helper-text": e(G)(e(d), "price") || `${e(B.Dinero).fromNumber({ number: 1 }).toFormat(
1091
+ !0
1092
+ )} = ${e(B.Dinero).fromNumber({ number: 1 }).toUnit()} credit`,
1089
1093
  "helper-state": e(J)(e(d), "price")
1090
1094
  }, {
1091
1095
  prepend: T(() => [
@@ -1093,9 +1097,9 @@ const Jt = /* @__PURE__ */ ee({
1093
1097
  ]),
1094
1098
  _: 1
1095
1099
  }, 8, ["model-value", "label", "helper-text", "helper-state"]),
1096
- r(q, {
1100
+ i(q, {
1097
1101
  "model-value": e(B.Dinero).fromFdoDinero(e(t).originalPrice).toUnit(),
1098
- label: e(i)("connect.store.bundle.edit.bundleValue"),
1102
+ label: e(r)("connect.store.bundle.edit.bundleValue"),
1099
1103
  min: 0,
1100
1104
  "max-fraction-digits": 2,
1101
1105
  "onUpdate:modelValue": n[5] || (n[5] = (V) => {
@@ -1103,7 +1107,7 @@ const Jt = /* @__PURE__ */ ee({
1103
1107
  }),
1104
1108
  "is-currency": !0,
1105
1109
  "show-steppers": !1,
1106
- "helper-text": e(G)(e(d), "originalPrice") || e(i)("connect.store.bundle.edit.originalPriceHelper"),
1110
+ "helper-text": e(G)(e(d), "originalPrice") || e(r)("connect.store.bundle.edit.originalPriceHelper"),
1107
1111
  "helper-state": e(J)(e(d), "originalPrice")
1108
1112
  }, {
1109
1113
  prepend: T(() => [
@@ -1114,7 +1118,7 @@ const Jt = /* @__PURE__ */ ee({
1114
1118
  e(t).isFeedvibe ? A("", !0) : (v(), I(q, {
1115
1119
  key: 0,
1116
1120
  "model-value": e(t).coinPrice ?? null,
1117
- label: e(i)("connect.store.bundle.edit.pointNeeded"),
1121
+ label: e(r)("connect.store.bundle.edit.pointNeeded"),
1118
1122
  min: 0,
1119
1123
  "onUpdate:modelValue": n[6] || (n[6] = (V) => {
1120
1124
  V > 0 && e(t).credit.normal > 0 && (e(t).credit.normal = 0), e(t).coinPrice = V;
@@ -1129,9 +1133,9 @@ const Jt = /* @__PURE__ */ ee({
1129
1133
  _: 1
1130
1134
  }, 8, ["model-value", "label", "helper-state", "helper-text"])),
1131
1135
  (Te = e(b).storeOption) != null && Te.stripe && !e(t).isFeedvibe ? (v(), D(X, { key: 1 }, [
1132
- _("div", Qt, L(e(i)("connect.store.bundle.edit.subscriptionSettings")), 1),
1133
- r(E, {
1134
- label: e(i)("connect.store.bundle.edit.stripePriceId"),
1136
+ _("div", Qt, L(e(r)("connect.store.bundle.edit.subscriptionSettings")), 1),
1137
+ i(E, {
1138
+ label: e(r)("connect.store.bundle.edit.stripePriceId"),
1135
1139
  modelValue: e(t).stripePriceId,
1136
1140
  "onUpdate:modelValue": n[7] || (n[7] = (V) => e(t).stripePriceId = V),
1137
1141
  "helper-state": e(J)(e(d), "stripePriceId"),
@@ -1142,18 +1146,18 @@ const Jt = /* @__PURE__ */ ee({
1142
1146
  "model-value": e(t).subscriptionValidity ?? null,
1143
1147
  min: 1,
1144
1148
  "onUpdate:modelValue": W,
1145
- label: e(i)("connect.store.bundle.edit.subscriptionValidity"),
1149
+ label: e(r)("connect.store.bundle.edit.subscriptionValidity"),
1146
1150
  "show-steppers": !1,
1147
1151
  "helper-state": e(J)(e(d), "subscriptionValidity"),
1148
1152
  "helper-text": e(G)(e(d), "subscriptionValidity")
1149
1153
  }, null, 8, ["model-value", "label", "helper-state", "helper-text"])) : A("", !0)
1150
1154
  ], 64)) : A("", !0),
1151
1155
  e(t).isFeedvibe ? A("", !0) : (v(), D(X, { key: 2 }, [
1152
- n[25] || (n[25] = _("div", { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, "Credit", -1)),
1153
- r(q, {
1156
+ _("div", en, L(e(r)("connect.store.bundle.edit.credit")), 1),
1157
+ i(q, {
1154
1158
  modelValue: e(t).credit.normal,
1155
1159
  "onUpdate:modelValue": n[8] || (n[8] = (V) => e(t).credit.normal = V),
1156
- label: "Normal credit",
1160
+ label: e(r)("connect.store.bundle.edit.normalCredit"),
1157
1161
  "show-steppers": !1,
1158
1162
  "helper-state": e(J)(e(d), "credit.normal"),
1159
1163
  "helper-text": e(G)(e(d), "credit.normal")
@@ -1162,8 +1166,8 @@ const Jt = /* @__PURE__ */ ee({
1162
1166
  de(" credit ")
1163
1167
  ])),
1164
1168
  _: 1
1165
- }, 8, ["modelValue", "helper-state", "helper-text"]),
1166
- r(q, {
1169
+ }, 8, ["modelValue", "label", "helper-state", "helper-text"]),
1170
+ i(q, {
1167
1171
  "model-value": ((Ue = e(t).credit.free) == null ? void 0 : Ue.amount) ?? null,
1168
1172
  min: 0,
1169
1173
  "onUpdate:modelValue": n[9] || (n[9] = (V) => {
@@ -1172,7 +1176,7 @@ const Jt = /* @__PURE__ */ ee({
1172
1176
  day: 1
1173
1177
  }), e(t).credit.free.amount = V;
1174
1178
  }),
1175
- label: "Free credit",
1179
+ label: e(r)("connect.store.bundle.edit.freeCredit"),
1176
1180
  "show-steppers": !1,
1177
1181
  "helper-state": e(J)(e(d), "credit.free.amount"),
1178
1182
  "helper-text": e(G)(e(d), "credit.free.amount")
@@ -1181,7 +1185,7 @@ const Jt = /* @__PURE__ */ ee({
1181
1185
  de(" credit ")
1182
1186
  ])),
1183
1187
  _: 1
1184
- }, 8, ["model-value", "helper-state", "helper-text"]),
1188
+ }, 8, ["model-value", "label", "helper-state", "helper-text"]),
1185
1189
  (Re = e(t).credit.free) != null && Re.amount ? (v(), I(q, {
1186
1190
  key: 0,
1187
1191
  disabled: !!e(t).stripePriceId,
@@ -1205,35 +1209,35 @@ const Jt = /* @__PURE__ */ ee({
1205
1209
  }, 8, ["disabled", "model-value", "helper-state", "helper-text"])) : A("", !0)
1206
1210
  ], 64)),
1207
1211
  e(z) ? (v(), D(X, { key: 3 }, [
1208
- n[26] || (n[26] = _("div", { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, "Taxes", -1)),
1209
- r(Jt, {
1212
+ n[25] || (n[25] = _("div", { class: "fm-typo-en-title-sm-800 !mb-[-16px]" }, "Taxes", -1)),
1213
+ i(Jt, {
1210
1214
  modelValue: e(t).taxes,
1211
1215
  "onUpdate:modelValue": n[11] || (n[11] = (V) => e(t).taxes = V)
1212
1216
  }, null, 8, ["modelValue"]),
1213
- r(E, {
1217
+ i(E, {
1214
1218
  label: `Tax Charged (${e(le)})`,
1215
1219
  "model-value": e(w),
1216
1220
  disabled: ""
1217
1221
  }, null, 8, ["label", "model-value"])
1218
1222
  ], 64)) : A("", !0),
1219
- r(q, {
1223
+ i(q, {
1220
1224
  label: "Total Price",
1221
1225
  "model-value": e(U),
1222
1226
  disabled: !0
1223
1227
  }, null, 8, ["model-value"]),
1224
- _("div", en, L(e(i)("connect.store.bundle.edit.bundleReward.title")), 1),
1225
- _("div", tn, L(e(i)("connect.store.bundle.edit.bundleReward.description")), 1),
1226
- _("div", nn, [
1227
- _("div", on, [
1228
- r(at, {
1228
+ _("div", tn, L(e(r)("connect.store.bundle.edit.bundleReward.title")), 1),
1229
+ _("div", nn, L(e(r)("connect.store.bundle.edit.bundleReward.description")), 1),
1230
+ _("div", on, [
1231
+ _("div", ln, [
1232
+ i(at, {
1229
1233
  label: `Reward type: ${e(l).length == 0 ? "All" : e(l)[0].name}`
1230
1234
  }, {
1231
1235
  default: T(() => [
1232
- r(ie, {
1236
+ i(ie, {
1233
1237
  onClick: n[12] || (n[12] = (V) => l.value = []),
1234
1238
  label: "All"
1235
1239
  }),
1236
- r(ie, {
1240
+ i(ie, {
1237
1241
  onClick: n[13] || (n[13] = (V) => l.value = [
1238
1242
  {
1239
1243
  id: "type",
@@ -1243,7 +1247,7 @@ const Jt = /* @__PURE__ */ ee({
1243
1247
  ]),
1244
1248
  label: e(me).VOUCHER.name
1245
1249
  }, null, 8, ["label"]),
1246
- r(ie, {
1250
+ i(ie, {
1247
1251
  onClick: n[14] || (n[14] = (V) => l.value = [
1248
1252
  {
1249
1253
  id: "type",
@@ -1257,7 +1261,7 @@ const Jt = /* @__PURE__ */ ee({
1257
1261
  _: 1
1258
1262
  }, 8, ["label"])
1259
1263
  ]),
1260
- r(ve, {
1264
+ i(ve, {
1261
1265
  modelValue: e(H),
1262
1266
  "onUpdate:modelValue": n[15] || (n[15] = (V) => oe(H) ? H.value = V : null),
1263
1267
  selection: "multiple",
@@ -1268,31 +1272,31 @@ const Jt = /* @__PURE__ */ ee({
1268
1272
  ),
1269
1273
  "hide-footer": e(F).length <= 10
1270
1274
  }, null, 8, ["modelValue", "column-filter", "row-data", "hide-footer"]),
1271
- r(k, {
1275
+ i(k, {
1272
1276
  text: e(G)(e(d), "titles"),
1273
1277
  state: e(J)(e(d), "titles")
1274
1278
  }, null, 8, ["text", "state"])
1275
1279
  ]),
1276
- _("div", ln, L(e(i)("connect.store.bundle.edit.advanceSetting")), 1),
1277
- _("div", an, [
1278
- r(C, {
1280
+ _("div", an, L(e(r)("connect.store.bundle.edit.advanceSetting")), 1),
1281
+ _("div", sn, [
1282
+ i(C, {
1279
1283
  "model-value": e(t).internal ?? !1,
1280
1284
  "onUpdate:modelValue": n[16] || (n[16] = (V) => e(t).internal = V),
1281
1285
  "label-placement": "right",
1282
- label: e(i)("connect.store.bundle.edit.internalBundle"),
1283
- sublabel: e(i)("connect.store.bundle.edit.internalBundleDescription")
1286
+ label: e(r)("connect.store.bundle.edit.internalBundle"),
1287
+ sublabel: e(r)("connect.store.bundle.edit.internalBundleDescription")
1284
1288
  }, null, 8, ["model-value", "label", "sublabel"]),
1285
- r(C, {
1289
+ i(C, {
1286
1290
  "model-value": e(t).hideInPos ?? !1,
1287
1291
  "onUpdate:modelValue": n[17] || (n[17] = (V) => e(t).hideInPos = V),
1288
1292
  "label-placement": "right",
1289
- label: e(i)("connect.store.bundle.edit.hideInPos"),
1290
- sublabel: e(i)("connect.store.bundle.edit.hideInPosDescription")
1293
+ label: e(r)("connect.store.bundle.edit.hideInPos"),
1294
+ sublabel: e(r)("connect.store.bundle.edit.hideInPosDescription")
1291
1295
  }, null, 8, ["model-value", "label", "sublabel"]),
1292
- r(q, {
1296
+ i(q, {
1293
1297
  "model-value": ((Be = (De = e(t).config) == null ? void 0 : De.options) == null ? void 0 : Be.maxPerUser) || null,
1294
1298
  "onUpdate:modelValue": n[18] || (n[18] = (V) => e(ue).set(e(t), "config.options.maxPerUser", V)),
1295
- label: e(i)("connect.store.bundle.edit.maxPerUser"),
1299
+ label: e(r)("connect.store.bundle.edit.maxPerUser"),
1296
1300
  "show-steppers": !1,
1297
1301
  placeholder: "Unlimited"
1298
1302
  }, null, 8, ["model-value", "label"])
@@ -1304,14 +1308,14 @@ const Jt = /* @__PURE__ */ ee({
1304
1308
  }, 8, ["modelValue", "header"]);
1305
1309
  };
1306
1310
  }
1307
- }), dn = { class: "flex gap-8 items-center flex-wrap" }, un = { class: "flex items-center gap-8" }, cn = /* @__PURE__ */ ee({
1311
+ }), un = { class: "flex gap-8 items-center flex-wrap" }, cn = { class: "flex items-center gap-8" }, mn = /* @__PURE__ */ ee({
1308
1312
  __name: "SendBundleSheet",
1309
1313
  emits: ["success"],
1310
1314
  setup(g, { expose: x, emit: a }) {
1311
- const { minor: f } = Ee, i = R(), b = R(""), o = R(""), m = R([]), u = R(!1), t = R();
1315
+ const { minor: f } = Ee, r = R(), b = R(""), o = R(""), m = R([]), u = R(!1), t = R();
1312
1316
  R(!0);
1313
1317
  function c(F) {
1314
- u.value = !0, b.value = null, o.value = "", i.value = F.bundle;
1318
+ u.value = !0, b.value = null, o.value = "", r.value = F.bundle;
1315
1319
  }
1316
1320
  function y() {
1317
1321
  u.value = !1;
@@ -1330,19 +1334,19 @@ const Jt = /* @__PURE__ */ ee({
1330
1334
  })), await new Promise((N) => setTimeout(N, 100));
1331
1335
  }
1332
1336
  async function S() {
1333
- if (!i.value || !b.value) return;
1337
+ if (!r.value || !b.value) return;
1334
1338
  const F = m.value.find(
1335
1339
  (N) => N.value === b.value
1336
1340
  );
1337
1341
  await he.confirm(
1338
- `Are you sure you want to send bundle ${i.value.name} to ${F == null ? void 0 : F.label}?`,
1342
+ `Are you sure you want to send bundle ${r.value.name} to ${F == null ? void 0 : F.label}?`,
1339
1343
  "Confirm",
1340
1344
  "Confirm",
1341
1345
  "Cancel"
1342
1346
  ) && await f(
1343
1347
  async () => {
1344
1348
  const N = {
1345
- bundle: i.value._id,
1349
+ bundle: r.value._id,
1346
1350
  member: b.value,
1347
1351
  source: nt.enum.ADMIN,
1348
1352
  ref: `ADMIN:${(/* @__PURE__ */ new Date()).toISOString()}:${o.value}`,
@@ -1359,9 +1363,9 @@ const Jt = /* @__PURE__ */ ee({
1359
1363
  const l = j(() => {
1360
1364
  var $, N, W;
1361
1365
  const F = [];
1362
- return (($ = i.value) == null ? void 0 : $.price.amount) > 0 && F.push(
1363
- `${B.Config.getCountry().currency.symbol}${je((N = i.value) == null ? void 0 : N.price)}`
1364
- ), (W = i.value) != null && W.coinPrice && F.push(`${i.value.coinPrice} point(s)`), F.join(" or ");
1366
+ return (($ = r.value) == null ? void 0 : $.price.amount) > 0 && F.push(
1367
+ `${B.Config.getCountry().currency.symbol}${je((N = r.value) == null ? void 0 : N.price)}`
1368
+ ), (W = r.value) != null && W.coinPrice && F.push(`${r.value.coinPrice} point(s)`), F.join(" or ");
1365
1369
  });
1366
1370
  return x({
1367
1371
  showSheet: c,
@@ -1381,8 +1385,8 @@ const Jt = /* @__PURE__ */ ee({
1381
1385
  ]
1382
1386
  }, {
1383
1387
  "side-sheet-footer": T(() => [
1384
- _("div", un, [
1385
- r(U, {
1388
+ _("div", cn, [
1389
+ i(U, {
1386
1390
  label: "Send",
1387
1391
  loading: e(_e)().isLoading,
1388
1392
  onClick: $[2] || ($[2] = async () => {
@@ -1390,7 +1394,7 @@ const Jt = /* @__PURE__ */ ee({
1390
1394
  return (P = e(t)) == null ? void 0 : P.validateInputs();
1391
1395
  })
1392
1396
  }, null, 8, ["loading"]),
1393
- r(U, {
1397
+ i(U, {
1394
1398
  label: "Cancel",
1395
1399
  type: "button",
1396
1400
  variant: "tertiary",
@@ -1399,7 +1403,7 @@ const Jt = /* @__PURE__ */ ee({
1399
1403
  ])
1400
1404
  ]),
1401
1405
  default: T(() => [
1402
- r(w, {
1406
+ i(w, {
1403
1407
  class: "space-y-16",
1404
1408
  ref_key: "form",
1405
1409
  ref: t,
@@ -1407,7 +1411,7 @@ const Jt = /* @__PURE__ */ ee({
1407
1411
  blameFormChildOnValidationFailed: ""
1408
1412
  }, {
1409
1413
  default: T(() => [
1410
- r(z, {
1414
+ i(z, {
1411
1415
  class: "max-w-[700px]",
1412
1416
  horizontal: "",
1413
1417
  variant: "outlined"
@@ -1415,40 +1419,40 @@ const Jt = /* @__PURE__ */ ee({
1415
1419
  default: T(() => {
1416
1420
  var P, O;
1417
1421
  return [
1418
- (P = e(i)) != null && P.image ? (v(), I(N, {
1422
+ (P = e(r)) != null && P.image ? (v(), I(N, {
1419
1423
  key: 0,
1420
1424
  width: "100",
1421
- src: (O = e(i)) == null ? void 0 : O.image
1425
+ src: (O = e(r)) == null ? void 0 : O.image
1422
1426
  }, null, 8, ["src"])) : A("", !0),
1423
- r(H, { class: "flex flex-col gap-16 justify-between" }, {
1427
+ i(H, { class: "flex flex-col gap-16 justify-between" }, {
1424
1428
  default: T(() => {
1425
1429
  var p;
1426
1430
  return [
1427
- r(W, {
1431
+ i(W, {
1428
1432
  class: "p-0",
1429
- title: (p = e(i)) == null ? void 0 : p.name,
1433
+ title: (p = e(r)) == null ? void 0 : p.name,
1430
1434
  subtitle: e(l)
1431
1435
  }, null, 8, ["title", "subtitle"]),
1432
- r(H, { class: "p-0" }, {
1436
+ i(H, { class: "p-0" }, {
1433
1437
  default: T(() => {
1434
1438
  var n, C, k, E, K, q, ie, ve, ce, ge, ae;
1435
1439
  return [
1436
- _("div", dn, [
1437
- (n = e(i)) != null && n.isFeedvibe ? (v(), I(Y, {
1440
+ _("div", un, [
1441
+ (n = e(r)) != null && n.isFeedvibe ? (v(), I(Y, {
1438
1442
  key: 0,
1439
1443
  label: "Feedvibe"
1440
1444
  })) : A("", !0),
1441
- (k = (C = e(i)) == null ? void 0 : C.titles) != null && k.length ? (v(), I(Y, {
1445
+ (k = (C = e(r)) == null ? void 0 : C.titles) != null && k.length ? (v(), I(Y, {
1442
1446
  key: 1,
1443
- label: `${e(i).titles.length} title(s)`
1447
+ label: `${e(r).titles.length} title(s)`
1444
1448
  }, null, 8, ["label"])) : A("", !0),
1445
- (K = (E = e(i)) == null ? void 0 : E.vouchers) != null && K.length ? (v(), I(Y, {
1449
+ (K = (E = e(r)) == null ? void 0 : E.vouchers) != null && K.length ? (v(), I(Y, {
1446
1450
  key: 2,
1447
- label: `${e(i).vouchers.length} voucher(s)`
1451
+ label: `${e(r).vouchers.length} voucher(s)`
1448
1452
  }, null, 8, ["label"])) : A("", !0),
1449
- (ie = (q = e(i)) == null ? void 0 : q.credit) != null && ie.normal || (ge = (ce = (ve = e(i)) == null ? void 0 : ve.credit) == null ? void 0 : ce.free) != null && ge.amount ? (v(), I(Y, {
1453
+ (ie = (q = e(r)) == null ? void 0 : q.credit) != null && ie.normal || (ge = (ce = (ve = e(r)) == null ? void 0 : ve.credit) == null ? void 0 : ce.free) != null && ge.amount ? (v(), I(Y, {
1450
1454
  key: 3,
1451
- label: `${(e(i).credit.normal || 0) + (((ae = e(i).credit.free) == null ? void 0 : ae.amount) || 0)} credit(s)`
1455
+ label: `${(e(r).credit.normal || 0) + (((ae = e(r).credit.free) == null ? void 0 : ae.amount) || 0)} credit(s)`
1452
1456
  }, null, 8, ["label"])) : A("", !0)
1453
1457
  ])
1454
1458
  ];
@@ -1463,7 +1467,7 @@ const Jt = /* @__PURE__ */ ee({
1463
1467
  }),
1464
1468
  _: 1
1465
1469
  }),
1466
- r(le, {
1470
+ i(le, {
1467
1471
  modelValue: e(b),
1468
1472
  "onUpdate:modelValue": $[0] || ($[0] = (P) => oe(b) ? b.value = P : null),
1469
1473
  label: "Select member",
@@ -1473,7 +1477,7 @@ const Jt = /* @__PURE__ */ ee({
1473
1477
  rules: [(P) => !!P > 0 || "Member is required"],
1474
1478
  "helper-text": "Type to search member"
1475
1479
  }, null, 8, ["modelValue", "items", "rules"]),
1476
- r(s, {
1480
+ i(s, {
1477
1481
  modelValue: e(o),
1478
1482
  "onUpdate:modelValue": $[1] || ($[1] = (P) => oe(o) ? o.value = P : null),
1479
1483
  label: "Reference (optional)",
@@ -1490,8 +1494,8 @@ const Jt = /* @__PURE__ */ ee({
1490
1494
  };
1491
1495
  }
1492
1496
  });
1493
- var mn = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
1494
- const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8 items-center" }, fn = { class: "fm-typo-en-body-lg-600" }, bn = { class: "grid sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-24" }, vn = { class: "flex flex-col gap-16 text-center" }, gn = { class: "fm-typo-en-title-sm-800" }, hn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Jn = /* @__PURE__ */ ee({
1497
+ var pn = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
1498
+ const yn = { class: "px-24 flex flex-col gap-y-16" }, fn = { class: "flex gap-8 items-center" }, bn = { class: "fm-typo-en-body-lg-600" }, vn = { class: "grid sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-24" }, gn = { class: "flex flex-col gap-16 text-center" }, hn = { class: "fm-typo-en-title-sm-800" }, xn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Gn = /* @__PURE__ */ ee({
1495
1499
  __name: "Store",
1496
1500
  setup(g) {
1497
1501
  const x = {
@@ -1502,7 +1506,7 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1502
1506
  label: a("connect.store.actions.setting"),
1503
1507
  value: "setting",
1504
1508
  isPrimary: !1
1505
- }, i = {
1509
+ }, r = {
1506
1510
  label: a("connect.store.actions.manageReward"),
1507
1511
  value: "create_reward"
1508
1512
  }, b = {
@@ -1513,7 +1517,7 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1513
1517
  }, o = R(), m = ct(), u = $e(), { global: t, minor: c } = Ee, y = Ae(), d = j(() => u.sortedStoreCategories), S = j(() => u.sortedStoreCategories.map((s) => s.name)), l = R(), F = R();
1514
1518
  async function $(s) {
1515
1519
  var w;
1516
- s === "setting" ? (w = l.value) == null || w.showSheet(!0, u.storeOption) : s === "create_category" ? W(-1) : s === "create_reward" ? await m.push({ name: Ze["$connect-STORE_REWARDS"] }) : s == "payout" && window.open(mn.paymentPortalUrl, "_blank");
1520
+ s === "setting" ? (w = l.value) == null || w.showSheet(!0, u.storeOption) : s === "create_category" ? W(-1) : s === "create_reward" ? await m.push({ name: Ze["$connect-STORE_REWARDS"] }) : s == "payout" && window.open(pn.paymentPortalUrl, "_blank");
1517
1521
  }
1518
1522
  async function N(s) {
1519
1523
  await c(
@@ -1652,37 +1656,37 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1652
1656
  }
1653
1657
  m.replace({ query: {} });
1654
1658
  }
1655
- }), z.value = [f, i, b], (((s = u.payoutAccount) == null ? void 0 : s.status) != "APPROVED" || ((w = u.payoutAccount) == null ? void 0 : w.enable) != !0) && (z.value = [
1659
+ }), z.value = [f, r, b], (((s = u.payoutAccount) == null ? void 0 : s.status) != "APPROVED" || ((w = u.payoutAccount) == null ? void 0 : w.enable) != !0) && (z.value = [
1656
1660
  x,
1657
1661
  f,
1658
- i,
1662
+ r,
1659
1663
  b
1660
1664
  ]);
1661
1665
  }), (s, w) => {
1662
1666
  const U = h("FmPageHead"), M = h("FmButton"), P = h("FmCard");
1663
1667
  return v(), D(X, null, [
1664
- r(U, {
1668
+ i(U, {
1665
1669
  title: e(a)("connect.store.title"),
1666
1670
  actions: e(z),
1667
1671
  "onClick:action": $
1668
1672
  }, null, 8, ["title", "actions"]),
1669
- _("div", pn, [
1673
+ _("div", yn, [
1670
1674
  e(d) && e(d).length > 0 ? (v(), D(X, { key: 0 }, [
1671
1675
  (v(!0), D(X, null, re(e(d), (O, p) => (v(), D("div", {
1672
1676
  key: O.name,
1673
1677
  class: "space-y-8 py-12"
1674
1678
  }, [
1675
- _("div", yn, [
1676
- _("div", fn, L(O.name), 1),
1677
- r(ke, { json: O }, null, 8, ["json"]),
1678
- r(M, {
1679
+ _("div", fn, [
1680
+ _("div", bn, L(O.name), 1),
1681
+ i(ke, { json: O }, null, 8, ["json"]),
1682
+ i(M, {
1679
1683
  icon: "edit",
1680
1684
  size: "md",
1681
1685
  variant: "tertiary",
1682
1686
  onClick: (n) => W(p)
1683
1687
  }, null, 8, ["onClick"])
1684
1688
  ]),
1685
- _("div", bn, [
1689
+ _("div", vn, [
1686
1690
  (v(!0), D(X, null, re(O.bundles, (n, C) => (v(), I(_t, {
1687
1691
  bundle: n,
1688
1692
  key: n._id,
@@ -1695,7 +1699,7 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1695
1699
  onDelete: (k) => Y(null, p, C),
1696
1700
  onSend: le
1697
1701
  }, null, 8, ["bundle", "onEdit", "onDelete"]))), 128)),
1698
- r(Ct, {
1702
+ i(Ct, {
1699
1703
  onCreate: (n) => H({
1700
1704
  category: p,
1701
1705
  index: -1,
@@ -1704,7 +1708,7 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1704
1708
  }, null, 8, ["onCreate"])
1705
1709
  ])
1706
1710
  ]))), 128)),
1707
- r(rn, {
1711
+ i(dn, {
1708
1712
  ref_key: "bundleSheetRef",
1709
1713
  ref: F,
1710
1714
  onUpdate: Y
@@ -1719,11 +1723,11 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1719
1723
  src: We,
1720
1724
  class: "aspect-square w-[150px]"
1721
1725
  }, null, -1)),
1722
- _("div", vn, [
1723
- _("div", gn, L(e(a)("connect.store.bundle.title")), 1),
1724
- _("div", hn, L(e(a)("connect.store.bundle.description")), 1)
1726
+ _("div", gn, [
1727
+ _("div", hn, L(e(a)("connect.store.bundle.title")), 1),
1728
+ _("div", xn, L(e(a)("connect.store.bundle.description")), 1)
1725
1729
  ]),
1726
- r(M, {
1730
+ i(M, {
1727
1731
  variant: "primary",
1728
1732
  label: e(a)("connect.store.actions.addCategory"),
1729
1733
  icon: "add",
@@ -1732,12 +1736,12 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1732
1736
  ]),
1733
1737
  _: 1
1734
1738
  })),
1735
- r(zt, {
1739
+ i(zt, {
1736
1740
  ref_key: "settingSheetRef",
1737
1741
  ref: l,
1738
1742
  onUpdate: N
1739
1743
  }, null, 512),
1740
- r(cn, {
1744
+ i(mn, {
1741
1745
  ref_key: "sendBundleSheetRef",
1742
1746
  ref: o
1743
1747
  }, null, 512)
@@ -1747,5 +1751,5 @@ const pn = { class: "px-24 flex flex-col gap-y-16" }, yn = { class: "flex gap-8
1747
1751
  }
1748
1752
  });
1749
1753
  export {
1750
- Jn as default
1754
+ Gn as default
1751
1755
  };