@docsvision/webclient 5.17.2-beta.4 → 5.17.3
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/Comments.d.ts +2 -2
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +1 -0
- package/BackOffice/DigitalSignatureService.d.ts +2 -1
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +5 -2
- package/BackOffice/EmployeeImpl.d.ts +5 -0
- package/BackOffice/FileListConstants.d.ts +4 -0
- package/BackOffice/FileListControl.d.ts +9 -4
- package/BackOffice/FileSignListDialog.d.ts +2 -0
- package/BackOffice/GetSearchItemsType.d.ts +2 -0
- package/BackOffice/IExtraFileAdded.d.ts +3 -0
- package/BackOffice/IFileTypeChangeArgs.d.ts +4 -0
- package/BackOffice/IMainFileAdded.d.ts +3 -0
- package/BackOffice/INewFileList.d.ts +3 -0
- package/BackOffice/Links.d.ts +2 -2
- package/BackOffice/Powers.stories.d.ts +0 -1
- package/BackOffice/SignatureDialog.d.ts +4 -0
- package/BackOffice/SignatureDialog.stories.d.ts +9 -0
- package/BackOffice/SignatureDialogLogic.d.ts +2 -0
- package/BackOffice/ToSearchArea.d.ts +3 -0
- package/BackOffice/Utils.d.ts +1 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +10 -54
- package/Generated/DocsVision.WebClient.Models.d.ts +168 -677
- package/Helpers/ComboBox/ComboBoxElement.d.ts +2 -0
- package/Helpers/ComboBox/Data/ClientModels/IComboBoxElement.d.ts +2 -0
- package/Helpers/PopoverHelpers/Popover.d.ts +2 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/DocumentPanel.d.ts +2 -0
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -1
- package/Platform/$CommandBarManagement.d.ts +4 -4
- package/Platform/$GridOptions.d.ts +1 -0
- package/Platform/$ScanDialog.d.ts +4 -4
- package/Platform/FolderCardsDashboardWidget.d.ts +2 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +2 -0
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +2 -2
- package/Platform/SkipSavingCursorRequestResolver.d.ts +12 -0
- package/System/$LastSearchResponse.d.ts +2 -2
- package/System/LastSearchResponseService.d.ts +3 -3
- package/System/ResourcesStub.d.ts +1 -0
- package/System/Summernote.d.ts +2 -0
- package/package.json +1 -1
|
@@ -11,6 +11,8 @@ export interface IComboBoxElementProps {
|
|
|
11
11
|
selected?: boolean;
|
|
12
12
|
/** Имеет ли элемент фокус в данный момент */
|
|
13
13
|
focused?: boolean;
|
|
14
|
+
/** Текст всплывающей подсказки */
|
|
15
|
+
tooltip?: string;
|
|
14
16
|
/** При нажатии на элемент */
|
|
15
17
|
onMouseDown?: Function;
|
|
16
18
|
/** При выборе элемента */
|
|
@@ -3,6 +3,8 @@ export interface IComboBoxElement {
|
|
|
3
3
|
id: string;
|
|
4
4
|
/** Отображаемый заголовок элемента */
|
|
5
5
|
title: string;
|
|
6
|
+
/** Текст всплывающей подсказки */
|
|
7
|
+
tooltip?: string;
|
|
6
8
|
/** Запретить взаимодействие с элементом в списке */
|
|
7
9
|
disabled?: boolean;
|
|
8
10
|
/** Объект с любыми пользовательскими данными (по умолчанию - undefined) */
|
|
@@ -53,6 +53,8 @@ export interface IPopoverProps {
|
|
|
53
53
|
className?: string;
|
|
54
54
|
/** Минимальная ширина. */
|
|
55
55
|
minWidth?: string;
|
|
56
|
+
/** Установить ширину всплывающего окна по максимальному значению ширины содержимого */
|
|
57
|
+
widthMaxContent?: boolean;
|
|
56
58
|
/** Координаты клика мыши. */
|
|
57
59
|
pageCoordinates?: any;
|
|
58
60
|
/** Показывает необходимость обработать событие contextmenu. */
|
|
@@ -8,6 +8,7 @@ export declare class ApprovalFilePanel {
|
|
|
8
8
|
static ControlTypeName: string;
|
|
9
9
|
private static FileLinkCssClass;
|
|
10
10
|
private static FileSettingsCssClass;
|
|
11
|
+
private static DownloadMenuItemsCssClass;
|
|
11
12
|
private static FileItemCssClass;
|
|
12
13
|
private static FileVersionCssClass;
|
|
13
14
|
private static VersionSettingsCssClass;
|
|
@@ -3,6 +3,8 @@ import { IBasicEvent } from '@docsvision/webclient/System/IBasicEvent';
|
|
|
3
3
|
/** @internal */
|
|
4
4
|
export declare class DocumentPanel {
|
|
5
5
|
private static FileSettingsCssClass;
|
|
6
|
+
private static DocumentItemCssClass;
|
|
7
|
+
private static DownloadMenuItemsCssClass;
|
|
6
8
|
private static FileLinkCssClass;
|
|
7
9
|
private static FileDocumentLinkCssClass;
|
|
8
10
|
private static DocumentUnLinkCssClass;
|
|
@@ -49,7 +49,7 @@ export declare class TaskCardFilePanelRazorControl extends BaseRazorControl<Task
|
|
|
49
49
|
findControlsForUpdateDisclosure: (addOnlyShadowClass?: boolean) => void;
|
|
50
50
|
componentDidMount(): void;
|
|
51
51
|
componentWillUnmount(): void;
|
|
52
|
-
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void
|
|
52
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => Promise<void>;
|
|
53
53
|
componentDidUpdate(prevProps: any): void;
|
|
54
54
|
private updatePreview;
|
|
55
55
|
private addPreviewHandlers;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
2
2
|
import { IMainFileAddingArgs } from '@docsvision/webclient/BackOffice/IMainFileAddingArgs';
|
|
3
|
-
import { IMainFileAddedArgs } from '@docsvision/webclient/BackOffice/IMainFileAddedArgs';
|
|
4
3
|
import { IExtraFileAddingArgs } from '@docsvision/webclient/BackOffice/IExtraFileAddingArgs';
|
|
5
|
-
import {
|
|
4
|
+
import { IMainFileAdded } from '@docsvision/webclient/BackOffice/IMainFileAdded';
|
|
5
|
+
import { IExtraFileAdded } from '@docsvision/webclient/BackOffice/IExtraFileAdded';
|
|
6
6
|
export interface ICommandBarManagementService {
|
|
7
7
|
mainFileAdding: CancelableApiEvent<IMainFileAddingArgs>;
|
|
8
8
|
extraFileAdding: CancelableApiEvent<IExtraFileAddingArgs>;
|
|
9
|
-
mainFileAdded: BasicApiEvent<
|
|
10
|
-
extraFileAdded: BasicApiEvent<
|
|
9
|
+
mainFileAdded: BasicApiEvent<IMainFileAdded>;
|
|
10
|
+
extraFileAdded: BasicApiEvent<IExtraFileAdded>;
|
|
11
11
|
canAddMain: boolean;
|
|
12
12
|
canAddExtra: boolean;
|
|
13
13
|
isFilesExpanded(): boolean;
|
|
@@ -3,16 +3,16 @@ import { ImageType } from '@docsvision/webclient/Platform/ImageType';
|
|
|
3
3
|
import { ScanInfo } from '@docsvision/webclient/Platform/RotateDirection';
|
|
4
4
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
5
5
|
import { IMainFileAddingArgs } from '@docsvision/webclient/BackOffice/IMainFileAddingArgs';
|
|
6
|
-
import { IMainFileAddedArgs } from '@docsvision/webclient/BackOffice/IMainFileAddedArgs';
|
|
7
6
|
import { IExtraFileAddingArgs } from '@docsvision/webclient/BackOffice/IExtraFileAddingArgs';
|
|
8
|
-
import {
|
|
7
|
+
import { IMainFileAdded } from '@docsvision/webclient/BackOffice/IMainFileAdded';
|
|
8
|
+
import { IExtraFileAdded } from '@docsvision/webclient/BackOffice/IExtraFileAdded';
|
|
9
9
|
export interface ScanDialogProps {
|
|
10
10
|
operationName: string;
|
|
11
11
|
isMain: boolean;
|
|
12
12
|
mainFileAdding?: CancelableApiEvent<IMainFileAddingArgs>;
|
|
13
13
|
extraFileAdding?: CancelableApiEvent<IExtraFileAddingArgs>;
|
|
14
|
-
mainFileAdded?: BasicApiEvent<
|
|
15
|
-
extraFileAdded?: BasicApiEvent<
|
|
14
|
+
mainFileAdded?: BasicApiEvent<IMainFileAdded>;
|
|
15
|
+
extraFileAdded?: BasicApiEvent<IExtraFileAdded>;
|
|
16
16
|
onLoaded?: () => void;
|
|
17
17
|
}
|
|
18
18
|
export interface ScanDialogState {
|
|
@@ -23,6 +23,8 @@ export declare class FolderCardsDashboardWidgetParams extends PanelParams {
|
|
|
23
23
|
sortColumnName?: string;
|
|
24
24
|
/** Направление сортировки - если true, то по убыванию, иначе по возрастанию. */
|
|
25
25
|
sortDescending?: string;
|
|
26
|
+
/** Показывать Ленту вместо Грида*/
|
|
27
|
+
showListByDefault?: boolean;
|
|
26
28
|
/** Колличество карточек которые будут отображены. По умолчанию 5. */
|
|
27
29
|
cardsCount?: number;
|
|
28
30
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
@@ -18,6 +18,8 @@ export declare class RecentCardsDashboardWidgetParams extends PanelParams {
|
|
|
18
18
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
19
19
|
standardCssClass?: string;
|
|
20
20
|
opacity?: number;
|
|
21
|
+
/** Показывать Ленту вместо Грида*/
|
|
22
|
+
showListByDefault?: boolean;
|
|
21
23
|
services?: $PagesController & $GridController & $LayoutManager & $Layout & $LocationContainerControlServices & $ExperimentalFeature & $Router & $LayoutInfo;
|
|
22
24
|
}
|
|
23
25
|
/** @internal */
|
|
@@ -10,9 +10,9 @@ export declare class RecentCardsDashboardWidgetDataLoader extends DefaultFolderD
|
|
|
10
10
|
id: string;
|
|
11
11
|
constructor(services: $PagesController & $GridController & $LayoutInfo, widgetParams?: any);
|
|
12
12
|
load(request: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.GridViewModel>;
|
|
13
|
-
loadLayoutModel(requestData
|
|
13
|
+
loadLayoutModel(requestData?: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.CardListViewModel>;
|
|
14
14
|
findControl(parent: GenModels.ControlModel, controlName: string): GenModels.ControlModel;
|
|
15
|
-
prepareRequest(originalRequest
|
|
15
|
+
prepareRequest(originalRequest?: GenModels.CardListRequestModel): GenModels.CardListRequestModel;
|
|
16
16
|
protected getRequestOptions(isMobile: boolean): RequestOptions;
|
|
17
17
|
prepareResponse(model: GenModels.GridViewModelEx): GenModels.GridViewModelEx;
|
|
18
18
|
}
|
|
@@ -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 { $GridOptions } from '@docsvision/webclient/Platform/$GridOptions';
|
|
7
|
+
export declare class SkipSavingCursorRequestResolver implements IFolderDataLoadingPlugin {
|
|
8
|
+
id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
order: PluginOrder;
|
|
11
|
+
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, prevResp?: GenModels.GridViewModel, services?: $GridOptions): Promise<void>;
|
|
12
|
+
}
|
|
@@ -10,7 +10,7 @@ export interface ILastSearchResponse {
|
|
|
10
10
|
readonly $isDescending: Store<boolean>;
|
|
11
11
|
readonly $columns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
12
12
|
readonly $listColumns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
13
|
-
readonly $tablePresentation: Store<GenModels.
|
|
13
|
+
readonly $tablePresentation: Store<GenModels.TablePresentationForDevice[]>;
|
|
14
14
|
setInstenceId: Event<string>;
|
|
15
15
|
setSearchText: Event<string>;
|
|
16
16
|
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
@@ -19,7 +19,7 @@ export interface ILastSearchResponse {
|
|
|
19
19
|
setColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
20
20
|
setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
21
21
|
setIsDescending: Event<boolean>;
|
|
22
|
-
setTablePresentation: Event<GenModels.
|
|
22
|
+
setTablePresentation: Event<GenModels.TablePresentationForDevice[]>;
|
|
23
23
|
}
|
|
24
24
|
export declare type $LastSearchResponse = {
|
|
25
25
|
lastSearchResponse: ILastSearchResponse;
|
|
@@ -14,7 +14,7 @@ export declare class LastSearchResponseService implements ILastSearchResponse {
|
|
|
14
14
|
static IsDescending: string;
|
|
15
15
|
static Columns: string;
|
|
16
16
|
static ListColumns: string;
|
|
17
|
-
static
|
|
17
|
+
static TablePresentationForDevice: string;
|
|
18
18
|
$instanceId: Store<string>;
|
|
19
19
|
setInstenceId: Event<string>;
|
|
20
20
|
$searchText: Store<string>;
|
|
@@ -32,8 +32,8 @@ export declare class LastSearchResponseService implements ILastSearchResponse {
|
|
|
32
32
|
setColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
33
33
|
$listColumns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
34
34
|
setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
35
|
-
$tablePresentation: Store<GenModels.
|
|
36
|
-
setTablePresentation: Event<GenModels.
|
|
35
|
+
$tablePresentation: Store<GenModels.TablePresentationForDevice[]>;
|
|
36
|
+
setTablePresentation: Event<GenModels.TablePresentationForDevice[]>;
|
|
37
37
|
constructor(services: $LocalStorage & $Domain);
|
|
38
38
|
private setData;
|
|
39
39
|
}
|
|
@@ -1566,4 +1566,5 @@ export declare let resourcesStub: {
|
|
|
1566
1566
|
FilePanel_Sign_ResultOfValidation: string;
|
|
1567
1567
|
FilePanel_Sign_InformationAboutPowerOfAttorney: string;
|
|
1568
1568
|
PowersDirectory_TreeAddButtons_ImportPowers: string;
|
|
1569
|
+
PowerOfAttorneyInfo_RegTransferStatus: string;
|
|
1569
1570
|
};
|
package/System/Summernote.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="jquery" />
|
|
2
|
+
import { $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
3
|
import { EditPopover } from "@docsvision/webclient/Helpers/PopoverHelpers/EditPopover/EditPopover";
|
|
3
4
|
export interface EmployeeMentionData {
|
|
4
5
|
name: string;
|
|
@@ -26,5 +27,6 @@ export interface ISummernoteProps {
|
|
|
26
27
|
editMode?: boolean;
|
|
27
28
|
placeholder?: string;
|
|
28
29
|
savedComment?: string;
|
|
30
|
+
services?: $LayoutStaffController;
|
|
29
31
|
}
|
|
30
32
|
export declare const initSummernote: (props: ISummernoteProps) => Promise<void>;
|