@feedmepos/mf-order-setting 0.0.63-prod → 0.0.65-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-CiC8Mcn9.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BKALec_y.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-3ixdw-LO.js} +3 -3
- package/dist/{KioskSettingView-BgDVaUU6.js → KioskSettingView-DQ6jmCKn.js} +4 -4
- package/dist/{KioskView-CBDEN6lZ.js → KioskView-BRc-L4cs.js} +4 -4
- package/dist/{OrderSettingsView-CrDwgef9.js → OrderSettingsView-t7Cvorhs.js} +26 -22
- package/dist/{app-BMblFPtQ.js → app-BiYcG4Lz.js} +12 -12
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-0LOWyVEQ.js → dayjs.min-CAddrtob.js} +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-D5Ao4tWD.js → index-BLiMVdz_.js} +2 -2
- package/dist/{index-FP2iiNEg.js → index-BwD35FhK.js} +1 -1
- package/dist/{menu.dto-BdFq_BB_.js → menu.dto-D4nJ4rBU.js} +1 -1
- package/package.json +1 -1
- package/src/views/order-settings/delivery/DeliverySetting.vue +17 -13
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Yu, ref as hu, resolveComponent as fu, createElementBlock as Je, openBlock as De, createElementVNode as ze, createVNode as Fe, toDisplayString as cu, unref as du, createBlock as et, computed as qu, watch as rt, onMounted as at, createCommentVNode as wu, withCtx as Eu, createTextVNode as nt, Fragment as it, renderList as st, renderSlot as ot } from "vue";
|
|
2
|
-
import { e as Ie, c as Ue } from "./app-
|
|
2
|
+
import { e as Ie, c as Ue } from "./app-BiYcG4Lz.js";
|
|
3
3
|
import { useDialog as lt, useSnackbar as ct } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as Au, useCoreStore as ut } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as ft } from "pinia";
|
|
6
|
-
import { r as bu, g as ne, w as $u, j as Uu, S as Wu } from "./menu.dto-
|
|
6
|
+
import { r as bu, g as ne, w as $u, j as Uu, S as Wu } from "./menu.dto-D4nJ4rBU.js";
|
|
7
7
|
const dt = /* @__PURE__ */ Yu({
|
|
8
8
|
__name: "OfflinePaymentTypeDialogContent",
|
|
9
9
|
props: {
|
package/package.json
CHANGED
|
@@ -920,24 +920,28 @@ async function updateFeedmeExpressSetting() {
|
|
|
920
920
|
|
|
921
921
|
async function updateInHouseSetting() {
|
|
922
922
|
sideSheetIntegrated.value = false
|
|
923
|
-
await
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
923
|
+
await startAsyncCallWithErr(async () => {
|
|
924
|
+
await restaurantStore.updateInhouseDelivery(currentRestaurant.value?._id ?? '', inHouseDoc.value)
|
|
925
|
+
const res = (await readRestaurants())?.find((res) => res._id === currentRestaurant.value?._id)
|
|
926
|
+
if (res) {
|
|
927
|
+
await changeRestaurant(res)
|
|
928
|
+
}
|
|
929
|
+
})
|
|
928
930
|
showSuccess(t('order.DeliverySettingUpdated'))
|
|
929
931
|
}
|
|
930
932
|
|
|
931
933
|
async function updateExternalDeliverySetting() {
|
|
932
934
|
sideSheetIntegrated.value = false
|
|
933
|
-
await
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
935
|
+
await startAsyncCallWithErr(async () => {
|
|
936
|
+
await restaurantStore.updateExternalDelivery(
|
|
937
|
+
currentRestaurant.value?._id ?? '',
|
|
938
|
+
externalDoc.value
|
|
939
|
+
)
|
|
940
|
+
const res = (await readRestaurants())?.find((res) => res._id === currentRestaurant.value?._id)
|
|
941
|
+
if (res) {
|
|
942
|
+
await changeRestaurant(res)
|
|
943
|
+
}
|
|
944
|
+
})
|
|
941
945
|
showSuccess(t('order.DeliverySettingUpdated'))
|
|
942
946
|
}
|
|
943
947
|
|