@feedmepos/mf-order-setting 0.0.36 → 0.0.38
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-wPKewwAS.js → KioskDevicesView-DoTQRyXe.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DB0dvpBG.js} +2 -2
- package/dist/{KioskSettingView-CV54HpY2.js → KioskSettingView-DRpVR7Ij.js} +1 -1
- package/dist/{KioskView-B4mggCt0.js → KioskView-4-s6RwC6.js} +7 -7
- package/dist/OrderSettingsView-BqgGXVhY.js +76752 -0
- package/dist/{app-D4exdzAx.js → app-BbOgWoeI.js} +33 -18
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-C_sCJHuD.js → dayjs.min-COLd3dVw.js} +1 -1
- package/dist/frontend/mf-order/src/api/menu/index.d.ts +4 -0
- package/dist/frontend/mf-order/src/app.d.ts +15 -0
- package/dist/frontend/mf-order/src/helpers/order-setting.d.ts +6 -0
- package/dist/frontend/mf-order/src/main.d.ts +15 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +13 -4
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +27 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Cvhc_ltu.js → index-BewBuJGi.js} +2 -2
- package/dist/menu.dto-Bf0Evx6J.js +127224 -0
- package/dist/package/entity/food-court/order.dto.d.ts +1952 -1952
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +30 -30
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +24 -24
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +64 -64
- package/dist/package/entity/order/menu/menu.dto.d.ts +10 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +48 -48
- package/dist/package/entity/order/order.do.d.ts +20 -8
- package/dist/package/entity/order/order.dto.d.ts +3466 -3350
- package/dist/package/entity/order/payment/payment.dto.d.ts +1702 -1702
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +33 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +18 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +168 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +134 -0
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +95 -1613
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +62 -110
- package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +72 -0
- package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +101 -0
- package/dist/package/entity/payment/payment.dto.d.ts +3 -3
- package/dist/package/entity/queue/queue.do.d.ts +18 -6
- package/dist/package/entity/queue/queue.dto.d.ts +922 -908
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +363 -20
- package/package.json +4 -4
- package/src/api/menu/index.ts +4 -1
- package/src/helpers/order-setting.ts +20 -0
- package/src/locales/en-US.json +5 -0
- package/src/locales/th-TH.json +5 -0
- package/src/locales/zh-CN.json +5 -0
- package/src/stores/menu/menu.ts +33 -14
- package/src/stores/order-setting/mapper.ts +56 -56
- package/src/views/order-settings/OrderSettingsView.vue +30 -3
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +0 -1
- package/src/views/order-settings/general/GeneralSetting.vue +159 -4
- package/dist/OrderSettingsView-CKGRFx_2.js +0 -50624
- package/dist/menu.dto-CeUdKgTW.js +0 -103445
|
@@ -2,8 +2,8 @@ import { defineComponent as T, ref as f, resolveComponent as b, createElementBlo
|
|
|
2
2
|
import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as K } from "@feedmepos/mf-common";
|
|
4
4
|
import { defineStore as X } from "pinia";
|
|
5
|
-
import { r as D, g as U, D as Z } from "./dayjs.min-
|
|
6
|
-
import "./menu.dto-
|
|
5
|
+
import { r as D, g as U, D as Z } from "./dayjs.min-COLd3dVw.js";
|
|
6
|
+
import "./menu.dto-Bf0Evx6J.js";
|
|
7
7
|
const ee = /* @__PURE__ */ T({
|
|
8
8
|
__name: "KioskUnbindConfirm",
|
|
9
9
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, resolveComponent as T, createElementBlock as I, openBlock as v, createElementVNode as m, toDisplayString as V, unref as l, Fragment as B, renderList as j, createVNode as o, computed as D, withDirectives as Y, vShow as W, createBlock as M, createCommentVNode as L, ref as O, onMounted as te, withCtx as R, createTextVNode as le } from "vue";
|
|
2
2
|
import { useI18n as F } from "@feedmepos/mf-common";
|
|
3
|
-
import { F as $, c as y } from "./menu.dto-
|
|
3
|
+
import { F as $, c as y } from "./menu.dto-Bf0Evx6J.js";
|
|
4
4
|
import { _ as ie, u as de } from "./index-BXsnV_eO.js";
|
|
5
5
|
import { useSnackbar as oe } from "@feedmepos/ui-library";
|
|
6
6
|
function ue(P, h) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as I, computed as b, createElementBlock as y, openBlock as c, normalizeClass as X, createCommentVNode as _, createElementVNode as o, toDisplayString as m, unref as d, Fragment as Z, renderList as ee, ref as k, defineAsyncComponent as te, watch as ae, resolveComponent as S, createVNode as P, withCtx as ne, withDirectives as se, vShow as oe, createBlock as R } from "vue";
|
|
2
|
-
import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-DB0dvpBG.js";
|
|
3
3
|
import { useI18n as A, useCoreStore as de } from "@feedmepos/mf-common";
|
|
4
|
-
import { F as V, a as ie, b as ce } from "./menu.dto-
|
|
4
|
+
import { F as V, a as ie, b as ce } from "./menu.dto-Bf0Evx6J.js";
|
|
5
5
|
import { useDialog as ue, useSnackbar as pe, useBreakpoints as me } from "@feedmepos/ui-library";
|
|
6
6
|
import { defineStore as ye } from "pinia";
|
|
7
|
-
import { O as B, c as D } from "./index-
|
|
7
|
+
import { O as B, c as D } from "./index-BewBuJGi.js";
|
|
8
8
|
const fe = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-title-sm-600"
|
|
@@ -143,10 +143,10 @@ const fe = {
|
|
|
143
143
|
nfc: !1
|
|
144
144
|
},
|
|
145
145
|
eWallet: {
|
|
146
|
-
|
|
147
|
-
scanPay: !1,
|
|
146
|
+
terminalQrPay: !1,
|
|
148
147
|
terminalScanPay: !1,
|
|
149
|
-
|
|
148
|
+
qrPay: !1,
|
|
149
|
+
scanPay: !1
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
},
|
|
@@ -315,7 +315,7 @@ const fe = {
|
|
|
315
315
|
setup(t) {
|
|
316
316
|
var F, q;
|
|
317
317
|
const { t: e } = A(), r = te(
|
|
318
|
-
() => import("./KioskSettingView-
|
|
318
|
+
() => import("./KioskSettingView-DRpVR7Ij.js")
|
|
319
319
|
), l = k("device"), n = re(), s = Le(), u = ue(), { currentRestaurant: i, restaurants: a, changeRestaurant: p } = de(), v = pe(), h = me(), K = b(() => h.breakpoints.value.xs), w = k(((F = i.value) == null ? void 0 : F._id) ?? void 0), j = b(() => a.value.map((f) => ({
|
|
320
320
|
label: f.profile.name,
|
|
321
321
|
value: f._id
|