@docsvision/webclient 5.17.2 → 5.17.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/EmployeeImpl.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -0
- package/BackOffice/Powers.stories.d.ts +1 -0
- package/BackOffice/SignatureDialog.d.ts +4 -0
- package/BackOffice/SignatureDialog.stories.d.ts +9 -0
- package/BackOffice/SignatureDialogLogic.d.ts +2 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +7 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +26 -3
- package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +1 -0
- package/Legacy/GridLoaderHelper.d.ts +1 -0
- package/Platform/$ScanDialog.d.ts +2 -0
- package/Platform/DateTimePickerImpl.d.ts +1 -0
- package/Platform/ExportESignButton.d.ts +2 -0
- package/Platform/ScanDialogService.d.ts +5 -0
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare type EmployeeImplState = EmployeeState;
|
|
|
26
26
|
export declare class EmployeeImpl extends InputBasedControlImpl<GenModels.EmployeeDataModel, EmployeeParams, EmployeeState> {
|
|
27
27
|
constructor(props: EmployeeParams, state: EmployeeState);
|
|
28
28
|
setValue(value: GenModels.EmployeeDataModel, redraw: boolean): void;
|
|
29
|
+
protected getInputTitle(): string;
|
|
29
30
|
private valuesEqual;
|
|
30
31
|
initHelpers(props: EmployeeParams): void;
|
|
31
32
|
static validValue(value: GenModels.EmployeeDataModel): boolean;
|
|
@@ -37,8 +38,8 @@ export declare class EmployeeImpl extends InputBasedControlImpl<GenModels.Employ
|
|
|
37
38
|
private shouldSaveCardWithEditInPlaceValue;
|
|
38
39
|
private isLayoutViewMode;
|
|
39
40
|
protected onInputChange(event: any): void;
|
|
41
|
+
protected onDropdownStateChanged(): void;
|
|
40
42
|
protected getValueTitle(): string;
|
|
41
|
-
protected getInputTitle(): string;
|
|
42
43
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<any>;
|
|
43
44
|
protected getFavoritesStorageName(props: EmployeeParams): string;
|
|
44
45
|
protected onSelected(typeaheadVariant: ITypeaheadVariant): void;
|
|
@@ -49,7 +50,8 @@ export declare class EmployeeImpl extends InputBasedControlImpl<GenModels.Employ
|
|
|
49
50
|
set favoriteEmployees(val: GenModels.EmployeeDataModel[]);
|
|
50
51
|
set supportFavorites(val: any);
|
|
51
52
|
set tipMode(val: any);
|
|
52
|
-
protected
|
|
53
|
+
protected renderWithText(): JSX.Element;
|
|
54
|
+
protected onMouseDownIcon(): void;
|
|
53
55
|
protected renderInputWithPlaceholder(): JSX.Element;
|
|
54
56
|
addToFavorite(item: GenModels.EmployeeDataModel): void;
|
|
55
57
|
}
|
|
@@ -26,6 +26,7 @@ export interface PartnerBaseState<T> extends PartnerBaseParams<T>, InputBasedCon
|
|
|
26
26
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
27
27
|
maximized?: boolean;
|
|
28
28
|
onMouseOverInfo: boolean;
|
|
29
|
+
preSearchFilteredPath?: GenModels.DepartmentModel[];
|
|
29
30
|
}
|
|
30
31
|
/** @internal */
|
|
31
32
|
export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControlImpl<T, ParamsT, StateT> {
|
|
@@ -17,3 +17,4 @@ export declare const ViewSingleSelection: () => JSX.Element;
|
|
|
17
17
|
export declare const ViewMultiSelection: () => JSX.Element;
|
|
18
18
|
export declare const SelectDialogWithGroups: () => JSX.Element;
|
|
19
19
|
export declare const SelectDialogWithSingleSelectionCodes: () => JSX.Element;
|
|
20
|
+
export declare const SelectDialogWithMultiSelectionCodes: () => JSX.Element;
|
|
@@ -34,6 +34,8 @@ export interface ISignatureDialogProps extends IComponentProps<SignatureDialogLo
|
|
|
34
34
|
hideSimpleSign?: boolean;
|
|
35
35
|
/** Не отображать комбо-бокс выбора способа подписания (будет выбран первый вариант по-умолчанию). */
|
|
36
36
|
hideSignatureMethodsSelect?: boolean;
|
|
37
|
+
/** Не отображать комбо-бокс выбора доверенности (будет выбран первый вариант по-умолчанию). */
|
|
38
|
+
hidePowerOfAttorneySelect?: boolean;
|
|
37
39
|
/** Не отображать диалог на экране (используйте API {@link IDigitalSignatureDialogManagement} для управления видимостью). */
|
|
38
40
|
showHidden?: boolean;
|
|
39
41
|
/** Сообщение, показываемое в нижней части диалога */
|
|
@@ -54,6 +56,8 @@ export interface ISignatureDialogProps extends IComponentProps<SignatureDialogLo
|
|
|
54
56
|
onPrepareSignatureMethods?: (methods: GenModels.SignatureMethod[]) => GenModels.SignatureMethod[];
|
|
55
57
|
/** Вызывается при отрисовке кнопок диалога. */
|
|
56
58
|
onRenderButtons?: (props: ISignatureDialogButtonsProps, defaultButtons: JSX.Element[]) => JSX.Element[];
|
|
59
|
+
/** Вызывается при выборе способа подписания. */
|
|
60
|
+
onSelectMethods?: (method: GenModels.SignatureMethod) => void;
|
|
57
61
|
services: $SignatureDialogServices;
|
|
58
62
|
}
|
|
59
63
|
export declare class SignatureDialogView {
|
|
@@ -6,11 +6,20 @@ declare const _default: {
|
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Default: () => JSX.Element;
|
|
9
|
+
export declare const WithoutLabelSelection: () => JSX.Element;
|
|
10
|
+
export declare const WithoutSignatureMethodsSelect: () => JSX.Element;
|
|
11
|
+
export declare const WithoutSignatureMethodsSetup: () => JSX.Element;
|
|
12
|
+
export declare const WithMessageInFooter: () => JSX.Element;
|
|
13
|
+
export declare const WithMessageInHeader: () => JSX.Element;
|
|
14
|
+
export declare const CustomSignButtonText: () => JSX.Element;
|
|
15
|
+
export declare const CustomCancelButtonText: () => JSX.Element;
|
|
16
|
+
export declare const CustomDialogHeaderText: () => JSX.Element;
|
|
9
17
|
export declare const Loading: () => JSX.Element;
|
|
10
18
|
export declare const NoPlugin: () => JSX.Element;
|
|
11
19
|
export declare const NoCloud: () => JSX.Element;
|
|
12
20
|
export declare const WithoutRequiredPowerOfAttorney: () => JSX.Element;
|
|
13
21
|
export declare const WithoutNotRequiredPowerOfAttorney: () => JSX.Element;
|
|
14
22
|
export declare const WithPowerOfAttorney: () => JSX.Element;
|
|
23
|
+
export declare const WithHiddenRequiredPowerOfAttorney: () => JSX.Element;
|
|
15
24
|
export declare const InformationAboutPowerOfAttorney: () => JSX.Element;
|
|
16
25
|
export declare const SettingsDialogOpen: () => JSX.Element;
|
|
@@ -73,6 +73,8 @@ import("effector").Event<void>;
|
|
|
73
73
|
import("effector").Event<void>;
|
|
74
74
|
currentDialogSettingsUpdated:
|
|
75
75
|
import("effector").Event<GenModels.SignatureMethodSettings>;
|
|
76
|
+
currentDialogOptionsUpdated:
|
|
77
|
+
import("effector").Event<ISignatureDialogProps>;
|
|
76
78
|
saveSettingsDialog:
|
|
77
79
|
import("effector").Event<void>;
|
|
78
80
|
saveSettingsFx:
|
|
@@ -2557,6 +2557,12 @@ export declare namespace GenControllers {
|
|
|
2557
2557
|
* @param signatureFormat Signature export format
|
|
2558
2558
|
*/
|
|
2559
2559
|
exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
|
|
2560
|
+
/**
|
|
2561
|
+
* Exports zip-archive with electronic signature files and visualization ESign
|
|
2562
|
+
*
|
|
2563
|
+
* @param exportSignatureRequest
|
|
2564
|
+
*/
|
|
2565
|
+
exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
|
|
2560
2566
|
/**
|
|
2561
2567
|
* Downloads signature byte array
|
|
2562
2568
|
*/
|
|
@@ -2578,6 +2584,7 @@ export declare namespace GenControllers {
|
|
|
2578
2584
|
checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
|
|
2579
2585
|
exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
|
|
2580
2586
|
exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
|
|
2587
|
+
exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
|
|
2581
2588
|
downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
|
|
2582
2589
|
getSignatureInfo(documentId: string, signaturePartId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureInfoModel>;
|
|
2583
2590
|
getAcknowledgemenList(request: GenModels.GetAcknowledgemenListRequest, options?: RequestOptions): Promise<string>;
|
|
@@ -7472,6 +7472,28 @@ export declare namespace GenModels {
|
|
|
7472
7472
|
attributes: Array<GenModels.UniqueAttributeValue>;
|
|
7473
7473
|
}
|
|
7474
7474
|
}
|
|
7475
|
+
export declare namespace GenModels {
|
|
7476
|
+
interface ExportSignatureRequest {
|
|
7477
|
+
/**
|
|
7478
|
+
* Document card id
|
|
7479
|
+
*
|
|
7480
|
+
* @format datatype.uuid
|
|
7481
|
+
*/
|
|
7482
|
+
cardId: string;
|
|
7483
|
+
/**
|
|
7484
|
+
* Signature export format
|
|
7485
|
+
*/
|
|
7486
|
+
signatureFormat: GenModels.SignatureFormat;
|
|
7487
|
+
/**
|
|
7488
|
+
* Include export of the powers of attorney specified at time of signing, with their signatures
|
|
7489
|
+
*/
|
|
7490
|
+
withPowersOfAttorney: boolean;
|
|
7491
|
+
/**
|
|
7492
|
+
* Include export with visualization ESign
|
|
7493
|
+
*/
|
|
7494
|
+
withStamp: boolean;
|
|
7495
|
+
}
|
|
7496
|
+
}
|
|
7475
7497
|
export declare namespace GenModels {
|
|
7476
7498
|
interface SignatureRequest {
|
|
7477
7499
|
/**
|
|
@@ -11894,9 +11916,10 @@ export declare namespace GenModels {
|
|
|
11894
11916
|
}
|
|
11895
11917
|
export declare namespace GenModels {
|
|
11896
11918
|
enum ExternalPowerOfAttorneyStatus {
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11919
|
+
Unknown = 0,
|
|
11920
|
+
Success = 1,
|
|
11921
|
+
Warning = 2,
|
|
11922
|
+
Error = 3
|
|
11900
11923
|
}
|
|
11901
11924
|
}
|
|
11902
11925
|
export declare namespace GenModels {
|
|
@@ -5,6 +5,7 @@ import { ModalDialogProps } from "@docsvision/web/components/modals/modal-dialog
|
|
|
5
5
|
export interface ITextInputDialogModalPops extends ModalDialogProps {
|
|
6
6
|
onAccept: () => void;
|
|
7
7
|
onCancel: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
8
9
|
services: $LocalStorage;
|
|
9
10
|
}
|
|
10
11
|
export declare function TextInputDialogModal(props: ITextInputDialogModalPops): JSX.Element;
|
|
@@ -9,6 +9,7 @@ export declare class GridLoaderHelper {
|
|
|
9
9
|
buildDirectoryLoader(): Promise<HTMLDivElement>;
|
|
10
10
|
buildCardLoader(): Promise<HTMLDivElement>;
|
|
11
11
|
buildSidebarLoader(): Promise<void>;
|
|
12
|
+
private buildGridListView;
|
|
12
13
|
private buildGrid;
|
|
13
14
|
private buildDashboard;
|
|
14
15
|
private buildSidebar;
|
|
@@ -34,6 +34,8 @@ export interface ScanDialogState {
|
|
|
34
34
|
scaleValue: number;
|
|
35
35
|
}
|
|
36
36
|
export interface IScanDialog {
|
|
37
|
+
scannedImages: string[];
|
|
38
|
+
collectImages?: boolean;
|
|
37
39
|
open(props: ScanDialogProps): Promise<void>;
|
|
38
40
|
updateState(state: ScanDialogState): Promise<void>;
|
|
39
41
|
close(): Promise<void>;
|
|
@@ -39,6 +39,7 @@ export interface IDateTimePickerState extends DateTimePickerParams, InputBasedCo
|
|
|
39
39
|
errorText: string;
|
|
40
40
|
passedValidation?: boolean;
|
|
41
41
|
theme: Theme;
|
|
42
|
+
bindingValue: Date;
|
|
42
43
|
services?: $LayoutInfo & $BusinessCalendarController & $EditOperationStore & $Router & $ApplicationSettings & $DeviceType & $Layout & $CardInfo & $LabelWidth;
|
|
43
44
|
}
|
|
44
45
|
export interface DateTimePickerState extends IDateTimePickerState {
|
|
@@ -13,6 +13,8 @@ export declare class ExportESignButtonParams extends BaseControlParams {
|
|
|
13
13
|
signatureFormat?: GenModels.SignatureFormat;
|
|
14
14
|
/** Экспорт с доверенностью */
|
|
15
15
|
exportWithPowerOfAttorney?: boolean;
|
|
16
|
+
/** Экспорт с визуализацией ЭП */
|
|
17
|
+
exportWithESignVisualization?: boolean;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
20
|
* Класс элемента управления Экспорт файлов с подписью.
|
|
@@ -26,10 +26,15 @@ export declare class ScanDialogService implements IScanDialog {
|
|
|
26
26
|
private currentPageInput;
|
|
27
27
|
private fileNameInput;
|
|
28
28
|
private scannersList;
|
|
29
|
+
private collectAllScannedImages;
|
|
29
30
|
protected pageLeaveConfirmation: PageLeaveConfirmation;
|
|
30
31
|
private performScanOnce;
|
|
31
32
|
constructor(services: $LocalStorage & $FileScan & $LayoutCheck & $CardInfo & $RequestManager & $DeviceType);
|
|
32
33
|
savedOptionsKey: string;
|
|
34
|
+
get scannedImages(): string[];
|
|
35
|
+
set scannedImages(images: string[]);
|
|
36
|
+
get collectImages(): boolean;
|
|
37
|
+
set collectImages(v: boolean);
|
|
33
38
|
getScannersList: () => Promise<string[]>;
|
|
34
39
|
open: (props: ScanDialogProps) => Promise<void>;
|
|
35
40
|
updateState: (state: ScanDialogState) => Promise<void>;
|