@docsvision/webclient 5.16.0 → 5.17.0-beta.3
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/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +2 -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/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/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/PrintButtonView.d.ts +1 -1
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +2 -1
- package/BackOffice/TasksTableLogic.d.ts +4 -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/WebFrameDirectorySearchPanelView.d.ts +1 -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/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/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +3 -3
- package/Platform/SecurityDialogFrame.d.ts +2 -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/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/System/BaseControl.d.ts +2 -0
- package/System/ControlTemplateView.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/Layout.d.ts +3 -3
- package/System/LayoutContainer.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export interface AgreementHistoryState extends BaseControlState, AgreementHistor
|
|
|
11
11
|
dialog: ModalHost;
|
|
12
12
|
isHistoryDataReceived: boolean;
|
|
13
13
|
loading: boolean;
|
|
14
|
+
maximized: boolean;
|
|
14
15
|
lastLoadedData: GenModels.ApprovalHistoryViewModel;
|
|
15
16
|
}
|
|
16
17
|
/** @internal */
|
|
@@ -27,6 +28,7 @@ export declare class AgreementHistoryImpl extends BaseControlImpl<AgreementHisto
|
|
|
27
28
|
/** Показать отчёт. */
|
|
28
29
|
showReport(): void;
|
|
29
30
|
private closeDialog;
|
|
31
|
+
private onMaximize;
|
|
30
32
|
/** Скрыть отчёт. */
|
|
31
33
|
hideReport(): void;
|
|
32
34
|
/** Можно ли показать отчёт. */
|
|
@@ -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 { $
|
|
6
|
+
import { $DeviceType, $SiteUrl, $IsIE } 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> & $IsIE;
|
|
40
|
+
services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl> & $DeviceType & $IsIE;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Класс элемента управления Лист согласования.
|
|
@@ -11,6 +11,8 @@ export interface AgreementListState extends AgreementListParams, BaseControlStat
|
|
|
11
11
|
loading: boolean;
|
|
12
12
|
dialog: ModalWindow;
|
|
13
13
|
lastLoadedData: GenModels.AgreementListModel;
|
|
14
|
+
/** Развернуто ли модальное окно */
|
|
15
|
+
maximized?: boolean;
|
|
14
16
|
}
|
|
15
17
|
/** @internal */
|
|
16
18
|
export declare type AgreementListImplState = AgreementListState;
|
|
@@ -22,6 +24,7 @@ export declare class AgreementListImpl extends BaseControlImpl<AgreementListPara
|
|
|
22
24
|
getCssClass(): string;
|
|
23
25
|
showReport(): void;
|
|
24
26
|
hideReport(): void;
|
|
27
|
+
onMaximize(): void;
|
|
25
28
|
showModalWindow(data: GenModels.AgreementListModel): void;
|
|
26
29
|
renderControl(): JSX.Element;
|
|
27
30
|
}
|
package/BackOffice/Address.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AddressImpl, AddressState } from '@docsvision/webclient/BackOffice/AddressImpl';
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
4
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
4
5
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
5
6
|
import { $CardId, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -12,7 +13,7 @@ export declare class AddressParams extends InputBasedControlParams<GenModels.Add
|
|
|
12
13
|
standardCssClass?: string;
|
|
13
14
|
/** Режим представления данных в элементе управления. */
|
|
14
15
|
addressType?: number;
|
|
15
|
-
services?: $LayoutInfo & $CardId & $Layout & $EditOperationStore;
|
|
16
|
+
services?: $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
|
|
16
17
|
}
|
|
17
18
|
/**
|
|
18
19
|
* Класс элемента управления Адрес.
|
|
@@ -20,7 +21,7 @@ export declare class AddressParams extends InputBasedControlParams<GenModels.Add
|
|
|
20
21
|
*/
|
|
21
22
|
export declare class Address extends InputBasedControl<GenModels.AddressModel, AddressParams, AddressState> {
|
|
22
23
|
protected createParams(): AddressParams;
|
|
23
|
-
protected getServices(): $LayoutInfo & $CardId & $Layout & $EditOperationStore;
|
|
24
|
+
protected getServices(): $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
|
|
24
25
|
/** @internal */
|
|
25
26
|
protected createImpl(): AddressImpl;
|
|
26
27
|
private set setBinding(value);
|
package/BackOffice/CardKind.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CardKindImpl, CardKindState } from "@docsvision/webclient/BackOffice/CardKindImpl";
|
|
2
2
|
import { $LayoutCardKindController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
5
6
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
6
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -20,7 +21,7 @@ export declare class CardKindParams extends InputBasedControlParams<GenModels.Ca
|
|
|
20
21
|
/** Список видов карточек, доступных для выбора (по умолчанию все виды доступны). */
|
|
21
22
|
availableKinds?: string[];
|
|
22
23
|
/** Сервисы. */
|
|
23
|
-
services?: $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Optional<$LabelWidth
|
|
24
|
+
services?: $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Optional<$LabelWidth> & $DeviceType;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Класс элемента управления Вид карточки.
|
|
@@ -29,7 +30,7 @@ export declare class CardKindParams extends InputBasedControlParams<GenModels.Ca
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class CardKind extends InputBasedControl<GenModels.CardKindModel, CardKindParams, CardKindState> {
|
|
31
32
|
protected createParams(): CardKindParams;
|
|
32
|
-
protected getServices(): $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Partial<$LabelWidth
|
|
33
|
+
protected getServices(): $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Partial<$LabelWidth> & $DeviceType;
|
|
33
34
|
protected createImpl(): CardKindImpl;
|
|
34
35
|
protected getBindings(): IBindingResult<any>[];
|
|
35
36
|
private set cardKindData(value);
|
|
@@ -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/sorokin.v/rep/WebClient/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/sorokin.v/rep/WebClient/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/sorokin.v/rep/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected SelectAllCheckboxLabel:
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
2
|
import { ISortableItem } from '@docsvision/webclient/Helpers/Sortable/Data/ClientModels/ISortableItem';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
5
|
export interface Props {
|
|
5
6
|
linkColumns: GenModels.LinksColumnsConfiguration;
|
|
6
7
|
defaultLinkColumns: GenModels.LinksColumnsConfiguration;
|
|
7
8
|
onAccept: (linkColumns: GenModels.LinksColumnsConfiguration) => void;
|
|
8
9
|
onCancel: () => void;
|
|
10
|
+
services: $DeviceType;
|
|
9
11
|
}
|
|
10
12
|
export interface State {
|
|
11
13
|
order: string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { $DepartmentController, $LayoutRowController, $LayoutStaffController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
3
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
-
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
|
+
export declare function showCreateWindow(itemType: GenModels.PartnerItemType, parentItem: GenModels.DepartmentModel, selectedFilterPath: GenModels.DepartmentModel[] | null, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<GenModels.DepartmentModel | GenModels.EmployeeDataModel>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DepartmentImpl, DepartmentState } from "@docsvision/webclient/BackOffice/DepartmentImpl";
|
|
2
2
|
import { $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
5
6
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
6
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -22,7 +23,7 @@ export declare class DepartmentParams extends InputBasedControlParams<GenModels.
|
|
|
22
23
|
dialogMode?: GenModels.DepartmentDialogMode;
|
|
23
24
|
/** Задержка перед поиском (в мс) */
|
|
24
25
|
searchDelay?: number;
|
|
25
|
-
services?: $LayoutStaffController & $EditOperationStore & $LayoutInfo;
|
|
26
|
+
services?: $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
29
|
* Класс элемента управления Подразделение.
|
|
@@ -32,7 +33,7 @@ export declare class DepartmentParams extends InputBasedControlParams<GenModels.
|
|
|
32
33
|
export declare class Department extends InputBasedControl<GenModels.DepartmentModel, DepartmentParams, DepartmentState> {
|
|
33
34
|
protected createParams(): DepartmentParams;
|
|
34
35
|
private get departmentImpl();
|
|
35
|
-
protected getServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo;
|
|
36
|
+
protected getServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
36
37
|
private set DepartmentBinding(value);
|
|
37
38
|
/** Показано ли модальное окно выбора организации/подразделения. */
|
|
38
39
|
get isDictionaryShown(): boolean;
|
|
@@ -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/sorokin.v/rep/WebClient/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>;
|
|
@@ -23,6 +23,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
|
|
|
23
23
|
static NextPageSize: number;
|
|
24
24
|
private typeahead;
|
|
25
25
|
private dialogHost;
|
|
26
|
+
private maximized?;
|
|
26
27
|
constructor(props: DepartmentParams, state: DepartmentState);
|
|
27
28
|
componentDidUpdate(): void;
|
|
28
29
|
protected get source(): GenModels.DepartmentDataSource;
|
|
@@ -42,6 +43,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
|
|
|
42
43
|
protected onDirectoryDialogSelectButtonClick(): void;
|
|
43
44
|
protected onInputChange(event: any): void;
|
|
44
45
|
private afterOpenCallback;
|
|
46
|
+
private onMaximize;
|
|
45
47
|
get isDictionaryShown(): boolean;
|
|
46
48
|
protected renderDialog: () => JSX.Element;
|
|
47
49
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DirectoryDesignerRowImpl, DirectoryDesignerRowState } from "@docsvision/webclient/BackOffice/DirectoryDesignerRowImpl";
|
|
2
2
|
import { $LayoutDirectoryDesignerController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
5
6
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
6
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -25,7 +26,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
|
|
|
25
26
|
selectionArea?: GenModels.DirectoryDesignerSearchArea;
|
|
26
27
|
/** Задержка перед поиском (в мс) */
|
|
27
28
|
searchDelay?: number;
|
|
28
|
-
services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
|
|
29
|
+
services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
29
30
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
30
31
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
31
32
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -43,7 +44,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
|
|
|
43
44
|
export declare class DirectoryDesignerRow extends InputBasedControl<GenModels.DirectoryDesignerRowModel, DirectoryDesignerRowParams, DirectoryDesignerRowState> {
|
|
44
45
|
private get departmentImpl();
|
|
45
46
|
protected createParams(): DirectoryDesignerRowParams;
|
|
46
|
-
protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
|
|
47
|
+
protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
47
48
|
private set DirectoryDesignerRowBinding(value);
|
|
48
49
|
private set DefaultBindingHandler(value);
|
|
49
50
|
protected set defaultValue(value: GenModels.DirectoryDesignerRowModel);
|
|
@@ -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/sorokin.v/rep/WebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -2,9 +2,10 @@ import { TaskGroupInterval } from '@docsvision/webclient/BackOffice/TaskGroupInt
|
|
|
2
2
|
import { ITaskDescriptionDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDescriptionDialogManagement';
|
|
3
3
|
import { Optional } from '@docsvision/web/core/services';
|
|
4
4
|
import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
|
|
5
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
6
|
export declare class EditTaskDescription {
|
|
6
7
|
private onTaskDescriptionChanged;
|
|
7
8
|
private services?;
|
|
8
|
-
constructor(onTaskDescriptionChanged: (task: TaskGroupInterval, newDescription: string) => Promise<void>, services?: Optional<$RootCssClass>);
|
|
9
|
+
constructor(onTaskDescriptionChanged: (task: TaskGroupInterval, newDescription: string) => Promise<void>, services?: Optional<$RootCssClass> & $DeviceType);
|
|
9
10
|
showEditDialog: (task: TaskGroupInterval) => Promise<ITaskDescriptionDialogManagement>;
|
|
10
11
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ITaskDescriptionDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDescriptionDialogManagement';
|
|
3
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
export interface IEditTaskDescriptionDialogProps {
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
text: string;
|
|
6
7
|
management: ITaskDescriptionDialogManagement;
|
|
7
8
|
onAccept: (newText: string) => void;
|
|
8
9
|
onCancel: () => void;
|
|
10
|
+
services: $DeviceType;
|
|
9
11
|
}
|
|
10
12
|
export declare const EditTaskDescriptionDialog: (props: IEditTaskDescriptionDialogProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
2
|
import { StateAccessor } from '@docsvision/webclient/System/StateAccessor';
|
|
3
3
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
4
|
-
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
4
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
5
|
import { TaskGroupInterval } from '@docsvision/webclient/BackOffice/TaskGroupIntervalModel';
|
|
6
6
|
import { ITaskDurationDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDurationDialogManagement';
|
|
7
7
|
import { Optional } from '@docsvision/web/core/services';
|
|
@@ -13,6 +13,6 @@ export declare class EditTaskDuration {
|
|
|
13
13
|
private executionType;
|
|
14
14
|
private taskGroupDurationSpecified;
|
|
15
15
|
private services;
|
|
16
|
-
constructor(onTaskDurationChanged: (task: TaskGroupInterval, startDate: Date, endDate: Date, duration: number) => void, useBusinessCalendar: () => boolean, getBusinessCalendarSources: (task: TaskGroupInterval) => GenModels.BusinessCalendarSource[], executionType: StateAccessor<GenModels.ExecutionType>, taskGroupDurationSpecified: () => boolean, services: $MessageBox & $ApplicationSettings & Optional<$RootCssClass>);
|
|
16
|
+
constructor(onTaskDurationChanged: (task: TaskGroupInterval, startDate: Date, endDate: Date, duration: number) => void, useBusinessCalendar: () => boolean, getBusinessCalendarSources: (task: TaskGroupInterval) => GenModels.BusinessCalendarSource[], executionType: StateAccessor<GenModels.ExecutionType>, taskGroupDurationSpecified: () => boolean, services: $MessageBox & $ApplicationSettings & Optional<$RootCssClass> & $DeviceType);
|
|
17
17
|
showEditDialog: (task: TaskGroupInterval) => Promise<ITaskDurationDialogManagement>;
|
|
18
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
3
|
import { ITaskDurationDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDurationDialogManagement';
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
5
|
export interface IEditTaskDurationDialogProps {
|
|
5
6
|
isOpen: boolean;
|
|
6
7
|
startDate: Date;
|
|
@@ -15,6 +16,6 @@ export interface IEditTaskDurationDialogProps {
|
|
|
15
16
|
onCancel: () => void;
|
|
16
17
|
gettingDuration: () => void;
|
|
17
18
|
gotDuration: () => void;
|
|
18
|
-
services:
|
|
19
|
+
services: $DeviceType;
|
|
19
20
|
}
|
|
20
21
|
export declare const EditTaskDurationDialog: (props: IEditTaskDurationDialogProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
-
export declare function showEditWindow(item: GenModels.PartnerDirectoryItem, selectedFilterPath: GenModels.DepartmentModel[], services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<unknown>;
|
|
5
|
+
export declare function showEditWindow(item: GenModels.PartnerDirectoryItem, selectedFilterPath: GenModels.DepartmentModel[], services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<unknown>;
|
|
@@ -8,31 +8,39 @@ import { $LinksSearchCards } from '@docsvision/webclient/BackOffice/$LinksSearch
|
|
|
8
8
|
import { Optional } from '@docsvision/web/core/services';
|
|
9
9
|
import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
10
10
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
11
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
11
12
|
export interface Props {
|
|
12
13
|
onClose: Function;
|
|
13
14
|
onAddExistingCardLink: Function;
|
|
14
15
|
onAddedExistingCardLink: Function;
|
|
15
|
-
services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards
|
|
16
|
+
services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType;
|
|
16
17
|
linkTypeEditable?: boolean;
|
|
18
|
+
/** Существует ли кнопка развертывания */
|
|
19
|
+
maximizeButtonEnabled?: boolean;
|
|
20
|
+
/** Вызывается при попытке развернуть окно */
|
|
21
|
+
onMaximize?: () => void;
|
|
17
22
|
}
|
|
18
23
|
interface State {
|
|
19
24
|
layout: ILayout;
|
|
20
25
|
savingState: LoadingState;
|
|
21
|
-
services: $LinksSearchCards;
|
|
26
|
+
services: $LinksSearchCards & $DeviceType;
|
|
27
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
28
|
+
maximized: boolean;
|
|
22
29
|
}
|
|
23
30
|
export declare class ExistingCardLinkDialog extends React.Component<Props, State> implements IDialog {
|
|
24
31
|
static ExistingCardLinkSearchLayout: string;
|
|
25
32
|
private layoutRoot;
|
|
26
33
|
constructor(props: any);
|
|
27
|
-
static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards
|
|
34
|
+
static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
|
|
28
35
|
componentDidMount(): void;
|
|
29
36
|
loadLayout(): Promise<void>;
|
|
30
37
|
private onCancel;
|
|
31
38
|
private attachRoot;
|
|
32
39
|
DialogBox:
|
|
33
40
|
import("styled-components").StyledComponent<(props:
|
|
34
|
-
import("C:/
|
|
41
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
35
42
|
close(): void;
|
|
43
|
+
onMaximize: () => void;
|
|
36
44
|
render(): JSX.Element;
|
|
37
45
|
}
|
|
38
46
|
export {};
|
|
@@ -4,11 +4,11 @@ import { $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
|
4
4
|
import { $LayoutFileController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
5
5
|
import { $FileService } from '@docsvision/webclient/System/$FileService';
|
|
6
6
|
import { FileListControlLogic } from '@docsvision/webclient/BackOffice/FileListControlLogic';
|
|
7
|
-
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
7
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
8
8
|
export interface Props {
|
|
9
9
|
onClose: () => void;
|
|
10
10
|
fileItem: FileListItem;
|
|
11
|
-
services: $CardId & $LayoutFileController & $FileService & $ApplicationSettings;
|
|
11
|
+
services: $CardId & $LayoutFileController & $FileService & $ApplicationSettings & $DeviceType;
|
|
12
12
|
logic: FileListControlLogic;
|
|
13
13
|
}
|
|
14
14
|
export interface State {
|
|
@@ -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
|
/** Скрыть окно. */
|
|
@@ -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:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
71
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
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:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
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,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/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -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:/Users/sorokin.v/rep/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:/Users/sorokin.v/rep/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,7 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
13
14
|
private services;
|
|
14
15
|
private readonly moreDots;
|
|
15
16
|
private isOpenDelegationLabel;
|
|
16
|
-
constructor(services: () => $FileController & $LayoutFileController & $CardId);
|
|
17
|
+
constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
|
|
17
18
|
resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
|
|
18
19
|
resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
|
|
19
20
|
get selectionAllowed(): boolean;
|