@docsvision/webclient 5.16.0 → 5.17.0-beta.11
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/Approval/AgreementHistoryImpl.d.ts +2 -0
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListImpl.d.ts +3 -0
- package/BackOffice/Address.d.ts +3 -2
- package/BackOffice/CardKind.d.ts +3 -2
- package/BackOffice/ChangeBoundaryValuesSection.d.ts +4 -0
- package/BackOffice/ChangeSectionValues.d.ts +4 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
- package/BackOffice/ConvertSizetoMegabytes.d.ts +1 -0
- package/BackOffice/CreateWindow.d.ts +2 -1
- package/BackOffice/Department.d.ts +3 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DepartmentImpl.d.ts +2 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/EditTaskDescription.d.ts +2 -1
- package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
- package/BackOffice/EditTaskDuration.d.ts +2 -2
- package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
- package/BackOffice/EditWindow.d.ts +2 -1
- package/BackOffice/EmailButton.d.ts +21 -0
- package/BackOffice/EmailButton.stories.d.ts +10 -0
- package/BackOffice/EmailButtonContainer.d.ts +8 -0
- package/BackOffice/EmailButtonFiles.d.ts +7 -0
- package/BackOffice/EmailButtonItem.d.ts +12 -0
- package/BackOffice/EmailButtonLogic.d.ts +42 -0
- package/BackOffice/EmailButtonOptions.d.ts +36 -0
- package/BackOffice/EmailButtonSectionId.d.ts +2 -0
- package/BackOffice/EmailButtonSelectedSize.d.ts +9 -0
- package/BackOffice/EmailButtonView.d.ts +19 -0
- package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
- package/BackOffice/FileRenamingDialog.d.ts +2 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/GetEmlUrl.d.ts +11 -0
- package/BackOffice/ITaskTableSorting.d.ts +27 -0
- package/BackOffice/InitialCheckboxes.d.ts +4 -0
- package/BackOffice/NumeratorImpl.d.ts +1 -1
- package/BackOffice/PartnerBase.d.ts +4 -3
- package/BackOffice/PartnerBaseImpl.d.ts +2 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
- package/BackOffice/PartnerSelectDialog.d.ts +8 -1
- package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
- package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -0
- package/BackOffice/SortingRows.d.ts +6 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +5 -1
- package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
- package/BackOffice/TasksTableLogic.d.ts +12 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +3 -1
- package/BackOffice/TasksTreeImpl.d.ts +3 -0
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +1 -0
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +106 -5
- package/Generated/DocsVision.WebClient.Models.d.ts +334 -33
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
- package/Helpers/IconButton.d.ts +2 -0
- package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
- package/Helpers/Menu/MobileMenuBar.d.ts +1 -0
- package/Helpers/MessageBox/MessageBox.d.ts +6 -1
- package/Helpers/ModalDialog/CommonModalDialog.d.ts +8 -0
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
- package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
- package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
- package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
- package/Legacy/ModalWindow.d.ts +7 -2
- package/Legacy/ModalWindowParams.d.ts +6 -0
- package/Legacy/SelectFolderModalDialog.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
- package/MainBundle.d.ts +2 -2
- package/Platform/$AggregatesCheckbox.d.ts +19 -0
- package/Platform/$ContextMenuOptions.d.ts +17 -10
- package/Platform/$CurrentFolder.d.ts +1 -0
- package/Platform/$FileDownload.d.ts +2 -1
- package/Platform/$FolderDataLoading.d.ts +5 -1
- package/Platform/$FolderGrid.d.ts +14 -6
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$SearchText.d.ts +11 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/$ToolbarDaughterControls.d.ts +20 -0
- package/Platform/AggregateItemCheckbox.d.ts +12 -0
- package/Platform/Aggregates.stories.d.ts +8 -0
- package/Platform/AggregatesCheckbox.d.ts +10 -0
- package/Platform/AggregatesCheckboxPlugins.d.ts +11 -0
- package/Platform/AggregatesCheckboxService.d.ts +37 -0
- package/Platform/AggregatesExtendedData.d.ts +4 -0
- package/Platform/AggregatesGroup.d.ts +13 -0
- package/Platform/AggregatesListItem.d.ts +5 -0
- package/Platform/AggregatesNotAvailable.d.ts +6 -0
- package/Platform/AggregatesPanelHeader.d.ts +6 -0
- package/Platform/AggregatesRequestResolver.d.ts +12 -0
- package/Platform/AggregatesResponseResolver.d.ts +10 -0
- package/Platform/AggregatesTree.d.ts +17 -0
- package/Platform/AggregatesTreeLoader.d.ts +2 -0
- package/Platform/AggregatesUtils.d.ts +5 -0
- package/Platform/ArchivedCardsIcon.d.ts +4 -1
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/CalendarInput.d.ts +1 -1
- package/Platform/ClearButton.d.ts +7 -5
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/ContextMenu.d.ts +7 -1
- package/Platform/ContextMenuOptionsService.d.ts +7 -4
- package/Platform/DateInput.d.ts +3 -13
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +4 -1
- package/Platform/DeleteBatchOperation.d.ts +31 -0
- package/Platform/DeleteBatchOperationImpl.d.ts +23 -0
- package/Platform/DownloadBatchOperationFileInfoCard.d.ts +7 -0
- package/Platform/DownloadDocumentFileMode.d.ts +5 -0
- package/Platform/DownloadFilesBatchOperation.d.ts +36 -0
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +26 -0
- package/Platform/Dropdown.d.ts +4 -0
- package/Platform/ExportPlugin.d.ts +10 -4
- package/Platform/Favorite.d.ts +22 -0
- package/Platform/FavoritesPageRouteHandler.d.ts +18 -0
- package/Platform/FavoritesRouteHandler.d.ts +18 -0
- package/Platform/FileDownloadService.d.ts +2 -1
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FocusableTextInput.d.ts +3 -8
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderDataContext.d.ts +4 -1
- package/Platform/FolderDataLoadingService.d.ts +13 -7
- package/Platform/FolderGrid.d.ts +4 -2
- package/Platform/FolderGrid.stories.d.ts +1 -0
- package/Platform/FolderGridBatchOperationsNode.d.ts +2 -1
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridService.d.ts +7 -3
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderRouteTypeMapper.d.ts +1 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/IAggregates.d.ts +34 -0
- package/Platform/ICommonFolderInfo.d.ts +1 -0
- package/Platform/IFavoritesPageRouteData.d.ts +6 -0
- package/Platform/IFavoritesRouteData.d.ts +7 -0
- package/Platform/IFileHasSignature.d.ts +4 -0
- package/Platform/IFileInfo.d.ts +5 -0
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderLoadRequest.d.ts +2 -1
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/LayoutIconButton.d.ts +2 -0
- package/Platform/LayoutIconButtonImpl.d.ts +1 -0
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/ListCheckbox.d.ts +6 -0
- package/Platform/ListContent.d.ts +8 -0
- package/Platform/ListContentHightlight.d.ts +9 -0
- package/Platform/ListEmpty.d.ts +6 -0
- package/Platform/ListEmptySearchIcon.d.ts +6 -0
- package/Platform/ListInput.d.ts +9 -0
- package/Platform/ListItem.d.ts +6 -0
- package/Platform/ListLoading.d.ts +6 -0
- package/Platform/ListSearchIcon.d.ts +6 -0
- package/Platform/ListSlot.d.ts +7 -0
- package/Platform/ListTotalItem.d.ts +8 -0
- package/Platform/ListViewResponseResolver.d.ts +13 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/{MoveShortcutsBatchOperation.d.ts → MoveShortcutBatchOperation.d.ts} +5 -5
- package/Platform/{MoveShortcutsBatchOperationImpl.d.ts → MoveShortcutBatchOperationImpl.d.ts} +5 -5
- package/Platform/ReadAllPlugin.d.ts +10 -5
- package/Platform/ReadBatchOperation.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +10 -4
- package/Platform/ResetSettingsPlugin.d.ts +10 -4
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchResultsRequestResolver.d.ts +6 -0
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SearchTextProvider.d.ts +7 -0
- package/Platform/SearchTextService.d.ts +10 -0
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +3 -3
- package/Platform/SecurityDialogFrame.d.ts +2 -1
- package/Platform/SettingsPlugin.d.ts +12 -7
- package/Platform/SettingsPopup.d.ts +5 -3
- package/Platform/SettingsPopup.stories.d.ts +1 -0
- package/Platform/SettingsPopupExtendedData.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +16 -1
- package/Platform/SettingsPopupRequestResolver.d.ts +2 -1
- package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
- package/Platform/ShowAllButton.d.ts +3 -1
- package/Platform/Table.d.ts +4 -4
- package/Platform/TableCreateRowWindow.d.ts +2 -1
- package/Platform/TableEditRowWindow.d.ts +2 -1
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TestUtils.d.ts +10 -1
- package/Platform/TextListInput.d.ts +6 -0
- package/Platform/TextListInputLogic.d.ts +55 -0
- package/Platform/TextListInputView.d.ts +40 -0
- package/Platform/TextListInputWrapper.d.ts +7 -0
- package/Platform/ToggleArrowIcon.d.ts +5 -0
- package/Platform/ToolbarDaughterControl.d.ts +18 -0
- package/Platform/ToolbarDaughterControlImpl.d.ts +14 -0
- package/Platform/ToolbarDaughterControlsPlugin.d.ts +6 -0
- package/Platform/ToolbarDaughterControlsService.d.ts +13 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.d.ts +8 -5
- package/Platform/WebFrameUserPanel.d.ts +4 -2
- package/Platform/applyCurrentSettings.d.ts +7 -1
- package/Platform/filterViews.d.ts +3 -0
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateValueCheckedColumn.d.ts +5 -1
- package/StandardServices.d.ts +4 -1
- package/System/$LastSearchResponse.d.ts +13 -0
- package/System/$PollService.d.ts +10 -0
- package/System/BaseControl.d.ts +3 -0
- package/System/ButtonPositionsSelectionUtils.d.ts +2 -1
- package/System/CancelableEvent.d.ts +1 -1
- package/System/DateTimeUtils.d.ts +2 -0
- package/System/DirectoryBaseImpl.d.ts +5 -1
- package/System/DirectorySelectDialog.d.ts +9 -2
- package/System/GridAggregatesModelStub.d.ts +13 -0
- package/System/LastSearchResponseService.d.ts +19 -0
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +1 -1
- package/System/LayoutContainer.d.ts +1 -1
- package/System/LocationContainerControl.d.ts +2 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/Poll.d.ts +10 -0
- package/System/PollService.d.ts +27 -0
- package/System/ResourcesStub.d.ts +2 -1
- package/System/StandardRoutes.d.ts +4 -0
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
- package/Platform/$PluginTemplate.d.ts +0 -12
- package/Platform/GridConstants.d.ts +0 -4
- package/Platform/PluginTemplateExtendedData.d.ts +0 -4
- package/Platform/PluginTemplatePlugins.d.ts +0 -15
- package/Platform/PluginTemplateService.d.ts +0 -11
- package/Platform/Settings.d.ts +0 -3
- package/Platform/TemplateRequestResolver.d.ts +0 -12
- package/Platform/TemplateResponseResolver.d.ts +0 -11
- package/System/$ServiceTemplate.d.ts +0 -16
- package/System/ControlTemplate.d.ts +0 -23
- package/System/ControlTemplate.stories.d.ts +0 -9
- package/System/ControlTemplateContainer.d.ts +0 -7
- package/System/ControlTemplateEffect.d.ts +0 -3
- package/System/ControlTemplateFrame.d.ts +0 -8
- package/System/ControlTemplateLogic.d.ts +0 -17
- package/System/ControlTemplateOptions.d.ts +0 -30
- package/System/ControlTemplateText.d.ts +0 -7
- package/System/ControlTemplateView.d.ts +0 -10
- package/System/ServiceTemplateService.d.ts +0 -13
|
@@ -2,7 +2,6 @@ import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/Cl
|
|
|
2
2
|
import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
|
|
3
3
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
4
4
|
import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
|
|
5
|
-
import { IFilePreviewModel } from "@docsvision/webclient/Legacy/IFilePreviewModel";
|
|
6
5
|
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
7
6
|
import { ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
|
|
8
7
|
import React from "react";
|
|
@@ -62,7 +61,7 @@ export declare class FileSignCreateDialog extends React.Component<IFileSignCreat
|
|
|
62
61
|
isSimpleSign: () => boolean;
|
|
63
62
|
checkIsCertificateExist: () => Promise<boolean>;
|
|
64
63
|
/** Обновляет список доступных меток для подписи. */
|
|
65
|
-
updateLabels: () => Promise<
|
|
64
|
+
updateLabels: () => Promise<void>;
|
|
66
65
|
/** При изменении варианта подписания подписи. */
|
|
67
66
|
protected onModeChange: (selectedElement: IComboBoxElement) => void;
|
|
68
67
|
/** Получить отформатированный список меток для комбобокса. */
|
|
@@ -34,7 +34,7 @@ export declare class FileSignSelectCertificateDialog extends React.Component<IFi
|
|
|
34
34
|
/** Загружаются ли сертификаты в данный момент. */
|
|
35
35
|
get isCertsLoading(): boolean;
|
|
36
36
|
/** Обновляет список доступных сертификатов. */
|
|
37
|
-
updateCerts: () => Promise<
|
|
37
|
+
updateCerts: () => Promise<ICryptoCertificate[]>;
|
|
38
38
|
/** Показать окно. */
|
|
39
39
|
show: () => void;
|
|
40
40
|
/** Скрыть окно. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
export interface IGetEmlFileUrl {
|
|
3
|
+
documentId: string;
|
|
4
|
+
useCardLink: boolean;
|
|
5
|
+
useTemplate: boolean;
|
|
6
|
+
transformationTemplate: string;
|
|
7
|
+
fileAttachments: GenModels.FileAttachmentsMode;
|
|
8
|
+
modifyFilesSelection: boolean;
|
|
9
|
+
fileIds: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare function getEmlUrl(params: IGetEmlFileUrl): string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export declare enum TasksTableSorting {
|
|
3
|
+
/** Without sorting */
|
|
4
|
+
None = 0,
|
|
5
|
+
/** Send data */
|
|
6
|
+
SendDate = 1,
|
|
7
|
+
/** Due date */
|
|
8
|
+
DueDate = 2,
|
|
9
|
+
/** Name */
|
|
10
|
+
Name = 3,
|
|
11
|
+
/** Author */
|
|
12
|
+
Author = 4,
|
|
13
|
+
/** State */
|
|
14
|
+
State = 5,
|
|
15
|
+
/** Current performer */
|
|
16
|
+
CurrentPerformer = 6,
|
|
17
|
+
/** Kind */
|
|
18
|
+
Kind = 7
|
|
19
|
+
}
|
|
20
|
+
export declare enum TasksTableSortingDirection {
|
|
21
|
+
Ascending = 0,
|
|
22
|
+
Descending = 1
|
|
23
|
+
}
|
|
24
|
+
export interface ITasksTableSorting {
|
|
25
|
+
type: GenModels.TaskColumnType;
|
|
26
|
+
direction: TasksTableSortingDirection;
|
|
27
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IEmailButtonCheckboxes } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
2
|
+
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
+
export declare function initialCheckboxes(files: FileListItem[], fileAttachments: GenModels.FileAttachmentsMode): IEmailButtonCheckboxes;
|
|
@@ -30,7 +30,7 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
|
|
|
30
30
|
protected getTextValue(): string;
|
|
31
31
|
protected onInputChange(event: any): void;
|
|
32
32
|
validate(params: any): IValidationResult;
|
|
33
|
-
clearNumber(): Promise<
|
|
33
|
+
clearNumber(): Promise<void>;
|
|
34
34
|
protected renderInto(props: NumeratorParams, container: HTMLElement): void;
|
|
35
35
|
protected get editAvailable(): boolean;
|
|
36
36
|
protected get withInputMode(): boolean;
|
|
@@ -4,6 +4,7 @@ import { PartnerBaseImpl, PartnerBaseState } from "@docsvision/webclient/BackOff
|
|
|
4
4
|
import { PartnerSelectDialog } from "@docsvision/webclient/BackOffice/PartnerSelectDialog";
|
|
5
5
|
import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
6
6
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
7
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
7
8
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
8
9
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
9
10
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
@@ -56,7 +57,7 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
56
57
|
currentFilterChanging?: CancelableApiEvent<IPartnerFilterChangeEventArgs>;
|
|
57
58
|
/** Событие, возникающее после изменения фильтра контрагентов. */
|
|
58
59
|
currentFilterChanged?: BasicApiEvent<IPartnerFilterChangeEventArgs>;
|
|
59
|
-
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
|
|
60
|
+
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* Класс элемента управления Сотрудник контрагента.
|
|
@@ -66,8 +67,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
66
67
|
export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
|
|
67
68
|
/** @internal */
|
|
68
69
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
69
|
-
import("C:/
|
|
70
|
-
import("C:/
|
|
70
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
71
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
71
72
|
/** @internal */
|
|
72
73
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
73
74
|
private set partnerBindingHandler(value);
|
|
@@ -24,6 +24,7 @@ export interface PartnerBaseState<T> extends PartnerBaseParams<T>, InputBasedCon
|
|
|
24
24
|
beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
|
|
25
25
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
26
26
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
27
|
+
maximized?: boolean;
|
|
27
28
|
}
|
|
28
29
|
/** @internal */
|
|
29
30
|
export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControlImpl<T, ParamsT, StateT> {
|
|
@@ -53,6 +54,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
53
54
|
showDictionary(): void;
|
|
54
55
|
hideDictionary(): void;
|
|
55
56
|
protected cancelModal: () => void;
|
|
57
|
+
protected onMaximize: () => void;
|
|
56
58
|
protected onDirectoryDialogNodeSelected(node: T): void;
|
|
57
59
|
protected onDirectoryDialogSelectButtonClick(): Promise<void>;
|
|
58
60
|
protected onFilterSelected: (items: GenModels.DepartmentModel[], resetPreviousPath?: boolean) => Promise<void>;
|
|
@@ -2,6 +2,7 @@ import { IPartnerDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/I
|
|
|
2
2
|
import { PartnerDirectoryBaseImpl, PartnerDirectoryBaseState } from "@docsvision/webclient/BackOffice/PartnerDirectoryBaseImpl";
|
|
3
3
|
import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
4
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
6
|
import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
|
|
6
7
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
7
8
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
@@ -28,7 +29,7 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
28
29
|
searchResultsLoading?: CancelableApiEvent<IPartnerDataLoadingEventArgs>;
|
|
29
30
|
/** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
|
|
30
31
|
searchResultsLoaded?: BasicApiEvent<IPartnerDataLoadingEventArgs>;
|
|
31
|
-
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
|
|
32
|
+
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Класс элемента управления Сотрудник контрагента.
|
|
@@ -38,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
38
39
|
export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
|
|
39
40
|
/** @internal */
|
|
40
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
41
|
-
import("C:/
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
42
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
44
45
|
/** @internal */
|
|
45
46
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
46
47
|
init(): Promise<void>;
|
|
@@ -13,6 +13,7 @@ import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
|
13
13
|
import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
|
|
14
14
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
15
15
|
import React from "react";
|
|
16
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
16
17
|
/** @internal */
|
|
17
18
|
export interface IPartnerSelectDialogSearchPathOptions {
|
|
18
19
|
path: GenModels.DepartmentModel[];
|
|
@@ -36,7 +37,13 @@ export interface IPartnerSelectDialogProps {
|
|
|
36
37
|
selectedPartner: GenModels.EmployeeDataModel | GenModels.DepartmentModel;
|
|
37
38
|
isOpen: boolean;
|
|
38
39
|
onCancel: () => void;
|
|
39
|
-
|
|
40
|
+
/** Существует ли кнопка развертывания */
|
|
41
|
+
maximizeButtonEnabled?: boolean;
|
|
42
|
+
/** Вызывается при попытке развернуть окно */
|
|
43
|
+
onMaximize?: () => void;
|
|
44
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
45
|
+
maximized?: boolean;
|
|
46
|
+
services: $LayoutPartnerController & $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
40
47
|
}
|
|
41
48
|
/** @internal */
|
|
42
49
|
export interface IPartnerChildrenCacheItem {
|
|
@@ -3,6 +3,7 @@ import { $DepartmentController, $LayoutRowController, $LayoutStaffController } f
|
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
4
|
import { RerenderHost } from '@docsvision/webclient/Helpers/RerenderHost';
|
|
5
5
|
import { ITypeaheadVariant } from "@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadVariant";
|
|
6
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
6
7
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
7
8
|
import React from 'react';
|
|
8
9
|
/** @internal */
|
|
@@ -13,10 +14,10 @@ export declare class PartnerTypeaheadVariant implements ITypeaheadVariant {
|
|
|
13
14
|
reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void;
|
|
14
15
|
departmentMode: boolean;
|
|
15
16
|
visible: boolean;
|
|
16
|
-
services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
|
|
17
|
+
services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
17
18
|
infoPopoverOpen: boolean;
|
|
18
19
|
infoRerender: RerenderHost;
|
|
19
|
-
constructor(item: GenModels.PartnerDirectoryItem, visualiser: PartnerDirectoryItemVisualiser, editAllowed: boolean, reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void, departmentMode: boolean, visible: boolean, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController);
|
|
20
|
+
constructor(item: GenModels.PartnerDirectoryItem, visualiser: PartnerDirectoryItemVisualiser, editAllowed: boolean, reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void, departmentMode: boolean, visible: boolean, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType);
|
|
20
21
|
get name(): string;
|
|
21
22
|
get value(): string;
|
|
22
23
|
get iconCssClass(): string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
2
|
import { ITasksTableModel } from '@docsvision/webclient/BackOffice/ITasksTableModel';
|
|
3
|
-
|
|
3
|
+
import { ITasksTableSorting } from '@docsvision/webclient/BackOffice/ITaskTableSorting';
|
|
4
|
+
export declare function prepareTasksTableModel(data: GenModels.TasksTableModel, expand: number, taskGroupWithOneTaskDisplayMode?: GenModels.TaskGroupWithOneTaskDisplayMode, sorting?: ITasksTableSorting): ITasksTableModel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class PrintButtonView {
|
|
3
3
|
dropdownButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
2
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
2
3
|
import React from "react";
|
|
3
4
|
export interface ISearchBar {
|
|
4
5
|
visibility: boolean;
|
|
6
|
+
isNotEmpty: boolean;
|
|
5
7
|
textValue: string;
|
|
6
8
|
searchFilters: ISearchFilterEntry[];
|
|
7
9
|
currentSearchFilterKey: SearchFilters;
|
|
@@ -10,5 +12,7 @@ export interface ISearchBar {
|
|
|
10
12
|
onSearchTextChange: (newSearchText: string) => void;
|
|
11
13
|
onClearButtonClick: () => void;
|
|
12
14
|
onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
|
|
15
|
+
onSearchSubmitClick: (e: React.MouseEvent) => void;
|
|
16
|
+
services: $Resources;
|
|
13
17
|
}
|
|
14
18
|
export declare const SearchBar: (props: ISearchBar) => JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ITasksTableModel } from "@docsvision/webclient/BackOffice/ITasksTableModel";
|
|
2
|
+
import { ITasksTableRow } from "@docsvision/webclient/BackOffice/ITasksTableRow";
|
|
3
|
+
import { ITasksTableSorting, TasksTableSorting } from "@docsvision/webclient/BackOffice/ITaskTableSorting";
|
|
4
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
export declare function sortingRows(sorting: ITasksTableSorting, model: ITasksTableModel): ITasksTableRow[];
|
|
6
|
+
export declare function sortingRefinement(sorting: TasksTableSorting): GenModels.TaskColumnType.Name | GenModels.TaskColumnType.Author | GenModels.TaskColumnType.State | GenModels.TaskColumnType.PlannedEndDate | GenModels.TaskColumnType.CurrentPerformer | GenModels.TaskColumnType.DepartureDate | GenModels.TaskColumnType.Kind;
|
|
@@ -14,3 +14,18 @@ export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
|
14
14
|
export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
|
|
15
15
|
export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
|
|
16
16
|
export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
|
|
17
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID";
|
|
18
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID";
|
|
19
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID";
|
|
20
|
+
export declare const CONTEXT_MENU_STAFF_NAME_ID = "CONTEXT_MENU_STAFF_NAME_ID";
|
|
21
|
+
export declare const CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID = "CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID";
|
|
22
|
+
export declare const CONTEXT_MENU_STAFF_PASTE_ID = "CONTEXT_MENU_STAFF_PASTE_ID";
|
|
23
|
+
export declare const CONTEXT_MENU_STAFF_INFO_ID = "CONTEXT_MENU_STAFF_INFO_ID";
|
|
24
|
+
export declare const CONTEXT_MENU_STAFF_EDIT_ID = "CONTEXT_MENU_STAFF_EDIT_ID";
|
|
25
|
+
export declare const CONTEXT_MENU_STAFF_DELETE_ID = "CONTEXT_MENU_STAFF_DELETE_ID";
|
|
26
|
+
export declare const CONTEXT_MENU_STAFF_COPY_ID = "CONTEXT_MENU_STAFF_COPY_ID";
|
|
27
|
+
export declare const CONTEXT_MENU_STAFF_CUT_ID = "CONTEXT_MENU_STAFF_CUT_ID";
|
|
28
|
+
export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
|
|
29
|
+
export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
|
|
30
|
+
export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
|
|
31
|
+
export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
|
|
@@ -76,7 +76,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
|
|
|
76
76
|
private set binding(value);
|
|
77
77
|
private set defaultEmployeeBinding(value);
|
|
78
78
|
get inputChanged():
|
|
79
|
-
import("C:/
|
|
79
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
80
80
|
/** @covered */
|
|
81
81
|
get inputText(): string;
|
|
82
82
|
/** @covered */
|
|
@@ -55,7 +55,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
55
55
|
private shouldShowFavorites;
|
|
56
56
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
57
57
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
58
|
-
import("C:/
|
|
58
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
59
59
|
protected onEditPopoverShowed(control: any): void;
|
|
60
60
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
61
61
|
protected getTypeaheadProps(): ITypeaheadProps & {
|
|
@@ -6,6 +6,7 @@ import { ITasksTreeContainerState } from "@docsvision/webclient/BackOffice/ITask
|
|
|
6
6
|
import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
7
7
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
8
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
9
|
+
import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
|
|
9
10
|
import { $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
10
11
|
import React from "react";
|
|
11
12
|
/** @internal */
|
|
@@ -13,7 +14,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
13
14
|
private services;
|
|
14
15
|
private readonly moreDots;
|
|
15
16
|
private isOpenDelegationLabel;
|
|
16
|
-
|
|
17
|
+
private fileIdInPreviewState;
|
|
18
|
+
constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
|
|
17
19
|
resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
|
|
18
20
|
resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
|
|
19
21
|
get selectionAllowed(): boolean;
|
|
@@ -23,8 +25,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
23
25
|
protected getHelpBoxHeaderIcon(groupName: any): string;
|
|
24
26
|
protected getLabel(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
25
27
|
protected getImage(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
26
|
-
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
27
|
-
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
28
|
+
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): any;
|
|
29
|
+
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): string;
|
|
28
30
|
protected getDelegationLabel(delegationRecord: GenModels.DelegationRecord): JSX.Element;
|
|
29
31
|
protected getDelegationLabelText(delegationRecord: GenModels.DelegationRecord): string;
|
|
30
32
|
protected getDelegationHistory(delegationRecords: GenModels.DelegationRecord[]): string[];
|
package/BackOffice/Tasks.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ITaskCreatingEventArgs } from "@docsvision/webclient/BackOffice/ITaskCr
|
|
|
2
2
|
import { TasksImpl, TasksState } from "@docsvision/webclient/BackOffice/TasksImpl";
|
|
3
3
|
import { $LayoutController, $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
4
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
6
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
7
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
7
8
|
import { $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -54,7 +55,7 @@ export declare class TasksParams extends BaseControlParams {
|
|
|
54
55
|
taskCreating?: CancelableApiEvent<ITaskCreatingEventArgs>;
|
|
55
56
|
/** Событие, возникающее после того, как задания загружены (при асинхронной загрузке событие возникает после открытия разметки). */
|
|
56
57
|
onTasksLoaded?: BasicApiEvent<GenModels.TaskDataModel[]>;
|
|
57
|
-
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
|
|
58
|
+
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* Класс элемента управления Задания
|
|
@@ -19,6 +19,8 @@ import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
|
19
19
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
20
20
|
import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
|
|
21
21
|
import { $UrlStore } from '@docsvision/webclient/System/$UrlStore';
|
|
22
|
+
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
23
|
+
import { TasksTableSorting } from '@docsvision/webclient/BackOffice/ITaskTableSorting';
|
|
22
24
|
/**
|
|
23
25
|
* Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
|
|
24
26
|
*/
|
|
@@ -58,6 +60,8 @@ export declare class TasksTableParams extends BaseControlParams {
|
|
|
58
60
|
rows?: ITasksTableRow[];
|
|
59
61
|
/** Набор видимых строк плоским списком. */
|
|
60
62
|
visibleRows?: ITasksTableRow[];
|
|
63
|
+
/** Сортировка */
|
|
64
|
+
sorting?: TasksTableSorting;
|
|
61
65
|
rowRemoving?: CancelableApiEvent<{
|
|
62
66
|
row: ITasksTableRow;
|
|
63
67
|
}>;
|
|
@@ -65,7 +69,7 @@ export declare class TasksTableParams extends BaseControlParams {
|
|
|
65
69
|
row: ITasksTableRow;
|
|
66
70
|
}>;
|
|
67
71
|
/** Сервисы. */
|
|
68
|
-
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo;
|
|
72
|
+
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload;
|
|
69
73
|
}
|
|
70
74
|
export interface TasksTableState extends BaseControlImplState, TasksTableParams {
|
|
71
75
|
logic: TasksTableLogic;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { ITasksTableSorting } from '@docsvision/webclient/BackOffice/ITaskTableSorting';
|
|
3
4
|
export interface ITasksTableHeaderCellProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
4
5
|
column: GenModels.ColumnDescription;
|
|
5
6
|
iconColumnWidth: number;
|
|
@@ -10,5 +11,7 @@ export interface ITasksTableHeaderCellProps extends React.HTMLAttributes<HTMLBut
|
|
|
10
11
|
columnNames: {
|
|
11
12
|
[key: number]: string;
|
|
12
13
|
};
|
|
14
|
+
sorting: ITasksTableSorting;
|
|
15
|
+
setSortingColumn?(columnType: GenModels.TaskColumnType): void;
|
|
13
16
|
}
|
|
14
17
|
export declare function TasksTableHeaderCell(props: ITasksTableHeaderCellProps): JSX.Element;
|
|
@@ -5,6 +5,7 @@ import { TasksTableParams } from '@docsvision/webclient/BackOffice/TasksTable';
|
|
|
5
5
|
import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
|
|
6
6
|
import { IRenderHelpBoxNodeInfo } from '@docsvision/webclient/BackOffice/ITasksTreeNodeResolver';
|
|
7
7
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
8
|
+
import { ITasksTableSorting } from "@docsvision/webclient/BackOffice/ITaskTableSorting";
|
|
8
9
|
export declare class TasksTableLogic {
|
|
9
10
|
options: TasksTableParams;
|
|
10
11
|
constructor(options: TasksTableParams);
|
|
@@ -53,6 +54,10 @@ import("react").MouseEvent<Element, MouseEvent>>;
|
|
|
53
54
|
import("effector").Event<void>;
|
|
54
55
|
$dialogFixed:
|
|
55
56
|
import("effector").Store<boolean>;
|
|
57
|
+
$dialogIsMaximized:
|
|
58
|
+
import("effector").Store<boolean>;
|
|
59
|
+
maximizeDialog:
|
|
60
|
+
import("effector").Event<void>;
|
|
56
61
|
expandRow:
|
|
57
62
|
import("effector").Event<number>;
|
|
58
63
|
collapseRow:
|
|
@@ -149,6 +154,12 @@ import("react").MouseEvent<Element, MouseEvent>>;
|
|
|
149
154
|
import("effector").Event<string>;
|
|
150
155
|
togglePerformer:
|
|
151
156
|
import("effector").Event<(ITasksTableRow: any) => boolean>;
|
|
157
|
+
$sorting:
|
|
158
|
+
import("effector").Store<ITasksTableSorting>;
|
|
159
|
+
setSorting:
|
|
160
|
+
import("effector").Event<ITasksTableSorting>;
|
|
161
|
+
setModelSorting:
|
|
162
|
+
import("effector").Event<ITasksTableModel>;
|
|
152
163
|
checkItemLoaded(item: ITasksTableRow): boolean;
|
|
153
164
|
smartphoneColumns: GenModels.ColumnDescription[];
|
|
154
165
|
getVisibleColumns(): GenModels.ColumnDescription[];
|
|
@@ -161,6 +172,7 @@ import("effector").Event<(ITasksTableRow: any) => boolean>;
|
|
|
161
172
|
unfinishedFilter: (row: ITasksTableRow) => boolean;
|
|
162
173
|
rowsToFixateDialog: number;
|
|
163
174
|
init(): void;
|
|
175
|
+
setSortingColumn: (columnType: GenModels.TaskColumnType) => void;
|
|
164
176
|
private getColumns;
|
|
165
177
|
private updateSearchSubstring;
|
|
166
178
|
}
|
|
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
|
|
|
19
19
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
20
20
|
export declare class TasksTableView {
|
|
21
21
|
mainButton: (props:
|
|
22
|
-
import("C:/
|
|
22
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
23
23
|
dialog: (props:
|
|
24
|
-
import("C:/
|
|
24
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
|
|
25
25
|
controlWrapper: typeof TasksTableControlWrapper;
|
|
26
26
|
ribbon: typeof TasksTableRibbon;
|
|
27
27
|
ribbonGroup:
|
|
28
28
|
import("styled-components").StyledComponent<"div", any, {
|
|
29
29
|
className: string;
|
|
30
30
|
} &
|
|
31
|
-
import("C:/
|
|
31
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
32
32
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
33
33
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
34
34
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
@@ -9,6 +9,8 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
9
9
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
10
10
|
import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
11
11
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
12
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
13
|
+
import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
|
|
12
14
|
/**
|
|
13
15
|
* Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
|
|
14
16
|
*/
|
|
@@ -40,7 +42,7 @@ export declare class TasksTreeParams extends BaseControlParams {
|
|
|
40
42
|
/** Список опций для VIS.js. */
|
|
41
43
|
options:
|
|
42
44
|
import("vis").Options;
|
|
43
|
-
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId;
|
|
45
|
+
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload & $DeviceType;
|
|
44
46
|
}
|
|
45
47
|
/**
|
|
46
48
|
* Класс элемента управления Дерево исполнения
|
|
@@ -18,6 +18,8 @@ export interface ITasksTreeState extends TasksTreeParams, BaseControlState {
|
|
|
18
18
|
loadVisJsHelper: RequestHelper;
|
|
19
19
|
loadTasksTreeHelper: RequestHelper;
|
|
20
20
|
showFullTreeBindingAvailable: boolean;
|
|
21
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
22
|
+
maximized?: boolean;
|
|
21
23
|
}
|
|
22
24
|
/** @internal */
|
|
23
25
|
export declare type ITasksTreeImplState = ITasksTreeState;
|
|
@@ -46,6 +48,7 @@ export declare class TasksTreeImpl extends BaseControlImpl<TasksTreeParams, ITas
|
|
|
46
48
|
private hasParentCard;
|
|
47
49
|
renderControl(): JSX.Element;
|
|
48
50
|
private renderTreeButton;
|
|
51
|
+
private onMaximize;
|
|
49
52
|
private renderTreeModal;
|
|
50
53
|
private renderTreeContent;
|
|
51
54
|
}
|
|
@@ -33,7 +33,7 @@ export declare class UniquenessCheckImpl extends BaseControlImpl<UniquenessCheck
|
|
|
33
33
|
private modalHost;
|
|
34
34
|
private lastUniquenessCheck;
|
|
35
35
|
constructor(props: UniquenessCheckParams, state: UniquenessCheckState);
|
|
36
|
-
protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<
|
|
36
|
+
protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<void>;
|
|
37
37
|
protected renderUniquenessContentTable(): JSX.Element;
|
|
38
38
|
protected renderHeader(): JSX.Element;
|
|
39
39
|
protected renderRow(columns: GenModels.UniqueAttributeCard[]): JSX.Element;
|
|
@@ -7,6 +7,7 @@ export declare function updateStatusBackground(sender: LayoutControl): void;
|
|
|
7
7
|
export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
|
|
8
8
|
export declare function updateStatusList(sender: Dropdown, event: any): void;
|
|
9
9
|
export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl, ev: any): void;
|
|
10
|
+
export declare function displayInformationOfAbsence(sender: LayoutControl, ev: any): void;
|
|
10
11
|
export declare function getDefaultImage(sender: Image): Promise<void>;
|
|
11
12
|
export declare function onCardSaving_checkSequenceOfDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): boolean;
|
|
12
13
|
export declare function setShowArchivedCardsFromSettings(sender: LayoutControl): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const USER_STATUS_ACTIVE = "Active";
|
|
2
|
+
export declare const USER_STATUS_SICK = "Sick";
|
|
3
|
+
export declare const USER_STATUS_VACATION = "Vacation";
|
|
4
|
+
export declare const USER_STATUS_BUSINESS_TRIP = "BusinessTrip";
|
|
5
|
+
export declare const USER_STATUS_ABSENT = "Absent";
|
|
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
9
9
|
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
10
10
|
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
11
11
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
12
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
12
13
|
import { Optional } from "@docsvision/web/core/services";
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [Панель поиска в справочнике]{@link WebFrameDirectorySearchPanel}.
|
|
@@ -23,7 +24,7 @@ export declare class WebFrameDirectorySearchPanelParams extends BaseControlParam
|
|
|
23
24
|
/** Текуще значение строки поиска. */
|
|
24
25
|
searchText?: string;
|
|
25
26
|
/** Сервисы. */
|
|
26
|
-
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo
|
|
27
|
+
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo> & $Resources;
|
|
27
28
|
}
|
|
28
29
|
export interface WebFrameDirectorySearchPanelState extends BaseControlImplState, WebFrameDirectorySearchPanelParams {
|
|
29
30
|
logic: WebFrameDirectorySearchPanelLogic;
|
|
@@ -30,11 +30,16 @@ import("effector").Store<SearchFilters>;
|
|
|
30
30
|
import("effector").Event<SearchFilters>;
|
|
31
31
|
$searchText:
|
|
32
32
|
import("effector").Store<string>;
|
|
33
|
+
$isNotEmpty:
|
|
34
|
+
import("effector").Store<boolean>;
|
|
33
35
|
onSearchTextChange:
|
|
34
36
|
import("effector").Event<string>;
|
|
35
37
|
onSearchTextKeyPressed:
|
|
36
38
|
import("effector").Event<
|
|
37
39
|
import("react").KeyboardEvent<any>>;
|
|
40
|
+
onSearchSubmitClick:
|
|
41
|
+
import("effector").Event<
|
|
42
|
+
import("react").MouseEvent<Element, MouseEvent>>;
|
|
38
43
|
startSearch:
|
|
39
44
|
import("effector").Event<ISearchRequest>;
|
|
40
45
|
onSearchStart:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class WebFrameDirectorySearchPanelView {
|
|
3
3
|
SearchButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/dev/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
5
5
|
SearchBar: (props:
|
|
6
6
|
import("./Components/SearchBar").ISearchBar) => JSX.Element;
|
|
7
7
|
}
|