rez-table-listing-mui 1.3.0 → 1.3.2
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 +100 -13
- 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/index.ts +1 -0
- package/src/listing/components/filter/components/search/index.tsx +2 -2
- package/src/listing/libs/hooks/useEntityTableAPI.tsx +2 -2
- package/src/listing/libs/utils/apiColumn.ts +1 -1
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -40,7 +40,7 @@ const CustomSearch = ({
|
|
|
40
40
|
startAdornment: (
|
|
41
41
|
<InputAdornment position="start">
|
|
42
42
|
<SearchIcon
|
|
43
|
-
sx={{ color: "#888888", fontSize: "20px" }}
|
|
43
|
+
sx={{ color: "#888888", fontSize: "20px", paddingLeft: 1.5 }}
|
|
44
44
|
className="search-icon-svg"
|
|
45
45
|
/>
|
|
46
46
|
</InputAdornment>
|
|
@@ -50,7 +50,7 @@ const CustomSearch = ({
|
|
|
50
50
|
<IconButton
|
|
51
51
|
edge="end"
|
|
52
52
|
onClick={handleClear}
|
|
53
|
-
sx={{ color: "#888888", fontSize: "20px" }}
|
|
53
|
+
sx={{ color: "#888888", fontSize: "20px", paddingRight: 1.5 }}
|
|
54
54
|
>
|
|
55
55
|
<CloseIcon />
|
|
56
56
|
</IconButton>
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
commonGetDropdownDataAPI,
|
|
16
16
|
createSavedFilter,
|
|
17
17
|
deleteSavedFilter,
|
|
18
|
-
|
|
18
|
+
getFilterEntityList,
|
|
19
19
|
getFilterCriteriaByEntity,
|
|
20
20
|
getSettingsData,
|
|
21
21
|
saveSettingsData,
|
|
@@ -310,7 +310,7 @@ export const useGetFilterEntityListAndCriteria = ({
|
|
|
310
310
|
}) => {
|
|
311
311
|
const filterEntityList = useQuery({
|
|
312
312
|
queryKey: ["filterEntityList", entity_type],
|
|
313
|
-
queryFn: () =>
|
|
313
|
+
queryFn: () => getFilterEntityList(entity_type),
|
|
314
314
|
enabled: !!entity_type,
|
|
315
315
|
});
|
|
316
316
|
|
|
@@ -162,7 +162,7 @@ export const viewSettingsDropDown = async ({
|
|
|
162
162
|
return response.data;
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
export const
|
|
165
|
+
export const getFilterEntityList = async (entity_type: string) => {
|
|
166
166
|
const response = await api.get(`/entity-relation/${entity_type}`);
|
|
167
167
|
|
|
168
168
|
return response.data;
|