react-virtuoso 2.2.6-beta.1 → 2.2.6-beta.2

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.
Files changed (70) hide show
  1. package/dist/List.d.ts +250 -52
  2. package/dist/__examples.cc6a8f9f.js +399 -9991
  3. package/dist/__examples.cc6a8f9f.js.map +1 -1
  4. package/dist/__examples.js +1 -1
  5. package/dist/align-to-bottom.7fcd2087.js +1 -206
  6. package/dist/alignToBottomSystem.d.ts +25 -5
  7. package/dist/auto-prepend-items.bd7e9b90.js +1 -206
  8. package/dist/benchmark.66d31485.js +1 -206
  9. package/dist/chat.d4f93b8b.js +1 -206
  10. package/dist/custom-components.5aeaa7ef.js +1 -206
  11. package/dist/custom-scroller.b0240d14.js +1 -206
  12. package/dist/data.26707046.js +1 -206
  13. package/dist/decrease-items.e2211e50.js +1 -206
  14. package/dist/default-item-height.b77ada36.js +1 -206
  15. package/dist/empty-placeholder.00607a6e.js +1 -206
  16. package/dist/end-reached.8531e5b1.js +1 -206
  17. package/dist/endless-scrolling.bc4101f0.js +1 -206
  18. package/dist/expandable-cards.5439f51b.js +1 -206
  19. package/dist/follow-output.4e36fca8.js +1 -206
  20. package/dist/followOutputSystem.d.ts +25 -5
  21. package/dist/grid-optimize-rendering.b49e36f5.js +1 -206
  22. package/dist/grid.d5d77b6a.js +1 -206
  23. package/dist/grouped-endless-scrolling.24985a0f.js +1 -206
  24. package/dist/grouped-load-more.bce8f6e4.js +1 -206
  25. package/dist/grouped-topmost-item.34960f5e.js +1 -206
  26. package/dist/grouped.a2908632.js +1 -206
  27. package/dist/header-footer.49733d45.js +1 -206
  28. package/dist/hello.54765c26.js +1 -206
  29. package/dist/index.js +1 -1
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.m.js +1 -1
  32. package/dist/index.m.js.map +1 -1
  33. package/dist/initial-from-zero.22ad1626.js +1 -206
  34. package/dist/initial-scroll-top.90db1920.js +1 -206
  35. package/dist/initial-topmost-item-default-height.43a95247.js +1 -206
  36. package/dist/initial-topmost-item.61c0e169.js +3 -208
  37. package/dist/initialItemCountSystem.d.ts +25 -5
  38. package/dist/initialScrollTopSystem.d.ts +25 -5
  39. package/dist/initialTopMostItemIndexSystem.d.ts +25 -3
  40. package/dist/listStateSystem.d.ts +25 -5
  41. package/dist/listSystem.d.ts +250 -52
  42. package/dist/long-last-item.b56ff89c.js +2 -206
  43. package/dist/long-last-item.b56ff89c.js.map +1 -1
  44. package/dist/prepend-items.f2bda34b.js +1 -206
  45. package/dist/prepend-last-tall-item.168a9e65.js +1 -206
  46. package/dist/react-beautiful-dnd-window-scroller.0a227511.js +1 -206
  47. package/dist/react-beautiful-dnd.817e9251.js +1 -206
  48. package/dist/rerender.ddd61b7c.js +1 -206
  49. package/dist/resize-loop.309b1dac.js +1 -206
  50. package/dist/resizing-items.c09b5e1b.js +1 -206
  51. package/dist/scroll-into-view.39b77fe9.js +1 -206
  52. package/dist/scroll-seek-placeholder.69fb85c6.js +1 -206
  53. package/dist/scroll-to-index.e72249cf.js +1 -206
  54. package/dist/scrollIntoViewSystem.d.ts +25 -7
  55. package/dist/scrollToIndexSystem.d.ts +0 -1
  56. package/dist/ssr.8f31b042.js +1 -206
  57. package/dist/start-reached.2990ece7.js +1 -206
  58. package/dist/tall-item-reverse-scrolling.58bcd140.js +1 -206
  59. package/dist/test-case-446.dce9595c.js +1 -206
  60. package/dist/test-case-460.6d75ad1f.js +2 -207
  61. package/dist/test-case-463.525f34ba.js +1 -206
  62. package/dist/toggle-display-grouped.4f4ae058.js +1 -206
  63. package/dist/top-items.f724bf61.js +1 -206
  64. package/dist/topItemCountSystem.d.ts +25 -5
  65. package/dist/totalListHeightSystem.d.ts +25 -5
  66. package/dist/upward-scroll.d49e0815.js +1 -206
  67. package/dist/upwardScrollFixSystem.d.ts +25 -5
  68. package/dist/window-grid.b22094fd.js +1 -206
  69. package/dist/window-scroller.a979c6d6.js +1 -206
  70. package/package.json +1 -1
@@ -244,209 +244,4 @@ function App() {
244
244
  }
245
245
  }));
246
246
  }
247
- },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx","@emotion/styled":"../node_modules/@emotion/styled/dist/styled.browser.esm.js"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
248
- var global = arguments[3];
249
- var OVERLAY_ID = '__parcel__error__overlay__';
250
- var OldModule = module.bundle.Module;
251
-
252
- function Module(moduleName) {
253
- OldModule.call(this, moduleName);
254
- this.hot = {
255
- data: module.bundle.hotData,
256
- _acceptCallbacks: [],
257
- _disposeCallbacks: [],
258
- accept: function (fn) {
259
- this._acceptCallbacks.push(fn || function () {});
260
- },
261
- dispose: function (fn) {
262
- this._disposeCallbacks.push(fn);
263
- }
264
- };
265
- module.bundle.hotData = null;
266
- }
267
-
268
- module.bundle.Module = Module;
269
- var checkedAssets, assetsToAccept;
270
- var parent = module.bundle.parent;
271
-
272
- if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
273
- var hostname = "" || location.hostname;
274
- var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
275
- var ws = new WebSocket(protocol + '://' + hostname + ':' + "60851" + '/');
276
-
277
- ws.onmessage = function (event) {
278
- checkedAssets = {};
279
- assetsToAccept = [];
280
- var data = JSON.parse(event.data);
281
-
282
- if (data.type === 'update') {
283
- var handled = false;
284
- data.assets.forEach(function (asset) {
285
- if (!asset.isNew) {
286
- var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
287
-
288
- if (didAccept) {
289
- handled = true;
290
- }
291
- }
292
- }); // Enable HMR for CSS by default.
293
-
294
- handled = handled || data.assets.every(function (asset) {
295
- return asset.type === 'css' && asset.generated.js;
296
- });
297
-
298
- if (handled) {
299
- console.clear();
300
- data.assets.forEach(function (asset) {
301
- hmrApply(global.parcelRequire, asset);
302
- });
303
- assetsToAccept.forEach(function (v) {
304
- hmrAcceptRun(v[0], v[1]);
305
- });
306
- } else if (location.reload) {
307
- // `location` global exists in a web worker context but lacks `.reload()` function.
308
- location.reload();
309
- }
310
- }
311
-
312
- if (data.type === 'reload') {
313
- ws.close();
314
-
315
- ws.onclose = function () {
316
- location.reload();
317
- };
318
- }
319
-
320
- if (data.type === 'error-resolved') {
321
- console.log('[parcel] ✨ Error resolved');
322
- removeErrorOverlay();
323
- }
324
-
325
- if (data.type === 'error') {
326
- console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
327
- removeErrorOverlay();
328
- var overlay = createErrorOverlay(data);
329
- document.body.appendChild(overlay);
330
- }
331
- };
332
- }
333
-
334
- function removeErrorOverlay() {
335
- var overlay = document.getElementById(OVERLAY_ID);
336
-
337
- if (overlay) {
338
- overlay.remove();
339
- }
340
- }
341
-
342
- function createErrorOverlay(data) {
343
- var overlay = document.createElement('div');
344
- overlay.id = OVERLAY_ID; // html encode message and stack trace
345
-
346
- var message = document.createElement('div');
347
- var stackTrace = document.createElement('pre');
348
- message.innerText = data.error.message;
349
- stackTrace.innerText = data.error.stack;
350
- overlay.innerHTML = '<div style="background: black; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; opacity: 0.85; font-family: Menlo, Consolas, monospace; z-index: 9999;">' + '<span style="background: red; padding: 2px 4px; border-radius: 2px;">ERROR</span>' + '<span style="top: 2px; margin-left: 5px; position: relative;">🚨</span>' + '<div style="font-size: 18px; font-weight: bold; margin-top: 20px;">' + message.innerHTML + '</div>' + '<pre>' + stackTrace.innerHTML + '</pre>' + '</div>';
351
- return overlay;
352
- }
353
-
354
- function getParents(bundle, id) {
355
- var modules = bundle.modules;
356
-
357
- if (!modules) {
358
- return [];
359
- }
360
-
361
- var parents = [];
362
- var k, d, dep;
363
-
364
- for (k in modules) {
365
- for (d in modules[k][1]) {
366
- dep = modules[k][1][d];
367
-
368
- if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
369
- parents.push(k);
370
- }
371
- }
372
- }
373
-
374
- if (bundle.parent) {
375
- parents = parents.concat(getParents(bundle.parent, id));
376
- }
377
-
378
- return parents;
379
- }
380
-
381
- function hmrApply(bundle, asset) {
382
- var modules = bundle.modules;
383
-
384
- if (!modules) {
385
- return;
386
- }
387
-
388
- if (modules[asset.id] || !bundle.parent) {
389
- var fn = new Function('require', 'module', 'exports', asset.generated.js);
390
- asset.isNew = !modules[asset.id];
391
- modules[asset.id] = [fn, asset.deps];
392
- } else if (bundle.parent) {
393
- hmrApply(bundle.parent, asset);
394
- }
395
- }
396
-
397
- function hmrAcceptCheck(bundle, id) {
398
- var modules = bundle.modules;
399
-
400
- if (!modules) {
401
- return;
402
- }
403
-
404
- if (!modules[id] && bundle.parent) {
405
- return hmrAcceptCheck(bundle.parent, id);
406
- }
407
-
408
- if (checkedAssets[id]) {
409
- return;
410
- }
411
-
412
- checkedAssets[id] = true;
413
- var cached = bundle.cache[id];
414
- assetsToAccept.push([bundle, id]);
415
-
416
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
417
- return true;
418
- }
419
-
420
- return getParents(global.parcelRequire, id).some(function (id) {
421
- return hmrAcceptCheck(global.parcelRequire, id);
422
- });
423
- }
424
-
425
- function hmrAcceptRun(bundle, id) {
426
- var cached = bundle.cache[id];
427
- bundle.hotData = {};
428
-
429
- if (cached) {
430
- cached.hot.data = bundle.hotData;
431
- }
432
-
433
- if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
434
- cached.hot._disposeCallbacks.forEach(function (cb) {
435
- cb(bundle.hotData);
436
- });
437
- }
438
-
439
- delete bundle.cache[id];
440
- bundle(id);
441
- cached = bundle.cache[id];
442
-
443
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
444
- cached.hot._acceptCallbacks.forEach(function (cb) {
445
- cb();
446
- });
447
-
448
- return true;
449
- }
450
- }
451
- },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
452
- //# sourceMappingURL=/grid-optimize-rendering.b49e36f5.js.map
247
+ },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx","@emotion/styled":"../node_modules/@emotion/styled/dist/styled.browser.esm.js"}]},{},[], null)
@@ -241,209 +241,4 @@ function App() {
241
241
  }
242
242
  }, "End 99"));
243
243
  }
244
- },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx","@emotion/styled":"../node_modules/@emotion/styled/dist/styled.browser.esm.js"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
245
- var global = arguments[3];
246
- var OVERLAY_ID = '__parcel__error__overlay__';
247
- var OldModule = module.bundle.Module;
248
-
249
- function Module(moduleName) {
250
- OldModule.call(this, moduleName);
251
- this.hot = {
252
- data: module.bundle.hotData,
253
- _acceptCallbacks: [],
254
- _disposeCallbacks: [],
255
- accept: function (fn) {
256
- this._acceptCallbacks.push(fn || function () {});
257
- },
258
- dispose: function (fn) {
259
- this._disposeCallbacks.push(fn);
260
- }
261
- };
262
- module.bundle.hotData = null;
263
- }
264
-
265
- module.bundle.Module = Module;
266
- var checkedAssets, assetsToAccept;
267
- var parent = module.bundle.parent;
268
-
269
- if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
270
- var hostname = "" || location.hostname;
271
- var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
272
- var ws = new WebSocket(protocol + '://' + hostname + ':' + "60851" + '/');
273
-
274
- ws.onmessage = function (event) {
275
- checkedAssets = {};
276
- assetsToAccept = [];
277
- var data = JSON.parse(event.data);
278
-
279
- if (data.type === 'update') {
280
- var handled = false;
281
- data.assets.forEach(function (asset) {
282
- if (!asset.isNew) {
283
- var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
284
-
285
- if (didAccept) {
286
- handled = true;
287
- }
288
- }
289
- }); // Enable HMR for CSS by default.
290
-
291
- handled = handled || data.assets.every(function (asset) {
292
- return asset.type === 'css' && asset.generated.js;
293
- });
294
-
295
- if (handled) {
296
- console.clear();
297
- data.assets.forEach(function (asset) {
298
- hmrApply(global.parcelRequire, asset);
299
- });
300
- assetsToAccept.forEach(function (v) {
301
- hmrAcceptRun(v[0], v[1]);
302
- });
303
- } else if (location.reload) {
304
- // `location` global exists in a web worker context but lacks `.reload()` function.
305
- location.reload();
306
- }
307
- }
308
-
309
- if (data.type === 'reload') {
310
- ws.close();
311
-
312
- ws.onclose = function () {
313
- location.reload();
314
- };
315
- }
316
-
317
- if (data.type === 'error-resolved') {
318
- console.log('[parcel] ✨ Error resolved');
319
- removeErrorOverlay();
320
- }
321
-
322
- if (data.type === 'error') {
323
- console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
324
- removeErrorOverlay();
325
- var overlay = createErrorOverlay(data);
326
- document.body.appendChild(overlay);
327
- }
328
- };
329
- }
330
-
331
- function removeErrorOverlay() {
332
- var overlay = document.getElementById(OVERLAY_ID);
333
-
334
- if (overlay) {
335
- overlay.remove();
336
- }
337
- }
338
-
339
- function createErrorOverlay(data) {
340
- var overlay = document.createElement('div');
341
- overlay.id = OVERLAY_ID; // html encode message and stack trace
342
-
343
- var message = document.createElement('div');
344
- var stackTrace = document.createElement('pre');
345
- message.innerText = data.error.message;
346
- stackTrace.innerText = data.error.stack;
347
- overlay.innerHTML = '<div style="background: black; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; opacity: 0.85; font-family: Menlo, Consolas, monospace; z-index: 9999;">' + '<span style="background: red; padding: 2px 4px; border-radius: 2px;">ERROR</span>' + '<span style="top: 2px; margin-left: 5px; position: relative;">🚨</span>' + '<div style="font-size: 18px; font-weight: bold; margin-top: 20px;">' + message.innerHTML + '</div>' + '<pre>' + stackTrace.innerHTML + '</pre>' + '</div>';
348
- return overlay;
349
- }
350
-
351
- function getParents(bundle, id) {
352
- var modules = bundle.modules;
353
-
354
- if (!modules) {
355
- return [];
356
- }
357
-
358
- var parents = [];
359
- var k, d, dep;
360
-
361
- for (k in modules) {
362
- for (d in modules[k][1]) {
363
- dep = modules[k][1][d];
364
-
365
- if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
366
- parents.push(k);
367
- }
368
- }
369
- }
370
-
371
- if (bundle.parent) {
372
- parents = parents.concat(getParents(bundle.parent, id));
373
- }
374
-
375
- return parents;
376
- }
377
-
378
- function hmrApply(bundle, asset) {
379
- var modules = bundle.modules;
380
-
381
- if (!modules) {
382
- return;
383
- }
384
-
385
- if (modules[asset.id] || !bundle.parent) {
386
- var fn = new Function('require', 'module', 'exports', asset.generated.js);
387
- asset.isNew = !modules[asset.id];
388
- modules[asset.id] = [fn, asset.deps];
389
- } else if (bundle.parent) {
390
- hmrApply(bundle.parent, asset);
391
- }
392
- }
393
-
394
- function hmrAcceptCheck(bundle, id) {
395
- var modules = bundle.modules;
396
-
397
- if (!modules) {
398
- return;
399
- }
400
-
401
- if (!modules[id] && bundle.parent) {
402
- return hmrAcceptCheck(bundle.parent, id);
403
- }
404
-
405
- if (checkedAssets[id]) {
406
- return;
407
- }
408
-
409
- checkedAssets[id] = true;
410
- var cached = bundle.cache[id];
411
- assetsToAccept.push([bundle, id]);
412
-
413
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
414
- return true;
415
- }
416
-
417
- return getParents(global.parcelRequire, id).some(function (id) {
418
- return hmrAcceptCheck(global.parcelRequire, id);
419
- });
420
- }
421
-
422
- function hmrAcceptRun(bundle, id) {
423
- var cached = bundle.cache[id];
424
- bundle.hotData = {};
425
-
426
- if (cached) {
427
- cached.hot.data = bundle.hotData;
428
- }
429
-
430
- if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
431
- cached.hot._disposeCallbacks.forEach(function (cb) {
432
- cb(bundle.hotData);
433
- });
434
- }
435
-
436
- delete bundle.cache[id];
437
- bundle(id);
438
- cached = bundle.cache[id];
439
-
440
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
441
- cached.hot._acceptCallbacks.forEach(function (cb) {
442
- cb();
443
- });
444
-
445
- return true;
446
- }
447
- }
448
- },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
449
- //# sourceMappingURL=/grid.d5d77b6a.js.map
244
+ },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx","@emotion/styled":"../node_modules/@emotion/styled/dist/styled.browser.esm.js"}]},{},[], null)
@@ -298,209 +298,4 @@ function App() {
298
298
  }
299
299
  });
300
300
  }
301
- },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx","faker":"../node_modules/faker/index.js","lodash":"../node_modules/lodash/lodash.js"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
302
- var global = arguments[3];
303
- var OVERLAY_ID = '__parcel__error__overlay__';
304
- var OldModule = module.bundle.Module;
305
-
306
- function Module(moduleName) {
307
- OldModule.call(this, moduleName);
308
- this.hot = {
309
- data: module.bundle.hotData,
310
- _acceptCallbacks: [],
311
- _disposeCallbacks: [],
312
- accept: function (fn) {
313
- this._acceptCallbacks.push(fn || function () {});
314
- },
315
- dispose: function (fn) {
316
- this._disposeCallbacks.push(fn);
317
- }
318
- };
319
- module.bundle.hotData = null;
320
- }
321
-
322
- module.bundle.Module = Module;
323
- var checkedAssets, assetsToAccept;
324
- var parent = module.bundle.parent;
325
-
326
- if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
327
- var hostname = "" || location.hostname;
328
- var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
329
- var ws = new WebSocket(protocol + '://' + hostname + ':' + "60851" + '/');
330
-
331
- ws.onmessage = function (event) {
332
- checkedAssets = {};
333
- assetsToAccept = [];
334
- var data = JSON.parse(event.data);
335
-
336
- if (data.type === 'update') {
337
- var handled = false;
338
- data.assets.forEach(function (asset) {
339
- if (!asset.isNew) {
340
- var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
341
-
342
- if (didAccept) {
343
- handled = true;
344
- }
345
- }
346
- }); // Enable HMR for CSS by default.
347
-
348
- handled = handled || data.assets.every(function (asset) {
349
- return asset.type === 'css' && asset.generated.js;
350
- });
351
-
352
- if (handled) {
353
- console.clear();
354
- data.assets.forEach(function (asset) {
355
- hmrApply(global.parcelRequire, asset);
356
- });
357
- assetsToAccept.forEach(function (v) {
358
- hmrAcceptRun(v[0], v[1]);
359
- });
360
- } else if (location.reload) {
361
- // `location` global exists in a web worker context but lacks `.reload()` function.
362
- location.reload();
363
- }
364
- }
365
-
366
- if (data.type === 'reload') {
367
- ws.close();
368
-
369
- ws.onclose = function () {
370
- location.reload();
371
- };
372
- }
373
-
374
- if (data.type === 'error-resolved') {
375
- console.log('[parcel] ✨ Error resolved');
376
- removeErrorOverlay();
377
- }
378
-
379
- if (data.type === 'error') {
380
- console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
381
- removeErrorOverlay();
382
- var overlay = createErrorOverlay(data);
383
- document.body.appendChild(overlay);
384
- }
385
- };
386
- }
387
-
388
- function removeErrorOverlay() {
389
- var overlay = document.getElementById(OVERLAY_ID);
390
-
391
- if (overlay) {
392
- overlay.remove();
393
- }
394
- }
395
-
396
- function createErrorOverlay(data) {
397
- var overlay = document.createElement('div');
398
- overlay.id = OVERLAY_ID; // html encode message and stack trace
399
-
400
- var message = document.createElement('div');
401
- var stackTrace = document.createElement('pre');
402
- message.innerText = data.error.message;
403
- stackTrace.innerText = data.error.stack;
404
- overlay.innerHTML = '<div style="background: black; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; opacity: 0.85; font-family: Menlo, Consolas, monospace; z-index: 9999;">' + '<span style="background: red; padding: 2px 4px; border-radius: 2px;">ERROR</span>' + '<span style="top: 2px; margin-left: 5px; position: relative;">🚨</span>' + '<div style="font-size: 18px; font-weight: bold; margin-top: 20px;">' + message.innerHTML + '</div>' + '<pre>' + stackTrace.innerHTML + '</pre>' + '</div>';
405
- return overlay;
406
- }
407
-
408
- function getParents(bundle, id) {
409
- var modules = bundle.modules;
410
-
411
- if (!modules) {
412
- return [];
413
- }
414
-
415
- var parents = [];
416
- var k, d, dep;
417
-
418
- for (k in modules) {
419
- for (d in modules[k][1]) {
420
- dep = modules[k][1][d];
421
-
422
- if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
423
- parents.push(k);
424
- }
425
- }
426
- }
427
-
428
- if (bundle.parent) {
429
- parents = parents.concat(getParents(bundle.parent, id));
430
- }
431
-
432
- return parents;
433
- }
434
-
435
- function hmrApply(bundle, asset) {
436
- var modules = bundle.modules;
437
-
438
- if (!modules) {
439
- return;
440
- }
441
-
442
- if (modules[asset.id] || !bundle.parent) {
443
- var fn = new Function('require', 'module', 'exports', asset.generated.js);
444
- asset.isNew = !modules[asset.id];
445
- modules[asset.id] = [fn, asset.deps];
446
- } else if (bundle.parent) {
447
- hmrApply(bundle.parent, asset);
448
- }
449
- }
450
-
451
- function hmrAcceptCheck(bundle, id) {
452
- var modules = bundle.modules;
453
-
454
- if (!modules) {
455
- return;
456
- }
457
-
458
- if (!modules[id] && bundle.parent) {
459
- return hmrAcceptCheck(bundle.parent, id);
460
- }
461
-
462
- if (checkedAssets[id]) {
463
- return;
464
- }
465
-
466
- checkedAssets[id] = true;
467
- var cached = bundle.cache[id];
468
- assetsToAccept.push([bundle, id]);
469
-
470
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
471
- return true;
472
- }
473
-
474
- return getParents(global.parcelRequire, id).some(function (id) {
475
- return hmrAcceptCheck(global.parcelRequire, id);
476
- });
477
- }
478
-
479
- function hmrAcceptRun(bundle, id) {
480
- var cached = bundle.cache[id];
481
- bundle.hotData = {};
482
-
483
- if (cached) {
484
- cached.hot.data = bundle.hotData;
485
- }
486
-
487
- if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
488
- cached.hot._disposeCallbacks.forEach(function (cb) {
489
- cb(bundle.hotData);
490
- });
491
- }
492
-
493
- delete bundle.cache[id];
494
- bundle(id);
495
- cached = bundle.cache[id];
496
-
497
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
498
- cached.hot._acceptCallbacks.forEach(function (cb) {
499
- cb();
500
- });
501
-
502
- return true;
503
- }
504
- }
505
- },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
506
- //# sourceMappingURL=/grouped-endless-scrolling.24985a0f.js.map
301
+ },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx","faker":"../node_modules/faker/index.js","lodash":"../node_modules/lodash/lodash.js"}]},{},[], null)