@feedmepos/mf-settings 0.0.40-prod → 0.0.41
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.
- package/dist/{Business-d1e2d88a.js → Business-c5bceb0e.js} +596 -596
- package/dist/{CreateBusiness-878db03c.js → CreateBusiness-d34491a7.js} +10 -7
- package/dist/{FoodCourt-7cddcacf.js → FoodCourt-3fd654a6.js} +8 -7
- package/dist/{ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8db91a2d.js → ResponsiveFabButton.vue_vue_type_script_setup_true_lang-6ef53386.js} +1 -1
- package/dist/TemplateBuilder-54a34178.js +27 -0
- package/dist/app-39767cbf.js +36646 -0
- package/dist/app.js +1 -1
- package/dist/apps/mf-settings/src/View/TemplateBuilder.vue.d.ts +2 -0
- package/dist/apps/mf-settings/src/app.d.ts +6 -0
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-2ad18a32.js → business-4516ac1e.js} +1 -1
- package/dist/loading-24108192.js +2385 -0
- package/package.json +3 -3
- package/dist/app-e12f1f82.js +0 -8082
- package/dist/loading-8bc1d79a.js +0 -13323
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { unref as s, defineComponent as A, openBlock as g, createElementBlock as b, ref as f, watch as j, computed as E, resolveComponent as h, createVNode as v, withCtx as G, createElementVNode as t, toDisplayString as y, Fragment as P, renderList as W, normalizeClass as z, createBlock as R, createCommentVNode as Z } from "vue";
|
|
2
2
|
import { useCoreStore as q, useI18n as Q, CountryOptions as Y } from "@feedmepos/mf-common";
|
|
3
|
-
import { _ as J, b as w, r as K } from "./business-
|
|
4
|
-
import
|
|
5
|
-
import { useSnackbar as
|
|
3
|
+
import { _ as J, b as w, r as K } from "./business-4516ac1e.js";
|
|
4
|
+
import "./app-39767cbf.js";
|
|
5
|
+
import { useSnackbar as X } from "@feedmepos/ui-library";
|
|
6
|
+
import { u as ee, F as te } from "./loading-24108192.js";
|
|
6
7
|
import { useRouter as se } from "vue-router";
|
|
8
|
+
import "@feedmepos/mf-e-invoice";
|
|
9
|
+
import "@feedmepos/mf-mdm";
|
|
7
10
|
import "pinia";
|
|
8
11
|
function U(r) {
|
|
9
12
|
return typeof r == "function" ? r() : s(r);
|
|
@@ -66,12 +69,12 @@ const ie = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
66
69
|
}, null, 8, ae));
|
|
67
70
|
}
|
|
68
71
|
});
|
|
69
|
-
const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { class: "flex flex-col justify-center items-center fixed top-[56px] left-0 w-screen h-[calc(100vh-56px)] bg-fm-color-neutral-white" }, de = { class: "space-y-32" }, me = { class: "space-y-8" }, pe = { class: "fm-typo-en-title-lg-600" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-sm-600" }, ve = { class: "flex gap-16" }, ge = ["onClick"], he = { class: "space-y-8" }, ye = { class: "m-8 w-[33px]" }, be = ["innerHTML"], Ce = { class: "fm-typo-en-body-sm-600" }, we = { class: "space-y-16" },
|
|
72
|
+
const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { class: "flex flex-col justify-center items-center fixed top-[56px] left-0 w-screen h-[calc(100vh-56px)] bg-fm-color-neutral-white" }, de = { class: "space-y-32" }, me = { class: "space-y-8" }, pe = { class: "fm-typo-en-title-lg-600" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-sm-600" }, ve = { class: "flex gap-16" }, ge = ["onClick"], he = { class: "space-y-8" }, ye = { class: "m-8 w-[33px]" }, be = ["innerHTML"], Ce = { class: "fm-typo-en-body-sm-600" }, we = { class: "space-y-16" }, Me = /* @__PURE__ */ A({
|
|
70
73
|
__name: "CreateBusiness",
|
|
71
74
|
setup(r) {
|
|
72
75
|
var V;
|
|
73
76
|
se();
|
|
74
|
-
const n = q(), o = f(""), e = f(""), c = f(""), u = f(!0), x =
|
|
77
|
+
const n = q(), o = f(""), e = f(""), c = f(""), u = f(!0), x = X(), _ = ee(x), { t: l } = Q(), i = f(((V = n.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
|
|
75
78
|
j(
|
|
76
79
|
i,
|
|
77
80
|
(p) => {
|
|
@@ -117,7 +120,7 @@ const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { cla
|
|
|
117
120
|
}
|
|
118
121
|
async function N() {
|
|
119
122
|
await n.signOut(), setTimeout(() => {
|
|
120
|
-
window.location.href = `${
|
|
123
|
+
window.location.href = `${te.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
|
|
121
124
|
}, 500);
|
|
122
125
|
}
|
|
123
126
|
return (p, d) => {
|
|
@@ -220,5 +223,5 @@ const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { cla
|
|
|
220
223
|
}
|
|
221
224
|
});
|
|
222
225
|
export {
|
|
223
|
-
|
|
226
|
+
Me as default
|
|
224
227
|
};
|
|
@@ -2,10 +2,14 @@ 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,
|
|
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-
|
|
5
|
+
import { l as D, c as Q, m as ge, n as Bl, o as lu, p as mb } from "./app-39767cbf.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-6ef53386.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-24108192.js";
|
|
8
9
|
import { useCoreStore as Fc, useI18n as $m } from "@feedmepos/mf-common";
|
|
10
|
+
import "vue-router";
|
|
11
|
+
import "@feedmepos/mf-e-invoice";
|
|
12
|
+
import "@feedmepos/mf-mdm";
|
|
9
13
|
import "pinia";
|
|
10
14
|
var n$ = {}, Ln = {}, wc = {};
|
|
11
15
|
Object.defineProperty(wc, "__esModule", { value: !0 });
|
|
@@ -14628,9 +14632,6 @@ lo.App = pw;
|
|
|
14628
14632
|
return v.App;
|
|
14629
14633
|
} });
|
|
14630
14634
|
})(yg);
|
|
14631
|
-
function lu(s) {
|
|
14632
|
-
throw new Error('Could not dynamically require "' + s + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
14633
|
-
}
|
|
14634
14635
|
var _g = {};
|
|
14635
14636
|
(function(s) {
|
|
14636
14637
|
var c = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), d = c ? Object.create(globalThis) : globalThis;
|
|
@@ -71460,7 +71461,7 @@ const LP = { class: "fm-typo-en-title-md-600" }, GP = { class: "pt-8 space-y-24"
|
|
|
71460
71461
|
}), JP = { class: "flex flex-1" }, QP = {
|
|
71461
71462
|
key: 0,
|
|
71462
71463
|
class: "space-y-24"
|
|
71463
|
-
}, ZP = { class: "flex justify-between" }, XP = { class: "py-8 px-16 space-y-8" }, xP = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, eR = ["onClick"], tR = { class: "flex justify-between items-center" }, nR = { class: "fm-typo-en-body-lg-600" }, rR = { class: "flex gap-8" }, iR = { class: "text-fm-color-typo-secondary" }, aR = { class: "text-fm-color-typo-secondary" }, oR = { class: "text-fm-color-typo-secondary" },
|
|
71464
|
+
}, ZP = { class: "flex justify-between" }, XP = { class: "py-8 px-16 space-y-8" }, xP = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, eR = ["onClick"], tR = { class: "flex justify-between items-center" }, nR = { class: "fm-typo-en-body-lg-600" }, rR = { class: "flex gap-8" }, iR = { class: "text-fm-color-typo-secondary" }, aR = { class: "text-fm-color-typo-secondary" }, oR = { class: "text-fm-color-typo-secondary" }, bR = /* @__PURE__ */ zc({
|
|
71464
71465
|
__name: "FoodCourt",
|
|
71465
71466
|
setup(s) {
|
|
71466
71467
|
const { t: c } = $m(), d = en([]), b = en(""), v = fr(() => d.value.filter((V) => {
|
|
@@ -71715,5 +71716,5 @@ const LP = { class: "fm-typo-en-title-md-600" }, GP = { class: "pt-8 space-y-24"
|
|
|
71715
71716
|
}
|
|
71716
71717
|
});
|
|
71717
71718
|
export {
|
|
71718
|
-
|
|
71719
|
+
bR as default
|
|
71719
71720
|
};
|
|
@@ -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 "./
|
|
2
|
+
import { c as be, g as Me } from "./app-39767cbf.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
|
+
};
|