@elliemae/ds-shared 3.0.0-next.0 → 3.0.0-next.4
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/dist/cjs/Animations/BaseAnimation.js +56 -0
- package/dist/cjs/Animations/BaseAnimation.js.map +7 -0
- package/dist/cjs/Animations/Grow.js +55 -0
- package/dist/cjs/Animations/Grow.js.map +7 -0
- package/dist/cjs/Animations/GrowRight.js +64 -0
- package/dist/cjs/Animations/GrowRight.js.map +7 -0
- package/dist/cjs/Animations/GrowVertical.js +47 -0
- package/dist/cjs/Animations/GrowVertical.js.map +7 -0
- package/dist/cjs/CheckableGroup.js +92 -0
- package/dist/cjs/CheckableGroup.js.map +7 -0
- package/dist/cjs/DeferRenderAfterComputation.js +52 -0
- package/dist/cjs/DeferRenderAfterComputation.js.map +7 -0
- package/dist/cjs/FocusGroup/FocusGrid.js +193 -0
- package/dist/cjs/FocusGroup/FocusGrid.js.map +7 -0
- package/dist/cjs/FocusGroup/FocusGroup.js +262 -0
- package/dist/cjs/FocusGroup/FocusGroup.js.map +7 -0
- package/dist/cjs/FocusGroup/FocusGroupContext.js +38 -0
- package/dist/cjs/FocusGroup/FocusGroupContext.js.map +7 -0
- package/dist/cjs/FocusGroup/FocusGroupManager.js +126 -0
- package/dist/cjs/FocusGroup/FocusGroupManager.js.map +7 -0
- package/dist/cjs/FocusGroup/focusGroupManagerHoc.js +82 -0
- package/dist/cjs/FocusGroup/focusGroupManagerHoc.js.map +7 -0
- package/dist/cjs/FocusGroup/index.js +47 -0
- package/dist/cjs/FocusGroup/index.js.map +7 -0
- package/dist/cjs/FocusGroup/useFocusGroupItem.js +81 -0
- package/dist/cjs/FocusGroup/useFocusGroupItem.js.map +7 -0
- package/dist/cjs/FocusGroup/utils/getNextCellPosition.js +80 -0
- package/dist/cjs/FocusGroup/utils/getNextCellPosition.js.map +7 -0
- package/dist/cjs/GroupContext/Group.js +115 -0
- package/dist/cjs/GroupContext/Group.js.map +7 -0
- package/dist/cjs/GroupContext/GroupContext.js +36 -0
- package/dist/cjs/GroupContext/GroupContext.js.map +7 -0
- package/dist/cjs/GroupContext/GroupItem.js +40 -0
- package/dist/cjs/GroupContext/GroupItem.js.map +7 -0
- package/dist/cjs/GroupContext/index.js +39 -0
- package/dist/cjs/GroupContext/index.js.map +7 -0
- package/dist/cjs/ScrollSync/ScrollSync.js +138 -0
- package/dist/cjs/ScrollSync/ScrollSync.js.map +7 -0
- package/dist/cjs/ScrollSync/ScrollSyncPane.js +89 -0
- package/dist/cjs/ScrollSync/ScrollSyncPane.js.map +7 -0
- package/dist/cjs/ScrollSync/ScrollSyncProvider.js +120 -0
- package/dist/cjs/ScrollSync/ScrollSyncProvider.js.map +7 -0
- package/dist/cjs/ScrollSync/index.js +37 -0
- package/dist/cjs/ScrollSync/index.js.map +7 -0
- package/dist/cjs/ScrollSync/useScrollSync.js +41 -0
- package/dist/cjs/ScrollSync/useScrollSync.js.map +7 -0
- package/dist/cjs/constants.js +70 -0
- package/dist/cjs/constants.js.map +7 -0
- package/dist/cjs/createDataInstance/createInstancePlugin.js +62 -0
- package/dist/cjs/createDataInstance/createInstancePlugin.js.map +7 -0
- package/dist/cjs/createDataInstance/createInstanceRef.js +124 -0
- package/dist/cjs/createDataInstance/createInstanceRef.js.map +7 -0
- package/dist/cjs/createDataInstance/utils.js +104 -0
- package/dist/cjs/createDataInstance/utils.js.map +7 -0
- package/dist/cjs/defer-render-hoc/index.js +68 -0
- package/dist/cjs/defer-render-hoc/index.js.map +7 -0
- package/dist/cjs/dimsum.config.js +39 -0
- package/dist/cjs/dimsum.config.js.map +7 -0
- package/dist/cjs/index.js +40 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/prop-types.js +116 -0
- package/dist/cjs/prop-types.js.map +7 -0
- package/dist/cjs/react-spring/index.js +28 -0
- package/dist/cjs/react-spring/index.js.map +7 -0
- package/dist/cjs/react-spring/renderprops.js +28 -0
- package/dist/cjs/react-spring/renderprops.js.map +7 -0
- package/dist/cjs/toolbar/ToolbarProvider.js +126 -0
- package/dist/cjs/toolbar/ToolbarProvider.js.map +7 -0
- package/dist/cjs/useDataGrid/VolatileRowsListener.js +49 -0
- package/dist/cjs/useDataGrid/VolatileRowsListener.js.map +7 -0
- package/dist/cjs/useDataGrid/index.js +36 -0
- package/dist/cjs/useDataGrid/index.js.map +7 -0
- package/dist/cjs/useDataGrid/initColumnDefinition.js +147 -0
- package/dist/cjs/useDataGrid/initColumnDefinition.js.map +7 -0
- package/dist/cjs/useDataGrid/useDataGrid.js +216 -0
- package/dist/cjs/useDataGrid/useDataGrid.js.map +7 -0
- package/dist/cjs/useDataList/index.js +36 -0
- package/dist/cjs/useDataList/index.js.map +7 -0
- package/dist/cjs/useDataList/recordIterator.js +55 -0
- package/dist/cjs/useDataList/recordIterator.js.map +7 -0
- package/dist/cjs/useDataList/useDataList.js +126 -0
- package/dist/cjs/useDataList/useDataList.js.map +7 -0
- package/dist/cjs/utils.js +123 -0
- package/dist/cjs/utils.js.map +7 -0
- package/dist/cjs/virtualization/AutoHeightList.js +106 -0
- package/dist/cjs/virtualization/AutoHeightList.js.map +7 -0
- package/dist/cjs/virtualization/FluidHeightList.js +74 -0
- package/dist/cjs/virtualization/FluidHeightList.js.map +7 -0
- package/dist/cjs/virtualization/index.js +50 -0
- package/dist/cjs/virtualization/index.js.map +7 -0
- package/dist/esm/Animations/BaseAnimation.js +27 -0
- package/dist/esm/Animations/BaseAnimation.js.map +7 -0
- package/dist/esm/Animations/Grow.js +26 -0
- package/dist/esm/Animations/Grow.js.map +7 -0
- package/dist/esm/Animations/GrowRight.js +35 -0
- package/dist/esm/Animations/GrowRight.js.map +7 -0
- package/dist/esm/Animations/GrowVertical.js +29 -0
- package/dist/esm/Animations/GrowVertical.js.map +7 -0
- package/dist/esm/CheckableGroup.js +65 -0
- package/dist/esm/CheckableGroup.js.map +7 -0
- package/dist/esm/DeferRenderAfterComputation.js +23 -0
- package/dist/esm/DeferRenderAfterComputation.js.map +7 -0
- package/dist/esm/FocusGroup/FocusGrid.js +166 -0
- package/dist/esm/FocusGroup/FocusGrid.js.map +7 -0
- package/{esm → dist/esm}/FocusGroup/FocusGroup.js +70 -136
- package/dist/esm/FocusGroup/FocusGroup.js.map +7 -0
- package/dist/esm/FocusGroup/FocusGroupContext.js +9 -0
- package/dist/esm/FocusGroup/FocusGroupContext.js.map +7 -0
- package/{esm → dist/esm}/FocusGroup/FocusGroupManager.js +24 -38
- package/dist/esm/FocusGroup/FocusGroupManager.js.map +7 -0
- package/dist/esm/FocusGroup/focusGroupManagerHoc.js +55 -0
- package/dist/esm/FocusGroup/focusGroupManagerHoc.js.map +7 -0
- package/dist/esm/FocusGroup/index.js +18 -0
- package/dist/esm/FocusGroup/index.js.map +7 -0
- package/dist/esm/FocusGroup/useFocusGroupItem.js +53 -0
- package/dist/esm/FocusGroup/useFocusGroupItem.js.map +7 -0
- package/{esm → dist/esm}/FocusGroup/utils/getNextCellPosition.js +18 -25
- package/dist/esm/FocusGroup/utils/getNextCellPosition.js.map +7 -0
- package/dist/esm/GroupContext/Group.js +86 -0
- package/dist/esm/GroupContext/Group.js.map +7 -0
- package/dist/esm/GroupContext/GroupContext.js +7 -0
- package/dist/esm/GroupContext/GroupContext.js.map +7 -0
- package/dist/esm/GroupContext/GroupItem.js +11 -0
- package/dist/esm/GroupContext/GroupItem.js.map +7 -0
- package/dist/esm/GroupContext/index.js +10 -0
- package/dist/esm/GroupContext/index.js.map +7 -0
- package/{esm → dist/esm}/ScrollSync/ScrollSync.js +30 -64
- package/dist/esm/ScrollSync/ScrollSync.js.map +7 -0
- package/dist/esm/ScrollSync/ScrollSyncPane.js +62 -0
- package/dist/esm/ScrollSync/ScrollSyncPane.js.map +7 -0
- package/dist/esm/ScrollSync/ScrollSyncProvider.js +91 -0
- package/dist/esm/ScrollSync/ScrollSyncProvider.js.map +7 -0
- package/dist/esm/ScrollSync/index.js +8 -0
- package/dist/esm/ScrollSync/index.js.map +7 -0
- package/dist/esm/ScrollSync/useScrollSync.js +12 -0
- package/dist/esm/ScrollSync/useScrollSync.js.map +7 -0
- package/dist/esm/constants.js +41 -0
- package/dist/esm/constants.js.map +7 -0
- package/dist/esm/createDataInstance/createInstancePlugin.js +35 -0
- package/dist/esm/createDataInstance/createInstancePlugin.js.map +7 -0
- package/dist/esm/createDataInstance/createInstanceRef.js +101 -0
- package/dist/esm/createDataInstance/createInstanceRef.js.map +7 -0
- package/dist/esm/createDataInstance/utils.js +77 -0
- package/dist/esm/createDataInstance/utils.js.map +7 -0
- package/dist/esm/defer-render-hoc/index.js +41 -0
- package/dist/esm/defer-render-hoc/index.js.map +7 -0
- package/dist/esm/dimsum.config.js +10 -0
- package/dist/esm/dimsum.config.js.map +7 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/prop-types.js +87 -0
- package/dist/esm/prop-types.js.map +7 -0
- package/dist/esm/react-spring/index.js +3 -0
- package/dist/esm/react-spring/index.js.map +7 -0
- package/dist/esm/react-spring/renderprops.js +3 -0
- package/dist/esm/react-spring/renderprops.js.map +7 -0
- package/dist/esm/toolbar/ToolbarProvider.js +99 -0
- package/dist/esm/toolbar/ToolbarProvider.js.map +7 -0
- package/dist/esm/useDataGrid/VolatileRowsListener.js +20 -0
- package/dist/esm/useDataGrid/VolatileRowsListener.js.map +7 -0
- package/dist/esm/useDataGrid/index.js +7 -0
- package/dist/esm/useDataGrid/index.js.map +7 -0
- package/dist/esm/useDataGrid/initColumnDefinition.js +126 -0
- package/dist/esm/useDataGrid/initColumnDefinition.js.map +7 -0
- package/dist/esm/useDataGrid/useDataGrid.js +201 -0
- package/dist/esm/useDataGrid/useDataGrid.js.map +7 -0
- package/dist/esm/useDataList/index.js +7 -0
- package/dist/esm/useDataList/index.js.map +7 -0
- package/dist/esm/useDataList/recordIterator.js +26 -0
- package/dist/esm/useDataList/recordIterator.js.map +7 -0
- package/dist/esm/useDataList/useDataList.js +102 -0
- package/dist/esm/useDataList/useDataList.js.map +7 -0
- package/dist/esm/utils.js +96 -0
- package/dist/esm/utils.js.map +7 -0
- package/dist/esm/virtualization/AutoHeightList.js +79 -0
- package/dist/esm/virtualization/AutoHeightList.js.map +7 -0
- package/dist/esm/virtualization/FluidHeightList.js +47 -0
- package/dist/esm/virtualization/FluidHeightList.js.map +7 -0
- package/dist/esm/virtualization/index.js +21 -0
- package/dist/esm/virtualization/index.js.map +7 -0
- package/package.json +116 -107
- package/cjs/Animations/BaseAnimation.js +0 -36
- package/cjs/Animations/Grow.js +0 -42
- package/cjs/Animations/GrowRight.js +0 -42
- package/cjs/Animations/GrowVertical.js +0 -7
- package/cjs/CheckableGroup.js +0 -74
- package/cjs/DeferRenderAfterComputation.js +0 -28
- package/cjs/FocusGroup/FocusGrid.js +0 -215
- package/cjs/FocusGroup/FocusGroup.js +0 -308
- package/cjs/FocusGroup/FocusGroupContext.js +0 -11
- package/cjs/FocusGroup/FocusGroupManager.js +0 -117
- package/cjs/FocusGroup/focusGroupManagerHoc.js +0 -44
- package/cjs/FocusGroup/index.js +0 -21
- package/cjs/FocusGroup/useFocusGroupItem.js +0 -59
- package/cjs/FocusGroup/utils/getNextCellPosition.js +0 -60
- package/cjs/GroupContext/Group.js +0 -124
- package/cjs/GroupContext/GroupContext.js +0 -13
- package/cjs/GroupContext/GroupItem.js +0 -22
- package/cjs/GroupContext/index.js +0 -13
- package/cjs/ScrollSync/ScrollSync.js +0 -153
- package/cjs/ScrollSync/ScrollSyncPane.js +0 -81
- package/cjs/ScrollSync/ScrollSyncProvider.js +0 -67
- package/cjs/ScrollSync/index.js +0 -11
- package/cjs/ScrollSync/useScrollSync.js +0 -10
- package/cjs/constants.js +0 -51
- package/cjs/createDataInstance/createInstancePlugin.js +0 -36
- package/cjs/createDataInstance/createInstanceRef.js +0 -97
- package/cjs/createDataInstance/utils.js +0 -123
- package/cjs/defer-render-hoc/index.js +0 -49
- package/cjs/dimsum.config.js +0 -7
- package/cjs/index.js +0 -17
- package/cjs/prop-types.js +0 -59
- package/cjs/react-spring/index.js +0 -14
- package/cjs/react-spring/renderprops.js +0 -14
- package/cjs/toolbar/ToolbarProvider.js +0 -123
- package/cjs/useDataGrid/VolatileRowsListener.js +0 -24
- package/cjs/useDataGrid/index.js +0 -7
- package/cjs/useDataGrid/initColumnDefinition.js +0 -146
- package/cjs/useDataGrid/useDataGrid.js +0 -220
- package/cjs/useDataList/index.js +0 -7
- package/cjs/useDataList/recordIterator.js +0 -31
- package/cjs/useDataList/useDataList.js +0 -102
- package/cjs/utils.js +0 -116
- package/cjs/virtualization/AutoHeightList.js +0 -61
- package/cjs/virtualization/FluidHeightList.js +0 -49
- package/cjs/virtualization/index.js +0 -22
- package/esm/Animations/BaseAnimation.js +0 -30
- package/esm/Animations/Grow.js +0 -36
- package/esm/Animations/GrowRight.js +0 -36
- package/esm/Animations/GrowVertical.js +0 -4
- package/esm/CheckableGroup.js +0 -64
- package/esm/DeferRenderAfterComputation.js +0 -22
- package/esm/FocusGroup/FocusGrid.js +0 -204
- package/esm/FocusGroup/FocusGroupContext.js +0 -5
- package/esm/FocusGroup/focusGroupManagerHoc.js +0 -37
- package/esm/FocusGroup/index.js +0 -6
- package/esm/FocusGroup/useFocusGroupItem.js +0 -50
- package/esm/GroupContext/Group.js +0 -118
- package/esm/GroupContext/GroupContext.js +0 -5
- package/esm/GroupContext/GroupItem.js +0 -16
- package/esm/GroupContext/index.js +0 -3
- package/esm/ScrollSync/ScrollSyncPane.js +0 -74
- package/esm/ScrollSync/ScrollSyncProvider.js +0 -59
- package/esm/ScrollSync/index.js +0 -2
- package/esm/ScrollSync/useScrollSync.js +0 -8
- package/esm/constants.js +0 -32
- package/esm/createDataInstance/createInstancePlugin.js +0 -30
- package/esm/createDataInstance/createInstanceRef.js +0 -90
- package/esm/createDataInstance/utils.js +0 -107
- package/esm/defer-render-hoc/index.js +0 -41
- package/esm/dimsum.config.js +0 -5
- package/esm/index.js +0 -5
- package/esm/prop-types.js +0 -43
- package/esm/react-spring/index.js +0 -1
- package/esm/react-spring/renderprops.js +0 -1
- package/esm/toolbar/ToolbarProvider.js +0 -111
- package/esm/useDataGrid/VolatileRowsListener.js +0 -22
- package/esm/useDataGrid/index.js +0 -1
- package/esm/useDataGrid/initColumnDefinition.js +0 -134
- package/esm/useDataGrid/useDataGrid.js +0 -194
- package/esm/useDataList/index.js +0 -1
- package/esm/useDataList/recordIterator.js +0 -27
- package/esm/useDataList/useDataList.js +0 -90
- package/esm/utils.js +0 -95
- package/esm/virtualization/AutoHeightList.js +0 -52
- package/esm/virtualization/FluidHeightList.js +0 -38
- package/esm/virtualization/index.js +0 -18
- package/types/Animations/BaseAnimation.d.ts +0 -12
- package/types/Animations/Grow.d.ts +0 -11
- package/types/Animations/GrowRight.d.ts +0 -11
- package/types/Animations/GrowVertical.d.ts +0 -1
- package/types/CheckableGroup.d.ts +0 -20
- package/types/DeferRenderAfterComputation.d.ts +0 -6
- package/types/FocusGroup/FocusGrid.d.ts +0 -10
- package/types/FocusGroup/FocusGroup.d.ts +0 -36
- package/types/FocusGroup/FocusGroupContext.d.ts +0 -3
- package/types/FocusGroup/FocusGroupManager.d.ts +0 -24
- package/types/FocusGroup/focusGroupManagerHoc.d.ts +0 -7
- package/types/FocusGroup/index.d.ts +0 -6
- package/types/FocusGroup/useFocusGroupItem.d.ts +0 -2
- package/types/FocusGroup/utils/getNextCellPosition.d.ts +0 -12
- package/types/GroupContext/Group.d.ts +0 -14
- package/types/GroupContext/GroupContext.d.ts +0 -2
- package/types/GroupContext/GroupItem.d.ts +0 -5
- package/types/GroupContext/index.d.ts +0 -3
- package/types/ScrollSync/ScrollSync.d.ts +0 -21
- package/types/ScrollSync/ScrollSyncPane.d.ts +0 -3
- package/types/ScrollSync/ScrollSyncProvider.d.ts +0 -12
- package/types/ScrollSync/index.d.ts +0 -2
- package/types/ScrollSync/useScrollSync.d.ts +0 -6
- package/types/constants.d.ts +0 -30
- package/types/createDataInstance/createInstancePlugin.d.ts +0 -1
- package/types/createDataInstance/createInstanceRef.d.ts +0 -12
- package/types/createDataInstance/tests/createInstanceRef.test.d.ts +0 -0
- package/types/createDataInstance/utils.d.ts +0 -9
- package/types/dimsum.config.d.ts +0 -4
- package/types/index.d.ts +0 -2
- package/types/prop-types.d.ts +0 -41
- package/types/react-spring/index.d.ts +0 -1
- package/types/react-spring/renderprops.d.ts +0 -1
- package/types/toolbar/ToolbarProvider.d.ts +0 -10
- package/types/useDataGrid/VolatileRowsListener.d.ts +0 -5
- package/types/useDataGrid/index.d.ts +0 -1
- package/types/useDataGrid/initColumnDefinition.d.ts +0 -5
- package/types/useDataGrid/useDataGrid.d.ts +0 -8
- package/types/useDataList/index.d.ts +0 -1
- package/types/useDataList/recordIterator.d.ts +0 -1
- package/types/useDataList/useDataList.d.ts +0 -13
- package/types/utils.d.ts +0 -22
- package/types/virtualization/AutoHeightList.d.ts +0 -2
- package/types/virtualization/FluidHeightList.d.ts +0 -2
- package/types/virtualization/index.d.ts +0 -9
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
-
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
-
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
-
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
-
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
6
|
-
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
7
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
8
|
-
import { forwardRef, useRef } from 'react';
|
|
9
|
-
import { FixedSizeList } from 'react-window';
|
|
10
|
-
import { useWindowScrollerList, mergeRefs, cx } from '@elliemae/ds-utilities';
|
|
11
|
-
import { jsx } from 'react/jsx-runtime';
|
|
12
|
-
|
|
13
|
-
const _excluded = ["itemCount", "className", "innerRef", "itemData", "itemKey", "itemSize", "outerRef", "component"];
|
|
14
|
-
|
|
15
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
|
-
|
|
17
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18
|
-
const AutoHeightList = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
19
|
-
let {
|
|
20
|
-
itemCount,
|
|
21
|
-
className,
|
|
22
|
-
innerRef,
|
|
23
|
-
itemData,
|
|
24
|
-
itemKey,
|
|
25
|
-
itemSize,
|
|
26
|
-
outerRef,
|
|
27
|
-
component: ListComponent = FixedSizeList
|
|
28
|
-
} = _ref,
|
|
29
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
30
|
-
|
|
31
|
-
const listRef = useRef();
|
|
32
|
-
const outerListRef = useRef();
|
|
33
|
-
useWindowScrollerList({
|
|
34
|
-
listInstance: listRef,
|
|
35
|
-
outerListRef
|
|
36
|
-
});
|
|
37
|
-
return /*#__PURE__*/jsx(ListComponent, _objectSpread(_objectSpread({}, otherProps), {}, {
|
|
38
|
-
ref: mergeRefs(ref, listRef),
|
|
39
|
-
className: cx(className, 'window-scroller-override'),
|
|
40
|
-
height: window.innerHeight,
|
|
41
|
-
innerRef: innerRef,
|
|
42
|
-
itemCount: itemCount,
|
|
43
|
-
itemData: itemData,
|
|
44
|
-
itemKey: itemKey,
|
|
45
|
-
itemSize: itemSize,
|
|
46
|
-
outerRef: mergeRefs(outerListRef, outerRef),
|
|
47
|
-
overscanCount: 10,
|
|
48
|
-
useIsScrolling: true
|
|
49
|
-
}));
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export { AutoHeightList };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
-
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
-
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
-
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
-
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
6
|
-
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
7
|
-
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
8
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
9
|
-
import { forwardRef } from 'react';
|
|
10
|
-
import AutoSizer from 'react-virtualized-auto-sizer';
|
|
11
|
-
import { jsx } from 'react/jsx-runtime';
|
|
12
|
-
|
|
13
|
-
const _excluded = ["component"];
|
|
14
|
-
|
|
15
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
|
-
|
|
17
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18
|
-
const FluidHeightList = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
19
|
-
let {
|
|
20
|
-
component: Component
|
|
21
|
-
} = _ref,
|
|
22
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
23
|
-
|
|
24
|
-
return /*#__PURE__*/_jsx(AutoSizer, {
|
|
25
|
-
disableWidth: true
|
|
26
|
-
}, void 0, _ref2 => {
|
|
27
|
-
let {
|
|
28
|
-
height: fluidHeight
|
|
29
|
-
} = _ref2;
|
|
30
|
-
return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, props), {}, {
|
|
31
|
-
ref: ref,
|
|
32
|
-
height: fluidHeight - 32 // taking in count the margins of the list
|
|
33
|
-
|
|
34
|
-
}));
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
export { FluidHeightList };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FluidHeightList } from './FluidHeightList.js';
|
|
2
|
-
export { FluidHeightList } from './FluidHeightList.js';
|
|
3
|
-
import { AutoHeightList } from './AutoHeightList.js';
|
|
4
|
-
export { AutoHeightList } from './AutoHeightList.js';
|
|
5
|
-
|
|
6
|
-
function getVirtualListComponent(_ref) {
|
|
7
|
-
let {
|
|
8
|
-
component: Component,
|
|
9
|
-
fluid,
|
|
10
|
-
height,
|
|
11
|
-
autoHeight
|
|
12
|
-
} = _ref;
|
|
13
|
-
if (autoHeight) return AutoHeightList;
|
|
14
|
-
if (fluid) return FluidHeightList;
|
|
15
|
-
return Component;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { getVirtualListComponent };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const BaseAnimation: ({ keys, items, duration, enter, from, leave, onRest, children, }: {
|
|
3
|
-
keys?: undefined;
|
|
4
|
-
items?: never[] | undefined;
|
|
5
|
-
duration?: number | undefined;
|
|
6
|
-
enter?: {} | undefined;
|
|
7
|
-
from?: {} | undefined;
|
|
8
|
-
leave?: {} | undefined;
|
|
9
|
-
onRest?: (() => null) | undefined;
|
|
10
|
-
children: any;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
-
export default BaseAnimation;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Grow: ({ keys, duration, items, from, to, children, onRest, }: {
|
|
3
|
-
keys?: undefined;
|
|
4
|
-
duration: any;
|
|
5
|
-
items?: undefined;
|
|
6
|
-
from?: number | undefined;
|
|
7
|
-
to?: number | undefined;
|
|
8
|
-
children: any;
|
|
9
|
-
onRest?: (() => null) | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
11
|
-
export default Grow;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const GrowRight: ({ keys, items, duration, from, to, children, onRest, }: {
|
|
3
|
-
keys?: undefined;
|
|
4
|
-
items?: undefined;
|
|
5
|
-
duration?: number | undefined;
|
|
6
|
-
from?: number | undefined;
|
|
7
|
-
to?: number | undefined;
|
|
8
|
-
children: any;
|
|
9
|
-
onRest?: (() => null) | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
11
|
-
export default GrowRight;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare function useCheckableGroup({ children, active: activeProp, multi, onCheck, }: {
|
|
2
|
-
children: any;
|
|
3
|
-
active: any;
|
|
4
|
-
multi: any;
|
|
5
|
-
onCheck?: (() => null) | undefined;
|
|
6
|
-
}): any;
|
|
7
|
-
declare function CheckableGroup({ active, multi, // checkbox or radio
|
|
8
|
-
children, }: {
|
|
9
|
-
active?: never[] | undefined;
|
|
10
|
-
multi?: boolean | undefined;
|
|
11
|
-
children: any;
|
|
12
|
-
}): any;
|
|
13
|
-
declare namespace CheckableGroup {
|
|
14
|
-
var propTypes: {
|
|
15
|
-
active: any;
|
|
16
|
-
multi: any;
|
|
17
|
-
onCheck: any;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default CheckableGroup;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const FocusGridContext: React.Context<unknown>;
|
|
3
|
-
export default function FocusGridProvider({ shouldWrapRows, shouldWrapCells, shouldRefocus, children, keyBindings, hotKeys, }: {
|
|
4
|
-
shouldWrapRows?: boolean | undefined;
|
|
5
|
-
shouldWrapCells?: boolean | undefined;
|
|
6
|
-
shouldRefocus?: boolean | undefined;
|
|
7
|
-
children: any;
|
|
8
|
-
keyBindings: any;
|
|
9
|
-
hotKeys: any;
|
|
10
|
-
}): JSX.Element;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default class FocusGroup {
|
|
2
|
-
items: never[];
|
|
3
|
-
constructor(options?: {});
|
|
4
|
-
getHotKeysParams(): {
|
|
5
|
-
item: any;
|
|
6
|
-
index: any;
|
|
7
|
-
};
|
|
8
|
-
activate(): void;
|
|
9
|
-
deactivate(): void;
|
|
10
|
-
handleKeyDown(e: any): void;
|
|
11
|
-
executeActionByEvent(e: any): any;
|
|
12
|
-
register(node: any, props?: {}): void;
|
|
13
|
-
unregister(node: any): void;
|
|
14
|
-
exit(): void;
|
|
15
|
-
focusItem(node: any): void;
|
|
16
|
-
focusNext(): void;
|
|
17
|
-
focusByNode(node: any): void;
|
|
18
|
-
focusByIndex(index: any): void;
|
|
19
|
-
focusPrevious(): void;
|
|
20
|
-
focusFirst(): void;
|
|
21
|
-
focusLast(): void;
|
|
22
|
-
focusCurrent(): void;
|
|
23
|
-
focusNextGroup(): void;
|
|
24
|
-
focusPreviousGroup(): void;
|
|
25
|
-
getNextItem(): false | void;
|
|
26
|
-
getPreviousItem(): false | void;
|
|
27
|
-
checkCanFocusNext(index: any): boolean;
|
|
28
|
-
checkCanFocusPrev(index: any): boolean;
|
|
29
|
-
getItemByIndex(index: any): never;
|
|
30
|
-
getItemIndexByNode(node: any): number;
|
|
31
|
-
getFocusedIndex(): number;
|
|
32
|
-
getFocusedItem(): false;
|
|
33
|
-
isGroupActive(): boolean;
|
|
34
|
-
getFirstItem(): false;
|
|
35
|
-
getLastItem(): false;
|
|
36
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
export default class FocusGroupProvider extends Component {
|
|
3
|
-
activated: boolean;
|
|
4
|
-
static defaultProps: {
|
|
5
|
-
exitWhenNoPrevious: boolean;
|
|
6
|
-
exitWhenNoNext: boolean;
|
|
7
|
-
keyBindings: {};
|
|
8
|
-
onFocus: () => null;
|
|
9
|
-
onExitFocusGroup: () => null;
|
|
10
|
-
onFocusPreviousGroup: () => null;
|
|
11
|
-
onFocusNextGroup: () => null;
|
|
12
|
-
onFocusGroupSet: () => null;
|
|
13
|
-
};
|
|
14
|
-
constructor(props: any);
|
|
15
|
-
componentDidMount(): void;
|
|
16
|
-
componentWillUnmount(): void;
|
|
17
|
-
activate(): void;
|
|
18
|
-
deactivate(): void;
|
|
19
|
-
register(item: any): void;
|
|
20
|
-
unregister(item: any): void;
|
|
21
|
-
focusItemByIndex(index: any): void;
|
|
22
|
-
focusItemByNode(node: any): void;
|
|
23
|
-
render(): JSX.Element;
|
|
24
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export default function FocusGroupHoc(WrappedComponent: any, options?: {}): ({ onExitFocusGroup, onFocusPrevGroup, focusKeyBindings, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
onExitFocusGroup: any;
|
|
5
|
-
onFocusPrevGroup: any;
|
|
6
|
-
focusKeyBindings: any;
|
|
7
|
-
}) => JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as FocusGroup } from './FocusGroup';
|
|
2
|
-
export { default as FocusGroupContext } from './FocusGroupContext';
|
|
3
|
-
export { default as FocusGroupManager } from './FocusGroupManager';
|
|
4
|
-
export { default as useFocusGroupItem, useFocusGroupWithState, } from './useFocusGroupItem';
|
|
5
|
-
export { default as focusGroupManagerHoc } from './focusGroupManagerHoc';
|
|
6
|
-
export { default as FocusGrid, FocusGridContext } from './FocusGrid';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default function getNextCellPosition({ grid, currentRow, currentCell, directionY, directionX, shouldWrapCells, shouldWrapRows, }: {
|
|
2
|
-
grid: any;
|
|
3
|
-
currentRow?: number | undefined;
|
|
4
|
-
currentCell?: number | undefined;
|
|
5
|
-
directionY: any;
|
|
6
|
-
directionX: any;
|
|
7
|
-
shouldWrapCells: any;
|
|
8
|
-
shouldWrapRows: any;
|
|
9
|
-
}): false | {
|
|
10
|
-
cellIndex: any;
|
|
11
|
-
rowIndex: any;
|
|
12
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
/** deprecated use CheckableGroup instead */
|
|
3
|
-
declare class Group extends Component {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
static getDerivedStateFromProps(nextProps: any, { prevValue }: {
|
|
6
|
-
prevValue: any;
|
|
7
|
-
}): {
|
|
8
|
-
activeValue: any;
|
|
9
|
-
prevValue: any;
|
|
10
|
-
} | null;
|
|
11
|
-
handleChange(e: any, ...rest: any[]): void;
|
|
12
|
-
render(): JSX.Element;
|
|
13
|
-
}
|
|
14
|
-
export default Group;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
export declare const ScrollSyncContext: React.Context<unknown>;
|
|
3
|
-
export default class ScrollSync extends Component {
|
|
4
|
-
panes: {};
|
|
5
|
-
static defaultProps: {
|
|
6
|
-
proportional: boolean;
|
|
7
|
-
vertical: boolean;
|
|
8
|
-
horizontal: boolean;
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
};
|
|
11
|
-
constructor(props: any);
|
|
12
|
-
registerPane: (node: any, groups: any) => void;
|
|
13
|
-
unregisterPane: (node: any, groups: any) => void;
|
|
14
|
-
addEvents: (node: any, groups: any) => void;
|
|
15
|
-
removeEvents: (node: any) => void;
|
|
16
|
-
findPane: (node: any, group: any) => any;
|
|
17
|
-
handlePaneScroll: (node: any, groups: any, e: any) => void;
|
|
18
|
-
syncScrollPositions: (scrolledPane: any, groups: any) => void;
|
|
19
|
-
syncScrollPosition(scrolledPane: any, pane: any): void;
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare function ScrollSyncProvider({ enabled, horizontal, vertical, children }: {
|
|
3
|
-
enabled: any;
|
|
4
|
-
horizontal: any;
|
|
5
|
-
vertical: any;
|
|
6
|
-
children: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
declare namespace ScrollSyncProvider {
|
|
9
|
-
var propTypes: {};
|
|
10
|
-
var defaultProps: {};
|
|
11
|
-
}
|
|
12
|
-
export default ScrollSyncProvider;
|
package/types/constants.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_DELAY_OPEN = 200;
|
|
2
|
-
export declare const DEFAULT_DELAY_CLOSE = 300;
|
|
3
|
-
export declare const sizeOptions: string[];
|
|
4
|
-
export declare const AM = "am";
|
|
5
|
-
export declare const PM = "pm";
|
|
6
|
-
export declare const ARROW_UP = "ArrowUp";
|
|
7
|
-
export declare const ARROW_DOWN = "ArrowDown";
|
|
8
|
-
export declare const BACKSPACE = "Backspace";
|
|
9
|
-
export declare const ESCAPE = "Escape";
|
|
10
|
-
export declare const HOME = "Home";
|
|
11
|
-
export declare const SHIFT = "Shift";
|
|
12
|
-
export declare const END = "End";
|
|
13
|
-
export declare const HOUR_RANGE_12: {
|
|
14
|
-
min: number;
|
|
15
|
-
max: number;
|
|
16
|
-
};
|
|
17
|
-
export declare const HOUR_RANGE_24: {
|
|
18
|
-
min: number;
|
|
19
|
-
max: number;
|
|
20
|
-
};
|
|
21
|
-
export declare const GENERAL_TIME_RANGE: {
|
|
22
|
-
min: number;
|
|
23
|
-
max: number;
|
|
24
|
-
};
|
|
25
|
-
export declare const PLACEHOLDER_TIME: {
|
|
26
|
-
hour: string;
|
|
27
|
-
minutes: string;
|
|
28
|
-
seconds: string;
|
|
29
|
-
meridiem: string;
|
|
30
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function createInstancePlugin(name: any, hooks: any): (decorators: any) => any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export default function createDataInstanceRef({ uuid: uuidProp, data, renderers, plugins, customDecorators, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
uuid: any;
|
|
5
|
-
data: any;
|
|
6
|
-
renderers: any;
|
|
7
|
-
plugins: any;
|
|
8
|
-
customDecorators: any;
|
|
9
|
-
}): {
|
|
10
|
-
instance: import("react").MutableRefObject<undefined>;
|
|
11
|
-
decorators: any;
|
|
12
|
-
};
|
|
File without changes
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const reducePropsGetter: (decorators: never[] | undefined, grid: any) => (props: {} | undefined, extraParams: any) => {};
|
|
2
|
-
export declare function evaluateTransforms(transforms: any, value: any, extraParams: {} | undefined, props: {} | undefined, grid: any): {};
|
|
3
|
-
export declare function evaluateFormatters(formatters: any, value: any, extraParams: {} | undefined, grid: any): any;
|
|
4
|
-
export declare function composeFormatters(formatters: any, instance: any, getItemValue?: (record: any) => any): (props: any) => any;
|
|
5
|
-
export declare const applyDecorators: (subject: any, decorators?: never[], ...args: any[]) => any;
|
|
6
|
-
export declare const decorateColumns: (columns: any, decorators: any, grid: any) => any;
|
|
7
|
-
export declare const mergeInstance: (instance: any, instanceHook: any) => any;
|
|
8
|
-
export declare const registerStateHookToInstance: (instance: any, stateHook: any) => any;
|
|
9
|
-
export declare const registerHotKeysHookToInstance: (instance: any, hotKeysHook: any) => any;
|
package/types/dimsum.config.d.ts
DELETED
package/types/index.d.ts
DELETED
package/types/prop-types.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare const dsBasicSizes: ("s" | "m" | "l")[];
|
|
2
|
-
export declare const sizes: ("xsmall" | "small" | "medium" | "large" | "xlarge")[];
|
|
3
|
-
export declare const iconSizes: ("s" | "m" | "l" | "xxs" | "xs" | "xl" | "xxl")[];
|
|
4
|
-
export declare const iconColors: readonly [readonly ["neutral", "900"], readonly ["neutral", "0"], readonly ["danger", "900"], readonly ["warning", "500"], readonly ["success", "900"], readonly ["brand-primary", "600"]];
|
|
5
|
-
export declare const CHECKBOX_VARIANT: {
|
|
6
|
-
DEFAULT: "variant-default";
|
|
7
|
-
FOCUS: "variant-focus";
|
|
8
|
-
ACTIVE: "variant-active";
|
|
9
|
-
DISABLED: "variant-disabled";
|
|
10
|
-
ERROR: "variant-error";
|
|
11
|
-
};
|
|
12
|
-
export declare const checkboxVariants: readonly ["variant-default", "variant-focus", "variant-active", "variant-disabled", "variant-error"];
|
|
13
|
-
export declare const COMBOBOX_VARIANT: {
|
|
14
|
-
DEFAULT: "variant-default";
|
|
15
|
-
FOCUS: "variant-focus-input";
|
|
16
|
-
FOCUS_ICON: "variant-focus-icon";
|
|
17
|
-
ACTIVE: "variant-active-input";
|
|
18
|
-
ACTIVE_ICON: "variant-active-icon";
|
|
19
|
-
DISABLED: "variant-disabled";
|
|
20
|
-
ERROR: "variant-error";
|
|
21
|
-
};
|
|
22
|
-
export declare const comboBoxVariants: readonly ["variant-default", "variant-focus-input", "variant-focus-icon", "variant-active-input", "variant-active-icon", "variant-disabled", "variant-error"];
|
|
23
|
-
export declare const sizeVariants: {
|
|
24
|
-
S: "s";
|
|
25
|
-
M: "m";
|
|
26
|
-
L: "l";
|
|
27
|
-
};
|
|
28
|
-
export declare const position: {
|
|
29
|
-
LEFT: "left";
|
|
30
|
-
RIGHT: "right";
|
|
31
|
-
CENTER: "center";
|
|
32
|
-
};
|
|
33
|
-
export declare const fontColor: {
|
|
34
|
-
NEUTRAL500: "neutral500";
|
|
35
|
-
NEUTRAL700: "neutral700";
|
|
36
|
-
};
|
|
37
|
-
export declare const orientation: readonly ["horizontal", "vertical"];
|
|
38
|
-
export declare const orientationVariants: {
|
|
39
|
-
HORIZONTAL: "horizontal";
|
|
40
|
-
VERTICAL: "vertical";
|
|
41
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from 'react-spring/web';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from 'react-spring/renderprops';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const ToolbarContext: React.Context<unknown>;
|
|
3
|
-
declare function ToolbarProvider({ delay, children, onHide, onShow }: {
|
|
4
|
-
delay?: number | undefined;
|
|
5
|
-
children: any;
|
|
6
|
-
onHide?: (() => null) | undefined;
|
|
7
|
-
onShow?: (() => null) | undefined;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
declare const _default: React.MemoExoticComponent<typeof ToolbarProvider>;
|
|
10
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './useDataGrid';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
|
-
export declare const appendHeaderFormatter: import("lodash").CurriedFunction2<any, any, any>;
|
|
3
|
-
export declare const appendCellFormatter: import("lodash").CurriedFunction2<any, any, any>;
|
|
4
|
-
export declare const mergeClassNameToColumnHeader: import("lodash").CurriedFunction2<any, any, any>;
|
|
5
|
-
export default function initColumnDefinition(options?: {}): (column: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './useDataList';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function recordIterator(records: any, strategy: (() => never) | undefined, decorators: never[] | undefined, instance: any): any[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const getItemLabel: (record: any, nameKey?: string) => any;
|
|
2
|
-
export declare const getItemChildren: (record: any, childrenKey?: string) => any;
|
|
3
|
-
export default function useDataList({ data, plugins, renderers, itemRenderer, customDecorators, ...props }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
data?: never[] | undefined;
|
|
6
|
-
plugins?: never[] | undefined;
|
|
7
|
-
renderers?: {
|
|
8
|
-
list: string;
|
|
9
|
-
item: string;
|
|
10
|
-
} | undefined;
|
|
11
|
-
itemRenderer?: never[] | undefined;
|
|
12
|
-
customDecorators: any;
|
|
13
|
-
}): undefined;
|
package/types/utils.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const objectType: (obj: any) => string;
|
|
2
|
-
export declare const isDefined: (param: any) => boolean;
|
|
3
|
-
export declare const isUndefined: (param: any) => boolean;
|
|
4
|
-
export declare const isFunction: (param: any) => boolean;
|
|
5
|
-
export declare const isNumber: (param: any) => boolean;
|
|
6
|
-
export declare const isString: (str: any) => boolean;
|
|
7
|
-
export declare const isArray: (arr: any) => boolean;
|
|
8
|
-
export declare const closest: (target: any, selector: any) => any;
|
|
9
|
-
export declare const getOffsetRect: (elem: any) => {
|
|
10
|
-
top: number;
|
|
11
|
-
left: number;
|
|
12
|
-
};
|
|
13
|
-
export declare const getTotalScroll: (elem: any) => {
|
|
14
|
-
top: number;
|
|
15
|
-
left: number;
|
|
16
|
-
};
|
|
17
|
-
export declare const getTransformProps: (x: any, y: any) => {
|
|
18
|
-
transform: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const listWithChildren: (list: any, childrenProp: any) => any;
|
|
21
|
-
export declare const getAllNonEmptyNodesIds: (items: any, childrenProp: any) => any;
|
|
22
|
-
export declare const isInternetExplorer: () => boolean;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FluidHeightList } from './FluidHeightList';
|
|
2
|
-
import { AutoHeightList } from './AutoHeightList';
|
|
3
|
-
export { FluidHeightList, AutoHeightList };
|
|
4
|
-
export declare function getVirtualListComponent({ component: Component, fluid, height, autoHeight, }: {
|
|
5
|
-
component: any;
|
|
6
|
-
fluid: any;
|
|
7
|
-
height: any;
|
|
8
|
-
autoHeight: any;
|
|
9
|
-
}): any;
|