@ringcentral/juno 2.40.0 → 2.41.0
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.
- package/components/Downshift/SuggestionList/SuggestionList.d.ts +3 -3
- package/components/Downshift/utils/useDownshift.d.ts +1 -1
- package/components/Tooltip/Tooltip.js +20 -2
- package/components/Virtuoso/index.d.ts +1 -1
- package/components/Virtuoso/index.js +1 -1
- package/components/Virtuoso/react-virtuoso/AATree.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/AATree.js +60 -48
- package/components/Virtuoso/react-virtuoso/TableVirtuoso.d.ts +5 -0
- package/components/Virtuoso/react-virtuoso/TableVirtuoso.js +217 -0
- package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +7696 -0
- package/components/Virtuoso/react-virtuoso/Virtuoso.js +317 -0
- package/components/Virtuoso/react-virtuoso/{Grid.d.ts → VirtuosoGrid.d.ts} +170 -72
- package/components/Virtuoso/react-virtuoso/VirtuosoGrid.js +199 -0
- package/components/Virtuoso/react-virtuoso/alignToBottomSystem.d.ts +119 -65
- package/components/Virtuoso/react-virtuoso/alignToBottomSystem.js +3 -3
- package/components/Virtuoso/react-virtuoso/comparators.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/comparators.js +1 -3
- package/components/Virtuoso/react-virtuoso/component-interfaces/TableVirtuoso.d.ts +194 -0
- package/components/Virtuoso/react-virtuoso/component-interfaces/TableVirtuoso.js +2 -0
- package/components/Virtuoso/react-virtuoso/component-interfaces/Virtuoso.d.ts +274 -0
- package/components/Virtuoso/react-virtuoso/component-interfaces/Virtuoso.js +2 -0
- package/components/Virtuoso/react-virtuoso/component-interfaces/VirtuosoGrid.d.ts +125 -0
- package/components/Virtuoso/react-virtuoso/component-interfaces/VirtuosoGrid.js +2 -0
- package/components/Virtuoso/react-virtuoso/domIOSystem.d.ts +3 -2
- package/components/Virtuoso/react-virtuoso/domIOSystem.js +5 -3
- package/components/Virtuoso/react-virtuoso/followOutputSystem.d.ts +80 -43
- package/components/Virtuoso/react-virtuoso/followOutputSystem.js +21 -19
- package/components/Virtuoso/react-virtuoso/gridSystem.d.ts +57 -31
- package/components/Virtuoso/react-virtuoso/gridSystem.js +173 -86
- package/components/Virtuoso/react-virtuoso/groupedListSystem.d.ts +76 -67
- package/components/Virtuoso/react-virtuoso/groupedListSystem.js +12 -12
- package/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.d.ts +6 -3
- package/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.js +36 -17
- package/components/Virtuoso/react-virtuoso/hooks/useIsomorphicLayoutEffect.d.ts +2 -2
- package/components/Virtuoso/react-virtuoso/hooks/useIsomorphicLayoutEffect.js +3 -2
- package/components/Virtuoso/react-virtuoso/hooks/useRcPortalWindowContext.d.ts +2 -0
- package/components/Virtuoso/react-virtuoso/hooks/useRcPortalWindowContext.js +5 -0
- package/components/Virtuoso/react-virtuoso/hooks/useScrollTop.d.ts +2 -3
- package/components/Virtuoso/react-virtuoso/hooks/useScrollTop.js +36 -51
- package/components/Virtuoso/react-virtuoso/hooks/useSize.d.ts +2 -3
- package/components/Virtuoso/react-virtuoso/hooks/useSize.js +13 -13
- package/components/Virtuoso/react-virtuoso/hooks/useWindowViewportRect.js +17 -15
- package/components/Virtuoso/react-virtuoso/index.d.ts +7 -1
- package/components/Virtuoso/react-virtuoso/index.js +8 -1
- package/components/Virtuoso/react-virtuoso/initialItemCountSystem.d.ts +304 -68
- package/components/Virtuoso/react-virtuoso/initialItemCountSystem.js +9 -31
- package/components/Virtuoso/react-virtuoso/initialScrollTopSystem.d.ts +127 -109
- package/components/Virtuoso/react-virtuoso/initialScrollTopSystem.js +7 -7
- package/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.d.ts +38 -22
- package/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.js +13 -20
- package/components/Virtuoso/react-virtuoso/interfaces.d.ts +150 -51
- package/components/Virtuoso/react-virtuoso/listStateSystem.d.ts +109 -59
- package/components/Virtuoso/react-virtuoso/listStateSystem.js +100 -52
- package/components/Virtuoso/react-virtuoso/listSystem.d.ts +1691 -693
- package/components/Virtuoso/react-virtuoso/listSystem.js +15 -16
- package/components/Virtuoso/react-virtuoso/loggerSystem.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/loggerSystem.js +2 -4
- package/components/Virtuoso/react-virtuoso/propsReadySystem.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/propsReadySystem.js +3 -4
- package/components/Virtuoso/react-virtuoso/react-urx/index.d.ts +110 -0
- package/components/Virtuoso/react-virtuoso/react-urx/index.js +200 -0
- package/components/Virtuoso/react-virtuoso/react-urx/package.json +5 -0
- package/components/Virtuoso/react-virtuoso/recalcSystem.d.ts +4 -0
- package/components/Virtuoso/react-virtuoso/recalcSystem.js +8 -0
- package/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.d.ts +144 -78
- package/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.js +33 -21
- package/components/Virtuoso/react-virtuoso/scrollSeekSystem.d.ts +12 -7
- package/components/Virtuoso/react-virtuoso/scrollSeekSystem.js +7 -10
- package/components/Virtuoso/react-virtuoso/scrollToIndexSystem.d.ts +19 -11
- package/components/Virtuoso/react-virtuoso/scrollToIndexSystem.js +11 -23
- package/components/Virtuoso/react-virtuoso/sizeRangeSystem.d.ts +7 -6
- package/components/Virtuoso/react-virtuoso/sizeRangeSystem.js +15 -27
- package/components/Virtuoso/react-virtuoso/sizeSystem.d.ts +20 -11
- package/components/Virtuoso/react-virtuoso/sizeSystem.js +182 -52
- package/components/Virtuoso/react-virtuoso/stateFlagsSystem.d.ts +8 -5
- package/components/Virtuoso/react-virtuoso/stateFlagsSystem.js +32 -23
- package/components/Virtuoso/react-virtuoso/stateLoadSystem.d.ts +318 -0
- package/components/Virtuoso/react-virtuoso/stateLoadSystem.js +41 -0
- package/components/Virtuoso/react-virtuoso/topItemCountSystem.d.ts +518 -467
- package/components/Virtuoso/react-virtuoso/topItemCountSystem.js +5 -5
- package/components/Virtuoso/react-virtuoso/totalListHeightSystem.d.ts +115 -63
- package/components/Virtuoso/react-virtuoso/totalListHeightSystem.js +6 -13
- package/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.d.ts +139 -73
- package/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.js +74 -31
- package/components/Virtuoso/react-virtuoso/urx/actions.d.ts +127 -0
- package/components/Virtuoso/react-virtuoso/urx/actions.js +98 -0
- package/components/Virtuoso/react-virtuoso/urx/constants.d.ts +8 -0
- package/components/Virtuoso/react-virtuoso/urx/constants.js +6 -0
- package/components/Virtuoso/react-virtuoso/urx/index.d.ts +6 -0
- package/components/Virtuoso/react-virtuoso/urx/index.js +9 -0
- package/components/Virtuoso/react-virtuoso/urx/package.json +5 -0
- package/components/Virtuoso/react-virtuoso/urx/pipe.d.ts +220 -0
- package/components/Virtuoso/react-virtuoso/urx/pipe.js +279 -0
- package/components/Virtuoso/react-virtuoso/urx/streams.d.ts +143 -0
- package/components/Virtuoso/react-virtuoso/urx/streams.js +227 -0
- package/components/Virtuoso/react-virtuoso/urx/system.d.ts +148 -0
- package/components/Virtuoso/react-virtuoso/urx/system.js +106 -0
- package/components/Virtuoso/react-virtuoso/urx/transformers.d.ts +71 -0
- package/components/Virtuoso/react-virtuoso/urx/transformers.js +106 -0
- package/components/Virtuoso/react-virtuoso/urx/utils.d.ts +57 -0
- package/components/Virtuoso/react-virtuoso/urx/utils.js +102 -0
- package/components/Virtuoso/react-virtuoso/utils/approximatelyEqual.d.ts +1 -0
- package/components/Virtuoso/react-virtuoso/utils/approximatelyEqual.js +6 -0
- package/components/Virtuoso/react-virtuoso/utils/context.d.ts +13 -0
- package/components/Virtuoso/react-virtuoso/utils/context.js +6 -0
- package/components/Virtuoso/react-virtuoso/utils/skipFrames.d.ts +1 -0
- package/components/Virtuoso/react-virtuoso/utils/skipFrames.js +11 -0
- package/components/Virtuoso/react-virtuoso/windowScrollerSystem.d.ts +6 -4
- package/components/Virtuoso/react-virtuoso/windowScrollerSystem.js +1 -1
- package/components/Virtuoso/utils/isOutOfRange.d.ts +1 -1
- package/components/Virtuoso/utils/useHighlightScroll.d.ts +2 -2
- package/es6/components/Tooltip/Tooltip.js +21 -3
- package/es6/components/Virtuoso/index.js +1 -1
- package/es6/components/Virtuoso/react-virtuoso/AATree.js +60 -48
- package/es6/components/Virtuoso/react-virtuoso/{Table.js → TableVirtuoso.js} +73 -52
- package/es6/components/Virtuoso/react-virtuoso/{List.js → Virtuoso.js} +85 -161
- package/es6/components/Virtuoso/react-virtuoso/VirtuosoGrid.js +198 -0
- package/es6/components/Virtuoso/react-virtuoso/alignToBottomSystem.js +3 -3
- package/es6/components/Virtuoso/react-virtuoso/comparators.js +1 -3
- package/es6/components/Virtuoso/react-virtuoso/component-interfaces/TableVirtuoso.js +0 -0
- package/es6/components/Virtuoso/react-virtuoso/component-interfaces/Virtuoso.js +0 -0
- package/es6/components/Virtuoso/react-virtuoso/component-interfaces/VirtuosoGrid.js +0 -0
- package/es6/components/Virtuoso/react-virtuoso/domIOSystem.js +5 -3
- package/es6/components/Virtuoso/react-virtuoso/followOutputSystem.js +21 -19
- package/es6/components/Virtuoso/react-virtuoso/gridSystem.js +173 -87
- package/es6/components/Virtuoso/react-virtuoso/groupedListSystem.js +13 -13
- package/es6/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.js +35 -16
- package/es6/components/Virtuoso/react-virtuoso/hooks/useIsomorphicLayoutEffect.js +2 -2
- package/es6/components/Virtuoso/react-virtuoso/hooks/useRcPortalWindowContext.js +2 -0
- package/es6/components/Virtuoso/react-virtuoso/hooks/useScrollTop.js +35 -50
- package/es6/components/Virtuoso/react-virtuoso/hooks/useSize.js +11 -12
- package/es6/components/Virtuoso/react-virtuoso/hooks/useWindowViewportRect.js +15 -14
- package/es6/components/Virtuoso/react-virtuoso/index.js +4 -1
- package/es6/components/Virtuoso/react-virtuoso/initialItemCountSystem.js +11 -33
- package/es6/components/Virtuoso/react-virtuoso/initialScrollTopSystem.js +7 -7
- package/es6/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.js +13 -20
- package/es6/components/Virtuoso/react-virtuoso/listStateSystem.js +101 -54
- package/es6/components/Virtuoso/react-virtuoso/listSystem.js +15 -16
- package/es6/components/Virtuoso/react-virtuoso/loggerSystem.js +2 -4
- package/es6/components/Virtuoso/react-virtuoso/propsReadySystem.js +3 -4
- package/es6/components/Virtuoso/react-virtuoso/react-urx/index.js +197 -0
- package/es6/components/Virtuoso/react-virtuoso/recalcSystem.js +5 -0
- package/es6/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.js +34 -22
- package/es6/components/Virtuoso/react-virtuoso/scrollSeekSystem.js +7 -10
- package/es6/components/Virtuoso/react-virtuoso/scrollToIndexSystem.js +11 -23
- package/es6/components/Virtuoso/react-virtuoso/sizeRangeSystem.js +16 -28
- package/es6/components/Virtuoso/react-virtuoso/sizeSystem.js +180 -53
- package/es6/components/Virtuoso/react-virtuoso/stateFlagsSystem.js +32 -23
- package/es6/components/Virtuoso/react-virtuoso/stateLoadSystem.js +39 -0
- package/es6/components/Virtuoso/react-virtuoso/topItemCountSystem.js +5 -5
- package/es6/components/Virtuoso/react-virtuoso/totalListHeightSystem.js +6 -13
- package/es6/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.js +75 -32
- package/es6/components/Virtuoso/react-virtuoso/urx/actions.js +90 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/constants.js +4 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/index.js +6 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/pipe.js +266 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/streams.js +220 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/system.js +102 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/transformers.js +101 -0
- package/es6/components/Virtuoso/react-virtuoso/urx/utils.js +88 -0
- package/es6/components/Virtuoso/react-virtuoso/utils/approximatelyEqual.js +3 -0
- package/es6/components/Virtuoso/react-virtuoso/utils/context.js +3 -0
- package/es6/components/Virtuoso/react-virtuoso/utils/skipFrames.js +8 -0
- package/es6/components/Virtuoso/react-virtuoso/windowScrollerSystem.js +1 -1
- package/es6/foundation/hooks/useForkRef/useForkRef.js +2 -1
- package/foundation/hooks/useForkRef/useForkRef.d.ts +2 -1
- package/foundation/hooks/useForkRef/useForkRef.js +1 -0
- package/package.json +2 -2
- package/components/Virtuoso/Virtuoso.d.ts +0 -1
- package/components/Virtuoso/Virtuoso.js +0 -4
- package/components/Virtuoso/react-virtuoso/Grid.js +0 -168
- package/components/Virtuoso/react-virtuoso/List.d.ts +0 -6749
- package/components/Virtuoso/react-virtuoso/List.js +0 -393
- package/components/Virtuoso/react-virtuoso/Table.d.ts +0 -6515
- package/components/Virtuoso/react-virtuoso/Table.js +0 -196
- package/components/Virtuoso/react-virtuoso/components.d.ts +0 -505
- package/components/Virtuoso/react-virtuoso/components.js +0 -9
- package/components/Virtuoso/react-virtuoso/utils/conditionalFlushSync.d.ts +0 -1
- package/components/Virtuoso/react-virtuoso/utils/conditionalFlushSync.js +0 -11
- package/es6/components/Virtuoso/Virtuoso.js +0 -1
- package/es6/components/Virtuoso/react-virtuoso/Grid.js +0 -166
- package/es6/components/Virtuoso/react-virtuoso/components.js +0 -7
- package/es6/components/Virtuoso/react-virtuoso/utils/conditionalFlushSync.js +0 -8
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { RefHandle } from './react-urx';
|
|
2
|
+
import * as u from './urx';
|
|
3
|
+
import React from 'react';
|
|
4
4
|
import { GridComponents, GridComputeItemKey, GridItemContent } from './interfaces';
|
|
5
|
+
import { Log, LogLevel } from './loggerSystem';
|
|
6
|
+
import { VirtuosoGridHandle, VirtuosoGridProps } from './component-interfaces/VirtuosoGrid';
|
|
5
7
|
declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
8
|
+
data?: unknown[] | null | undefined;
|
|
6
9
|
totalCount?: number | undefined;
|
|
7
|
-
itemContent?: GridItemContent<any> | undefined;
|
|
10
|
+
itemContent?: GridItemContent<any, any> | undefined;
|
|
11
|
+
context?: unknown;
|
|
8
12
|
overscan?: number | {
|
|
9
13
|
main: number;
|
|
10
14
|
reverse: number;
|
|
11
15
|
} | undefined;
|
|
16
|
+
initialTopMostItemIndex?: number | import("./interfaces").FlatIndexLocationWithAlign | undefined;
|
|
12
17
|
initialItemCount?: number | undefined;
|
|
13
18
|
components?: GridComponents<any> | undefined;
|
|
14
|
-
computeItemKey?: GridComputeItemKey | undefined;
|
|
19
|
+
computeItemKey?: GridComputeItemKey<any, any> | undefined;
|
|
15
20
|
scrollSeekConfiguration?: false | import("./interfaces").ScrollSeekConfiguration | undefined;
|
|
21
|
+
headerFooterTag?: string | undefined;
|
|
16
22
|
useWindowScroll?: boolean | undefined;
|
|
17
23
|
customScrollParent?: HTMLElement | undefined;
|
|
18
24
|
scrollerRef?: ((ref: HTMLElement | null) => void) | undefined;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
ItemContainer?: any;
|
|
22
|
-
ScrollContainer?: any;
|
|
23
|
-
ListContainer?: any;
|
|
25
|
+
logLevel?: LogLevel | undefined;
|
|
26
|
+
restoreStateFrom?: import("./component-interfaces/VirtuosoGrid").GridStateSnapshot | null | undefined;
|
|
24
27
|
listClassName?: string | undefined;
|
|
25
28
|
itemClassName?: string | undefined;
|
|
26
29
|
} & {
|
|
@@ -30,29 +33,32 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
30
33
|
rangeChanged?: ((value: import("./interfaces").ListRange | undefined) => void) | undefined;
|
|
31
34
|
atBottomStateChange?: ((value: boolean) => void) | undefined;
|
|
32
35
|
atTopStateChange?: ((value: boolean) => void) | undefined;
|
|
33
|
-
|
|
36
|
+
stateChanged?: ((value: import("./component-interfaces/VirtuosoGrid").GridStateSnapshot) => void) | undefined;
|
|
37
|
+
} & Pick<React.HTMLProps<HTMLDivElement>, "key" | "form" | "list" | "className" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "style" | "target" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "cite" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "download" | "start" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "shape" | "disabled" | "hrefLang" | "rel" | "default" | "action" | "content" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "open" | "selected" | "src" | "checked" | "readOnly" | "required" | "autoComplete" | "rows" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | "wrap"> & React.RefAttributes<import("./react-urx").MethodsFromPropMap<u.SystemSpec<[u.SystemSpec<[u.SystemSpec<[u.SystemSpec<never[], () => {
|
|
34
38
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
35
39
|
scrollTop: u.Stream<number>;
|
|
36
40
|
viewportHeight: u.Stream<number>;
|
|
37
41
|
headerHeight: u.StatefulStream<number>;
|
|
42
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
43
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
38
44
|
footerHeight: u.StatefulStream<number>;
|
|
39
45
|
scrollHeight: u.Stream<number>;
|
|
40
46
|
smoothScrollTargetReached: u.Stream<true>;
|
|
41
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
42
47
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
43
48
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
44
49
|
statefulScrollTop: u.StatefulStream<number>;
|
|
45
50
|
deviation: u.StatefulStream<number>;
|
|
46
51
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
47
|
-
}>], ([{ scrollTop, viewportHeight, deviation, headerHeight }]: [{
|
|
52
|
+
}>], ([{ scrollTop, viewportHeight, deviation, headerHeight, fixedHeaderHeight }]: [{
|
|
48
53
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
49
54
|
scrollTop: u.Stream<number>;
|
|
50
55
|
viewportHeight: u.Stream<number>;
|
|
51
56
|
headerHeight: u.StatefulStream<number>;
|
|
57
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
58
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
52
59
|
footerHeight: u.StatefulStream<number>;
|
|
53
60
|
scrollHeight: u.Stream<number>;
|
|
54
61
|
smoothScrollTargetReached: u.Stream<true>;
|
|
55
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
56
62
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
57
63
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
58
64
|
statefulScrollTop: u.StatefulStream<number>;
|
|
@@ -62,7 +68,6 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
62
68
|
listBoundary: u.Stream<import("./sizeRangeSystem").NumberTuple>;
|
|
63
69
|
overscan: u.StatefulStream<import("./sizeRangeSystem").Overscan>;
|
|
64
70
|
topListHeight: u.StatefulStream<number>;
|
|
65
|
-
fixedHeaderHeight: u.StatefulStream<number>;
|
|
66
71
|
increaseViewportBy: u.StatefulStream<import("./sizeRangeSystem").ViewportIncrease>;
|
|
67
72
|
visibleRange: u.StatefulStream<import("./sizeRangeSystem").NumberTuple>;
|
|
68
73
|
}>, u.SystemSpec<never[], () => {
|
|
@@ -70,10 +75,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
70
75
|
scrollTop: u.Stream<number>;
|
|
71
76
|
viewportHeight: u.Stream<number>;
|
|
72
77
|
headerHeight: u.StatefulStream<number>;
|
|
78
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
79
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
73
80
|
footerHeight: u.StatefulStream<number>;
|
|
74
81
|
scrollHeight: u.Stream<number>;
|
|
75
82
|
smoothScrollTargetReached: u.Stream<true>;
|
|
76
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
77
83
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
78
84
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
79
85
|
statefulScrollTop: u.StatefulStream<number>;
|
|
@@ -84,31 +90,33 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
84
90
|
scrollTop: u.Stream<number>;
|
|
85
91
|
viewportHeight: u.Stream<number>;
|
|
86
92
|
headerHeight: u.StatefulStream<number>;
|
|
93
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
94
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
87
95
|
footerHeight: u.StatefulStream<number>;
|
|
88
96
|
scrollHeight: u.Stream<number>;
|
|
89
97
|
smoothScrollTargetReached: u.Stream<true>;
|
|
90
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
91
98
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
92
99
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
93
100
|
statefulScrollTop: u.StatefulStream<number>;
|
|
94
101
|
deviation: u.StatefulStream<number>;
|
|
95
102
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
96
|
-
}>], ([{ scrollContainerState, scrollTop, viewportHeight, headerHeight, footerHeight, scrollBy
|
|
103
|
+
}>], ([{ scrollContainerState, scrollTop, viewportHeight, headerHeight, footerHeight, scrollBy }]: [{
|
|
97
104
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
98
105
|
scrollTop: u.Stream<number>;
|
|
99
106
|
viewportHeight: u.Stream<number>;
|
|
100
107
|
headerHeight: u.StatefulStream<number>;
|
|
108
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
109
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
101
110
|
footerHeight: u.StatefulStream<number>;
|
|
102
111
|
scrollHeight: u.Stream<number>;
|
|
103
112
|
smoothScrollTargetReached: u.Stream<true>;
|
|
104
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
105
113
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
106
114
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
107
115
|
statefulScrollTop: u.StatefulStream<number>;
|
|
108
116
|
deviation: u.StatefulStream<number>;
|
|
109
117
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
110
118
|
}]) => {
|
|
111
|
-
isScrolling: u.
|
|
119
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
112
120
|
isAtTop: u.StatefulStream<boolean>;
|
|
113
121
|
isAtBottom: u.StatefulStream<boolean>;
|
|
114
122
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -116,6 +124,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
116
124
|
atBottomStateChange: u.Stream<boolean>;
|
|
117
125
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
118
126
|
atBottomThreshold: u.StatefulStream<number>;
|
|
127
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
119
128
|
scrollVelocity: u.StatefulStream<number>;
|
|
120
129
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
121
130
|
}>, u.SystemSpec<[u.SystemSpec<[u.SystemSpec<never[], () => {
|
|
@@ -123,31 +132,33 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
123
132
|
scrollTop: u.Stream<number>;
|
|
124
133
|
viewportHeight: u.Stream<number>;
|
|
125
134
|
headerHeight: u.StatefulStream<number>;
|
|
135
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
136
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
126
137
|
footerHeight: u.StatefulStream<number>;
|
|
127
138
|
scrollHeight: u.Stream<number>;
|
|
128
139
|
smoothScrollTargetReached: u.Stream<true>;
|
|
129
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
130
140
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
131
141
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
132
142
|
statefulScrollTop: u.StatefulStream<number>;
|
|
133
143
|
deviation: u.StatefulStream<number>;
|
|
134
144
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
135
|
-
}>], ([{ scrollContainerState, scrollTop, viewportHeight, headerHeight, footerHeight, scrollBy
|
|
145
|
+
}>], ([{ scrollContainerState, scrollTop, viewportHeight, headerHeight, footerHeight, scrollBy }]: [{
|
|
136
146
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
137
147
|
scrollTop: u.Stream<number>;
|
|
138
148
|
viewportHeight: u.Stream<number>;
|
|
139
149
|
headerHeight: u.StatefulStream<number>;
|
|
150
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
151
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
140
152
|
footerHeight: u.StatefulStream<number>;
|
|
141
153
|
scrollHeight: u.Stream<number>;
|
|
142
154
|
smoothScrollTargetReached: u.Stream<true>;
|
|
143
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
144
155
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
145
156
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
146
157
|
statefulScrollTop: u.StatefulStream<number>;
|
|
147
158
|
deviation: u.StatefulStream<number>;
|
|
148
159
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
149
160
|
}]) => {
|
|
150
|
-
isScrolling: u.
|
|
161
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
151
162
|
isAtTop: u.StatefulStream<boolean>;
|
|
152
163
|
isAtBottom: u.StatefulStream<boolean>;
|
|
153
164
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -155,10 +166,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
155
166
|
atBottomStateChange: u.Stream<boolean>;
|
|
156
167
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
157
168
|
atBottomThreshold: u.StatefulStream<number>;
|
|
169
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
158
170
|
scrollVelocity: u.StatefulStream<number>;
|
|
159
171
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
160
172
|
}>], ([{ scrollVelocity }]: [{
|
|
161
|
-
isScrolling: u.
|
|
173
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
162
174
|
isAtTop: u.StatefulStream<boolean>;
|
|
163
175
|
isAtBottom: u.StatefulStream<boolean>;
|
|
164
176
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -166,6 +178,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
166
178
|
atBottomStateChange: u.Stream<boolean>;
|
|
167
179
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
168
180
|
atBottomThreshold: u.StatefulStream<number>;
|
|
181
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
169
182
|
scrollVelocity: u.StatefulStream<number>;
|
|
170
183
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
171
184
|
}]) => {
|
|
@@ -174,11 +187,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
174
187
|
scrollVelocity: u.StatefulStream<number>;
|
|
175
188
|
scrollSeekRangeChanged: u.Stream<import("./interfaces").ListRange>;
|
|
176
189
|
}>, u.SystemSpec<[u.SystemSpec<never[], () => {
|
|
177
|
-
log: u.StatefulStream<
|
|
178
|
-
logLevel: u.StatefulStream<
|
|
190
|
+
log: u.StatefulStream<Log>;
|
|
191
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
179
192
|
}>], ([{ log }]: [{
|
|
180
|
-
log: u.StatefulStream<
|
|
181
|
-
logLevel: u.StatefulStream<
|
|
193
|
+
log: u.StatefulStream<Log>;
|
|
194
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
182
195
|
}]) => {
|
|
183
196
|
propsReady: u.StatefulStream<boolean>;
|
|
184
197
|
didMount: u.Stream<boolean>;
|
|
@@ -187,10 +200,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
187
200
|
scrollTop: u.Stream<number>;
|
|
188
201
|
viewportHeight: u.Stream<number>;
|
|
189
202
|
headerHeight: u.StatefulStream<number>;
|
|
203
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
204
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
190
205
|
footerHeight: u.StatefulStream<number>;
|
|
191
206
|
scrollHeight: u.Stream<number>;
|
|
192
207
|
smoothScrollTargetReached: u.Stream<true>;
|
|
193
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
194
208
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
195
209
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
196
210
|
statefulScrollTop: u.StatefulStream<number>;
|
|
@@ -201,10 +215,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
201
215
|
scrollTop: u.Stream<number>;
|
|
202
216
|
viewportHeight: u.Stream<number>;
|
|
203
217
|
headerHeight: u.StatefulStream<number>;
|
|
218
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
219
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
204
220
|
footerHeight: u.StatefulStream<number>;
|
|
205
221
|
scrollHeight: u.Stream<number>;
|
|
206
222
|
smoothScrollTargetReached: u.Stream<true>;
|
|
207
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
208
223
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
209
224
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
210
225
|
statefulScrollTop: u.StatefulStream<number>;
|
|
@@ -216,11 +231,13 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
216
231
|
windowScrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
217
232
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
218
233
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
219
|
-
}
|
|
234
|
+
}>, u.SystemSpec<never[], () => {
|
|
235
|
+
log: u.StatefulStream<Log>;
|
|
236
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
237
|
+
}>], ([{ overscan, visibleRange, listBoundary }, { scrollTop, viewportHeight, scrollBy, scrollTo, smoothScrollTargetReached, scrollContainerState, footerHeight, headerHeight }, stateFlags, scrollSeek, { propsReady, didMount }, { windowViewportRect, useWindowScroll, customScrollParent, windowScrollContainerState, windowScrollTo }, log,]: [{
|
|
220
238
|
listBoundary: u.Stream<import("./sizeRangeSystem").NumberTuple>;
|
|
221
239
|
overscan: u.StatefulStream<import("./sizeRangeSystem").Overscan>;
|
|
222
240
|
topListHeight: u.StatefulStream<number>;
|
|
223
|
-
fixedHeaderHeight: u.StatefulStream<number>;
|
|
224
241
|
increaseViewportBy: u.StatefulStream<import("./sizeRangeSystem").ViewportIncrease>;
|
|
225
242
|
visibleRange: u.StatefulStream<import("./sizeRangeSystem").NumberTuple>;
|
|
226
243
|
}, {
|
|
@@ -228,17 +245,18 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
228
245
|
scrollTop: u.Stream<number>;
|
|
229
246
|
viewportHeight: u.Stream<number>;
|
|
230
247
|
headerHeight: u.StatefulStream<number>;
|
|
248
|
+
fixedHeaderHeight: u.StatefulStream<number>;
|
|
249
|
+
fixedFooterHeight: u.StatefulStream<number>;
|
|
231
250
|
footerHeight: u.StatefulStream<number>;
|
|
232
251
|
scrollHeight: u.Stream<number>;
|
|
233
252
|
smoothScrollTargetReached: u.Stream<true>;
|
|
234
|
-
react18ConcurrentRendering: u.StatefulStream<boolean>;
|
|
235
253
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
236
254
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
237
255
|
statefulScrollTop: u.StatefulStream<number>;
|
|
238
256
|
deviation: u.StatefulStream<number>;
|
|
239
257
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
240
258
|
}, {
|
|
241
|
-
isScrolling: u.
|
|
259
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
242
260
|
isAtTop: u.StatefulStream<boolean>;
|
|
243
261
|
isAtBottom: u.StatefulStream<boolean>;
|
|
244
262
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -246,6 +264,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
246
264
|
atBottomStateChange: u.Stream<boolean>;
|
|
247
265
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
248
266
|
atBottomThreshold: u.StatefulStream<number>;
|
|
267
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
249
268
|
scrollVelocity: u.StatefulStream<number>;
|
|
250
269
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
251
270
|
}, {
|
|
@@ -262,12 +281,19 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
262
281
|
windowScrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
263
282
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
264
283
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
284
|
+
}, {
|
|
285
|
+
log: u.StatefulStream<Log>;
|
|
286
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
265
287
|
}]) => {
|
|
288
|
+
log: u.StatefulStream<Log>;
|
|
289
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
266
290
|
startReached: u.Stream<number>;
|
|
267
291
|
endReached: u.Stream<number>;
|
|
268
292
|
rangeChanged: u.Stream<import("./interfaces").ListRange | undefined>;
|
|
293
|
+
stateChanged: u.Stream<import("./component-interfaces/VirtuosoGrid").GridStateSnapshot>;
|
|
269
294
|
propsReady: u.StatefulStream<boolean>;
|
|
270
|
-
|
|
295
|
+
stateRestoreInProgress: u.StatefulStream<boolean>;
|
|
296
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
271
297
|
isAtTop: u.StatefulStream<boolean>;
|
|
272
298
|
isAtBottom: u.StatefulStream<boolean>;
|
|
273
299
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -275,22 +301,25 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
275
301
|
atBottomStateChange: u.Stream<boolean>;
|
|
276
302
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
277
303
|
atBottomThreshold: u.StatefulStream<number>;
|
|
304
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
278
305
|
scrollVelocity: u.StatefulStream<number>;
|
|
279
306
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
307
|
+
initialTopMostItemIndex: u.StatefulStream<number | import("./interfaces").FlatIndexLocationWithAlign>;
|
|
280
308
|
gridState: u.StatefulStream<import("./gridSystem").GridState>;
|
|
281
309
|
totalListHeight: u.StatefulStream<number>;
|
|
282
310
|
isSeeking: u.StatefulStream<boolean>;
|
|
283
311
|
scrollSeekConfiguration: u.StatefulStream<false | import("./interfaces").ScrollSeekConfiguration | undefined>;
|
|
284
312
|
scrollSeekRangeChanged: u.Stream<import("./interfaces").ListRange>;
|
|
313
|
+
data: u.StatefulStream<import("./gridSystem").Data>;
|
|
285
314
|
totalCount: u.StatefulStream<number>;
|
|
286
|
-
viewportDimensions: u.StatefulStream<import("./
|
|
287
|
-
itemDimensions: u.StatefulStream<import("./
|
|
315
|
+
viewportDimensions: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").ElementDimensions>;
|
|
316
|
+
itemDimensions: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").ElementDimensions>;
|
|
288
317
|
scrollTop: u.Stream<number>;
|
|
289
318
|
scrollHeight: u.Stream<number>;
|
|
290
319
|
overscan: u.StatefulStream<import("./sizeRangeSystem").Overscan>;
|
|
291
320
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
292
321
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
293
|
-
scrollToIndex: u.Stream<number | import("./interfaces").
|
|
322
|
+
scrollToIndex: u.Stream<number | import("./interfaces").FlatIndexLocationWithAlign>;
|
|
294
323
|
smoothScrollTargetReached: u.Stream<true>;
|
|
295
324
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
296
325
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
@@ -299,27 +328,46 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
299
328
|
windowScrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
300
329
|
deviation: u.StatefulStream<number>;
|
|
301
330
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
331
|
+
footerHeight: u.StatefulStream<number>;
|
|
332
|
+
headerHeight: u.StatefulStream<number>;
|
|
302
333
|
initialItemCount: u.StatefulStream<number>;
|
|
334
|
+
gap: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").Gap>;
|
|
335
|
+
restoreStateFrom: u.Stream<import("./component-interfaces/VirtuosoGrid").GridStateSnapshot | null | undefined>;
|
|
303
336
|
}>, u.SystemSpec<u.SystemSpecs, () => {
|
|
304
337
|
context: u.StatefulStream<unknown>;
|
|
305
|
-
itemContent: u.StatefulStream<GridItemContent<any>>;
|
|
338
|
+
itemContent: u.StatefulStream<GridItemContent<any, any>>;
|
|
306
339
|
components: u.StatefulStream<GridComponents<any>>;
|
|
307
|
-
computeItemKey: u.StatefulStream<GridComputeItemKey
|
|
340
|
+
computeItemKey: u.StatefulStream<GridComputeItemKey<any, any>>;
|
|
308
341
|
itemClassName: u.StatefulStream<string>;
|
|
309
342
|
listClassName: u.StatefulStream<string>;
|
|
343
|
+
headerFooterTag: u.StatefulStream<string>;
|
|
310
344
|
scrollerRef: u.StatefulStream<(ref: HTMLElement | null) => void>;
|
|
345
|
+
FooterComponent: u.StatefulStream<"div" | React.ComponentClass<{
|
|
346
|
+
context?: any;
|
|
347
|
+
}, any> | React.FunctionComponent<{
|
|
348
|
+
context?: any;
|
|
349
|
+
}> | null | undefined>;
|
|
350
|
+
HeaderComponent: u.StatefulStream<"div" | React.ComponentClass<{
|
|
351
|
+
context?: any;
|
|
352
|
+
}, any> | React.FunctionComponent<{
|
|
353
|
+
context?: any;
|
|
354
|
+
}> | null | undefined>;
|
|
311
355
|
ListComponent: u.StatefulStream<"div" | React.ComponentClass<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
312
356
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
313
357
|
}, "ref" | "className" | "style" | "children"> & {
|
|
358
|
+
'data-test-id': string;
|
|
359
|
+
} & {
|
|
314
360
|
context?: any;
|
|
315
361
|
}, any> | React.FunctionComponent<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
316
362
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
317
363
|
}, "ref" | "className" | "style" | "children"> & {
|
|
364
|
+
'data-test-id': string;
|
|
365
|
+
} & {
|
|
318
366
|
context?: any;
|
|
319
367
|
}> | null | undefined>;
|
|
320
|
-
ItemComponent: u.StatefulStream<"div" | React.ComponentClass<import("./interfaces").
|
|
368
|
+
ItemComponent: u.StatefulStream<"div" | React.ComponentClass<import("./interfaces").GridItemProps & {
|
|
321
369
|
context?: any;
|
|
322
|
-
}, any> | React.FunctionComponent<import("./interfaces").
|
|
370
|
+
}, any> | React.FunctionComponent<import("./interfaces").GridItemProps & {
|
|
323
371
|
context?: any;
|
|
324
372
|
}> | null | undefined>;
|
|
325
373
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentClass<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
@@ -343,11 +391,15 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
343
391
|
context?: any;
|
|
344
392
|
}> | null | undefined>;
|
|
345
393
|
}>], ([gridSystem, gridComponentPropsSystem]: [{
|
|
394
|
+
log: u.StatefulStream<Log>;
|
|
395
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
346
396
|
startReached: u.Stream<number>;
|
|
347
397
|
endReached: u.Stream<number>;
|
|
348
398
|
rangeChanged: u.Stream<import("./interfaces").ListRange | undefined>;
|
|
399
|
+
stateChanged: u.Stream<import("./component-interfaces/VirtuosoGrid").GridStateSnapshot>;
|
|
349
400
|
propsReady: u.StatefulStream<boolean>;
|
|
350
|
-
|
|
401
|
+
stateRestoreInProgress: u.StatefulStream<boolean>;
|
|
402
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
351
403
|
isAtTop: u.StatefulStream<boolean>;
|
|
352
404
|
isAtBottom: u.StatefulStream<boolean>;
|
|
353
405
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -355,22 +407,25 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
355
407
|
atBottomStateChange: u.Stream<boolean>;
|
|
356
408
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
357
409
|
atBottomThreshold: u.StatefulStream<number>;
|
|
410
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
358
411
|
scrollVelocity: u.StatefulStream<number>;
|
|
359
412
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
413
|
+
initialTopMostItemIndex: u.StatefulStream<number | import("./interfaces").FlatIndexLocationWithAlign>;
|
|
360
414
|
gridState: u.StatefulStream<import("./gridSystem").GridState>;
|
|
361
415
|
totalListHeight: u.StatefulStream<number>;
|
|
362
416
|
isSeeking: u.StatefulStream<boolean>;
|
|
363
417
|
scrollSeekConfiguration: u.StatefulStream<false | import("./interfaces").ScrollSeekConfiguration | undefined>;
|
|
364
418
|
scrollSeekRangeChanged: u.Stream<import("./interfaces").ListRange>;
|
|
419
|
+
data: u.StatefulStream<import("./gridSystem").Data>;
|
|
365
420
|
totalCount: u.StatefulStream<number>;
|
|
366
|
-
viewportDimensions: u.StatefulStream<import("./
|
|
367
|
-
itemDimensions: u.StatefulStream<import("./
|
|
421
|
+
viewportDimensions: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").ElementDimensions>;
|
|
422
|
+
itemDimensions: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").ElementDimensions>;
|
|
368
423
|
scrollTop: u.Stream<number>;
|
|
369
424
|
scrollHeight: u.Stream<number>;
|
|
370
425
|
overscan: u.StatefulStream<import("./sizeRangeSystem").Overscan>;
|
|
371
426
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
372
427
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
373
|
-
scrollToIndex: u.Stream<number | import("./interfaces").
|
|
428
|
+
scrollToIndex: u.Stream<number | import("./interfaces").FlatIndexLocationWithAlign>;
|
|
374
429
|
smoothScrollTargetReached: u.Stream<true>;
|
|
375
430
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
376
431
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
@@ -379,27 +434,46 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
379
434
|
windowScrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
380
435
|
deviation: u.StatefulStream<number>;
|
|
381
436
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
437
|
+
footerHeight: u.StatefulStream<number>;
|
|
438
|
+
headerHeight: u.StatefulStream<number>;
|
|
382
439
|
initialItemCount: u.StatefulStream<number>;
|
|
440
|
+
gap: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").Gap>;
|
|
441
|
+
restoreStateFrom: u.Stream<import("./component-interfaces/VirtuosoGrid").GridStateSnapshot | null | undefined>;
|
|
383
442
|
}, {
|
|
384
443
|
context: u.StatefulStream<unknown>;
|
|
385
|
-
itemContent: u.StatefulStream<GridItemContent<any>>;
|
|
444
|
+
itemContent: u.StatefulStream<GridItemContent<any, any>>;
|
|
386
445
|
components: u.StatefulStream<GridComponents<any>>;
|
|
387
|
-
computeItemKey: u.StatefulStream<GridComputeItemKey
|
|
446
|
+
computeItemKey: u.StatefulStream<GridComputeItemKey<any, any>>;
|
|
388
447
|
itemClassName: u.StatefulStream<string>;
|
|
389
448
|
listClassName: u.StatefulStream<string>;
|
|
449
|
+
headerFooterTag: u.StatefulStream<string>;
|
|
390
450
|
scrollerRef: u.StatefulStream<(ref: HTMLElement | null) => void>;
|
|
451
|
+
FooterComponent: u.StatefulStream<"div" | React.ComponentClass<{
|
|
452
|
+
context?: any;
|
|
453
|
+
}, any> | React.FunctionComponent<{
|
|
454
|
+
context?: any;
|
|
455
|
+
}> | null | undefined>;
|
|
456
|
+
HeaderComponent: u.StatefulStream<"div" | React.ComponentClass<{
|
|
457
|
+
context?: any;
|
|
458
|
+
}, any> | React.FunctionComponent<{
|
|
459
|
+
context?: any;
|
|
460
|
+
}> | null | undefined>;
|
|
391
461
|
ListComponent: u.StatefulStream<"div" | React.ComponentClass<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
392
462
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
393
463
|
}, "ref" | "className" | "style" | "children"> & {
|
|
464
|
+
'data-test-id': string;
|
|
465
|
+
} & {
|
|
394
466
|
context?: any;
|
|
395
467
|
}, any> | React.FunctionComponent<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
396
468
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
397
469
|
}, "ref" | "className" | "style" | "children"> & {
|
|
470
|
+
'data-test-id': string;
|
|
471
|
+
} & {
|
|
398
472
|
context?: any;
|
|
399
473
|
}> | null | undefined>;
|
|
400
|
-
ItemComponent: u.StatefulStream<"div" | React.ComponentClass<import("./interfaces").
|
|
474
|
+
ItemComponent: u.StatefulStream<"div" | React.ComponentClass<import("./interfaces").GridItemProps & {
|
|
401
475
|
context?: any;
|
|
402
|
-
}, any> | React.FunctionComponent<import("./interfaces").
|
|
476
|
+
}, any> | React.FunctionComponent<import("./interfaces").GridItemProps & {
|
|
403
477
|
context?: any;
|
|
404
478
|
}> | null | undefined>;
|
|
405
479
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentClass<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
@@ -423,31 +497,40 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
423
497
|
context?: any;
|
|
424
498
|
}> | null | undefined>;
|
|
425
499
|
}]) => {
|
|
426
|
-
item: u.Stream<GridItemContent<any>>;
|
|
427
|
-
ItemContainer: u.Stream<any>;
|
|
428
|
-
ScrollContainer: u.Stream<any>;
|
|
429
|
-
ListContainer: u.Stream<any>;
|
|
430
|
-
emptyComponent: u.Stream<any>;
|
|
431
|
-
scrollSeek: u.Stream<any>;
|
|
432
500
|
context: u.StatefulStream<unknown>;
|
|
433
|
-
itemContent: u.StatefulStream<GridItemContent<any>>;
|
|
501
|
+
itemContent: u.StatefulStream<GridItemContent<any, any>>;
|
|
434
502
|
components: u.StatefulStream<GridComponents<any>>;
|
|
435
|
-
computeItemKey: u.StatefulStream<GridComputeItemKey
|
|
503
|
+
computeItemKey: u.StatefulStream<GridComputeItemKey<any, any>>;
|
|
436
504
|
itemClassName: u.StatefulStream<string>;
|
|
437
505
|
listClassName: u.StatefulStream<string>;
|
|
506
|
+
headerFooterTag: u.StatefulStream<string>;
|
|
438
507
|
scrollerRef: u.StatefulStream<(ref: HTMLElement | null) => void>;
|
|
508
|
+
FooterComponent: u.StatefulStream<"div" | React.ComponentClass<{
|
|
509
|
+
context?: any;
|
|
510
|
+
}, any> | React.FunctionComponent<{
|
|
511
|
+
context?: any;
|
|
512
|
+
}> | null | undefined>;
|
|
513
|
+
HeaderComponent: u.StatefulStream<"div" | React.ComponentClass<{
|
|
514
|
+
context?: any;
|
|
515
|
+
}, any> | React.FunctionComponent<{
|
|
516
|
+
context?: any;
|
|
517
|
+
}> | null | undefined>;
|
|
439
518
|
ListComponent: u.StatefulStream<"div" | React.ComponentClass<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
440
519
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
441
520
|
}, "ref" | "className" | "style" | "children"> & {
|
|
521
|
+
'data-test-id': string;
|
|
522
|
+
} & {
|
|
442
523
|
context?: any;
|
|
443
524
|
}, any> | React.FunctionComponent<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
444
525
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
445
526
|
}, "ref" | "className" | "style" | "children"> & {
|
|
527
|
+
'data-test-id': string;
|
|
528
|
+
} & {
|
|
446
529
|
context?: any;
|
|
447
530
|
}> | null | undefined>;
|
|
448
|
-
ItemComponent: u.StatefulStream<"div" | React.ComponentClass<import("./interfaces").
|
|
531
|
+
ItemComponent: u.StatefulStream<"div" | React.ComponentClass<import("./interfaces").GridItemProps & {
|
|
449
532
|
context?: any;
|
|
450
|
-
}, any> | React.FunctionComponent<import("./interfaces").
|
|
533
|
+
}, any> | React.FunctionComponent<import("./interfaces").GridItemProps & {
|
|
451
534
|
context?: any;
|
|
452
535
|
}> | null | undefined>;
|
|
453
536
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentClass<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
|
@@ -470,11 +553,15 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
470
553
|
}, any> | React.FunctionComponent<import("./interfaces").GridScrollSeekPlaceholderProps & {
|
|
471
554
|
context?: any;
|
|
472
555
|
}> | null | undefined>;
|
|
556
|
+
log: u.StatefulStream<Log>;
|
|
557
|
+
logLevel: u.StatefulStream<LogLevel>;
|
|
473
558
|
startReached: u.Stream<number>;
|
|
474
559
|
endReached: u.Stream<number>;
|
|
475
560
|
rangeChanged: u.Stream<import("./interfaces").ListRange | undefined>;
|
|
561
|
+
stateChanged: u.Stream<import("./component-interfaces/VirtuosoGrid").GridStateSnapshot>;
|
|
476
562
|
propsReady: u.StatefulStream<boolean>;
|
|
477
|
-
|
|
563
|
+
stateRestoreInProgress: u.StatefulStream<boolean>;
|
|
564
|
+
isScrolling: u.StatefulStream<boolean>;
|
|
478
565
|
isAtTop: u.StatefulStream<boolean>;
|
|
479
566
|
isAtBottom: u.StatefulStream<boolean>;
|
|
480
567
|
atBottomState: u.Stream<import("./stateFlagsSystem").AtBottomState>;
|
|
@@ -482,22 +569,25 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
482
569
|
atBottomStateChange: u.Stream<boolean>;
|
|
483
570
|
scrollDirection: u.StatefulStream<import("./stateFlagsSystem").ScrollDirection>;
|
|
484
571
|
atBottomThreshold: u.StatefulStream<number>;
|
|
572
|
+
atTopThreshold: u.StatefulStream<number>;
|
|
485
573
|
scrollVelocity: u.StatefulStream<number>;
|
|
486
574
|
lastJumpDueToItemResize: u.StatefulStream<number>;
|
|
575
|
+
initialTopMostItemIndex: u.StatefulStream<number | import("./interfaces").FlatIndexLocationWithAlign>;
|
|
487
576
|
gridState: u.StatefulStream<import("./gridSystem").GridState>;
|
|
488
577
|
totalListHeight: u.StatefulStream<number>;
|
|
489
578
|
isSeeking: u.StatefulStream<boolean>;
|
|
490
579
|
scrollSeekConfiguration: u.StatefulStream<false | import("./interfaces").ScrollSeekConfiguration | undefined>;
|
|
491
580
|
scrollSeekRangeChanged: u.Stream<import("./interfaces").ListRange>;
|
|
581
|
+
data: u.StatefulStream<import("./gridSystem").Data>;
|
|
492
582
|
totalCount: u.StatefulStream<number>;
|
|
493
|
-
viewportDimensions: u.StatefulStream<import("./
|
|
494
|
-
itemDimensions: u.StatefulStream<import("./
|
|
583
|
+
viewportDimensions: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").ElementDimensions>;
|
|
584
|
+
itemDimensions: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").ElementDimensions>;
|
|
495
585
|
scrollTop: u.Stream<number>;
|
|
496
586
|
scrollHeight: u.Stream<number>;
|
|
497
587
|
overscan: u.StatefulStream<import("./sizeRangeSystem").Overscan>;
|
|
498
588
|
scrollBy: u.Stream<ScrollToOptions>;
|
|
499
589
|
scrollTo: u.Stream<ScrollToOptions>;
|
|
500
|
-
scrollToIndex: u.Stream<number | import("./interfaces").
|
|
590
|
+
scrollToIndex: u.Stream<number | import("./interfaces").FlatIndexLocationWithAlign>;
|
|
501
591
|
smoothScrollTargetReached: u.Stream<true>;
|
|
502
592
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
503
593
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
@@ -506,26 +596,31 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
506
596
|
windowScrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
507
597
|
deviation: u.StatefulStream<number>;
|
|
508
598
|
scrollContainerState: u.Stream<import("./interfaces").ScrollContainerState>;
|
|
599
|
+
footerHeight: u.StatefulStream<number>;
|
|
600
|
+
headerHeight: u.StatefulStream<number>;
|
|
509
601
|
initialItemCount: u.StatefulStream<number>;
|
|
602
|
+
gap: u.StatefulStream<import("./component-interfaces/VirtuosoGrid").Gap>;
|
|
603
|
+
restoreStateFrom: u.Stream<import("./component-interfaces/VirtuosoGrid").GridStateSnapshot | null | undefined>;
|
|
510
604
|
}>, {
|
|
511
605
|
optional: {
|
|
606
|
+
context: "context";
|
|
512
607
|
totalCount: "totalCount";
|
|
513
608
|
overscan: "overscan";
|
|
514
609
|
itemContent: "itemContent";
|
|
515
610
|
components: "components";
|
|
516
611
|
computeItemKey: "computeItemKey";
|
|
612
|
+
data: "data";
|
|
517
613
|
initialItemCount: "initialItemCount";
|
|
518
614
|
scrollSeekConfiguration: "scrollSeekConfiguration";
|
|
615
|
+
headerFooterTag: "headerFooterTag";
|
|
519
616
|
listClassName: "listClassName";
|
|
520
617
|
itemClassName: "itemClassName";
|
|
521
618
|
useWindowScroll: "useWindowScroll";
|
|
522
619
|
customScrollParent: "customScrollParent";
|
|
523
620
|
scrollerRef: "scrollerRef";
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
ListContainer: "ListContainer";
|
|
528
|
-
scrollSeek: "scrollSeek";
|
|
621
|
+
logLevel: "logLevel";
|
|
622
|
+
restoreStateFrom: "restoreStateFrom";
|
|
623
|
+
initialTopMostItemIndex: "initialTopMostItemIndex";
|
|
529
624
|
};
|
|
530
625
|
methods: {
|
|
531
626
|
scrollTo: "scrollTo";
|
|
@@ -539,8 +634,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
539
634
|
rangeChanged: "rangeChanged";
|
|
540
635
|
atBottomStateChange: "atBottomStateChange";
|
|
541
636
|
atTopStateChange: "atTopStateChange";
|
|
637
|
+
stateChanged: "stateChanged";
|
|
542
638
|
};
|
|
543
639
|
}>>>;
|
|
544
|
-
export declare type foo<T> = T extends React.ForwardRefExoticComponent<React.RefAttributes<infer Handle>> ? Handle : never;
|
|
545
|
-
export declare type GridHandle = RefHandle<typeof Grid>;
|
|
546
640
|
export { Grid };
|
|
641
|
+
export declare type GridHandle = RefHandle<typeof Grid>;
|
|
642
|
+
export declare const VirtuosoGrid: <ItemData = any, Context = any>(props: VirtuosoGridProps<ItemData, Context> & {
|
|
643
|
+
ref?: ((instance: VirtuosoGridHandle | null) => void) | React.RefObject<VirtuosoGridHandle> | null | undefined;
|
|
644
|
+
}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>;
|