@topconsultnpm/sdkui-react 6.22.0-dev3.3 → 6.22.0-dev3.5
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 +45 -43
- package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +67 -60
- package/lib/components/base/Styled.d.ts +93 -77
- package/lib/components/base/Styled.js +7 -5
- package/lib/components/base/TMCounterBar.d.ts +2 -2
- package/lib/components/base/TMCounterContainer.d.ts +2 -1
- package/lib/components/base/TMCustomButton.d.ts +1 -1
- package/lib/components/base/TMDataGrid.js +221 -221
- package/lib/components/base/TMDataGridExportForm.d.ts +2 -1
- package/lib/components/base/TMFileManager.d.ts +2 -1
- package/lib/components/base/TMFileManagerDataGridView.d.ts +2 -1
- 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 +4 -6
- package/lib/components/base/TMLayout.d.ts +4 -4
- package/lib/components/base/TMList.d.ts +2 -1
- package/lib/components/base/TMListView.d.ts +1 -1
- package/lib/components/base/TMPanel.js +167 -167
- package/lib/components/base/TMSpinner.d.ts +2 -1
- package/lib/components/base/TMTab.d.ts +4 -3
- package/lib/components/base/TMTabControl.d.ts +99 -0
- package/lib/components/base/TMTabControl.js +652 -0
- package/lib/components/base/TMTooltip.d.ts +1 -1
- package/lib/components/base/TMTreeView.d.ts +14 -8
- package/lib/components/base/TMUserAvatar.d.ts +2 -1
- package/lib/components/base/TMVilViewer.d.ts +2 -1
- package/lib/components/base/TMWaitPanel.d.ts +3 -2
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +2 -1
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +2 -1
- package/lib/components/choosers/TMQuickSearchInfo.d.ts +2 -1
- 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 +20 -42
- package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +2 -1
- package/lib/components/editors/TMHtmlEditor.d.ts +2 -1
- package/lib/components/editors/TMMetadataValues.js +5 -5
- package/lib/components/editors/TMTreeDropDown.d.ts +1 -1
- package/lib/components/features/assistant/TMToppyDraggableHelpCenter.d.ts +1 -1
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +2 -1
- package/lib/components/features/documents/TMDcmtForm.js +1 -1
- package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
- package/lib/components/features/documents/TMDcmtIcon.d.ts +2 -1
- package/lib/components/features/documents/TMDcmtPreview.d.ts +8 -6
- package/lib/components/features/documents/TMDcmtTasks.d.ts +2 -1
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
- package/lib/components/features/documents/TMMasterInfoFields.d.ts +2 -1
- package/lib/components/features/documents/TMMergeToPdfForm.d.ts +2 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.d.ts +2 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.js +13 -15
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +4 -4
- package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +2 -1
- package/lib/components/features/search/TMMetadataOutputForm.d.ts +2 -1
- package/lib/components/features/search/TMMetadataSorterForm.d.ts +2 -1
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
- package/lib/components/features/search/TMSearch.d.ts +1 -1
- package/lib/components/features/search/TMSearch.js +68 -9
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +9 -3
- package/lib/components/features/search/TMSearchResult.js +87 -79
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
- package/lib/components/features/search/TMSignatureInfoContent.d.ts +2 -1
- package/lib/components/features/search/TMTreeSelector.js +15 -9
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +2 -1
- 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/tasks/TMTasksView.js +6 -12
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +3 -2
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +8 -7
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +3 -1
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +3 -1
- package/lib/components/forms/Login/Chooser.d.ts +2 -2
- package/lib/components/forms/TMChooserForm.d.ts +2 -1
- package/lib/components/forms/TMSaveForm.d.ts +4 -4
- package/lib/components/grids/TMBlogAttachments.d.ts +2 -1
- 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 +2 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +2 -0
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +2 -1
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +5 -6
- 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 +14 -10
- package/lib/components/settings/SettingsAppearance.d.ts +2 -1
- package/lib/components/sidebar/TMAboutApp.d.ts +2 -1
- 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 +3 -2
- package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +3 -2
- package/lib/components/viewers/TMMidViewer.d.ts +2 -2
- package/lib/components/viewers/TMTidViewer.d.ts +2 -2
- package/lib/helper/SDKUI_Localizator.d.ts +4 -0
- package/lib/helper/SDKUI_Localizator.js +40 -0
- package/lib/helper/TMAppUpdatedModal.d.ts +2 -1
- 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 +2 -1
- package/lib/helper/TMToppyMessage.d.ts +2 -2
- package/lib/helper/TMUtils.d.ts +10 -4
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useInputDialog.d.ts +2 -1
- package/lib/services/platform_services.d.ts +3 -2
- package/package.json +71 -71
|
@@ -36,5 +36,5 @@ interface TMTasksViewProps {
|
|
|
36
36
|
s4TViewerDialogComponent?: React.ReactNode;
|
|
37
37
|
afterTaskSaved?: (task: TaskDescriptor | undefined, formMode: FormModes | undefined, forceRefresh?: boolean) => Promise<void>;
|
|
38
38
|
}
|
|
39
|
-
declare const TMTasksView: (props: TMTasksViewProps) =>
|
|
39
|
+
declare const TMTasksView: (props: TMTasksViewProps) => React.JSX.Element;
|
|
40
40
|
export default TMTasksView;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useEffect, useState } from "react";
|
|
3
3
|
import { AssignedTab, checkIfNew, createTasksMenuItems, getHeaderPriorityFilterConfig, getHeaderStatusFilterConfig, getMondayOfCurrentWeek, getNewTaskCount, getStatusLocalizatorValue, isTaskAssignedToAnotherUser, LIGTH_CYAN, LIGTH_RED_ORGANGE, TaskView, TEXT_NOT_SELECTED_COLOR } from "./TMTasksUtils";
|
|
4
|
-
import { TabPanel, Item } from 'devextreme-react/tab-panel';
|
|
5
4
|
import { Priorities, ResultTypes, SDK_Globals, Task_States } from "@topconsultnpm/sdk-ts";
|
|
6
5
|
import { calculateNumberOfDays, renderTaskIcons } from "./TMTasksUtilsView";
|
|
7
6
|
import { getPriorityLocalizatorValue } from "../tasks/TMTasksUtils";
|
|
8
|
-
import { getExceptionMessage, SDKUI_Localizator,
|
|
7
|
+
import { getExceptionMessage, SDKUI_Localizator, taskModalSizes, TMCountBadge } from "../../../helper";
|
|
9
8
|
import { useDeviceType } from "../../base/TMDeviceProvider";
|
|
10
9
|
import { FormModes } from "../../../ts";
|
|
11
10
|
import TMDataGrid from "../../base/TMDataGrid";
|
|
12
11
|
import { TMMessageBoxManager, ButtonNames } from "../../base/TMPopUp";
|
|
13
12
|
import TMTooltip from "../../base/TMTooltip";
|
|
13
|
+
import TMTabControl, { TMTabPanel } from "../../base/TMTabControl";
|
|
14
14
|
import { TMLayoutWaitingContainer } from "../../base/TMWaitPanel";
|
|
15
15
|
import { TMResultManager } from "../../forms/TMResultDialog";
|
|
16
16
|
import TMTasksCalendar from "./TMTasksCalendar";
|
|
@@ -538,16 +538,10 @@ const TMTasksView = (props) => {
|
|
|
538
538
|
const getFromOrToCalendarElement = (fromOrToDataSource, fromCell = false, toCell = false) => {
|
|
539
539
|
return _jsx("div", { style: { width: '100%', height: '100%', display: 'flex', flexDirection: 'column', overflow: "auto" }, children: _jsx("div", { style: { width: "100%", height: "100%" }, children: _jsx(TMTasksCalendar, { id: id, visualizedTasks: fromOrToDataSource, showId: showId, fromCell: fromCell, toCell: toCell, showSearch: showSearch, currentCalendarDate: currentCalendarDate, setCurrentCalendarDate: setCurrentCalendarDate, openTaskForm: openTaskFormCallback, onDeleteCallback: onDeleteCallback, setCalendarStartDate: setCalendarStartDate, setCalendarEndDate: setCalendarEndDate, focusedRowKey: focusedRowKey, handleFocusedRowChange: handleFocusedRowChange, menuItems: menuItems }) }) });
|
|
540
540
|
};
|
|
541
|
-
return _jsxs("div", { style: { width: '100%', height: '100%' }, onContextMenu: (e) => e.preventDefault(), children: [_jsx(TMLayoutWaitingContainer, { direction: 'vertical', showWaitPanel: showWaitPanel, showWaitPanelPrimary: showPrimary, waitPanelTitle: waitPanelTitle, waitPanelTextPrimary: waitPanelTextPrimary, waitPanelValuePrimary: waitPanelValuePrimary, waitPanelMaxValuePrimary: waitPanelMaxValuePrimary, isCancelable: true, abortController: abortController, children: _jsxs(
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
_jsxs(_Fragment, { children: [activeComponent === TaskView.
|
|
545
|
-
return _jsx(StyledTabItem, { $isSelected: activeTabIndex === AssignedTab.AssignedByMe, children: _jsxs(TMTooltip, { content: SDKUI_Localizator.AssignedByMe, children: [_jsx("i", { className: `dx-icon-${params.icon}` }), "\u00A0", params.title, " ", (assignedByMeCount > 0) ? `(${assignedByMeCount})` : ''] }) });
|
|
546
|
-
}, render: () => activeTabIndex === AssignedTab.AssignedByMe ?
|
|
547
|
-
_jsxs(_Fragment, { children: [activeComponent === TaskView.CALENDAR_TASK && getFromOrToCalendarElement(visualizedTasks, false, true), activeComponent === TaskView.AGENDA_TASK && getFromOrToAgendaElement(visualizedTasks, false, true), activeComponent === TaskView.LIST_TASK && getFromOrToDatagridElement(visualizedTasks, false, true)] }) : '' }), _jsx(Item, { title: SDKUI_Localizator.AllFemale, icon: "fields", tabRender: (params) => {
|
|
548
|
-
return _jsxs(StyledTabItem, { $isSelected: activeTabIndex === AssignedTab.All, children: [_jsxs(TMTooltip, { content: SDKUI_Localizator.AllFemale, children: [_jsx("i", { className: `dx-icon-${params.icon}` }), "\u00A0", params.title, " ", (allTasksFilteredCount > 0) ? `(${allTasksFilteredCount})` : ''] }), newTaskCount > 0 && (_jsx(TMTooltip, { content: SDKUI_Localizator.NewAssignedActivitiesNumber + ": " + newTaskCount, children: _jsx(TMCountBadge, { children: newTaskCount }) }))] });
|
|
549
|
-
}, render: () => activeTabIndex === AssignedTab.All ?
|
|
550
|
-
_jsxs(_Fragment, { children: [activeComponent === TaskView.CALENDAR_TASK && getFromOrToCalendarElement(visualizedTasks, true, true), activeComponent === TaskView.AGENDA_TASK && getFromOrToAgendaElement(visualizedTasks, true, true), activeComponent === TaskView.LIST_TASK && getFromOrToDatagridElement(visualizedTasks, true, true)] }) : '' })] }) }), showTaskForm && _jsx(TMTaskForm, { id: currentTask?.id ?? -1, width: taskModalSizes(deviceType, formMode ?? FormModes.Create).width, height: taskModalSizes(deviceType, formMode ?? FormModes.Create).height, title: isContextualCreate ? SDKUI_Localizator.ContextualTask : SDKUI_Localizator.Widget_Activities, isModal: true, formMode: formMode ?? FormModes.Create, visualizedTasks: visualizedTasks, currentTask: currentTask, setCurrentTask: setCurrentTask, isContextualCreate: isContextualCreate, selectedRowKeys: selectedRowKeys, handleFocusedRowKeyChange: handleFocusedRowChange, taskContext: taskContext, usersList: usersList, onStatusChanged: () => { }, onClose: closeTaskFormCallback, onCancel: closeTaskFormCallback, showBackButton: false, onSaved: onSavedCallback, startDate: calendarStartDate, endDate: calendarEndDate, onOpenS4TViewerRequest: onOpenS4TViewerRequest, s4TViewerDialogComponent: s4TViewerDialogComponent, allTasks: allTasks, getAllTasks: getAllTasks, deleteTaskByIdsCallback: deleteTaskByIdsCallback, addTaskCallback: addTaskCallback, editTaskCallback: editTaskCallback, handleNavigateToWGs: handleNavigateToWGsWrapper, handleNavigateToDossiers: handleNavigateToDossiersWrapper }), _jsx("button", { style: {
|
|
541
|
+
return _jsxs("div", { style: { width: '100%', height: '100%' }, onContextMenu: (e) => e.preventDefault(), children: [_jsx(TMLayoutWaitingContainer, { direction: 'vertical', showWaitPanel: showWaitPanel, showWaitPanelPrimary: showPrimary, waitPanelTitle: waitPanelTitle, waitPanelTextPrimary: waitPanelTextPrimary, waitPanelValuePrimary: waitPanelValuePrimary, waitPanelMaxValuePrimary: waitPanelMaxValuePrimary, isCancelable: true, abortController: abortController, children: _jsxs(TMTabControl, { variant: 'moduleFilled', contentAnimation: 'none', swipeEnabled: false, selectedId: String(activeTabIndex), onSelectedIdChange: (id) => onSelectedIndexChange(Number(id)), style: { width: '100%', height: '100%' }, contentStyle: { display: 'flex', flex: 1, minHeight: 0 }, children: [_jsx(TMTabPanel, { id: String(AssignedTab.AssignedToMe), label: _jsxs(_Fragment, { children: [_jsxs(TMTooltip, { content: SDKUI_Localizator.AssignedToMe, children: [_jsx("i", { className: 'dx-icon-user' }), "\u00A0", SDKUI_Localizator.AssignedToMe, " ", (assignedToMeCount > 0) ? `(${assignedToMeCount})` : ''] }), newTaskCount > 0 && (_jsx(TMTooltip, { content: SDKUI_Localizator.NewAssignedActivitiesNumber + ": " + newTaskCount, children: _jsx(TMCountBadge, { children: newTaskCount }) }))] }), children: activeTabIndex === AssignedTab.AssignedToMe &&
|
|
542
|
+
_jsxs(_Fragment, { children: [activeComponent === TaskView.LIST_TASK && getFromOrToDatagridElement(visualizedTasks, true, false), activeComponent === TaskView.AGENDA_TASK && getFromOrToAgendaElement(visualizedTasks, true, false), activeComponent === TaskView.CALENDAR_TASK && getFromOrToCalendarElement(visualizedTasks, true, false)] }) }), _jsx(TMTabPanel, { id: String(AssignedTab.AssignedByMe), label: _jsxs(TMTooltip, { content: SDKUI_Localizator.AssignedByMe, children: [_jsx("i", { className: 'dx-icon-login' }), "\u00A0", SDKUI_Localizator.AssignedByMe, " ", (assignedByMeCount > 0) ? `(${assignedByMeCount})` : ''] }), children: activeTabIndex === AssignedTab.AssignedByMe &&
|
|
543
|
+
_jsxs(_Fragment, { children: [activeComponent === TaskView.CALENDAR_TASK && getFromOrToCalendarElement(visualizedTasks, false, true), activeComponent === TaskView.AGENDA_TASK && getFromOrToAgendaElement(visualizedTasks, false, true), activeComponent === TaskView.LIST_TASK && getFromOrToDatagridElement(visualizedTasks, false, true)] }) }), _jsx(TMTabPanel, { id: String(AssignedTab.All), label: _jsxs(_Fragment, { children: [_jsxs(TMTooltip, { content: SDKUI_Localizator.AllFemale, children: [_jsx("i", { className: 'dx-icon-fields' }), "\u00A0", SDKUI_Localizator.AllFemale, " ", (allTasksFilteredCount > 0) ? `(${allTasksFilteredCount})` : ''] }), newTaskCount > 0 && (_jsx(TMTooltip, { content: SDKUI_Localizator.NewAssignedActivitiesNumber + ": " + newTaskCount, children: _jsx(TMCountBadge, { children: newTaskCount }) }))] }), children: activeTabIndex === AssignedTab.All &&
|
|
544
|
+
_jsxs(_Fragment, { children: [activeComponent === TaskView.CALENDAR_TASK && getFromOrToCalendarElement(visualizedTasks, true, true), activeComponent === TaskView.AGENDA_TASK && getFromOrToAgendaElement(visualizedTasks, true, true), activeComponent === TaskView.LIST_TASK && getFromOrToDatagridElement(visualizedTasks, true, true)] }) })] }) }), showTaskForm && _jsx(TMTaskForm, { id: currentTask?.id ?? -1, width: taskModalSizes(deviceType, formMode ?? FormModes.Create).width, height: taskModalSizes(deviceType, formMode ?? FormModes.Create).height, title: isContextualCreate ? SDKUI_Localizator.ContextualTask : SDKUI_Localizator.Widget_Activities, isModal: true, formMode: formMode ?? FormModes.Create, visualizedTasks: visualizedTasks, currentTask: currentTask, setCurrentTask: setCurrentTask, isContextualCreate: isContextualCreate, selectedRowKeys: selectedRowKeys, handleFocusedRowKeyChange: handleFocusedRowChange, taskContext: taskContext, usersList: usersList, onStatusChanged: () => { }, onClose: closeTaskFormCallback, onCancel: closeTaskFormCallback, showBackButton: false, onSaved: onSavedCallback, startDate: calendarStartDate, endDate: calendarEndDate, onOpenS4TViewerRequest: onOpenS4TViewerRequest, s4TViewerDialogComponent: s4TViewerDialogComponent, allTasks: allTasks, getAllTasks: getAllTasks, deleteTaskByIdsCallback: deleteTaskByIdsCallback, addTaskCallback: addTaskCallback, editTaskCallback: editTaskCallback, handleNavigateToWGs: handleNavigateToWGsWrapper, handleNavigateToDossiers: handleNavigateToDossiersWrapper }), _jsx("button", { style: {
|
|
551
545
|
position: 'absolute',
|
|
552
546
|
bottom: hasFilters ? '90px' : '18px',
|
|
553
547
|
right: '20px',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { DcmtTypeDescriptor, WorkingGroupDescriptor } from "@topconsultnpm/sdk-ts";
|
|
2
3
|
import { FileItem } from '../../base/TMFileManagerUtils';
|
|
3
4
|
/** Context descriptor for copy/move operations using different engines */
|
|
@@ -24,7 +25,7 @@ interface TMWGsCopyMoveFormProps {
|
|
|
24
25
|
fetchTreeFileSystemForWorkingGroup?: (workingGroupId: number | undefined) => Promise<void>;
|
|
25
26
|
fetchArchivedDocumentsForWorkingGroup?: (workingGroupId: number | undefined) => Promise<void>;
|
|
26
27
|
}
|
|
27
|
-
declare const TMWGsCopyMoveForm: (props: TMWGsCopyMoveFormProps) =>
|
|
28
|
+
declare const TMWGsCopyMoveForm: (props: TMWGsCopyMoveFormProps) => React.JSX.Element;
|
|
28
29
|
export default TMWGsCopyMoveForm;
|
|
29
30
|
interface StepItem {
|
|
30
31
|
id: number | string;
|
|
@@ -36,4 +37,4 @@ interface TMStepNavigatorProps {
|
|
|
36
37
|
currentStep: number;
|
|
37
38
|
onStepChange: (stepIndex: number) => void;
|
|
38
39
|
}
|
|
39
|
-
export declare const TMStepNavigator: (props: TMStepNavigatorProps) =>
|
|
40
|
+
export declare const TMStepNavigator: (props: TMStepNavigatorProps) => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { DcmtTypeDescriptor, HomeBlogPost, TaskDescriptor, WFDescriptor } from '@topconsultnpm/sdk-ts';
|
|
2
3
|
import { DeviceType } from "../../base/TMDeviceProvider";
|
|
3
4
|
import { WorkItemDetail } from "../../../ts";
|
|
@@ -32,7 +33,7 @@ interface IWorkflowOperationButtonsProps {
|
|
|
32
33
|
handleNavigateToWGs?: (value: HomeBlogPost | number) => Promise<void>;
|
|
33
34
|
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
34
35
|
}
|
|
35
|
-
export declare const WorkFlowOperationButtons: (props: IWorkflowOperationButtonsProps) =>
|
|
36
|
+
export declare const WorkFlowOperationButtons: (props: IWorkflowOperationButtonsProps) => React.JSX.Element;
|
|
36
37
|
export declare const WorkFlowApproveRejectPopUp: ({ TID, DID, deviceType, isReject, selectedItems, onClose, onCompleted }: {
|
|
37
38
|
TID?: number;
|
|
38
39
|
DID?: number;
|
|
@@ -41,7 +42,7 @@ export declare const WorkFlowApproveRejectPopUp: ({ TID, DID, deviceType, isReje
|
|
|
41
42
|
isReject: number;
|
|
42
43
|
onClose?: () => void;
|
|
43
44
|
onCompleted?: () => Promise<void>;
|
|
44
|
-
}) =>
|
|
45
|
+
}) => React.JSX.Element;
|
|
45
46
|
export declare const WorkFlowReAssignPopUp: ({ DID, TID, deviceType, onClose, selectedItems, onCompleted, wf, workItemDetail }: {
|
|
46
47
|
TID?: number;
|
|
47
48
|
DID?: number;
|
|
@@ -51,7 +52,7 @@ export declare const WorkFlowReAssignPopUp: ({ DID, TID, deviceType, onClose, se
|
|
|
51
52
|
onCompleted?: () => Promise<void>;
|
|
52
53
|
wf?: WFDescriptor;
|
|
53
54
|
workItemDetail?: WorkItemDetail;
|
|
54
|
-
}) =>
|
|
55
|
+
}) => React.JSX.Element;
|
|
55
56
|
/**
|
|
56
57
|
* Modal per forzare l'approvazione di un work item
|
|
57
58
|
*/
|
|
@@ -59,7 +60,7 @@ export declare const WorkflowForceApproveModal: ({ detail, onClose, onCompleted
|
|
|
59
60
|
detail: WorkItemDetail;
|
|
60
61
|
onClose?: () => void;
|
|
61
62
|
onCompleted?: () => Promise<void>;
|
|
62
|
-
}) =>
|
|
63
|
+
}) => React.JSX.Element;
|
|
63
64
|
/**
|
|
64
65
|
* Modal per forzare il rifiuto di un work item
|
|
65
66
|
*/
|
|
@@ -67,7 +68,7 @@ export declare const WorkflowForceRejectModal: ({ detail, onClose, onCompleted }
|
|
|
67
68
|
detail: WorkItemDetail;
|
|
68
69
|
onClose?: () => void;
|
|
69
70
|
onCompleted?: () => Promise<void>;
|
|
70
|
-
}) =>
|
|
71
|
+
}) => React.JSX.Element;
|
|
71
72
|
/**
|
|
72
73
|
* Modal per terminare le istanze workflow selezionate
|
|
73
74
|
*/
|
|
@@ -79,7 +80,7 @@ export declare const WorkflowEndInstanceModal: ({ selectedInstances, onClose, on
|
|
|
79
80
|
}>;
|
|
80
81
|
onClose?: () => void;
|
|
81
82
|
onCompleted?: () => Promise<void>;
|
|
82
|
-
}) =>
|
|
83
|
+
}) => React.JSX.Element;
|
|
83
84
|
interface IWorkFlowMoreInfoPopUpProps {
|
|
84
85
|
fromDTD?: DcmtTypeDescriptor;
|
|
85
86
|
TID?: number;
|
|
@@ -96,5 +97,5 @@ interface IWorkFlowMoreInfoPopUpProps {
|
|
|
96
97
|
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
97
98
|
triggerBlogRefresh?: () => Promise<void>;
|
|
98
99
|
}
|
|
99
|
-
export declare const WorkFlowMoreInfoPopUp: (props: IWorkFlowMoreInfoPopUpProps) =>
|
|
100
|
+
export declare const WorkFlowMoreInfoPopUp: (props: IWorkFlowMoreInfoPopUpProps) => React.JSX.Element | undefined;
|
|
100
101
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { QueryDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
3
|
import { WorkItemActor } from './RecipientList';
|
|
4
|
-
export declare const RecipientsContainer: import("styled-components/dist/types").IStyledComponentBase<"web",
|
|
4
|
+
export declare const RecipientsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
5
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
6
|
+
}> & string;
|
|
5
7
|
export declare const tosToActors: (tosString: string) => {
|
|
6
8
|
andRecipients: WorkItemActor[];
|
|
7
9
|
orRecipients: WorkItemActor[];
|
|
@@ -11,4 +11,6 @@ interface ChangePasswordInputsProps {
|
|
|
11
11
|
}
|
|
12
12
|
declare const ChangePasswordInputs: React.FC<ChangePasswordInputsProps>;
|
|
13
13
|
export default ChangePasswordInputs;
|
|
14
|
-
export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web",
|
|
14
|
+
export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
15
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
16
|
+
}> & string;
|
|
@@ -23,6 +23,6 @@ interface ChooserProps<T> {
|
|
|
23
23
|
onClose?: () => void;
|
|
24
24
|
isDropDown?: boolean;
|
|
25
25
|
}
|
|
26
|
-
declare const Chooser: <T>({ dataSource, columns, value, additionalIcons, validationItems, title, label, icon, placeHolder, disabled, selectedRow, onChooserClick, onSelectionChanged, onClose, isDropDown }: ChooserProps<T>) =>
|
|
26
|
+
declare const Chooser: <T>({ dataSource, columns, value, additionalIcons, validationItems, title, label, icon, placeHolder, disabled, selectedRow, onChooserClick, onSelectionChanged, onClose, isDropDown }: ChooserProps<T>) => React.JSX.Element;
|
|
27
27
|
export default Chooser;
|
|
28
|
-
export declare function IconDropDown(props: React.SVGProps<SVGSVGElement>):
|
|
28
|
+
export declare function IconDropDown(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ITMChooserFormProps } from '../../ts';
|
|
2
|
-
declare const TMChooserForm: <T>({ children, title, allowMultipleSelection, allowApplyWithZeroSelection, startWithShowOnlySelectedItems, hasShowOnlySelectedItems, allowGrouping, allowSorting, width, height, dataSource, selectedIDs, manageUseLocalizedName, hasShowId, hideRefresh, keyName, customButtons, showFilterPanel, showDefaultColumns, columns, summaryItems, convertID, customFilter, getItems, cellRenderIcon, cellRenderNameAndDesc, onChoose, onClose, onShowIdChanged }: ITMChooserFormProps<T>) =>
|
|
3
|
+
declare const TMChooserForm: <T>({ children, title, allowMultipleSelection, allowApplyWithZeroSelection, startWithShowOnlySelectedItems, hasShowOnlySelectedItems, allowGrouping, allowSorting, width, height, dataSource, selectedIDs, manageUseLocalizedName, hasShowId, hideRefresh, keyName, customButtons, showFilterPanel, showDefaultColumns, columns, summaryItems, convertID, customFilter, getItems, cellRenderIcon, cellRenderNameAndDesc, onChoose, onClose, onShowIdChanged }: ITMChooserFormProps<T>) => React.JSX.Element;
|
|
3
4
|
export default TMChooserForm;
|
|
@@ -13,19 +13,19 @@ interface ITMSaveFormButtonPreviousProps extends ITMSaveFormButtonBase {
|
|
|
13
13
|
onPrev?: () => void;
|
|
14
14
|
onSaveAsync?: () => Promise<void>;
|
|
15
15
|
}
|
|
16
|
-
export declare const TMSaveFormButtonPrevious: ({ btnStyle, formMode, isModified, onPrev, canPrev, iconColor, onSaveAsync }: ITMSaveFormButtonPreviousProps) =>
|
|
16
|
+
export declare const TMSaveFormButtonPrevious: ({ btnStyle, formMode, isModified, onPrev, canPrev, iconColor, onSaveAsync }: ITMSaveFormButtonPreviousProps) => React.JSX.Element;
|
|
17
17
|
interface ITMSaveFormButtonNextProps extends ITMSaveFormButtonBase {
|
|
18
18
|
canNext?: boolean;
|
|
19
19
|
onNext?: () => void;
|
|
20
20
|
onSaveAsync?: () => Promise<void>;
|
|
21
21
|
}
|
|
22
|
-
export declare const TMSaveFormButtonNext: ({ btnStyle, formMode, isModified, onNext, canNext, iconColor, onSaveAsync }: ITMSaveFormButtonNextProps) =>
|
|
22
|
+
export declare const TMSaveFormButtonNext: ({ btnStyle, formMode, isModified, onNext, canNext, iconColor, onSaveAsync }: ITMSaveFormButtonNextProps) => React.JSX.Element;
|
|
23
23
|
interface ITMSaveFormButtonSaveProps extends ITMSaveFormButtonBase {
|
|
24
24
|
errorsCount: number;
|
|
25
25
|
onSaveAsync?: () => Promise<void>;
|
|
26
26
|
}
|
|
27
|
-
export declare const TMSaveFormButtonSave: ({ btnStyle, errorsCount, isModified, iconColor, width, advancedColor, advancedType, onSaveAsync }: ITMSaveFormButtonSaveProps) =>
|
|
27
|
+
export declare const TMSaveFormButtonSave: ({ btnStyle, errorsCount, isModified, iconColor, width, advancedColor, advancedType, onSaveAsync }: ITMSaveFormButtonSaveProps) => React.JSX.Element;
|
|
28
28
|
interface ITMSaveFormButtonUndoProps extends ITMSaveFormButtonBase {
|
|
29
29
|
onUndo?: () => void;
|
|
30
30
|
}
|
|
31
|
-
export declare const TMSaveFormButtonUndo: ({ btnStyle, isModified, iconColor, width, advancedColor, advancedType, onUndo, color, showTooltip }: ITMSaveFormButtonUndoProps) =>
|
|
31
|
+
export declare const TMSaveFormButtonUndo: ({ btnStyle, isModified, iconColor, width, advancedColor, advancedType, onUndo, color, showTooltip }: ITMSaveFormButtonUndoProps) => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { BlogPostAttachment, DcmtTypeDescriptor } from "@topconsultnpm/sdk-ts";
|
|
2
3
|
import { DcmtInfo } from "../../ts";
|
|
3
4
|
import { FileItem } from "../base/TMFileManagerUtils";
|
|
@@ -25,5 +26,5 @@ interface TMBlogAttachmentsProps {
|
|
|
25
26
|
handleAttachmentFocus: (attachment: DcmtInfo | undefined) => void;
|
|
26
27
|
openDcmtForm: (dcmtInfo: DcmtInfo) => void;
|
|
27
28
|
}
|
|
28
|
-
declare const TMBlogAttachments: (props: TMBlogAttachmentsProps) =>
|
|
29
|
+
declare const TMBlogAttachments: (props: TMBlogAttachmentsProps) => React.JSX.Element;
|
|
29
30
|
export default TMBlogAttachments;
|
|
@@ -27,5 +27,5 @@ interface TMBlogHeaderProps {
|
|
|
27
27
|
/** Callback when the search text changes */
|
|
28
28
|
onSearchChange: (value: string) => void;
|
|
29
29
|
}
|
|
30
|
-
declare const TMBlogHeader: (props: TMBlogHeaderProps) =>
|
|
30
|
+
declare const TMBlogHeader: (props: TMBlogHeaderProps) => React.JSX.Element;
|
|
31
31
|
export default TMBlogHeader;
|
|
@@ -89,5 +89,5 @@ interface TMBlogsPostProps {
|
|
|
89
89
|
/** Apre la pratica CaseFlow di una notizia con `classID === 'CF'` (bacheca Home V6). */
|
|
90
90
|
handleNavigateToCaseflows?: (value: HomeBlogPost | number) => Promise<void>;
|
|
91
91
|
}
|
|
92
|
-
declare const TMBlogsPost: (props: TMBlogsPostProps) =>
|
|
92
|
+
declare const TMBlogsPost: (props: TMBlogsPostProps) => React.JSX.Element;
|
|
93
93
|
export default TMBlogsPost;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import React, { 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 | React.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) => React.JSX.Element;
|
|
65
|
+
export declare const getTooltipContent: (title: string | undefined, content: JSX.Element) => React.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: React.JSX.Element;
|
|
80
|
+
tooltipContent: React.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) => React.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) => React.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) => React.JSX.Element;
|
|
115
115
|
export declare const stripHtml: (html: string) => string;
|
|
116
116
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ValidationItem } from '@topconsultnpm/sdk-ts';
|
|
2
3
|
interface ITMValidationItemsList {
|
|
3
4
|
validationItems?: ValidationItem[];
|
|
4
5
|
}
|
|
5
|
-
declare const TMValidationItemsList: ({ validationItems }: ITMValidationItemsList) =>
|
|
6
|
+
declare const TMValidationItemsList: ({ validationItems }: ITMValidationItemsList) => React.JSX.Element;
|
|
6
7
|
export default TMValidationItemsList;
|
|
@@ -21,6 +21,8 @@ export { default as TMProgressBar } from './base/TMProgressBar';
|
|
|
21
21
|
export { default as TMSpinner } from './base/TMSpinner';
|
|
22
22
|
export { Spinner } from './base/TMSpinner';
|
|
23
23
|
export { default as TMToggleButton } from './base/TMToggleButton';
|
|
24
|
+
export { default as TMTabControl } from './base/TMTabControl';
|
|
25
|
+
export * from './base/TMTabControl';
|
|
24
26
|
export { default as TMTooltip } from './base/TMTooltip';
|
|
25
27
|
export { default as TMVilViewer } from './base/TMVilViewer';
|
|
26
28
|
export { default as TMUserAvatar } from './base/TMUserAvatar';
|
package/lib/components/index.js
CHANGED
|
@@ -22,6 +22,8 @@ export { default as TMProgressBar } from './base/TMProgressBar';
|
|
|
22
22
|
export { default as TMSpinner } from './base/TMSpinner';
|
|
23
23
|
export { Spinner } from './base/TMSpinner';
|
|
24
24
|
export { default as TMToggleButton } from './base/TMToggleButton';
|
|
25
|
+
export { default as TMTabControl } from './base/TMTabControl';
|
|
26
|
+
export * from './base/TMTabControl';
|
|
25
27
|
export { default as TMTooltip } from './base/TMTooltip';
|
|
26
28
|
export { default as TMVilViewer } from './base/TMVilViewer';
|
|
27
29
|
export { default as TMUserAvatar } from './base/TMUserAvatar';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TMPanelDefinition, TMPanelDirection } from './types';
|
|
2
3
|
interface TMPanelManagerContainerProps {
|
|
3
4
|
panels: Array<TMPanelDefinition>;
|
|
@@ -7,5 +8,5 @@ interface TMPanelManagerContainerProps {
|
|
|
7
8
|
minPanelSizePx?: number;
|
|
8
9
|
gutterSizePx?: number;
|
|
9
10
|
}
|
|
10
|
-
declare const TMPanelManagerContainer: (props: TMPanelManagerContainerProps) =>
|
|
11
|
+
declare const TMPanelManagerContainer: (props: TMPanelManagerContainerProps) => React.JSX.Element | null;
|
|
11
12
|
export default TMPanelManagerContainer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import type { TMPanelDefinition, TMPanelDimensionsMap } from './types';
|
|
3
3
|
interface TMPanelManagerContextType {
|
|
4
4
|
panelVisibility: {
|
|
@@ -34,6 +34,6 @@ interface TMPanelManagerProviderProps {
|
|
|
34
34
|
initialMobilePanelId: string;
|
|
35
35
|
isPersistenceEnabled?: boolean;
|
|
36
36
|
}
|
|
37
|
-
export declare const TMPanelManagerProvider: (props: TMPanelManagerProviderProps) =>
|
|
37
|
+
export declare const TMPanelManagerProvider: (props: TMPanelManagerProviderProps) => React.JSX.Element;
|
|
38
38
|
export declare const useTMPanelManagerContext: () => TMPanelManagerContextType;
|
|
39
39
|
export {};
|
|
@@ -1,14 +1,13 @@
|
|
|
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").
|
|
3
|
+
export declare const StyledToolbarButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
4
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
5
|
+
}, {
|
|
4
6
|
$isActive?: boolean;
|
|
5
7
|
$isDisabled?: boolean;
|
|
6
|
-
}
|
|
7
|
-
$isActive?: boolean;
|
|
8
|
-
$isDisabled?: boolean;
|
|
9
|
-
}, never>>> & string;
|
|
8
|
+
}>> & string;
|
|
10
9
|
interface TMPanelManagerToolbarProps {
|
|
11
10
|
panels: Array<TMPanelDefinition>;
|
|
12
11
|
}
|
|
13
|
-
declare const TMPanelManagerToolbar: (props: TMPanelManagerToolbarProps) =>
|
|
12
|
+
declare const TMPanelManagerToolbar: (props: TMPanelManagerToolbarProps) => React.JSX.Element;
|
|
14
13
|
export default TMPanelManagerToolbar;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { 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) => React.JSX.Element | null;
|
|
21
21
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { 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) => React.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>) => React.JSX.Element;
|
|
38
38
|
export default TMPage;
|
|
@@ -2,18 +2,22 @@ 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
|
-
|
|
5
|
+
export declare const StyledRowItem: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
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
|
+
}, {
|
|
7
11
|
$borderRadius?: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const StyledAccordionItemContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
13
|
-
|
|
14
|
-
},
|
|
12
|
+
}>> & string;
|
|
13
|
+
export declare const StyledAccordionItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
14
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
+
}> & string;
|
|
16
|
+
export declare const StyledAccordionItemContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
17
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
18
|
+
}, {
|
|
15
19
|
$disabled?: boolean;
|
|
16
|
-
}
|
|
20
|
+
}>> & string;
|
|
17
21
|
export declare const colorValue = "rgba(224,224,224,.5)";
|
|
18
22
|
export declare const colorBrackets = "rgba(209,52,56,.3)";
|
|
19
23
|
export declare const colorOperator = "rgba(16,124,16,.3)";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const SettingsAppearance: ({ landingPagesOptions, permissions, showConfirmPopup }: {
|
|
2
3
|
landingPagesOptions?: {
|
|
3
4
|
display: string;
|
|
@@ -11,5 +12,5 @@ declare const SettingsAppearance: ({ landingPagesOptions, permissions, showConfi
|
|
|
11
12
|
workFlowLicense: boolean;
|
|
12
13
|
};
|
|
13
14
|
showConfirmPopup?: (title: string, onConfirm: () => void) => void;
|
|
14
|
-
}) =>
|
|
15
|
+
}) => React.JSX.Element;
|
|
15
16
|
export default SettingsAppearance;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface TMAboutAppProps {
|
|
2
3
|
app: boolean;
|
|
3
4
|
skdui: boolean;
|
|
4
5
|
sdk: boolean;
|
|
5
6
|
websdk: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare const TMAboutApp: (props: TMAboutAppProps) =>
|
|
8
|
+
export declare const TMAboutApp: (props: TMAboutAppProps) => React.JSX.Element;
|
|
8
9
|
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").
|
|
2
|
+
export declare const StyledCommandsPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
3
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
4
|
+
}, {
|
|
3
5
|
$isMobile?: boolean;
|
|
4
|
-
}
|
|
5
|
-
$isMobile?: boolean;
|
|
6
|
-
}, never>>> & string;
|
|
6
|
+
}>> & string;
|
|
7
7
|
export interface TMCommandItemProps {
|
|
8
8
|
icon: React.ReactNode;
|
|
9
9
|
selected?: boolean;
|
|
@@ -36,8 +36,8 @@ export declare const TMSearchBar: ({ searchValue, onSearchValueChanged, maxWidth
|
|
|
36
36
|
marginLeft?: string;
|
|
37
37
|
searchValue: string;
|
|
38
38
|
onSearchValueChanged: (value: string) => void;
|
|
39
|
-
}) =>
|
|
39
|
+
}) => React.JSX.Element;
|
|
40
40
|
declare const TMHeader: React.FC<ITMHeader>;
|
|
41
41
|
export default TMHeader;
|
|
42
|
-
export declare function IconHeaderNotifications(props: Readonly<React.SVGProps<SVGSVGElement>>):
|
|
43
|
-
export declare function IconHeaderSettings(props: Readonly<React.SVGProps<SVGSVGElement>>):
|
|
42
|
+
export declare function IconHeaderNotifications(props: Readonly<React.SVGProps<SVGSVGElement>>): React.JSX.Element;
|
|
43
|
+
export declare function IconHeaderSettings(props: Readonly<React.SVGProps<SVGSVGElement>>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { DataListViewModes } from '@topconsultnpm/sdk-ts';
|
|
2
3
|
import { DataGridTypes } from 'devextreme-react/data-grid';
|
|
3
4
|
interface ITMDataListItemViewerProps {
|
|
@@ -7,6 +8,6 @@ interface ITMDataListItemViewerProps {
|
|
|
7
8
|
showTooltip?: boolean;
|
|
8
9
|
width?: string;
|
|
9
10
|
}
|
|
10
|
-
declare const TMDataListItemViewer: ({ dataListId, value, viewMode, showTooltip, width }: ITMDataListItemViewerProps) =>
|
|
11
|
+
declare const TMDataListItemViewer: ({ dataListId, value, viewMode, showTooltip, width }: ITMDataListItemViewerProps) => React.JSX.Element | null;
|
|
11
12
|
export default TMDataListItemViewer;
|
|
12
|
-
export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) =>
|
|
13
|
+
export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) => React.JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { DataGridTypes } from 'devextreme-react/data-grid';
|
|
2
3
|
interface ITMDataUserIdItemViewerProps {
|
|
3
4
|
userId?: number;
|
|
4
5
|
showIcon?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const TMDataUserIdItemViewer: ({ userId, showIcon }: ITMDataUserIdItemViewerProps) =>
|
|
7
|
+
declare const TMDataUserIdItemViewer: ({ userId, showIcon }: ITMDataUserIdItemViewerProps) => React.JSX.Element | null;
|
|
7
8
|
export default TMDataUserIdItemViewer;
|
|
8
|
-
export declare const cellRenderUserIdItem: (data: DataGridTypes.ColumnCellTemplateData, showIcon?: boolean) =>
|
|
9
|
+
export declare const cellRenderUserIdItem: (data: DataGridTypes.ColumnCellTemplateData, showIcon?: boolean) => React.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) => React.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) => React.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) => React.JSX.Element;
|
|
256
|
+
export declare const renderDTDTooltipContent: (dtd: DcmtTypeDescriptor | undefined) => React.JSX.Element | null;
|
|
@@ -21,6 +21,7 @@ export declare class SDKUI_Localizator {
|
|
|
21
21
|
static get AddOrSubstFile(): "Add/substitute file" | "Adicionar / substituir arquivos" | "Aggiungi/sostituisci file" | "Ajoute/Remplace le fichier" | "Añadir/sustituir archivo" | "Dateien hinzufügen/ersetzen";
|
|
22
22
|
static get AddRecipient(): "Add recipient" | "Adicionar destinatário" | "Aggiungi destinatario" | "Agregar destinatario" | "Ajouter destinataire" | "Empfänger hinzufügen";
|
|
23
23
|
static get AddParticipants(): string;
|
|
24
|
+
static get AddTab(): string;
|
|
24
25
|
static get AddTo(): string;
|
|
25
26
|
static get AddToHomePage(): "Add to Home Page" | "Adicionar a Home Page" | "Aggiungi alla Home Page" | "Ajoute à Home Page" | "Añadir a la página inicial" | "Zur Startseite hinzufügen";
|
|
26
27
|
static get Advanced(): "Advanced" | "Avancé" | "Avanzado" | "Avanzate" | "Avançado" | "Erweitert";
|
|
@@ -122,6 +123,8 @@ export declare class SDKUI_Localizator {
|
|
|
122
123
|
static get ClearOTP(): "Borrar OTP" | "Cancella OTP" | "Clear OTP" | "Effacer l'OTP" | "Limpar OTP" | "OTP löschen";
|
|
123
124
|
static get ClickToBrowseFile(): string;
|
|
124
125
|
static get Close(): "Ausgang" | "Chiudi" | "Close" | "Salida" | "Saída" | "Sortie";
|
|
126
|
+
static get CloseOtherTabs(): "Andere Tabs schließen" | "Cerrar las otras pestañas" | "Chiudi le altre schede" | "Close other tabs" | "Fechar as outras abas" | "Fermer les autres onglets";
|
|
127
|
+
static get CloseTabs_ConfirmForN(): "Are you sure you want to close {{0}} tabs?" | "Sei sicuro di voler chiudere {{0}} schede?" | "Sind Sie sicher, dass Sie {{0}} Tabs schließen möchten?" | "Tem certeza de que deseja fechar {{0}} abas?" | "¿Está seguro de que desea cerrar {{0}} pestañas?" | "Êtes-vous sûr de vouloir fermer {{0}} onglets ?";
|
|
125
128
|
static get Closed(): "Cerrada" | "Chiusa" | "Closed" | "Fechada" | "Fermée" | "Geschlossen";
|
|
126
129
|
static get CloseTask(): string;
|
|
127
130
|
static get Collapse(): "Collapse" | "Comprimi" | "Contraer" | "Recolher" | "Reduzieren" | "Réduire";
|
|
@@ -729,6 +732,7 @@ export declare class SDKUI_Localizator {
|
|
|
729
732
|
static get RemoveAll(): "Alle entfernen" | "Eliminar todo" | "Remove all" | "Remover todos" | "Rimuovi tutto" | "Supprime tout";
|
|
730
733
|
static get RemoveAttachment(): string;
|
|
731
734
|
static get RemoveSelected(): "Ausgewählte Objekte entfernen" | "Eliminar objetos seleccionados" | "Remova os objetos selecionados" | "Remove selected items" | "Rimuovi oggetti selezionati" | "Supprime objets sélectionnés";
|
|
735
|
+
static get Rename(): string;
|
|
732
736
|
static get RenameFolder(): "Carpeta renombrada exitosamente" | "Cartella rinominata con successo" | "Dossier renommé avec succès" | "Folder renamed successfully" | "Ordner erfolgreich umbenannt" | "Pasta renomeada com sucesso";
|
|
733
737
|
static get RenameFile(): "Archivo renombrada exitosamente" | "Arquivo renomeada com sucesso" | "Datei erfolgreich umbenannt" | "Fichier renommé avec succès" | "File renamed successfully" | "File rinominata con successo";
|
|
734
738
|
static get Restore(): "Restablecer" | "Restauração" | "Restaure" | "Restore" | "Ripristina" | "Wiederherstellen";
|