@topconsultnpm/sdkui-react-beta 6.7.25 → 6.7.26

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.
@@ -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 | undefined;
6
+ tmSession?: ITopMediaSession;
7
7
  tid_mid: TID_MID | undefined;
8
- showCompleteName?: boolean | undefined;
9
- showIcon?: boolean | undefined;
10
- showId?: boolean | undefined;
11
- noneSelectionText?: string | undefined;
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 | undefined;
15
- tid?: number | undefined;
16
- showIcon?: boolean | undefined;
17
- showId?: boolean | undefined;
18
- noneSelectionText?: string | undefined;
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,7 @@ 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";
234
237
  }
@@ -2302,4 +2302,52 @@ 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"; // Italian
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"; // Italian
2351
+ }
2352
+ }
2305
2353
  }
@@ -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: 'horizontal' | 'vertical', tabletDir: 'horizontal' | 'vertical', mobileDir: 'horizontal' | 'vertical') => 'horizontal' | 'vertical';
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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormModes } from "../ts";
3
2
  import { JobTypes, ObjectClasses, ValidationItem } from "@topconsultnpm/sdk-ts-beta";
4
3
  export declare class SaveFormOptions {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare const useOutsideClick: (callback: (escPressed?: boolean) => void) => import("react").RefObject<HTMLDivElement>;
3
2
  export declare const useEscapeKeyPress: (callback: () => void) => import("react").RefObject<HTMLDivElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.7.25",
3
+ "version": "6.7.26",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",