@docsvision/webclient 5.17.2-beta.1 → 5.17.2-beta.3
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/$DigitalSignature.d.ts +2 -0
- package/BackOffice/ActualizeProfileCertificateSource.d.ts +1 -0
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/CheckSectionAccessRights.d.ts +3 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +6 -0
- package/BackOffice/ConvertResponseToTree.d.ts +4 -0
- package/BackOffice/DeleteSection.d.ts +2 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +3 -2
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +1 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +1 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileSignListDialog.d.ts +9 -2
- package/BackOffice/FileSignListDialog.stories.d.ts +13 -0
- package/BackOffice/FindSection.d.ts +9 -0
- package/BackOffice/GetPowersIconClassName.d.ts +7 -0
- package/BackOffice/GetPowersRootSectionId.d.ts +5 -0
- package/BackOffice/IPowerModel.d.ts +10 -0
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +11 -0
- package/BackOffice/IPowersDialog.d.ts +5 -0
- package/BackOffice/IPowersDirectoryOptions.d.ts +12 -0
- package/BackOffice/IPowersTreeRow.d.ts +6 -0
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +7 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +7 -0
- package/BackOffice/PowerOfAttorneyInfo.d.ts +12 -0
- package/BackOffice/Powers.d.ts +72 -0
- package/BackOffice/Powers.stories.d.ts +20 -0
- package/BackOffice/PowersDialogLocations.d.ts +3 -0
- package/BackOffice/PowersDirectory.d.ts +49 -0
- package/BackOffice/PowersDirectory.stories.d.ts +20 -0
- package/BackOffice/PowersDirectoryConstants.d.ts +12 -0
- package/BackOffice/PowersDirectoryContainer.d.ts +7 -0
- package/BackOffice/PowersDirectoryHead.d.ts +7 -0
- package/BackOffice/PowersDirectoryInfo.d.ts +16 -0
- package/BackOffice/PowersDirectoryLogic.d.ts +172 -0
- package/BackOffice/PowersDirectorySaveExpandedState.d.ts +5 -0
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +17 -0
- package/BackOffice/PowersDirectoryView.d.ts +61 -0
- package/BackOffice/PowersImpl.d.ts +72 -0
- package/BackOffice/PowersRootSectionConstants.d.ts +17 -0
- package/BackOffice/PowersSelectDialog.d.ts +74 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/ProcessSettingsChanged.d.ts +1 -0
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +2 -0
- package/BackOffice/SignatureDialog.d.ts +8 -2
- package/BackOffice/SignatureDialog.stories.d.ts +4 -0
- package/BackOffice/SignatureDialogFrame.d.ts +2 -0
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +18 -0
- package/BackOffice/SignatureDialogMethods.d.ts +2 -2
- package/BackOffice/SignatureDialogPowersOfAttorney.d.ts +9 -0
- package/BackOffice/SignatureDialogSettings.d.ts +2 -2
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
- package/BackOffice/TaskDelegate.d.ts +1 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +202 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +1119 -1
- package/Helpers/Button.d.ts +2 -0
- package/Helpers/ComandBarButton.d.ts +2 -0
- package/Helpers/IconButton.d.ts +2 -0
- package/Helpers/ModalDialog/ModalDialog.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +4 -0
- package/Legacy/ApprovalFilePanel.d.ts +2 -1
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ISignatureListItemDataModel.d.ts +1 -0
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Platform/AggregatesApplyButtonPanel.d.ts +1 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CardLink.d.ts +6 -6
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/ExportESignButton.d.ts +2 -0
- package/Platform/FilePickerOperations.d.ts +2 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/Table.d.ts +2 -0
- package/Platform/TableImpl.d.ts +1 -1
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +3 -2
- package/System/ResourcesStub.d.ts +61 -1
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ export interface IDigitalSignOptions {
|
|
|
43
43
|
timestamp: number;
|
|
44
44
|
/** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
|
|
45
45
|
cardInfo?: GenModels.CardInfoModel;
|
|
46
|
+
powerOfAttorneyID?: string;
|
|
46
47
|
}
|
|
47
48
|
export declare class IEncryptedInfo {
|
|
48
49
|
/** Идентификатор карточки документа */
|
|
@@ -56,6 +57,7 @@ export declare class IEncryptedInfo {
|
|
|
56
57
|
signedFiles: GenModels.SignatureItemData[];
|
|
57
58
|
/** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
|
|
58
59
|
cardInfo?: GenModels.CardInfoModel;
|
|
60
|
+
powerOfAttorneyID?: string;
|
|
59
61
|
}
|
|
60
62
|
export declare class ITaskEncryptedInfo {
|
|
61
63
|
isSimpleSign: boolean;
|
|
@@ -7,6 +7,7 @@ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
|
7
7
|
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
8
8
|
export declare function actualizeProfileCertificateSource(settings: GenModels.SignatureMethodSettings, services: $SignatureController & $MessageBox & $CloudSignature & $CryptoPro & $Resources & $ApplicationSettings): Promise<{
|
|
9
9
|
cloudAccountName: string;
|
|
10
|
+
showCloudCertificates: boolean;
|
|
10
11
|
accessTokenReceived: boolean;
|
|
11
12
|
methods: GenModels.SignatureMethod[];
|
|
12
13
|
certificates: GenModels.SavedCertificateInfo[];
|
|
@@ -13,7 +13,7 @@ export declare class AuthenticationKindsView {
|
|
|
13
13
|
inputMask: typeof InputMask;
|
|
14
14
|
checkBox: typeof CheckBox;
|
|
15
15
|
label: (props:
|
|
16
|
-
import("
|
|
16
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
|
|
17
17
|
button: (props:
|
|
18
18
|
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
19
19
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export declare const checkSectionAccessRights: (rowId: string, sectionId: string, cardDataRights: GenModels.CardDataRights, services: $SecurityController) => Promise<boolean>;
|
|
@@ -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("
|
|
40
|
+
import("D:/Repositories/Webc17/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("
|
|
45
|
+
import("D:/Repositories/Webc17/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("
|
|
50
|
+
import("D:/Repositories/Webc17/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected selectAllCheckboxLabel:
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export declare function convertPowersOfAttorneyToComboBoxItems(powersOfAttorney: GenModels.PowerOfAttorneyModel[]): {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
data: GenModels.PowerOfAttorneyModel;
|
|
6
|
+
}[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
3
|
+
export declare function convertPowersResponseToTreeData(items: unknown[]): IPowersTreeRow[];
|
|
4
|
+
export declare function wrapPowersRootSectionNode(rootSectionId: any, items: IDirectoryTreeRow[]): IDirectoryTreeRow[];
|
|
@@ -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("
|
|
9
|
+
import("D:/Repositories/Webc17/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>;
|
|
@@ -5,7 +5,7 @@ import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
|
|
|
5
5
|
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from '@docsvision/webclient/StandardServices';
|
|
6
6
|
import { $MessageWindow } from '@docsvision/web/components/modals/message-box';
|
|
7
7
|
import { $CloudSignature } from '@docsvision/webclient/BackOffice/$CloudSignature';
|
|
8
|
-
import { $LayoutDocumentController, $SignatureController, $SignatureMethodsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
+
import { $LayoutDocumentController, $PowerOfAttorneyApiController, $SignatureController, $SignatureMethodsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
9
9
|
import { $DocumentCardController } from '@docsvision/webclient/Legacy/DocumentCard';
|
|
10
10
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
11
11
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
@@ -17,6 +17,7 @@ import { SignatureDialogLogic } from '@docsvision/webclient/BackOffice/Signature
|
|
|
17
17
|
import { IDigitalSignatureDialogManagement } from '@docsvision/webclient/BackOffice/IDigitalSignatureDialogManagement';
|
|
18
18
|
import { Event } from 'effector';
|
|
19
19
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
20
|
+
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
20
21
|
/** @internal */
|
|
21
22
|
export declare class DigitalSignatureService implements IDigitalSignatureService {
|
|
22
23
|
private services;
|
|
@@ -26,7 +27,7 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
|
|
|
26
27
|
updateCurrentDialog: () => void;
|
|
27
28
|
beforeSignatureDialogShown: Event<BeforeSignatureDialogShowEventArgs>;
|
|
28
29
|
afterSignatureDialogShown: Event<AfterSignatureDialogShowEventArgs>;
|
|
29
|
-
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $Resources & $DeviceType & $Domain);
|
|
30
|
+
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $Router & $SignatureMethodsController & $Resources & $DeviceType & $Domain & $PowerOfAttorneyApiController);
|
|
30
31
|
showDocumentSignDialog(documentId: string, optionsArg?: ISignatureDialogOptions): Promise<void>;
|
|
31
32
|
getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
|
|
32
33
|
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
@@ -65,6 +65,7 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
|
|
|
65
65
|
protected isItemAllowedToAccept(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
66
66
|
private isItemInSelectionArea;
|
|
67
67
|
protected isDialogSelectButtonEnabled(): boolean;
|
|
68
|
+
protected getFilteredPath(path: GenModels.DirectoryDesignerItem[]): GenModels.DirectoryDesignerItem[];
|
|
68
69
|
protected renderActionButton: (item: IDirectoryItem<NodeT | ItemT>) => JSX.Element;
|
|
69
70
|
protected renderDialogBreadcrumbs(): JSX.Element;
|
|
70
71
|
protected renderSearchModeToggle(): JSX.Element;
|
|
@@ -60,10 +60,10 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
|
|
|
60
60
|
export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, DirectoryDesignerRowState<ValueT>> {
|
|
61
61
|
protected createParams(): DirectoryDesignerRowParams<ValueT>;
|
|
62
62
|
protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
|
|
63
|
-
import("
|
|
64
|
-
import("
|
|
65
|
-
import("
|
|
66
|
-
import("
|
|
63
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
64
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
65
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
66
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType;
|
|
67
67
|
private set DirectoryDesignerRowBinding(value);
|
|
68
68
|
private set binding(value);
|
|
69
69
|
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("
|
|
46
|
+
import("D:/Repositories/Webc17/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:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/Di
|
|
|
60
60
|
protected getIconClassName(): string;
|
|
61
61
|
protected onIconClick(): void;
|
|
62
62
|
protected getTypeaheadProps():
|
|
63
|
-
import("
|
|
63
|
+
import("D:/Repositories/Webc17/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("
|
|
16
|
+
import("D:/Repositories/Webc17/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -31,6 +31,7 @@ export interface DirectoryTreeProps extends HtmlProps.div, IComponentProps<Direc
|
|
|
31
31
|
copyCondition?: Store<boolean>;
|
|
32
32
|
addSection?: () => void;
|
|
33
33
|
addButtonTitle?: string;
|
|
34
|
+
onToggle?: (row?: IDirectoryTreeRow) => void;
|
|
34
35
|
loadChildren?: (parentRow: IDirectoryTreeRow) => Promise<IDirectoryTreeRow[]>;
|
|
35
36
|
treeAddButtonFn?: (props: DirectoryTreeProps) => JSX.Element;
|
|
36
37
|
services: Optional<$ContextMenuOptions> & $LocalStorage & $ApplicationSettings & $LayoutInfo & $EditOperationStore & $IsIE;
|
|
@@ -3,14 +3,14 @@ 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("
|
|
6
|
+
import("D:/Repositories/Webc17/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:
|
|
10
10
|
import("./components/EmailButtonItem").EmailButtonItemProps) => JSX.Element;
|
|
11
11
|
checkbox:
|
|
12
12
|
import("react").ForwardRefExoticComponent<Pick<
|
|
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" | "checked" | "readOnly" | "required" | "htmlFor" | "
|
|
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" | "checked" | "readOnly" | "required" | "htmlFor" | "dataTestId" | "onSetupLogic" | "onSetupView" | "indeterminate" | "labelText" | "innerRef"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
files: (props:
|
|
16
16
|
import("./components/EmailButtonFiles").EmailButtonFilesProps) => JSX.Element;
|
|
@@ -40,7 +40,7 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
40
40
|
private attachRoot;
|
|
41
41
|
DialogBox:
|
|
42
42
|
import("styled-components").StyledComponent<(props:
|
|
43
|
-
import("
|
|
43
|
+
import("D:/Repositories/Webc17/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
44
44
|
close(): void;
|
|
45
45
|
onMaximize: () => void;
|
|
46
46
|
render(): JSX.Element;
|
|
@@ -2,12 +2,17 @@ import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCa
|
|
|
2
2
|
import { ISignatureListItemDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDataModel";
|
|
3
3
|
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import { $LayoutDocumentController, $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
+
import { $LayoutDocumentController, $PowerOfAttorneyApiController, $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
6
6
|
import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { Popover } from "@docsvision/webclient/Helpers/PopoverHelpers/Popover";
|
|
8
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
9
|
import { ISignatureListItemDetailDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDetailDataModel";
|
|
9
10
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
10
11
|
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
12
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
13
|
+
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
14
|
+
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
15
|
+
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
11
16
|
/** @internal */
|
|
12
17
|
export interface IFileSignListDialogProps {
|
|
13
18
|
/** Идентификатор документа. */
|
|
@@ -16,7 +21,7 @@ export interface IFileSignListDialogProps {
|
|
|
16
21
|
onInit?: () => void;
|
|
17
22
|
/** Вызывается при закрытии окна со списком подписей. */
|
|
18
23
|
onClose?: () => void;
|
|
19
|
-
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature;
|
|
24
|
+
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $MessageWindow & $WebViewIOSEnabled & $RequestManager & $CloudSignature & $PowerOfAttorneyApiController & $Resources & $MessageBox & $Router;
|
|
20
25
|
}
|
|
21
26
|
/** @internal */
|
|
22
27
|
export interface IFileSignListDialogState {
|
|
@@ -58,6 +63,8 @@ export declare class FileSignListDialog extends React.Component<IFileSignListDia
|
|
|
58
63
|
*/
|
|
59
64
|
protected renderSignatureDetails(signatureId: string, showTimestamp: boolean, detailsColumnCount: number, showExpireDate: boolean): any[];
|
|
60
65
|
private renderSignatureInfoPopover;
|
|
66
|
+
protected renderResultOfValidation(powerOfAttorneyData: GenModels.PowerOfAttorneyVerificationModel): JSX.Element;
|
|
67
|
+
protected renderPowerOfAttorneyInfo(powerOfAttorneyId: any): Promise<void>;
|
|
61
68
|
/** Отрисовывает таблицу с информацией о подписях. */
|
|
62
69
|
renderTable(): JSX.Element;
|
|
63
70
|
/** @internal */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FileSignListDialog } from '@docsvision/webclient/BackOffice/FileSignListDialog';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof FileSignListDialog;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Loading: () => JSX.Element;
|
|
9
|
+
export declare const WithoutPowerOfAttorney: () => JSX.Element;
|
|
10
|
+
export declare const WithValidPowerOfAttorney: () => JSX.Element;
|
|
11
|
+
export declare const WithInvalidPowerOfAttorney: () => JSX.Element;
|
|
12
|
+
export declare const InformationAboutPowerOfAttorney: () => JSX.Element;
|
|
13
|
+
export declare const InformationAboutInconsistencies: () => JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
export declare type FindSectionResult = {
|
|
3
|
+
row: IDirectoryTreeRow;
|
|
4
|
+
parentRow: IDirectoryTreeRow;
|
|
5
|
+
index: number;
|
|
6
|
+
path: IDirectoryTreeRow[];
|
|
7
|
+
};
|
|
8
|
+
export declare function findSection(sectionId: string, tree: IDirectoryTreeRow[]): FindSectionResult;
|
|
9
|
+
export declare function findSectionImpl(sectionId: string, tree: IDirectoryTreeRow[], path: IDirectoryTreeRow[]): FindSectionResult;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
2
|
+
export declare const POWERS_DIRECTORY_ICON_CLASSES: {
|
|
3
|
+
Root: string;
|
|
4
|
+
0: string;
|
|
5
|
+
1: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const getPowersSectionIconClass: (dataType: PowersDirectoryDataType) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export interface IPowerModel extends GenModels.IDirectoryItemData {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
code: string;
|
|
7
|
+
powerDataType: PowersDirectoryDataType;
|
|
8
|
+
dataType: GenModels.DirectoryDataType;
|
|
9
|
+
hasChildren: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export declare class IPowersDataLoadingEventArgs {
|
|
3
|
+
/**
|
|
4
|
+
* Запрашиваемая информация, включая текущий фильтр.
|
|
5
|
+
*/
|
|
6
|
+
query: GenModels.GetDataRequest | GenModels.SearchPowersRequest;
|
|
7
|
+
/**
|
|
8
|
+
* Результат выполнения запроса.
|
|
9
|
+
*/
|
|
10
|
+
result?: GenModels.GetDataResponse | GenModels.SearchPowersQueryResponse;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
2
|
+
import { IDirectorySelectDialog } from '@docsvision/webclient/System/IDirectorySelectDialog';
|
|
3
|
+
export interface IPowersDialog extends IDirectorySelectDialog {
|
|
4
|
+
selectedItems?: IPowerModel[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PowersDirectoryParams } from "@docsvision/webclient/BackOffice/PowersDirectory";
|
|
2
|
+
import { PowersDirectoryLogic } from "@docsvision/webclient/BackOffice/PowersDirectoryLogic";
|
|
3
|
+
import { PowersDirectoryView } from "@docsvision/webclient/BackOffice/PowersDirectoryView";
|
|
4
|
+
/** Сервис для переопределения реализации PowersDirectory */
|
|
5
|
+
export interface IPowersDirectoryOptions {
|
|
6
|
+
getPowersDirectoryView(params: PowersDirectoryParams): PowersDirectoryView;
|
|
7
|
+
getPowersDirectoryLogic(params: PowersDirectoryParams): PowersDirectoryLogic;
|
|
8
|
+
}
|
|
9
|
+
export declare type $PowersDirectoryOptions = {
|
|
10
|
+
powersDirectoryOptions: IPowersDirectoryOptions;
|
|
11
|
+
};
|
|
12
|
+
export declare const $PowersDirectoryOptions: string | ((model?: $PowersDirectoryOptions) => IPowersDirectoryOptions);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
export interface IPowersTreeRow extends Omit<IDirectoryTreeRow, "dataType">, Omit<GenModels.DirectoryItemData, "dataType"> {
|
|
5
|
+
dataType?: PowersDirectoryDataType;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
export declare function loadSectionInfoLayout(section: IDirectoryTreeRow, rowSectionId: string, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
5
|
+
export declare function loadSectionSummaryLayout(section: IDirectoryTreeRow, rowSectionId: string, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
6
|
+
export declare function loadSectionEditLayout(section: IDirectoryTreeRow, rowSectionId: string, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
7
|
+
export declare function loadSectionCreateLayout(parentSection: IDirectoryTreeRow | null, rowSectionId: string, type: GenModels.DirectoryDataType, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
@@ -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("
|
|
73
|
-
import("
|
|
72
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
73
|
+
import("D:/Repositories/Webc17/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("
|
|
43
|
-
import("
|
|
44
|
-
import("
|
|
42
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("D:/Repositories/Webc17/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>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
3
|
+
|
|
4
|
+
export interface IPowerOfAttorneyErrorMessageProps extends HtmlProps.div {
|
|
5
|
+
text?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function PowerOfAttorneyErrorMessage(props: IPowerOfAttorneyErrorMessageProps): JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
4
|
+
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
5
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
6
|
+
|
|
7
|
+
export interface IPowerOfAttorneyInfoProps {
|
|
8
|
+
data: GenModels.PowerOfAttorneyInfoModel;
|
|
9
|
+
services: $Resources & $Router & $MessageWindow;
|
|
10
|
+
}
|
|
11
|
+
export declare function PowerOfAttorneyInfo(props: IPowerOfAttorneyInfoProps): JSX.Element;
|
|
12
|
+
export declare function showPowerOfAttorneyInfo(props: IPowerOfAttorneyInfoProps): void;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { $PowersDirectoryController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
|
|
3
|
+
import { $CardInfo, $EditOperationStore, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
4
|
+
import { IBindingResult } from '@docsvision/webclient/System/IBindingResult';
|
|
5
|
+
import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
6
|
+
import { IPowersDataLoadingEventArgs } from '@docsvision/webclient/BackOffice/IPowersDataLoadingEventArgs';
|
|
7
|
+
import { PowersImpl, IPowersState } from '@docsvision/webclient/BackOffice/PowersImpl';
|
|
8
|
+
import { IPowersDialog } from '@docsvision/webclient/BackOffice/IPowersDialog';
|
|
9
|
+
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
10
|
+
import { Optional } from '@docsvision/web/core/services';
|
|
11
|
+
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
12
|
+
export declare type $PowersServices = $LayoutInfo & $EditOperationStore & $CardInfo & $PowersDirectoryController & Optional<$LabelWidth>;
|
|
13
|
+
export declare type PowersValueType = IPowerModel | IPowerModel[];
|
|
14
|
+
export declare type PowersNodeType = IPowerModel;
|
|
15
|
+
declare type ItemT = IPowerModel;
|
|
16
|
+
export declare class PowersParams<ValueT extends PowersValueType = PowersValueType> extends DirectoryBaseParams<ValueT, PowersNodeType, ItemT> {
|
|
17
|
+
standardCssClass?: string;
|
|
18
|
+
displayIcon?: boolean;
|
|
19
|
+
/** Доступен ли выбор нескольких значений. */
|
|
20
|
+
multipleSelection?: boolean;
|
|
21
|
+
selectedItem?: ItemT;
|
|
22
|
+
/** Сохранять разметку при изменении значения */
|
|
23
|
+
saveOnChangeValue?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Событие, возникающее перед выполнением поиска записей на сервере. В обработчике события можно изменить параметры запроса.
|
|
26
|
+
* Если в обработчике задать значение result, то запрос на сервер выполнен не будет.
|
|
27
|
+
*/
|
|
28
|
+
searchResultsLoading?: CancelableApiEvent<IPowersDataLoadingEventArgs>;
|
|
29
|
+
/** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
|
|
30
|
+
searchResultsLoaded?: BasicApiEvent<IPowersDataLoadingEventArgs>;
|
|
31
|
+
/** События возникает при добавлении сотрудника. */
|
|
32
|
+
/** @covered */
|
|
33
|
+
itemAdding?: CancelableApiEvent<ValueT>;
|
|
34
|
+
/** События возникает после добавления сотрудника. */
|
|
35
|
+
/** @covered */
|
|
36
|
+
itemAdded?: BasicApiEvent<ValueT>;
|
|
37
|
+
/** События возникает при удалении сотрудника из списка. */
|
|
38
|
+
/** @covered */
|
|
39
|
+
itemRemoving?: CancelableApiEvent<ValueT>;
|
|
40
|
+
/** События возникает после удаления сотрудника из списка. */
|
|
41
|
+
/** @covered */
|
|
42
|
+
itemRemoved?: BasicApiEvent<ValueT>;
|
|
43
|
+
services?: $PowersServices;
|
|
44
|
+
}
|
|
45
|
+
export declare type PowersSingle = Powers<ItemT>;
|
|
46
|
+
export declare type PowersMultiple = Powers<ItemT[]>;
|
|
47
|
+
export declare class Powers<ValueT extends PowersValueType = PowersValueType> extends DirectoryBase<ValueT, PowersNodeType, ItemT, PowersParams<ValueT>, IPowersState<ValueT>> {
|
|
48
|
+
/** @internal */
|
|
49
|
+
protected createParams(): PowersParams<ValueT>;
|
|
50
|
+
/** @internal */
|
|
51
|
+
protected createImpl(): PowersImpl;
|
|
52
|
+
static ControlTypeName: string;
|
|
53
|
+
protected getServices(): $PowersServices;
|
|
54
|
+
private set binding(value);
|
|
55
|
+
get inputChanged():
|
|
56
|
+
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
57
|
+
/** Удаляет выбранное значение. */
|
|
58
|
+
/** @covered */
|
|
59
|
+
removeItem(item?: ItemT): Promise<void>;
|
|
60
|
+
/** Добавляет значение. */
|
|
61
|
+
addItem(item: ItemT): Promise<void>;
|
|
62
|
+
setParamValue(paramName: string, value: any, initial: boolean): void;
|
|
63
|
+
/** Показывает окно справочника. */
|
|
64
|
+
showDictionary(): Promise<IPowersDialog>;
|
|
65
|
+
/** Скрывает окно справочника. */
|
|
66
|
+
hideDictionary(): Promise<void>;
|
|
67
|
+
protected shouldSaveEditInPlaceValue(): boolean;
|
|
68
|
+
onSaved(): Promise<void>;
|
|
69
|
+
/** @internal */
|
|
70
|
+
protected getBindings(): IBindingResult<any>[];
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Powers } from '@docsvision/webclient/BackOffice/Powers';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Powers;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Edit: () => JSX.Element;
|
|
9
|
+
export declare const EditDisabled: () => JSX.Element;
|
|
10
|
+
export declare const EditSingleSelection: () => JSX.Element;
|
|
11
|
+
export declare const EditMultiSelection: () => JSX.Element;
|
|
12
|
+
export declare const EditInPlace: () => JSX.Element;
|
|
13
|
+
export declare const EditInPlaceDisabled: () => JSX.Element;
|
|
14
|
+
export declare const EditInPlaceSingleSelection: () => JSX.Element;
|
|
15
|
+
export declare const EditInPlaceMultiSelection: () => JSX.Element;
|
|
16
|
+
export declare const ViewSingleSelection: () => JSX.Element;
|
|
17
|
+
export declare const ViewMultiSelection: () => JSX.Element;
|
|
18
|
+
export declare const SelectDialogWithGroups: () => JSX.Element;
|
|
19
|
+
export declare const SelectDialogWithSingleSelectionCodes: () => JSX.Element;
|
|
20
|
+
export declare const SelectDialogWithMultiSelectionCodes: () => JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const POWERS_SECTION_INFO_LOCATION_NAME = "DV.PowersDirectory.SectionInfo";
|
|
2
|
+
export declare const POWERS_SECTION_EDIT_LOCATION_NAME = "DV.PowersDirectory.SectionEdit";
|
|
3
|
+
export declare const POWERS_SECTION_CREATE_LOCATION_NAME = "DV.PowersDirectory.SectionCreate";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
3
|
+
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
4
|
+
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
5
|
+
import { $ApplicationSettings, $DeviceType, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
6
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
7
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
8
|
+
import { IPowersDirectoryLogicOptions, PowersDirectoryLogic } from "@docsvision/webclient/BackOffice/PowersDirectoryLogic";
|
|
9
|
+
import { PowersDirectoryView } from "@docsvision/webclient/BackOffice/PowersDirectoryView";
|
|
10
|
+
import { $SecurityDescriptorDialogServices } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
|
|
11
|
+
import { $PowersDirectoryOptions } from "@docsvision/webclient/BackOffice/IPowersDirectoryOptions";
|
|
12
|
+
|
|
13
|
+
import { Optional } from "@docsvision/web/core/services";
|
|
14
|
+
import { $WebFrameDirectorySearchPanelService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
15
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
16
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
17
|
+
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
18
|
+
import { $LayoutRowController, $LayoutCardController, $PowersDirectoryController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
19
|
+
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
20
|
+
/**
|
|
21
|
+
* Содержит публичные свойства элемента управления [Справочник полномочий]{@link PowersDirectory}.
|
|
22
|
+
*/
|
|
23
|
+
export declare class PowersDirectoryParams extends BaseControlParams {
|
|
24
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
25
|
+
standardCssClass?: string;
|
|
26
|
+
/** Отображаемое в левой части контрола дерево (подразделения, группы или должности) */
|
|
27
|
+
currentSectionsTree?: IPowersTreeRow[];
|
|
28
|
+
/** Вызывается после загрузки корневых узлов дерева. */
|
|
29
|
+
rootTreeSectionsLoaded?: BasicApiEvent<IPowersTreeRow[]>;
|
|
30
|
+
/** Вызывается после любого изменении отображаемого в левой части дерева. */
|
|
31
|
+
currentSectionTreeUpdated?: BasicApiEvent<IPowersTreeRow[]>;
|
|
32
|
+
/** Сервисы. */
|
|
33
|
+
services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & Optional<$PowersDirectoryOptions> & $DeviceType & $IsIE & $WebFrameDirectorySearchPanelService & $Domain & $PowersDirectoryController & $Router;
|
|
34
|
+
}
|
|
35
|
+
export interface IPowersDirectoryState extends BaseControlImplState, PowersDirectoryParams, IPowersDirectoryLogicOptions {
|
|
36
|
+
logic: PowersDirectoryLogic;
|
|
37
|
+
view: PowersDirectoryView;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Класс элемента управления Панель поиска в справочнике.
|
|
41
|
+
*/
|
|
42
|
+
export declare class PowersDirectory extends BaseControl<PowersDirectoryParams, IPowersDirectoryState> {
|
|
43
|
+
construct(): void;
|
|
44
|
+
protected createParams(): PowersDirectoryParams;
|
|
45
|
+
protected createImpl(): ControlImpl;
|
|
46
|
+
private get currentSectionsTree();
|
|
47
|
+
saveExpandedRows(ids: string[]): void;
|
|
48
|
+
renderControl(): JSX.Element;
|
|
49
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PowersDirectory } from "@docsvision/webclient/BackOffice/PowersDirectory";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof PowersDirectory;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: () => JSX.Element;
|
|
9
|
+
export declare const ExpandedNode: () => JSX.Element;
|
|
10
|
+
export declare const TreeAddButton: () => JSX.Element;
|
|
11
|
+
export declare const SecuritySettingsButton: () => JSX.Element;
|
|
12
|
+
export declare const GroupContextMenu: () => JSX.Element;
|
|
13
|
+
export declare const CodeContextMenu: () => JSX.Element;
|
|
14
|
+
export declare const RootContextMenu: () => JSX.Element;
|
|
15
|
+
export declare const EditDialog: () => JSX.Element;
|
|
16
|
+
export declare const CreateCodeDialog: () => JSX.Element;
|
|
17
|
+
export declare const CreateGroupDialog: () => JSX.Element;
|
|
18
|
+
export declare const DeleteGroupConfirmation: () => JSX.Element;
|
|
19
|
+
export declare const DeleteCodeConfirmation: () => JSX.Element;
|
|
20
|
+
export declare const SecuritySettingsRow: () => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const POWERS_DIRECTORY_ID = "30EB75E2-16F8-4150-A2D4-4A82A38A1849";
|
|
2
|
+
export declare const CONTEXT_MENU_EDIT_ICON = "ico-edit-menu";
|
|
3
|
+
export declare const CONTEXT_MENU_INFO_ICON = "ico-info-menu";
|
|
4
|
+
export declare const CONTEXT_MENU_SECURITY_ICON = "ico-security-menu";
|
|
5
|
+
export declare const CONTEXT_MENU_DELETE_ICON = "ico-delete-menu";
|
|
6
|
+
export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
7
|
+
export declare const CONTEXT_MENU_POWERS_CREATE_GROUP_ID = "CONTEXT_MENU_POWERS_CREATE_GROUP_ID";
|
|
8
|
+
export declare const CONTEXT_MENU_POWERS_CREATE_CODE_ID = "CONTEXT_MENU_POWERS_CREATE_CODE_ID";
|
|
9
|
+
export declare const CONTEXT_MENU_POWERS_ACCESS_RIGHTS_ID = "CONTEXT_MENU_POWERS_ACCESS_RIGHTS_ID";
|
|
10
|
+
export declare const CONTEXT_MENU_POWERS_INFO_ID = "CONTEXT_MENU_POWERS_INFO_ID";
|
|
11
|
+
export declare const CONTEXT_MENU_POWERS_EDIT_ID = "CONTEXT_MENU_POWERS_EDIT_ID";
|
|
12
|
+
export declare const CONTEXT_MENU_POWERS_DELETE_ID = "CONTEXT_MENU_POWERS_DELETE_ID";
|