@topconsultnpm/sdkui-react-beta 6.8.8 → 6.8.10

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.
@@ -4,7 +4,7 @@ export interface ITMTabProps {
4
4
  propsToBeValidated?: string[];
5
5
  }
6
6
  export declare const TMTab: ({ label, propsToBeValidated, children }: {
7
- label?: string;
7
+ label?: string | undefined;
8
8
  propsToBeValidated?: string[] | undefined;
9
9
  children?: any;
10
10
  }) => import("react/jsx-runtime").JSX.Element;
@@ -12,9 +12,9 @@ export declare const TMTabItemBadge: ({ vil }: {
12
12
  vil: ValidationItem[];
13
13
  }) => import("react/jsx-runtime").JSX.Element;
14
14
  declare const TMTabGroup: ({ children, fontSize, validationItems, onTabIndexChanged }: {
15
- onTabIndexChanged?: (e: number) => void;
15
+ onTabIndexChanged?: ((e: number) => void) | undefined;
16
16
  children: any;
17
- fontSize?: string;
18
- validationItems?: ValidationItem[];
17
+ fontSize?: string | undefined;
18
+ validationItems?: ValidationItem[] | undefined;
19
19
  }) => import("react/jsx-runtime").JSX.Element;
20
20
  export default TMTabGroup;
@@ -1,5 +1,5 @@
1
1
  import { ValidationItem } from '@topconsultnpm/sdk-ts-beta';
2
2
  declare const TMVilViewer: ({ vil }: {
3
- vil?: ValidationItem[];
3
+ vil?: ValidationItem[] | undefined;
4
4
  }) => import("react/jsx-runtime").JSX.Element | null;
5
5
  export default TMVilViewer;
@@ -16,16 +16,16 @@ interface ITMRelationChooserFormProps extends ITMChooserFormProps<RelationDescri
16
16
  export declare const TMRelationChooserForm: React.FunctionComponent<ITMRelationChooserFormProps>;
17
17
  export declare const TMRelationIdViewer: ({ relationType, relationId, showIcon, noneSelectionText }: {
18
18
  relationType: RelationTypes;
19
- relationId?: number;
20
- showIcon?: boolean;
21
- noneSelectionText?: string;
19
+ relationId?: number | undefined;
20
+ showIcon?: boolean | undefined;
21
+ noneSelectionText?: string | undefined;
22
22
  }) => import("react/jsx-runtime").JSX.Element;
23
23
  export declare const TMRelationIcon: ({ rd, relationType }: {
24
24
  rd: RelationDescriptor | undefined;
25
- relationType?: RelationTypes;
25
+ relationType?: RelationTypes | undefined;
26
26
  }) => import("react/jsx-runtime").JSX.Element;
27
27
  export declare const TMRelationTooltip: ({ rd, relationType, children }: {
28
- rd?: RelationDescriptor;
28
+ rd?: RelationDescriptor | undefined;
29
29
  relationType: RelationTypes | undefined;
30
30
  children: React.ReactNode;
31
31
  }) => import("react/jsx-runtime").JSX.Element;
@@ -11,14 +11,14 @@ declare const TMUserChooser: React.FunctionComponent<ITMUserChooserProps>;
11
11
  export default TMUserChooser;
12
12
  export declare const TMUserChooserForm: React.FunctionComponent<ITMChooserFormProps<UserDescriptor>>;
13
13
  export declare const TMUserIdViewer: ({ userId, showIcon, noneSelectionText }: {
14
- userId?: number;
15
- showIcon?: boolean;
16
- noneSelectionText?: string;
14
+ userId?: number | undefined;
15
+ showIcon?: boolean | undefined;
16
+ noneSelectionText?: string | undefined;
17
17
  }) => import("react/jsx-runtime").JSX.Element;
18
18
  export declare const TMUserIcon: ({ ud }: {
19
- ud?: UserDescriptor;
19
+ ud?: UserDescriptor | undefined;
20
20
  }) => import("react/jsx-runtime").JSX.Element | null;
21
21
  export declare const TMUserTooltip: ({ ud, children }: {
22
- ud?: UserDescriptor;
22
+ ud?: UserDescriptor | undefined;
23
23
  children: React.ReactNode;
24
24
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,12 @@
1
+ /// <reference types="react" />
1
2
  import { ValidationItem } from '@topconsultnpm/sdk-ts-beta';
2
3
  export declare const TMEditorsDefaultBorderRadius = "5px";
3
4
  export declare const TMEditorsDefaultLabelFontSize = "0.9rem";
4
5
  export declare const editorColorManager: (validationItems: ValidationItem[]) => string;
5
- export declare const StyledEditorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
+ export declare const StyledEditorContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
7
  $width: string;
7
- }>> & string;
8
- export declare const StyledEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
8
+ }>>;
9
+ export declare const StyledEditor: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
9
10
  $vil: ValidationItem[];
10
11
  $width: string;
11
12
  $type: string;
@@ -13,32 +14,32 @@ export declare const StyledEditor: import("styled-components/dist/types").IStyle
13
14
  $maxValue: number;
14
15
  $fontSize: string;
15
16
  $disabled: boolean;
16
- $isMobile?: boolean;
17
- $borderRadius?: string;
18
- }>> & string;
19
- export declare const StyledEditorIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
17
+ $isMobile?: boolean | undefined;
18
+ $borderRadius?: string | undefined;
19
+ }>>;
20
+ export declare const StyledEditorIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
20
21
  $vil: ValidationItem[];
21
22
  $disabled: boolean;
22
23
  $isModified: boolean;
23
- }>> & string;
24
- export declare const StyledEditorLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
24
+ }>>;
25
+ export declare const StyledEditorLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
25
26
  $isFocused: boolean;
26
- $labelPosition: "right" | "left" | "top";
27
+ $labelPosition: 'right' | 'left' | 'top';
27
28
  $disabled: boolean;
28
- $fontSize?: string;
29
- $color?: string;
30
- }>> & string;
31
- export declare const StyledEditorButtonIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
29
+ $fontSize?: string | undefined;
30
+ $color?: string | undefined;
31
+ }>>;
32
+ export declare const StyledEditorButtonIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
32
33
  $index: number;
33
34
  $transform: string;
34
- }>> & string;
35
- export declare const StyledTextareaEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, {
35
+ }>>;
36
+ export declare const StyledTextareaEditor: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, {
36
37
  $vil: ValidationItem[];
37
38
  $width: string;
38
39
  $isModified: boolean;
39
40
  $fontSize: string;
40
41
  $disabled: boolean;
41
- $isMobile?: boolean;
42
- $maxHeight?: string;
43
- $borderRadius?: string;
44
- }>> & string;
42
+ $isMobile?: boolean | undefined;
43
+ $maxHeight?: string | undefined;
44
+ $borderRadius?: string | undefined;
45
+ }>>;
@@ -39,11 +39,11 @@ export declare const cultureIDsDataSource: {
39
39
  }[];
40
40
  declare const TMLoginForm: React.FunctionComponent<ITMLoginFormProps>;
41
41
  export declare const TMChangePassword: ({ deviceType, tmSession, username, onClose, enable, hasBack }: {
42
- deviceType?: DeviceType;
43
- hasBack?: boolean;
44
- tmSession?: ITopMediaSession;
42
+ deviceType?: DeviceType | undefined;
43
+ hasBack?: boolean | undefined;
44
+ tmSession?: ITopMediaSession | undefined;
45
45
  username: string;
46
- onClose?: () => void;
47
- enable?: boolean;
46
+ onClose?: (() => void) | undefined;
47
+ enable?: boolean | undefined;
48
48
  }) => import("react/jsx-runtime").JSX.Element;
49
49
  export default TMLoginForm;