@topconsultnpm/sdkui-react-beta 6.15.79 → 6.15.80

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.
@@ -157,7 +157,7 @@ const TMSavedQuerySelector = React.memo(({ items, selectedId, allowShowSearch =
157
157
  await SDK_Globals.tmSession?.NewSavedQueryEngine().FavoritesAddOrRemoveAsync(sqd?.id, false);
158
158
  onFavoritesAdded?.(sqd);
159
159
  TMSpinner.hide();
160
- ShowAlert({ mode: 'success', title: SDK_Localizator.SavedQuery, message: 'Operazione eseguita con successo', duration: 3000 });
160
+ ShowAlert({ mode: 'success', title: SDK_Localizator.SavedQuery, message: SDKUI_Localizator.OperationSuccess, duration: 3000 });
161
161
  }
162
162
  catch (ex) {
163
163
  TMSpinner.hide();
@@ -15,6 +15,7 @@ export declare class UserSettings {
15
15
  searchSettings: SearchSettings;
16
16
  themeSettings: ThemeSettings;
17
17
  dcmtFormSettings: DcmtFormSettings[];
18
+ wGSDraftCheckoutItem: WGSDraftCheckoutItem[];
18
19
  constructor(skipCssUpdate?: boolean);
19
20
  /** Load settings from local storage or other sources */
20
21
  static LoadSettings(userID: number | undefined, archiveID: string | undefined): UserSettings;
@@ -79,6 +80,12 @@ export declare class DcmtFormSettings {
79
80
  };
80
81
  };
81
82
  }
83
+ export interface WGSDraftCheckoutItem {
84
+ DID: string;
85
+ TID: string;
86
+ draftCheckoutFolder: string;
87
+ draftCheckoutName: string;
88
+ }
82
89
  export declare class SDKUI_Globals {
83
90
  static userSettings: UserSettings;
84
91
  }
@@ -18,6 +18,7 @@ export class UserSettings {
18
18
  this.searchSettings = new SearchSettings();
19
19
  this.themeSettings = new ThemeSettings(true);
20
20
  this.dcmtFormSettings = [];
21
+ this.wGSDraftCheckoutItem = [];
21
22
  this.themeSettings = new ThemeSettings(skipCssUpdate);
22
23
  }
23
24
  /** Load settings from local storage or other sources */
@@ -51,6 +52,7 @@ export class UserSettings {
51
52
  const defaultValue = defaultSettings[key];
52
53
  return JSON.stringify(value) !== JSON.stringify(defaultValue);
53
54
  }));
55
+ console.log("filteredSettings", filteredSettings);
54
56
  LocalStorageService.setItem(`userSettings_${settings.archiveID}_${settings.userID}`, JSON.stringify(filteredSettings));
55
57
  }
56
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.15.79",
3
+ "version": "6.15.80",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",