@docsvision/webclient 5.16.1 → 5.16.4
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/FileListControl.d.ts +5 -2
- package/BackOffice/FileListControlLogic.d.ts +1 -1
- package/BackOffice/FileListItemComponent.d.ts +1 -1
- package/BackOffice/FileListItemProps.d.ts +2 -1
- package/BackOffice/FileSign.d.ts +2 -2
- package/BackOffice/GenderDeterminantPlugin.d.ts +3 -0
- package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
- package/BackOffice/ITaskTableSorting.d.ts +27 -0
- package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
- package/BackOffice/SortingRows.d.ts +6 -0
- package/BackOffice/StaffDirectorySelectDialog.d.ts +4 -1
- 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 +73 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +1006 -266
- package/Helpers/Sortable/Data/ClientModels/ISortableItem.d.ts +7 -1
- package/Helpers/Sortable/Sortable.d.ts +11 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Helpers/Typeahead/Typeahead.d.ts +1 -1
- package/Legacy/BasicGridHtmlBuilder.d.ts +3 -1
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
- package/Legacy/Utils.d.ts +5 -0
- package/Libs/CryptoPro/Crypto.d.ts +102 -0
- package/Libs/FileDrop/FileDrop.d.ts +49 -0
- package/MainBundle.d.ts +1 -0
- package/Platform/$LastSearchParameters.d.ts +10 -0
- package/Platform/$RefreshUnreadCounters.d.ts +10 -0
- package/Platform/$SearchParametersFolder.d.ts +13 -0
- package/Platform/$UnreadCounter.d.ts +2 -0
- package/Platform/$UnreadCountersHealthMonitor.d.ts +6 -0
- package/Platform/CardLink.d.ts +2 -1
- package/Platform/FilePickerImpl.d.ts +1 -0
- package/Platform/FolderSizePlugin.d.ts +2 -1
- package/Platform/LastSearchParametersService.d.ts +13 -0
- package/Platform/Number.d.ts +2 -0
- package/Platform/NumberImpl.d.ts +1 -0
- package/Platform/ReadAllPlugin.d.ts +2 -1
- package/Platform/ReadBatchOperation.d.ts +4 -1
- package/Platform/RefreshUnreadCountersService.d.ts +13 -0
- package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -1
- package/Platform/SearchParametersFolderResponseResolver.d.ts +5 -1
- package/Platform/SearchParametersFolderService.d.ts +12 -0
- package/Platform/UnreadBarService.d.ts +3 -1
- package/Platform/UnreadBarTablePlugins.d.ts +3 -1
- package/Platform/UnreadCounter.d.ts +1 -0
- package/Platform/UnreadCountersHealthMonitorService.d.ts +32 -0
- package/StandardServices.d.ts +4 -1
- package/System/$FileService.d.ts +16 -9
- package/System/$Router.d.ts +1 -0
- package/System/DataGridControl.d.ts +63 -0
- package/System/FileService.d.ts +14 -15
- package/System/ILayoutParams.d.ts +2 -0
- package/System/LayoutManager.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/Router.d.ts +1 -0
- package/package.json +1 -1
- package/Platform/SearchParametersFolderExtendedData.d.ts +0 -4
package/System/$FileService.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
2
2
|
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
3
|
+
export declare enum FileServiceOrder {
|
|
4
|
+
Primary = 0,
|
|
5
|
+
Secondary = 1
|
|
6
|
+
}
|
|
7
|
+
export interface IFileServiceItem extends FileListItem {
|
|
8
|
+
order?: FileServiceOrder;
|
|
9
|
+
}
|
|
3
10
|
export interface IFileService {
|
|
4
|
-
getFiles():
|
|
5
|
-
getFileGroups():
|
|
6
|
-
setFileGroups(groups:
|
|
7
|
-
registerFiles(files:
|
|
8
|
-
unRegisterFiles(files:
|
|
9
|
-
addNewFile(file:
|
|
10
|
-
deleteFile(file:
|
|
11
|
-
updateFile(file:
|
|
11
|
+
getFiles(): IFileServiceItem[];
|
|
12
|
+
getFileGroups(): IFileServiceItem[][];
|
|
13
|
+
setFileGroups(groups: IFileServiceItem[][], files?: IFileServiceItem[]): void;
|
|
14
|
+
registerFiles(files: IFileServiceItem[], order?: FileServiceOrder): void;
|
|
15
|
+
unRegisterFiles(files: IFileServiceItem[]): void;
|
|
16
|
+
addNewFile(file: IFileServiceItem, files: IFileServiceItem[]): void;
|
|
17
|
+
deleteFile(file: IFileServiceItem): void;
|
|
18
|
+
updateFile(file: IFileServiceItem): void;
|
|
12
19
|
selectedFileWasChanged: SimpleEvent<any>;
|
|
13
20
|
fileListWasChanged: SimpleEvent<any>;
|
|
14
|
-
selectedFile:
|
|
21
|
+
selectedFile: IFileServiceItem;
|
|
15
22
|
}
|
|
16
23
|
export declare type $FileService = {
|
|
17
24
|
fileService: IFileService;
|
package/System/$Router.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface IRouter {
|
|
|
12
12
|
* Please, don't use it. Really.
|
|
13
13
|
*/
|
|
14
14
|
readonly dangerouslyUrl: string;
|
|
15
|
+
readonly previousUrl: string;
|
|
15
16
|
getLastRouteProcessingId(): string;
|
|
16
17
|
addHandler<T>(routeType: RouteType, handler: IRouteHandler<T>): any;
|
|
17
18
|
removeHandler<T>(routeType: RouteType, handler: IRouteHandler<T>): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $DataGridControlController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
5
|
+
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
6
|
+
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
7
|
+
import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
|
|
8
|
+
import { $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
9
|
+
import { CancelableEvent } from '@docsvision/webclient/System/CancelableEvent';
|
|
10
|
+
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
11
|
+
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
12
|
+
import { ITableData, ITablePlugins } from '@docsvision/web/components/table/interfaces';
|
|
13
|
+
import "./DataGridControl.css";
|
|
14
|
+
/**
|
|
15
|
+
* Содержит публичные свойства элемента управления [ReadOnlyTable]{@link ReadOnlyTable}.
|
|
16
|
+
*/
|
|
17
|
+
export declare class DataGridControlParams extends BaseControlParams {
|
|
18
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
19
|
+
standardCssClass?: string;
|
|
20
|
+
/** Название плагина для формирования контентента таблицы */
|
|
21
|
+
pluginName?: string;
|
|
22
|
+
/** Перечнь параметров, которые будут переданы при запросе данных таблицы. */
|
|
23
|
+
params?: GenModels.ParamModel[];
|
|
24
|
+
/** Данные для заполнения талибцы */
|
|
25
|
+
data?: ITableData;
|
|
26
|
+
/**
|
|
27
|
+
* Информация о загрузке таблицы
|
|
28
|
+
* @param state Состояние
|
|
29
|
+
*/
|
|
30
|
+
renderLoadingState?: (state: LoadingState) => JSX.Element;
|
|
31
|
+
/** Расширения таблицы. */
|
|
32
|
+
plugins?: ITablePlugins;
|
|
33
|
+
tableLoaded?: SimpleEvent<IEventArgs>;
|
|
34
|
+
tableLoading?: CancelableEvent<IEventArgs>;
|
|
35
|
+
/** Необходимые сервисы для работы контрола */
|
|
36
|
+
services?: $DataGridControlController & $CardId;
|
|
37
|
+
}
|
|
38
|
+
/** @internal */
|
|
39
|
+
export interface DataGridControlState extends BaseControlState, DataGridControlParams {
|
|
40
|
+
loadingHelper: RequestHelper;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Класс элемента управления, служащего для загрузки и отображения таблицы в режиме чтения.
|
|
44
|
+
*/
|
|
45
|
+
export declare class DataGridControl extends BaseControl<DataGridControlParams, DataGridControlState> {
|
|
46
|
+
protected construct(): void;
|
|
47
|
+
componentWillUnmount(): void;
|
|
48
|
+
protected createParams(): DataGridControlParams;
|
|
49
|
+
protected createImpl(): ControlImpl;
|
|
50
|
+
protected set paramsHandler(params: string | GenModels.ParamModel[] | undefined | null);
|
|
51
|
+
/** @internal */
|
|
52
|
+
init(): void;
|
|
53
|
+
protected initInternal(): Promise<any>;
|
|
54
|
+
/** @internal */
|
|
55
|
+
protected loadTableData(): Promise<GenModels.TableModel>;
|
|
56
|
+
/**
|
|
57
|
+
* Инициализация данных талицы
|
|
58
|
+
* @param data данные
|
|
59
|
+
*/
|
|
60
|
+
protected initializeTableData(data: ITableData): void;
|
|
61
|
+
/** @internal */
|
|
62
|
+
renderControl(): JSX.Element;
|
|
63
|
+
}
|
package/System/FileService.d.ts
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { IFileService } from '@docsvision/webclient/System/$FileService';
|
|
2
|
-
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
1
|
+
import { FileServiceOrder, IFileService, IFileServiceItem } from '@docsvision/webclient/System/$FileService';
|
|
3
2
|
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
4
3
|
export declare class FileService implements IFileService {
|
|
5
|
-
_selectedFile:
|
|
6
|
-
files:
|
|
7
|
-
fileGroups:
|
|
4
|
+
_selectedFile: IFileServiceItem;
|
|
5
|
+
files: IFileServiceItem[];
|
|
6
|
+
fileGroups: IFileServiceItem[][];
|
|
8
7
|
constructor();
|
|
9
|
-
get selectedFile():
|
|
10
|
-
set selectedFile(val:
|
|
11
|
-
getFiles():
|
|
12
|
-
getFileGroups():
|
|
13
|
-
setFileGroups(groups:
|
|
14
|
-
registerFiles(files:
|
|
15
|
-
unRegisterFiles(files:
|
|
8
|
+
get selectedFile(): IFileServiceItem;
|
|
9
|
+
set selectedFile(val: IFileServiceItem);
|
|
10
|
+
getFiles(): IFileServiceItem[];
|
|
11
|
+
getFileGroups(): IFileServiceItem[][];
|
|
12
|
+
setFileGroups(groups: IFileServiceItem[][], files?: IFileServiceItem[]): void;
|
|
13
|
+
registerFiles(files: IFileServiceItem[], order?: FileServiceOrder): void;
|
|
14
|
+
unRegisterFiles(files: IFileServiceItem[]): void;
|
|
16
15
|
private sortFiles;
|
|
17
16
|
private sortFlatFileList;
|
|
18
17
|
private sortGroupFileList;
|
|
19
|
-
addNewFile(newFile:
|
|
20
|
-
deleteFile(fileForDelete:
|
|
21
|
-
updateFile(file:
|
|
18
|
+
addNewFile(newFile: IFileServiceItem, fileList?: IFileServiceItem[]): void;
|
|
19
|
+
deleteFile(fileForDelete: IFileServiceItem): void;
|
|
20
|
+
updateFile(file: IFileServiceItem): void;
|
|
22
21
|
selectedFileWasChanged: SimpleEvent<any>;
|
|
23
22
|
fileListWasChanged: SimpleEvent<any>;
|
|
24
23
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
1
2
|
import { $StandardControllers } from "@docsvision/webclient/Legacy/StandardControllers";
|
|
2
3
|
import { $StandardServices } from "@docsvision/webclient/StandardServices";
|
|
3
4
|
import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
|
|
@@ -8,6 +9,7 @@ import { ICardStateChangingEventArgs } from "@docsvision/webclient/System/ICardS
|
|
|
8
9
|
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
9
10
|
export interface ILayoutSavedEventArgs extends IEventArgs {
|
|
10
11
|
options: SaveCardOptions;
|
|
12
|
+
bindings?: Array<GenModels.BindingsWriteRequest>;
|
|
11
13
|
}
|
|
12
14
|
export interface ILayoutPrepareSavingEventArgs extends IEventArgs {
|
|
13
15
|
options: SaveCardOptions;
|
|
@@ -29,7 +29,7 @@ export declare class LayoutManager implements ILayoutManager {
|
|
|
29
29
|
protected layoutCardLayoutPosition: string;
|
|
30
30
|
protected layoutUnloadingEvent: CancelableEvent<ILayout>;
|
|
31
31
|
protected layoutUnloadedEvent: SimpleEvent<ILayout>;
|
|
32
|
-
|
|
32
|
+
pageLeaveConfirmation: PageLeaveConfirmation;
|
|
33
33
|
private internalMainContentChange;
|
|
34
34
|
protected prevConfirmationModal: ModalWindow;
|
|
35
35
|
/** @internal */
|
package/System/Router.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare class Router implements IRouter, ILegacyRouter, IRouterNavigation
|
|
|
54
54
|
back(isCancel?: boolean): Promise<void>;
|
|
55
55
|
/** @internal */
|
|
56
56
|
get dangerouslyUrl(): string;
|
|
57
|
+
get previousUrl(): string;
|
|
57
58
|
getLastRouteProcessingId(): string;
|
|
58
59
|
/** @internal */
|
|
59
60
|
addHandler<T>(routeType: RouteType, handler: IRouteHandler<T>, order?: number): void;
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
-
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
3
|
-
import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
|
|
4
|
-
export declare function getExtendedDataSearchParameters(tableData: ITableData): ISimplePluginData<GenModels.SearchParameter[]>;
|