@e-llm-studio/citation 0.0.40 → 0.0.41
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/src/DatagestMonTest.d.ts +3 -0
- package/dist/src/DatagestMonTest.d.ts.map +1 -0
- package/dist/src/features/DatagestMon/DatagestMon.d.ts +21 -0
- package/dist/src/features/DatagestMon/DatagestMon.d.ts.map +1 -0
- package/dist/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +19 -0
- package/dist/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +1 -0
- package/dist/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +7 -0
- package/dist/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +1 -0
- package/dist/src/lib/styles/viewerLayout.d.ts +6 -0
- package/dist/src/lib/styles/viewerLayout.d.ts.map +1 -0
- package/dist/src/types/epubItems.d.ts +23 -0
- package/dist/src/types/epubItems.d.ts.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatagestMonTest.d.ts","sourceRoot":"","sources":["../../src/DatagestMonTest.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,eAAe,+CAgEpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface IBookReview {
|
|
2
|
+
text: string;
|
|
3
|
+
source: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IBookDetails {
|
|
6
|
+
isbn: string;
|
|
7
|
+
isbn10: string;
|
|
8
|
+
imprint: string;
|
|
9
|
+
publisher: string;
|
|
10
|
+
age: string;
|
|
11
|
+
subjectCategories: string[];
|
|
12
|
+
reviews: IBookReview[];
|
|
13
|
+
}
|
|
14
|
+
declare const DatagestMon: ({ open, onClose, data, url }: {
|
|
15
|
+
open: boolean;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
data: any;
|
|
18
|
+
url?: string | undefined;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default DatagestMon;
|
|
21
|
+
//# sourceMappingURL=DatagestMon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatagestMon.d.ts","sourceRoot":"","sources":["../../../../src/features/DatagestMon/DatagestMon.tsx"],"names":[],"mappings":"AAwFA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AACD,QAAA,MAAM,WAAW;UAMT,OAAO;aACJ,MAAM,IAAI;UACb,GAAG;;6CAoCV,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ProcessedData {
|
|
3
|
+
[key: string]: string | number | boolean | any;
|
|
4
|
+
}
|
|
5
|
+
interface ErrorData {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
interface SectionData {
|
|
9
|
+
processed_data?: ProcessedData;
|
|
10
|
+
error_data?: ErrorData;
|
|
11
|
+
}
|
|
12
|
+
interface DynamicDataDisplayProps {
|
|
13
|
+
data: {
|
|
14
|
+
[sectionName: string]: SectionData;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const DynamicDataDisplay: React.FC<DynamicDataDisplayProps>;
|
|
18
|
+
export default DynamicDataDisplay;
|
|
19
|
+
//# sourceMappingURL=DynamicDataPreviewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicDataPreviewer.d.ts","sourceRoot":"","sources":["../../../../../src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,UAAU,aAAa;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,GAAG,CAAC;CAChD;AAED,UAAU,SAAS;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,WAAW;IACnB,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE;QACJ,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,CAAC;KACpC,CAAC;CACH;AA8JD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA0DzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EpubPreview.d.ts","sourceRoot":"","sources":["../../../../../src/features/DatagestMon/EpubPreviewer/EpubPreview.tsx"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAkBD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,GAAG,EAAG,OAAO,EAAC,EAAE,KAAK,2CAsJzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewerLayout.d.ts","sourceRoot":"","sources":["../../../../src/lib/styles/viewerLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,8BAA8B;AAC9B,QAAA,MAAM,YAAY,EAAE,YAMnB,CAAA;AAED,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type EpubItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
size: number;
|
|
5
|
+
url: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Epub viewer layout size type
|
|
9
|
+
* @type
|
|
10
|
+
* @param MIN_VIEWER_WIDTH Viewer min width (px)
|
|
11
|
+
* @param MIN_VIEWER_HEIGHT Viewer min height (px)
|
|
12
|
+
* @param VIEWER_HEADER_HEIGHT Viewer header height (px)
|
|
13
|
+
* @param VIEWER_FOOTER_HEIGHT Viewer footer height (px)
|
|
14
|
+
* @param VIEWER_SIDEMENU_WIDTH Viewer sideMenu width (px)
|
|
15
|
+
*/
|
|
16
|
+
export interface ViewerLayout {
|
|
17
|
+
MIN_VIEWER_WIDTH: number;
|
|
18
|
+
MIN_VIEWER_HEIGHT: number;
|
|
19
|
+
VIEWER_HEADER_HEIGHT: number;
|
|
20
|
+
VIEWER_FOOTER_HEIGHT: number;
|
|
21
|
+
VIEWER_SIDEMENU_WIDTH: number;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=epubItems.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epubItems.d.ts","sourceRoot":"","sources":["../../../src/types/epubItems.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAGD;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;CAC9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-llm-studio/citation",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"author": "Devesh Patel",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"moment": "2.29.4",
|
|
84
84
|
"moment-timezone": "0.5.34",
|
|
85
85
|
"react-markdown": "^8.0.7",
|
|
86
|
+
"react-reader": "^2.0.13",
|
|
86
87
|
"react-router-dom": "5.2.0",
|
|
87
88
|
"react-scripts": ">=5.0.1",
|
|
88
89
|
"react-syntax-highlighter": "^15.6.1",
|