rez-table-listing-mui 1.2.15 → 1.2.17
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/index.d.ts +8 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/svg.tsx +2 -1
- package/src/kanban/index.tsx +11 -2
- package/src/listing/components/common/index.scss +1 -1
- package/src/listing/components/filter/components/attributes-filter.tsx +156 -50
- package/src/listing/components/filter/components/forms/components/Filter-criteria.tsx +21 -2
- package/src/listing/components/filter/components/forms/index.tsx +29 -9
- package/src/listing/components/filter/components/main-filter.tsx +16 -1
- package/src/listing/components/filter/components/saved-edit-filter.tsx +27 -0
- package/src/listing/components/filter/components/saved-filter.tsx +66 -25
- package/src/listing/components/filter/index.tsx +56 -44
- package/src/listing/components/index.scss +1 -3
- package/src/listing/components/login/index.tsx +1 -1
- package/src/listing/components/table-head.tsx +2 -6
- package/src/listing/components/table-settings/components/column.tsx +0 -5
- package/src/listing/components/table-settings/components/group-by.tsx +3 -5
- package/src/listing/components/table-settings/components/lane.tsx +2 -4
- package/src/listing/components/table-settings/components/sorting.tsx +0 -2
- package/src/listing/components/tabs/index.scss +1 -1
- package/src/listing/components/topbar/index.scss +0 -1
- package/src/listing/components/topbar/index.tsx +66 -20
- package/src/listing/libs/hooks/useEntityTableAPI.tsx +66 -5
- package/src/listing/libs/hooks/useGetNavigationLayoutAPI.tsx +12 -0
- package/src/listing/libs/services/getLayoutAPI.tsx +17 -0
- package/src/listing/libs/services/saveLayoutAPI.tsx +20 -0
- package/src/listing/libs/utils/apiColumn.ts +2 -2
- package/src/listing/libs/utils/common.ts +1 -0
- package/src/listing/types/common.ts +8 -0
- package/src/listing/types/filter.ts +13 -0
- package/src/view/FIlterWrapper.tsx +46 -0
- package/src/view/ListingView.tsx +18 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { SortingState, PaginationState, RowSelectionState, ExpandedState, ColumnPinningState, ColumnDef, Row, Table, ColumnOrderState, Header } from '@tanstack/react-table';
|
|
3
3
|
import React, { Dispatch, SetStateAction } from 'react';
|
|
4
4
|
|
|
5
|
+
interface onFilterChangeFunctionProps {
|
|
6
|
+
updatedFilters?: any;
|
|
7
|
+
filterMaster?: any;
|
|
8
|
+
filters?: any;
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
interface OperationProps {
|
|
6
12
|
label: string;
|
|
7
13
|
value: string;
|
|
@@ -71,6 +77,7 @@ interface FilterDrawerProps {
|
|
|
71
77
|
tableData?: {
|
|
72
78
|
entity_list: any[];
|
|
73
79
|
};
|
|
80
|
+
onChangeFunction: ({ updatedFilters, filterMaster, }: onFilterChangeFunctionProps) => void;
|
|
74
81
|
}
|
|
75
82
|
interface FilterStateProps {
|
|
76
83
|
filter_attribute: string;
|
|
@@ -328,7 +335,7 @@ interface TableTabsProps {
|
|
|
328
335
|
}
|
|
329
336
|
declare function TableTabs({ loading, tabsData, activeTab, onClick, tableStates, settingsOptions, }: TableTabsProps): react_jsx_runtime.JSX.Element;
|
|
330
337
|
|
|
331
|
-
declare function TableFilter({ onClose, columnsData, tableStates, onDeleteFilter, onSaveFilter, onUpdateFilter, dropdownData, }: FilterDrawerProps): react_jsx_runtime.JSX.Element;
|
|
338
|
+
declare function TableFilter({ onClose, columnsData, tableStates, onDeleteFilter, onSaveFilter, onUpdateFilter, dropdownData, onChangeFunction, }: FilterDrawerProps): react_jsx_runtime.JSX.Element;
|
|
332
339
|
|
|
333
340
|
declare function QuickFilterSettings({ view, show, filterSettingStates, onClose, columnsData, columnsDataLoading, tabsApiData, tabsApiDataLoading, onSaveSettingsData, }: QuickFilterModalProps): react_jsx_runtime.JSX.Element;
|
|
334
341
|
|