@elliemae/ds-datagrids 2.2.0-alpha.3 → 2.2.0-alpha.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/cjs/DSDataGrid.js +4 -4
- package/cjs/DataGridImpl.js +13 -13
- package/cjs/PaginatedDataGrid.js +7 -7
- package/cjs/columns/IconColumn.js +3 -3
- package/cjs/components/BodyCell.js +3 -3
- package/cjs/components/BodyList.js +1 -1
- package/cjs/components/ColumnsOptionsMenuSection.js +1 -1
- package/cjs/components/EmptyState.js +4 -4
- package/cjs/components/HeaderCell.js +2 -2
- package/cjs/components/NoResults.js +1 -1
- package/cjs/components/RowsLoader.js +2 -2
- package/cjs/components/Table.js +5 -5
- package/cjs/components/TableBody.js +1 -1
- package/cjs/components/TableHeader.js +1 -1
- package/cjs/components/footer/addOptionalFooterComponents.js +1 -1
- package/cjs/components/header/PrimaryControls.js +2 -2
- package/cjs/components/header/addOptionalHeaderComponents.js +1 -1
- package/cjs/components/index.js +5 -5
- package/cjs/components/renderers/defaultClassedRenderers.js +2 -2
- package/cjs/components/renderers/index.js +2 -2
- package/cjs/components/renderers/renderRowsLoader.js +1 -1
- package/cjs/defaultPlugins.js +4 -4
- package/cjs/index.js +9 -9
- package/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +4 -4
- package/cjs/plugins/body-header-scroll-sync/index.js +1 -1
- package/cjs/plugins/column-dnd/DndColumnsPlugin.js +4 -4
- package/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +3 -3
- package/cjs/plugins/column-dnd/index.js +1 -1
- package/cjs/plugins/column-sizing/ColumnSizingPlugin.js +7 -7
- package/cjs/plugins/column-sizing/columnMeasurerTransformer.js +2 -2
- package/cjs/plugins/column-sizing/ext-points/decorateColumn.js +2 -2
- package/cjs/plugins/column-sizing/ext-points/getTableProps.js +3 -3
- package/cjs/plugins/column-sizing/index.js +1 -1
- package/cjs/plugins/column-sizing/useColumnSizeService.js +2 -2
- package/cjs/plugins/column-sizing/useStylesheetHelpers.js +4 -4
- package/cjs/plugins/column-sizing/utils.js +1 -1
- package/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +2 -2
- package/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +3 -3
- package/cjs/plugins/custom-cell-renderer/getRendererComponent.js +3 -3
- package/cjs/plugins/custom-cell-renderer/index.js +1 -1
- package/cjs/plugins/editable/EditableComponents/ComboBox.js +1 -1
- package/cjs/plugins/editable/EditableComponents/TextBox.js +1 -1
- package/cjs/plugins/editable/EditableComponents/index.js +2 -2
- package/cjs/plugins/editable/EditablePlugin.js +3 -3
- package/cjs/plugins/editable/decorateEditable.js +4 -4
- package/cjs/plugins/editable/getEditorComponent.js +1 -1
- package/cjs/plugins/editable/index.js +2 -2
- package/cjs/plugins/expandable-grid/ExpandableColumn.js +6 -6
- package/cjs/plugins/expandable-grid/ExpandablePlugin.js +10 -10
- package/cjs/plugins/expandable-grid/ExpandedRow.js +11 -11
- package/cjs/plugins/expandable-grid/ExpandedRowExtra.js +4 -4
- package/cjs/plugins/expandable-grid/index.js +2 -2
- package/cjs/plugins/expandable-grid/useExpandGridState.js +2 -2
- package/cjs/plugins/export-data/ExportDataPlugin.js +2 -2
- package/cjs/plugins/export-data/index.js +1 -1
- package/cjs/plugins/filterable/FilterablePlugin.js +4 -4
- package/cjs/plugins/filterable/addFilterToColumn.js +3 -3
- package/cjs/plugins/filterable/components/FilterableHeader.js +4 -4
- package/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +6 -6
- package/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +6 -6
- package/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +6 -6
- package/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +6 -6
- package/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +4 -4
- package/cjs/plugins/filterable/filterableFormatter.js +2 -2
- package/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -2
- package/cjs/plugins/filterable/helper.js +1 -1
- package/cjs/plugins/filterable/index.js +1 -1
- package/cjs/plugins/filterable/useFilterableState.js +3 -3
- package/cjs/plugins/grouping-by/GroupingByPlugin.js +2 -2
- package/cjs/plugins/grouping-grid/GroupingPlugin.js +6 -6
- package/cjs/plugins/index.js +16 -16
- package/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +2 -2
- package/cjs/plugins/infinite-scrolling/index.js +1 -1
- package/cjs/plugins/pagination/PaginationPlugin.js +6 -6
- package/cjs/plugins/pagination/components/Pagination.js +3 -3
- package/cjs/plugins/pagination/components/Paginator.js +1 -1
- package/cjs/plugins/pagination/components/PerPageDropdown.js +2 -2
- package/cjs/plugins/pagination/index.js +1 -1
- package/cjs/plugins/pagination/usePaginationState.js +2 -2
- package/cjs/plugins/resizable/ResizablePlugin.js +3 -3
- package/cjs/plugins/resizable/decorateResizable.js +2 -2
- package/cjs/plugins/resizable/index.js +1 -1
- package/cjs/plugins/resizable/utils.js +1 -1
- package/cjs/plugins/row-dnd/DndRowsPlugin.js +5 -5
- package/cjs/plugins/row-dnd/index.js +1 -1
- package/cjs/plugins/selectable/SelectablePlugin.js +6 -6
- package/cjs/plugins/selectable/addSelectableColumn.js +2 -2
- package/cjs/plugins/selectable/helper.js +1 -1
- package/cjs/plugins/selectable/index.js +1 -1
- package/cjs/plugins/selectable/selectableFormatter.js +2 -2
- package/cjs/plugins/selectable/useSelectableState.js +3 -3
- package/cjs/plugins/sortable/SortablePlugin.js +6 -6
- package/cjs/plugins/sortable/index.js +1 -1
- package/cjs/plugins/sortable/sortHeaderFormatter.js +2 -2
- package/cjs/plugins/sortable/sorter.js +1 -1
- package/cjs/plugins/sortable/useSortableState.js +2 -2
- package/cjs/plugins/toolbar/RowRenderer.js +4 -4
- package/cjs/plugins/toolbar/ToolbarPlugin.js +3 -3
- package/cjs/plugins/toolbar/ToolbarTrigger.js +2 -2
- package/cjs/plugins/toolbar/index.js +1 -1
- package/cjs/plugins/virtualization/AutoHeightList.js +2 -2
- package/cjs/plugins/virtualization/VirtualizationPlugin.js +6 -6
- package/cjs/plugins/virtualization/VirtualizedBody.js +5 -5
- package/cjs/plugins/virtualization/index.js +1 -1
- package/cjs/renders/CellWithAddons.js +4 -4
- package/cjs/renders/index.js +2 -2
- package/cjs/renders/styled.js +1 -1
- package/cjs/utilities/getPluginsFromProps.js +13 -13
- package/package.json +20 -20
|
@@ -30,6 +30,6 @@ __export(resizable_exports, {
|
|
|
30
30
|
ResizablePlugin: () => import_ResizablePlugin.ResizablePlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_ResizablePlugin =
|
|
33
|
+
var import_ResizablePlugin = require("./ResizablePlugin");
|
|
34
34
|
module.exports = __toCommonJS(resizable_exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -32,7 +32,7 @@ __export(utils_exports, {
|
|
|
32
32
|
translatePercentageToPx: () => translatePercentageToPx
|
|
33
33
|
});
|
|
34
34
|
var React = __toESM(require("react"));
|
|
35
|
-
var import_ds_utilities =
|
|
35
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
36
36
|
var import_memoize_one = __toESM(require("memoize-one"));
|
|
37
37
|
const isPercentNumber = (stringNumber) => typeof stringNumber === "string" && stringNumber.indexOf("%") !== -1;
|
|
38
38
|
const isPxNumber = (stringNumber) => typeof stringNumber === "string" && stringNumber.indexOf("px") !== -1;
|
|
@@ -31,11 +31,11 @@ __export(DndRowsPlugin_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_react = __toESM(require("react"));
|
|
34
|
-
var import_react_sortable_hoc =
|
|
35
|
-
var import_ds_icons =
|
|
36
|
-
var import_ds_utilities =
|
|
37
|
-
var import_initColumnDefinition =
|
|
38
|
-
var import_createInstancePlugin =
|
|
34
|
+
var import_react_sortable_hoc = require("react-sortable-hoc");
|
|
35
|
+
var import_ds_icons = require("@elliemae/ds-icons");
|
|
36
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
37
|
+
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
38
|
+
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
39
39
|
const keysToOmit = [
|
|
40
40
|
"axis",
|
|
41
41
|
"contentWindow",
|
|
@@ -30,6 +30,6 @@ __export(row_dnd_exports, {
|
|
|
30
30
|
DndRowsPlugin: () => import_DndRowsPlugin.DndRowsPlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_DndRowsPlugin =
|
|
33
|
+
var import_DndRowsPlugin = require("./DndRowsPlugin");
|
|
34
34
|
module.exports = __toCommonJS(row_dnd_exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -30,13 +30,13 @@ __export(SelectablePlugin_exports, {
|
|
|
30
30
|
SelectablePlugin: () => SelectablePlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_react =
|
|
33
|
+
var import_react = require("react");
|
|
34
34
|
var import_obj_str = __toESM(require("obj-str"));
|
|
35
|
-
var import_ds_utilities =
|
|
36
|
-
var import_createInstancePlugin =
|
|
37
|
-
var import_addSelectableColumn =
|
|
38
|
-
var import_useSelectableState =
|
|
39
|
-
var import_helper =
|
|
35
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
36
|
+
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
37
|
+
var import_addSelectableColumn = require("./addSelectableColumn");
|
|
38
|
+
var import_useSelectableState = require("./useSelectableState");
|
|
39
|
+
var import_helper = require("./helper");
|
|
40
40
|
const decorateColumns = (columns, grid) => {
|
|
41
41
|
const {
|
|
42
42
|
props: {
|
|
@@ -30,8 +30,8 @@ __export(addSelectableColumn_exports, {
|
|
|
30
30
|
selectionColumnCreator: () => selectionColumnCreator
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_initColumnDefinition =
|
|
34
|
-
var import_selectableFormatter =
|
|
33
|
+
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
34
|
+
var import_selectableFormatter = require("./selectableFormatter");
|
|
35
35
|
function selectionColumnCreator({
|
|
36
36
|
grid,
|
|
37
37
|
selectAll,
|
|
@@ -34,7 +34,7 @@ __export(helper_exports, {
|
|
|
34
34
|
toggleSingleSelectable: () => toggleSingleSelectable
|
|
35
35
|
});
|
|
36
36
|
var React = __toESM(require("react"));
|
|
37
|
-
var import_ds_utilities =
|
|
37
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
38
38
|
const checkAllRowsSelected = (rows, selectedRows) => {
|
|
39
39
|
if (rows.length && selectedRows.length === rows.length)
|
|
40
40
|
return true;
|
|
@@ -30,6 +30,6 @@ __export(selectable_exports, {
|
|
|
30
30
|
SelectablePlugin: () => import_SelectablePlugin.SelectablePlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_SelectablePlugin =
|
|
33
|
+
var import_SelectablePlugin = require("./SelectablePlugin");
|
|
34
34
|
module.exports = __toCommonJS(selectable_exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -32,8 +32,8 @@ __export(selectableFormatter_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
34
|
var import_react = __toESM(require("react"));
|
|
35
|
-
var import_ds_utilities =
|
|
36
|
-
var import_ds_form =
|
|
35
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
36
|
+
var import_ds_form = require("@elliemae/ds-form");
|
|
37
37
|
const SelectableWrapper = ({ className, children }) => /* @__PURE__ */ import_react.default.createElement("div", {
|
|
38
38
|
className,
|
|
39
39
|
onClick: (e) => e.stopPropagation()
|
|
@@ -30,9 +30,9 @@ __export(useSelectableState_exports, {
|
|
|
30
30
|
useSelectableState: () => useSelectableState
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_ds_utilities =
|
|
34
|
-
var import_ds_utilities2 =
|
|
35
|
-
var import_helper =
|
|
33
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
34
|
+
var import_ds_utilities2 = require("@elliemae/ds-utilities");
|
|
35
|
+
var import_helper = require("./helper");
|
|
36
36
|
function deriveSelectedStateFromPropsOnUpdate(rows) {
|
|
37
37
|
return (nextProp = {}, prevProp = {}) => {
|
|
38
38
|
if (nextProp.selectAll !== prevProp.selectAll) {
|
|
@@ -31,12 +31,12 @@ __export(SortablePlugin_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var sortabular = __toESM(require("sortabular"));
|
|
34
|
-
var import_ds_utilities =
|
|
35
|
-
var import_initColumnDefinition =
|
|
36
|
-
var import_createInstancePlugin =
|
|
37
|
-
var import_sortHeaderFormatter =
|
|
38
|
-
var import_useSortableState =
|
|
39
|
-
var import_sorter =
|
|
34
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
35
|
+
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
36
|
+
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
37
|
+
var import_sortHeaderFormatter = require("./sortHeaderFormatter");
|
|
38
|
+
var import_useSortableState = require("./useSortableState");
|
|
39
|
+
var import_sorter = require("./sorter");
|
|
40
40
|
const decorateColumn = (column, grid) => {
|
|
41
41
|
const {
|
|
42
42
|
props: { isSortableColumnActive = (col) => col.sortable, groupedRows }
|
|
@@ -30,6 +30,6 @@ __export(sortable_exports, {
|
|
|
30
30
|
SortablePlugin: () => import_SortablePlugin.SortablePlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_SortablePlugin =
|
|
33
|
+
var import_SortablePlugin = require("./SortablePlugin");
|
|
34
34
|
module.exports = __toCommonJS(sortable_exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -32,8 +32,8 @@ __export(sortHeaderFormatter_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
34
|
var import_react = __toESM(require("react"));
|
|
35
|
-
var import_ds_classnames =
|
|
36
|
-
var import_ds_icons =
|
|
35
|
+
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
36
|
+
var import_ds_icons = require("@elliemae/ds-icons");
|
|
37
37
|
const blockName = "data-grid-sort-header";
|
|
38
38
|
const SortHeaderContainer = (0, import_ds_classnames.aggregatedClasses)("div")(blockName);
|
|
39
39
|
const iconColor = ["brand-primary", 800];
|
|
@@ -31,7 +31,7 @@ __export(sorter_exports, {
|
|
|
31
31
|
sorterGroups: () => sorterGroups
|
|
32
32
|
});
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
|
-
var import_ds_utilities =
|
|
34
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
35
35
|
var import_moment = __toESM(require("moment"));
|
|
36
36
|
const sorter = ({ columns, sortingColumns, sort, emptyLast } = {}) => (data) => {
|
|
37
37
|
if (!columns) {
|
|
@@ -31,8 +31,8 @@ __export(useSortableState_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var sortabular = __toESM(require("sortabular/dist/index.js"));
|
|
34
|
-
var import_ds_utilities =
|
|
35
|
-
var import_checkIfSortable =
|
|
34
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
35
|
+
var import_checkIfSortable = require("./checkIfSortable");
|
|
36
36
|
function useSortableState(grid) {
|
|
37
37
|
const { onSort, sortingColumns: sortingColumnsProp, pagination } = grid.props;
|
|
38
38
|
const [sortingColumns, setSortingColumns] = (0, import_ds_utilities.useDerivedStateFromProps)(sortingColumnsProp);
|
|
@@ -32,10 +32,10 @@ __export(RowRenderer_exports, {
|
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_react = __toESM(require("react"));
|
|
34
34
|
var import_prop_types = __toESM(require("prop-types"));
|
|
35
|
-
var import_lodash =
|
|
36
|
-
var import_ds_utilities =
|
|
37
|
-
var import_ToolbarTrigger =
|
|
38
|
-
var import_rowSizes =
|
|
35
|
+
var import_lodash = require("lodash");
|
|
36
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
37
|
+
var import_ToolbarTrigger = require("./ToolbarTrigger");
|
|
38
|
+
var import_rowSizes = require("../../rowSizes");
|
|
39
39
|
const RowRenderer = (Row, grid) => {
|
|
40
40
|
const Wrapped = (props) => {
|
|
41
41
|
const ref = (0, import_react.useRef)();
|
|
@@ -31,9 +31,9 @@ __export(ToolbarPlugin_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_react = __toESM(require("react"));
|
|
34
|
-
var import_createInstancePlugin =
|
|
35
|
-
var import_initColumnDefinition =
|
|
36
|
-
var import_RowRenderer =
|
|
34
|
+
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
35
|
+
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
36
|
+
var import_RowRenderer = require("./RowRenderer");
|
|
37
37
|
const decorateColumns = (columns) => {
|
|
38
38
|
const lastColumn = columns[columns.length - 1];
|
|
39
39
|
return [
|
|
@@ -33,8 +33,8 @@ __export(ToolbarTrigger_exports, {
|
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
34
|
var import_react = __toESM(require("react"));
|
|
35
35
|
var import_styled_components = __toESM(require("styled-components"));
|
|
36
|
-
var import_ds_button =
|
|
37
|
-
var import_ds_icons =
|
|
36
|
+
var import_ds_button = require("@elliemae/ds-button");
|
|
37
|
+
var import_ds_icons = require("@elliemae/ds-icons");
|
|
38
38
|
const ToolbarBtns = import_styled_components.default.div`
|
|
39
39
|
& > .em-ds-toolbar {
|
|
40
40
|
box-shadow: none;
|
|
@@ -30,6 +30,6 @@ __export(toolbar_exports, {
|
|
|
30
30
|
ToolbarPlugin: () => import_ToolbarPlugin.ToolbarPlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_ToolbarPlugin =
|
|
33
|
+
var import_ToolbarPlugin = require("./ToolbarPlugin");
|
|
34
34
|
module.exports = __toCommonJS(toolbar_exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -32,8 +32,8 @@ __export(AutoHeightList_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
34
|
var import_react = __toESM(require("react"));
|
|
35
|
-
var import_react_window =
|
|
36
|
-
var import_ds_utilities =
|
|
35
|
+
var import_react_window = require("react-window");
|
|
36
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
37
37
|
const AutoHeightList = (0, import_react.forwardRef)(({
|
|
38
38
|
itemCount,
|
|
39
39
|
className,
|
|
@@ -31,12 +31,12 @@ __export(VirtualizationPlugin_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_react = __toESM(require("react"));
|
|
34
|
-
var import_lodash =
|
|
35
|
-
var import_FocusGrid =
|
|
36
|
-
var import_ds_utilities =
|
|
37
|
-
var import_ds_utilities2 =
|
|
38
|
-
var import_createInstancePlugin =
|
|
39
|
-
var import_VirtualizedBody =
|
|
34
|
+
var import_lodash = require("lodash");
|
|
35
|
+
var import_FocusGrid = require("@elliemae/ds-shared/FocusGroup/FocusGrid");
|
|
36
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
37
|
+
var import_ds_utilities2 = require("@elliemae/ds-utilities");
|
|
38
|
+
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
39
|
+
var import_VirtualizedBody = require("./VirtualizedBody");
|
|
40
40
|
const VirtualizationPlugin = (0, import_createInstancePlugin.createInstancePlugin)("virtualization", {
|
|
41
41
|
decorateRenderers(renderers, grid) {
|
|
42
42
|
const BodyWrapper = renderers.body.wrapper;
|
|
@@ -33,11 +33,11 @@ __export(VirtualizedBody_exports, {
|
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
34
|
var import_react = __toESM(require("react"));
|
|
35
35
|
var import_prop_types = __toESM(require("prop-types"));
|
|
36
|
-
var import_ds_utilities =
|
|
37
|
-
var import_NoResults =
|
|
38
|
-
var import_VirtualizedBodyRow =
|
|
39
|
-
var import_rowSizes =
|
|
40
|
-
var import_helper =
|
|
36
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
37
|
+
var import_NoResults = require("../../components/NoResults");
|
|
38
|
+
var import_VirtualizedBodyRow = require("./VirtualizedBodyRow");
|
|
39
|
+
var import_rowSizes = require("../../rowSizes");
|
|
40
|
+
var import_helper = require("./helper");
|
|
41
41
|
const wrapperSafari = {};
|
|
42
42
|
const wrapperGeneric = { overflowY: "auto", overflowX: "visible" };
|
|
43
43
|
const VirtualizedBody = (props) => {
|
|
@@ -30,6 +30,6 @@ __export(virtualization_exports, {
|
|
|
30
30
|
VirtualizationPlugin: () => import_VirtualizationPlugin.VirtualizationPlugin
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_VirtualizationPlugin =
|
|
33
|
+
var import_VirtualizationPlugin = require("./VirtualizationPlugin");
|
|
34
34
|
module.exports = __toCommonJS(virtualization_exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -31,11 +31,11 @@ __export(CellWithAddons_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_react = __toESM(require("react"));
|
|
34
|
-
var import_lodash =
|
|
34
|
+
var import_lodash = require("lodash");
|
|
35
35
|
var import_prop_types = __toESM(require("prop-types"));
|
|
36
|
-
var import_ds_grid =
|
|
37
|
-
var import_ds_truncated_tooltip_text =
|
|
38
|
-
var import_styled =
|
|
36
|
+
var import_ds_grid = require("@elliemae/ds-grid");
|
|
37
|
+
var import_ds_truncated_tooltip_text = require("@elliemae/ds-truncated-tooltip-text");
|
|
38
|
+
var import_styled = require("./styled");
|
|
39
39
|
const CellWithAddons = ({
|
|
40
40
|
leftAddon,
|
|
41
41
|
keepLeftPadding,
|
package/cjs/renders/index.js
CHANGED
|
@@ -31,7 +31,7 @@ __export(renders_exports, {
|
|
|
31
31
|
CellWithAddons: () => import_CellWithAddons.CellWithAddons
|
|
32
32
|
});
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
|
-
var import_CellWithAddons =
|
|
35
|
-
var import_styled =
|
|
34
|
+
var import_CellWithAddons = require("./CellWithAddons");
|
|
35
|
+
var import_styled = require("./styled");
|
|
36
36
|
module.exports = __toCommonJS(renders_exports);
|
|
37
37
|
//# sourceMappingURL=index.js.map
|
package/cjs/renders/styled.js
CHANGED
|
@@ -33,7 +33,7 @@ __export(styled_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
var React = __toESM(require("react"));
|
|
35
35
|
var import_styled_components = __toESM(require("styled-components"));
|
|
36
|
-
var import_ds_grid =
|
|
36
|
+
var import_ds_grid = require("@elliemae/ds-grid");
|
|
37
37
|
const m = "0.61538rem";
|
|
38
38
|
const m2 = "1.23076rem";
|
|
39
39
|
const CellWrapper = import_styled_components.default.div`
|
|
@@ -31,19 +31,19 @@ __export(getPluginsFromProps_exports, {
|
|
|
31
31
|
getPluginsFromProps: () => getPluginsFromProps
|
|
32
32
|
});
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
|
-
var import_DndRowsPlugin =
|
|
35
|
-
var import_DndColumnsPlugin =
|
|
36
|
-
var import_InfiniteScrollPlugin =
|
|
37
|
-
var import_EditablePlugin =
|
|
38
|
-
var import_SortablePlugin =
|
|
39
|
-
var import_SelectablePlugin =
|
|
40
|
-
var import_FilterablePlugin =
|
|
41
|
-
var import_ToolbarPlugin =
|
|
42
|
-
var import_PaginationPlugin =
|
|
43
|
-
var import_VirtualizationPlugin =
|
|
44
|
-
var import_ExpandablePlugin =
|
|
45
|
-
var import_GroupingPlugin =
|
|
46
|
-
var import_GroupingByPlugin =
|
|
34
|
+
var import_DndRowsPlugin = require("../plugins/row-dnd/DndRowsPlugin");
|
|
35
|
+
var import_DndColumnsPlugin = require("../plugins/column-dnd/DndColumnsPlugin");
|
|
36
|
+
var import_InfiniteScrollPlugin = require("../plugins/infinite-scrolling/InfiniteScrollPlugin");
|
|
37
|
+
var import_EditablePlugin = require("../plugins/editable/EditablePlugin");
|
|
38
|
+
var import_SortablePlugin = require("../plugins/sortable/SortablePlugin");
|
|
39
|
+
var import_SelectablePlugin = require("../plugins/selectable/SelectablePlugin");
|
|
40
|
+
var import_FilterablePlugin = require("../plugins/filterable/FilterablePlugin");
|
|
41
|
+
var import_ToolbarPlugin = require("../plugins/toolbar/ToolbarPlugin");
|
|
42
|
+
var import_PaginationPlugin = require("../plugins/pagination/PaginationPlugin");
|
|
43
|
+
var import_VirtualizationPlugin = require("../plugins/virtualization/VirtualizationPlugin");
|
|
44
|
+
var import_ExpandablePlugin = require("../plugins/expandable-grid/ExpandablePlugin");
|
|
45
|
+
var import_GroupingPlugin = require("../plugins/grouping-grid/GroupingPlugin");
|
|
46
|
+
var import_GroupingByPlugin = require("../plugins/grouping-by/GroupingByPlugin");
|
|
47
47
|
const mapPropToPlugin = {
|
|
48
48
|
dragAndDropColumns: import_DndColumnsPlugin.DndColumnsPlugin,
|
|
49
49
|
editable: import_EditablePlugin.EditablePlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-datagrids",
|
|
3
|
-
"version": "2.2.0-alpha.
|
|
3
|
+
"version": "2.2.0-alpha.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Grids",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -541,25 +541,25 @@
|
|
|
541
541
|
"generateSubmodules": true
|
|
542
542
|
},
|
|
543
543
|
"dependencies": {
|
|
544
|
-
"@elliemae/ds-basic": "2.2.0-alpha.
|
|
545
|
-
"@elliemae/ds-button": "2.2.0-alpha.
|
|
546
|
-
"@elliemae/ds-classnames": "2.2.0-alpha.
|
|
547
|
-
"@elliemae/ds-controlled-form": "2.2.0-alpha.
|
|
548
|
-
"@elliemae/ds-datagrids": "2.2.0-alpha.
|
|
549
|
-
"@elliemae/ds-dropdownmenu": "2.2.0-alpha.
|
|
550
|
-
"@elliemae/ds-filterbar": "2.2.0-alpha.
|
|
551
|
-
"@elliemae/ds-form": "2.2.0-alpha.
|
|
552
|
-
"@elliemae/ds-grid": "2.2.0-alpha.
|
|
553
|
-
"@elliemae/ds-icons": "2.2.0-alpha.
|
|
554
|
-
"@elliemae/ds-menu": "2.2.0-alpha.
|
|
555
|
-
"@elliemae/ds-popper": "2.2.0-alpha.
|
|
556
|
-
"@elliemae/ds-separator": "2.2.0-alpha.
|
|
557
|
-
"@elliemae/ds-shared": "2.2.0-alpha.
|
|
558
|
-
"@elliemae/ds-spinner": "2.2.0-alpha.
|
|
559
|
-
"@elliemae/ds-system": "2.2.0-alpha.
|
|
560
|
-
"@elliemae/ds-toolbar": "2.2.0-alpha.
|
|
561
|
-
"@elliemae/ds-truncated-tooltip-text": "2.2.0-alpha.
|
|
562
|
-
"@elliemae/ds-utilities": "2.2.0-alpha.
|
|
544
|
+
"@elliemae/ds-basic": "2.2.0-alpha.4",
|
|
545
|
+
"@elliemae/ds-button": "2.2.0-alpha.4",
|
|
546
|
+
"@elliemae/ds-classnames": "2.2.0-alpha.4",
|
|
547
|
+
"@elliemae/ds-controlled-form": "2.2.0-alpha.4",
|
|
548
|
+
"@elliemae/ds-datagrids": "2.2.0-alpha.4",
|
|
549
|
+
"@elliemae/ds-dropdownmenu": "2.2.0-alpha.4",
|
|
550
|
+
"@elliemae/ds-filterbar": "2.2.0-alpha.4",
|
|
551
|
+
"@elliemae/ds-form": "2.2.0-alpha.4",
|
|
552
|
+
"@elliemae/ds-grid": "2.2.0-alpha.4",
|
|
553
|
+
"@elliemae/ds-icons": "2.2.0-alpha.4",
|
|
554
|
+
"@elliemae/ds-menu": "2.2.0-alpha.4",
|
|
555
|
+
"@elliemae/ds-popper": "2.2.0-alpha.4",
|
|
556
|
+
"@elliemae/ds-separator": "2.2.0-alpha.4",
|
|
557
|
+
"@elliemae/ds-shared": "2.2.0-alpha.4",
|
|
558
|
+
"@elliemae/ds-spinner": "2.2.0-alpha.4",
|
|
559
|
+
"@elliemae/ds-system": "2.2.0-alpha.4",
|
|
560
|
+
"@elliemae/ds-toolbar": "2.2.0-alpha.4",
|
|
561
|
+
"@elliemae/ds-truncated-tooltip-text": "2.2.0-alpha.4",
|
|
562
|
+
"@elliemae/ds-utilities": "2.2.0-alpha.4",
|
|
563
563
|
"comparejs": "~1.0.3",
|
|
564
564
|
"memoize-one": "~5.1.1",
|
|
565
565
|
"moment": "~2.29.1",
|