@topconsultnpm/sdkui-react-beta 6.7.25 → 6.7.27
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/lib/assets/icomoon.svg +96 -96
- package/lib/components/base/Styled.d.ts +22 -1919
- package/lib/components/base/TMAlert.d.ts +2 -3
- package/lib/components/base/TMButton.d.ts +11 -9
- package/lib/components/base/TMButton.js +11 -6
- package/lib/components/base/TMContextMenuOLD.d.ts +3 -274
- package/lib/components/base/TMDropDownMenu.d.ts +0 -1
- package/lib/components/base/TMEditorBase.d.ts +0 -1
- package/lib/components/base/TMLayout.d.ts +36 -36
- package/lib/components/base/TMTab.d.ts +4 -4
- package/lib/components/base/TMVilViewer.d.ts +1 -1
- package/lib/components/choosers/TMUserChooser.d.ts +5 -5
- package/lib/components/editors/TMEditorStyled.d.ts +20 -21
- package/lib/components/forms/TMLoginForm.d.ts +5 -5
- package/lib/components/forms/TMLoginPopupSaveLoginInfo.js +95 -4
- package/lib/components/forms/TMSaveForm.d.ts +25 -10
- package/lib/components/forms/TMSaveForm.js +23 -14
- package/lib/components/query/TMQueryEditor.d.ts +8 -550
- package/lib/components/query/TMQueryResult.d.ts +5 -5
- package/lib/components/query/TMQueryResultForm.d.ts +10 -10
- package/lib/components/sidebar/TMHeader.d.ts +2 -2
- package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -3
- package/lib/components/viewers/TMMidViewer.d.ts +5 -5
- package/lib/components/viewers/TMTidViewer.d.ts +5 -5
- package/lib/helper/SDKUI_Localizator.d.ts +4 -0
- package/lib/helper/SDKUI_Localizator.js +64 -0
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useForm.d.ts +0 -1
- package/lib/hooks/useOutsideClick.d.ts +0 -1
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ import { ITopMediaSession, MetadataDescriptor } from '@topconsultnpm/sdk-ts-beta
|
|
|
3
3
|
import { TID_MID } from '../../ts';
|
|
4
4
|
import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
|
|
5
5
|
export declare const TMMidViewer: ({ tmSession, tid_mid, showCompleteName, showIcon, showId, noneSelectionText }: {
|
|
6
|
-
tmSession?: ITopMediaSession
|
|
6
|
+
tmSession?: ITopMediaSession;
|
|
7
7
|
tid_mid: TID_MID | undefined;
|
|
8
|
-
showCompleteName?: boolean
|
|
9
|
-
showIcon?: boolean
|
|
10
|
-
showId?: boolean
|
|
11
|
-
noneSelectionText?: string
|
|
8
|
+
showCompleteName?: boolean;
|
|
9
|
+
showIcon?: boolean;
|
|
10
|
+
showId?: boolean;
|
|
11
|
+
noneSelectionText?: string;
|
|
12
12
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
interface ITMMetadataIcon {
|
|
14
14
|
tid: number | undefined;
|
|
@@ -11,11 +11,11 @@ interface ITMDcmtTypeTooltip {
|
|
|
11
11
|
}
|
|
12
12
|
export declare const TMDcmtTypeTooltip: React.FC<ITMDcmtTypeTooltip>;
|
|
13
13
|
declare const TMTidViewer: ({ tmSession, tid, showIcon, showId, noneSelectionText }: {
|
|
14
|
-
tmSession?: ITopMediaSession
|
|
15
|
-
tid?: number
|
|
16
|
-
showIcon?: boolean
|
|
17
|
-
showId?: boolean
|
|
18
|
-
noneSelectionText?: string
|
|
14
|
+
tmSession?: ITopMediaSession;
|
|
15
|
+
tid?: number;
|
|
16
|
+
showIcon?: boolean;
|
|
17
|
+
showId?: boolean;
|
|
18
|
+
noneSelectionText?: string;
|
|
19
19
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default TMTidViewer;
|
|
21
21
|
export declare const cellRenderTID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -231,4 +231,8 @@ export declare class SDKUI_Localizator {
|
|
|
231
231
|
static get SetAsFavorite(): "Als Favorit festlegen" | "Set as favorite" | "Establecer como favorito" | "Définir comme favori" | "Definir como favorito" | "Imposta come preferito";
|
|
232
232
|
static get RememberCredentials(): "Anmeldedaten merken" | "Remember credentials" | "Recordar credenciales" | "Se souvenir des identifiants" | "Lembrar credenciais" | "Ricorda credenziali";
|
|
233
233
|
static get SwitchUser(): "Benutzer wechseln" | "Switch user" | "Cambiar usuario" | "Changer d'utilisateur" | "Mudar de usuário" | "Cambia utente";
|
|
234
|
+
static get ImportExport(): "Importieren/Exportieren" | "Import/Export" | "Importar/Exportar" | "Importer/Exporter" | "Importa/Esporta";
|
|
235
|
+
static get Import(): "Importieren" | "Import" | "Importar" | "Importer" | "Importa";
|
|
236
|
+
static get Export(): "Exportieren" | "Export" | "Exportar" | "Exporter" | "Esporta";
|
|
237
|
+
static get ErrorParsingFileContent(): "Fehler beim Parsen des Dateiinhalts. Stellen Sie sicher, dass die Datei im richtigen Format vorliegt." | "Error parsing the file content. Ensure the file is in the correct format." | "Error al analizar el contenido del archivo. Asegúrese de que el archivo esté en el formato correcto." | "Erreur lors de l'analyse du contenu du fichier. Assurez-vous que le fichier est dans le bon format." | "Erro ao analisar o conteúdo do arquivo. Certifique-se de que o arquivo está no formato correto." | "Errore durante l'analisi del contenuto del file. Assicurati che il file sia nel formato corretto.";
|
|
234
238
|
}
|
|
@@ -2302,4 +2302,68 @@ export class SDKUI_Localizator {
|
|
|
2302
2302
|
return "Cambia utente";
|
|
2303
2303
|
}
|
|
2304
2304
|
}
|
|
2305
|
+
static get ImportExport() {
|
|
2306
|
+
switch (this._cultureID) {
|
|
2307
|
+
case CultureIDs.De_DE:
|
|
2308
|
+
return "Importieren/Exportieren";
|
|
2309
|
+
case CultureIDs.En_US:
|
|
2310
|
+
return "Import/Export";
|
|
2311
|
+
case CultureIDs.Es_ES:
|
|
2312
|
+
return "Importar/Exportar";
|
|
2313
|
+
case CultureIDs.Fr_FR:
|
|
2314
|
+
return "Importer/Exporter";
|
|
2315
|
+
case CultureIDs.Pt_PT:
|
|
2316
|
+
return "Importar/Exportar";
|
|
2317
|
+
default:
|
|
2318
|
+
return "Importa/Esporta";
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
static get Import() {
|
|
2322
|
+
switch (this._cultureID) {
|
|
2323
|
+
case CultureIDs.De_DE:
|
|
2324
|
+
return "Importieren";
|
|
2325
|
+
case CultureIDs.En_US:
|
|
2326
|
+
return "Import";
|
|
2327
|
+
case CultureIDs.Es_ES:
|
|
2328
|
+
return "Importar";
|
|
2329
|
+
case CultureIDs.Fr_FR:
|
|
2330
|
+
return "Importer";
|
|
2331
|
+
case CultureIDs.Pt_PT:
|
|
2332
|
+
return "Importar";
|
|
2333
|
+
default:
|
|
2334
|
+
return "Importa";
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
static get Export() {
|
|
2338
|
+
switch (this._cultureID) {
|
|
2339
|
+
case CultureIDs.De_DE:
|
|
2340
|
+
return "Exportieren";
|
|
2341
|
+
case CultureIDs.En_US:
|
|
2342
|
+
return "Export";
|
|
2343
|
+
case CultureIDs.Es_ES:
|
|
2344
|
+
return "Exportar";
|
|
2345
|
+
case CultureIDs.Fr_FR:
|
|
2346
|
+
return "Exporter";
|
|
2347
|
+
case CultureIDs.Pt_PT:
|
|
2348
|
+
return "Exportar";
|
|
2349
|
+
default:
|
|
2350
|
+
return "Esporta";
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
static get ErrorParsingFileContent() {
|
|
2354
|
+
switch (this._cultureID) {
|
|
2355
|
+
case CultureIDs.De_DE:
|
|
2356
|
+
return "Fehler beim Parsen des Dateiinhalts. Stellen Sie sicher, dass die Datei im richtigen Format vorliegt.";
|
|
2357
|
+
case CultureIDs.En_US:
|
|
2358
|
+
return "Error parsing the file content. Ensure the file is in the correct format.";
|
|
2359
|
+
case CultureIDs.Es_ES:
|
|
2360
|
+
return "Error al analizar el contenido del archivo. Asegúrese de que el archivo esté en el formato correcto.";
|
|
2361
|
+
case CultureIDs.Fr_FR:
|
|
2362
|
+
return "Erreur lors de l'analyse du contenu du fichier. Assurez-vous que le fichier est dans le bon format.";
|
|
2363
|
+
case CultureIDs.Pt_PT:
|
|
2364
|
+
return "Erro ao analisar o conteúdo do arquivo. Certifique-se de que o arquivo está no formato correto.";
|
|
2365
|
+
default:
|
|
2366
|
+
return "Errore durante l'analisi del contenuto del file. Assicurati che il file sia nel formato corretto.";
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2305
2369
|
}
|
package/lib/helper/helpers.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { AppModules, DataColumnDescriptor, ITopMediaSession, QueryDescriptor, Se
|
|
|
4
4
|
import { FormModes, moduleTypes } from "../ts";
|
|
5
5
|
declare const TABLET_WIDTH = 1024;
|
|
6
6
|
declare const MOBILE_WIDTH = 640;
|
|
7
|
-
declare const calcResponsiveDirection: (deviceType: DeviceType, desktopDir:
|
|
7
|
+
declare const calcResponsiveDirection: (deviceType: DeviceType, desktopDir: "horizontal" | "vertical", tabletDir: "horizontal" | "vertical", mobileDir: "horizontal" | "vertical") => "horizontal" | "vertical";
|
|
8
8
|
declare const openApps: (appModule: AppModules, tmSession: ITopMediaSession, appRoutes?: any[]) => Promise<void>;
|
|
9
9
|
export declare const setSDK_GlobalsInfoAsync: (tms: ITopMediaSession | undefined) => Promise<ITopMediaSession>;
|
|
10
10
|
declare const calcResponsiveSizes: (deviceType: DeviceType | undefined, desktopSize: string, tabletSize: string, mobileSize: string) => string;
|
package/lib/hooks/useForm.d.ts
CHANGED