@campxdev/react-blueprint 2.1.9 → 2.1.11
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/cjs/index.js +1 -1
- package/dist/cjs/types/src/components/Layout/AppHeader/AppHeaderV2.d.ts +1 -1
- package/dist/cjs/types/src/components/Layout/AppLayout/AppLayout.d.ts +3 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/AppBar.d.ts +14 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/FloatingHelpDocs.d.ts +22 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/HelpPopup.d.ts +28 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/SideDrawer.d.ts +12 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/MenuBar.d.ts +2 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/MenuItem.d.ts +2 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/Sidebar.d.ts +8 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/interfaces.d.ts +53 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/styles.d.ts +45 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/useSidebarNavigation.d.ts +6 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/SwitchInstitutionPopup.d.ts +17 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/components/UserProfilePopup.d.ts +38 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/index.d.ts +6 -0
- package/dist/cjs/types/src/components/Layout/AppLayout/types.d.ts +25 -0
- package/dist/cjs/types/src/components/Layout/export.d.ts +1 -0
- package/dist/cjs/types/src/components/Navigation/Sidebar/MenuItem.d.ts +1 -1
- package/dist/cjs/types/src/components/Navigation/Sidebar/SubMenuItem.d.ts +1 -1
- package/dist/cjs/types/src/components/Navigation/Sidebar/interfaces.d.ts +1 -1
- package/dist/cjs/types/src/components/Navigation/export.d.ts +0 -1
- package/dist/cjs/types/src/pages/Admin/AcademicStructure/AcademicStructure.d.ts +2 -0
- package/dist/cjs/types/src/pages/Admin/SystemSettings/SystemSettings.d.ts +2 -0
- package/dist/cjs/types/src/pages/Admin/UserManagement/UserManagement.d.ts +2 -0
- package/dist/cjs/types/src/pages/Admin.d.ts +2 -0
- package/dist/cjs/types/src/pages/Communications/Announcements/Announcements.d.ts +2 -0
- package/dist/cjs/types/src/pages/Communications.d.ts +2 -0
- package/dist/cjs/types/src/pages/Dashboard.d.ts +2 -0
- package/dist/cjs/types/src/pages/Exams/Management/Management.d.ts +2 -0
- package/dist/cjs/types/src/pages/Exams/Results/Results.d.ts +2 -0
- package/dist/cjs/types/src/pages/Exams.d.ts +2 -0
- package/dist/cjs/types/src/pages/HRMS/Attendance/Attendance.d.ts +2 -0
- package/dist/cjs/types/src/pages/HRMS/EmployeeManagement/EmployeeManagement.d.ts +2 -0
- package/dist/cjs/types/src/pages/HRMS/Performance/Performance.d.ts +2 -0
- package/dist/cjs/types/src/pages/HRMS.d.ts +2 -0
- package/dist/cjs/types/src/pages/Payments/Expenses/Expenses.d.ts +2 -0
- package/dist/cjs/types/src/pages/Payments/FeeCollection/FeeCollection.d.ts +2 -0
- package/dist/cjs/types/src/pages/Payments/FinancialReports/FinancialReports.d.ts +2 -0
- package/dist/cjs/types/src/pages/Payments.d.ts +2 -0
- package/dist/cjs/types/src/pages/Reports.d.ts +2 -0
- package/dist/cjs/types/src/pages/StudentCentral/Academic/Academic.d.ts +2 -0
- package/dist/cjs/types/src/pages/StudentCentral/Services/Services.d.ts +2 -0
- package/dist/cjs/types/src/pages/StudentCentral.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Classrooms/ClassroomManagement.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Classrooms/Classrooms.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Classrooms/RoomAllocation.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Classrooms/Timetables.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Courses/Courses.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Students/Enrollment.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Students/StudentList.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Students/StudentProfiles.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Students/Students.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Teachers/Performance.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Teachers/Qualifications.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Teachers/TeacherDirectory.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS/Teachers/Teachers.d.ts +2 -0
- package/dist/cjs/types/src/pages/UMS.d.ts +2 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/components/Layout/AppHeader/AppHeaderV2.d.ts +1 -1
- package/dist/esm/types/src/components/Layout/AppLayout/AppLayout.d.ts +3 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/AppBar.d.ts +14 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/FloatingHelpDocs.d.ts +22 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/HelpPopup.d.ts +28 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/SideDrawer.d.ts +12 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/MenuBar.d.ts +2 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/MenuItem.d.ts +2 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/Sidebar.d.ts +8 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/interfaces.d.ts +53 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/styles.d.ts +45 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/useSidebarNavigation.d.ts +6 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/SwitchInstitutionPopup.d.ts +17 -0
- package/dist/esm/types/src/components/Layout/AppLayout/components/UserProfilePopup.d.ts +38 -0
- package/dist/esm/types/src/components/Layout/AppLayout/index.d.ts +6 -0
- package/dist/esm/types/src/components/Layout/AppLayout/types.d.ts +25 -0
- package/dist/esm/types/src/components/Layout/export.d.ts +1 -0
- package/dist/esm/types/src/components/Navigation/Sidebar/MenuItem.d.ts +1 -1
- package/dist/esm/types/src/components/Navigation/Sidebar/SubMenuItem.d.ts +1 -1
- package/dist/esm/types/src/components/Navigation/Sidebar/interfaces.d.ts +1 -1
- package/dist/esm/types/src/components/Navigation/export.d.ts +0 -1
- package/dist/esm/types/src/pages/Admin/AcademicStructure/AcademicStructure.d.ts +2 -0
- package/dist/esm/types/src/pages/Admin/SystemSettings/SystemSettings.d.ts +2 -0
- package/dist/esm/types/src/pages/Admin/UserManagement/UserManagement.d.ts +2 -0
- package/dist/esm/types/src/pages/Admin.d.ts +2 -0
- package/dist/esm/types/src/pages/Communications/Announcements/Announcements.d.ts +2 -0
- package/dist/esm/types/src/pages/Communications.d.ts +2 -0
- package/dist/esm/types/src/pages/Dashboard.d.ts +2 -0
- package/dist/esm/types/src/pages/Exams/Management/Management.d.ts +2 -0
- package/dist/esm/types/src/pages/Exams/Results/Results.d.ts +2 -0
- package/dist/esm/types/src/pages/Exams.d.ts +2 -0
- package/dist/esm/types/src/pages/HRMS/Attendance/Attendance.d.ts +2 -0
- package/dist/esm/types/src/pages/HRMS/EmployeeManagement/EmployeeManagement.d.ts +2 -0
- package/dist/esm/types/src/pages/HRMS/Performance/Performance.d.ts +2 -0
- package/dist/esm/types/src/pages/HRMS.d.ts +2 -0
- package/dist/esm/types/src/pages/Payments/Expenses/Expenses.d.ts +2 -0
- package/dist/esm/types/src/pages/Payments/FeeCollection/FeeCollection.d.ts +2 -0
- package/dist/esm/types/src/pages/Payments/FinancialReports/FinancialReports.d.ts +2 -0
- package/dist/esm/types/src/pages/Payments.d.ts +2 -0
- package/dist/esm/types/src/pages/Reports.d.ts +2 -0
- package/dist/esm/types/src/pages/StudentCentral/Academic/Academic.d.ts +2 -0
- package/dist/esm/types/src/pages/StudentCentral/Services/Services.d.ts +2 -0
- package/dist/esm/types/src/pages/StudentCentral.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Classrooms/ClassroomManagement.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Classrooms/Classrooms.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Classrooms/RoomAllocation.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Classrooms/Timetables.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Courses/Courses.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Students/Enrollment.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Students/StudentList.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Students/StudentProfiles.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Students/Students.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Teachers/Performance.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Teachers/Qualifications.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Teachers/TeacherDirectory.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS/Teachers/Teachers.d.ts +2 -0
- package/dist/esm/types/src/pages/UMS.d.ts +2 -0
- package/dist/index.d.ts +163 -42
- package/package.json +1 -1
- package/dist/cjs/types/src/stories/Navigation/FloatingSidebar.stories.d.ts +0 -7
- package/dist/esm/types/src/stories/Navigation/FloatingSidebar.stories.d.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode, MouseEvent, FC, ReactElement } from 'react';
|
|
3
|
+
import react__default, { ReactNode, MouseEvent, FC, ReactElement } from 'react';
|
|
4
4
|
import * as _mui_material from '@mui/material';
|
|
5
5
|
import { SxProps, AccordionProps as AccordionProps$1, AvatarProps, TypographyOwnProps, TypographyProps as TypographyProps$1, AlertProps as AlertProps$1, SnackbarProps as SnackbarProps$1, TooltipProps as TooltipProps$1, ButtonProps as ButtonProps$1, StackProps, TextFieldProps as TextFieldProps$1, RadioGroupProps as RadioGroupProps$1, FormControlLabelProps, CheckboxProps as CheckboxProps$1, AutocompleteProps, SwitchProps as SwitchProps$1, BoxProps, MenuProps, MenuListProps, BreadcrumbsProps as BreadcrumbsProps$1, DialogProps as DialogProps$1, IconButtonProps, MenuItemProps, TabProps, TabsProps } from '@mui/material';
|
|
6
6
|
import { LayoutType } from 'recharts/types/util/types';
|
|
@@ -908,6 +908,146 @@ type TimePickerProps<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStr
|
|
|
908
908
|
} & TimePickerProps$1<TEnableAccessibleFieldDOMStructure>;
|
|
909
909
|
declare const TimePicker: <TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false>({ label, name, value, format, views, helperText, placeholder, required, containerProps, ...rest }: TimePickerProps<TDate, TEnableAccessibleFieldDOMStructure>) => react_jsx_runtime.JSX.Element;
|
|
910
910
|
|
|
911
|
+
interface SideMenuItemProps$1 {
|
|
912
|
+
name: string;
|
|
913
|
+
path: string;
|
|
914
|
+
icon: ReactElement;
|
|
915
|
+
permissionKey?: string;
|
|
916
|
+
subMenu?: SubMenuData[];
|
|
917
|
+
menu?: SideMenuItemProps$1[];
|
|
918
|
+
}
|
|
919
|
+
interface SubMenuData {
|
|
920
|
+
name: string;
|
|
921
|
+
path: string;
|
|
922
|
+
permissionKey?: string;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
interface HelpDocsAction {
|
|
926
|
+
name: string;
|
|
927
|
+
onClick: () => void;
|
|
928
|
+
backgroundColor?: string;
|
|
929
|
+
}
|
|
930
|
+
interface HelpDocsConfig {
|
|
931
|
+
[path: string]: {
|
|
932
|
+
actions: HelpDocsAction[];
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
interface AppLayoutProps {
|
|
936
|
+
/** Main content to be rendered */
|
|
937
|
+
children: ReactNode;
|
|
938
|
+
/** Navigation menu items */
|
|
939
|
+
menu: SideMenuItemProps$1[];
|
|
940
|
+
/** AppBar customization - Primary approach */
|
|
941
|
+
rightSection?: ReactNode;
|
|
942
|
+
/** Layout customization */
|
|
943
|
+
sidebarWidth?: number;
|
|
944
|
+
mainContainerSx?: any;
|
|
945
|
+
/** Help documentation configuration for route-based contextual help */
|
|
946
|
+
helpDocsConfig?: HelpDocsConfig;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
declare const AppLayout: react__default.FC<AppLayoutProps>;
|
|
950
|
+
|
|
951
|
+
interface FloatingHelpDocsProps {
|
|
952
|
+
/** Array of help actions to display */
|
|
953
|
+
actions: HelpDocsAction[];
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* FloatingHelpDocs - Route-aware floating help documentation component
|
|
957
|
+
*
|
|
958
|
+
* This component renders a floating Speed Dial with contextual help actions
|
|
959
|
+
* based on the current route configuration.
|
|
960
|
+
*
|
|
961
|
+
* @example
|
|
962
|
+
* // Renders when actions are provided for current route
|
|
963
|
+
* <FloatingHelpDocs
|
|
964
|
+
* actions={[
|
|
965
|
+
* { name: 'Know how to collect fee', onClick: () => window.open('...') }
|
|
966
|
+
* ]}
|
|
967
|
+
* />
|
|
968
|
+
*/
|
|
969
|
+
declare const FloatingHelpDocs: react__default.FC<FloatingHelpDocsProps>;
|
|
970
|
+
|
|
971
|
+
interface HelpItem {
|
|
972
|
+
key: string;
|
|
973
|
+
icon: react__default.ReactNode;
|
|
974
|
+
title: string;
|
|
975
|
+
description: string;
|
|
976
|
+
onClick: () => void;
|
|
977
|
+
}
|
|
978
|
+
interface HelpPopupProps {
|
|
979
|
+
/** Custom help menu items */
|
|
980
|
+
helpItems?: HelpItem[];
|
|
981
|
+
/** Custom icon for the trigger button */
|
|
982
|
+
icon?: react__default.ReactNode;
|
|
983
|
+
/** Custom styles for the trigger button */
|
|
984
|
+
triggerSx?: any;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Reusable Help popup component for AppLayout right section
|
|
988
|
+
*
|
|
989
|
+
* @example
|
|
990
|
+
* // In AppLayout rightSection
|
|
991
|
+
* <HelpPopup />
|
|
992
|
+
*
|
|
993
|
+
* // With custom help items
|
|
994
|
+
* <HelpPopup helpItems={customHelpItems} />
|
|
995
|
+
*/
|
|
996
|
+
declare const HelpPopup: react__default.FC<HelpPopupProps>;
|
|
997
|
+
|
|
998
|
+
interface SwitchInstitutionPopupProps {
|
|
999
|
+
/** Institution data for switching */
|
|
1000
|
+
institutionsData?: any[];
|
|
1001
|
+
/** Custom text for the menu item */
|
|
1002
|
+
menuText?: string;
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* Reusable SwitchInstitution popup component that renders as a dropdown menu item
|
|
1006
|
+
* Designed to be used within profile actions
|
|
1007
|
+
*
|
|
1008
|
+
* @example
|
|
1009
|
+
* // In UserProfilePopup profileActions
|
|
1010
|
+
* <SwitchInstitutionPopup institutionsData={institutions} />
|
|
1011
|
+
*/
|
|
1012
|
+
declare const SwitchInstitutionPopup: react__default.FC<SwitchInstitutionPopupProps>;
|
|
1013
|
+
|
|
1014
|
+
interface UserProfilePopupProps {
|
|
1015
|
+
/** User's full name */
|
|
1016
|
+
userFullName: string;
|
|
1017
|
+
/** User's designation/role */
|
|
1018
|
+
designation?: string;
|
|
1019
|
+
/** Profile dropdown actions (including SwitchInstitution if needed) */
|
|
1020
|
+
profileActions?: react__default.ReactNode[];
|
|
1021
|
+
/** Custom styles for the profile component */
|
|
1022
|
+
profileSx?: any;
|
|
1023
|
+
/** Whether to show active devices option */
|
|
1024
|
+
showActiveDevices?: boolean;
|
|
1025
|
+
/** Logout click handler */
|
|
1026
|
+
onLogout?: () => void;
|
|
1027
|
+
/** Profile image URL */
|
|
1028
|
+
profileUrl?: string;
|
|
1029
|
+
/** Whether to show avatar */
|
|
1030
|
+
showAvatar?: boolean;
|
|
1031
|
+
/** Whether to show navigation icon */
|
|
1032
|
+
showNavigationIcon?: boolean;
|
|
1033
|
+
/** Change password component */
|
|
1034
|
+
changePassword?: react__default.ReactNode;
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Reusable User Profile popup component for AppLayout right section
|
|
1038
|
+
* Institution switching should be passed as a profile action if needed
|
|
1039
|
+
*
|
|
1040
|
+
* @example
|
|
1041
|
+
* // In AppLayout rightSection
|
|
1042
|
+
* <UserProfilePopup
|
|
1043
|
+
* userFullName="John Doe"
|
|
1044
|
+
* designation="Administrator"
|
|
1045
|
+
* profileActions={[<SwitchInstitutionPopup />, <MenuItem>Settings</MenuItem>]}
|
|
1046
|
+
* onLogout={handleLogout}
|
|
1047
|
+
* />
|
|
1048
|
+
*/
|
|
1049
|
+
declare const UserProfilePopup: react__default.FC<UserProfilePopupProps>;
|
|
1050
|
+
|
|
911
1051
|
type AppHeaderProps = {
|
|
912
1052
|
actions?: ReactNode[];
|
|
913
1053
|
profileActions?: ReactNode[];
|
|
@@ -929,6 +1069,25 @@ type AppHeaderProps = {
|
|
|
929
1069
|
};
|
|
930
1070
|
declare const AppHeader: ({ actions, profileActions, profileSx, clientLogoUrl, onLogoutClick, designation, clientName, userFullName, collapsed, institutionsData, showActiveDevices, headerSx, onAccountClick, onActiveDevicesClick, onChangeInstitutionClick, onAvatarClick, }: AppHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
931
1071
|
|
|
1072
|
+
declare const Sidebar: ({ menu, collapsed, setCollapsed, }: {
|
|
1073
|
+
menu: SideMenuItemProps[];
|
|
1074
|
+
collapsed: boolean;
|
|
1075
|
+
setCollapsed: any;
|
|
1076
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1077
|
+
interface SideMenuItemProps {
|
|
1078
|
+
name: string;
|
|
1079
|
+
path: string;
|
|
1080
|
+
icon: ReactElement;
|
|
1081
|
+
permissionKey?: string;
|
|
1082
|
+
subMenu?: SubMenuItemProps[];
|
|
1083
|
+
menu?: SideMenuItemProps[];
|
|
1084
|
+
}
|
|
1085
|
+
interface SubMenuItemProps {
|
|
1086
|
+
name: string;
|
|
1087
|
+
path: string;
|
|
1088
|
+
permissionKey?: string;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
932
1091
|
type AppHeaderV2Props = {
|
|
933
1092
|
/** Custom action components to display in the header */
|
|
934
1093
|
actions?: ReactNode[];
|
|
@@ -954,7 +1113,7 @@ type AppHeaderV2Props = {
|
|
|
954
1113
|
showActiveDevices?: boolean;
|
|
955
1114
|
/** Custom styles for the header */
|
|
956
1115
|
headerSx?: SxProps;
|
|
957
|
-
menu: SideMenuItemProps
|
|
1116
|
+
menu: SideMenuItemProps[];
|
|
958
1117
|
};
|
|
959
1118
|
declare const AppHeaderV2: ({ actions, profileActions, profileSx, onLogoutClick, designation, userFullName, collapsed, onToggleSidebar, breadcrumbs, institutionsData, showActiveDevices, headerSx, menu, }: AppHeaderV2Props) => react_jsx_runtime.JSX.Element;
|
|
960
1119
|
|
|
@@ -1122,44 +1281,6 @@ type PreviewFilesProps = {
|
|
|
1122
1281
|
} & Omit<BoxProps, 'onChange'>;
|
|
1123
1282
|
declare const PreviewFiles: ({ files, label, onChange, showDownload, hideDelete, sx, ...props }: PreviewFilesProps) => react_jsx_runtime.JSX.Element;
|
|
1124
1283
|
|
|
1125
|
-
declare const Sidebar: ({ menu, collapsed, setCollapsed, }: {
|
|
1126
|
-
menu: SideMenuItemProps$1[];
|
|
1127
|
-
collapsed: boolean;
|
|
1128
|
-
setCollapsed: any;
|
|
1129
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1130
|
-
interface SideMenuItemProps$1 {
|
|
1131
|
-
name: string;
|
|
1132
|
-
path: string;
|
|
1133
|
-
icon: ReactElement;
|
|
1134
|
-
permissionKey?: string;
|
|
1135
|
-
subMenu?: SubMenuItemProps$1[];
|
|
1136
|
-
menu?: SideMenuItemProps$1[];
|
|
1137
|
-
}
|
|
1138
|
-
interface SubMenuItemProps$1 {
|
|
1139
|
-
name: string;
|
|
1140
|
-
path: string;
|
|
1141
|
-
permissionKey?: string;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
declare const SidebarV2: ({ menu, collapsed, setCollapsed, }: {
|
|
1145
|
-
menu: SideMenuItemProps[];
|
|
1146
|
-
collapsed: boolean;
|
|
1147
|
-
setCollapsed: any;
|
|
1148
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1149
|
-
interface SideMenuItemProps {
|
|
1150
|
-
name: string;
|
|
1151
|
-
path: string;
|
|
1152
|
-
icon: ReactElement;
|
|
1153
|
-
permissionKey?: string;
|
|
1154
|
-
subMenu?: SubMenuItemProps[];
|
|
1155
|
-
menu?: SideMenuItemProps[];
|
|
1156
|
-
}
|
|
1157
|
-
interface SubMenuItemProps {
|
|
1158
|
-
name: string;
|
|
1159
|
-
path: string;
|
|
1160
|
-
permissionKey?: string;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
1284
|
interface StepperProps {
|
|
1164
1285
|
orientation: 'vertical' | 'horizontal';
|
|
1165
1286
|
activeStep: number;
|
|
@@ -1259,5 +1380,5 @@ declare const splitBreadcrumbIdSlug: (param: string) => {
|
|
|
1259
1380
|
declare const isLocal: boolean;
|
|
1260
1381
|
declare const isDevelopment: boolean;
|
|
1261
1382
|
|
|
1262
|
-
export { Accordion, AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, AppHeaderV2, BarChart, Breadcrumbs, Button, Card, CellContainer, CenterBox, Chips, CircularAvatar, ComingSoon, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FooterContainerContainer, FormActions, FormControlWrapper, FormWrapper, IconButtons, Icons, InternalServerError, LabelWrapper, LineChart, MuiThemeProvider, MultiCheckBox, NoInterneConnection, NoItemFound, OtpInput, PageContent, PageHeader, PageNotFound, PasswordField, PieChart, PreviewFiles, ProgressCard, RadioGroup, ResourceNotFound, SearchBar, Select, SidePanel, SidePanelVariables, Sidebar,
|
|
1263
|
-
export type { AccordionProps, Activity, ActivityAction, AlertProps, AppHeaderProps, AppHeaderV2Props, BarChartProps, BreadcrumbsProps, ButtonConfig, ButtonProps, CardProps, CheckboxProps, CircularAvatarProps, ConfirmDialogProps, ConfirmDialogType, DataTableProps, DensitySelectorProps, DialogButtonProps, DialogProps, DropdownMenuItemProps, DropdownMenuProps, EditableDataTableProps, FileUploadProps, FloatingContainerProps, FormActionsProps, IconComponent, IconProps, IconsType, LineChartProps, MultiCheckboxProps, OtpInputProps, PageContentProps, PasswordFieldProps, PieChartProps, PreviewFilesProps, ProgressCardProps, RadioGroupProps, SearchBarProps, SelectProps, Severity, SideMenuItemProps
|
|
1383
|
+
export { Accordion, AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, AppHeaderV2, AppLayout, BarChart, Breadcrumbs, Button, Card, CellContainer, CenterBox, Chips, CircularAvatar, ComingSoon, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FloatingHelpDocs, FooterContainerContainer, FormActions, FormControlWrapper, FormWrapper, HelpPopup, IconButtons, Icons, InternalServerError, LabelWrapper, LineChart, MuiThemeProvider, MultiCheckBox, NoInterneConnection, NoItemFound, OtpInput, PageContent, PageHeader, PageNotFound, PasswordField, PieChart, PreviewFiles, ProgressCard, RadioGroup, ResourceNotFound, SearchBar, Select, SidePanel, SidePanelVariables, Sidebar, SingleCheckBox, SingleSelect, Snackbar, Spinner, SquareAvatar, StatusCard, Stepper, StyledContainer, Svgs, Switch, SwitchInstitutionPopup, TableColumnsSelector, TableColumnsSelectorMenuFooter, TabsContainer, TabsLayout, TextField, TimePicker, Timeline, ToolTipContent, Tooltip, Tutorial, Typography, UnAuthorized, UploadDialog, UserProfilePopup, createBreadcrumbIdSlug, darkTheme, getBreadcrumbsCharacter, isDevelopment, isLocal, lightTheme, reactBlueprintReducers, splitBreadcrumbIdSlug, usePageHeader, useParams, useUrlParams };
|
|
1384
|
+
export type { AccordionProps, Activity, ActivityAction, AlertProps, AppHeaderProps, AppHeaderV2Props, AppLayoutProps, BarChartProps, BreadcrumbsProps, ButtonConfig, ButtonProps, CardProps, CheckboxProps, CircularAvatarProps, ConfirmDialogProps, ConfirmDialogType, DataTableProps, DensitySelectorProps, DialogButtonProps, DialogProps, DropdownMenuItemProps, DropdownMenuProps, EditableDataTableProps, FileUploadProps, FloatingContainerProps, FormActionsProps, HelpDocsAction, HelpDocsConfig, IconComponent, IconProps, IconsType, LineChartProps, MultiCheckboxProps, OtpInputProps, PageContentProps, PasswordFieldProps, PieChartProps, PreviewFilesProps, ProgressCardProps, RadioGroupProps, SearchBarProps, SelectProps, Severity, SideMenuItemProps, SidePanelProps, SingleSelectProps, SnackbarProps, SquareAvatarProps, StatusCardProps, SubMenuItemProps, SwitchProps, TableColumnsSelectorProps, TabsContainerProps, TextFieldProps, TimelineItems, TimelineProps, TooltipContentProps, TooltipProps, TypographyProps, UploadDialogProps };
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Sidebar } from '../../components/export';
|
|
3
|
-
declare const meta: Meta<typeof Sidebar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Sidebar>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Collapsed: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Sidebar } from '../../components/export';
|
|
3
|
-
declare const meta: Meta<typeof Sidebar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Sidebar>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Collapsed: Story;
|