@docsvision/webclient 6.1.22-beta.1 → 6.1.23-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Account/LoginLogic.d.ts +30 -30
- package/Account/ProviderButton.d.ts +2 -2
- package/BackOffice/$SelectionRow.d.ts +2 -2
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +2 -1
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +8 -8
- package/BackOffice/AddPartnersEmployeeIconColumn.d.ts +3 -0
- package/BackOffice/AuthenticationKindsLogic.d.ts +17 -17
- package/BackOffice/ChangeBoundaryValuesSection.d.ts +2 -2
- package/BackOffice/CheckPartnersSectionAcccessRights.d.ts +3 -0
- package/BackOffice/ConvertPartnersDirectoryResponseToTree.d.ts +5 -0
- package/BackOffice/ConvertPartnersEmployeeToRow.d.ts +3 -0
- package/BackOffice/CreateCardDialogLogic.d.ts +4 -4
- package/BackOffice/DeletePartnersSection.d.ts +3 -0
- package/BackOffice/DigitalSignatureService.d.ts +3 -3
- package/BackOffice/DirectoryEntryModalLogic.d.ts +24 -13
- package/BackOffice/DirectoryRowSelection.d.ts +3 -3
- package/BackOffice/DirectorySearchResultLogic.d.ts +4 -4
- package/BackOffice/DirectoryTabsLogic.d.ts +2 -2
- package/BackOffice/DirectoryTree.d.ts +2 -0
- package/BackOffice/DirectoryTreeList.d.ts +1 -0
- package/BackOffice/DirectoryTreeLogic.d.ts +40 -25
- package/BackOffice/DirectoryTreeRowSelection.d.ts +21 -0
- package/BackOffice/EmailButtonLogic.d.ts +9 -9
- package/BackOffice/EmailButtonView.d.ts +1 -1
- package/BackOffice/ExecutionDateChangeRequestActions.d.ts +11 -0
- package/BackOffice/ExecutionDateChangeRequestHeader.d.ts +7 -0
- package/BackOffice/ExecutionDateChangeRequestInfo.d.ts +10 -0
- package/BackOffice/ExecutionDateChangeRequestWrapper.d.ts +6 -0
- package/BackOffice/FindPartnersSection.d.ts +9 -0
- package/BackOffice/GetPartnerIdFromTreeId.d.ts +7 -0
- package/BackOffice/GetPartnersContextMenuNames.d.ts +2 -0
- package/BackOffice/GetPartnersDirectoryIconClassName.d.ts +10 -0
- package/BackOffice/GetPartnersDirectoryRootSectionId.d.ts +5 -0
- package/BackOffice/GetPartnersDirectorySearchItemTab.d.ts +2 -0
- package/BackOffice/GetPartnersEmployeeColumns.d.ts +4 -0
- package/BackOffice/GetPartnersSelectedSearchItemEmployeeId.d.ts +4 -0
- package/BackOffice/GetPartnersSelectedSearchItemSection.d.ts +2 -0
- package/BackOffice/IDirectoryTreeRow.d.ts +2 -0
- package/BackOffice/IPartnersDirectoryOptions.d.ts +12 -0
- package/BackOffice/IPartnersDirectoryTreeNodeData.d.ts +6 -0
- package/BackOffice/IPartnersEmployeeResponseParser.d.ts +6 -0
- package/BackOffice/IPartnersTreeRow.d.ts +4 -0
- package/BackOffice/LoadPartnersEmployeeLayoutFunctions.d.ts +8 -0
- package/BackOffice/LoadPartnersSectionLayoutFunctions.d.ts +7 -0
- package/BackOffice/PartnersDirectory.d.ts +48 -4
- package/BackOffice/PartnersDirectoryAddToGroupModal.d.ts +28 -0
- package/BackOffice/PartnersDirectoryAddToGroupModalLogic.d.ts +50 -0
- package/BackOffice/PartnersDirectoryButtonsPanel.d.ts +8 -0
- package/BackOffice/PartnersDirectoryCompanySaving.d.ts +4 -0
- package/BackOffice/PartnersDirectoryConstants.d.ts +35 -0
- package/BackOffice/PartnersDirectoryContainer.d.ts +7 -0
- package/BackOffice/PartnersDirectoryDialogLocations.d.ts +6 -0
- package/BackOffice/PartnersDirectoryEmployeeColumns.d.ts +6 -0
- package/BackOffice/PartnersDirectoryEmployeesTabFrame.d.ts +8 -0
- package/BackOffice/PartnersDirectoryGroupsTree.d.ts +34 -0
- package/BackOffice/PartnersDirectoryHead.d.ts +7 -0
- package/BackOffice/PartnersDirectoryInfo.d.ts +16 -0
- package/BackOffice/PartnersDirectoryLogic.d.ts +366 -0
- package/BackOffice/PartnersDirectoryRemoveFromGroupIconGridPlugin.d.ts +15 -0
- package/BackOffice/PartnersDirectoryRootSectionConstants.d.ts +15 -0
- package/BackOffice/PartnersDirectorySearchFilters.d.ts +5 -0
- package/BackOffice/PartnersDirectorySelectedButtons.d.ts +11 -0
- package/BackOffice/PartnersDirectoryTreeAddButton.d.ts +17 -0
- package/BackOffice/PartnersDirectoryTreeNode.d.ts +15 -0
- package/BackOffice/PartnersDirectoryTreeNodeDataResolver.d.ts +3 -0
- package/BackOffice/PartnersDirectoryView.d.ts +103 -0
- package/BackOffice/PartnersEmployeeRowModelExtendedData.d.ts +5 -0
- package/BackOffice/PowersDirectoryLogic.d.ts +29 -29
- package/BackOffice/PrintButtonLogic.d.ts +5 -5
- package/BackOffice/ProcessPartnersEmployeeIdInViewRows.d.ts +3 -0
- package/BackOffice/SearchPartnersEmployees.d.ts +4 -0
- package/BackOffice/SelectionRowService.d.ts +4 -4
- package/BackOffice/SignatureButtonLogic.d.ts +6 -6
- package/BackOffice/SignatureDialogLogic.d.ts +26 -26
- package/BackOffice/SignatureMethodsSetupLogic.d.ts +43 -31
- package/BackOffice/StaffDirectoryLogic.d.ts +71 -71
- package/BackOffice/TaskChangeExecutionDates.d.ts +2 -0
- package/BackOffice/TaskExecutionDateChangeRequest.d.ts +40 -0
- package/BackOffice/TaskExecutionDateChangeRequestContainer.d.ts +9 -0
- package/BackOffice/TaskExecutionDateChangeRequestLogic.d.ts +22 -0
- package/BackOffice/TaskExecutionDateChangeRequestView.d.ts +13 -0
- package/BackOffice/TaskGroupWorkStatusLogic.d.ts +2 -2
- package/BackOffice/TasksTableLogic.d.ts +54 -54
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +15 -15
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +8 -8
- package/Generated/DocsVision.WebClient.Controllers.d.ts +123 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +539 -132
- package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +10 -8
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Platform/$AggregatesCheckbox.d.ts +6 -6
- package/Platform/$ContextMenuOptions.d.ts +6 -6
- package/Platform/$FolderDataLoading.d.ts +2 -2
- package/Platform/$FolderGrid.d.ts +2 -2
- package/Platform/$FolderHelp.d.ts +3 -3
- package/Platform/$SearchParametersFolder.d.ts +3 -3
- package/Platform/$ToolbarActionButtons.d.ts +3 -3
- package/Platform/$ToolbarDaughterControls.d.ts +5 -5
- package/Platform/$WebFrameSearchPanel.d.ts +8 -8
- package/Platform/AggregatesCheckboxService.d.ts +21 -21
- package/Platform/ApprovalVisualizationLogic.d.ts +5 -5
- package/Platform/CertificateSettingsLogic.d.ts +3 -3
- package/Platform/ContextMenuOptionsService.d.ts +6 -6
- package/Platform/DiagramLogic.d.ts +10 -10
- package/Platform/DiagramQueryParams.d.ts +2 -2
- package/Platform/FolderDataLoadingService.d.ts +3 -3
- package/Platform/FolderGridService.d.ts +3 -3
- package/Platform/FolderHelpService.d.ts +3 -3
- package/Platform/IFilterComponent.d.ts +5 -0
- package/Platform/ListContent.d.ts +1 -1
- package/Platform/ListInfoContainer.d.ts +6 -0
- package/Platform/ListSelectAll.d.ts +6 -0
- package/Platform/ListTotalItem.d.ts +1 -1
- package/Platform/PartnersDirectoryCardViewRouteHandler.d.ts +12 -0
- package/Platform/QuotesLogic.d.ts +16 -16
- package/Platform/ScrollTopBottomLogic.d.ts +10 -10
- package/Platform/SearchParametersFolderService.d.ts +5 -5
- package/Platform/SecurityDescriptorDialogLogic.d.ts +18 -14
- package/Platform/SettingsPopup.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +20 -20
- package/Platform/TableColumnImpl.d.ts +0 -1
- package/Platform/TextListInputLogic.d.ts +43 -13
- package/Platform/TextListInputView.d.ts +4 -0
- package/Platform/ToolbarActionButtonsService.d.ts +3 -3
- package/Platform/ToolbarDaughterControlsService.d.ts +5 -5
- package/Platform/UnreadBarService.d.ts +2 -2
- package/Platform/WebFrameSearchPanelService.d.ts +17 -17
- package/System/$FolderColors.d.ts +3 -3
- package/System/$LastSearchResponse.d.ts +20 -20
- package/System/$LayoutBackground.d.ts +5 -5
- package/System/$SessionRelatedContent.d.ts +3 -3
- package/System/$WebFrameContentHeight.d.ts +5 -5
- package/System/DelayUntilApiEvent.d.ts +3 -3
- package/System/FolderColorsService.d.ts +3 -3
- package/System/LastSearchResponseService.d.ts +20 -20
- package/System/LayoutBackgroundService.d.ts +5 -5
- package/System/PollService.d.ts +4 -4
- package/System/ResourcesStub.d.ts +21 -0
- package/System/SessionRelatedContentService.d.ts +3 -3
- package/System/TaskExecutionDateChangeRequestsControllerStub.d.ts +9 -0
- package/System/WebFrameContentHeightService.d.ts +5 -5
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import("./components/EmailButtonItem").EmailButtonItemProps) =>
|
|
|
12
12
|
import("react").JSX.Element;
|
|
13
13
|
checkbox:
|
|
14
14
|
import("react").ForwardRefExoticComponent<Pick<
|
|
15
|
-
import("@docsvision/web/components/form/checkbox/CheckBox").CheckBoxProps, "form" | "slot" | "style" | "title" | "children" | "className" | "
|
|
15
|
+
import("@docsvision/web/components/form/checkbox/CheckBox").CheckBoxProps, "form" | "slot" | "style" | "title" | "children" | "className" | "id" | "value" | "name" | "onClick" | "disabled" | "onSubmit" | "placeholder" | "color" | "hidden" | "onFocus" | "onBlur" | "onChange" | "translate" | "key" | "onMouseOver" | "onMouseOut" | "onKeyDown" | "tabIndex" | "dataTestId" | "onMouseUp" | "onMouseDown" | "onMouseEnter" | "draggable" | "onMouseMove" | "onTouchStart" | "onTouchEnd" | "onTouchMove" | "onKeyUp" | "dangerouslySetInnerHTML" | "onMouseLeave" | "labelText" | "required" | "checked" | "defaultValue" | "itemType" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "contentEditable" | "contextMenu" | "dir" | "lang" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onSetupLogic" | "onSetupView" | "readOnly" | "htmlFor" | "indeterminate" | "innerRef"> &
|
|
16
16
|
import("react").RefAttributes<unknown>>;
|
|
17
17
|
files: (props:
|
|
18
18
|
import("./components/EmailButtonFiles").EmailButtonFilesProps) =>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
export interface IExecutionDateChangeRequestActionsProps extends HtmlProps.div {
|
|
6
|
+
info?: GenModels.ExecutionDateChangeRequestStatusModel;
|
|
7
|
+
onAcceptButtonClick: () => void;
|
|
8
|
+
onCancelButtonClick: () => void;
|
|
9
|
+
onRejectButtonClick: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function ExecutionDateChangeRequestActions(props: IExecutionDateChangeRequestActionsProps): React.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
export interface IExecutionDateChangeRequestHeaderProps extends HtmlProps.div {
|
|
5
|
+
info?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function ExecutionDateChangeRequestHeader(props: IExecutionDateChangeRequestHeaderProps): React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
6
|
+
export interface IExecutionDateChangeRequestInfoProps extends HtmlProps.div {
|
|
7
|
+
info?: GenModels.ExecutionDateChangeRequestModel;
|
|
8
|
+
services?: $ApplicationSettings;
|
|
9
|
+
}
|
|
10
|
+
export declare function ExecutionDateChangeRequestInfo(props: IExecutionDateChangeRequestInfoProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
|
|
4
|
+
export interface IExecutionDateChangeRequestWrapperProps extends HtmlProps.div {
|
|
5
|
+
}
|
|
6
|
+
export declare function ExecutionDateChangeRequestWrapper(props: IExecutionDateChangeRequestWrapperProps): React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
export type FindPartnersSectionResult = {
|
|
3
|
+
row: IDirectoryTreeRow;
|
|
4
|
+
parentRow: IDirectoryTreeRow;
|
|
5
|
+
index: number;
|
|
6
|
+
path: IDirectoryTreeRow[];
|
|
7
|
+
};
|
|
8
|
+
export declare function findPartnersSection(partnerId: string, tree: IDirectoryTreeRow[]): FindPartnersSectionResult;
|
|
9
|
+
export declare function findPartnersSectionImpl(partnerId: string, tree: IDirectoryTreeRow[], path: IDirectoryTreeRow[]): FindPartnersSectionResult;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
|
|
2
|
+
export type PartnerIdFromTreeIdResult = {
|
|
3
|
+
partnerId: string;
|
|
4
|
+
isMore: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare function getPartnerIdFromTreeId(treeId: string): PartnerIdFromTreeIdResult;
|
|
7
|
+
export declare function getPartnersSectionChildrenCount(parentSectionId: string, tree: IPartnersTreeRow[]): number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export declare const PARTNERS_DIRECTORY_ICON_CLASSES: {
|
|
3
|
+
Root: string;
|
|
4
|
+
64: string;
|
|
5
|
+
16: string;
|
|
6
|
+
32: string;
|
|
7
|
+
2: string;
|
|
8
|
+
1: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const getPartnersDirectoryIconClassName: (dataType: GenModels.DirectoryDataType) => any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
4
|
+
export declare function getPartnersSelectedSearchItemEmployeeId(item: GenModels.SearchItemModel, selectedSection: IPartnersTreeRow, employeesData: ITableData): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartnersDirectoryParams } from "@docsvision/webclient/BackOffice/PartnersDirectory";
|
|
2
|
+
import { PartnersDirectoryLogic } from "@docsvision/webclient/BackOffice/PartnersDirectoryLogic";
|
|
3
|
+
import { PartnersDirectoryView } from "@docsvision/webclient/BackOffice/PartnersDirectoryView";
|
|
4
|
+
/** Сервис для переопределения реализации PartnersDirectory */
|
|
5
|
+
export interface IPartnersDirectoryOptions {
|
|
6
|
+
getTaskTableView(params: PartnersDirectoryParams): PartnersDirectoryView;
|
|
7
|
+
getTaskTableLogic(params: PartnersDirectoryParams): PartnersDirectoryLogic;
|
|
8
|
+
}
|
|
9
|
+
export type $PartnersDirectoryOptions = {
|
|
10
|
+
partnersDirectoryOptions: IPartnersDirectoryOptions;
|
|
11
|
+
};
|
|
12
|
+
export declare const $TaskTableOptions: string | ((model?: $PartnersDirectoryOptions) => IPartnersDirectoryOptions);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ITreeNodeData } from "@docsvision/webclient/Helpers/Tree/Data/ClientModels/ITreeNodeData";
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface IPartnersDirectoryTreeNodeData extends ITreeNodeData {
|
|
4
|
+
children: IPartnersDirectoryTreeNodeData[];
|
|
5
|
+
childrenLoaded?: boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { IColumn, IRow } from "@docsvision/web/components/table/interfaces";
|
|
3
|
+
export interface IPartnersEmployeeResponseParser {
|
|
4
|
+
convertEmployeeToRow(item: GenModels.PartnersDirectoryItem, id: string): IRow;
|
|
5
|
+
getColumns(): IColumn[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export interface IPartnersTreeRow extends IDirectoryTreeRow, GenModels.DirectoryItemData {
|
|
4
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { $DepartmentController, $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
|
+
export declare function loadPartnersEmployeeInfoLayout(employeeId: string, services: $LayoutRowController): Promise<
|
|
4
|
+
import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
|
|
5
|
+
export declare function loadPartnersEmployeeEditLayout(employeeId: string, services: $LayoutRowController): Promise<
|
|
6
|
+
import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
|
|
7
|
+
export declare function loadPartnersEmployeeCreateLayout(parentSection: IDirectoryTreeRow, services: $LayoutRowController & $DepartmentController): Promise<
|
|
8
|
+
import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutRowViewModel>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { $DepartmentController, $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
export declare function loadPartnersSectionInfoLayout(section: IDirectoryTreeRow, rowSectionId: string, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
5
|
+
export declare function loadPartnersSectionSummaryLayout(section: IDirectoryTreeRow, rowSectionId: string, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
6
|
+
export declare function loadPartnersSectionEditLayout(section: IDirectoryTreeRow, rowSectionId: string, services: $LayoutRowController): Promise<GenModels.LayoutRowViewModel>;
|
|
7
|
+
export declare function loadPartnersSectionCreateLayout(parentSection: IDirectoryTreeRow | null, rowSectionId: string, type: GenModels.DirectoryDataType, services: $LayoutRowController & $DepartmentController): Promise<GenModels.LayoutRowViewModel>;
|
|
@@ -1,4 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
|
|
2
|
+
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
3
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
4
|
+
import { $ApplicationSettings, $DeviceType, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
5
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
6
|
+
import { $DepartmentController, $LayoutCardController, $LayoutRowController, $PartnersDirectoryController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
7
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
8
|
+
import { $SecurityDescriptorDialogServices } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
|
|
9
|
+
import { $WebFrameDirectorySearchPanelService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
10
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
11
|
+
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
12
|
+
import { IPartnersDirectoryLogicOptions, PartnersDirectoryLogic } from "@docsvision/webclient/BackOffice/PartnersDirectoryLogic";
|
|
13
|
+
import { PartnersDirectoryView } from "@docsvision/webclient/BackOffice/PartnersDirectoryView";
|
|
14
|
+
import { $PartnersDirectoryOptions } from "@docsvision/webclient/BackOffice/IPartnersDirectoryOptions";
|
|
15
|
+
import { Optional } from "@docsvision/web/core/services";
|
|
16
|
+
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
17
|
+
import React from "react";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Содержит публичные свойства элемента управления [Справочник контрагентов{@link PartnersDirectory}.
|
|
21
|
+
*/
|
|
22
|
+
export declare class PartnersDirectoryParams extends BaseControlParams {
|
|
23
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
24
|
+
standardCssClass?: string;
|
|
25
|
+
/** Отображаемое в левой части контрола дерево (подразделения, группы или должности) */
|
|
26
|
+
currentSectionsTree?: IPartnersTreeRow[];
|
|
27
|
+
/** Вызывается после загрузки корневых узлов дерева. */
|
|
28
|
+
rootTreeSectionsLoaded?: BasicApiEvent<IPartnersTreeRow[]>;
|
|
29
|
+
/** Вызывается после любого изменения отображаемого в левой части дерева. */
|
|
30
|
+
currentSectionTreeUpdated?: BasicApiEvent<IPartnersTreeRow[]>;
|
|
31
|
+
/** Сервисы. */
|
|
32
|
+
services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & $DepartmentController & $PartnersDirectoryController & $DeviceType & $IsIE & $WebFrameDirectorySearchPanelService & Optional<$PartnersDirectoryOptions> & $Domain;
|
|
33
|
+
}
|
|
34
|
+
export interface PartnersDirectoryState extends BaseControlImplState, PartnersDirectoryParams, IPartnersDirectoryLogicOptions {
|
|
35
|
+
logic: PartnersDirectoryLogic;
|
|
36
|
+
view: PartnersDirectoryView;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Класс элемента управления Панель поиска в справочнике.
|
|
40
|
+
*/
|
|
41
|
+
export declare class PartnersDirectory extends BaseControl<PartnersDirectoryParams, PartnersDirectoryState> {
|
|
42
|
+
construct(): void;
|
|
43
|
+
protected createParams(): PartnersDirectoryParams;
|
|
44
|
+
protected createImpl(): ControlImpl;
|
|
45
|
+
private get currentSectionsTree();
|
|
46
|
+
showSectionEmployees(section: IPartnersTreeRow): void;
|
|
47
|
+
renderControl(): React.JSX.Element;
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Event } from "effector";
|
|
3
|
+
import { IComponentProps } from "@docsvision/web/core/component";
|
|
4
|
+
import { $PartnersDirectoryController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
+
import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
|
|
6
|
+
import { PartnersDirectoryAddToGroupModalLogic } from "@docsvision/webclient/BackOffice/PartnersDirectoryAddToGroupModalLogic";
|
|
7
|
+
import { PartnersDirectoryGroupsTree } from "@docsvision/webclient/BackOffice/PartnersDirectoryGroupsTree";
|
|
8
|
+
import { PartnersDirectorySelectedButtons } from "@docsvision/webclient/BackOffice/PartnersDirectorySelectedButtons";
|
|
9
|
+
import { PartnersDirectoryButtonsPanel } from "@docsvision/webclient/BackOffice/PartnersDirectoryButtonsPanel";
|
|
10
|
+
export interface IPartnersDirectoryAddToGroupModalProps extends IComponentProps<PartnersDirectoryAddToGroupModalLogic> {
|
|
11
|
+
showEvent: Event<{
|
|
12
|
+
partner: IPartnersTreeRow;
|
|
13
|
+
}>;
|
|
14
|
+
services: $PartnersDirectoryController;
|
|
15
|
+
onAccept: (params: {
|
|
16
|
+
unitId: string;
|
|
17
|
+
groupIds: string[];
|
|
18
|
+
}) => void;
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class PartnersDirectoryAddToGroupModalView {
|
|
22
|
+
modal: (props:
|
|
23
|
+
import("@docsvision/web/components/modals/modal-dialog").ModalDialogProps) => JSX.Element;
|
|
24
|
+
tree: typeof PartnersDirectoryGroupsTree;
|
|
25
|
+
selectedButtons: typeof PartnersDirectorySelectedButtons;
|
|
26
|
+
buttonsPanel: typeof PartnersDirectoryButtonsPanel;
|
|
27
|
+
}
|
|
28
|
+
export declare function PartnersDirectoryAddToGroupModal(props: IPartnersDirectoryAddToGroupModalProps): React.JSX.Element;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentLogic } from "@docsvision/web/core/component/ComponentLogic";
|
|
3
|
+
import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
|
|
4
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { IPartnersDirectoryAddToGroupModalProps } from "@docsvision/webclient/BackOffice/PartnersDirectoryAddToGroupModal";
|
|
6
|
+
import { TreeNode } from "@docsvision/webclient/Helpers/Tree/Data/ClientModels/TreeNode";
|
|
7
|
+
import { PartnersDirectoryGroupsTree } from "@docsvision/webclient/BackOffice/PartnersDirectoryGroupsTree";
|
|
8
|
+
export declare class PartnersDirectoryAddToGroupModalLogic extends ComponentLogic<IPartnersDirectoryAddToGroupModalProps> {
|
|
9
|
+
domain:
|
|
10
|
+
import("effector").Domain;
|
|
11
|
+
$modalOpen:
|
|
12
|
+
import("effector").StoreWritable<boolean>;
|
|
13
|
+
modalOpened:
|
|
14
|
+
import("effector").EventCallable<{
|
|
15
|
+
partner: IPartnersTreeRow;
|
|
16
|
+
}>;
|
|
17
|
+
modalClosed:
|
|
18
|
+
import("effector").EventCallable<void>;
|
|
19
|
+
$params:
|
|
20
|
+
import("effector").StoreWritable<{
|
|
21
|
+
partner: IPartnersTreeRow;
|
|
22
|
+
}>;
|
|
23
|
+
accept:
|
|
24
|
+
import("effector").EventCallable<void>;
|
|
25
|
+
acceptFx:
|
|
26
|
+
import("effector").Effect<{
|
|
27
|
+
unitId: string;
|
|
28
|
+
groupIds: string[];
|
|
29
|
+
}, void, Error>;
|
|
30
|
+
loadGroups:
|
|
31
|
+
import("effector").EventCallable<string | void>;
|
|
32
|
+
loadGroupsFx:
|
|
33
|
+
import("effector").Effect<string | void, GenModels.PartnersLoadResponse, Error>;
|
|
34
|
+
loadPartnerGroups:
|
|
35
|
+
import("effector").EventCallable<void>;
|
|
36
|
+
loadPartnerGroupsFx:
|
|
37
|
+
import("effector").Effect<string, GenModels.PartnersGroupDataModel[], Error>;
|
|
38
|
+
$selectedGroups:
|
|
39
|
+
import("effector").StoreWritable<GenModels.PartnersDataModel[]>;
|
|
40
|
+
onGroupSelected:
|
|
41
|
+
import("effector").EventCallable<TreeNode>;
|
|
42
|
+
onGroupSelectRemoved:
|
|
43
|
+
import("effector").EventCallable<string>;
|
|
44
|
+
treeRef:
|
|
45
|
+
import("react").RefObject<PartnersDirectoryGroupsTree>;
|
|
46
|
+
init(props: IPartnersDirectoryAddToGroupModalProps): void;
|
|
47
|
+
initDataLoadHandlers(props: IPartnersDirectoryAddToGroupModalProps): void;
|
|
48
|
+
initSelectHandlers(): void;
|
|
49
|
+
initModalHandlers(props: IPartnersDirectoryAddToGroupModalProps): void;
|
|
50
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
interface IPartnersDirectoryButtonsPanelProps {
|
|
4
|
+
buttons: React.ReactNode;
|
|
5
|
+
selectedButtons: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function PartnersDirectoryButtonsPanel(props: IPartnersDirectoryButtonsPanelProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
|
|
3
|
+
import { ICancelableEventArgs } from "@docsvision/webclient/System/ICancelableEventArgs";
|
|
4
|
+
export declare function partnersDirectoryCompanySaving(sender: LayoutControl, e: ICancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const PARTNERS_DIRECTORY_ID = "65ff9382-17dc-4e9f-8e93-84d6d3d8fe8c";
|
|
2
|
+
export declare const PARTNERS_COMPANIES_SECTION_ID = "c78abded-db1c-4217-ae0d-51a400546923";
|
|
3
|
+
export declare const POSITIONS_SECTION_ID = "bdafe82a-04fa-4391-98b7-5df6502e03dd";
|
|
4
|
+
export declare const EMPLOYEE_SECTION_ID = "1a46bf0f-2d02-4ac9-8866-5adf245921e8";
|
|
5
|
+
export declare const GROUP_SECTION_ID = "78875629-78d3-4ccc-90d9-127b438c5522";
|
|
6
|
+
export declare const EMPLOYEES_LAST_NAME_COLUMN_ID = "Employees_LastName";
|
|
7
|
+
export declare const EMPLOYEES_FIRST_NAME_COLUMN_ID = "Employees_FirstName";
|
|
8
|
+
export declare const EMPLOYEES_MIDDLE_NAME_COLUMN_ID = "Employees_MiddleName";
|
|
9
|
+
export declare const EMPLOYEE_SHORT_NAME_COLUMN = "Employees_ShortName";
|
|
10
|
+
export declare const PARTNERS_DIRECTORY_MAX_COUNT = 500;
|
|
11
|
+
export declare const CONTEXT_MENU_EDIT_ICON = "ico-edit-menu";
|
|
12
|
+
export declare const CONTEXT_MENU_INFO_ICON = "ico-info-menu";
|
|
13
|
+
export declare const CONTEXT_MENU_SECURITY_ICON = "ico-security-menu";
|
|
14
|
+
export declare const CONTEXT_MENU_DELETE_ICON = "ico-delete-menu";
|
|
15
|
+
export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
16
|
+
export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
|
|
17
|
+
export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
|
|
18
|
+
export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
|
|
19
|
+
export declare const CONTEXT_MENU_PARTNERS_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_PARTNERS_CREATE_ORGANIZATION_ID";
|
|
20
|
+
export declare const CONTEXT_MENU_PARTNERS_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_PARTNERS_CREATE_DEPARTMENT_ID";
|
|
21
|
+
export declare const CONTEXT_MENU_PARTNERS_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_PARTNERS_CREATE_EMPLOYEE_ID";
|
|
22
|
+
export declare const CONTEXT_MENU_PARTNERS_NAME_ID = "CONTEXT_MENU_PARTNERS_NAME_ID";
|
|
23
|
+
export declare const CONTEXT_MENU_PARTNERS_ACCESS_RIGHTS_ID = "CONTEXT_MENU_PARTNERS_ACCESS_RIGHTS_ID";
|
|
24
|
+
export declare const CONTEXT_MENU_PARTNERS_PASTE_ID = "CONTEXT_MENU_PARTNERS_PASTE_ID";
|
|
25
|
+
export declare const CONTEXT_MENU_PARTNERS_INFO_ID = "CONTEXT_MENU_PARTNERS_INFO_ID";
|
|
26
|
+
export declare const CONTEXT_MENU_PARTNERS_EDIT_ID = "CONTEXT_MENU_PARTNERS_EDIT_ID";
|
|
27
|
+
export declare const CONTEXT_MENU_PARTNERS_DELETE_ID = "CONTEXT_MENU_PARTNERS_DELETE_ID";
|
|
28
|
+
export declare const CONTEXT_MENU_PARTNERS_ADD_TO_GROUP_ID = "CONTEXT_MENU_PARTNERS_ADD_TO_GROUP_ID";
|
|
29
|
+
export declare const CONTEXT_MENU_PARTNERS_REMOVE_FROM_GROUP_ID = "CONTEXT_MENU_PARTNERS_REMOVE_FROM_GROUP_ID";
|
|
30
|
+
export declare const CONTEXT_MENU_PARTNERS_COPY_ID = "CONTEXT_MENU_PARTNERS_COPY_ID";
|
|
31
|
+
export declare const CONTEXT_MENU_PARTNERS_CUT_ID = "CONTEXT_MENU_PARTNERS_CUT_ID";
|
|
32
|
+
export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
|
|
33
|
+
export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
|
|
34
|
+
export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
|
|
35
|
+
export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PartnersDirectoryLogic } from "@docsvision/webclient/BackOffice/PartnersDirectoryLogic";
|
|
3
|
+
import { PartnersDirectoryView } from "@docsvision/webclient/BackOffice/PartnersDirectoryView";
|
|
4
|
+
export declare function PartnersDirectoryContainer(props: {
|
|
5
|
+
logic: PartnersDirectoryLogic;
|
|
6
|
+
view: PartnersDirectoryView;
|
|
7
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const PARTNERS_DIRECTORY_SECTION_INFO_LOCATION_NAME = "DV.PartnersDirectory.SectionInfo";
|
|
2
|
+
export declare const PARTNERS_DIRECTORY_SECTION_EDIT_LOCATION_NAME = "DV.PartnersDirectory.SectionEdit";
|
|
3
|
+
export declare const PARTNERS_DIRECTORY_SECTION_CREATE_LOCATION_NAME = "DV.PartnersDirectory.SectionCreate";
|
|
4
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_INFO_LOCATION_NAME = "DV.PartnersDirectory.EmployeeInfo";
|
|
5
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_EDIT_LOCATION_NAME = "DV.PartnersDirectory.EmployeeEdit";
|
|
6
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_CREATE_LOCATION_NAME = "DV.PartnersDirectory.EmployeeCreate";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_ICON_COLUMN = "icon";
|
|
2
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_LASTNAME_COLUMN = "lastname";
|
|
3
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_FIRSTNAME_COLUMN = "firstName";
|
|
4
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_MIDDLENAME_COLUMN = "middleName";
|
|
5
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_INITIALS_COLUMN = "initials";
|
|
6
|
+
export declare const PARTNERS_DIRECTORY_EMPLOYEE_POSITION_COLUMN = "position";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
3
|
+
|
|
4
|
+
export interface IEmployeesTabFrameProps extends HtmlProps.div {
|
|
5
|
+
renderHead: () => React.ReactNode;
|
|
6
|
+
renderTable: () => React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function PartnersDirectoryEmployeesTabFrame(props: IEmployeesTabFrameProps): React.JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
4
|
+
import { IPartnersDirectoryTreeNodeData } from "@docsvision/webclient/BackOffice/IPartnersDirectoryTreeNodeData";
|
|
5
|
+
import { PartnersDirectoryTreeNode } from "@docsvision/webclient/BackOffice/PartnersDirectoryTreeNode";
|
|
6
|
+
import { TreeNode } from "@docsvision/webclient/Helpers/Tree/Data/ClientModels/TreeNode";
|
|
7
|
+
import { ITreeBaseProps } from "@docsvision/webclient/Helpers/Tree/ITreeBaseProps";
|
|
8
|
+
import { ITreeBaseState } from "@docsvision/webclient/Helpers/Tree/ITreeBaseState";
|
|
9
|
+
import { TreeBase } from "@docsvision/webclient/Helpers/Tree/TreeBase";
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
export interface IPartnersDirectoryGroupsTreeProps extends ITreeBaseProps<PartnersDirectoryTreeNode> {
|
|
13
|
+
loadNodesData: (partnerId?: string) => Promise<GenModels.PartnersLoadResponse>;
|
|
14
|
+
loadSelectedGroups: (partnerId: string) => Promise<GenModels.PartnersGroupDataModel[]>;
|
|
15
|
+
className?: string;
|
|
16
|
+
selectedGroups: GenModels.PartnersDataModel[];
|
|
17
|
+
expandedByDefault?: boolean;
|
|
18
|
+
partnerId?: string;
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
export interface IPartnersDirectoryGroupsTreeState extends ITreeBaseState {
|
|
22
|
+
rootLoading?: LoadingState;
|
|
23
|
+
}
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare class PartnersDirectoryGroupsTree extends TreeBase<IPartnersDirectoryTreeNodeData, IPartnersDirectoryGroupsTreeProps, IPartnersDirectoryGroupsTreeState> {
|
|
26
|
+
constructor(props: IPartnersDirectoryGroupsTreeProps);
|
|
27
|
+
componentDidMount(): Promise<void>;
|
|
28
|
+
toggleNode(node: PartnersDirectoryTreeNode, expand: boolean, raiseEvent?: boolean): void;
|
|
29
|
+
private resolveResponse;
|
|
30
|
+
protected createNode(data: IPartnersDirectoryTreeNodeData, level: number, parent: TreeNode, children?: TreeNode[]): PartnersDirectoryTreeNode;
|
|
31
|
+
protected renderToggleMarker(node: TreeNode): React.JSX.Element;
|
|
32
|
+
updateNodesSelectState(id: string, value: boolean): void;
|
|
33
|
+
render(): React.JSX.Element;
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
|
|
4
|
+
export interface IPartnersDirectoryHeadProps extends HtmlProps.div {
|
|
5
|
+
onDirectorySecurityClick: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function PartnersDirectoryHead(props: IPartnersDirectoryHeadProps): React.JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
|
|
4
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
export type PartnersDirectorySection = {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export interface IPartnersDirectoryInfoProps extends HtmlProps.div {
|
|
10
|
+
section: PartnersDirectorySection;
|
|
11
|
+
placeholderText?: string;
|
|
12
|
+
onEditSectionClick: () => void;
|
|
13
|
+
loadLayout: () => Promise<GenModels.LayoutViewModel>;
|
|
14
|
+
}
|
|
15
|
+
export declare const PARTNERS_DIRECTORY_INFO_LOCATION_NAME = "DV.PartnersDirectoryInfo";
|
|
16
|
+
export declare function PartnersDirectoryInfo(props: IPartnersDirectoryInfoProps): React.JSX.Element;
|