@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
|
@@ -2,6 +2,7 @@ import { IPartnerDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/I
|
|
|
2
2
|
import { PartnerDirectoryBaseImpl, PartnerDirectoryBaseState } from "@docsvision/webclient/BackOffice/PartnerDirectoryBaseImpl";
|
|
3
3
|
import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
4
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
6
|
import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
|
|
6
7
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
7
8
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
@@ -28,7 +29,7 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
28
29
|
searchResultsLoading?: CancelableApiEvent<IPartnerDataLoadingEventArgs>;
|
|
29
30
|
/** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
|
|
30
31
|
searchResultsLoaded?: BasicApiEvent<IPartnerDataLoadingEventArgs>;
|
|
31
|
-
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
|
|
32
|
+
services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Класс элемента управления Сотрудник контрагента.
|
|
@@ -38,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
38
39
|
export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
|
|
39
40
|
/** @internal */
|
|
40
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
41
|
-
import("C:/
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
42
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
44
45
|
/** @internal */
|
|
45
46
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
46
47
|
init(): Promise<void>;
|
|
@@ -21,7 +21,6 @@ export interface PartnerState extends PartnerParams, InputBasedControlState<GenM
|
|
|
21
21
|
beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
|
|
22
22
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
23
23
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
24
|
-
onMouseOverInfo: boolean;
|
|
25
24
|
}
|
|
26
25
|
/** @internal */
|
|
27
26
|
export declare type PartnerImplProps = PartnerParams;
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
2
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
2
3
|
import React from "react";
|
|
3
4
|
export interface ISearchBar {
|
|
4
5
|
visibility: boolean;
|
|
6
|
+
isNotEmpty: boolean;
|
|
5
7
|
textValue: string;
|
|
6
8
|
searchFilters: ISearchFilterEntry[];
|
|
7
9
|
currentSearchFilterKey: SearchFilters;
|
|
@@ -10,5 +12,7 @@ export interface ISearchBar {
|
|
|
10
12
|
onSearchTextChange: (newSearchText: string) => void;
|
|
11
13
|
onClearButtonClick: () => void;
|
|
12
14
|
onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
|
|
15
|
+
onSearchSubmitClick: (e: React.MouseEvent) => void;
|
|
16
|
+
services: $Resources;
|
|
13
17
|
}
|
|
14
18
|
export declare const SearchBar: (props: ISearchBar) => JSX.Element;
|
|
@@ -2,8 +2,6 @@ export declare const STAFF_DIRECTORY_ID = "6710b92a-e148-4363-8a6f-1aa0eb18936c"
|
|
|
2
2
|
export declare const UNIT_STAFF_SECTION_ID = "7473f07f-11ed-4762-9f1e-7ff10808ddd1";
|
|
3
3
|
export declare const POSITIONS_SECTION_ID = "cfdfe60a-21a8-4010-84e9-9d2df348508c";
|
|
4
4
|
export declare const EMPLOYEE_SECTION_ID = "dbc8ae9d-c1d2-4d5e-978b-339d22b32482";
|
|
5
|
-
export declare const GROUP_SECTION_ID = "5b607ffc-7ea2-47b1-90d4-bb72a0fe7280";
|
|
6
|
-
export declare const ROLE_SECTION_ID = "f6927a03-5bce-4c7e-9c8f-e61c6d9f256e";
|
|
7
5
|
export declare const EMPLOYEE_CARD_TYPE_ID = "cd81a0e2-187e-417c-a21b-aefdde17c362";
|
|
8
6
|
export declare const EMPLOYEES_LAST_NAME_COLUMN_ID = "Employees_LastName";
|
|
9
7
|
export declare const EMPLOYEES_FIRST_NAME_COLUMN_ID = "Employees_FirstName";
|
|
@@ -16,3 +14,18 @@ export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
|
16
14
|
export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
|
|
17
15
|
export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
|
|
18
16
|
export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
|
|
17
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID";
|
|
18
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID";
|
|
19
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID";
|
|
20
|
+
export declare const CONTEXT_MENU_STAFF_NAME_ID = "CONTEXT_MENU_STAFF_NAME_ID";
|
|
21
|
+
export declare const CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID = "CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID";
|
|
22
|
+
export declare const CONTEXT_MENU_STAFF_PASTE_ID = "CONTEXT_MENU_STAFF_PASTE_ID";
|
|
23
|
+
export declare const CONTEXT_MENU_STAFF_INFO_ID = "CONTEXT_MENU_STAFF_INFO_ID";
|
|
24
|
+
export declare const CONTEXT_MENU_STAFF_EDIT_ID = "CONTEXT_MENU_STAFF_EDIT_ID";
|
|
25
|
+
export declare const CONTEXT_MENU_STAFF_DELETE_ID = "CONTEXT_MENU_STAFF_DELETE_ID";
|
|
26
|
+
export declare const CONTEXT_MENU_STAFF_COPY_ID = "CONTEXT_MENU_STAFF_COPY_ID";
|
|
27
|
+
export declare const CONTEXT_MENU_STAFF_CUT_ID = "CONTEXT_MENU_STAFF_CUT_ID";
|
|
28
|
+
export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
|
|
29
|
+
export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
|
|
30
|
+
export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
|
|
31
|
+
export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IStaffDataLoadingEventArgs } from '@docsvision/webclient/BackOffice/IStaffDataLoadingEventArgs';
|
|
2
2
|
import { StaffDirectoryItemsImpl, StaffDirectoryItemsState } from '@docsvision/webclient/BackOffice/StaffDirectoryItemsImpl';
|
|
3
|
-
import { $
|
|
3
|
+
import { $StaffDirectoryItemsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
4
4
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
5
|
import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
|
|
6
6
|
import { $CardInfo, $EditOperationStore, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
@@ -11,8 +11,7 @@ import { Optional } from '@docsvision/web/core/services';
|
|
|
11
11
|
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
12
12
|
import { DirectorySelectingMode } from '@docsvision/webclient/System/DirectorySelectingMode';
|
|
13
13
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
14
|
-
|
|
15
|
-
export declare type $StaffDirectoryItemsServices = $LayoutInfo & $EditOperationStore & $StaffDirectoryItemsController & $CardInfo & Optional<$LabelWidth> & Optional<$LocalStorage> & $LayoutStaffController;
|
|
14
|
+
export declare type $StaffDirectoryItemsServices = $LayoutInfo & $EditOperationStore & $StaffDirectoryItemsController & $CardInfo & Optional<$LabelWidth> & Optional<$LocalStorage>;
|
|
16
15
|
export declare type StaffValueType = GenModels.IDirectoryItemData | GenModels.IDirectoryItemData[];
|
|
17
16
|
export declare type StaffNodeType = GenModels.IDirectoryItemData;
|
|
18
17
|
declare type ItemT = GenModels.IDirectoryItemData;
|
|
@@ -40,9 +39,6 @@ export declare class StaffDirectoryItemsParams<ValueT extends StaffValueType = S
|
|
|
40
39
|
selectingNodesMode?: DirectorySelectingMode;
|
|
41
40
|
onInputClick?: () => void;
|
|
42
41
|
outsideInputClick?: () => void;
|
|
43
|
-
displayIcon?: boolean;
|
|
44
|
-
popoverOpen?: boolean;
|
|
45
|
-
selectedItem?: ItemT;
|
|
46
42
|
/**
|
|
47
43
|
* Событие, возникающее перед выполнением поиска записей на сервере. В обработчике события можно изменить параметры запроса.
|
|
48
44
|
* Если в обработчике задать значение result, то запрос на сервер выполнен не будет.
|
|
@@ -62,7 +58,7 @@ export declare class StaffDirectoryItemsParams<ValueT extends StaffValueType = S
|
|
|
62
58
|
/** События возникает после удаления сотрудника из списка. */
|
|
63
59
|
/** @covered */
|
|
64
60
|
itemRemoved?: BasicApiEvent<ValueT>;
|
|
65
|
-
services?: $StaffDirectoryItemsServices
|
|
61
|
+
services?: $StaffDirectoryItemsServices;
|
|
66
62
|
}
|
|
67
63
|
export declare type StaffDirectoryItemsSingle = StaffDirectoryItems<ItemT>;
|
|
68
64
|
export declare type StaffDirectoryItemsMultiple = StaffDirectoryItems<ItemT[]>;
|
|
@@ -72,11 +68,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
|
|
|
72
68
|
/** @internal */
|
|
73
69
|
protected createImpl(): StaffDirectoryItemsImpl;
|
|
74
70
|
static ControlTypeName: string;
|
|
75
|
-
protected getServices(): $
|
|
76
|
-
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
77
|
-
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
78
|
-
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
79
|
-
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout>;
|
|
71
|
+
protected getServices(): $StaffDirectoryItemsServices;
|
|
80
72
|
/** Сохраняет выбранные значения в списке избранных. */
|
|
81
73
|
updateFavorites(): Promise<void>;
|
|
82
74
|
private set staffDataSource(value);
|
|
@@ -84,7 +76,7 @@ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls
|
|
|
84
76
|
private set binding(value);
|
|
85
77
|
private set defaultEmployeeBinding(value);
|
|
86
78
|
get inputChanged():
|
|
87
|
-
import("C:/
|
|
79
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
88
80
|
/** @covered */
|
|
89
81
|
get inputText(): string;
|
|
90
82
|
/** @covered */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StaffDirectoryItemsParams, StaffNodeType, StaffValueType } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
2
2
|
import { StaffDirectoryDataVisualiser } from '@docsvision/webclient/BackOffice/StaffDirectoryDataVisualiser';
|
|
3
3
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
-
import { IBoxWithButtonsButtonInfo } from '@docsvision/webclient/Helpers/BoxWithButtons';
|
|
5
4
|
import { IEditPopoverProps } from '@docsvision/webclient/Helpers/PopoverHelpers/EditPopover/IEditPopoverProps';
|
|
6
5
|
import { ITypeaheadProps } from '@docsvision/webclient/Helpers/Typeahead/ITypeaheadProps';
|
|
7
6
|
import { ITypeaheadSearchQuery } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadSearchQuery';
|
|
@@ -20,7 +19,6 @@ export interface StaffDirectoryItemsState<ValueT extends StaffValueType = StaffV
|
|
|
20
19
|
dataSource: GenModels.StaffItemsDataSourceModel;
|
|
21
20
|
enableItemsAnimation: boolean;
|
|
22
21
|
inputChanged: SimpleEvent<string>;
|
|
23
|
-
onMouseOverInfo: boolean;
|
|
24
22
|
}
|
|
25
23
|
export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValueType, StaffNodeType, ItemT, StaffDirectoryItemsParams, StaffDirectoryItemsState> {
|
|
26
24
|
private initialSetValue;
|
|
@@ -33,10 +31,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
33
31
|
getQueryContext(): GenModels.StaffQueryContext;
|
|
34
32
|
protected getValuePath(value: StaffValueType): StaffNodeType[];
|
|
35
33
|
protected getSelectingMode(): DirectorySelectingMode;
|
|
36
|
-
|
|
37
|
-
protected getIconButtonClassName(): string;
|
|
38
|
-
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
39
|
-
setValue(value: StaffValueType, redraw: boolean): Promise<void>;
|
|
34
|
+
setValue(value: StaffValueType, redraw: boolean): void;
|
|
40
35
|
private saveValueOnChange;
|
|
41
36
|
private valuesEqual;
|
|
42
37
|
private saveCard;
|
|
@@ -60,41 +55,26 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
60
55
|
private shouldShowFavorites;
|
|
61
56
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
62
57
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
63
|
-
import("C:/
|
|
58
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
64
59
|
protected onEditPopoverShowed(control: any): void;
|
|
65
60
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
66
|
-
protected onIconClick(): void;
|
|
67
61
|
protected getTypeaheadProps(): ITypeaheadProps & {
|
|
68
62
|
ref: any;
|
|
69
63
|
};
|
|
70
64
|
protected onDialogSelectedValuesChanged: (values: ItemT[]) => void;
|
|
71
65
|
protected getCssClass(): string;
|
|
72
66
|
protected renderWithText(): JSX.Element;
|
|
73
|
-
protected onMouseDownIcon(): void;
|
|
74
67
|
protected renderWithTextSingleSelection: () => JSX.Element;
|
|
75
|
-
protected editInPlaceModeRender(): JSX.Element;
|
|
76
|
-
protected setItemIcon(): Promise<void>;
|
|
77
68
|
protected renderWithTextMultipleSelection: () => JSX.Element;
|
|
78
|
-
protected getIconClassName(item: any): JSX.Element;
|
|
79
|
-
protected renderViewItem(): JSX.Element;
|
|
80
69
|
protected renderViewItemList(vertical?: boolean, showIcons?: boolean): JSX.Element;
|
|
81
70
|
protected renderSimpleViewValue(): JSX.Element;
|
|
82
71
|
protected getItemIcon(item: ItemT, forceShowIcon?: boolean): string;
|
|
83
|
-
protected getEmployeeClassName(item: any): JSX.Element;
|
|
84
72
|
protected renderEditItemList(): JSX.Element;
|
|
85
73
|
protected alreadySelected(val: GenModels.IDirectoryItemData): boolean;
|
|
86
74
|
protected renderInto(props: StaffDirectoryItemsParams, container: HTMLElement): void;
|
|
87
75
|
protected renderSelectDialog(props: IDirectorySelectDialogProps<StaffValueType, StaffNodeType, ItemT> & {
|
|
88
76
|
ref: any;
|
|
89
77
|
}): JSX.Element;
|
|
90
|
-
protected handleMouseOverMultipleSelection: (item: ItemT) => void;
|
|
91
|
-
protected onMouseEnter(): void;
|
|
92
|
-
protected onMouseLeave(): void;
|
|
93
|
-
protected onDocumentMouseDown: (event: any) => void;
|
|
94
|
-
protected onDocumentOver: (event: any) => void;
|
|
95
|
-
protected onDocumentOut: (event: any) => void;
|
|
96
|
-
protected closePopover(): void;
|
|
97
|
-
protected renderCardInfo(): JSX.Element;
|
|
98
78
|
renderTypeahead(): JSX.Element;
|
|
99
79
|
}
|
|
100
80
|
export {};
|
|
@@ -14,6 +14,7 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
14
14
|
private services;
|
|
15
15
|
private readonly moreDots;
|
|
16
16
|
private isOpenDelegationLabel;
|
|
17
|
+
private fileIdInPreviewState;
|
|
17
18
|
constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
|
|
18
19
|
resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
|
|
19
20
|
resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
|
|
@@ -24,8 +25,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
24
25
|
protected getHelpBoxHeaderIcon(groupName: any): string;
|
|
25
26
|
protected getLabel(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
26
27
|
protected getImage(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
27
|
-
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
28
|
-
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
28
|
+
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): any;
|
|
29
|
+
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): string;
|
|
29
30
|
protected getDelegationLabel(delegationRecord: GenModels.DelegationRecord): JSX.Element;
|
|
30
31
|
protected getDelegationLabelText(delegationRecord: GenModels.DelegationRecord): string;
|
|
31
32
|
protected getDelegationHistory(delegationRecords: GenModels.DelegationRecord[]): string[];
|
package/BackOffice/Tasks.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ITaskCreatingEventArgs } from "@docsvision/webclient/BackOffice/ITaskCr
|
|
|
2
2
|
import { TasksImpl, TasksState } from "@docsvision/webclient/BackOffice/TasksImpl";
|
|
3
3
|
import { $LayoutController, $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
4
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
6
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
7
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
7
8
|
import { $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -54,7 +55,7 @@ export declare class TasksParams extends BaseControlParams {
|
|
|
54
55
|
taskCreating?: CancelableApiEvent<ITaskCreatingEventArgs>;
|
|
55
56
|
/** Событие, возникающее после того, как задания загружены (при асинхронной загрузке событие возникает после открытия разметки). */
|
|
56
57
|
onTasksLoaded?: BasicApiEvent<GenModels.TaskDataModel[]>;
|
|
57
|
-
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
|
|
58
|
+
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* Класс элемента управления Задания
|
|
@@ -3,7 +3,7 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
3
3
|
import { BaseControl, BaseControlParams } from '@docsvision/webclient/System/BaseControl';
|
|
4
4
|
import { $LayoutInfo, $CardId, $EditOperationStore, $CardInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
5
5
|
import { TasksTreeNodeResolveService } from '@docsvision/webclient/BackOffice/TasksTreeNodeResolveService';
|
|
6
|
-
import { $TasksTreeController, $LayoutFileController, $LayoutCardController, $StaffDirectoryItemsController
|
|
6
|
+
import { $TasksTreeController, $LayoutFileController, $LayoutCardController, $StaffDirectoryItemsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
7
7
|
import { TasksTableView } from '@docsvision/webclient/BackOffice/TasksTableView';
|
|
8
8
|
import { TasksTableLogic } from '@docsvision/webclient/BackOffice/TasksTableLogic';
|
|
9
9
|
import { Optional } from '@docsvision/web/core/services';
|
|
@@ -20,7 +20,6 @@ import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/
|
|
|
20
20
|
import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
|
|
21
21
|
import { $UrlStore } from '@docsvision/webclient/System/$UrlStore';
|
|
22
22
|
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
23
|
-
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
24
23
|
/**
|
|
25
24
|
* Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
|
|
26
25
|
*/
|
|
@@ -67,7 +66,7 @@ export declare class TasksTableParams extends BaseControlParams {
|
|
|
67
66
|
row: ITasksTableRow;
|
|
68
67
|
}>;
|
|
69
68
|
/** Сервисы. */
|
|
70
|
-
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload
|
|
69
|
+
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload;
|
|
71
70
|
}
|
|
72
71
|
export interface TasksTableState extends BaseControlImplState, TasksTableParams {
|
|
73
72
|
logic: TasksTableLogic;
|
|
@@ -53,6 +53,10 @@ import("react").MouseEvent<Element, MouseEvent>>;
|
|
|
53
53
|
import("effector").Event<void>;
|
|
54
54
|
$dialogFixed:
|
|
55
55
|
import("effector").Store<boolean>;
|
|
56
|
+
$dialogIsMaximized:
|
|
57
|
+
import("effector").Store<boolean>;
|
|
58
|
+
maximizeDialog:
|
|
59
|
+
import("effector").Event<void>;
|
|
56
60
|
expandRow:
|
|
57
61
|
import("effector").Event<number>;
|
|
58
62
|
collapseRow:
|
|
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
|
|
|
19
19
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
20
20
|
export declare class TasksTableView {
|
|
21
21
|
mainButton: (props:
|
|
22
|
-
import("C:/
|
|
22
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
23
23
|
dialog: (props:
|
|
24
|
-
import("C:/
|
|
24
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
|
|
25
25
|
controlWrapper: typeof TasksTableControlWrapper;
|
|
26
26
|
ribbon: typeof TasksTableRibbon;
|
|
27
27
|
ribbonGroup:
|
|
28
28
|
import("styled-components").StyledComponent<"div", any, {
|
|
29
29
|
className: string;
|
|
30
30
|
} &
|
|
31
|
-
import("C:/
|
|
31
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
32
32
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
33
33
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
34
34
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
9
9
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
10
10
|
import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
11
11
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
12
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
12
13
|
import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
|
|
@@ -41,7 +42,7 @@ export declare class TasksTreeParams extends BaseControlParams {
|
|
|
41
42
|
/** Список опций для VIS.js. */
|
|
42
43
|
options:
|
|
43
44
|
import("vis").Options;
|
|
44
|
-
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload;
|
|
45
|
+
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload & $DeviceType;
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
47
48
|
* Класс элемента управления Дерево исполнения
|
|
@@ -18,6 +18,8 @@ export interface ITasksTreeState extends TasksTreeParams, BaseControlState {
|
|
|
18
18
|
loadVisJsHelper: RequestHelper;
|
|
19
19
|
loadTasksTreeHelper: RequestHelper;
|
|
20
20
|
showFullTreeBindingAvailable: boolean;
|
|
21
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
22
|
+
maximized?: boolean;
|
|
21
23
|
}
|
|
22
24
|
/** @internal */
|
|
23
25
|
export declare type ITasksTreeImplState = ITasksTreeState;
|
|
@@ -46,6 +48,7 @@ export declare class TasksTreeImpl extends BaseControlImpl<TasksTreeParams, ITas
|
|
|
46
48
|
private hasParentCard;
|
|
47
49
|
renderControl(): JSX.Element;
|
|
48
50
|
private renderTreeButton;
|
|
51
|
+
private onMaximize;
|
|
49
52
|
private renderTreeModal;
|
|
50
53
|
private renderTreeContent;
|
|
51
54
|
}
|
|
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
9
9
|
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
10
10
|
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
11
11
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
12
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
12
13
|
import { Optional } from "@docsvision/web/core/services";
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [Панель поиска в справочнике]{@link WebFrameDirectorySearchPanel}.
|
|
@@ -23,7 +24,7 @@ export declare class WebFrameDirectorySearchPanelParams extends BaseControlParam
|
|
|
23
24
|
/** Текуще значение строки поиска. */
|
|
24
25
|
searchText?: string;
|
|
25
26
|
/** Сервисы. */
|
|
26
|
-
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo
|
|
27
|
+
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo> & $Resources;
|
|
27
28
|
}
|
|
28
29
|
export interface WebFrameDirectorySearchPanelState extends BaseControlImplState, WebFrameDirectorySearchPanelParams {
|
|
29
30
|
logic: WebFrameDirectorySearchPanelLogic;
|
|
@@ -30,11 +30,16 @@ import("effector").Store<SearchFilters>;
|
|
|
30
30
|
import("effector").Event<SearchFilters>;
|
|
31
31
|
$searchText:
|
|
32
32
|
import("effector").Store<string>;
|
|
33
|
+
$isNotEmpty:
|
|
34
|
+
import("effector").Store<boolean>;
|
|
33
35
|
onSearchTextChange:
|
|
34
36
|
import("effector").Event<string>;
|
|
35
37
|
onSearchTextKeyPressed:
|
|
36
38
|
import("effector").Event<
|
|
37
39
|
import("react").KeyboardEvent<any>>;
|
|
40
|
+
onSearchSubmitClick:
|
|
41
|
+
import("effector").Event<
|
|
42
|
+
import("react").MouseEvent<Element, MouseEvent>>;
|
|
38
43
|
startSearch:
|
|
39
44
|
import("effector").Event<ISearchRequest>;
|
|
40
45
|
onSearchStart:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class WebFrameDirectorySearchPanelView {
|
|
3
3
|
SearchButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/dev/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
5
5
|
SearchBar: (props:
|
|
6
6
|
import("./Components/SearchBar").ISearchBar) => JSX.Element;
|
|
7
7
|
}
|
|
@@ -1230,9 +1230,13 @@ export declare namespace GenControllers {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
|
|
1232
1232
|
/**
|
|
1233
|
-
* Get list {@link GenModels}
|
|
1233
|
+
* Get list of {@link GenModels} for usage in grouping
|
|
1234
1234
|
*/
|
|
1235
1235
|
getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1236
|
+
/**
|
|
1237
|
+
* Get list of {@link GenModels} for usage in filtration
|
|
1238
|
+
*/
|
|
1239
|
+
getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1236
1240
|
/**
|
|
1237
1241
|
* load all pages
|
|
1238
1242
|
*/
|
|
@@ -1251,6 +1255,7 @@ export declare namespace GenControllers {
|
|
|
1251
1255
|
saveGridUserSettingsFolderData(requestModel: GenModels.SaveGridUserSettingsFolderDataRequestModel, options?: RequestOptions): Promise<void>;
|
|
1252
1256
|
setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
|
|
1253
1257
|
getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1258
|
+
getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1254
1259
|
loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
|
|
1255
1260
|
}
|
|
1256
1261
|
}
|