@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,3 +1,4 @@
|
|
|
1
|
+
import { HandleTabSelection } from "@docsvision/webclient/System/HandleTabSelection";
|
|
1
2
|
import React from "react";
|
|
2
3
|
/** @internal Свойства для {@link ComboBoxTitle} */
|
|
3
4
|
export interface IComboBoxTitleProps {
|
|
@@ -22,6 +23,7 @@ export interface IComboBoxTitleProps {
|
|
|
22
23
|
*/
|
|
23
24
|
export declare class ComboBoxTitle extends React.Component<IComboBoxTitleProps, undefined> {
|
|
24
25
|
el: HTMLAnchorElement;
|
|
26
|
+
tabHandler: HandleTabSelection;
|
|
25
27
|
/**
|
|
26
28
|
* При клике на заголовок
|
|
27
29
|
*/
|
|
@@ -29,6 +31,8 @@ export declare class ComboBoxTitle extends React.Component<IComboBoxTitleProps,
|
|
|
29
31
|
protected onKeyDown: (e: React.KeyboardEvent<any>) => void;
|
|
30
32
|
/** @internal */
|
|
31
33
|
get tabIndex(): 0 | -1;
|
|
34
|
+
componentDidMount(): void;
|
|
35
|
+
componentWillUnmount(): void;
|
|
32
36
|
/** @internal */
|
|
33
37
|
render(): JSX.Element;
|
|
34
38
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IComponentProps } from '@docsvision/web/core/component';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export interface ISelectedRangeDate {
|
|
5
|
+
start: Moment;
|
|
6
|
+
end: Moment;
|
|
7
|
+
}
|
|
8
|
+
/** Визуальные компоненты {@see DateRangePicker}. */
|
|
9
|
+
export declare class DateRangePickerView {
|
|
10
|
+
day: React.MemoExoticComponent<(props:
|
|
11
|
+
import("./components/DateRangePickerDay").DateRangePickerDayProps) => JSX.Element>;
|
|
12
|
+
toolbar: React.MemoExoticComponent<(props:
|
|
13
|
+
import("./components/DateRangePickerToolbar").DateRangePickerToolbarProps) => JSX.Element>;
|
|
14
|
+
}
|
|
15
|
+
/** Свойства {@see DateRangePicker} */
|
|
16
|
+
export interface DateRangePickerProps extends IComponentProps<never, DateRangePickerView> {
|
|
17
|
+
/** Текущее значение */
|
|
18
|
+
value: ISelectedRangeDate;
|
|
19
|
+
/** Изменение значения */
|
|
20
|
+
onChange(selectedRangeDate: ISelectedRangeDate): void;
|
|
21
|
+
/** Локаль */
|
|
22
|
+
locale?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function DateRangePicker(props: DateRangePickerProps): JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateRangePicker } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DateRangePicker;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const OneDay: () => JSX.Element;
|
|
9
|
+
export declare const FewDays: () => JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './DateRangePickerDay.css';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Moment } from 'moment';
|
|
4
|
+
import { ISelectedRangeDate } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
|
|
5
|
+
export interface DateRangePickerDayProps {
|
|
6
|
+
date: Moment;
|
|
7
|
+
currentMonth: boolean;
|
|
8
|
+
rangeDate: ISelectedRangeDate;
|
|
9
|
+
selectableStartDate: Moment;
|
|
10
|
+
selectableEndDate: Moment;
|
|
11
|
+
setSelectableEndDate(date: Moment): void;
|
|
12
|
+
selectDate(date: Moment): void;
|
|
13
|
+
}
|
|
14
|
+
/** Стилевой контейнер дня {@see DateRangePicker}. */
|
|
15
|
+
export declare const DateRangePickerDay: React.MemoExoticComponent<(props: DateRangePickerDayProps) => JSX.Element>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { ToolbarComponentProps } from '@docsvision/material-ui-pickers/Picker/Picker';
|
|
4
|
+
import { ISelectedRangeDate } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
|
|
5
|
+
import './DateRangePickerToolbar.css';
|
|
6
|
+
export interface DateRangePickerToolbarProps extends ToolbarComponentProps {
|
|
7
|
+
locale: string;
|
|
8
|
+
rangeDate: ISelectedRangeDate;
|
|
9
|
+
selectableStartDate: Moment;
|
|
10
|
+
setOpenViewYear(state: boolean): void;
|
|
11
|
+
selectCurrentDate(): void;
|
|
12
|
+
}
|
|
13
|
+
/** Стилевой контейнер панели настроек {@see DateRangePicker}. */
|
|
14
|
+
export declare const DateRangePickerToolbar: React.MemoExoticComponent<(props: DateRangePickerToolbarProps) => JSX.Element>;
|
|
@@ -14,7 +14,7 @@ export interface ISortableProps {
|
|
|
14
14
|
containment?: HTMLElement | JQuery | 'parent' | 'document' | 'window' | string;
|
|
15
15
|
/** Стиль курсора во время изменения порядка элементов {@link http://api.jqueryui.com/sortable/#option-cursor} */
|
|
16
16
|
cursor?: string;
|
|
17
|
-
/**
|
|
17
|
+
/** Отключение сортировки {@link http://api.jqueryui.com/sortable/#option-disabled} */
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
/** Должен ли хелпер иметь размер {@link http://api.jqueryui.com/sortable/#option-forceHelperSize} */
|
|
20
20
|
forceHelperSize?: boolean;
|
|
@@ -19,6 +19,15 @@ export interface ITreeBaseProps<TreeNodeDataT extends ITreeNodeData> {
|
|
|
19
19
|
/** Callack function, that called when user press down/up arrows, and focus reached top or bottom of the node list. */
|
|
20
20
|
focusOut?: (directionUp: boolean) => void;
|
|
21
21
|
treeHeight: number;
|
|
22
|
+
/**
|
|
23
|
+
* Функция, которая получает индекс элемента и известные кэшированные размеры элементов и возвращает
|
|
24
|
+
* примерный размер (высоту для вертикальных списков или ширину для горизонтальных) элемента в переданном индексе.
|
|
25
|
+
* Используется только с типом variable, когда свойство itemSizeGetter не определено.
|
|
26
|
+
* Используйте это свойство, если вы не знаете точный размер элемента перед его отрисовкой, но хотите, чтобы он всё-равно занимал место в списке.
|
|
27
|
+
*/
|
|
28
|
+
itemSizeEstimator?: (index: number, cache: {
|
|
29
|
+
[index: number]: number;
|
|
30
|
+
}) => number;
|
|
22
31
|
}
|
|
23
32
|
/** See ReactList for help */
|
|
24
33
|
export declare enum VirtualizationType {
|
|
@@ -3,6 +3,7 @@ import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
|
3
3
|
import { $CardTimestamp } from '@docsvision/webclient/System/LayoutServices';
|
|
4
4
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
5
5
|
export declare class ApprovalFilePanel {
|
|
6
|
+
static ControlTypeName: string;
|
|
6
7
|
private static FileLinkCssClass;
|
|
7
8
|
private static FileSettingsCssClass;
|
|
8
9
|
private static FileItemCssClass;
|
|
@@ -52,7 +52,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
52
52
|
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
53
53
|
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
54
54
|
getSelection():
|
|
55
|
-
import("C:/
|
|
55
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
56
56
|
clearSelection(cardIds?: string[]): void;
|
|
57
57
|
selectionChanged: SimpleEvent<any>;
|
|
58
58
|
protected addActionButtons(header: HTMLElement): void;
|
package/Legacy/GridOptions.d.ts
CHANGED
package/Legacy/ModalWindow.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare class ModalWindow {
|
|
|
49
49
|
private CreateModalCancelButton;
|
|
50
50
|
private Destroy;
|
|
51
51
|
static ShowErrorDialog(message: string, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
52
|
-
static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
52
|
+
static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions, services?: Optional<$RootCssClass> & $DeviceType): ModalWindow;
|
|
53
53
|
static ShowInformationDialog(message: string, headerText?: string, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
54
54
|
static ShowWarningDialog(message: string, headerText?: string, okButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
55
55
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
2
2
|
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
3
3
|
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
4
|
-
import { RouteSemantics } from
|
|
4
|
+
import { RouteSemantics } from "@docsvision/webclient/System/RouteSemantics";
|
|
5
5
|
/** @internal */
|
|
6
6
|
export declare class NavBarRouteHandler implements IRouteHandler<any> {
|
|
7
7
|
name: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
2
|
import { ISearchDropdown } from "@docsvision/webclient/Legacy/ISearchDropdown";
|
|
3
|
+
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
3
4
|
/** @internal */
|
|
4
5
|
export declare class SearchDropdown implements ISearchDropdown {
|
|
6
|
+
private services?;
|
|
5
7
|
private selectedOptionMobile;
|
|
6
8
|
private get dropdown();
|
|
7
9
|
private get optionList();
|
|
@@ -11,7 +13,7 @@ export declare class SearchDropdown implements ISearchDropdown {
|
|
|
11
13
|
private get selectedValue();
|
|
12
14
|
private callback;
|
|
13
15
|
private DROP_DOWN_ICO;
|
|
14
|
-
constructor(callback: (oldVal?: GenModels.SearchContextOption, newVal?: GenModels.SearchContextOption) => void);
|
|
16
|
+
constructor(callback: (oldVal?: GenModels.SearchContextOption, newVal?: GenModels.SearchContextOption) => void, services?: $WebFrameSearchPanel);
|
|
15
17
|
UpdateDropDownVisibility(): void;
|
|
16
18
|
ShowOptions(selectedOption: string, displayOptions?: Array<GenModels.SearchContextOption>): void;
|
|
17
19
|
Hide(): void;
|
package/Legacy/Sidebar.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
|
5
5
|
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
6
6
|
import { $ContentElementProvider } from '@docsvision/webclient/Platform/$ContentElementProvider';
|
|
7
7
|
import { WebFrameMainMenuContainer } from '@docsvision/webclient/Platform/WebFrameMainMenuContainer';
|
|
8
|
+
import "../../Polyfills/ie-polyfill";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export declare class Sidebar implements ISidebar {
|
|
10
11
|
private services;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $BarcodeSearchButtonController, $BusinessCalendarController, $ClientLogController, $CommentsController, $LayoutAgreementController, $LayoutCardController, $LayoutCardKindController, $LayoutController, $LayoutDirectoryDesignerController, $LayoutDocumentController, $LayoutFileApiController, $LayoutFileController, $LayoutFolderController, $LayoutHistoryController, $LayoutLinksController, $LayoutPartnerController, $LayoutStaffController, $LayoutTasksController, $LayoutUserSettingsController, $LocalizationController, $PagesController, $CardKindController, $DirectoryDesignerRowController, $EmployeeController, $DepartmentController, $PartnerEmployeeController, $SignatureController, $GridController, $CardDataController, $LayoutRowController, $StaffDirectoryItemsController, $FilePickerController, $TaskGroupPerformersController, $DataVisualizationController, $TasksTreeController, $CardsPresentationController, $CardOperationsController, $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
1
|
+
import { $BarcodeSearchButtonController, $BusinessCalendarController, $ClientLogController, $CommentsController, $LayoutAgreementController, $LayoutCardController, $LayoutCardKindController, $LayoutController, $LayoutDirectoryDesignerController, $LayoutDocumentController, $LayoutFileApiController, $LayoutFileController, $LayoutFolderController, $LayoutHistoryController, $LayoutLinksController, $LayoutPartnerController, $LayoutStaffController, $LayoutTasksController, $LayoutUserSettingsController, $LocalizationController, $PagesController, $CardKindController, $DirectoryDesignerRowController, $EmployeeController, $DepartmentController, $PartnerEmployeeController, $SignatureController, $GridController, $CardDataController, $LayoutRowController, $StaffDirectoryItemsController, $FilePickerController, $TaskGroupPerformersController, $DataVisualizationController, $TasksTreeController, $CardController, $CardsPresentationController, $CardOperationsController, $SecurityController, $BaseCardController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
3
3
|
import { $EmployeesController } from "@docsvision/webclient/Legacy/EmployeesController";
|
|
4
4
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
5
|
-
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController;
|
|
5
|
+
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController & $CardController & $BaseCardController;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { $LayoutCardController, $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $LayoutCardController, $LayoutFileApiController, $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
4
|
import { BaseRazorControl, BaseRazorControlParams, BaseRazorControlState } from "@docsvision/webclient/Legacy/BaseRazorControl";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
@@ -14,12 +14,18 @@ import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
|
14
14
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
15
15
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
16
16
|
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
17
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
18
|
+
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
19
|
+
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
20
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
17
21
|
/**@internal */
|
|
18
22
|
declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutFileController & $CardId & $DeviceType;
|
|
19
23
|
/** @internal */
|
|
20
24
|
export declare class TaskCardFilePanelParams extends BaseRazorControlParams {
|
|
21
25
|
shadowClass?: boolean;
|
|
22
|
-
|
|
26
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
27
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
28
|
+
services?: $LayoutCardController & $Layout & $Router & $LayoutInfo & $CardTimestamp & $FileService & $FilePreviewServices & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
23
29
|
}
|
|
24
30
|
/** @internal */
|
|
25
31
|
export interface TaskCardFilePanelState extends TaskCardFilePanelParams, BaseRazorControlState {
|
|
@@ -41,6 +47,7 @@ export declare class TaskCardFilePanelRazorControl extends BaseRazorControl<Task
|
|
|
41
47
|
findControlsForUpdateDisclosure: (addOnlyShadowClass?: boolean) => void;
|
|
42
48
|
componentDidMount(): void;
|
|
43
49
|
componentWillUnmount(): void;
|
|
50
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
|
|
44
51
|
componentDidUpdate(prevProps: any): void;
|
|
45
52
|
private updatePreview;
|
|
46
53
|
private addPreviewHandlers;
|
|
@@ -4,8 +4,13 @@ import { BaseRazorControl, BaseRazorControlParams } from "@docsvision/webclient/
|
|
|
4
4
|
import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
6
6
|
import { RequestHelper } from '@docsvision/webclient/System/RequestHelper';
|
|
7
|
-
import { $LayoutCardController, $LayoutController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
-
import { $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
7
|
+
import { $LayoutCardController, $LayoutController, $LayoutFileApiController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
+
import { $CardId, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
9
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
10
|
+
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
11
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
12
|
+
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
13
|
+
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
9
14
|
/** @internal */
|
|
10
15
|
export interface TaskReportPanelRazorControlState extends TaskReportPanelRazorControlParams, BaseControlState {
|
|
11
16
|
loading: boolean;
|
|
@@ -16,7 +21,9 @@ export interface TaskReportPanelRazorControlState extends TaskReportPanelRazorCo
|
|
|
16
21
|
}
|
|
17
22
|
export declare class TaskReportPanelRazorControlParams extends BaseRazorControlParams {
|
|
18
23
|
shadowClass?: boolean;
|
|
19
|
-
|
|
24
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
25
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
26
|
+
services?: $LayoutCardController & $Layout & $LayoutController & $LayoutInfo & $CardId & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
20
27
|
}
|
|
21
28
|
/** @internal */
|
|
22
29
|
export declare class TaskReportPanelRazorControl extends BaseRazorControl<TaskReportPanelRazorControlParams, TaskReportPanelRazorControlState> {
|
|
@@ -28,6 +35,8 @@ export declare class TaskReportPanelRazorControl extends BaseRazorControl<TaskRe
|
|
|
28
35
|
addHandlerToDisclosure: (control: HTMLElement, addOnlyShadowClass?: boolean) => void;
|
|
29
36
|
findControlsForUpdateDisclosure: (addOnlyShadowClass?: boolean) => void;
|
|
30
37
|
componentDidMount(): void;
|
|
38
|
+
componentWillUnmount(): void;
|
|
39
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
|
|
31
40
|
componentDidUpdate(prevProps: any): void;
|
|
32
41
|
mountRazorContent(razorContainer: HTMLElement): void;
|
|
33
42
|
getDisclosureHeader(): string;
|
package/Legacy/Utils.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { IFilePreviewProps } from "@docsvision/webclient/Helpers/FilePreview/Fil
|
|
|
4
4
|
import { DateTimeFormat } from "@docsvision/webclient/Legacy/DateTimeFormat";
|
|
5
5
|
import { $CardId, $CardTimestamp, $ExtendedDataSourceInfos, $RowId } from '@docsvision/webclient/System/LayoutServices';
|
|
6
6
|
import { Optional } from "@docsvision/web/core/services";
|
|
7
|
+
import { StandardRouteSemantics } from "@docsvision/webclient/System/StandardRouteSemantics";
|
|
7
8
|
/** @internal */
|
|
8
9
|
export declare class Helpers {
|
|
9
10
|
constructor();
|
|
@@ -57,7 +58,7 @@ export declare class Helpers {
|
|
|
57
58
|
static Base64Encode(arrayBuffer: any): string;
|
|
58
59
|
static Base64ArrayBuffer(arrayBuffer: any): string;
|
|
59
60
|
static IsEdge(): boolean;
|
|
60
|
-
static SetTooltip(headerFolderName: HTMLElement): void;
|
|
61
|
+
static SetTooltip(headerFolderName: HTMLElement, extraOptions?: any): void;
|
|
61
62
|
static SetTooltipFor(element: HTMLElement, rawText: string, extraOptions?: any): void;
|
|
62
63
|
static DestroyTooltips(headerFolderName: HTMLElement): void;
|
|
63
64
|
static ClearTips(): void;
|
|
@@ -78,6 +79,7 @@ export declare class Helpers {
|
|
|
78
79
|
static deferredToPromise<T>(def: Promise<T>): Promise<T>;
|
|
79
80
|
static getHashCode(str: string): number;
|
|
80
81
|
static FindControlOnLayout: (name: string) => any;
|
|
82
|
+
static CheckRouteSemantic: (semantic: StandardRouteSemantics) => boolean;
|
|
81
83
|
}
|
|
82
84
|
export declare function setHtmlElementText(elem: HTMLElement, text: string): void;
|
|
83
85
|
export declare function getHtmlElementText(elem: HTMLElement): string;
|
|
@@ -265,12 +267,6 @@ export declare class PerformOnce {
|
|
|
265
267
|
perform(func: () => Promise<any> | Promise<any>): Promise<any>;
|
|
266
268
|
}
|
|
267
269
|
/** @internal */
|
|
268
|
-
export declare class CardCommandButtonsHelper {
|
|
269
|
-
static AddRefreshButtonEvents(selectorQuery: string): void;
|
|
270
|
-
static AddEditButtonEvents(selectorQuery: string, widgetId?: string): void;
|
|
271
|
-
static AddDeleteButtonEvents(selectorQuery: string, widgetId?: string): Promise<void>;
|
|
272
|
-
}
|
|
273
|
-
/** @internal */
|
|
274
270
|
export declare class DateTimeHelper {
|
|
275
271
|
static GetLocaleFormat(locale: string): DateTimeFormat;
|
|
276
272
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
2
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
3
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
4
|
+
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
5
|
+
import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
|
|
6
|
+
import { $FullTextSearchEnabled } from "@docsvision/webclient/StandardServices";
|
|
7
|
+
import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
|
|
8
|
+
import { $CompanyLogo } from "@docsvision/webclient/Platform/$CompanyLogo";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare class WebFrameSearchPanelRouteHandler implements IRouteHandler<any> {
|
|
11
|
+
private services;
|
|
12
|
+
name: string;
|
|
13
|
+
constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled & $CompanyLogo);
|
|
14
|
+
private hide;
|
|
15
|
+
mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
|
+
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
|
17
|
+
}
|
package/MainBundle.d.ts
CHANGED
|
@@ -19,3 +19,4 @@ import "@docsvision/webclient/BackOffice/DirectoryValues";
|
|
|
19
19
|
import "@docsvision/webclient/BackOffice/DirectoryTree";
|
|
20
20
|
import "@docsvision/webclient/BackOffice/DirectorySearchResult";
|
|
21
21
|
import "@docsvision/webclient/System/ControlTemplate";
|
|
22
|
+
import "@docsvision/webclient/System/ServiceTemplateService";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
1
2
|
import { BasicEvent } from '@docsvision/webclient/System/BasicEvent';
|
|
2
3
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
3
4
|
/** Информация об групповой операции в папке. */
|
|
@@ -17,6 +18,8 @@ export interface IBatchOperationInfo {
|
|
|
17
18
|
export interface IBatchOperationsService {
|
|
18
19
|
readonly operations: IBatchOperationInfo[];
|
|
19
20
|
readonly operationsChanged: BasicEvent<IEventArgs>;
|
|
21
|
+
buttons: GenModels.ControlModel[];
|
|
22
|
+
noBatchOperationsMessage: string;
|
|
20
23
|
register(info: IBatchOperationInfo): any;
|
|
21
24
|
unregister(id: string): any;
|
|
22
25
|
update(id: string, info: IBatchOperationInfo): any;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare enum SystemCacheObjects {
|
|
2
2
|
All = 0,
|
|
3
|
-
ApplicationSettings = 1
|
|
3
|
+
ApplicationSettings = 1,
|
|
4
|
+
UserAvatar = 2
|
|
4
5
|
}
|
|
5
6
|
/** Сервис для управления кешем системных объектов. */
|
|
6
7
|
export interface ICacheManagementService {
|
|
7
8
|
resetCache(objects: SystemCacheObjects): void;
|
|
9
|
+
updateCache(object: SystemCacheObjects, value: unknown): void;
|
|
8
10
|
}
|
|
9
11
|
/** Сервис для управления кешем системных объектов. */
|
|
10
12
|
export declare type $CacheManagement = {
|
|
@@ -1,17 +1,97 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
import { TableCompositionNames, TableCompositions } from '@docsvision/web/components/table/interfaces';
|
|
2
|
+
import { Event, Store } from 'effector';
|
|
3
|
+
import { IComposition } from '@docsvision/web/core/composition';
|
|
3
4
|
export interface ICustomContextMenuOption {
|
|
5
|
+
id: string;
|
|
4
6
|
name: string;
|
|
5
|
-
action: (context: TableCompositions.Row | TableCompositions.HeaderRow) => void;
|
|
7
|
+
action: (context: TableCompositions.Row | TableCompositions.HeaderRow | TableCompositions.Cell) => void;
|
|
8
|
+
composition?: string;
|
|
6
9
|
iconClassName?: string;
|
|
7
|
-
visible?: boolean;
|
|
8
10
|
className?: string;
|
|
11
|
+
visible?: boolean;
|
|
12
|
+
order?: number;
|
|
13
|
+
blockId?: string;
|
|
14
|
+
/** Операция отключена */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface ICustomContextMenuStateData {
|
|
18
|
+
isOpened: boolean;
|
|
19
|
+
className: string;
|
|
20
|
+
eventTarget: CustomMenuEventTarget;
|
|
21
|
+
context: CustomMenuCompositions;
|
|
22
|
+
items: ICustomContextMenuOption[];
|
|
23
|
+
}
|
|
24
|
+
export interface ICustomContextMenuBlock {
|
|
25
|
+
id: string;
|
|
26
|
+
order?: number;
|
|
27
|
+
items?: ICustomContextMenuOption[];
|
|
28
|
+
}
|
|
29
|
+
export interface IParamsItemProvider<TLogic, TView> {
|
|
30
|
+
logic?: TLogic;
|
|
31
|
+
view?: TView;
|
|
32
|
+
}
|
|
33
|
+
export declare type CustomMenuCompositions = TableCompositions.Row | TableCompositions.HeaderRow | TableCompositions.Cell;
|
|
34
|
+
export declare type CustomMenuEventTarget = {
|
|
35
|
+
target: HTMLElement;
|
|
36
|
+
userSelection?: string;
|
|
37
|
+
};
|
|
38
|
+
export declare type CustomMenuStateData = Store<{
|
|
39
|
+
isOpened: boolean;
|
|
40
|
+
items: ICustomContextMenuOption[];
|
|
41
|
+
context: CustomMenuCompositions;
|
|
42
|
+
className: string;
|
|
43
|
+
eventTarget: CustomMenuEventTarget;
|
|
44
|
+
}>;
|
|
45
|
+
export declare type ContextMenuItemsManagementData<T> = {
|
|
46
|
+
[TableCompositionNames.TableHeaderRow]?: T;
|
|
47
|
+
[TableCompositionNames.TableRow]?: T;
|
|
48
|
+
[TableCompositionNames.TableCell]?: T;
|
|
49
|
+
};
|
|
50
|
+
export declare type ContextMenuItemsManagementDataProvider = ContextMenuItemsManagementData<IDataItemProvider[]>;
|
|
51
|
+
export declare type ContextMenuItemsManagementDataFilter = ContextMenuItemsManagementData<IDataItemFilter[]>;
|
|
52
|
+
export interface IDataItem {
|
|
53
|
+
id: string;
|
|
54
|
+
composition: string;
|
|
55
|
+
}
|
|
56
|
+
export interface IDataItemProvider extends IDataItem {
|
|
57
|
+
getItemsToAdd: (context?: IComposition<any, any, any>) => ICustomContextMenuOption[];
|
|
58
|
+
}
|
|
59
|
+
export interface IDataItemFilter extends IDataItem {
|
|
60
|
+
getItemsToHide: (context: IComposition<any, any, any>) => string[];
|
|
9
61
|
}
|
|
10
62
|
/** Сервис для создания опций кастомного контекстного меню. */
|
|
11
63
|
export interface IContextMenuOptionsService {
|
|
12
|
-
|
|
64
|
+
/** Состояние контекстного меню */
|
|
65
|
+
$stateData: CustomMenuStateData;
|
|
66
|
+
/** Устанавлиет значение флага меню открыто/закрыто */
|
|
67
|
+
setOpened: Event<boolean>;
|
|
68
|
+
/** Устанавливает значение конекста, в котором было открыто меню */
|
|
69
|
+
setContext: Event<CustomMenuCompositions>;
|
|
70
|
+
/** Устанавливает значение DOM-элемента, на котором было открыто меню */
|
|
71
|
+
setEventTarget: Event<CustomMenuEventTarget>;
|
|
72
|
+
/** Пользовательский класс контекстного меню */
|
|
13
73
|
menuClassName?: string;
|
|
14
|
-
|
|
74
|
+
/** Данные функций-провайдеров контекстного меню в соответсвии с композицией */
|
|
75
|
+
readonly $itemProviders: Store<ContextMenuItemsManagementDataProvider>;
|
|
76
|
+
/** Данные функций-фильтров контекстного меню в соответсвии с композицией */
|
|
77
|
+
readonly $itemFilters: Store<ContextMenuItemsManagementDataFilter>;
|
|
78
|
+
/** Добавляет функцию-провайдер пунктов контекстного меню */
|
|
79
|
+
addItemProvider?: (data: IDataItemProvider) => void;
|
|
80
|
+
/** Удаляет функцию-провайдер пунктов контекстного меню */
|
|
81
|
+
deleteItemProvider?: (functionId?: string) => void;
|
|
82
|
+
/** Добавляет функцию-фильтр пунктов контекстного меню */
|
|
83
|
+
addItemFilter?: (data: IDataItemFilter) => void;
|
|
84
|
+
/** Удаляет функцию-фильтр пунктов контекстного меню */
|
|
85
|
+
deleteItemFilter?: (functionId?: string) => void;
|
|
86
|
+
/** Регистрирует блоки контекстного меню */
|
|
87
|
+
registerBlocks?: (blocks: ICustomContextMenuBlock[]) => void;
|
|
88
|
+
/** Удаляет зарегистрированные блоки контекстного меню */
|
|
89
|
+
unregisterBlocks?: (blockIds: string[]) => void;
|
|
90
|
+
getMenuItems?: (context: IComposition<any, any, any>) => ICustomContextMenuOption[];
|
|
91
|
+
/** Проверка провайдера в заданной композиции */
|
|
92
|
+
isAddedProvider?: (id: string, compositionName: string) => boolean;
|
|
93
|
+
/** Проверка фильтра в заданной композиции */
|
|
94
|
+
isAddedFilter?: (id: string, compositionName: string) => boolean;
|
|
15
95
|
}
|
|
16
96
|
/** Сервис для создания опций кастомного контекстного меню. */
|
|
17
97
|
export declare type $ContextMenuOptions = {
|
|
@@ -12,6 +12,8 @@ export interface ICurrentFolderService {
|
|
|
12
12
|
readonly parentFolders?: string[];
|
|
13
13
|
readonly refreshTimeout?: number;
|
|
14
14
|
readonly forceVirtualFolderSearch?: boolean;
|
|
15
|
+
readonly searchId?: string;
|
|
16
|
+
readonly systemFolder?: GenModels.SystemFolders;
|
|
15
17
|
}
|
|
16
18
|
/** Сервис информации о текущей папке. */
|
|
17
19
|
export declare type $CurrentFolder = {
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
2
|
-
import { ICommonFolderInfo } from '@docsvision/webclient/Platform/ICommonFolderInfo';
|
|
3
2
|
import { IFolderDataLoader } from '@docsvision/webclient/Platform/IFolderDataLoader';
|
|
4
3
|
import { IFolderDataLoadingPlugin } from '@docsvision/webclient/Platform/IFolderDataLoadingPlugin';
|
|
5
4
|
import { IFolderLoadRequest } from './IFolderLoadRequest';
|
|
6
5
|
import { SortDirection } from '@docsvision/web/components/table/plugins/sort';
|
|
6
|
+
import { IColumnsWidth } from '@docsvision/web/components/table/plugins/resize-column/$ResizeColumn';
|
|
7
7
|
import { Store } from 'effector';
|
|
8
|
+
import { IFilterActiveColumn } from '@docsvision/web/components/table/plugins/filter';
|
|
9
|
+
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
10
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
8
11
|
export interface IFolderDataLoadingService {
|
|
9
|
-
init(
|
|
12
|
+
init(): void;
|
|
10
13
|
addPlugin(resolver: IFolderDataLoadingPlugin): void;
|
|
11
14
|
removePlugin(id: string): void;
|
|
12
15
|
getPlugins(): IFolderDataLoadingPlugin[];
|
|
@@ -14,8 +17,15 @@ export interface IFolderDataLoadingService {
|
|
|
14
17
|
readonly pageSize: number;
|
|
15
18
|
loadData(options?: IFolderLoadRequest, loader?: IFolderDataLoader): Promise<void>;
|
|
16
19
|
sortBy(columnId: string, sortDirection: SortDirection): Promise<void>;
|
|
20
|
+
filterBy(filterData: IFilterActiveColumn[]): Promise<any>;
|
|
17
21
|
setDefaultDataLoader(loader: IFolderDataLoader): void;
|
|
22
|
+
downloadExcelReport(): void;
|
|
23
|
+
saveColumnSettings(columns: IColumnsWidth[]): Promise<void>;
|
|
24
|
+
savePresentation(tablePresentation: GenModels.TablePresentation): Promise<void>;
|
|
25
|
+
resetUserSettings(): Promise<void>;
|
|
18
26
|
updateUserSettings(loader?: IFolderDataLoader): Promise<void>;
|
|
27
|
+
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
28
|
+
saveGroupingPath(path: IGroupingPathItem[]): Promise<void>;
|
|
19
29
|
}
|
|
20
30
|
export declare type $FolderDataLoading = {
|
|
21
31
|
folderDataLoading: IFolderDataLoadingService;
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { IColumn, IRow, ITableData, ITableDataLoadRequest } from '@docsvision/web/components/table/interfaces';
|
|
2
2
|
import { SortDirection } from '@docsvision/web/components/table/plugins/sort';
|
|
3
|
+
import { IFilterActiveColumn } from '@docsvision/web/components/table/plugins/filter';
|
|
4
|
+
import { ICustomContextMenuBlock, IDataItemProvider, IParamsItemProvider } from '@docsvision/webclient/Platform/$ContextMenuOptions';
|
|
5
|
+
import { IComposition } from '@docsvision/web/core/composition';
|
|
6
|
+
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
7
|
+
import { Store } from 'effector';
|
|
8
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
9
|
export interface IFolderGridService {
|
|
10
|
+
$groupingReadonly: Store<boolean>;
|
|
11
|
+
setGroupingReadonly(available: boolean): void;
|
|
12
|
+
getContextMenuBlockNames: () => {
|
|
13
|
+
gridOperation: string;
|
|
14
|
+
textOperation: string;
|
|
15
|
+
linkOperation: string;
|
|
16
|
+
};
|
|
4
17
|
onRowClick(row: IRow): void;
|
|
18
|
+
backgroundOpacity: number;
|
|
19
|
+
defaultTablePresentation: GenModels.TablePresentation;
|
|
5
20
|
onSortRequest(column: IColumn, sortDirection: SortDirection): void;
|
|
21
|
+
onFilterRequest(filterData: IFilterActiveColumn[]): void;
|
|
6
22
|
onLoadData(data?: ITableData, options?: ITableDataLoadRequest): Promise<void>;
|
|
23
|
+
getContextMenuBlocks(): ICustomContextMenuBlock[];
|
|
24
|
+
getContextMenuItemProviders(params?: IParamsItemProvider<any, any>, context?: IComposition<any, any, any>): IDataItemProvider[];
|
|
25
|
+
onSearchRequest(): Promise<void>;
|
|
26
|
+
onLoadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
27
|
+
onReloadWithNewSettings(): Promise<void>;
|
|
28
|
+
getGroupingAvailable(): boolean;
|
|
29
|
+
onGroupingPathChanged(path: IGroupingPathItem[]): void;
|
|
30
|
+
refreshPage(): void;
|
|
7
31
|
}
|
|
8
32
|
export declare type $FolderGrid = {
|
|
9
33
|
folderGrid: IFolderGridService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HeaderHoverPanelPlugin } from '@docsvision/web/components/table/plugins/hover-panel';
|
|
2
|
+
export interface IHoverPanelService {
|
|
3
|
+
getHoverPanelPlugins(defaultPlugins?: HeaderHoverPanelPlugin[]): HeaderHoverPanelPlugin[];
|
|
4
|
+
}
|
|
5
|
+
export declare type $HoverPanel = {
|
|
6
|
+
hoverPanel: IHoverPanelService;
|
|
7
|
+
};
|
|
8
|
+
export declare const $HoverPanel: string | ((model?: $HoverPanel) => IHoverPanelService);
|