@feedmepos/mf-settings 0.0.72-beta.2 → 0.0.73

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.
@@ -1,9 +1,9 @@
1
1
  import { unref as a, openBlock as Q, createBlock as N, createCommentVNode as m, withScopeId as Z, defineComponent as L, 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-b1e448c9.js";
2
+ import { u as AA, F as oA } from "./index-6d139c6d.js";
3
3
  import { useCoreStore as nA, useI18n as gA, useCountry as fA } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as aA } from "@feedmepos/ui-library";
5
5
  import { r as eA } from "./rules-2bee6632.js";
6
- import { b as v } from "./business-1b85fe7e.js";
6
+ import { b as v } from "./business-f739dad4.js";
7
7
  import { _ as pA } from "./_plugin-vue_export-helper-dad06003.js";
8
8
  import "pinia";
9
9
  import "./index-b9ef9a01.js";
@@ -9,7 +9,7 @@ import { d as zv, u as Ev } from "./dayjs.min-6eec923a.js";
9
9
  import { components as ds, useSnackbar as lc, useDialogChild as Fv, useDialog as Eg, useBreakpoints as wv } from "@feedmepos/ui-library";
10
10
  import { _ as Sv } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js";
11
11
  import { _ as Tv, c as rp } from "./createForm-d3b97d2e.js";
12
- import { g as Mr, c as yi, b as ah, u as _$ } from "./index-b1e448c9.js";
12
+ import { g as Mr, c as yi, b as ah, u as _$ } from "./index-6d139c6d.js";
13
13
  import { c as Fg } from "./object-27ce045b.js";
14
14
  import "pinia";
15
15
  var ih = {}, Dn = {}, dc = {};
@@ -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 Ur, h as Mo, getCurrentInstance as ki, inject as $m,
2
2
  import "@vue/devtools-api";
3
3
  import { useI18n as Uo, useCoreStore as ko } from "@feedmepos/mf-common";
4
4
  import { useDialog as Wo, useSnackbar as Vo, components as Qm, useBreakpoints as zm, FmButtonVariant as jm } from "@feedmepos/ui-library";
5
- import { _ as ev } from "./app-0ce7ead5.js";
5
+ import { _ as ev } from "./app-68470ebc.js";
6
6
  import { _ as nv, c as io } from "./createForm-d3b97d2e.js";
7
- import { u as Bo } from "./index-b1e448c9.js";
7
+ import { u as Bo } from "./index-6d139c6d.js";
8
8
  import { _ as uo, c as tv } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
9
9
  import { c as Rr } from "./index-b9ef9a01.js";
10
10
  import { c as Pi } from "./object-27ce045b.js";
11
11
  import { defineStore as rv } from "pinia";
12
- import { b as us } from "./business-1b85fe7e.js";
12
+ import { b as us } 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
+ };
@@ -1706,7 +1706,7 @@ const B = /* @__PURE__ */ _({
1706
1706
  {
1707
1707
  path: "/business",
1708
1708
  name: "$settings-my-business",
1709
- component: t(() => import("./Business-609ebd81.js")),
1709
+ component: t(() => import("./Business-89227fa1.js")),
1710
1710
  meta: {
1711
1711
  i18nKey: "settings.business.title"
1712
1712
  }
@@ -1714,7 +1714,7 @@ const B = /* @__PURE__ */ _({
1714
1714
  {
1715
1715
  path: "/create-business",
1716
1716
  name: "$settings-create-business",
1717
- component: t(() => import("./CreateBusiness-55e7de74.js")),
1717
+ component: t(() => import("./CreateBusiness-c881b40e.js")),
1718
1718
  meta: {
1719
1719
  hideNavigation: !0
1720
1720
  }
@@ -1722,7 +1722,7 @@ const B = /* @__PURE__ */ _({
1722
1722
  {
1723
1723
  path: "/foodcourt",
1724
1724
  name: "$settings-food-court",
1725
- component: t(() => import("./FoodCourt-c38eaa03.js")),
1725
+ component: t(() => import("./FoodCourt-67ab2a1a.js")),
1726
1726
  meta: {
1727
1727
  i18nKey: "settings.food_court.list.title"
1728
1728
  }
@@ -1747,7 +1747,7 @@ const B = /* @__PURE__ */ _({
1747
1747
  {
1748
1748
  path: "/tagging",
1749
1749
  name: "$settings-tagging",
1750
- component: g(t(() => import("./Tagging-18570860.js"))),
1750
+ component: g(t(() => import("./Tagging-69d40fda.js"))),
1751
1751
  meta: {
1752
1752
  i18nKey: "settings.tagging.title",
1753
1753
  validationManifest: {
@@ -1759,7 +1759,7 @@ const B = /* @__PURE__ */ _({
1759
1759
  {
1760
1760
  path: "/reason-template",
1761
1761
  name: "$settings-reason-template",
1762
- component: t(() => import("./ReasonTemplate-b56a5a9d.js")),
1762
+ component: t(() => import("./ReasonTemplate-b4e2346e.js")),
1763
1763
  meta: {
1764
1764
  i18nKey: "settings.reasonTemplate.title",
1765
1765
  hideNavigation: !0
@@ -1795,7 +1795,7 @@ const B = /* @__PURE__ */ _({
1795
1795
  {
1796
1796
  path: "/devices/template-builder",
1797
1797
  name: "$settings-template-builder",
1798
- component: t(() => import("./TemplateBuilder-54a34178.js")),
1798
+ component: t(() => import("./TemplateBuilder-3e34e9e8.js")),
1799
1799
  meta: {
1800
1800
  i18nKey: "settings.templateBuilder.title",
1801
1801
  hideNavigation: !0
@@ -1809,7 +1809,7 @@ l.push({
1809
1809
  name: ((h = l[0].children) == null ? void 0 : h[0].name) || l[0].name
1810
1810
  }
1811
1811
  });
1812
- const ne = t(() => import("./App-8ecdea98.js")), oe = {
1812
+ const ne = t(() => import("./App-fa3b2e54.js")), oe = {
1813
1813
  "en-US": {
1814
1814
  ...H,
1815
1815
  ...s["en-US"],
@@ -1830,7 +1830,7 @@ const ne = t(() => import("./App-8ecdea98.js")), oe = {
1830
1830
  ...s["zh-Hant"] || {},
1831
1831
  ...r["zh-Hant"] || {}
1832
1832
  }
1833
- }, se = t(() => import("./ReasonTemplate-b56a5a9d.js"));
1833
+ }, se = t(() => import("./ReasonTemplate-b4e2346e.js"));
1834
1834
  export {
1835
1835
  ne as F,
1836
1836
  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-0ce7ead5.js";
3
+ import { F as n, R as F, i as R, r as f } from "./app-68470ebc.js";
4
4
  import "vue";
5
5
  import "@feedmepos/ui-library";
6
6
  import "vue-router";
@@ -1,4 +1,4 @@
1
- import { g as e, b as a } from "./index-b1e448c9.js";
1
+ import { g as e, b as a } from "./index-6d139c6d.js";
2
2
  const i = {
3
3
  async readBusiness(s) {
4
4
  return e(await a().get(`/businesses/${s}`));