@feedmepos/mf-settings 0.0.43-prod → 0.0.43

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 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
- import { _ as X, b as w, r as ee } from "./business-4db20b7e.js";
4
- import "./app-adf18ec3.js";
3
+ import { _ as X, b as w, r as ee } from "./business-c754d59d.js";
4
+ import "./app-57dfa43c.js";
5
5
  import { useSnackbar as te } from "@feedmepos/ui-library";
6
- import { u as se, F as ne } from "./loading-4e6c9c98.js";
6
+ import { u as se, F as ne } from "./loading-c588b953.js";
7
7
  import { useRouter as oe } from "vue-router";
8
8
  import "@feedmepos/mf-e-invoice";
9
9
  import "@feedmepos/mf-mdm";
@@ -2,10 +2,10 @@ var g1 = Object.defineProperty;
2
2
  var p1 = (s, c, d) => c in s ? g1(s, c, { enumerable: !0, configurable: !0, writable: !0, value: d }) : s[c] = d;
3
3
  var ll = (s, c, d) => (p1(s, typeof c != "symbol" ? c + "" : c, d), d);
4
4
  import { defineComponent as zc, ref as en, resolveComponent as Kt, openBlock as xt, createElementBlock as Pr, Fragment as Ji, renderSlot as hb, createVNode as Dt, unref as Yt, withCtx as Tn, createElementVNode as xe, computed as fr, watch as $b, withKeys as b1, toDisplayString as jn, renderList as dc, createBlock as Vi, createCommentVNode as cc, h as Td, getCurrentInstance as y1, withModifiers as _1 } from "vue";
5
- import { l as D, c as Q, m as ge, n as Bl, o as lu, p as mb } from "./app-adf18ec3.js";
6
- import { e as v1, _ as x$, c as gb, u as z1, a as E1, b as F1, d as Kg } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-b341d5f0.js";
5
+ import { l as D, c as Q, m as ge, n as Bl, o as lu, p as mb } from "./app-57dfa43c.js";
6
+ import { e as v1, _ as x$, c as gb, u as z1, a as E1, b as F1, d as Kg } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-718fe143.js";
7
7
  import { useSnackbar as Ec, components as Tl, useDialogChild as w1, useDialog as pb, useBreakpoints as S1 } from "@feedmepos/ui-library";
8
- import { g as Tr, r as ja, b as t$, u as hm } from "./loading-4e6c9c98.js";
8
+ import { g as Tr, r as ja, b as t$, u as hm } from "./loading-c588b953.js";
9
9
  import { useCoreStore as Fc, useI18n as $m } from "@feedmepos/mf-common";
10
10
  import "vue-router";
11
11
  import "@feedmepos/mf-e-invoice";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, openBlock as H, createElementBlock as G, createElementVNode as U, renderSlot as V, toDisplayString as le, normalizeClass as ae, toRaw as de, mergeModels as fe, useModel as he, computed as A, watchEffect as me, resolveComponent as z, createBlock as Z, withCtx as te, createVNode as Q, Fragment as pe, renderList as $e, markRaw as ve, render as ye, normalizeProps as ge, mergeProps as ne } from "vue";
2
- import { c as be, g as Me } from "./app-adf18ec3.js";
2
+ import { c as be, g as Me } from "./app-57dfa43c.js";
3
3
  import { useCoreStore as _e } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as we, useBreakpoints as Se } from "@feedmepos/ui-library";
5
5
  const De = {
@@ -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
+ };
@@ -7962,7 +7962,7 @@ const Gb = {
7962
7962
  {
7963
7963
  path: "/business",
7964
7964
  name: "$settings-my-business",
7965
- component: () => import("./Business-ae4253e7.js"),
7965
+ component: () => import("./Business-68715fb2.js"),
7966
7966
  meta: {
7967
7967
  i18nKey: "settings.business.title"
7968
7968
  }
@@ -7970,7 +7970,7 @@ const Gb = {
7970
7970
  {
7971
7971
  path: "/create-business",
7972
7972
  name: "$settings-create-business",
7973
- component: () => import("./CreateBusiness-ef229a33.js"),
7973
+ component: () => import("./CreateBusiness-7753b9d7.js"),
7974
7974
  meta: {
7975
7975
  hideNavigation: !0
7976
7976
  }
@@ -7978,7 +7978,7 @@ const Gb = {
7978
7978
  {
7979
7979
  path: "/foodcourt",
7980
7980
  name: "$settings-food-court",
7981
- component: () => import("./FoodCourt-a66b0b8f.js"),
7981
+ component: () => import("./FoodCourt-a04702d4.js"),
7982
7982
  meta: {
7983
7983
  i18nKey: "settings.food_court.list.title"
7984
7984
  }
@@ -7995,7 +7995,7 @@ const Gb = {
7995
7995
  {
7996
7996
  path: "/template-builder",
7997
7997
  name: "$settings-template-builder",
7998
- component: () => import("./TemplateBuilder-f9ef1e3b.js"),
7998
+ component: () => import("./TemplateBuilder-54a34178.js"),
7999
7999
  meta: {
8000
8000
  i18nKey: "settings.templateBuilder.title"
8001
8001
  }
@@ -36602,7 +36602,7 @@ const Y$ = /* @__PURE__ */ Jl({
36602
36602
  async function K$() {
36603
36603
  if (mp().length)
36604
36604
  return;
36605
- const o = lc({ apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }), l = await Uf.getCustomToken(), s = Ig();
36605
+ const o = lc({ apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }), l = await Uf.getCustomToken(), s = Ig();
36606
36606
  await hm(s, l), Db(o);
36607
36607
  }
36608
36608
  async function Z$() {
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, s as e, q as n, t as g } from "./app-adf18ec3.js";
1
+ import { _ as a, s as e, q as n, t as g } from "./app-57dfa43c.js";
2
2
  import "@feedmepos/mf-common";
3
3
  import "vue";
4
4
  import "vue-router";
@@ -1,4 +1,4 @@
1
- import { g as e, b as r } from "./loading-4e6c9c98.js";
1
+ import { g as e, b as r } from "./loading-c588b953.js";
2
2
  const u = (s, t) => {
3
3
  const n = s.__vccOpts || s;
4
4
  for (const [i, a] of t)