@docsvision/webclient 5.17.0-beta.19 → 5.17.0-beta.20
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/Account/ImportReact.d.ts +1 -0
- package/Account/LoginLogic.d.ts +4 -0
- package/Account/LoginPage.d.ts +1 -0
- package/Account/index.d.ts +1 -1
- package/BackOffice/$DigitalSignature.d.ts +1 -1
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/CardKindImpl.d.ts +1 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +2 -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/FileListBuiltInOperations.d.ts +1 -0
- package/BackOffice/FileListConstants.d.ts +0 -3
- package/BackOffice/FileListControl.d.ts +3 -2
- package/BackOffice/FileListControlImpl.d.ts +8 -0
- package/BackOffice/FileListItemProps.d.ts +2 -2
- package/BackOffice/Links.d.ts +2 -2
- package/BackOffice/LinksSearchCardsService.d.ts +2 -2
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SetCharacterLimits.d.ts +2 -0
- package/BackOffice/SignatureButtonLogic.d.ts +1 -2
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectoryTreeAddButton.d.ts +1 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +25 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +49 -1
- package/Helpers/HighlightedSearchResult.d.ts +2 -0
- package/Helpers/LabeledText.d.ts +1 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +2 -0
- package/Helpers/Typeahead/ITypeaheadState.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GlobalResourcesFallback.d.ts +0 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +2 -1
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +2 -2
- package/Platform/ApprovalVisualizationOptions.d.ts +4 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CardLink.d.ts +19 -5
- package/Platform/CardLinkImpl.d.ts +42 -8
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/FileExtensions.d.ts +20 -0
- package/Platform/FilePickerImpl.d.ts +5 -0
- package/Platform/FilePreview.d.ts +3 -3
- package/Platform/FilePreviewImpl.d.ts +7 -1
- package/Platform/FolderHelpPlugins.d.ts +1 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/QueryCondition.d.ts +2 -2
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/System/BindingMetadataConstants.d.ts +6 -0
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/InputBasedControlImpl.d.ts +1 -1
- package/System/ResourcesStub.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/Account/LoginLogic.d.ts
CHANGED
|
@@ -41,8 +41,12 @@ import("effector").Store<boolean>;
|
|
|
41
41
|
import("effector").Store<string>;
|
|
42
42
|
$formDisabled:
|
|
43
43
|
import("effector").Store<boolean>;
|
|
44
|
+
$urlSearchParamUserName:
|
|
45
|
+
import("effector").Store<string>;
|
|
44
46
|
$providersUpdate:
|
|
45
47
|
import("effector").Store<[ILoginProvider[], ILoginProvider[]]>;
|
|
48
|
+
clearInputs:
|
|
49
|
+
import("effector").Event<void>;
|
|
46
50
|
constructor();
|
|
47
51
|
submitForm:
|
|
48
52
|
import("effector").Effect<unknown, any, Error>;
|
package/Account/LoginPage.d.ts
CHANGED
package/Account/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare type AutoCompleteOptions = Partial<{
|
|
|
44
44
|
password: string;
|
|
45
45
|
form: string;
|
|
46
46
|
}>;
|
|
47
|
-
export declare enum LoginEvents {
|
|
47
|
+
export declare const enum LoginEvents {
|
|
48
48
|
LogicEventConstructor = "LogicEventConstructor",
|
|
49
49
|
LogicEventBeforeFormSubmit = "LogicEventBeforeFormSubmit",
|
|
50
50
|
LogicEventAfterFormSubmit = "LogicEventAfterFormSubmit",
|
|
@@ -85,7 +85,7 @@ export interface IDigitalSignatureService {
|
|
|
85
85
|
/** Стандартный метод формирования подписи задания. */
|
|
86
86
|
createTaskSignature(options: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
87
87
|
/** Стандартный метод прикрепления подписи к документу. */
|
|
88
|
-
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<
|
|
88
|
+
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<GenModels.AttachSignatureResponse>;
|
|
89
89
|
/** Отображает диалог журнала подписи. */
|
|
90
90
|
showDocumentSignatureListDialog(documentId: string): Promise<ModalHost>;
|
|
91
91
|
/** Отображает диалог настроек подписания. */
|
|
@@ -13,7 +13,7 @@ export declare class AuthenticationKindsView {
|
|
|
13
13
|
textBox: typeof AuthenticationKindsTextBox;
|
|
14
14
|
checkBox: typeof CheckBox;
|
|
15
15
|
label: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
|
|
17
17
|
button: (props:
|
|
18
18
|
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
19
19
|
}
|
|
@@ -18,6 +18,7 @@ export interface CardKindState extends CardKindParams, InputBasedControlState<Ge
|
|
|
18
18
|
/** cardKindsTree и cardKindsList это всегда одна и та же модель, но в одном случае она древовидна, а в другом сплющенная */
|
|
19
19
|
cardKindsList: CardKindTreeNodeModel[];
|
|
20
20
|
selectKindModalOpen: boolean;
|
|
21
|
+
displayIcon: boolean;
|
|
21
22
|
}
|
|
22
23
|
/** @internal */
|
|
23
24
|
export declare class CardKindImpl extends InputBasedControlImpl<GenModels.CardKindModel, CardKindParams, CardKindState> {
|
|
@@ -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:/dev/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:/dev/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:/dev/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:/dev/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>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ISignatureDialogProps } from '@docsvision/webclient/BackOffice/SignatureDialog';
|
|
2
2
|
import { AfterSignatureDialogShowEventArgs, BeforeSignatureDialogShowEventArgs, IDigitalSignatureService, IDigitalSignOptions, IEncryptedInfo, ISignatureDialogOptions, ITaskEncryptedInfo } from '@docsvision/webclient/BackOffice/$DigitalSignature';
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
4
|
import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
|
|
4
5
|
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from '@docsvision/webclient/StandardServices';
|
|
5
6
|
import { $MessageWindow } from '@docsvision/web/components/modals/message-box';
|
|
@@ -30,7 +31,7 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
|
|
|
30
31
|
getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
|
|
31
32
|
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
32
33
|
createTaskSignature(options: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
33
|
-
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<
|
|
34
|
+
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<GenModels.AttachSignatureResponse>;
|
|
34
35
|
showDocumentSignatureListDialog(documentId: string): Promise<ModalHost>;
|
|
35
36
|
localSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
36
37
|
pkiClientSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
59
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
60
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
61
|
+
import("C:/dev/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);
|
|
@@ -43,7 +43,7 @@ export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<Director
|
|
|
43
43
|
protected getTextValue(): string;
|
|
44
44
|
protected renderInto(props: DirectoryDesignerRowParams, container: HTMLElement): void;
|
|
45
45
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
46
|
-
import("C:/
|
|
46
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, DirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
|
|
47
47
|
protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
|
|
48
48
|
canShowDictionary(): boolean;
|
|
49
49
|
protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
|
|
@@ -60,7 +60,7 @@ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/Direct
|
|
|
60
60
|
protected getIconClassName(): "open-dictionary-button-icon dv-ico dv-ico-dictionary" | "dv-ico dv-ico-directory-node" | "dv-ico dv-ico-row";
|
|
61
61
|
protected onIconClick(): void;
|
|
62
62
|
protected getTypeaheadProps():
|
|
63
|
-
import("C:/
|
|
63
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
|
|
64
64
|
ref: any;
|
|
65
65
|
};
|
|
66
66
|
protected focusInput: () => void;
|
|
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
|
|
|
13
13
|
| "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" | "opened"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
iconButton: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/dev/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:/dev/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:/dev/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
42
42
|
close(): void;
|
|
43
43
|
onMaximize: () => void;
|
|
44
44
|
render(): JSX.Element;
|
|
@@ -23,7 +23,7 @@ import { ISignatureCreatedArgs } from "@docsvision/webclient/BackOffice/ISignatu
|
|
|
23
23
|
import { ISignatureCreatingArgs } from "@docsvision/webclient/BackOffice/ISignatureCreatingArgs";
|
|
24
24
|
import { ISignatureListViewedArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewedArgs";
|
|
25
25
|
import { ISignatureListViewingArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewingArgs";
|
|
26
|
-
import { FileListControlImpl, FileListControlState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
26
|
+
import { $FileListOptions, FileListControlImpl, FileListControlState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
27
27
|
import { $LayoutFileController, $SignatureController, $DataVisualizationController, $LayoutFileApiController, $LayoutDocumentController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
28
28
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
29
29
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
@@ -188,8 +188,9 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
188
188
|
/** Событие возникает перед кликом по имени файла */
|
|
189
189
|
fileNameClicking?: CancelableApiEvent<IFileClickingArgs>;
|
|
190
190
|
/** Сервисы. */
|
|
191
|
-
services?:
|
|
191
|
+
services?: FileListServices;
|
|
192
192
|
}
|
|
193
|
+
export declare type FileListServices = $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 & $FileListOptions;
|
|
193
194
|
/**
|
|
194
195
|
* Класс элемента управления Список файлов.
|
|
195
196
|
*
|
|
@@ -40,6 +40,14 @@ export interface ICardOpenedByWebDavMessage {
|
|
|
40
40
|
FileId: string;
|
|
41
41
|
FileName: string;
|
|
42
42
|
}
|
|
43
|
+
/** Сервис для переопределения реализации FileListLogic */
|
|
44
|
+
export interface IFileListOptions {
|
|
45
|
+
getFileListLogic?(params: FileListControlParams): FileListControlLogic;
|
|
46
|
+
}
|
|
47
|
+
export declare type $FileListOptions = {
|
|
48
|
+
fileListOptions?: IFileListOptions;
|
|
49
|
+
};
|
|
50
|
+
export declare const $FileListOptions: string | ((model?: $FileListOptions) => IFileListOptions);
|
|
43
51
|
/** @internal */
|
|
44
52
|
export declare class FileListControlImpl extends BaseControlImpl<FileListControlParams, FileListControlState> {
|
|
45
53
|
mainAttach: FileListAttachedElements;
|
|
@@ -2,7 +2,7 @@ import { FileListAttachedElements } from "@docsvision/webclient/BackOffice/FileL
|
|
|
2
2
|
import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
|
|
3
3
|
import { FileListControlLogic } from "@docsvision/webclient/BackOffice/FileListControlLogic";
|
|
4
4
|
import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
-
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
|
+
import { $ApplicationSettings, $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
6
6
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
7
7
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
8
8
|
import { $CardId, $CardInfo, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
@@ -20,7 +20,7 @@ export declare class FileListItemProps {
|
|
|
20
20
|
logic: FileListControlLogic;
|
|
21
21
|
renderUploadForm: (attach: FileListAttachedElements, action: string, main?: boolean, type?: FileListFormType, fileItem?: FileListItem, accept?: string) => any;
|
|
22
22
|
key: string;
|
|
23
|
-
services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo & $LayoutManager;
|
|
23
|
+
services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $ApplicationSettings & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo & $LayoutManager;
|
|
24
24
|
onClick?: any;
|
|
25
25
|
selected?: boolean;
|
|
26
26
|
importSignatureEditOperation?: string;
|
package/BackOffice/Links.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { $LayoutFileController, $LayoutLinksController, $LayoutController, $Card
|
|
|
7
7
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
8
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
9
9
|
import { Panel, PanelParams } from '@docsvision/webclient/Platform/Panel';
|
|
10
|
-
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
10
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
11
11
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
12
12
|
import { $CardId, $CardInfo, $CardTimestamp, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
13
13
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -166,7 +166,7 @@ export declare class LinksParams extends PanelParams {
|
|
|
166
166
|
/** Событие возникает после открытия меню ссылки. */
|
|
167
167
|
linkMenuOpened?: BasicApiEvent<ILinkEventArgs>;
|
|
168
168
|
/** Сервисы */
|
|
169
|
-
services?: $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & Optional<$LinksSearchCards> & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & Optional<$FilePreview>;
|
|
169
|
+
services?: $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $ApplicationSettings & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & Optional<$LinksSearchCards> & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & Optional<$FilePreview>;
|
|
170
170
|
}
|
|
171
171
|
export declare const defaultColumns: GenModels.LinksColumnsConfiguration;
|
|
172
172
|
/**
|
|
@@ -12,8 +12,8 @@ export declare class LinksSearchCardsService implements ILinksSearchCardsService
|
|
|
12
12
|
allowedLinkTypes?: GenModels.LinkTypeModel[];
|
|
13
13
|
addFileKind?: GenModels.CardNodeInfo;
|
|
14
14
|
folderList?: GenModels.SelectFolderNode[];
|
|
15
|
-
onOkClick:
|
|
16
|
-
onCancelClick:
|
|
15
|
+
onOkClick: any;
|
|
16
|
+
onCancelClick: any;
|
|
17
17
|
descriptionColumnViewMode: GenModels.LinksDescriptionColumnViewMode;
|
|
18
18
|
descriptionColumnMethodKey: string;
|
|
19
19
|
changeSearchId: SimpleEvent<void>;
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
73
|
+
import("C:/dev/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,6 +39,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
39
39
|
componentWillUnmount(): void;
|
|
40
40
|
componentDidUpdate(): void;
|
|
41
41
|
setValue(value: T, redraw: boolean): void;
|
|
42
|
+
setValueInternal(value: T): void;
|
|
42
43
|
private saveCard;
|
|
43
44
|
private shouldSaveCardWithEditInPlaceValue;
|
|
44
45
|
private isLayoutViewMode;
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/dev/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:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SignatureButtonParams } from "@docsvision/webclient/BackOffice/SignatureButtonOptions";
|
|
2
|
-
import { IEncryptedInfo } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
3
2
|
export declare class SignatureButtonLogic {
|
|
4
3
|
options: SignatureButtonParams;
|
|
5
4
|
constructor(options: SignatureButtonParams);
|
|
@@ -21,7 +20,7 @@ import("effector").Effect<void, void, Error>;
|
|
|
21
20
|
showSignListFx:
|
|
22
21
|
import("effector").Effect<void, void, Error>;
|
|
23
22
|
signComplete:
|
|
24
|
-
import("effector").Event<
|
|
23
|
+
import("effector").Event<any>;
|
|
25
24
|
initMenuActions(): void;
|
|
26
25
|
init(): void;
|
|
27
26
|
}
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
86
86
|
/** @covered */
|
|
87
87
|
get inputText(): string;
|
|
88
88
|
/** @covered */
|
|
@@ -65,7 +65,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
65
65
|
private shouldShowFavorites;
|
|
66
66
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
67
67
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
68
|
-
import("C:/
|
|
68
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
69
69
|
protected onEditPopoverShowed(control: any): void;
|
|
70
70
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
71
71
|
protected onIconClick(): void;
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
24
24
|
dialog: (props:
|
|
25
|
-
import("C:/
|
|
25
|
+
import("C:/dev/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:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
33
33
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
34
34
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
35
35
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
@@ -557,6 +557,24 @@ export declare type $LogController = {
|
|
|
557
557
|
logController: GenControllers.ILogController;
|
|
558
558
|
};
|
|
559
559
|
export declare const $LogController: string | ((model?: $LogController) => GenControllers.ILogController);
|
|
560
|
+
export declare namespace GenControllers {
|
|
561
|
+
/**
|
|
562
|
+
* R7Office controller
|
|
563
|
+
*/
|
|
564
|
+
interface IR7OfficeController {
|
|
565
|
+
/**
|
|
566
|
+
* Получение файла с поддержкой AllowAnonymous
|
|
567
|
+
*/
|
|
568
|
+
getFile(id: string, accountName: string, idext: string, options?: RequestOptions): Promise<any>;
|
|
569
|
+
}
|
|
570
|
+
class R7OfficeController extends BaseController implements IR7OfficeController {
|
|
571
|
+
getFile(id: string, accountName: string, idext: string, options?: RequestOptions): Promise<any>;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
export declare type $R7OfficeController = {
|
|
575
|
+
R7OfficeController: GenControllers.IR7OfficeController;
|
|
576
|
+
};
|
|
577
|
+
export declare const $R7OfficeController: string | ((model?: $R7OfficeController) => GenControllers.IR7OfficeController);
|
|
560
578
|
export declare namespace GenControllers {
|
|
561
579
|
/**
|
|
562
580
|
* DataGridControl controller
|
|
@@ -1108,7 +1126,7 @@ export declare namespace GenControllers {
|
|
|
1108
1126
|
/**
|
|
1109
1127
|
* HTTP: /Signature/AttachSignature
|
|
1110
1128
|
*/
|
|
1111
|
-
attachSignature(signDataRequest: GenModels.SignDataRequestWrapper, options?: RequestOptions): Promise<
|
|
1129
|
+
attachSignature(signDataRequest: GenModels.SignDataRequestWrapper, options?: RequestOptions): Promise<GenModels.AttachSignatureResponse>;
|
|
1112
1130
|
/**
|
|
1113
1131
|
* HTTP: /Signature/GetSignature
|
|
1114
1132
|
*/
|
|
@@ -1125,16 +1143,21 @@ export declare namespace GenControllers {
|
|
|
1125
1143
|
* HTTP: /DocumentCard/GetSignatureVerification
|
|
1126
1144
|
*/
|
|
1127
1145
|
getSignatureDetails(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureDetailsModel>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Checks if document can be signed
|
|
1148
|
+
*/
|
|
1149
|
+
canAddSignature(documentId: string, options?: RequestOptions): Promise<boolean>;
|
|
1128
1150
|
}
|
|
1129
1151
|
class SignatureController extends BaseController implements ISignatureController {
|
|
1130
1152
|
getSignatureKind(certEncoded: string, options?: RequestOptions): Promise<GenModels.SignatureKindSelectionModel>;
|
|
1131
1153
|
getCertificatesThumberprints(request: GenModels.CertificateThumberprintRequest, options?: RequestOptions): Promise<GenModels.CertificateThumberprintResponse>;
|
|
1132
1154
|
hasValidSignature(cardId: string, options?: RequestOptions): Promise<boolean>;
|
|
1133
|
-
attachSignature(signDataRequest: GenModels.SignDataRequestWrapper, options?: RequestOptions): Promise<
|
|
1155
|
+
attachSignature(signDataRequest: GenModels.SignDataRequestWrapper, options?: RequestOptions): Promise<GenModels.AttachSignatureResponse>;
|
|
1134
1156
|
getSignature(signDialogParams: GenModels.CreateSignDialogParams, options?: RequestOptions): Promise<GenModels.SignatureModel>;
|
|
1135
1157
|
getSignatures(documentId: string, verify?: boolean, options?: RequestOptions): Promise<GenModels.DocumentSignatureListModel>;
|
|
1136
1158
|
getSignatureVerification(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureVerificationModel>;
|
|
1137
1159
|
getSignatureDetails(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureDetailsModel>;
|
|
1160
|
+
canAddSignature(documentId: string, options?: RequestOptions): Promise<boolean>;
|
|
1138
1161
|
}
|
|
1139
1162
|
}
|
|
1140
1163
|
export declare type $SignatureController = {
|
|
@@ -2490,6 +2490,18 @@ export declare namespace GenModels {
|
|
|
2490
2490
|
itemType: GenModels.SignatureItemType;
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
+
export declare namespace GenModels {
|
|
2494
|
+
interface AttachSignatureResponse {
|
|
2495
|
+
/**
|
|
2496
|
+
* Successful signed
|
|
2497
|
+
*/
|
|
2498
|
+
success: boolean;
|
|
2499
|
+
/**
|
|
2500
|
+
* Reason for signature invalidity
|
|
2501
|
+
*/
|
|
2502
|
+
reason: string;
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2493
2505
|
export declare namespace GenModels {
|
|
2494
2506
|
interface CreateSignDialogParams {
|
|
2495
2507
|
/**
|
|
@@ -3338,6 +3350,10 @@ export declare namespace GenModels {
|
|
|
3338
3350
|
* Gets name
|
|
3339
3351
|
*/
|
|
3340
3352
|
name: string;
|
|
3353
|
+
/**
|
|
3354
|
+
* Gets file extension
|
|
3355
|
+
*/
|
|
3356
|
+
fileExtension: string;
|
|
3341
3357
|
/**
|
|
3342
3358
|
* Gets file identifier
|
|
3343
3359
|
*
|
|
@@ -6063,6 +6079,7 @@ export declare namespace GenModels {
|
|
|
6063
6079
|
interface ApprovalHistoryFileModel {
|
|
6064
6080
|
fileCardId: string;
|
|
6065
6081
|
name: string;
|
|
6082
|
+
fileExtension: string;
|
|
6066
6083
|
currentVersion: GenModels.ApprovalHistoryFileVersionModel;
|
|
6067
6084
|
}
|
|
6068
6085
|
}
|
|
@@ -8771,6 +8788,18 @@ export declare namespace GenModels {
|
|
|
8771
8788
|
* Gets ot sets connect address session parameter
|
|
8772
8789
|
*/
|
|
8773
8790
|
connectAddress: string;
|
|
8791
|
+
/**
|
|
8792
|
+
* R7 address connection
|
|
8793
|
+
*/
|
|
8794
|
+
serverR7ConnectionAddress: string;
|
|
8795
|
+
/**
|
|
8796
|
+
* File preview mode
|
|
8797
|
+
*/
|
|
8798
|
+
filePreviewMode: GenModels.FilePreviewMode;
|
|
8799
|
+
/**
|
|
8800
|
+
* R7 secret token
|
|
8801
|
+
*/
|
|
8802
|
+
serverR7SecretToken: string;
|
|
8774
8803
|
}
|
|
8775
8804
|
}
|
|
8776
8805
|
export declare namespace GenModels {
|
|
@@ -10756,13 +10785,17 @@ export declare namespace GenModels {
|
|
|
10756
10785
|
}
|
|
10757
10786
|
export declare namespace GenModels {
|
|
10758
10787
|
enum DecisionSemantics {
|
|
10788
|
+
None = 0,
|
|
10759
10789
|
Positive = 1,
|
|
10760
10790
|
Negative = 2,
|
|
10761
10791
|
Neutral = 3,
|
|
10762
10792
|
Cancellation = 4,
|
|
10763
10793
|
NewCycle = 5,
|
|
10764
10794
|
ApproversAddition = 6,
|
|
10765
|
-
|
|
10795
|
+
NonNegative = 7,
|
|
10796
|
+
Any = 8,
|
|
10797
|
+
Completion = 100,
|
|
10798
|
+
Return = 200
|
|
10766
10799
|
}
|
|
10767
10800
|
}
|
|
10768
10801
|
export declare namespace GenModels {
|
|
@@ -12086,6 +12119,21 @@ export declare namespace GenModels {
|
|
|
12086
12119
|
Pdfjs = 1
|
|
12087
12120
|
}
|
|
12088
12121
|
}
|
|
12122
|
+
export declare namespace GenModels {
|
|
12123
|
+
/**
|
|
12124
|
+
* FilePreviewMode
|
|
12125
|
+
*/
|
|
12126
|
+
enum FilePreviewMode {
|
|
12127
|
+
/**
|
|
12128
|
+
* pdf.js viewer
|
|
12129
|
+
*/
|
|
12130
|
+
Pdfjs = 0,
|
|
12131
|
+
/**
|
|
12132
|
+
* r7 viewer
|
|
12133
|
+
*/
|
|
12134
|
+
R7 = 1
|
|
12135
|
+
}
|
|
12136
|
+
}
|
|
12089
12137
|
export declare namespace GenModels {
|
|
12090
12138
|
enum BackgroundStyle {
|
|
12091
12139
|
Tile = 0,
|
|
@@ -13,6 +13,8 @@ export interface IHighlightedSearchResultProps {
|
|
|
13
13
|
key?: any;
|
|
14
14
|
/** Обрезать длинный текст с помощью многоточия или нет. По умолчанию: true. */
|
|
15
15
|
useEllipsis?: boolean;
|
|
16
|
+
/** Подсвечивать ли результаты поиска */
|
|
17
|
+
highlightSearchResult?: boolean;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
20
|
* @internal Показывает текст с выделенным в нём результатом поиска.
|
package/Helpers/LabeledText.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export interface ILabeledText {
|
|
|
61
61
|
displayIcon?: boolean;
|
|
62
62
|
/** Class name for icon */
|
|
63
63
|
iconClass?: string;
|
|
64
|
+
validationMessage?: React.ReactNode;
|
|
64
65
|
onFocus?: (event: React.FocusEvent<any>) => void;
|
|
65
66
|
onBlur?: (event: React.FocusEvent<any>) => void;
|
|
66
67
|
onMouseEnter?: () => void;
|
|
@@ -80,6 +80,8 @@ export interface ITypeaheadProps {
|
|
|
80
80
|
hideIfBehindPadding?: boolean;
|
|
81
81
|
/** Function when clicking on the icon in edit in place mode */
|
|
82
82
|
onIconMouseDown?: () => void;
|
|
83
|
+
/** Need to highlight search result */
|
|
84
|
+
highlightSearchResult?: boolean;
|
|
83
85
|
}
|
|
84
86
|
export declare enum PaginatorLoadLogic {
|
|
85
87
|
LoadOnlyNewItems = 0,
|
|
@@ -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:/dev/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;
|
|
@@ -97,7 +97,6 @@ export declare function getLegacyResources(): {
|
|
|
97
97
|
"dialog-search-parameter-lastsearch": string;
|
|
98
98
|
"dialog-folder-settings-detach-folders-message": string;
|
|
99
99
|
"dialog-folder-settings-select-folders-to-detach": string;
|
|
100
|
-
"fileupload-null-size-not-allowed": string;
|
|
101
100
|
"fileupload-upload-size-not-allowed": string;
|
|
102
101
|
"fileupload-file-type-not-allowed": string;
|
|
103
102
|
"fileupload-error-file-name-not-match": string;
|
|
@@ -5,12 +5,13 @@ import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContex
|
|
|
5
5
|
import { $SearchPanel } from '@docsvision/webclient/Legacy/$SearchPanel';
|
|
6
6
|
import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
|
|
7
7
|
import { $ApplicationSettings, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
8
|
+
import { $DeviceType } from "@docsvision/web/core/system-services/environment";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export declare class SearchPanelRouteHandler implements IRouteHandler<any> {
|
|
10
11
|
private services;
|
|
11
12
|
name: string;
|
|
12
13
|
availableRouteHandler: boolean;
|
|
13
|
-
constructor(services: $WebFrameContext & $SearchPanel & $ExperimentalFeature & $ApplicationSettings & $IsIE);
|
|
14
|
+
constructor(services: $WebFrameContext & $SearchPanel & $ExperimentalFeature & $ApplicationSettings & $IsIE & $DeviceType);
|
|
14
15
|
prepareRouteDataLoad(routeData: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
15
16
|
mountRoute(data: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
17
|
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
|
@@ -13,7 +13,7 @@ import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
|
13
13
|
import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
14
14
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
15
15
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
16
|
-
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
16
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
17
17
|
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
18
18
|
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
19
19
|
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
@@ -25,7 +25,7 @@ export declare class TaskCardFilePanelParams extends BaseRazorControlParams {
|
|
|
25
25
|
shadowClass?: boolean;
|
|
26
26
|
/** Событие возникает при сохранении файла в WebDAV. */
|
|
27
27
|
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
28
|
-
services?: $LayoutCardController & $Layout & $Router & $LayoutInfo & $CardTimestamp & $FileService & $FilePreviewServices & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
28
|
+
services?: $LayoutCardController & $Layout & $Router & $LayoutInfo & $ApplicationSettings & $CardTimestamp & $FileService & $FilePreviewServices & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
29
29
|
}
|
|
30
30
|
/** @internal */
|
|
31
31
|
export interface TaskCardFilePanelState extends TaskCardFilePanelParams, BaseRazorControlState {
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
2
|
import { NodeOptions } from "vis";
|
|
3
3
|
export declare const decisionSemanticsColors: {
|
|
4
|
-
|
|
4
|
+
0: string;
|
|
5
5
|
1: string;
|
|
6
6
|
2: string;
|
|
7
7
|
3: string;
|
|
8
8
|
4: string;
|
|
9
9
|
5: string;
|
|
10
10
|
6: string;
|
|
11
|
+
7: string;
|
|
12
|
+
8: string;
|
|
11
13
|
100: string;
|
|
14
|
+
200: string;
|
|
12
15
|
};
|
|
13
16
|
export declare const conditionTypeImage: {
|
|
14
17
|
1: string;
|
|
@@ -16,10 +16,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
|
|
|
16
16
|
UNSAFE_componentWillMount(): void;
|
|
17
17
|
componentDidMount(): void;
|
|
18
18
|
onSelecting():
|
|
19
|
-
import("C:/
|
|
19
|
+
import("C:/dev/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
20
20
|
onSelected(): void;
|
|
21
21
|
onToggling():
|
|
22
|
-
import("C:/
|
|
22
|
+
import("C:/dev/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
23
23
|
onToggled(): void;
|
|
24
24
|
protected onClick(event: React.MouseEvent): void;
|
|
25
25
|
protected getCssClass(): string;
|
package/Platform/CardLink.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $LayoutFileController, $LayoutLinksController, $LayoutController, $CardOperationsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
1
|
+
import { $LayoutFileController, $LayoutLinksController, $LayoutController, $CardOperationsController, $CardsPresentationController } 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 { CardLinkImpl, ICardLinkState } from "@docsvision/webclient/Platform/CardLinkImpl";
|
|
5
|
-
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
5
|
import { IDataChangedEventArgsEx } from "@docsvision/webclient/System/IDataChangedEventArgs";
|
|
7
6
|
import { $CardId, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
8
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -16,10 +15,11 @@ import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
|
16
15
|
import { $LinksSearchCards } from '@docsvision/webclient/BackOffice/$LinksSearchCardsService';
|
|
17
16
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
18
17
|
import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview';
|
|
18
|
+
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
19
19
|
/**
|
|
20
20
|
* Публичные свойства для контрола {@link CardLink}.
|
|
21
21
|
*/
|
|
22
|
-
export declare class CardLinkParams extends
|
|
22
|
+
export declare class CardLinkParams extends InputBasedControlParams<GenModels.CardLinkDataModel> {
|
|
23
23
|
standardCssClass?: string;
|
|
24
24
|
/** Информация о текущей выбранной карточке. */
|
|
25
25
|
value?: GenModels.CardLinkDataModel;
|
|
@@ -45,6 +45,12 @@ export declare class CardLinkParams extends BaseControlParams {
|
|
|
45
45
|
required?: boolean;
|
|
46
46
|
searchQueryId?: string;
|
|
47
47
|
folderList?: GenModels.SelectFolderNode[];
|
|
48
|
+
/** Наименование параметра поискового запроса */
|
|
49
|
+
searchQueryParamName?: any;
|
|
50
|
+
/** Задержка поиска (мс) */
|
|
51
|
+
searchDelay?: number;
|
|
52
|
+
/** Минимальное количество символов для поиска */
|
|
53
|
+
searchIndex?: number;
|
|
48
54
|
/** Событие, возникающее перед очисткой значения. */
|
|
49
55
|
linkDeleting?: CancelableApiEvent<IEventArgs>;
|
|
50
56
|
/** Событие, возникающее после очистки значения. */
|
|
@@ -65,14 +71,22 @@ export declare class CardLinkParams extends BaseControlParams {
|
|
|
65
71
|
linkFilePreviewed?: BasicApiEvent<IEventArgs>;
|
|
66
72
|
/** Событие, возникающее перед открытием связанной карточки. */
|
|
67
73
|
linkCardOpening?: CancelableApiEvent<IEventArgs>;
|
|
68
|
-
services?: $FileController & $LayoutFileController & $LayoutLinksController & $LayoutController & Optional<$CardId> & $EditOperationStore & $CardId & Optional<$LabelWidth> & $LayoutManager & $Layout & $FilePreviewServices & $CardOperationsController & Optional<$LinksSearchCards
|
|
74
|
+
services?: $FileController & $LayoutFileController & $LayoutLinksController & $LayoutController & Optional<$CardId> & $EditOperationStore & $CardId & Optional<$LabelWidth> & $LayoutManager & $Layout & $FilePreviewServices & $CardOperationsController & Optional<$LinksSearchCards> & $CardsPresentationController;
|
|
69
75
|
}
|
|
70
76
|
/**
|
|
71
77
|
* Представляет элемент управления для редактирования связанной карточки.
|
|
72
78
|
*/
|
|
73
|
-
export declare class CardLink extends
|
|
79
|
+
export declare class CardLink extends InputBasedControl<GenModels.CardLinkDataModel, CardLinkParams, ICardLinkState> {
|
|
74
80
|
protected construct(): void;
|
|
75
81
|
componentDidMount(): void;
|
|
82
|
+
protected getServices(): $FileController & $LayoutFileController & $LayoutLinksController & $LayoutController & Partial<$CardId> & $EditOperationStore & $CardId & Partial<$LabelWidth> & $LayoutManager & $Layout &
|
|
83
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutCheckService").$LayoutCheck &
|
|
84
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CardInfo &
|
|
85
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Core/RequestProcessing/$RequestManager").$RequestManager &
|
|
86
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/StandardServices").$ApplicationSettings &
|
|
87
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$FileService").$FileService &
|
|
88
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/StandardServices").$DeviceType & Partial<
|
|
89
|
+
import("@docsvision/webclient/FilePreview/$FilePreview").$FilePreview> & $CardOperationsController & Partial<$LinksSearchCards> & $CardsPresentationController;
|
|
76
90
|
protected createParams(): CardLinkParams;
|
|
77
91
|
protected createImpl(): CardLinkImpl;
|
|
78
92
|
private set binding(value);
|
|
@@ -2,34 +2,46 @@ import { ExistingCardLinkDialog } from "@docsvision/webclient/BackOffice/Existin
|
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
3
|
import { PerformOnce } from "@docsvision/webclient/Legacy/Utils";
|
|
4
4
|
import { CardLinkParams } from "@docsvision/webclient/Platform/CardLink";
|
|
5
|
-
import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
6
|
-
import { BaseControlImpl } from "@docsvision/webclient/System/BaseControlImpl";
|
|
7
5
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
8
6
|
import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
|
|
7
|
+
import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
|
|
9
8
|
import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
|
|
10
9
|
import React from "react";
|
|
11
10
|
import { $LinksSearchCards } from '@docsvision/webclient/BackOffice/$LinksSearchCardsService';
|
|
12
11
|
import { $LayoutLinksController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
13
12
|
import { $CardId, $CardTimestamp } from '@docsvision/webclient/System/LayoutServices';
|
|
13
|
+
import { Typeahead } from '../../../Helpers/Typeahead/Typeahead';
|
|
14
|
+
import { InputBasedControlImpl, InputBasedControlState } from '../../../System/Controls/InputBasedControl/InputBasedControlImpl';
|
|
15
|
+
import { ITypeaheadSearchQuery } from '../../../Helpers/Typeahead/Models/ITypeaheadSearchQuery';
|
|
16
|
+
import { ITypeaheadSearchResult } from '../../../Helpers/Typeahead/Models/ITypeaheadSearchResult';
|
|
17
|
+
import { ITypeaheadVariant } from '../../../Helpers/Typeahead/Models/ITypeaheadVariant';
|
|
18
|
+
import { IBoxWithButtonsButtonInfo } from '../../../Helpers/BoxWithButtons';
|
|
14
19
|
/** @internal */
|
|
15
|
-
export interface ICardLinkState extends
|
|
20
|
+
export interface ICardLinkState extends CardLinkParams, InputBasedControlState<GenModels.CardLinkDataModel> {
|
|
16
21
|
addExistingCardLinkDialog: ExistingCardLinkDialog;
|
|
17
22
|
saveHelper: RequestHelper;
|
|
18
23
|
validationMessage: string;
|
|
19
24
|
bindingInfo: IBindingResult<GenModels.CardLinkDataModel>;
|
|
25
|
+
inputKeyDown: SimpleEvent<React.KeyboardEvent>;
|
|
20
26
|
}
|
|
21
27
|
export interface CardLinkState extends ICardLinkState {
|
|
22
28
|
}
|
|
23
29
|
/** @internal */
|
|
24
|
-
export declare class CardLinkImpl extends
|
|
30
|
+
export declare class CardLinkImpl extends InputBasedControlImpl<GenModels.CardLinkDataModel, CardLinkParams, CardLinkState> {
|
|
31
|
+
private typeahead;
|
|
25
32
|
performOnce: PerformOnce;
|
|
26
33
|
constructor(props: CardLinkParams, state: ICardLinkState);
|
|
27
34
|
setValue(value: GenModels.CardLinkDataModel, forceUpdate?: boolean): Promise<unknown>;
|
|
28
35
|
set value(newVal: GenModels.CardLinkDataModel);
|
|
29
36
|
get value(): GenModels.CardLinkDataModel;
|
|
37
|
+
protected get isQueryCondition(): boolean;
|
|
38
|
+
protected get isShowLabel(): true | GenModels.CardLinkDataModel;
|
|
30
39
|
componentDidMount(): void;
|
|
31
40
|
componentWillUnmount(): void;
|
|
32
41
|
protected onDocumentClick: (e: MouseEvent) => void;
|
|
42
|
+
protected onDocumentKeyDown: (ev: KeyboardEvent) => void;
|
|
43
|
+
protected onDocumentMouseDown: (event: any) => void;
|
|
44
|
+
protected dialogClosed: () => void;
|
|
33
45
|
getLinkUrl(cardId: string): string;
|
|
34
46
|
openMenu: () => void;
|
|
35
47
|
closeMenu: () => void;
|
|
@@ -45,8 +57,8 @@ export declare class CardLinkImpl extends BaseControlImpl<CardLinkParams, ICardL
|
|
|
45
57
|
onOpenSelectCardDialogMenuClick: () => void;
|
|
46
58
|
onDeleteLinkedCardMenuClick: () => void;
|
|
47
59
|
onTextClick: () => void;
|
|
48
|
-
onMenuClick: () => void;
|
|
49
|
-
|
|
60
|
+
onMenuClick: (ev: React.MouseEvent) => void;
|
|
61
|
+
hasValue: () => boolean;
|
|
50
62
|
get isLoading(): boolean;
|
|
51
63
|
get isMenuAvailable(): boolean;
|
|
52
64
|
get cardViewAllowed(): boolean;
|
|
@@ -60,14 +72,36 @@ export declare class CardLinkImpl extends BaseControlImpl<CardLinkParams, ICardL
|
|
|
60
72
|
protected getTextTabIndex(): -1 | 0;
|
|
61
73
|
protected onTextKeyDown: (event: React.KeyboardEvent) => void;
|
|
62
74
|
protected onMenuKeyDown: (event: React.KeyboardEvent) => void;
|
|
75
|
+
protected onSelected: (variant: ITypeaheadVariant) => Promise<void>;
|
|
76
|
+
protected attachTypeahead: (t: Typeahead) => void;
|
|
77
|
+
protected findItems: (typeaheadQuery: ITypeaheadSearchQuery) => Promise<ITypeaheadSearchResult>;
|
|
78
|
+
protected renderInto(props: CardLinkParams, container: HTMLElement): void;
|
|
79
|
+
protected onValueClick(): void;
|
|
80
|
+
protected afterOpenCallback: () => void;
|
|
81
|
+
protected onInputChange(event: any): void;
|
|
82
|
+
protected get iconClassDialog(): string;
|
|
83
|
+
protected get isShowIcon(): boolean;
|
|
84
|
+
protected renderWithTextValue(): string | JSX.Element;
|
|
85
|
+
protected renderWithText(): JSX.Element;
|
|
63
86
|
protected renderLabel(): JSX.Element;
|
|
64
87
|
/**
|
|
65
88
|
* Renders settings menu and its icon to open menu
|
|
66
89
|
*/
|
|
67
|
-
protected renderSettingsMenu(): JSX.Element;
|
|
90
|
+
protected renderSettingsMenu(isVisibleButton?: boolean): JSX.Element;
|
|
91
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
92
|
+
protected onMouseDownIcon: () => void;
|
|
93
|
+
protected onButtonBlur(event: React.FocusEvent<HTMLButtonElement>): void;
|
|
94
|
+
protected get buttonsTypeahead(): {
|
|
95
|
+
left: IBoxWithButtonsButtonInfo[];
|
|
96
|
+
extra: IBoxWithButtonsButtonInfo[];
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Render search with query parameter
|
|
100
|
+
*/
|
|
101
|
+
protected renderInputWithPlaceholder(): JSX.Element;
|
|
68
102
|
/**
|
|
69
103
|
* Renders label value
|
|
70
104
|
*/
|
|
71
105
|
protected renderValue(): JSX.Element;
|
|
72
|
-
renderControl():
|
|
106
|
+
renderControl(): {};
|
|
73
107
|
}
|
|
@@ -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:/dev/WebClient/Bin/TypeScriptDefinitions/BackOffice/Dialogs/SignatureMethodsSetup/SignatureMethodsSetup").ISignatureMethodsSetupProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum FileExtensions {
|
|
2
|
+
DOC = ".doc",
|
|
3
|
+
DOCX = ".docx",
|
|
4
|
+
XLS = ".xls",
|
|
5
|
+
XLSX = ".xlsx",
|
|
6
|
+
ODS = ".ods",
|
|
7
|
+
XLT = ".xlt",
|
|
8
|
+
XLTX = ".xltx",
|
|
9
|
+
PPTX = ".pptx",
|
|
10
|
+
PPT = ".ppt",
|
|
11
|
+
JPG = ".jpg",
|
|
12
|
+
JPEG = ".jpeg",
|
|
13
|
+
GIF = ".gif",
|
|
14
|
+
PNG = ".png",
|
|
15
|
+
BMP = ".bmp",
|
|
16
|
+
TIFF = ".tiff",
|
|
17
|
+
TIF = ".tif",
|
|
18
|
+
EMF = ".emf",
|
|
19
|
+
WMF = ".wmf"
|
|
20
|
+
}
|
|
@@ -14,6 +14,8 @@ import { BooleanState } from '@docsvision/webclient/System/BooleanState';
|
|
|
14
14
|
import { EventEmitter } from '@docsvision/webclient/System/EventEmitter';
|
|
15
15
|
import { IValidationParams } from '@docsvision/webclient/System/IValidationParams';
|
|
16
16
|
import { IValidationResult } from '@docsvision/webclient/System/IValidationResult';
|
|
17
|
+
import { ICardOpenedByWebDavMessage } from '@docsvision/webclient/BackOffice/FileListControlImpl';
|
|
18
|
+
import { IRealTimeCommunicationMessage } from '@docsvision/webclient/System/IRealTimeCommunicationMessage';
|
|
17
19
|
/** @internal */
|
|
18
20
|
export interface IFilePickerState extends FilePickerParams, BaseControlState {
|
|
19
21
|
binding: IBindingResult<GenModels.FileCardModel>;
|
|
@@ -41,6 +43,9 @@ export declare class FilePickerImpl extends BaseControlImpl<FilePickerParams, IF
|
|
|
41
43
|
protected availability: FilePickerOperationsAvailability;
|
|
42
44
|
protected dragOverState: BooleanState;
|
|
43
45
|
constructor(props: FilePickerParams, state: IFilePickerState);
|
|
46
|
+
componentDidMount(): void;
|
|
47
|
+
componentWillUnmount(): void;
|
|
48
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => Promise<void>;
|
|
44
49
|
getCssClass(): string;
|
|
45
50
|
setValue(val: IFilePickerValue, redraw?: boolean, triggerEvent?: boolean): void;
|
|
46
51
|
private checkFileExtension;
|
|
@@ -19,13 +19,13 @@ import { IFileVersionCommentDeletedArgs } from '@docsvision/webclient/BackOffice
|
|
|
19
19
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
20
20
|
import { EditMode } from '@docsvision/webclient/System/EditMode';
|
|
21
21
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
22
|
-
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
22
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
23
23
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
24
24
|
import { BodyContainerProvider } from '@docsvision/webclient/Helpers/BodyContainerProvider';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import { $FilePreview } from '@docsvision/webclient/Platform/$FilePreview';
|
|
27
27
|
import { Optional } from '@docsvision/web/core/services';
|
|
28
|
-
export declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutFileController & $CardId & $FileService & $Layout & $DeviceType & Optional<$FilePreview>;
|
|
28
|
+
export declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $ApplicationSettings & $LayoutFileController & $CardId & $FileService & $Layout & $DeviceType & Optional<$FilePreview>;
|
|
29
29
|
export declare class FilePreviewParams extends BaseControlParams {
|
|
30
30
|
/** Стандартный CSS класс со стилями элемента управления. */
|
|
31
31
|
standardCssClass?: string;
|
|
@@ -95,7 +95,7 @@ export declare class FilePreviewParams extends BaseControlParams {
|
|
|
95
95
|
beforeOpenCloseCommentsBlock?: CancelableApiEvent<IEventArgs>;
|
|
96
96
|
/** Событие возникает после открытия окна комментарии. */
|
|
97
97
|
afterOpenCloseCommentsBlock?: BasicApiEvent<IEventArgs>;
|
|
98
|
-
services?: $FilePreviewServices;
|
|
98
|
+
services?: $FilePreviewServices & $ApplicationSettings;
|
|
99
99
|
}
|
|
100
100
|
export declare class FilePreview extends BaseControl<FilePreviewParams, IFilePreviewState> {
|
|
101
101
|
static bodyProvider: BodyContainerProvider;
|
|
@@ -23,6 +23,7 @@ export interface IFilePreviewState extends FilePreviewParams, BaseControlState {
|
|
|
23
23
|
pdfUrl: string;
|
|
24
24
|
isCommentsOpened: boolean;
|
|
25
25
|
wasClosed: boolean;
|
|
26
|
+
useR7Viewer: boolean;
|
|
26
27
|
}
|
|
27
28
|
export interface FilePreviewState extends IFilePreviewState {
|
|
28
29
|
}
|
|
@@ -75,6 +76,8 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
|
|
|
75
76
|
previewInModalContent: () => JSX.Element;
|
|
76
77
|
addListenerToButton: () => void;
|
|
77
78
|
loadFileData: (version?: GenModels.VersionedFileModel) => Promise<void>;
|
|
79
|
+
checkAllowedPreviewExtension: (ext: string) => boolean;
|
|
80
|
+
isImageExtension: (ext: string) => boolean;
|
|
78
81
|
showPreviewArea: () => void;
|
|
79
82
|
canComment: () => boolean;
|
|
80
83
|
startDrag: (e: any) => void;
|
|
@@ -98,9 +101,12 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
|
|
|
98
101
|
strictMode: boolean;
|
|
99
102
|
selectedID: string;
|
|
100
103
|
};
|
|
101
|
-
checkAllowedPreviewExtension: (ext: string) => boolean;
|
|
102
104
|
onCurrentFileChange: (selectedElement: IComboBoxElement) => Promise<void>;
|
|
105
|
+
getPdfJsPreview: () => JSX.Element;
|
|
106
|
+
getR7Preview: () => JSX.Element;
|
|
103
107
|
filePreviewDialog: () => JSX.Element;
|
|
108
|
+
private getR7ViewerUrl;
|
|
109
|
+
private getDocType;
|
|
104
110
|
private getFileId;
|
|
105
111
|
protected renderControl(): JSX.Element;
|
|
106
112
|
}
|
|
@@ -4,6 +4,7 @@ import { $Domain } from '@docsvision/web/core/state-management';
|
|
|
4
4
|
import { $TableData } from '@docsvision/web/components/table/plugins/table-data';
|
|
5
5
|
import { $ApplicationSettings, $DeviceType, $Locale } from '@docsvision/webclient/StandardServices';
|
|
6
6
|
export declare const HelpFeature = "HelpFeature";
|
|
7
|
+
export declare const folderHelpPluginOrder = 100;
|
|
7
8
|
export declare const FolderHelpServiceProvider: TablePlugins.ServiceProvider<$FolderHelp & $Domain & $TableData & $ApplicationSettings>;
|
|
8
9
|
export declare const FolderHelpPlugin: TablePlugins.Toolbar.Component<$FolderHelp & $DeviceType & $Locale>;
|
|
9
10
|
export declare const FolderHelpPlugins: ITablePlugins;
|
|
@@ -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:/dev/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;
|
|
@@ -51,8 +51,8 @@ export declare class QueryCondition extends Panel<QueryConditionParams, IQueryCo
|
|
|
51
51
|
get queryParameterEnabled(): boolean;
|
|
52
52
|
set queryParameterEnabled(val: boolean);
|
|
53
53
|
/** Тип данных поискового параметра. */
|
|
54
|
-
get fieldType():
|
|
55
|
-
get fieldSubType():
|
|
54
|
+
get fieldType(): number;
|
|
55
|
+
get fieldSubType(): number;
|
|
56
56
|
/** Возвращает значение дочернего контрола, служащего для ввода значения фильтра. */
|
|
57
57
|
get controlValue(): unknown;
|
|
58
58
|
set controlValue(val: unknown);
|
|
@@ -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:/dev/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;
|
|
@@ -26,7 +26,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
|
|
|
26
26
|
private attachRoot;
|
|
27
27
|
DialogBox:
|
|
28
28
|
import("styled-components").StyledComponent<(props:
|
|
29
|
-
import("C:/
|
|
29
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
30
30
|
close(): void;
|
|
31
31
|
render(): JSX.Element;
|
|
32
32
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { IBindingMetadata } from '@docsvision/webclient/System/IBindingMetadata';
|
|
1
2
|
import { IBindingResult } from '@docsvision/webclient/System/IBindingResult';
|
|
2
3
|
export declare const SAVED_VALUE_DISPLAY_NAME = "SAVED_VALUE_DISPLAY_NAME";
|
|
3
4
|
export declare const NEW_VALUE_DISPLAY_NAME = "NEW_VALUE_DISPLAY_NAME";
|
|
5
|
+
export declare const BINDING_RESOLVER = "BINDING_RESOLVER";
|
|
6
|
+
export declare const BINDING_CONVERTER = "BINDING_CONVERTER";
|
|
4
7
|
export declare function setSavedValueDisplayName(binding: IBindingResult<unknown>, currentValueDisplayName: string): void;
|
|
5
8
|
export declare function setNewValueDisplayName(binding: IBindingResult<unknown>, newValueDisplayName: string): void;
|
|
9
|
+
export declare function getBindingConverter(binding: IBindingResult<unknown>): string;
|
|
10
|
+
export declare function getBindingResolver(binding: IBindingResult<unknown>): string;
|
|
11
|
+
export declare function filterResolverAndConverterMetadata(meta: IBindingMetadata): boolean;
|
|
@@ -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:/dev/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:/dev/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
84
84
|
/** @internal */
|
|
85
85
|
state: StateT;
|
|
86
86
|
searchInput: HTMLInputElement;
|
|
@@ -98,7 +98,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
98
98
|
protected get editPopoverControlImpl(): InputBasedControlImpl<ModelT, any, any>;
|
|
99
99
|
protected get editPopoverParentImpl(): InputBasedControlImpl<ModelT, any, any>;
|
|
100
100
|
setValue(value: ModelT, redraw: boolean): void;
|
|
101
|
-
|
|
101
|
+
setValueInternal(value: ModelT): void;
|
|
102
102
|
getValue(): ModelT;
|
|
103
103
|
/** Тоже что и {@link InputBasedControlParams.value} */
|
|
104
104
|
get value(): ModelT;
|
|
@@ -737,7 +737,6 @@ export declare let resourcesStub: {
|
|
|
737
737
|
TasksTree_Done: string;
|
|
738
738
|
TaskAuthor: string;
|
|
739
739
|
CreateLayoutDialogHeader_Department: string;
|
|
740
|
-
Navigator_FileUploadNullSizeNotAllowed: string;
|
|
741
740
|
GridFilter_Tooltip_Yes: string;
|
|
742
741
|
Error_FileExtensionNotMatch: string;
|
|
743
742
|
AgreementManagement_ApprovalTypeSequential: string;
|