@docsvision/webclient 5.17.3 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementStageEmployeesLoader.d.ts +3 -0
- package/BackOffice/$DigitalSignature.d.ts +0 -2
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/CardKindImpl.d.ts +1 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/CommandMenuComponent.d.ts +1 -1
- package/BackOffice/Comments.d.ts +2 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +3 -5
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -5
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectoryEntryModal.d.ts +2 -0
- package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +0 -1
- package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
- package/BackOffice/DssSignRequestModels.d.ts +2 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/EmployeeImpl.d.ts +0 -5
- package/BackOffice/ExistingCardLinkDialog.d.ts +2 -1
- package/BackOffice/FileListConstants.d.ts +0 -4
- package/BackOffice/FileListControl.d.ts +9 -13
- package/BackOffice/FileListControlLogic.d.ts +10 -4
- package/BackOffice/FileListItemComponent.d.ts +1 -0
- package/BackOffice/FileListItemProps.d.ts +2 -2
- package/BackOffice/FileListItemState.d.ts +3 -1
- package/BackOffice/FileSignListDialog.d.ts +2 -10
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/ICertificateStatus.d.ts +5 -4
- package/BackOffice/IFileOpenRequestModel.d.ts +13 -0
- package/BackOffice/Links.d.ts +2 -2
- package/BackOffice/LinksImpl.d.ts +1 -1
- package/BackOffice/NumeratorImpl.d.ts +2 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerSelectDialog.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SetDisplayName.d.ts +2 -0
- package/BackOffice/SignatureDialog.d.ts +2 -11
- package/BackOffice/SignatureDialog.stories.d.ts +0 -13
- package/BackOffice/SignatureDialogFrame.d.ts +0 -2
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +0 -20
- package/BackOffice/SignatureDialogMethods.d.ts +2 -2
- package/BackOffice/SignatureDialogSettings.d.ts +2 -2
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectorySelectDialog.d.ts +0 -1
- package/BackOffice/TaskListItemComponent.d.ts +1 -1
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/Utils.d.ts +0 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +1936 -2029
- package/Generated/DocsVision.WebClient.Models.d.ts +4578 -6845
- package/Helpers/Button.d.ts +0 -2
- package/Helpers/ComandBarButton.d.ts +0 -2
- package/Helpers/ComboBox/ComboBoxElement.d.ts +3 -3
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +3 -1
- package/Helpers/ComboBox/Data/ClientModels/IComboBoxElement.d.ts +0 -2
- package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
- package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +1 -1
- package/Helpers/IconButton.d.ts +0 -2
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LabeledText.d.ts +3 -1
- package/Helpers/ModalDialog/ModalDialog.d.ts +0 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +4 -3
- package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
- package/Helpers/Table/TableHelperRow.d.ts +0 -1
- package/Legacy/ApprovalFilePanel.d.ts +14 -4
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/DocumentCard.d.ts +1 -1
- package/Legacy/DocumentPanel.d.ts +0 -2
- package/Legacy/ISignatureListItemDataModel.d.ts +0 -1
- package/Legacy/LinkControl.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +13 -4
- package/Legacy/TaskCardView.d.ts +1 -0
- package/Legacy/Utils.d.ts +5 -0
- package/Platform/$CommandBarManagement.d.ts +4 -4
- package/Platform/$GridOptions.d.ts +0 -1
- package/Platform/$ScanDialog.d.ts +4 -4
- package/Platform/AutoConsolidation.d.ts +2 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/ButtonPositionsSelection.d.ts +1 -1
- package/Platform/CardLink.d.ts +8 -6
- package/Platform/CardLinkImpl.d.ts +1 -1
- package/Platform/CardManagement.d.ts +2 -1
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/CommentFile.d.ts +5 -4
- package/Platform/CommentFileImpl.d.ts +6 -1
- package/Platform/DateTimePickerImpl.d.ts +2 -2
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +1 -1
- package/Platform/ExportESignButton.d.ts +0 -2
- package/Platform/FileExtensions.d.ts +4 -1
- package/Platform/FilePreview.d.ts +5 -2
- package/Platform/FilePreviewImpl.d.ts +4 -9
- package/Platform/FileViewer.d.ts +24 -0
- package/Platform/FolderCardsDashboardWidget.d.ts +0 -2
- package/Platform/FolderViewItemsImpl.d.ts +8 -8
- package/Platform/GetDocType.d.ts +1 -0
- package/Platform/GetFileType.d.ts +1 -0
- package/Platform/IsImageExtension.d.ts +1 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/PdfjsViewer.d.ts +13 -0
- package/Platform/R7Viewer.d.ts +13 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +0 -2
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +2 -2
- package/Platform/ScanButtonImpl.d.ts +1 -0
- package/Platform/ScanDialogService.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/SettingsPopupLogic.d.ts +1 -1
- package/Platform/Table.d.ts +10 -0
- package/Platform/TableImpl.d.ts +1 -0
- package/Platform/TextListInputView.d.ts +2 -2
- package/Platform/UnreadBarService.d.ts +2 -2
- package/Platform/UnreadBarTablePlugins.d.ts +2 -2
- package/Platform/UnreadCounter.d.ts +1 -2
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/README.md +1 -1
- package/System/$FileService.d.ts +2 -0
- package/System/$LastSearchResponse.d.ts +2 -2
- package/System/$RealtimeCommunicationService.d.ts +2 -0
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/CheckIsLinux.d.ts +1 -0
- package/System/{BaseController.d.ts → ControllerBase.d.ts} +1 -1
- package/System/Decorators.d.ts +7 -7
- package/System/DirectoryBaseImpl.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -3
- package/System/FileService.d.ts +4 -0
- package/System/InputBasedControlImpl.d.ts +2 -1
- package/System/JsonUtils.d.ts +1 -0
- package/System/LastSearchResponseService.d.ts +3 -3
- package/System/RealtimeCommunicationService.d.ts +3 -1
- package/System/RealtimeServerSender.d.ts +1 -2
- package/System/ResourcesStub.d.ts +2 -62
- package/System/ServerController.d.ts +2 -2
- package/System/ServiceActionMetaData.d.ts +2 -2
- package/System/StringUtils.d.ts +1 -1
- package/System/Summernote.d.ts +0 -2
- package/System/WebServicesService.d.ts +2 -2
- package/package.json +1 -1
- package/Account/AddBackgroundMovementEffect.d.ts +0 -2
- package/BackOffice/CheckSectionAccessRights.d.ts +0 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +0 -7
- package/BackOffice/ConvertResponseToTree.d.ts +0 -4
- package/BackOffice/DeleteSection.d.ts +0 -2
- package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
- package/BackOffice/FindSection.d.ts +0 -9
- package/BackOffice/GetPowersIconClassName.d.ts +0 -7
- package/BackOffice/GetPowersRootSectionId.d.ts +0 -5
- package/BackOffice/GetSearchItemsType.d.ts +0 -2
- package/BackOffice/IExtraFileAdded.d.ts +0 -3
- package/BackOffice/IFileTypeChangeArgs.d.ts +0 -4
- package/BackOffice/IMainFileAdded.d.ts +0 -3
- package/BackOffice/INewFileList.d.ts +0 -3
- package/BackOffice/IPowerModel.d.ts +0 -10
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +0 -11
- package/BackOffice/IPowersDialog.d.ts +0 -5
- package/BackOffice/IPowersDirectoryOptions.d.ts +0 -12
- package/BackOffice/IPowersTreeRow.d.ts +0 -6
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyInfo.d.ts +0 -11
- package/BackOffice/Powers.d.ts +0 -72
- package/BackOffice/Powers.stories.d.ts +0 -19
- package/BackOffice/PowersDialogLocations.d.ts +0 -3
- package/BackOffice/PowersDirectory.d.ts +0 -49
- package/BackOffice/PowersDirectory.stories.d.ts +0 -20
- package/BackOffice/PowersDirectoryConstants.d.ts +0 -12
- package/BackOffice/PowersDirectoryContainer.d.ts +0 -7
- package/BackOffice/PowersDirectoryHead.d.ts +0 -7
- package/BackOffice/PowersDirectoryInfo.d.ts +0 -16
- package/BackOffice/PowersDirectoryLogic.d.ts +0 -172
- package/BackOffice/PowersDirectorySaveExpandedState.d.ts +0 -5
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +0 -17
- package/BackOffice/PowersDirectoryView.d.ts +0 -61
- package/BackOffice/PowersImpl.d.ts +0 -72
- package/BackOffice/PowersRootSectionConstants.d.ts +0 -17
- package/BackOffice/PowersSelectDialog.d.ts +0 -74
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +0 -2
- package/BackOffice/SignatureDialogPowersOfAttorney.d.ts +0 -9
- package/BackOffice/ToSearchArea.d.ts +0 -3
- package/Platform/SkipSavingCursorRequestResolver.d.ts +0 -12
- package/System/IRealtimeCommunicationHub.d.ts +0 -15
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $LayoutFileApiController, $LayoutFileController, $LayoutLinksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
1
|
+
import { $LayoutFileApiController, $LayoutFileController, $LayoutLinksController, $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 { CommentFileImpl, ICommentFileState } from "@docsvision/webclient/Platform/CommentFileImpl";
|
|
5
5
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
6
|
import { IDataChangedEventArgsEx } from "@docsvision/webclient/System/IDataChangedEventArgs";
|
|
7
|
-
import { $CardId, $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
7
|
+
import { $CardId, $CardInfo, $CardTimestamp, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
8
8
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
9
9
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
10
10
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -14,8 +14,9 @@ import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
|
14
14
|
import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview';
|
|
15
15
|
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
16
16
|
import { Optional } from "@docsvision/web/core/services";
|
|
17
|
-
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
17
|
+
import { $ApplicationSettings, $SiteUrl } from '@docsvision/webclient/StandardServices';
|
|
18
18
|
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
19
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
19
20
|
/**
|
|
20
21
|
* Публичные свойства для контрола {@link CommentFile}.
|
|
21
22
|
*/
|
|
@@ -62,7 +63,7 @@ export declare class CommentFileParams extends BaseControlParams {
|
|
|
62
63
|
fileDownloading?: CancelableApiEvent<IEventArgs>;
|
|
63
64
|
/** Событие возникает при сохранении файла в WebDAV. */
|
|
64
65
|
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
65
|
-
services?: $FileController & $LayoutFileController & $LayoutFileApiController & $MessageBox & $LayoutLinksController & $CardInfo & $EditOperationStore & $LayoutInfo & $CardId & $FilePreviewServices & Optional<$LabelWidth> & $ApplicationSettings & $RealtimeCommunicationService;
|
|
66
|
+
services?: $FileController & $LayoutFileController & $LayoutFileApiController & $MessageBox & $LayoutLinksController & $CardInfo & $EditOperationStore & $LayoutInfo & $CardId & $FilePreviewServices & $WebServices & Optional<$LabelWidth> & $ApplicationSettings & $RealtimeCommunicationService & $R7OfficeController & $SiteUrl & $CardTimestamp;
|
|
66
67
|
}
|
|
67
68
|
/**
|
|
68
69
|
* Представляет элемент управления для редактирования файла замечаний.
|
|
@@ -24,6 +24,7 @@ export interface CommentFileState extends ICommentFileState {
|
|
|
24
24
|
export declare class CommentFileImpl extends BaseControlImpl<CommentFileParams, ICommentFileState> {
|
|
25
25
|
fileUploadAttach: FileListAttachedElements;
|
|
26
26
|
commentFileNameMaxLength: number;
|
|
27
|
+
openedInEditorFiles: string[];
|
|
27
28
|
constructor(props: CommentFileParams, state: ICommentFileState);
|
|
28
29
|
setValue(value: GenModels.CommonFileModel, forceUpdate?: boolean): Promise<unknown>;
|
|
29
30
|
protected setValueInternal(value: GenModels.CommonFileModel): Promise<void>;
|
|
@@ -40,6 +41,10 @@ export declare class CommentFileImpl extends BaseControlImpl<CommentFileParams,
|
|
|
40
41
|
openFilePreview: () => void;
|
|
41
42
|
removeFile: () => void;
|
|
42
43
|
onOpenMenuClick: () => Promise<void>;
|
|
44
|
+
getVisibilityOpenFileButton(fileId: string): boolean;
|
|
45
|
+
private getOpenFileRequestData;
|
|
46
|
+
private sendOpenFileRequest;
|
|
47
|
+
private sendOpenFileDvWebTool;
|
|
43
48
|
onDownloadMenuClick: () => Promise<void>;
|
|
44
49
|
getDownloadLink(): string;
|
|
45
50
|
onUploadMenuClick: () => void;
|
|
@@ -56,7 +61,7 @@ export declare class CommentFileImpl extends BaseControlImpl<CommentFileParams,
|
|
|
56
61
|
protected renderValidationMessage(): JSX.Element;
|
|
57
62
|
protected get editAvailable(): boolean;
|
|
58
63
|
protected getCssClass(): string;
|
|
59
|
-
protected getTextTabIndex():
|
|
64
|
+
protected getTextTabIndex(): 0 | -1;
|
|
60
65
|
protected onTextKeyDown: (event: React.KeyboardEvent) => void;
|
|
61
66
|
protected onMenuKeyDown: (event: React.KeyboardEvent) => void;
|
|
62
67
|
protected initFileUpload(attach: FileListAttachedElements): void;
|
|
@@ -83,7 +83,7 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
|
|
|
83
83
|
protected getDefaultInitialValue(): Date;
|
|
84
84
|
protected editInPlaceModeRender(): JSX.Element;
|
|
85
85
|
protected renderWithText(): JSX.Element;
|
|
86
|
-
protected onPlaceholderClick(event
|
|
86
|
+
protected onPlaceholderClick(event?: React.MouseEvent): void;
|
|
87
87
|
protected onDialogClose(): void;
|
|
88
88
|
protected onDialogOpen(): void;
|
|
89
89
|
protected onDateChange: (newValue: any, value: any) => void;
|
|
@@ -96,6 +96,6 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
|
|
|
96
96
|
private renderRequiredText;
|
|
97
97
|
protected renderPlaceholder(): JSX.Element;
|
|
98
98
|
triggerSaveRequestEvent: () => Promise<void>;
|
|
99
|
-
clear(): void
|
|
99
|
+
clear(): Promise<void>;
|
|
100
100
|
canClear(): boolean;
|
|
101
101
|
}
|
|
@@ -19,7 +19,7 @@ export declare class DownloadFilesBatchOperationImpl extends BaseControlImpl<Dow
|
|
|
19
19
|
private onClickDownloadWithSign;
|
|
20
20
|
private downloadWithSign;
|
|
21
21
|
private onDownloadFilesClick;
|
|
22
|
-
private
|
|
22
|
+
private clearSelectionFiles;
|
|
23
23
|
private isAvailable;
|
|
24
24
|
private isVisible;
|
|
25
25
|
getCssClass(): string;
|
|
@@ -11,8 +11,6 @@ export declare class ExportESignButtonParams extends BaseControlParams {
|
|
|
11
11
|
services?: $LayoutDocumentController & $CardInfo & $EditOperationStore & $FileDownload;
|
|
12
12
|
/** Формат подписи */
|
|
13
13
|
signatureFormat?: GenModels.SignatureFormat;
|
|
14
|
-
/** Экспорт с доверенностью */
|
|
15
|
-
exportWithPowerOfAttorney?: boolean;
|
|
16
14
|
}
|
|
17
15
|
/**
|
|
18
16
|
* Класс элемента управления Экспорт файлов с подписью.
|
|
@@ -2,9 +2,11 @@ export declare enum FileExtensions {
|
|
|
2
2
|
DOC = ".doc",
|
|
3
3
|
DOCX = ".docx",
|
|
4
4
|
XLS = ".xls",
|
|
5
|
+
XLSM = ".xlsm",
|
|
5
6
|
XLSX = ".xlsx",
|
|
6
7
|
ODS = ".ods",
|
|
7
8
|
XLT = ".xlt",
|
|
9
|
+
XLTM = ".xltm",
|
|
8
10
|
XLTX = ".xltx",
|
|
9
11
|
PPTX = ".pptx",
|
|
10
12
|
PPT = ".ppt",
|
|
@@ -16,5 +18,6 @@ export declare enum FileExtensions {
|
|
|
16
18
|
TIFF = ".tiff",
|
|
17
19
|
TIF = ".tif",
|
|
18
20
|
EMF = ".emf",
|
|
19
|
-
WMF = ".wmf"
|
|
21
|
+
WMF = ".wmf",
|
|
22
|
+
PDF = ".pdf"
|
|
20
23
|
}
|
|
@@ -25,7 +25,8 @@ import { BodyContainerProvider } from '@docsvision/webclient/Helpers/BodyContain
|
|
|
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
30
|
export declare class FilePreviewParams extends BaseControlParams {
|
|
30
31
|
/** Стандартный CSS класс со стилями элемента управления. */
|
|
31
32
|
standardCssClass?: string;
|
|
@@ -71,6 +72,8 @@ export declare class FilePreviewParams extends BaseControlParams {
|
|
|
71
72
|
errorInsideIframe?: boolean;
|
|
72
73
|
/** Ошибка доступа при рендере превью. */
|
|
73
74
|
forbiddenErrorInsideIframe?: boolean;
|
|
75
|
+
/** Кастомный просмотрщик файлов */
|
|
76
|
+
viewer?: IFileViewerConstructor | FileViewer;
|
|
74
77
|
/** Событие возникает перед открытием окна предварительного просмотра файла. */
|
|
75
78
|
beforeOpenCloseWindow?: CancelableApiEvent<IFilePreviewingArgs>;
|
|
76
79
|
/** Событие возникает после открытия окна предварительного просмотра файла. */
|
|
@@ -95,7 +98,7 @@ export declare class FilePreviewParams extends BaseControlParams {
|
|
|
95
98
|
beforeOpenCloseCommentsBlock?: CancelableApiEvent<IEventArgs>;
|
|
96
99
|
/** Событие возникает после открытия окна комментарии. */
|
|
97
100
|
afterOpenCloseCommentsBlock?: BasicApiEvent<IEventArgs>;
|
|
98
|
-
services?: $FilePreviewServices
|
|
101
|
+
services?: $FilePreviewServices;
|
|
99
102
|
}
|
|
100
103
|
export declare class FilePreview extends BaseControl<FilePreviewParams, IFilePreviewState> {
|
|
101
104
|
static bodyProvider: BodyContainerProvider;
|
|
@@ -8,6 +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 { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
11
|
+
import { FileViewer, IFileViewerConstructor } from '@docsvision/webclient/Platform/FileViewer';
|
|
11
12
|
export interface IFilePreviewState extends FilePreviewParams, BaseControlState {
|
|
12
13
|
defaultWidth: string;
|
|
13
14
|
height: string;
|
|
@@ -20,10 +21,10 @@ export interface IFilePreviewState extends FilePreviewParams, BaseControlState {
|
|
|
20
21
|
afterOpenCloseWindow: BasicApiEvent<IFilePreviewedArgs>;
|
|
21
22
|
fileItem: FileListItem;
|
|
22
23
|
files: FileListItem[];
|
|
23
|
-
pdfUrl: string;
|
|
24
24
|
isCommentsOpened: boolean;
|
|
25
25
|
wasClosed: boolean;
|
|
26
26
|
useR7Viewer: boolean;
|
|
27
|
+
viewer: IFileViewerConstructor | FileViewer;
|
|
27
28
|
}
|
|
28
29
|
export interface FilePreviewState extends IFilePreviewState {
|
|
29
30
|
}
|
|
@@ -58,11 +59,12 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
|
|
|
58
59
|
private rootLocationLayout;
|
|
59
60
|
private modalContentBlock;
|
|
60
61
|
constructor(props: FilePreviewParams, state: IFilePreviewState);
|
|
62
|
+
getViewer(services: any): FileViewer;
|
|
61
63
|
UNSAFE_componentWillMount(): void;
|
|
62
64
|
get isEditMode(): boolean;
|
|
63
65
|
get fileOpen(): boolean;
|
|
64
66
|
get isCommentsOpened(): boolean;
|
|
65
|
-
getTabIndex():
|
|
67
|
+
getTabIndex(): 0 | -1;
|
|
66
68
|
componentDidMount(): Promise<void>;
|
|
67
69
|
componentWillUnmount(): Promise<void>;
|
|
68
70
|
onFileListWasChanged: () => Promise<void>;
|
|
@@ -72,13 +74,11 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
|
|
|
72
74
|
showFilePreview: (showInModal?: boolean, version?: GenModels.VersionedFileModel) => Promise<void>;
|
|
73
75
|
closeFilePreviewInModal: () => Promise<void>;
|
|
74
76
|
showModalDialog(): void;
|
|
75
|
-
private onFrameLoaded;
|
|
76
77
|
previewInModal: () => JSX.Element;
|
|
77
78
|
previewInModalContent: () => JSX.Element;
|
|
78
79
|
addListenerToButton: () => void;
|
|
79
80
|
loadFileData: (version?: GenModels.VersionedFileModel) => Promise<void>;
|
|
80
81
|
checkAllowedPreviewExtension: (ext: string) => boolean;
|
|
81
|
-
isImageExtension: (ext: string) => boolean;
|
|
82
82
|
showPreviewArea: () => void;
|
|
83
83
|
canComment: () => boolean;
|
|
84
84
|
startDrag: (e: any) => void;
|
|
@@ -90,7 +90,6 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
|
|
|
90
90
|
startResizeComments: (e: any) => void;
|
|
91
91
|
resizeComments: (e: any) => void;
|
|
92
92
|
stopResizeComments: () => void;
|
|
93
|
-
private processFrameLoadErrors;
|
|
94
93
|
protected get canDownload(): boolean;
|
|
95
94
|
generateLinkTag: (url: string) => void;
|
|
96
95
|
getDownloadFileUrl: (targetVersion: any, currentVersion: any) => string;
|
|
@@ -103,11 +102,7 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
|
|
|
103
102
|
selectedID: string;
|
|
104
103
|
};
|
|
105
104
|
onCurrentFileChange: (selectedElement: IComboBoxElement) => Promise<void>;
|
|
106
|
-
getPdfJsPreview: () => JSX.Element;
|
|
107
|
-
getR7Preview: () => JSX.Element;
|
|
108
105
|
filePreviewDialog: () => JSX.Element;
|
|
109
|
-
private getR7ViewerUrl;
|
|
110
|
-
private getDocType;
|
|
111
106
|
private getFileId;
|
|
112
107
|
protected renderControl(): JSX.Element;
|
|
113
108
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { $FilePreviewServices, FilePreviewParams } from '@docsvision/webclient/Platform/FilePreview';
|
|
2
|
+
import { FilePreviewImpl, FilePreviewState, IFilePreviewState } from '@docsvision/webclient/Platform/FilePreviewImpl';
|
|
3
|
+
import { SyntheticEvent } from 'react';
|
|
4
|
+
export interface IFileViewerConstructor {
|
|
5
|
+
new (state: IFilePreviewState, props: FilePreviewParams, component: FilePreviewImpl): FileViewer;
|
|
6
|
+
}
|
|
7
|
+
export interface IFileViewerIframeElements {
|
|
8
|
+
errorWrapperId: string;
|
|
9
|
+
downloadButtonsId: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare abstract class FileViewer {
|
|
12
|
+
abstract services: $FilePreviewServices;
|
|
13
|
+
component: FilePreviewImpl;
|
|
14
|
+
constructor(state: FilePreviewState, props: FilePreviewParams, component: FilePreviewImpl);
|
|
15
|
+
getViewerUrl(): void;
|
|
16
|
+
getPreview(): void;
|
|
17
|
+
onFrameLoaded: (ev: SyntheticEvent<HTMLIFrameElement>, elements?: {
|
|
18
|
+
errorWrapperId: string;
|
|
19
|
+
downloadButtonsId: any[];
|
|
20
|
+
}) => void;
|
|
21
|
+
processFrameLoadErrors(iframe: HTMLIFrameElement, elements: IFileViewerIframeElements): void;
|
|
22
|
+
addObserver(frameDoc: Document, errorWrapperId: string): void;
|
|
23
|
+
addDownloadButtonHandlers(frameDoc: Document, downloadButtonsId: string[]): void;
|
|
24
|
+
}
|
|
@@ -23,8 +23,6 @@ export declare class FolderCardsDashboardWidgetParams extends PanelParams {
|
|
|
23
23
|
sortColumnName?: string;
|
|
24
24
|
/** Направление сортировки - если true, то по убыванию, иначе по возрастанию. */
|
|
25
25
|
sortDescending?: string;
|
|
26
|
-
/** Показывать Ленту вместо Грида*/
|
|
27
|
-
showListByDefault?: boolean;
|
|
28
26
|
/** Колличество карточек которые будут отображены. По умолчанию 5. */
|
|
29
27
|
cardsCount?: number;
|
|
30
28
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
@@ -35,7 +35,7 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
35
35
|
protected getInputProps(): {
|
|
36
36
|
readOnly: boolean;
|
|
37
37
|
ref?: React.LegacyRef<HTMLInputElement>;
|
|
38
|
-
key?:
|
|
38
|
+
key?: React.ReactText;
|
|
39
39
|
accept?: string;
|
|
40
40
|
alt?: string;
|
|
41
41
|
autoComplete?: string;
|
|
@@ -51,11 +51,11 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
51
51
|
formMethod?: string;
|
|
52
52
|
formNoValidate?: boolean;
|
|
53
53
|
formTarget?: string;
|
|
54
|
-
height?:
|
|
54
|
+
height?: React.ReactText;
|
|
55
55
|
list?: string;
|
|
56
|
-
max?:
|
|
56
|
+
max?: React.ReactText;
|
|
57
57
|
maxLength?: number;
|
|
58
|
-
min?:
|
|
58
|
+
min?: React.ReactText;
|
|
59
59
|
minLength?: number;
|
|
60
60
|
multiple?: boolean;
|
|
61
61
|
name?: string;
|
|
@@ -64,10 +64,10 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
64
64
|
required?: boolean;
|
|
65
65
|
size?: number;
|
|
66
66
|
src?: string;
|
|
67
|
-
step?:
|
|
67
|
+
step?: React.ReactText;
|
|
68
68
|
type?: string;
|
|
69
69
|
value?: string | number | readonly string[];
|
|
70
|
-
width?:
|
|
70
|
+
width?: React.ReactText;
|
|
71
71
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
72
72
|
defaultChecked?: boolean;
|
|
73
73
|
defaultValue?: string | number | readonly string[];
|
|
@@ -110,7 +110,7 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
110
110
|
results?: number;
|
|
111
111
|
security?: string;
|
|
112
112
|
unselectable?: "on" | "off";
|
|
113
|
-
inputMode?: "
|
|
113
|
+
inputMode?: "text" | "url" | "none" | "tel" | "email" | "numeric" | "decimal" | "search";
|
|
114
114
|
is?: string;
|
|
115
115
|
'aria-activedescendant'?: string;
|
|
116
116
|
'aria-atomic'?: boolean | "true" | "false";
|
|
@@ -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'?: "
|
|
128
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
129
129
|
'aria-errormessage'?: string;
|
|
130
130
|
'aria-expanded'?: boolean | "true" | "false";
|
|
131
131
|
'aria-flowto'?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDocType(fileExtension: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFileType(fileExtension: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isImageExtension: (ext: string) => boolean;
|
|
@@ -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" | "color" | "height" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "
|
|
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" | "color" | "height" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -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("
|
|
15
|
+
import("C:/Dev/WebC6.1/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;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { FileViewer } from '@docsvision/webclient/Platform/FileViewer';
|
|
4
|
+
import { $FilePreviewServices, FilePreviewParams } from "@docsvision/webclient/Platform/FilePreview";
|
|
5
|
+
import { FilePreviewImpl, FilePreviewState } from "@docsvision/webclient/Platform/FilePreviewImpl";
|
|
6
|
+
export declare class PdfjsViewer extends FileViewer {
|
|
7
|
+
services: $FilePreviewServices;
|
|
8
|
+
type: GenModels.FilePreviewMode;
|
|
9
|
+
constructor(state: FilePreviewState, props: FilePreviewParams, component: FilePreviewImpl);
|
|
10
|
+
getPreview: () => JSX.Element;
|
|
11
|
+
getViewerUrl(): string;
|
|
12
|
+
getFileUrl(): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { FileViewer } from '@docsvision/webclient/Platform/FileViewer';
|
|
4
|
+
import { $FilePreviewServices, FilePreviewParams } from "@docsvision/webclient/Platform/FilePreview";
|
|
5
|
+
import { FilePreviewImpl, FilePreviewState } from "@docsvision/webclient/Platform/FilePreviewImpl";
|
|
6
|
+
export declare class R7Viewer extends FileViewer {
|
|
7
|
+
services: $FilePreviewServices;
|
|
8
|
+
component: FilePreviewImpl;
|
|
9
|
+
type: GenModels.FilePreviewMode;
|
|
10
|
+
accessToken: string;
|
|
11
|
+
constructor(state: FilePreviewState, props: FilePreviewParams, component: FilePreviewImpl);
|
|
12
|
+
getPreview: () => JSX.Element;
|
|
13
|
+
}
|
|
@@ -18,8 +18,6 @@ export declare class RecentCardsDashboardWidgetParams extends PanelParams {
|
|
|
18
18
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
19
19
|
standardCssClass?: string;
|
|
20
20
|
opacity?: number;
|
|
21
|
-
/** Показывать Ленту вместо Грида*/
|
|
22
|
-
showListByDefault?: boolean;
|
|
23
21
|
services?: $PagesController & $GridController & $LayoutManager & $Layout & $LocationContainerControlServices & $ExperimentalFeature & $Router & $LayoutInfo;
|
|
24
22
|
}
|
|
25
23
|
/** @internal */
|
|
@@ -10,9 +10,9 @@ export declare class RecentCardsDashboardWidgetDataLoader extends DefaultFolderD
|
|
|
10
10
|
id: string;
|
|
11
11
|
constructor(services: $PagesController & $GridController & $LayoutInfo, widgetParams?: any);
|
|
12
12
|
load(request: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.GridViewModel>;
|
|
13
|
-
loadLayoutModel(requestData
|
|
13
|
+
loadLayoutModel(requestData: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.CardListViewModel>;
|
|
14
14
|
findControl(parent: GenModels.ControlModel, controlName: string): GenModels.ControlModel;
|
|
15
|
-
prepareRequest(originalRequest
|
|
15
|
+
prepareRequest(originalRequest: GenModels.CardListRequestModel): GenModels.CardListRequestModel;
|
|
16
16
|
protected getRequestOptions(isMobile: boolean): RequestOptions;
|
|
17
17
|
prepareResponse(model: GenModels.GridViewModelEx): GenModels.GridViewModelEx;
|
|
18
18
|
}
|
|
@@ -17,6 +17,7 @@ export declare class ScanButtonImpl extends BaseControlImpl<ScanButtonParams, IS
|
|
|
17
17
|
set scanCommandBarExpanded(val: boolean);
|
|
18
18
|
set mainFilesExpanded(val: boolean);
|
|
19
19
|
protected getCssClass(): string;
|
|
20
|
+
isLinuxOS(): boolean;
|
|
20
21
|
onToggleTableClick(main: boolean): void;
|
|
21
22
|
onToggleCommandBarClick(ev?: React.MouseEvent): void;
|
|
22
23
|
onAddClick(main: boolean, ev?: React.MouseEvent): Promise<void>;
|
|
@@ -37,7 +37,7 @@ export declare class ScanDialogService implements IScanDialog {
|
|
|
37
37
|
get isOpen(): boolean;
|
|
38
38
|
private onClose;
|
|
39
39
|
private onSave;
|
|
40
|
-
protected getTabIndex():
|
|
40
|
+
protected getTabIndex(): 0 | -1;
|
|
41
41
|
onScannerChange: (selectedElement: IComboBoxElement) => void;
|
|
42
42
|
onResolutionChange: (selectedElement: IComboBoxElement) => void;
|
|
43
43
|
onColorChange: (changeEvent: React.FormEvent<any>) => void;
|
|
@@ -3,4 +3,4 @@ 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" | "color" | "height" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "
|
|
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" | "color" | "height" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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("
|
|
31
|
+
import("C:/Dev/WebC6.1/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;
|
|
@@ -62,7 +62,7 @@ import("effector").Event<boolean>;
|
|
|
62
62
|
getGridUserDataFx:
|
|
63
63
|
import("effector").Effect<string, {
|
|
64
64
|
settings: GenModels.GridUserSettingsData;
|
|
65
|
-
|
|
65
|
+
filteredColumns: GenModels.ViewColumnModel[];
|
|
66
66
|
}, Error>;
|
|
67
67
|
saveGridUserSettingsFx:
|
|
68
68
|
import("effector").Effect<void, void, Error>;
|
package/Platform/Table.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
|
14
14
|
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
15
15
|
import { Optional } from '@docsvision/web/core/services';
|
|
16
16
|
import { SaveControlDataModelEventArgs } from '@docsvision/webclient/System/Layout';
|
|
17
|
+
import { IRowInfo } from "@docsvision/webclient/Platform/IRowInfo";
|
|
17
18
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
18
19
|
/**
|
|
19
20
|
* Содержит публичные свойства элемента управления [Таблица]{@link Table}.
|
|
@@ -144,10 +145,19 @@ export declare class Table extends Panel<TableParams, ITableState> {
|
|
|
144
145
|
* @param rowId Идентификатор удаляемой строки
|
|
145
146
|
*/
|
|
146
147
|
removeRow(rowId: string): Promise<Table>;
|
|
148
|
+
/**
|
|
149
|
+
* Удалить все строки таблицы
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
clear(): Promise<void>;
|
|
147
153
|
/** Включает режим отложенных изменений, при котором добавление и удаление строк не сохраняется на сервер сразу при вызове методов. */
|
|
148
154
|
beginEdit(): void;
|
|
149
155
|
/** Выключает режим отложенных изменений и сохраняет произведенные правки, если необходимо. */
|
|
150
156
|
endEdit(): Promise<this>;
|
|
157
|
+
/** Изменяет порядок строк. */
|
|
158
|
+
reorderRows(newOrder: string[], sortedItems: string[]): void;
|
|
159
|
+
/** Получает информацию о строках таблицы */
|
|
160
|
+
getRowsInfo(): IRowInfo[];
|
|
151
161
|
/** Получает информацию о текущем порядке строк. */
|
|
152
162
|
getRowsOrder(): string[];
|
|
153
163
|
/** @internal */
|
package/Platform/TableImpl.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare class TableImpl extends PanelImpl<TableParams, ITableState> {
|
|
|
70
70
|
*/
|
|
71
71
|
protected checkRowIsEmpty(rowIndex: number): boolean;
|
|
72
72
|
removeRowInternal(rowIndex: number, isEmpty?: boolean): Promise<Table>;
|
|
73
|
+
clear: () => Promise<void>;
|
|
73
74
|
protected onRemoveRowClick(row: IRowInfo): void;
|
|
74
75
|
protected onEditRowClick(row: IRowInfo): void;
|
|
75
76
|
protected getCssClass(): string;
|
|
@@ -18,14 +18,14 @@ import("react").RefAttributes<HTMLDivElement>>;
|
|
|
18
18
|
clearButton: typeof ClearButton;
|
|
19
19
|
textInput:
|
|
20
20
|
import("react").ForwardRefExoticComponent<Pick<
|
|
21
|
-
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "
|
|
21
|
+
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> &
|
|
22
22
|
import("react").RefAttributes<HTMLInputElement>>;
|
|
23
23
|
wrapper: typeof TextListInputWrapper;
|
|
24
24
|
content: typeof ListContent;
|
|
25
25
|
item: typeof ListItem;
|
|
26
26
|
checkbox:
|
|
27
27
|
import("react").ForwardRefExoticComponent<Pick<
|
|
28
|
-
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "
|
|
28
|
+
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> &
|
|
29
29
|
import("react").RefAttributes<HTMLInputElement>>;
|
|
30
30
|
empty: typeof ListEmpty;
|
|
31
31
|
icon: typeof ListEmptySearchIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IUnreadBarService } from '@docsvision/webclient/Platform/$UnreadBar';
|
|
2
|
-
import { $
|
|
2
|
+
import { $BaseCardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
3
|
import { PerformOnce } from '@docsvision/webclient/Legacy/Utils';
|
|
4
4
|
import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
|
|
5
5
|
import { IRowData } from '@docsvision/web/components/table/interfaces';
|
|
@@ -12,6 +12,6 @@ export declare class UnreadBarService implements IUnreadBarService {
|
|
|
12
12
|
private services;
|
|
13
13
|
performOnce: PerformOnce;
|
|
14
14
|
rowToggled: Event<IRowData>;
|
|
15
|
-
constructor(services: $
|
|
15
|
+
constructor(services: $BaseCardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder);
|
|
16
16
|
toggleUnread(rowData: IRowData): Promise<any>;
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
2
2
|
import { $UnreadBar } from '@docsvision/webclient/Platform/$UnreadBar';
|
|
3
|
-
import { $
|
|
3
|
+
import { $BaseCardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
4
4
|
import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
|
|
5
5
|
import { TablePlugins, ITablePlugins } from '@docsvision/web/components/table/interfaces';
|
|
6
6
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
@@ -11,7 +11,7 @@ export declare const UnreadBarFeature = "UnreadBarFeature";
|
|
|
11
11
|
export declare const UNREAD_BAR_COLUMN_VISIBILITY = "UnreadBarVisibility";
|
|
12
12
|
export declare const UnreadBarTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
13
13
|
export declare const UnreadBarListViewTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
14
|
-
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $
|
|
14
|
+
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $BaseCardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder>;
|
|
15
15
|
export declare const UnreadBarTableRowMountEffect: TablePlugins.Row.MountEffect<$ApplicationSettings & $UnreadBar>;
|
|
16
16
|
export declare const UnreadBarTableRowDecorator: TablePlugins.Row.Decorator<$ApplicationSettings & $UnreadBar>;
|
|
17
17
|
export declare const UnreadBarTableHeaderCellPlugin: TablePlugins.HeaderCell.Component<$ApplicationSettings>;
|