@feedmepos/mf-settings 0.0.44-dev → 0.0.45-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.
@@ -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-aaaf54fe.js";
4
- import "./app-ac399aeb.js";
3
+ import { _ as X, b as w, r as ee } from "./business-d5aab04b.js";
4
+ import "./app-7e69dc2a.js";
5
5
  import { useSnackbar as te } from "@feedmepos/ui-library";
6
- import { u as se, F as ne } from "./loading-865aade9.js";
6
+ import { u as se, F as ne } from "./loading-a71129b6.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-ac399aeb.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-05c00139.js";
5
+ import { l as D, c as Q, m as ge, n as Bl, o as lu, p as mb } from "./app-7e69dc2a.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-1fed9249.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-865aade9.js";
8
+ import { g as Tr, r as ja, b as t$, u as hm } from "./loading-a71129b6.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-ac399aeb.js";
2
+ import { c as be, g as Me } from "./app-7e69dc2a.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 o, computed as c, resolveComponent as u, openBlock as s, createElementBlock as a, createVNode as m } from "vue";
2
+ import { useCoreStore as i, FeedMeAuth as l } from "@feedmepos/mf-common";
3
+ const d = {
4
+ key: 0,
5
+ class: "w-full h-full flex items-center justify-center"
6
+ }, p = ["src"], b = /* @__PURE__ */ o({
7
+ __name: "TemplateBuilder",
8
+ setup(f) {
9
+ const e = i(), t = c(() => {
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=${l.token}` : "";
12
+ });
13
+ return (r, _) => {
14
+ const n = u("FmCircularProgress");
15
+ return t.value ? (s(), a("iframe", {
16
+ key: 1,
17
+ class: "w-full h-full",
18
+ src: t.value
19
+ }, null, 8, p)) : (s(), a("div", d, [
20
+ m(n, { size: "lg" })
21
+ ]));
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ b as default
27
+ };
@@ -7964,7 +7964,7 @@ const Gb = {
7964
7964
  {
7965
7965
  path: "/business",
7966
7966
  name: "$settings-my-business",
7967
- component: () => import("./Business-7f2367b3.js"),
7967
+ component: () => import("./Business-61fc9e7f.js"),
7968
7968
  meta: {
7969
7969
  i18nKey: "settings.business.title"
7970
7970
  }
@@ -7972,7 +7972,7 @@ const Gb = {
7972
7972
  {
7973
7973
  path: "/create-business",
7974
7974
  name: "$settings-create-business",
7975
- component: () => import("./CreateBusiness-bc8bd2c2.js"),
7975
+ component: () => import("./CreateBusiness-b838e01a.js"),
7976
7976
  meta: {
7977
7977
  hideNavigation: !0
7978
7978
  }
@@ -7980,7 +7980,7 @@ const Gb = {
7980
7980
  {
7981
7981
  path: "/foodcourt",
7982
7982
  name: "$settings-food-court",
7983
- component: () => import("./FoodCourt-72361f6c.js"),
7983
+ component: () => import("./FoodCourt-f721e483.js"),
7984
7984
  meta: {
7985
7985
  i18nKey: "settings.food_court.list.title"
7986
7986
  }
@@ -7997,7 +7997,7 @@ const Gb = {
7997
7997
  {
7998
7998
  path: "/template-builder",
7999
7999
  name: "$settings-template-builder",
8000
- component: () => import("./TemplateBuilder-54a34178.js"),
8000
+ component: () => import("./TemplateBuilder-f9ef1e3b.js"),
8001
8001
  meta: {
8002
8002
  i18nKey: "settings.templateBuilder.title"
8003
8003
  }
@@ -36604,7 +36604,7 @@ const Y$ = /* @__PURE__ */ Jl({
36604
36604
  async function K$() {
36605
36605
  if (mp().length)
36606
36606
  return;
36607
- 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();
36607
+ 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();
36608
36608
  await hm(s, l), Db(o);
36609
36609
  }
36610
36610
  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-ac399aeb.js";
1
+ import { _ as a, s as e, q as n, t as g } from "./app-7e69dc2a.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-865aade9.js";
1
+ import { g as e, b as r } from "./loading-a71129b6.js";
2
2
  const u = (s, t) => {
3
3
  const n = s.__vccOpts || s;
4
4
  for (const [i, a] of t)