@pisell/pisellos 0.10.83 → 0.10.84

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.
@@ -418,7 +418,7 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
418
418
  key: "loadVenueCatalogPool",
419
419
  value: (function () {
420
420
  var _loadVenueCatalogPool = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
421
- var _this$otherParams5, _params$product_ids, _params$category_ids, _params$extension_typ, _ref4, _data$total;
421
+ var _this$otherParams5, _params$product_ids, _params$category_ids, _params$extension_typ, _ref4, _ref5, _data$total;
422
422
  var params,
423
423
  channelMap,
424
424
  channel,
@@ -469,6 +469,9 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
469
469
  } : {}), {}, {
470
470
  front_end_cache_id: params.cacheId
471
471
  }), {
472
+ // Core dispatches Kiosk to its local product query; PC/H5 without that
473
+ // route keep using HTTP. open_quotation: 0 preserves the raw venue pool.
474
+ osServer: true,
472
475
  useCache: false,
473
476
  customToast: function customToast() {}
474
477
  });
@@ -483,7 +486,7 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
483
486
  code: 'VENUE_CATALOG_LOAD_FAILED'
484
487
  });
485
488
  case 9:
486
- total = (_ref4 = (_data$total = data.total) !== null && _data$total !== void 0 ? _data$total : data.total_count) !== null && _ref4 !== void 0 ? _ref4 : data.total_num;
489
+ total = (_ref4 = (_ref5 = (_data$total = data.total) !== null && _data$total !== void 0 ? _data$total : data.total_count) !== null && _ref5 !== void 0 ? _ref5 : data.total_num) !== null && _ref4 !== void 0 ? _ref4 : data.count;
487
490
  if (!(total != null && Number.isFinite(Number(total)) && Number(total) > data.list.length || total == null && data.list.length >= 500)) {
488
491
  _context7.next = 12;
489
492
  break;
@@ -286,6 +286,7 @@ declare class Server {
286
286
  * 存储订阅者信息,便于数据变更时推送最新结果
287
287
  */
288
288
  private handleProductQuery;
289
+ private queryRawKioskProductPool;
289
290
  /**
290
291
  * ProductList callers such as standalone retail pages do not always have a selected schedule.
291
292
  * In that case query against the current local time so menu availability can still be evaluated.