@docsvision/webclient 5.17.0-beta.23 → 5.17.0-beta.24
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/{CheckEmployeeAccount.d.ts → CheckStaffDirectoryData.d.ts} +1 -0
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -0
- package/BackOffice/IPowerModel.d.ts +10 -0
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +11 -0
- package/BackOffice/IPowersDialog.d.ts +5 -0
- package/BackOffice/Powers.d.ts +72 -0
- package/BackOffice/Powers.stories.d.ts +13 -0
- package/BackOffice/PowersImpl.d.ts +71 -0
- package/BackOffice/PowersSelectDialog.d.ts +74 -0
- package/BackOffice/SignatureButtonLogic.d.ts +2 -0
- package/BackOffice/SignatureButtonOptions.d.ts +3 -2
- package/Generated/DocsVision.WebClient.Controllers.d.ts +13 -3
- package/Generated/DocsVision.WebClient.Models.d.ts +49 -15
- package/MainBundle.d.ts +2 -0
- package/Platform/BaseNavigationMenuItemRouteHandler.d.ts +1 -0
- package/Platform/CardLink.d.ts +1 -1
- package/Platform/QuotesHighlight.d.ts +2 -0
- package/Platform/QuotesLogic.d.ts +7 -0
- package/Platform/QuotesModalQuote.d.ts +2 -0
- package/Platform/SettingsPlugin.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2,3 +2,4 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
2
2
|
import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
|
|
3
3
|
import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEventArgs";
|
|
4
4
|
export declare function checkAccountName(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
5
|
+
export declare function checkAddress(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
@@ -48,6 +48,7 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
|
|
|
48
48
|
protected getItemDisplayName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
49
49
|
protected getItemIconClassName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
50
50
|
protected getItemTooltip(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
51
|
+
protected get currentNodeId(): string;
|
|
51
52
|
protected loadChildrenList(nodeId: string, nodeType: any, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<NodeT | ItemT>>;
|
|
52
53
|
protected search(searchText: string, nodeId: string, nodeType: any, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<NodeT, NodeT | ItemT>>;
|
|
53
54
|
protected onToggleSearchMode: () => void;
|
|
@@ -63,6 +64,7 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
|
|
|
63
64
|
protected renderDialogBreadcrumbs(): JSX.Element;
|
|
64
65
|
protected renderSearchModeToggle(): JSX.Element;
|
|
65
66
|
protected onCreateItem: (itemType: GenModels.DirectoryDesignerTreeNodeType) => Promise<void>;
|
|
67
|
+
protected getCurrentNode: () => GenModels.DirectoryDesignerItem;
|
|
66
68
|
protected getItemAvailablechanges(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
67
69
|
protected renderExtraDialogButtons(): JSX.Element;
|
|
68
70
|
protected renderItemName(item: IDirectoryItem<NodeT | ItemT>): JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export interface IPowerModel extends GenModels.IDirectoryItemData {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fullName: string;
|
|
7
|
+
powerDataType: PowersDirectoryDataType;
|
|
8
|
+
dataType: GenModels.DirectoryDataType;
|
|
9
|
+
hasChildren: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export declare class IPowersDataLoadingEventArgs {
|
|
3
|
+
/**
|
|
4
|
+
* Запрашиваемая информация, включая текущий фильтр.
|
|
5
|
+
*/
|
|
6
|
+
query: GenModels.GetDataRequest | GenModels.SearchPowersRequest;
|
|
7
|
+
/**
|
|
8
|
+
* Результат выполнения запроса.
|
|
9
|
+
*/
|
|
10
|
+
result?: GenModels.GetDataResponse | GenModels.SearchPowersQueryResponse;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
2
|
+
import { IDirectorySelectDialog } from '@docsvision/webclient/System/IDirectorySelectDialog';
|
|
3
|
+
export interface IPowersDialog extends IDirectorySelectDialog {
|
|
4
|
+
selectedItems?: IPowerModel[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { $PowersDirectoryController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
|
|
3
|
+
import { $CardInfo, $EditOperationStore, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
4
|
+
import { IBindingResult } from '@docsvision/webclient/System/IBindingResult';
|
|
5
|
+
import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
6
|
+
import { IPowersDataLoadingEventArgs } from '@docsvision/webclient/BackOffice/IPowersDataLoadingEventArgs';
|
|
7
|
+
import { PowersImpl, IPowersState } from '@docsvision/webclient/BackOffice/PowersImpl';
|
|
8
|
+
import { IPowersDialog } from '@docsvision/webclient/BackOffice/IPowersDialog';
|
|
9
|
+
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
10
|
+
import { Optional } from '@docsvision/web/core/services';
|
|
11
|
+
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
12
|
+
export declare type $PowersServices = $LayoutInfo & $EditOperationStore & $CardInfo & $PowersDirectoryController & Optional<$LabelWidth>;
|
|
13
|
+
export declare type PowersValueType = IPowerModel | IPowerModel[];
|
|
14
|
+
export declare type PowersNodeType = IPowerModel;
|
|
15
|
+
declare type ItemT = IPowerModel;
|
|
16
|
+
export declare class PowersParams<ValueT extends PowersValueType = PowersValueType> extends DirectoryBaseParams<ValueT, PowersNodeType, ItemT> {
|
|
17
|
+
standardCssClass?: string;
|
|
18
|
+
displayIcon?: boolean;
|
|
19
|
+
/** Доступен ли выбор нескольких значений. */
|
|
20
|
+
multipleSelection?: boolean;
|
|
21
|
+
selectedItem?: ItemT;
|
|
22
|
+
/** Сохранять разметку при изменении значения */
|
|
23
|
+
saveOnChangeValue?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Событие, возникающее перед выполнением поиска записей на сервере. В обработчике события можно изменить параметры запроса.
|
|
26
|
+
* Если в обработчике задать значение result, то запрос на сервер выполнен не будет.
|
|
27
|
+
*/
|
|
28
|
+
searchResultsLoading?: CancelableApiEvent<IPowersDataLoadingEventArgs>;
|
|
29
|
+
/** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
|
|
30
|
+
searchResultsLoaded?: BasicApiEvent<IPowersDataLoadingEventArgs>;
|
|
31
|
+
/** События возникает при добавлении сотрудника. */
|
|
32
|
+
/** @covered */
|
|
33
|
+
itemAdding?: CancelableApiEvent<ValueT>;
|
|
34
|
+
/** События возникает после добавления сотрудника. */
|
|
35
|
+
/** @covered */
|
|
36
|
+
itemAdded?: BasicApiEvent<ValueT>;
|
|
37
|
+
/** События возникает при удалении сотрудника из списка. */
|
|
38
|
+
/** @covered */
|
|
39
|
+
itemRemoving?: CancelableApiEvent<ValueT>;
|
|
40
|
+
/** События возникает после удаления сотрудника из списка. */
|
|
41
|
+
/** @covered */
|
|
42
|
+
itemRemoved?: BasicApiEvent<ValueT>;
|
|
43
|
+
services?: $PowersServices;
|
|
44
|
+
}
|
|
45
|
+
export declare type PowersSingle = Powers<ItemT>;
|
|
46
|
+
export declare type PowersMultiple = Powers<ItemT[]>;
|
|
47
|
+
export declare class Powers<ValueT extends PowersValueType = PowersValueType> extends DirectoryBase<ValueT, PowersNodeType, ItemT, PowersParams<ValueT>, IPowersState<ValueT>> {
|
|
48
|
+
/** @internal */
|
|
49
|
+
protected createParams(): PowersParams<ValueT>;
|
|
50
|
+
/** @internal */
|
|
51
|
+
protected createImpl(): PowersImpl;
|
|
52
|
+
static ControlTypeName: string;
|
|
53
|
+
protected getServices(): $PowersServices;
|
|
54
|
+
private set binding(value);
|
|
55
|
+
get inputChanged():
|
|
56
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
57
|
+
/** Удаляет выбранное значение. */
|
|
58
|
+
/** @covered */
|
|
59
|
+
removeItem(item?: ItemT): Promise<void>;
|
|
60
|
+
/** Добавляет значение. */
|
|
61
|
+
addItem(item: ItemT): Promise<void>;
|
|
62
|
+
setParamValue(paramName: string, value: any, initial: boolean): void;
|
|
63
|
+
/** Показывает окно справочника. */
|
|
64
|
+
showDictionary(): Promise<IPowersDialog>;
|
|
65
|
+
/** Скрывает окно справочника. */
|
|
66
|
+
hideDictionary(): Promise<void>;
|
|
67
|
+
protected shouldSaveEditInPlaceValue(): boolean;
|
|
68
|
+
onSaved(): Promise<void>;
|
|
69
|
+
/** @internal */
|
|
70
|
+
protected getBindings(): IBindingResult<any>[];
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Powers } from '@docsvision/webclient/BackOffice/Powers';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Powers;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Edit: () => JSX.Element;
|
|
9
|
+
export declare const EditInPlace: () => JSX.Element;
|
|
10
|
+
export declare const EditInPlaceSingleSelection: () => JSX.Element;
|
|
11
|
+
export declare const EditInPlaceMultiSelection: () => JSX.Element;
|
|
12
|
+
export declare const ViewSingleSelection: () => JSX.Element;
|
|
13
|
+
export declare const ViewMultiSelection: () => JSX.Element;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IBoxWithButtonsButtonInfo } from '@docsvision/webclient/Helpers/BoxWithButtons';
|
|
2
|
+
import { ITypeaheadSearchQuery } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadSearchQuery';
|
|
3
|
+
import { ITypeaheadSearchResult } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadSearchResult';
|
|
4
|
+
import { ITypeaheadVariant } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadVariant';
|
|
5
|
+
import { DirectoryBaseImpl, DirectoryBaseState } from '@docsvision/webclient/System/DirectoryBaseImpl';
|
|
6
|
+
import { DirectorySelectDialog, IDirectorySelectDialogProps } from '@docsvision/webclient/System/DirectorySelectDialog';
|
|
7
|
+
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { PowersNodeType, PowersParams, PowersValueType } from '@docsvision/webclient/BackOffice/Powers';
|
|
10
|
+
import { DirectorySelectingMode } from '@docsvision/webclient/System/DirectorySelectingMode';
|
|
11
|
+
import { IDirectorySelectDialog } from '@docsvision/webclient/System/IDirectorySelectDialog';
|
|
12
|
+
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
13
|
+
declare type ItemT = IPowerModel;
|
|
14
|
+
export interface IPowersState<ValueT extends PowersValueType = PowersValueType> extends PowersParams<ValueT>, DirectoryBaseState<ValueT, PowersNodeType, ItemT> {
|
|
15
|
+
dialogSelectedValues: ItemT[];
|
|
16
|
+
enableItemsAnimation: boolean;
|
|
17
|
+
inputChanged: SimpleEvent<string>;
|
|
18
|
+
onMouseOverInfo: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare class PowersImpl extends DirectoryBaseImpl<PowersValueType, PowersNodeType, ItemT, PowersParams, IPowersState> {
|
|
21
|
+
private initialSetValue;
|
|
22
|
+
static FAVORITES_COUNT: number;
|
|
23
|
+
constructor(props: PowersParams, state: IPowersState);
|
|
24
|
+
protected getTextValue(): string;
|
|
25
|
+
protected getCssClass(): string;
|
|
26
|
+
protected onInputChange(event: any): Promise<void>;
|
|
27
|
+
protected getIconClassName(): "open-dictionary-button-icon dv-ico dv-ico-dictionary" | "open-dictionary-button-icon dv-ico dv-ico-dictionary-white" | "dv-ico dv-ico-powers-code";
|
|
28
|
+
hasValue(): boolean;
|
|
29
|
+
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
30
|
+
protected onIconClick(): void;
|
|
31
|
+
protected onInputBlur(event: React.FocusEvent): void;
|
|
32
|
+
private saveCard;
|
|
33
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
34
|
+
private isLayoutViewMode;
|
|
35
|
+
protected renderWithText(): JSX.Element;
|
|
36
|
+
protected renderWithTextSingleSelection(): JSX.Element;
|
|
37
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
38
|
+
protected renderEditItemList(): JSX.Element;
|
|
39
|
+
protected renderWithTextMultipleSelection: () => JSX.Element;
|
|
40
|
+
protected renderViewItemList(vertical?: boolean, showIcons?: boolean): string | JSX.Element;
|
|
41
|
+
protected renderSimpleViewValue(): JSX.Element;
|
|
42
|
+
protected processTypeaheadSelected(typeaheadVariant: ITypeaheadVariant): Promise<void>;
|
|
43
|
+
onSelectedValue(variantValue: IPowerModel): Promise<void>;
|
|
44
|
+
protected onMouseDownIcon(): void;
|
|
45
|
+
protected getTypeaheadProps():
|
|
46
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
|
|
47
|
+
ref: any;
|
|
48
|
+
};
|
|
49
|
+
getSelectingMode(): DirectorySelectingMode;
|
|
50
|
+
getValueAsString(value: ItemT | ItemT[]): string;
|
|
51
|
+
protected alreadySelected(val: IPowerModel): boolean;
|
|
52
|
+
protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
|
|
53
|
+
setValue(value: PowersValueType, redraw: boolean): Promise<void>;
|
|
54
|
+
private saveValueOnChange;
|
|
55
|
+
private valuesEqual;
|
|
56
|
+
protected getValuePath(value: PowersValueType): PowersNodeType[];
|
|
57
|
+
attachDialogComponent: (dialog: DirectorySelectDialog<PowersValueType, PowersNodeType, ItemT>) => void;
|
|
58
|
+
showDictionary(): Promise<IDirectorySelectDialog>;
|
|
59
|
+
protected focusInput: () => void;
|
|
60
|
+
onRemoveClick(item: ItemT, ev?: React.MouseEvent | React.TouchEvent): Promise<void>;
|
|
61
|
+
hideDictionary(): Promise<void>;
|
|
62
|
+
protected cancelModal(): void;
|
|
63
|
+
protected onDirectoryDialogSelectButtonClick(): Promise<void>;
|
|
64
|
+
protected renderInto(props: PowersParams, container: HTMLElement): void;
|
|
65
|
+
protected onDialogSelectedValuesChanged: (values: ItemT[]) => void;
|
|
66
|
+
protected renderSelectDialog(props: IDirectorySelectDialogProps<PowersValueType, PowersNodeType, ItemT> & {
|
|
67
|
+
ref: any;
|
|
68
|
+
}): JSX.Element;
|
|
69
|
+
renderTypeahead(): JSX.Element;
|
|
70
|
+
}
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { $PowersDirectoryController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { FieldNameAccessor } from '@docsvision/webclient/Helpers/DynamicModel/FieldNameAccessor';
|
|
4
|
+
import { FuncAccessor } from '@docsvision/webclient/Helpers/DynamicModel/FuncAccessor';
|
|
5
|
+
import { DirectorySelectDialog, IDirectorySelectDialogProps, IDirectorySelectDialogState } from '@docsvision/webclient/System/DirectorySelectDialog';
|
|
6
|
+
import { IDirectoryChildrenLoadResponse, IDirectoryItem, IDirectorySearchItem, IDirectorySearchResponse } from '@docsvision/webclient/System/DirectoryServerModels';
|
|
7
|
+
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
8
|
+
import React from "react";
|
|
9
|
+
import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
10
|
+
import { PowersValueType, PowersNodeType } from "@docsvision/webclient/BackOffice/Powers";
|
|
11
|
+
import { IPowersDialog } from "@docsvision/webclient/BackOffice/IPowersDialog";
|
|
12
|
+
import { IPowersDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/IPowersDataLoadingEventArgs";
|
|
13
|
+
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
14
|
+
declare type ItemT = IPowerModel;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export interface IPowersSelectDialogSearchPathOptions {
|
|
17
|
+
path: GenModels.DepartmentModel[];
|
|
18
|
+
notAppendToSelectedFilterPath?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
export interface IPowersSelectDialogProps extends IDirectorySelectDialogProps<PowersValueType, PowersNodeType, ItemT> {
|
|
22
|
+
searchResultsLoading: CancelableApiEvent<IPowersDataLoadingEventArgs>;
|
|
23
|
+
searchResultsLoaded: BasicApiEvent<IPowersDataLoadingEventArgs>;
|
|
24
|
+
onSelectedValuesChanged: (values: ItemT[]) => void;
|
|
25
|
+
multipleSelection: boolean;
|
|
26
|
+
initialSelectedValues: ItemT[];
|
|
27
|
+
services: $PowersDirectoryController & $CardInfo;
|
|
28
|
+
}
|
|
29
|
+
/** @internal */
|
|
30
|
+
export interface IPowersSelectDialogState extends IDirectorySelectDialogState<PowersValueType, PowersNodeType, ItemT> {
|
|
31
|
+
selectedValues: ItemT[];
|
|
32
|
+
previousSelected: ItemT;
|
|
33
|
+
isGroupSearch: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare class PowersSelectDialog extends DirectorySelectDialog<PowersValueType, PowersNodeType, ItemT, IPowersSelectDialogProps, IPowersSelectDialogState> implements IPowersDialog {
|
|
37
|
+
directoryDataId: FieldNameAccessor<IPowerModel, string>;
|
|
38
|
+
directoryDataName: FuncAccessor<IPowerModel, string>;
|
|
39
|
+
directoryDataTip: FuncAccessor<IPowerModel, string>;
|
|
40
|
+
constructor(props: IPowersSelectDialogProps);
|
|
41
|
+
protected getSearchItemDisplayName(item: IDirectorySearchItem<IPowerModel, IPowerModel>): string;
|
|
42
|
+
protected search(searchText: string, nodeId: string, nodeType: GenModels.DirectoryDataType, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<IPowerModel, IPowerModel>>;
|
|
43
|
+
protected getSearchItemIconClassName(item: IDirectorySearchItem<PowersNodeType, PowersNodeType | ItemT>): string;
|
|
44
|
+
protected getSearchItemTooltip(item: IDirectorySearchItem<PowersNodeType, PowersNodeType | ItemT>): string;
|
|
45
|
+
protected getItemDisplayName(item: IDirectoryItem<ItemT>): string;
|
|
46
|
+
protected getItemIconClassName(item: IDirectoryItem<ItemT>): string;
|
|
47
|
+
protected getItemTooltip(item: IDirectoryItem<ItemT>): string;
|
|
48
|
+
get selectedItems(): IPowerModel[];
|
|
49
|
+
set selectedItems(items: IPowerModel[]);
|
|
50
|
+
protected itemHasChildren(item: IDirectoryItem<PowersNodeType | ItemT>): boolean;
|
|
51
|
+
protected itemIsNode(item: IDirectoryItem<PowersNodeType | ItemT>): boolean;
|
|
52
|
+
protected loadChildrenList(nodeId: string, nodeType: GenModels.DirectoryDataType, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<PowersNodeType | ItemT>>;
|
|
53
|
+
isPowersItemSelected(item: IDirectoryItem<ItemT>): boolean;
|
|
54
|
+
protected onChildrenListItemFocus(item: IDirectoryItem<ItemT>, ev: React.FocusEvent): void;
|
|
55
|
+
protected onChildrenListItemClick(item: IDirectoryItem<ItemT>, ev: React.MouseEvent): void;
|
|
56
|
+
protected onChildrenListItemSelectSibling(mode: 'prev' | 'next', index: number, getCollectionData: () => IDirectoryItem<ItemT>[]): void;
|
|
57
|
+
private onPowersItemClick;
|
|
58
|
+
protected onDialogAccept(): void;
|
|
59
|
+
protected processMultiSelectValue(item: IDirectoryItem<ItemT>): void;
|
|
60
|
+
protected isGoToButtonActive(item: IDirectoryItem<ItemT>): boolean;
|
|
61
|
+
protected onChildrenListItemKeyDown(item: IDirectoryItem<ItemT>, ev: React.KeyboardEvent<unknown>): boolean;
|
|
62
|
+
protected onChildrenListItemDoubleClick(item: IDirectoryItem<ItemT>, ev: React.MouseEvent<unknown>): boolean;
|
|
63
|
+
protected isItemAllowedToAccept(item: IDirectoryItem<ItemT>): boolean;
|
|
64
|
+
protected onItemDoubleClick(item: IDirectoryItem<ItemT>, ev: React.MouseEvent<unknown>): boolean;
|
|
65
|
+
protected onPowersItemKeyDown(item: IDirectoryItem<ItemT>, ev: React.KeyboardEvent<unknown>): boolean;
|
|
66
|
+
protected onRemoveMultiSelectItemClick(item: IPowerModel): void;
|
|
67
|
+
protected renderDialogBreadcrumbs(): JSX.Element;
|
|
68
|
+
protected getDialogHeader(): JSX.Element;
|
|
69
|
+
protected renderSearchInput(): any;
|
|
70
|
+
protected renderItemName(item: IDirectoryItem<ItemT>): JSX.Element;
|
|
71
|
+
protected isDialogSelectButtonEnabled(): boolean;
|
|
72
|
+
protected renderDialogSelectButtonName(): string;
|
|
73
|
+
}
|
|
74
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SignatureButtonParams } from "@docsvision/webclient/BackOffice/SignatureButtonOptions";
|
|
2
|
+
import { ISignatureListItemDetailDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDetailDataModel";
|
|
2
3
|
export declare class SignatureButtonLogic {
|
|
3
4
|
options: SignatureButtonParams;
|
|
4
5
|
constructor(options: SignatureButtonParams);
|
|
@@ -23,4 +24,5 @@ import("effector").Effect<void, void, Error>;
|
|
|
23
24
|
import("effector").Event<any>;
|
|
24
25
|
initMenuActions(): void;
|
|
25
26
|
init(): void;
|
|
27
|
+
verifyInCloud(cardId: string, signatureDetails: ISignatureListItemDetailDataModel[]): Promise<boolean>;
|
|
26
28
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SignatureButtonLogic } from "@docsvision/webclient/BackOffice/SignatureButtonLogic";
|
|
2
2
|
import { SignatureButtonView } from "@docsvision/webclient/BackOffice/SignatureButtonView";
|
|
3
|
+
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
3
4
|
import { $DigitalSignature, IDigitalSignOptions, IEncryptedInfo } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
4
|
-
import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
+
import { $LayoutDocumentController, $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
6
|
import { BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
7
|
import { $CardId, $CardInfo, $CardTimestamp, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
7
8
|
import { CancelableApiEvent, BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -43,7 +44,7 @@ export declare class SignatureButtonParams extends BaseControlParams {
|
|
|
43
44
|
* Отмена события предотвратит отображение диалога и перезагрузку странциы.
|
|
44
45
|
*/
|
|
45
46
|
signingComplete?: CancelableApiEvent<IEncryptedInfo>;
|
|
46
|
-
services?: Optional<$SignatureButtonOptions> & $DigitalSignature & $CardId & $MessageWindow & $RouterNavigation & $EditOperationStore & $SignatureController & $CardTimestamp & $CardInfo;
|
|
47
|
+
services?: Optional<$SignatureButtonOptions> & $DigitalSignature & $CardId & $MessageWindow & $RouterNavigation & $EditOperationStore & $SignatureController & $CardTimestamp & $CardInfo & $CloudSignature & $LayoutDocumentController;
|
|
47
48
|
}
|
|
48
49
|
export declare type $SignatureButtonOptions = {
|
|
49
50
|
signatureButtonOptions: IControlOptions<SignatureButtonParams, SignatureButtonLogic, SignatureButtonView>;
|
|
@@ -478,9 +478,10 @@ export declare namespace GenControllers {
|
|
|
478
478
|
/**
|
|
479
479
|
* Save power of attorney to archive and return as attachment
|
|
480
480
|
*
|
|
481
|
-
* @param
|
|
481
|
+
* @param powerOfAttorneyId ID of power of attorney
|
|
482
|
+
* @param withSignature Include signature data
|
|
482
483
|
*/
|
|
483
|
-
exportPowerOfAttorney(
|
|
484
|
+
exportPowerOfAttorney(powerOfAttorneyId: string, withSignature: boolean, options?: RequestOptions): Promise<any>;
|
|
484
485
|
}
|
|
485
486
|
class PowerOfAttorneyApiController extends BaseController implements IPowerOfAttorneyApiController {
|
|
486
487
|
createPowerOfAttorneyDovEl(request: GenModels.CreatePowerOfAttorneyRequestDovEl, options?: RequestOptions): Promise<string>;
|
|
@@ -493,7 +494,7 @@ export declare namespace GenControllers {
|
|
|
493
494
|
attachSignatureToPowerOfAttorney(request: GenModels.AttachSignatureToPowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
494
495
|
requestRevocationPowerOfAttorney(powerOfAttorneyId: string, options?: RequestOptions): Promise<void>;
|
|
495
496
|
revokePowerOfAttorney(request: GenModels.RevokePowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
496
|
-
exportPowerOfAttorney(
|
|
497
|
+
exportPowerOfAttorney(powerOfAttorneyId: string, withSignature: boolean, options?: RequestOptions): Promise<any>;
|
|
497
498
|
}
|
|
498
499
|
}
|
|
499
500
|
export declare type $PowerOfAttorneyApiController = {
|
|
@@ -1791,10 +1792,19 @@ export declare namespace GenControllers {
|
|
|
1791
1792
|
* @param request Request
|
|
1792
1793
|
*/
|
|
1793
1794
|
moveCode(request: GenModels.MoveCodeRequest, options?: RequestOptions): Promise<void>;
|
|
1795
|
+
/**
|
|
1796
|
+
* Quick search powers
|
|
1797
|
+
*
|
|
1798
|
+
* @param request Search data
|
|
1799
|
+
*
|
|
1800
|
+
* @returns List of found powers
|
|
1801
|
+
*/
|
|
1802
|
+
quickSearchPowers(request: GenModels.SearchPowersRequest, options?: RequestOptions): Promise<GenModels.SearchPowersQueryResponse>;
|
|
1794
1803
|
}
|
|
1795
1804
|
class PowersDirectoryController extends BaseController implements IPowersDirectoryController {
|
|
1796
1805
|
getData(request: GenModels.GetDataRequest, options?: RequestOptions): Promise<GenModels.GetDataResponse>;
|
|
1797
1806
|
moveCode(request: GenModels.MoveCodeRequest, options?: RequestOptions): Promise<void>;
|
|
1807
|
+
quickSearchPowers(request: GenModels.SearchPowersRequest, options?: RequestOptions): Promise<GenModels.SearchPowersQueryResponse>;
|
|
1798
1808
|
}
|
|
1799
1809
|
}
|
|
1800
1810
|
export declare type $PowersDirectoryController = {
|
|
@@ -960,20 +960,6 @@ export declare namespace GenModels {
|
|
|
960
960
|
withChildrenPowerOfAttorney: boolean;
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
|
-
export declare namespace GenModels {
|
|
964
|
-
interface ExportPowerOfAttorneyRequest {
|
|
965
|
-
/**
|
|
966
|
-
* Идентификатор доверенности
|
|
967
|
-
*
|
|
968
|
-
* @format datatype.uuid
|
|
969
|
-
*/
|
|
970
|
-
powerOfAttorneyId: string;
|
|
971
|
-
/**
|
|
972
|
-
* Включает выгрузку подписи
|
|
973
|
-
*/
|
|
974
|
-
withSignature: boolean;
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
963
|
export declare namespace GenModels {
|
|
978
964
|
interface SignatureMethodSettings {
|
|
979
965
|
/**
|
|
@@ -2749,6 +2735,12 @@ export declare namespace GenModels {
|
|
|
2749
2735
|
* Reason for signature invalidity
|
|
2750
2736
|
*/
|
|
2751
2737
|
reason: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* Attached signature identifier
|
|
2740
|
+
*
|
|
2741
|
+
* @format datatype.uuid
|
|
2742
|
+
*/
|
|
2743
|
+
signatureId: string;
|
|
2752
2744
|
}
|
|
2753
2745
|
}
|
|
2754
2746
|
export declare namespace GenModels {
|
|
@@ -4870,7 +4862,7 @@ export declare namespace GenModels {
|
|
|
4870
4862
|
/**
|
|
4871
4863
|
* Groups
|
|
4872
4864
|
*/
|
|
4873
|
-
|
|
4865
|
+
items: Array<GenModels.PowersGroupModel>;
|
|
4874
4866
|
/**
|
|
4875
4867
|
* Total items count, including not loaded items or zero, if total count is not available.
|
|
4876
4868
|
*/
|
|
@@ -4951,6 +4943,12 @@ export declare namespace GenModels {
|
|
|
4951
4943
|
* @format datatype.datetime
|
|
4952
4944
|
*/
|
|
4953
4945
|
updateDate?: string;
|
|
4946
|
+
/**
|
|
4947
|
+
* Parent group Id
|
|
4948
|
+
*
|
|
4949
|
+
* @format datatype.uuid
|
|
4950
|
+
*/
|
|
4951
|
+
groupId: string;
|
|
4954
4952
|
}
|
|
4955
4953
|
}
|
|
4956
4954
|
export declare namespace GenModels {
|
|
@@ -4969,6 +4967,42 @@ export declare namespace GenModels {
|
|
|
4969
4967
|
targetGroupId: string;
|
|
4970
4968
|
}
|
|
4971
4969
|
}
|
|
4970
|
+
export declare namespace GenModels {
|
|
4971
|
+
interface SearchPowersRequest {
|
|
4972
|
+
/**
|
|
4973
|
+
* Search string
|
|
4974
|
+
*/
|
|
4975
|
+
searchText: string;
|
|
4976
|
+
/**
|
|
4977
|
+
* Pagination data
|
|
4978
|
+
*/
|
|
4979
|
+
pagination: GenModels.Pagination;
|
|
4980
|
+
/**
|
|
4981
|
+
* List of identifiers, which should be removed from result
|
|
4982
|
+
*/
|
|
4983
|
+
excludeItems?: Array<string>;
|
|
4984
|
+
}
|
|
4985
|
+
}
|
|
4986
|
+
export declare namespace GenModels {
|
|
4987
|
+
interface SearchPowersQueryResponse {
|
|
4988
|
+
/**
|
|
4989
|
+
* Powers
|
|
4990
|
+
*/
|
|
4991
|
+
items: Array<GenModels.PowersCodeModel>;
|
|
4992
|
+
/**
|
|
4993
|
+
* Total items count, including not loaded items or zero, if total count is not available.
|
|
4994
|
+
*/
|
|
4995
|
+
totalItemsCount: number;
|
|
4996
|
+
/**
|
|
4997
|
+
* Total partners count
|
|
4998
|
+
*/
|
|
4999
|
+
hasMore: boolean;
|
|
5000
|
+
/**
|
|
5001
|
+
* Directory timestamp
|
|
5002
|
+
*/
|
|
5003
|
+
directoryTimestamp: number;
|
|
5004
|
+
}
|
|
5005
|
+
}
|
|
4972
5006
|
export declare namespace GenModels {
|
|
4973
5007
|
interface IsHasFileCertificateSignatureModel {
|
|
4974
5008
|
/**
|
package/MainBundle.d.ts
CHANGED
|
@@ -21,4 +21,6 @@ import "@docsvision/webclient/BackOffice/DirectorySearchResult";
|
|
|
21
21
|
import "@docsvision/webclient/Templates/ControlTemplate";
|
|
22
22
|
import "@docsvision/webclient/Templates/ServiceTemplateService";
|
|
23
23
|
import "@docsvision/webclient/Helpers/TextInput";
|
|
24
|
+
import "@docsvision/webclient/Helpers/DynamicTree/DynamicTree";
|
|
25
|
+
import "@docsvision/webclient/Helpers/DynamicTree/IDynamicTreeNodeData";
|
|
24
26
|
import "@docsvision/webclient/BackOffice/SignatureConstants";
|
|
@@ -9,6 +9,7 @@ export declare class BaseNavigationMenuItemRouteHandler implements IRouteHandler
|
|
|
9
9
|
name: string;
|
|
10
10
|
mountRoute?(routedata: unknown, routeType: RouteType): Promise<RouteHandleResult>;
|
|
11
11
|
unmountRoute?(data: unknown, routeType: RouteType): Promise<void>;
|
|
12
|
+
private static selectParent;
|
|
12
13
|
private static unselectAllComponents;
|
|
13
14
|
private static select;
|
|
14
15
|
static register(control: BaseNavigationItem): void;
|
package/Platform/CardLink.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class CardLinkParams extends InputBasedControlParams<GenModels.Ca
|
|
|
46
46
|
searchQueryId?: string;
|
|
47
47
|
folderList?: GenModels.SelectFolderNode[];
|
|
48
48
|
/** Наименование параметра поискового запроса */
|
|
49
|
-
searchQueryParamName?:
|
|
49
|
+
searchQueryParamName?: string;
|
|
50
50
|
/** Задержка поиска (мс) */
|
|
51
51
|
searchDelay?: number;
|
|
52
52
|
/** Минимальное количество символов для поиска */
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { QuotesLogic } from "@docsvision/webclient/Platform/QuotesLogic";
|
|
3
4
|
import { HtmlProps } from "@docsvision/web/core/component";
|
|
4
5
|
|
|
5
6
|
export interface IQuotesHighlightProps extends HtmlProps.span {
|
|
6
7
|
quotesParts: GenModels.QuotePart[];
|
|
8
|
+
logic: QuotesLogic;
|
|
7
9
|
}
|
|
8
10
|
export declare function QuotesHighlight(props: IQuotesHighlightProps): JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
3
|
import { IQuotesProps } from "@docsvision/webclient/Platform/Quotes";
|
|
3
4
|
import { ComponentLogic } from "@docsvision/web/core/component";
|
|
@@ -36,5 +37,11 @@ import("effector").Event<void>;
|
|
|
36
37
|
import("effector").Event<GenModels.FileQuotes>;
|
|
37
38
|
openFileInExternalEditor:
|
|
38
39
|
import("effector").Event<GenModels.FileQuotes>;
|
|
40
|
+
setModalQuoteRef:
|
|
41
|
+
import("effector").Event<
|
|
42
|
+
import("react").MutableRefObject<HTMLDivElement>>;
|
|
43
|
+
$modalQuoteRef:
|
|
44
|
+
import("effector").Store<
|
|
45
|
+
import("react").MutableRefObject<HTMLDivElement>>;
|
|
39
46
|
init(): void;
|
|
40
47
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { QuotesLogic } from '@docsvision/webclient/Platform/QuotesLogic';
|
|
2
3
|
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
4
|
|
|
4
5
|
export interface IQuotesModalQuoteProps extends HtmlProps.div {
|
|
6
|
+
logic: QuotesLogic;
|
|
5
7
|
}
|
|
6
8
|
export declare function QuotesModalQuote(props: IQuotesModalQuoteProps): JSX.Element;
|
|
@@ -7,11 +7,12 @@ import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
|
7
7
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
8
8
|
import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
|
|
9
9
|
import { $FolderInfo } from "@docsvision/webclient/Platform/$FolderInfo";
|
|
10
|
+
import { $WebFrameContext } from "@docsvision/webclient/Platform/$WebFrameContext";
|
|
10
11
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
11
12
|
import { $ApplicationSettings, $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
12
13
|
import { $Grouping } from "@docsvision/web/components/table/plugins/grouping";
|
|
13
14
|
import { $ResizeColumn } from "@docsvision/web/components/table/plugins/resize-column";
|
|
14
15
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
15
16
|
import { IToolbarActionContainerButton } from "@docsvision/web/components/table/plugins/toolbar-action-container";
|
|
16
|
-
export declare type $SettingsToolbarActionServices = $GridController & $TableData & $ResizeColumn & $SaveColumns & $FolderGrid & $CurrentFolder & $Grouping & $FolderDataLoading & $DeviceType & $FolderInfo & $WebFrameSearchPanel & $FolderHelp & $ApplicationSettings & $LayoutUserSettingsController & $CacheManagement & $ToolbarActionButtons;
|
|
17
|
+
export declare type $SettingsToolbarActionServices = $GridController & $TableData & $ResizeColumn & $SaveColumns & $FolderGrid & $CurrentFolder & $Grouping & $FolderDataLoading & $DeviceType & $FolderInfo & $WebFrameSearchPanel & $FolderHelp & $ApplicationSettings & $LayoutUserSettingsController & $CacheManagement & $ToolbarActionButtons & $WebFrameContext;
|
|
17
18
|
export declare const SettingsPlugin: IToolbarActionContainerButton;
|