@feedmepos/mf-order-setting 0.0.91 → 0.0.92
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/{DisplaySystemView-n7Kqdw-h.js → DisplaySystemView-DZS7EVfk.js} +1 -1
- package/dist/{KioskDevicesView-Bz6seroM.js → KioskDevicesView-d2WLB0-w.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-I39sE8Pe.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-rs-hNWUW.js} +3 -3
- package/dist/{KioskSettingView-Cajjh4Zm.js → KioskSettingView-DFE3_u5c.js} +3 -3
- package/dist/{KioskView-BPSbsMi5.js → KioskView-C3Pi3lWW.js} +5 -5
- package/dist/{OrderSettingsView-jPxZ3JDM.js → OrderSettingsView-Dxg9RjSd.js} +26999 -25299
- package/dist/{app-DIhv5ssA.js → app-BFlQtcsd.js} +3253 -3062
- package/dist/app.js +1 -1
- package/dist/common/order-platform/index.d.ts +20 -0
- package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
- package/dist/frontend/mf-order/src/app.d.ts +84 -0
- package/dist/frontend/mf-order/src/main.d.ts +84 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -3
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +11 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-vaSLX6r3.js → index-ByiTrmdq.js} +2 -2
- package/dist/{index-Clp_YRJ2.js → index-CaO7aaaT.js} +1 -1
- package/dist/{index-CmqNrkNl.js → index-s2kWGMtz.js} +1 -1
- package/dist/order.dto-C829lA69.js +41528 -0
- package/dist/package/entity/delivery/delivery.dto.d.ts +7 -0
- package/dist/package/entity/food-court/food-court.dto.d.ts +315 -264
- package/dist/package/entity/food-court/order-v2.do.d.ts +231 -0
- package/dist/package/entity/food-court/order-v2.do.spec.d.ts +1 -0
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +15 -6
- package/dist/package/entity/index.d.ts +7 -0
- package/dist/package/entity/index.frontend.d.ts +2 -0
- package/dist/package/entity/member/member.dto.d.ts +2 -2
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +44 -9
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +17 -3
- package/dist/package/entity/order/menu/menu.dto.d.ts +33 -3
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +18 -18
- package/dist/package/entity/order/order.do.d.ts +87 -12
- package/dist/package/entity/order/order.dto.d.ts +762 -358
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +7 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +7 -0
- package/dist/package/entity/order-platform/menu.dto.d.ts +10 -10
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +92 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +7 -0
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
- package/dist/package/entity/order-setting/order-setting.do.d.ts +866 -5
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -10
- package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
- package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
- package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
- package/dist/package/entity/queue/queue.dto.d.ts +175 -121
- package/dist/package/entity/reservation/reservation-pos.do.d.ts +222 -0
- package/dist/package/entity/reservation/reservation.do.d.ts +205 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +428 -0
- package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
- package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +39 -24
- package/dist/package/entity/user/user.do.d.ts +2 -2
- package/dist/package/entity/websocket/websocket.dto.d.ts +161 -21
- package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/api/reservation/index.ts +25 -0
- package/src/assets/images/not-found.png +0 -0
- package/src/locales/en-US.json +21 -0
- package/src/locales/ja-JP.json +21 -0
- package/src/locales/th-TH.json +21 -0
- package/src/locales/zh-CN.json +21 -0
- package/src/views/order-settings/OrderSettingsView.vue +9 -2
- package/src/views/order-settings/delivery/delivery.spec.ts +21 -0
- package/src/views/order-settings/delivery/delivery.ts +2 -51
- package/src/views/order-settings/dine-in/DineInSetting.vue +11 -1
- package/src/views/order-settings/reservation/CopySettingsSheet.vue +256 -0
- package/src/views/order-settings/reservation/CustomTimePicker.vue +311 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +1549 -0
- package/vitest.config.ts +2 -1
- package/dist/order.dto-DV1qL3Q_.js +0 -40301
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as q, defineComponent as he, computed as V, watch as Te, resolveComponent as J, openBlock as m, createBlock as ae, Teleport as Hn, createElementBlock as k, withModifiers as Re, createElementVNode as g, toDisplayString as P, unref as p, createCommentVNode as W, createVNode as N, withCtx as $e, normalizeStyle as ee, normalizeClass as ie, Fragment as te, createTextVNode as Pe, onScopeDispose as Xa, renderList as ce, resolveDirective as Kn, withDirectives as Pt, useModel as Qa, mergeModels as Ya, withKeys as eo, vModelText as to, onMounted as Zn, onBeforeUnmount as no, nextTick as ao } from "vue";
|
|
2
2
|
import { useI18n as ke, useCoreStore as Kt } from "@feedmepos/mf-common";
|
|
3
3
|
import { u as oo } from "./snackbar-DZQ0_reQ.js";
|
|
4
|
-
import {
|
|
4
|
+
import { E as Jn, g as ze, b as ro, G as io, H as hn } from "./order.dto-C829lA69.js";
|
|
5
5
|
import { defineStore as so } from "pinia";
|
|
6
6
|
import { useDialogChild as lo, useDialog as uo } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as C, defineComponent as Q, resolveComponent as x, openBlock as l, createElementBlock as m, createElementVNode as a, toDisplayString as d, unref as s, createVNode as v, computed as _, createBlock as M, withCtx as K, createCommentVNode as D, Fragment as q, renderList as G, watch as he, normalizeClass as $e, createTextVNode as te, renderSlot as Me } from "vue";
|
|
2
2
|
import { useI18n as ne, useCoreStore as Ve } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as ge } from "pinia";
|
|
4
|
-
import { r as J, g as ue, b as Be, p as Re } from "./order.dto-
|
|
4
|
+
import { r as J, g as ue, b as Be, p as Re } from "./order.dto-C829lA69.js";
|
|
5
5
|
import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as ce, s as be } from "./index-
|
|
7
|
-
import { c as Ne, g as Ke, a as xe } from "./app-
|
|
6
|
+
import { d as ce, s as be } from "./index-CaO7aaaT.js";
|
|
7
|
+
import { c as Ne, g as Ke, a as xe } from "./app-BFlQtcsd.js";
|
|
8
8
|
async function Ue() {
|
|
9
9
|
const t = await J().get("/kiosk/otp");
|
|
10
10
|
return ue(t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as fe, computed as x, ref as Y, onMounted as Ee, resolveComponent as V, openBlock as w, createBlock as oe, withCtx as R, createVNode as i, unref as a, createElementVNode as d, withDirectives as F, vShow as N, toDisplayString as v, watch as Ue, createElementBlock as E, createCommentVNode as B, Fragment as te, renderList as ne, normalizeClass as Fe } from "vue";
|
|
2
|
-
import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-
|
|
3
|
-
import { c as f, K as Le, d as Me } from "./order.dto-
|
|
4
|
-
import { _ as We, u as De, a as $e } from "./index-
|
|
2
|
+
import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-BFlQtcsd.js";
|
|
3
|
+
import { c as f, K as Le, d as Me } from "./order.dto-C829lA69.js";
|
|
4
|
+
import { _ as We, u as De, a as $e } from "./index-ByiTrmdq.js";
|
|
5
5
|
import { useI18n as he, FeedMeAuth as Ie, useCoreStore as Ye } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as Ge } from "@feedmepos/ui-library";
|
|
7
7
|
const Ke = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary ml-7" }, je = { class: "ml-7" }, qe = { class: "ml-7" }, Be = { class: "flex flex-row gap-9" }, He = /* @__PURE__ */ fe({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as X, openBlock as h, createElementBlock as Q, createElementVNode as f, toDisplayString as A, unref as m, ref as v, defineAsyncComponent as ue, computed as U, onMounted as ce, watch as re, resolveComponent as P, createVNode as L, withCtx as oe, createBlock as E, createCommentVNode as K } from "vue";
|
|
2
|
-
import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-rs-hNWUW.js";
|
|
3
3
|
import { useDialog as me, useSnackbar as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as z, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
5
|
-
import { F as ye, a as ve, S as M } from "./order.dto-
|
|
5
|
+
import { F as ye, a as ve, S as M } from "./order.dto-C829lA69.js";
|
|
6
6
|
import { defineStore as be } from "pinia";
|
|
7
|
-
import { O as W } from "./index-
|
|
8
|
-
import { u as _e } from "./app-
|
|
7
|
+
import { O as W } from "./index-s2kWGMtz.js";
|
|
8
|
+
import { u as _e } from "./app-BFlQtcsd.js";
|
|
9
9
|
const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body-md-400 block" }, we = { class: "fm-typo-en-title-md-600" }, Pe = /* @__PURE__ */ X({
|
|
10
10
|
__name: "KioskOtpDialog",
|
|
11
11
|
props: {
|
|
@@ -343,7 +343,7 @@ const Ge = { class: "py-[1.5rem]" }, He = { class: "px-[1.5rem]" }, Xe = { class
|
|
|
343
343
|
setup(e) {
|
|
344
344
|
var V, $;
|
|
345
345
|
const { t: a } = z(), { canManageOrderSetting: n } = _e(), c = ue(
|
|
346
|
-
() => import("./KioskSettingView-
|
|
346
|
+
() => import("./KioskSettingView-DFE3_u5c.js")
|
|
347
347
|
), t = v("device"), l = se(), r = Ke(), o = pe(), p = me(), { currentRestaurant: d, restaurants: i, changeRestaurant: C } = fe(), b = ie(), y = v(((V = d.value) == null ? void 0 : V._id) ?? void 0), I = v(null), R = v(""), D = v(null), q = U(() => {
|
|
348
348
|
const u = R.value.trim().toLowerCase();
|
|
349
349
|
return i.value.filter(
|