@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
|
@@ -13,6 +13,8 @@ export declare class LayoutIconButtonParams extends BaseControlParams {
|
|
|
13
13
|
iconClass?: string;
|
|
14
14
|
/** Флаг, определяющий, что Кнопка может быть нажата: true - разрешено (разрешена настроенная операция редактирования), false - не разрешено. */
|
|
15
15
|
canClick?: boolean;
|
|
16
|
+
/** Показывать подсказку, как текст */
|
|
17
|
+
useText?: boolean;
|
|
16
18
|
services?: $EditOperationStore;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
@@ -2,6 +2,7 @@ import { LayoutIconButtonParams } from "@docsvision/webclient/Platform/LayoutIco
|
|
|
2
2
|
import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
3
3
|
import { BaseControlImpl } from "@docsvision/webclient/System/BaseControlImpl";
|
|
4
4
|
import React from "react";
|
|
5
|
+
import "./LayoutIconButton.css";
|
|
5
6
|
/** @internal */
|
|
6
7
|
export interface LayoutIconButtonState extends LayoutIconButtonParams, BaseControlState {
|
|
7
8
|
loading: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MoveShortcutBatchOperationImpl, MoveShortcutBatchOperationState } from "@docsvision/webclient/Platform/MoveShortcutBatchOperationImpl";
|
|
2
2
|
import { $LayoutCardController, $LayoutFolderController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { $CheckBoxServices } from "@docsvision/webclient/Platform/CheckBox";
|
|
4
4
|
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
@@ -10,7 +10,7 @@ import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSele
|
|
|
10
10
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
11
11
|
import { $CardInfo, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
12
12
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class MoveShortcutBatchOperationParams extends BaseControlParams {
|
|
14
14
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
15
15
|
standardCssClass?: string;
|
|
16
16
|
/** Текст кнопки операции. */
|
|
@@ -20,8 +20,8 @@ export declare class MoveShortcutsBatchOperationParams extends BaseControlParams
|
|
|
20
20
|
/**
|
|
21
21
|
* Класс элемента управления GridDelegateOperation.
|
|
22
22
|
*/
|
|
23
|
-
export declare class
|
|
23
|
+
export declare class MoveShortcutBatchOperation extends BaseControl<MoveShortcutBatchOperationParams, MoveShortcutBatchOperationState> {
|
|
24
24
|
/** @notest @internal */
|
|
25
|
-
protected createParams():
|
|
26
|
-
protected createImpl():
|
|
25
|
+
protected createParams(): MoveShortcutBatchOperationParams;
|
|
26
|
+
protected createImpl(): MoveShortcutBatchOperationImpl;
|
|
27
27
|
}
|
package/Platform/{MoveShortcutsBatchOperationImpl.d.ts → MoveShortcutBatchOperationImpl.d.ts}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { MoveShortcutsBatchOperationParams } from "@docsvision/webclient/Platform/MoveShortcutsBatchOperation";
|
|
2
1
|
import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
3
2
|
import { BaseControlImpl } from "@docsvision/webclient/System/BaseControlImpl";
|
|
4
3
|
import React from 'react';
|
|
5
4
|
import { FolderContent } from "@docsvision/webclient/Platform/FolderContent";
|
|
6
5
|
import { IBatchOperationInfo } from "@docsvision/webclient/Platform/$BatchOperations";
|
|
7
|
-
|
|
6
|
+
import { MoveShortcutBatchOperationParams } from '@docsvision/webclient/Platform/MoveShortcutBatchOperation';
|
|
7
|
+
export interface MoveShortcutBatchOperationState extends MoveShortcutBatchOperationParams, BaseControlState {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Класс элемента управления
|
|
10
|
+
* Класс элемента управления MoveShortcutBatchOperation.
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class MoveShortcutBatchOperationImpl extends BaseControlImpl<MoveShortcutBatchOperationParams, MoveShortcutBatchOperationState> {
|
|
13
13
|
private folderModalHost;
|
|
14
14
|
private folderContent;
|
|
15
15
|
private folderInTree;
|
|
@@ -21,7 +21,7 @@ export declare class MoveShortcutsBatchOperationImpl extends BaseControlImpl<Mov
|
|
|
21
21
|
isVisible(): boolean;
|
|
22
22
|
getCssClass(): string;
|
|
23
23
|
attachFolderContent: (el: FolderContent) => void;
|
|
24
|
-
|
|
24
|
+
onMoveShortcutBatchOperationButtonClick(): Promise<void>;
|
|
25
25
|
closeWindow(): void;
|
|
26
26
|
private moveCards;
|
|
27
27
|
private getFolders;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { $GridController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
1
|
import { $UnreadCounter } from "@docsvision/webclient/Platform/$UnreadCounter";
|
|
3
2
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
3
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
5
4
|
import { $UrlStore } from "@docsvision/webclient/System/$UrlStore";
|
|
6
|
-
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
7
5
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
8
6
|
import { $TableUpdate } from "@docsvision/web/components/table/plugins/table-update/$TableUpdate";
|
|
9
|
-
|
|
10
|
-
export declare
|
|
11
|
-
export declare const ReadAllPlugin:
|
|
7
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
8
|
+
export declare type $ReadAllToolbarActionServices = $TableData & $UnreadCounter & $TableUpdate & $RequestManager & $DeviceType & $UrlStore;
|
|
9
|
+
export declare const ReadAllPlugin: {
|
|
10
|
+
name: string;
|
|
11
|
+
iconClass: string;
|
|
12
|
+
title: string;
|
|
13
|
+
onClick: typeof readAll;
|
|
14
|
+
};
|
|
15
|
+
declare function readAll(composition: IComposition<any, any, $ReadAllToolbarActionServices>): Promise<void>;
|
|
16
|
+
export {};
|
|
@@ -10,6 +10,7 @@ import { $TableMode } from '@docsvision/webclient/Platform/$TableMode';
|
|
|
10
10
|
import { $TableRowSelection } from '@docsvision/webclient/Platform/$TableRowSelection';
|
|
11
11
|
import { BaseControl, BaseControlParams } from '@docsvision/webclient/System/BaseControl';
|
|
12
12
|
import { Router } from '@docsvision/webclient/System/Router';
|
|
13
|
+
import { $FolderDataLoading } from '@docsvision/webclient/Platform/$FolderDataLoading';
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [ControlTypes_ReadBatchOperation]{@link ControlTypes_ReadBatchOperation}.
|
|
15
16
|
*/
|
|
@@ -18,7 +19,7 @@ export declare class ReadBatchOperationParams extends BaseControlParams {
|
|
|
18
19
|
standardCssClass?: string;
|
|
19
20
|
/** Текст кнопки операции. */
|
|
20
21
|
buttonText?: string;
|
|
21
|
-
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & Router & $BaseCardController;
|
|
22
|
+
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & Router & $BaseCardController;
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* Класс элемента управления ReadBatchOperation.
|
|
@@ -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 RefreshPlugin:
|
|
3
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
4
|
+
export declare type $RefreshToolbarActionServices = $TableData & $FolderDataLoading;
|
|
5
|
+
export declare const RefreshPlugin: {
|
|
6
|
+
name: string;
|
|
7
|
+
iconClass: string;
|
|
8
|
+
title: string;
|
|
9
|
+
onClick: typeof reload;
|
|
10
|
+
};
|
|
11
|
+
declare function reload(composition: IComposition<any, any, $RefreshToolbarActionServices>): Promise<void>;
|
|
12
|
+
export {};
|
|
@@ -4,9 +4,15 @@ import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
|
|
|
4
4
|
import { $FolderInfo } from "@docsvision/webclient/Platform/$FolderInfo";
|
|
5
5
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
6
6
|
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
7
|
-
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
8
7
|
import { $ResizeColumn } from "@docsvision/web/components/table/plugins/resize-column/$ResizeColumn";
|
|
9
8
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
10
|
-
|
|
11
|
-
export declare
|
|
12
|
-
export declare const ResetSettingsPlugin:
|
|
9
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
10
|
+
export declare type $ResetSettingsToolbarActionServices = $TableData & $FolderDataLoading & $FolderInfo & $LastSearchResponse & $WebFrameSearchPanel & $ResizeColumn & $SaveColumns & $FolderGrid;
|
|
11
|
+
export declare const ResetSettingsPlugin: {
|
|
12
|
+
name: string;
|
|
13
|
+
iconClass: string;
|
|
14
|
+
title: string;
|
|
15
|
+
onClick: typeof resetSettings;
|
|
16
|
+
};
|
|
17
|
+
declare function resetSettings(composition: IComposition<any, any, $ResetSettingsToolbarActionServices>): Promise<void>;
|
|
18
|
+
export {};
|
|
@@ -5,10 +5,16 @@ import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
|
5
5
|
import { IFolderLoadRequest } from '@docsvision/webclient/Platform/IFolderLoadRequest';
|
|
6
6
|
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
7
7
|
import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
|
|
8
|
+
/** Представление по умолчанию для системной папки "Результаты поиска" - "Дайджест" */
|
|
8
9
|
export declare const VIEW_ID_SEARCH_RESULTS = "03000000-0000-0000-0000-000000000000";
|
|
9
10
|
export declare class SearchResultsRequestResolver implements IFolderDataLoadingPlugin {
|
|
10
11
|
id: string;
|
|
11
12
|
description: string;
|
|
12
13
|
order: PluginOrder;
|
|
13
14
|
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, prevResp?: GenModels.GridViewModel, services?: $WebFrameSearchPanel & $LastSearchResponse): Promise<void>;
|
|
15
|
+
private setSorting;
|
|
16
|
+
private setSearchText;
|
|
17
|
+
private setColumns;
|
|
18
|
+
private setTablePresentation;
|
|
19
|
+
private searchContextOption;
|
|
14
20
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { $SearchText } from '@docsvision/webclient/Platform/$SearchText';
|
|
2
|
+
import { TablePlugins } from '@docsvision/web/components/table/interfaces';
|
|
3
|
+
import { $Grouping } from '@docsvision/web/components/table/plugins/grouping';
|
|
4
|
+
import { $TableData } from '@docsvision/web/components/table/plugins/table-data';
|
|
5
|
+
import { $Domain } from '@docsvision/web/core/state-management';
|
|
6
|
+
export declare const SearchTextFeature = "SearchTextFeature";
|
|
7
|
+
export declare const SearchTextServiceProvider: TablePlugins.ServiceProvider<$SearchText & $Grouping & $TableData & $Domain>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { $Grouping } from "@docsvision/web/components/table/plugins/grouping";
|
|
2
|
+
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
3
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
4
|
+
import { ISearchTextService } from "./$SearchText";
|
|
5
|
+
import { Event, Store } from "effector";
|
|
6
|
+
export declare class SearchTextService implements ISearchTextService {
|
|
7
|
+
$current: Store<string>;
|
|
8
|
+
setCurrent: Event<string>;
|
|
9
|
+
constructor(services: $Grouping & $TableData & $Domain);
|
|
10
|
+
}
|
|
@@ -3,13 +3,18 @@ import { $SaveColumns } from "@docsvision/webclient/Platform/$SaveColumns";
|
|
|
3
3
|
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
4
4
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
5
5
|
import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
|
|
6
|
-
import {
|
|
6
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
7
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
7
8
|
import { $Grouping } from "@docsvision/web/components/table/plugins/grouping";
|
|
8
9
|
import { $ResizeColumn } from "@docsvision/web/components/table/plugins/resize-column";
|
|
9
10
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
10
|
-
import {
|
|
11
|
-
export declare
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
12
|
+
export declare type $SettingsToolbarActionServices = $GridController & $TableData & $ResizeColumn & $SaveColumns & $FolderGrid & $CurrentFolder & $Grouping & $FolderDataLoading & $DeviceType;
|
|
13
|
+
export declare const SettingsPlugin: {
|
|
14
|
+
name: string;
|
|
15
|
+
iconClass: string;
|
|
16
|
+
title: string;
|
|
17
|
+
onClick: typeof openSettingPopup;
|
|
18
|
+
};
|
|
19
|
+
declare function openSettingPopup(composition: IComposition<any, any, $SettingsToolbarActionServices & $LastSearchResponse>): void;
|
|
20
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { $SettingsToolbarActionServices } from '@docsvision/webclient/Platform/SettingsPlugin';
|
|
3
3
|
import { SettingsPopupLogic } from '@docsvision/webclient/Platform/SettingsPopupLogic';
|
|
4
4
|
import { SettingsPopupView } from '@docsvision/webclient/Platform/SettingsPopupView';
|
|
5
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
6
|
+
import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
|
|
5
7
|
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
6
8
|
import { IComponentProps } from '@docsvision/web/core/component';
|
|
7
9
|
import { Store } from 'effector';
|
|
@@ -9,7 +11,7 @@ import './SettingsPopup.css';
|
|
|
9
11
|
export interface ISettingsPopupProps extends IComponentProps<SettingsPopupLogic, SettingsPopupView> {
|
|
10
12
|
closePopup: () => void;
|
|
11
13
|
isOpen: boolean;
|
|
12
|
-
services:
|
|
14
|
+
services: $SettingsToolbarActionServices & $LastSearchResponse & $DeviceType;
|
|
13
15
|
$data: Store<ITableData>;
|
|
14
16
|
}
|
|
15
17
|
export declare const SettingsPopup: (props: ISettingsPopupProps) => JSX.Element;
|
|
@@ -30,6 +30,15 @@ import("effector").Event<string>;
|
|
|
30
30
|
import("effector").Store<boolean>;
|
|
31
31
|
setRowsModeVisible:
|
|
32
32
|
import("effector").Event<boolean>;
|
|
33
|
+
$columnsModeItems:
|
|
34
|
+
import("effector").Store<{
|
|
35
|
+
value: string;
|
|
36
|
+
key: string;
|
|
37
|
+
}[]>;
|
|
38
|
+
$currentColumnWidthMode:
|
|
39
|
+
import("effector").Store<GenModels.GridViewMode>;
|
|
40
|
+
setColumnWidthMode:
|
|
41
|
+
import("effector").Event<string>;
|
|
33
42
|
$gridUserSettings:
|
|
34
43
|
import("effector").Store<GenModels.GridUserSettingsData>;
|
|
35
44
|
$columns:
|
|
@@ -3,9 +3,10 @@ import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
|
|
|
3
3
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
4
|
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
5
5
|
import { IFolderLoadRequest } from '@docsvision/webclient/Platform/IFolderLoadRequest';
|
|
6
|
+
import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
|
|
6
7
|
export declare class SettingsPopupRequestResolver implements IFolderDataLoadingPlugin {
|
|
7
8
|
id: string;
|
|
8
9
|
description: string;
|
|
9
10
|
order: PluginOrder;
|
|
10
|
-
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel): Promise<void>;
|
|
11
|
+
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $CurrentFolder): Promise<void>;
|
|
11
12
|
}
|
|
@@ -7,7 +7,9 @@ import { $Grouping } from '@docsvision/web/components/table/plugins/grouping';
|
|
|
7
7
|
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
8
8
|
import { $TableData } from '@docsvision/web/components/table/plugins/table-data';
|
|
9
9
|
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
10
|
-
|
|
10
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
11
|
+
import { $Aggregates } from '@docsvision/webclient/Platform/$AggregatesCheckbox';
|
|
12
|
+
export declare type $ShowAllButtonServices = $TableFilterService & $Resources & $Grouping & $TableData & $WebFrameSearchPanel & $Aggregates & $DeviceType;
|
|
11
13
|
export interface IShowAllButtonProps {
|
|
12
14
|
composition?: IComposition<typeof TableCompositionNames.Toolbar, ITableData, $ShowAllButtonServices>;
|
|
13
15
|
}
|
package/Platform/TestUtils.d.ts
CHANGED
|
@@ -9,8 +9,17 @@ import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
|
|
|
9
9
|
import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
|
|
10
10
|
import { $CurrentLocation } from '@docsvision/webclient/System/LayoutServices';
|
|
11
11
|
import { $FolderPluginProvider } from '@docsvision/webclient/Platform/$FolderPluginProvider';
|
|
12
|
+
import { $Domain } from '@docsvision/web/core/state-management';
|
|
12
13
|
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
14
|
+
import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
|
|
13
15
|
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
16
|
+
import { $ToolbarActionContainer } from '@docsvision/web/components/table/plugins/toolbar-action-container';
|
|
17
|
+
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
18
|
+
import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
19
|
+
export declare let ScrollContainer:
|
|
20
|
+
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
|
+
export declare let ScrollContainerWrapper:
|
|
22
|
+
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
23
|
export declare function common(): FolderGridParams;
|
|
15
24
|
export declare let gridStory: (name: string, render: (services: any) => JSX.Element, params?: StoryParameters) => () => JSX.Element;
|
|
16
|
-
export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel;
|
|
25
|
+
export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ToolbarDaughterControlImpl, ToolbarDaughterControlState } from "@docsvision/webclient/Platform/ToolbarDaughterControlImpl";
|
|
2
|
+
import { Panel, PanelParams } from "@docsvision/webclient/Platform/Panel";
|
|
3
|
+
import { $DeviceType } from "@docsvision/web/core/system-services/environment";
|
|
4
|
+
/**
|
|
5
|
+
* Содержит публичные свойства элемента управления [Дочерний контрол панели настроек FolderGrid]{@link ToolbarDaughterControl}.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ToolbarDaughterControlParams extends PanelParams {
|
|
8
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
9
|
+
standardCssClass?: string;
|
|
10
|
+
services?: $DeviceType;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Класс элемента управления ToolbarDaughterControl.
|
|
14
|
+
*/
|
|
15
|
+
export declare class ToolbarDaughterControl extends Panel<ToolbarDaughterControlParams, ToolbarDaughterControlState> {
|
|
16
|
+
protected createParams(): ToolbarDaughterControlParams;
|
|
17
|
+
protected createImpl(): ToolbarDaughterControlImpl;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ToolbarDaughterControlParams } from '@docsvision/webclient/Platform/ToolbarDaughterControl';
|
|
2
|
+
import { PanelImpl, PanelState } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import './ToolbarDaughterControl.css';
|
|
5
|
+
export interface ToolbarDaughterControlState extends ToolbarDaughterControlParams, PanelState {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Класс элемента управления ToolbarDaughterControlImpl.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ToolbarDaughterControlImpl extends PanelImpl<ToolbarDaughterControlParams, ToolbarDaughterControlState> {
|
|
11
|
+
constructor(state: any, props: any);
|
|
12
|
+
protected getCssClass(): string;
|
|
13
|
+
renderControl(): React.ReactNode[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { $ToolbarDaughterControls } from "@docsvision/webclient/Platform/$ToolbarDaughterControls";
|
|
2
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
|
+
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
4
|
+
import { IToolbarActionContainerButton } from "@docsvision/web/components/table/plugins/toolbar-action-container";
|
|
5
|
+
export declare function getToolbarDaughterControls(services: $ToolbarDaughterControls & $DeviceType): TablePlugins.Toolbar.Component<$DeviceType>[];
|
|
6
|
+
export declare function getToolbarDaughterControlsActionButtons(services: $ToolbarDaughterControls & $DeviceType): IToolbarActionContainerButton[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { IToolbarDaughterControlsService } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
3
|
+
import { IToolbarActionContainerButton } from '@docsvision/web/components/table/plugins/toolbar-action-container';
|
|
4
|
+
import { Store, Event } from 'effector';
|
|
5
|
+
/** @internal Реализация {@link IFolderGridToolbarService}. */
|
|
6
|
+
export declare class ToolbarDaughterControlsService implements IToolbarDaughterControlsService {
|
|
7
|
+
$controls: Store<GenModels.ControlModel[]>;
|
|
8
|
+
setControls: Event<GenModels.ControlModel[]>;
|
|
9
|
+
$location: Store<GenModels.AdditionalElementsMode>;
|
|
10
|
+
setLocation: Event<GenModels.AdditionalElementsMode>;
|
|
11
|
+
constructor();
|
|
12
|
+
getRelativeToLocation: (actionButtonsRelativeToLocation: IToolbarActionContainerButton[], ...actionButtons: IToolbarActionContainerButton[]) => IToolbarActionContainerButton[];
|
|
13
|
+
}
|
|
@@ -12,6 +12,7 @@ import { $ExperimentalFeature } from '@docsvision/webclient/System/$Experimental
|
|
|
12
12
|
import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
|
|
13
13
|
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
14
14
|
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
15
|
+
import { $FolderInfo } from '@docsvision/webclient/Platform/$FolderInfo';
|
|
15
16
|
export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
16
17
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
17
18
|
standardCssClass?: string;
|
|
@@ -25,7 +26,7 @@ export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
|
25
26
|
isClearButtonHidden?: boolean;
|
|
26
27
|
/** Скрыт ли плейсхолдер */
|
|
27
28
|
isPlaceholderHidden?: boolean;
|
|
28
|
-
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse & $Resources & $WebFrameSearchPanel;
|
|
29
|
+
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse & $Resources & $WebFrameSearchPanel & $FolderInfo;
|
|
29
30
|
}
|
|
30
31
|
export interface WebFrameSearchPanelState extends WebFrameSearchPanelParams, BaseControlState {
|
|
31
32
|
}
|
|
@@ -34,7 +35,6 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
34
35
|
private searchInput;
|
|
35
36
|
private searchInputText;
|
|
36
37
|
private searchPlaceholder;
|
|
37
|
-
private timer;
|
|
38
38
|
private dropdown;
|
|
39
39
|
private searchText;
|
|
40
40
|
private prevNavBarMode;
|
|
@@ -49,6 +49,7 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
49
49
|
get IsMobile(): boolean;
|
|
50
50
|
get IsSearchResults(): boolean;
|
|
51
51
|
get SearchContext(): GenModels.SearchContextOption;
|
|
52
|
+
get IsSearchEveryWhere(): boolean;
|
|
52
53
|
get SearchText(): string;
|
|
53
54
|
get Dropdown(): SearchDropdown;
|
|
54
55
|
get IsNotOpened(): boolean;
|
|
@@ -65,9 +66,9 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
65
66
|
onSearchAreaSelected: (oldVal: GenModels.SearchContextOption, newVal: GenModels.SearchContextOption) => void;
|
|
66
67
|
reset: () => void;
|
|
67
68
|
clear: () => void;
|
|
68
|
-
search: (refresh?: boolean) => void;
|
|
69
|
+
search: (refresh?: boolean, clear?: boolean) => void;
|
|
69
70
|
rebuild: () => void;
|
|
70
|
-
buildSearchRequestParams: (searchText: string, refresh: boolean) => void;
|
|
71
|
+
buildSearchRequestParams: (searchText: string, refresh: boolean, clear?: boolean) => void;
|
|
71
72
|
checkFullTextSearchAvailability: () => boolean;
|
|
72
73
|
toggleSearchPanel: () => void;
|
|
73
74
|
onExpanded: () => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { $InsideMainMenu } from '@docsvision/webclient/Platform/$InsideMainMenu';
|
|
3
2
|
import { $ApplicationSettings, $CurrentEmployee, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
3
|
import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
@@ -6,8 +5,10 @@ import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
|
6
5
|
import { $LayoutStaffController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
7
6
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
8
7
|
import { PerformOnce } from '@docsvision/webclient/Legacy/Utils';
|
|
8
|
+
import React from 'react';
|
|
9
9
|
import { $EmployeeStatus } from '@docsvision/webclient/Platform/$EmployeeStatus';
|
|
10
10
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
11
|
+
import { $Poll } from '@docsvision/webclient/System/$PollService';
|
|
11
12
|
/**
|
|
12
13
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameUserPanel}.
|
|
13
14
|
*/
|
|
@@ -26,7 +27,7 @@ export declare class WebFrameUserPanelParams extends BaseControlParams {
|
|
|
26
27
|
isMobileMenuHidden?: boolean;
|
|
27
28
|
/** Показывает формат отображения данных сотрудника */
|
|
28
29
|
userPanelDisplayMode?: number;
|
|
29
|
-
services?: $CurrentEmployee & $InsideMainMenu & $ApplicationSettings & $LayoutStaffController & $EmployeeStatus & $DeviceType & $LocalStorage;
|
|
30
|
+
services?: $CurrentEmployee & $InsideMainMenu & $ApplicationSettings & $LayoutStaffController & $EmployeeStatus & $DeviceType & $LocalStorage & $Poll;
|
|
30
31
|
}
|
|
31
32
|
export interface WebFrameUserPanelState extends WebFrameUserPanelParams, BaseControlState {
|
|
32
33
|
employeeStatus: GenModels.StaffEmployeeStatus;
|
|
@@ -65,6 +66,7 @@ export declare class WebFrameUserPanel extends BaseControl<WebFrameUserPanelPara
|
|
|
65
66
|
showUserProfile: (e: any) => void;
|
|
66
67
|
showMenuAbout: (e: any) => void;
|
|
67
68
|
showMenuExit: (e: any) => void;
|
|
69
|
+
showPoll: (e: React.MouseEvent) => void;
|
|
68
70
|
toggleMenuOnMobileVersion: (e: any) => void;
|
|
69
71
|
renderControlInsideHeader(): JSX.Element;
|
|
70
72
|
renderControlInsideMainMenu(): JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { ICurrentFolderService } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
3
|
+
export declare function filterViews(views: GenModels.FolderViewInfo[], currentFolder: ICurrentFolderService): GenModels.FolderViewInfo[];
|
package/StandardServices.d.ts
CHANGED
|
@@ -48,7 +48,9 @@ import { $WebFrameDirectorySearchInfoStorageService } from "@docsvision/webclien
|
|
|
48
48
|
import { $DialogManagement } from "@docsvision/webclient/Helpers/ModalDialog/$DialogManagement";
|
|
49
49
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
50
50
|
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
51
|
+
import { $Poll } from "@docsvision/webclient/System/$PollService";
|
|
51
52
|
import { $FolderPluginProvider } from "@docsvision/webclient/Platform/$FolderPluginProvider";
|
|
53
|
+
import { $HoverPanel } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
52
54
|
/** Сервис доступа к идентификатору текущего пользователя. */
|
|
53
55
|
export declare type $CurrentEmployeeId = {
|
|
54
56
|
currentEmployeeId: string;
|
|
@@ -138,4 +140,4 @@ export declare type $ApplicationSettings = {
|
|
|
138
140
|
};
|
|
139
141
|
export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
|
|
140
142
|
/** Стандартные сервисы Web-клиента. */
|
|
141
|
-
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $FolderPluginProvider;
|
|
143
|
+
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $Poll & $FolderPluginProvider & $HoverPanel;
|
|
@@ -4,9 +4,22 @@ export interface ILastSearchResponse {
|
|
|
4
4
|
readonly $instanceId: Store<string>;
|
|
5
5
|
readonly $searchText: Store<string>;
|
|
6
6
|
readonly $searchContextOption: Store<GenModels.SearchContextOption>;
|
|
7
|
+
readonly $lastSearchText: Store<string>;
|
|
8
|
+
readonly $viewId: Store<string>;
|
|
9
|
+
readonly $sortedColumn: Store<string>;
|
|
10
|
+
readonly $isDescending: Store<boolean>;
|
|
11
|
+
readonly $columns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
12
|
+
readonly $listColumns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
13
|
+
readonly $tablePresentation: Store<GenModels.TablePresentation>;
|
|
7
14
|
setInstenceId: Event<string>;
|
|
8
15
|
setSearchText: Event<string>;
|
|
9
16
|
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
17
|
+
setViewId: Event<string>;
|
|
18
|
+
setSortedColumn: Event<string>;
|
|
19
|
+
setColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
20
|
+
setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
21
|
+
setIsDescending: Event<boolean>;
|
|
22
|
+
setTablePresentation: Event<GenModels.TablePresentation>;
|
|
10
23
|
}
|
|
11
24
|
export declare type $LastSearchResponse = {
|
|
12
25
|
lastSearchResponse: ILastSearchResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Store } from 'effector';
|
|
2
|
+
export interface IPoll {
|
|
3
|
+
readonly $URL: Store<string> | null;
|
|
4
|
+
readonly $requestDate: Store<Date>;
|
|
5
|
+
show(): void;
|
|
6
|
+
}
|
|
7
|
+
export declare type $Poll = {
|
|
8
|
+
poll: IPoll;
|
|
9
|
+
};
|
|
10
|
+
export declare const $Poll: string | ((model?: $Poll) => IPoll);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
3
3
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
+
import { Button } from 'noty';
|
|
4
5
|
export declare const getButtonsOrderKey: () => string;
|
|
5
6
|
export declare const getButtonsOrderFromLocalStorage: (localStorage: ILocalStorage) => unknown;
|
|
6
7
|
export declare const setButtonsOrderToLocalStorage: (localStorage: ILocalStorage, value: GenModels.ButtonPositions) => boolean;
|
|
7
8
|
export declare const isMac: () => boolean;
|
|
8
|
-
export declare const createButtonsOrderArray: (localStorage: ILocalStorage, ok: JSX.Element | HTMLButtonElement, cancel: JSX.Element | HTMLButtonElement) => (JSX.Element | HTMLButtonElement)[];
|
|
9
|
+
export declare const createButtonsOrderArray: (localStorage: ILocalStorage, ok: JSX.Element | HTMLButtonElement | Button, cancel: JSX.Element | HTMLButtonElement | Button) => (JSX.Element | HTMLButtonElement | Button)[];
|
|
9
10
|
export declare const renderButtonsOrder: (localStorage: ILocalStorage, ok: JSX.Element | HTMLButtonElement, cancel: JSX.Element | HTMLButtonElement) => JSX.Element;
|
|
10
11
|
export declare function updateButtonsOrderClass(localStorage: ILocalStorage): void;
|
|
@@ -8,13 +8,32 @@ export declare class LastSearchResponseService implements ILastSearchResponse {
|
|
|
8
8
|
static InstanceId: string;
|
|
9
9
|
static SearchText: string;
|
|
10
10
|
static SearchContextOption: string;
|
|
11
|
+
static LastSearchText: string;
|
|
11
12
|
static ViewId: string;
|
|
13
|
+
static SortedColumn: string;
|
|
14
|
+
static IsDescending: string;
|
|
15
|
+
static Columns: string;
|
|
16
|
+
static ListColumns: string;
|
|
17
|
+
static TablePresentation: string;
|
|
12
18
|
$instanceId: Store<string>;
|
|
13
19
|
setInstenceId: Event<string>;
|
|
14
20
|
$searchText: Store<string>;
|
|
15
21
|
setSearchText: Event<string>;
|
|
16
22
|
$searchContextOption: Store<GenModels.SearchContextOption>;
|
|
17
23
|
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
24
|
+
$viewId: Store<string>;
|
|
25
|
+
setViewId: Event<string>;
|
|
26
|
+
$sortedColumn: Store<string>;
|
|
27
|
+
setSortedColumn: Event<string>;
|
|
28
|
+
$isDescending: Store<boolean>;
|
|
29
|
+
setIsDescending: Event<boolean>;
|
|
30
|
+
$lastSearchText: Store<string>;
|
|
31
|
+
$columns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
32
|
+
setColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
33
|
+
$listColumns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
34
|
+
setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
35
|
+
$tablePresentation: Store<GenModels.TablePresentation>;
|
|
36
|
+
setTablePresentation: Event<GenModels.TablePresentation>;
|
|
18
37
|
constructor(services: $LocalStorage & $Domain);
|
|
19
38
|
private setData;
|
|
20
39
|
}
|
|
@@ -7,7 +7,7 @@ export declare class LayoutCardControllerStub implements GenControllers.ILayoutC
|
|
|
7
7
|
newCard(createParams: GenModels.LayoutCardCreateParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
8
8
|
view(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
9
9
|
edit(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
10
|
-
delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<
|
|
10
|
+
delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<string>;
|
|
11
11
|
getLayout(cardLayoutParams: GenModels.CardLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
12
12
|
getLayoutPart(layoutPartParams: GenModels.LayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
|
|
13
13
|
save(model: GenModels.SaveControlDataModel, options?: RequestOptions): Promise<void>;
|
package/System/Poll.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component/HtmlProps';
|
|
3
|
+
import './Poll.css';
|
|
4
|
+
import { NextPollDisplay } from '@docsvision/webclient/System/PollService';
|
|
5
|
+
export interface PollProps extends HtmlProps.iframe {
|
|
6
|
+
extendTime(month: NextPollDisplay): void;
|
|
7
|
+
}
|
|
8
|
+
export declare const MIN_POLL_TIME = 30;
|
|
9
|
+
/** Контейнер для опроса */
|
|
10
|
+
export declare function Poll(props: PollProps): JSX.Element;
|