@feedmepos/mf-settings 0.0.67-alpha.0 → 0.0.67-alpha.1
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-dd9dd400.js → App-ff996e59.js} +2 -2
- package/dist/{Business-d8e4f7d1.js → Business-a8ef60aa.js} +2 -2
- package/dist/{Tagging-fcbb1569.js → Tagging-c200a99f.js} +2 -2
- package/dist/{app-a060d858.js → app-6d1a848d.js} +67 -71
- package/dist/app.js +2 -2
- package/dist/apps/mf-settings/src/app.d.ts +1343 -2
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ import { useRouter as zn, RouterView as Gn } from "vue-router";
|
|
|
3
3
|
import { useI18n as Ln, useCoreStore as Qr, FeedMeAuth as Hn } from "@feedmepos/mf-common";
|
|
4
4
|
import { c as ur } from "./_commonjs-dynamic-modules-bed80856.js";
|
|
5
5
|
import { c as Oe, e as Jr } from "./index-b9ef9a01.js";
|
|
6
|
-
import { r as lr } from "./app-
|
|
6
|
+
import { r as lr } from "./app-6d1a848d.js";
|
|
7
7
|
import { r as hr, g as Yr, i as Un, a as Vn, _ as Ar, C as Ir, b as Kn, S as Et, c as dt, E as $r, d as Wn, e as Xr, f as Qn, h as Jn, L as Zr, j as we, k as Yn, l as Xn, F as gr, q as jt, m as Zn, n as ea, o as ta, p as ra, s as na, t as aa, u as ia, v as sa } from "./map-695afd6f.js";
|
|
8
8
|
import "@feedmepos/mf-mdm";
|
|
9
|
-
import "@feedmepos/mf-order-setting";
|
|
10
9
|
import "@feedmepos/ui-library";
|
|
11
10
|
import "@feedmepos/mf-e-invoice";
|
|
11
|
+
import "@feedmepos/mf-order-setting";
|
|
12
12
|
function mr(k, p) {
|
|
13
13
|
var b = {};
|
|
14
14
|
for (var j in k)
|
|
@@ -14,13 +14,13 @@ import { c as qr } from "./object-27ce045b.js";
|
|
|
14
14
|
import { b as B_ } from "./business-7684bcec.js";
|
|
15
15
|
import { t as so, w as oo, x as z_, y as K_, z as G_, A as q_, B as gi, u as dr, D as W_, G as H_ } from "./map-695afd6f.js";
|
|
16
16
|
import { _ as dd } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
import { u as Y_ } from "./app-
|
|
17
|
+
import { u as Y_ } from "./app-6d1a848d.js";
|
|
18
18
|
import { r as Rn } from "./rules-2bee6632.js";
|
|
19
19
|
import "pinia";
|
|
20
20
|
import "@feedmepos/mf-mdm";
|
|
21
|
-
import "@feedmepos/mf-order-setting";
|
|
22
21
|
import "vue-router";
|
|
23
22
|
import "@feedmepos/mf-e-invoice";
|
|
23
|
+
import "@feedmepos/mf-order-setting";
|
|
24
24
|
const X_ = { class: "px-8" }, J_ = { class: "max-h-[160px] overflow-y-auto" }, Q_ = /* @__PURE__ */ Ke({
|
|
25
25
|
__name: "FilterEntry",
|
|
26
26
|
props: {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as Mr, h as xl, getCurrentInstance as Mi, inject as Bm,
|
|
|
2
2
|
import "@vue/devtools-api";
|
|
3
3
|
import { useI18n as Fl, useCoreStore as Ml } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as Ul, useSnackbar as kl, components as Qm, useBreakpoints as zm, FmButtonVariant as jm } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as eE } from "./app-
|
|
5
|
+
import { _ as eE } from "./app-6d1a848d.js";
|
|
6
6
|
import { _ as nE, c as rl } from "./createForm-d3b97d2e.js";
|
|
7
7
|
import { u as Wl } from "./index-3f4c8817.js";
|
|
8
8
|
import { _ as il, c as tE } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
@@ -11,9 +11,9 @@ import { c as wi } from "./object-27ce045b.js";
|
|
|
11
11
|
import { defineStore as rE } from "pinia";
|
|
12
12
|
import { b as rs } from "./business-7684bcec.js";
|
|
13
13
|
import "@feedmepos/mf-mdm";
|
|
14
|
-
import "@feedmepos/mf-order-setting";
|
|
15
14
|
import "vue-router";
|
|
16
15
|
import "@feedmepos/mf-e-invoice";
|
|
16
|
+
import "@feedmepos/mf-order-setting";
|
|
17
17
|
/*!
|
|
18
18
|
* shared v10.0.5
|
|
19
19
|
* (c) 2024 kazuya kawaguchi
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FmApp as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useBreakpoints as P } from "@feedmepos/ui-library";
|
|
1
|
+
import { FmApp as y, routers as f, i18nMessages as s } from "@feedmepos/mf-mdm";
|
|
2
|
+
import { ref as v, watch as u, nextTick as m, onMounted as R, onBeforeUnmount as w, defineComponent as _, computed as L, openBlock as h, createElementBlock as U, normalizeStyle as q, renderSlot as O, resolveComponent as S, createBlock as T, withCtx as A, createElementVNode as C, createVNode as x, defineAsyncComponent as k } from "vue";
|
|
3
|
+
import { useBreakpoints as I } from "@feedmepos/ui-library";
|
|
5
4
|
import "vue-router";
|
|
6
|
-
import { withPermission as
|
|
7
|
-
import { FmApp as
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { withPermission as p, Permission as g } from "@feedmepos/mf-common";
|
|
6
|
+
import { FmApp as N, routers as $ } from "@feedmepos/mf-e-invoice";
|
|
7
|
+
import { FmApp as P, routers as F } from "@feedmepos/mf-order-setting";
|
|
8
|
+
function D(e, o) {
|
|
9
|
+
const n = v({ top: 0, bottom: 0, left: 0, right: 0 });
|
|
10
10
|
function a() {
|
|
11
11
|
if (e.value) {
|
|
12
12
|
const i = e.value.getBoundingClientRect();
|
|
@@ -18,53 +18,53 @@ function M(e, o) {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
return
|
|
22
|
-
await
|
|
23
|
-
}),
|
|
24
|
-
i && (await
|
|
25
|
-
}),
|
|
21
|
+
return u(o, async () => {
|
|
22
|
+
await m(), a();
|
|
23
|
+
}), u(e, async (i) => {
|
|
24
|
+
i && (await m(), a());
|
|
25
|
+
}), R(() => {
|
|
26
26
|
window.addEventListener("resize", a);
|
|
27
|
-
}),
|
|
27
|
+
}), w(() => {
|
|
28
28
|
window.removeEventListener("resize", a);
|
|
29
29
|
}), n;
|
|
30
30
|
}
|
|
31
|
-
const B = /* @__PURE__ */
|
|
31
|
+
const B = /* @__PURE__ */ _({
|
|
32
32
|
__name: "FullWrapper",
|
|
33
33
|
setup(e) {
|
|
34
|
-
const o =
|
|
35
|
-
var
|
|
36
|
-
const
|
|
34
|
+
const o = I(), n = v(null), a = D(n), i = L(() => {
|
|
35
|
+
var c;
|
|
36
|
+
const d = o.isAtMost("sm") ? 56 : 0;
|
|
37
37
|
return {
|
|
38
|
-
height: `calc(100dvh - ${((
|
|
38
|
+
height: `calc(100dvh - ${((c = a.value) == null ? void 0 : c.top) + 24 + d}px)`
|
|
39
39
|
};
|
|
40
40
|
});
|
|
41
|
-
return (
|
|
41
|
+
return (l, d) => (h(), U("div", {
|
|
42
42
|
ref_key: "wrapper",
|
|
43
43
|
ref: n,
|
|
44
|
-
style:
|
|
44
|
+
style: q(i.value)
|
|
45
45
|
}, [
|
|
46
|
-
|
|
46
|
+
O(l.$slots, "default")
|
|
47
47
|
], 4));
|
|
48
48
|
}
|
|
49
|
-
}),
|
|
49
|
+
}), M = { class: "flex justify-center items-center h-full w-full" }, E = /* @__PURE__ */ _({
|
|
50
50
|
__name: "PageLoading",
|
|
51
51
|
setup(e) {
|
|
52
52
|
return (o, n) => {
|
|
53
|
-
const a =
|
|
54
|
-
return
|
|
55
|
-
default:
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
const a = S("FmCircularProgress");
|
|
54
|
+
return h(), T(B, null, {
|
|
55
|
+
default: A(() => [
|
|
56
|
+
C("div", M, [
|
|
57
|
+
x(a, { size: "xl" })
|
|
58
58
|
])
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
}), t = (e) =>
|
|
64
|
+
}), t = (e) => k({
|
|
65
65
|
loader: e,
|
|
66
|
-
loadingComponent:
|
|
67
|
-
}),
|
|
66
|
+
loadingComponent: E
|
|
67
|
+
}), j = {
|
|
68
68
|
title: "Settings",
|
|
69
69
|
eInvoice: {
|
|
70
70
|
title: "E-invoice"
|
|
@@ -464,8 +464,8 @@ const B = /* @__PURE__ */ h({
|
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
}, K = {
|
|
467
|
-
settings:
|
|
468
|
-
},
|
|
467
|
+
settings: j
|
|
468
|
+
}, z = {
|
|
469
469
|
title: "การตั้งค่า",
|
|
470
470
|
eInvoice: {
|
|
471
471
|
title: "ใบแจ้งหนี้อิเล็กทรอนิกส์"
|
|
@@ -864,9 +864,9 @@ const B = /* @__PURE__ */ h({
|
|
|
864
864
|
message: 'คุณแน่ใจหรือไม่ว่าต้องการลบเทมเพลตเหตุผลสำหรับ "{action}"? การดำเนินการนี้ไม่สามารถยกเลิกได้'
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
+
}, V = {
|
|
868
|
+
settings: z
|
|
867
869
|
}, H = {
|
|
868
|
-
settings: V
|
|
869
|
-
}, W = {
|
|
870
870
|
title: "设置",
|
|
871
871
|
eInvoice: {
|
|
872
872
|
title: "电子发票"
|
|
@@ -1268,9 +1268,9 @@ const B = /* @__PURE__ */ h({
|
|
|
1268
1268
|
message: '确定要删除"{action}"的原因模板吗?此操作无法撤销。'
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
|
+
}, W = {
|
|
1272
|
+
settings: H
|
|
1271
1273
|
}, G = {
|
|
1272
|
-
settings: W
|
|
1273
|
-
}, Y = {
|
|
1274
1274
|
title: "設置",
|
|
1275
1275
|
eInvoice: {
|
|
1276
1276
|
title: "電子發票"
|
|
@@ -1672,13 +1672,13 @@ const B = /* @__PURE__ */ h({
|
|
|
1672
1672
|
message: '確定要刪除"{action}"的原因模板嗎?此操作無法撤銷。'
|
|
1673
1673
|
}
|
|
1674
1674
|
}
|
|
1675
|
-
},
|
|
1676
|
-
settings:
|
|
1677
|
-
},
|
|
1675
|
+
}, Y = {
|
|
1676
|
+
settings: G
|
|
1677
|
+
}, r = [
|
|
1678
1678
|
{
|
|
1679
1679
|
path: "/business",
|
|
1680
1680
|
name: "$settings-my-business",
|
|
1681
|
-
component: t(() => import("./Business-
|
|
1681
|
+
component: t(() => import("./Business-a8ef60aa.js")),
|
|
1682
1682
|
meta: {
|
|
1683
1683
|
i18nKey: "settings.business.title"
|
|
1684
1684
|
}
|
|
@@ -1702,8 +1702,8 @@ const B = /* @__PURE__ */ h({
|
|
|
1702
1702
|
{
|
|
1703
1703
|
path: "/devices",
|
|
1704
1704
|
name: "$settings-device",
|
|
1705
|
-
component:
|
|
1706
|
-
children:
|
|
1705
|
+
component: y,
|
|
1706
|
+
children: f.map((e) => ({ ...e, path: `/device${e.path}` })),
|
|
1707
1707
|
meta: {
|
|
1708
1708
|
i18nKey: "settings.device.title",
|
|
1709
1709
|
hideNavigation: !0
|
|
@@ -1729,8 +1729,8 @@ const B = /* @__PURE__ */ h({
|
|
|
1729
1729
|
{
|
|
1730
1730
|
path: "/e-invoice",
|
|
1731
1731
|
name: "$settings-e-invoice",
|
|
1732
|
-
component:
|
|
1733
|
-
children:
|
|
1732
|
+
component: N,
|
|
1733
|
+
children: $.map((e) => ({ ...e, path: `/e-invoice${e.path}` })),
|
|
1734
1734
|
meta: {
|
|
1735
1735
|
i18nKey: "settings.eInvoice.title"
|
|
1736
1736
|
}
|
|
@@ -1738,7 +1738,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1738
1738
|
{
|
|
1739
1739
|
path: "/tagging",
|
|
1740
1740
|
name: "$settings-tagging",
|
|
1741
|
-
component:
|
|
1741
|
+
component: p(t(() => import("./Tagging-c200a99f.js"))),
|
|
1742
1742
|
meta: {
|
|
1743
1743
|
i18nKey: "settings.tagging.title",
|
|
1744
1744
|
validationManifest: {
|
|
@@ -1759,55 +1759,51 @@ const B = /* @__PURE__ */ h({
|
|
|
1759
1759
|
{
|
|
1760
1760
|
path: "/devices/order-setting",
|
|
1761
1761
|
name: "$pos-order-setting",
|
|
1762
|
-
component:
|
|
1763
|
-
children:
|
|
1762
|
+
component: p(P),
|
|
1763
|
+
children: F.map((e) => ({ ...e, path: `/order-setting${e.path}` })),
|
|
1764
1764
|
meta: {
|
|
1765
1765
|
hideNavigation: !0,
|
|
1766
1766
|
validationManifest: {
|
|
1767
1767
|
requiredCaslPermissions: [
|
|
1768
1768
|
{
|
|
1769
|
-
action:
|
|
1770
|
-
subject:
|
|
1769
|
+
action: g.Action.manage,
|
|
1770
|
+
subject: g.Subject.Business.restaurant
|
|
1771
1771
|
}
|
|
1772
1772
|
]
|
|
1773
1773
|
}
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
1776
|
];
|
|
1777
|
-
var
|
|
1778
|
-
|
|
1777
|
+
var b;
|
|
1778
|
+
r.push({
|
|
1779
1779
|
path: "/",
|
|
1780
1780
|
redirect: {
|
|
1781
|
-
name: ((
|
|
1781
|
+
name: ((b = r[0].children) == null ? void 0 : b[0].name) || r[0].name
|
|
1782
1782
|
}
|
|
1783
1783
|
});
|
|
1784
|
-
const
|
|
1784
|
+
const ie = t(() => import("./App-ff996e59.js")), ne = {
|
|
1785
1785
|
"en-US": {
|
|
1786
1786
|
...K,
|
|
1787
|
-
...s["en-US"]
|
|
1788
|
-
...r["en-US"]
|
|
1787
|
+
...s["en-US"]
|
|
1789
1788
|
},
|
|
1790
1789
|
"zh-CN": {
|
|
1791
|
-
...
|
|
1792
|
-
...s["zh-CN"]
|
|
1793
|
-
...r["zh-CN"]
|
|
1790
|
+
...W,
|
|
1791
|
+
...s["zh-CN"]
|
|
1794
1792
|
},
|
|
1795
1793
|
"th-TH": {
|
|
1796
|
-
...
|
|
1797
|
-
...s["th-TH"]
|
|
1798
|
-
...r["th-TH"]
|
|
1794
|
+
...V,
|
|
1795
|
+
...s["th-TH"]
|
|
1799
1796
|
},
|
|
1800
1797
|
"zh-Hant": {
|
|
1801
|
-
...
|
|
1802
|
-
...s["zh-Hant"] || {}
|
|
1803
|
-
...r["zh-Hant"] || {}
|
|
1798
|
+
...Y,
|
|
1799
|
+
...s["zh-Hant"] || {}
|
|
1804
1800
|
}
|
|
1805
|
-
},
|
|
1801
|
+
}, oe = t(() => import("./ReasonTemplate-c39df454.js"));
|
|
1806
1802
|
export {
|
|
1807
|
-
|
|
1808
|
-
|
|
1803
|
+
ie as F,
|
|
1804
|
+
oe as R,
|
|
1809
1805
|
B as _,
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1806
|
+
ne as i,
|
|
1807
|
+
r,
|
|
1808
|
+
D as u
|
|
1813
1809
|
};
|
package/dist/app.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "@feedmepos/mf-mdm";
|
|
2
|
-
import "
|
|
3
|
-
import { F as n, R as F, i as R, r as f } from "./app-a060d858.js";
|
|
2
|
+
import { F as n, R as F, i as R, r as f } from "./app-6d1a848d.js";
|
|
4
3
|
import "vue";
|
|
5
4
|
import "@feedmepos/ui-library";
|
|
6
5
|
import "vue-router";
|
|
7
6
|
import "@feedmepos/mf-common";
|
|
8
7
|
import "@feedmepos/mf-e-invoice";
|
|
8
|
+
import "@feedmepos/mf-order-setting";
|
|
9
9
|
export {
|
|
10
10
|
n as FmApp,
|
|
11
11
|
F as ReasonTemplateView,
|