@topconsultnpm/sdkui-react-beta 6.15.22 → 6.15.23

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.
@@ -81,13 +81,13 @@ export const copyUserInfoToClipboard = (userName, cultureId, archiveId, archiveD
81
81
  ShowAlert({
82
82
  message: SDKUI_Localizator.OperationSuccess,
83
83
  mode: 'success',
84
- title: 'copy', // change this,
84
+ title: SDKUI_Localizator.CopyUserInfo,
85
85
  duration: 3000
86
86
  });
87
87
  })
88
88
  .catch(() => {
89
89
  ShowAlert({
90
- message: 'failed', // change this,
90
+ message: SDKUI_Localizator.FailedToCopyToClipboard,
91
91
  mode: 'error',
92
92
  title: 'Error',
93
93
  duration: 3000
@@ -259,7 +259,7 @@ const TMHeader = ({ onMenusOpen, showSettingsMenu = true, showSearchBar = true,
259
259
  _jsx(TMResizableMenu, { ref: menuRef, isVisible: menuStatus, top: 60, right: 10, resizable: false, maxWidth: 300, minWidth: 300, maxHeight: 180, minHeight: 180, padding: 0, children: _jsxs(MenuContainer, { children: [_jsxs(UserProfileSection, { children: [_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, height: 'max-content' }, children: [_jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: 12, height: 'max-content' }, children: [_jsx(AvatarContainer, { children: _jsx(UserAvatarLarge, { "$bgColor": avatarColor, children: userInitials }) }), _jsxs(UserInfo, { children: [_jsxs(UserNameContainer, { children: [_jsx(UserName, { children: userName }), _jsx(CultureFlag, { src: cultureFlag, alt: cultureName, title: cultureName })] }), domain && _jsx(SessionInfo, { style: { padding: 0, margin: 0 }, children: `(${domain})` })] })] }), _jsxs("div", { style: { display: 'flex', flexDirection: 'column', alignItems: 'flex-start', justifyContent: 'center', gap: 5 }, children: [_jsx(SessionInfo, { children: endpoint }), _jsx(SessionInfo, { children: archiveId + ' (' + archiveDesc + ')' })] })] }), _jsx(CopyIcon, { onClick: (e) => {
260
260
  e.stopPropagation();
261
261
  copyUserInfoToClipboard(userName, cultureId, archiveId, archiveDesc, endpoint, domain);
262
- }, title: 'copy user info', children: _jsx(IconCopy, { fontSize: 12 }) }), _jsx(LogoutButton, { onClick: () => {
262
+ }, title: SDKUI_Localizator.CopyUserInfo, children: _jsx(IconCopy, { fontSize: 12 }) }), _jsx(LogoutButton, { onClick: () => {
263
263
  setMenuStatus(false);
264
264
  onLogout && onLogout();
265
265
  }, children: _jsx(LogoutText, { children: SDKUI_Localizator.Logout }) })] }), _jsxs(BottomActionsContainer, { children: [isTopMediaAuth && (_jsx(BottomActionButton, { onClick: () => {
@@ -92,6 +92,7 @@ export declare class SDKUI_Localizator {
92
92
  static get CopyToArchivedDocuments(): string;
93
93
  static get CopyToClipboard(): "Erfolgreich in die Zwischenablage kopiert" | "Copy in clipboard" | "Copiar en portapapeles" | "Copier dans le presse-papier" | "Copiar na área de transferência" | "Copia negli appunti";
94
94
  static get CopyToDrafts(): string;
95
+ static get CopyUserInfo(): string;
95
96
  static get Count(): "Zählen" | "Count" | "Contar" | "Compte" | "Contagem" | "Conta";
96
97
  static get Create(): "Erstellen" | "Create" | "Crear" | "Créer" | "Criar" | "Crea";
97
98
  static get CreateContextualTask(): string;
@@ -175,6 +176,7 @@ export declare class SDKUI_Localizator {
175
176
  static get Extension(): string;
176
177
  static get Favorites(): "Favoriten" | "Favorites" | "Favoritos" | "Favoris" | "Preferiti";
177
178
  static get FavoritesAndRecentDcmts(): "Zuletzt verwendete und bevorzugte Dokumente" | "Preferred and recent documents" | "Documentos preferidos y recientes" | "Documents préférés et récents" | "Documentos preferidos e recentes" | "Documenti preferiti e recenti";
179
+ static get FailedToCopyToClipboard(): string;
178
180
  static get FEFormats_ASW_HTML(): "AssoSoftware Style Sheet (HTML)" | "Hoja de estilo AssoSoftware (HTML)" | "Feuille de style AssoSoftware (HTML)" | "Folha de estilo AssoSoftware (HTML)" | "Foglio di stile AssoSoftware (HTML)";
179
181
  static get FEFormats_ASW_PDF(): "AssoSoftware Style Sheet (PDF)" | "Hoja de estiloAssoSoftware (PDF)" | "Feuille de style AssoSoftware (PDF)" | "Folha de estilo AssoSoftware (PDF)" | "Foglio di stile AssoSoftware (PDF)";
180
182
  static get FEFormats_ASWEX_HTML(): "" | "Hoja de estilo extendido AssoSoftware (HTML)" | "Feuille de style étendu AssoSoftware (HTML)" | "Folha de estilo extendido AssoSoftware (HTML)" | "Foglio di stile esteso AssoSoftware (HTML)";
@@ -875,6 +875,16 @@ export class SDKUI_Localizator {
875
875
  default: return "Copia nelle bozze";
876
876
  }
877
877
  }
878
+ static get CopyUserInfo() {
879
+ switch (this._cultureID) {
880
+ case CultureIDs.De_DE: return "Benutzerinfo kopieren";
881
+ case CultureIDs.En_US: return "Copy user info";
882
+ case CultureIDs.Es_ES: return "Copiar información del usuario";
883
+ case CultureIDs.Fr_FR: return "Copier les informations utilisateur";
884
+ case CultureIDs.Pt_PT: return "Copiar informações do usuário";
885
+ default: return "Copia info utente";
886
+ }
887
+ }
878
888
  static get Count() {
879
889
  switch (this._cultureID) {
880
890
  case CultureIDs.De_DE: return "Zählen";
@@ -1717,6 +1727,16 @@ export class SDKUI_Localizator {
1717
1727
  default: return "Documenti preferiti e recenti";
1718
1728
  }
1719
1729
  }
1730
+ static get FailedToCopyToClipboard() {
1731
+ switch (this._cultureID) {
1732
+ case CultureIDs.De_DE: return "Fehler beim Kopieren in die Zwischenablage";
1733
+ case CultureIDs.En_US: return "Failed to copy to clipboard";
1734
+ case CultureIDs.Es_ES: return "Error al copiar al portapapeles";
1735
+ case CultureIDs.Fr_FR: return "Échec de la copie dans le presse-papiers";
1736
+ case CultureIDs.Pt_PT: return "Falha ao copiar para a área de transferência";
1737
+ default: return "Impossibile copiare negli appunti";
1738
+ }
1739
+ }
1720
1740
  static get FEFormats_ASW_HTML() {
1721
1741
  switch (this._cultureID) {
1722
1742
  case CultureIDs.De_DE: return "AssoSoftware Style Sheet (HTML)";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.15.22",
3
+ "version": "6.15.23",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",