@docsvision/webclient 5.17.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 (58) hide show
  1. package/Account/LoginContainer.d.ts +1 -0
  2. package/Account/LoginLogic.d.ts +13 -0
  3. package/Account/ProviderButton.d.ts +4 -2
  4. package/Account/index.d.ts +2 -0
  5. package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +2 -1
  6. package/BackOffice/AuthenticationKindsFormatLogin.d.ts +7 -0
  7. package/BackOffice/AuthenticationKindsGetMaskOptions.d.ts +8 -0
  8. package/BackOffice/AuthenticationKindsLogic.d.ts +4 -0
  9. package/BackOffice/AuthenticationKindsUpdateLogin.d.ts +2 -0
  10. package/BackOffice/AuthenticationKindsValidRegExps.d.ts +3 -0
  11. package/BackOffice/AuthenticationKindsView.d.ts +2 -2
  12. package/BackOffice/{CheckEmployeeAccount.d.ts → CheckStaffDirectoryData.d.ts} +1 -0
  13. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +6 -0
  14. package/BackOffice/DirectoryDesignerRow.d.ts +6 -1
  15. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  16. package/BackOffice/DirectorySearchFilters.d.ts +6 -0
  17. package/BackOffice/DssSignRequestModels.d.ts +1 -0
  18. package/BackOffice/ExistingCardLinkDialog.d.ts +3 -1
  19. package/BackOffice/FileSign.d.ts +14 -2
  20. package/BackOffice/FileSignCreateDialog.d.ts +81 -0
  21. package/BackOffice/FileSignSelectCertificateDialog.d.ts +54 -0
  22. package/BackOffice/IExtraFileAddingArgs.d.ts +1 -0
  23. package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
  24. package/BackOffice/IMainFileAddingArgs.d.ts +1 -0
  25. package/BackOffice/Index.d.ts +0 -6
  26. package/BackOffice/LinksImpl.d.ts +2 -0
  27. package/BackOffice/MarkPartnersAsDepartment.d.ts +2 -0
  28. package/BackOffice/SignatureButtonLogic.d.ts +2 -0
  29. package/BackOffice/SignatureButtonOptions.d.ts +3 -2
  30. package/Generated/DocsVision.WebClient.Models.d.ts +224 -0
  31. package/Helpers/InputMask/IInputMaskProps.d.ts +71 -0
  32. package/Helpers/InputMask/InputMask.d.ts +8 -0
  33. package/Helpers/InputMask/InputMask.stories.d.ts +11 -0
  34. package/Helpers/InputMask/InputMaskView.d.ts +14 -0
  35. package/Helpers/InputMask/components/InputMaskContainer.d.ts +7 -0
  36. package/Helpers/InputMask/components/InputMaskField.d.ts +7 -0
  37. package/Helpers/InputMask/components/InputMaskLabel.d.ts +18 -0
  38. package/Helpers/InputMask/index.d.ts +5 -0
  39. package/MainBundle.d.ts +4 -0
  40. package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
  41. package/Platform/BaseNavigationMenuItemRouteHandler.d.ts +1 -0
  42. package/Platform/CardLink.d.ts +1 -1
  43. package/Platform/CardLinkImpl.d.ts +2 -0
  44. package/Platform/FilePickerImpl.d.ts +1 -0
  45. package/Platform/FilteringExtendedData.d.ts +1 -0
  46. package/Platform/FilteringRequestResolver.d.ts +4 -0
  47. package/Platform/FilteringResponseResolver.d.ts +4 -0
  48. package/Platform/ListCheckbox.d.ts +1 -1
  49. package/Platform/ListInput.d.ts +1 -1
  50. package/Platform/QuotesHighlight.d.ts +2 -0
  51. package/Platform/QuotesLogic.d.ts +7 -0
  52. package/Platform/QuotesModalQuote.d.ts +2 -0
  53. package/Platform/SearchTextInput.d.ts +1 -1
  54. package/Platform/TextListInputCultureWiseParseFloat.d.ts +3 -0
  55. package/Platform/TextListInputLogic.d.ts +4 -0
  56. package/System/NumberCultureFormatting.d.ts +9 -0
  57. package/package.json +1 -1
  58. package/BackOffice/AuthenticationKindsTextBox.d.ts +0 -7
@@ -9,6 +9,7 @@ import { LoginInputsDivider } from '@docsvision/webclient/Account/Components/Log
9
9
  import { ChangeMethodButton } from '@docsvision/webclient/Account/Components/ChangeMethodButton';
10
10
  import { IComponentProps } from '@docsvision/web/core/component';
11
11
  import { Box } from '@docsvision/webclient/Account/Components/Box';
12
+ import "@docsvision/webclient/Legacy/NativeFunctions";
12
13
  export declare class LoginView {
13
14
  form: typeof Form;
14
15
  changeMethodButton: typeof ChangeMethodButton;
@@ -45,8 +45,16 @@ import("effector").Store<boolean>;
45
45
  import("effector").Store<string>;
46
46
  $providersUpdate:
47
47
  import("effector").Store<[ILoginProvider[], ILoginProvider[]]>;
48
+ clickProviderButton:
49
+ import("effector").Event<string>;
50
+ $timeStartDownloadingProviders:
51
+ import("effector").Store<number>;
52
+ setTimeStartDownloadingProviders:
53
+ import("effector").Event<number>;
48
54
  clearInputs:
49
55
  import("effector").Event<void>;
56
+ $hasLicenseProblem:
57
+ import("effector").Store<boolean>;
50
58
  constructor();
51
59
  submitForm:
52
60
  import("effector").Effect<unknown, any, Error>;
@@ -57,7 +65,12 @@ import("effector").Effect<unknown, {
57
65
  userName: any;
58
66
  userAuthenticationExtensions: any[];
59
67
  authenticationExtensionModels: any[];
68
+ hasLicenseProblem: boolean;
60
69
  }, Error>;
70
+ followLinkToProvider:
71
+ import("effector").Effect<string, void, Error>;
72
+ getValidProviderLink:
73
+ import("effector").Effect<ILoginProvider, string, Error>;
61
74
  handleContactClick: (e: MouseEvent) => void;
62
75
  getNumberOfProvidersFromStorage(): number;
63
76
  getProvidersList(): ILoginProvider[];
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
+ import { Event } from 'effector';
2
3
 
3
4
  export interface IProviderButtonProps {
4
5
  iconSrc: string;
5
6
  text: string;
6
7
  name: string;
7
- url: string;
8
+ id: string;
9
+ click: Event<string>;
8
10
  }
9
- export declare function ProviderButton({ iconSrc, text, name, url }: IProviderButtonProps): JSX.Element;
11
+ export declare function ProviderButton({ iconSrc, text, name, id, click }: IProviderButtonProps): JSX.Element;
@@ -16,6 +16,8 @@ export interface ILoginProvider {
16
16
  supportedModes: string[];
17
17
  supportedTypes: string[];
18
18
  url: string;
19
+ isStateCompare: boolean;
20
+ timeOut: number;
19
21
  }
20
22
  export declare type EventParameters = {
21
23
  logic: LoginLogic;
@@ -1,4 +1,5 @@
1
- import { DirectorySearchFilters, NomenclatureSearchFilters } from "@docsvision/webclient/BackOffice/Index";
1
+ import { DirectorySearchFilters } from "@docsvision/webclient/BackOffice/DirectorySearchFilters";
2
+ import { NomenclatureSearchFilters } from "@docsvision/webclient/BackOffice/Index";
2
3
  export declare type SearchFilters = DirectorySearchFilters | NomenclatureSearchFilters;
3
4
  export interface ISearchFilterEntry {
4
5
  key: SearchFilters;
@@ -0,0 +1,7 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ /**
3
+ * @param kind способ аутентификации
4
+ * @param userExtensionLogin логин способа аутентификации
5
+ * @returns возвращает способ аутентификации с ожидаемым на сервере форматом логина
6
+ */
7
+ export declare function authenticationKindsFormatLogin(kind: GenModels.AuthenticationKindsModel, userExtensionLogin: string): GenModels.AuthenticationKindsModel;
@@ -0,0 +1,8 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { IInputMaskProps } from "@docsvision/webclient/Helpers/InputMask";
3
+ /**
4
+ * @param typeLogin Тип данных, который используется в качестве логина
5
+ * @param isLoginExist Есть ли дубликат записи
6
+ * @returns свойства для inputMask в зависимости от типа данных
7
+ */
8
+ export declare function authenticationKindsGetMaskProps(typeLogin: GenModels.AuthenticationLoginType, isLoginExist: boolean): IInputMaskProps;
@@ -34,6 +34,10 @@ import("effector").Store<boolean>;
34
34
  import("effector").Event<boolean>;
35
35
  $isExist:
36
36
  import("effector").Store<boolean>;
37
+ $isValid:
38
+ import("effector").Store<boolean>;
39
+ setValid:
40
+ import("effector").Event<boolean>;
37
41
  $binding:
38
42
  import("effector").Store<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
39
43
  setBinding:
@@ -1,5 +1,7 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
2
  /**
3
+ * @param kinds способы аутентификации
4
+ * @param selectedKind способ аутентификации
3
5
  * @returns новое состояние способов аутентификации
4
6
  */
5
7
  export declare function authenticationKindsUpdateLogin({ kinds, selectedKind }: {
@@ -0,0 +1,3 @@
1
+ export declare const AuthenticationKindsPhoneRegExp: RegExp;
2
+ export declare const AuthenticationKindsSnilsRegExp: RegExp;
3
+ export declare const AuthenticationKindsEmailRegExp: RegExp;
@@ -3,14 +3,14 @@ import { AuthenticationKindsFrame } from "@docsvision/webclient/BackOffice/Authe
3
3
  import { AuthenticationKindsItem } from "@docsvision/webclient/BackOffice/AuthenticationKindsItem";
4
4
  import { AuthenticationKindsList } from "@docsvision/webclient/BackOffice/AuthenticationKindsList";
5
5
  import { AuthenticationKindsModalDialog } from "@docsvision/webclient/BackOffice/AuthenticationKindsModalDialog";
6
- import { AuthenticationKindsTextBox } from "@docsvision/webclient/BackOffice/AuthenticationKindsTextBox";
6
+ import { InputMask } from "@docsvision/webclient/Helpers/InputMask";
7
7
  import { CheckBox } from "@docsvision/webclient/Platform/CheckBox";
8
8
  export declare class AuthenticationKindsView {
9
9
  frame: typeof AuthenticationKindsFrame;
10
10
  list: typeof AuthenticationKindsList;
11
11
  item: typeof AuthenticationKindsItem;
12
12
  modalDialog: typeof AuthenticationKindsModalDialog;
13
- textBox: typeof AuthenticationKindsTextBox;
13
+ inputMask: typeof InputMask;
14
14
  checkBox: typeof CheckBox;
15
15
  label: (props:
16
16
  import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
@@ -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>;
@@ -8,6 +8,7 @@ import { $LocationContainerControlServices } from '@docsvision/webclient/System/
8
8
  import { DirectoryDesignerRowItemVisualiser } from "@docsvision/webclient/BackOffice/DirectoryDesignerRowItemVisualiser";
9
9
  import { FieldNameAccessor } from "@docsvision/webclient/Helpers/DynamicModel/FieldNameAccessor";
10
10
  import { FuncAccessor } from "@docsvision/webclient/Helpers/DynamicModel/FuncAccessor";
11
+ import { DirectoryDesignerSelectionArea } from "@docsvision/webclient/BackOffice/DirectoryDesignerRow";
11
12
  declare type ValueT = GenModels.DirectoryDesignerItem;
12
13
  declare type NodeT = GenModels.DirectoryDesignerItem;
13
14
  declare type ItemT = GenModels.DirectoryDesignerItem;
@@ -29,6 +30,7 @@ export interface IDirectoryDesRowSelectDialogProps extends IDirectorySelectDialo
29
30
  useDescription: boolean;
30
31
  availableChanges?: GenModels.AvailableChangesModes;
31
32
  services: $DirectoryDesignerRowController & $LayoutRowController & $LocationContainerControlServices;
33
+ selectionArea?: DirectoryDesignerSelectionArea;
32
34
  }
33
35
  /** @internal */
34
36
  export interface IDirectoryDesRowSelectDialogState extends IDirectorySelectDialogState<ValueT, NodeT, ItemT> {
@@ -48,6 +50,7 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
48
50
  protected getItemDisplayName(item: IDirectoryItem<NodeT | ItemT>): string;
49
51
  protected getItemIconClassName(item: IDirectoryItem<NodeT | ItemT>): string;
50
52
  protected getItemTooltip(item: IDirectoryItem<NodeT | ItemT>): string;
53
+ protected get currentNodeId(): string;
51
54
  protected loadChildrenList(nodeId: string, nodeType: any, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<NodeT | ItemT>>;
52
55
  protected search(searchText: string, nodeId: string, nodeType: any, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<NodeT, NodeT | ItemT>>;
53
56
  protected getSearchNodePath(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): GenModels.DirectoryDesignerItem[];
@@ -60,10 +63,13 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
60
63
  protected onDelete: (item: GenModels.DirectoryDesignerItem) => void;
61
64
  protected deleteRow(item: GenModels.DirectoryDesignerItem, services: $LayoutRowController): Promise<void>;
62
65
  protected isItemAllowedToAccept(item: IDirectoryItem<NodeT | ItemT>): boolean;
66
+ private isItemInSelectionArea;
67
+ protected isDialogSelectButtonEnabled(): boolean;
63
68
  protected renderActionButton: (item: IDirectoryItem<NodeT | ItemT>) => JSX.Element;
64
69
  protected renderDialogBreadcrumbs(): JSX.Element;
65
70
  protected renderSearchModeToggle(): JSX.Element;
66
71
  protected onCreateItem: (itemType: GenModels.DirectoryDesignerTreeNodeType) => Promise<void>;
72
+ protected getCurrentNode: () => GenModels.DirectoryDesignerItem;
67
73
  protected getItemAvailablechanges(item: IDirectoryItem<NodeT | ItemT>): boolean;
68
74
  protected renderExtraDialogButtons(): JSX.Element;
69
75
  protected renderItemName(item: IDirectoryItem<NodeT | ItemT>): JSX.Element;
@@ -10,6 +10,11 @@ import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/
10
10
  export declare type DirectoryDesignerRowValueType = GenModels.DirectoryDesignerItem;
11
11
  export declare type DirectoryDesignerRowNodeType = GenModels.DirectoryDesignerItem;
12
12
  declare type ItemT = GenModels.DirectoryDesignerItem;
13
+ export declare enum DirectoryDesignerSelectionArea {
14
+ OnlyNode = 0,
15
+ OnlyChildren = 1,
16
+ NodeWithChildren = 2
17
+ }
13
18
  /**
14
19
  * Содержит публичные свойства элемента управления [Строка конструктора справочников]{@link DirectoryDesignerRow}.
15
20
  */
@@ -33,7 +38,7 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
33
38
  selectedFilterPath?: GenModels.DirectoryDesignerItem[];
34
39
  availableChanges?: GenModels.AvailableChangesModes;
35
40
  /** Область выбора (и поиска) элементов из Конструктора справочников. */
36
- selectionArea?: GenModels.DirectoryDesignerSearchArea;
41
+ selectionArea?: DirectoryDesignerSelectionArea;
37
42
  /** Задержка перед поиском (в мс) */
38
43
  searchDelay?: number;
39
44
  services?: $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & $LocationContainerControlServices;
@@ -7,4 +7,4 @@ export interface IDirectorySearchContentProps extends HtmlProps.div {
7
7
  renderContent?: () => JSX.Element;
8
8
  opened?: boolean;
9
9
  }
10
- export declare const DirectorySearchContent: React.ForwardRefExoticComponent<Pick<IDirectorySearchContentProps, "renderContent" | "data" | "slot" | "style" | "title" | "children" | "onSubmit" | "placeholder" | "dir" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "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"> & React.RefAttributes<unknown>>;
10
+ export declare const DirectorySearchContent: React.ForwardRefExoticComponent<Pick<IDirectorySearchContentProps, "renderContent" | "data" | "slot" | "style" | "title" | "children" | "id" | "onSubmit" | "placeholder" | "dir" | "className" | "color" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "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"> & React.RefAttributes<unknown>>;
@@ -0,0 +1,6 @@
1
+ export declare enum DirectorySearchFilters {
2
+ Organization = "0",
3
+ Employee = "1",
4
+ Group = "2",
5
+ JobTitle = "3"
6
+ }
@@ -137,6 +137,7 @@ export interface IDssConfirmationResponse {
137
137
  IsError: boolean;
138
138
  Error?: string;
139
139
  ErrorDescription?: string;
140
+ TransactionId?: string;
140
141
  }
141
142
  export interface IDssChoiceAuthenticationResponse {
142
143
  Challenge: IDssChoiceAuthenticationChallenge;
@@ -19,6 +19,8 @@ export interface Props {
19
19
  maximizeButtonEnabled?: boolean;
20
20
  /** Вызывается при попытке развернуть окно */
21
21
  onMaximize?: () => void;
22
+ setLastMaximized?: Function;
23
+ lastMaximized?: boolean;
22
24
  }
23
25
  interface State {
24
26
  layout: ILayout;
@@ -31,7 +33,7 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
31
33
  static ExistingCardLinkSearchLayout: string;
32
34
  private layoutRoot;
33
35
  constructor(props: any);
34
- static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
36
+ static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, lastMaximized?: boolean, setLastMaximize?: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
35
37
  componentDidMount(): void;
36
38
  loadLayout(): Promise<void>;
37
39
  private onCancel;
@@ -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
  }
@@ -1,9 +1,3 @@
1
- export declare enum DirectorySearchFilters {
2
- Organization = "0",
3
- Employee = "1",
4
- Group = "2",
5
- JobTitle = "3"
6
- }
7
1
  export declare enum NomenclatureSearchFilters {
8
2
  Case = "0",
9
3
  Unit = "1"
@@ -31,6 +31,7 @@ export interface LinksState extends LinksParams, IPanelState {
31
31
  linksLoaded: boolean;
32
32
  isAddUrlDialogShown: boolean;
33
33
  editOperationAllowed: boolean;
34
+ lastMaximized: boolean;
34
35
  }
35
36
  /** @internal */
36
37
  export declare type LinksImplState = LinksState;
@@ -77,6 +78,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
77
78
  closeAddNewUrlDialog: () => void;
78
79
  onAddNewCardLinkClick(ev?: React.MouseEvent<any>): Promise<void>;
79
80
  onAddExistingCardLinkClick(ev?: React.MouseEvent): void;
81
+ setLastMaximized: (value: any) => void;
80
82
  protected onViewFileMenuClick(linkItem: LinkItem): void;
81
83
  protected onFollowLinkClick(linkItem: LinkItem): void;
82
84
  onDeleteMenuClick(linkItem: LinkItem): void;
@@ -0,0 +1,2 @@
1
+ import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
2
+ export declare function markPartnersCompanyAsDepartment(sender: LayoutControl): Promise<void>;
@@ -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>;