@topconsultnpm/sdkui-react-beta 6.7.19 → 6.7.20
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 +1919 -22
- package/lib/components/base/TMAlert.d.ts +3 -2
- package/lib/components/base/TMButton.d.ts +7 -7
- package/lib/components/base/TMContextMenuOLD.d.ts +274 -3
- package/lib/components/base/TMDropDownMenu.d.ts +1 -0
- package/lib/components/base/TMEditorBase.d.ts +1 -0
- package/lib/components/base/TMLayout.d.ts +36 -36
- package/lib/components/base/TMListView.d.ts +12 -2
- package/lib/components/base/TMListView.js +14 -5
- 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 +19 -18
- package/lib/components/forms/TMLoginForm.d.ts +5 -5
- package/lib/components/forms/TMSaveForm.d.ts +7 -7
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +2 -1
- package/lib/components/query/TMQueryEditor.d.ts +550 -8
- 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 +1 -0
- package/lib/hooks/useOutsideClick.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ValidationItem } from '@topconsultnpm/sdk-ts-beta';
|
|
2
3
|
export declare const editorColorManager: (validationItems: ValidationItem[]) => string;
|
|
3
|
-
export declare const StyledEditorContainer: import("styled-components
|
|
4
|
+
export declare const StyledEditorContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
5
|
$width: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const StyledEditor: import("styled-components
|
|
6
|
+
}>>;
|
|
7
|
+
export declare const StyledEditor: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
7
8
|
$vil: ValidationItem[];
|
|
8
9
|
$width: string;
|
|
9
10
|
$type: string;
|
|
@@ -11,31 +12,31 @@ export declare const StyledEditor: import("styled-components/dist/types").IStyle
|
|
|
11
12
|
$maxValue: number;
|
|
12
13
|
$fontSize: string;
|
|
13
14
|
$disabled: boolean;
|
|
14
|
-
$isMobile?: boolean;
|
|
15
|
-
$borderRadius?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const StyledEditorIcon: import("styled-components
|
|
15
|
+
$isMobile?: boolean | undefined;
|
|
16
|
+
$borderRadius?: string | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
export declare const StyledEditorIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
18
19
|
$vil: ValidationItem[];
|
|
19
20
|
$disabled: boolean;
|
|
20
21
|
$isModified: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const StyledEditorLabel: import("styled-components
|
|
22
|
+
}>>;
|
|
23
|
+
export declare const StyledEditorLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
23
24
|
$isFocused: boolean;
|
|
24
|
-
$labelPosition:
|
|
25
|
+
$labelPosition: 'right' | 'left' | 'top';
|
|
25
26
|
$disabled: boolean;
|
|
26
27
|
$fontSize: string;
|
|
27
|
-
$color?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare const StyledEditorButtonIcon: import("styled-components
|
|
28
|
+
$color?: string | undefined;
|
|
29
|
+
}>>;
|
|
30
|
+
export declare const StyledEditorButtonIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
30
31
|
$index: number;
|
|
31
32
|
$transform: string;
|
|
32
|
-
}
|
|
33
|
-
export declare const StyledTextareaEditor: import("styled-components
|
|
33
|
+
}>>;
|
|
34
|
+
export declare const StyledTextareaEditor: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, {
|
|
34
35
|
$vil: ValidationItem[];
|
|
35
36
|
$width: string;
|
|
36
37
|
$isModified: boolean;
|
|
37
38
|
$fontSize: string;
|
|
38
39
|
$disabled: boolean;
|
|
39
|
-
$isMobile?: boolean;
|
|
40
|
-
$maxHeight?: string;
|
|
41
|
-
}
|
|
40
|
+
$isMobile?: boolean | undefined;
|
|
41
|
+
$maxHeight?: string | undefined;
|
|
42
|
+
}>>;
|
|
@@ -38,11 +38,11 @@ export declare const cultureIDsDataSource: {
|
|
|
38
38
|
}[];
|
|
39
39
|
declare const TMLoginForm: React.FunctionComponent<ITMLoginFormProps>;
|
|
40
40
|
export declare const TMChangePassword: ({ deviceType, tmSession, username, onClose, enable, hasBack }: {
|
|
41
|
-
deviceType?: DeviceType;
|
|
42
|
-
hasBack?: boolean;
|
|
43
|
-
tmSession?: ITopMediaSession;
|
|
41
|
+
deviceType?: DeviceType | undefined;
|
|
42
|
+
hasBack?: boolean | undefined;
|
|
43
|
+
tmSession?: ITopMediaSession | undefined;
|
|
44
44
|
username: string;
|
|
45
|
-
onClose?: () => void;
|
|
46
|
-
enable?: boolean;
|
|
45
|
+
onClose?: (() => void) | undefined;
|
|
46
|
+
enable?: boolean | undefined;
|
|
47
47
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
export default TMLoginForm;
|
|
@@ -3,15 +3,15 @@ import { FormModes, ITMSaveFormBaseProps } from '../../ts/types';
|
|
|
3
3
|
declare const TMSaveForm: React.FC<ITMSaveFormBaseProps>;
|
|
4
4
|
export default TMSaveForm;
|
|
5
5
|
export declare const TMSaveFormStandardToolbar: ({ btnStyle, formMode, hasNavigation, isModified, errorsCount, onNext, onPrev, canNext, canPrev, onSaveAsync, onUndo }: {
|
|
6
|
-
btnStyle:
|
|
6
|
+
btnStyle: 'normal' | 'toolbar' | 'icon' | 'text';
|
|
7
7
|
formMode: FormModes;
|
|
8
8
|
hasNavigation: boolean;
|
|
9
9
|
isModified: boolean;
|
|
10
10
|
errorsCount: number;
|
|
11
|
-
onNext?: () => void;
|
|
12
|
-
onPrev?: () => void;
|
|
13
|
-
canNext?: boolean;
|
|
14
|
-
canPrev?: boolean;
|
|
15
|
-
onSaveAsync?: () => Promise<void
|
|
16
|
-
onUndo?: () => void;
|
|
11
|
+
onNext?: (() => void) | undefined;
|
|
12
|
+
onPrev?: (() => void) | undefined;
|
|
13
|
+
canNext?: boolean | undefined;
|
|
14
|
+
canPrev?: boolean | undefined;
|
|
15
|
+
onSaveAsync?: (() => Promise<void>) | undefined;
|
|
16
|
+
onUndo?: (() => void) | undefined;
|
|
17
17
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ export { default as TMButton, TMButtonNew } from './base/TMButton';
|
|
|
3
3
|
export { default as TMClosableList } from './base/TMClosableList';
|
|
4
4
|
export * from './base/TMContextMenu';
|
|
5
5
|
export { default as TMDropDownMenu } from './base/TMDropDownMenu';
|
|
6
|
-
export
|
|
6
|
+
export * from './base/TMListView';
|
|
7
7
|
export { default as TMList } from './base/TMList';
|
|
8
8
|
export { default as TMModal } from './base/TMModal';
|
|
9
9
|
export * from './base/TMPopUp';
|
package/lib/components/index.js
CHANGED
|
@@ -5,7 +5,8 @@ export { default as TMButton, TMButtonNew } from './base/TMButton';
|
|
|
5
5
|
export { default as TMClosableList } from './base/TMClosableList';
|
|
6
6
|
export * from './base/TMContextMenu';
|
|
7
7
|
export { default as TMDropDownMenu } from './base/TMDropDownMenu';
|
|
8
|
-
export
|
|
8
|
+
export * from './base/TMListView';
|
|
9
|
+
// export { default as TMListView } from './base/TMListView'
|
|
9
10
|
export { default as TMList } from './base/TMList';
|
|
10
11
|
export { default as TMModal } from './base/TMModal';
|
|
11
12
|
export * from './base/TMPopUp';
|