@pisell/pisellos 2.1.65 → 2.1.66
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.
|
@@ -343,7 +343,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
343
343
|
};
|
|
344
344
|
setOtherData(key: string, value: any): void;
|
|
345
345
|
getOtherData(key: string): any;
|
|
346
|
-
getProductTypeById(id: number): Promise<"
|
|
346
|
+
getProductTypeById(id: number): Promise<"duration" | "session" | "normal">;
|
|
347
347
|
/**
|
|
348
348
|
* 提供给 UI 的方法,减轻 UI 层的计算压力,UI 层只需要传递 cartItemId 和 resourceCode 即返回对应的 renderList
|
|
349
349
|
*
|
|
@@ -2652,7 +2652,8 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
2652
2652
|
start_at: dayjs(item.start),
|
|
2653
2653
|
end_at: dayjs(item.end)
|
|
2654
2654
|
})) {
|
|
2655
|
-
|
|
2655
|
+
var _m$pax;
|
|
2656
|
+
mSet.set(m.id, (_m$pax = m.pax) !== null && _m$pax !== void 0 ? _m$pax : 1);
|
|
2656
2657
|
}
|
|
2657
2658
|
});
|
|
2658
2659
|
});
|
|
@@ -343,7 +343,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
343
343
|
};
|
|
344
344
|
setOtherData(key: string, value: any): void;
|
|
345
345
|
getOtherData(key: string): any;
|
|
346
|
-
getProductTypeById(id: number): Promise<"
|
|
346
|
+
getProductTypeById(id: number): Promise<"duration" | "session" | "normal">;
|
|
347
347
|
/**
|
|
348
348
|
* 提供给 UI 的方法,减轻 UI 层的计算压力,UI 层只需要传递 cartItemId 和 resourceCode 即返回对应的 renderList
|
|
349
349
|
*
|
|
@@ -1868,7 +1868,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
|
|
|
1868
1868
|
{ start_at: m.start_at, end_at: m.end_at },
|
|
1869
1869
|
{ start_at: (0, import_dayjs.default)(item.start), end_at: (0, import_dayjs.default)(item.end) }
|
|
1870
1870
|
)) {
|
|
1871
|
-
mSet.set(m.id, m.pax
|
|
1871
|
+
mSet.set(m.id, m.pax ?? 1);
|
|
1872
1872
|
}
|
|
1873
1873
|
});
|
|
1874
1874
|
});
|