@docsvision/webclient 5.16.0-beta.4 → 5.16.0-beta.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/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListContent.d.ts +1 -0
- package/Approval/AgreementManagement.d.ts +3 -2
- package/Approval/AgreementStageProps.d.ts +3 -2
- package/Approval/IAgreementListContentProps.d.ts +2 -0
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +5 -4
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +2 -0
- package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
- package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +11 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryValues.d.ts +0 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +5 -0
- package/BackOffice/FileListControlImpl.d.ts +10 -0
- package/BackOffice/FileListControlLogic.d.ts +1 -0
- package/BackOffice/FileListItemComponent.d.ts +5 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/IFileMenuItem.d.ts +14 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
- package/BackOffice/InfoPopover.d.ts +2 -0
- package/BackOffice/LinksImpl.d.ts +1 -0
- package/BackOffice/Numerator.d.ts +1 -0
- package/BackOffice/NumeratorImpl.d.ts +4 -2
- package/BackOffice/PartnerBase.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +20 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerImpl.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -3
- package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
- package/BackOffice/StaffDirectoryItems.d.ts +13 -5
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +22 -2
- package/BackOffice/StaffDirectoryLogic.d.ts +2 -0
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +4 -2
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +8 -5
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +11 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -2
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +47 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +1060 -9
- package/Helpers/BoxWithButtons.d.ts +7 -1
- package/Helpers/LabeledText.d.ts +8 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Sortable/Sortable.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +1 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ModalWindow.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
- package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -1
- package/MainBundle.d.ts +1 -0
- package/Platform/$CacheManagement.d.ts +3 -1
- package/Platform/$FolderDataLoading.d.ts +3 -0
- package/Platform/$FolderGrid.d.ts +8 -0
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$UnreadCounter.d.ts +1 -1
- package/Platform/AccessListEntryTrustee.d.ts +3 -1
- package/Platform/ArchivedCardsIcon.d.ts +2 -0
- package/Platform/ArchivedCardsPlugin.d.ts +3 -0
- package/Platform/ArchivedCardsResponseResolver.d.ts +23 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CacheManagementService.d.ts +5 -0
- package/Platform/CardManagement.d.ts +2 -2
- package/Platform/CardManagementImpl.d.ts +1 -0
- package/Platform/CommentFile.d.ts +4 -1
- package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
- package/Platform/DateTimePicker.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +2 -0
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/Dropdown.d.ts +1 -0
- package/Platform/DropdownImpl.d.ts +1 -0
- package/Platform/ExportPlugin.d.ts +0 -4
- package/Platform/FilePicker.d.ts +5 -2
- package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
- package/Platform/FolderDataLoadingService.d.ts +5 -0
- package/Platform/FolderGrid.d.ts +7 -3
- package/Platform/FolderGridService.d.ts +14 -4
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderSizePlugin.d.ts +4 -1
- package/Platform/FolderSizePluginExtendedData.d.ts +1 -1
- package/Platform/FolderTypeDialog.d.ts +1 -0
- package/Platform/FolderViewItemsImpl.d.ts +1 -1
- package/Platform/GroupingRequestResolver.d.ts +12 -0
- package/Platform/GroupingResponseResolver.d.ts +17 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/IFolderLoadRequest.d.ts +4 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
- package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
- package/Platform/NewAccessListEntryTrusteeSelect.d.ts +3 -1
- package/Platform/NumberImpl.d.ts +3 -0
- package/Platform/ReadAllPlugin.d.ts +3 -5
- package/Platform/ReadBatchOperation.d.ts +2 -2
- package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
- package/Platform/RecentCardsRouteHandler.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +0 -4
- package/Platform/ResetSettingsPlugin.d.ts +2 -5
- package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
- package/Platform/SearchRouteHandler.d.ts +2 -1
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +6 -3
- package/Platform/SettingsPlugin.d.ts +3 -5
- package/Platform/SettingsPopup.d.ts +2 -1
- package/Platform/ShowAllButton.d.ts +14 -0
- package/Platform/ShowAllPlugins.d.ts +3 -0
- package/Platform/Table.d.ts +2 -3
- package/Platform/TableCellNumberFormattedPlugin.d.ts +3 -0
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TextAreaImpl.d.ts +8 -4
- package/Platform/TextBoxImpl.d.ts +5 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/index.d.ts +0 -4
- package/StandardServices.d.ts +1 -2
- package/System/BaseControl.d.ts +7 -0
- package/System/ControlTemplateView.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/IValidateEventArgs.d.ts +9 -0
- package/System/IValidationResult.d.ts +4 -0
- package/System/InputBasedControl.d.ts +5 -0
- package/System/InputBasedControlImpl.d.ts +4 -3
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +2 -0
- package/System/LayoutContainer.d.ts +1 -1
- package/System/MessageBoxService.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/ResourcesStub.d.ts +603 -68
- package/package.json +1 -1
- package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
|
@@ -3,7 +3,7 @@ import { IAgreementListReportOpenedEventArgs } from "@docsvision/webclient/Appro
|
|
|
3
3
|
import { IAgreementListReportOpeningEventArgs } from "@docsvision/webclient/Approval/IAgreementListReportOpeningEventArgs";
|
|
4
4
|
import { $LayoutAgreementController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
5
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
|
-
import { $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
6
|
+
import { $IsIE, $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
8
8
|
import { $CardId, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
9
9
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -37,7 +37,7 @@ export declare class AgreementListParams extends BaseControlParams {
|
|
|
37
37
|
agreementReportOpened?: BasicApiEvent<IAgreementListReportOpenedEventArgs>;
|
|
38
38
|
/** События возникает после закрытия окна листа согласования. */
|
|
39
39
|
agreementReportClosed?: BasicApiEvent<IEventArgs>;
|
|
40
|
-
services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl
|
|
40
|
+
services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl> & $IsIE;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Класс элемента управления Лист согласования.
|
|
@@ -20,6 +20,7 @@ export declare class AgreementListContent extends React.Component<IAgreementList
|
|
|
20
20
|
protected renderTable(columnsParam: IAgreementListTableColumn[]): JSX.Element;
|
|
21
21
|
protected renderHeader(columns: IAgreementListTableColumn[]): JSX.Element;
|
|
22
22
|
protected renderRow(item: GenModels.AgreementListItemModel, columns: IAgreementListTableColumn[]): JSX.Element;
|
|
23
|
+
getWidthStyle(width: string): React.CSSProperties;
|
|
23
24
|
protected getCaption(): string;
|
|
24
25
|
render(): JSX.Element;
|
|
25
26
|
}
|
|
@@ -3,7 +3,7 @@ import { IAgreementEventArgs } from "@docsvision/webclient/Approval/IAgreementEv
|
|
|
3
3
|
import { IApproverDeletionEventArgs } from "@docsvision/webclient/Approval/IApproverDeletionEventArgs";
|
|
4
4
|
import { IApproverEventArgs } from "@docsvision/webclient/Approval/IApproverEventArgs";
|
|
5
5
|
import { IApprovingPathEventArgs } from "@docsvision/webclient/Approval/IApprovingPathEventArgs";
|
|
6
|
-
import { $EmployeeController, $LayoutAgreementController, $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
6
|
+
import { $EmployeeController, $LayoutAgreementController, $LayoutRowController, $LayoutStaffController, $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
7
7
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
8
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
9
9
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
@@ -14,6 +14,7 @@ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
|
14
14
|
import { $AgreementOptions } from '@docsvision/webclient/Approval/$AgreementOptions';
|
|
15
15
|
import { Optional } from '@docsvision/web/core/services';
|
|
16
16
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
17
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
17
18
|
/**
|
|
18
19
|
* Содержит публичные свойства элемента управления [Управление согласованием]{@link AgreementManagement}.
|
|
19
20
|
*/
|
|
@@ -104,7 +105,7 @@ export declare class AgreementManagementParams extends BaseControlParams {
|
|
|
104
105
|
/** Событие возникает после прекращении этапа согласования */
|
|
105
106
|
approvingStageAborted?: BasicApiEvent<IEventArgs>;
|
|
106
107
|
/** Сервисы. */
|
|
107
|
-
services?: $LayoutAgreementController & $StaffDirectoryItemsController & $EditOperationStore & $MessageBox & $LayoutInfo & $Layout & $LocalStorage & $EmployeeController & $CardInfo & Optional<$AgreementOptions
|
|
108
|
+
services?: $LayoutAgreementController & $StaffDirectoryItemsController & $EditOperationStore & $MessageBox & $LayoutManager & $LayoutStaffController & $LayoutInfo & $Layout & $LocalStorage & $EmployeeController & $CardInfo & Optional<$AgreementOptions> & $LayoutRowController;
|
|
108
109
|
}
|
|
109
110
|
/**
|
|
110
111
|
* Класс элемента управления Управление согласованием.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { StageModelWithChange } from "@docsvision/webclient/Approval/StageModelWithChange";
|
|
2
2
|
import { IApproverDeletionEventArgs } from "@docsvision/webclient/Approval/IApproverDeletionEventArgs";
|
|
3
3
|
import { IApproverEventArgs } from "@docsvision/webclient/Approval/IApproverEventArgs";
|
|
4
|
-
import { $EmployeeController, $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
|
+
import { $EmployeeController, $LayoutRowController, $LayoutStaffController, $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
5
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
6
|
import { $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
7
7
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
8
8
|
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
9
9
|
import { $AgreementOptions } from '@docsvision/webclient/Approval/$AgreementOptions';
|
|
10
10
|
import { Optional } from '@docsvision/web/core/services';
|
|
11
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
11
12
|
/** @internal */
|
|
12
13
|
export declare class AgreementStageProps {
|
|
13
14
|
stage: StageModelWithChange;
|
|
@@ -20,7 +21,7 @@ export declare class AgreementStageProps {
|
|
|
20
21
|
useFavourites?: boolean;
|
|
21
22
|
/** Отображать ли пиктограммы типа строки исполнителя. */
|
|
22
23
|
showIcons?: boolean;
|
|
23
|
-
services: $StaffDirectoryItemsController & $EditOperationStore & $LayoutInfo & $LocalStorage & $LocalStorage & $EmployeeController & $CardInfo & Optional<$AgreementOptions
|
|
24
|
+
services: $StaffDirectoryItemsController & $EditOperationStore & $LayoutInfo & $LocalStorage & $LayoutManager & $LocalStorage & $EmployeeController & $CardInfo & Optional<$AgreementOptions> & $LayoutStaffController & $LayoutRowController;
|
|
24
25
|
/** Событие возникает при добавлении нового согласующего. */
|
|
25
26
|
approverAdding: CancelableApiEvent<IApproverEventArgs>;
|
|
26
27
|
/** Событие возникает при удалении согласующего. */
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { $IsIE } from "@docsvision/webclient/StandardServices";
|
|
2
3
|
/** @internal */
|
|
3
4
|
export interface IAgreementListContentProps {
|
|
4
5
|
data: GenModels.AgreementListModel;
|
|
5
6
|
documentNumber: string;
|
|
6
7
|
documentName: string;
|
|
7
8
|
title: string;
|
|
9
|
+
services: $IsIE;
|
|
8
10
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { DirectorySearchFilters, NomenclatureSearchFilters } from "@docsvision/webclient/BackOffice/Index";
|
|
2
2
|
export declare type SearchFilters = DirectorySearchFilters | NomenclatureSearchFilters;
|
|
3
|
+
export interface ISearchFilterEntry {
|
|
4
|
+
key: SearchFilters;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
3
7
|
export interface IDirectorySearchInfo {
|
|
4
8
|
directoryTypeId: string;
|
|
5
|
-
searchFilters: Array<
|
|
6
|
-
key: SearchFilters;
|
|
7
|
-
value: string;
|
|
8
|
-
}>;
|
|
9
|
+
searchFilters: Array<ISearchFilterEntry>;
|
|
9
10
|
getSearchPlaceholder: (searchFilterKey: SearchFilters) => string;
|
|
10
11
|
}
|
|
11
12
|
interface IDirectorySearchInfoMap {
|
|
@@ -13,6 +13,8 @@ export interface IWebFrameDirectorySearchPanelService {
|
|
|
13
13
|
setActivity: Event<boolean>;
|
|
14
14
|
/** Событие начала поиска в справочнике */
|
|
15
15
|
startSearch: Event<ISearchRequest>;
|
|
16
|
+
/** Событие очистки поисковой формы */
|
|
17
|
+
clearSearch: Event<void>;
|
|
16
18
|
}
|
|
17
19
|
export declare type $WebFrameDirectorySearchPanelService = {
|
|
18
20
|
webFrameDirectorySearchPanelService: IWebFrameDirectorySearchPanelService;
|
|
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, St
|
|
|
37
37
|
unselectAll(): Promise<void>;
|
|
38
38
|
protected HeaderCell:
|
|
39
39
|
import("styled-components").StyledComponent<(props:
|
|
40
|
-
import("C:/
|
|
40
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected TaskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected SelectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected FileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("C:/
|
|
50
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected SelectAllCheckboxLabel:
|
|
@@ -2,6 +2,7 @@ import { DeleteShortcutBatchOperationImpl, DeleteShortcutBatchOperationState } f
|
|
|
2
2
|
import { $LayoutFolderController, $LayoutCardController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { $CheckBoxServices } from "@docsvision/webclient/Platform/CheckBox";
|
|
4
4
|
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
5
|
+
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
5
6
|
import { $BatchOperations } from "@docsvision/webclient/Platform/$BatchOperations";
|
|
6
7
|
import { $BatchOperationsPerformer } from "@docsvision/webclient/Platform/$BatchOperationsPerformer";
|
|
7
8
|
import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagement";
|
|
@@ -14,7 +15,7 @@ export declare class DeleteShortcutBatchOperationParams extends BaseControlParam
|
|
|
14
15
|
standardCssClass?: string;
|
|
15
16
|
/** Текст кнопки операции. */
|
|
16
17
|
buttonText?: string;
|
|
17
|
-
services?: $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $TableRowSelection & $CheckBoxServices & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
18
|
+
services?: $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $TableRowSelection & $CheckBoxServices & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
18
19
|
}
|
|
19
20
|
export declare class DeleteShortcutBatchOperation extends BaseControl<DeleteShortcutBatchOperationParams, DeleteShortcutBatchOperationState> {
|
|
20
21
|
/** @notest @internal */
|
|
@@ -14,6 +14,7 @@ export declare class DeleteShortcutBatchOperationImpl extends BaseControlImpl<De
|
|
|
14
14
|
protected onDeleteClick(): void;
|
|
15
15
|
private deleteShortcuts;
|
|
16
16
|
isVisible(): boolean;
|
|
17
|
+
getCssClass(): string;
|
|
17
18
|
private getButtonText;
|
|
18
19
|
protected renderControl(): JSX.Element;
|
|
19
20
|
}
|
|
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
|
|
|
6
6
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
7
7
|
export declare const Item:
|
|
8
8
|
import("styled-components").StyledComponent<(props:
|
|
9
|
-
import("C:/
|
|
9
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -26,6 +26,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
|
|
|
26
26
|
/** Задержка перед поиском (в мс) */
|
|
27
27
|
searchDelay?: number;
|
|
28
28
|
services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
|
|
29
|
+
displayIcon?: boolean;
|
|
29
30
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
30
31
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
31
32
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -29,12 +29,23 @@ export declare class DirectoryDesignerRowImpl extends InputBasedControlImpl<GenM
|
|
|
29
29
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<DirectoryDesignerRow>;
|
|
30
30
|
protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
|
|
31
31
|
protected onSelected(variant: ITypeaheadVariant): void;
|
|
32
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
33
|
+
setValue(value: GenModels.DirectoryDesignerRowModel, redraw: boolean): void;
|
|
34
|
+
private saveCard;
|
|
35
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
36
|
+
private isLayoutViewMode;
|
|
37
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
32
38
|
private focusInput;
|
|
33
39
|
get isDictionaryShown(): boolean;
|
|
34
40
|
protected attachTypeahead(t: Typeahead): void;
|
|
35
41
|
private afterOpenCallback;
|
|
36
42
|
showDictionary(): Promise<void>;
|
|
43
|
+
protected getIconClassName(): "open-dictionary-button-icon dv-ico dv-ico-dictionary" | "open-dictionary-button-icon dv-ico dv-ico-dictionary-white" | "dv-ico dv-ico-row";
|
|
44
|
+
protected getCssClass(): string;
|
|
45
|
+
protected onMouseDownIcon(): void;
|
|
37
46
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
47
|
+
protected onIconClick(): void;
|
|
48
|
+
protected renderWithText(): JSX.Element;
|
|
38
49
|
canShowDictionary(): boolean;
|
|
39
50
|
hideDictionary(): Promise<void>;
|
|
40
51
|
protected onInputChange(event: any): void;
|
|
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
|
|
|
13
13
|
import("./components/DirectorySearchContent").IDirectorySearchContentProps, "data" | "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "opened" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "renderContent"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
iconButton: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/Users/peshne.k/devWebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -15,7 +15,6 @@ import { Optional } from "@docsvision/web/core/services";
|
|
|
15
15
|
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
16
16
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
17
17
|
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
18
|
-
import { DirectoryValuesHScrollContainer } from "@docsvision/webclient/BackOffice/DirectoryValuesHScrollContainer";
|
|
19
18
|
import { $SelectionRow } from "@docsvision/webclient/BackOffice/$SelectionRow";
|
|
20
19
|
/** @internal */
|
|
21
20
|
export interface DirectoryValuesProps extends Omit<TableCompositionProps, "data">, IComponentProps<DirectoryValuesLogic, DirectoryValuesView> {
|
|
@@ -37,7 +36,6 @@ export interface DirectoryValuesProps extends Omit<TableCompositionProps, "data"
|
|
|
37
36
|
export declare class DirectoryValuesView {
|
|
38
37
|
wrapper: typeof DirectoryValuesWrapper;
|
|
39
38
|
container: typeof DirectoryValuesContainer;
|
|
40
|
-
horizontalScroll: typeof DirectoryValuesHScrollContainer;
|
|
41
39
|
valuesAddButton: typeof DirectoryValuesAddButton;
|
|
42
40
|
composition: (props: TableCompositionProps) => JSX.Element;
|
|
43
41
|
rowIcon: typeof DirectoryValuesIcon;
|
|
@@ -31,7 +31,7 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
31
31
|
private attachRoot;
|
|
32
32
|
DialogBox:
|
|
33
33
|
import("styled-components").StyledComponent<(props:
|
|
34
|
-
import("C:/
|
|
34
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
35
35
|
close(): void;
|
|
36
36
|
render(): JSX.Element;
|
|
37
37
|
}
|
|
@@ -47,6 +47,7 @@ import { IFileSignUploadingArgs } from '@docsvision/webclient/BackOffice/IFileSi
|
|
|
47
47
|
import { $UrlStore } from "@docsvision/webclient/System/$UrlStore";
|
|
48
48
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
49
49
|
import { $FileUpload } from "@docsvision/webclient/Platform/IFileUploadService";
|
|
50
|
+
import { IFileMenuOpeningArgs } from "@docsvision/webclient/BackOffice/IFileMenuOpeningArgs";
|
|
50
51
|
/**
|
|
51
52
|
* Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
|
|
52
53
|
*/
|
|
@@ -128,6 +129,8 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
128
129
|
filePreviewing?: CancelableApiEvent<IFilePreviewingArgs>;
|
|
129
130
|
/** Событие возникает перед отображением визуализации файла. */
|
|
130
131
|
fileVisualizing?: CancelableApiEvent<IFileVisualizingArgs>;
|
|
132
|
+
/** Событие возникает при открытии меню файла. */
|
|
133
|
+
fileMenuOpening?: CancelableApiEvent<IFileMenuOpeningArgs>;
|
|
131
134
|
/** Событие возникает после удаления основного файла. */
|
|
132
135
|
mainFileDeleted?: BasicApiEvent<IMainFileDeletedArgs>;
|
|
133
136
|
/** Событие возникает после удаления дополнительного файла. */
|
|
@@ -164,6 +167,8 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
164
167
|
collapsed?: BasicApiEvent<IEventArgs>;
|
|
165
168
|
/** Событие возникает при разворачивании контрола. */
|
|
166
169
|
expanded?: BasicApiEvent<IEventArgs>;
|
|
170
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
171
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
167
172
|
/** Сервисы. */
|
|
168
173
|
services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $LayoutInfo & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController;
|
|
169
174
|
}
|
|
@@ -23,9 +23,18 @@ export interface FileListControlState extends BaseControlImplState, FileListCont
|
|
|
23
23
|
childCommandBarExpanded: boolean;
|
|
24
24
|
}
|
|
25
25
|
export declare type FileListImplState = FileListControlState;
|
|
26
|
+
export declare const WEB_DAV_FILE_CLOSED_MESSAGE_TYPE = "FileClosed";
|
|
27
|
+
export declare const WEB_DAV_FILE_OPENED_FOR_READING_MESSAGE_TYPE = "FileOpenForReading";
|
|
28
|
+
export declare const WEB_DAV_FILE_OPENED_FOR_EDITING_MESSAGE_TYPE = "FileOpenForWriting";
|
|
29
|
+
export declare const WEB_DAV_FILE_CHANGED_AND_SAVED_MESSAGE_TYPE = "NewFileVersionAdded";
|
|
26
30
|
export interface ICardChangedByWebDavMessage {
|
|
27
31
|
OwnerCardId: string;
|
|
28
32
|
}
|
|
33
|
+
export interface ICardOpenedByWebDavMessage {
|
|
34
|
+
CardId: string;
|
|
35
|
+
FileId: string;
|
|
36
|
+
FileName: string;
|
|
37
|
+
}
|
|
29
38
|
/** @internal */
|
|
30
39
|
export declare class FileListControlImpl extends BaseControlImpl<FileListControlParams, FileListControlState> {
|
|
31
40
|
mainAttach: FileListAttachedElements;
|
|
@@ -51,6 +60,7 @@ export declare class FileListControlImpl extends BaseControlImpl<FileListControl
|
|
|
51
60
|
init(): Promise<void>;
|
|
52
61
|
registerFilesInService(files: FileListItem[]): void;
|
|
53
62
|
protected onDocumentChangedByWebdav(msg: IRealTimeCommunicationMessage<ICardChangedByWebDavMessage>): void;
|
|
63
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
|
|
54
64
|
protected getCssClass(): string;
|
|
55
65
|
get isEditMode(): boolean;
|
|
56
66
|
protected getFilesSignInfo(): IFileSignInfo[];
|
|
@@ -48,6 +48,7 @@ export declare class FileListControlLogic {
|
|
|
48
48
|
reloadFiles(): Promise<void>;
|
|
49
49
|
protected updateVersionsOnLoad(): void;
|
|
50
50
|
closeAllMenusBut(fileItem: FileListItem): void;
|
|
51
|
+
fileMenuOpening(fileItem: FileListItem, data: any): Promise<any>;
|
|
51
52
|
removeFileItem(index: number): void;
|
|
52
53
|
clearFileItems(): void;
|
|
53
54
|
protected get state(): FileListImplState;
|
|
@@ -5,6 +5,7 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
5
5
|
import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import "@docsvision/webclient/Helpers/DragAndDrop/DraggableMobilePolyfill";
|
|
8
|
+
import { IFileMenuItem } from "@docsvision/webclient/BackOffice/IFileMenuItem";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export declare class FileListItemComponent extends React.Component<FileListItemProps, any> {
|
|
10
11
|
protected fileCommentWindowCloser: () => void;
|
|
@@ -14,6 +15,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
|
|
|
14
15
|
viewWithSigantureAction: string;
|
|
15
16
|
versionsRequestHelper: RequestHelper;
|
|
16
17
|
childVersionsLoaded: boolean;
|
|
18
|
+
menuItems: any;
|
|
17
19
|
constructor(props: FileListItemProps);
|
|
18
20
|
componentWillUnmount(): void;
|
|
19
21
|
canRead(fileItem: FileListItem): boolean;
|
|
@@ -27,7 +29,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
|
|
|
27
29
|
onLockOperationClick(fileItem: FileListItem): void;
|
|
28
30
|
onUnlockOperationClick(fileItem: FileListItem): void;
|
|
29
31
|
protected onDeleteOperationClick(fileItem: FileListItem): void;
|
|
30
|
-
protected onFileMenuClick(fileItem: FileListItem): void
|
|
32
|
+
protected onFileMenuClick(fileItem: FileListItem): Promise<void>;
|
|
31
33
|
protected onDownloadOperationClick(fileItem: FileListItem): void;
|
|
32
34
|
protected onViewWithSignaturesClick(fileItem: FileListItem): void;
|
|
33
35
|
onAddCommentClick(fileItem: FileListItem): void;
|
|
@@ -44,7 +46,8 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
|
|
|
44
46
|
protected renderVersionList(fileItem: FileListItem): JSX.Element;
|
|
45
47
|
protected getLoaderWidth(i: number): number;
|
|
46
48
|
protected renderEditMode(): JSX.Element;
|
|
47
|
-
protected
|
|
49
|
+
protected createMenuItemsList(fileItem: FileListItem): IFileMenuItem[];
|
|
50
|
+
protected renderMenuItems(menuItems: any): any;
|
|
48
51
|
onUploadSignedFileClick(e: React.MouseEvent, fileItem: FileListItem): void;
|
|
49
52
|
onRenameFileClick(ev: any, fileItem: FileListItem): void;
|
|
50
53
|
protected renderViewModeFileMenu(fileItem: FileListItem): JSX.Element;
|
|
@@ -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
|
/** Скрыть окно. */
|
|
@@ -4,5 +4,6 @@ import { ICancelableEventArgs } from "@docsvision/webclient/System/ICancelableEv
|
|
|
4
4
|
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
5
5
|
export declare const EMPLOYEE_GROUPS_CONTROL_NAME = "group";
|
|
6
6
|
export declare const TAB_CONTROL_NAME = "tab";
|
|
7
|
+
export declare const ADD_TAB_PAGE_CONTROL_NAME = "addTabPage";
|
|
7
8
|
export declare function setEmployeeGroup(sender: LayoutControl, e: ICancelableEventArgs<ICardSavingEventArgs>): Promise<void>;
|
|
8
9
|
export declare function getEmployeeGroup(sender: LayoutControl, e: IEventArgs): Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IFileMenuItem {
|
|
3
|
+
onClick: (e?: any) => void;
|
|
4
|
+
title: string;
|
|
5
|
+
name: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
10
|
+
children?: any;
|
|
11
|
+
attributes?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { PopoverMode } from '@docsvision/webclient/Helpers/PopoverHelpers/Popover';
|
|
3
4
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
5
|
import { LoadingState } from '@docsvision/webclient/System/LoadingState';
|
|
5
6
|
import React from 'react';
|
|
@@ -9,6 +10,7 @@ interface Props {
|
|
|
9
10
|
onClose: () => void;
|
|
10
11
|
services: $LayoutRowController & $LocationContainerControlServices;
|
|
11
12
|
yShift?: number;
|
|
13
|
+
mode?: PopoverMode;
|
|
12
14
|
}
|
|
13
15
|
interface State {
|
|
14
16
|
loaded: boolean;
|
|
@@ -81,6 +81,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
|
|
|
81
81
|
protected onDeleteFileMenuClick(linkItem: LinkItem): void;
|
|
82
82
|
protected onLinkMenuClick(linkItem: LinkItem): void;
|
|
83
83
|
protected getLinkIconClass(linkItem: LinkItem): "dv-ico icon-spin loader-animate" | "dv-ico ico-dv-card" | "dv-ico ico-file" | "dv-ico ico-url";
|
|
84
|
+
protected afterLinkAdded: () => Promise<string[]>;
|
|
84
85
|
protected onDownloadFile(linkItem: LinkItem): void;
|
|
85
86
|
protected getShowFilesForLinksTypesIds: () => string[];
|
|
86
87
|
protected hideInfoPopover(linkItem: LinkItem): void;
|
|
@@ -20,6 +20,7 @@ export declare class NumeratorParams extends InputBasedControlParams<INumberInfo
|
|
|
20
20
|
allowManualEdit?: boolean;
|
|
21
21
|
/** Если true, то в момент сохранения карточки генерируется номер, если он не был заполнен. */
|
|
22
22
|
generateOnSave?: boolean;
|
|
23
|
+
displayIcon?: boolean;
|
|
23
24
|
/** Событие, возникающее перед началом генерации нового номера. */
|
|
24
25
|
generating?: CancelableApiEvent<void>;
|
|
25
26
|
/** Событие, возникающее после начала генерации нового номера. */
|
|
@@ -30,18 +30,20 @@ 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;
|
|
37
37
|
protected getCssClass(): string;
|
|
38
38
|
protected onGenerateClick(): Promise<void>;
|
|
39
39
|
protected onClearClick(): void;
|
|
40
|
-
protected
|
|
40
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
41
|
+
protected getLeftButtons(): IBoxWithButtonsButtonInfo[];
|
|
41
42
|
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
42
43
|
wrapWithButtons(children?: React.ReactNode): JSX.Element;
|
|
43
44
|
protected renderWithText(): JSX.Element;
|
|
44
45
|
protected onInputFocus(event: React.FocusEvent<any>): void;
|
|
46
|
+
protected onMouseDownIcon(): void;
|
|
45
47
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
46
48
|
protected onPlaceholderClick(event: any): void;
|
|
47
49
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
@@ -37,6 +37,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
37
37
|
directoryWindow?: PartnerSelectDialog;
|
|
38
38
|
/** Доступен ли интерфейс редактиррования справочника. */
|
|
39
39
|
allowDirectoryEdit?: boolean;
|
|
40
|
+
displayIcon?: boolean;
|
|
41
|
+
popoverOpen?: boolean;
|
|
40
42
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
41
43
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
42
44
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -66,8 +68,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
66
68
|
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
69
|
/** @internal */
|
|
68
70
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
69
|
-
import("C:/
|
|
70
|
-
import("C:/
|
|
71
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
72
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController;
|
|
71
73
|
/** @internal */
|
|
72
74
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
73
75
|
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
|
+
onMouseOverInfo: 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> {
|
|
@@ -33,9 +34,13 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
33
34
|
private modalHost;
|
|
34
35
|
private dictionaryHost;
|
|
35
36
|
constructor(props: ParamsT, state: StateT);
|
|
37
|
+
componentDidMount(): void;
|
|
36
38
|
componentWillUnmount(): void;
|
|
37
39
|
componentDidUpdate(): void;
|
|
38
40
|
setValue(value: T, redraw: boolean): void;
|
|
41
|
+
private saveCard;
|
|
42
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
43
|
+
private isLayoutViewMode;
|
|
39
44
|
protected get departmentMode(): number;
|
|
40
45
|
protected getCssClass(): string;
|
|
41
46
|
protected getInputTitle(): string;
|
|
@@ -74,7 +79,22 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
74
79
|
protected onCreateDepartment: () => Promise<void>;
|
|
75
80
|
protected onCreateEmployee: () => Promise<void>;
|
|
76
81
|
private afterOpenCallback;
|
|
82
|
+
protected closePopover(): void;
|
|
83
|
+
protected getItemType(value: GenModels.DepartmentModel | GenModels.EmployeeDataModel): GenModels.PartnerItemType;
|
|
84
|
+
protected renderCardInfo(): JSX.Element;
|
|
85
|
+
protected onDocumentOver: (event: any) => void;
|
|
86
|
+
protected onDocumentOut: (event: any) => void;
|
|
87
|
+
protected onMouseEnter: () => void;
|
|
88
|
+
protected onMouseLeave(): void;
|
|
89
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
77
90
|
protected renderTypeaheadHeader(): JSX.Element;
|
|
91
|
+
protected getIconLabel(): string;
|
|
92
|
+
protected onMouseDownIcon(): void;
|
|
93
|
+
protected getIconClassName(): string;
|
|
78
94
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
95
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
96
|
+
protected onIconClick(): void;
|
|
97
|
+
protected renderWithText(): JSX.Element;
|
|
98
|
+
protected getDepartmentIconClassName(item: GenModels.DepartmentModel): string;
|
|
79
99
|
renderDictionary(): JSX.Element;
|
|
80
100
|
}
|
|
@@ -38,9 +38,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
38
38
|
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
39
|
/** @internal */
|
|
40
40
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
41
|
-
import("C:/
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
41
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
42
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
43
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController;
|
|
44
44
|
/** @internal */
|
|
45
45
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
46
46
|
init(): Promise<void>;
|
|
@@ -21,6 +21,7 @@ export interface PartnerState extends PartnerParams, InputBasedControlState<GenM
|
|
|
21
21
|
beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
|
|
22
22
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
23
23
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
24
|
+
onMouseOverInfo: boolean;
|
|
24
25
|
}
|
|
25
26
|
/** @internal */
|
|
26
27
|
export declare type PartnerImplProps = PartnerParams;
|
|
@@ -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:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|