@topconsultnpm/sdkui-react-beta 6.16.65 → 6.16.67
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.
|
@@ -5,6 +5,7 @@ export declare const CACHE_SIZE_LIMIT = 10;
|
|
|
5
5
|
export declare const clearDcmtsFileCache: () => void;
|
|
6
6
|
export declare const removeDcmtsFileCache: (key: string) => void;
|
|
7
7
|
export declare const isDcmtFileInCache: (key: string) => boolean;
|
|
8
|
+
export declare const DEFAULT_CHECK_IN_OUT_FOLDER = "";
|
|
8
9
|
export declare class UserSettings {
|
|
9
10
|
archiveID: string | undefined;
|
|
10
11
|
landingPage: string;
|
|
@@ -15,7 +16,8 @@ export declare class UserSettings {
|
|
|
15
16
|
searchSettings: SearchSettings;
|
|
16
17
|
themeSettings: ThemeSettings;
|
|
17
18
|
dcmtFormSettings: DcmtFormSettings[];
|
|
18
|
-
|
|
19
|
+
wgDraftCheckoutInfo: WgDraftCheckoutInfo[];
|
|
20
|
+
defaultCheckInOutFolder: string;
|
|
19
21
|
constructor(skipCssUpdate?: boolean);
|
|
20
22
|
/** Load settings from local storage or other sources */
|
|
21
23
|
static LoadSettings(userID: number | undefined, archiveID: string | undefined): UserSettings;
|
|
@@ -80,11 +82,11 @@ export declare class DcmtFormSettings {
|
|
|
80
82
|
};
|
|
81
83
|
};
|
|
82
84
|
}
|
|
83
|
-
export interface
|
|
85
|
+
export interface WgDraftCheckoutInfo {
|
|
84
86
|
DID: string;
|
|
85
87
|
TID: string;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
checkoutFolder: string;
|
|
89
|
+
checkoutName: string;
|
|
88
90
|
}
|
|
89
91
|
export declare class SDKUI_Globals {
|
|
90
92
|
static userSettings: UserSettings;
|
|
@@ -7,6 +7,7 @@ export const CACHE_SIZE_LIMIT = 10;
|
|
|
7
7
|
export const clearDcmtsFileCache = () => { dcmtsFileCachePreview.clear(); dcmtsFileCacheDownload.clear(); };
|
|
8
8
|
export const removeDcmtsFileCache = (key) => { dcmtsFileCachePreview.delete(key); dcmtsFileCacheDownload.delete(key); };
|
|
9
9
|
export const isDcmtFileInCache = (key) => dcmtsFileCachePreview.has(key);
|
|
10
|
+
export const DEFAULT_CHECK_IN_OUT_FOLDER = "";
|
|
10
11
|
export class UserSettings {
|
|
11
12
|
constructor(skipCssUpdate = false) {
|
|
12
13
|
this.archiveID = undefined;
|
|
@@ -18,7 +19,8 @@ export class UserSettings {
|
|
|
18
19
|
this.searchSettings = new SearchSettings();
|
|
19
20
|
this.themeSettings = new ThemeSettings(true);
|
|
20
21
|
this.dcmtFormSettings = [];
|
|
21
|
-
this.
|
|
22
|
+
this.wgDraftCheckoutInfo = [];
|
|
23
|
+
this.defaultCheckInOutFolder = DEFAULT_CHECK_IN_OUT_FOLDER;
|
|
22
24
|
this.themeSettings = new ThemeSettings(skipCssUpdate);
|
|
23
25
|
}
|
|
24
26
|
/** Load settings from local storage or other sources */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react-beta",
|
|
3
|
-
"version": "6.16.
|
|
3
|
+
"version": "6.16.67",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"lib"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@topconsultnpm/sdk-ts-beta": "6.16.
|
|
42
|
+
"@topconsultnpm/sdk-ts-beta": "6.16.14",
|
|
43
43
|
"buffer": "^6.0.3",
|
|
44
44
|
"devextreme": "25.1.4",
|
|
45
45
|
"devextreme-react": "25.1.4",
|