@feedmepos/mf-settings 0.0.42 → 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.
- package/dist/{Business-8cc0ddf6.js → Business-68715fb2.js} +4 -4
- package/dist/{CreateBusiness-763c178b.js → CreateBusiness-7753b9d7.js} +15 -15
- package/dist/{FoodCourt-3aac3fae.js → FoodCourt-a04702d4.js} +3 -3
- package/dist/{ResponsiveFabButton.vue_vue_type_script_setup_true_lang-fef7886c.js → ResponsiveFabButton.vue_vue_type_script_setup_true_lang-718fe143.js} +1 -1
- package/dist/{app-072512bf.js → app-57dfa43c.js} +3 -3
- package/dist/app.js +1 -1
- package/dist/{business-2e657eb0.js → business-c754d59d.js} +1 -1
- package/dist/{loading-b9b0d574.js → loading-c588b953.js} +1 -1
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ var Pr = Object.defineProperty;
|
|
|
2
2
|
var Sr = (t, e, r) => e in t ? Pr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var Ke = (t, e, r) => (Sr(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
4
|
import { ref as re, computed as H, defineComponent as W, resolveComponent as K, openBlock as k, createBlock as Q, Teleport as Tr, createVNode as T, Transition as Lr, withCtx as B, normalizeClass as Y, normalizeStyle as Ne, withKeys as Nr, createElementVNode as E, toDisplayString as j, renderSlot as ne, createElementBlock as D, Fragment as se, renderList as me, createCommentVNode as le, createTextVNode as Ce, h as ke, unref as R, watch as rt, onMounted as nr, onUnmounted as Cr, toRaw as _t, reactive as lt, nextTick as sr, onBeforeUnmount as kr, normalizeProps as xr, guardReactiveProps as Vr, withModifiers as xe, getCurrentInstance as Fr, isRef as Et } from "vue";
|
|
5
|
-
import { c as jr, g as ar, a as Ve, b as ve, d as Mr, e as Ur, f as ut, h as qe, r as ze, i as Dr, u as Br, j as Gr, k as Kr } from "./app-
|
|
5
|
+
import { c as jr, g as ar, a as Ve, b as ve, d as Mr, e as Ur, f as ut, h as qe, r as ze, i as Dr, u as Br, j as Gr, k as Kr } from "./app-57dfa43c.js";
|
|
6
6
|
import { useCoreStore as fe, useI18n as pe } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as or, useDialogChild as qr, useSnackbar as ct, useBreakpoints as ir, components as lr } from "@feedmepos/ui-library";
|
|
8
|
-
import { c as ge, D as dt, u as ur, _ as zr, a as Hr, b as Xr, d as He } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as cr, r as ce, b as Yr } from "./business-
|
|
10
|
-
import { b as Xe, a as Ye, g as dr, u as fr } from "./loading-
|
|
8
|
+
import { c as ge, D as dt, u as ur, _ as zr, a as Hr, b as Xr, d as He } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-718fe143.js";
|
|
9
|
+
import { _ as cr, r as ce, b as Yr } from "./business-c754d59d.js";
|
|
10
|
+
import { b as Xe, a as Ye, g as dr, u as fr } from "./loading-c588b953.js";
|
|
11
11
|
import "vue-router";
|
|
12
12
|
import "@feedmepos/mf-e-invoice";
|
|
13
13
|
import "@feedmepos/mf-mdm";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { unref as n, defineComponent as
|
|
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-
|
|
4
|
-
import "./app-
|
|
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-
|
|
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";
|
|
@@ -59,7 +59,7 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
59
59
|
</linearGradient>
|
|
60
60
|
</defs>
|
|
61
61
|
</svg>
|
|
62
|
-
`, ce = ["innerHTML"], ue = /* @__PURE__ */
|
|
62
|
+
`, ce = ["innerHTML"], ue = /* @__PURE__ */ A({
|
|
63
63
|
__name: "FeedmeLogo",
|
|
64
64
|
setup(r) {
|
|
65
65
|
return (e, o) => (v(), y("div", {
|
|
@@ -69,13 +69,13 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
69
69
|
}, null, 8, ce));
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
|
-
const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, Ie = /* @__PURE__ */
|
|
72
|
+
const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, Ie = /* @__PURE__ */ A({
|
|
73
73
|
__name: "CreateBusiness",
|
|
74
74
|
setup(r) {
|
|
75
75
|
var V;
|
|
76
76
|
oe();
|
|
77
77
|
const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x = te(), _ = se(x), { t: l } = J(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
|
|
78
|
-
|
|
78
|
+
$(
|
|
79
79
|
i,
|
|
80
80
|
(p) => {
|
|
81
81
|
w.readBusinesses(i.value).then((d) => {
|
|
@@ -93,7 +93,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
93
93
|
}
|
|
94
94
|
u.value = !!c.value;
|
|
95
95
|
}
|
|
96
|
-
const
|
|
96
|
+
const M = ae(C, 500), D = j(() => !!(F.value || m.value.length > 0 || t.value && !c.value)), F = f(!1);
|
|
97
97
|
async function I() {
|
|
98
98
|
_.minor(
|
|
99
99
|
async () => {
|
|
@@ -118,19 +118,19 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
118
118
|
}
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
|
-
async function
|
|
121
|
+
async function E() {
|
|
122
122
|
await e.signOut(), setTimeout(() => {
|
|
123
123
|
window.location.href = `${ne.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
|
|
124
124
|
}, 500);
|
|
125
125
|
}
|
|
126
126
|
return G(() => {
|
|
127
|
-
e.hideSidebarToggle(!0);
|
|
127
|
+
e.hideSidebar.value || e.hideSidebarToggle(!0);
|
|
128
128
|
}), P(() => {
|
|
129
129
|
e.hideSidebarToggle(!1);
|
|
130
130
|
}), (p, d) => {
|
|
131
|
-
const k = h("FmTextField"),
|
|
131
|
+
const k = h("FmTextField"), N = h("FmSnackbar"), T = h("FmButton"), O = h("FmForm");
|
|
132
132
|
return v(), y("div", me, [
|
|
133
|
-
g(
|
|
133
|
+
g(O, {
|
|
134
134
|
class: "w-[540px] xs:w-full xs:px-16 space-y-24",
|
|
135
135
|
"blame-form-child-on-validation-failed": "",
|
|
136
136
|
"on-validation-success": I
|
|
@@ -163,7 +163,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
163
163
|
modelValue: t.value,
|
|
164
164
|
"onUpdate:modelValue": [
|
|
165
165
|
d[1] || (d[1] = (a) => t.value = a),
|
|
166
|
-
n(
|
|
166
|
+
n(M)
|
|
167
167
|
],
|
|
168
168
|
rules: [(a) => !a || u.value || n(l)("settings.create_business.agent.invalid")]
|
|
169
169
|
}, null, 8, ["label", "modelValue", "onUpdate:modelValue", "rules"])
|
|
@@ -190,7 +190,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
190
190
|
], 10, be))), 128))
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
193
|
-
m.value.length > 0 ? (v(), q(
|
|
193
|
+
m.value.length > 0 ? (v(), q(N, {
|
|
194
194
|
key: 0,
|
|
195
195
|
variant: "info",
|
|
196
196
|
title: n(l)("settings.create_business.country.exists.title"),
|
|
@@ -213,7 +213,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
213
213
|
variant: "secondary",
|
|
214
214
|
size: "lg",
|
|
215
215
|
class: "w-full",
|
|
216
|
-
onClick:
|
|
216
|
+
onClick: E
|
|
217
217
|
}, null, 8, ["label"])
|
|
218
218
|
])
|
|
219
219
|
])
|
|
@@ -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-
|
|
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-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-
|
|
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-
|
|
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 = {
|
|
@@ -7962,7 +7962,7 @@ const Gb = {
|
|
|
7962
7962
|
{
|
|
7963
7963
|
path: "/business",
|
|
7964
7964
|
name: "$settings-my-business",
|
|
7965
|
-
component: () => import("./Business-
|
|
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-
|
|
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-
|
|
7981
|
+
component: () => import("./FoodCourt-a04702d4.js"),
|
|
7982
7982
|
meta: {
|
|
7983
7983
|
i18nKey: "settings.food_court.list.title"
|
|
7984
7984
|
}
|
package/dist/app.js
CHANGED