@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.
@@ -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 | 2 | 1 | 3 | 4 | 5 | 6;
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(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.1.78",
4
+ "version": "2.1.79",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",