@feedmepos/mf-settings 0.0.51 → 0.0.52-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.
- package/dist/App-2c0e7dc6.js +22089 -0
- package/dist/Business-8f1f703c.js +11975 -0
- package/dist/{CreateBusiness-2a4f54d4.js → CreateBusiness-5da625ee.js} +11 -11
- package/dist/FoodCourt-57b90140.js +71535 -0
- package/dist/{actionButton-cc6bcf01.js → FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js} +25 -25
- package/dist/{ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-e9712a4d.js} +63 -63
- package/dist/{Tagging-5ba0d4ec.js → Tagging-0487e189.js} +6402 -6404
- package/dist/TemplateBuilder-3e34e9e8.js +27 -0
- package/dist/_commonjs-dynamic-modules-bed80856.js +6 -0
- package/dist/{app-6a6102be.js → app-e351b342.js} +358 -40
- package/dist/app.js +2 -2
- package/dist/apps/mf-settings/src/api/foodCourt.d.ts +1 -1
- package/dist/apps/mf-settings/src/api/restaurant.d.ts +2 -2
- package/dist/apps/mf-settings/src/app.d.ts +1 -0
- package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
- package/dist/apps/mf-settings/src/components/foodcourt/foodCourt.d.ts +1 -1
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-9a4e5bd7.js → business-4073e305.js} +1 -1
- package/dist/{loading-84215dce.js → index-95f69047.js} +467 -468
- package/dist/{index.esm2017-c60b1ce5.js → map-54b71412.js} +561 -444
- package/dist/{createForm-681e977a.js → object-8ac0c0d8.js} +18 -19
- package/package.json +3 -3
- package/dist/App-b3a895b0.js +0 -4352
- package/dist/Business-189e288f.js +0 -3893
- package/dist/FoodCourt-561cd7e3.js +0 -47798
- package/dist/TemplateBuilder-54a34178.js +0 -27
- package/dist/index-1eb3cc0a.js +0 -17754
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { unref as n, defineComponent as M, openBlock as g, createElementBlock as y, ref as f, computed as L, watch as G, watchEffect as P, onBeforeUnmount as W, resolveComponent as h, createVNode as v, withCtx as z, createElementVNode as s, toDisplayString as b, Fragment as R, renderList as Z, normalizeClass as q, createBlock as Q, createCommentVNode as Y } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { b as w } from "./business-9a4e5bd7.js";
|
|
2
|
+
import { useRouter as J } from "vue-router";
|
|
3
|
+
import { u as K, F as X } from "./index-95f69047.js";
|
|
5
4
|
import "./index-f1e5e565.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { useCoreStore as ee, useI18n as te, CountryOptions as se } from "@feedmepos/mf-common";
|
|
6
|
+
import { useSnackbar as ne } from "@feedmepos/ui-library";
|
|
7
|
+
import { _ as oe, r as le } from "./rules-c9fa22f8.js";
|
|
8
|
+
import { b as w } from "./business-4073e305.js";
|
|
9
9
|
import "pinia";
|
|
10
10
|
function S(r) {
|
|
11
11
|
return typeof r == "function" ? r() : n(r);
|
|
@@ -68,12 +68,12 @@ const ce = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
68
68
|
}, null, 8, ue));
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
|
-
const me = /* @__PURE__ */
|
|
71
|
+
const me = /* @__PURE__ */ oe(de, [["__scopeId", "data-v-c0191534"]]), pe = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, _e = { class: "space-y-32" }, fe = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, he = { class: "fm-typo-en-title-sm-600" }, be = { class: "flex gap-16" }, ye = ["onClick"], Ce = { class: "space-y-8" }, we = { class: "m-8 w-[33px]" }, xe = ["innerHTML"], Fe = { class: "fm-typo-en-body-sm-600" }, Ve = { class: "space-y-16" }, Ie = /* @__PURE__ */ M({
|
|
72
72
|
__name: "CreateBusiness",
|
|
73
73
|
setup(r) {
|
|
74
74
|
var V;
|
|
75
|
-
|
|
76
|
-
const e =
|
|
75
|
+
J();
|
|
76
|
+
const e = ee(), o = f(""), t = f(""), c = f(""), d = f(!0), x = ne(), _ = K(x), { t: l } = te(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), p = f([]), C = L(() => se.filter((u) => e.enabledCountries.value.includes(u.code)));
|
|
77
77
|
G(
|
|
78
78
|
i,
|
|
79
79
|
(u) => {
|
|
@@ -119,7 +119,7 @@ const me = /* @__PURE__ */ ee(de, [["__scopeId", "data-v-c0191534"]]), pe = { cl
|
|
|
119
119
|
}
|
|
120
120
|
async function N() {
|
|
121
121
|
await e.signOut(), setTimeout(() => {
|
|
122
|
-
window.location.href = `${
|
|
122
|
+
window.location.href = `${X.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
|
|
123
123
|
}, 500);
|
|
124
124
|
}
|
|
125
125
|
return P(() => {
|
|
@@ -151,7 +151,7 @@ const me = /* @__PURE__ */ ee(de, [["__scopeId", "data-v-c0191534"]]), pe = { cl
|
|
|
151
151
|
v(k, {
|
|
152
152
|
label: n(l)("settings.create_business.business_name.label"),
|
|
153
153
|
"label-mark": "required",
|
|
154
|
-
rules: [n(
|
|
154
|
+
rules: [n(le)],
|
|
155
155
|
modelValue: o.value,
|
|
156
156
|
"onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
|
|
157
157
|
}, null, 8, ["label", "rules", "modelValue"])
|