@feedmepos/mf-brand-app-builder 0.5.33-dev.2 → 0.5.34-prod

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as rt, resolveComponent as ne, createElementBlock as D, openBlock as R, createElementVNode as u, createVNode as S, createCommentVNode as z, withCtx as Le, unref as f, normalizeStyle as Er, toDisplayString as b, ref as re, shallowRef as qn, onMounted as dn, onBeforeUnmount as Xn, withDirectives as Rr, normalizeClass as cn, vShow as Lr, markRaw as pa, nextTick as Yn, watch as dt, createBlock as Ue, renderSlot as Zn, Fragment as $e, renderList as gt, computed as te, Teleport as Jn, Transition as pn, withKeys as Kn, createTextVNode as va } from "vue";
2
- import { B as nr } from "./index-CVVQJJYY.js";
2
+ import { B as nr } from "./index-CP6_oC8N.js";
3
3
  import { B as Qn } from "./ColorPicker-RKWzhLBO.js";
4
- import { u as eo } from "./index-BA2J-Ffh.js";
4
+ import { u as eo } from "./index-BpYD24Jn.js";
5
5
  import { useCoreStore as Gr, useI18n as Hr, RestaurantSelector as to } from "@feedmepos/mf-common";
6
6
  import { u as ro, b as X } from "./brandkit-C8uulbNE.js";
7
7
  import { useDialogChild as ao, useDialog as $r, useSnackbar as Vr } from "@feedmepos/ui-library";
8
8
  import { _ as zr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import { d as no } from "./dayjs.min-DnbY0e60.js";
10
- import { I as fa, r as ha } from "./image-D_Djf1PS.js";
10
+ import { I as fa, r as ha } from "./image-S7-2rbQS.js";
11
11
  import { u as oo } from "./useBusinessFeatureFlag-rGPsfDu1.js";
12
12
  import { v as ga } from "./v4-CKwdnpQf.js";
13
13
  const so = { class: "fm-typo-en-body-md-400" }, io = { class: "flex gap-8 items-center" }, lo = { class: "p-4 relative" }, uo = { class: "shadow-lg rounded-lg p-8" }, co = {
@@ -9249,7 +9249,7 @@ const ed = { class: "json-editor" }, td = ["title"], rd = { class: "error-text"
9249
9249
  K,
9250
9250
  w
9251
9251
  ), Te = ha(
9252
- `https://image.feedmedev.cc/business/${n.currentBusiness.value._id}/${ge.imagePath}`
9252
+ `https://image.feedme.cc/business/${n.currentBusiness.value._id}/${ge.imagePath}`
9253
9253
  );
9254
9254
  E(), i.value.layout.background = {
9255
9255
  url: Te,
@@ -9299,7 +9299,7 @@ const ed = { class: "json-editor" }, td = ["title"], rd = { class: "error-text"
9299
9299
  ge,
9300
9300
  w
9301
9301
  ), Ce = ha(
9302
- `https://image.feedmedev.cc/business/${n.currentBusiness.value._id}/${Te.imagePath}`
9302
+ `https://image.feedme.cc/business/${n.currentBusiness.value._id}/${Te.imagePath}`
9303
9303
  );
9304
9304
  E(), i.value.layout.sidePanel = {
9305
9305
  url: Ce,
@@ -1,19 +1,19 @@
1
1
  import { resolveComponent as V, TransitionGroup as qn, defineComponent as se, nextTick as rn, h as ma, isRef as Qn, isReactive as eo, isProxy as to, toRaw as ao, ref as q, computed as ie, createElementBlock as Z, openBlock as N, Fragment as Be, renderList as vt, createElementVNode as I, createVNode as w, createBlock as ae, createCommentVNode as Q, toDisplayString as j, unref as y, withCtx as M, normalizeClass as ye, watch as tt, withDirectives as Gt, withModifiers as ba, vShow as Xt, createTextVNode as no, onMounted as ln, resolveDynamicComponent as Ma, mergeProps as oo, normalizeProps as ro, guardReactiveProps as io, normalizeStyle as lo, renderSlot as wa, provide as so, inject as co, markRaw as uo } from "vue";
2
- import { T as po, u as Ge } from "./index-Bk6TOZrx.js";
2
+ import { T as po, u as Ge } from "./index-CPs0rWCO.js";
3
3
  import { defineStore as mo, storeToRefs as bo } from "pinia";
4
4
  import { p as fo } from "./views-BDWw3w14.js";
5
- import { A as go } from "./index-D0LOMBBD.js";
5
+ import { A as go } from "./index-C6_vWPi0.js";
6
6
  import { v as Ra } from "./v4-CKwdnpQf.js";
7
7
  import { _ as ho } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
8
8
  import { B as sn } from "./BaDivider-Cp9gfB4r.js";
9
9
  import { useI18n as Ze, useCoreStore as We } from "@feedmepos/mf-common";
10
- import { C as $a, _ as yo, a as vo } from "./main-CnZ43lhk.js";
10
+ import { C as $a, _ as yo, a as vo } from "./main-DPbEl465.js";
11
11
  import { useDialog as To, components as xo, useSnackbar as Co } from "@feedmepos/ui-library";
12
12
  import { useRouter as dn } from "vue-router";
13
13
  import { u as Ia, a as _o, b as wo } from "./brandkit-C8uulbNE.js";
14
- import { u as Ea } from "./index-BA2J-Ffh.js";
14
+ import { u as Ea } from "./index-BpYD24Jn.js";
15
15
  import { K as Io, V as Eo } from "./vue-sonner-CBFYmm8_.js";
16
- import { F as So, a as Ao } from "./app-C842VHiz.js";
16
+ import { F as So, a as Ao } from "./app-D7wWLr6E.js";
17
17
  /**!
18
18
  * Sortable 1.14.0
19
19
  * @author RubaXa <trash@rubaxa.org>
@@ -6605,7 +6605,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
6605
6605
  }
6606
6606
  async function g() {
6607
6607
  var v;
6608
- const f = `${"https://{slug}.feedmedev.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((v = r.currentBusiness.value) == null ? void 0 : v.id)}`)}`;
6608
+ const f = `${"https://{slug}.feedme.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((v = r.currentBusiness.value) == null ? void 0 : v.id)}`)}`;
6609
6609
  l.promise(
6610
6610
  async () => {
6611
6611
  var x;
@@ -8171,7 +8171,7 @@ _t.toString = Oa.bind(null, function(t, e, a) {
8171
8171
  const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full flex gap-8 justify-end items-center" }, _l = /* @__PURE__ */ se({
8172
8172
  __name: "PreviewQrCode",
8173
8173
  setup(t) {
8174
- const e = q(), a = We(), n = Ge(), { t: o } = Ze(), r = q(!1), l = ie(() => `${`${"https://{slug}.feedmedev.vip".replace("{slug}", `${a.currentBusiness.value.url ?? a.currentBusiness.value._id}`)}`}/preview/${n.state.selectedTemplate.templateId}`);
8174
+ const e = q(), a = We(), n = Ge(), { t: o } = Ze(), r = q(!1), l = ie(() => `${`${"https://{slug}.feedme.vip".replace("{slug}", `${a.currentBusiness.value.url ?? a.currentBusiness.value._id}`)}`}/preview/${n.state.selectedTemplate.templateId}`);
8175
8175
  function i() {
8176
8176
  Io.promise(navigator.clipboard.writeText(l.value), {
8177
8177
  loading: o("brand.template.shareMenu.copying"),
@@ -1,7 +1,7 @@
1
- import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as f, Fragment as C, createElementVNode as i, unref as u } from "vue";
2
- import { r as g, I as h } from "./image-D_Djf1PS.js";
1
+ import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as d, Fragment as C, createElementVNode as i, unref as u } from "vue";
2
+ import { r as g, I as h } from "./image-S7-2rbQS.js";
3
3
  import { useCoreStore as I } from "@feedmepos/mf-common";
4
- import "./main-CnZ43lhk.js";
4
+ import "./main-DPbEl465.js";
5
5
  import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
6
6
  import { C as k } from "./CircularProgress-DdblYCtV.js";
7
7
  import { v as F } from "./v4-CKwdnpQf.js";
@@ -22,12 +22,12 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
22
22
  o
23
23
  ).then((m) => {
24
24
  var p;
25
- const l = `https://image.feedmedev.cc/business/${a.currentBusiness.value._id}/${m.imagePath}`;
25
+ const l = `https://image.feedme.cc/business/${a.currentBusiness.value._id}/${m.imagePath}`;
26
26
  e.context.node.input(l);
27
27
  const n = new Image();
28
28
  (p = e.context) != null && p.ignoreUpdate || (n.onload = () => {
29
- var d;
30
- ((d = e.context.node.at("$root")) == null ? void 0 : d._value).containerStyles.height = `${Math.min(n.height, 400)}px`;
29
+ var f;
30
+ ((f = e.context.node.at("$root")) == null ? void 0 : f._value).containerStyles.height = `${Math.min(n.height, 400)}px`;
31
31
  }), n.src = g(l);
32
32
  }).finally(() => t.value = !1);
33
33
  }
@@ -60,10 +60,10 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
60
60
  class: "!text-[16px] text-fm-color-typo-white"
61
61
  })
62
62
  ])
63
- ], 64)) : f("", !0),
63
+ ], 64)) : d("", !0),
64
64
  t.value ? (s(), r("div", z, [
65
65
  c(u(k))
66
- ])) : f("", !0)
66
+ ])) : d("", !0)
67
67
  ]);
68
68
  };
69
69
  }
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as I, ref as f, computed as k, onBeforeMount as L, resolveComponent as c, createBlock as v, openBlock as u, withCtx as m, createElementVNode as a, createVNode as r, createElementBlock as x, Fragment as M, renderList as F, toDisplayString as P, withModifiers as R } from "vue";
2
2
  import { B as y } from "./BaDivider-Cp9gfB4r.js";
3
3
  import { _ as W } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
4
- import { u as $ } from "./index-Bk6TOZrx.js";
4
+ import { u as $ } from "./index-CPs0rWCO.js";
5
5
  import "@feedmepos/mf-common";
6
6
  const j = {
7
7
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, resolveComponent as y, createBlock as s, openBlock as c, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
2
- import { F as f } from "./app-C842VHiz.js";
2
+ import { F as f } from "./app-D7wWLr6E.js";
3
3
  const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
4
4
  __name: "ListRepeater",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as C, ref as k, computed as S, watch as F, resolveComponent as d, createElementBlock as _, openBlock as g, createElementVNode as o, createVNode as m, toDisplayString as B, unref as l, createBlock as I, withCtx as P } from "vue";
2
2
  import { useCoreStore as V, useI18n as q } from "@feedmepos/mf-common";
3
- import { B as v } from "./index-CVVQJJYY.js";
3
+ import { B as b } from "./index-CP6_oC8N.js";
4
4
  import { K as T } from "./vue-sonner-CBFYmm8_.js";
5
- import { r as A, I as D } from "./image-D_Djf1PS.js";
5
+ import { r as A, I as D } from "./image-S7-2rbQS.js";
6
6
  import { useSnackbar as E } from "@feedmepos/ui-library";
7
7
  const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
8
8
  "brand",
@@ -505,14 +505,14 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
505
505
  ], K = { class: "w-full flex flex-col gap-40" }, L = { class: "flex flex-col gap-24" }, M = { class: "w-full flex items-center justify-between h-[36px]" }, O = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, G = { class: "w-full flex gap-32" }, H = { class: "relative shrink-0 h-[100px] w-[100px]" }, J = ["src"], Q = { class: "absolute -top-8 -right-8 rounded-full h-32 w-32 border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white flex justify-center items-center" }, W = { class: "w-full flex flex-col gap-24 max-w-[400px]" }, X = { class: "text-fm-color-typo-secondary" }, re = /* @__PURE__ */ C({
506
506
  __name: "ManagementSettings",
507
507
  setup(Y) {
508
- const e = V(), b = E(), { t: r } = q(), p = k(!0), n = k({
508
+ const e = V(), h = E(), { t: r } = q(), p = k(!0), n = k({
509
509
  name: "",
510
510
  url: "",
511
511
  thumbnail: ""
512
512
  }), x = S(
513
- () => "https://{slug}.feedmedev.vip".replace("https://{slug}", "")
513
+ () => "https://{slug}.feedme.vip".replace("https://{slug}", "")
514
514
  );
515
- function h(t) {
515
+ function f(t) {
516
516
  var a;
517
517
  const s = (a = e.currentBusiness.value) == null ? void 0 : a._id;
518
518
  return s ? t || s : "";
@@ -525,12 +525,12 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
525
525
  function z() {
526
526
  var t;
527
527
  navigator.clipboard.writeText(
528
- "https://{slug}.feedmedev.vip".replace(
528
+ "https://{slug}.feedme.vip".replace(
529
529
  "{slug}",
530
- h((t = e.currentBusiness.value) == null ? void 0 : t.url)
530
+ f((t = e.currentBusiness.value) == null ? void 0 : t.url)
531
531
  )
532
532
  ).then(() => {
533
- b.open(
533
+ h.open(
534
534
  {
535
535
  message: r("brand.settings.management.toast.copiedUrl"),
536
536
  type: "success"
@@ -538,7 +538,7 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
538
538
  1500
539
539
  );
540
540
  }).catch((s) => {
541
- b.open(
541
+ h.open(
542
542
  {
543
543
  message: r("brand.settings.management.toast.failedToCopyUrl"),
544
544
  type: "error"
@@ -551,14 +551,14 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
551
551
  T.promise(
552
552
  async () => {
553
553
  var s;
554
- const t = h(n.value.url);
555
- return n.value.url != ((s = e.currentBusiness.value) == null ? void 0 : s.url) && await v.setShortUrl(
554
+ const t = f(n.value.url);
555
+ return n.value.url != ((s = e.currentBusiness.value) == null ? void 0 : s.url) && await b.setShortUrl(
556
556
  n.value.url,
557
557
  e.currentBusiness.value.url ?? "",
558
558
  e.currentBusiness.value._id
559
559
  ).catch((a) => {
560
560
  throw { message: a.message };
561
- }), await v.updateBusinessProfile(e.currentBusiness.value._id, {
561
+ }), await b.updateBusinessProfile(e.currentBusiness.value._id, {
562
562
  name: n.value.name,
563
563
  url: n.value.url,
564
564
  thumbnail: e.currentBusiness.value.thumbnail,
@@ -582,12 +582,12 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
582
582
  `thumbnail/${(/* @__PURE__ */ new Date()).toISOString()}.${s.name.split(".").pop()}`,
583
583
  s
584
584
  ).then(async (u) => {
585
- await v.updateBusinessProfile(e.currentBusiness.value._id, {
585
+ await b.updateBusinessProfile(e.currentBusiness.value._id, {
586
586
  name: n.value.name,
587
587
  url: n.value.url,
588
- thumbnail: `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`,
588
+ thumbnail: `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`,
589
589
  coverPhoto: e.currentBusiness.value.coverPhoto
590
- }), e.currentBusiness.value.thumbnail = `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`, n.value.thumbnail = `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`;
590
+ }), e.currentBusiness.value.thumbnail = `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`, n.value.thumbnail = `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`;
591
591
  });
592
592
  }
593
593
  return F(
@@ -599,7 +599,7 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
599
599
  { immediate: !0 }
600
600
  ), (t, s) => {
601
601
  var w, y;
602
- const a = d("FmButton"), c = d("FmAvatar"), u = d("FmIcon"), f = d("FmTextField");
602
+ const a = d("FmButton"), c = d("FmAvatar"), u = d("FmIcon"), v = d("FmTextField");
603
603
  return g(), _("div", K, [
604
604
  o("div", L, [
605
605
  o("div", M, [
@@ -637,7 +637,7 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
637
637
  ])
638
638
  ]),
639
639
  o("div", W, [
640
- m(f, {
640
+ m(v, {
641
641
  class: "w-full",
642
642
  label: l(r)("brand.settings.management.businessName"),
643
643
  modelValue: n.value.name,
@@ -646,7 +646,7 @@ const N = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
646
646
  s[1] || (s[1] = (i) => p.value = !1)
647
647
  ]
648
648
  }, null, 8, ["label", "modelValue"]),
649
- m(f, {
649
+ m(v, {
650
650
  class: "w-full",
651
651
  label: l(r)("brand.settings.management.url"),
652
652
  placeholder: (y = l(e).currentBusiness.value) == null ? void 0 : y._id,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, createElementBlock as D, openBlock as I, normalizeClass as m, createElementVNode as E, toDisplayString as C, ref as x, computed as J, watch as K, resolveComponent as l, unref as h, Fragment as v, renderList as W, createVNode as B, createCommentVNode as s, createBlock as r, withCtx as P, h as L } from "vue";
2
- import { u as Z } from "./index-Bk6TOZrx.js";
2
+ import { u as Z } from "./index-CPs0rWCO.js";
3
3
  import { useCoreStore as q, useI18n as X } from "@feedmepos/mf-common";
4
4
  import { p as y } from "./views-BDWw3w14.js";
5
5
  import { useRouter as b } from "vue-router";
@@ -6064,6 +6064,8 @@ const Ln = {
6064
6064
  voucher: {
6065
6065
  defaultTitle: "Voucher",
6066
6066
  noDescription: "No description",
6067
+ used: "Used",
6068
+ remaining: "Remaining",
6067
6069
  termsAndConditions: "Terms and Conditions",
6068
6070
  useVoucher: "Use voucher",
6069
6071
  transferVoucher: "Transfer voucher",
@@ -6578,6 +6580,8 @@ const Ln = {
6578
6580
  voucher: {
6579
6581
  defaultTitle: "优惠券",
6580
6582
  noDescription: "无描述",
6583
+ used: "已使用",
6584
+ remaining: "剩余",
6581
6585
  termsAndConditions: "条款和条件",
6582
6586
  useVoucher: "使用优惠券",
6583
6587
  transferVoucher: "转让优惠券",
@@ -7119,6 +7123,8 @@ const Ln = {
7119
7123
  voucher: {
7120
7124
  defaultTitle: "優惠券",
7121
7125
  noDescription: "無描述",
7126
+ used: "已使用",
7127
+ remaining: "剩餘",
7122
7128
  termsAndConditions: "條款和條件",
7123
7129
  useVoucher: "使用優惠券",
7124
7130
  transferVoucher: "轉讓優惠券",
@@ -7637,6 +7643,8 @@ const Ln = {
7637
7643
  voucher: {
7638
7644
  defaultTitle: "คูปอง",
7639
7645
  noDescription: "ไม่มีคำอธิบาย",
7646
+ used: "ใช้ไปแล้ว",
7647
+ remaining: "คงเหลือ",
7640
7648
  termsAndConditions: "ข้อกำหนดและเงื่อนไข",
7641
7649
  useVoucher: "ใช้คูปอง",
7642
7650
  transferVoucher: "โอนคูปอง",
@@ -8195,6 +8203,8 @@ const Ln = {
8195
8203
  voucher: {
8196
8204
  defaultTitle: "쿠폰",
8197
8205
  noDescription: "설명 없음",
8206
+ used: "사용됨",
8207
+ remaining: "잔여",
8198
8208
  termsAndConditions: "이용 약관",
8199
8209
  useVoucher: "쿠폰 사용",
8200
8210
  transferVoucher: "쿠폰 양도",
@@ -8745,6 +8755,8 @@ const Ln = {
8745
8755
  voucher: {
8746
8756
  defaultTitle: "Phiếu giảm giá",
8747
8757
  noDescription: "Không có mô tả",
8758
+ used: "Đã dùng",
8759
+ remaining: "Còn lại",
8748
8760
  termsAndConditions: "Điều khoản và Điều kiện",
8749
8761
  useVoucher: "Sử dụng phiếu giảm giá",
8750
8762
  transferVoucher: "Chuyển nhượng phiếu giảm giá",
@@ -9265,6 +9277,8 @@ const Ln = {
9265
9277
  voucher: {
9266
9278
  defaultTitle: "Baucar",
9267
9279
  noDescription: "Tiada penerangan",
9280
+ used: "Digunakan",
9281
+ remaining: "Baki",
9268
9282
  termsAndConditions: "Terma dan Syarat",
9269
9283
  useVoucher: "Guna baucar",
9270
9284
  transferVoucher: "Pindahkan baucar",
@@ -9400,12 +9414,12 @@ const Ln = {
9400
9414
  {
9401
9415
  path: "/",
9402
9416
  name: "brandkit",
9403
- component: () => import("./BrandkitView-CngvcS-w.js")
9417
+ component: () => import("./BrandkitView-DLdUvnhH.js")
9404
9418
  },
9405
9419
  {
9406
9420
  path: "/projects",
9407
9421
  name: "projects",
9408
- component: () => import("./ProjectView-ByxaVBFb.js")
9422
+ component: () => import("./ProjectView-DKXRpIC6.js")
9409
9423
  },
9410
9424
  {
9411
9425
  path: "/builder",
@@ -9414,7 +9428,7 @@ const Ln = {
9414
9428
  {
9415
9429
  path: ":templateId(.*)*",
9416
9430
  name: "builder",
9417
- component: () => import("./BuilderView-C_Uq2Nd5.js")
9431
+ component: () => import("./BuilderView-CPpOJoLy.js")
9418
9432
  }
9419
9433
  ]
9420
9434
  },
@@ -9427,12 +9441,12 @@ const Ln = {
9427
9441
  {
9428
9442
  path: "assets",
9429
9443
  name: "settings-assets",
9430
- component: () => import("./AssetsSettings-DtZ6goQl.js")
9444
+ component: () => import("./AssetsSettings-Do8rt2sU.js")
9431
9445
  },
9432
9446
  {
9433
9447
  path: "management",
9434
9448
  name: "settings-management",
9435
- component: () => import("./ManagementSettings-D0goBMzs.js")
9449
+ component: () => import("./ManagementSettings-CZggw3Jd.js")
9436
9450
  }
9437
9451
  ]
9438
9452
  },
@@ -14110,7 +14124,7 @@ const Eu = (e) => {
14110
14124
  ),
14111
14125
  BaListRepeater: G(
14112
14126
  V(
14113
- () => import("./ListRepeater-CRLAn6mb.js")
14127
+ () => import("./ListRepeater-E8etiDo0.js")
14114
14128
  )
14115
14129
  ),
14116
14130
  BaTextStyleList: G(
@@ -14130,13 +14144,13 @@ const Eu = (e) => {
14130
14144
  ),
14131
14145
  BaImageUpload: G(
14132
14146
  V(
14133
- () => import("./ImageUpload-DQWBWRVn.js")
14147
+ () => import("./ImageUpload-RybBP6EA.js")
14134
14148
  ),
14135
14149
  { props: ["ignoreUpdate"] }
14136
14150
  ),
14137
14151
  BaLinkButton: G(
14138
14152
  V(
14139
- () => import("./LinkButton-De-YNclu.js")
14153
+ () => import("./LinkButton-DNXBKGCn.js")
14140
14154
  )
14141
14155
  ),
14142
14156
  BaSwitch: G(
@@ -14159,7 +14173,7 @@ const Eu = (e) => {
14159
14173
  "ko-KR": { ...Hn, ...xi },
14160
14174
  "vi-VN": { ...zn, ...Ni },
14161
14175
  "ms-MY": { ...ai, ...Ki }
14162
- }, Vu = V(() => import("./App-D9q9FDSW.js"));
14176
+ }, Vu = V(() => import("./App-BK_t6D4W.js"));
14163
14177
  export {
14164
14178
  hn as F,
14165
14179
  pn as a,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { c as i, d as o, i as e, r as m } from "./app-C842VHiz.js";
2
+ import { c as i, d as o, i as e, r as m } from "./app-D7wWLr6E.js";
3
3
  export {
4
4
  i as FmApp,
5
5
  o as FormKitPlugin,
@@ -393,6 +393,8 @@ export declare const i18nMessages: {
393
393
  voucher: {
394
394
  defaultTitle: string;
395
395
  noDescription: string;
396
+ used: string;
397
+ remaining: string;
396
398
  termsAndConditions: string;
397
399
  useVoucher: string;
398
400
  transferVoucher: string;
@@ -1646,6 +1648,8 @@ export declare const i18nMessages: {
1646
1648
  voucher: {
1647
1649
  defaultTitle: string;
1648
1650
  noDescription: string;
1651
+ used: string;
1652
+ remaining: string;
1649
1653
  termsAndConditions: string;
1650
1654
  useVoucher: string;
1651
1655
  transferVoucher: string;
@@ -2927,6 +2931,8 @@ export declare const i18nMessages: {
2927
2931
  voucher: {
2928
2932
  defaultTitle: string;
2929
2933
  noDescription: string;
2934
+ used: string;
2935
+ remaining: string;
2930
2936
  termsAndConditions: string;
2931
2937
  useVoucher: string;
2932
2938
  transferVoucher: string;
@@ -4185,6 +4191,8 @@ export declare const i18nMessages: {
4185
4191
  voucher: {
4186
4192
  defaultTitle: string;
4187
4193
  noDescription: string;
4194
+ used: string;
4195
+ remaining: string;
4188
4196
  termsAndConditions: string;
4189
4197
  useVoucher: string;
4190
4198
  transferVoucher: string;
@@ -5483,6 +5491,8 @@ export declare const i18nMessages: {
5483
5491
  voucher: {
5484
5492
  defaultTitle: string;
5485
5493
  noDescription: string;
5494
+ used: string;
5495
+ remaining: string;
5486
5496
  termsAndConditions: string;
5487
5497
  useVoucher: string;
5488
5498
  transferVoucher: string;
@@ -6939,6 +6949,8 @@ export declare const i18nMessages: {
6939
6949
  voucher: {
6940
6950
  defaultTitle: string;
6941
6951
  noDescription: string;
6952
+ used: string;
6953
+ remaining: string;
6942
6954
  termsAndConditions: string;
6943
6955
  useVoucher: string;
6944
6956
  transferVoucher: string;
@@ -8365,6 +8377,8 @@ export declare const i18nMessages: {
8365
8377
  voucher: {
8366
8378
  defaultTitle: string;
8367
8379
  noDescription: string;
8380
+ used: string;
8381
+ remaining: string;
8368
8382
  termsAndConditions: string;
8369
8383
  useVoucher: string;
8370
8384
  transferVoucher: string;
@@ -1,9 +1,9 @@
1
- import { H as r, a as p } from "./index-D0LOMBBD.js";
1
+ import { H as r, a as p } from "./index-C6_vWPi0.js";
2
2
  const i = () => p().PWA_ICON_SERVICE_BACKEND;
3
- async function d(e, t, a) {
3
+ async function s(e, t, a) {
4
4
  const n = new FormData();
5
5
  return n.append("file", a), (await r.Put(
6
- "https://api.feedmedev.vip",
6
+ "https://api.feedme.vip",
7
7
  `/image/${e}/${t}`,
8
8
  {
9
9
  headers: {
@@ -13,9 +13,9 @@ async function d(e, t, a) {
13
13
  }
14
14
  )).data;
15
15
  }
16
- async function s(e, t) {
16
+ async function d(e, t) {
17
17
  return (await r.Delete(
18
- "https://api.feedmedev.vip",
18
+ "https://api.feedme.vip",
19
19
  `/image/${e}/${t}`
20
20
  )).data;
21
21
  }
@@ -29,8 +29,8 @@ async function o(e, t) {
29
29
  })).data;
30
30
  }
31
31
  const f = {
32
- uploadImage: d,
33
- deleteImage: s,
32
+ uploadImage: s,
33
+ deleteImage: d,
34
34
  uploadAppIcon: o
35
35
  };
36
36
  function u(e) {
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-CVVQJJYY.js";
1
+ import { B as u } from "./index-CP6_oC8N.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {