@topconsultnpm/sdkui-react-beta 6.15.115 → 6.15.117

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.
@@ -7,7 +7,6 @@ interface ITMArchiveProps {
7
7
  }>;
8
8
  inputTID?: number;
9
9
  connectorFileSave?: () => Promise<File>;
10
- onCurrentTIDChanged?: (tid: number | undefined) => void;
11
10
  onSavedAsyncCallback?: (tid: number | undefined, did: number | undefined) => Promise<void>;
12
11
  }
13
12
  declare const TMArchive: React.FunctionComponent<ITMArchiveProps>;
@@ -12,7 +12,7 @@ import TMTreeSelector from '../search/TMTreeSelector';
12
12
  import TMPanel from '../../base/TMPanel';
13
13
  import { TMPanelManagerProvider, useTMPanelManagerContext } from '../../layout/panelManager/TMPanelManagerContext';
14
14
  import TMPanelManagerContainer from '../../layout/panelManager/TMPanelManagerContainer';
15
- const TMArchive = ({ inputTID, inputFile = null, connectorFileSave = undefined, onSavedAsyncCallback, inputMids = [], onCurrentTIDChanged }) => {
15
+ const TMArchive = ({ inputTID, inputFile = null, connectorFileSave = undefined, onSavedAsyncCallback, inputMids = [] }) => {
16
16
  const [currentTID, setCurrentTID] = useState(inputTID ?? 0);
17
17
  const [mruTIDs, setMruTIDs] = useState([]);
18
18
  const [currentMruTID, setCurrentMruTID] = useState(0);
@@ -24,11 +24,6 @@ const TMArchive = ({ inputTID, inputFile = null, connectorFileSave = undefined,
24
24
  return;
25
25
  setCurrentTID(inputTID);
26
26
  }, [inputTID]);
27
- useEffect(() => {
28
- if (!onCurrentTIDChanged)
29
- return;
30
- onCurrentTIDChanged(currentTID);
31
- }, [currentTID, onCurrentTIDChanged]);
32
27
  useEffect(() => {
33
28
  if (!currentTID || currentTID <= 0) {
34
29
  return;
@@ -15,7 +15,6 @@ interface ITMSearchProps {
15
15
  openS4TViewer?: boolean;
16
16
  onOpenS4TViewerRequest?: (dcmtInfo: Array<DcmtInfo>) => void;
17
17
  showTodoDcmtForm?: boolean;
18
- onCurrentTIDChanged?: (tid: number | undefined) => void;
19
18
  }
20
19
  declare const TMSearch: React.FunctionComponent<ITMSearchProps>;
21
20
  export default TMSearch;
@@ -18,7 +18,7 @@ var TMSearchViews;
18
18
  TMSearchViews[TMSearchViews["Search"] = 0] = "Search";
19
19
  TMSearchViews[TMSearchViews["Result"] = 1] = "Result";
20
20
  })(TMSearchViews || (TMSearchViews = {}));
21
- const TMSearch = ({ onCurrentTIDChanged = undefined, isVisible, inputTID, inputSqdID, isExpertMode = SDKUI_Globals.userSettings.advancedSettings.expertMode === 1, floatingActionConfig, onFileOpened, onRefreshAfterAddDcmtToFavs, onTaskCreateRequest, openWGsCopyMoveForm, openS4TViewer, onOpenS4TViewerRequest, showTodoDcmtForm }) => {
21
+ const TMSearch = ({ isVisible, inputTID, inputSqdID, isExpertMode = SDKUI_Globals.userSettings.advancedSettings.expertMode === 1, floatingActionConfig, onFileOpened, onRefreshAfterAddDcmtToFavs, onTaskCreateRequest, openWGsCopyMoveForm, openS4TViewer, onOpenS4TViewerRequest, showTodoDcmtForm }) => {
22
22
  const [allSQDs, setAllSQDs] = useState([]);
23
23
  const [filteredByTIDSQDs, setFilteredByTIDSQDs] = useState([]);
24
24
  const [currentSQD, setCurrentSQD] = useState();
@@ -60,8 +60,6 @@ const TMSearch = ({ onCurrentTIDChanged = undefined, isVisible, inputTID, inputS
60
60
  setCurrentSQDMode(0);
61
61
  await setDefaultSQDAsync(sqds);
62
62
  });
63
- if (onCurrentTIDChanged)
64
- onCurrentTIDChanged(currentTID);
65
63
  }, [currentTID]);
66
64
  useEffect(() => {
67
65
  if (currentSQD && currentSQD.masterTID != currentTID) {
@@ -128,8 +128,10 @@ export declare class SDKUI_Localizator {
128
128
  static get Disabled(): "Deaktiviert" | "Disabled" | "Deshabilitado" | "Désactivé" | "Desabilitado" | "Disabilitato";
129
129
  static get DisplayFormat(): string;
130
130
  static get DistinctValues(): "Unterschiedliche Werte" | "Distinct values" | "Valores distintos" | "Valeurs distinctes" | "Valori distinti";
131
+ static get DocumentArchivedSuccessfully(): "Dokument erfolgreich archiviert" | "Document archived successfully" | "Documento archivado con éxito" | "Document archivé avec succès" | "Documento arquivado com sucesso" | "Documento archiviato con successo";
131
132
  static get DocumentData(): string;
132
133
  static get DocumentNotAvailable(): string;
134
+ static get DocumentOpenedSuccessfully(): "Dokument erfolgreich geöffnet" | "Document opened successfully" | "Documento abierto con éxito" | "Document ouvert avec succès" | "Documento aberto com sucesso" | "Documento aperto con successo";
133
135
  static get Documents(): string;
134
136
  static get DocumentOperations(): string;
135
137
  static get Domain(): "Domäne" | "Domain" | "Dominio" | "Domaine";
@@ -315,6 +317,8 @@ export declare class SDKUI_Localizator {
315
317
  static get NotAvailable(): string;
316
318
  static get OfSystem(): "Des Systems" | "Of system" | "Del sistema" | "Du système" | "Do sistema" | "Di sistema";
317
319
  static get OldPassword(): "Altes Kennwort" | "Old password" | "Contraseña anterior" | "Ancien mot de passe" | "Senha Antiga" | "Password vecchia";
320
+ static get OpenedDocument(): "Dokument geöffnet" | "Document opened" | "Documento abierto" | "Document ouvert" | "Documento aberto" | "Documento aperto";
321
+ static get OpenTheDocument(): "Dokument öffnen" | "Open the document" | "Abrir el documento" | "Ouvrir le document" | "Abrir o documento" | "Apri il documento";
318
322
  static get OpenForm(): string;
319
323
  static get OpenInNewTab(): "In einem neuen Tab öffnen" | "Open in new tab" | "Abrir en una nueva pestaña" | "Ouvrir dans un nouvel onglet" | "Abrir em uma nova aba" | "Apri in un nuovo tab";
320
324
  static get Operations(): "Operationen" | "Operations" | "Operaciones" | "Opérations" | "Operações" | "Operazioni";
@@ -391,6 +395,7 @@ export declare class SDKUI_Localizator {
391
395
  static get RemoveFromWorkgroup(): string;
392
396
  static get RemoveNamedPreferredCredentials(): "Möchten Sie die Anmeldedaten '{{0}}' entfernen, die als bevorzugt festgelegt wurden?" | "Do you want to remove the '{{0}}' credentials set as preferred?" | "¿Quieres eliminar las credenciales '{{0}}' configuradas como preferidas?" | "Voulez-vous supprimer les identifiants '{{0}}' définis comme préférés ?" | "Deseja remover as credenciais '{{0}}' definidas como preferidas?" | "Vuoi rimuovere le credenziali '{{0}}' impostate come preferite?";
393
397
  static get RememberCredentials(): "Anmeldedaten merken" | "Remember credentials" | "Recordar credenciales" | "Se souvenir des identifiants" | "Lembrar credenciais" | "Ricorda credenziali";
398
+ static get ReplaceDocument(): "Dokument ersetzen" | "Replace Document" | "Reemplazar Documento" | "Remplacer le Document" | "Substituir Documento" | "Sostituisci Documento";
394
399
  static get Request(): string;
395
400
  static get RequestTo(): string;
396
401
  static get Required(): "Obligatorisch" | "Required" | "Obligatorio" | "Obbligatoire" | "Obrigatório" | "Obbligatorio";
@@ -423,6 +428,7 @@ export declare class SDKUI_Localizator {
423
428
  static get SearchResult(): "Suchergebnis" | "Search result" | "Resultado de la búsqueda" | "Résultat de la recherche" | "Resultados da pesquisa" | "Risultato della ricerca";
424
429
  static get Seconds(): "Sekunden" | "Seconds" | "Segundos" | "Secondes" | "Segundas" | "Secondi";
425
430
  static get Select(): "Wählen Sie Ihre" | "Select" | "Seleccionar" | "Sélectionne" | "Selecione" | "Seleziona";
431
+ static get SelectAnOperationBetween(): "Wählen Sie eine Operation zwischen" | "Select an operation between" | "Selecciona una operación entre" | "Sélectionnez une opération entre" | "Selecione uma operação entre" | "Seleziona un'operazione tra";
426
432
  static get SelectSupportAreaMessage(): "Wählen Sie einen Ablagebereich aus" | "Select a support area" | "Seleccione un área de apoyo" | "Sélectionnez une zone de support" | "Selecione uma área de apoio" | "Selezionare un'area di appoggio";
427
433
  static get SelectedSingular(): string;
428
434
  static get Selected(): "Ausgewählt" | "Selected" | "Sélectionné" | "Selecionado" | "Seleccionados" | "Selezionati";
@@ -470,6 +476,7 @@ export declare class SDKUI_Localizator {
470
476
  static get SwitchUser(): "Benutzer wechseln" | "Switch user" | "Cambiar usuario" | "Changer d'utilisateur" | "Mudar de usuário" | "Cambia utente";
471
477
  static get Template(): "Modell des Autos" | "Template" | "Modelo" | "Modèle" | "Modello";
472
478
  static get Today(): "Heute" | "Today" | "Hoy" | "Aujourd'hui" | "Hoje" | "Oggi";
479
+ static get ToStart(): "um zu beginnen" | "to start" | "para empezar" | "pour commencer" | "para começar" | "per iniziare";
473
480
  static get ToTime(): "zu" | "to" | "a" | "à" | "al";
474
481
  static get Time(): "Jetzt" | "Time" | "Ahora" | "Maintenant" | "Agora" | "Ora";
475
482
  static get Type(): "Typ" | "Type" | "Tipo";
@@ -481,6 +488,7 @@ export declare class SDKUI_Localizator {
481
488
  static get UBLViewFormats_ER_PDF(): "ER Style Sheet (PDF)" | "Hoja de estilo ER (PDF)" | "Feuille de style ER (PDF)" | "Folha de estilo ER (PDF)" | "Foglio di stile ER (PDF)";
482
489
  static get UBLViewFormats_NSO_HTML(): "NSO Style Sheet (HTML)" | "Hoja de estilo NSO (HTML)" | "Feuille de style NSO (HTML)" | "Folha de estilo NSO (HTML)" | "Foglio di stile NSO (HTML)";
483
490
  static get UBLViewFormats_NSO_PDF(): "NSO Style Sheet (PDF)" | "Hoja de estilo NSO (PDF)" | "Feuille de style NSO (PDF)" | "Folha de estilo NSO (PDF)" | "Foglio di stile NSO (PDF)";
491
+ static get UnableToGetUpdatedDocumentContent(): "Aktualisierter Dokumentinhalt kann nicht abgerufen werden" | "Unable to get updated document content" | "No se puede obtener el contenido actualizado del documento" | "Impossible d'obtenir le contenu mis à jour du document" | "Não é possível obter o conteúdo atualizado do documento" | "Impossibile ottenere il contenuto aggiornato del documento";
484
492
  static get Undo(): "Änderungen rückgängig machen" | "Undo" | "Anular modificaciones" | "Annule les modifications" | "Anular alterações" | "Annulla modifiche";
485
493
  static get Update(): "Bearbeiten" | "Update" | "Modificar" | "Modifie" | "Modificação" | "Modifica";
486
494
  static get UpdateCompletedSuccessfully(): "Aktualisierung erfolgreich abgeschlossen" | "Update completed successfully" | "Actualización completada con éxito" | "Mise à jour terminée avec succès" | "Atualização concluída com sucesso" | "Aggiornamento completato con successo";
@@ -516,6 +524,7 @@ export declare class SDKUI_Localizator {
516
524
  static get Visible(): "Sichtbar" | "Visible" | "Visibles" | "Visibiles" | "Visíveis" | "Visibili";
517
525
  static get VisibleItems(): "sichtbare Elemente" | "Visible items" | "elementos visibles" | "éléments visibles" | "itens visíveis" | "Elementi visibili";
518
526
  static get Warning(): "Warnung" | "Warning" | "advertencia" | "avertissement" | "aviso" | "Avviso";
527
+ static get Welcome(): "Willkommen" | "Welcome" | "Bienvenido" | "Bienvenue" | "Bem-vindo" | "Benvenuto";
519
528
  static get WelcomeTo(): "Willkommen bei {{0}}" | "Welcome to {{0}}" | "Bienvenido a {{0}}" | "Bienvenue sur {{0}}" | "Bem-vindo à {{0}}" | "Benvenuto su {{0}}";
520
529
  static get WorkflowApproval(): "Workflow-Genehmigung" | "Workflow approval" | "Aprobación de flujo de trabajo" | "Approbation de workflow" | "Aprovação de fluxo de trabalho" | "Approvazione workflow";
521
530
  static get WorkflowDiagramMissingOrInvalid(): "Diagramm fehlt oder ist ungültig" | "Diagram missing or invalid" | "Diagrama no presente o no válido" | "Schéma manquant ou invalide" | "Diagrama ausente ou inválido" | "Diagramma non presente o non valido";
@@ -1235,6 +1235,16 @@ export class SDKUI_Localizator {
1235
1235
  default: return "Valori distinti";
1236
1236
  }
1237
1237
  }
1238
+ static get DocumentArchivedSuccessfully() {
1239
+ switch (this._cultureID) {
1240
+ case CultureIDs.De_DE: return "Dokument erfolgreich archiviert";
1241
+ case CultureIDs.En_US: return "Document archived successfully";
1242
+ case CultureIDs.Es_ES: return "Documento archivado con éxito";
1243
+ case CultureIDs.Fr_FR: return "Document archivé avec succès";
1244
+ case CultureIDs.Pt_PT: return "Documento arquivado com sucesso";
1245
+ default: return "Documento archiviato con successo";
1246
+ }
1247
+ }
1238
1248
  static get DocumentData() {
1239
1249
  switch (this._cultureID) {
1240
1250
  case CultureIDs.De_DE: return "Dokumentendaten";
@@ -1255,6 +1265,16 @@ export class SDKUI_Localizator {
1255
1265
  default: return "Documento non disponibile";
1256
1266
  }
1257
1267
  }
1268
+ static get DocumentOpenedSuccessfully() {
1269
+ switch (this._cultureID) {
1270
+ case CultureIDs.De_DE: return "Dokument erfolgreich geöffnet";
1271
+ case CultureIDs.En_US: return "Document opened successfully";
1272
+ case CultureIDs.Es_ES: return "Documento abierto con éxito";
1273
+ case CultureIDs.Fr_FR: return "Document ouvert avec succès";
1274
+ case CultureIDs.Pt_PT: return "Documento aberto com sucesso";
1275
+ default: return "Documento aperto con successo";
1276
+ }
1277
+ }
1258
1278
  static get Documents() {
1259
1279
  switch (this._cultureID) {
1260
1280
  case CultureIDs.De_DE: return "Dokumente";
@@ -3107,6 +3127,26 @@ export class SDKUI_Localizator {
3107
3127
  default: return "Password vecchia";
3108
3128
  }
3109
3129
  }
3130
+ static get OpenedDocument() {
3131
+ switch (this._cultureID) {
3132
+ case CultureIDs.De_DE: return "Dokument geöffnet";
3133
+ case CultureIDs.En_US: return "Document opened";
3134
+ case CultureIDs.Es_ES: return "Documento abierto";
3135
+ case CultureIDs.Fr_FR: return "Document ouvert";
3136
+ case CultureIDs.Pt_PT: return "Documento aberto";
3137
+ default: return "Documento aperto";
3138
+ }
3139
+ }
3140
+ static get OpenTheDocument() {
3141
+ switch (this._cultureID) {
3142
+ case CultureIDs.De_DE: return "Dokument öffnen";
3143
+ case CultureIDs.En_US: return "Open the document";
3144
+ case CultureIDs.Es_ES: return "Abrir el documento";
3145
+ case CultureIDs.Fr_FR: return "Ouvrir le document";
3146
+ case CultureIDs.Pt_PT: return "Abrir o documento";
3147
+ default: return "Apri il documento";
3148
+ }
3149
+ }
3110
3150
  static get OpenForm() {
3111
3151
  switch (this._cultureID) {
3112
3152
  case CultureIDs.De_DE: return "Formular öffnen";
@@ -3874,6 +3914,16 @@ export class SDKUI_Localizator {
3874
3914
  default: return "Ricorda credenziali";
3875
3915
  }
3876
3916
  }
3917
+ static get ReplaceDocument() {
3918
+ switch (this._cultureID) {
3919
+ case CultureIDs.De_DE: return "Dokument ersetzen";
3920
+ case CultureIDs.En_US: return "Replace Document";
3921
+ case CultureIDs.Es_ES: return "Reemplazar Documento";
3922
+ case CultureIDs.Fr_FR: return "Remplacer le Document";
3923
+ case CultureIDs.Pt_PT: return "Substituir Documento";
3924
+ default: return "Sostituisci Documento";
3925
+ }
3926
+ }
3877
3927
  static get Request() {
3878
3928
  switch (this._cultureID) {
3879
3929
  case CultureIDs.De_DE: return "Anfordern";
@@ -4194,6 +4244,16 @@ export class SDKUI_Localizator {
4194
4244
  default: return "Seleziona";
4195
4245
  }
4196
4246
  }
4247
+ static get SelectAnOperationBetween() {
4248
+ switch (this._cultureID) {
4249
+ case CultureIDs.De_DE: return "Wählen Sie eine Operation zwischen";
4250
+ case CultureIDs.En_US: return "Select an operation between";
4251
+ case CultureIDs.Es_ES: return "Selecciona una operación entre";
4252
+ case CultureIDs.Fr_FR: return "Sélectionnez une opération entre";
4253
+ case CultureIDs.Pt_PT: return "Selecione uma operação entre";
4254
+ default: return "Seleziona un'operazione tra";
4255
+ }
4256
+ }
4197
4257
  static get SelectSupportAreaMessage() {
4198
4258
  switch (this._cultureID) {
4199
4259
  case CultureIDs.De_DE: return "Wählen Sie einen Ablagebereich aus";
@@ -4665,6 +4725,16 @@ export class SDKUI_Localizator {
4665
4725
  default: return "Oggi";
4666
4726
  }
4667
4727
  }
4728
+ static get ToStart() {
4729
+ switch (this._cultureID) {
4730
+ case CultureIDs.De_DE: return "um zu beginnen";
4731
+ case CultureIDs.En_US: return "to start";
4732
+ case CultureIDs.Es_ES: return "para empezar";
4733
+ case CultureIDs.Fr_FR: return "pour commencer";
4734
+ case CultureIDs.Pt_PT: return "para começar";
4735
+ default: return "per iniziare";
4736
+ }
4737
+ }
4668
4738
  static get ToTime() {
4669
4739
  switch (this._cultureID) {
4670
4740
  case CultureIDs.De_DE: return "zu";
@@ -4775,6 +4845,16 @@ export class SDKUI_Localizator {
4775
4845
  default: return "Foglio di stile NSO (PDF)";
4776
4846
  }
4777
4847
  }
4848
+ static get UnableToGetUpdatedDocumentContent() {
4849
+ switch (this._cultureID) {
4850
+ case CultureIDs.De_DE: return "Aktualisierter Dokumentinhalt kann nicht abgerufen werden";
4851
+ case CultureIDs.En_US: return "Unable to get updated document content";
4852
+ case CultureIDs.Es_ES: return "No se puede obtener el contenido actualizado del documento";
4853
+ case CultureIDs.Fr_FR: return "Impossible d'obtenir le contenu mis à jour du document";
4854
+ case CultureIDs.Pt_PT: return "Não é possível obter o conteúdo atualizado do documento";
4855
+ default: return "Impossibile ottenere il contenuto aggiornato del documento";
4856
+ }
4857
+ }
4778
4858
  static get Undo() {
4779
4859
  switch (this._cultureID) {
4780
4860
  case CultureIDs.De_DE: return "Änderungen rückgängig machen";
@@ -5125,6 +5205,16 @@ export class SDKUI_Localizator {
5125
5205
  default: return "Avviso";
5126
5206
  }
5127
5207
  }
5208
+ static get Welcome() {
5209
+ switch (this._cultureID) {
5210
+ case CultureIDs.De_DE: return "Willkommen";
5211
+ case CultureIDs.En_US: return "Welcome";
5212
+ case CultureIDs.Es_ES: return "Bienvenido";
5213
+ case CultureIDs.Fr_FR: return "Bienvenue";
5214
+ case CultureIDs.Pt_PT: return "Bem-vindo";
5215
+ default: return "Benvenuto";
5216
+ }
5217
+ }
5128
5218
  static get WelcomeTo() {
5129
5219
  switch (this._cultureID) {
5130
5220
  case CultureIDs.De_DE: return "Willkommen bei {{0}}";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.15.115",
3
+ "version": "6.15.117",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",