@docsvision/webclient 5.17.0-beta.1 → 5.17.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListContent.d.ts +1 -0
- package/Approval/IAgreementListContentProps.d.ts +2 -0
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +8 -3
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +4 -1
- package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
- package/BackOffice/BatchDelegateOperation.d.ts +2 -1
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
- package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryEntryModal.d.ts +3 -0
- package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
- package/BackOffice/DirectoryFrame.d.ts +2 -0
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResult.d.ts +2 -0
- package/BackOffice/DirectorySearchResultLogic.d.ts +1 -0
- package/BackOffice/DirectorySearchResultView.d.ts +3 -2
- package/BackOffice/DirectoryTabs.d.ts +3 -0
- package/BackOffice/DirectoryTree.d.ts +3 -0
- package/BackOffice/DirectoryTreeLogic.d.ts +1 -0
- package/BackOffice/DirectoryValues.d.ts +7 -5
- package/BackOffice/DirectoryValuesLogic.d.ts +1 -0
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +5 -0
- package/BackOffice/FileListControlImpl.d.ts +10 -0
- package/BackOffice/FileListControlLogic.d.ts +1 -0
- package/BackOffice/FileListItemComponent.d.ts +5 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/FindStaffSection.d.ts +4 -1
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/IFileMenuItem.d.ts +14 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
- package/BackOffice/Index.d.ts +10 -1
- package/BackOffice/LinksImpl.d.ts +1 -0
- package/BackOffice/LoadEmployees.d.ts +2 -5
- package/BackOffice/NumeratorImpl.d.ts +2 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +10 -4
- package/BackOffice/SearchEmployees.d.ts +2 -1
- package/BackOffice/StaffDirectory.d.ts +2 -1
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectoryLogic.d.ts +28 -23
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
- package/BackOffice/TasksTable.d.ts +2 -1
- package/BackOffice/TasksTableLogic.d.ts +2 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/TimeOfPerformanceImpl.d.ts +0 -9
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +8 -5
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +13 -2
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +12 -3
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +93 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +1327 -39
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +4 -0
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
- package/Helpers/MainMenu/ItemText.d.ts +2 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Sortable/Sortable.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +1 -0
- package/Helpers/Tree/ITreeBaseProps.d.ts +9 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GridOptions.d.ts +1 -0
- package/Legacy/ModalWindow.d.ts +1 -1
- package/Legacy/NavBarRouteHandler.d.ts +1 -1
- package/Legacy/SearchDropdown.d.ts +3 -1
- package/Legacy/Sidebar.d.ts +1 -0
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
- package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
- package/Legacy/Utils.d.ts +3 -7
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +17 -0
- package/MainBundle.d.ts +1 -0
- package/Platform/$BatchOperations.d.ts +3 -0
- package/Platform/$CacheManagement.d.ts +3 -1
- package/Platform/$ContextMenuOptions.d.ts +86 -6
- package/Platform/$CurrentFolder.d.ts +2 -0
- package/Platform/$FolderDataLoading.d.ts +12 -2
- package/Platform/$FolderGrid.d.ts +24 -0
- package/Platform/$GridOptions.d.ts +1 -0
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$SaveColumns.d.ts +7 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/$UnreadCounter.d.ts +1 -1
- package/Platform/$WebFrameSearchPanel.d.ts +30 -0
- package/Platform/ArchivedCardsIcon.d.ts +5 -0
- package/Platform/ArchivedCardsPlugin.d.ts +3 -0
- package/Platform/ArchivedCardsResponseResolver.d.ts +22 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsPlugin.d.ts +4 -0
- package/Platform/ButtonPositionsSelectionRadioButton.d.ts +9 -0
- package/Platform/CacheManagementService.d.ts +5 -0
- package/Platform/CalendarIcon.d.ts +2 -0
- package/Platform/CalendarInput.d.ts +8 -0
- package/Platform/CardManagement.d.ts +2 -2
- package/Platform/CardManagementImpl.d.ts +1 -0
- package/Platform/ClearButton.d.ts +8 -0
- package/Platform/CommentFile.d.ts +4 -1
- package/Platform/ContextMenu.d.ts +12 -5
- package/Platform/ContextMenuCustomPlugins.d.ts +4 -2
- package/Platform/ContextMenuOptionsService.d.ts +43 -12
- package/Platform/ContextMenuUtils.d.ts +5 -0
- package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
- package/Platform/DateFormatParsingResponseResolver.d.ts +1 -1
- package/Platform/DateInput.d.ts +6 -0
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderResponseResolver.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +3 -1
- package/Platform/Dropdown.d.ts +7 -0
- package/Platform/Dropdown.stories.d.ts +12 -0
- package/Platform/DropdownImpl.d.ts +1 -0
- package/Platform/ExportPlugin.d.ts +6 -0
- package/Platform/FilePicker.d.ts +5 -2
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FilterPlugin.d.ts +3 -0
- package/Platform/FilteringExtendedData.d.ts +4 -0
- package/Platform/FilteringRequestResolver.d.ts +11 -0
- package/Platform/FilteringResponseResolver.d.ts +10 -0
- package/Platform/FocusableTextInput.d.ts +6 -0
- package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
- package/Platform/FolderCountersRouteHandler.d.ts +1 -1
- package/Platform/FolderDashboardWidgetImpl.d.ts +1 -0
- package/Platform/FolderDataContext.d.ts +2 -1
- package/Platform/FolderDataContextImpl.d.ts +7 -2
- package/Platform/FolderDataLoadingService.d.ts +31 -15
- package/Platform/FolderGrid.d.ts +25 -4
- package/Platform/FolderGrid.stories.d.ts +4 -0
- package/Platform/FolderGridBatchOperationsNode.d.ts +32 -0
- package/Platform/FolderGridBatchOperationsNodeImpl.d.ts +14 -0
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridImpl.d.ts +9 -1
- package/Platform/FolderGridService.d.ts +42 -2
- package/Platform/FolderGridServiceUtils.d.ts +1 -0
- package/Platform/FolderGroupDashboardWidgetImpl.d.ts +1 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderName.d.ts +4 -0
- package/Platform/FolderNameImpl.d.ts +0 -2
- package/Platform/FolderPluginProvider.d.ts +5 -2
- package/Platform/FolderSizePlugin.d.ts +10 -0
- package/Platform/FolderSizePluginExtendedData.d.ts +9 -0
- package/Platform/FolderSizeResponseResolver.d.ts +10 -0
- package/Platform/FolderTypeDialog.d.ts +1 -0
- package/Platform/FolderViewItemsImpl.d.ts +4 -4
- package/Platform/FolderWebFrameRouteHandler.d.ts +18 -0
- package/Platform/FormatNumberToCultureString.d.ts +8 -0
- package/Platform/GridOperationsService.d.ts +3 -0
- package/Platform/GridRowModel.d.ts +2 -2
- package/Platform/GropingPlugin.d.ts +3 -0
- package/Platform/GroupingRequestResolver.d.ts +12 -0
- package/Platform/GroupingResponseResolver.d.ts +17 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/ICommonFolderInfo.d.ts +1 -0
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderDataLoadingPlugin.d.ts +2 -2
- package/Platform/IFolderLoadRequest.d.ts +5 -0
- package/Platform/IFolderPluginFactory.d.ts +2 -0
- package/Platform/ITableRowColorPlugin.d.ts +7 -0
- package/Platform/InputWithMask.d.ts +16 -0
- 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/LoadExistingFolderDataLoader.d.ts +2 -2
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
- package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
- package/Platform/PageSizeFolderDataLoadingPlugin.d.ts +1 -1
- package/Platform/Panel.d.ts +2 -0
- package/Platform/PanelImpl.d.ts +1 -1
- package/Platform/ReadAllPlugin.d.ts +11 -0
- package/Platform/ReadAllPluginExtendedData.d.ts +9 -0
- package/Platform/ReadAllResponseResolver.d.ts +10 -0
- package/Platform/ReadBatchOperation.d.ts +30 -0
- package/Platform/ReadBatchOperationImpl.d.ts +20 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
- package/Platform/RecentCardsRouteHandler.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +6 -0
- package/Platform/ResetSettingsPlugin.d.ts +12 -0
- package/Platform/SaveColumnsResponseResolver.d.ts +10 -0
- package/Platform/SaveColumnsService.d.ts +8 -0
- package/Platform/SaveColumnsServiceProvider.d.ts +6 -0
- package/Platform/SearchInfoExtendedData.d.ts +4 -0
- package/Platform/SearchParametersFolderExtendedData.d.ts +4 -0
- package/Platform/SearchParametersFolderRequestResolver.d.ts +11 -0
- package/Platform/SearchParametersFolderResponseResolver.d.ts +12 -0
- package/Platform/SearchPlugin.d.ts +3 -0
- package/Platform/SearchRequestResolver.d.ts +12 -0
- package/Platform/SearchResponseResolver.d.ts +11 -0
- package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
- package/Platform/SearchResultsFolderDataLoadingPluginFactory.d.ts +9 -0
- package/Platform/SearchResultsFolderTablePluginFactory.d.ts +16 -0
- package/Platform/SearchResultsRequestResolver.d.ts +14 -0
- package/Platform/SearchResultsResponseResolver.d.ts +12 -0
- package/Platform/SearchRouteHandler.d.ts +2 -1
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/Settings.d.ts +3 -0
- package/Platform/SettingsPlugin.d.ts +15 -0
- package/Platform/SettingsPopup.d.ts +15 -0
- package/Platform/SettingsPopup.stories.d.ts +1 -0
- package/Platform/SettingsPopupCheckBoxContainer.d.ts +6 -0
- package/Platform/SettingsPopupColumn.d.ts +5 -0
- package/Platform/SettingsPopupExtendedData.d.ts +9 -0
- package/Platform/SettingsPopupItemView.d.ts +7 -0
- package/Platform/SettingsPopupLogic.d.ts +53 -0
- package/Platform/SettingsPopupRequestResolver.d.ts +11 -0
- package/Platform/SettingsPopupResponseResolver.d.ts +11 -0
- package/Platform/SettingsPopupRow.d.ts +5 -0
- package/Platform/SettingsPopupView.d.ts +23 -0
- package/Platform/ShowAllButton.d.ts +14 -0
- package/Platform/ShowAllPlugins.d.ts +3 -0
- package/Platform/SortingResponseResolver.d.ts +2 -1
- package/Platform/Table.d.ts +2 -3
- package/Platform/TableBackgroundOpacityPlugin.d.ts +4 -0
- package/Platform/TableCellNumberFormattedPlugin.d.ts +7 -0
- package/Platform/TableCellNumberRightAlignPlugin.d.ts +4 -0
- package/Platform/TableCellOpacityPlugin.d.ts +3 -0
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TableRowColorPlugin.d.ts +4 -0
- package/Platform/TableRowColorResponseResolver.d.ts +10 -0
- package/Platform/TableRowSelectionService.d.ts +22 -0
- package/Platform/TableRowSelectionServiceProvider.d.ts +9 -0
- package/Platform/TableSelectionRowModel.d.ts +13 -0
- package/Platform/TestUtils.d.ts +16 -0
- 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/Toolbar.stories.d.ts +12 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UnreadResponseResolver.d.ts +2 -1
- package/Platform/UserCulture.d.ts +2 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.d.ts +7 -1
- package/Platform/WebFrameSearchPanelService.d.ts +24 -0
- package/Platform/XIcon.d.ts +2 -0
- package/Platform/applyCurrentSettings.d.ts +8 -0
- package/Platform/canUseCssVariables.d.ts +1 -0
- package/Platform/formatNumberToCulture.d.ts +8 -0
- package/Platform/getArrayWidth.d.ts +2 -0
- package/Platform/index.d.ts +13 -0
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateColumnsVisible.d.ts +2 -0
- package/Platform/updateValueCheckedColumn.d.ts +6 -0
- package/Platform/utils.d.ts +3 -0
- package/StandardServices.d.ts +6 -2
- package/System/$LastSearchResponse.d.ts +14 -0
- package/System/$Layout.d.ts +2 -1
- package/System/BaseControl.d.ts +8 -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 +4 -3
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/HandleTabSelection.d.ts +34 -0
- package/System/IRouteInfo.d.ts +2 -0
- package/System/IValidateEventArgs.d.ts +9 -0
- package/System/IValidationResult.d.ts +4 -0
- package/System/LastSearchResponseService.d.ts +20 -0
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +2 -0
- package/System/LayoutContainer.d.ts +1 -1
- package/System/LocationContainerControl.d.ts +2 -1
- package/System/MessageBoxService.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/ResourcesStub.d.ts +603 -68
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
- package/Legacy/AgreementSidebar.d.ts +0 -38
- package/Legacy/LegacyModels.d.ts +0 -178
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -16
- package/Platform/GridConstants.d.ts +0 -4
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
-
export declare
|
|
2
|
+
export declare type FindStaffSectionResult = {
|
|
3
3
|
row: IDirectoryTreeRow;
|
|
4
4
|
parentRow: IDirectoryTreeRow;
|
|
5
5
|
index: number;
|
|
6
|
+
path: IDirectoryTreeRow[];
|
|
6
7
|
};
|
|
8
|
+
export declare function findStaffSection(staffId: string, tree: IDirectoryTreeRow[]): FindStaffSectionResult;
|
|
9
|
+
export declare function findStaffSectionImpl(staffId: string, tree: IDirectoryTreeRow[], path: IDirectoryTreeRow[]): FindStaffSectionResult;
|
|
@@ -4,5 +4,6 @@ import { ICancelableEventArgs } from "@docsvision/webclient/System/ICancelableEv
|
|
|
4
4
|
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
5
5
|
export declare const EMPLOYEE_GROUPS_CONTROL_NAME = "group";
|
|
6
6
|
export declare const TAB_CONTROL_NAME = "tab";
|
|
7
|
+
export declare const ADD_TAB_PAGE_CONTROL_NAME = "addTabPage";
|
|
7
8
|
export declare function setEmployeeGroup(sender: LayoutControl, e: ICancelableEventArgs<ICardSavingEventArgs>): Promise<void>;
|
|
8
9
|
export declare function getEmployeeGroup(sender: LayoutControl, e: IEventArgs): Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IFileMenuItem {
|
|
3
|
+
onClick: (e?: any) => void;
|
|
4
|
+
title: string;
|
|
5
|
+
name: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
10
|
+
children?: any;
|
|
11
|
+
attributes?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
package/BackOffice/Index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
|
|
|
81
81
|
protected onDeleteFileMenuClick(linkItem: LinkItem): void;
|
|
82
82
|
protected onLinkMenuClick(linkItem: LinkItem): void;
|
|
83
83
|
protected getLinkIconClass(linkItem: LinkItem): "dv-ico icon-spin loader-animate" | "dv-ico ico-dv-card" | "dv-ico ico-file" | "dv-ico ico-url";
|
|
84
|
+
protected afterLinkAdded: () => Promise<string[]>;
|
|
84
85
|
protected onDownloadFile(linkItem: LinkItem): void;
|
|
85
86
|
protected getShowFilesForLinksTypesIds: () => string[];
|
|
86
87
|
protected hideInfoPopover(linkItem: LinkItem): void;
|
|
@@ -2,8 +2,7 @@ import { IEmployeeResponseParser } from "@docsvision/webclient/BackOffice/IEmplo
|
|
|
2
2
|
import { $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
4
|
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
5
|
-
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
6
|
-
import { ILoadRequest } from "@docsvision/web/components/table/plugins/table-data";
|
|
5
|
+
import { ITableData, ITableDataLoadRequest } from "@docsvision/web/components/table/interfaces";
|
|
7
6
|
export declare type LoadedPages = {
|
|
8
7
|
sectionId: string;
|
|
9
8
|
pages: {
|
|
@@ -13,11 +12,9 @@ export declare type LoadedPages = {
|
|
|
13
12
|
export declare type LoadEmployeesOptions = {
|
|
14
13
|
sectionId: string;
|
|
15
14
|
sectionType: GenModels.DirectoryDataType;
|
|
16
|
-
request:
|
|
15
|
+
request: ITableDataLoadRequest;
|
|
17
16
|
currentData: ITableData;
|
|
18
17
|
services: $ApplicationSettings & $StaffDirectoryItemsController;
|
|
19
18
|
responseParser: IEmployeeResponseParser;
|
|
20
|
-
lastLoad: Promise<ITableData>;
|
|
21
|
-
loadedPages: LoadedPages;
|
|
22
19
|
};
|
|
23
20
|
export declare function loadEmployees(params: LoadEmployeesOptions): Promise<ITableData>;
|
|
@@ -24,12 +24,13 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
|
|
|
24
24
|
constructor(props: NumeratorParams, state: NumeratorState);
|
|
25
25
|
generateNewNumberEx(saveToTheCard?: boolean, saveCardBefore?: boolean): Promise<INumberInfo>;
|
|
26
26
|
generateNewNumber(saveToTheCard: boolean, prepareAction: () => Promise<any>): Promise<INumberInfo>;
|
|
27
|
+
getTabIndexForButtons(): 0 | -1;
|
|
27
28
|
onSaved(): Promise<any>;
|
|
28
29
|
componentDidMount(): void;
|
|
29
30
|
protected getTextValue(): string;
|
|
30
31
|
protected onInputChange(event: any): void;
|
|
31
32
|
validate(params: any): IValidationResult;
|
|
32
|
-
clearNumber(): Promise<
|
|
33
|
+
clearNumber(): Promise<void>;
|
|
33
34
|
protected renderInto(props: NumeratorParams, container: HTMLElement): void;
|
|
34
35
|
protected get editAvailable(): boolean;
|
|
35
36
|
protected get withInputMode(): boolean;
|
|
@@ -67,8 +67,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
67
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> {
|
|
68
68
|
/** @internal */
|
|
69
69
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
70
|
-
import("C:/
|
|
71
|
-
import("C:/
|
|
70
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
71
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
72
72
|
/** @internal */
|
|
73
73
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
74
74
|
private set partnerBindingHandler(value);
|
|
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
39
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> {
|
|
40
40
|
/** @internal */
|
|
41
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
44
|
-
import("C:/
|
|
42
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
45
45
|
/** @internal */
|
|
46
46
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
47
47
|
init(): Promise<void>;
|
|
@@ -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,12 +1,18 @@
|
|
|
1
|
-
import {
|
|
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;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
isNotEmpty: boolean;
|
|
7
|
+
textValue: string;
|
|
8
|
+
searchFilters: ISearchFilterEntry[];
|
|
9
|
+
currentSearchFilterKey: SearchFilters;
|
|
10
|
+
onSearchFilterChange: (newSearchFilterKey: SearchFilters) => void;
|
|
8
11
|
searchPlaceholder: string;
|
|
9
12
|
onSearchTextChange: (newSearchText: string) => void;
|
|
13
|
+
onClearButtonClick: () => void;
|
|
10
14
|
onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
|
|
15
|
+
onSearchSubmitClick: (e: React.MouseEvent) => void;
|
|
16
|
+
services: $Resources;
|
|
11
17
|
}
|
|
12
18
|
export declare const SearchBar: (props: ISearchBar) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { StaffDirectorySearchResponseT } from "@docsvision/webclient/BackOffice/StaffDirectoryLogic";
|
|
2
|
+
import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
2
3
|
import { $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
|
-
export declare function searchEmployees(searchText: string, searchFilterKey:
|
|
4
|
+
export declare function searchEmployees(searchText: string, searchFilterKey: SearchFilters, services: $StaffDirectoryItemsController, maxCount?: number, skipCount?: number): Promise<StaffDirectorySearchResponseT>;
|
|
@@ -15,6 +15,7 @@ import { Optional } from "@docsvision/web/core/services";
|
|
|
15
15
|
import { $WebFrameDirectorySearchPanelService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
16
16
|
import { IStaffTreeRow } from "@docsvision/webclient/BackOffice/IStaffTreeRow";
|
|
17
17
|
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
18
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
18
19
|
/**
|
|
19
20
|
* Содержит публичные свойства элемента управления [Справочник сотрудников]{@link StaffDirectory}.
|
|
20
21
|
*/
|
|
@@ -28,7 +29,7 @@ export declare class StaffDirectoryParams extends BaseControlParams {
|
|
|
28
29
|
/** Вызывается после любого изменении отображаемого в левой части дерева. */
|
|
29
30
|
currentSectionTreeUpdated?: BasicApiEvent<IStaffTreeRow[]>;
|
|
30
31
|
/** Сервисы. */
|
|
31
|
-
services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & $DepartmentController & Optional<$StaffDirectoryOptions> & $DeviceType & $StaffDirectoryItemsController & $IsIE & $WebFrameDirectorySearchPanelService & $LayoutStaffController;
|
|
32
|
+
services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & $DepartmentController & Optional<$StaffDirectoryOptions> & $DeviceType & $StaffDirectoryItemsController & $IsIE & $WebFrameDirectorySearchPanelService & $LayoutStaffController & $Domain;
|
|
32
33
|
}
|
|
33
34
|
export interface StaffDirectoryState extends BaseControlImplState, StaffDirectoryParams, IStaffDirectoryLogicOptions {
|
|
34
35
|
logic: StaffDirectoryLogic;
|
|
@@ -14,3 +14,18 @@ export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
|
14
14
|
export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
|
|
15
15
|
export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
|
|
16
16
|
export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
|
|
17
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID";
|
|
18
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID";
|
|
19
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID";
|
|
20
|
+
export declare const CONTEXT_MENU_STAFF_NAME_ID = "CONTEXT_MENU_STAFF_NAME_ID";
|
|
21
|
+
export declare const CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID = "CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID";
|
|
22
|
+
export declare const CONTEXT_MENU_STAFF_PASTE_ID = "CONTEXT_MENU_STAFF_PASTE_ID";
|
|
23
|
+
export declare const CONTEXT_MENU_STAFF_INFO_ID = "CONTEXT_MENU_STAFF_INFO_ID";
|
|
24
|
+
export declare const CONTEXT_MENU_STAFF_EDIT_ID = "CONTEXT_MENU_STAFF_EDIT_ID";
|
|
25
|
+
export declare const CONTEXT_MENU_STAFF_DELETE_ID = "CONTEXT_MENU_STAFF_DELETE_ID";
|
|
26
|
+
export declare const CONTEXT_MENU_STAFF_COPY_ID = "CONTEXT_MENU_STAFF_COPY_ID";
|
|
27
|
+
export declare const CONTEXT_MENU_STAFF_CUT_ID = "CONTEXT_MENU_STAFF_CUT_ID";
|
|
28
|
+
export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
|
|
29
|
+
export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
|
|
30
|
+
export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
|
|
31
|
+
export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
|
|
@@ -76,7 +76,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
|
|
|
76
76
|
private set binding(value);
|
|
77
77
|
private set defaultEmployeeBinding(value);
|
|
78
78
|
get inputChanged():
|
|
79
|
-
import("C:/
|
|
79
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
80
80
|
/** @covered */
|
|
81
81
|
get inputText(): string;
|
|
82
82
|
/** @covered */
|
|
@@ -55,7 +55,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
55
55
|
private shouldShowFavorites;
|
|
56
56
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
57
57
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
58
|
-
import("C:/
|
|
58
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
59
59
|
protected onEditPopoverShowed(control: any): void;
|
|
60
60
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
61
61
|
protected getTypeaheadProps(): ITypeaheadProps & {
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LoadEmployeesOptions } from "@docsvision/webclient/BackOffice/LoadEmployees";
|
|
3
2
|
import { IEmployeeResponseParser } from "@docsvision/webclient/BackOffice/IEmployeeResponseParser";
|
|
4
3
|
import { StaffDirectoryParams } from "@docsvision/webclient/BackOffice/StaffDirectory";
|
|
5
4
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
5
|
import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
|
|
7
6
|
import { ShowSecurityDescriptorDialogProps } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
|
|
8
7
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
9
|
-
import { IRow, ITableData } from "@docsvision/web/components/table/interfaces";
|
|
10
|
-
import { ILoadRequest, ITableDataService } from "@docsvision/web/components/table/plugins/table-data";
|
|
8
|
+
import { IRow, ITableData, ITableDataLoadRequest } from "@docsvision/web/components/table/interfaces";
|
|
11
9
|
import { ComponentLogic } from "@docsvision/web/core/component";
|
|
12
10
|
import { IStaffTreeRow } from "@docsvision/webclient/BackOffice/IStaffTreeRow";
|
|
13
|
-
import { IFolderDataLoadingService } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
14
|
-
import { IFolderLoadRequest } from "@docsvision/webclient/Platform/IFolderLoadRequest";
|
|
15
11
|
import { IFolderDataLoadingPlugin } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
16
12
|
import { IButtonDescription } from "@docsvision/webclient/BackOffice/StaffDirectoryTreeAddButton";
|
|
17
13
|
import { LoadingStatus } from "@docsvision/webclient/System/LoadingState";
|
|
14
|
+
import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
18
15
|
export declare const sectionTabs: string[];
|
|
19
16
|
export declare type StaffDirectorySearchResponseT = {
|
|
20
17
|
items: GenModels.SearchItemModel[];
|
|
@@ -80,6 +77,7 @@ import("effector").Effect<
|
|
|
80
77
|
import("react").MouseEvent<Element, MouseEvent>, void, Error>;
|
|
81
78
|
$contextMenuName:
|
|
82
79
|
import("effector").Store<string>;
|
|
80
|
+
getPaste: any;
|
|
83
81
|
initContextMenu(): void;
|
|
84
82
|
componentDidMount:
|
|
85
83
|
import("effector").Event<void>;
|
|
@@ -100,18 +98,15 @@ import("effector").Effect<{
|
|
|
100
98
|
rootSectionId: string;
|
|
101
99
|
}, any, Error>;
|
|
102
100
|
initTreeLoading(options: StaffDirectoryParams): void;
|
|
103
|
-
|
|
104
|
-
$data:
|
|
101
|
+
$positionEmployeesData:
|
|
105
102
|
import("effector").Store<ITableData>;
|
|
106
|
-
|
|
107
|
-
import("effector").
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
loadEmployeesFx:
|
|
114
|
-
import("effector").Effect<LoadEmployeesOptions, ITableData, Error>;
|
|
103
|
+
loadPositionEmployeesFx:
|
|
104
|
+
import("effector").Effect<{
|
|
105
|
+
currentData?: ITableData;
|
|
106
|
+
request?: ITableDataLoadRequest;
|
|
107
|
+
}, ITableData, Error>;
|
|
108
|
+
reloadPositionEmployees:
|
|
109
|
+
import("effector").Event<void>;
|
|
115
110
|
$rootEmployeesLoading:
|
|
116
111
|
import("effector").Store<boolean>;
|
|
117
112
|
$placeholderEmployeesText:
|
|
@@ -119,11 +114,18 @@ import("effector").Store<string>;
|
|
|
119
114
|
$placeholderInfoText:
|
|
120
115
|
import("effector").Store<string>;
|
|
121
116
|
responseParser: IEmployeeResponseParser;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
import("effector").
|
|
117
|
+
initPositionEmployeesLoad(options: StaffDirectoryParams): void;
|
|
118
|
+
$employeesGridData:
|
|
119
|
+
import("effector").Store<ITableData>;
|
|
120
|
+
reloadEmployeesGridData:
|
|
121
|
+
import("effector").Event<void>;
|
|
122
|
+
lastGridModel: GenModels.GridViewModel;
|
|
123
|
+
lastRequestSection: any;
|
|
124
|
+
loadEmployeesGridDataFx:
|
|
125
|
+
import("effector").Effect<{
|
|
126
|
+
currentData?: ITableData;
|
|
127
|
+
request?: ITableDataLoadRequest;
|
|
128
|
+
}, ITableData, Error>;
|
|
127
129
|
employeesGridResponseResolvers: IFolderDataLoadingPlugin[];
|
|
128
130
|
addToGroupFx:
|
|
129
131
|
import("effector").Effect<{
|
|
@@ -283,6 +285,7 @@ import("effector").Event<{
|
|
|
283
285
|
import("effector").Effect<{
|
|
284
286
|
parentStaffId: string;
|
|
285
287
|
}, void, Error>;
|
|
288
|
+
getStaffPasteMenuItemVisible(rowId: string): boolean;
|
|
286
289
|
getTargetId(parentId: string): string;
|
|
287
290
|
isStaffCutButtonVisible(): boolean;
|
|
288
291
|
initStaffContextMenu(options: IStaffDirectoryLogicOptions): void;
|
|
@@ -315,12 +318,12 @@ import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffRespons
|
|
|
315
318
|
import("effector").Store<LoadingStatus>;
|
|
316
319
|
startSearch:
|
|
317
320
|
import("effector").Event<{
|
|
318
|
-
searchFilterKey:
|
|
321
|
+
searchFilterKey: SearchFilters;
|
|
319
322
|
searchText: string;
|
|
320
323
|
}>;
|
|
321
324
|
startSearchFx:
|
|
322
325
|
import("effector").Effect<{
|
|
323
|
-
searchFilterKey:
|
|
326
|
+
searchFilterKey: SearchFilters;
|
|
324
327
|
searchText: string;
|
|
325
328
|
},
|
|
326
329
|
import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffResponse, Error>;
|
|
@@ -335,6 +338,8 @@ import("effector").Event<GenModels.SearchItemModel>;
|
|
|
335
338
|
import("effector").Store<boolean>;
|
|
336
339
|
onSearchResultsExpanded:
|
|
337
340
|
import("effector").Event<boolean>;
|
|
341
|
+
clearSearch:
|
|
342
|
+
import("effector").Event<void>;
|
|
338
343
|
$searchItemEmployeeId:
|
|
339
344
|
import("effector").Store<string>;
|
|
340
345
|
initSearch(): void;
|
|
@@ -6,6 +6,7 @@ import { ITasksTreeContainerState } from "@docsvision/webclient/BackOffice/ITask
|
|
|
6
6
|
import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
7
7
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
8
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
9
|
+
import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
|
|
9
10
|
import { $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
10
11
|
import React from "react";
|
|
11
12
|
/** @internal */
|
|
@@ -13,7 +14,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
13
14
|
private services;
|
|
14
15
|
private readonly moreDots;
|
|
15
16
|
private isOpenDelegationLabel;
|
|
16
|
-
|
|
17
|
+
private fileIdInPreviewState;
|
|
18
|
+
constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
|
|
17
19
|
resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
|
|
18
20
|
resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
|
|
19
21
|
get selectionAllowed(): boolean;
|
|
@@ -23,8 +25,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
23
25
|
protected getHelpBoxHeaderIcon(groupName: any): string;
|
|
24
26
|
protected getLabel(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
25
27
|
protected getImage(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
26
|
-
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
27
|
-
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
28
|
+
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): any;
|
|
29
|
+
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): string;
|
|
28
30
|
protected getDelegationLabel(delegationRecord: GenModels.DelegationRecord): JSX.Element;
|
|
29
31
|
protected getDelegationLabelText(delegationRecord: GenModels.DelegationRecord): string;
|
|
30
32
|
protected getDelegationHistory(delegationRecords: GenModels.DelegationRecord[]): string[];
|
|
@@ -19,6 +19,7 @@ import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
|
19
19
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
20
20
|
import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
|
|
21
21
|
import { $UrlStore } from '@docsvision/webclient/System/$UrlStore';
|
|
22
|
+
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
22
23
|
/**
|
|
23
24
|
* Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
|
|
24
25
|
*/
|
|
@@ -65,7 +66,7 @@ export declare class TasksTableParams extends BaseControlParams {
|
|
|
65
66
|
row: ITasksTableRow;
|
|
66
67
|
}>;
|
|
67
68
|
/** Сервисы. */
|
|
68
|
-
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo;
|
|
69
|
+
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload;
|
|
69
70
|
}
|
|
70
71
|
export interface TasksTableState extends BaseControlImplState, TasksTableParams {
|
|
71
72
|
logic: TasksTableLogic;
|
|
@@ -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;
|
|
@@ -10,6 +10,7 @@ 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
12
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
13
|
+
import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
|
|
15
16
|
*/
|
|
@@ -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 & $DeviceType;
|
|
45
|
+
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload & $DeviceType;
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
47
48
|
* Класс элемента управления Дерево исполнения
|
|
@@ -20,10 +20,6 @@ export interface TimeOfPerformanceState extends TimeOfPerformanceParams, PanelSt
|
|
|
20
20
|
durationChangeDebouncer: Debouncer;
|
|
21
21
|
unmounted: boolean;
|
|
22
22
|
}
|
|
23
|
-
export declare enum TypeOfControl {
|
|
24
|
-
EndDate = 0,
|
|
25
|
-
Duration = 1
|
|
26
|
-
}
|
|
27
23
|
/** @internal */
|
|
28
24
|
export declare class TimeOfPerformanceImpl extends PanelImpl<TimeOfPerformanceParams, TimeOfPerformanceState> {
|
|
29
25
|
constructor(props: TimeOfPerformanceParams, state: TimeOfPerformanceState);
|
|
@@ -33,11 +29,6 @@ export declare class TimeOfPerformanceImpl extends PanelImpl<TimeOfPerformancePa
|
|
|
33
29
|
updateStartDate(): Promise<void>;
|
|
34
30
|
updateEndDate(): Promise<void>;
|
|
35
31
|
onStartDateChanged: (sender: any, args: IDataChangedEventArgsEx<Date>) => Promise<void>;
|
|
36
|
-
getControlValue: (isEndDateControl: boolean, startDate: Date, secondParam: Date | number) => Promise<any>;
|
|
37
|
-
updateDatesWithoutStartDate: () => Promise<void>;
|
|
38
|
-
updateDatesWithStartDateLessThanCurrent: (isEndDateControl: boolean, currentDate: Date, currentControlValue: Date | number) => Promise<void>;
|
|
39
|
-
updateDatesWithStartDate: (isEndDateControl: boolean, currentControlValue: Date | number) => Promise<void>;
|
|
40
|
-
updateEndDateAndDuration: (type: TypeOfControl) => Promise<void>;
|
|
41
32
|
onEndDateChanged: (sender: any, args: IDataChangedEventArgsEx<Date>) => Promise<void>;
|
|
42
33
|
onDurationChanged: (sender: any, args: IDataChangedEventArgsEx<number>) => Promise<void>;
|
|
43
34
|
showLoader(control: LayoutControl): void;
|
|
@@ -33,7 +33,7 @@ export declare class UniquenessCheckImpl extends BaseControlImpl<UniquenessCheck
|
|
|
33
33
|
private modalHost;
|
|
34
34
|
private lastUniquenessCheck;
|
|
35
35
|
constructor(props: UniquenessCheckParams, state: UniquenessCheckState);
|
|
36
|
-
protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<
|
|
36
|
+
protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<void>;
|
|
37
37
|
protected renderUniquenessContentTable(): JSX.Element;
|
|
38
38
|
protected renderHeader(): JSX.Element;
|
|
39
39
|
protected renderRow(columns: GenModels.UniqueAttributeCard[]): JSX.Element;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { GenModels } from
|
|
2
|
-
import { LayoutControl } from
|
|
3
|
-
import { CancelableEventArgs } from
|
|
4
|
-
import { Image } from
|
|
5
|
-
import { Dropdown } from
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
|
|
3
|
+
import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEventArgs";
|
|
4
|
+
import { Image } from "@docsvision/webclient/Platform/Image";
|
|
5
|
+
import { Dropdown } from "@docsvision/webclient/Platform/Dropdown";
|
|
6
6
|
export declare function updateStatusBackground(sender: LayoutControl): void;
|
|
7
7
|
export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
|
|
8
8
|
export declare function updateStatusList(sender: Dropdown, event: any): void;
|
|
9
9
|
export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl, ev: any): void;
|
|
10
|
+
export declare function displayInformationOfAbsence(sender: LayoutControl, ev: any): void;
|
|
10
11
|
export declare function getDefaultImage(sender: Image): Promise<void>;
|
|
11
12
|
export declare function onCardSaving_checkSequenceOfDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): boolean;
|
|
13
|
+
export declare function setShowArchivedCardsFromSettings(sender: LayoutControl): void;
|
|
14
|
+
export declare function setShowArchivedCardsToSettings(sender: LayoutControl, e?: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
12
15
|
export declare function onCardSaving_checkDeputyTableAndDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const USER_STATUS_ACTIVE = "Active";
|
|
2
|
+
export declare const USER_STATUS_SICK = "Sick";
|
|
3
|
+
export declare const USER_STATUS_VACATION = "Vacation";
|
|
4
|
+
export declare const USER_STATUS_BUSINESS_TRIP = "BusinessTrip";
|
|
5
|
+
export declare const USER_STATUS_ABSENT = "Absent";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { $WebFrameDirectorySearchPanelOptions } from "@docsvision/webclient/BackOffice/IWebFrameDirectorySearchPanelOptions";
|
|
3
|
-
import { $WebFrameDirectorySearchInfoStorageService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
3
|
+
import { $WebFrameDirectorySearchInfoStorageService, ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
4
4
|
import { $WebFrameDirectorySearchPanelService, ISearchRequest } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
5
5
|
import { WebFrameDirectorySearchPanelLogic } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanelLogic";
|
|
6
6
|
import { WebFrameDirectorySearchPanelView } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanelView";
|
|
@@ -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}.
|
|
@@ -16,8 +17,14 @@ import { Optional } from "@docsvision/web/core/services";
|
|
|
16
17
|
export declare class WebFrameDirectorySearchPanelParams extends BaseControlParams {
|
|
17
18
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
18
19
|
standardCssClass?: string;
|
|
20
|
+
/** Выбранная область поиска. */
|
|
21
|
+
selectedSearchFilterKey?: SearchFilters;
|
|
22
|
+
/** Доступные области поиска. Для определения набора возможных областей используется сервис {@link $WebFrameDirectorySearchInfoStorageService} */
|
|
23
|
+
searchFilters?: ISearchFilterEntry[];
|
|
24
|
+
/** Текуще значение строки поиска. */
|
|
25
|
+
searchText?: string;
|
|
19
26
|
/** Сервисы. */
|
|
20
|
-
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo
|
|
27
|
+
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo> & $Resources;
|
|
21
28
|
}
|
|
22
29
|
export interface WebFrameDirectorySearchPanelState extends BaseControlImplState, WebFrameDirectorySearchPanelParams {
|
|
23
30
|
logic: WebFrameDirectorySearchPanelLogic;
|
|
@@ -35,5 +42,9 @@ export declare class WebFrameDirectorySearchPanel extends BaseControl<WebFrameDi
|
|
|
35
42
|
addCssClass: () => "" | " system-web-frame-directory-search-panel_search-active";
|
|
36
43
|
componentDidMount(): void;
|
|
37
44
|
private onSearchStart;
|
|
45
|
+
protected get searchFilters(): ISearchFilterEntry[];
|
|
46
|
+
protected get selectedSearchFilterKey(): SearchFilters;
|
|
47
|
+
protected set selectedSearchFilterKey(key: SearchFilters);
|
|
48
|
+
protected get searchText(): string;
|
|
38
49
|
renderControl(): JSX.Element;
|
|
39
50
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IWebFrameDirectorySearchPanelOptions } from "@docsvision/webclient/BackOffice/IWebFrameDirectorySearchPanelOptions";
|
|
3
|
+
import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
3
4
|
import { ISearchRequest } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
4
5
|
import { WebFrameDirectorySearchPanelState } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanel";
|
|
5
6
|
export declare class WebFrameDirectorySearchPanelLogic {
|
|
@@ -15,22 +16,30 @@ import("effector").Store<boolean>;
|
|
|
15
16
|
import("effector").Event<boolean>;
|
|
16
17
|
searchButtonClick:
|
|
17
18
|
import("effector").Event<
|
|
19
|
+
import("react").MouseEvent<Element, MouseEvent>>;
|
|
20
|
+
clearButtonClick:
|
|
21
|
+
import("effector").Event<
|
|
18
22
|
import("react").MouseEvent<Element, MouseEvent>>;
|
|
19
23
|
$searchFilters:
|
|
20
|
-
import("effector").Store<
|
|
24
|
+
import("effector").Store<ISearchFilterEntry[]>;
|
|
21
25
|
$searchPlaceholder:
|
|
22
26
|
import("effector").Store<string>;
|
|
23
27
|
$currentSearchFilterKey:
|
|
24
|
-
import("effector").Store<
|
|
28
|
+
import("effector").Store<SearchFilters>;
|
|
25
29
|
onSearchFilterChange:
|
|
26
|
-
import("effector").Event<
|
|
30
|
+
import("effector").Event<SearchFilters>;
|
|
27
31
|
$searchText:
|
|
28
32
|
import("effector").Store<string>;
|
|
33
|
+
$isNotEmpty:
|
|
34
|
+
import("effector").Store<boolean>;
|
|
29
35
|
onSearchTextChange:
|
|
30
36
|
import("effector").Event<string>;
|
|
31
37
|
onSearchTextKeyPressed:
|
|
32
38
|
import("effector").Event<
|
|
33
39
|
import("react").KeyboardEvent<any>>;
|
|
40
|
+
onSearchSubmitClick:
|
|
41
|
+
import("effector").Event<
|
|
42
|
+
import("react").MouseEvent<Element, MouseEvent>>;
|
|
34
43
|
startSearch:
|
|
35
44
|
import("effector").Event<ISearchRequest>;
|
|
36
45
|
onSearchStart:
|
|
@@ -5,6 +5,7 @@ export declare class WebFrameDirectorySearchPanelService implements IWebFrameDir
|
|
|
5
5
|
setVisibility: Event<boolean>;
|
|
6
6
|
setActivity: Event<boolean>;
|
|
7
7
|
startSearch: Event<ISearchRequest>;
|
|
8
|
+
clearSearch: Event<void>;
|
|
8
9
|
protected domain:
|
|
9
10
|
import("effector").Domain;
|
|
10
11
|
constructor();
|
|
@@ -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
|
}
|