@feedmepos/mf-order-setting 0.0.17 → 0.0.18
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-DkDKK-o-.js → KioskDevicesView-CuHZd6_9.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-uz5kCfDz.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-5mr80TnE.js} +1 -1
- package/dist/{KioskView-dXsAOdRK.js → KioskView-Dy1o-gJs.js} +3 -3
- package/dist/{OrderSettingsView-mw8PFd0W.js → OrderSettingsView-B-uga-ib.js} +3 -3
- package/dist/{app-BsFGRC2y.js → app-DOZsphNG.js} +103 -109
- package/dist/app.js +4 -5
- package/dist/{dayjs.min-vPr9KJUN.js → dayjs.min-7bYz19Mt.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +0 -1
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +6 -6
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialog.vue.d.ts +2 -2
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-CpFXjGaf.js → index-B0G4vTU2.js} +1 -1
- package/dist/package/entity/delivery/delivery.dto.d.ts +18 -18
- package/dist/package/entity/delivery/gateway/grab.dto.d.ts +8 -8
- package/dist/package/entity/delivery/gateway/pandago.dto.d.ts +16 -16
- package/dist/package/entity/delivery/linked-delivery.do.d.ts +2 -2
- package/dist/package/entity/delivery/linked-delivery.dto.d.ts +8 -8
- package/dist/package/entity/food-court/food-court.dto.d.ts +44 -44
- package/dist/package/entity/kiosk/kiosk.do.d.ts +20 -20
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +24 -24
- package/dist/package/entity/order/order.dto.d.ts +86 -86
- package/dist/package/entity/order/pickup/pickup.do.d.ts +2 -2
- package/dist/package/entity/order/pickup/pickup.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +16 -16
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +6 -6
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +74 -74
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +124 -124
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +38 -38
- package/dist/package/entity/order-platform/menu.dto.d.ts +82 -82
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +240 -240
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +72 -72
- package/dist/package/entity/printer/printer.do.d.ts +2 -2
- package/dist/package/entity/queue/queue.dto.d.ts +6 -6
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +4 -4
- package/package.json +1 -1
- package/src/App.vue +20 -0
- package/src/Entry.vue +0 -3
- package/src/app.ts +1 -18
|
@@ -2476,6 +2476,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2476
2476
|
};
|
|
2477
2477
|
} | null | undefined;
|
|
2478
2478
|
tags?: string[] | null | undefined;
|
|
2479
|
+
name: string;
|
|
2479
2480
|
address: {
|
|
2480
2481
|
coordinates?: number[] | null | undefined;
|
|
2481
2482
|
line2?: string | null | undefined;
|
|
@@ -2485,7 +2486,6 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2485
2486
|
city: string;
|
|
2486
2487
|
postcode: string;
|
|
2487
2488
|
};
|
|
2488
|
-
name: string;
|
|
2489
2489
|
email: string;
|
|
2490
2490
|
phoneNo: string;
|
|
2491
2491
|
regNo: string;
|
|
@@ -2553,6 +2553,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2553
2553
|
} | null | undefined;
|
|
2554
2554
|
tags?: string[] | null | undefined;
|
|
2555
2555
|
url?: string | null | undefined;
|
|
2556
|
+
name: string;
|
|
2556
2557
|
address: {
|
|
2557
2558
|
coordinates?: number[] | null | undefined;
|
|
2558
2559
|
line2?: string | null | undefined;
|
|
@@ -2562,7 +2563,6 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2562
2563
|
city: string;
|
|
2563
2564
|
postcode: string;
|
|
2564
2565
|
};
|
|
2565
|
-
name: string;
|
|
2566
2566
|
email: string;
|
|
2567
2567
|
phoneNo: string;
|
|
2568
2568
|
regNo: string;
|
|
@@ -2829,6 +2829,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2829
2829
|
};
|
|
2830
2830
|
} | null | undefined;
|
|
2831
2831
|
tags?: string[] | null | undefined;
|
|
2832
|
+
name: string;
|
|
2832
2833
|
address: {
|
|
2833
2834
|
coordinates?: number[] | null | undefined;
|
|
2834
2835
|
line2?: string | null | undefined;
|
|
@@ -2838,7 +2839,6 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2838
2839
|
city: string;
|
|
2839
2840
|
postcode: string;
|
|
2840
2841
|
};
|
|
2841
|
-
name: string;
|
|
2842
2842
|
email: string;
|
|
2843
2843
|
phoneNo: string;
|
|
2844
2844
|
regNo: string;
|
|
@@ -2950,6 +2950,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2950
2950
|
} | null | undefined;
|
|
2951
2951
|
tags?: string[] | null | undefined;
|
|
2952
2952
|
url?: string | null | undefined;
|
|
2953
|
+
name: string;
|
|
2953
2954
|
address: {
|
|
2954
2955
|
coordinates?: number[] | null | undefined;
|
|
2955
2956
|
line2?: string | null | undefined;
|
|
@@ -2959,7 +2960,6 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2959
2960
|
city: string;
|
|
2960
2961
|
postcode: string;
|
|
2961
2962
|
};
|
|
2962
|
-
name: string;
|
|
2963
2963
|
email: string;
|
|
2964
2964
|
phoneNo: string;
|
|
2965
2965
|
regNo: string;
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { onMounted } from "vue"
|
|
3
|
+
import { googleMap, setGoogleMap } from "./helpers/map"
|
|
4
|
+
import { Loader } from 'google-maps'
|
|
5
|
+
|
|
6
|
+
async function initGoogleMap() {
|
|
7
|
+
if (googleMap()) return
|
|
8
|
+
|
|
9
|
+
const loader = new Loader(appApi.googleMap, {
|
|
10
|
+
libraries: ["places"]
|
|
11
|
+
})
|
|
12
|
+
const map = await loader.load()
|
|
13
|
+
setGoogleMap(map)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
onMounted(async () => {
|
|
17
|
+
await initGoogleMap()
|
|
18
|
+
})
|
|
19
|
+
</script>
|
|
20
|
+
|
|
1
21
|
<template>
|
|
2
22
|
<div class="flex-1 overflow-auto">
|
|
3
23
|
<RouterView />
|
package/src/Entry.vue
CHANGED
|
@@ -5,7 +5,6 @@ import { useRoute } from 'vue-router'
|
|
|
5
5
|
import { onMounted } from 'vue'
|
|
6
6
|
import { useIframeStore } from '@/stores/iframe'
|
|
7
7
|
import App from './App.vue'
|
|
8
|
-
import { initSettings } from './app'
|
|
9
8
|
|
|
10
9
|
const route = useRoute()
|
|
11
10
|
const showHeader = computed(() => route.query.showHeader !== 'false')
|
|
@@ -15,8 +14,6 @@ onMounted(async () => {
|
|
|
15
14
|
if (state.isIframe) {
|
|
16
15
|
parent.postMessage({ event: 'ready' }, '*')
|
|
17
16
|
}
|
|
18
|
-
|
|
19
|
-
initSettings()
|
|
20
17
|
})
|
|
21
18
|
</script>
|
|
22
19
|
|
package/src/app.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { googleMap, setGoogleMap } from "./helpers/map"
|
|
2
1
|
import enUS from "./locales/en-US.json"
|
|
3
2
|
import zhCN from "./locales/zh-CN.json"
|
|
4
3
|
export type AppMessagesSchema = typeof enUS
|
|
5
|
-
import { Loader } from 'google-maps'
|
|
6
4
|
|
|
7
5
|
export const i18nMessages = {
|
|
8
6
|
"en-US": enUS,
|
|
@@ -10,19 +8,4 @@ export const i18nMessages = {
|
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
export { default as FmApp } from './App.vue'
|
|
13
|
-
export { routes as routers } from '../src/router/routes'
|
|
14
|
-
|
|
15
|
-
async function initGoogleMap() {
|
|
16
|
-
if (googleMap()) return
|
|
17
|
-
|
|
18
|
-
const loader = new Loader(appApi.googleMap, {
|
|
19
|
-
libraries: ["places"]
|
|
20
|
-
})
|
|
21
|
-
const map = await loader.load()
|
|
22
|
-
setGoogleMap(map)
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export async function initSettings() {
|
|
26
|
-
console.log(`@feedmepos/mf-order-setting : 0.0.16-alpha.1`)
|
|
27
|
-
await initGoogleMap()
|
|
28
|
-
}
|
|
11
|
+
export { routes as routers } from '../src/router/routes'
|