eleven-solutions-common-website-unique-web 23.0.11 → 23.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/admin/Sidebar.d.ts +2 -2
- package/dist/components/admin/Sidebar.js +1 -2
- package/dist/components/admin/Taxionomies.d.ts +2 -2
- package/dist/components/admin/Taxionomies.js +1 -2
- package/dist/components/admin/TaxonomyForm.d.ts +2 -2
- package/dist/components/admin/TaxonomyForm.js +1 -2
- package/dist/components/admin/Template.d.ts +2 -2
- package/dist/components/admin/Template.js +1 -2
- package/dist/components/admin/TemplateForm.d.ts +2 -2
- package/dist/components/admin/TemplateForm.js +1 -2
- package/dist/components/admin/UserForm.d.ts +2 -2
- package/dist/components/admin/UserForm.js +1 -2
- package/dist/components/admin/Users.d.ts +2 -2
- package/dist/components/admin/Users.js +1 -2
- package/dist/components/admin/index.js +0 -8
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { useState } from "react";
|
3
3
|
import { FiMenu } from "react-icons/fi";
|
4
|
-
const Dashboard = ({ menuGroups, logo
|
4
|
+
export const Dashboard = ({ menuGroups, logo }) => {
|
5
5
|
const [isSidebarOpen, setIsSidebarOpen] = useState(false);
|
6
6
|
const [activeItem, setActiveItem] = useState(null);
|
7
7
|
const toggleSidebar = () => {
|
@@ -19,4 +19,3 @@ const Dashboard = ({ menuGroups, logo, }) => {
|
|
19
19
|
? "bg-gray-300 text-gray-800"
|
20
20
|
: "hover:bg-gray-100 text-gray-700"}`, onClick: () => handleItemClick(item.label, item.onClick), children: [_jsx("span", { className: "text-gray-500 text-lg", children: item.icon }), _jsx("span", { className: "font-medium", children: item.label })] }, idx))) })] }, index)))] })] }));
|
21
21
|
};
|
22
|
-
export default Dashboard;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface TaxionomiesProps {
|
2
2
|
url: string;
|
3
3
|
}
|
4
|
-
declare const Taxionomies: ({ url }: TaxionomiesProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
-
export
|
4
|
+
export declare const Taxionomies: ({ url }: TaxionomiesProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export {};
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
11
11
|
import { useState, useEffect } from "react";
|
12
12
|
import { fetchTaxonomiessApi } from "../api/taxonomy";
|
13
|
-
const Taxionomies = ({ url }) => {
|
13
|
+
export const Taxionomies = ({ url }) => {
|
14
14
|
const [taxonomy, setTaxonomy] = useState([]);
|
15
15
|
const fetchTaxonomiesData = () => __awaiter(void 0, void 0, void 0, function* () {
|
16
16
|
const data = yield fetchTaxonomiessApi(url);
|
@@ -70,4 +70,3 @@ const Taxionomies = ({ url }) => {
|
|
70
70
|
? "text-blue-500 bg-blue-100"
|
71
71
|
: "text-gray-500 hover:bg-gray-100"} rounded-md`, children: index + 1 }, index + 1))) }), _jsxs("button", { onClick: handleNextPage, disabled: currentPage === totalPages, className: "flex items-center px-5 py-2 text-sm text-gray-700 capitalize transition-colors duration-200 bg-white border rounded-md gap-x-2 hover:bg-gray-100 dark:bg-gray-900 dark:text-gray-200 dark:border-gray-700 dark:hover:bg-gray-800", children: [_jsx("span", { children: "Next" }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", className: "w-5 h-5 rtl:-scale-x-100", children: _jsx("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }) })] })] })] })] }));
|
72
72
|
};
|
73
|
-
export default Taxionomies;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface TaxionomyFormProps {
|
2
2
|
url: string;
|
3
3
|
}
|
4
|
-
declare const TaxonomyForm: ({ url }: TaxionomyFormProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
-
export
|
4
|
+
export declare const TaxonomyForm: ({ url }: TaxionomyFormProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export {};
|
@@ -13,7 +13,7 @@ import { useState, useEffect } from "react";
|
|
13
13
|
import { addTaxonomyApi, fetchTaxonomyByIdApi, updateTaxonomyApi, fetchTaxonomiessApi, deleteTaxonomyApi, addSubTypeApi, } from "../api/taxonomy";
|
14
14
|
import { FaPlus } from "react-icons/fa";
|
15
15
|
import toast from "react-hot-toast";
|
16
|
-
const TaxonomyForm = ({ url }) => {
|
16
|
+
export const TaxonomyForm = ({ url }) => {
|
17
17
|
const [type, setType] = useState("");
|
18
18
|
const [code, setCode] = useState("");
|
19
19
|
const [value, setValue] = useState("");
|
@@ -262,4 +262,3 @@ const TaxonomyForm = ({ url }) => {
|
|
262
262
|
? "Edit Values"
|
263
263
|
: "Add Values" }), _jsx("button", { onClick: handleCloseModal, className: "text-xl text-gray-600 dark:text-gray-400 h-6 w-6", children: "\u00D7" })] }), isAddingSubType ? (_jsxs(_Fragment, { children: [_jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Code" }), _jsx("input", { type: "number", value: subCode, onChange: (e) => setSubCode(e.target.value), placeholder: "Enter Code", className: "w-full px-4 py-2 mt-2 mb-4 border border-gray-300 rounded-md" }), _jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Value" }), _jsx("input", { type: "text", value: subValue, onChange: (e) => setSubValue(e.target.value), placeholder: "Enter Value", className: "w-full px-4 py-2 mt-2 mb-4 border border-gray-300 rounded-md" }), _jsxs("div", { className: "flex space-x-4 justify-end", children: [_jsx("button", { onClick: handleSubTypeSubmitClick, className: "px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-blue-600 rounded-md hover:bg-blue-500 focus:outline-none focus:bg-gray-600", children: editTaxonomyItem ? "Edit" : "Add" }), _jsx("button", { onClick: handleCloseModal, className: "px-8 py-2.5 leading-5 bg-gray-300 rounded-md", children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Code" }), _jsx("input", { type: "number", value: newCode, onChange: (e) => setNewCode(e.target.value), placeholder: "Enter Code", className: "w-full px-4 py-2 mt-2 mb-4 border border-gray-300 rounded-md" }), _jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Value" }), _jsx("input", { type: "text", value: newValue, onChange: (e) => setNewValue(e.target.value), placeholder: "Enter Value", className: "w-full px-4 py-2 mt-2 mb-4 border border-gray-300 rounded-md" }), _jsxs("div", { className: "flex space-x-4 justify-end", children: [_jsx("button", { onClick: handleSubmitClick, className: "px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-blue-600 rounded-md hover:bg-blue-500 focus:outline-none focus:bg-gray-600", children: editTaxonomyItem ? "Edit" : "Add" }), _jsx("button", { onClick: handleCloseModal, className: "px-8 py-2.5 leading-5 bg-gray-300 rounded-md", children: "Cancel" })] })] }))] }) })] })) }) }));
|
264
264
|
};
|
265
|
-
export default TaxonomyForm;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface TemplateProps {
|
2
2
|
url: string;
|
3
3
|
}
|
4
|
-
declare const Template: ({ url }: TemplateProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
-
export
|
4
|
+
export declare const Template: ({ url }: TemplateProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export {};
|
@@ -12,7 +12,7 @@ import { useState, useEffect } from "react";
|
|
12
12
|
import { FaPlus } from "react-icons/fa";
|
13
13
|
import { fetchTemplatesApi, deleteTemplateApi } from "../api/template";
|
14
14
|
import toast from "react-hot-toast";
|
15
|
-
const Template = ({ url }) => {
|
15
|
+
export const Template = ({ url }) => {
|
16
16
|
const [templates, setTemplates] = useState([]);
|
17
17
|
const fetchTemplatesData = () => __awaiter(void 0, void 0, void 0, function* () {
|
18
18
|
const data = yield fetchTemplatesApi(url);
|
@@ -70,4 +70,3 @@ const Template = ({ url }) => {
|
|
70
70
|
? "text-blue-500 bg-blue-100"
|
71
71
|
: "text-gray-500 hover:bg-gray-100"} rounded-md`, children: index + 1 }, index + 1))) }), _jsxs("button", { onClick: handleNextPage, disabled: currentPage === totalPages, className: "flex items-center px-5 py-2 text-sm text-gray-700 capitalize transition-colors duration-200 bg-white border rounded-md gap-x-2 hover:bg-gray-100 dark:bg-gray-900 dark:text-gray-200 dark:border-gray-700 dark:hover:bg-gray-800", children: [_jsx("span", { children: "Next" }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", className: "w-5 h-5 rtl:-scale-x-100", children: _jsx("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }) })] })] })] })] }));
|
72
72
|
};
|
73
|
-
export default Template;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface TemplateFormProps {
|
2
2
|
url: string;
|
3
3
|
}
|
4
|
-
declare const TemplateForm: ({ url }: TemplateFormProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
-
export
|
4
|
+
export declare const TemplateForm: ({ url }: TemplateFormProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export {};
|
@@ -12,7 +12,7 @@ import { useState, useEffect, useMemo } from "react";
|
|
12
12
|
import { addTemplateApi, fetchTemplateByIdApi, updateTemplateApi, } from "../api/template";
|
13
13
|
import toast from "react-hot-toast";
|
14
14
|
import Editor from "./Editor";
|
15
|
-
const TemplateForm = ({ url }) => {
|
15
|
+
export const TemplateForm = ({ url }) => {
|
16
16
|
const [name, setName] = useState("");
|
17
17
|
const [content, setContent] = useState("");
|
18
18
|
const placeholder = "";
|
@@ -96,4 +96,3 @@ const TemplateForm = ({ url }) => {
|
|
96
96
|
};
|
97
97
|
return (_jsx("div", { children: _jsx("div", { children: loading ? (_jsx("div", { className: "flex justify-center items-center h-screen", children: _jsx("div", { className: "flex justify-center items-center h-12 w-12 animate-spin rounded-full border-4 border-solid border-current border-e-transparent align-[-0.125em] text-surface motion-reduce:animate-[spin_1.5s_linear_infinite] text-blue-600", role: "status", children: _jsx("span", { className: "!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]", children: "Loading..." }) }) })) : hasError ? (_jsx("div", { className: "flex justify-center items-center h-screen" })) : (_jsx("div", { className: "w-full pr-16", children: _jsx("div", { className: "flex-grow p-6", children: _jsxs("form", { children: [_jsx("h1", { className: "text-3xl font-bold text-blue-600 capitalize dark:text-white mb-4", children: isEditMode ? "Edit Template" : "Add Template" }), _jsxs("div", { className: "mb-6 w-full", children: [_jsxs("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: ["Name ", _jsx("span", { className: "text-red-500", children: "*" })] }), _jsx("input", { required: true, type: "text", value: name, onChange: (e) => setName(e.target.value), className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", placeholder: "Enter Name" })] }), _jsxs("div", { className: "mb-6 w-full", children: [_jsxs("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: ["Content ", _jsx("span", { className: "text-red-500", children: "*" })] }), _jsx(Editor, { content: content, setContent: setContent, config: config })] }), _jsxs("div", { className: "flex space-x-4 mt-6 justify-start", children: [_jsx("button", { type: "submit", onClick: handleSubmit, className: "px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-blue-600 rounded-md hover:bg-blue-500 focus:outline-none focus:bg-gray-600", children: isEditMode ? "Update" : "Save and Close" }), _jsx("button", { type: "button", onClick: handleCancelClick, className: "px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-blue-600 rounded-md hover:bg-blue-500 focus:outline-none focus:bg-gray-600", children: "Cancel" })] })] }) }) })) }) }));
|
98
98
|
};
|
99
|
-
export default TemplateForm;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface UserFormProps {
|
2
2
|
url: string;
|
3
3
|
}
|
4
|
-
declare const UserForm: ({ url }: UserFormProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
-
export
|
4
|
+
export declare const UserForm: ({ url }: UserFormProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export {};
|
@@ -11,7 +11,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "react";
|
12
12
|
import toast from "react-hot-toast";
|
13
13
|
import { addUserApi, updateUserApi, fetchUserByIdApi } from "../api/user";
|
14
|
-
const UserForm = ({ url }) => {
|
14
|
+
export const UserForm = ({ url }) => {
|
15
15
|
const [userName, setUserName] = useState("");
|
16
16
|
const [email, setEmail] = useState("");
|
17
17
|
const [mobile, setMobile] = useState("");
|
@@ -104,4 +104,3 @@ const UserForm = ({ url }) => {
|
|
104
104
|
};
|
105
105
|
return (_jsx("div", { className: "max-w-4xl p-6 dark:bg-gray-800", children: _jsx("div", { children: loading ? (_jsx("div", { className: "flex justify-center items-center h-screen", children: _jsx("div", { className: "flex justify-center items-center h-12 w-12 animate-spin rounded-full border-4 border-solid border-current border-e-transparent align-[-0.125em] text-surface motion-reduce:animate-[spin_1.5s_linear_infinite] text-blue-600", role: "status", children: _jsx("span", { className: "!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]", children: "Loading..." }) }) })) : hasError ? (_jsx("div", { className: "flex justify-center items-center h-screen" })) : (_jsx("div", { children: _jsxs("form", { children: [_jsx("h1", { className: "text-3xl font-bold text-blue-600 capitalize dark:text-white mb-4", children: isEditMode ? "Edit User" : "Add User" }), _jsxs("div", { className: "mb-6 w-full", children: [_jsxs("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: ["Name ", _jsx("span", { className: "text-red-500", children: "*" })] }), _jsx("input", { required: true, value: userName, onChange: (e) => setUserName(e.target.value), type: "text", className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", placeholder: "Enter User Name" })] }), _jsxs("div", { className: "mb-6 w-full", children: [_jsxs("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: ["Email ", _jsx("span", { className: "text-red-500", children: "*" })] }), _jsx("input", { required: true, value: email, onChange: (e) => setEmail(e.target.value), type: "email", className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", placeholder: "Enter Email" })] }), _jsxs("div", { className: "mb-6 w-full", children: [_jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Mobile Number" }), _jsx("input", { required: true, value: mobile, onChange: (e) => setMobile(e.target.value), type: "number", className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", placeholder: "Enter Mobile Number" })] }), _jsxs("div", { className: "mb-6 w-full", children: [_jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Address" }), _jsx("input", { required: true, value: address, onChange: (e) => setAddress(e.target.value), type: "text", className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", placeholder: "Address" })] }), _jsxs("div", { className: "mb-6 w-full", children: [_jsx("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: "Gender" }), _jsxs("select", { required: true, value: gender, onChange: (e) => setGender(e.target.value === "" ? null : e.target.value), className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", children: [_jsx("option", { value: "", children: "Select a Gender" }), _jsx("option", { value: "1", children: "Male" }), _jsx("option", { value: "2", children: "Female" })] })] }), _jsxs("div", { className: "mb-6 w-full", children: [_jsxs("label", { className: "text-gray-900 dark:text-gray-200 font-semibold", children: ["Role Type ", _jsx("span", { className: "text-red-500", children: "*" })] }), _jsxs("select", { required: true, value: roleType, onChange: (e) => setRoleType(e.target.value), className: "w-full px-4 py-2 mt-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", children: [_jsx("option", { value: "", children: "Select a Role Type" }), _jsx("option", { value: "1", children: "Guest" }), _jsx("option", { value: "2", children: "Admin" })] })] }), _jsxs("div", { className: "flex space-x-4 mt-6 justify-start", children: [_jsx("button", { type: "submit", onClick: handleSubmit, className: "px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-blue-600 rounded-md hover:bg-blue-500 focus:outline-none focus:bg-gray-600", children: isEditMode ? "Edit" : "Save and Close" }), _jsx("button", { type: "button", onClick: handleCancelClick, className: "px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-blue-600 rounded-md hover:bg-blue-500 focus:outline-none focus:bg-gray-600", children: "Cancel" })] })] }) })) }) }));
|
106
106
|
};
|
107
|
-
export default UserForm;
|
@@ -12,7 +12,7 @@ import { useState, useEffect } from "react";
|
|
12
12
|
import toast from "react-hot-toast";
|
13
13
|
import { FaPlus } from "react-icons/fa";
|
14
14
|
import { fetchUsersApi, deleteUserApi } from "../api/user";
|
15
|
-
const Users = ({ url }) => {
|
15
|
+
export const Users = ({ url }) => {
|
16
16
|
const [users, setUsers] = useState([]);
|
17
17
|
const [searchTerm, setSearchTerm] = useState("");
|
18
18
|
const [filterModal, setFilterModal] = useState(false);
|
@@ -113,4 +113,3 @@ const Users = ({ url }) => {
|
|
113
113
|
}) }), _jsxs("button", { onClick: () => setCurrentPage((prev) => Math.min(prev + 1, totalPages)), disabled: currentPage === totalPages, className: "flex items-center px-5 py-2 text-sm text-gray-700 capitalize transition-colors duration-200 bg-white border rounded-md gap-x-2 hover:bg-gray-100 dark:bg-gray-900 dark:text-gray-200 dark:border-gray-700 dark:hover:bg-gray-800", children: [_jsx("span", { children: "Next" }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "w-5 h-5 rtl:-scale-x-100", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }) })] })] })] }), _jsx("div", { className: "inset-0 bg-gray-800 bg-opacity-50 z-50 transition-opacity duration-300", children: _jsxs("div", { className: `fixed top-0 right-0 h-full w-[300px] bg-white p-4 rounded-md shadow-lg transform transition-transform duration-500 ease-in-out
|
114
114
|
${filterModal ? "translate-x-0" : "translate-x-full"}`, children: [_jsx("h1", { className: "text-2xl md:text-3xl font-bold text-blue-600 mb-4 md:mb-6", children: "Filter" }), _jsx("button", { onClick: () => setFilterModal(false), className: "absolute top-1 right-3 text-gray-400 hover:text-gray-600 text-2xl", children: "\u00D7" }), _jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: "mb-4 flex flex-col", children: [_jsx("label", { className: "block text-gray-700 mb-2", children: "Role Type" }), _jsx("div", { className: "w-full", children: _jsxs("select", { value: Number(selectedRoleType), onChange: handleRoleTypeChange, required: true, className: "w-full px-4 py-2 text-gray-800 bg-white border border-gray-400 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-800 focus:border-blue-400 focus:ring-blue-300 focus:ring-opacity-40 dark:focus:border-blue-300 focus:outline-none focus:ring", children: [_jsx("option", { value: "", children: "All" }), _jsx("option", { value: "1", children: "Guest" }), _jsx("option", { value: "2", children: "Admin" })] }) })] }), _jsx("div", { className: "flex flex-row gap-3", children: _jsx("button", { onClick: resetFilter, className: "mt-2 px-4 py-2 bg-blue-500 text-white rounded-md w-32", children: "Reset" }) })] })] }) })] }));
|
115
115
|
};
|
116
|
-
export default Users;
|
@@ -1,11 +1,3 @@
|
|
1
|
-
// export { default as Dashboard } from "./Dashboard";
|
2
|
-
// export { default as AdminSideBar } from "./Sidebar";
|
3
|
-
// export { default as Taxionomies } from "./Taxionomies";
|
4
|
-
// export { default as TaxonomyForm } from "./TaxonomyForm";
|
5
|
-
// export { default as Template } from "./Template";
|
6
|
-
// export { default as TemplateFrom } from "./TemplateForm";
|
7
|
-
// export { Users } from "./Users";
|
8
|
-
// export { default as UserForm } from "./UserForm";
|
9
1
|
export { default as Editor } from "./Editor";
|
10
2
|
export * from "./Users";
|
11
3
|
export * from "./UserForm";
|