@feedmepos/mf-order-setting 0.0.100 → 0.0.102
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-bnG_JNDd.js → DisplaySystemView-jnt6letY.js} +4 -4
- package/dist/{FoodCourtInvitationsView-DbuetF4z.js → FoodCourtInvitationsView-DoynqFWB.js} +4 -4
- package/dist/{FoodCourtOrderSettingsView-BXgApCVG.js → FoodCourtOrderSettingsView-DYZLhTHy.js} +1 -1
- package/dist/{FoodCourtOrdersView-K0iC1arR.js → FoodCourtOrdersView-CAPOycT3.js} +3 -3
- package/dist/{FoodCourtStallsView-DijfdyBw.js → FoodCourtStallsView-CRMTt5BB.js} +2 -2
- package/dist/{FoodCourtStatusView-DTriHcSD.js → FoodCourtStatusView-C-b-eI-8.js} +1 -1
- package/dist/{KioskDevicesView-d2SWWkhC.js → KioskDevicesView-B0U9JxRl.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DA6c96uZ.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-V3ai4FVI.js} +5 -5
- package/dist/{KioskSettingView-I7Hgzrvr.js → KioskSettingView-rdom_aS8.js} +3 -3
- package/dist/{KioskView-B_lLNsaU.js → KioskView-DOON9zR6.js} +6 -6
- package/dist/{OrderSettingsView-8OS93YGL.js → OrderSettingsView-BBCnekaj.js} +10959 -10953
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-K0oCZMt8.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DjoTyV6m.js} +1 -1
- package/dist/{app-qdN8kXAM.js → app-Dvk30CIa.js} +511 -507
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-C-IKwmsU.js → dayjs.min-DUFHhM7O.js} +1 -1
- package/dist/{featureFlag-z_-AhzUC.js → featureFlag-BvcirzHS.js} +1 -1
- package/dist/frontend/mf-order/src/api/order-setting/index.d.ts +3 -1
- package/dist/frontend/mf-order/src/api/order-setting/queue-counter.d.ts +14 -0
- package/dist/frontend/mf-order/src/app.d.ts +4 -0
- package/dist/frontend/mf-order/src/main.d.ts +4 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BxK-mqfV.js → index-C4n5H7t3.js} +1 -1
- package/dist/index-C5n6lil6.js +39 -0
- package/dist/{index-DjtNAyFp.js → index-CGxCWKHB.js} +4 -4
- package/dist/{index-BK-RT8YN.js → index-CW4VlFWz.js} +1 -1
- package/dist/{index-WSlqpTW2.js → index-CaHG3M7C.js} +1 -1
- package/dist/{index-DfsaaxdM.js → index-ILnighyU.js} +1 -1
- package/dist/{order.dto-BTF8MlM5.js → order.dto-Cb_gh3iB.js} +1119 -1116
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +236 -2
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +263 -0
- package/package.json +1 -1
- package/src/api/order-setting/index.ts +4 -2
- package/src/api/order-setting/queue-counter.spec.ts +74 -0
- package/src/api/order-setting/queue-counter.ts +34 -0
- package/src/locales/en-US.json +1 -0
- package/src/locales/ja-JP.json +1 -0
- package/src/locales/th-TH.json +1 -0
- package/src/locales/zh-CN.json +1 -0
- package/src/views/order-settings/queue/QueueSetting.source.spec.ts +29 -0
- package/src/views/order-settings/queue/QueueSetting.vue +22 -1
- package/src/views/order-settings/reservation/ReservationSetting.vue +710 -715
- package/src/views/order-settings/reservation/reservation-pos-note.spec.ts +42 -0
- package/dist/index-DeUtM1Z8.js +0 -24
package/dist/app.js
CHANGED
|
@@ -2,7 +2,7 @@ var le = Object.defineProperty;
|
|
|
2
2
|
var ue = (S, c, v) => c in S ? le(S, c, { enumerable: !0, configurable: !0, writable: !0, value: v }) : S[c] = v;
|
|
3
3
|
var ot = (S, c, v) => ue(S, typeof c != "symbol" ? c + "" : c, v);
|
|
4
4
|
import { readonly as Pt, ref as Ut } from "vue";
|
|
5
|
-
import { c as st } from "./app-
|
|
5
|
+
import { c as st } from "./app-Dvk30CIa.js";
|
|
6
6
|
const _e = (S, c) => {
|
|
7
7
|
const v = S.__vccOpts || S;
|
|
8
8
|
for (const [d, s] of c)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { OrderSettingsDto, OrderSettingUpdateDto } from '@entity';
|
|
2
|
+
import { withoutQueueCounters } from './queue-counter';
|
|
2
3
|
declare function getOrderSetting(): Promise<OrderSettingsDto>;
|
|
3
|
-
|
|
4
|
+
/** Queue running numbers are left out unless `keepQueueCounter` keeps them: see `withoutQueueCounters`. */
|
|
5
|
+
declare function updateOrderSetting(payload: OrderSettingUpdateDto, keepQueueCounter?: Parameters<typeof withoutQueueCounters>[1]): Promise<OrderSettingsDto>;
|
|
4
6
|
export declare const OrderSettingApi: {
|
|
5
7
|
getOrderSetting: typeof getOrderSetting;
|
|
6
8
|
updateOrderSetting: typeof updateOrderSetting;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { OrderSettingUpdateDto } from '@entity';
|
|
2
|
+
type QueueSegment = NonNullable<NonNullable<OrderSettingUpdateDto['queueSettings']>['codeSettings']>[number];
|
|
3
|
+
/**
|
|
4
|
+
* Leaves each queue segment's running number (`codeSettings[].current`) out of a
|
|
5
|
+
* settings save, except where `keep` says the save means to set it.
|
|
6
|
+
*
|
|
7
|
+
* Every settings page saves the whole document it loaded, and the running number in
|
|
8
|
+
* it is the one from when the page opened. Queue-backend moves that number on every
|
|
9
|
+
* new queue, so writing it back set the counter back and the next customers got
|
|
10
|
+
* codes already issued. Left out, order-backend keeps the stored number
|
|
11
|
+
* (`mergeQueueSegments`).
|
|
12
|
+
*/
|
|
13
|
+
export declare function withoutQueueCounters(payload: OrderSettingUpdateDto, keep?: (segment: QueueSegment, index: number) => boolean): OrderSettingUpdateDto;
|
|
14
|
+
export {};
|
|
@@ -618,6 +618,7 @@ export declare const i18nMessages: {
|
|
|
618
618
|
paxMaxHint: string;
|
|
619
619
|
reservation: string;
|
|
620
620
|
reservationStatus: string;
|
|
621
|
+
reservationNeedsPosV8: string;
|
|
621
622
|
reservationAvailability: string;
|
|
622
623
|
notificationSettings: string;
|
|
623
624
|
smsEnabled: string;
|
|
@@ -2041,6 +2042,7 @@ export declare const i18nMessages: {
|
|
|
2041
2042
|
paxMaxHint: string;
|
|
2042
2043
|
reservation: string;
|
|
2043
2044
|
reservationStatus: string;
|
|
2045
|
+
reservationNeedsPosV8: string;
|
|
2044
2046
|
reservationAvailability: string;
|
|
2045
2047
|
notificationSettings: string;
|
|
2046
2048
|
smsEnabled: string;
|
|
@@ -3409,6 +3411,7 @@ export declare const i18nMessages: {
|
|
|
3409
3411
|
paxMaxHint: string;
|
|
3410
3412
|
reservation: string;
|
|
3411
3413
|
reservationStatus: string;
|
|
3414
|
+
reservationNeedsPosV8: string;
|
|
3412
3415
|
reservationAvailability: string;
|
|
3413
3416
|
notificationSettings: string;
|
|
3414
3417
|
smsEnabled: string;
|
|
@@ -4518,6 +4521,7 @@ export declare const i18nMessages: {
|
|
|
4518
4521
|
paxMaxHint: string;
|
|
4519
4522
|
reservation: string;
|
|
4520
4523
|
reservationStatus: string;
|
|
4524
|
+
reservationNeedsPosV8: string;
|
|
4521
4525
|
reservationAvailability: string;
|
|
4522
4526
|
notificationSettings: string;
|
|
4523
4527
|
smsEnabled: string;
|
|
@@ -617,6 +617,7 @@ export declare const i18nMessages: {
|
|
|
617
617
|
paxMaxHint: string;
|
|
618
618
|
reservation: string;
|
|
619
619
|
reservationStatus: string;
|
|
620
|
+
reservationNeedsPosV8: string;
|
|
620
621
|
reservationAvailability: string;
|
|
621
622
|
notificationSettings: string;
|
|
622
623
|
smsEnabled: string;
|
|
@@ -2040,6 +2041,7 @@ export declare const i18nMessages: {
|
|
|
2040
2041
|
paxMaxHint: string;
|
|
2041
2042
|
reservation: string;
|
|
2042
2043
|
reservationStatus: string;
|
|
2044
|
+
reservationNeedsPosV8: string;
|
|
2043
2045
|
reservationAvailability: string;
|
|
2044
2046
|
notificationSettings: string;
|
|
2045
2047
|
smsEnabled: string;
|
|
@@ -3408,6 +3410,7 @@ export declare const i18nMessages: {
|
|
|
3408
3410
|
paxMaxHint: string;
|
|
3409
3411
|
reservation: string;
|
|
3410
3412
|
reservationStatus: string;
|
|
3413
|
+
reservationNeedsPosV8: string;
|
|
3411
3414
|
reservationAvailability: string;
|
|
3412
3415
|
notificationSettings: string;
|
|
3413
3416
|
smsEnabled: string;
|
|
@@ -4517,6 +4520,7 @@ export declare const i18nMessages: {
|
|
|
4517
4520
|
paxMaxHint: string;
|
|
4518
4521
|
reservation: string;
|
|
4519
4522
|
reservationStatus: string;
|
|
4523
|
+
reservationNeedsPosV8: string;
|
|
4520
4524
|
reservationAvailability: string;
|
|
4521
4525
|
notificationSettings: string;
|
|
4522
4526
|
smsEnabled: string;
|