@docsvision/webclient 6.1.5-beta.1 → 6.1.7
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/AgreementHistory.d.ts +7 -1
- package/Approval/AgreementHistoryImpl.d.ts +3 -3
- package/Approval/AgreementManagementImpl.d.ts +1 -0
- package/Approval/ApprovalDialogContent.d.ts +31 -0
- package/BackOffice/$DigitalSignature.d.ts +2 -0
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/BackofficeConstants.d.ts +1 -0
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/CardKindTree.d.ts +1 -1
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +2 -2
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListConstants.d.ts +1 -0
- package/BackOffice/FileListControl.d.ts +15 -1
- package/BackOffice/FileListControlImpl.d.ts +16 -1
- package/BackOffice/FileListItemComponent.d.ts +1 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/Powers.d.ts +3 -1
- package/BackOffice/PowersImpl.d.ts +3 -1
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/StaffDirectoryDataVisualiser.d.ts +1 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +190 -11
- package/Generated/DocsVision.WebClient.Models.d.ts +147 -15
- package/Helpers/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/Helpers/Breadcrumbs/BreadcrumbsView.d.ts +1 -0
- package/Helpers/Breadcrumbs/LinkView/LinkItemViewWithSeparator.d.ts +3 -1
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +2 -0
- package/Helpers/FileViewZip/FileViewZip.d.ts +47 -0
- package/Helpers/FileViewZip/FileViewZipModal.d.ts +24 -0
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
- package/Helpers/Menu/DesktopMenuBar.d.ts +1 -0
- package/Legacy/ApprovalFilePanel.d.ts +2 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ILegacyRouter.d.ts +1 -0
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +2 -0
- package/Legacy/TaskCardView.d.ts +0 -1
- package/Legacy/Utils.d.ts +11 -0
- package/Libs/CryptoPro/Crypto.d.ts +6 -3
- package/MainBundle.d.ts +2 -0
- package/Platform/ApprovalVisualizationView.d.ts +1 -1
- package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CardLink.d.ts +8 -7
- package/Platform/CardLinkImpl.d.ts +4 -2
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/CheckFileAllowed.d.ts +2 -0
- package/Platform/CheckFilesAllowed.d.ts +1 -0
- package/Platform/CompleteTaskConditionsTableModelStub.d.ts +53 -0
- package/Platform/ContextMenuCustomPlugins.d.ts +1 -0
- package/Platform/DateTimePicker.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +1 -1
- package/Platform/FileExtensions.d.ts +4 -1
- package/Platform/FilePicker.d.ts +11 -5
- package/Platform/FilePickerImpl.d.ts +14 -3
- package/Platform/FilePickerMenuItemsView.d.ts +1 -0
- package/Platform/FilePickerOperations.d.ts +13 -4
- package/Platform/FilePickerOperationsAvailability.d.ts +1 -0
- package/Platform/FilePreview.d.ts +3 -3
- package/Platform/FolderCardsDashboardStoriesData.d.ts +2 -0
- package/Platform/FolderPageRouteHelpers.d.ts +4 -3
- package/Platform/FolderRouteParameters.d.ts +1 -0
- package/Platform/FolderViewItemsImpl.d.ts +3 -5
- package/Platform/FolderWebFrameRouteHandler.d.ts +1 -1
- package/Platform/IFilePickerMenuOpeningArgs.d.ts +4 -0
- package/Platform/IFolderDataLoadingPlugin.d.ts +2 -1
- package/Platform/IFolderPageRouteData.d.ts +1 -0
- package/Platform/ITextBoxMaskProps.d.ts +56 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/ScanDialogService.d.ts +1 -0
- package/Platform/ScanDialogServiceStoriesData.d.ts +2 -0
- package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -2
- package/Platform/SearchParametersFolderResponseResolver.d.ts +1 -2
- package/Platform/SearchTextInput.d.ts +3 -3
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/TestUtils.d.ts +1 -2
- package/Platform/TextBox.d.ts +3 -0
- package/Platform/TextBoxImpl.d.ts +11 -0
- package/Platform/TextBoxInputField.d.ts +3 -0
- package/Platform/TextBoxInputMask.d.ts +7 -0
- package/Platform/TextBoxInputMaskView.d.ts +10 -0
- package/Platform/TextListInputLogic.d.ts +1 -0
- package/Platform/TextListInputView.d.ts +3 -3
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/StandardServices.d.ts +1 -2
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/DownloadsTab.d.ts +578 -0
- package/System/FileControllerStub.d.ts +14 -0
- package/System/FilePreviewStub.d.ts +4 -0
- package/System/FileScanServiceStub.d.ts +8 -0
- package/System/GroupMenuChildrenModelStub.d.ts +64 -0
- package/System/IWebServicesConnection.d.ts +2 -0
- package/System/IWebServicesService.d.ts +0 -2
- package/System/LayoutCardControllerStub.d.ts +1 -0
- package/System/LinkMainMenuModelStub.d.ts +22 -0
- package/System/LocationContainerControlStoriesData.d.ts +15 -0
- package/System/PagesControllerStub.d.ts +10 -0
- package/System/ProfileTab.d.ts +1349 -0
- package/System/RealtimeCommunicationService.d.ts +17 -2
- package/System/ResourcesStub.d.ts +5 -0
- package/System/Router.d.ts +2 -1
- package/System/SearchingResultsStub.d.ts +48 -0
- package/System/SettingsTab.d.ts +716 -0
- package/System/StatusTab.d.ts +1135 -0
- package/System/TableStub.d.ts +617 -0
- package/System/WebServicesConnection.d.ts +2 -0
- package/System/WebServicesService.d.ts +10 -10
- package/package.json +1 -1
- package/Account/Login.stories.d.ts +0 -12
- package/BackOffice/AuthenticationKinds.stories.d.ts +0 -10
- package/BackOffice/DirectoryTabs.stories.d.ts +0 -8
- package/BackOffice/DirectoryTree.stories.d.ts +0 -9
- package/BackOffice/DirectoryValues.stories.d.ts +0 -8
- package/BackOffice/EmailButton.stories.d.ts +0 -10
- package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
- package/BackOffice/Numerator.stories.d.ts +0 -8
- package/BackOffice/Powers.stories.d.ts +0 -20
- package/BackOffice/PowersDirectory.stories.d.ts +0 -20
- package/BackOffice/SignatureButton.stories.d.ts +0 -10
- package/BackOffice/SignatureDialog.stories.d.ts +0 -25
- package/BackOffice/SignatureMethodsSetup.stories.d.ts +0 -14
- package/BackOffice/StaffDirectory.stories.d.ts +0 -24
- package/BackOffice/TasksTable.stories.d.ts +0 -21
- package/BackOffice/WebFrameDirectorySearchPanel.stories.d.ts +0 -8
- package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +0 -10
- package/Helpers/Button.stories.d.ts +0 -8
- package/Helpers/DropdownButton/DropdownButton.stories.d.ts +0 -10
- package/Helpers/EmployeeName.stories.d.ts +0 -8
- package/Helpers/InputMask/InputMask.stories.d.ts +0 -11
- package/Helpers/SearchBar.stories.d.ts +0 -8
- package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +0 -8
- package/Platform/$LastSearchParameters.d.ts +0 -10
- package/Platform/Aggregates.stories.d.ts +0 -8
- package/Platform/Diagram.stories.d.ts +0 -11
- package/Platform/Dropdown.stories.d.ts +0 -12
- package/Platform/FolderGrid.stories.d.ts +0 -17
- package/Platform/FolderTypeItems.stories.d.ts +0 -9
- package/Platform/FolderViewItems.stories.d.ts +0 -9
- package/Platform/LastSearchParametersService.d.ts +0 -11
- package/Platform/QueryCondition.stories.d.ts +0 -5
- package/Platform/Quotes.stories.d.ts +0 -8
- package/Platform/SecurityDescriptorDialog.stories.d.ts +0 -10
- package/Platform/SettingsPopup.stories.d.ts +0 -1
- package/Platform/Tab.stories.d.ts +0 -9
- package/Platform/TextBox.stories.d.ts +0 -10
- package/Platform/Toolbar.stories.d.ts +0 -12
- package/Platform/WebFrameBodyContainer.stories.d.ts +0 -8
- package/Platform/WebFrameCompanyLogo.stories.d.ts +0 -10
- package/Platform/WebFrameCurrentPageName.stories.d.ts +0 -8
- package/Platform/WebFrameHeaderContainer.stories.d.ts +0 -17
- package/Platform/WebFrameHelpButton.stories.d.ts +0 -10
- package/Platform/WebFrameMainMenuButton.stories.d.ts +0 -8
- package/Platform/WebFrameMainMenuContainer.stories.d.ts +0 -10
- package/Platform/WebFrameNavigationBar.stories.d.ts +0 -19
- package/Platform/WebFrameSearchPanel.stories.d.ts +0 -14
- package/Platform/WebFrameUserPanel.stories.d.ts +0 -12
package/Platform/FilePicker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $FilePickerController, $LayoutFileController } from
|
|
1
|
+
import { $FilePickerController, $LayoutFileController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
3
3
|
import { FilePickerImpl, IFilePickerState } from "@docsvision/webclient/Platform/FilePickerImpl";
|
|
4
4
|
import { IFilePicker } from '@docsvision/webclient/Platform/IFilePicker';
|
|
@@ -7,10 +7,10 @@ import { IFilePickerValue } from '@docsvision/webclient/Platform/IFilePickerValu
|
|
|
7
7
|
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
8
8
|
import { $WindowLocation } from '@docsvision/webclient/Platform/$WindowLocation';
|
|
9
9
|
import { $FilePickerUpload } from '@docsvision/webclient/Platform/IFilePickerUploadService';
|
|
10
|
-
import { $DeviceType } from
|
|
10
|
+
import { $DeviceType, $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
11
11
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
12
12
|
import { IDataChangedEventArgsEx } from '@docsvision/webclient/System/IDataChangedEventArgs';
|
|
13
|
-
import { $CardId, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
13
|
+
import { $CardId, $CardTimestamp, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
14
14
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
15
15
|
import { EditMode } from '@docsvision/webclient/System/EditMode';
|
|
16
16
|
import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
@@ -22,6 +22,8 @@ import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
|
22
22
|
import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview';
|
|
23
23
|
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
24
24
|
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
25
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
26
|
+
import { IFilePickerMenuOpeningArgs } from "@docsvision/webclient/Platform/IFilePickerMenuOpeningArgs";
|
|
25
27
|
/**
|
|
26
28
|
* Содержит публичные свойства элемента управления [Файл]{@link FilePicker}.
|
|
27
29
|
*/
|
|
@@ -119,9 +121,11 @@ export declare class FilePickerParams extends BaseControlParams {
|
|
|
119
121
|
fileVersionsDialogClosed?: BasicApiEvent<IEventArgs>;
|
|
120
122
|
/** Событие возникает после подгрузки информации о версиях файла. @covered */
|
|
121
123
|
fileVersionsLoaded?: BasicApiEvent<IEventArgs>;
|
|
124
|
+
/** Событие возникает при открытии меню файла. */
|
|
125
|
+
fileMenuOpening?: CancelableApiEvent<IFilePickerMenuOpeningArgs>;
|
|
122
126
|
/** Событие возникает при сохранении файла в WebDAV. */
|
|
123
127
|
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
124
|
-
services?: $EditOperationStore & $FilePickerUpload & $MessageBox & $WindowLocation & $FileController & $LayoutFileController & $CardId & $FilePickerController & $DeviceType & $FileDownload & $Layout & $RealtimeCommunicationService & $FilePreviewServices & $LayoutInfo;
|
|
128
|
+
services?: $EditOperationStore & $FilePickerUpload & $MessageBox & $WindowLocation & $FileController & $LayoutFileController & $CardId & $FilePickerController & $DeviceType & $SiteUrl & $CardTimestamp & $R7OfficeController & $WebServices & $FileDownload & $Layout & $RealtimeCommunicationService & $FilePreviewServices & $LayoutInfo;
|
|
125
129
|
}
|
|
126
130
|
/**
|
|
127
131
|
* Класс элемента управления Файл.
|
|
@@ -158,8 +162,10 @@ export declare class FilePicker extends BaseControl<FilePickerParams, IFilePicke
|
|
|
158
162
|
openPreview(): Promise<void>;
|
|
159
163
|
/** Открывает диалог комментариев. @covered */
|
|
160
164
|
showComments(): Promise<void>;
|
|
161
|
-
/**
|
|
165
|
+
/** @deprecated Используй openFile. */
|
|
162
166
|
openWebDav(): Promise<void>;
|
|
167
|
+
/** Открывает файл с помощью dvwebtool/dvsupservice. */
|
|
168
|
+
openFile(): Promise<void>;
|
|
163
169
|
/** Очищает значение контрола. @covered */
|
|
164
170
|
clear(): Promise<void>;
|
|
165
171
|
private callMenuItem;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GenModels } from
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
3
|
import { IFilePickerMenuItem } from '@docsvision/webclient/Platform/FilePickerMenu';
|
|
4
4
|
import { FilePickerAccessState } from '@docsvision/webclient/Platform/FilePickerMenuItemsView';
|
|
5
5
|
import { FilePickerParams } from "@docsvision/webclient/Platform/FilePicker";
|
|
6
|
-
import { FilePickerOperations } from
|
|
6
|
+
import { FilePickerOperations } from "@docsvision/webclient/Platform/FilePickerOperations";
|
|
7
7
|
import { FilePickerOperationsAvailability } from '@docsvision/webclient/Platform/FilePickerOperationsAvailability';
|
|
8
8
|
import { IFilePickerValue } from '@docsvision/webclient/Platform/IFilePickerValue';
|
|
9
9
|
import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
@@ -14,8 +14,9 @@ import { BooleanState } from '@docsvision/webclient/System/BooleanState';
|
|
|
14
14
|
import { EventEmitter } from '@docsvision/webclient/System/EventEmitter';
|
|
15
15
|
import { IValidationParams } from '@docsvision/webclient/System/IValidationParams';
|
|
16
16
|
import { IValidationResult } from '@docsvision/webclient/System/IValidationResult';
|
|
17
|
-
import { ICardOpenedByWebDavMessage } from
|
|
17
|
+
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
18
18
|
import { IRealTimeCommunicationMessage } from '@docsvision/webclient/System/IRealTimeCommunicationMessage';
|
|
19
|
+
import { LoadingState } from '@docsvision/webclient/System/LoadingState';
|
|
19
20
|
/** @internal */
|
|
20
21
|
export interface IFilePickerState extends FilePickerParams, BaseControlState {
|
|
21
22
|
binding: IBindingResult<GenModels.FileCardModel>;
|
|
@@ -25,6 +26,7 @@ export interface IFilePickerState extends FilePickerParams, BaseControlState {
|
|
|
25
26
|
readOperationId: string;
|
|
26
27
|
validationMessage: string;
|
|
27
28
|
deleting: boolean;
|
|
29
|
+
loadingAddVersion: LoadingState;
|
|
28
30
|
}
|
|
29
31
|
export interface FilePickerState extends IFilePickerState {
|
|
30
32
|
}
|
|
@@ -43,6 +45,7 @@ export declare class FilePickerImpl extends BaseControlImpl<FilePickerParams, IF
|
|
|
43
45
|
protected operations: FilePickerOperations;
|
|
44
46
|
protected availability: FilePickerOperationsAvailability;
|
|
45
47
|
protected dragOverState: BooleanState;
|
|
48
|
+
protected menuItems: IFilePickerMenuItem[];
|
|
46
49
|
constructor(props: FilePickerParams, state: IFilePickerState);
|
|
47
50
|
componentDidMount(): void;
|
|
48
51
|
componentWillUnmount(): void;
|
|
@@ -54,6 +57,7 @@ export declare class FilePickerImpl extends BaseControlImpl<FilePickerParams, IF
|
|
|
54
57
|
hasValue(): boolean;
|
|
55
58
|
uploadSelectedInternal(): Promise<GenModels.FileCardModel>;
|
|
56
59
|
onMenuOpenChange: (newVal: boolean) => void;
|
|
60
|
+
onFileMenuOpen: () => Promise<void>;
|
|
57
61
|
protected shouldSaveImmediately(): boolean;
|
|
58
62
|
protected getAccessState(): FilePickerAccessState;
|
|
59
63
|
openVersionsDialog: () => Promise<void>;
|
|
@@ -106,6 +110,13 @@ import("./Components/FilePickerMenuItemsView").IFilePickerMenuItemProps) => JSX.
|
|
|
106
110
|
getDeleteMenuItem: () => {
|
|
107
111
|
name: string;
|
|
108
112
|
component: (props:
|
|
113
|
+
import("./Components/FilePickerMenuItemsView").IFilePickerMenuItemProps) => JSX.Element;
|
|
114
|
+
isAvailable: boolean;
|
|
115
|
+
onClick: () => Promise<any>;
|
|
116
|
+
};
|
|
117
|
+
getViewZipMenuItem: () => {
|
|
118
|
+
name: string;
|
|
119
|
+
component: (props:
|
|
109
120
|
import("./Components/FilePickerMenuItemsView").IFilePickerMenuItemProps) => JSX.Element;
|
|
110
121
|
isAvailable: boolean;
|
|
111
122
|
onClick: () => Promise<any>;
|
|
@@ -23,3 +23,4 @@ export interface IDownloadFilePickerMenuItemProps extends IFilePickerMenuItemPro
|
|
|
23
23
|
}
|
|
24
24
|
export declare const DownloadFilePickerMenuItem: (props: IDownloadFilePickerMenuItemProps) => JSX.Element;
|
|
25
25
|
export declare const DeleteFilePickerMenuItem: (props: IFilePickerMenuItemProps) => JSX.Element;
|
|
26
|
+
export declare const ViewZipFilePickerMenuItem: (props: IFilePickerMenuItemProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $FilePickerController, $LayoutFileController } from
|
|
1
|
+
import { $FilePickerController, $LayoutFileController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
3
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
4
4
|
import { FilePickerAccessState } from '@docsvision/webclient/Platform/FilePickerMenuItemsView';
|
|
@@ -6,18 +6,27 @@ import { FilePickerOperationsAvailability } from '@docsvision/webclient/Platform
|
|
|
6
6
|
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
7
7
|
import { $WindowLocation } from '@docsvision/webclient/Platform/$WindowLocation';
|
|
8
8
|
import { $FilePickerUpload } from '@docsvision/webclient/Platform/IFilePickerUploadService';
|
|
9
|
-
import { $CardId } from
|
|
9
|
+
import { $CardId, $CardInfo, $CardTimestamp } from "@docsvision/webclient/System/LayoutServices";
|
|
10
10
|
import { EventEmitter } from '@docsvision/webclient/System/EventEmitter';
|
|
11
11
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
12
12
|
import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview';
|
|
13
|
-
import { $ApplicationSettings } from
|
|
13
|
+
import { $ApplicationSettings, $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
14
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
15
|
+
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
16
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
14
17
|
export declare class FilePickerOperations {
|
|
15
|
-
|
|
18
|
+
openedInEditorFiles: string[];
|
|
19
|
+
open(file: GenModels.FileCardModel, accessState: FilePickerAccessState, events: EventEmitter, services: $MessageBox & $WindowLocation & $ApplicationSettings & $Layout & $SiteUrl & $CardId & $CardTimestamp & $R7OfficeController & $CardInfo & $RequestManager & $WebServices, afterCloseEditorEvent?: () => void): Promise<void>;
|
|
16
20
|
preview(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel, access: FilePickerOperationsAvailability, events: EventEmitter, onDownloadClick: () => void, services: $FileController & $LayoutFileController & $CardId & $FilePreviewServices): Promise<void>;
|
|
17
21
|
showCommentsDialog(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel, enableAddComments: boolean, dialogOpenEvents: EventEmitter, dialogCloseEvents: EventEmitter, addCommentEvents: EventEmitter, deleteCommentEvents: EventEmitter, services: $LayoutFileController & $CardId): Promise<void>;
|
|
22
|
+
private getOpenFileRequestData;
|
|
23
|
+
private sendOpenFileRequest;
|
|
24
|
+
private reloadFiles;
|
|
25
|
+
private sendOpenFileDvWebTool;
|
|
18
26
|
addFileVersion(file: GenModels.FileCardModel, inputContainer: HTMLElement, services: $MessageBox & $FilePickerUpload): Promise<File>;
|
|
19
27
|
replaceFile(file: GenModels.FileCardModel, inputContainer: HTMLElement, services: $MessageBox & $FilePickerUpload): Promise<File>;
|
|
20
28
|
openSelectFileDialog(file: GenModels.FileCardModel, inputContainer: HTMLElement, services: $MessageBox & $FilePickerUpload): Promise<File>;
|
|
21
29
|
download(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel | null, events: EventEmitter, logInfo: GenModels.LogInfo, services: $FileDownload & $FilePickerController): Promise<void>;
|
|
22
30
|
saveAs(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel | null, events: EventEmitter, logInfo: GenModels.LogInfo, services: $FilePickerController & $FileDownload): Promise<Blob>;
|
|
31
|
+
showViewZipDialog(file: GenModels.FileCardModel, services: $FilePickerController & $CardId): Promise<void>;
|
|
23
32
|
}
|
|
@@ -9,6 +9,7 @@ export declare class FilePickerOperationsAvailability {
|
|
|
9
9
|
private getServices;
|
|
10
10
|
constructor(getAccessState: () => FilePickerAccessState, getEditMode: () => EditMode, getFile: () => GenModels.FileCardModel, getServices: () => $DeviceType);
|
|
11
11
|
private check;
|
|
12
|
+
get canRead(): boolean;
|
|
12
13
|
get canOpen(): boolean;
|
|
13
14
|
get canPreview(): boolean;
|
|
14
15
|
get canComment(): boolean;
|
|
@@ -8,7 +8,7 @@ import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/
|
|
|
8
8
|
import { IFilePreviewingArgs } from '@docsvision/webclient/BackOffice/IFilePreviewingArgs';
|
|
9
9
|
import { IFilePreviewedArgs } from '@docsvision/webclient/BackOffice/IFilePreviewedArgs';
|
|
10
10
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
11
|
-
import { $LayoutFileController } from
|
|
11
|
+
import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
12
12
|
import { IFileVersionDownloadingArgs } from '@docsvision/webclient/BackOffice/IFileVersionDownloadingArgs';
|
|
13
13
|
import { IFileVersionDownloadedArgs } from '@docsvision/webclient/BackOffice/IFileVersionDownloadedArgs';
|
|
14
14
|
import { $FileService } from '@docsvision/webclient/System/$FileService';
|
|
@@ -19,14 +19,14 @@ import { IFileVersionCommentDeletedArgs } from '@docsvision/webclient/BackOffice
|
|
|
19
19
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
20
20
|
import { EditMode } from '@docsvision/webclient/System/EditMode';
|
|
21
21
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
22
|
-
import { $ApplicationSettings, $DeviceType } from
|
|
22
|
+
import { $ApplicationSettings, $DeviceType, $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
23
23
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
24
24
|
import { BodyContainerProvider } from '@docsvision/webclient/Helpers/BodyContainerProvider';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import { $FilePreview } from '@docsvision/webclient/Platform/$FilePreview';
|
|
27
27
|
import { Optional } from '@docsvision/web/core/services';
|
|
28
28
|
import { FileViewer, IFileViewerConstructor } from '@docsvision/webclient/Platform/FileViewer';
|
|
29
|
-
export declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $ApplicationSettings & $LayoutFileController & $CardId & $FileService & $Layout & $DeviceType & Optional<$FilePreview> & $ApplicationSettings
|
|
29
|
+
export declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $ApplicationSettings & $LayoutFileController & $CardId & $FileService & $Layout & $DeviceType & Optional<$FilePreview> & $ApplicationSettings & Optional<$SiteUrl>;
|
|
30
30
|
export declare class FilePreviewParams extends BaseControlParams {
|
|
31
31
|
/** Стандартный CSS класс со стилями элемента управления. */
|
|
32
32
|
standardCssClass?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
1
2
|
import { IFolderPageRouteData } from '@docsvision/webclient/Platform/IFolderPageRouteData';
|
|
2
3
|
/** @internal */
|
|
3
4
|
export declare class FolderPageRouteHelpers {
|
|
4
|
-
static openFolder(folderId: string, color?: string): void;
|
|
5
|
-
static makeFolderUrl(folderId: string, color?: string): string;
|
|
5
|
+
static openFolder(folderId: string, color?: string, parameters?: GenModels.SearchParameter[]): void;
|
|
6
|
+
static makeFolderUrl(folderId: string, color?: string, parameters?: GenModels.SearchParameter[]): string;
|
|
6
7
|
static getRecentCardsUrl(): string;
|
|
7
|
-
static makeFolderPageRouteData(folderId?: string, color?: string): IFolderPageRouteData;
|
|
8
|
+
static makeFolderPageRouteData(folderId?: string, color?: string, parameters?: GenModels.SearchParameter[]): IFolderPageRouteData;
|
|
8
9
|
}
|
|
@@ -44,7 +44,7 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
44
44
|
checked?: boolean;
|
|
45
45
|
crossOrigin?: string;
|
|
46
46
|
disabled?: boolean;
|
|
47
|
-
enterKeyHint?: "
|
|
47
|
+
enterKeyHint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send";
|
|
48
48
|
form?: string;
|
|
49
49
|
formAction?: string;
|
|
50
50
|
formEncType?: string;
|
|
@@ -114,7 +114,7 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
114
114
|
is?: string;
|
|
115
115
|
'aria-activedescendant'?: string;
|
|
116
116
|
'aria-atomic'?: boolean | "true" | "false";
|
|
117
|
-
'aria-autocomplete'?: "none" | "
|
|
117
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both";
|
|
118
118
|
'aria-busy'?: boolean | "true" | "false";
|
|
119
119
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
120
120
|
'aria-colcount'?: number;
|
|
@@ -125,7 +125,7 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
125
125
|
'aria-describedby'?: string;
|
|
126
126
|
'aria-details'?: string;
|
|
127
127
|
'aria-disabled'?: boolean | "true" | "false";
|
|
128
|
-
'aria-dropeffect'?: "link" | "
|
|
128
|
+
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup";
|
|
129
129
|
'aria-errormessage'?: string;
|
|
130
130
|
'aria-expanded'?: boolean | "true" | "false";
|
|
131
131
|
'aria-flowto'?: string;
|
|
@@ -323,8 +323,6 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
323
323
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
324
324
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLInputElement>) => void;
|
|
325
325
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLInputElement>) => void;
|
|
326
|
-
css?:
|
|
327
|
-
import("@emotion/core").InterpolationWithTheme<any>;
|
|
328
326
|
};
|
|
329
327
|
protected attachTypeahead(typeahead: Typeahead): void;
|
|
330
328
|
protected onTypeaheadSelected(variant: FolderViewVariant): Promise<void>;
|
|
@@ -16,6 +16,6 @@ export declare class FolderWebFrameRouteHandler implements IRouteHandler<IFolder
|
|
|
16
16
|
private get useNewGrid();
|
|
17
17
|
private routeTypeCheck;
|
|
18
18
|
private filterClasses;
|
|
19
|
-
|
|
19
|
+
prepareRouteMount(data: IFolderPageRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
20
20
|
unmountRoute(data: IFolderPageRouteData, routeType: RouteType): Promise<void>;
|
|
21
21
|
}
|
|
@@ -4,5 +4,6 @@ import { ICommonFolderInfo } from "@docsvision/webclient/Platform/ICommonFolderI
|
|
|
4
4
|
export interface IFolderPageRouteData {
|
|
5
5
|
layout?: GenModels.LayoutViewModel;
|
|
6
6
|
folderInfo?: ICommonFolderInfo;
|
|
7
|
+
parameters?: GenModels.SearchParameter[];
|
|
7
8
|
useLastParameters?: boolean;
|
|
8
9
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextBoxInputMaskView } from "@docsvision/webclient/Platform/TextBoxInputMaskView";
|
|
3
|
+
import { HtmlProps, IComponentProps } from "@docsvision/web/core/component";
|
|
4
|
+
import { InputState, MaskOptions } from "react-input-mask";
|
|
5
|
+
export interface ITextBoxMaskProps extends HtmlProps.input, IComponentProps<never, TextBoxInputMaskView> {
|
|
6
|
+
/**
|
|
7
|
+
* Маска. Символы формата:
|
|
8
|
+
* * `9`: `0-9`
|
|
9
|
+
* * `a`: `A-Z, a-z`
|
|
10
|
+
* * `\*`: `A-Z, a-z, 0-9`
|
|
11
|
+
*
|
|
12
|
+
* Любой символ можно экранировать с помощью обратной косой черты, которая обычно отображается как двойная обратная косая черта в строках JS.
|
|
13
|
+
* Например, немецкая маска телефона с неустранимым префиксом +49 будет выглядеть как `mask="+4\\9 99 999 99"` или `mask={"+4\\\\9 99 999 99"}`
|
|
14
|
+
*/
|
|
15
|
+
mask: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Символ для покрытия незаполненных редактируемых частей маски. Символ по умолчанию "_".
|
|
18
|
+
* Если установлено значение null, незаполненные части будут пустыми, как и при обычном вводе.
|
|
19
|
+
*/
|
|
20
|
+
maskChar?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Определяет символы формата с символами в качестве ключей и соответствующей строкой RegExp в качестве значений.
|
|
23
|
+
* По умолчанию:
|
|
24
|
+
* ```
|
|
25
|
+
* {
|
|
26
|
+
* "9": "[0-9]",
|
|
27
|
+
* "a": "[A-Za-z]",
|
|
28
|
+
* "*": "[A-Za-z0-9]"
|
|
29
|
+
* }```
|
|
30
|
+
*/
|
|
31
|
+
formatChars?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Показывать маску даже при пустом вводе без фокуса
|
|
36
|
+
*/
|
|
37
|
+
alwaysShowMask?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Если вам нужно реализовать более сложное поведение маскирования, вы можете использовать
|
|
40
|
+
* функцию beforeMaskedValueChange для изменения замаскированного значения прежде, чем
|
|
41
|
+
* значение будет изменено
|
|
42
|
+
*/
|
|
43
|
+
beforeMaskedValueChange?(newState: InputState, oldState: InputState, userInput: string, maskOptions: MaskOptions): InputState;
|
|
44
|
+
/**
|
|
45
|
+
* Используйте inputRef вместо ref, если вам нужен узел для управления фокусом, выбором и т. д
|
|
46
|
+
*/
|
|
47
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
48
|
+
/** Использовать маску. По умолчанию: true */
|
|
49
|
+
useMask?: boolean;
|
|
50
|
+
/** Событие фокуса */
|
|
51
|
+
onFocus?: (ev: React.FocusEvent<HTMLInputElement>) => void;
|
|
52
|
+
/** Событие потери фокуса */
|
|
53
|
+
onBlur?: (ev: React.FocusEvent<HTMLInputElement>) => void;
|
|
54
|
+
/** Событие изменения значения в поле ввода */
|
|
55
|
+
onChange?: (ev: React.ChangeEvent<HTMLInputElement>) => void;
|
|
56
|
+
}
|
|
@@ -3,4 +3,4 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
export interface IListCheckboxProps extends HtmlProps.input {
|
|
5
5
|
}
|
|
6
|
-
export declare const ListCheckbox: React.ForwardRefExoticComponent<Pick<IListCheckboxProps, "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "id" | "disabled" | "onSubmit" | "autoComplete" | "type" | "placeholder" | "value" | "autoFocus" | "dir" | "className" | "
|
|
6
|
+
export declare const ListCheckbox: React.ForwardRefExoticComponent<Pick<IListCheckboxProps, "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "id" | "disabled" | "onSubmit" | "autoComplete" | "type" | "placeholder" | "value" | "autoFocus" | "dir" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "width" | "hidden" | "draggable" | "height" | "lang" | "max" | "min" | "role" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & React.RefAttributes<HTMLInputElement>>;
|
package/Platform/ListInput.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export interface IListInputProps extends HtmlProps.div {
|
|
|
5
5
|
isScrollable: boolean;
|
|
6
6
|
isDate: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const ListInput: React.ForwardRefExoticComponent<Pick<IListInputProps, "slot" | "style" | "title" | "children" | "id" | "onSubmit" | "placeholder" | "dir" | "className" | "
|
|
8
|
+
export declare const ListInput: React.ForwardRefExoticComponent<Pick<IListInputProps, "slot" | "style" | "title" | "children" | "id" | "onSubmit" | "placeholder" | "dir" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "hidden" | "draggable" | "lang" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "isScrollable" | "isDate"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -12,7 +12,7 @@ export declare class LoaderDialog extends React.Component<Props, State> {
|
|
|
12
12
|
cancel: () => void;
|
|
13
13
|
DialogBox:
|
|
14
14
|
import("styled-components").StyledComponent<(props:
|
|
15
|
-
import("D:/BuildAgent/work/
|
|
15
|
+
import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
16
16
|
LoadingSpan:
|
|
17
17
|
import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
18
18
|
render(): JSX.Element;
|
|
@@ -51,6 +51,7 @@ export declare class ScanDialogService implements IScanDialog {
|
|
|
51
51
|
attachScan: (element: HTMLElement) => void;
|
|
52
52
|
zoomScan: (value: ZoomOptions) => void;
|
|
53
53
|
rotateScan: (direction: RotateDirection) => void;
|
|
54
|
+
deletePage: () => void;
|
|
54
55
|
switchPage: (button: PageSwitchers) => void;
|
|
55
56
|
createCanvas: (src: string, direction: RotateDirection, callback: any) => void;
|
|
56
57
|
renderPreviewBlock: () => JSX.Element;
|
|
@@ -3,10 +3,10 @@ import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
|
|
|
3
3
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
4
|
import { IFolderLoadRequest } from '@docsvision/webclient/Platform/IFolderLoadRequest';
|
|
5
5
|
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
6
|
-
import { $
|
|
6
|
+
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
7
7
|
export declare class SearchParametersFolderRequestResolver implements IFolderDataLoadingPlugin {
|
|
8
8
|
id: string;
|
|
9
9
|
description: string;
|
|
10
10
|
order: PluginOrder;
|
|
11
|
-
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $
|
|
11
|
+
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $Router): Promise<void>;
|
|
12
12
|
}
|
|
@@ -3,7 +3,6 @@ import { $SearchParametersFolder } from '@docsvision/webclient/Platform/$SearchP
|
|
|
3
3
|
import { IFolderDataLoadingPlugin, ResponseResolveResult } from '@docsvision/webclient/Platform/IFolderDataLoadingPlugin';
|
|
4
4
|
import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
|
|
5
5
|
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
6
|
-
import { $LastSearchParameters } from '@docsvision/webclient/Platform/$LastSearchParameters';
|
|
7
6
|
import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
|
|
8
7
|
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
9
8
|
export declare class SearchParametersFolderResponseResolver implements IFolderDataLoadingPlugin {
|
|
@@ -11,6 +10,6 @@ export declare class SearchParametersFolderResponseResolver implements IFolderDa
|
|
|
11
10
|
description?: "Показывает модальное окно с поисковыми параметрами";
|
|
12
11
|
order: PluginOrder.System;
|
|
13
12
|
private layoutSearchParametersDialog;
|
|
14
|
-
resolveResponse?(data: ITableData, response?: GenModels.GridViewModelEx, services?: $SearchParametersFolder & $
|
|
13
|
+
resolveResponse?(data: ITableData, response?: GenModels.GridViewModelEx, services?: $SearchParametersFolder & $CurrentFolder & $Router): Promise<void | ResponseResolveResult>;
|
|
15
14
|
private loadSearchParametres;
|
|
16
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtmlProps } from
|
|
2
|
-
import React from
|
|
1
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
export interface ISearchTextInputProps extends HtmlProps.input {
|
|
5
5
|
}
|
|
6
|
-
export declare const SearchTextInput: React.ForwardRefExoticComponent<Pick<ISearchTextInputProps, "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "id" | "disabled" | "onSubmit" | "autoComplete" | "type" | "placeholder" | "value" | "autoFocus" | "dir" | "className" | "
|
|
6
|
+
export declare const SearchTextInput: React.ForwardRefExoticComponent<Pick<ISearchTextInputProps, "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "id" | "disabled" | "onSubmit" | "autoComplete" | "type" | "placeholder" | "value" | "autoFocus" | "dir" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "width" | "hidden" | "draggable" | "height" | "lang" | "max" | "min" | "role" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -28,7 +28,7 @@ export declare class SecurityDescriptorDialogView {
|
|
|
28
28
|
frame: (props:
|
|
29
29
|
import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
|
|
30
30
|
table: (props:
|
|
31
|
-
import("D:/BuildAgent/work/
|
|
31
|
+
import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
|
|
32
32
|
tableHead: (props:
|
|
33
33
|
import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
|
|
34
34
|
inheritanceButtons: typeof AccessInheritanceButtons;
|
package/Platform/TestUtils.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import { $ToolbarActionContainer } from '@docsvision/web/components/table/plugin
|
|
|
17
17
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
18
18
|
import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
19
19
|
import { $HoverPanel } from '@docsvision/webclient/Platform/$HoverPanel';
|
|
20
|
-
import { $LastSearchParameters } from '@docsvision/webclient/Platform/$LastSearchParameters';
|
|
21
20
|
import { $EmployeeStatus } from '@docsvision/webclient/Platform/$EmployeeStatus';
|
|
22
21
|
import { $IsIE } from '@docsvision/web/core/system-services/environment';
|
|
23
22
|
export declare let ScrollContainer:
|
|
@@ -26,4 +25,4 @@ export declare let ScrollContainerWrapper:
|
|
|
26
25
|
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
27
26
|
export declare function common(): FolderGridParams;
|
|
28
27
|
export declare let gridStory: (name: string, render: (services: any) => JSX.Element, params?: StoryParameters) => () => JSX.Element;
|
|
29
|
-
export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls & $HoverPanel & $
|
|
28
|
+
export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls & $HoverPanel & $EmployeeStatus & $IsIE;
|
package/Platform/TextBox.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
1
2
|
import { TextBoxImpl, ITextBoxState } from "@docsvision/webclient/Platform/TextBoxImpl";
|
|
2
3
|
import { TextControlBase, TextControlBaseParams } from "@docsvision/webclient/Platform/TextControlBase";
|
|
3
4
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -8,6 +9,8 @@ export declare class TextBoxParams extends TextControlBaseParams {
|
|
|
8
9
|
/** Стандартный CSS класс со стилями элемента управления. */
|
|
9
10
|
standardCssClass?: string;
|
|
10
11
|
services?: $LayoutInfo & $EditOperationStore;
|
|
12
|
+
/** Модель содержит маску ввода и регулярное выражение для проверки значения. */
|
|
13
|
+
inputMask?: GenModels.InputMaskModel;
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
16
|
* Вспомогательный контрол для редактирования текстовой информации.
|
|
@@ -2,6 +2,9 @@ import { IEditPopoverProps } from "@docsvision/webclient/Helpers/PopoverHelpers/
|
|
|
2
2
|
import { TextBox, TextBoxParams } from "@docsvision/webclient/Platform/TextBox";
|
|
3
3
|
import { TextControlBaseImpl, ITextControlBaseState } from "@docsvision/webclient/Platform/TextControlBaseImpl";
|
|
4
4
|
import React from "react";
|
|
5
|
+
import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
|
|
6
|
+
import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
|
|
7
|
+
import { ITextBoxMaskProps } from "@docsvision/webclient/Platform/ITextBoxMaskProps";
|
|
5
8
|
/** @internal */
|
|
6
9
|
export interface ITextBoxState extends TextBoxParams, ITextControlBaseState {
|
|
7
10
|
}
|
|
@@ -11,11 +14,19 @@ export interface TextBoxState extends ITextBoxState {
|
|
|
11
14
|
export declare type TextBoxImplState = ITextBoxState;
|
|
12
15
|
/** @internal */
|
|
13
16
|
export declare class TextBoxImpl extends TextControlBaseImpl<TextBoxParams, ITextBoxState> {
|
|
17
|
+
protected maskChar: string;
|
|
14
18
|
constructor(props: TextBoxParams, state: ITextBoxState);
|
|
19
|
+
protected renderInput(): React.ReactNode;
|
|
15
20
|
protected renderInto(props: TextBoxParams, container: HTMLElement): void;
|
|
16
21
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<TextBox>;
|
|
22
|
+
validate(params: IValidationParams): IValidationResult;
|
|
23
|
+
protected validatePattern(params: IValidationParams): IValidationResult;
|
|
24
|
+
protected validateMask(params: IValidationParams): IValidationResult;
|
|
17
25
|
protected onInputBlur(event: React.FocusEvent): void;
|
|
18
26
|
private saveCard;
|
|
19
27
|
private shouldSaveCardWithEditInPlaceValue;
|
|
20
28
|
private isLayoutViewMode;
|
|
29
|
+
private useMask;
|
|
30
|
+
private useRegExp;
|
|
31
|
+
protected getMaskProps(): ITextBoxMaskProps;
|
|
21
32
|
}
|