@docsvision/webclient 6.1.2-beta.1 → 6.2.0-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/BackOffice/AddressImpl.d.ts +1 -2
  2. package/BackOffice/ChildTasksPerformingImpl.d.ts +2 -2
  3. package/BackOffice/CreateWindow.d.ts +2 -2
  4. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  5. package/BackOffice/DepartmentSelectDialogFlat.d.ts +3 -3
  6. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +1 -1
  7. package/BackOffice/DirectoryDesignerRow.d.ts +5 -5
  8. package/BackOffice/DirectoryDesignerRowImpl.d.ts +4 -3
  9. package/BackOffice/DirectorySearchResultLogic.d.ts +4 -4
  10. package/BackOffice/FileListControlLogic.d.ts +1 -1
  11. package/BackOffice/LoadEmployeeLayoutFunctions.d.ts +3 -3
  12. package/BackOffice/MultipleEmployeesImpl.d.ts +2 -0
  13. package/BackOffice/NumeratorImpl.d.ts +1 -2
  14. package/BackOffice/PartnerBase.d.ts +5 -5
  15. package/BackOffice/PartnerBaseImpl.d.ts +1 -0
  16. package/BackOffice/PartnerDirectoryBase.d.ts +5 -5
  17. package/BackOffice/PartnerSelectDialog.d.ts +6 -5
  18. package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -3
  19. package/BackOffice/Powers.d.ts +1 -1
  20. package/BackOffice/PowersImpl.d.ts +2 -2
  21. package/BackOffice/SignatureDialog.d.ts +4 -0
  22. package/BackOffice/SignatureDialog.stories.d.ts +9 -0
  23. package/BackOffice/StaffDirectoryInfoPopover.d.ts +2 -0
  24. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  25. package/BackOffice/StaffDirectoryItemsImpl.d.ts +6 -4
  26. package/BackOffice/TasksTableView.d.ts +1 -1
  27. package/BackOffice/UserProfile.d.ts +16 -0
  28. package/Generated/DocsVision.WebClient.Controllers.d.ts +40 -0
  29. package/Generated/DocsVision.WebClient.Models.d.ts +34 -0
  30. package/Helpers/Button.d.ts +1 -0
  31. package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +1 -0
  32. package/Helpers/ModalDialog/ModalDialog.d.ts +2 -0
  33. package/Helpers/ModalSidebar/ModalSidebar.d.ts +16 -10
  34. package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +1 -0
  35. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  36. package/Legacy/RightSidebar.d.ts +1 -0
  37. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  38. package/Platform/CardLink.d.ts +7 -8
  39. package/Platform/CardLinkImpl.d.ts +3 -1
  40. package/Platform/DateTimePickerImpl.d.ts +4 -3
  41. package/Platform/DropdownImpl.d.ts +3 -0
  42. package/Platform/ExportESignButton.d.ts +2 -0
  43. package/Platform/FileDropzone.d.ts +1 -0
  44. package/Platform/FilePreviewImpl.d.ts +1 -0
  45. package/Platform/FolderCardsDashboardWidget.d.ts +5 -0
  46. package/Platform/ImageImpl.d.ts +2 -0
  47. package/Platform/NumberImpl.d.ts +1 -2
  48. package/Platform/RadioGroupImpl.d.ts +4 -0
  49. package/System/DirectoryBaseImpl.d.ts +1 -1
  50. package/System/DirectorySelectDialog.d.ts +2 -2
  51. package/System/InputBasedControl.d.ts +0 -2
  52. package/System/InputBasedControlImpl.d.ts +2 -2
  53. package/System/LayoutCardControllerStub.d.ts +1 -0
  54. package/System/LayoutManager.d.ts +1 -1
  55. package/System/LayoutRowControllerStub.d.ts +1 -0
  56. package/System/LocationContainerControl.d.ts +1 -0
  57. package/System/Summernote.d.ts +6 -0
  58. package/package.json +1 -1
@@ -5,7 +5,6 @@ import { TextBox } from "@docsvision/webclient/Platform/TextBox";
5
5
  import { InputBasedControlImpl, IInputBasedControlState } from "@docsvision/webclient/System/InputBasedControlImpl";
6
6
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
7
7
  import React from "react";
8
- import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
9
8
  import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
10
9
  export interface IAddressState extends AddressParams, IInputBasedControlState<GenModels.AddressModel> {
11
10
  binding: IBindingResult<GenModels.AddressModel>;
@@ -23,7 +22,7 @@ export declare class AddressImpl extends InputBasedControlImpl<GenModels.Address
23
22
  protected renderInto(props: AddressParams, container: HTMLElement): void;
24
23
  show(): void;
25
24
  clear(): void;
26
- validate(params: IValidationParams): Promise<IValidationResult>;
25
+ validate(params: unknown): IValidationResult;
27
26
  protected onInputChange(event: any): void;
28
27
  protected renderInput(): React.ReactNode;
29
28
  }
@@ -42,12 +42,12 @@ import("styled-components").StyledComponent<typeof TableHelperHeaderCell, any, {
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/WebClientDevelop/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
45
+ import("D:/BuildAgent/work/43698d70d905217f/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/WebClientDevelop/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
50
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
51
51
  selected: boolean;
52
52
  }, never>;
53
53
  protected selectAllCheckboxLabel:
@@ -1,5 +1,5 @@
1
- import { $DepartmentController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
1
+ import { $DepartmentController, $LayoutRowController, $LayoutStaffController, $PartnerEmployeeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
2
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
3
  import { $LocationContainerControlServices } from "@docsvision/webclient/System/LocationContainerControl";
4
4
  import { $DeviceType } from "@docsvision/webclient/StandardServices";
5
- export declare function showCreatePartnerWindow(itemType: GenModels.PartnerItemType, parentItem: GenModels.DepartmentModel, selectedFilterPath: GenModels.DepartmentModel[] | null, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<GenModels.DepartmentModel | GenModels.EmployeeDataModel>;
5
+ export declare function showCreatePartnerWindow(itemType: GenModels.PartnerItemType, parentItem: GenModels.DepartmentModel, selectedFilterPath: GenModels.DepartmentModel[] | null, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType & $PartnerEmployeeController, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<GenModels.DepartmentModel | GenModels.EmployeeDataModel>;
@@ -9,7 +9,7 @@ import("styled-components").StyledComponent<"div", any, {
9
9
  }, "className">;
10
10
  export declare const Item:
11
11
  import("styled-components").StyledComponent<typeof
12
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").ButtonItem, any, {}, never>;
12
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").ButtonItem, any, {}, never>;
13
13
  export declare const ReadonlyLinkItemView:
14
14
  import("styled-components").StyledComponent<"div", any, {
15
15
  className: "breadcrumbs-link-item-view-helper text-trim";
@@ -66,13 +66,13 @@ export declare class DepartmentSelectDialogFlat extends React.Component<IDepartm
66
66
  static SearchPageSize: number;
67
67
  static SimpleItemView:
68
68
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
69
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
69
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
70
70
  static SimpleItemViewCompact:
71
71
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
72
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
72
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
73
73
  static LoadingNode:
74
74
  import("styled-components").StyledComponent<"button", any,
75
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
75
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
76
76
  static LoadTreeLevelDown: number;
77
77
  static LevelsToExpandByDefault: number;
78
78
  /** @internal */
@@ -81,7 +81,7 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
81
81
  protected renderSearchItemMatchedPropertyRow(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): JSX.Element;
82
82
  protected getSearchInputClassName(): string;
83
83
  protected getSearchInputPlaceholder(): string;
84
- protected refreshAfterEdit: (item: GenModels.DirectoryDesignerItem) => void;
84
+ protected refreshAfterEdit: (item: GenModels.DirectoryDesignerItem) => Promise<void>;
85
85
  protected onNavigateToFolder(nodeId: string, nodeType: GenModels.DirectoryDataType): Promise<object>;
86
86
  protected renderSearchItemPath(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): JSX.Element;
87
87
  protected getDialogHeader(): JSX.Element;
@@ -59,11 +59,11 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
59
59
  export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, IDirectoryDesignerRowState<ValueT>> {
60
60
  protected createParams(): DirectoryDesignerRowParams<ValueT>;
61
61
  protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
62
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
63
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
64
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
65
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> &
66
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/StandardServices").$DeviceType;
62
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
63
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
64
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
65
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> &
66
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/StandardServices").$DeviceType;
67
67
  private set DirectoryDesignerRowBinding(value);
68
68
  private set binding(value);
69
69
  private set directoryDataSource(value);
@@ -44,7 +44,7 @@ export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<Director
44
44
  protected getTextValue(): string;
45
45
  protected renderInto(props: DirectoryDesignerRowParams, container: HTMLElement): void;
46
46
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
47
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/InputBasedControl/InputBasedControl").InputBasedControl<GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, IDirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
47
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/InputBasedControl/InputBasedControl").InputBasedControl<GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, IDirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
48
48
  protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
49
49
  canShowDictionary(): boolean;
50
50
  protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
@@ -59,11 +59,12 @@ import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/InputB
59
59
  protected renderDirectoryDesignerInputWithPlaceholder(): React.ReactNode;
60
60
  protected editInPlaceModeRender(): JSX.Element;
61
61
  protected getIconClassName(): string;
62
+ setValueInternal(value: any): void;
62
63
  protected onIconClick(): void;
63
64
  protected getTypeaheadProps():
64
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
65
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
65
66
  ref: (typeahead:
66
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Typeahead/Typeahead").Typeahead) => void;
67
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Typeahead/Typeahead").Typeahead) => void;
67
68
  };
68
69
  protected focusInput: () => void;
69
70
  protected onMouseDownIcon(): void;
@@ -20,8 +20,8 @@ import("effector").Event<boolean>;
20
20
  init(options: IDirectorySearchResultProps): void;
21
21
  goToSection: (ev:
22
22
  import("react").MouseEvent<Element, MouseEvent>, currentItem:
23
- import("C:/dev/WebClientDevelop/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel, parentItem:
24
- import("C:/dev/WebClientDevelop/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel, selectItem: (item:
25
- import("C:/dev/WebClientDevelop/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel) =>
26
- import("C:/dev/WebClientDevelop/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel) => void;
23
+ import("D:/BuildAgent/work/43698d70d905217f/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel, parentItem:
24
+ import("D:/BuildAgent/work/43698d70d905217f/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel, selectItem: (item:
25
+ import("D:/BuildAgent/work/43698d70d905217f/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel) =>
26
+ import("D:/BuildAgent/work/43698d70d905217f/Generated/DocsVision.WebClient.Models").GenModels.SearchItemModel) => void;
27
27
  }
@@ -59,7 +59,7 @@ export declare class FileListControlLogic {
59
59
  private sortFiles;
60
60
  protected updateVersionsOnLoad(appendFiles?: boolean): void;
61
61
  closeAllMenusBut(fileItem: FileListItem): void;
62
- fileMenuOpening(fileItem: FileListItem, data: IFileMenuItem[]): Promise<void>;
62
+ fileMenuOpening(fileItem: FileListItem, data: IFileMenuItem[]): Promise<IFileMenuItem[]>;
63
63
  fileVersionExpanding(fileItem: FileListItem): Promise<void>;
64
64
  rowClick(fileItem: FileListItem): void;
65
65
  nameClick(fileItem: FileListItem): Promise<void>;
@@ -1,8 +1,8 @@
1
1
  import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
2
2
  import { $DepartmentController, $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  export declare function loadEmployeeInfoLayout(employeeId: string, services: $LayoutRowController): Promise<
4
- import("C:/dev/WebClientDevelop/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
4
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
5
5
  export declare function loadEmployeeEditLayout(employeeId: string, services: $LayoutRowController): Promise<
6
- import("C:/dev/WebClientDevelop/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
6
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
7
7
  export declare function loadEmployeeCreateLayout(parentSection: IDirectoryTreeRow, services: $LayoutRowController & $DepartmentController): Promise<
8
- import("C:/dev/WebClientDevelop/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
8
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
@@ -28,6 +28,7 @@ export declare class MultipleEmployeesImpl extends InputBasedControlImpl<GenMode
28
28
  private typeahead;
29
29
  constructor(props: MultipleEmployeesParams, state: IMultipleEmployeesState);
30
30
  setValue(value: GenModels.EmployeeDataModel[], redraw: boolean): void;
31
+ private valuesEqual;
31
32
  initHelpers(props: MultipleEmployeesParams): void;
32
33
  getValueAsString(value: GenModels.EmployeeDataModel[]): string;
33
34
  protected getTextValue(): string;
@@ -54,6 +55,7 @@ export declare class MultipleEmployeesImpl extends InputBasedControlImpl<GenMode
54
55
  protected renderSimpleViewValue(): JSX.Element;
55
56
  protected renderWithText(): JSX.Element;
56
57
  protected renderEditEmployeeList(): JSX.Element;
58
+ protected onMouseDownIcon(): void;
57
59
  protected renderInputWithPlaceholder(): JSX.Element;
58
60
  addToFavorite(item: GenModels.EmployeeDataModel): void;
59
61
  }
@@ -5,7 +5,6 @@ import { IBoxWithButtonsButtonInfo } from "@docsvision/webclient/Helpers/BoxWith
5
5
  import { InputBasedControlImpl, IInputBasedControlState } from "@docsvision/webclient/System/InputBasedControlImpl";
6
6
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
7
7
  import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
8
- import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
9
8
  import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
10
9
  import React from "react";
11
10
  /** @internal */
@@ -30,7 +29,7 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
30
29
  componentDidMount(): void;
31
30
  protected getTextValue(): string;
32
31
  protected onInputChange(event: any): void;
33
- validate(params: IValidationParams): Promise<IValidationResult>;
32
+ validate(params: unknown): IValidationResult;
34
33
  clearNumber(): Promise<void>;
35
34
  protected renderInto(props: NumeratorParams, container: HTMLElement): void;
36
35
  protected get editAvailable(): boolean;
@@ -2,7 +2,7 @@ import { IPartnerDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/I
2
2
  import { IPartnerFilterChangeEventArgs } from "@docsvision/webclient/BackOffice/IPartnerFilterChangeEventArgs";
3
3
  import { PartnerBaseImpl, IPartnerBaseState } from "@docsvision/webclient/BackOffice/PartnerBaseImpl";
4
4
  import { PartnerSelectDialog } from "@docsvision/webclient/BackOffice/PartnerSelectDialog";
5
- import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
5
+ import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController, $PartnerEmployeeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
6
6
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
7
7
  import { $DeviceType } from "@docsvision/webclient/StandardServices";
8
8
  import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
@@ -58,7 +58,7 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
58
58
  currentFilterChanging?: CancelableApiEvent<IPartnerFilterChangeEventArgs>;
59
59
  /** Событие, возникающее после изменения фильтра контрагентов. */
60
60
  currentFilterChanged?: BasicApiEvent<IPartnerFilterChangeEventArgs>;
61
- services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
61
+ services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType & $PartnerEmployeeController;
62
62
  }
63
63
  /**
64
64
  * Класс элемента управления Сотрудник контрагента.
@@ -68,9 +68,9 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
68
68
  export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends IPartnerBaseState<T> = IPartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
69
69
  /** @internal */
70
70
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
71
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
72
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
71
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
72
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController & $PartnerEmployeeController;
74
74
  /** @internal */
75
75
  protected get partnerImpl(): PartnerBaseImpl<T>;
76
76
  private set partnerBindingHandler(value);
@@ -26,6 +26,7 @@ export interface IPartnerBaseState<T> extends PartnerBaseParams<T>, IInputBasedC
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 IPartnerBaseState<T> = IPartnerBaseState<T>> extends InputBasedControlImpl<T, ParamsT, StateT> {
@@ -1,6 +1,6 @@
1
1
  import { IPartnerDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/IPartnerDataLoadingEventArgs";
2
2
  import { PartnerDirectoryBaseImpl, IPartnerDirectoryBaseState } from "@docsvision/webclient/BackOffice/PartnerDirectoryBaseImpl";
3
- import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
+ import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController, $PartnerEmployeeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
4
4
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
5
5
  import { $DeviceType } from "@docsvision/webclient/StandardServices";
6
6
  import { DirectoryBase, DirectoryBaseParams } from "@docsvision/webclient/System/DirectoryBase";
@@ -29,7 +29,7 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
29
29
  searchResultsLoading?: CancelableApiEvent<IPartnerDataLoadingEventArgs>;
30
30
  /** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
31
31
  searchResultsLoaded?: BasicApiEvent<IPartnerDataLoadingEventArgs>;
32
- services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
32
+ services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType & $PartnerEmployeeController;
33
33
  }
34
34
  /**
35
35
  * Класс элемента управления Сотрудник контрагента.
@@ -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 IPartnerDirectoryBaseState<T> = IPartnerDirectoryBaseState<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/WebClientDevelop/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
42
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController & $PartnerEmployeeController;
45
45
  /** @internal */
46
46
  protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
47
47
  init(): Promise<void>;
@@ -3,7 +3,7 @@ import { DepartmentSelectMode } from "@docsvision/webclient/BackOffice/Departmen
3
3
  import { IPartnerDirectoryTreeItem } from "@docsvision/webclient/BackOffice/IPartnerDirectoryTreeItem";
4
4
  import { IPartnerDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/IPartnerDataLoadingEventArgs";
5
5
  import { PartnerDirectoryItemVisualiser } from "@docsvision/webclient/BackOffice/PartnerDirectoryItemVisualiser";
6
- import { $DepartmentController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
6
+ import { $DepartmentController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController, $PartnerEmployeeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
7
7
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
8
8
  import { QuickSearchLogic } from "@docsvision/webclient/Helpers/QuickSearchLogic";
9
9
  import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
@@ -42,7 +42,7 @@ export interface IPartnerSelectDialogProps {
42
42
  onMaximize?: () => void;
43
43
  /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
44
44
  maximized?: boolean;
45
- services: $LayoutPartnerController & $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
45
+ services: $LayoutPartnerController & $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType & $PartnerEmployeeController;
46
46
  }
47
47
  /** @internal */
48
48
  export interface IPartnerChildrenCacheItem {
@@ -90,10 +90,10 @@ export declare class PartnerSelectDialog extends React.Component<IPartnerSelectD
90
90
  private modalHost;
91
91
  static SimpleItemView:
92
92
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
93
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
93
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
94
94
  static SimpleItemViewCompact:
95
95
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
96
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
96
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
97
97
  /** @internal */
98
98
  state: IPartnerSelectDialogState;
99
99
  searchInput: HTMLInputElement;
@@ -144,7 +144,7 @@ import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeN
144
144
  protected onOpenActionMenu: (item: GenModels.PartnerDirectoryItem | GenModels.PartnerDirectorySearchItem) => void;
145
145
  protected onCloseActionMenu: () => void;
146
146
  protected renderGoToButton(item: GenModels.PartnerDirectoryItem): JSX.Element;
147
- protected refreshAfterEdit: () => void;
147
+ protected refreshAfterEdit: () => Promise<void>;
148
148
  protected onShowInfo: (item: GenModels.PartnerDirectoryItem) => void;
149
149
  protected onHideInfo: () => void;
150
150
  protected onEdit: (item: GenModels.PartnerDirectoryItem) => Promise<void>;
@@ -156,6 +156,7 @@ import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeN
156
156
  protected stopPropagation: (ev: React.MouseEvent) => void;
157
157
  protected renderActionButton: (item: GenModels.PartnerDirectoryItem) => JSX.Element;
158
158
  protected renderActionMenu: (item: GenModels.PartnerDirectoryItem) => JSX.Element;
159
+ protected isDialogSelectButtonEnabled(): boolean;
159
160
  renderSearchItem: (index: number, key: string) => JSX.Element;
160
161
  renderChildrenListItem: (key: number | string, item: GenModels.PartnerDirectoryItem, index: number) => JSX.Element;
161
162
  renderLoadingItem: (index: number, key: number | string) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { PartnerDirectoryItemVisualiser } from "@docsvision/webclient/BackOffice/PartnerDirectoryItemVisualiser";
2
- import { $DepartmentController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
+ import { $DepartmentController, $LayoutRowController, $LayoutStaffController, $PartnerEmployeeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
4
  import { RerenderHost } from "@docsvision/webclient/Helpers/RerenderHost";
5
5
  import { ITypeaheadVariant } from "@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadVariant";
@@ -14,10 +14,10 @@ export declare class PartnerTypeaheadVariant implements ITypeaheadVariant {
14
14
  reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void;
15
15
  departmentMode: boolean;
16
16
  visible: boolean;
17
- services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
17
+ services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType & $PartnerEmployeeController;
18
18
  infoPopoverOpen: boolean;
19
19
  infoRerender: RerenderHost;
20
- constructor(item: GenModels.PartnerDirectoryItem, visualiser: PartnerDirectoryItemVisualiser, editAllowed: boolean, reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void, departmentMode: boolean, visible: boolean, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType);
20
+ constructor(item: GenModels.PartnerDirectoryItem, visualiser: PartnerDirectoryItemVisualiser, editAllowed: boolean, reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void, departmentMode: boolean, visible: boolean, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType & $PartnerEmployeeController);
21
21
  get name(): string;
22
22
  get value(): string;
23
23
  get iconCssClass(): string;
@@ -53,7 +53,7 @@ export declare class Powers<ValueT extends PowersValueType = PowersValueType> ex
53
53
  protected getServices(): $PowersServices;
54
54
  private set binding(value);
55
55
  get inputChanged():
56
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
56
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
57
57
  /** Удаляет выбранное значение. */
58
58
  /** @covered */
59
59
  removeItem(item?: ItemT): Promise<void>;
@@ -43,9 +43,9 @@ export declare class PowersImpl extends DirectoryBaseImpl<PowersValueType, Power
43
43
  onSelectedValue(variantValue: IPowerModel): Promise<void>;
44
44
  protected onMouseDownIcon(): void;
45
45
  protected getTypeaheadProps():
46
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
46
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
47
47
  ref: (typeahead:
48
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Typeahead/Typeahead").Typeahead) => void;
48
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Typeahead/Typeahead").Typeahead) => void;
49
49
  };
50
50
  getSelectingMode(): DirectorySelectingMode;
51
51
  getValueAsString(value: ItemT | ItemT[]): string;
@@ -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;
@@ -18,6 +18,8 @@ interface IState {
18
18
  }
19
19
  export declare class StaffDirectoryInfoPopover extends React.Component<IProps, IState> {
20
20
  state: IState;
21
+ unmounted: boolean;
22
+ componentWillUnmount(): void;
21
23
  onLoadStateChange: () => void;
22
24
  onLoaded: () => void;
23
25
  onUnloading: () => void;
@@ -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/WebClientDevelop/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
85
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
86
86
  /** @covered */
87
87
  get inputText(): string;
88
88
  /** @covered */
@@ -20,6 +20,7 @@ export interface IStaffDirectoryItemsState<ValueT extends StaffValueType = Staff
20
20
  enableItemsAnimation: boolean;
21
21
  inputChanged: SimpleEvent<string>;
22
22
  onMouseOverInfo: boolean;
23
+ mouseOverControl: boolean;
23
24
  iconsCache: {
24
25
  [id: string]: Blob;
25
26
  };
@@ -27,6 +28,7 @@ export interface IStaffDirectoryItemsState<ValueT extends StaffValueType = Staff
27
28
  export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValueType, StaffNodeType, ItemT, StaffDirectoryItemsParams, IStaffDirectoryItemsState> {
28
29
  private initialSetValue;
29
30
  static FAVORITES_COUNT: number;
31
+ private throttledUpdate;
30
32
  constructor(props: StaffDirectoryItemsParams, state: IStaffDirectoryItemsState);
31
33
  componentDidMount(): void;
32
34
  componentWillUnmount(): void;
@@ -35,7 +37,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
35
37
  getQueryContext(): GenModels.StaffQueryContext;
36
38
  protected getValuePath(value: StaffValueType): StaffNodeType[];
37
39
  protected getSelectingMode():
38
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/Data/ClientModels/DirectorySelectingMode").DirectorySelectingMode;
40
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/Data/ClientModels/DirectorySelectingMode").DirectorySelectingMode;
39
41
  protected setEmployeeImage: (employeeId: string) => Promise<void>;
40
42
  get isTypeaheadItemFocus(): boolean;
41
43
  protected getIconButtonClassName(): string;
@@ -66,14 +68,14 @@ import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Direct
66
68
  private shouldShowFavorites;
67
69
  onRemoveClick(item: ItemT, ev?: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>): Promise<void>;
68
70
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
69
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/InputBasedControl/InputBasedControl").InputBasedControl<StaffValueType, StaffDirectoryItemsParams<StaffValueType>, IStaffDirectoryItemsState<StaffValueType>>>;
71
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/InputBasedControl/InputBasedControl").InputBasedControl<StaffValueType, StaffDirectoryItemsParams<StaffValueType>, IStaffDirectoryItemsState<StaffValueType>>>;
70
72
  protected onEditPopoverShowed(control: any): void;
71
73
  protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
72
74
  protected onIconClick(): void;
73
75
  protected getTypeaheadProps():
74
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
76
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
75
77
  ref: (typeahead:
76
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Typeahead/Typeahead").Typeahead) => void;
78
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Typeahead/Typeahead").Typeahead) => void;
77
79
  };
78
80
  protected onDialogSelectedValuesChanged: (values: ItemT[]) => void;
79
81
  protected getCssClass(): string;
@@ -28,7 +28,7 @@ export declare class TasksTableView {
28
28
  import("styled-components").StyledComponent<"div", any, {
29
29
  className: string;
30
30
  } &
31
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
31
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
32
  ribbonButton: typeof TasksTableRibbonButton;
33
33
  ribbonContainer: typeof TasksTableRibbonContainer;
34
34
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -2,7 +2,22 @@ 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
  import { Image } from "@docsvision/webclient/Platform/Image";
5
+ import { Table } from "@docsvision/webclient/Platform/Table";
6
+ import { StaffDirectoryItemsSingle } from "@docsvision/webclient/BackOffice/StaffDirectoryItems";
5
7
  import { Dropdown } from "@docsvision/webclient/Platform/Dropdown";
8
+ import { LayoutControlsAccessor } from "@docsvision/webclient/System/LayoutControlsAccessor";
9
+ import { DateTimePicker } from "@docsvision/webclient/Platform/DateTimePicker";
10
+ import { CheckBox } from "@docsvision/webclient/Platform/CheckBox";
11
+ export declare class UserProfileLayout extends LayoutControlsAccessor {
12
+ status: Dropdown;
13
+ statusNoActive: Dropdown;
14
+ startDate: DateTimePicker;
15
+ endDate: DateTimePicker;
16
+ deputyTable: Table;
17
+ employee: StaffDirectoryItemsSingle[];
18
+ deputyAlways: CheckBox[];
19
+ sign: CheckBox[];
20
+ }
6
21
  export declare function updateStatusBackground(sender: LayoutControl): void;
7
22
  export declare function updateArchiveBlockVisibility(sender: LayoutControl): void;
8
23
  export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
@@ -11,6 +26,7 @@ export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl
11
26
  export declare function displayInformationOfAbsence(sender: LayoutControl): void;
12
27
  export declare function getDefaultImage(sender: Image): Promise<void>;
13
28
  export declare function onCardSaving_checkSequenceOfDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): boolean;
29
+ export declare function setEmployeeStatus(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>, isCurrentEmployee: boolean): Promise<void>;
14
30
  export declare function setShowArchivedCardsFromSettings(sender: LayoutControl): void;
15
31
  export declare function setShowArchivedCardsToSettings(sender: LayoutControl, e?: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
16
32
  export declare function onCardSaving_checkDeputyTableAndDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
@@ -640,6 +640,29 @@ export declare type $FavoritesController = {
640
640
  favoritesController: GenControllers.IFavoritesController;
641
641
  };
642
642
  export declare const $FavoritesController: string | ((model?: $FavoritesController) => GenControllers.IFavoritesController);
643
+ export declare namespace GenControllers {
644
+ /**
645
+ * Defines controller for accessing files via disposable tokens.
646
+ */
647
+ interface IFileAccessController {
648
+ /**
649
+ * Gets access token for file.
650
+ */
651
+ getAccessToken(fileId: string, options?: RequestOptions): Promise<any>;
652
+ /**
653
+ * Retrieving file with AllowAnonymous support.
654
+ */
655
+ getFile(accessToken: string, options?: RequestOptions): Promise<any>;
656
+ }
657
+ class FileAccessController extends ControllerBase implements IFileAccessController {
658
+ getAccessToken(fileId: string, options?: RequestOptions): Promise<any>;
659
+ getFile(accessToken: string, options?: RequestOptions): Promise<any>;
660
+ }
661
+ }
662
+ export declare type $FileAccessController = {
663
+ fileAccessController: GenControllers.IFileAccessController;
664
+ };
665
+ export declare const $FileAccessController: string | ((model?: $FileAccessController) => GenControllers.IFileAccessController);
643
666
  export declare namespace GenControllers {
644
667
  /**
645
668
  * Defines FilePreviewController
@@ -2046,6 +2069,10 @@ export declare namespace GenControllers {
2046
2069
  * HTTP: /LayoutCard/Delete
2047
2070
  */
2048
2071
  delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<string>;
2072
+ /**
2073
+ * HTTP: /LayoutCard/CancelCreation
2074
+ */
2075
+ cancelCreation(cardId: string, parentCardId: string, options?: RequestOptions): Promise<string>;
2049
2076
  /**
2050
2077
  * Gets layout part
2051
2078
  */
@@ -2096,6 +2123,7 @@ export declare namespace GenControllers {
2096
2123
  edit(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
2097
2124
  editEx(request: GenModels.EditCardLayoutRequest, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
2098
2125
  delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<string>;
2126
+ cancelCreation(cardId: string, parentCardId: string, options?: RequestOptions): Promise<string>;
2099
2127
  getLayout(cardLayoutParams: GenModels.CardLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
2100
2128
  getLayoutPart(layoutPartParams: GenModels.LayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
2101
2129
  save(model: GenModels.SaveControlDataModel, options?: RequestOptions): Promise<void>;
@@ -2205,6 +2233,12 @@ export declare namespace GenControllers {
2205
2233
  * @param signatureFormat Signature export format
2206
2234
  */
2207
2235
  exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2236
+ /**
2237
+ * Exports zip-archive with electronic signature files and visualization ESign
2238
+ *
2239
+ * @param exportSignatureRequest
2240
+ */
2241
+ exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
2208
2242
  /**
2209
2243
  * Downloads signature byte array
2210
2244
  */
@@ -2226,6 +2260,7 @@ export declare namespace GenControllers {
2226
2260
  checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
2227
2261
  exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2228
2262
  exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2263
+ exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
2229
2264
  downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
2230
2265
  getSignatureInfo(documentId: string, signaturePartId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureInfoModel>;
2231
2266
  getAcknowledgemenList(request: GenModels.GetAcknowledgemenListRequest, options?: RequestOptions): Promise<string>;
@@ -2599,6 +2634,10 @@ export declare namespace GenControllers {
2599
2634
  * HTTP: /LayoutRow/Delete
2600
2635
  */
2601
2636
  delete(row: GenModels.DeleteRowModel, options?: RequestOptions): Promise<void>;
2637
+ /**
2638
+ * HTTP: /LayoutRow/CancelCreation
2639
+ */
2640
+ cancelCreation(cardId: string, sectionId: string, rowId: string, parentRowId: string, parentRowSectionId: string, options?: RequestOptions): Promise<void>;
2602
2641
  /**
2603
2642
  * HTTP: /LayoutRow/Exist
2604
2643
  */
@@ -2625,6 +2664,7 @@ export declare namespace GenControllers {
2625
2664
  view(layoutParams: GenModels.RowLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutRowViewModel>;
2626
2665
  edit(layoutParams: GenModels.RowLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutRowViewModel>;
2627
2666
  delete(row: GenModels.DeleteRowModel, options?: RequestOptions): Promise<void>;
2667
+ cancelCreation(cardId: string, sectionId: string, rowId: string, parentRowId: string, parentRowSectionId: string, options?: RequestOptions): Promise<void>;
2628
2668
  exist(layoutParams: GenModels.RowLayoutParams, options?: RequestOptions): Promise<boolean>;
2629
2669
  getLayoutPart(layoutPartParams: GenModels.RowLayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
2630
2670
  save(model: GenModels.SaveRowControlDataModel, options?: RequestOptions): Promise<void>;
@@ -138,6 +138,10 @@ export declare namespace GenModels {
138
138
  * @format datatype.uuid
139
139
  */
140
140
  unitId: string;
141
+ /**
142
+ * All units of employee, including parent units.
143
+ */
144
+ units: Array<string>;
141
145
  /**
142
146
  * Email
143
147
  */
@@ -4304,6 +4308,14 @@ export declare namespace GenModels {
4304
4308
  * state for token
4305
4309
  */
4306
4310
  state: string;
4311
+ /**
4312
+ * string with error
4313
+ */
4314
+ error: string;
4315
+ /**
4316
+ * string with error_description
4317
+ */
4318
+ error_description: string;
4307
4319
  }
4308
4320
  }
4309
4321
  export declare namespace GenModels {
@@ -5306,6 +5318,28 @@ export declare namespace GenModels {
5306
5318
  attributes: Array<GenModels.UniqueAttributeValue>;
5307
5319
  }
5308
5320
  }
5321
+ export declare namespace GenModels {
5322
+ interface ExportSignatureRequest {
5323
+ /**
5324
+ * Document card id
5325
+ *
5326
+ * @format datatype.uuid
5327
+ */
5328
+ cardId: string;
5329
+ /**
5330
+ * Signature export format
5331
+ */
5332
+ signatureFormat: GenModels.SignatureFormat;
5333
+ /**
5334
+ * Include export of the powers of attorney specified at time of signing, with their signatures
5335
+ */
5336
+ withPowersOfAttorney: boolean;
5337
+ /**
5338
+ * Include export with visualization ESign
5339
+ */
5340
+ withStamp: boolean;
5341
+ }
5342
+ }
5309
5343
  export declare namespace GenModels {
5310
5344
  interface SignatureRequest {
5311
5345
  documentId: string;
@@ -76,6 +76,7 @@ export interface IButtonProperties {
76
76
  textColor?: string;
77
77
  /** Атрибут для cypress-тестирования */
78
78
  dataTestId?: string;
79
+ autoFocus?: boolean;
79
80
  }
80
81
  /** @internal Режимы выравнивания кнопки. */
81
82
  export declare enum ButtonAlignModes {
@@ -7,6 +7,7 @@ export declare class DVWebToolConnection {
7
7
  private static WebToolInstalledOptionsKey;
8
8
  private static dvWebToolOpenCommand;
9
9
  private static delayTime;
10
+ private static waitingInstall;
10
11
  static cancel: boolean;
11
12
  static trySendData<RequestT, ResponseT>(webService: string, data: IWebServicesRequest<RequestT>, services: $WebServices & $ApplicationSettings & $MessageBox): Promise<ResponseT>;
12
13
  static trySendDataEx<RequestT, ResponseT>(webService: string, data: IWebServicesRequest<RequestT>, services: $WebServices & $ApplicationSettings & $MessageBox, maxTryCount?: number): Promise<ResponseT>;
@@ -13,6 +13,8 @@ export interface IModalDialogProps {
13
13
  dataTestId?: string;
14
14
  }
15
15
  /**
16
+ * @deprecated Используйте {@link ModalDialog} из пакета @docsvision.web
17
+ *
16
18
  * Представляет всплывающее окно.
17
19
  *
18
20
  * Пример использования:
@@ -15,17 +15,21 @@ export interface IModalSidebarProps {
15
15
  paddings?: boolean;
16
16
  }
17
17
  /**
18
+ * @deprecated Используйте {@link ModalSidebar} из пакета @docsvision.web
19
+ *
18
20
  * Представляет выезжающую боковую панель.
19
21
  *
20
22
  * Пример использования:
21
23
  *
22
24
  * <div>
23
25
  * <ModalBackdrop onClick={() => this.setState({ sidebarOpen: false })}>
24
- * <ModalSidebar isOpen={this.state.sidebarOpen} >
25
- * <ModalSidebarCloseButton onClick={() => this.setState({ sidebarOpen: false })} />
26
- * <ModalSidebarHeader>Some header</ModalSidebarHeader>
27
- * <div>Some content</div>
28
- * </ModalSidebar>
26
+ * <EscHandler onEsc={() => this.setState({ sidebarOpen: false })}>
27
+ * <ModalSidebar isOpen={this.state.sidebarOpen} >
28
+ * <ModalSidebarCloseButton onClick={() => this.setState({ sidebarOpen: false })} />
29
+ * <ModalSidebarHeader>Some header</ModalSidebarHeader>
30
+ * <div>Some content</div>
31
+ * </ModalSidebar>
32
+ * <EscHandler />
29
33
  * </ModalBackdrop>
30
34
  * </div>
31
35
  *
@@ -34,11 +38,13 @@ export interface IModalSidebarProps {
34
38
  * let host: ModalHost = new ModalHost("time-sidebar", () => {
35
39
  * return (
36
40
  * <ModalBackdrop visible={true} onClick={() => host.unmount()} >
37
- * <ModalSidebar isOpen={true} >
38
- * <ModalSidebarCloseButton onClick={() => host.unmount()} />
39
- * <ModalSidebarHeader>Some header</ModalSidebarHeader>
40
- * <div>Current time {(new Date()).toTimeString()}</div>
41
- * </ModalSidebar>
41
+ * <EscHandler onEsc={() => this.setState({ sidebarOpen: false })}>
42
+ * <ModalSidebar isOpen={this.state.sidebarOpen} >
43
+ * <ModalSidebarCloseButton onClick={() => this.setState({ sidebarOpen: false })} />
44
+ * <ModalSidebarHeader>Some header</ModalSidebarHeader>
45
+ * <div>Some content</div>
46
+ * </ModalSidebar>
47
+ * <EscHandler />
42
48
  * </ModalBackdrop>
43
49
  * );
44
50
  * });
@@ -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;
@@ -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/WebClientDevelop/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").ITableRowsSelectionModel;
57
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").ITableRowsSelectionModel;
58
58
  clearSelection(cardIds?: string[]): void;
59
59
  selectionChanged: SimpleEvent<any>;
60
60
  protected addActionButtons(header: HTMLElement): void;
@@ -24,5 +24,6 @@ export declare class RightSidebar {
24
24
  SetClassName(className: string): void;
25
25
  Open(callback?: Function): void;
26
26
  Close(): void;
27
+ private onEsc;
27
28
  private Initialize;
28
29
  }
@@ -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/WebClientDevelop/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
19
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
20
20
  onSelected(): void;
21
21
  onToggling():
22
- import("C:/dev/WebClientDevelop/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
22
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
23
23
  onToggled(): void;
24
24
  protected onClick(event: React.MouseEvent): void;
25
25
  protected getCssClass(): string;
@@ -8,7 +8,6 @@ import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
8
8
  import { EditMode } from "@docsvision/webclient/System/EditMode";
9
9
  import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
10
10
  import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
11
- import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
12
11
  import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
13
12
  import { Optional } from "@docsvision/web/core/services";
14
13
  import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
@@ -83,12 +82,12 @@ export declare class CardLink extends InputBasedControl<GenModels.CardLinkDataMo
83
82
  protected construct(): void;
84
83
  componentDidMount(): void;
85
84
  protected getServices(): $FileController & $LayoutFileController & $LayoutLinksController & $LayoutController & Partial<$CardId> & $EditOperationStore & $CardId & Partial<$LabelWidth> & $LayoutManager & $Layout &
86
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Services/$LayoutCheckService").$LayoutCheck &
87
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CardInfo &
88
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Core/RequestProcessing/$RequestManager").$RequestManager &
89
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/StandardServices").$ApplicationSettings &
90
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/System/Services/$FileService").$FileService &
91
- import("C:/dev/WebClientDevelop/Bin/TypeScriptDefinitions/StandardServices").$DeviceType & Partial<
85
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Services/$LayoutCheckService").$LayoutCheck &
86
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CardInfo &
87
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Core/RequestProcessing/$RequestManager").$RequestManager &
88
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/StandardServices").$ApplicationSettings &
89
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/System/Services/$FileService").$FileService &
90
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/StandardServices").$DeviceType & Partial<
92
91
  import("@docsvision/webclient/FilePreview/$FilePreview").$FilePreview> & $CardOperationsController & Partial<$LinksSearchCards> & $CardsPresentationController;
93
92
  protected createParams(): CardLinkParams;
94
93
  protected createImpl(): CardLinkImpl;
@@ -99,7 +98,7 @@ import("@docsvision/webclient/FilePreview/$FilePreview").$FilePreview> & $CardOp
99
98
  protected getBindings(): IBindingResult<any>[];
100
99
  private onDataChanged;
101
100
  private get cardLinkImpl();
102
- validate(params: IValidationParams): IValidationResult[];
101
+ validate(params: unknown): IValidationResult[];
103
102
  /**
104
103
  * Открывает привязанную карточку
105
104
  */
@@ -6,6 +6,7 @@ import { CardLinkParams } from "@docsvision/webclient/Platform/CardLink";
6
6
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
7
7
  import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
8
8
  import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
9
+ import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
9
10
  import { $LinksSearchCards } from "@docsvision/webclient/BackOffice/$LinksSearchCardsService";
10
11
  import { $LayoutLinksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
11
12
  import { $CardId, $CardTimestamp } from "@docsvision/webclient/System/LayoutServices";
@@ -65,8 +66,9 @@ export declare class CardLinkImpl extends InputBasedControlImpl<GenModels.CardLi
65
66
  get cardViewAllowed(): boolean;
66
67
  get mainFileReadAllowed(): boolean;
67
68
  get isTextClickable(): boolean;
69
+ validate(params: unknown): IValidationResult;
68
70
  protected renderValidationMessage(): JSX.Element;
69
- protected updateValidationMessage(): Promise<void>;
71
+ protected updateValidationMessage(): void;
70
72
  protected getCssClass(): string;
71
73
  protected getTextValue(): string;
72
74
  protected getTextTabIndex(): 0 | -1;
@@ -39,6 +39,7 @@ export interface IDateTimePickerState extends DateTimePickerParams, IInputBasedC
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 {
@@ -63,7 +64,7 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
63
64
  setValue(value: Date, redraw: boolean): Promise<void>;
64
65
  protected onDataChanged(eventArgs: IDataChangedEventArgs): void;
65
66
  protected setTimeFor(date: Date, time: Date): Date;
66
- validate(params: IValidationParams): Promise<IValidationResult>;
67
+ validate(params: IValidationParams): IValidationResult;
67
68
  protected getShiftTimeValue(newValue: Date, loadSettings: boolean, onLoaded?: () => void): Date;
68
69
  protected resetShiftTimeValue(): void;
69
70
  protected timeIsEqual(date1: Date, date2: Date): boolean;
@@ -91,11 +92,11 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
91
92
  protected onDataChangedSave(): void;
92
93
  protected onInputFocus(): void;
93
94
  protected onInputBlur(): void;
94
- protected onInputKeyDown(ev: KeyboardEvent<HTMLInputElement>): Promise<void>;
95
+ protected onInputKeyDown(ev: KeyboardEvent<HTMLInputElement>): void;
95
96
  protected renderInput(): React.ReactNode;
96
97
  private renderRequiredText;
97
98
  protected renderPlaceholder(): JSX.Element;
98
- triggerSaveRequestEvent: () => Promise<void>;
99
+ triggerSaveRequestEvent: () => void;
99
100
  clear(): Promise<void>;
100
101
  canClear(): boolean;
101
102
  }
@@ -6,6 +6,7 @@ import { InputBasedControlImpl, IInputBasedControlState } from "@docsvision/webc
6
6
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
7
7
  import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEventArgs";
8
8
  import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
9
+ import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
9
10
  import React from "react";
10
11
  /** @internal */
11
12
  export interface IDropdownState extends DropdownParams, IInputBasedControlState<string> {
@@ -53,6 +54,7 @@ export declare class DropdownImpl extends InputBasedControlImpl<string, Dropdown
53
54
  getTextValueFor(key: string): string;
54
55
  protected onDropdownContainerClick(e?: MouseEvent): void;
55
56
  protected onElementClick(element: GenModels.BindingMetadata): void;
57
+ protected onEmptyElementClick(): void;
56
58
  protected onClearValueClick(e: React.MouseEvent): void;
57
59
  protected onPlaceholderClick(event: any): void;
58
60
  protected toggleCollapsed: () => CancelableEventArgs<IEventArgs>;
@@ -65,6 +67,7 @@ export declare class DropdownImpl extends InputBasedControlImpl<string, Dropdown
65
67
  protected onMouseDown(event?: React.MouseEvent): void;
66
68
  protected onInputBlur(event: React.FocusEvent): void;
67
69
  protected onValueClick(): void;
70
+ validate(params: unknown): IValidationResult;
68
71
  /**
69
72
  * При фокусе элемента списка
70
73
  * @param event Событие фокуса
@@ -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
  * Класс элемента управления Экспорт файлов с подписью.
@@ -11,6 +11,7 @@ export interface IFileDropzone {
11
11
  dragOverState: BooleanState;
12
12
  dragOverFrame?: HTMLElement;
13
13
  children?: unknown;
14
+ disableDropZone?: boolean;
14
15
  }
15
16
  /** @internal */
16
17
  export declare function FileDropzone(props: IFileDropzone): JSX.Element;
@@ -78,6 +78,7 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
78
78
  previewInModalContent: () => JSX.Element;
79
79
  addListenerToButton: () => void;
80
80
  loadFileData: (version?: GenModels.VersionedFileModel) => Promise<void>;
81
+ updateFileExtension(fileItem: FileListItem): void;
81
82
  checkAllowedPreviewExtension: (ext: string) => boolean;
82
83
  showPreviewArea: () => void;
83
84
  canComment: () => boolean;
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { $GridController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
4
  import { FolderCardsDashboardWidgetImpl, IFolderCardsDashboardWidgetState } from "@docsvision/webclient/Platform/FolderCardsDashboardWidgetImpl";
4
5
  import { Panel, PanelParams } from "@docsvision/webclient/Platform/Panel";
5
6
  import { $Layout } from "@docsvision/webclient/System/$Layout";
@@ -29,6 +30,10 @@ export declare class FolderCardsDashboardWidgetParams extends PanelParams {
29
30
  cardsCount?: number;
30
31
  /** Стандартный CSS класс со стилями элемента управления */
31
32
  standardCssClass?: string;
33
+ /** Настройка видимости и порядка столбцов ленты.
34
+ * При определении настроек важно явно указать свойства всех видимых столбцов.
35
+ */
36
+ listColumnsSettings?: GenModels.GridUserSettingsColumn[];
32
37
  services?: $GridController & $LayoutInfo & $GridController & $LayoutManager & $Layout & $LocationContainerControlServices & $ExperimentalFeature;
33
38
  }
34
39
  /**
@@ -23,7 +23,9 @@ export interface ImageState extends IImageState {
23
23
  }
24
24
  export declare class ImageImpl extends BaseControlImpl<ImageParams, IImageState> {
25
25
  input: HTMLInputElement;
26
+ unmounted: boolean;
26
27
  constructor(props: ImageParams, state: IImageState);
28
+ componentWillUnmount(): void;
27
29
  componentDidMount(): void;
28
30
  setImageValue(value: string): void;
29
31
  protected attachInput(elem: HTMLInputElement): void;
@@ -2,7 +2,6 @@ import { NumberParams } from "@docsvision/webclient/Platform/Number";
2
2
  import "@docsvision/webclient/Platform/ToLocaleStringPolyfill";
3
3
  import { InputBasedControlImpl, IInputBasedControlState } from "@docsvision/webclient/System/InputBasedControlImpl";
4
4
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
5
- import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
6
5
  import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
7
6
  import "number-to-locale-string-polyfill";
8
7
  import React from "react";
@@ -43,7 +42,7 @@ export declare class NumberImpl extends InputBasedControlImpl<number, NumberPara
43
42
  private saveCard;
44
43
  private shouldSaveCardWithEditInPlaceValue;
45
44
  private isLayoutViewMode;
46
- validate(params: IValidationParams): Promise<IValidationResult>;
45
+ validate(params: unknown): IValidationResult;
47
46
  protected parseStringValue: (value: string, trim: boolean) => number;
48
47
  protected processInputValue(): void;
49
48
  protected onInputKeyDown(ev: React.KeyboardEvent): void;
@@ -20,6 +20,10 @@ export declare class RadioGroupImpl extends InputBasedControlImpl<string, RadioG
20
20
  protected renderInto(props: RadioGroupParams, container: HTMLElement): void;
21
21
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<RadioGroup>;
22
22
  protected onElementChange(element: GenModels.BindingMetadata, ev: React.FormEvent): void;
23
+ protected onInputBlur(event: React.FocusEvent): void;
24
+ private saveCard;
25
+ private shouldSaveCardWithEditInPlaceValue;
26
+ private isLayoutViewMode;
23
27
  protected renderPlaceholder(): JSX.Element;
24
28
  protected renderLabel(element: GenModels.BindingMetadata): JSX.Element;
25
29
  protected getColumns(): Array<Array<GenModels.BindingMetadata>>;
@@ -92,5 +92,5 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
92
92
  };
93
93
  protected renderTypeahead(): JSX.Element;
94
94
  }
95
- export interface DirectoryBaseState<ValueT extends NodeT | ItemT | NodeT[] | ItemT[], NodeT extends GenModels.IDirectoryItemData, ItemT extends GenModels.IDirectoryItemData> extends IDirectoryBaseState<ValueT, NodeT, ItemT> {
95
+ export interface DirectoryBaseState extends IDirectoryBaseState<any, any, any> {
96
96
  }
@@ -78,10 +78,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
78
78
  protected modalHost: CommonModalDialogHost;
79
79
  static SimpleItemView:
80
80
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
81
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
81
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
82
82
  static SimpleItemViewCompact:
83
83
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
84
- import("C:/dev/WebClientDevelop/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
84
+ import("D:/BuildAgent/work/43698d70d905217f/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
85
85
  /** @internal */
86
86
  state: StateT;
87
87
  searchInput: HTMLInputElement;
@@ -86,8 +86,6 @@ export declare class InputBasedControlParams<ModelT> extends BaseControlParams {
86
86
  editPopoverAccepting?: CancelableApiEvent<unknown>;
87
87
  /** Событие возникает при нажатии на клавишу клавиатуры в поле для ввода данных */
88
88
  inputKeyDown?: BasicApiEvent<IKeyboardEventArgs>;
89
- /** Событие возникающее после валидации контрола */
90
- validated?: BasicApiEvent<IValidationResult>;
91
89
  /** @internal Specifies control name, that should be placed into binding. Used in edit-in-place scenario. */
92
90
  editInPlaceCreatorControlName?: string;
93
91
  }
@@ -44,7 +44,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
44
44
  protected isLeftButton(): boolean;
45
45
  protected onInPlaceEditClosing(sender: any, args: ICancelableEventArgs<unknown>): void;
46
46
  protected onInPlaceEditClosed(): void;
47
- validate(params: IValidationParams): Promise<IValidationResult>;
47
+ validate(params: IValidationParams): IValidationResult;
48
48
  protected get editAvailable(): boolean;
49
49
  getTabIndex(): 0 | -1;
50
50
  protected attachInput(elem: HTMLElement): void;
@@ -70,7 +70,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
70
70
  protected renderInputWithPlaceholder(options?: {
71
71
  hideTooltip: boolean;
72
72
  }): React.ReactNode;
73
- protected updateValidationMessage(): Promise<void>;
73
+ protected updateValidationMessage(): void;
74
74
  protected editModeRender(): JSX.Element;
75
75
  protected getValueTitle(): string;
76
76
  protected renderWithText(): JSX.Element;
@@ -2,6 +2,7 @@ import { GenControllers } from '@docsvision/webclient/Generated/DocsVision.WebCl
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
3
  import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
4
4
  export declare class LayoutCardControllerStub implements GenControllers.ILayoutCardController {
5
+ cancelCreation(cardId: string, parentCardId: string, options?: RequestOptions): Promise<string>;
5
6
  viewEx(request: GenModels.ViewCardLayoutRequest, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
6
7
  editEx(request: GenModels.EditCardLayoutRequest, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
7
8
  newCard(createParams: GenModels.LayoutCardCreateParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
@@ -72,7 +72,7 @@ export declare class LayoutManager implements ILayoutManager {
72
72
  protected initialize(): void;
73
73
  private onMainContentChanging;
74
74
  destroyAllUnsaved(showLeaveConfirmationDialog?: boolean): Promise<void>;
75
- deleteAllUnsaved(synchronous?: boolean): Promise<(void | string)[]>;
75
+ deleteAllUnsaved(): Promise<(void | string)[]>;
76
76
  /** Закрывает разметку с указанным именем экземпляра. */
77
77
  destroy(nameOrId?: string, showLeaveConfirmationDialog?: boolean): Promise<void>;
78
78
  private deleteUnsaved;
@@ -2,6 +2,7 @@ import { GenControllers } from '@docsvision/webclient/Generated/DocsVision.WebCl
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
3
  import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
4
4
  export declare class LayoutRowControllerStub implements GenControllers.ILayoutRowController {
5
+ cancelCreation(cardId: string, sectionId: string, rowId: string, parentRowId: string, parentRowSectionId: string, options?: RequestOptions): Promise<void>;
5
6
  exist(layoutParams: GenModels.RowLayoutParams, options?: RequestOptions): Promise<boolean>;
6
7
  newRow(createParams: GenModels.LayoutRowCreateParams, options?: RequestOptions): Promise<GenModels.LayoutRowViewModel>;
7
8
  view(layoutParams: GenModels.RowLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutRowViewModel>;
@@ -64,6 +64,7 @@ export declare class LocationContainerControl extends BaseControl<LocationContai
64
64
  private root;
65
65
  private isControlEmpty;
66
66
  private destroying;
67
+ private unmounted;
67
68
  protected construct(): void;
68
69
  componentWillUnmount(): void;
69
70
  dispose(): Promise<void>;
@@ -29,6 +29,12 @@ export interface ISummernoteProps {
29
29
  savedComment?: string;
30
30
  services?: $LayoutStaffController;
31
31
  }
32
+ export interface IMentionModel {
33
+ mentionId: string;
34
+ linkForFocus?: HTMLSpanElement;
35
+ mentionOrder?: number;
36
+ mentionElement?: Element;
37
+ }
32
38
  export declare const initSummernote: (props: ISummernoteProps) => Promise<void>;
33
39
  export interface EmployeeMentionData extends IEmployeeMentionData {
34
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.2-beta.1",
3
+ "version": "6.2.0-beta.1",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},