@feedmepos/mf-settings 0.0.48 → 0.0.50-beta.1

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 n, defineComponent as A, openBlock as v, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as g, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as z, renderList as R, normalizeClass as Z, createBlock as q, createCommentVNode as Q } from "vue";
2
2
  import { useCoreStore as Y, useI18n as J, CountryOptions as K } from "@feedmepos/mf-common";
3
3
  import { _ as X, r as ee } from "./rules-c9fa22f8.js";
4
- import { b as w } from "./business-5239a754.js";
4
+ import { b as w } from "./business-9a4e5bd7.js";
5
5
  import "./index-f1e5e565.js";
6
6
  import { useSnackbar as te } from "@feedmepos/ui-library";
7
- import { u as se, F as ne } from "./loading-a9743d80.js";
7
+ import { u as se, F as ne } from "./loading-84215dce.js";
8
8
  import { useRouter as oe } from "vue-router";
9
9
  import "pinia";
10
10
  function L(r) {
@@ -6,7 +6,7 @@ import { l as q, c as V, d as ze, a as Sc, e as Ei, b as Yf } from "./index-f1e5
6
6
  import { c as Qg, a as zd } from "./index-1eb3cc0a.js";
7
7
  import { d as Xg, _ as hc, u as Zg, a as xg } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js";
8
8
  import { useSnackbar as ml, components as so, useDialogChild as ep, useDialog as Kf, useBreakpoints as tp } from "@feedmepos/ui-library";
9
- import { g as Gn, r as la, b as Fd, u as Oc } from "./loading-a9743d80.js";
9
+ import { g as Gn, r as la, b as Fd, u as Oc } from "./loading-84215dce.js";
10
10
  import { useCoreStore as gl, useI18n as Tc } from "@feedmepos/mf-common";
11
11
  import { c as Hf, _ as np, a as C$ } from "./createForm-681e977a.js";
12
12
  import "pinia";
@@ -3,12 +3,12 @@ import { useCoreStore as wo, useI18n as Do } from "@feedmepos/mf-common";
3
3
  import { useDialog as Po, useSnackbar as xo, components as Ym, useBreakpoints as Xm, FmButtonVariant as qm } from "@feedmepos/ui-library";
4
4
  import { c as Ci, _ as Jm, a as Zm } from "./createForm-681e977a.js";
5
5
  import { _ as Qm, c as zm } from "./actionButton-cc6bcf01.js";
6
- import { u as Fo } from "./loading-a9743d80.js";
6
+ import { u as Fo } from "./loading-84215dce.js";
7
7
  import { c as br } from "./index-f1e5e565.js";
8
8
  import { defineStore as jm } from "pinia";
9
- import { b as es } from "./business-5239a754.js";
9
+ import { b as es } from "./business-9a4e5bd7.js";
10
10
  import "@vue/devtools-api";
11
- import { _ as eE } from "./app-6da9af48.js";
11
+ import { _ as eE } from "./app-abfabbcf.js";
12
12
  import "@feedmepos/mf-mdm";
13
13
  import "vue-router";
14
14
  import "@feedmepos/mf-e-invoice";
@@ -32,11 +32,11 @@ function nE(r, s) {
32
32
  const u = Po(), { t: f } = Do();
33
33
  function _() {
34
34
  r() ? u.open({
35
- title: f("dismiss.title"),
36
- message: f("dismiss.message"),
35
+ title: f("portalCommon.dismiss.title"),
36
+ message: f("portalCommon.dismiss.message"),
37
37
  zIndex: 200,
38
38
  primaryActions: {
39
- text: f("dismiss.primaryActions"),
39
+ text: f("portalCommon.dismiss.primaryActions"),
40
40
  variant: "primary",
41
41
  close: !0
42
42
  },
@@ -3755,7 +3755,10 @@ const rE = { class: "fm-typo-en-title-md-600" }, iE = { class: "py-16 space-y-32
3755
3755
  { label: "Number", value: "number" }
3756
3756
  ]), W = rn(() => [
3757
3757
  { label: "Restaurant", value: "restaurant" },
3758
- { label: "Item", value: "item" }
3758
+ { label: "Item", value: "item" },
3759
+ { label: "Warehouse", value: "warehouse" },
3760
+ { label: "Inventory Sku", value: "inventorySku" },
3761
+ { label: "Inventory Recipe", value: "inventoryRecipe" }
3759
3762
  ]), F = tr(!1), $ = tr(!1), J = (R) => {
3760
3763
  $.value = !$.value;
3761
3764
  }, X = nE(
@@ -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
+ };
@@ -696,7 +696,7 @@ const I = /* @__PURE__ */ c({
696
696
  {
697
697
  path: "/business",
698
698
  name: "$settings-my-business",
699
- component: i(() => import("./Business-e8c7eafc.js")),
699
+ component: i(() => import("./Business-416835ab.js")),
700
700
  meta: {
701
701
  i18nKey: "settings.business.title"
702
702
  }
@@ -704,7 +704,7 @@ const I = /* @__PURE__ */ c({
704
704
  {
705
705
  path: "/create-business",
706
706
  name: "$settings-create-business",
707
- component: i(() => import("./CreateBusiness-178daa1b.js")),
707
+ component: i(() => import("./CreateBusiness-138ac258.js")),
708
708
  meta: {
709
709
  hideNavigation: !0
710
710
  }
@@ -712,7 +712,7 @@ const I = /* @__PURE__ */ c({
712
712
  {
713
713
  path: "/foodcourt",
714
714
  name: "$settings-food-court",
715
- component: i(() => import("./FoodCourt-01cfd384.js")),
715
+ component: i(() => import("./FoodCourt-561cd7e3.js")),
716
716
  meta: {
717
717
  i18nKey: "settings.food_court.list.title"
718
718
  }
@@ -729,7 +729,7 @@ const I = /* @__PURE__ */ c({
729
729
  {
730
730
  path: "/template-builder",
731
731
  name: "$settings-template-builder",
732
- component: i(() => import("./TemplateBuilder-f9ef1e3b.js")),
732
+ component: i(() => import("./TemplateBuilder-54a34178.js")),
733
733
  meta: {
734
734
  i18nKey: "settings.templateBuilder.title"
735
735
  }
@@ -754,7 +754,7 @@ const I = /* @__PURE__ */ c({
754
754
  {
755
755
  path: "/tagging",
756
756
  name: "$settings-tagging",
757
- component: S(i(() => import("./Tagging-eca30670.js"))),
757
+ component: S(i(() => import("./Tagging-b746a5f3.js"))),
758
758
  meta: {
759
759
  i18nKey: "settings.tagging.title",
760
760
  validationManifest: {
@@ -763,7 +763,7 @@ const I = /* @__PURE__ */ c({
763
763
  hideNavigation: !0
764
764
  }
765
765
  }
766
- ], Q = i(() => import("./App-cc67c5c1.js")), Y = {
766
+ ], Q = i(() => import("./App-22eddb78.js")), Y = {
767
767
  "en-US": {
768
768
  ...E,
769
769
  ...l["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-6da9af48.js";
2
+ import { F as e, i as F, r as f } from "./app-abfabbcf.js";
3
3
  import "vue";
4
4
  import "@feedmepos/ui-library";
5
5
  import "vue-router";