@docsvision/webclient 5.17.1-beta.1 → 5.17.2-beta.1

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.
Files changed (40) hide show
  1. package/BackOffice/AuthenticationKindsView.d.ts +1 -1
  2. package/BackOffice/CardKindImpl.d.ts +0 -1
  3. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  4. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  5. package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
  6. package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
  7. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  8. package/BackOffice/EmailButtonView.d.ts +1 -1
  9. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -2
  10. package/BackOffice/FileSign.d.ts +14 -2
  11. package/BackOffice/FileSignCreateDialog.d.ts +81 -0
  12. package/BackOffice/FileSignSelectCertificateDialog.d.ts +54 -0
  13. package/BackOffice/IExtraFileAddingArgs.d.ts +1 -0
  14. package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
  15. package/BackOffice/IMainFileAddingArgs.d.ts +1 -0
  16. package/BackOffice/LinksImpl.d.ts +1 -1
  17. package/BackOffice/NumeratorImpl.d.ts +0 -1
  18. package/BackOffice/PartnerBase.d.ts +2 -2
  19. package/BackOffice/PartnerBaseImpl.d.ts +0 -1
  20. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  21. package/BackOffice/PrintButtonView.d.ts +1 -1
  22. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  23. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  24. package/BackOffice/TasksTableView.d.ts +3 -3
  25. package/Helpers/LabeledText.d.ts +1 -3
  26. package/Helpers/PopoverHelpers/Popover.d.ts +1 -1
  27. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  28. package/MainBundle.d.ts +2 -0
  29. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  30. package/Platform/CardLink.d.ts +6 -6
  31. package/Platform/CertificateSettingsView.d.ts +1 -1
  32. package/Platform/DateTimePickerImpl.d.ts +2 -2
  33. package/Platform/LoaderDialog.d.ts +1 -1
  34. package/Platform/SecurityDescriptorDialog.d.ts +1 -1
  35. package/Platform/SettingsPopupLogic.d.ts +1 -1
  36. package/Platform/UserProfileDialog.d.ts +1 -1
  37. package/System/DirectoryBaseImpl.d.ts +0 -1
  38. package/System/DirectorySelectDialog.d.ts +2 -2
  39. package/System/InputBasedControlImpl.d.ts +0 -1
  40. package/package.json +1 -1
@@ -13,7 +13,7 @@ export declare class AuthenticationKindsView {
13
13
  inputMask: typeof InputMask;
14
14
  checkBox: typeof CheckBox;
15
15
  label: (props:
16
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
16
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
17
17
  button: (props:
18
18
  import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
19
19
  }
@@ -75,7 +75,6 @@ export declare class CardKindImpl extends InputBasedControlImpl<GenModels.CardKi
75
75
  * @param ev Событие клавиатуры
76
76
  */
77
77
  protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
78
- protected onModalKeyDown(ev: React.KeyboardEvent<any>): void;
79
78
  private attachTypeahead;
80
79
  /**
81
80
  * Куда рендерим контрол
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, IS
37
37
  unselectAll(): Promise<void>;
38
38
  protected headerCell:
39
39
  import("styled-components").StyledComponent<(props:
40
- import("C:/dev/WebC/main/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
40
+ import("C:/Dev/WebC17/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
41
41
  protected taskStatus:
42
42
  import("styled-components").StyledComponent<"a", any, {}, never>;
43
43
  protected selectableCell:
44
44
  import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
45
- import("C:/dev/WebC/main/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
45
+ import("C:/Dev/WebC17/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
46
46
  selected: boolean;
47
47
  }, never>;
48
48
  protected fileCell:
49
49
  import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
50
- import("C:/dev/WebC/main/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
50
+ import("C:/Dev/WebC17/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
51
51
  selected: boolean;
52
52
  }, never>;
53
53
  protected selectAllCheckboxLabel:
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
6
6
  import("styled-components").StyledComponent<any, any, object, string>;
7
7
  export declare const Item:
8
8
  import("styled-components").StyledComponent<(props:
9
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
9
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
10
10
  export declare const ReadonlyLinkItemView:
11
11
  import("styled-components").StyledComponent<any, any, object, string>;
@@ -60,10 +60,10 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
60
60
  export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, DirectoryDesignerRowState<ValueT>> {
61
61
  protected createParams(): DirectoryDesignerRowParams<ValueT>;
62
62
  protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
63
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
64
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
65
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
66
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType;
63
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
64
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
65
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
66
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType;
67
67
  private set DirectoryDesignerRowBinding(value);
68
68
  private set binding(value);
69
69
  private set directoryDataSource(value);
@@ -43,7 +43,7 @@ export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<Director
43
43
  protected getTextValue(): string;
44
44
  protected renderInto(props: DirectoryDesignerRowParams, container: HTMLElement): void;
45
45
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
46
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, DirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
46
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, DirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
47
47
  protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
48
48
  canShowDictionary(): boolean;
49
49
  protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
@@ -60,7 +60,7 @@ import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase
60
60
  protected getIconClassName(): string;
61
61
  protected onIconClick(): void;
62
62
  protected getTypeaheadProps():
63
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
63
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
64
64
  ref: any;
65
65
  };
66
66
  protected focusInput: () => void;
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
13
13
  | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "opened"> &
14
14
  import("react").RefAttributes<unknown>>;
15
15
  iconButton: (props:
16
- import("C:/dev/WebC/main/Helpers/IconButton").IIconButtonProps) => JSX.Element;
16
+ import("C:/Dev/WebC17/Helpers/IconButton").IIconButtonProps) => JSX.Element;
17
17
  searchResultList: typeof DirectorySearchResultList;
18
18
  searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
19
19
  searchInfo: typeof DirectorySearchInfo;
@@ -3,7 +3,7 @@ export declare class EmailButtonView {
3
3
  button: (props:
4
4
  import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
5
5
  buttonDialog: (props:
6
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
6
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
7
7
  modalDialog: (props:
8
8
  import("@docsvision/web/components/modals/modal-dialog").ModalDialogProps) => JSX.Element;
9
9
  item: (props:
@@ -40,10 +40,9 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
40
40
  private attachRoot;
41
41
  DialogBox:
42
42
  import("styled-components").StyledComponent<(props:
43
- import("C:/dev/WebC/main/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
43
+ import("C:/Dev/WebC17/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
44
44
  close(): void;
45
45
  onMaximize: () => void;
46
- onModalKeyDown: (ev: React.KeyboardEvent) => void;
47
46
  render(): JSX.Element;
48
47
  }
49
48
  export {};
@@ -8,10 +8,13 @@ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
8
8
  import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
9
9
  import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSignature";
10
10
  import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
11
+ import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
12
+ import { EncryptedInfo } from "@docsvision/webclient/Legacy/EncryptedInfo";
13
+ import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
11
14
  export declare class FileSign {
12
- protected services: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo;
15
+ protected services: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo & $RequestManager;
13
16
  protected interactionModel: IFileSignInteractionModel;
14
- constructor(interactionModel: IFileSignInteractionModel, services?: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo);
17
+ constructor(interactionModel: IFileSignInteractionModel, services?: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo & $RequestManager);
15
18
  /** Инициализация. */
16
19
  protected initialize(): void;
17
20
  /** Открыть диалог для создания подписи. */
@@ -29,4 +32,13 @@ export declare class FileSign {
29
32
  static showSignWarningDialog(successCb?: Function, cancelCb?: Function): void;
30
33
  /** @deprecated Uses {@link showSignWarningDialog} */
31
34
  static ShowSignWarningDialog(okFunction: Function): void;
35
+ private signOperationHelper;
36
+ /**
37
+ * Подписать сертификатом с указанным отпечатком и идентификатором метки из старого диалога подписания
38
+ * @param selectedThumbprint Отпечаток
39
+ * @param selectedLabelId Идентификатор метки
40
+ */
41
+ sign(selectedThumbprint: string, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean): Promise<{}>;
42
+ /** Присоединить указанную подпись. */
43
+ protected attachSign(encryptedInfo: EncryptedInfo, selectedLabelId: string, timestamp: number): Promise<void>;
32
44
  }
@@ -0,0 +1,81 @@
1
+ import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
2
+ import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
3
+ import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
4
+ import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
5
+ import { IFilePreviewModel } from "@docsvision/webclient/Legacy/IFilePreviewModel";
6
+ import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
7
+ import { LoadingState } from "@docsvision/webclient/System/LoadingState";
8
+ import { ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
9
+ import React from "react";
10
+ export interface IFileSignCreateDialogProps {
11
+ /** Идентификатор документа. */
12
+ documentId: string;
13
+ /** Вызывается при подписи. */
14
+ onSign?: (selectedCertInfo: ICryptoCertificateInfo, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean) => void;
15
+ /** Вызывается при отмене подписи. */
16
+ onCancel?: () => void;
17
+ /** Загрузка */
18
+ loading?: boolean;
19
+ /** Сервисы */
20
+ services: $DocumentCardController & $WebViewIOSEnabled;
21
+ }
22
+ export interface IFileSignCreateDialogState {
23
+ /** Информация о стадии инициализации компонента. */
24
+ initLoading: LoadingState;
25
+ /** Идентификатор выбранной метки для подписи. */
26
+ selectedLabel?: ISignatureLabel;
27
+ /** Идентификатор выбранного варианта подписания подписи (простой или сертификат). */
28
+ selectedModeId: string;
29
+ /** Информация о выбранном сертификате для подписи (если подпись не является простой). */
30
+ selectedCertInfo: ICryptoCertificateInfo;
31
+ /** Название выбранного сертификата для подписи (если подпись не является простой). */
32
+ selectedCertName: string;
33
+ /** Сертификат из профиля пользователя. */
34
+ defaultCertInfo?: ICryptoCertificateInfo;
35
+ /** Необходимо ли подписать Поля */
36
+ signFields?: boolean;
37
+ /** Необходимо ли подписать Дополнения */
38
+ signAttachments?: boolean;
39
+ /** Список меток для подписи. */
40
+ signLabels: ISignatureLabel[];
41
+ /** Пользовательский отпечаток. */
42
+ thumbprint: string;
43
+ /** Таймштамп последнего изменения карточки. */
44
+ timestamp: number;
45
+ /** Экземпляр ModalHost для работы с модальным окном для выбора сертификата. */
46
+ certSelectModalHost: ModalHost;
47
+ /** Видно ли модальное окно для выбора сертификата. */
48
+ isCertSelectVisible: boolean;
49
+ /** Загрузка */
50
+ loading?: boolean;
51
+ }
52
+ export declare class FileSignCreateDialog extends React.Component<IFileSignCreateDialogProps, IFileSignCreateDialogState> {
53
+ static readonly SELECT_CERTIFICATE_MODE = "select-certificate";
54
+ constructor(props: IFileSignCreateDialogProps);
55
+ componentDidUpdate(props: any, state: any): void;
56
+ /** @internal */
57
+ UNSAFE_componentWillMount(): Promise<void>;
58
+ /** Является ли подпись простой. */
59
+ isSimpleSign: () => boolean;
60
+ checkIsCertificateExist: () => Promise<boolean>;
61
+ /** Обновляет список доступных меток для подписи. */
62
+ updateLabels: () => Promise<IFilePreviewModel>;
63
+ /** При изменении варианта подписания подписи. */
64
+ protected onModeChange: (selectedElement: IComboBoxElement) => void;
65
+ /** Получить отформатированный список меток для комбобокса. */
66
+ protected getLabelsForCombobox: () => IComboBoxElement[];
67
+ /** Получить отформатированный список вариантов подписания для комбобокса. */
68
+ protected getModesForCombobox: () => IComboBoxElement[];
69
+ /** Открывает модальное окно для выбора сертификата. */
70
+ protected openCertSelectWindow: () => void;
71
+ /** При закрытии модального окна для выбора сертификата. */
72
+ protected onCloseCertSelectWindow: (selectedCertInfo: ICryptoCertificateInfo) => void;
73
+ /** При подписании. */
74
+ protected onSign: () => void;
75
+ /** При отмене подписания. */
76
+ protected onCancel: () => void;
77
+ /** Отрисовывает модальное окно для выбора сертификата. */
78
+ protected renderSelectCertDialog(): React.ReactNode;
79
+ /** @internal */
80
+ render(): JSX.Element;
81
+ }
@@ -0,0 +1,54 @@
1
+ import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
2
+ import { ICryptoCertificate, ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
3
+ import React from "react";
4
+ import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
5
+ export interface IFileSignSelectCertificateDialogProps {
6
+ /** Видно ли окно. */
7
+ isVisible?: boolean;
8
+ /** Вызывается при закрытии данного окна. */
9
+ onClose?: (selectedCertInfo: ICryptoCertificateInfo) => void;
10
+ /** Сервисы */
11
+ services?: $WebViewIOSEnabled;
12
+ }
13
+ export interface IFileSignSelectCertificateDialogState {
14
+ /** Инициализирован ли компонент. */
15
+ isInitialized: boolean;
16
+ /** Выбранный сертификат для подписи. */
17
+ selectedCert: ICryptoCertificate;
18
+ /** Видно ли окно. */
19
+ isVisible: boolean;
20
+ /** Список доступных сертификатов для подписи. */
21
+ certs: ICryptoCertificate[];
22
+ /** Помощник для загрузки данных о списке сертификатов. */
23
+ loadingHelper: RequestHelper;
24
+ }
25
+ export declare class FileSignSelectCertificateDialog extends React.Component<IFileSignSelectCertificateDialogProps, IFileSignSelectCertificateDialogState> {
26
+ constructor(props: IFileSignSelectCertificateDialogProps);
27
+ /** @internal */
28
+ UNSAFE_componentWillMount(): void;
29
+ /** @internal */
30
+ UNSAFE_componentWillReceiveProps(nextProps: IFileSignSelectCertificateDialogProps): void;
31
+ /** Загружаются ли сертификаты в данный момент. */
32
+ get isCertsLoading(): boolean;
33
+ /** Обновляет список доступных сертификатов. */
34
+ updateCerts: () => Promise<any>;
35
+ /** Показать окно. */
36
+ show: () => void;
37
+ /** Скрыть окно. */
38
+ hide: () => void;
39
+ /** При закрытии окна. */
40
+ protected onClose: () => void;
41
+ /**
42
+ * При нажатии на строку таблицы для выбора сертификата.
43
+ * @param cert Информация о сертификате для данной строки.
44
+ */
45
+ protected onCertRowClick: (cert: ICryptoCertificate) => void;
46
+ /**
47
+ * Отрисовывает строку таблицы для выбора сертификата.
48
+ * @param cert Информация о сертификате для данной строки.
49
+ */
50
+ protected renderCertRow(cert: ICryptoCertificate): JSX.Element;
51
+ private saveCertList;
52
+ /** @internal */
53
+ render(): JSX.Element;
54
+ }
@@ -1,4 +1,5 @@
1
1
  import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
2
2
  export interface IExtraFileAddingArgs {
3
3
  fileItem: IFileListItem;
4
+ multipleAddingFiles: File[];
4
5
  }
@@ -14,6 +14,7 @@ export interface IFileSignInteractionModel {
14
14
  getFiles: () => IFileSignInfo[];
15
15
  signButton: HTMLElement;
16
16
  viewSignButton: HTMLElement;
17
+ doNotShowSignatureCompleteMessage?: boolean;
17
18
  beforeShowSignDialogCallback: () => Promise<any>;
18
19
  beforeSignCallback: () => Promise<any>;
19
20
  beforeViewSignCallback: () => Promise<any>;
@@ -1,4 +1,5 @@
1
1
  import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
2
2
  export interface IMainFileAddingArgs {
3
3
  fileItem: IFileListItem;
4
+ multipleAddingFiles: File[];
4
5
  }
@@ -90,7 +90,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
90
90
  protected getShowFilesForLinksTypesIds: () => string[];
91
91
  protected hideInfoPopover(linkItem: LinkItem): void;
92
92
  protected showInfoPopover(linkItem: LinkItem): void;
93
- protected updateInfoPopopverPosition: (ev: MouseEvent, element: Popover) => void;
93
+ protected updateInfoPopopverPosition: () => void;
94
94
  protected onLinkInfoEdited(linkItem: LinkItem): void;
95
95
  protected preventDisclosureToggle: (event: React.MouseEvent<any>) => void;
96
96
  protected onShowColumnSettingsDialog: () => Promise<void>;
@@ -39,7 +39,6 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
39
39
  protected onClearClick(): void;
40
40
  protected editInPlaceModeRender(): JSX.Element;
41
41
  protected getLeftButtons(): IBoxWithButtonsButtonInfo[];
42
- protected onButtonBlur(event: React.FocusEvent<any>): void;
43
42
  protected getButtons(): IBoxWithButtonsButtonInfo[];
44
43
  wrapWithButtons(children?: React.ReactNode): JSX.Element;
45
44
  protected renderWithText(): JSX.Element;
@@ -69,8 +69,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
69
69
  export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
70
70
  /** @internal */
71
71
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
72
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
72
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
74
74
  /** @internal */
75
75
  protected get partnerImpl(): PartnerBaseImpl<T>;
76
76
  private set partnerBindingHandler(value);
@@ -94,7 +94,6 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
94
94
  protected getIconLabel(): string;
95
95
  protected onMouseDownIcon(): void;
96
96
  protected getIconClassName(): string;
97
- protected onButtonBlur(event: React.FocusEvent<any>): void;
98
97
  protected renderInputWithPlaceholder(): React.ReactNode;
99
98
  protected editInPlaceModeRender(): JSX.Element;
100
99
  protected onIconClick(): void;
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
39
39
  export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
40
40
  /** @internal */
41
41
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
42
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
42
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
45
45
  /** @internal */
46
46
  protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
47
47
  init(): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare class PrintButtonView {
3
3
  dropdownButton: (props:
4
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
4
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
5
5
  }
@@ -82,7 +82,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
82
82
  private set binding(value);
83
83
  private set defaultEmployeeBinding(value);
84
84
  get inputChanged():
85
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
85
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
86
86
  /** @covered */
87
87
  get inputText(): string;
88
88
  /** @covered */
@@ -66,7 +66,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
66
66
  private shouldShowFavorites;
67
67
  onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
68
68
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
69
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
69
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
70
70
  protected onEditPopoverShowed(control: any): void;
71
71
  protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
72
72
  protected onIconClick(): void;
@@ -20,16 +20,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
20
20
  import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
21
21
  export declare class TasksTableView {
22
22
  mainButton: (props:
23
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
23
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
24
24
  dialog: (props:
25
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
25
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
26
26
  controlWrapper: typeof TasksTableControlWrapper;
27
27
  ribbon: typeof TasksTableRibbon;
28
28
  ribbonGroup:
29
29
  import("styled-components").StyledComponent<"div", any, {
30
30
  className: string;
31
31
  } &
32
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
33
33
  ribbonButton: typeof TasksTableRibbonButton;
34
34
  ribbonContainer: typeof TasksTableRibbonContainer;
35
35
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -13,7 +13,7 @@ export interface ILabeledText {
13
13
  visible?: boolean;
14
14
  className?: string;
15
15
  /** Click on text element handler */
16
- onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any> | React.FocusEvent<any>) => void;
16
+ onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
17
17
  /** Click on icon element handler */
18
18
  onIconClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
19
19
  /** Ref to text element handler */
@@ -49,8 +49,6 @@ export interface ILabeledText {
49
49
  valueTitle?: string;
50
50
  /** Tab index for case, when onTextClick specified */
51
51
  tabIndex?: number;
52
- /** Tab index for label icon*/
53
- tabIndexIcon?: number;
54
52
  /** Text content aligning. */
55
53
  align?: LabeledTextAlign;
56
54
  /** Use custom element instead text */
@@ -41,7 +41,7 @@ export interface IPopoverProps {
41
41
  /** Событие click вне всплывающего окна. */
42
42
  onClickOutside?: (ev: MouseEvent) => void;
43
43
  /** Событие click внутри всплывающего окна. */
44
- onClickInside?: (ev: MouseEvent, element?: Popover) => void;
44
+ onClickInside?: (ev: MouseEvent) => void;
45
45
  /** Событие нажатия Enter (срабатывает, даже когда фокус вне модального окна). */
46
46
  onEnterPressed?: (ev: KeyboardEvent) => void;
47
47
  /** Событие нажатия Esc (срабатывает, даже когда фокус вне модального окна). */
@@ -54,7 +54,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
54
54
  protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
55
55
  abstract getChanges(): Promise<GenModels.GridViewModel>;
56
56
  getSelection():
57
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
57
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
58
58
  clearSelection(cardIds?: string[]): void;
59
59
  selectionChanged: SimpleEvent<any>;
60
60
  protected addActionButtons(header: HTMLElement): void;
package/MainBundle.d.ts CHANGED
@@ -24,3 +24,5 @@ import "@docsvision/webclient/Helpers/TextInput";
24
24
  import "@docsvision/webclient/Helpers/DynamicTree/DynamicTree";
25
25
  import "@docsvision/webclient/Helpers/DynamicTree/IDynamicTreeNodeData";
26
26
  import "@docsvision/webclient/BackOffice/SignatureConstants";
27
+ import "@docsvision/webclient/BackOffice/FileSignCreateDialog";
28
+ import "@docsvision/webclient/BackOffice/FileSignSelectCertificateDialog";
@@ -16,10 +16,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
16
16
  UNSAFE_componentWillMount(): void;
17
17
  componentDidMount(): void;
18
18
  onSelecting():
19
- import("C:/dev/WebC/main/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
19
+ import("C:/Dev/WebC17/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
20
20
  onSelected(): void;
21
21
  onToggling():
22
- import("C:/dev/WebC/main/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
22
+ import("C:/Dev/WebC17/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
23
23
  onToggled(): void;
24
24
  protected onClick(event: React.MouseEvent): void;
25
25
  protected getCssClass(): string;
@@ -80,12 +80,12 @@ export declare class CardLink extends InputBasedControl<GenModels.CardLinkDataMo
80
80
  protected construct(): void;
81
81
  componentDidMount(): void;
82
82
  protected getServices(): $FileController & $LayoutFileController & $LayoutLinksController & $LayoutController & Partial<$CardId> & $EditOperationStore & $CardId & Partial<$LabelWidth> & $LayoutManager & $Layout &
83
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Services/$LayoutCheckService").$LayoutCheck &
84
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CardInfo &
85
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Core/RequestProcessing/$RequestManager").$RequestManager &
86
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/StandardServices").$ApplicationSettings &
87
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/System/Services/$FileService").$FileService &
88
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/StandardServices").$DeviceType & Partial<
83
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Services/$LayoutCheckService").$LayoutCheck &
84
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CardInfo &
85
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Core/RequestProcessing/$RequestManager").$RequestManager &
86
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/StandardServices").$ApplicationSettings &
87
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Services/$FileService").$FileService &
88
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/StandardServices").$DeviceType & Partial<
89
89
  import("@docsvision/webclient/FilePreview/$FilePreview").$FilePreview> & $CardOperationsController & Partial<$LinksSearchCards> & $CardsPresentationController;
90
90
  protected createParams(): CardLinkParams;
91
91
  protected createImpl(): CardLinkImpl;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare class CertificateSettingsView {
3
3
  setup: (props:
4
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/BackOffice/Dialogs/SignatureMethodsSetup/SignatureMethodsSetup").ISignatureMethodsSetupProps) => JSX.Element;
4
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/BackOffice/Dialogs/SignatureMethodsSetup/SignatureMethodsSetup").ISignatureMethodsSetupProps) => JSX.Element;
5
5
  }
@@ -83,7 +83,7 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
83
83
  protected getDefaultInitialValue(): Date;
84
84
  protected editInPlaceModeRender(): JSX.Element;
85
85
  protected renderWithText(): JSX.Element;
86
- protected onPlaceholderClick(event?: React.MouseEvent): void;
86
+ protected onPlaceholderClick(event: any): void;
87
87
  protected onDialogClose(): void;
88
88
  protected onDialogOpen(): void;
89
89
  protected onDateChange: (newValue: any, value: any) => void;
@@ -96,6 +96,6 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
96
96
  private renderRequiredText;
97
97
  protected renderPlaceholder(): JSX.Element;
98
98
  triggerSaveRequestEvent: () => Promise<void>;
99
- clear(): Promise<void>;
99
+ clear(): void;
100
100
  canClear(): boolean;
101
101
  }
@@ -12,7 +12,7 @@ export declare class LoaderDialog extends React.Component<Props, State> {
12
12
  cancel: () => void;
13
13
  DialogBox:
14
14
  import("styled-components").StyledComponent<(props:
15
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
15
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
16
16
  LoadingSpan:
17
17
  import("styled-components").StyledComponent<"span", any, {}, never>;
18
18
  render(): JSX.Element;
@@ -28,7 +28,7 @@ export declare class SecurityDescriptorDialogView {
28
28
  frame: (props:
29
29
  import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
30
30
  table: (props:
31
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
31
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
32
32
  tableHead: (props:
33
33
  import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
34
34
  inheritanceButtons: typeof AccessInheritanceButtons;
@@ -62,7 +62,7 @@ import("effector").Event<boolean>;
62
62
  getGridUserDataFx:
63
63
  import("effector").Effect<string, {
64
64
  settings: GenModels.GridUserSettingsData;
65
- filteredColumns: GenModels.ViewColumnModel[];
65
+ columns: GenModels.ViewColumnModel[];
66
66
  }, Error>;
67
67
  saveGridUserSettingsFx:
68
68
  import("effector").Effect<void, void, Error>;
@@ -26,7 +26,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
26
26
  private attachRoot;
27
27
  DialogBox:
28
28
  import("styled-components").StyledComponent<(props:
29
- import("C:/dev/WebC/main/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
29
+ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
30
30
  close(): void;
31
31
  render(): JSX.Element;
32
32
  }
@@ -82,7 +82,6 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
82
82
  protected renderSelectDialogInternal(): JSX.Element;
83
83
  protected renderInputWithPlaceholder(): React.ReactNode;
84
84
  protected getLastFilterState(): string;
85
- protected onButtonBlur(event: React.FocusEvent<any>): void;
86
85
  protected getButtons(): IBoxWithButtonsButtonInfo[];
87
86
  protected renderTypeaheadInput(): JSX.Element;
88
87
  protected onTypeaheadOpened(): void;
@@ -77,10 +77,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
77
77
  protected modalHost: CommonModalDialogHost;
78
78
  static SimpleItemView:
79
79
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
80
- import("C:/dev/WebC/main/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
80
+ import("C:/Dev/WebC17/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
81
81
  static SimpleItemViewCompact:
82
82
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
83
- import("C:/dev/WebC/main/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
83
+ import("C:/Dev/WebC17/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
84
84
  /** @internal */
85
85
  state: StateT;
86
86
  searchInput: HTMLInputElement;
@@ -114,7 +114,6 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
114
114
  protected renderPlaceholder(): JSX.Element;
115
115
  protected renderPlaceholderEditInPlace(): JSX.Element;
116
116
  protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
117
- protected onIconKeyDown(e: React.KeyboardEvent): void;
118
117
  protected getInputProps(): React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
119
118
  protected renderInput(): React.ReactNode;
120
119
  protected get editInPlaceAvailable(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "5.17.1-beta.1",
3
+ "version": "5.17.2-beta.1",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},