@feedmepos/mf-settings 0.0.43 → 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-c754d59d.js";
4
- import "./app-57dfa43c.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-c588b953.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-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";
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-c588b953.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-57dfa43c.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
+ };
@@ -7416,7 +7416,8 @@ const Gb = {
7416
7416
  limit_message: "You have reach the quota limit allocated to your account. Contact your sales to perform quota update."
7417
7417
  },
7418
7418
  restaurant: {
7419
- title: "Restaurant",
7419
+ code: "Code",
7420
+ title: "Name",
7420
7421
  address: "Address",
7421
7422
  contact: "Contact",
7422
7423
  email: "Email",
@@ -7697,7 +7698,8 @@ const Gb = {
7697
7698
  limit_message: "您已达到配额限制。请联系您的销售代表进行配额更新。"
7698
7699
  },
7699
7700
  restaurant: {
7700
- title: "餐厅",
7701
+ code: "代码",
7702
+ title: "名称",
7701
7703
  address: "地址",
7702
7704
  contact: "联系",
7703
7705
  email: "电子邮件",
@@ -7962,7 +7964,7 @@ const Gb = {
7962
7964
  {
7963
7965
  path: "/business",
7964
7966
  name: "$settings-my-business",
7965
- component: () => import("./Business-68715fb2.js"),
7967
+ component: () => import("./Business-61fc9e7f.js"),
7966
7968
  meta: {
7967
7969
  i18nKey: "settings.business.title"
7968
7970
  }
@@ -7970,7 +7972,7 @@ const Gb = {
7970
7972
  {
7971
7973
  path: "/create-business",
7972
7974
  name: "$settings-create-business",
7973
- component: () => import("./CreateBusiness-7753b9d7.js"),
7975
+ component: () => import("./CreateBusiness-b838e01a.js"),
7974
7976
  meta: {
7975
7977
  hideNavigation: !0
7976
7978
  }
@@ -7978,7 +7980,7 @@ const Gb = {
7978
7980
  {
7979
7981
  path: "/foodcourt",
7980
7982
  name: "$settings-food-court",
7981
- component: () => import("./FoodCourt-a04702d4.js"),
7983
+ component: () => import("./FoodCourt-f721e483.js"),
7982
7984
  meta: {
7983
7985
  i18nKey: "settings.food_court.list.title"
7984
7986
  }
@@ -7995,7 +7997,7 @@ const Gb = {
7995
7997
  {
7996
7998
  path: "/template-builder",
7997
7999
  name: "$settings-template-builder",
7998
- component: () => import("./TemplateBuilder-54a34178.js"),
8000
+ component: () => import("./TemplateBuilder-f9ef1e3b.js"),
7999
8001
  meta: {
8000
8002
  i18nKey: "settings.templateBuilder.title"
8001
8003
  }
@@ -36602,7 +36604,7 @@ const Y$ = /* @__PURE__ */ Jl({
36602
36604
  async function K$() {
36603
36605
  if (mp().length)
36604
36606
  return;
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();
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();
36606
36608
  await hm(s, l), Db(o);
36607
36609
  }
36608
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-57dfa43c.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";
@@ -29,6 +29,7 @@ export declare const i18nMessages: {
29
29
  limit_message: string;
30
30
  };
31
31
  restaurant: {
32
+ code: string;
32
33
  title: string;
33
34
  address: string;
34
35
  contact: string;
@@ -311,6 +312,7 @@ export declare const i18nMessages: {
311
312
  limit_message: string;
312
313
  };
313
314
  restaurant: {
315
+ code: string;
314
316
  title: string;
315
317
  address: string;
316
318
  contact: string;
@@ -1,4 +1,4 @@
1
- import { g as e, b as r } from "./loading-c588b953.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)