@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
package/Account/LoginLogic.d.ts
CHANGED
|
@@ -6,72 +6,72 @@ export declare class LoginLogic extends ComponentLogic {
|
|
|
6
6
|
domain:
|
|
7
7
|
import("effector").Domain;
|
|
8
8
|
setUser:
|
|
9
|
-
import("effector").
|
|
9
|
+
import("effector").EventCallable<string>;
|
|
10
10
|
$user:
|
|
11
|
-
import("effector").
|
|
11
|
+
import("effector").StoreWritable<string>;
|
|
12
12
|
$userAccount:
|
|
13
|
-
import("effector").
|
|
13
|
+
import("effector").StoreWritable<string>;
|
|
14
14
|
site: string;
|
|
15
15
|
origin: string;
|
|
16
16
|
returnUrl: string;
|
|
17
17
|
onChangeUserName:
|
|
18
|
-
import("effector").
|
|
18
|
+
import("effector").EventCallable<string>;
|
|
19
19
|
onChangePassword:
|
|
20
|
-
import("effector").
|
|
20
|
+
import("effector").EventCallable<string>;
|
|
21
21
|
$userName:
|
|
22
|
-
import("effector").
|
|
22
|
+
import("effector").StoreWritable<string>;
|
|
23
23
|
$password:
|
|
24
|
-
import("effector").
|
|
24
|
+
import("effector").StoreWritable<string>;
|
|
25
25
|
$providers:
|
|
26
|
-
import("effector").
|
|
26
|
+
import("effector").StoreWritable<ILoginProvider[]>;
|
|
27
27
|
$userProviders:
|
|
28
|
-
import("effector").
|
|
28
|
+
import("effector").StoreWritable<ILoginProvider[]>;
|
|
29
29
|
setError:
|
|
30
|
-
import("effector").
|
|
30
|
+
import("effector").EventCallable<string>;
|
|
31
31
|
$error:
|
|
32
|
-
import("effector").
|
|
32
|
+
import("effector").StoreWritable<string>;
|
|
33
33
|
setFormType:
|
|
34
|
-
import("effector").
|
|
34
|
+
import("effector").EventCallable<FormType>;
|
|
35
35
|
$formType:
|
|
36
|
-
import("effector").
|
|
36
|
+
import("effector").StoreWritable<FormType>;
|
|
37
37
|
setLoading:
|
|
38
|
-
import("effector").
|
|
38
|
+
import("effector").EventCallable<boolean>;
|
|
39
39
|
$formSubmitLoading:
|
|
40
|
-
import("effector").
|
|
40
|
+
import("effector").StoreWritable<boolean>;
|
|
41
41
|
$currentAuthenticationExtensionId:
|
|
42
|
-
import("effector").
|
|
42
|
+
import("effector").StoreWritable<string>;
|
|
43
43
|
$formDisabled:
|
|
44
|
-
import("effector").
|
|
44
|
+
import("effector").StoreWritable<boolean>;
|
|
45
45
|
$urlSearchParamUserName:
|
|
46
|
-
import("effector").
|
|
46
|
+
import("effector").StoreWritable<string>;
|
|
47
47
|
$providersUpdate:
|
|
48
48
|
import("effector").Store<[ILoginProvider[], ILoginProvider[]]>;
|
|
49
49
|
clickProviderButton:
|
|
50
|
-
import("effector").
|
|
50
|
+
import("effector").EventCallable<string>;
|
|
51
51
|
$timeStartDownloadingProviders:
|
|
52
|
-
import("effector").
|
|
52
|
+
import("effector").StoreWritable<number>;
|
|
53
53
|
setTimeStartDownloadingProviders:
|
|
54
|
-
import("effector").
|
|
54
|
+
import("effector").EventCallable<number>;
|
|
55
55
|
clearInputs:
|
|
56
|
-
import("effector").
|
|
56
|
+
import("effector").EventCallable<void>;
|
|
57
57
|
$hasLicenseProblem:
|
|
58
|
-
import("effector").
|
|
58
|
+
import("effector").StoreWritable<boolean>;
|
|
59
59
|
$captchaRef:
|
|
60
|
-
import("effector").
|
|
60
|
+
import("effector").StoreWritable<React.RefObject<AltchaWidget & AltchaWidgetMethods & HTMLElement>>;
|
|
61
61
|
setCaptchaRef:
|
|
62
|
-
import("effector").
|
|
62
|
+
import("effector").EventCallable<React.RefObject<AltchaWidget & AltchaWidgetMethods & HTMLElement>>;
|
|
63
63
|
$captchaPayload:
|
|
64
|
-
import("effector").
|
|
64
|
+
import("effector").StoreWritable<string>;
|
|
65
65
|
setCaptchaPayload:
|
|
66
|
-
import("effector").
|
|
66
|
+
import("effector").EventCallable<string>;
|
|
67
67
|
$isCaptchaEnabled:
|
|
68
|
-
import("effector").
|
|
68
|
+
import("effector").StoreWritable<boolean>;
|
|
69
69
|
setIsCaptchaEnabled:
|
|
70
|
-
import("effector").
|
|
70
|
+
import("effector").EventCallable<boolean>;
|
|
71
71
|
getCaptchaRequiredFX:
|
|
72
72
|
import("effector").Effect<string, boolean, Error>;
|
|
73
73
|
setCaptchaError:
|
|
74
|
-
import("effector").
|
|
74
|
+
import("effector").EventCallable<void>;
|
|
75
75
|
constructor();
|
|
76
76
|
submitForm:
|
|
77
77
|
import("effector").Effect<unknown, any, Error>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { EventCallable } from 'effector';
|
|
3
3
|
|
|
4
4
|
export interface IProviderButtonProps {
|
|
5
5
|
iconSrc: string;
|
|
6
6
|
text: string;
|
|
7
7
|
name: string;
|
|
8
8
|
id: string;
|
|
9
|
-
click:
|
|
9
|
+
click: EventCallable<string>;
|
|
10
10
|
}
|
|
11
11
|
export declare function ProviderButton({ iconSrc, text, name, id, click }: IProviderButtonProps): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { StoreWritable } from 'effector';
|
|
3
3
|
export interface ISelectionRowService {
|
|
4
|
-
selectionRowId?:
|
|
4
|
+
selectionRowId?: StoreWritable<string>;
|
|
5
5
|
className?: string;
|
|
6
6
|
cancelSelection?: (ev?: React.MouseEvent) => void;
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PartnersDirectorySearchFilters } from "@docsvision/webclient/BackOffice/PartnersDirectorySearchFilters";
|
|
1
2
|
import { DirectorySearchFilters } from "@docsvision/webclient/BackOffice/DirectorySearchFilters";
|
|
2
3
|
import { NomenclatureSearchFilters } from "@docsvision/webclient/BackOffice/Index";
|
|
3
|
-
export type SearchFilters = DirectorySearchFilters | NomenclatureSearchFilters;
|
|
4
|
+
export type SearchFilters = DirectorySearchFilters | NomenclatureSearchFilters | PartnersDirectorySearchFilters;
|
|
4
5
|
export interface ISearchFilterEntry {
|
|
5
6
|
key: SearchFilters;
|
|
6
7
|
value: string;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { SearchFilters } from '@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService';
|
|
2
|
-
import {
|
|
2
|
+
import { StoreWritable, EventCallable } from 'effector';
|
|
3
3
|
export interface ISearchRequest {
|
|
4
4
|
searchFilterKey: SearchFilters;
|
|
5
5
|
searchText: string;
|
|
6
6
|
}
|
|
7
7
|
export interface IWebFrameDirectorySearchPanelService {
|
|
8
8
|
/** Флаг отображения компонента */
|
|
9
|
-
$visibility:
|
|
9
|
+
$visibility: StoreWritable<boolean>;
|
|
10
10
|
/** Событие отображения/скрытия компонента */
|
|
11
|
-
setVisibility:
|
|
11
|
+
setVisibility: EventCallable<boolean>;
|
|
12
12
|
/** Событие сворачивания/разворачивания панели */
|
|
13
|
-
setActivity:
|
|
13
|
+
setActivity: EventCallable<boolean>;
|
|
14
14
|
/** Событие начала поиска в справочнике */
|
|
15
|
-
startSearch:
|
|
15
|
+
startSearch: EventCallable<ISearchRequest>;
|
|
16
16
|
/** Событие очистки поисковой формы */
|
|
17
|
-
clearSearch:
|
|
17
|
+
clearSearch: EventCallable<void>;
|
|
18
18
|
/** Флаг состояния видимости панели поиска */
|
|
19
|
-
$expanded:
|
|
19
|
+
$expanded: StoreWritable<boolean>;
|
|
20
20
|
/** Событие состояния видимости панели поиска */
|
|
21
|
-
setExpanded:
|
|
21
|
+
setExpanded: EventCallable<boolean>;
|
|
22
22
|
}
|
|
23
23
|
export type $WebFrameDirectorySearchPanelService = {
|
|
24
24
|
webFrameDirectorySearchPanelService: IWebFrameDirectorySearchPanelService;
|
|
@@ -7,41 +7,41 @@ export declare class AuthenticationKindsLogic {
|
|
|
7
7
|
domain:
|
|
8
8
|
import("effector").Domain;
|
|
9
9
|
$kinds:
|
|
10
|
-
import("effector").
|
|
10
|
+
import("effector").StoreWritable<GenModels.AuthenticationKindsModel[]>;
|
|
11
11
|
setKinds:
|
|
12
|
-
import("effector").
|
|
12
|
+
import("effector").EventCallable<GenModels.AuthenticationKindsModel[]>;
|
|
13
13
|
useExtensionChange:
|
|
14
|
-
import("effector").
|
|
14
|
+
import("effector").EventCallable<{
|
|
15
15
|
value: boolean;
|
|
16
16
|
kind: GenModels.AuthenticationKindsModel;
|
|
17
17
|
}>;
|
|
18
18
|
$selectedKind:
|
|
19
|
-
import("effector").
|
|
19
|
+
import("effector").StoreWritable<GenModels.AuthenticationKindsModel>;
|
|
20
20
|
setSelectedKind:
|
|
21
|
-
import("effector").
|
|
21
|
+
import("effector").EventCallable<GenModels.AuthenticationKindsModel>;
|
|
22
22
|
loginChangeKind:
|
|
23
|
-
import("effector").
|
|
23
|
+
import("effector").EventCallable<string>;
|
|
24
24
|
loginChanged:
|
|
25
|
-
import("effector").
|
|
25
|
+
import("effector").EventCallable<{
|
|
26
26
|
kinds: GenModels.AuthenticationKindsModel[];
|
|
27
27
|
selectedKind: GenModels.AuthenticationKindsModel;
|
|
28
28
|
}>;
|
|
29
29
|
loginCheckExist:
|
|
30
|
-
import("effector").
|
|
30
|
+
import("effector").EventCallable<GenModels.AuthenticationKindsModel>;
|
|
31
31
|
$isOpen:
|
|
32
|
-
import("effector").
|
|
32
|
+
import("effector").StoreWritable<boolean>;
|
|
33
33
|
setOpen:
|
|
34
|
-
import("effector").
|
|
34
|
+
import("effector").EventCallable<boolean>;
|
|
35
35
|
$isExist:
|
|
36
|
-
import("effector").
|
|
36
|
+
import("effector").StoreWritable<boolean>;
|
|
37
37
|
$isValid:
|
|
38
|
-
import("effector").
|
|
38
|
+
import("effector").StoreWritable<boolean>;
|
|
39
39
|
setValid:
|
|
40
|
-
import("effector").
|
|
40
|
+
import("effector").EventCallable<boolean>;
|
|
41
41
|
$binding:
|
|
42
|
-
import("effector").
|
|
42
|
+
import("effector").StoreWritable<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
|
|
43
43
|
setBinding:
|
|
44
|
-
import("effector").
|
|
44
|
+
import("effector").EventCallable<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
|
|
45
45
|
saveFx:
|
|
46
46
|
import("effector").Effect<GenModels.AuthenticationKindsModel[], GenModels.AuthenticationKindsModel[], void>;
|
|
47
47
|
loginCheckExistFx:
|
|
@@ -51,9 +51,9 @@ import("effector").Store<boolean>;
|
|
|
51
51
|
$isLoadingCheckExist:
|
|
52
52
|
import("effector").Store<boolean>;
|
|
53
53
|
$isAccess:
|
|
54
|
-
import("effector").
|
|
54
|
+
import("effector").StoreWritable<boolean>;
|
|
55
55
|
checkAccess:
|
|
56
|
-
import("effector").
|
|
56
|
+
import("effector").EventCallable<void>;
|
|
57
57
|
checkAccessFx:
|
|
58
58
|
import("effector").Effect<void, boolean, Error>;
|
|
59
59
|
init(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IEmailButtonCheckboxes } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
2
2
|
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
3
|
-
import {
|
|
4
|
-
export declare function changeBoundaryValuesSection(checkboxes: IEmailButtonCheckboxes, files: Store<FileListItem[]>, id: string, event:
|
|
3
|
+
import { EventCallable, Store } from 'effector';
|
|
4
|
+
export declare function changeBoundaryValuesSection(checkboxes: IEmailButtonCheckboxes, files: Store<FileListItem[]>, id: string, event: EventCallable<string>): void;
|
|
@@ -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 checkPartnersSectionAcccessRights: (rowId: string, sectionId: string, cardDataRights: GenModels.CardDataRights, services: $SecurityController) => Promise<boolean>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export declare function convertPartnersDirectoryResponseToTreeData(partnersResponse: GenModels.PartnersLoadResponse, parentId?: string, isGroupTab?: boolean): IDirectoryTreeRow[];
|
|
4
|
+
export declare function wrapPartnersDirectoryRootSectionNode(rootSectionId: string, items: IDirectoryTreeRow[]): IDirectoryTreeRow[];
|
|
5
|
+
export declare function createPartnersTreeFromSearchItemModel(searchItem: GenModels.SearchItemModel, rootSectionId: string): IDirectoryTreeRow[];
|
|
@@ -5,13 +5,13 @@ export declare class CreateCardDialogLogic extends ComponentLogic<ICreateCardDia
|
|
|
5
5
|
domain:
|
|
6
6
|
import("effector").Domain;
|
|
7
7
|
$templates:
|
|
8
|
-
import("effector").
|
|
8
|
+
import("effector").StoreWritable<GenModels.CreateCardTemplatesModalModel>;
|
|
9
9
|
$kinds:
|
|
10
|
-
import("effector").
|
|
10
|
+
import("effector").StoreWritable<GenModels.CardKindInfoModel[]>;
|
|
11
11
|
getTemplates:
|
|
12
|
-
import("effector").
|
|
12
|
+
import("effector").EventCallable<void>;
|
|
13
13
|
getKinds:
|
|
14
|
-
import("effector").
|
|
14
|
+
import("effector").EventCallable<GenModels.AddCardModalModelLink>;
|
|
15
15
|
getTemplatesFx:
|
|
16
16
|
import("effector").Effect<void, GenModels.CreateCardTemplatesModalModel, Error>;
|
|
17
17
|
getKindsFx:
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
|
|
2
|
+
export declare function deletePartnersSection(partnersSectionId: string, tree: IPartnersTreeRow[]): IPartnersTreeRow[];
|
|
3
|
+
export declare function deletePartnersSectionByParent(partnersSectionId: string, parentSectionId: string, tree: IPartnersTreeRow[]): IPartnersTreeRow[];
|
|
@@ -15,7 +15,7 @@ import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
|
15
15
|
import { ITaskSignInfo } from '@docsvision/webclient/BackOffice/ApprovalTaskComplete';
|
|
16
16
|
import { SignatureDialogLogic } from '@docsvision/webclient/BackOffice/SignatureDialogLogic';
|
|
17
17
|
import { IDigitalSignatureDialogManagement } from '@docsvision/webclient/BackOffice/IDigitalSignatureDialogManagement';
|
|
18
|
-
import {
|
|
18
|
+
import { EventCallable } from 'effector';
|
|
19
19
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
20
20
|
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
21
21
|
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
@@ -26,8 +26,8 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
|
|
|
26
26
|
currentDialogLogic: SignatureDialogLogic;
|
|
27
27
|
currentDialogProps: ISignatureDialogProps;
|
|
28
28
|
updateCurrentDialog: () => void;
|
|
29
|
-
beforeSignatureDialogShown:
|
|
30
|
-
afterSignatureDialogShown:
|
|
29
|
+
beforeSignatureDialogShown: EventCallable<BeforeSignatureDialogShowEventArgs>;
|
|
30
|
+
afterSignatureDialogShown: EventCallable<AfterSignatureDialogShowEventArgs>;
|
|
31
31
|
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $Router & $SignatureMethodsController & $Resources & $DeviceType & $Domain & $PowerOfAttorneyApiController);
|
|
32
32
|
showDocumentSignDialog(documentId: string, optionsArg?: ISignatureDialogOptions): Promise<void>;
|
|
33
33
|
getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
|
|
@@ -2,21 +2,32 @@
|
|
|
2
2
|
import { IDirectoryEntryModalProps } from "@docsvision/webclient/BackOffice/DirectoryEntryModal";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
4
|
import { ComponentLogic } from "@docsvision/web/core/component";
|
|
5
|
-
import { Domain, Effect, Event, Store } from "effector";
|
|
6
5
|
/** @internal */
|
|
7
6
|
export declare class DirectoryEntryModalLogic<TParams, TResult> extends ComponentLogic<IDirectoryEntryModalProps<TParams, TResult>> {
|
|
8
7
|
init(options: IDirectoryEntryModalProps<TParams, TResult>): void;
|
|
9
|
-
domain:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
domain:
|
|
9
|
+
import("effector").Domain;
|
|
10
|
+
$modalOpen:
|
|
11
|
+
import("effector").StoreWritable<boolean>;
|
|
12
|
+
showModal:
|
|
13
|
+
import("effector").EventCallable<TParams>;
|
|
14
|
+
accept:
|
|
15
|
+
import("effector").EventCallable<TResult>;
|
|
16
|
+
cancel:
|
|
17
|
+
import("effector").EventCallable<any>;
|
|
18
|
+
requestCancel:
|
|
19
|
+
import("effector").EventCallable<any>;
|
|
20
|
+
unmountLayoutOnCancelFx:
|
|
21
|
+
import("effector").Effect<unknown, unknown, Error>;
|
|
22
|
+
modalClosed:
|
|
23
|
+
import("effector").EventCallable<void>;
|
|
24
|
+
$result:
|
|
25
|
+
import("effector").StoreWritable<TResult>;
|
|
26
|
+
$params:
|
|
27
|
+
import("effector").StoreWritable<TParams>;
|
|
28
|
+
loadLayout:
|
|
29
|
+
import("effector").Effect<TParams, GenModels.LayoutViewModel, Error>;
|
|
30
|
+
$header:
|
|
31
|
+
import("effector").StoreWritable<
|
|
21
32
|
import("react").ReactNode>;
|
|
22
33
|
}
|
|
@@ -4,15 +4,15 @@ import { $ScrollPosition } from "@docsvision/web/components/table/plugins/scroll
|
|
|
4
4
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
5
5
|
import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
|
|
6
6
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
7
|
-
import {
|
|
7
|
+
import { StoreWritable, EventCallable } from "effector";
|
|
8
8
|
|
|
9
9
|
export declare function getSelectedEntityId(table: ITableData): ISimplePluginData<string>;
|
|
10
10
|
export declare function getRowSelectionProcessId(table: ITableData): ISimplePluginData<any>;
|
|
11
11
|
export interface IDirectoryRowSelectionService {
|
|
12
12
|
/** Флаг отображения компонента */
|
|
13
|
-
$selectedEntityId:
|
|
13
|
+
$selectedEntityId: StoreWritable<string>;
|
|
14
14
|
/** Событие отображения/скрытия компонента */
|
|
15
|
-
selectEntity:
|
|
15
|
+
selectEntity: EventCallable<string>;
|
|
16
16
|
}
|
|
17
17
|
export type $DirectoryRowSelection = {
|
|
18
18
|
directoryRowSelection: IDirectoryRowSelectionService;
|
|
@@ -7,14 +7,14 @@ export declare class DirectorySearchResultLogic extends ComponentLogic<IDirector
|
|
|
7
7
|
import("effector").Domain;
|
|
8
8
|
/** Результаты и поле ввода поиска открыты */
|
|
9
9
|
$opened:
|
|
10
|
-
import("effector").
|
|
10
|
+
import("effector").StoreWritable<boolean>;
|
|
11
11
|
/** Результаты поиска распахнуты на всю высоту экрана */
|
|
12
12
|
$expanded:
|
|
13
|
-
import("effector").
|
|
13
|
+
import("effector").StoreWritable<boolean>;
|
|
14
14
|
toggleOpened:
|
|
15
|
-
import("effector").
|
|
15
|
+
import("effector").EventCallable<boolean>;
|
|
16
16
|
setExpanded:
|
|
17
|
-
import("effector").
|
|
17
|
+
import("effector").EventCallable<boolean>;
|
|
18
18
|
initToggleOpened(): void;
|
|
19
19
|
initSetExpanded(): void;
|
|
20
20
|
init(options: IDirectorySearchResultProps): void;
|
|
@@ -5,8 +5,8 @@ export declare class DirectoryTabsLogic extends ComponentLogic<DirectoryTabsProp
|
|
|
5
5
|
protected domain:
|
|
6
6
|
import("effector").Domain;
|
|
7
7
|
$activeTab:
|
|
8
|
-
import("effector").
|
|
8
|
+
import("effector").StoreWritable<DirectoryTabInfo>;
|
|
9
9
|
activateTab:
|
|
10
|
-
import("effector").
|
|
10
|
+
import("effector").EventCallable<DirectoryTabInfo>;
|
|
11
11
|
init(options: DirectoryTabsProps): void;
|
|
12
12
|
}
|
|
@@ -23,6 +23,7 @@ export interface DirectoryTreeProps extends HtmlProps.div, IComponentProps<Direc
|
|
|
23
23
|
tree: IDirectoryTreeRow[];
|
|
24
24
|
loadingRows?: IDirectoryTreeRow[];
|
|
25
25
|
selectedPath?: IDirectoryTreeRow[];
|
|
26
|
+
selectLast?: Store<boolean>;
|
|
26
27
|
onRowSelected?: (row: IDirectoryTreeRow) => void;
|
|
27
28
|
cancelCopy?: () => void;
|
|
28
29
|
className?: string;
|
|
@@ -32,6 +33,7 @@ export interface DirectoryTreeProps extends HtmlProps.div, IComponentProps<Direc
|
|
|
32
33
|
addSection?: () => void;
|
|
33
34
|
addButtonTitle?: string;
|
|
34
35
|
onToggle?: (row?: IDirectoryTreeRow) => void;
|
|
36
|
+
onLoadMoreClick?: (row: IDirectoryTreeRow) => void;
|
|
35
37
|
loadChildren?: (parentRow: IDirectoryTreeRow) => Promise<IDirectoryTreeRow[]>;
|
|
36
38
|
treeAddButtonFn?: (props: DirectoryTreeProps) => JSX.Element;
|
|
37
39
|
services: Optional<$ContextMenuOptions> & $LocalStorage & $ApplicationSettings & $LayoutInfo & $EditOperationStore & $IsIE;
|
|
@@ -5,6 +5,7 @@ import { $ContextMenuOptions } from '@docsvision/webclient/Platform/$ContextMenu
|
|
|
5
5
|
import { Optional } from '@docsvision/web/core/services';
|
|
6
6
|
export interface IDirectoryTreeListProps {
|
|
7
7
|
flatTree: IDirectoryTreeRow[];
|
|
8
|
+
selectedRow?: IDirectoryTreeRow;
|
|
8
9
|
renderRow: (row: IDirectoryTreeRow) => React.ReactNode;
|
|
9
10
|
services: Optional<$ContextMenuOptions>;
|
|
10
11
|
}
|
|
@@ -8,64 +8,79 @@ export declare class DirectoryTreeLogic extends ComponentLogic<DirectoryTreeProp
|
|
|
8
8
|
import("effector").Domain;
|
|
9
9
|
/** Дерево, развернутое в плоский список. */
|
|
10
10
|
$flatTree:
|
|
11
|
-
import("effector").
|
|
11
|
+
import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
|
|
12
12
|
/** Исходное дерево в виде иерархической модели. */
|
|
13
13
|
$tree:
|
|
14
|
-
import("effector").
|
|
14
|
+
import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
|
|
15
15
|
/** Вызывается при каждом рендере, с передачей модели дерева из props. */
|
|
16
16
|
componentReceivedTree:
|
|
17
|
-
import("effector").
|
|
17
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>[]>;
|
|
18
18
|
$shouldResetSelectedRow:
|
|
19
|
-
import("effector").
|
|
19
|
+
import("effector").StoreWritable<boolean>;
|
|
20
20
|
shouldResetSelectedRowReset:
|
|
21
|
-
import("effector").
|
|
21
|
+
import("effector").EventCallable<void>;
|
|
22
|
+
$cancelResetSelectedRow:
|
|
23
|
+
import("effector").StoreWritable<boolean>;
|
|
24
|
+
cancelResetSelectedRowReset:
|
|
25
|
+
import("effector").EventCallable<void>;
|
|
22
26
|
toggleRow:
|
|
23
|
-
import("effector").
|
|
27
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
24
28
|
toggleRowInTree:
|
|
25
|
-
import("effector").
|
|
29
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
26
30
|
$loadingRows:
|
|
27
|
-
import("effector").
|
|
31
|
+
import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
|
|
28
32
|
$loadingChildrenRows:
|
|
29
|
-
import("effector").
|
|
33
|
+
import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
|
|
30
34
|
loadingRowsReceived:
|
|
31
|
-
import("effector").
|
|
35
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>[]>;
|
|
32
36
|
$receivedLoadingRows:
|
|
33
|
-
import("effector").
|
|
37
|
+
import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
|
|
34
38
|
loadChildren:
|
|
35
39
|
import("effector").Effect<{
|
|
36
40
|
parentRow: IDirectoryTreeRow;
|
|
37
41
|
}, IDirectoryTreeRow<any>[], Error>;
|
|
38
42
|
isChildOfNode:
|
|
39
|
-
import("effector").
|
|
43
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
44
|
+
setFlatTree:
|
|
45
|
+
import("effector").EventCallable<{
|
|
46
|
+
tree: IDirectoryTreeRow[];
|
|
47
|
+
parentId: string;
|
|
48
|
+
children: IDirectoryTreeRow[];
|
|
49
|
+
}>;
|
|
40
50
|
initToggle(options: DirectoryTreeProps): void;
|
|
41
51
|
toggleRowWithPath: (path: IDirectoryTreeRow[]) => Promise<IDirectoryTreeRow>;
|
|
42
52
|
$selectedRow:
|
|
43
|
-
import("effector").
|
|
53
|
+
import("effector").StoreWritable<IDirectoryTreeRow<any>>;
|
|
44
54
|
$copiedRowIndex:
|
|
45
|
-
import("effector").
|
|
55
|
+
import("effector").StoreWritable<string>;
|
|
46
56
|
$copiedRowChildList:
|
|
47
|
-
import("effector").
|
|
57
|
+
import("effector").StoreWritable<string[]>;
|
|
48
58
|
copiedRowChildListUpdate:
|
|
49
|
-
import("effector").
|
|
59
|
+
import("effector").EventCallable<string>;
|
|
50
60
|
copiedRowChildListClear:
|
|
51
|
-
import("effector").
|
|
61
|
+
import("effector").EventCallable<void>;
|
|
52
62
|
$cutCondition:
|
|
53
|
-
import("effector").
|
|
63
|
+
import("effector").StoreWritable<boolean>;
|
|
54
64
|
$copyCondition:
|
|
55
|
-
import("effector").
|
|
65
|
+
import("effector").StoreWritable<boolean>;
|
|
56
66
|
$selectedRowIndex:
|
|
57
|
-
import("effector").
|
|
67
|
+
import("effector").StoreWritable<number>;
|
|
58
68
|
selectRow:
|
|
59
|
-
import("effector").
|
|
69
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
60
70
|
selectNextRow:
|
|
61
|
-
import("effector").
|
|
71
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
62
72
|
selectPrevRow:
|
|
63
|
-
import("effector").
|
|
73
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
64
74
|
unsetCopy:
|
|
65
|
-
import("effector").
|
|
75
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
66
76
|
initSelection(options: DirectoryTreeProps): void;
|
|
77
|
+
loadMoreRow:
|
|
78
|
+
import("effector").EventCallable<IDirectoryTreeRow<any>>;
|
|
79
|
+
loadMoreRowFx:
|
|
80
|
+
import("effector").Effect<IDirectoryTreeRow<any>, IDirectoryTreeRow<any>, Error>;
|
|
81
|
+
initLoadMore(options: DirectoryTreeProps): void;
|
|
67
82
|
rowKeyDown:
|
|
68
|
-
import("effector").
|
|
83
|
+
import("effector").EventCallable<{
|
|
69
84
|
row: IDirectoryTreeRow;
|
|
70
85
|
key: KeyCodes;
|
|
71
86
|
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ITableData, ITablePlugins, TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
2
|
+
import { $ScrollPosition } from "@docsvision/web/components/table/plugins/scroll";
|
|
3
|
+
import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
|
|
4
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
5
|
+
import { Store, Effect, EventCallable } from "effector";
|
|
6
|
+
export declare function getSelectedTreeEntityId(table: ITableData): ISimplePluginData<string>;
|
|
7
|
+
export interface IDirectoryTreeRowSelectionService {
|
|
8
|
+
/** Идентификатор выбранного элемента */
|
|
9
|
+
$selectedEntityId: Store<string>;
|
|
10
|
+
/** Событие выбора элемента */
|
|
11
|
+
selectEntity: EventCallable<string>;
|
|
12
|
+
/** Проскроллить до выбранного элемента */
|
|
13
|
+
scrollToSelectedFx: Effect<string, void>;
|
|
14
|
+
}
|
|
15
|
+
export type $DirectoryTreeRowSelection = {
|
|
16
|
+
directoryTreeRowSelection: IDirectoryTreeRowSelectionService;
|
|
17
|
+
};
|
|
18
|
+
export declare const $DirectoryTreeRowSelection: string | ((model?: $DirectoryTreeRowSelection) => IDirectoryTreeRowSelectionService);
|
|
19
|
+
export declare const DirectoryTreeRowSelectionFeature = "DirectoryTreeRowSelection";
|
|
20
|
+
export declare const DirectoryTreeRowSelectionServiceProvider: TablePlugins.ServiceProvider<$DirectoryTreeRowSelection & $ScrollPosition & $Domain>;
|
|
21
|
+
export declare const TreeRowSelectionPlugins: ITablePlugins;
|
|
@@ -9,34 +9,34 @@ export declare class EmailButtonLogic {
|
|
|
9
9
|
domain:
|
|
10
10
|
import("effector").Domain;
|
|
11
11
|
getEmlFile:
|
|
12
|
-
import("effector").
|
|
12
|
+
import("effector").EventCallable<void>;
|
|
13
13
|
getEmlFileFx:
|
|
14
14
|
import("effector").Effect<void, Blob, Error>;
|
|
15
15
|
$emlLoading:
|
|
16
16
|
import("effector").Store<boolean>;
|
|
17
17
|
getFiles:
|
|
18
|
-
import("effector").
|
|
18
|
+
import("effector").EventCallable<void>;
|
|
19
19
|
$files:
|
|
20
|
-
import("effector").
|
|
20
|
+
import("effector").StoreWritable<FileListItem[]>;
|
|
21
21
|
$mainFiles:
|
|
22
|
-
import("effector").
|
|
22
|
+
import("effector").StoreWritable<FileListItem[]>;
|
|
23
23
|
$mainFilesSize:
|
|
24
24
|
import("effector").Store<number>;
|
|
25
25
|
$additionalFiles:
|
|
26
|
-
import("effector").
|
|
26
|
+
import("effector").StoreWritable<FileListItem[]>;
|
|
27
27
|
$additionalFilesSize:
|
|
28
28
|
import("effector").Store<number>;
|
|
29
29
|
$selectedFiles:
|
|
30
|
-
import("effector").
|
|
30
|
+
import("effector").StoreWritable<FileListItem[]>;
|
|
31
31
|
$selectedFileIds:
|
|
32
32
|
import("effector").Store<string[]>;
|
|
33
33
|
$selectedFilesSize:
|
|
34
34
|
import("effector").Store<number>;
|
|
35
35
|
$checkboxes:
|
|
36
|
-
import("effector").
|
|
36
|
+
import("effector").StoreWritable<IEmailButtonCheckboxes>;
|
|
37
37
|
changeFileSelection:
|
|
38
|
-
import("effector").
|
|
38
|
+
import("effector").EventCallable<string>;
|
|
39
39
|
changeSectionSelection:
|
|
40
|
-
import("effector").
|
|
40
|
+
import("effector").EventCallable<string>;
|
|
41
41
|
init(): Promise<void>;
|
|
42
42
|
}
|