@topconsultnpm/sdkui-react-beta 6.10.10 → 6.10.11
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/components/base/Styled.d.ts +29 -1926
- package/lib/components/base/TMAlert.d.ts +2 -3
- 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 +32 -32
- package/lib/components/base/TMRightSidebar.d.ts +4 -4
- package/lib/components/base/TMTab.d.ts +4 -4
- package/lib/components/base/TMVilViewer.d.ts +1 -1
- package/lib/components/choosers/TMRelationChooser.d.ts +5 -5
- package/lib/components/choosers/TMUserChooser.d.ts +5 -5
- package/lib/components/editors/TMEditorStyled.d.ts +19 -20
- package/lib/components/forms/TMLoginForm.d.ts +5 -5
- 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 +6 -6
- package/lib/components/viewers/TMTidViewer.d.ts +5 -5
- package/lib/helper/SDKUI_Localizator.d.ts +4 -0
- package/lib/helper/SDKUI_Localizator.js +40 -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/lib/hooks/useQueryParametersDialog.d.ts +0 -1
- package/lib/stories/TMButton.stories.d.ts +2 -1
- package/package.json +17 -11
|
@@ -3,13 +3,13 @@ import { ITopMediaSession, LayoutModes, MetadataDescriptor } from '@topconsultnp
|
|
|
3
3
|
import { TID_MID } from '../../ts';
|
|
4
4
|
import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
|
|
5
5
|
export declare const TMMidViewer: ({ isMetadataSelected, 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
|
|
12
|
-
isMetadataSelected?: boolean
|
|
8
|
+
showCompleteName?: boolean;
|
|
9
|
+
showIcon?: boolean;
|
|
10
|
+
showId?: boolean;
|
|
11
|
+
noneSelectionText?: string;
|
|
12
|
+
isMetadataSelected?: boolean;
|
|
13
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
interface ITMMetadataIcon {
|
|
15
15
|
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;
|
|
@@ -22,6 +22,7 @@ export declare class SDKUI_Localizator {
|
|
|
22
22
|
static get Applied(): string;
|
|
23
23
|
static get Apply(): "Anwenden" | "Apply" | "Aplicar" | "Applique" | "Applica";
|
|
24
24
|
static get ApplyAndClose(): "Anwenden und Schließen" | "Apply and close" | "Aplicar y cerrar" | "Applique et ferme" | "Aplicar e fechar" | "Applica e chiudi";
|
|
25
|
+
static get Approve(): "Genehmigen" | "Approve" | "Aprobar" | "Approuver" | "Aprovar" | "Approva";
|
|
25
26
|
static get Archive(): "Archiv" | "Archive" | "Almacenar" | "Armazena" | "Archivia";
|
|
26
27
|
static get ArchiveConstraint(): "Archivierungsbeschränkung" | "Archive constraint" | "Vínculo de almacenamiento" | "Contrainte d'archivage" | "Armazenamento de restrição" | "Vincolo di archiviazione";
|
|
27
28
|
static get ArchiveConstraints_ContentCompulsory(): "Archivierung nur mit Dateien erlauben" | "Allow file only archiving" | "Permitir solo almacenamientos con archivo" | "Autorise uniquement l'archivage de fichiers" | "Permitir somente depósitos com arquivos" | "Consenti solo archiviazioni con file";
|
|
@@ -165,6 +166,7 @@ export declare class SDKUI_Localizator {
|
|
|
165
166
|
static get MetadataSelected(): "Ausgewählte Metadaten" | "Selected metadata" | "Metadatos seleccionados" | "Métadonnées sélectionnées" | "Metadados selecionados" | "Metadati selezionati";
|
|
166
167
|
static get Message(): "Nachricht" | "Message" | "Mensaje" | "Mensagem" | "Messaggio";
|
|
167
168
|
static get More(): "andere" | "more" | "otros" | "autres" | "outros" | "altri";
|
|
169
|
+
static get MoreInformation(): "Mehr Informationen" | "More information" | "Más información" | "Plus d'informations" | "Mais informações" | "Maggiori informazioni";
|
|
168
170
|
static get Name(): "Name" | "Nombre" | "Nom" | "Nome";
|
|
169
171
|
static get NameForAccess(): "Name für den Zugang" | "Access name" | "Nombre para el acceso" | "Nom pour l'accès" | "Nome para o acesso" | "Nome per l'accesso";
|
|
170
172
|
static get NewOTP(): "Neues OTP" | "New OTP" | "Nueva OTP" | "Nouveau l'OTP" | "Nova OTP" | "Nuova OTP";
|
|
@@ -216,7 +218,9 @@ export declare class SDKUI_Localizator {
|
|
|
216
218
|
static get Query_EnterAlias(): "Geben Sie einen Alias ein" | "Enter an alias" | "Introducir un alias" | "Entrez un alias" | "Digite um nome de alias" | "Inserire un alias";
|
|
217
219
|
static get QueryParamBind(): "Query-Parameter erweitern" | "Fill query parameters" | "Valorizar parámetros consulta" | "Ajoute la valeur à les paramètres de la query" | "Melhora parâmetros de query" | "Valorizza parametri query";
|
|
218
220
|
static get ReadOnly(): "Nur Lesen" | "Read only" | "Solo lectura" | "En lecture seule" | "Somente leitura" | "Solo lettura";
|
|
221
|
+
static get Reassign(): "Neu zuweisen" | "Reassign" | "Reasignar" | "Réaffecter" | "Reatribuir" | "Riassegna";
|
|
219
222
|
static get Recent(): "Kürzlich" | "Recent" | "Recientes" | "Récents" | "Recentes" | "Recenti";
|
|
223
|
+
static get Reject(): "Ablehnen" | "Reject" | "Rechazar" | "Rejeter" | "Rejeitar" | "Rifiuta";
|
|
220
224
|
static get Relations(): "Korrelationen" | "Correlations" | "Correlaciones" | "Relations" | "Correlacionados" | "Correlazioni";
|
|
221
225
|
static get RelationManyToMany(): "Folge viele mit vielen" | "Relation many to many" | "Correlación muchos a muchos" | "Corrélation plusieurs à plusieurs" | "Muitos para muitos relação" | "Correlazione molti a molti";
|
|
222
226
|
static get RelationType(): "Art der Beziehung" | "Relation type" | "Tipo de relación" | "Type de relation" | "Tipo de relacionamento" | "Tipo di relazione";
|
|
@@ -168,6 +168,16 @@ export class SDKUI_Localizator {
|
|
|
168
168
|
default: return "Applica e chiudi";
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
+
static get Approve() {
|
|
172
|
+
switch (this._cultureID) {
|
|
173
|
+
case CultureIDs.De_DE: return "Genehmigen";
|
|
174
|
+
case CultureIDs.En_US: return "Approve";
|
|
175
|
+
case CultureIDs.Es_ES: return "Aprobar";
|
|
176
|
+
case CultureIDs.Fr_FR: return "Approuver";
|
|
177
|
+
case CultureIDs.Pt_PT: return "Aprovar";
|
|
178
|
+
default: return "Approva";
|
|
179
|
+
}
|
|
180
|
+
}
|
|
171
181
|
static get Archive() {
|
|
172
182
|
switch (this._cultureID) {
|
|
173
183
|
case CultureIDs.De_DE: return "Archiv";
|
|
@@ -1601,6 +1611,16 @@ export class SDKUI_Localizator {
|
|
|
1601
1611
|
default: return "altri";
|
|
1602
1612
|
}
|
|
1603
1613
|
}
|
|
1614
|
+
static get MoreInformation() {
|
|
1615
|
+
switch (this._cultureID) {
|
|
1616
|
+
case CultureIDs.De_DE: return "Mehr Informationen";
|
|
1617
|
+
case CultureIDs.En_US: return "More information";
|
|
1618
|
+
case CultureIDs.Es_ES: return "Más información";
|
|
1619
|
+
case CultureIDs.Fr_FR: return "Plus d'informations";
|
|
1620
|
+
case CultureIDs.Pt_PT: return "Mais informações";
|
|
1621
|
+
default: return "Maggiori informazioni";
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1604
1624
|
static get Name() {
|
|
1605
1625
|
switch (this._cultureID) {
|
|
1606
1626
|
case CultureIDs.De_DE: return "Name";
|
|
@@ -2111,6 +2131,16 @@ export class SDKUI_Localizator {
|
|
|
2111
2131
|
default: return "Solo lettura";
|
|
2112
2132
|
}
|
|
2113
2133
|
}
|
|
2134
|
+
static get Reassign() {
|
|
2135
|
+
switch (this._cultureID) {
|
|
2136
|
+
case CultureIDs.De_DE: return "Neu zuweisen";
|
|
2137
|
+
case CultureIDs.En_US: return "Reassign";
|
|
2138
|
+
case CultureIDs.Es_ES: return "Reasignar";
|
|
2139
|
+
case CultureIDs.Fr_FR: return "Réaffecter";
|
|
2140
|
+
case CultureIDs.Pt_PT: return "Reatribuir";
|
|
2141
|
+
default: return "Riassegna";
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2114
2144
|
static get Recent() {
|
|
2115
2145
|
switch (this._cultureID) {
|
|
2116
2146
|
case CultureIDs.De_DE: return "Kürzlich";
|
|
@@ -2121,6 +2151,16 @@ export class SDKUI_Localizator {
|
|
|
2121
2151
|
default: return "Recenti";
|
|
2122
2152
|
}
|
|
2123
2153
|
}
|
|
2154
|
+
static get Reject() {
|
|
2155
|
+
switch (this._cultureID) {
|
|
2156
|
+
case CultureIDs.De_DE: return "Ablehnen";
|
|
2157
|
+
case CultureIDs.En_US: return "Reject";
|
|
2158
|
+
case CultureIDs.Es_ES: return "Rechazar";
|
|
2159
|
+
case CultureIDs.Fr_FR: return "Rejeter";
|
|
2160
|
+
case CultureIDs.Pt_PT: return "Rejeitar";
|
|
2161
|
+
default: return "Rifiuta";
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2124
2164
|
static get Relations() {
|
|
2125
2165
|
switch (this._cultureID) {
|
|
2126
2166
|
case CultureIDs.De_DE: return "Korrelationen";
|
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
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { QueryDescriptor, QueryParameterDescriptor } from '@topconsultnpm/sdk-ts-beta';
|
|
3
2
|
export declare const useQueryParametersDialog: () => [(inputQd: QueryDescriptor, lastQdParams?: QueryParameterDescriptor[]) => Promise<QueryParameterDescriptor[]>, () => JSX.Element];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
declare const _default: Meta;
|
|
2
3
|
export default _default;
|
|
3
4
|
export declare const NormalButton: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react-beta",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -15,22 +15,24 @@
|
|
|
15
15
|
"license": "ISC",
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@chromatic-com/storybook": "^3.2.4",
|
|
18
|
-
"@storybook/addon-essentials": "^8.
|
|
19
|
-
"@storybook/addon-interactions": "^8.
|
|
20
|
-
"@storybook/addon-onboarding": "^8.
|
|
21
|
-
"@storybook/
|
|
22
|
-
"@storybook/
|
|
23
|
-
"@storybook/react": "^8.
|
|
24
|
-
"@storybook/react-
|
|
25
|
-
"@storybook/test": "^8.
|
|
18
|
+
"@storybook/addon-essentials": "^8.5.8",
|
|
19
|
+
"@storybook/addon-interactions": "^8.5.8",
|
|
20
|
+
"@storybook/addon-onboarding": "^8.5.8",
|
|
21
|
+
"@storybook/blocks": "^8.5.8",
|
|
22
|
+
"@storybook/builder-vite": "^8.5.8",
|
|
23
|
+
"@storybook/react": "^8.5.8",
|
|
24
|
+
"@storybook/react-vite": "^8.5.8",
|
|
25
|
+
"@storybook/test": "^8.5.8",
|
|
26
26
|
"@types/node": "^20.2.5",
|
|
27
27
|
"@types/react": "^18.2.7",
|
|
28
28
|
"@types/react-dom": "^18.2.4",
|
|
29
29
|
"copyfiles": "^2.4.1",
|
|
30
|
+
"esbuild": "^0.25.0",
|
|
30
31
|
"react": "^18.2.0",
|
|
31
32
|
"react-dom": "^18.2.0",
|
|
32
|
-
"storybook": "^8.
|
|
33
|
-
"typescript": "^5.3.2"
|
|
33
|
+
"storybook": "^8.5.8",
|
|
34
|
+
"typescript": "^5.3.2",
|
|
35
|
+
"vite": "^6.1.1"
|
|
34
36
|
},
|
|
35
37
|
"main": "dist/cjs/index.js",
|
|
36
38
|
"types": "./index.d.ts",
|
|
@@ -46,5 +48,9 @@
|
|
|
46
48
|
"devextreme-react": "24.2.3",
|
|
47
49
|
"react-router-dom": "^6.15.0",
|
|
48
50
|
"styled-components": "^6.1.1"
|
|
51
|
+
},
|
|
52
|
+
"overrides": {
|
|
53
|
+
"esbuild": "^0.25.0"
|
|
49
54
|
}
|
|
55
|
+
|
|
50
56
|
}
|