@docsvision/webclient 5.17.0-beta.16 → 5.17.0-beta.17
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/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/EmailButtonView.d.ts +1 -1
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +3 -0
- package/BackOffice/FileListControlLogic.d.ts +3 -0
- package/BackOffice/FileListItemComponent.d.ts +1 -0
- package/BackOffice/HistoryView.d.ts +1 -1
- package/BackOffice/IExtraFileAddedArgs.d.ts +2 -0
- package/BackOffice/IExtraFileDeletedArgs.d.ts +2 -0
- package/BackOffice/IFileListRow.d.ts +4 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +2 -0
- package/BackOffice/IFileOpenedArgs.d.ts +2 -0
- package/BackOffice/IFileOpeningArgs.d.ts +2 -0
- package/BackOffice/IFilePreviewedArgs.d.ts +2 -0
- package/BackOffice/IFilePreviewingArgs.d.ts +2 -0
- package/BackOffice/IFileSignUploadingArgs.d.ts +2 -0
- package/BackOffice/IFileVersionDownloadedArgs.d.ts +2 -0
- package/BackOffice/IFileVersionUploadedArgs.d.ts +2 -0
- package/BackOffice/IFileVersionUploadingArgs.d.ts +2 -0
- package/BackOffice/IFileVisualizedArgs.d.ts +2 -0
- package/BackOffice/IFileVisualizingArgs.d.ts +2 -0
- package/BackOffice/ILinkEventArgs.d.ts +2 -0
- package/BackOffice/ILinkRow.d.ts +3 -0
- package/BackOffice/IMainFileAddedArgs.d.ts +2 -0
- package/BackOffice/IMainFileDeletedArgs.d.ts +2 -0
- package/BackOffice/IRowClickArgs.d.ts +6 -0
- package/BackOffice/ITaskListItemProps.d.ts +1 -0
- package/BackOffice/ITaskListProps.d.ts +3 -0
- package/BackOffice/ITaskRowClickEventArgs.d.ts +5 -0
- package/BackOffice/Links.d.ts +2 -0
- package/BackOffice/LinksImpl.d.ts +3 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskListComponent.d.ts +3 -0
- package/BackOffice/Tasks.d.ts +3 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Helpers/Table/TableHelperRow.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/DateTimePickerImpl.d.ts +0 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/package.json +1 -1
|
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, IS
|
|
|
37
37
|
unselectAll(): Promise<void>;
|
|
38
38
|
protected headerCell:
|
|
39
39
|
import("styled-components").StyledComponent<(props:
|
|
40
|
-
import("C:/
|
|
40
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected taskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected selectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected fileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("C:/
|
|
50
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected selectAllCheckboxLabel:
|
|
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
|
|
|
6
6
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
7
7
|
export declare const Item:
|
|
8
8
|
import("styled-components").StyledComponent<(props:
|
|
9
|
-
import("C:/
|
|
9
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -55,10 +55,10 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
|
|
|
55
55
|
export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, DirectoryDesignerRowState<ValueT>> {
|
|
56
56
|
protected createParams(): DirectoryDesignerRowParams<ValueT>;
|
|
57
57
|
protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
|
|
58
|
-
import("C:/
|
|
59
|
-
import("C:/
|
|
60
|
-
import("C:/
|
|
61
|
-
import("C:/
|
|
58
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
59
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
60
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
61
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType;
|
|
62
62
|
private set DirectoryDesignerRowBinding(value);
|
|
63
63
|
private set binding(value);
|
|
64
64
|
private set directoryDataSource(value);
|
|
@@ -42,7 +42,7 @@ export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<Director
|
|
|
42
42
|
protected getTextValue(): string;
|
|
43
43
|
protected renderInto(props: DirectoryDesignerRowParams, container: HTMLElement): void;
|
|
44
44
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, DirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
|
|
46
46
|
protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
|
|
47
47
|
canShowDictionary(): boolean;
|
|
48
48
|
protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
|
|
@@ -59,7 +59,7 @@ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase
|
|
|
59
59
|
protected getIconClassName(): "open-dictionary-button-icon dv-ico dv-ico-dictionary" | "dv-ico dv-ico-directory-node" | "dv-ico dv-ico-row";
|
|
60
60
|
protected onIconClick(): void;
|
|
61
61
|
protected getTypeaheadProps():
|
|
62
|
-
import("C:/
|
|
62
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
|
|
63
63
|
ref: any;
|
|
64
64
|
};
|
|
65
65
|
protected focusInput: () => void;
|
|
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
|
|
|
13
13
|
import("./components/DirectorySearchContent").IDirectorySearchContentProps, "data" | "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "opened" | "hidden" | "draggable" | "id" | "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" | "onSubmit" | "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" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "renderContent"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
iconButton: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/Users/sorokin.v/rep/WebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -3,7 +3,7 @@ export declare class EmailButtonView {
|
|
|
3
3
|
button: (props:
|
|
4
4
|
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
5
5
|
buttonDialog: (props:
|
|
6
|
-
import("C:/
|
|
6
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
7
7
|
modalDialog: (props:
|
|
8
8
|
import("@docsvision/web/components/modals/modal-dialog").ModalDialogProps) => JSX.Element;
|
|
9
9
|
item: (props:
|
|
@@ -38,7 +38,7 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
38
38
|
private attachRoot;
|
|
39
39
|
DialogBox:
|
|
40
40
|
import("styled-components").StyledComponent<(props:
|
|
41
|
-
import("C:/
|
|
41
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
42
42
|
close(): void;
|
|
43
43
|
onMaximize: () => void;
|
|
44
44
|
render(): JSX.Element;
|
|
@@ -53,6 +53,7 @@ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignatur
|
|
|
53
53
|
import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
|
|
54
54
|
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
55
55
|
import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
56
|
+
import { IRowClickArgs } from "@docsvision/webclient/BackOffice/IRowClickArgs";
|
|
56
57
|
/**
|
|
57
58
|
* Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
|
|
58
59
|
*/
|
|
@@ -176,6 +177,8 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
176
177
|
expanded?: BasicApiEvent<IEventArgs>;
|
|
177
178
|
/** Событие возникает при сохранении файла в WebDAV. */
|
|
178
179
|
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
180
|
+
/** Событие возникает при клике на строку таблицы. */
|
|
181
|
+
rowClick?: BasicApiEvent<IRowClickArgs>;
|
|
179
182
|
/** Сервисы. */
|
|
180
183
|
services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $CloudSignature & $CryptoPro & $LocalStorage & $SignatureMethodsController & $DigitalSignature & $LayoutManager & $LayoutInfo;
|
|
181
184
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/// <reference types="jquery" />
|
|
3
3
|
import { FileListAttachedElements } from "@docsvision/webclient/BackOffice/FileListAttachElements";
|
|
4
4
|
import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
|
|
5
|
+
import { IFileListRow } from "@docsvision/webclient/BackOffice/IFileListRow";
|
|
5
6
|
import { FileListControlParams } from "@docsvision/webclient/BackOffice/FileListControl";
|
|
6
7
|
import { FileListControlImpl, FileListImplState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
7
8
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
@@ -51,6 +52,7 @@ export declare class FileListControlLogic {
|
|
|
51
52
|
protected updateVersionsOnLoad(appendFiles?: boolean): void;
|
|
52
53
|
closeAllMenusBut(fileItem: FileListItem): void;
|
|
53
54
|
fileMenuOpening(fileItem: FileListItem, data: any): Promise<any>;
|
|
55
|
+
rowClick(fileItem: FileListItem, data: any): Promise<any>;
|
|
54
56
|
removeFileItem(index: number): void;
|
|
55
57
|
clearFileItems(): void;
|
|
56
58
|
protected get state(): FileListImplState;
|
|
@@ -65,4 +67,5 @@ export declare class FileListControlLogic {
|
|
|
65
67
|
protected processResponse(responseData: GenModels.FileListDataModel, deferred: DVPromise<any>, uploadingItems: FileListItem[], areVersions?: boolean): void;
|
|
66
68
|
protected getItemsToUpload(): FileListItem[];
|
|
67
69
|
isSignatureFile(fileName: string): boolean;
|
|
70
|
+
protected getFileListRow(fileItem: FileListItem): IFileListRow;
|
|
68
71
|
}
|
|
@@ -30,6 +30,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
|
|
|
30
30
|
onUnlockOperationClick(fileItem: FileListItem): void;
|
|
31
31
|
protected onDeleteOperationClick(fileItem: FileListItem): void;
|
|
32
32
|
protected onFileMenuClick(fileItem: FileListItem): Promise<void>;
|
|
33
|
+
protected onRowClick(fileItem: FileListItem): Promise<void>;
|
|
33
34
|
protected onDownloadOperationClick(fileItem: FileListItem): void;
|
|
34
35
|
protected onViewWithSignaturesClick(fileItem: FileListItem): void;
|
|
35
36
|
onAddCommentClick(fileItem: FileListItem): void;
|
|
@@ -47,7 +47,7 @@ export declare class HistoryView extends React.Component<HistoryViewProps, Histo
|
|
|
47
47
|
componentDidMount(): void;
|
|
48
48
|
loadRecords(authorNameFilter?: string, dateFilter?: Date, eventSearch?: string, pageSize?: number): Promise<GenModels.HistorySearchResult>;
|
|
49
49
|
loadNextPage(pageSize?: number): Promise<GenModels.HistorySearchResult>;
|
|
50
|
-
reload(
|
|
50
|
+
reload(): void;
|
|
51
51
|
onRecordsChanged(): void;
|
|
52
52
|
isScrolledDown(elem: HTMLElement): boolean;
|
|
53
53
|
loadIfScrollDown(): void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
|
|
2
2
|
import { IFileMenuItem } from "@docsvision/webclient/BackOffice/IFileMenuItem";
|
|
3
|
+
import { IFileListRow } from "@docsvision/webclient/BackOffice/IFileListRow";
|
|
3
4
|
export interface IFileMenuOpeningArgs {
|
|
4
5
|
fileItem: IFileListItem;
|
|
5
6
|
fileMenuItems: IFileMenuItem[];
|
|
7
|
+
row: IFileListRow;
|
|
6
8
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
|
|
2
|
+
import { IFileListRow } from "@docsvision/webclient/BackOffice/IFileListRow";
|
|
2
3
|
export interface IFileSignUploadingArgs {
|
|
3
4
|
fileItem: IFileListItem;
|
|
4
5
|
file: File;
|
|
6
|
+
row: IFileListRow;
|
|
5
7
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
|
|
2
|
+
import { IFileListRow } from "@docsvision/webclient/BackOffice/IFileListRow";
|
|
2
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
4
|
export interface IFileVersionUploadedArgs {
|
|
4
5
|
fileItem: IFileListItem;
|
|
5
6
|
version: GenModels.VersionedFileModel;
|
|
7
|
+
row: IFileListRow;
|
|
6
8
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
|
|
2
|
+
import { IFileListRow } from "@docsvision/webclient/BackOffice/IFileListRow";
|
|
2
3
|
export interface IFileVersionUploadingArgs {
|
|
3
4
|
fileItem: IFileListItem;
|
|
4
5
|
file: File;
|
|
6
|
+
row: IFileListRow;
|
|
5
7
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ILinkItem } from "@docsvision/webclient/BackOffice/ILinkItem";
|
|
2
|
+
import { ILinkRow } from "@docsvision/webclient/BackOffice/ILinkRow";
|
|
2
3
|
/** Используется в событиях контрола {@link Links} */
|
|
3
4
|
export interface ILinkEventArgs {
|
|
4
5
|
linkItem: ILinkItem;
|
|
6
|
+
row: ILinkRow;
|
|
5
7
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { ITaskRowClickEventArgs } from "@docsvision/webclient/BackOffice/ITaskRowClickEventArgs";
|
|
1
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
2
4
|
import { $RouterNavigation } from '@docsvision/webclient/System/$Router';
|
|
3
5
|
/** @internal */
|
|
4
6
|
export interface ITaskListProps {
|
|
@@ -8,5 +10,6 @@ export interface ITaskListProps {
|
|
|
8
10
|
itemsLoading?: boolean;
|
|
9
11
|
itemsCount: number;
|
|
10
12
|
openMode: GenModels.TasksOpenMode;
|
|
13
|
+
rowclick: BasicApiEvent<ITaskRowClickEventArgs>;
|
|
11
14
|
services: $RouterNavigation;
|
|
12
15
|
}
|
package/BackOffice/Links.d.ts
CHANGED
|
@@ -157,6 +157,8 @@ export declare class LinksParams extends PanelParams {
|
|
|
157
157
|
batchOperationsModeToggled?: BasicApiEvent<boolean>;
|
|
158
158
|
/** Событие возникает после загрузки данных контрола (актуально при асинхронной загрузке данных). */
|
|
159
159
|
dataLoaded?: BasicApiEvent<IEventArgs>;
|
|
160
|
+
/** Событие возникает при клике на строку таблицы. */
|
|
161
|
+
rowClick?: CancelableApiEvent<ILinkEventArgs>;
|
|
160
162
|
/** Сервисы */
|
|
161
163
|
services?: $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & Optional<$LinksSearchCards> & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & Optional<$FilePreview>;
|
|
162
164
|
}
|
|
@@ -13,6 +13,7 @@ import React from "react";
|
|
|
13
13
|
import { $LinksSearchCards } from '@docsvision/webclient/BackOffice/$LinksSearchCardsService';
|
|
14
14
|
import { $LayoutLinksController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
15
15
|
import { $CardTimestamp, $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
16
|
+
import { ILinkRow } from "@docsvision/webclient/BackOffice/ILinkRow";
|
|
16
17
|
/** @internal */
|
|
17
18
|
export interface LinksState extends LinksParams, IPanelState {
|
|
18
19
|
sourceLayoutMode: string;
|
|
@@ -64,6 +65,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
|
|
|
64
65
|
protected onDocumentClick(ev: any): void;
|
|
65
66
|
protected onLinkClick(linkItem: LinkItem, ev?: React.MouseEvent): void;
|
|
66
67
|
protected processBatchModeEnablingRowClick(linkItem: LinkItem, ev: React.MouseEvent): boolean;
|
|
68
|
+
protected onRowClick(linkItem: LinkItem, ev: React.MouseEvent): void;
|
|
67
69
|
protected makeLinkUrl(url: string): string;
|
|
68
70
|
onHeaderClick(): void;
|
|
69
71
|
protected onCollapsed(): void;
|
|
@@ -142,4 +144,5 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
|
|
|
142
144
|
renderControl(): JSX.Element;
|
|
143
145
|
openFilePreview(linkItem: LinkItem): void;
|
|
144
146
|
getLinkUrl(linkItem: LinkItem): string;
|
|
147
|
+
getLinkRow(linkItem: LinkItem): ILinkRow;
|
|
145
148
|
}
|
|
@@ -69,8 +69,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
69
69
|
export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
|
|
70
70
|
/** @internal */
|
|
71
71
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
72
|
-
import("C:/
|
|
73
|
-
import("C:/
|
|
72
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
73
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
74
74
|
/** @internal */
|
|
75
75
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
76
76
|
private set partnerBindingHandler(value);
|
|
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
39
39
|
export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
|
|
40
40
|
/** @internal */
|
|
41
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
44
|
-
import("C:/
|
|
42
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
45
45
|
/** @internal */
|
|
46
46
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
47
47
|
init(): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class PrintButtonView {
|
|
3
3
|
dropdownButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -82,7 +82,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
|
|
|
82
82
|
private set binding(value);
|
|
83
83
|
private set defaultEmployeeBinding(value);
|
|
84
84
|
get inputChanged():
|
|
85
|
-
import("C:/
|
|
85
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
86
86
|
/** @covered */
|
|
87
87
|
get inputText(): string;
|
|
88
88
|
/** @covered */
|
|
@@ -64,7 +64,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
64
64
|
private shouldShowFavorites;
|
|
65
65
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
66
66
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
67
|
-
import("C:/
|
|
67
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
68
68
|
protected onEditPopoverShowed(control: any): void;
|
|
69
69
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
70
70
|
protected onIconClick(): void;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ITaskListProps } from "@docsvision/webclient/BackOffice/ITaskListProps";
|
|
2
2
|
import { ITaskListState } from "@docsvision/webclient/BackOffice/ITaskListState";
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
4
|
import React from "react";
|
|
5
|
+
export declare const TASK_ROW_ID_PREFIX = "task-id";
|
|
4
6
|
/** @internal */
|
|
5
7
|
export declare class TaskListComponent extends React.Component<ITaskListProps, ITaskListState> {
|
|
6
8
|
protected refItems: HTMLElement;
|
|
7
9
|
constructor(props: any);
|
|
8
10
|
UNSAFE_componentWillReceiveProps(newProps: any): void;
|
|
9
11
|
protected getTaskListItems(): JSX.Element[];
|
|
12
|
+
protected onRowClick(task: GenModels.TaskDataModel): void;
|
|
10
13
|
protected getClassName(): string;
|
|
11
14
|
protected getLoaderWidth(i: number): number;
|
|
12
15
|
protected renderEmptyItemList(): any[] | JSX.Element;
|
package/BackOffice/Tasks.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ITaskCreatingEventArgs } from "@docsvision/webclient/BackOffice/ITaskCreatingEventArgs";
|
|
2
|
+
import { ITaskRowClickEventArgs } from "@docsvision/webclient/BackOffice/ITaskRowClickEventArgs";
|
|
2
3
|
import { TasksImpl, ITasksState } from "@docsvision/webclient/BackOffice/TasksImpl";
|
|
3
4
|
import { $LayoutController, $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
5
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
@@ -55,6 +56,8 @@ export declare class TasksParams extends BaseControlParams {
|
|
|
55
56
|
taskCreating?: CancelableApiEvent<ITaskCreatingEventArgs>;
|
|
56
57
|
/** Событие, возникающее после того, как задания загружены (при асинхронной загрузке событие возникает после открытия разметки). */
|
|
57
58
|
onTasksLoaded?: BasicApiEvent<GenModels.TaskDataModel[]>;
|
|
59
|
+
/** Событие возникает при клике на строку таблицы. */
|
|
60
|
+
rowClick?: BasicApiEvent<ITaskRowClickEventArgs>;
|
|
58
61
|
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
|
|
59
62
|
}
|
|
60
63
|
/**
|
|
@@ -20,16 +20,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
|
|
|
20
20
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
21
21
|
export declare class TasksTableView {
|
|
22
22
|
mainButton: (props:
|
|
23
|
-
import("C:/
|
|
23
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
24
24
|
dialog: (props:
|
|
25
|
-
import("C:/
|
|
25
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
|
|
26
26
|
controlWrapper: typeof TasksTableControlWrapper;
|
|
27
27
|
ribbon: typeof TasksTableRibbon;
|
|
28
28
|
ribbonGroup:
|
|
29
29
|
import("styled-components").StyledComponent<"div", any, {
|
|
30
30
|
className: string;
|
|
31
31
|
} &
|
|
32
|
-
import("C:/
|
|
32
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
33
33
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
34
34
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
35
35
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
@@ -54,7 +54,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
54
54
|
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
55
55
|
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
56
56
|
getSelection():
|
|
57
|
-
import("C:/
|
|
57
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
58
58
|
clearSelection(cardIds?: string[]): void;
|
|
59
59
|
selectionChanged: SimpleEvent<any>;
|
|
60
60
|
protected addActionButtons(header: HTMLElement): void;
|
|
@@ -14,10 +14,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
|
|
|
14
14
|
constructor(props: PropsT, state?: StateT);
|
|
15
15
|
UNSAFE_componentWillMount(): void;
|
|
16
16
|
onSelecting():
|
|
17
|
-
import("C:/
|
|
17
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
18
18
|
onSelected(): void;
|
|
19
19
|
onToggling():
|
|
20
|
-
import("C:/
|
|
20
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
21
21
|
onToggled(): void;
|
|
22
22
|
protected onClick(event: React.MouseEvent): void;
|
|
23
23
|
protected getCssClass(): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class CertificateSettingsView {
|
|
3
3
|
setup: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/BackOffice/Dialogs/SignatureMethodsSetup/SignatureMethodsSetup").ISignatureMethodsSetupProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -52,7 +52,6 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
|
|
|
52
52
|
constructor(props: DateTimePickerParams, state: IDateTimePickerState);
|
|
53
53
|
componentDidMount(): Promise<void>;
|
|
54
54
|
getColor: () => "#7BB652" | "rgba(0, 149, 218, 0.8)" | "#3B4C60" | "#0095da" | "#7bb652";
|
|
55
|
-
protected setDefaultCurrentDate(): void;
|
|
56
55
|
protected initializeCultureSettings(): void;
|
|
57
56
|
protected setEditInPlaceWidth(element: Element): void;
|
|
58
57
|
protected getMask(date: string): string;
|
|
@@ -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("C:/
|
|
15
|
+
import("C:/Users/sorokin.v/rep/WebClient/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;
|
|
@@ -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("C:/
|
|
31
|
+
import("C:/Users/sorokin.v/rep/WebClient/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;
|
|
@@ -25,7 +25,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
|
|
|
25
25
|
private attachRoot;
|
|
26
26
|
DialogBox:
|
|
27
27
|
import("styled-components").StyledComponent<(props:
|
|
28
|
-
import("C:/
|
|
28
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
29
29
|
close(): void;
|
|
30
30
|
render(): JSX.Element;
|
|
31
31
|
}
|
|
@@ -77,10 +77,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
|
|
|
77
77
|
protected modalHost: CommonModalDialogHost;
|
|
78
78
|
static SimpleItemView:
|
|
79
79
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
80
|
-
import("C:/
|
|
80
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
81
81
|
static SimpleItemViewCompact:
|
|
82
82
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
83
|
-
import("C:/
|
|
83
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
84
84
|
/** @internal */
|
|
85
85
|
state: StateT;
|
|
86
86
|
searchInput: HTMLInputElement;
|