@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.
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListContent.d.ts +1 -0
- package/Approval/AgreementManagement.d.ts +3 -2
- package/Approval/AgreementStageProps.d.ts +3 -2
- package/Approval/IAgreementListContentProps.d.ts +2 -0
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +5 -4
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +2 -0
- package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
- package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +11 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryValues.d.ts +0 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +5 -0
- package/BackOffice/FileListControlImpl.d.ts +10 -0
- package/BackOffice/FileListControlLogic.d.ts +1 -0
- package/BackOffice/FileListItemComponent.d.ts +5 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/IFileMenuItem.d.ts +14 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
- package/BackOffice/InfoPopover.d.ts +2 -0
- package/BackOffice/LinksImpl.d.ts +1 -0
- package/BackOffice/Numerator.d.ts +1 -0
- package/BackOffice/NumeratorImpl.d.ts +4 -2
- package/BackOffice/PartnerBase.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +20 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerImpl.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -3
- package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
- package/BackOffice/StaffDirectoryItems.d.ts +13 -5
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +22 -2
- package/BackOffice/StaffDirectoryLogic.d.ts +2 -0
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +4 -2
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +8 -5
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +11 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -2
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +47 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +1060 -9
- package/Helpers/BoxWithButtons.d.ts +7 -1
- package/Helpers/LabeledText.d.ts +8 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Sortable/Sortable.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +1 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ModalWindow.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
- package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -1
- package/MainBundle.d.ts +1 -0
- package/Platform/$CacheManagement.d.ts +3 -1
- package/Platform/$FolderDataLoading.d.ts +3 -0
- package/Platform/$FolderGrid.d.ts +8 -0
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$UnreadCounter.d.ts +1 -1
- package/Platform/AccessListEntryTrustee.d.ts +3 -1
- package/Platform/ArchivedCardsIcon.d.ts +2 -0
- package/Platform/ArchivedCardsPlugin.d.ts +3 -0
- package/Platform/ArchivedCardsResponseResolver.d.ts +23 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CacheManagementService.d.ts +5 -0
- package/Platform/CardManagement.d.ts +2 -2
- package/Platform/CardManagementImpl.d.ts +1 -0
- package/Platform/CommentFile.d.ts +4 -1
- package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
- package/Platform/DateTimePicker.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +2 -0
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/Dropdown.d.ts +1 -0
- package/Platform/DropdownImpl.d.ts +1 -0
- package/Platform/ExportPlugin.d.ts +0 -4
- package/Platform/FilePicker.d.ts +5 -2
- package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
- package/Platform/FolderDataLoadingService.d.ts +5 -0
- package/Platform/FolderGrid.d.ts +7 -3
- package/Platform/FolderGridService.d.ts +14 -4
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderSizePlugin.d.ts +4 -1
- package/Platform/FolderSizePluginExtendedData.d.ts +1 -1
- package/Platform/FolderTypeDialog.d.ts +1 -0
- package/Platform/FolderViewItemsImpl.d.ts +1 -1
- package/Platform/GroupingRequestResolver.d.ts +12 -0
- package/Platform/GroupingResponseResolver.d.ts +17 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/IFolderLoadRequest.d.ts +4 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
- package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
- package/Platform/NewAccessListEntryTrusteeSelect.d.ts +3 -1
- package/Platform/NumberImpl.d.ts +3 -0
- package/Platform/ReadAllPlugin.d.ts +3 -5
- package/Platform/ReadBatchOperation.d.ts +2 -2
- package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
- package/Platform/RecentCardsRouteHandler.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +0 -4
- package/Platform/ResetSettingsPlugin.d.ts +2 -5
- package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
- package/Platform/SearchRouteHandler.d.ts +2 -1
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +6 -3
- package/Platform/SettingsPlugin.d.ts +3 -5
- package/Platform/SettingsPopup.d.ts +2 -1
- package/Platform/ShowAllButton.d.ts +14 -0
- package/Platform/ShowAllPlugins.d.ts +3 -0
- package/Platform/Table.d.ts +2 -3
- package/Platform/TableCellNumberFormattedPlugin.d.ts +3 -0
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TextAreaImpl.d.ts +8 -4
- package/Platform/TextBoxImpl.d.ts +5 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/index.d.ts +0 -4
- package/StandardServices.d.ts +1 -2
- package/System/BaseControl.d.ts +7 -0
- package/System/ControlTemplateView.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/IValidateEventArgs.d.ts +9 -0
- package/System/IValidationResult.d.ts +4 -0
- package/System/InputBasedControl.d.ts +5 -0
- package/System/InputBasedControlImpl.d.ts +4 -3
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +2 -0
- package/System/LayoutContainer.d.ts +1 -1
- package/System/MessageBoxService.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/ResourcesStub.d.ts +603 -68
- package/package.json +1 -1
- 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:/
|
|
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
|
}
|
package/Platform/index.d.ts
CHANGED
|
@@ -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 };
|
package/StandardServices.d.ts
CHANGED
|
@@ -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 & $
|
|
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;
|
package/System/BaseControl.d.ts
CHANGED
|
@@ -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:/
|
|
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:/
|
|
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:/
|
|
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
|
+
}
|
|
@@ -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(
|
|
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():
|
|
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():
|
|
77
|
+
renderControl(): {};
|
|
77
78
|
protected abstract getTextValue(): string;
|
|
78
79
|
/**
|
|
79
80
|
* При переопределении в производных классах должен рендерить контрол в соответствующий элемент.
|
package/System/Layout.d.ts
CHANGED
|
@@ -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<
|
|
118
|
-
delete(isCanceling?: boolean): Promise<
|
|
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<
|
|
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<
|
|
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
|
-
/** Сервис для
|
|
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
|
}
|