botech-library 0.0.12 → 0.0.14
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/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/Button/Button.d.ts +10 -0
- package/dist/types/components/Button/Button.d.ts.map +1 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/Button/index.d.ts.map +1 -0
- package/dist/types/components/Header/Header.d.ts +18 -0
- package/dist/types/components/Header/Header.d.ts.map +1 -0
- package/dist/types/components/Header/index.d.ts +3 -0
- package/dist/types/components/Header/index.d.ts.map +1 -0
- package/dist/types/components/Header/types.d.ts +15 -0
- package/dist/types/components/Header/types.d.ts.map +1 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts +5 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/types/components/Sidebar/index.d.ts +3 -0
- package/dist/types/components/Sidebar/index.d.ts.map +1 -0
- package/dist/types/components/Sidebar/types.d.ts +56 -0
- package/dist/types/components/Sidebar/types.d.ts.map +1 -0
- package/dist/types/components/StudentExcel/DownloadStudentsExcelButton.d.ts +20 -0
- package/dist/types/components/StudentExcel/DownloadStudentsExcelButton.d.ts.map +1 -0
- package/dist/types/components/StudentExcel/UploadStudentsExcelButton.d.ts +15 -0
- package/dist/types/components/StudentExcel/UploadStudentsExcelButton.d.ts.map +1 -0
- package/dist/types/components/StudentExcel/index.d.ts +5 -0
- package/dist/types/components/StudentExcel/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +8 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/services/studentService.d.ts +4 -0
- package/dist/types/services/studentService.d.ts.map +1 -0
- package/package.json +5 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ButtonProps = {
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'danger';
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const Button: ({ variant, onClick, children, className }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Button;
|
|
10
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,MAAM,GAAI,2CAKb,WAAW,4CAiBb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface HeaderProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
logoUrl?: string;
|
|
6
|
+
logoAlt?: string;
|
|
7
|
+
systemName?: string;
|
|
8
|
+
systemSubtitle?: string;
|
|
9
|
+
onMenuToggle: () => void;
|
|
10
|
+
showPageInfo?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
logoClassName?: string;
|
|
13
|
+
titleClassName?: string;
|
|
14
|
+
descriptionClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const Header: React.FC<HeaderProps>;
|
|
17
|
+
export default Header;
|
|
18
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuDjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface HeaderProps {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
logoUrl?: string;
|
|
5
|
+
logoAlt?: string;
|
|
6
|
+
systemName?: string;
|
|
7
|
+
systemSubtitle?: string;
|
|
8
|
+
onMenuToggle: () => void;
|
|
9
|
+
showPageInfo?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
logoClassName?: string;
|
|
12
|
+
titleClassName?: string;
|
|
13
|
+
descriptionClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,KAAK,EAAE,YAAY,EAA6C,MAAM,SAAS,CAAC;AAEvF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmNnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,mBAAmB,EACpB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface MenuItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon: React.ComponentType<{
|
|
6
|
+
className?: string;
|
|
7
|
+
}>;
|
|
8
|
+
path: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
gradient?: string;
|
|
12
|
+
badge?: string;
|
|
13
|
+
badgeColor?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface MenuFolder {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
icon: React.ComponentType<{
|
|
19
|
+
className?: string;
|
|
20
|
+
}>;
|
|
21
|
+
children: MenuItem[];
|
|
22
|
+
color?: string;
|
|
23
|
+
gradient?: string;
|
|
24
|
+
}
|
|
25
|
+
export type MenuItemWithFolders = {
|
|
26
|
+
type: 'item';
|
|
27
|
+
data: MenuItem;
|
|
28
|
+
} | {
|
|
29
|
+
type: 'folder';
|
|
30
|
+
data: MenuFolder;
|
|
31
|
+
};
|
|
32
|
+
export interface SidebarProps {
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
onClose: () => void;
|
|
35
|
+
onToggle: () => void;
|
|
36
|
+
menuItems: MenuItemWithFolders[];
|
|
37
|
+
logoUrl?: string;
|
|
38
|
+
logoAlt?: string;
|
|
39
|
+
systemName?: string;
|
|
40
|
+
className?: string;
|
|
41
|
+
overlayClassName?: string;
|
|
42
|
+
desktopMenuClassName?: string;
|
|
43
|
+
showBottomMenu?: boolean;
|
|
44
|
+
bottomMenuItems?: {
|
|
45
|
+
id: string;
|
|
46
|
+
label: string;
|
|
47
|
+
icon: React.ComponentType<{
|
|
48
|
+
className?: string;
|
|
49
|
+
}>;
|
|
50
|
+
action: () => void;
|
|
51
|
+
}[];
|
|
52
|
+
activePath?: string;
|
|
53
|
+
onNavigate?: (path: string) => void;
|
|
54
|
+
children?: ReactNode;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,mBAAmB,GAC3B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAEzC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,mBAAmB,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE;QAChB,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;YAAE,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAClD,MAAM,EAAE,MAAM,IAAI,CAAC;KACpB,EAAE,CAAC;IACJ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DownloadStudentsExcelButtonProps {
|
|
3
|
+
/** Manually pick a backend when you need to override the automatic heuristic */
|
|
4
|
+
backend?: '85' | '87';
|
|
5
|
+
/** Text to show on the button */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** File name that will be suggested to the user */
|
|
8
|
+
fileName?: string;
|
|
9
|
+
/** Optional className to pass down to the underlying <button> */
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Optional button variant – same variants as in the shared Button component */
|
|
12
|
+
variant?: 'primary' | 'secondary' | 'danger';
|
|
13
|
+
/** Called when the file has been downloaded successfully */
|
|
14
|
+
onSuccess?: () => void;
|
|
15
|
+
/** Called when the request fails */
|
|
16
|
+
onError?: (error: unknown) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const DownloadStudentsExcelButton: React.FC<DownloadStudentsExcelButtonProps>;
|
|
19
|
+
export default DownloadStudentsExcelButton;
|
|
20
|
+
//# sourceMappingURL=DownloadStudentsExcelButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloadStudentsExcelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/DownloadStudentsExcelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,gCAAgC;IAC/C,gFAAgF;IAChF,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC7C,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,oCAAoC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,gCAAgC,CA4C3E,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface UploadStudentsExcelButtonProps {
|
|
3
|
+
backend?: '85' | '87';
|
|
4
|
+
/** Text shown on the button */
|
|
5
|
+
label?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
variant?: 'primary' | 'secondary' | 'danger';
|
|
8
|
+
/** Callback when upload succeeds */
|
|
9
|
+
onSuccess?: () => void;
|
|
10
|
+
/** Callback when something fails */
|
|
11
|
+
onError?: (error: unknown) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const UploadStudentsExcelButton: React.FC<UploadStudentsExcelButtonProps>;
|
|
14
|
+
export default UploadStudentsExcelButton;
|
|
15
|
+
//# sourceMappingURL=UploadStudentsExcelButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadStudentsExcelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/UploadStudentsExcelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAIhD,MAAM,WAAW,8BAA8B;IAC7C,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC7C,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,oCAAoC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA2DvE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as DownloadStudentsExcelButton } from './DownloadStudentsExcelButton';
|
|
2
|
+
export type { DownloadStudentsExcelButtonProps } from './DownloadStudentsExcelButton';
|
|
3
|
+
export { default as UploadStudentsExcelButton } from './UploadStudentsExcelButton';
|
|
4
|
+
export type { UploadStudentsExcelButtonProps } from './UploadStudentsExcelButton';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACvF,YAAY,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAEtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,YAAY,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Button } from './Button';
|
|
2
|
+
export { Header } from './Header';
|
|
3
|
+
export type { HeaderProps } from './Header/types';
|
|
4
|
+
export { Sidebar } from './Sidebar';
|
|
5
|
+
export type { SidebarProps, MenuItem, MenuFolder, MenuItemWithFolders } from './Sidebar/types';
|
|
6
|
+
export { DownloadStudentsExcelButton, UploadStudentsExcelButton } from './StudentExcel';
|
|
7
|
+
export type { DownloadStudentsExcelButtonProps, UploadStudentsExcelButtonProps } from './StudentExcel';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACR,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,mBAAmB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,2BAA2B,EAC3B,yBAAyB,EAC5B,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACR,gCAAgC,EAChC,8BAA8B,EACjC,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const getBackendPrefix: (preferred?: "85" | "87") => string;
|
|
2
|
+
export declare const downloadStudentsExcel: (preferredBackend?: "85" | "87") => Promise<Blob>;
|
|
3
|
+
export declare const uploadStudentsExcel: (file: File, preferredBackend?: "85" | "87") => Promise<void>;
|
|
4
|
+
//# sourceMappingURL=studentService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studentService.d.ts","sourceRoot":"","sources":["../../../src/services/studentService.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,YAAY,IAAI,GAAG,IAAI,KAAG,MAiB1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAC9B,mBAAmB,IAAI,GAAG,IAAI,KAC/B,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC5B,MAAM,IAAI,EACV,mBAAmB,IAAI,GAAG,IAAI,KAC/B,OAAO,CAAC,IAAI,CAWd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botech-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": ">=16.8.0",
|
|
18
|
-
"react-dom": ">=16.8.0"
|
|
18
|
+
"react-dom": ">=16.8.0",
|
|
19
|
+
"axios": ">=1.6.0"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
@@ -33,7 +34,8 @@
|
|
|
33
34
|
"rollup-plugin-postcss": "^4.0.2",
|
|
34
35
|
"tailwindcss": "^3.3.3",
|
|
35
36
|
"tslib": "^2.6.2",
|
|
36
|
-
"typescript": "^5.2.2"
|
|
37
|
+
"typescript": "^5.2.2",
|
|
38
|
+
"axios": "^1.6.0"
|
|
37
39
|
},
|
|
38
40
|
"dependencies": {
|
|
39
41
|
"framer-motion": "^12.18.1",
|