@pisell/pisellos 2.2.113 → 2.2.115

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.
@@ -567,7 +567,7 @@ export var SalesImpl = /*#__PURE__*/function (_BaseModule) {
567
567
  return leftStartAt - rightStartAt;
568
568
  }); // 过滤掉没有 status 的 booking
569
569
  normalizedBookings = normalizedBookings.filter(function (booking) {
570
- return !booking.status;
570
+ return booking.status;
571
571
  });
572
572
 
573
573
  // 建立 resourceId -> bookings[] 倒排索引,加速资源匹配
@@ -414,7 +414,7 @@ var SalesImpl = class extends import_BaseModule.BaseModule {
414
414
  const rightStartAt = this.toBookingDateTime(right.start_date, right.start_time).valueOf();
415
415
  return leftStartAt - rightStartAt;
416
416
  });
417
- normalizedBookings = normalizedBookings.filter((booking) => !booking.status);
417
+ normalizedBookings = normalizedBookings.filter((booking) => booking.status);
418
418
  const bookingMap = /* @__PURE__ */ new Map();
419
419
  normalizedBookings.forEach((booking) => {
420
420
  if (!Array.isArray(booking.resources))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.113",
4
+ "version": "2.2.115",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",