@asaleh37/ui-base 1.2.0 → 1.2.1

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.
Files changed (51) hide show
  1. package/dist/index.d.ts +12 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +1 -1
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/src/components/admin/AttachmentGrid.tsx +1 -1
  8. package/src/components/admin/AuthorityGrid.tsx +1 -1
  9. package/src/components/admin/BluePrintGrid.tsx +1 -1
  10. package/src/components/admin/BluePrintPageGrid.tsx +1 -1
  11. package/src/components/admin/BluePrintPointGrid.tsx +1 -1
  12. package/src/components/admin/DashboardGrid.tsx +1 -1
  13. package/src/components/admin/DashboardWidgetGrid.tsx +1 -1
  14. package/src/components/admin/DataQueryGrid.tsx +1 -1
  15. package/src/components/admin/DataQueryParameterGrid.tsx +1 -1
  16. package/src/components/admin/DatasourceConnectionGrid.tsx +1 -1
  17. package/src/components/admin/EmployeeGrid.tsx +1 -1
  18. package/src/components/admin/EntityParameterGrid.tsx +1 -1
  19. package/src/components/admin/ExcelUploaderDetailGrid.tsx +1 -1
  20. package/src/components/admin/ExcelUploaderHeaderGrid.tsx +1 -1
  21. package/src/components/admin/LookupGrid.tsx +1 -1
  22. package/src/components/admin/MailAttachmentGrid.tsx +1 -1
  23. package/src/components/admin/MailBodyGrid.tsx +1 -1
  24. package/src/components/admin/MailNotificationQueueGrid.tsx +1 -1
  25. package/src/components/admin/MailRecipientGrid.tsx +1 -1
  26. package/src/components/admin/MailTemplateGrid.tsx +1 -1
  27. package/src/components/admin/NewTableGrid.tsx +1 -1
  28. package/src/components/admin/NotificationGrid.tsx +1 -1
  29. package/src/components/admin/NotificationQueueGrid.tsx +1 -1
  30. package/src/components/admin/OrganizationApplicationGrid.tsx +1 -1
  31. package/src/components/admin/OrganizationGrid.tsx +1 -1
  32. package/src/components/admin/OrganizationRankGrid.tsx +1 -1
  33. package/src/components/admin/OrganizationUnitGrid.tsx +1 -1
  34. package/src/components/admin/OrganizationUserGrid.tsx +1 -1
  35. package/src/components/admin/OrganizationUserRoleGrid.tsx +1 -1
  36. package/src/components/admin/ReportGrid.tsx +1 -1
  37. package/src/components/admin/ReportParameterGrid.tsx +1 -1
  38. package/src/components/admin/RoleAuthorityGrid.tsx +1 -1
  39. package/src/components/admin/RoleGrid.tsx +1 -1
  40. package/src/components/admin/UserAccountGrid.tsx +1 -1
  41. package/src/components/admin/UserRequestGrid.tsx +1 -1
  42. package/src/components/admin/WidgetGrid.tsx +1 -1
  43. package/src/components/admin/WorkflowDocumentActionGrid.tsx +1 -1
  44. package/src/components/admin/WorkflowDocumentActionHistoryGrid.tsx +1 -1
  45. package/src/components/admin/WorkflowDocumentActionMailGrid.tsx +1 -1
  46. package/src/components/admin/WorkflowDocumentGrid.tsx +1 -1
  47. package/src/components/admin/WorkflowDocumentMailLogGrid.tsx +1 -1
  48. package/src/components/admin/WorkflowDocumentStatusGrid.tsx +1 -1
  49. package/src/components/templates/DataEntryTemplates/DataEntryTypes.ts +1 -1
  50. package/src/hooks/index.ts +1 -0
  51. package/src/{components/templates/DataEntryTemplates → hooks}/useApiActions.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
2
+ import useApiActions from "../../hooks/useApiActions";
3
3
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
4
4
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const AuthorityGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const BluePrintGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const BluePrintPageGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const BluePrintPointGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const DashboardGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const DashboardWidgetGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const DataQueryGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const DataQueryParameterGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const DatasourceConnectionGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const EmployeeGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const EntityParameterGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const ExcelUploaderDetailGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const ExcelUploaderHeaderGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const LookupGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const MailAttachmentGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const MailBodyGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const MailNotificationQueueGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const MailRecipientGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const MailTemplateGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const NewTableGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const NotificationGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const NotificationQueueGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const OrganizationApplicationGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const OrganizationGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const OrganizationRankGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const OrganizationUnitGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const OrganizationUserGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const OrganizationUserRoleGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const ReportGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const ReportParameterGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const RoleAuthorityGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const RoleGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const UserAccountGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const UserRequestGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WidgetGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WorkflowDocumentActionGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WorkflowDocumentActionHistoryGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WorkflowDocumentActionMailGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WorkflowDocumentGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WorkflowDocumentMailLogGrid: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import { useState } from "react";
2
2
  import TemplateGrid from "../templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid";
3
- import useApiActions from "../templates/DataEntryTemplates/useApiActions";
3
+ import useApiActions from "../../hooks/useApiActions";
4
4
  import { FormElementProps } from "../templates/DataEntryTemplates/DataEntryTypes";
5
5
 
6
6
  const WorkflowDocumentStatusGrid: React.FC = () => {
@@ -8,7 +8,7 @@ import {
8
8
  } from "@mui/x-data-grid-premium";
9
9
  import { UseFormReturn } from "react-hook-form";
10
10
  import { SxProps } from "@mui/material";
11
- import { ApiActions } from "./useApiActions";
11
+ import { ApiActions } from "../../../hooks/useApiActions";
12
12
  export type MakeOptional<T, K extends keyof T> = Omit<T, K> &
13
13
  Partial<Pick<T, K>>;
14
14
 
@@ -4,3 +4,4 @@ export { default as useLoadingMask } from "./useLoadingMask";
4
4
  export { useIsMobile } from "./UseMobile";
5
5
  export { default as useSession } from "./UseSession";
6
6
  export { useWindow } from "./UseWindow";
7
+ export { default as useApiActions } from "./useApiActions";
@@ -1,8 +1,8 @@
1
1
  import { useDispatch, useSelector } from "react-redux";
2
- import { RootState } from "../../../redux/store";
3
- import useSession from "../../../hooks/UseSession";
4
- import useAxios from "../../../hooks/useAxios";
5
- import { setStoreData } from "../../../redux/features/common/CommonStoreSlice";
2
+ import { RootState } from "../redux/store";
3
+ import useSession from "./UseSession";
4
+ import useAxios from "./useAxios";
5
+ import { setStoreData } from "../redux/features/common/CommonStoreSlice";
6
6
 
7
7
  export type ApiActionsProps = {
8
8
  findAll?: string;