@docsvision/webclient 5.17.0-beta.10 → 5.17.0-beta.11
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/BackOffice/ChangeBoundaryValuesSection.d.ts +4 -0
- package/BackOffice/ChangeSectionValues.d.ts +4 -0
- package/BackOffice/ConvertSizetoMegabytes.d.ts +1 -0
- package/BackOffice/EmailButton.d.ts +21 -0
- package/BackOffice/EmailButton.stories.d.ts +10 -0
- package/BackOffice/EmailButtonContainer.d.ts +8 -0
- package/BackOffice/EmailButtonFiles.d.ts +7 -0
- package/BackOffice/EmailButtonItem.d.ts +12 -0
- package/BackOffice/EmailButtonLogic.d.ts +42 -0
- package/BackOffice/EmailButtonOptions.d.ts +36 -0
- package/BackOffice/EmailButtonSectionId.d.ts +2 -0
- package/BackOffice/EmailButtonSelectedSize.d.ts +9 -0
- package/BackOffice/EmailButtonView.d.ts +19 -0
- package/BackOffice/GetEmlUrl.d.ts +11 -0
- package/BackOffice/ITaskTableSorting.d.ts +27 -0
- package/BackOffice/InitialCheckboxes.d.ts +4 -0
- package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
- package/BackOffice/SortingRows.d.ts +6 -0
- package/BackOffice/TasksTable.d.ts +3 -0
- package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
- package/BackOffice/TasksTableLogic.d.ts +8 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +100 -4
- package/Generated/DocsVision.WebClient.Models.d.ts +232 -24
- package/Helpers/IconButton.d.ts +2 -0
- package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
- package/Helpers/Menu/MobileMenuBar.d.ts +1 -0
- package/Helpers/MessageBox/MessageBox.d.ts +6 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/MainBundle.d.ts +2 -2
- package/Platform/$AggregatesCheckbox.d.ts +19 -0
- package/Platform/$CurrentFolder.d.ts +1 -0
- package/Platform/$FileDownload.d.ts +2 -1
- package/Platform/$FolderDataLoading.d.ts +2 -0
- package/Platform/$FolderGrid.d.ts +8 -7
- package/Platform/$HoverPanel.d.ts +1 -1
- package/Platform/$SearchText.d.ts +11 -0
- package/Platform/$ToolbarDaughterControls.d.ts +20 -0
- package/Platform/AggregateItemCheckbox.d.ts +12 -0
- package/Platform/Aggregates.stories.d.ts +8 -0
- package/Platform/AggregatesCheckbox.d.ts +10 -0
- package/Platform/AggregatesCheckboxPlugins.d.ts +11 -0
- package/Platform/AggregatesCheckboxService.d.ts +37 -0
- package/Platform/AggregatesExtendedData.d.ts +4 -0
- package/Platform/AggregatesGroup.d.ts +13 -0
- package/Platform/AggregatesListItem.d.ts +5 -0
- package/Platform/AggregatesNotAvailable.d.ts +6 -0
- package/Platform/AggregatesPanelHeader.d.ts +6 -0
- package/Platform/AggregatesRequestResolver.d.ts +12 -0
- package/Platform/AggregatesResponseResolver.d.ts +10 -0
- package/Platform/AggregatesTree.d.ts +17 -0
- package/Platform/AggregatesTreeLoader.d.ts +2 -0
- package/Platform/AggregatesUtils.d.ts +5 -0
- package/Platform/ContextMenu.d.ts +7 -1
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +3 -1
- package/Platform/DeleteBatchOperation.d.ts +31 -0
- package/Platform/DeleteBatchOperationImpl.d.ts +23 -0
- package/Platform/DownloadBatchOperationFileInfoCard.d.ts +7 -0
- package/Platform/DownloadDocumentFileMode.d.ts +5 -0
- package/Platform/DownloadFilesBatchOperation.d.ts +36 -0
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +26 -0
- package/Platform/ExportPlugin.d.ts +10 -4
- package/Platform/Favorite.d.ts +22 -0
- package/Platform/FavoritesPageRouteHandler.d.ts +18 -0
- package/Platform/FavoritesRouteHandler.d.ts +18 -0
- package/Platform/FileDownloadService.d.ts +2 -1
- package/Platform/FolderDataContext.d.ts +4 -1
- package/Platform/FolderDataLoadingService.d.ts +10 -6
- package/Platform/FolderGrid.d.ts +3 -1
- package/Platform/FolderGridBatchOperationsNode.d.ts +2 -1
- package/Platform/FolderGridService.d.ts +3 -2
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderRouteTypeMapper.d.ts +1 -0
- package/Platform/HoverPanelService.d.ts +2 -2
- package/Platform/IAggregates.d.ts +34 -0
- package/Platform/ICommonFolderInfo.d.ts +1 -0
- package/Platform/IFavoritesPageRouteData.d.ts +6 -0
- package/Platform/IFavoritesRouteData.d.ts +7 -0
- package/Platform/IFileHasSignature.d.ts +4 -0
- package/Platform/IFileInfo.d.ts +5 -0
- package/Platform/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderLoadRequest.d.ts +2 -1
- package/Platform/LayoutIconButton.d.ts +2 -0
- package/Platform/LayoutIconButtonImpl.d.ts +1 -0
- package/Platform/{MoveShortcutsBatchOperation.d.ts → MoveShortcutBatchOperation.d.ts} +5 -5
- package/Platform/{MoveShortcutsBatchOperationImpl.d.ts → MoveShortcutBatchOperationImpl.d.ts} +5 -5
- package/Platform/ReadAllPlugin.d.ts +10 -5
- package/Platform/ReadBatchOperation.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +10 -4
- package/Platform/ResetSettingsPlugin.d.ts +10 -4
- package/Platform/SearchResultsRequestResolver.d.ts +6 -0
- package/Platform/SearchTextProvider.d.ts +7 -0
- package/Platform/SearchTextService.d.ts +10 -0
- package/Platform/SettingsPlugin.d.ts +12 -7
- package/Platform/SettingsPopup.d.ts +4 -2
- package/Platform/SettingsPopupLogic.d.ts +9 -0
- package/Platform/SettingsPopupRequestResolver.d.ts +2 -1
- package/Platform/ShowAllButton.d.ts +3 -1
- package/Platform/TestUtils.d.ts +10 -1
- package/Platform/ToggleArrowIcon.d.ts +5 -0
- package/Platform/ToolbarDaughterControl.d.ts +18 -0
- package/Platform/ToolbarDaughterControlImpl.d.ts +14 -0
- package/Platform/ToolbarDaughterControlsPlugin.d.ts +6 -0
- package/Platform/ToolbarDaughterControlsService.d.ts +13 -0
- package/Platform/WebFrameSearchPanel.d.ts +5 -4
- package/Platform/WebFrameUserPanel.d.ts +4 -2
- package/Platform/filterViews.d.ts +3 -0
- package/StandardServices.d.ts +3 -1
- package/System/$LastSearchResponse.d.ts +13 -0
- package/System/$PollService.d.ts +10 -0
- package/System/ButtonPositionsSelectionUtils.d.ts +2 -1
- package/System/GridAggregatesModelStub.d.ts +13 -0
- package/System/LastSearchResponseService.d.ts +19 -0
- package/System/LayoutCardControllerStub.d.ts +1 -1
- package/System/Poll.d.ts +10 -0
- package/System/PollService.d.ts +27 -0
- package/System/ResourcesStub.d.ts +2 -1
- package/System/StandardRoutes.d.ts +4 -0
- package/package.json +1 -1
- package/Platform/$PluginTemplate.d.ts +0 -12
- package/Platform/PluginTemplateExtendedData.d.ts +0 -4
- package/Platform/PluginTemplatePlugins.d.ts +0 -15
- package/Platform/PluginTemplateService.d.ts +0 -11
- package/Platform/Settings.d.ts +0 -3
- package/Platform/TemplateRequestResolver.d.ts +0 -12
- package/Platform/TemplateResponseResolver.d.ts +0 -11
- package/System/$ServiceTemplate.d.ts +0 -16
- package/System/ControlTemplate.d.ts +0 -23
- package/System/ControlTemplate.stories.d.ts +0 -9
- package/System/ControlTemplateContainer.d.ts +0 -7
- package/System/ControlTemplateEffect.d.ts +0 -3
- package/System/ControlTemplateFrame.d.ts +0 -8
- package/System/ControlTemplateLogic.d.ts +0 -17
- package/System/ControlTemplateOptions.d.ts +0 -30
- package/System/ControlTemplateText.d.ts +0 -7
- package/System/ControlTemplateView.d.ts +0 -10
- package/System/ServiceTemplateService.d.ts +0 -13
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
import './AggregatesNotAvailable.css';
|
|
4
|
+
export interface IAggregatesNotAvailableProps extends HtmlProps.div {
|
|
5
|
+
}
|
|
6
|
+
export declare const AggregatesNotAvailable: (props: IAggregatesNotAvailableProps) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IFolderDataLoadingPlugin } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
2
|
+
import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
5
|
+
import { IFolderLoadRequest } from "@docsvision/webclient/Platform/IFolderLoadRequest";
|
|
6
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
7
|
+
export declare class AggregatesRequestResolver implements IFolderDataLoadingPlugin {
|
|
8
|
+
id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
order: PluginOrder;
|
|
11
|
+
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $LastSearchResponse): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IFolderDataLoadingPlugin, ResponseResolveResult } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
2
|
+
import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
5
|
+
export declare class AggregatesResponseResolver implements IFolderDataLoadingPlugin {
|
|
6
|
+
id: string;
|
|
7
|
+
description: string;
|
|
8
|
+
order: PluginOrder;
|
|
9
|
+
resolveResponse(data: ITableData, response: GenModels.GridViewModel): Promise<void | ResponseResolveResult>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IAggregatesState, IAggregate, ISelectItemData } from "@docsvision/webclient/Platform/IAggregates";
|
|
4
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
5
|
+
import { IAggregatesTextResources } from "@docsvision/webclient/Platform/AggregatesCheckbox";
|
|
6
|
+
import "./AggregatesTree.css";
|
|
7
|
+
export interface IAggregateTreeProps {
|
|
8
|
+
/** Дерево группировки. Значение null означает, что данные еще в процессе загрузки. */
|
|
9
|
+
aggregates?: IAggregate[] | null;
|
|
10
|
+
textResources: IAggregatesTextResources;
|
|
11
|
+
aggregatesState?: IAggregatesState;
|
|
12
|
+
composition?: IComposition;
|
|
13
|
+
toggleAggregate?: (item: IAggregate) => void;
|
|
14
|
+
onItemSelect?: (data: ISelectItemData) => void;
|
|
15
|
+
onLoadMoreItems?: (aggregates: GenModels.GridAggregateModel[]) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const AggregatesTree: ({ aggregates, aggregatesState, ...props }: IAggregateTreeProps) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { IAggregate } from "@docsvision/webclient/Platform/IAggregates";
|
|
3
|
+
export declare const NUMBER_OF_AGGREGATE_ITEMS_IN_ONE_GROUP = 7;
|
|
4
|
+
export declare const setMainAggregateFirst: (aggregates: IAggregate[] | null) => IAggregate[];
|
|
5
|
+
export declare const prepareToShowByGroups: (items: GenModels.GridAggregateValue[], numberOfExpandedGroups: number) => GenModels.GridAggregateValue[];
|
|
@@ -6,6 +6,7 @@ import { $TableDom } from '@docsvision/web/components/table/plugins/table-dom';
|
|
|
6
6
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
7
7
|
import AlloyFinger from "alloyfinger";
|
|
8
8
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
9
|
+
import { $CheckboxService } from "@docsvision/web/components/table/plugins/checkbox";
|
|
9
10
|
export declare enum RowType {
|
|
10
11
|
TableHeaderRowItem = 0,
|
|
11
12
|
TableRowItem = 1
|
|
@@ -23,25 +24,30 @@ export interface ITableRowItemProps {
|
|
|
23
24
|
export interface IAlloy {
|
|
24
25
|
finger?: AlloyFinger;
|
|
25
26
|
}
|
|
26
|
-
declare type $ContextMenuServices = $ScrollContainer & $TableDom & $ContextMenuOptions & $DeviceType;
|
|
27
|
+
declare type $ContextMenuServices = $ScrollContainer & $TableDom & $ContextMenuOptions & $DeviceType & $CheckboxService;
|
|
27
28
|
export declare class ContextMenu {
|
|
28
29
|
private node;
|
|
29
30
|
private composition;
|
|
30
31
|
private static mMenuBarsContainer;
|
|
32
|
+
private ACTIVE_ROW_CLASSNAME;
|
|
31
33
|
private isMenuExpanded;
|
|
32
34
|
private mContainer;
|
|
33
35
|
private pageCoordinates;
|
|
34
36
|
private alloy;
|
|
37
|
+
private targetRow;
|
|
35
38
|
private static getMenuBarsContainer;
|
|
36
39
|
constructor(node: HTMLElement, composition: IComposition<any, unknown, $ContextMenuServices & $Domain>);
|
|
37
40
|
static Setup(node: HTMLElement, composition: IComposition<any, unknown, $ContextMenuServices & $Domain>): void;
|
|
38
41
|
renderContextMenu(): JSX.Element;
|
|
39
42
|
onShow(): void;
|
|
43
|
+
private shouldShow;
|
|
44
|
+
private isMobile;
|
|
40
45
|
onHide(): void;
|
|
41
46
|
componentWillUnmount(): void;
|
|
42
47
|
openMenu: () => void;
|
|
43
48
|
closeMenu: () => void;
|
|
44
49
|
hideContextMenuHandler: () => void;
|
|
50
|
+
private setRowSelection;
|
|
45
51
|
showContextMenuHandler: (e?: any) => void;
|
|
46
52
|
addContextMenuCustom: (row: HTMLElement) => void;
|
|
47
53
|
removeContextMenuCustom: (row: HTMLElement) => void;
|
|
@@ -6,5 +6,5 @@ export declare class DefaultFolderDataLoader implements IFolderDataLoader {
|
|
|
6
6
|
id: string;
|
|
7
7
|
constructor(services: $GridController);
|
|
8
8
|
load(request: GenModels.CardListRequestModel): Promise<GenModels.GridViewModelEx>;
|
|
9
|
-
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData): Promise<void>;
|
|
9
|
+
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData, instanceId?: string): Promise<void>;
|
|
10
10
|
}
|
|
@@ -9,9 +9,11 @@ import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLo
|
|
|
9
9
|
import { ITablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
10
10
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
11
11
|
import { $HoverPanel } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
12
|
+
import { $ToolbarActionContainer } from "@docsvision/web/components/table/plugins/toolbar-action-container/$ToolbarActionContainerService";
|
|
13
|
+
import { $ToolbarDaughterControls } from "@docsvision/webclient/Platform/$ToolbarDaughterControls";
|
|
12
14
|
export declare class DefaultFolderTablePluginFactory implements IFolderPluginFactory {
|
|
13
15
|
private services;
|
|
14
16
|
id: string;
|
|
15
17
|
constructor(services: $CardController & $UnreadCounter & $ApplicationSettings & $Domain);
|
|
16
|
-
getTablePlugins(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType & $ApplicationSettings & $FolderDataLoading & $FolderGrid & $Domain & $HoverPanel): ITablePlugins[];
|
|
18
|
+
getTablePlugins(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType & $ApplicationSettings & $FolderDataLoading & $FolderGrid & $Domain & $HoverPanel & $ToolbarActionContainer & $ToolbarDaughterControls): ITablePlugins[];
|
|
17
19
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { $EmployeeServices } from '@docsvision/webclient/BackOffice/Employee';
|
|
2
|
+
import { $LayoutCardController, $LayoutTasksController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
|
+
import { $CheckBoxServices } from '@docsvision/webclient/Platform/CheckBox';
|
|
4
|
+
import { $TextAreaServices } from '@docsvision/webclient/Platform/TextArea';
|
|
5
|
+
import { $BatchOperations } from '@docsvision/webclient/Platform/$BatchOperations';
|
|
6
|
+
import { $BatchOperationsPerformer } from '@docsvision/webclient/Platform/$BatchOperationsPerformer';
|
|
7
|
+
import { $TableManagement } from '@docsvision/webclient/Platform/$TableManagement';
|
|
8
|
+
import { $TableMode } from '@docsvision/webclient/Platform/$TableMode';
|
|
9
|
+
import { $TableRowSelection } from '@docsvision/webclient/Platform/$TableRowSelection';
|
|
10
|
+
import { BaseControl, BaseControlParams } from '@docsvision/webclient/System/BaseControl';
|
|
11
|
+
import { Router } from '@docsvision/webclient/System/Router';
|
|
12
|
+
import { DeleteBatchOperationImpl, DeleteBatchOperationState } from '@docsvision/webclient/Platform/DeleteBatchOperationImpl';
|
|
13
|
+
import { $FolderDataLoading } from '@docsvision/webclient/Platform/$FolderDataLoading';
|
|
14
|
+
/**
|
|
15
|
+
* Содержит публичные свойства элемента управления [ControlTypes_DeleteBatchOperation]{@link ControlTypes_DeleteBatchOperation}.
|
|
16
|
+
*/
|
|
17
|
+
export declare class DeleteBatchOperationParams extends BaseControlParams {
|
|
18
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
19
|
+
standardCssClass?: string;
|
|
20
|
+
/** Текст кнопки операции. */
|
|
21
|
+
buttonText?: string;
|
|
22
|
+
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & Router & $LayoutCardController;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Класс элемента управления DeleteBatchOperation.
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteBatchOperation extends BaseControl<DeleteBatchOperationParams, DeleteBatchOperationState> {
|
|
28
|
+
/** @notest @internal */
|
|
29
|
+
protected createParams(): DeleteBatchOperationParams;
|
|
30
|
+
protected createImpl(): DeleteBatchOperationImpl;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
3
|
+
import { BaseControlImpl } from '@docsvision/webclient/System/BaseControlImpl';
|
|
4
|
+
import { DeleteBatchOperationParams } from '@docsvision/webclient/Platform/DeleteBatchOperation';
|
|
5
|
+
import './DeleteBatchOperation.css';
|
|
6
|
+
export interface DeleteBatchOperationState extends DeleteBatchOperationParams, BaseControlState {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Класс элемента управления ControlTypes_DeleteBatchOperation.
|
|
10
|
+
*/
|
|
11
|
+
export declare class DeleteBatchOperationImpl extends BaseControlImpl<DeleteBatchOperationParams, DeleteBatchOperationState> {
|
|
12
|
+
constructor(state: any, props: any);
|
|
13
|
+
componentDidMount(): void;
|
|
14
|
+
componentWillUnmount(): void;
|
|
15
|
+
onSelectionChanged: () => void;
|
|
16
|
+
private onDeleteClick;
|
|
17
|
+
private getOperationInfo;
|
|
18
|
+
private isVisible;
|
|
19
|
+
getCssClass(): string;
|
|
20
|
+
private delete;
|
|
21
|
+
private getButtonText;
|
|
22
|
+
renderControl(): JSX.Element;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DownloadDocumentFileMode } from "@docsvision/webclient/Platform/DownloadDocumentFileMode";
|
|
2
|
+
import { IFileInfo } from "@docsvision/webclient/Platform/IFileInfo";
|
|
3
|
+
export interface DownloadBatchOperationFileInfoCard {
|
|
4
|
+
fileInfo: IFileInfo;
|
|
5
|
+
downloadDocumentFileMode: DownloadDocumentFileMode;
|
|
6
|
+
cardId: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseControlParams, BaseControl } from '@docsvision/webclient/System/BaseControl';
|
|
2
|
+
import { $TableRowSelection } from '@docsvision/webclient/Platform/$TableRowSelection';
|
|
3
|
+
import { $BatchOperationsPerformer } from '@docsvision/webclient/Platform/$BatchOperationsPerformer';
|
|
4
|
+
import { $TableManagement } from '@docsvision/webclient/Platform/$TableManagement';
|
|
5
|
+
import { $TableMode } from '@docsvision/webclient/Platform/$TableMode';
|
|
6
|
+
import { $BatchOperations } from '@docsvision/webclient/Platform/$BatchOperations';
|
|
7
|
+
import { DownloadFilesBatchOperationImpl, DownloadFilesBatchOperationState } from './DownloadFilesBatchOperationImpl';
|
|
8
|
+
import { DownloadDocumentFileMode } from './DownloadDocumentFileMode';
|
|
9
|
+
import { $UrlResolver } from '@docsvision/webclient/System/$UrlResolver';
|
|
10
|
+
import { $Folders } from '@docsvision/webclient/Legacy/$Folders';
|
|
11
|
+
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
12
|
+
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
13
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
14
|
+
import { $CardDataController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
15
|
+
export declare class DownloadFilesBatchOperationParams extends BaseControlParams {
|
|
16
|
+
standardCssClass?: string;
|
|
17
|
+
buttonText?: string;
|
|
18
|
+
downloadDocumentFileMode?: DownloadDocumentFileMode;
|
|
19
|
+
folders?: string[];
|
|
20
|
+
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $Folders & $FileDownload & $RequestManager & $UrlResolver & $CardDataController;
|
|
21
|
+
includeMainFiles?: boolean;
|
|
22
|
+
includeAdditionalFiles?: boolean;
|
|
23
|
+
downloadFilesWithSignature?: boolean;
|
|
24
|
+
/** Формат подписи */
|
|
25
|
+
signatureFormat?: GenModels.SignatureFormat;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Класс элемента управления DownloadFilesBatchOperation.
|
|
29
|
+
*/
|
|
30
|
+
export declare class DownloadFilesBatchOperation extends BaseControl<DownloadFilesBatchOperationParams, DownloadFilesBatchOperationState> {
|
|
31
|
+
constructor(props: any);
|
|
32
|
+
private set setFolders(value);
|
|
33
|
+
/** @notest @internal */
|
|
34
|
+
protected createParams(): DownloadFilesBatchOperationParams;
|
|
35
|
+
protected createImpl(): DownloadFilesBatchOperationImpl;
|
|
36
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "file-saver";
|
|
3
|
+
import { DownloadFilesBatchOperationParams } from '@docsvision/webclient/Platform/DownloadFilesBatchOperation';
|
|
4
|
+
import { BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
5
|
+
import { BaseControlImpl } from '@docsvision/webclient/System/BaseControlImpl';
|
|
6
|
+
import './DownloadFilesBatchOperation.css';
|
|
7
|
+
export interface DownloadFilesBatchOperationState extends DownloadFilesBatchOperationParams, BaseControlState {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Класс элемента управления DownloadFilesBatchOperation.
|
|
11
|
+
*/
|
|
12
|
+
export declare class DownloadFilesBatchOperationImpl extends BaseControlImpl<DownloadFilesBatchOperationParams, DownloadFilesBatchOperationState> {
|
|
13
|
+
componentDidMount(): void;
|
|
14
|
+
componentWillUnmount(): void;
|
|
15
|
+
onSelectionChanged: () => void;
|
|
16
|
+
private getOperationInfo;
|
|
17
|
+
private onClickDownloadWithSign;
|
|
18
|
+
private downloadWithSign;
|
|
19
|
+
private onDownloadFilesClick;
|
|
20
|
+
private downloadFile;
|
|
21
|
+
private isAvailable;
|
|
22
|
+
private isVisible;
|
|
23
|
+
getCssClass(): string;
|
|
24
|
+
private getButtonText;
|
|
25
|
+
renderControl(): JSX.Element;
|
|
26
|
+
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
2
|
-
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
3
2
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
4
|
-
|
|
5
|
-
export declare
|
|
6
|
-
export declare const ExportPlugin:
|
|
3
|
+
import { IComposition } from "@docsvision/web/core/composition/IComposition";
|
|
4
|
+
export declare type $ExportToolbarActionServices = $TableData & $FolderDataLoading;
|
|
5
|
+
export declare const ExportPlugin: {
|
|
6
|
+
name: string;
|
|
7
|
+
iconClass: string;
|
|
8
|
+
title: string;
|
|
9
|
+
onClick: typeof exportExcel;
|
|
10
|
+
};
|
|
11
|
+
declare function exportExcel(composition: IComposition<any, any, $ExportToolbarActionServices>): Promise<void>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControlParams, BaseControl, BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
3
|
+
import { IBindingResult } from '@docsvision/webclient/System/IBindingResult';
|
|
4
|
+
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
5
|
+
import { $EditOperationStore } from '@docsvision/webclient/System/LayoutServices';
|
|
6
|
+
export declare class FavoriteParams extends BaseControlParams {
|
|
7
|
+
standardCssClass?: string;
|
|
8
|
+
isFavorite: boolean;
|
|
9
|
+
canEdit?: boolean;
|
|
10
|
+
services: $EditOperationStore;
|
|
11
|
+
}
|
|
12
|
+
export interface FavoriteState extends BaseControlState, FavoriteParams {
|
|
13
|
+
}
|
|
14
|
+
export declare class Favorite extends BaseControl<FavoriteParams, FavoriteState> {
|
|
15
|
+
constructor(params: any);
|
|
16
|
+
protected set binding(binding: IBindingResult<boolean>);
|
|
17
|
+
createParams(): FavoriteParams;
|
|
18
|
+
createImpl(): ControlImpl;
|
|
19
|
+
renderControl(): JSX.Element;
|
|
20
|
+
private onClick;
|
|
21
|
+
private addRemoveFavoriteCard;
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { $LayoutController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
3
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
4
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
5
|
+
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
6
|
+
import { IFavoritesPageRouteData } from '@docsvision/webclient/Platform/IFavoritesPageRouteData';
|
|
7
|
+
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class FavoritesPageRouteHandler implements IRouteHandler<IFavoritesPageRouteData> {
|
|
10
|
+
private services;
|
|
11
|
+
protected gridLocationName: string;
|
|
12
|
+
name: string;
|
|
13
|
+
constructor(services: $LayoutController & $LayoutManager & $Router);
|
|
14
|
+
prepareRouteDataLoad(knownRouteData: Partial<IFavoritesPageRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
|
|
15
|
+
loadRouteData(knownRouteData: Partial<IFavoritesPageRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
|
+
mountRoute(data: IFavoritesPageRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
17
|
+
unmountRoute(data: IFavoritesPageRouteData, routeType: RouteType): Promise<{}>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IFavoritesRouteData } from "@docsvision/webclient/Platform/IFavoritesRouteData";
|
|
4
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
5
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
6
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
7
|
+
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class FavoritesRouteHandler implements IRouteHandler<IFavoritesRouteData> {
|
|
10
|
+
private services;
|
|
11
|
+
private gridLocationName;
|
|
12
|
+
name: string;
|
|
13
|
+
constructor(services: $GridController & $LayoutManager);
|
|
14
|
+
protected gridModelLoader: (requestData: any, isMobile: boolean) => Promise<GenModels.GridViewModel>;
|
|
15
|
+
loadRouteData(knownRouteData: Partial<IFavoritesRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
|
+
mountRoute(data: IFavoritesRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
17
|
+
unmountRoute(data: IFavoritesRouteData, routeType: RouteType): Promise<{}>;
|
|
18
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
1
2
|
import { IFileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
2
3
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
3
4
|
import "file-saver";
|
|
@@ -6,5 +7,5 @@ export declare class FileDownloadService implements IFileDownload {
|
|
|
6
7
|
private services;
|
|
7
8
|
constructor(services: $RequestManager);
|
|
8
9
|
download(url: string): void;
|
|
9
|
-
saveAs(url: string, fileName: string): Promise<Blob>;
|
|
10
|
+
saveAs(url: string, fileName: string, options?: RequestOptions): Promise<Blob>;
|
|
10
11
|
}
|
|
@@ -10,6 +10,7 @@ import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
|
10
10
|
import { $FolderPluginProvider } from '@docsvision/webclient/Platform/$FolderPluginProvider';
|
|
11
11
|
import { Optional } from '@docsvision/web/core/services';
|
|
12
12
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
13
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
13
14
|
export declare type $FolderDataContextServices = Optional<$CurrentFolder> & $CurrentLocation & $GridController & $DeviceType & $FolderPluginProvider & $WebFrameSearchPanel;
|
|
14
15
|
/**
|
|
15
16
|
* Содержит публичные свойства элемента управления [Данные папки]{@link FolderDataContext}.
|
|
@@ -27,7 +28,9 @@ export declare class FolderDataContextParams extends PanelParams {
|
|
|
27
28
|
gridViewModel?: GenModels.GridViewModel;
|
|
28
29
|
/** Расширения, определяющие набор доступных сервисов и способ загрузки данных папки. */
|
|
29
30
|
plugins?: IFolderDataLoadingPlugin[];
|
|
30
|
-
|
|
31
|
+
/** Доступные представления. */
|
|
32
|
+
viewSelection?: string;
|
|
33
|
+
services?: $FolderDataContextServices & $LastSearchResponse;
|
|
31
34
|
}
|
|
32
35
|
/**
|
|
33
36
|
* Класс элемента управления Данные папки.
|
|
@@ -11,21 +11,22 @@ import { IColumnsWidth } from "@docsvision/web/components/table/plugins/resize-c
|
|
|
11
11
|
import { SortDirection } from "@docsvision/web/components/table/plugins/sort";
|
|
12
12
|
import { IFilterActiveColumn } from "@docsvision/web/components/table/plugins/filter";
|
|
13
13
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
14
|
-
import { $Router } from
|
|
14
|
+
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
15
15
|
import { Store, Event } from "effector";
|
|
16
|
-
import { $CurrentFolder } from
|
|
16
|
+
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
17
17
|
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
18
18
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
19
19
|
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from "@docsvision/web/components/table/plugins/grouping";
|
|
20
|
+
import { AggregateItem } from "@docsvision/webclient/Platform/IAggregates";
|
|
20
21
|
export declare type $FolderDataLoadingDependencies = $DeviceType & $CurrentLocation & $GridController & $ApplicationSettings & $Domain & $Router & $CurrentFolder & $LastSearchResponse & $WebFrameSearchPanel;
|
|
21
22
|
export declare class FolderDataLoadingService implements IFolderDataLoadingService {
|
|
22
23
|
private defaultDataLoader;
|
|
23
24
|
private services;
|
|
24
|
-
|
|
25
|
+
lastResponse: GenModels.GridViewModel;
|
|
25
26
|
private lastRequest;
|
|
26
27
|
private folderInfo;
|
|
27
28
|
private plugins;
|
|
28
|
-
constructor(defaultDataLoader: IFolderDataLoader, services: $FolderDataLoadingDependencies
|
|
29
|
+
constructor(defaultDataLoader: IFolderDataLoader, services: $FolderDataLoadingDependencies);
|
|
29
30
|
init(): void;
|
|
30
31
|
addPlugin(plugin: IFolderDataLoadingPlugin): void;
|
|
31
32
|
removePlugin(id: string): void;
|
|
@@ -34,11 +35,13 @@ export declare class FolderDataLoadingService implements IFolderDataLoadingServi
|
|
|
34
35
|
setCurrentData: Event<ITableData>;
|
|
35
36
|
pageSize: number;
|
|
36
37
|
loadData(options: IFolderLoadRequest, customLoader?: IFolderDataLoader): Promise<void>;
|
|
38
|
+
private createRequest;
|
|
39
|
+
private resolveRequest;
|
|
40
|
+
private resolveResponse;
|
|
37
41
|
sortBy(columnId: string, sortDirection: SortDirection): Promise<void>;
|
|
38
|
-
filterBy(
|
|
42
|
+
filterBy(filterColumns: IFilterActiveColumn[]): Promise<void>;
|
|
39
43
|
setDefaultDataLoader(loader: IFolderDataLoader): void;
|
|
40
44
|
updateUserSettings(customLoader?: IFolderDataLoader): Promise<void>;
|
|
41
|
-
private createRequest;
|
|
42
45
|
private checkSystemFolderSearchResultsText;
|
|
43
46
|
downloadExcelReport(): void;
|
|
44
47
|
saveColumnSettings(columns: IColumnsWidth[]): Promise<void>;
|
|
@@ -46,4 +49,5 @@ export declare class FolderDataLoadingService implements IFolderDataLoadingServi
|
|
|
46
49
|
resetUserSettings(): Promise<void>;
|
|
47
50
|
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
48
51
|
saveGroupingPath(path: IGroupingPathItem[]): Promise<void>;
|
|
52
|
+
saveAggregatesToGridUserSettings(items: AggregateItem[]): Promise<void>;
|
|
49
53
|
}
|
package/Platform/FolderGrid.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { $TableData } from "@docsvision/web/components/table/plugins/table-data"
|
|
|
19
19
|
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
20
20
|
import { $ContextMenuOptions } from '@docsvision/webclient/Platform/$ContextMenuOptions';
|
|
21
21
|
import { $FolderGrid } from '@docsvision/webclient/Platform/$FolderGrid';
|
|
22
|
+
import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
22
23
|
/**
|
|
23
24
|
* Содержит публичные свойства элемента управления [Метка]{@link Grid}.
|
|
24
25
|
*/
|
|
@@ -39,7 +40,7 @@ export declare class FolderGridParams extends BaseControlParams {
|
|
|
39
40
|
opacity?: number;
|
|
40
41
|
isGroupingAllowed?: boolean;
|
|
41
42
|
showList?: boolean;
|
|
42
|
-
services?: Partial<$GridOptions> & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions
|
|
43
|
+
services?: Partial<$GridOptions> & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Класс элемента управления FolderGrid.
|
|
@@ -48,6 +49,7 @@ export declare class FolderGrid extends BaseControl<FolderGridParams, FolderGrid
|
|
|
48
49
|
prepare(): void;
|
|
49
50
|
private disableToolbarPlugin;
|
|
50
51
|
private processToolbarPlugins;
|
|
52
|
+
private initToolbarDaughterControls;
|
|
51
53
|
private initBatchOperations;
|
|
52
54
|
/** @internal @deprecated */
|
|
53
55
|
protected set childrenHandler(val: any);
|
|
@@ -10,6 +10,7 @@ import { $TableManagement } from '@docsvision/webclient/Platform/$TableManagemen
|
|
|
10
10
|
import { $TableMode } from '@docsvision/webclient/Platform/$TableMode';
|
|
11
11
|
import { $TableRowSelection } from '@docsvision/webclient/Platform/$TableRowSelection';
|
|
12
12
|
import { $SpaceBehindPanelBottom } from '@docsvision/web/components/table/plugins/scroll/$SpaceBehindPanelBottom';
|
|
13
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [Узел групповых операций]{@link FolderGridBatchOperationsNode}.
|
|
15
16
|
*/
|
|
@@ -20,7 +21,7 @@ export declare class FolderGridBatchOperationsNodeParams extends PanelParams {
|
|
|
20
21
|
noBatchOperationsMessage?: string;
|
|
21
22
|
/** Событие изменения выбора карточек для групповых операций */
|
|
22
23
|
onSelectionTableRowChange?: () => void;
|
|
23
|
-
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & $SpaceBehindPanelBottom;
|
|
24
|
+
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & $SpaceBehindPanelBottom & $DeviceType;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Класс элемента управления FolderGridBatchOperationsNode.
|
|
@@ -23,12 +23,13 @@ export declare class FolderGridService implements IFolderGridService {
|
|
|
23
23
|
set backgroundOpacity(value: number);
|
|
24
24
|
defaultTablePresentation: GenModels.TablePresentation;
|
|
25
25
|
onRowClick: (row: IRow) => void;
|
|
26
|
-
onSortRequest: (column: IColumn, sortDirection: SortDirection) => void
|
|
27
|
-
onFilterRequest: (
|
|
26
|
+
onSortRequest: (column: IColumn, sortDirection: SortDirection) => Promise<void>;
|
|
27
|
+
onFilterRequest: (filterColumns: IFilterActiveColumn[]) => Promise<void>;
|
|
28
28
|
onLoadData: (data?: ITableData, options?: ITableDataLoadRequest) => Promise<void>;
|
|
29
29
|
getRoute(context: TableCompositions.Cell): string;
|
|
30
30
|
onLoadGrouping: (options: ILoadGroupingItemsOptions) => Promise<IGrouping>;
|
|
31
31
|
onGroupingPathChanged(path: IGroupingPathItem[]): void;
|
|
32
|
+
onChangeAggregateValue(items: GenModels.GridAggregateValue[]): Promise<void>;
|
|
32
33
|
refreshPage(): void;
|
|
33
34
|
getGroupingAvailable(): boolean;
|
|
34
35
|
openPageInCurrentTab(context: TableCompositions.Cell): void;
|
|
@@ -8,5 +8,6 @@ export interface FolderNameState extends FolderNameParams, BaseControlState {
|
|
|
8
8
|
/** @internal */
|
|
9
9
|
export declare class FolderNameImpl extends BaseControlImpl<FolderNameParams, FolderNameState> {
|
|
10
10
|
constructor(props: FolderNameParams, state: FolderNameState);
|
|
11
|
+
private get searchText();
|
|
11
12
|
renderControl(): JSX.Element;
|
|
12
13
|
}
|
|
@@ -8,6 +8,7 @@ export declare class FolderRouteTypeMapper implements IRouteTypeMapper<IFolderRo
|
|
|
8
8
|
private services;
|
|
9
9
|
static SearchResultsId: string;
|
|
10
10
|
static RecentCardsId: string;
|
|
11
|
+
static FavoritesId: string;
|
|
11
12
|
constructor(services: $ExperimentalFeature & $DeviceType);
|
|
12
13
|
hashPattern: string;
|
|
13
14
|
resolve(path: string, parameters: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IHoverPanelService
|
|
1
|
+
import { IHoverPanelService } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
2
2
|
import { HeaderHoverPanelPlugin } from "@docsvision/web/components/table/plugins/hover-panel";
|
|
3
3
|
export declare class HoverPanelService implements IHoverPanelService {
|
|
4
|
-
|
|
4
|
+
getPlugins(defaultPlugins: HeaderHoverPanelPlugin<any>[]): HeaderHoverPanelPlugin<any>[];
|
|
5
5
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export interface IAggregatesState {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface IAggregate extends GenModels.GridAggregateModel {
|
|
6
|
+
/** Развернуты ли значения агрегации следующего уровня */
|
|
7
|
+
expanded?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface IAggregatesServiceOptions {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface ISelectItemData {
|
|
13
|
+
item: GenModels.GridAggregateValue;
|
|
14
|
+
value: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface AggregateItem extends GenModels.GridAggregateValue {
|
|
17
|
+
aggregationAlias: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IAggregateServiceOptions {
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface GridAggregatesRequest {
|
|
23
|
+
folderId: string;
|
|
24
|
+
queryId: string;
|
|
25
|
+
instanceId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ILoadItemsOptions {
|
|
28
|
+
dropFilters?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare enum AggregatesItemType {
|
|
31
|
+
CheckBox = 0,
|
|
32
|
+
Date = 1,
|
|
33
|
+
DateRange = 2
|
|
34
|
+
}
|
|
@@ -2,5 +2,5 @@ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
2
2
|
export interface IFolderDataLoader {
|
|
3
3
|
id: string;
|
|
4
4
|
load(request: GenModels.CardListRequestModel): Promise<GenModels.GridViewModelEx>;
|
|
5
|
-
saveUserSettings(folderId: string, viewId: string, girdUserSettings: GenModels.GridUserSettingsData): Promise<void>;
|
|
5
|
+
saveUserSettings(folderId: string, viewId: string, girdUserSettings: GenModels.GridUserSettingsData, instanceId?: string): Promise<void>;
|
|
6
6
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { IPluggableEntity } from '@docsvision/web/core/extensibility/plugins';
|
|
2
2
|
export interface IFolderLoadRequest extends IPluggableEntity {
|
|
3
3
|
refresh?: boolean;
|
|
4
|
-
/** Сбросить
|
|
4
|
+
/** Сбросить gridUserSettings */
|
|
5
5
|
refreshSettings?: boolean;
|
|
6
|
+
/** Сбросить базовый курсор */
|
|
6
7
|
refreshSource?: boolean;
|
|
7
8
|
/** Обновить дерево группировки */
|
|
8
9
|
refreshGrouping?: boolean;
|