Index: backoffice/index.html
===================================================================
diff -u -r157868fefd617f414747e9baca3ab6d7f7f78007 -r20cf7806e29d6737ed521d4204eba88b77fe0619
--- backoffice/index.html (.../index.html) (revision 157868fefd617f414747e9baca3ab6d7f7f78007)
+++ backoffice/index.html (.../index.html) (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -1,6 +1,6 @@
-
+
@@ -51,9 +51,9 @@
-
-
-
-
-
+
+
+
+
+
Index: backoffice/package.json
===================================================================
diff -u -r157868fefd617f414747e9baca3ab6d7f7f78007 -r20cf7806e29d6737ed521d4204eba88b77fe0619
--- backoffice/package.json (.../package.json) (revision 157868fefd617f414747e9baca3ab6d7f7f78007)
+++ backoffice/package.json (.../package.json) (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -15,10 +15,9 @@
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
- "@tanstack/react-query": "^5.45.1",
+ "@reduxjs/toolkit": "^2.2.7",
"@tanstack/react-table": "^8.17.3",
"animate.css": "4.1.1",
- "axios": "^1.7.2",
"bootstrap": "^5.3.3",
"classnames": "^2.5.1",
"d3": "^7.9.0",
@@ -28,11 +27,11 @@
"react-bootstrap": "^2.10.3",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.0",
+ "react-redux": "^9.1.2",
"react-router-dom": "^6.23.1",
"react-select": "^5.8.0",
"react-toastify": "^10.0.5",
"react-transition-group": "^4.4.5",
- "recoil": "^0.7.7",
"sass": "^1.77.6",
"uuid": "^10.0.0"
},
Index: backoffice/src/main.jsx
===================================================================
diff -u -r157868fefd617f414747e9baca3ab6d7f7f78007 -r20cf7806e29d6737ed521d4204eba88b77fe0619
--- backoffice/src/main.jsx (.../main.jsx) (revision 157868fefd617f414747e9baca3ab6d7f7f78007)
+++ backoffice/src/main.jsx (.../main.jsx) (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -1,16 +1,12 @@
import ReactDOM from 'react-dom/client';
-import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
-import { RecoilRoot } from 'recoil';
+import { store } from './store';
+import { Provider } from 'react-redux';
import './styles/application.scss';
import App from '@/App';
-const queryClient = new QueryClient();
-
ReactDOM.createRoot(document.getElementById('root')).render(
-
-
-
-
- ,
+
+
+ ,
);
Index: backoffice/src/pages/Security/AccessControl/AccessControl.jsx
===================================================================
diff -u -r157868fefd617f414747e9baca3ab6d7f7f78007 -r20cf7806e29d6737ed521d4204eba88b77fe0619
--- backoffice/src/pages/Security/AccessControl/AccessControl.jsx (.../AccessControl.jsx) (revision 157868fefd617f414747e9baca3ab6d7f7f78007)
+++ backoffice/src/pages/Security/AccessControl/AccessControl.jsx (.../AccessControl.jsx) (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -7,10 +7,9 @@
import PageHeader from '@/components/PageHeader';
import Widget from '@/components/Widget';
import Table from '@/components/Table';
+
import { users } from '@/pages/Security/User/mock';
-import { roles } from '@/pages/Security/Role/mock';
import { columns as userColumns } from '@/pages/Security/User/Tabs/List';
-import { columns as roleColumns } from '@/pages/Security/Role/Tabs/List';
const columnHelper = createColumnHelper();
@@ -122,22 +121,6 @@
/>
-
-
-
-
-
-
-
>
);
}
Index: backoffice/src/pages/Security/Role/Role.jsx
===================================================================
diff -u -r157868fefd617f414747e9baca3ab6d7f7f78007 -r20cf7806e29d6737ed521d4204eba88b77fe0619
--- backoffice/src/pages/Security/Role/Role.jsx (.../Role.jsx) (revision 157868fefd617f414747e9baca3ab6d7f7f78007)
+++ backoffice/src/pages/Security/Role/Role.jsx (.../Role.jsx) (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -1,9 +1,7 @@
import PageHeader from '@/components/PageHeader';
import Widget from '@/components/Widget';
-import { Tab, Tabs } from 'react-bootstrap';
import RoleList from './Tabs/List';
-import AddRole from './Tabs/Add';
function Role() {
return (
@@ -13,15 +11,7 @@
-
-
-
-
-
-
-
-
-
+
>
Index: backoffice/src/pages/Security/User/User.jsx
===================================================================
diff -u -r157868fefd617f414747e9baca3ab6d7f7f78007 -r20cf7806e29d6737ed521d4204eba88b77fe0619
--- backoffice/src/pages/Security/User/User.jsx (.../User.jsx) (revision 157868fefd617f414747e9baca3ab6d7f7f78007)
+++ backoffice/src/pages/Security/User/User.jsx (.../User.jsx) (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -1,11 +1,7 @@
-import { Tabs, Tab } from 'react-bootstrap';
-
import PageHeader from '@/components/PageHeader';
import Widget from '@/components/Widget';
import UserList from './Tabs/List';
-import AddUser from './Tabs/Add';
-import InviteUser from './Tabs/Invite';
function User() {
return (
@@ -15,19 +11,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
>
Index: backoffice/src/store.js
===================================================================
diff -u
--- backoffice/src/store.js (revision 0)
+++ backoffice/src/store.js (revision 20cf7806e29d6737ed521d4204eba88b77fe0619)
@@ -0,0 +1,5 @@
+import { configureStore } from '@reduxjs/toolkit';
+
+export const store = configureStore({
+ reducer: {},
+});