@feedmepos/mf-settings 0.0.70-prod → 0.0.71
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-f8b754e4.js → App-82b9c831.js} +563 -554
- package/dist/Business-24120f27.js +11921 -0
- package/dist/{CreateBusiness-ea235dd4.js → CreateBusiness-55e7de74.js} +3 -3
- package/dist/{FoodCourt-3e855d46.js → FoodCourt-ec458df0.js} +22726 -23562
- package/dist/{ReasonTemplate-b4e2346e.js → ReasonTemplate-b56a5a9d.js} +1 -1
- package/dist/{Tagging-1e64a223.js → Tagging-52e62bc6.js} +3 -3
- package/dist/TemplateBuilder-54a34178.js +27 -0
- package/dist/{app-78c02498.js → app-1ab5a5ac.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/apps/mf-settings/src/api/business.d.ts +1 -1
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-9cbfc828.js → business-1b85fe7e.js} +13 -9
- package/dist/{index-6d139c6d.js → index-b1e448c9.js} +333 -333
- package/dist/{map-54b71412.js → map-695afd6f.js} +410 -527
- package/package.json +2 -2
- package/dist/Business-849a8dc1.js +0 -20044
- package/dist/TemplateBuilder-3e34e9e8.js +0 -27
|
@@ -4,7 +4,7 @@ import { useSnackbar as Sn, components as Tn, useBreakpoints as Cn, useDialog as
|
|
|
4
4
|
import { _ as In } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js";
|
|
5
5
|
import { _ as On, c as xt } from "./createForm-d3b97d2e.js";
|
|
6
6
|
import { _ as It, c as Fn } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
7
|
-
import { u as An, r as Pn, s as Nn } from "./index-
|
|
7
|
+
import { u as An, r as Pn, s as Nn } from "./index-b1e448c9.js";
|
|
8
8
|
import "./index-b9ef9a01.js";
|
|
9
9
|
import { r as kn } from "./rules-2bee6632.js";
|
|
10
10
|
import "pinia";
|
|
@@ -2,14 +2,14 @@ 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-1ab5a5ac.js";
|
|
6
6
|
import { _ as nE, c as rl } from "./createForm-d3b97d2e.js";
|
|
7
|
-
import { u as Wl } from "./index-
|
|
7
|
+
import { u as Wl } from "./index-b1e448c9.js";
|
|
8
8
|
import { _ as il, c as tE } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
9
9
|
import { c as Cr } from "./index-b9ef9a01.js";
|
|
10
10
|
import { c as wi } from "./object-27ce045b.js";
|
|
11
11
|
import { defineStore as rE } from "pinia";
|
|
12
|
-
import { b as rs } from "./business-
|
|
12
|
+
import { b as rs } from "./business-1b85fe7e.js";
|
|
13
13
|
import "@feedmepos/mf-mdm";
|
|
14
14
|
import "@feedmepos/mf-order-setting";
|
|
15
15
|
import "vue-router";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as a, computed as c, resolveComponent as u, openBlock as s, createElementBlock as o, createVNode as d } from "vue";
|
|
2
|
+
import { useCoreStore as l, FeedMeAuth as m } from "@feedmepos/mf-common";
|
|
3
|
+
const i = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "w-full h-full flex items-center justify-center"
|
|
6
|
+
}, p = ["src"], h = /* @__PURE__ */ a({
|
|
7
|
+
__name: "TemplateBuilder",
|
|
8
|
+
setup(f) {
|
|
9
|
+
const e = l(), t = c(() => {
|
|
10
|
+
var r;
|
|
11
|
+
return e.currentBusiness.value ? `https://print-template-builder.feedme.dev//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${m.token}` : "";
|
|
12
|
+
});
|
|
13
|
+
return (r, v) => {
|
|
14
|
+
const n = u("FmCircularProgress");
|
|
15
|
+
return t.value ? (s(), o("iframe", {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "w-full h-full",
|
|
18
|
+
src: t.value
|
|
19
|
+
}, null, 8, p)) : (s(), o("div", i, [
|
|
20
|
+
d(n, { size: "lg" })
|
|
21
|
+
]));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
h as default
|
|
27
|
+
};
|
|
@@ -1678,7 +1678,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1678
1678
|
{
|
|
1679
1679
|
path: "/business",
|
|
1680
1680
|
name: "$settings-my-business",
|
|
1681
|
-
component: t(() => import("./Business-
|
|
1681
|
+
component: t(() => import("./Business-24120f27.js")),
|
|
1682
1682
|
meta: {
|
|
1683
1683
|
i18nKey: "settings.business.title"
|
|
1684
1684
|
}
|
|
@@ -1686,7 +1686,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1686
1686
|
{
|
|
1687
1687
|
path: "/create-business",
|
|
1688
1688
|
name: "$settings-create-business",
|
|
1689
|
-
component: t(() => import("./CreateBusiness-
|
|
1689
|
+
component: t(() => import("./CreateBusiness-55e7de74.js")),
|
|
1690
1690
|
meta: {
|
|
1691
1691
|
hideNavigation: !0
|
|
1692
1692
|
}
|
|
@@ -1694,7 +1694,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1694
1694
|
{
|
|
1695
1695
|
path: "/foodcourt",
|
|
1696
1696
|
name: "$settings-food-court",
|
|
1697
|
-
component: t(() => import("./FoodCourt-
|
|
1697
|
+
component: t(() => import("./FoodCourt-ec458df0.js")),
|
|
1698
1698
|
meta: {
|
|
1699
1699
|
i18nKey: "settings.food_court.list.title"
|
|
1700
1700
|
}
|
|
@@ -1719,7 +1719,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1719
1719
|
{
|
|
1720
1720
|
path: "/tagging",
|
|
1721
1721
|
name: "$settings-tagging",
|
|
1722
|
-
component: g(t(() => import("./Tagging-
|
|
1722
|
+
component: g(t(() => import("./Tagging-52e62bc6.js"))),
|
|
1723
1723
|
meta: {
|
|
1724
1724
|
i18nKey: "settings.tagging.title",
|
|
1725
1725
|
validationManifest: {
|
|
@@ -1731,7 +1731,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1731
1731
|
{
|
|
1732
1732
|
path: "/reason-template",
|
|
1733
1733
|
name: "$settings-reason-template",
|
|
1734
|
-
component: t(() => import("./ReasonTemplate-
|
|
1734
|
+
component: t(() => import("./ReasonTemplate-b56a5a9d.js")),
|
|
1735
1735
|
meta: {
|
|
1736
1736
|
i18nKey: "settings.reasonTemplate.title",
|
|
1737
1737
|
hideNavigation: !0
|
|
@@ -1767,7 +1767,7 @@ const B = /* @__PURE__ */ h({
|
|
|
1767
1767
|
{
|
|
1768
1768
|
path: "/devices/template-builder",
|
|
1769
1769
|
name: "$settings-template-builder",
|
|
1770
|
-
component: t(() => import("./TemplateBuilder-
|
|
1770
|
+
component: t(() => import("./TemplateBuilder-54a34178.js")),
|
|
1771
1771
|
meta: {
|
|
1772
1772
|
i18nKey: "settings.templateBuilder.title",
|
|
1773
1773
|
hideNavigation: !0
|
|
@@ -1781,7 +1781,7 @@ l.push({
|
|
|
1781
1781
|
name: ((v = l[0].children) == null ? void 0 : v[0].name) || l[0].name
|
|
1782
1782
|
}
|
|
1783
1783
|
});
|
|
1784
|
-
const ne = t(() => import("./App-
|
|
1784
|
+
const ne = t(() => import("./App-82b9c831.js")), oe = {
|
|
1785
1785
|
"en-US": {
|
|
1786
1786
|
...K,
|
|
1787
1787
|
...s["en-US"],
|
|
@@ -1802,7 +1802,7 @@ const ne = t(() => import("./App-f8b754e4.js")), oe = {
|
|
|
1802
1802
|
...s["zh-Hant"] || {},
|
|
1803
1803
|
...r["zh-Hant"] || {}
|
|
1804
1804
|
}
|
|
1805
|
-
}, se = t(() => import("./ReasonTemplate-
|
|
1805
|
+
}, se = t(() => import("./ReasonTemplate-b56a5a9d.js"));
|
|
1806
1806
|
export {
|
|
1807
1807
|
ne as F,
|
|
1808
1808
|
se as R,
|
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-1ab5a5ac.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "@feedmepos/ui-library";
|
|
6
6
|
import "vue-router";
|
|
@@ -25,7 +25,7 @@ export declare const businessApi: {
|
|
|
25
25
|
updateBusinessProfile(id: string, data: UpdateBusinessProfile): Promise<FdoBusiness>;
|
|
26
26
|
updateBusinessAttributeSettings(id: string, data: FdoCustomAttribute[]): Promise<FdoBusiness>;
|
|
27
27
|
updateRestaurantAttributeSettings(id: string, data: FdoCustomAttribute[]): Promise<FdoBusiness>;
|
|
28
|
-
readAgentByCode(code: string): Promise<IAgent | null>;
|
|
28
|
+
readAgentByCode(code: string, country: string): Promise<IAgent | null>;
|
|
29
29
|
createBusiness(data: Partial<FdoBusiness>, country: string): Promise<FdoBusiness>;
|
|
30
30
|
readBusinesses(country: string): Promise<FdoBusiness[]>;
|
|
31
31
|
};
|