@feedmepos/mf-settings 0.0.56-prod → 0.0.56

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,10 +1,10 @@
1
1
  import { unref as a, openBlock as Q, createBlock as N, createCommentVNode as L, withScopeId as Z, defineComponent as m, 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-80dd9e14.js";
2
+ import { u as AA, F as oA } from "./index-71e4b8aa.js";
3
3
  import "./index-759f69a1.js";
4
4
  import { useCoreStore as nA, useI18n as gA, useCountry as fA } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as aA } from "@feedmepos/ui-library";
6
6
  import { _ as eA, r as pA } from "./rules-c9fa22f8.js";
7
- import { b as v } from "./business-deac65cf.js";
7
+ import { b as v } from "./business-ad1b9825.js";
8
8
  import "pinia";
9
9
  function I(A) {
10
10
  return typeof A == "function" ? A() : a(A);
@@ -8,7 +8,7 @@ import { c as Qg, a as zd } from "./index-e68421c3.js";
8
8
  import { d as Xg, _ as hc, u as Zg, a as xg } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-030a97dd.js";
9
9
  import { components as so, useSnackbar as gl, useDialogChild as ep, useDialog as Kf, useBreakpoints as tp } from "@feedmepos/ui-library";
10
10
  import { c as Hf, _ as np, a as C$ } from "./object-8ac0c0d8.js";
11
- import { g as Gn, r as la, b as Fd, u as Tc } from "./index-80dd9e14.js";
11
+ import { g as Gn, r as la, b as Fd, u as Tc } from "./index-71e4b8aa.js";
12
12
  import "pinia";
13
13
  var wd = {}, fn = {}, pl = {};
14
14
  Object.defineProperty(pl, "__esModule", { value: !0 });
@@ -2,13 +2,13 @@ import { defineComponent as Fr, h as bo, getCurrentInstance as Pi, inject as Mm,
2
2
  import "@vue/devtools-api";
3
3
  import { useI18n as wo, useCoreStore as Do } from "@feedmepos/mf-common";
4
4
  import { useDialog as Po, useSnackbar as xo, components as Ym, useBreakpoints as Xm, FmButtonVariant as qm } from "@feedmepos/ui-library";
5
- import { _ as Jm } from "./app-f112a90e.js";
5
+ import { _ as Jm } from "./app-a86dedce.js";
6
6
  import { c as Ci, _ as Zm, a as Qm } from "./object-8ac0c0d8.js";
7
- import { u as Fo } from "./index-80dd9e14.js";
7
+ import { u as Fo } from "./index-71e4b8aa.js";
8
8
  import { _ as zm, c as jm } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
9
9
  import { c as br } from "./index-759f69a1.js";
10
10
  import { defineStore as eE } from "pinia";
11
- import { b as es } from "./business-deac65cf.js";
11
+ import { b as es } from "./business-ad1b9825.js";
12
12
  import "@feedmepos/mf-mdm";
13
13
  import "vue-router";
14
14
  import "@feedmepos/mf-e-invoice";
@@ -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
+ };
@@ -1028,7 +1028,7 @@ const I = /* @__PURE__ */ g({
1028
1028
  {
1029
1029
  path: "/business",
1030
1030
  name: "$settings-my-business",
1031
- component: i(() => import("./Business-c3128898.js")),
1031
+ component: i(() => import("./Business-7a2772dc.js")),
1032
1032
  meta: {
1033
1033
  i18nKey: "settings.business.title"
1034
1034
  }
@@ -1036,7 +1036,7 @@ const I = /* @__PURE__ */ g({
1036
1036
  {
1037
1037
  path: "/create-business",
1038
1038
  name: "$settings-create-business",
1039
- component: i(() => import("./CreateBusiness-1170607c.js")),
1039
+ component: i(() => import("./CreateBusiness-fa4096f9.js")),
1040
1040
  meta: {
1041
1041
  hideNavigation: !0
1042
1042
  }
@@ -1044,7 +1044,7 @@ const I = /* @__PURE__ */ g({
1044
1044
  {
1045
1045
  path: "/foodcourt",
1046
1046
  name: "$settings-food-court",
1047
- component: i(() => import("./FoodCourt-0b078e7e.js")),
1047
+ component: i(() => import("./FoodCourt-0a28a67f.js")),
1048
1048
  meta: {
1049
1049
  i18nKey: "settings.food_court.list.title"
1050
1050
  }
@@ -1061,7 +1061,7 @@ const I = /* @__PURE__ */ g({
1061
1061
  {
1062
1062
  path: "/template-builder",
1063
1063
  name: "$settings-template-builder",
1064
- component: i(() => import("./TemplateBuilder-3e34e9e8.js")),
1064
+ component: i(() => import("./TemplateBuilder-54a34178.js")),
1065
1065
  meta: {
1066
1066
  i18nKey: "settings.templateBuilder.title"
1067
1067
  }
@@ -1086,7 +1086,7 @@ const I = /* @__PURE__ */ g({
1086
1086
  {
1087
1087
  path: "/tagging",
1088
1088
  name: "$settings-tagging",
1089
- component: k(i(() => import("./Tagging-dd278f34.js"))),
1089
+ component: k(i(() => import("./Tagging-514d04bc.js"))),
1090
1090
  meta: {
1091
1091
  i18nKey: "settings.tagging.title",
1092
1092
  validationManifest: {
@@ -1095,7 +1095,7 @@ const I = /* @__PURE__ */ g({
1095
1095
  hideNavigation: !0
1096
1096
  }
1097
1097
  }
1098
- ], Q = i(() => import("./App-129e0e7f.js")), J = {
1098
+ ], Q = i(() => import("./App-8dc6cff2.js")), J = {
1099
1099
  "en-US": {
1100
1100
  ...D,
1101
1101
  ...s["en-US"]
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "@feedmepos/mf-mdm";
2
- import { F as e, i as F, r as f } from "./app-f112a90e.js";
2
+ import { F as e, i as F, r as f } from "./app-a86dedce.js";
3
3
  import "vue";
4
4
  import "@feedmepos/ui-library";
5
5
  import "vue-router";
@@ -1,4 +1,4 @@
1
- import { g as e, b as a } from "./index-80dd9e14.js";
1
+ import { g as e, b as a } from "./index-71e4b8aa.js";
2
2
  const i = {
3
3
  async readBusiness(s) {
4
4
  return e(await a().get(`/businesses/${s}`));