@feedmepos/mf-settings 0.0.74-dev.1 → 0.0.74

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 Ri, getCurrentInstance as Wi, 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-a734e3bb.js";
5
+ import { _ as ev } from "./app-df7c7bf8.js";
6
6
  import { _ as nv, c as uo } 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 so, 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 xi } from "./object-27ce045b.js";
11
11
  import { defineStore as rv } from "pinia";
12
- import { b as ss } from "./business-1b85fe7e.js";
12
+ import { b as ss } 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
+ };
@@ -1718,7 +1718,7 @@ const B = /* @__PURE__ */ _({
1718
1718
  {
1719
1719
  path: "/business",
1720
1720
  name: "$settings-my-business",
1721
- component: t(() => import("./Business-80eeb674.js")),
1721
+ component: t(() => import("./Business-c6660aea.js")),
1722
1722
  meta: {
1723
1723
  i18nKey: "settings.business.title"
1724
1724
  }
@@ -1726,7 +1726,7 @@ const B = /* @__PURE__ */ _({
1726
1726
  {
1727
1727
  path: "/create-business",
1728
1728
  name: "$settings-create-business",
1729
- component: t(() => import("./CreateBusiness-55e7de74.js")),
1729
+ component: t(() => import("./CreateBusiness-c881b40e.js")),
1730
1730
  meta: {
1731
1731
  hideNavigation: !0
1732
1732
  }
@@ -1734,7 +1734,7 @@ const B = /* @__PURE__ */ _({
1734
1734
  {
1735
1735
  path: "/foodcourt",
1736
1736
  name: "$settings-food-court",
1737
- component: t(() => import("./FoodCourt-c38eaa03.js")),
1737
+ component: t(() => import("./FoodCourt-67ab2a1a.js")),
1738
1738
  meta: {
1739
1739
  i18nKey: "settings.food_court.list.title"
1740
1740
  }
@@ -1759,7 +1759,7 @@ const B = /* @__PURE__ */ _({
1759
1759
  {
1760
1760
  path: "/tagging",
1761
1761
  name: "$settings-tagging",
1762
- component: g(t(() => import("./Tagging-3d10ba6e.js"))),
1762
+ component: g(t(() => import("./Tagging-4337306c.js"))),
1763
1763
  meta: {
1764
1764
  i18nKey: "settings.tagging.title",
1765
1765
  validationManifest: {
@@ -1771,7 +1771,7 @@ const B = /* @__PURE__ */ _({
1771
1771
  {
1772
1772
  path: "/reason-template",
1773
1773
  name: "$settings-reason-template",
1774
- component: t(() => import("./ReasonTemplate-b56a5a9d.js")),
1774
+ component: t(() => import("./ReasonTemplate-b4e2346e.js")),
1775
1775
  meta: {
1776
1776
  i18nKey: "settings.reasonTemplate.title",
1777
1777
  hideNavigation: !0
@@ -1807,7 +1807,7 @@ const B = /* @__PURE__ */ _({
1807
1807
  {
1808
1808
  path: "/devices/template-builder",
1809
1809
  name: "$settings-template-builder",
1810
- component: t(() => import("./TemplateBuilder-54a34178.js")),
1810
+ component: t(() => import("./TemplateBuilder-3e34e9e8.js")),
1811
1811
  meta: {
1812
1812
  i18nKey: "settings.templateBuilder.title",
1813
1813
  hideNavigation: !0
@@ -1821,7 +1821,7 @@ l.push({
1821
1821
  name: ((h = l[0].children) == null ? void 0 : h[0].name) || l[0].name
1822
1822
  }
1823
1823
  });
1824
- const ne = t(() => import("./App-44a7faee.js")), oe = {
1824
+ const ne = t(() => import("./App-12cbd13e.js")), oe = {
1825
1825
  "en-US": {
1826
1826
  ...H,
1827
1827
  ...s["en-US"],
@@ -1842,7 +1842,7 @@ const ne = t(() => import("./App-44a7faee.js")), oe = {
1842
1842
  ...s["zh-Hant"] || {},
1843
1843
  ...r["zh-Hant"] || {}
1844
1844
  }
1845
- }, se = t(() => import("./ReasonTemplate-b56a5a9d.js"));
1845
+ }, se = t(() => import("./ReasonTemplate-b4e2346e.js"));
1846
1846
  export {
1847
1847
  ne as F,
1848
1848
  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-a734e3bb.js";
3
+ import { F as n, R as F, i as R, r as f } from "./app-df7c7bf8.js";
4
4
  import "vue";
5
5
  import "@feedmepos/ui-library";
6
6
  import "vue-router";