@docsvision/webclient 5.17.0-beta.20 → 5.17.0-beta.22
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/Input.d.ts +2 -1
- package/Account/LoginPage.d.ts +0 -1
- package/Account/ParseQueryString.d.ts +1 -0
- package/Account/index.d.ts +2 -10
- package/Approval/AgreementManagement.d.ts +9 -0
- package/Approval/AgreementManagementImpl.d.ts +3 -2
- package/Approval/IAgreemenSavingEventArgs.d.ts +3 -0
- package/Approval/IAgreementEventArgs.d.ts +6 -0
- package/BackOffice/$DigitalSignature.d.ts +2 -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 +8 -0
- package/BackOffice/DeleteSection.d.ts +2 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +1 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FindSection.d.ts +9 -0
- package/BackOffice/GetPowersIconClassName.d.ts +7 -0
- package/BackOffice/GetPowersRootSectionId.d.ts +5 -0
- package/BackOffice/IPowersDirectoryOptions.d.ts +12 -0
- package/BackOffice/IPowersTreeRow.d.ts +6 -0
- package/BackOffice/ISelectedCardsAddingEventArgs.d.ts +4 -0
- package/BackOffice/Links.d.ts +4 -1
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +7 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -1
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +7 -0
- package/BackOffice/PowerOfAttorneyInfo.d.ts +9 -0
- package/BackOffice/PowersDialogLocations.d.ts +3 -0
- package/BackOffice/PowersDirectory.d.ts +48 -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 +168 -0
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +16 -0
- package/BackOffice/PowersDirectoryView.d.ts +61 -0
- package/BackOffice/PowersRootSectionConstants.d.ts +17 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SaveExpandedState.d.ts +2 -0
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +2 -0
- package/BackOffice/SignatureDialog.d.ts +12 -2
- package/BackOffice/SignatureDialogFrame.d.ts +8 -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 +2 -1
- package/BackOffice/StaffDirectoryLogic.d.ts +1 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +138 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +401 -0
- package/Helpers/FileComments/FileComments.d.ts +1 -0
- package/Helpers/PopoverHelpers/PopoverContent.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/IAgreementParams.d.ts +2 -2
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +2 -0
- package/Platform/$ToolbarActionButtons.d.ts +16 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CardLink.d.ts +6 -6
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/DVWebToolInfo.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +1 -0
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/ExportPlugin.d.ts +2 -10
- package/Platform/FilePickerImpl.d.ts +0 -1
- package/Platform/FilePreviewImpl.d.ts +2 -1
- package/Platform/FolderDataContextImpl.d.ts +3 -1
- package/Platform/FolderGrid.d.ts +1 -0
- package/Platform/FolderGridImpl.d.ts +1 -0
- package/Platform/IFilterComponent.d.ts +2 -2
- package/Platform/LayoutPageMainMenuItem.d.ts +3 -3
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +0 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/ReadAllPlugin.d.ts +2 -10
- package/Platform/RefreshFoldersTreeButton.d.ts +2 -2
- package/Platform/RefreshPlugin.d.ts +2 -10
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/SettingsPlugin.d.ts +4 -12
- package/Platform/SettingsPopupLogic.d.ts +4 -0
- package/Platform/TextControlBaseImpl.d.ts +3 -1
- package/Platform/TextListInputView.d.ts +2 -2
- package/Platform/ToolbarActionButtonsService.d.ts +11 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/index.d.ts +1 -5
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/InputBasedControlImpl.d.ts +4 -1
- package/System/ResourcesStub.d.ts +42 -1
- package/package.json +1 -1
- package/Account/ImportReact.d.ts +0 -1
package/Account/Input.d.ts
CHANGED
|
@@ -7,9 +7,10 @@ export interface IInputProps {
|
|
|
7
7
|
value?: string;
|
|
8
8
|
autoComplete?: string;
|
|
9
9
|
name?: string;
|
|
10
|
+
autoFocus?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare enum InputType {
|
|
12
13
|
Text = "text",
|
|
13
14
|
Password = "password"
|
|
14
15
|
}
|
|
15
|
-
export declare function Input({ type: defaultType, placeholder, handleChange, value, autoComplete, name, }: IInputProps): JSX.Element;
|
|
16
|
+
export declare function Input({ type: defaultType, placeholder, handleChange, value, autoComplete, name, autoFocus }: IInputProps): JSX.Element;
|
package/Account/LoginPage.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parseQueryString(query: string): {};
|
package/Account/index.d.ts
CHANGED
|
@@ -44,15 +44,7 @@ export declare type AutoCompleteOptions = Partial<{
|
|
|
44
44
|
password: string;
|
|
45
45
|
form: string;
|
|
46
46
|
}>;
|
|
47
|
-
export declare
|
|
48
|
-
LogicEventConstructor = "LogicEventConstructor",
|
|
49
|
-
LogicEventBeforeFormSubmit = "LogicEventBeforeFormSubmit",
|
|
50
|
-
LogicEventAfterFormSubmit = "LogicEventAfterFormSubmit",
|
|
51
|
-
LogicEventBeforeGetProviders = "LogicEventBeforeGetProviders",
|
|
52
|
-
LogicEventAfterGetProviders = "LogicEventAfterGetProviders",
|
|
53
|
-
EventLoginPageUseEffect = "EventLoginPageUseEffect",
|
|
54
|
-
EventContainerUseEffect = "EventContainerUseEffect"
|
|
55
|
-
}
|
|
47
|
+
export declare type LoginEvents = "LogicEventConstructor" | "LogicEventBeforeFormSubmit" | "LogicEventAfterFormSubmit" | "LogicEventBeforeGetProviders" | "LogicEventAfterGetProviders" | "EventLoginPageUseEffect" | "EventContainerUseEffect";
|
|
56
48
|
export interface ILoginExtensionManager {
|
|
57
49
|
currentLocale: string;
|
|
58
50
|
getResources?: () => {
|
|
@@ -64,7 +56,7 @@ export interface ILoginExtensionManager {
|
|
|
64
56
|
addPlugin: (plugin: ILoginPlugin) => void;
|
|
65
57
|
addPlugins: (plugins: ILoginPlugin[]) => void;
|
|
66
58
|
removePlugin: (name: string) => void;
|
|
67
|
-
onSetupView: (view: LoginView) =>
|
|
59
|
+
onSetupView: (view: LoginView) => LoginView;
|
|
68
60
|
logicEventConstructor: (data: {
|
|
69
61
|
logic: LoginLogic;
|
|
70
62
|
}) => boolean | void;
|
|
@@ -16,6 +16,7 @@ import { Optional } from '@docsvision/web/core/services';
|
|
|
16
16
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
17
17
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
18
18
|
import { $DeviceType } from "@docsvision/web/core/system-services/environment/DeviceTypeService";
|
|
19
|
+
import { IAgreemenSavingEventArgs } from "@docsvision/webclient/Approval/IAgreemenSavingEventArgs";
|
|
19
20
|
/**
|
|
20
21
|
* Содержит публичные свойства элемента управления [Управление согласованием]{@link AgreementManagement}.
|
|
21
22
|
*/
|
|
@@ -79,6 +80,10 @@ export declare class AgreementManagementParams extends BaseControlParams {
|
|
|
79
80
|
approvingPanelOpening?: CancelableApiEvent<IEventArgs>;
|
|
80
81
|
/** Событие возникает после открытия панели отправки согласования. */
|
|
81
82
|
approvingPanelOpened?: BasicApiEvent<IEventArgs>;
|
|
83
|
+
/** Событие возникает перед закрытием панели согласования. */
|
|
84
|
+
approvingPanelClosing?: CancelableApiEvent<IEventArgs>;
|
|
85
|
+
/** Событие возникает после закрытия панели согласования. */
|
|
86
|
+
approvingPanelClosed?: BasicApiEvent<IEventArgs>;
|
|
82
87
|
/** Событие возникает при нажатии кнопки Start the approval на панели отправки согласования. */
|
|
83
88
|
approvingStarting?: CancelableApiEvent<IAgreementEventArgs>;
|
|
84
89
|
/** Событие возникает при вызове команды остановки согласования. */
|
|
@@ -89,6 +94,10 @@ export declare class AgreementManagementParams extends BaseControlParams {
|
|
|
89
94
|
approvingCompleting?: CancelableApiEvent<IEventArgs>;
|
|
90
95
|
/** Событие возникает при вызове команды продолжения остановленного согласования. */
|
|
91
96
|
approvingResuming?: CancelableApiEvent<IEventArgs>;
|
|
97
|
+
/** Событие возникает перед сохранением согласования. */
|
|
98
|
+
approvingSaving?: CancelableApiEvent<IAgreemenSavingEventArgs>;
|
|
99
|
+
/** Событие возникает после сохранения согласования. */
|
|
100
|
+
approvingSaved?: BasicApiEvent<IAgreemenSavingEventArgs>;
|
|
92
101
|
/** Событие возникает при добавлении нового согласующего. */
|
|
93
102
|
approverAdding?: CancelableApiEvent<IApproverEventArgs>;
|
|
94
103
|
/** Событие возникает после добавления нового согласующего. */
|
|
@@ -33,15 +33,16 @@ export declare class AgreementManagementImpl extends BaseControlImpl<AgreementMa
|
|
|
33
33
|
protected onTemplateSelect(val: IComboBoxElement): Promise<void>;
|
|
34
34
|
protected onCancelClick(start: boolean): void;
|
|
35
35
|
onSendClick(): Promise<void>;
|
|
36
|
+
private startApproving;
|
|
36
37
|
private requestClearReconcilationList;
|
|
37
|
-
protected onSaveClick(): void
|
|
38
|
+
protected onSaveClick(): Promise<void>;
|
|
38
39
|
protected onInterruptClick(): Promise<void>;
|
|
39
40
|
protected onOperationButtonClick(operation: GenModels.ApprovalOperationKind): Promise<void>;
|
|
40
41
|
start(): Promise<unknown>;
|
|
41
42
|
protected handleLoadingErrorOnSidebarOpen(loadingTimer: any): void;
|
|
42
43
|
hideStartSidebar(cancel?: boolean): Promise<void>;
|
|
43
44
|
edit(): Promise<unknown>;
|
|
44
|
-
hideManagementSidebar(): void
|
|
45
|
+
hideManagementSidebar(): Promise<void>;
|
|
45
46
|
protected handleClick(event: React.MouseEvent<any>): void;
|
|
46
47
|
protected handleMouseOver(event: React.MouseEvent<any>): void;
|
|
47
48
|
protected handleMouseOut(event: React.MouseEvent<any>): void;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { IAgreementParams } from "@docsvision/webclient/Legacy/IAgreementParams";
|
|
2
2
|
export interface IAgreementEventArgs extends IAgreementParams {
|
|
3
|
+
clearReconciliationList?: {
|
|
4
|
+
value: boolean;
|
|
5
|
+
};
|
|
6
|
+
needToRequestReconciliationList?: {
|
|
7
|
+
value: boolean;
|
|
8
|
+
};
|
|
3
9
|
}
|
|
@@ -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;
|
|
@@ -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:/Users/peshne.k/devWebClient/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("C:/
|
|
40
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected taskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected selectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected fileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("C:/
|
|
50
|
+
import("C:/Users/peshne.k/devWebClient/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,8 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
3
|
+
import { Event } from 'effector';
|
|
4
|
+
export declare function convertPowersResponseToTreeData(items: unknown[], getItems: Event<{
|
|
5
|
+
parentSectionId: string;
|
|
6
|
+
expanded?: boolean;
|
|
7
|
+
}>): IPowersTreeRow[];
|
|
8
|
+
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("C:/
|
|
9
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -55,10 +55,10 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
|
|
|
55
55
|
export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, DirectoryDesignerRowState<ValueT>> {
|
|
56
56
|
protected createParams(): DirectoryDesignerRowParams<ValueT>;
|
|
57
57
|
protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
|
|
58
|
-
import("C:/
|
|
59
|
-
import("C:/
|
|
60
|
-
import("C:/
|
|
61
|
-
import("C:/
|
|
58
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
59
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
60
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
61
|
+
import("C:/Users/peshne.k/devWebClient/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:/Users/peshne.k/devWebClient/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/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase
|
|
|
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:/Users/peshne.k/devWebClient/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:/Users/peshne.k/devWebClient/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("C:/
|
|
6
|
+
import("C:/Users/peshne.k/devWebClient/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" | "onSetupLogic" | "onSetupView" | "indeterminate" | "labelText" | "innerRef" | "dataTestId"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
files: (props:
|
|
16
16
|
import("./components/EmailButtonFiles").EmailButtonFilesProps) => JSX.Element;
|
|
@@ -38,7 +38,7 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
38
38
|
private attachRoot;
|
|
39
39
|
DialogBox:
|
|
40
40
|
import("styled-components").StyledComponent<(props:
|
|
41
|
-
import("C:/
|
|
41
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
42
42
|
close(): void;
|
|
43
43
|
onMaximize: () => void;
|
|
44
44
|
render(): 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,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
|
+
}
|
package/BackOffice/Links.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
|
20
20
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
21
21
|
import { $FileService } from '@docsvision/webclient/System/$FileService';
|
|
22
22
|
import { $FilePreview } from '@docsvision/webclient/Platform/$FilePreview';
|
|
23
|
+
import { ISelectedCardsAddingEventArgs } from "@docsvision/webclient/BackOffice/ISelectedCardsAddingEventArgs";
|
|
23
24
|
/**
|
|
24
25
|
* Публичные свойства для контрола {@link Links}.
|
|
25
26
|
*/
|
|
@@ -133,8 +134,10 @@ export declare class LinksParams extends PanelParams {
|
|
|
133
134
|
linkCardOpening?: CancelableApiEvent<ILinkEventArgs>;
|
|
134
135
|
/** Событие возникает перед сворачиванием контрола. */
|
|
135
136
|
collapsing?: CancelableApiEvent<IEventArgs>;
|
|
136
|
-
/** Событие возникает перед
|
|
137
|
+
/** Событие возникает перед разворачиванием контрола. */
|
|
137
138
|
expanding?: CancelableApiEvent<IEventArgs>;
|
|
139
|
+
/** Событие возникает перед перед добавлением ссылок на выбранные карточки */
|
|
140
|
+
selectedCardsAdding?: CancelableApiEvent<ISelectedCardsAddingEventArgs>;
|
|
138
141
|
/** Событие возникает перед кликом по имени ссылки. */
|
|
139
142
|
nameLinkClicking?: CancelableApiEvent<ILinkEventArgs>;
|
|
140
143
|
/** Событие возникает перед открытием меню ссылки. */
|
|
@@ -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("C:/
|
|
73
|
-
import("C:/
|
|
72
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
73
|
+
import("C:/Users/peshne.k/devWebClient/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);
|
|
@@ -89,7 +89,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
89
89
|
protected onDocumentOut: (event: any) => void;
|
|
90
90
|
protected onMouseEnter: () => void;
|
|
91
91
|
protected onMouseLeave(): void;
|
|
92
|
-
protected
|
|
92
|
+
protected onDocumentMouseDown: (event: MouseEvent) => void;
|
|
93
93
|
protected renderTypeaheadHeader(): JSX.Element;
|
|
94
94
|
protected getIconLabel(): string;
|
|
95
95
|
protected onMouseDownIcon(): void;
|
|
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
39
39
|
export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
|
|
40
40
|
/** @internal */
|
|
41
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
44
|
-
import("C:/
|
|
42
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/Users/peshne.k/devWebClient/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,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
4
|
+
|
|
5
|
+
export interface IPowerOfAttorneyInfoProps {
|
|
6
|
+
data: GenModels.PowerOfAttorneyInfoModel;
|
|
7
|
+
services: $Resources;
|
|
8
|
+
}
|
|
9
|
+
export declare function getPowerOfAttorneyInfoContent(props: IPowerOfAttorneyInfoProps): 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,48 @@
|
|
|
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
|
+
/**
|
|
20
|
+
* Содержит публичные свойства элемента управления [Справочник полномочий]{@link PowersDirectory}.
|
|
21
|
+
*/
|
|
22
|
+
export declare class PowersDirectoryParams extends BaseControlParams {
|
|
23
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
24
|
+
standardCssClass?: string;
|
|
25
|
+
/** Отображаемое в левой части контрола дерево (подразделения, группы или должности) */
|
|
26
|
+
currentSectionsTree?: IPowersTreeRow[];
|
|
27
|
+
/** Вызывается после загрузки корневых узлов дерева. */
|
|
28
|
+
rootTreeSectionsLoaded?: BasicApiEvent<IPowersTreeRow[]>;
|
|
29
|
+
/** Вызывается после любого изменении отображаемого в левой части дерева. */
|
|
30
|
+
currentSectionTreeUpdated?: BasicApiEvent<IPowersTreeRow[]>;
|
|
31
|
+
/** Сервисы. */
|
|
32
|
+
services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & Optional<$PowersDirectoryOptions> & $DeviceType & $IsIE & $WebFrameDirectorySearchPanelService & $Domain & $PowersDirectoryController;
|
|
33
|
+
}
|
|
34
|
+
export interface IPowersDirectoryState extends BaseControlImplState, PowersDirectoryParams, IPowersDirectoryLogicOptions {
|
|
35
|
+
logic: PowersDirectoryLogic;
|
|
36
|
+
view: PowersDirectoryView;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Класс элемента управления Панель поиска в справочнике.
|
|
40
|
+
*/
|
|
41
|
+
export declare class PowersDirectory extends BaseControl<PowersDirectoryParams, IPowersDirectoryState> {
|
|
42
|
+
construct(): void;
|
|
43
|
+
protected createParams(): PowersDirectoryParams;
|
|
44
|
+
protected createImpl(): ControlImpl;
|
|
45
|
+
private get currentSectionsTree();
|
|
46
|
+
saveExpandedRows(ids: string[]): void;
|
|
47
|
+
renderControl(): JSX.Element;
|
|
48
|
+
}
|
|
@@ -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";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PowersDirectoryLogic } from "@docsvision/webclient/BackOffice/PowersDirectoryLogic";
|
|
3
|
+
import { PowersDirectoryView } from "@docsvision/webclient/BackOffice/PowersDirectoryView";
|
|
4
|
+
export declare function PowersDirectoryContainer(props: {
|
|
5
|
+
logic: PowersDirectoryLogic;
|
|
6
|
+
view: PowersDirectoryView;
|
|
7
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
|
|
4
|
+
export interface IPowersDirectoryHeadProps extends HtmlProps.div {
|
|
5
|
+
onDirectorySecurityClick: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function PowersDirectoryHead(props: IPowersDirectoryHeadProps): JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
|
|
4
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
export declare type PowersDirectorySection = {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export interface IPowersDirectoryInfoProps extends HtmlProps.div {
|
|
10
|
+
section: PowersDirectorySection;
|
|
11
|
+
placeholderText?: string;
|
|
12
|
+
onEditSectionClick: () => void;
|
|
13
|
+
loadLayout: () => Promise<GenModels.LayoutViewModel>;
|
|
14
|
+
}
|
|
15
|
+
export declare const POWERS_DIRECTORY_INFO_LOCATION_NAME = "DV.PowersDirectoryInfo";
|
|
16
|
+
export declare function PowersDirectoryInfo(props: IPowersDirectoryInfoProps): JSX.Element;
|