@docsvision/webclient 5.17.0-beta.5 → 5.17.0-beta.6
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/Approval/AgreementManagement.d.ts +2 -3
- package/Approval/AgreementStageProps.d.ts +2 -3
- package/BackOffice/Address.d.ts +3 -2
- package/BackOffice/CardKind.d.ts +3 -2
- package/BackOffice/CardKindImpl.d.ts +1 -1
- 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 -3
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +0 -6
- 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/InfoPopover.d.ts +0 -2
- package/BackOffice/Numerator.d.ts +0 -1
- package/BackOffice/NumeratorImpl.d.ts +1 -3
- package/BackOffice/PartnerBase.d.ts +4 -5
- package/BackOffice/PartnerBaseImpl.d.ts +2 -16
- package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
- package/BackOffice/PartnerImpl.d.ts +0 -1
- package/BackOffice/PartnerSelectDialog.d.ts +8 -1
- package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -2
- package/BackOffice/StaffDirectoryItems.d.ts +5 -13
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +2 -22
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +3 -2
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +2 -3
- package/BackOffice/TasksTableLogic.d.ts +4 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/TasksTreeImpl.d.ts +3 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +6 -1
- package/Generated/DocsVision.WebClient.Models.d.ts +102 -9
- package/Helpers/BoxWithButtons.d.ts +1 -7
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +27 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +16 -0
- package/Helpers/LabeledText.d.ts +0 -8
- 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/Typeahead/ITypeaheadProps.d.ts +0 -6
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
- package/Legacy/ModalWindow.d.ts +7 -2
- package/Legacy/ModalWindowParams.d.ts +6 -0
- package/Legacy/SelectFolderModalDialog.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
- package/Platform/$ContextMenuOptions.d.ts +1 -0
- package/Platform/$FolderDataLoading.d.ts +3 -1
- package/Platform/$FolderGrid.d.ts +7 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/AccessListEntryTrustee.d.ts +1 -3
- package/Platform/ArchivedCardsIcon.d.ts +4 -1
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/CalendarInput.d.ts +1 -1
- package/Platform/ClearButton.d.ts +7 -5
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/DateInput.d.ts +3 -13
- package/Platform/DateTimePicker.d.ts +0 -1
- package/Platform/DateTimePickerImpl.d.ts +0 -2
- package/Platform/Dropdown.d.ts +4 -0
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FocusableTextInput.d.ts +3 -8
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderDataLoadingService.d.ts +3 -1
- package/Platform/FolderGrid.d.ts +1 -1
- package/Platform/FolderGrid.stories.d.ts +1 -0
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridService.d.ts +4 -1
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/ListCheckbox.d.ts +6 -0
- package/Platform/ListContent.d.ts +8 -0
- package/Platform/ListContentHightlight.d.ts +9 -0
- package/Platform/ListEmpty.d.ts +6 -0
- package/Platform/ListEmptySearchIcon.d.ts +6 -0
- package/Platform/ListInput.d.ts +9 -0
- package/Platform/ListItem.d.ts +6 -0
- package/Platform/ListLoading.d.ts +6 -0
- package/Platform/ListSearchIcon.d.ts +6 -0
- package/Platform/ListSlot.d.ts +7 -0
- package/Platform/ListTotalItem.d.ts +8 -0
- package/Platform/ListViewResponseResolver.d.ts +13 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/NewAccessListEntryTrusteeSelect.d.ts +1 -3
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SecurityDescriptorDialog.d.ts +5 -8
- package/Platform/SecurityDialogFrame.d.ts +2 -1
- package/Platform/SettingsPopup.d.ts +1 -1
- package/Platform/SettingsPopupExtendedData.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +7 -1
- package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
- package/Platform/Table.d.ts +2 -1
- package/Platform/TableCreateRowWindow.d.ts +2 -1
- package/Platform/TableEditRowWindow.d.ts +2 -1
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TextAreaImpl.d.ts +3 -3
- package/Platform/TextListInput.d.ts +6 -0
- package/Platform/TextListInputLogic.d.ts +55 -0
- package/Platform/TextListInputView.d.ts +40 -0
- package/Platform/TextListInputWrapper.d.ts +7 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.d.ts +4 -2
- package/Platform/applyCurrentSettings.d.ts +7 -1
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateValueCheckedColumn.d.ts +5 -1
- package/System/BaseControl.d.ts +1 -0
- package/System/CancelableEvent.d.ts +1 -1
- 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/InputBasedControl.d.ts +0 -4
- package/System/InputBasedControlImpl.d.ts +3 -4
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +0 -28
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
- package/Platform/GridConstants.d.ts +0 -4
|
@@ -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
|
}
|
|
@@ -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, $
|
|
6
|
+
import { $EmployeeController, $LayoutAgreementController, $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,7 +14,6 @@ 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";
|
|
18
17
|
/**
|
|
19
18
|
* Содержит публичные свойства элемента управления [Управление согласованием]{@link AgreementManagement}.
|
|
20
19
|
*/
|
|
@@ -105,7 +104,7 @@ export declare class AgreementManagementParams extends BaseControlParams {
|
|
|
105
104
|
/** Событие возникает после прекращении этапа согласования */
|
|
106
105
|
approvingStageAborted?: BasicApiEvent<IEventArgs>;
|
|
107
106
|
/** Сервисы. */
|
|
108
|
-
services?: $LayoutAgreementController & $StaffDirectoryItemsController & $EditOperationStore & $MessageBox & $
|
|
107
|
+
services?: $LayoutAgreementController & $StaffDirectoryItemsController & $EditOperationStore & $MessageBox & $LayoutInfo & $Layout & $LocalStorage & $EmployeeController & $CardInfo & Optional<$AgreementOptions>;
|
|
109
108
|
}
|
|
110
109
|
/**
|
|
111
110
|
* Класс элемента управления Управление согласованием.
|
|
@@ -1,14 +1,13 @@
|
|
|
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, $
|
|
4
|
+
import { $EmployeeController, $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";
|
|
12
11
|
/** @internal */
|
|
13
12
|
export declare class AgreementStageProps {
|
|
14
13
|
stage: StageModelWithChange;
|
|
@@ -21,7 +20,7 @@ export declare class AgreementStageProps {
|
|
|
21
20
|
useFavourites?: boolean;
|
|
22
21
|
/** Отображать ли пиктограммы типа строки исполнителя. */
|
|
23
22
|
showIcons?: boolean;
|
|
24
|
-
services: $StaffDirectoryItemsController & $EditOperationStore & $LayoutInfo & $LocalStorage & $
|
|
23
|
+
services: $StaffDirectoryItemsController & $EditOperationStore & $LayoutInfo & $LocalStorage & $LocalStorage & $EmployeeController & $CardInfo & Optional<$AgreementOptions>;
|
|
25
24
|
/** Событие возникает при добавлении нового согласующего. */
|
|
26
25
|
approverAdding: CancelableApiEvent<IApproverEventArgs>;
|
|
27
26
|
/** Событие возникает при удалении согласующего. */
|
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:/dev/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:/dev/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:/dev/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:/dev/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,8 +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
|
-
displayIcon?: boolean;
|
|
29
|
+
services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
30
30
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
31
31
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
32
32
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -44,7 +44,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
|
|
|
44
44
|
export declare class DirectoryDesignerRow extends InputBasedControl<GenModels.DirectoryDesignerRowModel, DirectoryDesignerRowParams, DirectoryDesignerRowState> {
|
|
45
45
|
private get departmentImpl();
|
|
46
46
|
protected createParams(): DirectoryDesignerRowParams;
|
|
47
|
-
protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
|
|
47
|
+
protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
48
48
|
private set DirectoryDesignerRowBinding(value);
|
|
49
49
|
private set DefaultBindingHandler(value);
|
|
50
50
|
protected set defaultValue(value: GenModels.DirectoryDesignerRowModel);
|
|
@@ -29,18 +29,12 @@ 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 editInPlaceModeRender(): JSX.Element;
|
|
33
32
|
private focusInput;
|
|
34
33
|
get isDictionaryShown(): boolean;
|
|
35
34
|
protected attachTypeahead(t: Typeahead): void;
|
|
36
35
|
private afterOpenCallback;
|
|
37
36
|
showDictionary(): Promise<void>;
|
|
38
|
-
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";
|
|
39
|
-
protected getCssClass(): string;
|
|
40
|
-
protected onMouseDownIcon(): void;
|
|
41
37
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
42
|
-
protected onIconClick(): void;
|
|
43
|
-
protected renderWithText(): JSX.Element;
|
|
44
38
|
canShowDictionary(): boolean;
|
|
45
39
|
hideDictionary(): Promise<void>;
|
|
46
40
|
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:/dev/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:/dev/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 {
|
|
@@ -1,6 +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 { PopoverMode } from '@docsvision/webclient/Helpers/PopoverHelpers/Popover';
|
|
4
3
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
5
4
|
import { LoadingState } from '@docsvision/webclient/System/LoadingState';
|
|
6
5
|
import React from 'react';
|
|
@@ -10,7 +9,6 @@ interface Props {
|
|
|
10
9
|
onClose: () => void;
|
|
11
10
|
services: $LayoutRowController & $LocationContainerControlServices;
|
|
12
11
|
yShift?: number;
|
|
13
|
-
mode?: PopoverMode;
|
|
14
12
|
}
|
|
15
13
|
interface State {
|
|
16
14
|
loaded: boolean;
|
|
@@ -20,7 +20,6 @@ export declare class NumeratorParams extends InputBasedControlParams<INumberInfo
|
|
|
20
20
|
allowManualEdit?: boolean;
|
|
21
21
|
/** Если true, то в момент сохранения карточки генерируется номер, если он не был заполнен. */
|
|
22
22
|
generateOnSave?: boolean;
|
|
23
|
-
displayIcon?: boolean;
|
|
24
23
|
/** Событие, возникающее перед началом генерации нового номера. */
|
|
25
24
|
generating?: CancelableApiEvent<void>;
|
|
26
25
|
/** Событие, возникающее после начала генерации нового номера. */
|
|
@@ -37,13 +37,11 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
|
|
|
37
37
|
protected getCssClass(): string;
|
|
38
38
|
protected onGenerateClick(): Promise<void>;
|
|
39
39
|
protected onClearClick(): void;
|
|
40
|
-
protected
|
|
41
|
-
protected getLeftButtons(): IBoxWithButtonsButtonInfo[];
|
|
40
|
+
protected onValueClick(event: any): void;
|
|
42
41
|
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
43
42
|
wrapWithButtons(children?: React.ReactNode): JSX.Element;
|
|
44
43
|
protected renderWithText(): JSX.Element;
|
|
45
44
|
protected onInputFocus(event: React.FocusEvent<any>): void;
|
|
46
|
-
protected onMouseDownIcon(): void;
|
|
47
45
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
48
46
|
protected onPlaceholderClick(event: any): void;
|
|
49
47
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
@@ -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';
|
|
@@ -37,8 +38,6 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
37
38
|
directoryWindow?: PartnerSelectDialog;
|
|
38
39
|
/** Доступен ли интерфейс редактиррования справочника. */
|
|
39
40
|
allowDirectoryEdit?: boolean;
|
|
40
|
-
displayIcon?: boolean;
|
|
41
|
-
popoverOpen?: boolean;
|
|
42
41
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
43
42
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
44
43
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -58,7 +57,7 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
58
57
|
currentFilterChanging?: CancelableApiEvent<IPartnerFilterChangeEventArgs>;
|
|
59
58
|
/** Событие, возникающее после изменения фильтра контрагентов. */
|
|
60
59
|
currentFilterChanged?: BasicApiEvent<IPartnerFilterChangeEventArgs>;
|
|
61
|
-
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
|
|
60
|
+
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
62
61
|
}
|
|
63
62
|
/**
|
|
64
63
|
* Класс элемента управления Сотрудник контрагента.
|
|
@@ -68,8 +67,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
68
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> {
|
|
69
68
|
/** @internal */
|
|
70
69
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
71
|
-
import("C:/
|
|
72
|
-
import("C:/
|
|
70
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
71
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
73
72
|
/** @internal */
|
|
74
73
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
75
74
|
private set partnerBindingHandler(value);
|
|
@@ -24,7 +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
|
-
|
|
27
|
+
maximized?: boolean;
|
|
28
28
|
}
|
|
29
29
|
/** @internal */
|
|
30
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> {
|
|
@@ -34,7 +34,6 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
34
34
|
private modalHost;
|
|
35
35
|
private dictionaryHost;
|
|
36
36
|
constructor(props: ParamsT, state: StateT);
|
|
37
|
-
componentDidMount(): void;
|
|
38
37
|
componentWillUnmount(): void;
|
|
39
38
|
componentDidUpdate(): void;
|
|
40
39
|
setValue(value: T, redraw: boolean): void;
|
|
@@ -55,6 +54,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
55
54
|
showDictionary(): void;
|
|
56
55
|
hideDictionary(): void;
|
|
57
56
|
protected cancelModal: () => void;
|
|
57
|
+
protected onMaximize: () => void;
|
|
58
58
|
protected onDirectoryDialogNodeSelected(node: T): void;
|
|
59
59
|
protected onDirectoryDialogSelectButtonClick(): Promise<void>;
|
|
60
60
|
protected onFilterSelected: (items: GenModels.DepartmentModel[], resetPreviousPath?: boolean) => Promise<void>;
|
|
@@ -76,21 +76,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
76
76
|
protected onCreateDepartment: () => Promise<void>;
|
|
77
77
|
protected onCreateEmployee: () => Promise<void>;
|
|
78
78
|
private afterOpenCallback;
|
|
79
|
-
protected closePopover(): void;
|
|
80
|
-
protected getItemType(value: GenModels.DepartmentModel | GenModels.EmployeeDataModel): GenModels.PartnerItemType;
|
|
81
|
-
protected renderCardInfo(): JSX.Element;
|
|
82
|
-
protected onDocumentOver: (event: any) => void;
|
|
83
|
-
protected onDocumentOut: (event: any) => void;
|
|
84
|
-
protected onMouseEnter: () => void;
|
|
85
|
-
protected onMouseLeave(): void;
|
|
86
79
|
protected renderTypeaheadHeader(): JSX.Element;
|
|
87
|
-
protected getIconLabel(): string;
|
|
88
|
-
protected onMouseDownIcon(): void;
|
|
89
|
-
protected getIconClassName(): string;
|
|
90
80
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
91
|
-
protected editInPlaceModeRender(): JSX.Element;
|
|
92
|
-
protected onIconClick(): void;
|
|
93
|
-
protected renderWithText(): JSX.Element;
|
|
94
|
-
protected getDepartmentIconClassName(item: GenModels.DepartmentModel): string;
|
|
95
81
|
renderDictionary(): JSX.Element;
|
|
96
82
|
}
|