@feedmepos/mf-order-setting 0.0.63-prod → 0.0.64-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/{KioskDevicesView-D-RZUu0W.js → KioskDevicesView-pVKiTu6S.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BKALec_y.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BnSxItMs.js} +3 -3
- package/dist/{KioskSettingView-BgDVaUU6.js → KioskSettingView-DJBOkV6H.js} +3 -3
- package/dist/{KioskView-CBDEN6lZ.js → KioskView-D4mNamRb.js} +4 -4
- package/dist/{OrderSettingsView-CrDwgef9.js → OrderSettingsView-CMMk2vfa.js} +26 -22
- package/dist/{app-BMblFPtQ.js → app-BYibDORO.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-0LOWyVEQ.js → dayjs.min-CWjhxami.js} +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-D5Ao4tWD.js → index-CnIg87Di.js} +2 -2
- package/dist/{index-FP2iiNEg.js → index-DMWjC7Vg.js} +1 -1
- package/dist/{menu.dto-BdFq_BB_.js → menu.dto-B-gViVe6.js} +1 -1
- package/package.json +1 -1
- package/src/views/order-settings/delivery/DeliverySetting.vue +17 -13
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as P, defineComponent as re, resolveComponent as D, createElementBlock as y, openBlock as u, createElementVNode as a, createVNode as m, toDisplayString as s, unref as i, computed as w, watch as de, createCommentVNode as O, withCtx as J, Fragment as G, renderList as Q, normalizeClass as ge, createBlock as ae, createTextVNode as z } from "vue";
|
|
2
2
|
import { useI18n as se } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as Ie } from "pinia";
|
|
4
|
-
import { r as H, g as pe } from "./menu.dto-
|
|
4
|
+
import { r as H, g as pe } from "./menu.dto-B-gViVe6.js";
|
|
5
5
|
import { useDialog as Te, useSnackbar as we } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as ne } from "./dayjs.min-
|
|
7
|
-
import { g as xe, c as Ae } from "./app-
|
|
6
|
+
import { d as ne } from "./dayjs.min-CWjhxami.js";
|
|
7
|
+
import { g as xe, c as Ae } from "./app-BYibDORO.js";
|
|
8
8
|
async function Pe() {
|
|
9
9
|
const n = await H().get("/kiosk/otp");
|
|
10
10
|
return pe(n);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as oe, computed as C, ref as Y, onMounted as pe, resolveComponent as w, createBlock as G, openBlock as R, withCtx as A, createVNode as s, createElementVNode as r, withDirectives as E, unref as l, vShow as N, watch as ce, createElementBlock as q, createCommentVNode as ye, toDisplayString as g } from "vue";
|
|
2
|
-
import { e as ae, a as re, s as se, b as fe, r as le, u as te, d as ve } from "./app-
|
|
3
|
-
import { b as u, c as ie, S as de, d as be } from "./menu.dto-
|
|
4
|
-
import { _ as ge, u as Ie, a as Pe } from "./index-
|
|
2
|
+
import { e as ae, a as re, s as se, b as fe, r as le, u as te, d as ve } from "./app-BYibDORO.js";
|
|
3
|
+
import { b as u, c as ie, S as de, d as be } from "./menu.dto-B-gViVe6.js";
|
|
4
|
+
import { _ as ge, u as Ie, a as Pe } from "./index-CnIg87Di.js";
|
|
5
5
|
import { useI18n as ue, useCoreStore as Se } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as we } from "@feedmepos/ui-library";
|
|
7
7
|
const _e = { class: "ml-7" }, xe = { class: "ml-7" }, Te = { class: "flex flex-row gap-9" }, Ve = /* @__PURE__ */ oe({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, createElementBlock as $, openBlock as _, createElementVNode as m, toDisplayString as P, unref as d, ref as w, defineAsyncComponent as J, computed as h, onMounted as X, watch as Y, resolveComponent as A, createVNode as x, createBlock as R, createCommentVNode as V } from "vue";
|
|
2
|
-
import { u as Z, _ as O } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Z, _ as O } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BnSxItMs.js";
|
|
3
3
|
import { useDialog as g, useSnackbar as S } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as B, useCoreStore as k } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as aa } from "pinia";
|
|
6
|
-
import { O as D, c as ea } from "./index-
|
|
7
|
-
import { F as ta, a as na } from "./menu.dto-
|
|
6
|
+
import { O as D, c as ea } from "./index-DMWjC7Vg.js";
|
|
7
|
+
import { F as ta, a as na } from "./menu.dto-B-gViVe6.js";
|
|
8
8
|
const la = { class: "flex flex-col gap-5 pb-6" }, ua = { class: "fm-typo-en-body-md-400 block" }, oa = { class: "fm-typo-en-title-md-600" }, ca = /* @__PURE__ */ N({
|
|
9
9
|
__name: "KioskOtpDialog",
|
|
10
10
|
props: {
|
|
@@ -237,7 +237,7 @@ const la = { class: "flex flex-col gap-5 pb-6" }, ua = { class: "fm-typo-en-body
|
|
|
237
237
|
setup(a) {
|
|
238
238
|
var q, F;
|
|
239
239
|
const { t: e } = B(), c = J(
|
|
240
|
-
() => import("./KioskSettingView-
|
|
240
|
+
() => import("./KioskSettingView-DJBOkV6H.js")
|
|
241
241
|
), l = w("device"), t = Z(), n = ya(), s = g(), { currentRestaurant: o, restaurants: u, changeRestaurant: p } = k(), f = S(), i = w(((q = o.value) == null ? void 0 : q._id) ?? void 0), v = h(() => u.value.map((r) => ({
|
|
242
242
|
label: r.profile.name,
|
|
243
243
|
value: r._id
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as qe, computed as Pe, defineComponent as st, onMounted as wr, onUnmounted as ld, resolveComponent as Ae, createBlock as St, openBlock as Ee, withCtx as ot, createElementVNode as fe, createElementBlock as ze, createCommentVNode as Xe, createVNode as ce, toDisplayString as Ie, unref as ae, isRef as tl, Fragment as nt, renderList as Pt, watch as kt, renderSlot as Ic, reactive as Ur, createTextVNode as rn, normalizeClass as rl, withModifiers as Pc, toRaw as Kl, normalizeStyle as Oc, createSlots as Dc, h as dd, withKeys as Rc, resolveDynamicComponent as Nc } from "vue";
|
|
2
2
|
import { useDialog as Ci, useSnackbar as cd } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as $t, useCoreStore as Mt } from "@feedmepos/mf-common";
|
|
4
|
-
import { e as ht, l as se, c as it, f as nl, h as Xr, i as ul, j as qc, k as Ks, m as xc } from "./app-
|
|
5
|
-
import { e as en, f as er, h as Bc, i as ss, j as tu, g as Yl, m as Jl, k as Uc, l as Qa, n as ls, O as Wl, o as Ql, p as Zl, q as Xl, s as Lc, t as ds, u as Gc } from "./menu.dto-
|
|
6
|
-
import { c as At, u as nr, b as cr, r as jt, _ as fd, a as On, d as e0 } from "./index-
|
|
7
|
-
import { a as Vc, d as rr } from "./dayjs.min-
|
|
4
|
+
import { e as ht, l as se, c as it, f as nl, h as Xr, i as ul, j as qc, k as Ks, m as xc } from "./app-BYibDORO.js";
|
|
5
|
+
import { e as en, f as er, h as Bc, i as ss, j as tu, g as Yl, m as Jl, k as Uc, l as Qa, n as ls, O as Wl, o as Ql, p as Zl, q as Xl, s as Lc, t as ds, u as Gc } from "./menu.dto-B-gViVe6.js";
|
|
6
|
+
import { c as At, u as nr, b as cr, r as jt, _ as fd, a as On, d as e0 } from "./index-CnIg87Di.js";
|
|
7
|
+
import { a as Vc, d as rr } from "./dayjs.min-CWjhxami.js";
|
|
8
8
|
import { defineStore as Hc } from "pinia";
|
|
9
9
|
import { useRouter as Kc } from "vue-router";
|
|
10
|
-
import { O as on, s as cs, a as Yc } from "./index-
|
|
10
|
+
import { O as on, s as cs, a as Yc } from "./index-DMWjC7Vg.js";
|
|
11
11
|
const Jc = {
|
|
12
12
|
"Bill Receipt Number": (d) => d.seqNumber ?? "*8888",
|
|
13
13
|
"Bill Receipt Total Amount (Net)": (d) => Bc.Dinero.fromFdoDinero(d.nettTotal).toFormat(!0),
|
|
@@ -54889,25 +54889,29 @@ const $g = { class: "flex flex-col lg:flex-row md:flex-row sm:flex-row xs:flex-w
|
|
|
54889
54889
|
}), M(h("order.DeliverySettingUpdated"));
|
|
54890
54890
|
}
|
|
54891
54891
|
async function ut() {
|
|
54892
|
-
|
|
54893
|
-
|
|
54894
|
-
|
|
54895
|
-
|
|
54896
|
-
|
|
54897
|
-
|
|
54898
|
-
|
|
54892
|
+
X.value = !1, await t(async () => {
|
|
54893
|
+
var Se, xe;
|
|
54894
|
+
await z.updateInhouseDelivery(((Se = S.value) == null ? void 0 : Se._id) ?? "", Ge.value);
|
|
54895
|
+
const Me = (xe = await N()) == null ? void 0 : xe.find((Ke) => {
|
|
54896
|
+
var at;
|
|
54897
|
+
return Ke._id === ((at = S.value) == null ? void 0 : at._id);
|
|
54898
|
+
});
|
|
54899
|
+
Me && await B(Me);
|
|
54900
|
+
}), M(h("order.DeliverySettingUpdated"));
|
|
54899
54901
|
}
|
|
54900
54902
|
async function Fe() {
|
|
54901
|
-
|
|
54902
|
-
|
|
54903
|
-
|
|
54904
|
-
|
|
54905
|
-
|
|
54906
|
-
|
|
54907
|
-
|
|
54908
|
-
|
|
54909
|
-
|
|
54910
|
-
|
|
54903
|
+
X.value = !1, await t(async () => {
|
|
54904
|
+
var Se, xe;
|
|
54905
|
+
await z.updateExternalDelivery(
|
|
54906
|
+
((Se = S.value) == null ? void 0 : Se._id) ?? "",
|
|
54907
|
+
et.value
|
|
54908
|
+
);
|
|
54909
|
+
const Me = (xe = await N()) == null ? void 0 : xe.find((Ke) => {
|
|
54910
|
+
var at;
|
|
54911
|
+
return Ke._id === ((at = S.value) == null ? void 0 : at._id);
|
|
54912
|
+
});
|
|
54913
|
+
Me && await B(Me);
|
|
54914
|
+
}), M(h("order.DeliverySettingUpdated"));
|
|
54911
54915
|
}
|
|
54912
54916
|
async function Ne(Me, Se, xe, Ke, at) {
|
|
54913
54917
|
var lt, zt, xt, pt;
|
|
@@ -18416,22 +18416,22 @@ const gy = { class: "flex-1 overflow-auto" }, By = /* @__PURE__ */ mc({
|
|
|
18416
18416
|
{
|
|
18417
18417
|
path: Qi.KioskRoute,
|
|
18418
18418
|
name: "Kiosk",
|
|
18419
|
-
component: () => import("./KioskView-
|
|
18419
|
+
component: () => import("./KioskView-D4mNamRb.js")
|
|
18420
18420
|
},
|
|
18421
18421
|
{
|
|
18422
18422
|
path: Qi.KioskDeviceRoute,
|
|
18423
18423
|
name: "Kiosk Device",
|
|
18424
|
-
component: () => import("./KioskDevicesView-
|
|
18424
|
+
component: () => import("./KioskDevicesView-pVKiTu6S.js")
|
|
18425
18425
|
},
|
|
18426
18426
|
{
|
|
18427
18427
|
path: Qi.KioskOrderSettingRoute,
|
|
18428
18428
|
name: "Kiosk Order Setting",
|
|
18429
|
-
component: () => import("./KioskSettingView-
|
|
18429
|
+
component: () => import("./KioskSettingView-DJBOkV6H.js")
|
|
18430
18430
|
},
|
|
18431
18431
|
{
|
|
18432
18432
|
path: Qi.OrderSettingView,
|
|
18433
18433
|
name: "Order Setting View",
|
|
18434
|
-
component: () => import("./OrderSettingsView-
|
|
18434
|
+
component: () => import("./OrderSettingsView-CMMk2vfa.js")
|
|
18435
18435
|
}
|
|
18436
18436
|
], jy = {
|
|
18437
18437
|
"en-US": vc,
|
package/dist/app.js
CHANGED