@feedmepos/mf-settings 0.0.71 → 0.0.72-beta.2
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-82b9c831.js → App-8ecdea98.js} +1 -1
- package/dist/{Business-24120f27.js → Business-609ebd81.js} +2599 -2570
- package/dist/{FoodCourt-ec458df0.js → FoodCourt-c38eaa03.js} +20665 -19788
- package/dist/Tagging-18570860.js +6824 -0
- package/dist/{app-1ab5a5ac.js → app-0ce7ead5.js} +67 -39
- package/dist/app.js +1 -1
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +5 -0
- package/dist/packages/shared/src/composable/search.d.ts +1 -1
- package/package.json +2 -2
- package/dist/Tagging-52e62bc6.js +0 -6779
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FmApp as f, routers as R, i18nMessages as s } from "@feedmepos/mf-mdm";
|
|
2
2
|
import { FmApp as w, routers as L, i18nMessages as r } from "@feedmepos/mf-order-setting";
|
|
3
|
-
import { ref as
|
|
4
|
-
import { useBreakpoints as
|
|
3
|
+
import { ref as v, watch as u, nextTick as p, onMounted as U, onBeforeUnmount as O, defineComponent as _, computed as q, openBlock as y, createElementBlock as T, normalizeStyle as S, renderSlot as A, resolveComponent as C, createBlock as k, withCtx as x, createElementVNode as I, createVNode as P, defineAsyncComponent as N } from "vue";
|
|
4
|
+
import { useBreakpoints as $ } from "@feedmepos/ui-library";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import { withPermission as g, Permission as b } from "@feedmepos/mf-common";
|
|
7
|
-
import { FmApp as
|
|
8
|
-
function
|
|
9
|
-
const n =
|
|
7
|
+
import { FmApp as M, routers as D } from "@feedmepos/mf-e-invoice";
|
|
8
|
+
function F(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,35 +18,35 @@ function M(e, o) {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return u(o, async () => {
|
|
22
22
|
await p(), a();
|
|
23
|
-
}),
|
|
23
|
+
}), u(e, async (i) => {
|
|
24
24
|
i && (await p(), a());
|
|
25
25
|
}), U(() => {
|
|
26
26
|
window.addEventListener("resize", a);
|
|
27
|
-
}),
|
|
27
|
+
}), O(() => {
|
|
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
|
|
34
|
+
const o = $(), n = v(null), a = F(n), i = q(() => {
|
|
35
|
+
var m;
|
|
36
36
|
const c = o.isAtMost("sm") ? 56 : 0;
|
|
37
37
|
return {
|
|
38
|
-
height: `calc(100dvh - ${((
|
|
38
|
+
height: `calc(100dvh - ${((m = a.value) == null ? void 0 : m.top) + 24 + c}px)`
|
|
39
39
|
};
|
|
40
40
|
});
|
|
41
|
-
return (d, c) => (y(),
|
|
41
|
+
return (d, c) => (y(), T("div", {
|
|
42
42
|
ref_key: "wrapper",
|
|
43
43
|
ref: n,
|
|
44
|
-
style:
|
|
44
|
+
style: S(i.value)
|
|
45
45
|
}, [
|
|
46
46
|
A(d.$slots, "default")
|
|
47
47
|
], 4));
|
|
48
48
|
}
|
|
49
|
-
}), E = { class: "flex justify-center items-center h-full w-full" }, j = /* @__PURE__ */
|
|
49
|
+
}), E = { class: "flex justify-center items-center h-full w-full" }, j = /* @__PURE__ */ _({
|
|
50
50
|
__name: "PageLoading",
|
|
51
51
|
setup(e) {
|
|
52
52
|
return (o, n) => {
|
|
@@ -54,14 +54,14 @@ const B = /* @__PURE__ */ h({
|
|
|
54
54
|
return y(), k(B, null, {
|
|
55
55
|
default: x(() => [
|
|
56
56
|
I("div", E, [
|
|
57
|
-
|
|
57
|
+
P(a, { size: "xl" })
|
|
58
58
|
])
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
}), t = (e) =>
|
|
64
|
+
}), t = (e) => N({
|
|
65
65
|
loader: e,
|
|
66
66
|
loadingComponent: j
|
|
67
67
|
}), z = {
|
|
@@ -84,6 +84,10 @@ const B = /* @__PURE__ */ h({
|
|
|
84
84
|
url: "Business URL",
|
|
85
85
|
add_restaurant: "Add restaurant",
|
|
86
86
|
search_restaurants: "Search restaurants",
|
|
87
|
+
empty_state: {
|
|
88
|
+
description: "Create a business to start managing your restaurants.",
|
|
89
|
+
membership_hint: "Already part of a business? Ask the business owner to add you from HRM > Team members."
|
|
90
|
+
},
|
|
87
91
|
quota: {
|
|
88
92
|
limit_title: "Quota limit reached",
|
|
89
93
|
limit_message: "You have reach the quota limit allocated to your account. Contact your sales to perform quota update."
|
|
@@ -372,7 +376,9 @@ const B = /* @__PURE__ */ h({
|
|
|
372
376
|
type: "Tagging type",
|
|
373
377
|
typeOptions: {
|
|
374
378
|
string: "String",
|
|
375
|
-
number: "Number"
|
|
379
|
+
number: "Number",
|
|
380
|
+
date: "Date",
|
|
381
|
+
boolean: "Boolean"
|
|
376
382
|
},
|
|
377
383
|
entity: "Tagging entity",
|
|
378
384
|
entityOptions: {
|
|
@@ -381,7 +387,8 @@ const B = /* @__PURE__ */ h({
|
|
|
381
387
|
warehouse: "Warehouse",
|
|
382
388
|
inventorySku: "Inventory Sku",
|
|
383
389
|
inventoryRecipe: "Inventory Recipe",
|
|
384
|
-
group: "Group"
|
|
390
|
+
group: "Group",
|
|
391
|
+
inventoryPurchaseOrder: "Inventory Purchase Order"
|
|
385
392
|
},
|
|
386
393
|
optionsSection: "Tagging Optional Values",
|
|
387
394
|
enableOptions: "Enable predefined values",
|
|
@@ -463,9 +470,9 @@ const B = /* @__PURE__ */ h({
|
|
|
463
470
|
message: 'Are you sure you want to delete the reason template for "{action}"? This action cannot be undone.'
|
|
464
471
|
}
|
|
465
472
|
}
|
|
466
|
-
},
|
|
473
|
+
}, H = {
|
|
467
474
|
settings: z
|
|
468
|
-
},
|
|
475
|
+
}, K = {
|
|
469
476
|
title: "การตั้งค่า",
|
|
470
477
|
eInvoice: {
|
|
471
478
|
title: "ใบแจ้งหนี้อิเล็กทรอนิกส์"
|
|
@@ -485,6 +492,10 @@ const B = /* @__PURE__ */ h({
|
|
|
485
492
|
url: "URL ธุรกิจ",
|
|
486
493
|
add_restaurant: "เพิ่มร้านอาหาร",
|
|
487
494
|
search_restaurants: "ค้นหาร้านอาหาร",
|
|
495
|
+
empty_state: {
|
|
496
|
+
description: "สร้างธุรกิจเพื่อเริ่มจัดการร้านอาหารของคุณ",
|
|
497
|
+
membership_hint: "หากคุณควรอยู่ในธุรกิจนี้อยู่แล้ว โปรดขอให้เจ้าของธุรกิจเพิ่มคุณจาก HRM > Team members"
|
|
498
|
+
},
|
|
488
499
|
quota: {
|
|
489
500
|
limit_title: "ถึงขีดจำกัดโควตาแล้ว",
|
|
490
501
|
limit_message: "คุณถึงขีดจำกัดโควตาที่จัดสรรให้กับบัญชีของคุณแล้ว ติดต่อฝ่ายขายเพื่อดำเนินการอัปเดตโควตา"
|
|
@@ -773,7 +784,9 @@ const B = /* @__PURE__ */ h({
|
|
|
773
784
|
type: "ประเภทการแท็ก",
|
|
774
785
|
typeOptions: {
|
|
775
786
|
string: "สตริง",
|
|
776
|
-
number: "ตัวเลข"
|
|
787
|
+
number: "ตัวเลข",
|
|
788
|
+
date: "วันที่",
|
|
789
|
+
boolean: "บูลีน"
|
|
777
790
|
},
|
|
778
791
|
entity: "เอนทิตีการแท็ก",
|
|
779
792
|
entityOptions: {
|
|
@@ -782,7 +795,8 @@ const B = /* @__PURE__ */ h({
|
|
|
782
795
|
warehouse: "คลังสินค้า",
|
|
783
796
|
inventorySku: "SKU สินค้าคงคลัง",
|
|
784
797
|
inventoryRecipe: "สูตรสินค้าคงคลัง",
|
|
785
|
-
group: "กลุ่ม"
|
|
798
|
+
group: "กลุ่ม",
|
|
799
|
+
inventoryPurchaseOrder: "ใบสั่งซื้อ"
|
|
786
800
|
},
|
|
787
801
|
optionsSection: "ค่าตัวเลือก",
|
|
788
802
|
enableOptions: "เปิดใช้งานค่าที่กำหนดไว้ล่วงหน้า",
|
|
@@ -864,8 +878,8 @@ const B = /* @__PURE__ */ h({
|
|
|
864
878
|
message: 'คุณแน่ใจหรือไม่ว่าต้องการลบเทมเพลตเหตุผลสำหรับ "{action}"? การดำเนินการนี้ไม่สามารถยกเลิกได้'
|
|
865
879
|
}
|
|
866
880
|
}
|
|
867
|
-
},
|
|
868
|
-
settings:
|
|
881
|
+
}, V = {
|
|
882
|
+
settings: K
|
|
869
883
|
}, W = {
|
|
870
884
|
title: "设置",
|
|
871
885
|
eInvoice: {
|
|
@@ -886,6 +900,10 @@ const B = /* @__PURE__ */ h({
|
|
|
886
900
|
url: "商户 url",
|
|
887
901
|
add_restaurant: "添加餐厅",
|
|
888
902
|
search_restaurants: "搜索餐厅",
|
|
903
|
+
empty_state: {
|
|
904
|
+
description: "创建商户以开始管理您的餐厅。",
|
|
905
|
+
membership_hint: "如果您本应属于某个商户,请联系商户所有者通过 HRM > Team members 将您添加进去。"
|
|
906
|
+
},
|
|
889
907
|
quota: {
|
|
890
908
|
limit_title: "配额限制",
|
|
891
909
|
limit_message: "您已达到配额限制。请联系您的销售代表进行配额更新。"
|
|
@@ -1177,7 +1195,9 @@ const B = /* @__PURE__ */ h({
|
|
|
1177
1195
|
type: "标签类型",
|
|
1178
1196
|
typeOptions: {
|
|
1179
1197
|
string: "字符串",
|
|
1180
|
-
number: "数字"
|
|
1198
|
+
number: "数字",
|
|
1199
|
+
date: "日期",
|
|
1200
|
+
boolean: "布尔值"
|
|
1181
1201
|
},
|
|
1182
1202
|
entity: "标签实体",
|
|
1183
1203
|
entityOptions: {
|
|
@@ -1186,7 +1206,8 @@ const B = /* @__PURE__ */ h({
|
|
|
1186
1206
|
warehouse: "仓库",
|
|
1187
1207
|
inventorySku: "库存SKU",
|
|
1188
1208
|
inventoryRecipe: "库存配方",
|
|
1189
|
-
group: "分组"
|
|
1209
|
+
group: "分组",
|
|
1210
|
+
inventoryPurchaseOrder: "库存订单"
|
|
1190
1211
|
},
|
|
1191
1212
|
optionsSection: "可选值",
|
|
1192
1213
|
enableOptions: "启用预定义值",
|
|
@@ -1290,6 +1311,10 @@ const B = /* @__PURE__ */ h({
|
|
|
1290
1311
|
url: "商户 url",
|
|
1291
1312
|
add_restaurant: "添加餐廳",
|
|
1292
1313
|
search_restaurants: "搜索餐廳",
|
|
1314
|
+
empty_state: {
|
|
1315
|
+
description: "建立商戶以開始管理您的餐廳。",
|
|
1316
|
+
membership_hint: "如果您本來就應該屬於某個商戶,請聯絡商戶擁有者透過 HRM > Team members 將您加入。"
|
|
1317
|
+
},
|
|
1293
1318
|
quota: {
|
|
1294
1319
|
limit_title: "配額限制",
|
|
1295
1320
|
limit_message: "您已達到配額限制。請聯繫您的銷售代表進行配額更新。"
|
|
@@ -1581,7 +1606,9 @@ const B = /* @__PURE__ */ h({
|
|
|
1581
1606
|
type: "標籤類型",
|
|
1582
1607
|
typeOptions: {
|
|
1583
1608
|
string: "字符串",
|
|
1584
|
-
number: "數字"
|
|
1609
|
+
number: "數字",
|
|
1610
|
+
date: "日期",
|
|
1611
|
+
boolean: "布爾值"
|
|
1585
1612
|
},
|
|
1586
1613
|
entity: "標籤實體",
|
|
1587
1614
|
entityOptions: {
|
|
@@ -1590,7 +1617,8 @@ const B = /* @__PURE__ */ h({
|
|
|
1590
1617
|
warehouse: "倉庫",
|
|
1591
1618
|
inventorySku: "庫存SKU",
|
|
1592
1619
|
inventoryRecipe: "庫存配方",
|
|
1593
|
-
group: "分組"
|
|
1620
|
+
group: "分組",
|
|
1621
|
+
inventoryPurchaseOrder: "庫存訂單"
|
|
1594
1622
|
},
|
|
1595
1623
|
optionsSection: "可選值",
|
|
1596
1624
|
enableOptions: "啟用預定義值",
|
|
@@ -1678,7 +1706,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1678
1706
|
{
|
|
1679
1707
|
path: "/business",
|
|
1680
1708
|
name: "$settings-my-business",
|
|
1681
|
-
component: t(() => import("./Business-
|
|
1709
|
+
component: t(() => import("./Business-609ebd81.js")),
|
|
1682
1710
|
meta: {
|
|
1683
1711
|
i18nKey: "settings.business.title"
|
|
1684
1712
|
}
|
|
@@ -1694,7 +1722,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1694
1722
|
{
|
|
1695
1723
|
path: "/foodcourt",
|
|
1696
1724
|
name: "$settings-food-court",
|
|
1697
|
-
component: t(() => import("./FoodCourt-
|
|
1725
|
+
component: t(() => import("./FoodCourt-c38eaa03.js")),
|
|
1698
1726
|
meta: {
|
|
1699
1727
|
i18nKey: "settings.food_court.list.title"
|
|
1700
1728
|
}
|
|
@@ -1710,7 +1738,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1710
1738
|
{
|
|
1711
1739
|
path: "/e-invoice",
|
|
1712
1740
|
name: "$settings-e-invoice",
|
|
1713
|
-
component:
|
|
1741
|
+
component: M,
|
|
1714
1742
|
children: D.map((e) => ({ ...e, path: `/e-invoice${e.path}` })),
|
|
1715
1743
|
meta: {
|
|
1716
1744
|
i18nKey: "settings.eInvoice.title"
|
|
@@ -1719,7 +1747,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1719
1747
|
{
|
|
1720
1748
|
path: "/tagging",
|
|
1721
1749
|
name: "$settings-tagging",
|
|
1722
|
-
component: g(t(() => import("./Tagging-
|
|
1750
|
+
component: g(t(() => import("./Tagging-18570860.js"))),
|
|
1723
1751
|
meta: {
|
|
1724
1752
|
i18nKey: "settings.tagging.title",
|
|
1725
1753
|
validationManifest: {
|
|
@@ -1774,16 +1802,16 @@ const B = /* @__PURE__ */ h({
|
|
|
1774
1802
|
}
|
|
1775
1803
|
}
|
|
1776
1804
|
];
|
|
1777
|
-
var
|
|
1805
|
+
var h;
|
|
1778
1806
|
l.push({
|
|
1779
1807
|
path: "/",
|
|
1780
1808
|
redirect: {
|
|
1781
|
-
name: ((
|
|
1809
|
+
name: ((h = l[0].children) == null ? void 0 : h[0].name) || l[0].name
|
|
1782
1810
|
}
|
|
1783
1811
|
});
|
|
1784
|
-
const ne = t(() => import("./App-
|
|
1812
|
+
const ne = t(() => import("./App-8ecdea98.js")), oe = {
|
|
1785
1813
|
"en-US": {
|
|
1786
|
-
...
|
|
1814
|
+
...H,
|
|
1787
1815
|
...s["en-US"],
|
|
1788
1816
|
...r["en-US"]
|
|
1789
1817
|
},
|
|
@@ -1793,7 +1821,7 @@ const ne = t(() => import("./App-82b9c831.js")), oe = {
|
|
|
1793
1821
|
...r["zh-CN"]
|
|
1794
1822
|
},
|
|
1795
1823
|
"th-TH": {
|
|
1796
|
-
...
|
|
1824
|
+
...V,
|
|
1797
1825
|
...s["th-TH"],
|
|
1798
1826
|
...r["th-TH"]
|
|
1799
1827
|
},
|
|
@@ -1809,5 +1837,5 @@ export {
|
|
|
1809
1837
|
B as _,
|
|
1810
1838
|
oe as i,
|
|
1811
1839
|
l as r,
|
|
1812
|
-
|
|
1840
|
+
F as u
|
|
1813
1841
|
};
|
package/dist/app.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@feedmepos/mf-mdm";
|
|
2
2
|
import "@feedmepos/mf-order-setting";
|
|
3
|
-
import { F as n, R as F, i as R, r as f } from "./app-
|
|
3
|
+
import { F as n, R as F, i as R, r as f } from "./app-0ce7ead5.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "@feedmepos/ui-library";
|
|
6
6
|
import "vue-router";
|