@topconsultnpm/sdkui-react-beta 6.6.132 → 6.6.134
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 +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/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 +18 -19
- package/lib/components/forms/TMLoginForm.d.ts +5 -5
- package/lib/components/forms/TMSaveForm.d.ts +7 -7
- package/lib/components/query/TMQueryEditor.d.ts +8 -550
- package/lib/components/query/TMQueryEditor.js +18 -36
- 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/TMIcons.d.ts +6 -6
- package/lib/helper/TMIcons.js +1 -1
- 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 +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SearchResultDescriptor } from '@topconsultnpm/sdk-ts-beta';
|
|
2
2
|
declare const TMQueryResult: ({ result, elapsedTime, showHiddenSelectItems, searchText, onSelectionChanged, onDblClick }: {
|
|
3
|
-
onDblClick?: (
|
|
4
|
-
onSelectionChanged?: (
|
|
3
|
+
onDblClick?: () => void;
|
|
4
|
+
onSelectionChanged?: (e: any[]) => void;
|
|
5
5
|
result: SearchResultDescriptor | undefined;
|
|
6
|
-
elapsedTime?: number
|
|
7
|
-
showHiddenSelectItems?: boolean
|
|
8
|
-
searchText?: string
|
|
6
|
+
elapsedTime?: number;
|
|
7
|
+
showHiddenSelectItems?: boolean;
|
|
8
|
+
searchText?: string;
|
|
9
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default TMQueryResult;
|
|
@@ -6,17 +6,17 @@ export declare enum SearchResultContext {
|
|
|
6
6
|
RECENT = "recent"
|
|
7
7
|
}
|
|
8
8
|
declare const TMQueryResultForm: ({ onUpdate, isModal, onClose, context, result1, result2, elapsedTime, searchText, tabIcon1, tabIcon2, tabTitle1, tabTitle2 }: {
|
|
9
|
-
tabTitle1?: string
|
|
10
|
-
tabTitle2?: string
|
|
9
|
+
tabTitle1?: string;
|
|
10
|
+
tabTitle2?: string;
|
|
11
11
|
tabIcon1?: any;
|
|
12
12
|
tabIcon2?: any;
|
|
13
|
-
isModal?: boolean
|
|
14
|
-
onClose?: (
|
|
15
|
-
context?: SearchResultContext
|
|
16
|
-
result1?: SearchResultDescriptor | SearchResultDescriptor[]
|
|
17
|
-
result2?: SearchResultDescriptor | SearchResultDescriptor[]
|
|
18
|
-
elapsedTime?: number
|
|
19
|
-
searchText?: string
|
|
20
|
-
onUpdate?: (
|
|
13
|
+
isModal?: boolean;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
context?: SearchResultContext;
|
|
16
|
+
result1?: SearchResultDescriptor | SearchResultDescriptor[];
|
|
17
|
+
result2?: SearchResultDescriptor | SearchResultDescriptor[];
|
|
18
|
+
elapsedTime?: number;
|
|
19
|
+
searchText?: string;
|
|
20
|
+
onUpdate?: () => Promise<void>;
|
|
21
21
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default TMQueryResultForm;
|
|
@@ -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/TMIcons.d.ts
CHANGED
|
@@ -57,12 +57,12 @@ declare function IconDown(props: React.SVGProps<SVGSVGElement>): import("react/j
|
|
|
57
57
|
declare function IconUp(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
58
58
|
declare function IconLeft(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
59
59
|
declare function IconRight(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
declare function IconArrowLeft(props: React.SVGProps<SVGSVGElement
|
|
61
|
-
declare function IconArrowRight(props: React.SVGProps<SVGSVGElement
|
|
62
|
-
declare function IconFileDots(props: React.SVGProps<SVGSVGElement
|
|
63
|
-
declare function IconDownload(props: React.SVGProps<SVGSVGElement
|
|
64
|
-
declare function IconUpload(props: React.SVGProps<SVGSVGElement
|
|
65
|
-
declare function IconFolderSearch(props: React.SVGProps<SVGSVGElement
|
|
60
|
+
declare function IconArrowLeft(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
declare function IconArrowRight(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
declare function IconFileDots(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
declare function IconDownload(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
declare function IconUpload(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
declare function IconFolderSearch(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
66
66
|
declare function IconEqual(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
67
67
|
declare function IconEqualNot(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
68
68
|
declare function IconGreaterThan(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
package/lib/helper/TMIcons.js
CHANGED
|
@@ -184,7 +184,7 @@ function IconFileDots(props) {
|
|
|
184
184
|
return (_jsxs("svg", { fontSize: props.fontSize ? props.fontSize : FONTSIZE, fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", height: "1em", width: "1em", ...props, children: [" ", _jsx("path", { stroke: "none", d: "M0 0h24v24H0z" }), " ", _jsx("path", { d: "M14 3v4a1 1 0 001 1h4" }), " ", _jsx("path", { d: "M17 21H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v11a2 2 0 01-2 2zM9 14v.01M12 14v.01M15 14v.01" }), " "] }));
|
|
185
185
|
}
|
|
186
186
|
function IconDownload(props) {
|
|
187
|
-
return (_jsxs("svg", { fontSize: props
|
|
187
|
+
return (_jsxs("svg", { fontSize: props?.fontSize ?? FONTSIZE, viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...props, children: [" ", _jsx("path", { d: "M11 14.59V3a1 1 0 012 0v11.59l3.3-3.3a1 1 0 011.4 1.42l-5 5a1 1 0 01-1.4 0l-5-5a1 1 0 011.4-1.42l3.3 3.3zM3 17a1 1 0 012 0v3h14v-3a1 1 0 012 0v3a2 2 0 01-2 2H5a2 2 0 01-2-2v-3z" }), " "] }));
|
|
188
188
|
}
|
|
189
189
|
function IconUpload(props) {
|
|
190
190
|
return (_jsxs("svg", { fontSize: props.fontSize ? props.fontSize : FONTSIZE, viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...props, children: [" ", _jsx("path", { d: "M14 13v4h-4v-4H7l5-5 5 5m2.35-2.97A7.49 7.49 0 0012 4C9.11 4 6.6 5.64 5.35 8.03A6.004 6.004 0 000 14a6 6 0 006 6h13a5 5 0 005-5c0-2.64-2.05-4.78-4.65-4.97z" }), " "] }));
|
package/lib/helper/helpers.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { AppModules, DataColumnDescriptor, ITopMediaSession, QueryDescriptor, Se
|
|
|
4
4
|
import { FormModes } 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react-beta",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.134",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lib"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@topconsultnpm/sdk-ts-beta": "^6.6.
|
|
31
|
+
"@topconsultnpm/sdk-ts-beta": "^6.6.23",
|
|
32
32
|
"buffer": "^6.0.3",
|
|
33
33
|
"devextreme": "24.1.6",
|
|
34
34
|
"devextreme-react": "24.1.6",
|