@feedmepos/mf-settings 0.0.70 → 0.0.71-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.
@@ -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-b1e448c9.js";
7
+ import { u as An, r as Pn, s as Nn } from "./index-6d139c6d.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-8ce45c02.js";
5
+ import { _ as eE } from "./app-3687ef10.js";
6
6
  import { _ as nE, c as rl } from "./createForm-d3b97d2e.js";
7
- import { u as Wl } from "./index-b1e448c9.js";
7
+ import { u as Wl } from "./index-6d139c6d.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-a8c3cad5.js";
12
+ import { b as rs } from "./business-f739dad4.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 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
+ };
@@ -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-3d64f697.js")),
1681
+ component: t(() => import("./Business-ec7f23df.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-d18cc97c.js")),
1689
+ component: t(() => import("./CreateBusiness-c881b40e.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-177c3938.js")),
1697
+ component: t(() => import("./FoodCourt-97bcc558.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-ab29d986.js"))),
1722
+ component: g(t(() => import("./Tagging-1d766021.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-b56a5a9d.js")),
1734
+ component: t(() => import("./ReasonTemplate-b4e2346e.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-54a34178.js")),
1770
+ component: t(() => import("./TemplateBuilder-3e34e9e8.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-c49967dc.js")), oe = {
1784
+ const ne = t(() => import("./App-ff52772f.js")), oe = {
1785
1785
  "en-US": {
1786
1786
  ...K,
1787
1787
  ...s["en-US"],
@@ -1802,7 +1802,7 @@ const ne = t(() => import("./App-c49967dc.js")), oe = {
1802
1802
  ...s["zh-Hant"] || {},
1803
1803
  ...r["zh-Hant"] || {}
1804
1804
  }
1805
- }, se = t(() => import("./ReasonTemplate-b56a5a9d.js"));
1805
+ }, se = t(() => import("./ReasonTemplate-b4e2346e.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-8ce45c02.js";
3
+ import { F as n, R as F, i as R, r as f } from "./app-3687ef10.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
  };