@pisell/pisellos 2.1.78 → 2.1.79
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/modules/Cart/types.d.ts +2 -0
- package/dist/modules/Cart/utils/cartProduct.js +21 -1
- package/dist/modules/Rules/index.js +14 -14
- package/dist/modules/Summary/index.d.ts +3 -0
- package/dist/modules/Summary/index.js +93 -15
- package/dist/modules/Summary/types.d.ts +7 -0
- package/dist/modules/Summary/utils.d.ts +104 -1
- package/dist/modules/Summary/utils.js +1120 -13
- package/dist/solution/BookingByStep/index.d.ts +4 -1
- package/dist/solution/BookingByStep/index.js +1 -1
- package/lib/modules/Cart/types.d.ts +2 -0
- package/lib/modules/Cart/utils/cartProduct.js +16 -1
- package/lib/modules/Rules/index.js +3 -3
- package/lib/modules/Summary/index.d.ts +3 -0
- package/lib/modules/Summary/index.js +48 -1
- package/lib/modules/Summary/types.d.ts +7 -0
- package/lib/modules/Summary/utils.d.ts +104 -1
- package/lib/modules/Summary/utils.js +664 -8
- package/lib/solution/BookingByStep/index.d.ts +4 -1
- package/lib/solution/BookingByStep/index.js +1 -1
- package/package.json +1 -1
|
@@ -147,6 +147,9 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
147
147
|
taxTitle?: string | undefined;
|
|
148
148
|
totalTaxFee?: string | number | undefined;
|
|
149
149
|
isPriceIncludeTax?: 0 | 1 | undefined;
|
|
150
|
+
surchargeAmount?: string | number | undefined;
|
|
151
|
+
surcharge?: any[] | undefined;
|
|
152
|
+
taxRate?: string | number | undefined;
|
|
150
153
|
deposit?: {
|
|
151
154
|
total?: string | number | undefined;
|
|
152
155
|
policies?: import("../../modules/Summary/types").IProtocol[] | undefined;
|
|
@@ -307,7 +310,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
307
310
|
date: string;
|
|
308
311
|
status: string;
|
|
309
312
|
week: string;
|
|
310
|
-
weekNum: 0 |
|
|
313
|
+
weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
311
314
|
}[]>;
|
|
312
315
|
submitTimeSlot(timeSlots: TimeSliceItem): void;
|
|
313
316
|
private getScheduleDataByIds;
|
|
@@ -2935,7 +2935,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
|
|
|
2935
2935
|
const openResources = ((_d = (_c = tempProducts == null ? void 0 : tempProducts.product_resource) == null ? void 0 : _c.resources) == null ? void 0 : _d.filter(
|
|
2936
2936
|
(m) => m.status === 1
|
|
2937
2937
|
)) || [];
|
|
2938
|
-
const allProductResources = (0, import_resources.sortCombinedResources)(res.data);
|
|
2938
|
+
const allProductResources = (0, import_lodash_es.cloneDeep)((0, import_resources.sortCombinedResources)(res.data) || []);
|
|
2939
2939
|
allProductResources.forEach((m) => {
|
|
2940
2940
|
var _a2, _b2;
|
|
2941
2941
|
const resource = (_b2 = (_a2 = tempProducts == null ? void 0 : tempProducts.product_resource) == null ? void 0 : _a2.resources) == null ? void 0 : _b2.find(
|