@feedmepos/mf-settings 0.0.58 → 0.0.60
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-854f8c7c.js → App-48215cac.js} +3 -3
- package/dist/{Business-ddbd12c2.js → Business-a9258021.js} +751 -732
- package/dist/{CreateBusiness-fa4096f9.js → CreateBusiness-2662327f.js} +12 -11
- package/dist/{FoodCourt-0a28a67f.js → FoodCourt-3d6ab131.js} +13 -11
- package/dist/{LicenseOrder-86aa7996.js → LicenseOrder-bd3d3012.js} +8 -8
- package/dist/ReasonTemplate-4270229d.js +2234 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-08a69f88.js +88 -0
- package/dist/{Tagging-5fcdf95d.js → Tagging-d8e2293e.js} +8 -7
- package/dist/_plugin-vue_export-helper-dad06003.js +9 -0
- package/dist/{app-59ccea16.js → app-0dbb5982.js} +320 -66
- package/dist/app.js +4 -3
- package/dist/apps/mf-settings/src/View/ReasonTemplate.vue.d.ts +2 -0
- package/dist/apps/mf-settings/src/api/index.d.ts +2 -0
- package/dist/apps/mf-settings/src/app.d.ts +123 -0
- package/dist/apps/mf-settings/src/components/reason/ReasonTemplateForm.vue.d.ts +28 -0
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +2 -2
- package/dist/apps/mf-settings/src/types/reasonTemplate.d.ts +9 -0
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-ad1b9825.js → business-49b1df80.js} +1 -1
- package/dist/createForm-d3b97d2e.js +50 -0
- package/dist/dayjs.min-2edeb0fb.js +310 -0
- package/dist/index-33f7f731.js +17967 -0
- package/dist/{index-71e4b8aa.js → index-b5909a1d.js} +1035 -1024
- package/dist/{index-759f69a1.js → index-cc4114ab.js} +1721 -1731
- package/dist/object-27ce045b.js +16 -0
- package/dist/rules-2bee6632.js +6 -0
- package/package.json +2 -2
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-030a97dd.js +0 -395
- package/dist/index-e68421c3.js +0 -18030
- package/dist/object-8ac0c0d8.js +0 -63
- package/dist/rules-c9fa22f8.js +0 -13
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { unref as a, openBlock as Q, createBlock as N, createCommentVNode as
|
|
2
|
-
import { u as AA, F as oA } from "./index-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { unref as a, openBlock as Q, createBlock as N, createCommentVNode as m, withScopeId as Z, defineComponent as L, createElementBlock as S, ref as c, watch as W, computed as w, watchEffect as E, onBeforeUnmount as G, resolveComponent as B, createVNode as b, withCtx as Y, createElementVNode as e, toDisplayString as l, Fragment as M, renderList as _, normalizeClass as $ } from "vue";
|
|
2
|
+
import { u as AA, F as oA } from "./index-b5909a1d.js";
|
|
3
|
+
import "./index-cc4114ab.js";
|
|
4
4
|
import { useCoreStore as nA, useI18n as gA, useCountry as fA } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as aA } from "@feedmepos/ui-library";
|
|
6
|
-
import {
|
|
7
|
-
import { b as v } from "./business-
|
|
6
|
+
import { r as eA } from "./rules-2bee6632.js";
|
|
7
|
+
import { b as v } from "./business-49b1df80.js";
|
|
8
|
+
import { _ as pA } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
9
|
import "pinia";
|
|
9
10
|
function I(A) {
|
|
10
11
|
return typeof A == "function" ? A() : a(A);
|
|
@@ -109,7 +110,7 @@ var F = {
|
|
|
109
110
|
const rA = /* @__PURE__ */ Z("data-v-60be6971"), kA = /* @__PURE__ */ rA((A, o, f, n, g, t) => f.country ? (Q(), N("span", {
|
|
110
111
|
key: 0,
|
|
111
112
|
class: t.flagIconClass
|
|
112
|
-
}, null, 2)) :
|
|
113
|
+
}, null, 2)) : m("", !0));
|
|
113
114
|
var uA = `
|
|
114
115
|
.small-flag[data-v-60be6971] {
|
|
115
116
|
margin: -0.9em -1.2em -0.9em -1.2em;
|
|
@@ -180,7 +181,7 @@ const bA = cA, QA = `<svg width="388" height="388" viewBox="0 0 388 388" fill="n
|
|
|
180
181
|
</linearGradient>
|
|
181
182
|
</defs>
|
|
182
183
|
</svg>
|
|
183
|
-
`, BA = ["innerHTML"], lA = /* @__PURE__ */
|
|
184
|
+
`, BA = ["innerHTML"], lA = /* @__PURE__ */ L({
|
|
184
185
|
__name: "FeedmeLogo",
|
|
185
186
|
setup(A) {
|
|
186
187
|
return (o, f) => (Q(), S("div", {
|
|
@@ -190,7 +191,7 @@ const bA = cA, QA = `<svg width="388" height="388" viewBox="0 0 388 388" fill="n
|
|
|
190
191
|
}, null, 8, BA));
|
|
191
192
|
}
|
|
192
193
|
});
|
|
193
|
-
const SA = /* @__PURE__ */
|
|
194
|
+
const SA = /* @__PURE__ */ pA(lA, [["__scopeId", "data-v-c0191534"]]), xA = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, vA = { class: "space-y-32" }, FA = { class: "space-y-8" }, PA = { class: "fm-typo-en-title-lg-600" }, UA = { class: "space-y-8" }, JA = { class: "fm-typo-en-title-sm-600" }, CA = { class: "grid grid-cols-3 gap-16" }, OA = ["onClick"], VA = { class: "flex flex-col items-center gap-8" }, DA = { class: "m-8 w-[33px]" }, yA = { class: "fm-typo-en-body-sm-600" }, IA = { class: "space-y-16" }, jA = /* @__PURE__ */ L({
|
|
194
195
|
__name: "CreateBusiness",
|
|
195
196
|
setup(A) {
|
|
196
197
|
var J;
|
|
@@ -272,7 +273,7 @@ const SA = /* @__PURE__ */ eA(lA, [["__scopeId", "data-v-c0191534"]]), xA = { cl
|
|
|
272
273
|
b(C, {
|
|
273
274
|
label: a(p)("settings.create_business.business_name.label"),
|
|
274
275
|
"label-mark": "required",
|
|
275
|
-
rules: [a(
|
|
276
|
+
rules: [a(eA)],
|
|
276
277
|
modelValue: f.value,
|
|
277
278
|
"onUpdate:modelValue": i[0] || (i[0] = (d) => f.value = d)
|
|
278
279
|
}, null, 8, ["label", "rules", "modelValue"])
|
|
@@ -316,7 +317,7 @@ const SA = /* @__PURE__ */ eA(lA, [["__scopeId", "data-v-c0191534"]]), xA = { cl
|
|
|
316
317
|
variant: "info",
|
|
317
318
|
title: a(p)("settings.create_business.country.exists.title"),
|
|
318
319
|
description: a(p)("settings.create_business.country.exists.message", { name: (y = r.value[0]) == null ? void 0 : y.name })
|
|
319
|
-
}, null, 8, ["title", "description"])) :
|
|
320
|
+
}, null, 8, ["title", "description"])) : m("", !0),
|
|
320
321
|
e("div", IA, [
|
|
321
322
|
e("div", null, [
|
|
322
323
|
b(O, {
|
|
@@ -348,5 +349,5 @@ const SA = /* @__PURE__ */ eA(lA, [["__scopeId", "data-v-c0191534"]]), xA = { cl
|
|
|
348
349
|
}
|
|
349
350
|
});
|
|
350
351
|
export {
|
|
351
|
-
|
|
352
|
+
jA as default
|
|
352
353
|
};
|
|
@@ -3,12 +3,14 @@ var Kg = (u, l, c) => l in u ? Yg(u, l, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Hi = (u, l, c) => (Kg(u, typeof l != "symbol" ? l + "" : l, c), c);
|
|
4
4
|
import { h as Su, defineComponent as hl, ref as Rt, resolveComponent as wt, openBlock as Dt, createElementBlock as Kn, Fragment as Vr, renderSlot as Gf, createVNode as gt, unref as zt, withCtx as Jt, createElementVNode as He, computed as Rn, watch as Vf, withKeys as Hg, toDisplayString as un, renderList as nl, createBlock as Ur, createCommentVNode as rl, getCurrentInstance as Wg, withModifiers as Jg } from "vue";
|
|
5
5
|
import { useCoreStore as ml, useI18n as Sc } from "@feedmepos/mf-common";
|
|
6
|
-
import { l as q, c as V, d as ze, a as Oc, e as Ei, b as Yf } from "./index-
|
|
7
|
-
import { c as Qg, a as zd } from "./index-
|
|
8
|
-
import { d as Xg,
|
|
9
|
-
import { components as so, useSnackbar as gl, useDialogChild as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
6
|
+
import { l as q, c as V, d as ze, a as Oc, e as Ei, b as Yf } from "./index-cc4114ab.js";
|
|
7
|
+
import { c as Qg, a as zd } from "./index-33f7f731.js";
|
|
8
|
+
import { d as Xg, u as Zg } from "./dayjs.min-2edeb0fb.js";
|
|
9
|
+
import { components as so, useSnackbar as gl, useDialogChild as xg, useDialog as Kf, useBreakpoints as ep } from "@feedmepos/ui-library";
|
|
10
|
+
import { a as hc, _ as tp } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-08a69f88.js";
|
|
11
|
+
import { _ as np, c as C$ } from "./createForm-d3b97d2e.js";
|
|
12
|
+
import { g as Gn, c as la, b as Fd, u as Tc } from "./index-b5909a1d.js";
|
|
13
|
+
import { c as Hf } from "./object-27ce045b.js";
|
|
12
14
|
import "pinia";
|
|
13
15
|
var wd = {}, fn = {}, pl = {};
|
|
14
16
|
Object.defineProperty(pl, "__esModule", { value: !0 });
|
|
@@ -47165,7 +47167,7 @@ const Xz = { class: "space-y-24" }, Zz = { class: "flex gap-8" }, xz = { class:
|
|
|
47165
47167
|
}
|
|
47166
47168
|
},
|
|
47167
47169
|
setup(u) {
|
|
47168
|
-
const { t: l } = Sc(), { emitData: c } =
|
|
47170
|
+
const { t: l } = Sc(), { emitData: c } = xg(), m = u, y = ml(), _ = gl(), z = Rn(() => {
|
|
47169
47171
|
var M;
|
|
47170
47172
|
return (M = y.currentRestaurant.value) == null ? void 0 : M._id;
|
|
47171
47173
|
});
|
|
@@ -47532,7 +47534,7 @@ const Xz = { class: "space-y-24" }, Zz = { class: "flex gap-8" }, xz = { class:
|
|
|
47532
47534
|
}), pF = { class: "flex flex-1" }, yF = {
|
|
47533
47535
|
key: 0,
|
|
47534
47536
|
class: "space-y-24"
|
|
47535
|
-
}, bF = { class: "flex justify-between" }, _F = { class: "py-8 px-16 space-y-8" }, vF = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, EF = ["onClick"], zF = { class: "flex justify-between items-center" }, FF = { class: "fm-typo-en-body-lg-600" }, wF = { class: "flex gap-8" }, SF = { class: "text-fm-color-typo-secondary" }, OF = { class: "text-fm-color-typo-secondary" }, TF = { class: "text-fm-color-typo-secondary" },
|
|
47537
|
+
}, bF = { class: "flex justify-between" }, _F = { class: "py-8 px-16 space-y-8" }, vF = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, EF = ["onClick"], zF = { class: "flex justify-between items-center" }, FF = { class: "fm-typo-en-body-lg-600" }, wF = { class: "flex gap-8" }, SF = { class: "text-fm-color-typo-secondary" }, OF = { class: "text-fm-color-typo-secondary" }, TF = { class: "text-fm-color-typo-secondary" }, qF = /* @__PURE__ */ hl({
|
|
47536
47538
|
__name: "FoodCourt",
|
|
47537
47539
|
setup(u) {
|
|
47538
47540
|
const { t: l } = Sc(), c = Rt([]), m = Rt(""), y = Rn(() => c.value.filter((C) => {
|
|
@@ -47692,7 +47694,7 @@ const Xz = { class: "space-y-24" }, Zz = { class: "flex gap-8" }, xz = { class:
|
|
|
47692
47694
|
immediate: !0
|
|
47693
47695
|
}
|
|
47694
47696
|
);
|
|
47695
|
-
const I =
|
|
47697
|
+
const I = ep(), U = Rn(() => I.breakpoints.value.xs);
|
|
47696
47698
|
return (C, Y) => {
|
|
47697
47699
|
const ee = wt("FmSpacer"), ae = wt("FmSearch"), le = wt("FmTable"), de = wt("FmButton"), fe = wt("FmMenuItem"), e = wt("FmMenu");
|
|
47698
47700
|
return Dt(), Ur(np, {
|
|
@@ -47701,7 +47703,7 @@ const Xz = { class: "space-y-24" }, Zz = { class: "flex gap-8" }, xz = { class:
|
|
|
47701
47703
|
"append-heading": Jt(() => [
|
|
47702
47704
|
He("div", pF, [
|
|
47703
47705
|
gt(ee),
|
|
47704
|
-
gt(
|
|
47706
|
+
gt(tp, {
|
|
47705
47707
|
label: zt(l)("settings.food_court.create.title"),
|
|
47706
47708
|
onClick: te
|
|
47707
47709
|
}, null, 8, ["label"])
|
|
@@ -47787,5 +47789,5 @@ const Xz = { class: "space-y-24" }, Zz = { class: "flex gap-8" }, xz = { class:
|
|
|
47787
47789
|
}
|
|
47788
47790
|
});
|
|
47789
47791
|
export {
|
|
47790
|
-
|
|
47792
|
+
qF as default
|
|
47791
47793
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, computed as u, resolveComponent as i, openBlock as t, createElementBlock as
|
|
1
|
+
import { defineComponent as l, computed as u, resolveComponent as i, openBlock as t, createElementBlock as n, createVNode as a } from "vue";
|
|
2
2
|
import { useCoreStore as m } from "@feedmepos/mf-common";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
@@ -6,17 +6,17 @@ const f = {
|
|
|
6
6
|
}, p = ["src"], h = /* @__PURE__ */ l({
|
|
7
7
|
__name: "LicenseOrder",
|
|
8
8
|
setup(_) {
|
|
9
|
-
const e = m(),
|
|
10
|
-
var
|
|
11
|
-
return e.currentBusiness.value ? `https://license.feedme${e.namespace.value === "dev" ? "dev" : ""}.cc/portal-license?businessId=${(
|
|
9
|
+
const e = m(), s = u(() => {
|
|
10
|
+
var r;
|
|
11
|
+
return e.currentBusiness.value ? `https://license.feedme${e.namespace.value === "dev" ? "dev" : ""}.cc/portal-license?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}` : "";
|
|
12
12
|
});
|
|
13
|
-
return (
|
|
13
|
+
return (c, r) => {
|
|
14
14
|
const o = i("FmCircularProgress");
|
|
15
|
-
return
|
|
15
|
+
return s.value ? (t(), n("iframe", {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "w-full h-full",
|
|
18
|
-
src:
|
|
19
|
-
}, null, 8, p)) : (t(),
|
|
18
|
+
src: s.value
|
|
19
|
+
}, null, 8, p)) : (t(), n("div", f, [
|
|
20
20
|
a(o, { size: "lg" })
|
|
21
21
|
]));
|
|
22
22
|
};
|