botech-library 0.0.20 → 0.0.22
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/StudentExcel/DownloadStudentsExcelButton.d.ts.map +1 -1
- package/dist/types/components/StudentExcel/UploadStudentsExcelButton.d.ts.map +1 -1
- package/dist/types/services/studentService.d.ts +1 -1
- package/dist/types/services/studentService.d.ts.map +1 -1
- package/package.json +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadStudentsExcelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/DownloadStudentsExcelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DownloadStudentsExcelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/DownloadStudentsExcelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,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,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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,CAqG3E,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadStudentsExcelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/UploadStudentsExcelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"UploadStudentsExcelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/StudentExcel/UploadStudentsExcelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAKhD,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,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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,CAkJvE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const getBackendPrefix: (preferred?: "85" | "87") => string;
|
|
2
2
|
export declare const downloadStudentsExcel: (preferredBackend?: "85" | "87", clientName?: string) => Promise<Blob>;
|
|
3
|
-
export declare const uploadStudentsExcel: (file: File, preferredBackend?: "85" | "87", clientName?: string) => Promise<
|
|
3
|
+
export declare const uploadStudentsExcel: (file: File, preferredBackend?: "85" | "87", clientName?: string) => Promise<any>;
|
|
4
4
|
//# sourceMappingURL=studentService.d.ts.map
|
|
@@ -1 +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,EAC9B,aAAa,MAAM,KACpB,OAAO,CAAC,IAAI,CAed,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC5B,MAAM,IAAI,EACV,mBAAmB,IAAI,GAAG,IAAI,EAC9B,aAAa,MAAM,KACpB,OAAO,CAAC,
|
|
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,EAC9B,aAAa,MAAM,KACpB,OAAO,CAAC,IAAI,CAed,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC5B,MAAM,IAAI,EACV,mBAAmB,IAAI,GAAG,IAAI,EAC9B,aAAa,MAAM,KACpB,OAAO,CAAC,GAAG,CAoBb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botech-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": ">=16.8.0",
|
|
18
18
|
"react-dom": ">=16.8.0",
|
|
19
|
-
"axios": ">=1.6.0"
|
|
19
|
+
"axios": ">=1.6.0",
|
|
20
|
+
"sweetalert2": ">=11.0.0"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
23
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
@@ -39,6 +40,7 @@
|
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
42
|
"framer-motion": "^12.18.1",
|
|
42
|
-
"react-icons": "^5.5.0"
|
|
43
|
+
"react-icons": "^5.5.0",
|
|
44
|
+
"sweetalert2": "^11.10.5"
|
|
43
45
|
}
|
|
44
46
|
}
|