@topconsultnpm/sdkui-react 6.22.0-dev4.3 → 6.22.0-dev4.4
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/NewComponents/ContextMenu/styles.d.ts +43 -45
- package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +60 -67
- package/lib/components/base/Styled.d.ts +77 -93
- package/lib/components/base/TMCounterBar.d.ts +2 -2
- package/lib/components/base/TMCounterContainer.d.ts +1 -2
- package/lib/components/base/TMCustomButton.d.ts +1 -1
- package/lib/components/base/TMDataGridExportForm.d.ts +1 -2
- package/lib/components/base/TMFileManager.d.ts +1 -2
- package/lib/components/base/TMFileManagerDataGridView.d.ts +1 -2
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +1 -1
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +1 -1
- package/lib/components/base/TMFileManagerUtils.d.ts +6 -4
- package/lib/components/base/TMLayout.d.ts +4 -4
- package/lib/components/base/TMList.d.ts +1 -2
- package/lib/components/base/TMListView.d.ts +1 -1
- package/lib/components/base/TMSpinner.d.ts +2 -3
- package/lib/components/base/TMTab.d.ts +3 -4
- package/lib/components/base/TMTabControl.js +208 -208
- package/lib/components/base/TMTooltip.d.ts +1 -1
- package/lib/components/base/TMTreeView.d.ts +8 -14
- package/lib/components/base/TMUserAvatar.d.ts +1 -2
- package/lib/components/base/TMVilViewer.d.ts +1 -2
- package/lib/components/base/TMWaitPanel.d.ts +2 -3
- package/lib/components/base/waitPanel/TMWaitPanelView.d.ts +1 -2
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +1 -2
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +1 -2
- package/lib/components/choosers/TMQuickSearchInfo.d.ts +1 -2
- package/lib/components/choosers/TMRelationChooser.d.ts +3 -3
- package/lib/components/choosers/TMUserChooser.d.ts +2 -2
- package/lib/components/editors/TMEditorStyled.d.ts +42 -20
- package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +1 -2
- package/lib/components/editors/TMHtmlEditor.d.ts +1 -2
- package/lib/components/editors/TMTreeDropDown.d.ts +1 -1
- package/lib/components/features/assistant/TMHelpOnLineChat.d.ts +0 -1
- package/lib/components/features/assistant/TMHelpOnLineChat.js +8 -161
- package/lib/components/features/assistant/TMToppyDraggableHelpCenter.d.ts +1 -1
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +1 -2
- package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
- package/lib/components/features/documents/TMDcmtIcon.d.ts +1 -2
- package/lib/components/features/documents/TMDcmtPreview.d.ts +6 -8
- package/lib/components/features/documents/TMDcmtTasks.d.ts +1 -2
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
- package/lib/components/features/documents/TMFileUploader.js +21 -21
- package/lib/components/features/documents/TMMasterInfoFields.d.ts +1 -2
- package/lib/components/features/documents/TMMergeToPdfForm.d.ts +1 -2
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.d.ts +1 -2
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +4 -4
- package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +1 -2
- package/lib/components/features/search/TMMetadataOutputForm.d.ts +1 -2
- package/lib/components/features/search/TMMetadataSorterForm.d.ts +1 -2
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
- package/lib/components/features/search/TMSearch.d.ts +1 -2
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +3 -9
- package/lib/components/features/search/TMSearchResult.js +78 -78
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
- package/lib/components/features/search/TMSignatureInfoContent.d.ts +1 -2
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +1 -2
- package/lib/components/features/tasks/TMTaskForm.d.ts +1 -1
- package/lib/components/features/tasks/TMTaskFormUtils.d.ts +10 -10
- package/lib/components/features/tasks/TMTasksAgenda.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksCalendar.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksHeader.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksPanelContent.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksUtilsView.d.ts +5 -5
- package/lib/components/features/tasks/TMTasksView.d.ts +1 -1
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +2 -3
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +7 -8
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +1 -3
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +1 -3
- package/lib/components/forms/Login/Chooser.d.ts +2 -2
- package/lib/components/forms/TMChooserForm.d.ts +1 -2
- package/lib/components/forms/TMSaveForm.d.ts +4 -4
- package/lib/components/grids/TMBlogAttachments.d.ts +1 -2
- package/lib/components/grids/TMBlogHeader.d.ts +1 -1
- package/lib/components/grids/TMBlogsPost.d.ts +1 -1
- package/lib/components/grids/TMBlogsPostUtils.d.ts +9 -9
- package/lib/components/grids/TMValidationItemsList.d.ts +1 -2
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +1 -2
- package/lib/components/layout/panelManager/TMPanelManagerContainer.js +12 -12
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelManagerLoader.d.ts +1 -2
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +6 -5
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +2 -2
- package/lib/components/pages/TMPage.d.ts +1 -1
- package/lib/components/query/TMQueryEditor.d.ts +10 -14
- package/lib/components/settings/SettingsAppearance.d.ts +1 -2
- package/lib/components/sidebar/TMAboutApp.d.ts +1 -2
- package/lib/components/sidebar/TMCommandsPanel.d.ts +4 -4
- package/lib/components/sidebar/TMHeader.d.ts +3 -3
- package/lib/components/viewers/TMDataListItemViewer.d.ts +2 -3
- package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +2 -3
- package/lib/components/viewers/TMMidViewer.d.ts +2 -2
- package/lib/components/viewers/TMTidViewer.d.ts +2 -2
- package/lib/helper/TMAppUpdatedModal.d.ts +1 -2
- package/lib/helper/TMAppUpdatedModal.js +93 -93
- package/lib/helper/TMCommandsContextMenu.d.ts +1 -1
- package/lib/helper/TMIcons.d.ts +280 -280
- package/lib/helper/TMPdfViewer.d.ts +1 -2
- package/lib/helper/TMToppyMessage.d.ts +2 -2
- package/lib/helper/TMUtils.d.ts +4 -10
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useInputDialog.d.ts +1 -2
- package/lib/services/platform_services.d.ts +2 -3
- package/package.json +1 -1
- package/lib/components/features/assistant/dataset/Designer-Suggested-Questions.json +0 -102
- package/lib/components/features/assistant/dataset/Login-Suggested-Questions.json +0 -32
- package/lib/components/features/assistant/dataset/Surfer-Suggested-Questions.json +0 -102
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
2
|
import { BlogPost, BlogPostAttachment, DcmtTypeDescriptor, DossierDescriptor, HomeBlogPost, TID_DID, WorkingGroupDescriptor } from "@topconsultnpm/sdk-ts";
|
|
3
3
|
import { FileItem } from "../base/TMFileManagerUtils";
|
|
4
4
|
export declare const DRAFT_TYPE_TID = 6;
|
|
@@ -59,10 +59,10 @@ export declare const getCompactEllipsisStyle: (layoutMode: "compact" | "extended
|
|
|
59
59
|
display: string;
|
|
60
60
|
};
|
|
61
61
|
export declare const findFileItemByDraftID: (tree: FileItem | undefined, draftID: number | undefined) => FileItem | null;
|
|
62
|
-
export declare const highlightText: (text: string, searchText: string, isSelected: boolean) => string | (string |
|
|
62
|
+
export declare const highlightText: (text: string, searchText: string, isSelected: boolean) => string | (string | import("react/jsx-runtime").JSX.Element)[];
|
|
63
63
|
export declare const lightenColor: (hex: string, amount: number) => string;
|
|
64
|
-
export declare const OwnerInitialsBadge: (blogPost: BlogPost | HomeBlogPost) =>
|
|
65
|
-
export declare const getTooltipContent: (title: string | undefined, content: JSX.Element) =>
|
|
64
|
+
export declare const OwnerInitialsBadge: (blogPost: BlogPost | HomeBlogPost) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export declare const getTooltipContent: (title: string | undefined, content: JSX.Element) => import("react/jsx-runtime").JSX.Element;
|
|
66
66
|
export declare const getAttachmentInfo: (attachment: BlogPostAttachment, treeFs: FileItem | undefined, draftLatestInfoMap: Map<number, {
|
|
67
67
|
latestVersion: number;
|
|
68
68
|
folderId: number;
|
|
@@ -76,8 +76,8 @@ export declare const getAttachmentInfo: (attachment: BlogPostAttachment, treeFs:
|
|
|
76
76
|
fileSize: string;
|
|
77
77
|
}> | undefined, dcmtTypeDescriptors: Map<number, DcmtTypeDescriptor>, isSelected: boolean, searchText: string) => {
|
|
78
78
|
name: string;
|
|
79
|
-
nameElement:
|
|
80
|
-
tooltipContent:
|
|
79
|
+
nameElement: import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
tooltipContent: import("react/jsx-runtime").JSX.Element;
|
|
81
81
|
folderId: number;
|
|
82
82
|
fileExt: string;
|
|
83
83
|
draftExist: boolean;
|
|
@@ -85,7 +85,7 @@ export declare const getAttachmentInfo: (attachment: BlogPostAttachment, treeFs:
|
|
|
85
85
|
isSigned: number;
|
|
86
86
|
};
|
|
87
87
|
export declare const getDcmtTypeDescriptor: (blogPosts: Array<BlogPost>) => Promise<Map<number, DcmtTypeDescriptor>>;
|
|
88
|
-
export declare const BlogPostHomeHeader: (header: string | undefined, classId: string | undefined, isSelected: boolean, searchText: string, headerClickCallback: () => void) =>
|
|
88
|
+
export declare const BlogPostHomeHeader: (header: string | undefined, classId: string | undefined, isSelected: boolean, searchText: string, headerClickCallback: () => void) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
export declare const isHeaderFullyHidden: (header: {
|
|
90
90
|
showViewMode: boolean;
|
|
91
91
|
showFilters: boolean;
|
|
@@ -95,7 +95,7 @@ export declare const isHeaderFullyHidden: (header: {
|
|
|
95
95
|
interface NewBadgeProps {
|
|
96
96
|
layoutMode: "compact" | "extended";
|
|
97
97
|
}
|
|
98
|
-
export declare const NewBadge: ({ layoutMode }: NewBadgeProps) =>
|
|
98
|
+
export declare const NewBadge: ({ layoutMode }: NewBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
99
99
|
export declare const removeFileExtension: (filename: string) => string;
|
|
100
100
|
interface BlogPostTitleProps {
|
|
101
101
|
displayMode: "chat" | "stacked";
|
|
@@ -111,6 +111,6 @@ interface BlogPostTitleProps {
|
|
|
111
111
|
handleNavigateToDossiers?: (blogPost: BlogPost | HomeBlogPost) => void;
|
|
112
112
|
handleNavigateToCaseflows?: (blogPost: BlogPost | HomeBlogPost) => void;
|
|
113
113
|
}
|
|
114
|
-
export declare const BlogPostTitle: (props: BlogPostTitleProps) =>
|
|
114
|
+
export declare const BlogPostTitle: (props: BlogPostTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
115
115
|
export declare const stripHtml: (html: string) => string;
|
|
116
116
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ValidationItem } from '@topconsultnpm/sdk-ts';
|
|
3
2
|
interface ITMValidationItemsList {
|
|
4
3
|
validationItems?: ValidationItem[];
|
|
5
4
|
}
|
|
6
|
-
declare const TMValidationItemsList: ({ validationItems }: ITMValidationItemsList) =>
|
|
5
|
+
declare const TMValidationItemsList: ({ validationItems }: ITMValidationItemsList) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default TMValidationItemsList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TMPanelDefinition, TMPanelDirection } from './types';
|
|
3
2
|
interface TMPanelManagerContainerProps {
|
|
4
3
|
panels: Array<TMPanelDefinition>;
|
|
@@ -8,5 +7,5 @@ interface TMPanelManagerContainerProps {
|
|
|
8
7
|
minPanelSizePx?: number;
|
|
9
8
|
gutterSizePx?: number;
|
|
10
9
|
}
|
|
11
|
-
declare const TMPanelManagerContainer: (props: TMPanelManagerContainerProps) =>
|
|
10
|
+
declare const TMPanelManagerContainer: (props: TMPanelManagerContainerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
11
|
export default TMPanelManagerContainer;
|
|
@@ -10,20 +10,20 @@ import { DeviceType, useDeviceType } from '../../base/TMDeviceProvider';
|
|
|
10
10
|
import { Gutters } from '../../../utils/theme';
|
|
11
11
|
import { AppModules, SDK_Globals } from '@topconsultnpm/sdk-ts';
|
|
12
12
|
// Styled Component per il contenitore principale di PanelContainer
|
|
13
|
-
const StyledPanelContainerWrapper = styled.div `
|
|
14
|
-
display: ${props => (props.$hasVisiblePanels ? 'flex' : 'none')};
|
|
15
|
-
flex-direction: ${props => (props.$direction === 'vertical' ? 'column' : 'row')};
|
|
16
|
-
height: 100%;
|
|
17
|
-
width: 100%;
|
|
18
|
-
// overflow: hidden;
|
|
13
|
+
const StyledPanelContainerWrapper = styled.div `
|
|
14
|
+
display: ${props => (props.$hasVisiblePanels ? 'flex' : 'none')};
|
|
15
|
+
flex-direction: ${props => (props.$direction === 'vertical' ? 'column' : 'row')};
|
|
16
|
+
height: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
// overflow: hidden;
|
|
19
19
|
`;
|
|
20
20
|
// Styled Component per il gutter (separatore)
|
|
21
|
-
const StyledResizerGutter = styled.div `
|
|
22
|
-
cursor: ${props => (!props.$canResize ? 'default' : props.$direction === 'horizontal' ? 'col-resize' : 'row-resize')};
|
|
23
|
-
${props => (props.$direction === 'horizontal' ? `width: ${props.$size}px;` : `height: ${props.$size}px;`)}
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
background-color: "transparent";
|
|
26
|
-
z-index: 10;
|
|
21
|
+
const StyledResizerGutter = styled.div `
|
|
22
|
+
cursor: ${props => (!props.$canResize ? 'default' : props.$direction === 'horizontal' ? 'col-resize' : 'row-resize')};
|
|
23
|
+
${props => (props.$direction === 'horizontal' ? `width: ${props.$size}px;` : `height: ${props.$size}px;`)}
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
background-color: "transparent";
|
|
26
|
+
z-index: 10;
|
|
27
27
|
`;
|
|
28
28
|
const TMPanelManagerContainer = (props) => {
|
|
29
29
|
const { panels, showToolbar, direction, parentId, minPanelSizePx = 150, gutterSizePx } = props;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import type { TMPanelDefinition, TMPanelDimensionsMap } from './types';
|
|
3
3
|
interface TMPanelManagerContextType {
|
|
4
4
|
panelVisibility: {
|
|
@@ -35,6 +35,6 @@ interface TMPanelManagerProviderProps {
|
|
|
35
35
|
initialMobilePanelId: string;
|
|
36
36
|
isPersistenceEnabled?: boolean;
|
|
37
37
|
}
|
|
38
|
-
export declare const TMPanelManagerProvider: (props: TMPanelManagerProviderProps) =>
|
|
38
|
+
export declare const TMPanelManagerProvider: (props: TMPanelManagerProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
export declare const useTMPanelManagerContext: () => TMPanelManagerContextType;
|
|
40
40
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface TMPanelManagerLoaderProps {
|
|
3
2
|
backgroundColor?: string;
|
|
4
3
|
}
|
|
5
|
-
declare const TMPanelManagerLoader: ({ backgroundColor }: TMPanelManagerLoaderProps) =>
|
|
4
|
+
declare const TMPanelManagerLoader: ({ backgroundColor }: TMPanelManagerLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export default TMPanelManagerLoader;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TMPanelDefinition } from './types';
|
|
3
|
-
export declare const StyledToolbarButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components
|
|
4
|
-
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
5
|
-
}, {
|
|
3
|
+
export declare const StyledToolbarButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$isActive" | "$isDisabled"> & {
|
|
6
4
|
$isActive?: boolean;
|
|
7
5
|
$isDisabled?: boolean;
|
|
8
|
-
}
|
|
6
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$isActive" | "$isDisabled"> & {
|
|
7
|
+
$isActive?: boolean;
|
|
8
|
+
$isDisabled?: boolean;
|
|
9
|
+
}, never>>> & string;
|
|
9
10
|
interface TMPanelManagerToolbarProps {
|
|
10
11
|
panels: Array<TMPanelDefinition>;
|
|
11
12
|
}
|
|
12
|
-
declare const TMPanelManagerToolbar: (props: TMPanelManagerToolbarProps) =>
|
|
13
|
+
declare const TMPanelManagerToolbar: (props: TMPanelManagerToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default TMPanelManagerToolbar;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import type { TMPanelDefinition, TMPanelDimensionsMap } from './types';
|
|
3
3
|
interface TMPanelManagerWithPersistenceProps {
|
|
4
4
|
children: ReactNode;
|
|
@@ -17,5 +17,5 @@ interface TMPanelManagerWithPersistenceProps {
|
|
|
17
17
|
}>) => void;
|
|
18
18
|
persistedPanelStates?: Record<string, any>;
|
|
19
19
|
}
|
|
20
|
-
export declare const TMPanelManagerWithPersistenceProvider: (props: TMPanelManagerWithPersistenceProps) =>
|
|
20
|
+
export declare const TMPanelManagerWithPersistenceProvider: (props: TMPanelManagerWithPersistenceProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { TMPanelDefinition } from './types';
|
|
3
3
|
interface TMPanelWrapperProps {
|
|
4
4
|
panel: TMPanelDefinition;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare const TMPanelWrapper: (props: TMPanelWrapperProps) =>
|
|
7
|
+
declare const TMPanelWrapper: (props: TMPanelWrapperProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export default TMPanelWrapper;
|
|
@@ -34,5 +34,5 @@ interface ITMPage<T> {
|
|
|
34
34
|
/** Indica il cambiamento dei contatori della lista (totali, selezionati e visibili) */
|
|
35
35
|
onCountersChanged?: (totalItemsCount: number, selectedItemsCount: number, visibleItemsCount: number) => void;
|
|
36
36
|
}
|
|
37
|
-
declare const TMPage: <T>({ id, objClass, listDisabled, lastRefreshTime, objType, listInsteadOfContent, detailInsteadOfContent, routePage, customButtons, customColumns, searchText, detailForm, detailTitlePathKeys, deps, onSelectionChanged, onCountersChanged }: ITMPage<T>) =>
|
|
37
|
+
declare const TMPage: <T>({ id, objClass, listDisabled, lastRefreshTime, objType, listInsteadOfContent, detailInsteadOfContent, routePage, customButtons, customColumns, searchText, detailForm, detailTitlePathKeys, deps, onSelectionChanged, onCountersChanged }: ITMPage<T>) => import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
export default TMPage;
|
|
@@ -2,22 +2,18 @@ import React from 'react';
|
|
|
2
2
|
import { QueryDescriptor, ValidationItem } from '@topconsultnpm/sdk-ts';
|
|
3
3
|
import { ITMApplyFormProps, FormModes } from '../../ts';
|
|
4
4
|
import type { TMContextMenuItemProps } from '../NewComponents/ContextMenu/types';
|
|
5
|
-
export declare const StyledRowItem: import("styled-components/dist/types").IStyledComponentBase<"web",
|
|
6
|
-
|
|
7
|
-
}> & string;
|
|
8
|
-
export declare const StyledItemWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
9
|
-
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
10
|
-
}, {
|
|
5
|
+
export declare const StyledRowItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
6
|
+
export declare const StyledItemWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$borderRadius"> & {
|
|
11
7
|
$borderRadius?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare const StyledAccordionItemContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components
|
|
17
|
-
|
|
18
|
-
}, {
|
|
8
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$borderRadius"> & {
|
|
9
|
+
$borderRadius?: string;
|
|
10
|
+
}, never>>> & string;
|
|
11
|
+
export declare const StyledAccordionItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
12
|
+
export declare const StyledAccordionItemContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$disabled"> & {
|
|
13
|
+
$disabled?: boolean;
|
|
14
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$disabled"> & {
|
|
19
15
|
$disabled?: boolean;
|
|
20
|
-
}
|
|
16
|
+
}, never>>> & string;
|
|
21
17
|
export declare const colorValue = "rgba(224,224,224,.5)";
|
|
22
18
|
export declare const colorBrackets = "rgba(209,52,56,.3)";
|
|
23
19
|
export declare const colorOperator = "rgba(16,124,16,.3)";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
declare const SettingsAppearance: ({ landingPagesOptions, permissions, showConfirmPopup }: {
|
|
3
2
|
landingPagesOptions?: {
|
|
4
3
|
display: string;
|
|
@@ -12,5 +11,5 @@ declare const SettingsAppearance: ({ landingPagesOptions, permissions, showConfi
|
|
|
12
11
|
workFlowLicense: boolean;
|
|
13
12
|
};
|
|
14
13
|
showConfirmPopup?: (title: string, onConfirm: () => void) => void;
|
|
15
|
-
}) =>
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export default SettingsAppearance;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface TMAboutAppProps {
|
|
3
2
|
app: boolean;
|
|
4
3
|
skdui: boolean;
|
|
5
4
|
sdk: boolean;
|
|
6
5
|
websdk: boolean;
|
|
7
6
|
}
|
|
8
|
-
export declare const TMAboutApp: (props: TMAboutAppProps) =>
|
|
7
|
+
export declare const TMAboutApp: (props: TMAboutAppProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const StyledCommandsPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components
|
|
3
|
-
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
4
|
-
}, {
|
|
2
|
+
export declare const StyledCommandsPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isMobile"> & {
|
|
5
3
|
$isMobile?: boolean;
|
|
6
|
-
}
|
|
4
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isMobile"> & {
|
|
5
|
+
$isMobile?: boolean;
|
|
6
|
+
}, never>>> & string;
|
|
7
7
|
export interface TMCommandItemProps {
|
|
8
8
|
icon: React.ReactNode;
|
|
9
9
|
selected?: boolean;
|
|
@@ -37,8 +37,8 @@ export declare const TMSearchBar: ({ searchValue, onSearchValueChanged, maxWidth
|
|
|
37
37
|
marginLeft?: string;
|
|
38
38
|
searchValue: string;
|
|
39
39
|
onSearchValueChanged: (value: string) => void;
|
|
40
|
-
}) =>
|
|
40
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
declare const TMHeader: React.FC<ITMHeader>;
|
|
42
42
|
export default TMHeader;
|
|
43
|
-
export declare function IconHeaderNotifications(props: Readonly<React.SVGProps<SVGSVGElement>>):
|
|
44
|
-
export declare function IconHeaderSettings(props: Readonly<React.SVGProps<SVGSVGElement>>):
|
|
43
|
+
export declare function IconHeaderNotifications(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare function IconHeaderSettings(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DataListViewModes } from '@topconsultnpm/sdk-ts';
|
|
3
2
|
import { DataGridTypes } from 'devextreme-react/data-grid';
|
|
4
3
|
interface ITMDataListItemViewerProps {
|
|
@@ -8,6 +7,6 @@ interface ITMDataListItemViewerProps {
|
|
|
8
7
|
showTooltip?: boolean;
|
|
9
8
|
width?: string;
|
|
10
9
|
}
|
|
11
|
-
declare const TMDataListItemViewer: ({ dataListId, value, viewMode, showTooltip, width }: ITMDataListItemViewerProps) =>
|
|
10
|
+
declare const TMDataListItemViewer: ({ dataListId, value, viewMode, showTooltip, width }: ITMDataListItemViewerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
11
|
export default TMDataListItemViewer;
|
|
13
|
-
export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) =>
|
|
12
|
+
export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DataGridTypes } from 'devextreme-react/data-grid';
|
|
3
2
|
interface ITMDataUserIdItemViewerProps {
|
|
4
3
|
userId?: number;
|
|
5
4
|
showIcon?: boolean;
|
|
6
5
|
}
|
|
7
|
-
declare const TMDataUserIdItemViewer: ({ userId, showIcon }: ITMDataUserIdItemViewerProps) =>
|
|
6
|
+
declare const TMDataUserIdItemViewer: ({ userId, showIcon }: ITMDataUserIdItemViewerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
7
|
export default TMDataUserIdItemViewer;
|
|
9
|
-
export declare const cellRenderUserIdItem: (data: DataGridTypes.ColumnCellTemplateData, showIcon?: boolean) =>
|
|
8
|
+
export declare const cellRenderUserIdItem: (data: DataGridTypes.ColumnCellTemplateData, showIcon?: boolean) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -22,7 +22,7 @@ interface ITMMetadataIcon {
|
|
|
22
22
|
isMetadataSelected?: boolean;
|
|
23
23
|
elementStyle?: React.CSSProperties;
|
|
24
24
|
}
|
|
25
|
-
export declare const TMMetadataIcon: ({ tid, md, color, layoutMode, isMetadataSelected, elementStyle }: ITMMetadataIcon) =>
|
|
25
|
+
export declare const TMMetadataIcon: ({ tid, md, color, layoutMode, isMetadataSelected, elementStyle }: ITMMetadataIcon) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
26
|
interface ITMMetadataTooltip {
|
|
27
27
|
tid: number | undefined;
|
|
28
28
|
md: MetadataDescriptor | undefined;
|
|
@@ -31,6 +31,6 @@ interface ITMMetadataTooltip {
|
|
|
31
31
|
layoutMode?: LayoutModes;
|
|
32
32
|
}
|
|
33
33
|
export declare const TMMetadataTooltip: React.FC<ITMMetadataTooltip>;
|
|
34
|
-
export declare const cellRenderMID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string, tid?: number) =>
|
|
34
|
+
export declare const cellRenderMID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string, tid?: number) => import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
export declare const getDisplayAlias: (dcmtTypeName: string | undefined, alias: string | undefined) => string | undefined;
|
|
36
36
|
export {};
|
|
@@ -252,5 +252,5 @@ export interface ITMTidViewerProps {
|
|
|
252
252
|
}
|
|
253
253
|
declare const TMTidViewer: React.FC<ITMTidViewerProps>;
|
|
254
254
|
export default TMTidViewer;
|
|
255
|
-
export declare const cellRenderTID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string) =>
|
|
256
|
-
export declare const renderDTDTooltipContent: (dtd: DcmtTypeDescriptor | undefined) =>
|
|
255
|
+
export declare const cellRenderTID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string) => import("react/jsx-runtime").JSX.Element;
|
|
256
|
+
export declare const renderDTDTooltipContent: (dtd: DcmtTypeDescriptor | undefined) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const TMAppUpdatedModal: () => React.JSX.Element | null;
|
|
1
|
+
export declare const TMAppUpdatedModal: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -8,110 +8,110 @@ import { SDKUI_Globals } from './SDKUI_Globals';
|
|
|
8
8
|
import { SDKUI_Localizator } from './SDKUI_Localizator';
|
|
9
9
|
import { IconUpdate, IconOpenInNew } from './TMIcons';
|
|
10
10
|
import { getAppModuleButtonColors } from './TMUtils';
|
|
11
|
-
const Content = styled.div `
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
width: 100%;
|
|
15
|
-
background-color: #ffffff;
|
|
11
|
+
const Content = styled.div `
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
background-color: #ffffff;
|
|
16
16
|
`;
|
|
17
|
-
const Header = styled.div `
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: 14px;
|
|
22
|
-
padding: 32px 30px 26px 30px;
|
|
23
|
-
background-color: ${({ $backgroundColor }) => $backgroundColor};
|
|
24
|
-
color: #ffffff;
|
|
25
|
-
text-align: center;
|
|
17
|
+
const Header = styled.div `
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 14px;
|
|
22
|
+
padding: 32px 30px 26px 30px;
|
|
23
|
+
background-color: ${({ $backgroundColor }) => $backgroundColor};
|
|
24
|
+
color: #ffffff;
|
|
25
|
+
text-align: center;
|
|
26
26
|
`;
|
|
27
|
-
const HeaderIcon = styled.div `
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
width: 68px;
|
|
32
|
-
height: 68px;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
background-color: rgba(255, 255, 255, 0.18);
|
|
35
|
-
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
36
|
-
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
|
|
27
|
+
const HeaderIcon = styled.div `
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
width: 68px;
|
|
32
|
+
height: 68px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
background-color: rgba(255, 255, 255, 0.18);
|
|
35
|
+
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
36
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
|
|
37
37
|
`;
|
|
38
|
-
const HeaderTitle = styled.h2 `
|
|
39
|
-
margin: 0;
|
|
40
|
-
font-size: 22px;
|
|
41
|
-
font-weight: 600;
|
|
42
|
-
letter-spacing: 0.2px;
|
|
38
|
+
const HeaderTitle = styled.h2 `
|
|
39
|
+
margin: 0;
|
|
40
|
+
font-size: 22px;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
letter-spacing: 0.2px;
|
|
43
43
|
`;
|
|
44
|
-
const VersionBadge = styled.span `
|
|
45
|
-
display: inline-block;
|
|
46
|
-
padding: 4px 12px;
|
|
47
|
-
border-radius: 999px;
|
|
48
|
-
background-color: rgba(255, 255, 255, 0.22);
|
|
49
|
-
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
50
|
-
font-size: 13px;
|
|
51
|
-
font-weight: 600;
|
|
52
|
-
letter-spacing: 0.3px;
|
|
44
|
+
const VersionBadge = styled.span `
|
|
45
|
+
display: inline-block;
|
|
46
|
+
padding: 4px 12px;
|
|
47
|
+
border-radius: 999px;
|
|
48
|
+
background-color: rgba(255, 255, 255, 0.22);
|
|
49
|
+
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
50
|
+
font-size: 13px;
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
letter-spacing: 0.3px;
|
|
53
53
|
`;
|
|
54
|
-
const Body = styled.div `
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
gap: 10px;
|
|
58
|
-
padding: 26px 30px 22px 30px;
|
|
59
|
-
text-align: center;
|
|
54
|
+
const Body = styled.div `
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
gap: 10px;
|
|
58
|
+
padding: 26px 30px 22px 30px;
|
|
59
|
+
text-align: center;
|
|
60
60
|
`;
|
|
61
|
-
const Message = styled.p `
|
|
62
|
-
margin: 0;
|
|
63
|
-
font-size: 15px;
|
|
64
|
-
line-height: 1.6;
|
|
65
|
-
color: #242424;
|
|
61
|
+
const Message = styled.p `
|
|
62
|
+
margin: 0;
|
|
63
|
+
font-size: 15px;
|
|
64
|
+
line-height: 1.6;
|
|
65
|
+
color: #242424;
|
|
66
66
|
`;
|
|
67
|
-
const SubMessage = styled.p `
|
|
68
|
-
margin: 0;
|
|
69
|
-
font-size: 13px;
|
|
70
|
-
line-height: 1.6;
|
|
71
|
-
color: #6b6b6b;
|
|
67
|
+
const SubMessage = styled.p `
|
|
68
|
+
margin: 0;
|
|
69
|
+
font-size: 13px;
|
|
70
|
+
line-height: 1.6;
|
|
71
|
+
color: #6b6b6b;
|
|
72
72
|
`;
|
|
73
|
-
const Footer = styled.div `
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: row;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
align-items: center;
|
|
78
|
-
flex-wrap: wrap;
|
|
79
|
-
gap: 12px;
|
|
80
|
-
padding: 0 30px 28px 30px;
|
|
73
|
+
const Footer = styled.div `
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: row;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
flex-wrap: wrap;
|
|
79
|
+
gap: 12px;
|
|
80
|
+
padding: 0 30px 28px 30px;
|
|
81
81
|
`;
|
|
82
|
-
const BaseButton = styled.button `
|
|
83
|
-
display: inline-flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
gap: 8px;
|
|
87
|
-
min-width: 150px;
|
|
88
|
-
padding: 10px 18px;
|
|
89
|
-
border-radius: 8px;
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
font-weight: 600;
|
|
92
|
-
cursor: pointer;
|
|
93
|
-
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
82
|
+
const BaseButton = styled.button `
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
gap: 8px;
|
|
87
|
+
min-width: 150px;
|
|
88
|
+
padding: 10px 18px;
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
94
94
|
`;
|
|
95
|
-
const PrimaryButton = styled(BaseButton) `
|
|
96
|
-
border: 1px solid ${({ $base }) => $base};
|
|
97
|
-
background-color: ${({ $base }) => $base};
|
|
98
|
-
color: #ffffff;
|
|
99
|
-
|
|
100
|
-
&:hover {
|
|
101
|
-
background-color: ${({ $hover }) => $hover};
|
|
102
|
-
border-color: ${({ $hover }) => $hover};
|
|
103
|
-
box-shadow: 0 2px 8px ${({ $shadow }) => $shadow};
|
|
104
|
-
}
|
|
95
|
+
const PrimaryButton = styled(BaseButton) `
|
|
96
|
+
border: 1px solid ${({ $base }) => $base};
|
|
97
|
+
background-color: ${({ $base }) => $base};
|
|
98
|
+
color: #ffffff;
|
|
99
|
+
|
|
100
|
+
&:hover {
|
|
101
|
+
background-color: ${({ $hover }) => $hover};
|
|
102
|
+
border-color: ${({ $hover }) => $hover};
|
|
103
|
+
box-shadow: 0 2px 8px ${({ $shadow }) => $shadow};
|
|
104
|
+
}
|
|
105
105
|
`;
|
|
106
|
-
const SecondaryButton = styled(BaseButton) `
|
|
107
|
-
border: 1px solid #d5d5d5;
|
|
108
|
-
background-color: #ffffff;
|
|
109
|
-
color: #444444;
|
|
110
|
-
|
|
111
|
-
&:hover {
|
|
112
|
-
background-color: #f3f3f3;
|
|
113
|
-
border-color: #bdbdbd;
|
|
114
|
-
}
|
|
106
|
+
const SecondaryButton = styled(BaseButton) `
|
|
107
|
+
border: 1px solid #d5d5d5;
|
|
108
|
+
background-color: #ffffff;
|
|
109
|
+
color: #444444;
|
|
110
|
+
|
|
111
|
+
&:hover {
|
|
112
|
+
background-color: #f3f3f3;
|
|
113
|
+
border-color: #bdbdbd;
|
|
114
|
+
}
|
|
115
115
|
`;
|
|
116
116
|
export const TMAppUpdatedModal = () => {
|
|
117
117
|
const deviceType = useDeviceType();
|
|
@@ -12,5 +12,5 @@ interface TMCommandsContextMenuProps {
|
|
|
12
12
|
trigger?: 'right' | 'left';
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare const TMCommandsContextMenu: React.MemoExoticComponent<({ target, menuItems, id, showEvent, onHiding, trigger, children }: TMCommandsContextMenuProps) =>
|
|
15
|
+
export declare const TMCommandsContextMenu: React.MemoExoticComponent<({ target, menuItems, id, showEvent, onHiding, trigger, children }: TMCommandsContextMenuProps) => import("react/jsx-runtime").JSX.Element>;
|
|
16
16
|
export {};
|