@elliemae/ds-shared 1.57.1-rc.0 → 2.0.0-alpha.11
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/cjs/Animations/BaseAnimation.js +25 -36
- package/cjs/Animations/Grow.js +31 -39
- package/cjs/Animations/GrowRight.js +31 -40
- package/cjs/Animations/GrowVertical.js +3 -2
- package/cjs/CheckableGroup.js +36 -50
- package/cjs/DeferRenderAfterComputation.js +12 -22
- package/cjs/FocusGroup/FocusGrid.js +94 -102
- package/cjs/FocusGroup/FocusGroup.js +215 -270
- package/cjs/FocusGroup/FocusGroupContext.js +1 -2
- package/cjs/FocusGroup/FocusGroupManager.js +88 -124
- package/cjs/FocusGroup/focusGroupManagerHoc.js +24 -29
- package/cjs/FocusGroup/index.js +14 -28
- package/cjs/FocusGroup/useFocusGroupItem.js +24 -27
- package/cjs/FocusGroup/utils/getNextCellPosition.js +14 -16
- package/cjs/GroupContext/Group.js +76 -104
- package/cjs/GroupContext/GroupContext.js +1 -2
- package/cjs/GroupContext/GroupItem.js +10 -11
- package/cjs/GroupContext/index.js +6 -15
- package/cjs/ScrollSync/ScrollSync.js +86 -112
- package/cjs/ScrollSync/ScrollSyncPane.js +49 -92
- package/cjs/ScrollSync/ScrollSyncProvider.js +32 -28
- package/cjs/ScrollSync/index.js +4 -14
- package/cjs/ScrollSync/useScrollSync.js +0 -1
- package/cjs/constants.js +43 -4
- package/cjs/createDataInstance/createInstancePlugin.js +6 -10
- package/cjs/createDataInstance/createInstanceRef.js +34 -42
- package/cjs/createDataInstance/utils.js +42 -76
- package/cjs/defer-render-hoc/index.js +19 -64
- package/cjs/dimsum.config.js +7 -0
- package/cjs/index.js +10 -21
- package/cjs/prop-types.js +59 -0
- package/cjs/react-spring/index.js +3 -6
- package/cjs/react-spring/renderprops.js +3 -6
- package/cjs/toolbar/ToolbarProvider.js +60 -81
- package/cjs/useDataGrid/VolatileRowsListener.js +13 -27
- package/cjs/useDataGrid/index.js +2 -17
- package/cjs/useDataGrid/initColumnDefinition.js +45 -53
- package/cjs/useDataGrid/useDataGrid.js +105 -152
- package/cjs/useDataList/index.js +2 -15
- package/cjs/useDataList/recordIterator.js +7 -11
- package/cjs/useDataList/useDataList.js +42 -63
- package/cjs/utils.js +39 -59
- package/cjs/virtualization/AutoHeightList.js +34 -27
- package/cjs/virtualization/FluidHeightList.js +23 -17
- package/cjs/virtualization/index.js +12 -18
- package/esm/Animations/BaseAnimation.js +24 -35
- package/esm/Animations/Grow.js +29 -37
- package/esm/Animations/GrowRight.js +29 -38
- package/esm/Animations/GrowVertical.js +3 -2
- package/esm/CheckableGroup.js +33 -46
- package/esm/DeferRenderAfterComputation.js +12 -21
- package/esm/FocusGroup/FocusGrid.js +86 -96
- package/esm/FocusGroup/FocusGroup.js +210 -263
- package/esm/FocusGroup/FocusGroupContext.js +0 -1
- package/esm/FocusGroup/FocusGroupManager.js +85 -115
- package/esm/FocusGroup/focusGroupManagerHoc.js +19 -23
- package/esm/FocusGroup/index.js +0 -14
- package/esm/FocusGroup/useFocusGroupItem.js +22 -25
- package/esm/FocusGroup/utils/getNextCellPosition.js +14 -16
- package/esm/GroupContext/Group.js +75 -96
- package/esm/GroupContext/GroupContext.js +1 -2
- package/esm/GroupContext/GroupItem.js +8 -9
- package/esm/GroupContext/index.js +0 -9
- package/esm/ScrollSync/ScrollSync.js +83 -104
- package/esm/ScrollSync/ScrollSyncPane.js +47 -83
- package/esm/ScrollSync/ScrollSyncProvider.js +31 -28
- package/esm/ScrollSync/index.js +0 -10
- package/esm/ScrollSync/useScrollSync.js +0 -1
- package/esm/constants.js +31 -5
- package/esm/createDataInstance/createInstancePlugin.js +5 -8
- package/esm/createDataInstance/createInstanceRef.js +29 -36
- package/esm/createDataInstance/utils.js +40 -74
- package/esm/defer-render-hoc/index.js +19 -57
- package/esm/dimsum.config.js +5 -0
- package/esm/index.js +0 -11
- package/esm/prop-types.js +43 -0
- package/esm/react-spring/index.js +1 -2
- package/esm/react-spring/renderprops.js +1 -2
- package/esm/toolbar/ToolbarProvider.js +55 -75
- package/esm/useDataGrid/VolatileRowsListener.js +12 -24
- package/esm/useDataGrid/index.js +0 -15
- package/esm/useDataGrid/initColumnDefinition.js +38 -45
- package/esm/useDataGrid/useDataGrid.js +85 -131
- package/esm/useDataList/index.js +0 -13
- package/esm/useDataList/recordIterator.js +7 -11
- package/esm/useDataList/useDataList.js +31 -51
- package/esm/utils.js +37 -57
- package/esm/virtualization/AutoHeightList.js +26 -19
- package/esm/virtualization/FluidHeightList.js +20 -14
- package/esm/virtualization/index.js +6 -12
- package/package.json +202 -13
- package/types/Animations/BaseAnimation.d.ts +12 -0
- package/types/Animations/Grow.d.ts +11 -0
- package/types/Animations/GrowRight.d.ts +11 -0
- package/types/Animations/GrowVertical.d.ts +1 -0
- package/types/CheckableGroup.d.ts +20 -0
- package/types/DeferRenderAfterComputation.d.ts +6 -0
- package/types/FocusGroup/FocusGrid.d.ts +10 -0
- package/types/FocusGroup/FocusGroup.d.ts +36 -0
- package/types/FocusGroup/FocusGroupContext.d.ts +3 -0
- package/types/FocusGroup/FocusGroupManager.d.ts +24 -0
- package/types/FocusGroup/focusGroupManagerHoc.d.ts +7 -0
- package/types/FocusGroup/index.d.ts +6 -0
- package/types/FocusGroup/useFocusGroupItem.d.ts +2 -0
- package/types/FocusGroup/utils/getNextCellPosition.d.ts +12 -0
- package/types/GroupContext/Group.d.ts +14 -0
- package/types/GroupContext/GroupContext.d.ts +2 -0
- package/types/GroupContext/GroupItem.d.ts +5 -0
- package/types/GroupContext/index.d.ts +3 -0
- package/types/ScrollSync/ScrollSync.d.ts +21 -0
- package/types/ScrollSync/ScrollSyncPane.d.ts +3 -0
- package/types/ScrollSync/ScrollSyncProvider.d.ts +12 -0
- package/types/ScrollSync/index.d.ts +2 -0
- package/types/ScrollSync/useScrollSync.d.ts +6 -0
- package/types/constants.d.ts +30 -0
- package/types/createDataInstance/createInstancePlugin.d.ts +1 -0
- package/types/createDataInstance/createInstanceRef.d.ts +12 -0
- package/types/createDataInstance/tests/createInstanceRef.test.d.ts +0 -0
- package/types/createDataInstance/utils.d.ts +9 -0
- package/types/dimsum.config.d.ts +4 -0
- package/types/index.d.ts +2 -0
- package/types/prop-types.d.ts +41 -0
- package/types/react-spring/index.d.ts +1 -0
- package/types/react-spring/renderprops.d.ts +1 -0
- package/types/toolbar/ToolbarProvider.d.ts +10 -0
- package/types/useDataGrid/VolatileRowsListener.d.ts +5 -0
- package/types/useDataGrid/index.d.ts +1 -0
- package/types/useDataGrid/initColumnDefinition.d.ts +4 -0
- package/types/useDataGrid/useDataGrid.d.ts +8 -0
- package/types/useDataList/index.d.ts +1 -0
- package/types/useDataList/recordIterator.d.ts +1 -0
- package/types/useDataList/useDataList.d.ts +13 -0
- package/types/utils.d.ts +22 -0
- package/types/virtualization/AutoHeightList.d.ts +2 -0
- package/types/virtualization/FluidHeightList.d.ts +2 -0
- package/types/virtualization/index.d.ts +9 -0
- package/Animations/BaseAnimation/package.json +0 -10
- package/Animations/Grow/package.json +0 -10
- package/Animations/GrowRight/package.json +0 -10
- package/Animations/GrowVertical/package.json +0 -10
- package/CheckableGroup/package.json +0 -10
- package/DeferRenderAfterComputation/package.json +0 -10
- package/FocusGroup/FocusGrid/package.json +0 -10
- package/FocusGroup/FocusGroup/package.json +0 -10
- package/FocusGroup/FocusGroupContext/package.json +0 -10
- package/FocusGroup/FocusGroupManager/package.json +0 -10
- package/FocusGroup/focusGroupManagerHoc/package.json +0 -10
- package/FocusGroup/package.json +0 -10
- package/FocusGroup/useFocusGroupItem/package.json +0 -10
- package/FocusGroup/utils/getNextCellPosition/package.json +0 -10
- package/GroupContext/Group/package.json +0 -10
- package/GroupContext/GroupContext/package.json +0 -10
- package/GroupContext/GroupItem/package.json +0 -10
- package/GroupContext/package.json +0 -10
- package/ScrollSync/ScrollSync/package.json +0 -10
- package/ScrollSync/ScrollSyncPane/package.json +0 -10
- package/ScrollSync/ScrollSyncProvider/package.json +0 -10
- package/ScrollSync/package.json +0 -10
- package/ScrollSync/useScrollSync/package.json +0 -10
- package/cjs/Animations/BaseAnimation.js.map +0 -1
- package/cjs/Animations/Grow.js.map +0 -1
- package/cjs/Animations/GrowRight.js.map +0 -1
- package/cjs/Animations/GrowVertical.js.map +0 -1
- package/cjs/CheckableGroup.js.map +0 -1
- package/cjs/DeferRenderAfterComputation.js.map +0 -1
- package/cjs/FocusGroup/FocusGrid.js.map +0 -1
- package/cjs/FocusGroup/FocusGroup.js.map +0 -1
- package/cjs/FocusGroup/FocusGroupContext.js.map +0 -1
- package/cjs/FocusGroup/FocusGroupManager.js.map +0 -1
- package/cjs/FocusGroup/focusGroupManagerHoc.js.map +0 -1
- package/cjs/FocusGroup/index.js.map +0 -1
- package/cjs/FocusGroup/useFocusGroupItem.js.map +0 -1
- package/cjs/FocusGroup/utils/getNextCellPosition.js.map +0 -1
- package/cjs/GroupContext/Group.js.map +0 -1
- package/cjs/GroupContext/GroupContext.js.map +0 -1
- package/cjs/GroupContext/GroupItem.js.map +0 -1
- package/cjs/GroupContext/index.js.map +0 -1
- package/cjs/ScrollSync/ScrollSync.js.map +0 -1
- package/cjs/ScrollSync/ScrollSyncPane.js.map +0 -1
- package/cjs/ScrollSync/ScrollSyncProvider.js.map +0 -1
- package/cjs/ScrollSync/index.js.map +0 -1
- package/cjs/ScrollSync/useScrollSync.js.map +0 -1
- package/cjs/constants.js.map +0 -1
- package/cjs/createDataInstance/createInstancePlugin.js.map +0 -1
- package/cjs/createDataInstance/createInstanceRef.js.map +0 -1
- package/cjs/createDataInstance/utils.js.map +0 -1
- package/cjs/defer-render-hoc/index.js.map +0 -1
- package/cjs/index.js.map +0 -1
- package/cjs/react-spring/index.js.map +0 -1
- package/cjs/react-spring/renderprops.js.map +0 -1
- package/cjs/toolbar/ToolbarProvider.js.map +0 -1
- package/cjs/useDataGrid/VolatileRowsListener.js.map +0 -1
- package/cjs/useDataGrid/index.js.map +0 -1
- package/cjs/useDataGrid/initColumnDefinition.js.map +0 -1
- package/cjs/useDataGrid/useDataGrid.js.map +0 -1
- package/cjs/useDataList/index.js.map +0 -1
- package/cjs/useDataList/recordIterator.js.map +0 -1
- package/cjs/useDataList/useDataList.js.map +0 -1
- package/cjs/utils.js.map +0 -1
- package/cjs/virtualization/AutoHeightList.js.map +0 -1
- package/cjs/virtualization/FluidHeightList.js.map +0 -1
- package/cjs/virtualization/index.js.map +0 -1
- package/constants/package.json +0 -10
- package/createDataInstance/createInstancePlugin/package.json +0 -10
- package/createDataInstance/createInstanceRef/package.json +0 -10
- package/createDataInstance/utils/package.json +0 -10
- package/defer-render-hoc/package.json +0 -10
- package/esm/Animations/BaseAnimation.js.map +0 -1
- package/esm/Animations/Grow.js.map +0 -1
- package/esm/Animations/GrowRight.js.map +0 -1
- package/esm/Animations/GrowVertical.js.map +0 -1
- package/esm/CheckableGroup.js.map +0 -1
- package/esm/DeferRenderAfterComputation.js.map +0 -1
- package/esm/FocusGroup/FocusGrid.js.map +0 -1
- package/esm/FocusGroup/FocusGroup.js.map +0 -1
- package/esm/FocusGroup/FocusGroupContext.js.map +0 -1
- package/esm/FocusGroup/FocusGroupManager.js.map +0 -1
- package/esm/FocusGroup/focusGroupManagerHoc.js.map +0 -1
- package/esm/FocusGroup/index.js.map +0 -1
- package/esm/FocusGroup/useFocusGroupItem.js.map +0 -1
- package/esm/FocusGroup/utils/getNextCellPosition.js.map +0 -1
- package/esm/GroupContext/Group.js.map +0 -1
- package/esm/GroupContext/GroupContext.js.map +0 -1
- package/esm/GroupContext/GroupItem.js.map +0 -1
- package/esm/GroupContext/index.js.map +0 -1
- package/esm/ScrollSync/ScrollSync.js.map +0 -1
- package/esm/ScrollSync/ScrollSyncPane.js.map +0 -1
- package/esm/ScrollSync/ScrollSyncProvider.js.map +0 -1
- package/esm/ScrollSync/index.js.map +0 -1
- package/esm/ScrollSync/useScrollSync.js.map +0 -1
- package/esm/constants.js.map +0 -1
- package/esm/createDataInstance/createInstancePlugin.js.map +0 -1
- package/esm/createDataInstance/createInstanceRef.js.map +0 -1
- package/esm/createDataInstance/utils.js.map +0 -1
- package/esm/defer-render-hoc/index.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/react-spring/index.js.map +0 -1
- package/esm/react-spring/renderprops.js.map +0 -1
- package/esm/toolbar/ToolbarProvider.js.map +0 -1
- package/esm/useDataGrid/VolatileRowsListener.js.map +0 -1
- package/esm/useDataGrid/index.js.map +0 -1
- package/esm/useDataGrid/initColumnDefinition.js.map +0 -1
- package/esm/useDataGrid/useDataGrid.js.map +0 -1
- package/esm/useDataList/index.js.map +0 -1
- package/esm/useDataList/recordIterator.js.map +0 -1
- package/esm/useDataList/useDataList.js.map +0 -1
- package/esm/utils.js.map +0 -1
- package/esm/virtualization/AutoHeightList.js.map +0 -1
- package/esm/virtualization/FluidHeightList.js.map +0 -1
- package/esm/virtualization/index.js.map +0 -1
- package/react-spring/package.json +0 -10
- package/react-spring/renderprops/package.json +0 -10
- package/toolbar/ToolbarProvider/package.json +0 -10
- package/useDataGrid/VolatileRowsListener/package.json +0 -10
- package/useDataGrid/initColumnDefinition/package.json +0 -10
- package/useDataGrid/package.json +0 -10
- package/useDataGrid/useDataGrid/package.json +0 -10
- package/useDataList/package.json +0 -10
- package/useDataList/recordIterator/package.json +0 -10
- package/useDataList/useDataList/package.json +0 -10
- package/utils/package.json +0 -10
- package/virtualization/AutoHeightList/package.json +0 -10
- package/virtualization/FluidHeightList/package.json +0 -10
- package/virtualization/package.json +0 -10
|
@@ -2,31 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const defaultStrategy = () => {
|
|
6
6
|
throw Error('Implement an iterator strategy for record iterator');
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
function recordIterator(records) {
|
|
10
|
-
|
|
11
|
-
var decorators = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
12
|
-
var instance = arguments.length > 3 ? arguments[3] : undefined;
|
|
13
|
-
var nextRows = [];
|
|
9
|
+
function recordIterator(records, strategy = defaultStrategy, decorators = [], instance) {
|
|
10
|
+
const nextRows = [];
|
|
14
11
|
strategy({
|
|
15
12
|
data: records,
|
|
16
|
-
cb:
|
|
17
|
-
|
|
13
|
+
cb: row => {
|
|
14
|
+
let nextRow = row; // eslint-disable-next-line no-loops/no-loops,no-plusplus
|
|
18
15
|
|
|
19
|
-
for (
|
|
16
|
+
for (let i = 0; i < decorators.length; i++) {
|
|
20
17
|
nextRow = decorators[i](nextRow, instance);
|
|
21
18
|
if (!nextRow) break;
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
if (nextRow) nextRows.push(nextRow);
|
|
25
22
|
},
|
|
26
|
-
instance
|
|
23
|
+
instance
|
|
27
24
|
});
|
|
28
25
|
return nextRows;
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
exports.recordIterator = recordIterator;
|
|
32
|
-
//# sourceMappingURL=recordIterator.js.map
|
|
@@ -2,109 +2,88 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
6
5
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
6
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
|
+
require('core-js/modules/web.dom-collections.iterator.js');
|
|
8
8
|
var React = require('react');
|
|
9
|
-
var
|
|
9
|
+
var system = require('@elliemae/ds-utilities/system');
|
|
10
10
|
var get = require('lodash/get');
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
require('@babel/runtime/helpers/slicedToArray');
|
|
15
|
-
require('uuid');
|
|
16
|
-
require('lodash');
|
|
11
|
+
var utils = require('../createDataInstance/utils.js');
|
|
12
|
+
var recordIterator = require('./recordIterator.js');
|
|
13
|
+
var createInstanceRef = require('../createDataInstance/createInstanceRef.js');
|
|
17
14
|
|
|
18
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
19
16
|
|
|
20
|
-
var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
|
|
21
17
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
22
18
|
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
23
19
|
var get__default = /*#__PURE__*/_interopDefaultLegacy(get);
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
const _excluded = ["data", "plugins", "renderers", "itemRenderer", "customDecorators"];
|
|
26
22
|
|
|
27
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
28
24
|
|
|
29
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default[
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
var getItemChildren = function getItemChildren(record) {
|
|
35
|
-
var childrenKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'children';
|
|
36
|
-
return get__default['default'](record, ['data', childrenKey]);
|
|
37
|
-
};
|
|
38
|
-
var listRenderers = {
|
|
25
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
26
|
+
const getItemLabel = (record, nameKey = 'name') => get__default["default"](record, ['data', nameKey]);
|
|
27
|
+
const getItemChildren = (record, childrenKey = 'children') => get__default["default"](record, ['data', childrenKey]);
|
|
28
|
+
const listRenderers = {
|
|
39
29
|
list: 'ul',
|
|
40
30
|
item: 'li'
|
|
41
31
|
}; // todo: check if a plugin is a LIST plugin rather than GRID
|
|
42
32
|
|
|
43
33
|
function useDataList(_ref) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
data
|
|
59
|
-
renderers
|
|
60
|
-
plugins
|
|
34
|
+
let {
|
|
35
|
+
data = [],
|
|
36
|
+
plugins = [],
|
|
37
|
+
renderers = listRenderers,
|
|
38
|
+
itemRenderer = [],
|
|
39
|
+
customDecorators
|
|
40
|
+
} = _ref,
|
|
41
|
+
props = _objectWithoutProperties__default["default"](_ref, _excluded);
|
|
42
|
+
|
|
43
|
+
const listRef = React.useRef();
|
|
44
|
+
const {
|
|
45
|
+
instance,
|
|
46
|
+
decorators
|
|
47
|
+
} = createInstanceRef(_objectSpread({
|
|
48
|
+
data,
|
|
49
|
+
renderers,
|
|
50
|
+
plugins,
|
|
61
51
|
customDecorators: _objectSpread(_objectSpread({}, customDecorators), {}, {
|
|
62
|
-
recordIterator:
|
|
52
|
+
recordIterator: recordIterator.recordIterator,
|
|
63
53
|
getListProps: [],
|
|
64
54
|
getItemProps: [],
|
|
65
|
-
itemRenderer:
|
|
55
|
+
itemRenderer: [...itemRenderer],
|
|
66
56
|
// components reduce to compose item content
|
|
67
57
|
record: [],
|
|
68
58
|
records: []
|
|
69
59
|
})
|
|
70
|
-
}, props))
|
|
71
|
-
instance = _createInstanceRef.instance,
|
|
72
|
-
decorators = _createInstanceRef.decorators;
|
|
60
|
+
}, props));
|
|
73
61
|
|
|
74
|
-
instance.current.getListRef =
|
|
75
|
-
return listRef;
|
|
76
|
-
};
|
|
62
|
+
instance.current.getListRef = () => listRef;
|
|
77
63
|
|
|
78
|
-
instance.current.setListRef =
|
|
64
|
+
instance.current.setListRef = ref => {
|
|
79
65
|
listRef.current = ref;
|
|
80
66
|
};
|
|
81
67
|
|
|
82
|
-
instance.current.getItemLabel =
|
|
83
|
-
return getItemLabel(record, props.nameKey);
|
|
84
|
-
};
|
|
68
|
+
instance.current.getItemLabel = record => getItemLabel(record, props.nameKey);
|
|
85
69
|
|
|
86
|
-
instance.current.getItemChildren =
|
|
87
|
-
return getItemChildren(record, props.childrenKey);
|
|
88
|
-
};
|
|
70
|
+
instance.current.getItemChildren = record => getItemChildren(record, props.childrenKey);
|
|
89
71
|
|
|
90
72
|
instance.current.decorators = decorators;
|
|
91
|
-
instance.current.getListProps =
|
|
92
|
-
instance.current.getItemProps =
|
|
93
|
-
instance.current.itemRenderer =
|
|
94
|
-
instance.current.records = React.useMemo(
|
|
73
|
+
instance.current.getListProps = utils.reducePropsGetter(decorators.getListProps, instance.current);
|
|
74
|
+
instance.current.getItemProps = utils.reducePropsGetter(decorators.getItemProps, instance.current);
|
|
75
|
+
instance.current.itemRenderer = utils.composeFormatters(instance.current.decorators.itemRenderer, instance.current);
|
|
76
|
+
instance.current.records = React.useMemo(() => {
|
|
95
77
|
// record iterator TREE / Simple
|
|
96
|
-
|
|
78
|
+
let nextRecords = recordIterator.recordIterator(data, instance.current.decorators.recordIterator, decorators.record, instance.current); // compose all records
|
|
97
79
|
|
|
98
|
-
nextRecords = decorators.records.reduce(
|
|
99
|
-
return getter(nextRows, instance.current);
|
|
100
|
-
}, nextRecords);
|
|
80
|
+
nextRecords = decorators.records.reduce((nextRows, getter) => getter(nextRows, instance.current), nextRecords);
|
|
101
81
|
return nextRecords;
|
|
102
82
|
});
|
|
103
|
-
if (props.instanceRef)
|
|
83
|
+
if (props.instanceRef) system.setRef(props.instanceRef, instance.current);
|
|
104
84
|
return instance.current;
|
|
105
85
|
}
|
|
106
86
|
|
|
107
|
-
exports[
|
|
87
|
+
exports["default"] = useDataList;
|
|
108
88
|
exports.getItemChildren = getItemChildren;
|
|
109
89
|
exports.getItemLabel = getItemLabel;
|
|
110
|
-
//# sourceMappingURL=useDataList.js.map
|
package/cjs/utils.js
CHANGED
|
@@ -10,32 +10,18 @@ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_definePropert
|
|
|
10
10
|
|
|
11
11
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
12
12
|
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default[
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14
14
|
|
|
15
15
|
/* eslint-disable no-cond-assign */
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var isFunction = function isFunction(param) {
|
|
26
|
-
return typeof param === 'function';
|
|
27
|
-
};
|
|
28
|
-
var isNumber = function isNumber(param) {
|
|
29
|
-
return typeof param === 'number' && !isNaN(param);
|
|
30
|
-
}; // eslint-disable-line
|
|
31
|
-
|
|
32
|
-
var isString = function isString(str) {
|
|
33
|
-
return objectType(str) === 'String';
|
|
34
|
-
};
|
|
35
|
-
var isArray = function isArray(arr) {
|
|
36
|
-
return objectType(arr) === 'Array';
|
|
37
|
-
};
|
|
38
|
-
var closest = function closest(target, selector) {
|
|
16
|
+
const objectType = obj => Object.prototype.toString.call(obj).slice(8, -1);
|
|
17
|
+
const isDefined = param => typeof param !== 'undefined';
|
|
18
|
+
const isUndefined = param => typeof param === 'undefined';
|
|
19
|
+
const isFunction = param => typeof param === 'function';
|
|
20
|
+
const isNumber = param => typeof param === 'number' && !isNaN(param); // eslint-disable-line
|
|
21
|
+
|
|
22
|
+
const isString = str => objectType(str) === 'String';
|
|
23
|
+
const isArray = arr => objectType(arr) === 'Array';
|
|
24
|
+
const closest = (target, selector) => {
|
|
39
25
|
// closest(e.target, '.field')
|
|
40
26
|
while (target) {
|
|
41
27
|
// eslint-disable-line
|
|
@@ -47,29 +33,30 @@ var closest = function closest(target, selector) {
|
|
|
47
33
|
|
|
48
34
|
return null;
|
|
49
35
|
};
|
|
50
|
-
|
|
36
|
+
const getOffsetRect = elem => {
|
|
51
37
|
// (1)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
38
|
+
const box = elem.getBoundingClientRect();
|
|
39
|
+
const {
|
|
40
|
+
body,
|
|
41
|
+
documentElement
|
|
42
|
+
} = document; // (2)
|
|
56
43
|
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
const scrollTop = window.pageYOffset || documentElement.scrollTop || body.scrollTop;
|
|
45
|
+
const scrollLeft = window.pageXOffset || documentElement.scrollLeft || body.scrollLeft; // (3)
|
|
59
46
|
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
const clientTop = documentElement.clientTop || body.clientTop || 0;
|
|
48
|
+
const clientLeft = documentElement.clientLeft || body.clientLeft || 0; // (4)
|
|
62
49
|
|
|
63
|
-
|
|
64
|
-
|
|
50
|
+
const top = box.top + scrollTop - clientTop;
|
|
51
|
+
const left = box.left + scrollLeft - clientLeft;
|
|
65
52
|
return {
|
|
66
53
|
top: Math.round(top),
|
|
67
54
|
left: Math.round(left)
|
|
68
55
|
};
|
|
69
56
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
57
|
+
const getTotalScroll = elem => {
|
|
58
|
+
let top = 0;
|
|
59
|
+
let left = 0; // eslint-disable-next-line no-param-reassign
|
|
73
60
|
|
|
74
61
|
while (elem = elem.parentNode) {
|
|
75
62
|
top += elem.scrollTop || 0;
|
|
@@ -77,33 +64,27 @@ var getTotalScroll = function getTotalScroll(elem) {
|
|
|
77
64
|
}
|
|
78
65
|
|
|
79
66
|
return {
|
|
80
|
-
top
|
|
81
|
-
left
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
var getTransformProps = function getTransformProps(x, y) {
|
|
85
|
-
return {
|
|
86
|
-
transform: "translate(".concat(x, "px, ").concat(y, "px)")
|
|
67
|
+
top,
|
|
68
|
+
left
|
|
87
69
|
};
|
|
88
70
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}).map(function (item) {
|
|
71
|
+
const getTransformProps = (x, y) => ({
|
|
72
|
+
transform: "translate(".concat(x, "px, ").concat(y, "px)")
|
|
73
|
+
});
|
|
74
|
+
const listWithChildren = (list, childrenProp) => list.map(item => _objectSpread(_objectSpread({}, item), {}, {
|
|
75
|
+
[childrenProp]: item[childrenProp] ? listWithChildren(item[childrenProp], childrenProp) : []
|
|
76
|
+
}));
|
|
77
|
+
const getAllNonEmptyNodesIds = (items, childrenProp) => {
|
|
78
|
+
let childrenIds = [];
|
|
79
|
+
const ids = items.filter(item => item[childrenProp].length).map(item => {
|
|
99
80
|
childrenIds = childrenIds.concat(getAllNonEmptyNodesIds(item[childrenProp], childrenProp));
|
|
100
81
|
return item.id;
|
|
101
82
|
});
|
|
102
83
|
return ids.concat(childrenIds);
|
|
103
84
|
};
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
85
|
+
const isInternetExplorer = () => {
|
|
86
|
+
const ua = window.navigator.userAgent;
|
|
87
|
+
const msie = ua.indexOf('MSIE '); // If Internet Explorer, return version number
|
|
107
88
|
|
|
108
89
|
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv:11\./)) {
|
|
109
90
|
return true;
|
|
@@ -126,4 +107,3 @@ exports.isString = isString;
|
|
|
126
107
|
exports.isUndefined = isUndefined;
|
|
127
108
|
exports.listWithChildren = listWithChildren;
|
|
128
109
|
exports.objectType = objectType;
|
|
129
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -2,51 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
6
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var reactWindow = require('react-window');
|
|
9
|
-
var
|
|
9
|
+
var utils = require('@elliemae/ds-utilities/utils');
|
|
10
|
+
var system = require('@elliemae/ds-utilities/system');
|
|
11
|
+
var useWindowScrollerList = require('@elliemae/ds-utilities/hooks/useWindowScrollerList');
|
|
12
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
10
13
|
|
|
11
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
15
|
|
|
13
|
-
var
|
|
16
|
+
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
14
17
|
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
var useWindowScrollerList__default = /*#__PURE__*/_interopDefaultLegacy(useWindowScrollerList);
|
|
19
|
+
|
|
20
|
+
const _excluded = ["itemCount", "className", "innerRef", "itemData", "itemKey", "itemSize", "outerRef", "component"];
|
|
21
|
+
|
|
22
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
23
|
+
|
|
24
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
25
|
+
const AutoHeightList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
26
|
+
let {
|
|
27
|
+
itemCount,
|
|
28
|
+
className,
|
|
29
|
+
innerRef,
|
|
30
|
+
itemData,
|
|
31
|
+
itemKey,
|
|
32
|
+
itemSize,
|
|
33
|
+
outerRef,
|
|
34
|
+
component: ListComponent = reactWindow.FixedSizeList
|
|
35
|
+
} = _ref,
|
|
36
|
+
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded);
|
|
37
|
+
|
|
38
|
+
const listRef = React.useRef();
|
|
39
|
+
const outerListRef = React.useRef();
|
|
40
|
+
useWindowScrollerList__default["default"]({
|
|
33
41
|
listInstance: listRef,
|
|
34
|
-
outerListRef
|
|
42
|
+
outerListRef
|
|
35
43
|
});
|
|
36
|
-
return /*#__PURE__*/
|
|
37
|
-
ref:
|
|
38
|
-
className:
|
|
44
|
+
return /*#__PURE__*/jsxRuntime.jsx(ListComponent, _objectSpread(_objectSpread({}, otherProps), {}, {
|
|
45
|
+
ref: system.mergeRefs(ref, listRef),
|
|
46
|
+
className: utils.cx(className, 'window-scroller-override'),
|
|
39
47
|
height: window.innerHeight,
|
|
40
48
|
innerRef: innerRef,
|
|
41
49
|
itemCount: itemCount,
|
|
42
50
|
itemData: itemData,
|
|
43
51
|
itemKey: itemKey,
|
|
44
52
|
itemSize: itemSize,
|
|
45
|
-
outerRef:
|
|
53
|
+
outerRef: system.mergeRefs(outerListRef, outerRef),
|
|
46
54
|
overscanCount: 10,
|
|
47
55
|
useIsScrolling: true
|
|
48
56
|
}));
|
|
49
57
|
});
|
|
50
58
|
|
|
51
59
|
exports.AutoHeightList = AutoHeightList;
|
|
52
|
-
//# sourceMappingURL=AutoHeightList.js.map
|
|
@@ -2,34 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
6
|
+
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
7
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
8
|
var React = require('react');
|
|
8
9
|
var AutoSizer = require('react-virtualized-auto-sizer');
|
|
10
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
9
11
|
|
|
10
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
13
|
|
|
12
|
-
var
|
|
14
|
+
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
15
|
+
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
13
16
|
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
14
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
17
|
var AutoSizer__default = /*#__PURE__*/_interopDefaultLegacy(AutoSizer);
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
var FluidHeightList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19
|
-
var Component = _ref.component,
|
|
20
|
-
props = _objectWithoutProperties__default['default'](_ref, _excluded);
|
|
19
|
+
const _excluded = ["component"];
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
22
|
+
|
|
23
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
24
|
+
const FluidHeightList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
25
|
+
let {
|
|
26
|
+
component: Component
|
|
27
|
+
} = _ref,
|
|
28
|
+
props = _objectWithoutProperties__default["default"](_ref, _excluded);
|
|
29
|
+
|
|
30
|
+
return /*#__PURE__*/_jsx__default["default"](AutoSizer__default["default"], {
|
|
23
31
|
disableWidth: true
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
});
|
|
32
|
+
}, void 0, ({
|
|
33
|
+
height: fluidHeight
|
|
34
|
+
}) => /*#__PURE__*/jsxRuntime.jsx(Component, _objectSpread(_objectSpread({}, props), {}, {
|
|
35
|
+
ref: ref,
|
|
36
|
+
height: fluidHeight - 32 // taking in count the margins of the list
|
|
37
|
+
|
|
38
|
+
})));
|
|
32
39
|
});
|
|
33
40
|
|
|
34
41
|
exports.FluidHeightList = FluidHeightList;
|
|
35
|
-
//# sourceMappingURL=FluidHeightList.js.map
|
|
@@ -2,26 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('@babel/runtime/helpers/extends');
|
|
8
|
-
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
9
|
-
require('react');
|
|
10
|
-
require('react-virtualized-auto-sizer');
|
|
11
|
-
require('react-window');
|
|
12
|
-
require('@elliemae/ds-utilities');
|
|
5
|
+
var FluidHeightList = require('./FluidHeightList.js');
|
|
6
|
+
var AutoHeightList = require('./AutoHeightList.js');
|
|
13
7
|
|
|
14
|
-
function getVirtualListComponent(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
if (
|
|
8
|
+
function getVirtualListComponent({
|
|
9
|
+
component: Component,
|
|
10
|
+
fluid,
|
|
11
|
+
height,
|
|
12
|
+
autoHeight
|
|
13
|
+
}) {
|
|
14
|
+
if (autoHeight) return AutoHeightList.AutoHeightList;
|
|
15
|
+
if (fluid) return FluidHeightList.FluidHeightList;
|
|
21
16
|
return Component;
|
|
22
17
|
}
|
|
23
18
|
|
|
24
|
-
exports.FluidHeightList =
|
|
25
|
-
exports.AutoHeightList =
|
|
19
|
+
exports.FluidHeightList = FluidHeightList.FluidHeightList;
|
|
20
|
+
exports.AutoHeightList = AutoHeightList.AutoHeightList;
|
|
26
21
|
exports.getVirtualListComponent = getVirtualListComponent;
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,38 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import { Transition } from 'react-spring/renderprops';
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return /*#__PURE__*/React.createElement(Transition, {
|
|
25
|
-
config: {
|
|
26
|
-
duration: duration
|
|
27
|
-
},
|
|
28
|
-
enter: enter,
|
|
29
|
-
from: from,
|
|
30
|
-
items: items,
|
|
31
|
-
keys: keys,
|
|
32
|
-
leave: leave,
|
|
33
|
-
onRest: onRest
|
|
34
|
-
}, children);
|
|
35
|
-
};
|
|
6
|
+
const BaseAnimation = ({
|
|
7
|
+
keys = undefined,
|
|
8
|
+
items = [],
|
|
9
|
+
duration = 100,
|
|
10
|
+
enter = {},
|
|
11
|
+
from = {},
|
|
12
|
+
leave = {},
|
|
13
|
+
onRest = () => null,
|
|
14
|
+
children
|
|
15
|
+
}) => /*#__PURE__*/_jsx(Transition, {
|
|
16
|
+
config: {
|
|
17
|
+
duration
|
|
18
|
+
},
|
|
19
|
+
enter: enter,
|
|
20
|
+
from: from,
|
|
21
|
+
items: items,
|
|
22
|
+
keys: keys,
|
|
23
|
+
leave: leave,
|
|
24
|
+
onRest: onRest
|
|
25
|
+
}, void 0, children);
|
|
36
26
|
|
|
37
27
|
export { BaseAnimation as default };
|
|
38
|
-
//# sourceMappingURL=BaseAnimation.js.map
|