@feedmepos/mf-settings 0.0.58 → 0.0.59-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-854f8c7c.js → App-adfff27f.js} +3 -3
- package/dist/{Business-ddbd12c2.js → Business-24c55416.js} +13 -10
- package/dist/{CreateBusiness-fa4096f9.js → CreateBusiness-fbcba71f.js} +12 -11
- package/dist/{FoodCourt-0a28a67f.js → FoodCourt-677797ed.js} +13 -11
- package/dist/ReasonTemplate-0e99fb52.js +2234 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-08a69f88.js +88 -0
- package/dist/{Tagging-5fcdf95d.js → Tagging-78440d2f.js} +8 -7
- package/dist/_plugin-vue_export-helper-dad06003.js +9 -0
- package/dist/{app-59ccea16.js → app-14f51ab7.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/types/reasonTemplate.d.ts +9 -0
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-ad1b9825.js → business-a1966413.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-759f69a1.js → index-cc4114ab.js} +1721 -1731
- package/dist/{index-71e4b8aa.js → index-d43d45c9.js} +796 -781
- 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,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Ye, computed as Pe, ref as xt, watchEffect as Vt, resolveComponent as Wt, openBlock as Xe, createBlock as Qe, onMounted as Ht, unref as $t } from "vue";
|
|
2
2
|
import { useRouter as jt, RouterView as Bt } from "vue-router";
|
|
3
3
|
import { useI18n as Kt, useCoreStore as Ze, FeedMeAuth as qt } from "@feedmepos/mf-common";
|
|
4
|
-
import { c as Gt } from "./index-
|
|
5
|
-
import { e as zt } from "./index-
|
|
6
|
-
import { r as Jt } from "./app-
|
|
4
|
+
import { c as Gt } from "./index-33f7f731.js";
|
|
5
|
+
import { e as zt } from "./index-cc4114ab.js";
|
|
6
|
+
import { r as Jt } from "./app-14f51ab7.js";
|
|
7
7
|
import { r as de, g as et, i as Yt, a as Xt, _ as Ne, C as Oe, b as Qt, S as F, c as O, E as pe, d as Zt, e as tt, f as en, h as tn, L as nt, j as f, k as nn, l as rn, F as ge, q as x, m as sn, n as on, o as an, p as cn, s as ln, t as un, u as dn, v as hn } from "./map-695afd6f.js";
|
|
8
8
|
import "@feedmepos/mf-mdm";
|
|
9
9
|
import "@feedmepos/ui-library";
|
|
@@ -4,15 +4,18 @@ var He = (t, e, r) => (Sr(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
|
4
4
|
import { defineComponent as re, ref as ae, resolveComponent as q, openBlock as F, createBlock as te, withCtx as K, withModifiers as st, createCommentVNode as ce, renderSlot as de, createElementVNode as $, nextTick as Pr, createElementBlock as B, normalizeClass as ee, createTextVNode as Ve, toDisplayString as G, computed as Y, normalizeStyle as Fe, createVNode as N, reactive as ct, Fragment as oe, unref as _, renderList as he, h as Rt, Teleport as Tr, Transition as Lr, withKeys as Nr, watch as It, onMounted as Cr, onUnmounted as xr, toRaw as At, normalizeProps as kr, guardReactiveProps as Vr, getCurrentInstance as Fr, isRef as Ot } from "vue";
|
|
5
5
|
import { useCoreStore as pe, useI18n as ve, CustomAttributesForm as jr } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as dt, components as Mr, useDialog as ft, useDialogChild as Ur, useBreakpoints as ur } from "@feedmepos/ui-library";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { a as Dr, _ as Gr } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-08a69f88.js";
|
|
8
|
+
import { _ as Br, c as ze } from "./createForm-d3b97d2e.js";
|
|
9
|
+
import { D as mt, u as cr } from "./dayjs.min-2edeb0fb.js";
|
|
9
10
|
import { _ as Re, c as Kr } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
10
|
-
import { e as pt, g as dr, c as qr } from "./index-
|
|
11
|
-
import { u as fr, b as Pe, a as Xe, g as je } from "./index-
|
|
12
|
-
import {
|
|
11
|
+
import { e as pt, g as dr, c as qr } from "./index-cc4114ab.js";
|
|
12
|
+
import { u as fr, b as Pe, a as Xe, g as je } from "./index-d43d45c9.js";
|
|
13
|
+
import { c as $e } from "./object-27ce045b.js";
|
|
14
|
+
import { b as Hr } from "./business-a1966413.js";
|
|
13
15
|
import { t as Ye, w as We, x as zr, y as Xr, z as Yr, A as Wr, B as Me, u as be, D as Jr, G as Zr } from "./map-695afd6f.js";
|
|
14
|
-
import { _ as mr
|
|
15
|
-
import { u as Qr } from "./app-
|
|
16
|
+
import { _ as mr } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import { u as Qr } from "./app-14f51ab7.js";
|
|
18
|
+
import { r as fe } from "./rules-2bee6632.js";
|
|
16
19
|
import "pinia";
|
|
17
20
|
import "@feedmepos/mf-mdm";
|
|
18
21
|
import "vue-router";
|
|
@@ -2828,7 +2831,7 @@ const Jo = () => {
|
|
|
2828
2831
|
}, null, 8, ["label"]),
|
|
2829
2832
|
N(Dr, {
|
|
2830
2833
|
class: "w-[320px]",
|
|
2831
|
-
"exclude-restaurants": [t.restaurantId
|
|
2834
|
+
"exclude-restaurants": t.restaurantId ? [t.restaurantId] : [],
|
|
2832
2835
|
"model-value": "",
|
|
2833
2836
|
"onUpdate:modelValue": w[11] || (w[11] = (j) => Z(j))
|
|
2834
2837
|
}, null, 8, ["exclude-restaurants"]),
|
|
@@ -3658,7 +3661,7 @@ const Si = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
3658
3661
|
}, Ni = { class: "fm-typo-en-body-md-600" }, Ci = {
|
|
3659
3662
|
key: 0,
|
|
3660
3663
|
class: "space-y-8"
|
|
3661
|
-
}, xi = { class: "flex justify-end" }, ki = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, Vi = { key: 0 }, Fi = ["onClick"], ji = { class: "flex justify-between items-center" }, Mi = { class: "fm-typo-en-body-lg-600" }, Ui = { class: "flex gap-8" }, Di = { class: "text-fm-color-typo-secondary" }, Gi = { class: "text-fm-color-typo-secondary" }, Bi = { class: "text-fm-color-typo-secondary" },
|
|
3664
|
+
}, xi = { class: "flex justify-end" }, ki = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, Vi = { key: 0 }, Fi = ["onClick"], ji = { class: "flex justify-between items-center" }, Mi = { class: "fm-typo-en-body-lg-600" }, Ui = { class: "flex gap-8" }, Di = { class: "text-fm-color-typo-secondary" }, Gi = { class: "text-fm-color-typo-secondary" }, Bi = { class: "text-fm-color-typo-secondary" }, cl = /* @__PURE__ */ re({
|
|
3662
3665
|
__name: "Business",
|
|
3663
3666
|
setup(t) {
|
|
3664
3667
|
const { searchKey: e, filter: r } = li(), { copyTextToClipboard: n } = cr(), s = ur(), o = Y(() => s.breakpoints.value.xs), { t: i } = ve(), f = Y(() => {
|
|
@@ -3921,5 +3924,5 @@ const Si = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
3921
3924
|
}
|
|
3922
3925
|
});
|
|
3923
3926
|
export {
|
|
3924
|
-
|
|
3927
|
+
cl as default
|
|
3925
3928
|
};
|
|
@@ -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-d43d45c9.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-a1966413.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-d43d45c9.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
|
};
|