@docsvision/webclient 5.16.0-beta.4 → 5.16.0-beta.5

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 (147) hide show
  1. package/Approval/AgreementList.d.ts +2 -2
  2. package/Approval/AgreementListContent.d.ts +1 -0
  3. package/Approval/AgreementManagement.d.ts +3 -2
  4. package/Approval/AgreementStageProps.d.ts +3 -2
  5. package/Approval/IAgreementListContentProps.d.ts +2 -0
  6. package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +5 -4
  7. package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +2 -0
  8. package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
  9. package/BackOffice/CardKindImpl.d.ts +1 -1
  10. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  11. package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
  12. package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
  13. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  14. package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
  15. package/BackOffice/DirectoryDesignerRowImpl.d.ts +11 -0
  16. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  17. package/BackOffice/DirectoryValues.d.ts +0 -2
  18. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  19. package/BackOffice/FileListControl.d.ts +5 -0
  20. package/BackOffice/FileListControlImpl.d.ts +10 -0
  21. package/BackOffice/FileListControlLogic.d.ts +1 -0
  22. package/BackOffice/FileListItemComponent.d.ts +5 -2
  23. package/BackOffice/FileSignCreateDialog.d.ts +1 -2
  24. package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
  25. package/BackOffice/GetEmployeeGroups.d.ts +1 -0
  26. package/BackOffice/IFileMenuItem.d.ts +14 -0
  27. package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
  28. package/BackOffice/InfoPopover.d.ts +2 -0
  29. package/BackOffice/LinksImpl.d.ts +1 -0
  30. package/BackOffice/Numerator.d.ts +1 -0
  31. package/BackOffice/NumeratorImpl.d.ts +4 -2
  32. package/BackOffice/PartnerBase.d.ts +4 -2
  33. package/BackOffice/PartnerBaseImpl.d.ts +20 -0
  34. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  35. package/BackOffice/PartnerImpl.d.ts +1 -0
  36. package/BackOffice/PrintButtonView.d.ts +1 -1
  37. package/BackOffice/SearchBar.d.ts +4 -3
  38. package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
  39. package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
  40. package/BackOffice/StaffDirectoryItems.d.ts +13 -5
  41. package/BackOffice/StaffDirectoryItemsImpl.d.ts +22 -2
  42. package/BackOffice/StaffDirectoryLogic.d.ts +2 -0
  43. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
  44. package/BackOffice/TasksTable.d.ts +4 -2
  45. package/BackOffice/TasksTableView.d.ts +3 -3
  46. package/BackOffice/TasksTree.d.ts +2 -1
  47. package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
  48. package/BackOffice/UserProfile.d.ts +8 -5
  49. package/BackOffice/UserStatus.d.ts +5 -0
  50. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +11 -1
  51. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -2
  52. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
  53. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  54. package/Generated/DocsVision.WebClient.Controllers.d.ts +47 -0
  55. package/Generated/DocsVision.WebClient.Models.d.ts +1060 -9
  56. package/Helpers/BoxWithButtons.d.ts +7 -1
  57. package/Helpers/LabeledText.d.ts +8 -0
  58. package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
  59. package/Helpers/Sortable/Sortable.d.ts +1 -1
  60. package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
  61. package/Helpers/Table/TableHelperRow.d.ts +1 -0
  62. package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
  63. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  64. package/Legacy/ModalWindow.d.ts +1 -1
  65. package/Legacy/StandardControllers.d.ts +2 -2
  66. package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
  67. package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
  68. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -1
  69. package/MainBundle.d.ts +1 -0
  70. package/Platform/$CacheManagement.d.ts +3 -1
  71. package/Platform/$FolderDataLoading.d.ts +3 -0
  72. package/Platform/$FolderGrid.d.ts +8 -0
  73. package/Platform/$HoverPanel.d.ts +8 -0
  74. package/Platform/$UnreadCounter.d.ts +1 -1
  75. package/Platform/AccessListEntryTrustee.d.ts +3 -1
  76. package/Platform/ArchivedCardsIcon.d.ts +2 -0
  77. package/Platform/ArchivedCardsPlugin.d.ts +3 -0
  78. package/Platform/ArchivedCardsResponseResolver.d.ts +23 -0
  79. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  80. package/Platform/CacheManagementService.d.ts +5 -0
  81. package/Platform/CardManagement.d.ts +2 -2
  82. package/Platform/CardManagementImpl.d.ts +1 -0
  83. package/Platform/CommentFile.d.ts +4 -1
  84. package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
  85. package/Platform/DateTimePicker.d.ts +1 -0
  86. package/Platform/DateTimePickerImpl.d.ts +2 -0
  87. package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
  88. package/Platform/Dropdown.d.ts +1 -0
  89. package/Platform/DropdownImpl.d.ts +1 -0
  90. package/Platform/ExportPlugin.d.ts +0 -4
  91. package/Platform/FilePicker.d.ts +5 -2
  92. package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
  93. package/Platform/FolderDataLoadingService.d.ts +5 -0
  94. package/Platform/FolderGrid.d.ts +7 -3
  95. package/Platform/FolderGridService.d.ts +14 -4
  96. package/Platform/FolderMainMenuItem.d.ts +1 -1
  97. package/Platform/FolderSizePlugin.d.ts +4 -1
  98. package/Platform/FolderSizePluginExtendedData.d.ts +1 -1
  99. package/Platform/FolderTypeDialog.d.ts +1 -0
  100. package/Platform/FolderViewItemsImpl.d.ts +1 -1
  101. package/Platform/GroupingRequestResolver.d.ts +12 -0
  102. package/Platform/GroupingResponseResolver.d.ts +17 -0
  103. package/Platform/HoverPanelService.d.ts +5 -0
  104. package/Platform/IFolderLoadRequest.d.ts +4 -0
  105. package/Platform/LoaderDialog.d.ts +1 -1
  106. package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
  107. package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
  108. package/Platform/NewAccessListEntryTrusteeSelect.d.ts +3 -1
  109. package/Platform/NumberImpl.d.ts +3 -0
  110. package/Platform/ReadAllPlugin.d.ts +3 -5
  111. package/Platform/ReadBatchOperation.d.ts +2 -2
  112. package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
  113. package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
  114. package/Platform/RecentCardsRouteHandler.d.ts +2 -1
  115. package/Platform/RefreshPlugin.d.ts +0 -4
  116. package/Platform/ResetSettingsPlugin.d.ts +2 -5
  117. package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
  118. package/Platform/SearchRouteHandler.d.ts +2 -1
  119. package/Platform/SearchingResultsImpl.d.ts +1 -1
  120. package/Platform/SecurityDescriptorDialog.d.ts +6 -3
  121. package/Platform/SettingsPlugin.d.ts +3 -5
  122. package/Platform/SettingsPopup.d.ts +2 -1
  123. package/Platform/ShowAllButton.d.ts +14 -0
  124. package/Platform/ShowAllPlugins.d.ts +3 -0
  125. package/Platform/Table.d.ts +2 -3
  126. package/Platform/TableCellNumberFormattedPlugin.d.ts +3 -0
  127. package/Platform/TableImpl.d.ts +2 -2
  128. package/Platform/TextAreaImpl.d.ts +8 -4
  129. package/Platform/TextBoxImpl.d.ts +5 -0
  130. package/Platform/UserProfileDialog.d.ts +1 -1
  131. package/Platform/index.d.ts +0 -4
  132. package/StandardServices.d.ts +1 -2
  133. package/System/BaseControl.d.ts +7 -0
  134. package/System/ControlTemplateView.d.ts +1 -1
  135. package/System/DirectorySelectDialog.d.ts +2 -2
  136. package/System/IValidateEventArgs.d.ts +9 -0
  137. package/System/IValidationResult.d.ts +4 -0
  138. package/System/InputBasedControl.d.ts +5 -0
  139. package/System/InputBasedControlImpl.d.ts +4 -3
  140. package/System/Layout.d.ts +3 -3
  141. package/System/LayoutCardControllerStub.d.ts +2 -0
  142. package/System/LayoutContainer.d.ts +1 -1
  143. package/System/MessageBoxService.d.ts +1 -1
  144. package/System/PageLeaveConfirmation.d.ts +1 -0
  145. package/System/ResourcesStub.d.ts +603 -68
  146. package/package.json +1 -1
  147. package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
@@ -25,7 +25,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
25
25
  private attachRoot;
26
26
  DialogBox:
27
27
  import("styled-components").StyledComponent<(props:
28
- import("C:/Dev/WebCB/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
28
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
29
29
  close(): void;
30
30
  render(): JSX.Element;
31
31
  }
@@ -9,9 +9,5 @@ import { SearchPlugin } from "@docsvision/webclient/Platform/SearchPlugin";
9
9
  import { SettingsPlugin } from "@docsvision/webclient/Platform/SettingsPlugin";
10
10
  import { ITablePlugins } from "@docsvision/web/components/table/interfaces";
11
11
  export declare const ToolbarPlugins: ITablePlugins;
12
- export declare const toolbarInfo: {
13
- name: string;
14
- plugin: string;
15
- }[];
16
12
  export declare const toolbarTypeName = "FolderGridToolbar";
17
13
  export { ExportPlugin, FilterPlugin, GropingPlugin, ReadAllPlugin, RefreshPlugin, ResetSettingsPlugin, SearchPlugin, SettingsPlugin, FolderSizePlugin };
@@ -35,7 +35,6 @@ import { $FileScan } from '@docsvision/webclient/Platform/$FileScan';
35
35
  import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
36
36
  import { $ScanDialog } from '@docsvision/webclient/Platform/$ScanDialog';
37
37
  import { $FileService } from '@docsvision/webclient/System/$FileService';
38
- import { $CardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
39
38
  import { $CompanyLogo } from '@docsvision/webclient/Platform/$CompanyLogo';
40
39
  import { $ContentElementProvider } from '@docsvision/webclient/Platform/$ContentElementProvider';
41
40
  import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
@@ -138,4 +137,4 @@ export declare type $ApplicationSettings = {
138
137
  };
139
138
  export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
140
139
  /** Стандартные сервисы Web-клиента. */
141
- export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $CardController & $FilePreview & $WebViewIOSEnabled & $Domain & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $FilePreview & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse;
140
+ export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse;
@@ -15,8 +15,10 @@ import { FieldSpec } from '@docsvision/webclient/System/GetFieldName';
15
15
  import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
16
16
  import { BasicEventHandler } from "@docsvision/webclient/System/IBasicEvent";
17
17
  import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
18
+ import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
18
19
  import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
19
20
  import React from "react";
21
+ import { IValidateEventArgs } from '@docsvision/webclient/System/IValidateEventArgs';
20
22
  export declare let DEFAULT_CONTROL_NAME: string;
21
23
  /**
22
24
  * Базовый класс для описания публичных свойств контрола.
@@ -60,6 +62,8 @@ export declare class BaseControlParams {
60
62
  visibilityEditOperation?: string;
61
63
  /** Определяет, есть ли возможность редактировать элемент управления: `true` - нельзя редактировать, `false` - можно. */
62
64
  disabled?: boolean;
65
+ /** Хранит дополнительную информацию или настройки в виде строкового ресурса */
66
+ tag?: string;
63
67
  /**
64
68
  * Определяет, должен ли элемент управления получать фокус при переходе по Tab:
65
69
  * `true` - должен, `false` - не должен.
@@ -103,6 +107,8 @@ export declare class BaseControlParams {
103
107
  loaded?: BasicApiEvent<IEventArgs>;
104
108
  /** Событие, возникающее при удалении элемента управления из разметки. */
105
109
  unloading?: CancelableApiEvent<IEventArgs>;
110
+ /** Событие, возникающее при валидации контрола. */
111
+ validation?: BasicApiEvent<IValidateEventArgs>;
106
112
  /** Интерфейсный компонент контрола (см. описание класса {@link BaseControl}). */
107
113
  wrapper?: BaseControl<BaseControlParams, BaseControlState>;
108
114
  }
@@ -291,6 +297,7 @@ export declare abstract class BaseControl<P extends BaseControlParams, S extends
291
297
  * @param params Параметры выполнения валидации. Например, показывать ли сообщение о неудаче в UI или нет.
292
298
  */
293
299
  validate(params: any): IValidationResult[];
300
+ createValidationResult(params: IValidationParams, results: IValidationResult[]): IValidationResult[];
294
301
  /**
295
302
  * Производится обнаружение и регистрация всех свойств, объявленных с декоратором {@link handler}.
296
303
  */
@@ -4,7 +4,7 @@ import { ControlTemplateText } from "@docsvision/webclient/System/ControlTemplat
4
4
  export declare class ControlTemplateView {
5
5
  text: typeof ControlTemplateText;
6
6
  button: (props:
7
- import("C:/Dev/WebCB/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
7
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
8
8
  frame: typeof ControlTemplateFrame;
9
9
  buttonText: string;
10
10
  }
@@ -70,10 +70,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
70
70
  protected modalHost: CommonModalDialogHost;
71
71
  static SimpleItemView:
72
72
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
73
- import("C:/Dev/WebCB/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
73
+ import("C:/Users/peshne.k/devWebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
74
74
  static SimpleItemViewCompact:
75
75
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
76
- import("C:/Dev/WebCB/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
76
+ import("C:/Users/peshne.k/devWebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
77
77
  /** @internal */
78
78
  state: StateT;
79
79
  searchInput: HTMLInputElement;
@@ -0,0 +1,9 @@
1
+ import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
2
+ import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
3
+ import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
4
+ import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
5
+ export interface IValidateEventArgs extends IEventArgs {
6
+ control: LayoutControl;
7
+ validationResults: IValidationResult[];
8
+ params: IValidationParams;
9
+ }
@@ -4,4 +4,8 @@ export interface IValidationResult {
4
4
  Passed: boolean;
5
5
  /** Сообщение об ошибке. */
6
6
  Message?: string;
7
+ /** Имя контрола, сгенерировавшего объект. */
8
+ ControlName?: string;
9
+ /** Флаг видимости контрола. */
10
+ Visibility?: boolean;
7
11
  }
@@ -67,6 +67,11 @@ export declare class InputBasedControlParams<ModelT> extends BaseControlParams {
67
67
  isEditDialogShown?: boolean;
68
68
  /** Флаг, определяющий минимальный текстовый внешний вид элемента управления, подходящий для встраивания в текст. */
69
69
  simpleView?: boolean;
70
+ /** Флаг, определяющий, что в режиме edit in place был совершен клик по тексту. */
71
+ clickedLabel?: boolean;
72
+ /** Флаг, определяющий, что в режиме edit in place был совершен клик по иконке, расположенной рядом с текстом. */
73
+ clickedIcon?: boolean;
74
+ displayIcon?: boolean;
70
75
  /** Событие возникает при изменении значения элемента управления. @covered */
71
76
  dataChanged?: BasicApiEvent<IDataChangedEventArgsEx<ModelT>>;
72
77
  /** Событие возникает при открытии модального окна редактирования. @covered */
@@ -39,6 +39,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
39
39
  protected onDataChanged(eventArgs: IDataChangedEventArgs): void;
40
40
  protected onInPlaceEditOpening(callback?: () => void): Promise<any>;
41
41
  protected onInPlaceEditOpened(): void;
42
+ protected isLeftButton(): boolean;
42
43
  protected onInPlaceEditClosing(sender: any, args: ICancelableEventArgs<any>): void;
43
44
  protected onInPlaceEditClosed(): void;
44
45
  validate(params: any): IValidationResult;
@@ -60,7 +61,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
60
61
  protected onInputFocus(event: React.FocusEvent<any>): void;
61
62
  protected onInputBlur(event: React.FocusEvent<any>): void;
62
63
  protected onPlaceholderClick(event: any): void;
63
- protected onValueClick(event: any): void;
64
+ protected onValueClick(): void;
64
65
  protected renderValidationMessage(): JSX.Element;
65
66
  protected getInputTitle(): string;
66
67
  protected renderInputWithPlaceholder(): React.ReactNode;
@@ -68,12 +69,12 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
68
69
  protected editModeRender(): JSX.Element;
69
70
  protected getValueTitle(): string;
70
71
  protected renderWithText(): JSX.Element;
71
- protected editInPlaceModeRender(): JSX.Element;
72
+ protected editInPlaceModeRender(): React.ReactNode;
72
73
  protected viewModeRender(): JSX.Element;
73
74
  protected simpleViewModeRender(): JSX.Element;
74
75
  protected renderSimpleViewLabel(): JSX.Element;
75
76
  protected renderSimpleViewValue(): JSX.Element;
76
- renderControl(): JSX.Element;
77
+ renderControl(): {};
77
78
  protected abstract getTextValue(): string;
78
79
  /**
79
80
  * При переопределении в производных классах должен рендерить контрол в соответствующий элемент.
@@ -114,8 +114,8 @@ export declare class Layout extends Panel<LayoutParams, LayoutState> implements
114
114
  * @param control Элемент управления который требуется сохранить. Если не указан, будет сохранена вся разметка.
115
115
  * @param options Параметры сохранения.
116
116
  */
117
- saveCardEx(control?: LayoutControl, options?: SaveCardOptions): Promise<any>;
118
- delete(isCanceling?: boolean): Promise<any>;
117
+ saveCardEx(control?: LayoutControl, options?: SaveCardOptions): Promise<void>;
118
+ delete(isCanceling?: boolean): Promise<void>;
119
119
  /**
120
120
  * Изменяет состояние карточки, по полученной операции редактирования и перезагружает разметку.
121
121
  * @param operationId Идентификатор операции редактирования.
@@ -157,7 +157,7 @@ export declare class Layout extends Panel<LayoutParams, LayoutState> implements
157
157
  /** @internal */
158
158
  deinit(): void;
159
159
  /** @internal Освобождает дерево компонентов. */
160
- destroy(): Promise<any>;
160
+ destroy(): Promise<void>;
161
161
  /** @internal */
162
162
  protected createImpl(): LayoutImpl;
163
163
  }
@@ -2,6 +2,8 @@ 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
+ viewEx(request: GenModels.ViewCardLayoutRequest, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
6
+ editEx(request: GenModels.EditCardLayoutRequest, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
5
7
  newCard(createParams: GenModels.LayoutCardCreateParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
6
8
  view(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
7
9
  edit(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
@@ -72,7 +72,7 @@ export declare class LayoutContainer<T extends GenModels.LayoutViewModel> implem
72
72
  /**
73
73
  * Уничтожение разметки.
74
74
  */
75
- destroy(): Promise<any>;
75
+ destroy(): Promise<void>;
76
76
  protected onCardChanged: (message: IRealTimeCommunicationMessage<any>) => void;
77
77
  protected onCardDisabled: (message: IRealTimeCommunicationMessage<any>) => void;
78
78
  /** @internal */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { IMessageBoxService, MessageBoxButton } from '@docsvision/webclient/System/$MessageBox';
3
3
  import { BodyContainerProvider } from '@docsvision/webclient/Helpers/BodyContainerProvider';
4
- /** Сервис для доступа к системным функция setTimeout и setInterval. */
4
+ /** Сервис для работы с модальным окном. {@link IMessageBoxService} */
5
5
  export declare class MessageBoxService implements IMessageBoxService {
6
6
  /** Показывает модальное окно с сообщением об ошибке. */
7
7
  showError(content: React.ReactNode, customCaptionText?: React.ReactNode): Promise<void>;
@@ -3,6 +3,7 @@ export declare class PageLeaveConfirmation {
3
3
  message: string;
4
4
  constructor(condition?: () => boolean, message?: string);
5
5
  static Setup(condition?: () => boolean): PageLeaveConfirmation;
6
+ static isWebDAV: boolean;
6
7
  dispose(): void;
7
8
  private onBeforeWindowUnload;
8
9
  }