@feedmepos/mf-settings 0.0.53 → 0.0.54-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.
@@ -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-174bed15.js";
5
+ import { _ as Jm } from "./app-40df57e2.js";
6
6
  import { c as Ci, _ as Zm, a as Qm } from "./object-8ac0c0d8.js";
7
- import { u as Fo } from "./index-72d7bc88.js";
7
+ import { u as Fo } from "./index-95f69047.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-f1e5e565.js";
10
10
  import { defineStore as eE } from "pinia";
11
- import { b as es } from "./business-906742ba.js";
11
+ import { b as es } from "./business-4073e305.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 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
+ };
@@ -1012,7 +1012,7 @@ const I = /* @__PURE__ */ p({
1012
1012
  {
1013
1013
  path: "/business",
1014
1014
  name: "$settings-my-business",
1015
- component: i(() => import("./Business-0e7e2ba4.js")),
1015
+ component: i(() => import("./Business-b79105db.js")),
1016
1016
  meta: {
1017
1017
  i18nKey: "settings.business.title"
1018
1018
  }
@@ -1020,7 +1020,7 @@ const I = /* @__PURE__ */ p({
1020
1020
  {
1021
1021
  path: "/create-business",
1022
1022
  name: "$settings-create-business",
1023
- component: i(() => import("./CreateBusiness-a7386de7.js")),
1023
+ component: i(() => import("./CreateBusiness-5f0d1a0f.js")),
1024
1024
  meta: {
1025
1025
  hideNavigation: !0
1026
1026
  }
@@ -1028,7 +1028,7 @@ const I = /* @__PURE__ */ p({
1028
1028
  {
1029
1029
  path: "/foodcourt",
1030
1030
  name: "$settings-food-court",
1031
- component: i(() => import("./FoodCourt-40732589.js")),
1031
+ component: i(() => import("./FoodCourt-d499e626.js")),
1032
1032
  meta: {
1033
1033
  i18nKey: "settings.food_court.list.title"
1034
1034
  }
@@ -1045,7 +1045,7 @@ const I = /* @__PURE__ */ p({
1045
1045
  {
1046
1046
  path: "/template-builder",
1047
1047
  name: "$settings-template-builder",
1048
- component: i(() => import("./TemplateBuilder-54a34178.js")),
1048
+ component: i(() => import("./TemplateBuilder-3e34e9e8.js")),
1049
1049
  meta: {
1050
1050
  i18nKey: "settings.templateBuilder.title"
1051
1051
  }
@@ -1070,7 +1070,7 @@ const I = /* @__PURE__ */ p({
1070
1070
  {
1071
1071
  path: "/tagging",
1072
1072
  name: "$settings-tagging",
1073
- component: k(i(() => import("./Tagging-dfd71ae3.js"))),
1073
+ component: k(i(() => import("./Tagging-d7e4442c.js"))),
1074
1074
  meta: {
1075
1075
  i18nKey: "settings.tagging.title",
1076
1076
  validationManifest: {
@@ -1079,7 +1079,7 @@ const I = /* @__PURE__ */ p({
1079
1079
  hideNavigation: !0
1080
1080
  }
1081
1081
  }
1082
- ], Y = i(() => import("./App-ca64de67.js")), J = {
1082
+ ], Y = i(() => import("./App-fd535e14.js")), J = {
1083
1083
  "en-US": {
1084
1084
  ...D,
1085
1085
  ...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-174bed15.js";
2
+ import { F as e, i as F, r as f } from "./app-40df57e2.js";
3
3
  import "vue";
4
4
  import "@feedmepos/ui-library";
5
5
  import "vue-router";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * remove blank spaces and dashes from phone number
3
+ */
4
+ export declare function cleanPhoneNumber(phone: string): string;