@feedmepos/mf-settings 0.0.48-beta.0-ex → 0.0.48-beta.1
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/App-15361c1a.js +4352 -0
- package/dist/Business-1564c1b4.js +3893 -0
- package/dist/{CreateBusiness-e05859f6.js → CreateBusiness-138ac258.js} +12 -15
- package/dist/FoodCourt-561cd7e3.js +47798 -0
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js +395 -0
- package/dist/Tagging-9126557f.js +6680 -0
- package/dist/actionButton-cc6bcf01.js +66 -0
- package/dist/app-ce0bb813.js +782 -0
- package/dist/app.js +6 -11
- package/dist/apps/mf-settings/src/app.d.ts +1 -2
- package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
- package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +3 -3
- package/dist/apps/mf-settings/src/init.d.ts +1 -0
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +15 -15
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/business-9a4e5bd7.js +31 -0
- package/dist/createForm-681e977a.js +64 -0
- package/dist/index-1eb3cc0a.js +17754 -0
- package/dist/index-f1e5e565.js +10903 -0
- package/dist/index.esm2017-c60b1ce5.js +3147 -0
- package/dist/loading-84215dce.js +2385 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/loading/PageLoading.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/loading/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/Business-c2cc9ee7.js +0 -4182
- package/dist/FoodCourt-b9e42611.js +0 -12454
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-65f62fbb.js +0 -101
- package/dist/app-29117ada.js +0 -17441
|
@@ -1,15 +1,12 @@
|
|
|
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
|
|
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
3
|
import { _ as X, r as ee } from "./rules-c9fa22f8.js";
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import { useSnackbar as
|
|
4
|
+
import { b as w } from "./business-9a4e5bd7.js";
|
|
5
|
+
import "./index-f1e5e565.js";
|
|
6
|
+
import { useSnackbar as te } from "@feedmepos/ui-library";
|
|
7
|
+
import { u as se, F as ne } from "./loading-84215dce.js";
|
|
7
8
|
import { useRouter as oe } from "vue-router";
|
|
8
|
-
import "@feedmepos/mf-mdm";
|
|
9
|
-
import "@feedmepos/mf-e-invoice";
|
|
10
9
|
import "pinia";
|
|
11
|
-
import "@vue/devtools-api";
|
|
12
|
-
import "@feedmepos/core";
|
|
13
10
|
function L(r) {
|
|
14
11
|
return typeof r == "function" ? r() : n(r);
|
|
15
12
|
}
|
|
@@ -71,12 +68,12 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
71
68
|
}, null, 8, ce));
|
|
72
69
|
}
|
|
73
70
|
});
|
|
74
|
-
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" },
|
|
71
|
+
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" }, De = /* @__PURE__ */ A({
|
|
75
72
|
__name: "CreateBusiness",
|
|
76
73
|
setup(r) {
|
|
77
74
|
var V;
|
|
78
75
|
oe();
|
|
79
|
-
const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x =
|
|
76
|
+
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([]);
|
|
80
77
|
$(
|
|
81
78
|
i,
|
|
82
79
|
(p) => {
|
|
@@ -122,7 +119,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
122
119
|
}
|
|
123
120
|
async function E() {
|
|
124
121
|
await e.signOut(), setTimeout(() => {
|
|
125
|
-
window.location.href = `${
|
|
122
|
+
window.location.href = `${ne.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
|
|
126
123
|
}, 500);
|
|
127
124
|
}
|
|
128
125
|
return G(() => {
|
|
@@ -173,9 +170,9 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
173
170
|
s("div", ge, [
|
|
174
171
|
s("div", ve, b(n(l)("settings.create_business.country.title")), 1),
|
|
175
172
|
s("div", he, [
|
|
176
|
-
(v(!0), y(
|
|
173
|
+
(v(!0), y(z, null, R(n(K), (a) => (v(), y("div", {
|
|
177
174
|
key: a.code,
|
|
178
|
-
class:
|
|
175
|
+
class: Z(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
|
|
179
176
|
i.value === a.code ? "border-fm-color-primary" : "border-fm-color-neutral-gray-200",
|
|
180
177
|
i.value === a.code ? "bg-fm-color-system-warning-100" : "bg-fm-color-neutral-white"
|
|
181
178
|
]]),
|
|
@@ -192,7 +189,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
192
189
|
], 10, be))), 128))
|
|
193
190
|
])
|
|
194
191
|
]),
|
|
195
|
-
m.value.length > 0 ? (v(),
|
|
192
|
+
m.value.length > 0 ? (v(), q(N, {
|
|
196
193
|
key: 0,
|
|
197
194
|
variant: "info",
|
|
198
195
|
title: n(l)("settings.create_business.country.exists.title"),
|
|
@@ -229,5 +226,5 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
229
226
|
}
|
|
230
227
|
});
|
|
231
228
|
export {
|
|
232
|
-
|
|
229
|
+
De as default
|
|
233
230
|
};
|