@feedmepos/mf-order-setting 0.0.29 → 0.0.30
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/{OrderSettingsView-CN1PFwX_.js → OrderSettingsView-DT9krR3_.js} +10 -7
- package/dist/{app-d1Lptg6A.js → app-Dhx_DQ6c.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/api/remoteOrder/index.ts +1 -1
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +2 -2
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +7 -2
|
@@ -6,7 +6,7 @@ import { u as fr, a as Fr, b as Vf, _ as Hf } from "./index-BXsnV_eO.js";
|
|
|
6
6
|
import { g as Qe, b as un, S as Ju, d as Kf, m as Yf, a as Wf, D as vr, r as di, c as Jl, e as Jf } from "./dayjs.min-BLlPHZkl.js";
|
|
7
7
|
import { defineStore as _i } from "pinia";
|
|
8
8
|
import { useRouter as Qf } from "vue-router";
|
|
9
|
-
import { c as ol, g as an, a as sl, b as Xf, d as Qu, e as Zf } from "./app-
|
|
9
|
+
import { c as ol, g as an, a as sl, b as Xf, d as Qu, e as Zf } from "./app-Dhx_DQ6c.js";
|
|
10
10
|
import { O as _a, s as gu, a as e$ } from "./index-Cg9kSeyn.js";
|
|
11
11
|
const t$ = {
|
|
12
12
|
"Bill Receipt Number": (h) => h.seqNumber ?? "*8888",
|
|
@@ -67678,7 +67678,7 @@ const Tm = /* @__PURE__ */ ut({
|
|
|
67678
67678
|
((q = M.value) == null ? void 0 : q._id) ?? ""
|
|
67679
67679
|
);
|
|
67680
67680
|
});
|
|
67681
|
-
H
|
|
67681
|
+
H ? window.open(H, "_blank") : X(`Failed to get integration url for ${(V = M == null ? void 0 : M.value) == null ? void 0 : V._id}`);
|
|
67682
67682
|
}
|
|
67683
67683
|
return (H, V) => {
|
|
67684
67684
|
const q = Ie("FmButton");
|
|
@@ -74202,7 +74202,7 @@ const d2 = _i("business", () => {
|
|
|
74202
74202
|
effectGroups: l,
|
|
74203
74203
|
lastUpdatedAt: V.value || ""
|
|
74204
74204
|
});
|
|
74205
|
-
o(d)
|
|
74205
|
+
o(d);
|
|
74206
74206
|
});
|
|
74207
74207
|
}
|
|
74208
74208
|
async function n() {
|
|
@@ -74273,14 +74273,17 @@ const d2 = _i("business", () => {
|
|
|
74273
74273
|
}, null, 8, ["label", "disabled", "onClick"])
|
|
74274
74274
|
]),
|
|
74275
74275
|
le(m, {
|
|
74276
|
-
|
|
74277
|
-
"onUpdate:modelValue": (I) => j.maxApplicableEffects = I,
|
|
74276
|
+
"model-value": j.maxApplicableEffects,
|
|
74278
74277
|
label: ie(E)("order.discountRule.maxTotalUses"),
|
|
74279
74278
|
type: "number",
|
|
74280
74279
|
rules: L,
|
|
74281
74280
|
min: 1,
|
|
74282
|
-
"helper-text": ie(E)("order.discountRule.maxTotalUsesSublabel")
|
|
74283
|
-
|
|
74281
|
+
"helper-text": ie(E)("order.discountRule.maxTotalUsesSublabel"),
|
|
74282
|
+
"onUpdate:modelValue": (I) => {
|
|
74283
|
+
const P = parseInt(I);
|
|
74284
|
+
j.maxApplicableEffects = isNaN(P) ? 1 : P;
|
|
74285
|
+
}
|
|
74286
|
+
}, null, 8, ["model-value", "label", "helper-text", "onUpdate:modelValue"])
|
|
74284
74287
|
];
|
|
74285
74288
|
}),
|
|
74286
74289
|
_: 2
|
|
@@ -1017,7 +1017,7 @@ const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
|
|
|
1017
1017
|
{
|
|
1018
1018
|
path: u.OrderSettingView,
|
|
1019
1019
|
name: "Order Setting View",
|
|
1020
|
-
component: () => import("./OrderSettingsView-
|
|
1020
|
+
component: () => import("./OrderSettingsView-DT9krR3_.js")
|
|
1021
1021
|
}
|
|
1022
1022
|
], H = {
|
|
1023
1023
|
"en-US": C,
|
package/dist/app.js
CHANGED
|
@@ -23,7 +23,7 @@ export declare const remoteOrderApi: {
|
|
|
23
23
|
rejectGrabfoodOrders(orderId: string): Promise<FdoGrabfoodOrderOutput>;
|
|
24
24
|
updateGrabfood(restaurantId: string, dto: FdoGrabfoodSettings): Promise<FdoRestaurant>;
|
|
25
25
|
syncGrabfoodMenu(merchantId: string): Promise<FdoGrabfoodSettings>;
|
|
26
|
-
startSelfServeFlow(restaurantId: string): Promise<string>;
|
|
26
|
+
startSelfServeFlow(restaurantId: string): Promise<string | null>;
|
|
27
27
|
readShopeefood(restaurantId: string): Promise<FdoShopeeFoodSettings | null>;
|
|
28
28
|
readShopeefoodOrders(req: FdtoGetOrderReq): Promise<(FdoShopeeFoodOrderOutput & FdoShopeeFoodOrder)[]>;
|
|
29
29
|
reflowShopeefoodOrders(orderId: string): Promise<FdoShopeeFoodOrderOutput>;
|