@pisell/pisellos 2.0.28 → 2.0.29

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.
@@ -2431,7 +2431,9 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
2431
2431
  if (currentResourcesCount >= count) {
2432
2432
  count = currentResourcesCount;
2433
2433
  }
2434
- bookingLeft += 1;
2434
+ if (!m.onlyComputed) {
2435
+ bookingLeft += 1;
2436
+ }
2435
2437
  }
2436
2438
  });
2437
2439
  var startDayJs = dayjs(item.start);
@@ -1701,7 +1701,9 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
1701
1701
  if (currentResourcesCount >= count) {
1702
1702
  count = currentResourcesCount;
1703
1703
  }
1704
- bookingLeft += 1;
1704
+ if (!m.onlyComputed) {
1705
+ bookingLeft += 1;
1706
+ }
1705
1707
  }
1706
1708
  });
1707
1709
  const startDayJs = (0, import_dayjs.default)(item.start);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.0.28",
4
+ "version": "2.0.29",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",