@topconsultnpm/sdkui-react-beta 6.6.26 → 6.6.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/TopMediaOrchestrator6.svg +92 -92
- 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 +7 -7
- 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/TMListView.d.ts +0 -1
- package/lib/components/base/TMTab.d.ts +4 -4
- package/lib/components/base/TMVilViewer.d.ts +1 -1
- package/lib/components/choosers/TMMetadataChooser.js +4 -4
- package/lib/components/choosers/TMUserChooser.d.ts +5 -5
- package/lib/components/choosers/TMUserChooser.js +5 -5
- package/lib/components/editors/TMEditorStyled.d.ts +16 -17
- package/lib/components/forms/TMChooserForm.d.ts +1 -1
- package/lib/components/forms/TMChooserForm.js +8 -4
- package/lib/components/forms/TMLoginForm.d.ts +4 -4
- package/lib/components/query/TMQueryEditor.d.ts +12 -554
- 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/helpers.d.ts +1 -1
- package/lib/hooks/useForm.d.ts +0 -1
- package/lib/hooks/useOutsideClick.d.ts +0 -1
- package/lib/ts/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -24,8 +24,8 @@ interface ITMHeader {
|
|
|
24
24
|
onSettingsClick?: () => void;
|
|
25
25
|
}
|
|
26
26
|
export declare const TMSearchBar: ({ searchValue, onSearchValueChanged, maxWidth, marginLeft }: {
|
|
27
|
-
maxWidth?: string
|
|
28
|
-
marginLeft?: string
|
|
27
|
+
maxWidth?: string;
|
|
28
|
+
marginLeft?: string;
|
|
29
29
|
searchValue: string;
|
|
30
30
|
onSearchValueChanged: (value: string) => void;
|
|
31
31
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DataListViewModes } from '@topconsultnpm/sdk-ts-beta';
|
|
2
2
|
import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
|
|
3
3
|
declare const TMDataListItemViewer: ({ dataListId, value, viewMode }: {
|
|
4
|
-
dataListId?: number
|
|
5
|
-
value?: string
|
|
6
|
-
viewMode?: DataListViewModes
|
|
4
|
+
dataListId?: number;
|
|
5
|
+
value?: string;
|
|
6
|
+
viewMode?: DataListViewModes;
|
|
7
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default TMDataListItemViewer;
|
|
9
9
|
export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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;
|
package/lib/helper/helpers.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { AppModules, DataColumnDescriptor, ITopMediaSession, QueryDescriptor, Se
|
|
|
3
3
|
import { FormModes } from "../ts";
|
|
4
4
|
declare const TABLET_WIDTH = 1024;
|
|
5
5
|
declare const MOBILE_WIDTH = 640;
|
|
6
|
-
declare const calcResponsiveDirection: (currentWidth: number, desktopDir:
|
|
6
|
+
declare const calcResponsiveDirection: (currentWidth: number, desktopDir: "horizontal" | "vertical", tabletDir: "horizontal" | "vertical", mobileDir: "horizontal" | "vertical") => "horizontal" | "vertical";
|
|
7
7
|
declare const openApps: (appModule: AppModules, tmSession: ITopMediaSession, appRoutes?: any[]) => Promise<void>;
|
|
8
8
|
export declare const setSDK_GlobalsInfoAsync: (tms: ITopMediaSession | undefined) => Promise<ITopMediaSession>;
|
|
9
9
|
declare const calcResponsiveSizes: (currentWidth: number, desktopSize: string, tabletSize: string, mobileSize: string) => string;
|
package/lib/hooks/useForm.d.ts
CHANGED
|
@@ -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 function useSaveForm<T>(objClass: ObjectClasses, formMode: FormModes, id: number | undefined, objType?: JobTypes, validator?: (d: T) => Promise<ValidationItem[] | undefined>, onSaved?: (newDescriptor: T) => void, onStatusChanged?: (isModified: boolean, isValid: boolean) => void, customizeData?: (d: T) => T): {
|
package/lib/ts/types.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ export interface ITMChooserFormProps<T> {
|
|
|
137
137
|
onChoose?: (selectedobjects?: any) => void;
|
|
138
138
|
onClose?: () => void;
|
|
139
139
|
onShowIdChanged?: () => void;
|
|
140
|
+
onRefreshCache?: () => void;
|
|
140
141
|
}
|
|
141
142
|
export interface ITMChooserProps extends ITMEditorBase {
|
|
142
143
|
allowMultipleSelection?: boolean;
|
|
@@ -149,4 +150,5 @@ export interface ITMChooserProps extends ITMEditorBase {
|
|
|
149
150
|
tmSession?: ITopMediaSession;
|
|
150
151
|
valueName?: any;
|
|
151
152
|
onValueChanged?: (value: any) => void;
|
|
153
|
+
onRefreshCache?: () => void;
|
|
152
154
|
}
|