@feedmepos/mf-settings 0.0.55 → 0.0.56-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.
- package/dist/{App-e6b77ccd.js → App-129e0e7f.js} +98 -107
- package/dist/Business-c3128898.js +12002 -0
- package/dist/{CreateBusiness-fa4096f9.js → CreateBusiness-1170607c.js} +2 -2
- package/dist/{FoodCourt-0a28a67f.js → FoodCourt-0b078e7e.js} +1 -1
- package/dist/{Tagging-3a7fb06e.js → Tagging-dd278f34.js} +3 -3
- package/dist/TemplateBuilder-3e34e9e8.js +27 -0
- package/dist/{app-a6247e67.js → app-f112a90e.js} +15 -11
- package/dist/app.js +1 -1
- package/dist/apps/mf-settings/src/app.d.ts +4 -0
- package/dist/{business-ad1b9825.js → business-deac65cf.js} +1 -1
- package/dist/{index-71e4b8aa.js → index-80dd9e14.js} +211 -211
- package/dist/{map-695afd6f.js → map-54b71412.js} +527 -410
- package/package.json +1 -1
- package/dist/Business-557b464e.js +0 -3920
- package/dist/TemplateBuilder-54a34178.js +0 -27
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { unref as a, openBlock as Q, createBlock as N, createCommentVNode as L, withScopeId as Z, defineComponent as m, createElementBlock as S, ref as c, watch as W, computed as w, watchEffect as E, onBeforeUnmount as G, resolveComponent as B, createVNode as b, withCtx as Y, createElementVNode as e, toDisplayString as l, Fragment as M, renderList as _, normalizeClass as $ } from "vue";
|
|
2
|
-
import { u as AA, F as oA } from "./index-
|
|
2
|
+
import { u as AA, F as oA } from "./index-80dd9e14.js";
|
|
3
3
|
import "./index-759f69a1.js";
|
|
4
4
|
import { useCoreStore as nA, useI18n as gA, useCountry as fA } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as aA } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as eA, r as pA } from "./rules-c9fa22f8.js";
|
|
7
|
-
import { b as v } from "./business-
|
|
7
|
+
import { b as v } from "./business-deac65cf.js";
|
|
8
8
|
import "pinia";
|
|
9
9
|
function I(A) {
|
|
10
10
|
return typeof A == "function" ? A() : a(A);
|
|
@@ -8,7 +8,7 @@ import { c as Qg, a as zd } from "./index-e68421c3.js";
|
|
|
8
8
|
import { d as Xg, _ as hc, u as Zg, a as xg } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-030a97dd.js";
|
|
9
9
|
import { components as so, useSnackbar as gl, useDialogChild as ep, useDialog as Kf, useBreakpoints as tp } from "@feedmepos/ui-library";
|
|
10
10
|
import { c as Hf, _ as np, a as C$ } from "./object-8ac0c0d8.js";
|
|
11
|
-
import { g as Gn, r as la, b as Fd, u as Tc } from "./index-
|
|
11
|
+
import { g as Gn, r as la, b as Fd, u as Tc } from "./index-80dd9e14.js";
|
|
12
12
|
import "pinia";
|
|
13
13
|
var wd = {}, fn = {}, pl = {};
|
|
14
14
|
Object.defineProperty(pl, "__esModule", { value: !0 });
|
|
@@ -2,13 +2,13 @@ import { defineComponent as Fr, h as bo, getCurrentInstance as Pi, inject as Mm,
|
|
|
2
2
|
import "@vue/devtools-api";
|
|
3
3
|
import { useI18n as wo, useCoreStore as Do } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as Po, useSnackbar as xo, components as Ym, useBreakpoints as Xm, FmButtonVariant as qm } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as Jm } from "./app-
|
|
5
|
+
import { _ as Jm } from "./app-f112a90e.js";
|
|
6
6
|
import { c as Ci, _ as Zm, a as Qm } from "./object-8ac0c0d8.js";
|
|
7
|
-
import { u as Fo } from "./index-
|
|
7
|
+
import { u as Fo } from "./index-80dd9e14.js";
|
|
8
8
|
import { _ as zm, c as jm } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
9
9
|
import { c as br } from "./index-759f69a1.js";
|
|
10
10
|
import { defineStore as eE } from "pinia";
|
|
11
|
-
import { b as es } from "./business-
|
|
11
|
+
import { b as es } from "./business-deac65cf.js";
|
|
12
12
|
import "@feedmepos/mf-mdm";
|
|
13
13
|
import "vue-router";
|
|
14
14
|
import "@feedmepos/mf-e-invoice";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as o, computed as n, resolveComponent as d, openBlock as s, createElementBlock as c, createVNode as m } from "vue";
|
|
2
|
+
import { useCoreStore as u, FeedMeAuth as i } from "@feedmepos/mf-common";
|
|
3
|
+
const l = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "w-full h-full flex items-center justify-center"
|
|
6
|
+
}, p = ["src"], h = /* @__PURE__ */ o({
|
|
7
|
+
__name: "TemplateBuilder",
|
|
8
|
+
setup(f) {
|
|
9
|
+
const e = u(), t = n(() => {
|
|
10
|
+
var r;
|
|
11
|
+
return e.currentBusiness.value ? `https://print-template-builder.feedme.cc//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${i.token}` : "";
|
|
12
|
+
});
|
|
13
|
+
return (r, b) => {
|
|
14
|
+
const a = d("FmCircularProgress");
|
|
15
|
+
return t.value ? (s(), c("iframe", {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "w-full h-full",
|
|
18
|
+
src: t.value
|
|
19
|
+
}, null, 8, p)) : (s(), c("div", l, [
|
|
20
|
+
m(a, { size: "lg" })
|
|
21
|
+
]));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
h as default
|
|
27
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FmApp as b, routers as _, i18nMessages as s } from "@feedmepos/mf-mdm";
|
|
2
|
-
import { ref as m, watch as c, nextTick as u, onMounted as v, onBeforeUnmount as h, defineComponent as
|
|
2
|
+
import { ref as m, watch as c, nextTick as u, onMounted as v, onBeforeUnmount as h, defineComponent as g, computed as y, openBlock as p, createElementBlock as f, normalizeStyle as R, renderSlot as L, resolveComponent as w, createBlock as U, withCtx as C, createElementVNode as q, createVNode as T, defineAsyncComponent as A } from "vue";
|
|
3
3
|
import { useBreakpoints as x } from "@feedmepos/ui-library";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import { withPermission as k } from "@feedmepos/mf-common";
|
|
@@ -27,7 +27,7 @@ function $(e, n) {
|
|
|
27
27
|
window.removeEventListener("resize", t);
|
|
28
28
|
}), o;
|
|
29
29
|
}
|
|
30
|
-
const I = /* @__PURE__ */
|
|
30
|
+
const I = /* @__PURE__ */ g({
|
|
31
31
|
__name: "FullWrapper",
|
|
32
32
|
setup(e) {
|
|
33
33
|
const n = x(), o = m(null), t = $(o), a = y(() => {
|
|
@@ -37,7 +37,7 @@ const I = /* @__PURE__ */ p({
|
|
|
37
37
|
height: `calc(100dvh - ${((d = t.value) == null ? void 0 : d.top) + 24 + l}px)`
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
|
-
return (r, l) => (
|
|
40
|
+
return (r, l) => (p(), f("div", {
|
|
41
41
|
ref_key: "wrapper",
|
|
42
42
|
ref: o,
|
|
43
43
|
style: R(a.value)
|
|
@@ -45,12 +45,12 @@ const I = /* @__PURE__ */ p({
|
|
|
45
45
|
L(r.$slots, "default")
|
|
46
46
|
], 4));
|
|
47
47
|
}
|
|
48
|
-
}), N = { class: "flex justify-center items-center h-full w-full" }, P = /* @__PURE__ */
|
|
48
|
+
}), N = { class: "flex justify-center items-center h-full w-full" }, P = /* @__PURE__ */ g({
|
|
49
49
|
__name: "PageLoading",
|
|
50
50
|
setup(e) {
|
|
51
51
|
return (n, o) => {
|
|
52
52
|
const t = w("FmCircularProgress");
|
|
53
|
-
return
|
|
53
|
+
return p(), U(I, null, {
|
|
54
54
|
default: C(() => [
|
|
55
55
|
q("div", N, [
|
|
56
56
|
T(t, { size: "xl" })
|
|
@@ -819,6 +819,10 @@ const I = /* @__PURE__ */ p({
|
|
|
819
819
|
title: "设置餐厅代码",
|
|
820
820
|
message: '确定要设置餐厅 "{name}" 的代码为 "{code}" 吗?代码只能设置一次。'
|
|
821
821
|
}
|
|
822
|
+
},
|
|
823
|
+
codeConfirmation: {
|
|
824
|
+
title: "设置餐厅代码",
|
|
825
|
+
message: '确定要设置餐厅 "{name}" 的代码为 "{code}" 吗?代码只能设置一次。'
|
|
822
826
|
}
|
|
823
827
|
},
|
|
824
828
|
form: {
|
|
@@ -1024,7 +1028,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1024
1028
|
{
|
|
1025
1029
|
path: "/business",
|
|
1026
1030
|
name: "$settings-my-business",
|
|
1027
|
-
component: i(() => import("./Business-
|
|
1031
|
+
component: i(() => import("./Business-c3128898.js")),
|
|
1028
1032
|
meta: {
|
|
1029
1033
|
i18nKey: "settings.business.title"
|
|
1030
1034
|
}
|
|
@@ -1032,7 +1036,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1032
1036
|
{
|
|
1033
1037
|
path: "/create-business",
|
|
1034
1038
|
name: "$settings-create-business",
|
|
1035
|
-
component: i(() => import("./CreateBusiness-
|
|
1039
|
+
component: i(() => import("./CreateBusiness-1170607c.js")),
|
|
1036
1040
|
meta: {
|
|
1037
1041
|
hideNavigation: !0
|
|
1038
1042
|
}
|
|
@@ -1040,7 +1044,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1040
1044
|
{
|
|
1041
1045
|
path: "/foodcourt",
|
|
1042
1046
|
name: "$settings-food-court",
|
|
1043
|
-
component: i(() => import("./FoodCourt-
|
|
1047
|
+
component: i(() => import("./FoodCourt-0b078e7e.js")),
|
|
1044
1048
|
meta: {
|
|
1045
1049
|
i18nKey: "settings.food_court.list.title"
|
|
1046
1050
|
}
|
|
@@ -1057,7 +1061,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1057
1061
|
{
|
|
1058
1062
|
path: "/template-builder",
|
|
1059
1063
|
name: "$settings-template-builder",
|
|
1060
|
-
component: i(() => import("./TemplateBuilder-
|
|
1064
|
+
component: i(() => import("./TemplateBuilder-3e34e9e8.js")),
|
|
1061
1065
|
meta: {
|
|
1062
1066
|
i18nKey: "settings.templateBuilder.title"
|
|
1063
1067
|
}
|
|
@@ -1082,7 +1086,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1082
1086
|
{
|
|
1083
1087
|
path: "/tagging",
|
|
1084
1088
|
name: "$settings-tagging",
|
|
1085
|
-
component: k(i(() => import("./Tagging-
|
|
1089
|
+
component: k(i(() => import("./Tagging-dd278f34.js"))),
|
|
1086
1090
|
meta: {
|
|
1087
1091
|
i18nKey: "settings.tagging.title",
|
|
1088
1092
|
validationManifest: {
|
|
@@ -1091,7 +1095,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1091
1095
|
hideNavigation: !0
|
|
1092
1096
|
}
|
|
1093
1097
|
}
|
|
1094
|
-
], Q = i(() => import("./App-
|
|
1098
|
+
], Q = i(() => import("./App-129e0e7f.js")), J = {
|
|
1095
1099
|
"en-US": {
|
|
1096
1100
|
...D,
|
|
1097
1101
|
...s["en-US"]
|
package/dist/app.js
CHANGED