@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.
Files changed (141) hide show
  1. package/Account/LoginLogic.d.ts +30 -30
  2. package/Account/ProviderButton.d.ts +2 -2
  3. package/BackOffice/$SelectionRow.d.ts +2 -2
  4. package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +2 -1
  5. package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +8 -8
  6. package/BackOffice/AddPartnersEmployeeIconColumn.d.ts +3 -0
  7. package/BackOffice/AuthenticationKindsLogic.d.ts +17 -17
  8. package/BackOffice/ChangeBoundaryValuesSection.d.ts +2 -2
  9. package/BackOffice/CheckPartnersSectionAcccessRights.d.ts +3 -0
  10. package/BackOffice/ConvertPartnersDirectoryResponseToTree.d.ts +5 -0
  11. package/BackOffice/ConvertPartnersEmployeeToRow.d.ts +3 -0
  12. package/BackOffice/CreateCardDialogLogic.d.ts +4 -4
  13. package/BackOffice/DeletePartnersSection.d.ts +3 -0
  14. package/BackOffice/DigitalSignatureService.d.ts +3 -3
  15. package/BackOffice/DirectoryEntryModalLogic.d.ts +24 -13
  16. package/BackOffice/DirectoryRowSelection.d.ts +3 -3
  17. package/BackOffice/DirectorySearchResultLogic.d.ts +4 -4
  18. package/BackOffice/DirectoryTabsLogic.d.ts +2 -2
  19. package/BackOffice/DirectoryTree.d.ts +2 -0
  20. package/BackOffice/DirectoryTreeList.d.ts +1 -0
  21. package/BackOffice/DirectoryTreeLogic.d.ts +40 -25
  22. package/BackOffice/DirectoryTreeRowSelection.d.ts +21 -0
  23. package/BackOffice/EmailButtonLogic.d.ts +9 -9
  24. package/BackOffice/EmailButtonView.d.ts +1 -1
  25. package/BackOffice/ExecutionDateChangeRequestActions.d.ts +11 -0
  26. package/BackOffice/ExecutionDateChangeRequestHeader.d.ts +7 -0
  27. package/BackOffice/ExecutionDateChangeRequestInfo.d.ts +10 -0
  28. package/BackOffice/ExecutionDateChangeRequestWrapper.d.ts +6 -0
  29. package/BackOffice/FindPartnersSection.d.ts +9 -0
  30. package/BackOffice/GetPartnerIdFromTreeId.d.ts +7 -0
  31. package/BackOffice/GetPartnersContextMenuNames.d.ts +2 -0
  32. package/BackOffice/GetPartnersDirectoryIconClassName.d.ts +10 -0
  33. package/BackOffice/GetPartnersDirectoryRootSectionId.d.ts +5 -0
  34. package/BackOffice/GetPartnersDirectorySearchItemTab.d.ts +2 -0
  35. package/BackOffice/GetPartnersEmployeeColumns.d.ts +4 -0
  36. package/BackOffice/GetPartnersSelectedSearchItemEmployeeId.d.ts +4 -0
  37. package/BackOffice/GetPartnersSelectedSearchItemSection.d.ts +2 -0
  38. package/BackOffice/IDirectoryTreeRow.d.ts +2 -0
  39. package/BackOffice/IPartnersDirectoryOptions.d.ts +12 -0
  40. package/BackOffice/IPartnersDirectoryTreeNodeData.d.ts +6 -0
  41. package/BackOffice/IPartnersEmployeeResponseParser.d.ts +6 -0
  42. package/BackOffice/IPartnersTreeRow.d.ts +4 -0
  43. package/BackOffice/LoadPartnersEmployeeLayoutFunctions.d.ts +8 -0
  44. package/BackOffice/LoadPartnersSectionLayoutFunctions.d.ts +7 -0
  45. package/BackOffice/PartnersDirectory.d.ts +48 -4
  46. package/BackOffice/PartnersDirectoryAddToGroupModal.d.ts +28 -0
  47. package/BackOffice/PartnersDirectoryAddToGroupModalLogic.d.ts +50 -0
  48. package/BackOffice/PartnersDirectoryButtonsPanel.d.ts +8 -0
  49. package/BackOffice/PartnersDirectoryCompanySaving.d.ts +4 -0
  50. package/BackOffice/PartnersDirectoryConstants.d.ts +35 -0
  51. package/BackOffice/PartnersDirectoryContainer.d.ts +7 -0
  52. package/BackOffice/PartnersDirectoryDialogLocations.d.ts +6 -0
  53. package/BackOffice/PartnersDirectoryEmployeeColumns.d.ts +6 -0
  54. package/BackOffice/PartnersDirectoryEmployeesTabFrame.d.ts +8 -0
  55. package/BackOffice/PartnersDirectoryGroupsTree.d.ts +34 -0
  56. package/BackOffice/PartnersDirectoryHead.d.ts +7 -0
  57. package/BackOffice/PartnersDirectoryInfo.d.ts +16 -0
  58. package/BackOffice/PartnersDirectoryLogic.d.ts +366 -0
  59. package/BackOffice/PartnersDirectoryRemoveFromGroupIconGridPlugin.d.ts +15 -0
  60. package/BackOffice/PartnersDirectoryRootSectionConstants.d.ts +15 -0
  61. package/BackOffice/PartnersDirectorySearchFilters.d.ts +5 -0
  62. package/BackOffice/PartnersDirectorySelectedButtons.d.ts +11 -0
  63. package/BackOffice/PartnersDirectoryTreeAddButton.d.ts +17 -0
  64. package/BackOffice/PartnersDirectoryTreeNode.d.ts +15 -0
  65. package/BackOffice/PartnersDirectoryTreeNodeDataResolver.d.ts +3 -0
  66. package/BackOffice/PartnersDirectoryView.d.ts +103 -0
  67. package/BackOffice/PartnersEmployeeRowModelExtendedData.d.ts +5 -0
  68. package/BackOffice/PowersDirectoryLogic.d.ts +29 -29
  69. package/BackOffice/PrintButtonLogic.d.ts +5 -5
  70. package/BackOffice/ProcessPartnersEmployeeIdInViewRows.d.ts +3 -0
  71. package/BackOffice/SearchPartnersEmployees.d.ts +4 -0
  72. package/BackOffice/SelectionRowService.d.ts +4 -4
  73. package/BackOffice/SignatureButtonLogic.d.ts +6 -6
  74. package/BackOffice/SignatureDialogLogic.d.ts +26 -26
  75. package/BackOffice/SignatureMethodsSetupLogic.d.ts +43 -31
  76. package/BackOffice/StaffDirectoryLogic.d.ts +71 -71
  77. package/BackOffice/TaskChangeExecutionDates.d.ts +2 -0
  78. package/BackOffice/TaskExecutionDateChangeRequest.d.ts +40 -0
  79. package/BackOffice/TaskExecutionDateChangeRequestContainer.d.ts +9 -0
  80. package/BackOffice/TaskExecutionDateChangeRequestLogic.d.ts +22 -0
  81. package/BackOffice/TaskExecutionDateChangeRequestView.d.ts +13 -0
  82. package/BackOffice/TaskGroupWorkStatusLogic.d.ts +2 -2
  83. package/BackOffice/TasksTableLogic.d.ts +54 -54
  84. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +15 -15
  85. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +8 -8
  86. package/Generated/DocsVision.WebClient.Controllers.d.ts +123 -0
  87. package/Generated/DocsVision.WebClient.Models.d.ts +539 -132
  88. package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +10 -8
  89. package/Legacy/StandardControllers.d.ts +2 -2
  90. package/Platform/$AggregatesCheckbox.d.ts +6 -6
  91. package/Platform/$ContextMenuOptions.d.ts +6 -6
  92. package/Platform/$FolderDataLoading.d.ts +2 -2
  93. package/Platform/$FolderGrid.d.ts +2 -2
  94. package/Platform/$FolderHelp.d.ts +3 -3
  95. package/Platform/$SearchParametersFolder.d.ts +3 -3
  96. package/Platform/$ToolbarActionButtons.d.ts +3 -3
  97. package/Platform/$ToolbarDaughterControls.d.ts +5 -5
  98. package/Platform/$WebFrameSearchPanel.d.ts +8 -8
  99. package/Platform/AggregatesCheckboxService.d.ts +21 -21
  100. package/Platform/ApprovalVisualizationLogic.d.ts +5 -5
  101. package/Platform/CertificateSettingsLogic.d.ts +3 -3
  102. package/Platform/ContextMenuOptionsService.d.ts +6 -6
  103. package/Platform/DiagramLogic.d.ts +10 -10
  104. package/Platform/DiagramQueryParams.d.ts +2 -2
  105. package/Platform/FolderDataLoadingService.d.ts +3 -3
  106. package/Platform/FolderGridService.d.ts +3 -3
  107. package/Platform/FolderHelpService.d.ts +3 -3
  108. package/Platform/IFilterComponent.d.ts +5 -0
  109. package/Platform/ListContent.d.ts +1 -1
  110. package/Platform/ListInfoContainer.d.ts +6 -0
  111. package/Platform/ListSelectAll.d.ts +6 -0
  112. package/Platform/ListTotalItem.d.ts +1 -1
  113. package/Platform/PartnersDirectoryCardViewRouteHandler.d.ts +12 -0
  114. package/Platform/QuotesLogic.d.ts +16 -16
  115. package/Platform/ScrollTopBottomLogic.d.ts +10 -10
  116. package/Platform/SearchParametersFolderService.d.ts +5 -5
  117. package/Platform/SecurityDescriptorDialogLogic.d.ts +18 -14
  118. package/Platform/SettingsPopup.d.ts +2 -2
  119. package/Platform/SettingsPopupLogic.d.ts +20 -20
  120. package/Platform/TableColumnImpl.d.ts +0 -1
  121. package/Platform/TextListInputLogic.d.ts +43 -13
  122. package/Platform/TextListInputView.d.ts +4 -0
  123. package/Platform/ToolbarActionButtonsService.d.ts +3 -3
  124. package/Platform/ToolbarDaughterControlsService.d.ts +5 -5
  125. package/Platform/UnreadBarService.d.ts +2 -2
  126. package/Platform/WebFrameSearchPanelService.d.ts +17 -17
  127. package/System/$FolderColors.d.ts +3 -3
  128. package/System/$LastSearchResponse.d.ts +20 -20
  129. package/System/$LayoutBackground.d.ts +5 -5
  130. package/System/$SessionRelatedContent.d.ts +3 -3
  131. package/System/$WebFrameContentHeight.d.ts +5 -5
  132. package/System/DelayUntilApiEvent.d.ts +3 -3
  133. package/System/FolderColorsService.d.ts +3 -3
  134. package/System/LastSearchResponseService.d.ts +20 -20
  135. package/System/LayoutBackgroundService.d.ts +5 -5
  136. package/System/PollService.d.ts +4 -4
  137. package/System/ResourcesStub.d.ts +21 -0
  138. package/System/SessionRelatedContentService.d.ts +3 -3
  139. package/System/TaskExecutionDateChangeRequestsControllerStub.d.ts +9 -0
  140. package/System/WebFrameContentHeightService.d.ts +5 -5
  141. package/package.json +1 -1
@@ -6,72 +6,72 @@ export declare class LoginLogic extends ComponentLogic {
6
6
  domain:
7
7
  import("effector").Domain;
8
8
  setUser:
9
- import("effector").Event<string>;
9
+ import("effector").EventCallable<string>;
10
10
  $user:
11
- import("effector").Store<string>;
11
+ import("effector").StoreWritable<string>;
12
12
  $userAccount:
13
- import("effector").Store<string>;
13
+ import("effector").StoreWritable<string>;
14
14
  site: string;
15
15
  origin: string;
16
16
  returnUrl: string;
17
17
  onChangeUserName:
18
- import("effector").Event<string>;
18
+ import("effector").EventCallable<string>;
19
19
  onChangePassword:
20
- import("effector").Event<string>;
20
+ import("effector").EventCallable<string>;
21
21
  $userName:
22
- import("effector").Store<string>;
22
+ import("effector").StoreWritable<string>;
23
23
  $password:
24
- import("effector").Store<string>;
24
+ import("effector").StoreWritable<string>;
25
25
  $providers:
26
- import("effector").Store<ILoginProvider[]>;
26
+ import("effector").StoreWritable<ILoginProvider[]>;
27
27
  $userProviders:
28
- import("effector").Store<ILoginProvider[]>;
28
+ import("effector").StoreWritable<ILoginProvider[]>;
29
29
  setError:
30
- import("effector").Event<string>;
30
+ import("effector").EventCallable<string>;
31
31
  $error:
32
- import("effector").Store<string>;
32
+ import("effector").StoreWritable<string>;
33
33
  setFormType:
34
- import("effector").Event<FormType>;
34
+ import("effector").EventCallable<FormType>;
35
35
  $formType:
36
- import("effector").Store<FormType>;
36
+ import("effector").StoreWritable<FormType>;
37
37
  setLoading:
38
- import("effector").Event<boolean>;
38
+ import("effector").EventCallable<boolean>;
39
39
  $formSubmitLoading:
40
- import("effector").Store<boolean>;
40
+ import("effector").StoreWritable<boolean>;
41
41
  $currentAuthenticationExtensionId:
42
- import("effector").Store<string>;
42
+ import("effector").StoreWritable<string>;
43
43
  $formDisabled:
44
- import("effector").Store<boolean>;
44
+ import("effector").StoreWritable<boolean>;
45
45
  $urlSearchParamUserName:
46
- import("effector").Store<string>;
46
+ import("effector").StoreWritable<string>;
47
47
  $providersUpdate:
48
48
  import("effector").Store<[ILoginProvider[], ILoginProvider[]]>;
49
49
  clickProviderButton:
50
- import("effector").Event<string>;
50
+ import("effector").EventCallable<string>;
51
51
  $timeStartDownloadingProviders:
52
- import("effector").Store<number>;
52
+ import("effector").StoreWritable<number>;
53
53
  setTimeStartDownloadingProviders:
54
- import("effector").Event<number>;
54
+ import("effector").EventCallable<number>;
55
55
  clearInputs:
56
- import("effector").Event<void>;
56
+ import("effector").EventCallable<void>;
57
57
  $hasLicenseProblem:
58
- import("effector").Store<boolean>;
58
+ import("effector").StoreWritable<boolean>;
59
59
  $captchaRef:
60
- import("effector").Store<React.RefObject<AltchaWidget & AltchaWidgetMethods & HTMLElement>>;
60
+ import("effector").StoreWritable<React.RefObject<AltchaWidget & AltchaWidgetMethods & HTMLElement>>;
61
61
  setCaptchaRef:
62
- import("effector").Event<React.RefObject<AltchaWidget & AltchaWidgetMethods & HTMLElement>>;
62
+ import("effector").EventCallable<React.RefObject<AltchaWidget & AltchaWidgetMethods & HTMLElement>>;
63
63
  $captchaPayload:
64
- import("effector").Store<string>;
64
+ import("effector").StoreWritable<string>;
65
65
  setCaptchaPayload:
66
- import("effector").Event<string>;
66
+ import("effector").EventCallable<string>;
67
67
  $isCaptchaEnabled:
68
- import("effector").Store<boolean>;
68
+ import("effector").StoreWritable<boolean>;
69
69
  setIsCaptchaEnabled:
70
- import("effector").Event<boolean>;
70
+ import("effector").EventCallable<boolean>;
71
71
  getCaptchaRequiredFX:
72
72
  import("effector").Effect<string, boolean, Error>;
73
73
  setCaptchaError:
74
- import("effector").Event<void>;
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 { Event } from 'effector';
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: Event<string>;
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 { Store } from 'effector';
2
+ import { StoreWritable } from 'effector';
3
3
  export interface ISelectionRowService {
4
- selectionRowId?: Store<string>;
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 { Store, Event } from 'effector';
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: Store<boolean>;
9
+ $visibility: StoreWritable<boolean>;
10
10
  /** Событие отображения/скрытия компонента */
11
- setVisibility: Event<boolean>;
11
+ setVisibility: EventCallable<boolean>;
12
12
  /** Событие сворачивания/разворачивания панели */
13
- setActivity: Event<boolean>;
13
+ setActivity: EventCallable<boolean>;
14
14
  /** Событие начала поиска в справочнике */
15
- startSearch: Event<ISearchRequest>;
15
+ startSearch: EventCallable<ISearchRequest>;
16
16
  /** Событие очистки поисковой формы */
17
- clearSearch: Event<void>;
17
+ clearSearch: EventCallable<void>;
18
18
  /** Флаг состояния видимости панели поиска */
19
- $expanded: Store<boolean>;
19
+ $expanded: StoreWritable<boolean>;
20
20
  /** Событие состояния видимости панели поиска */
21
- setExpanded: Event<boolean>;
21
+ setExpanded: EventCallable<boolean>;
22
22
  }
23
23
  export type $WebFrameDirectorySearchPanelService = {
24
24
  webFrameDirectorySearchPanelService: IWebFrameDirectorySearchPanelService;
@@ -0,0 +1,3 @@
1
+ import { ITableData } from "@docsvision/web/components/table/interfaces";
2
+ export declare const ICON_COLUMN_WIDTH = 50;
3
+ export declare function addPartnersEmployeeIconColumn(data: ITableData, removeIcon?: boolean): void;
@@ -7,41 +7,41 @@ export declare class AuthenticationKindsLogic {
7
7
  domain:
8
8
  import("effector").Domain;
9
9
  $kinds:
10
- import("effector").Store<GenModels.AuthenticationKindsModel[]>;
10
+ import("effector").StoreWritable<GenModels.AuthenticationKindsModel[]>;
11
11
  setKinds:
12
- import("effector").Event<GenModels.AuthenticationKindsModel[]>;
12
+ import("effector").EventCallable<GenModels.AuthenticationKindsModel[]>;
13
13
  useExtensionChange:
14
- import("effector").Event<{
14
+ import("effector").EventCallable<{
15
15
  value: boolean;
16
16
  kind: GenModels.AuthenticationKindsModel;
17
17
  }>;
18
18
  $selectedKind:
19
- import("effector").Store<GenModels.AuthenticationKindsModel>;
19
+ import("effector").StoreWritable<GenModels.AuthenticationKindsModel>;
20
20
  setSelectedKind:
21
- import("effector").Event<GenModels.AuthenticationKindsModel>;
21
+ import("effector").EventCallable<GenModels.AuthenticationKindsModel>;
22
22
  loginChangeKind:
23
- import("effector").Event<string>;
23
+ import("effector").EventCallable<string>;
24
24
  loginChanged:
25
- import("effector").Event<{
25
+ import("effector").EventCallable<{
26
26
  kinds: GenModels.AuthenticationKindsModel[];
27
27
  selectedKind: GenModels.AuthenticationKindsModel;
28
28
  }>;
29
29
  loginCheckExist:
30
- import("effector").Event<GenModels.AuthenticationKindsModel>;
30
+ import("effector").EventCallable<GenModels.AuthenticationKindsModel>;
31
31
  $isOpen:
32
- import("effector").Store<boolean>;
32
+ import("effector").StoreWritable<boolean>;
33
33
  setOpen:
34
- import("effector").Event<boolean>;
34
+ import("effector").EventCallable<boolean>;
35
35
  $isExist:
36
- import("effector").Store<boolean>;
36
+ import("effector").StoreWritable<boolean>;
37
37
  $isValid:
38
- import("effector").Store<boolean>;
38
+ import("effector").StoreWritable<boolean>;
39
39
  setValid:
40
- import("effector").Event<boolean>;
40
+ import("effector").EventCallable<boolean>;
41
41
  $binding:
42
- import("effector").Store<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
42
+ import("effector").StoreWritable<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
43
43
  setBinding:
44
- import("effector").Event<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
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").Store<boolean>;
54
+ import("effector").StoreWritable<boolean>;
55
55
  checkAccess:
56
- import("effector").Event<void>;
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 { Event, Store } from 'effector';
4
- export declare function changeBoundaryValuesSection(checkboxes: IEmailButtonCheckboxes, files: Store<FileListItem[]>, id: string, event: Event<string>): void;
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[];
@@ -0,0 +1,3 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { IRow } from "@docsvision/web/components/table/interfaces";
3
+ export declare function convertPartnersEmployeeToRow(item: GenModels.PartnersDirectoryItem, id: string): IRow;
@@ -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").Store<GenModels.CreateCardTemplatesModalModel>;
8
+ import("effector").StoreWritable<GenModels.CreateCardTemplatesModalModel>;
9
9
  $kinds:
10
- import("effector").Store<GenModels.CardKindInfoModel[]>;
10
+ import("effector").StoreWritable<GenModels.CardKindInfoModel[]>;
11
11
  getTemplates:
12
- import("effector").Event<void>;
12
+ import("effector").EventCallable<void>;
13
13
  getKinds:
14
- import("effector").Event<GenModels.AddCardModalModelLink>;
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 { Event } from 'effector';
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: Event<BeforeSignatureDialogShowEventArgs>;
30
- afterSignatureDialogShown: Event<AfterSignatureDialogShowEventArgs>;
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: Domain;
10
- $modalOpen: Store<boolean>;
11
- showModal: Event<TParams>;
12
- accept: Event<TResult>;
13
- cancel: Event<any>;
14
- requestCancel: Event<any>;
15
- unmountLayoutOnCancelFx: Effect<unknown, unknown, Error>;
16
- modalClosed: Event<void>;
17
- $result: Store<TResult>;
18
- $params: Store<TParams>;
19
- loadLayout: Effect<TParams, GenModels.LayoutViewModel, Error>;
20
- $header: Store<
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 { Store, Event } from "effector";
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: Store<string>;
13
+ $selectedEntityId: StoreWritable<string>;
14
14
  /** Событие отображения/скрытия компонента */
15
- selectEntity: Event<string>;
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").Store<boolean>;
10
+ import("effector").StoreWritable<boolean>;
11
11
  /** Результаты поиска распахнуты на всю высоту экрана */
12
12
  $expanded:
13
- import("effector").Store<boolean>;
13
+ import("effector").StoreWritable<boolean>;
14
14
  toggleOpened:
15
- import("effector").Event<boolean>;
15
+ import("effector").EventCallable<boolean>;
16
16
  setExpanded:
17
- import("effector").Event<boolean>;
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").Store<DirectoryTabInfo>;
8
+ import("effector").StoreWritable<DirectoryTabInfo>;
9
9
  activateTab:
10
- import("effector").Event<DirectoryTabInfo>;
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").Store<IDirectoryTreeRow<any>[]>;
11
+ import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
12
12
  /** Исходное дерево в виде иерархической модели. */
13
13
  $tree:
14
- import("effector").Store<IDirectoryTreeRow<any>[]>;
14
+ import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
15
15
  /** Вызывается при каждом рендере, с передачей модели дерева из props. */
16
16
  componentReceivedTree:
17
- import("effector").Event<IDirectoryTreeRow<any>[]>;
17
+ import("effector").EventCallable<IDirectoryTreeRow<any>[]>;
18
18
  $shouldResetSelectedRow:
19
- import("effector").Store<boolean>;
19
+ import("effector").StoreWritable<boolean>;
20
20
  shouldResetSelectedRowReset:
21
- import("effector").Event<void>;
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").Event<IDirectoryTreeRow<any>>;
27
+ import("effector").EventCallable<IDirectoryTreeRow<any>>;
24
28
  toggleRowInTree:
25
- import("effector").Event<IDirectoryTreeRow<any>>;
29
+ import("effector").EventCallable<IDirectoryTreeRow<any>>;
26
30
  $loadingRows:
27
- import("effector").Store<IDirectoryTreeRow<any>[]>;
31
+ import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
28
32
  $loadingChildrenRows:
29
- import("effector").Store<IDirectoryTreeRow<any>[]>;
33
+ import("effector").StoreWritable<IDirectoryTreeRow<any>[]>;
30
34
  loadingRowsReceived:
31
- import("effector").Event<IDirectoryTreeRow<any>[]>;
35
+ import("effector").EventCallable<IDirectoryTreeRow<any>[]>;
32
36
  $receivedLoadingRows:
33
- import("effector").Store<IDirectoryTreeRow<any>[]>;
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").Event<IDirectoryTreeRow<any>>;
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").Store<IDirectoryTreeRow<any>>;
53
+ import("effector").StoreWritable<IDirectoryTreeRow<any>>;
44
54
  $copiedRowIndex:
45
- import("effector").Store<string>;
55
+ import("effector").StoreWritable<string>;
46
56
  $copiedRowChildList:
47
- import("effector").Store<string[]>;
57
+ import("effector").StoreWritable<string[]>;
48
58
  copiedRowChildListUpdate:
49
- import("effector").Event<string>;
59
+ import("effector").EventCallable<string>;
50
60
  copiedRowChildListClear:
51
- import("effector").Event<void>;
61
+ import("effector").EventCallable<void>;
52
62
  $cutCondition:
53
- import("effector").Store<boolean>;
63
+ import("effector").StoreWritable<boolean>;
54
64
  $copyCondition:
55
- import("effector").Store<boolean>;
65
+ import("effector").StoreWritable<boolean>;
56
66
  $selectedRowIndex:
57
- import("effector").Store<number>;
67
+ import("effector").StoreWritable<number>;
58
68
  selectRow:
59
- import("effector").Event<IDirectoryTreeRow<any>>;
69
+ import("effector").EventCallable<IDirectoryTreeRow<any>>;
60
70
  selectNextRow:
61
- import("effector").Event<IDirectoryTreeRow<any>>;
71
+ import("effector").EventCallable<IDirectoryTreeRow<any>>;
62
72
  selectPrevRow:
63
- import("effector").Event<IDirectoryTreeRow<any>>;
73
+ import("effector").EventCallable<IDirectoryTreeRow<any>>;
64
74
  unsetCopy:
65
- import("effector").Event<IDirectoryTreeRow<any>>;
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").Event<{
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").Event<void>;
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").Event<void>;
18
+ import("effector").EventCallable<void>;
19
19
  $files:
20
- import("effector").Store<FileListItem[]>;
20
+ import("effector").StoreWritable<FileListItem[]>;
21
21
  $mainFiles:
22
- import("effector").Store<FileListItem[]>;
22
+ import("effector").StoreWritable<FileListItem[]>;
23
23
  $mainFilesSize:
24
24
  import("effector").Store<number>;
25
25
  $additionalFiles:
26
- import("effector").Store<FileListItem[]>;
26
+ import("effector").StoreWritable<FileListItem[]>;
27
27
  $additionalFilesSize:
28
28
  import("effector").Store<number>;
29
29
  $selectedFiles:
30
- import("effector").Store<FileListItem[]>;
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").Store<IEmailButtonCheckboxes>;
36
+ import("effector").StoreWritable<IEmailButtonCheckboxes>;
37
37
  changeFileSelection:
38
- import("effector").Event<string>;
38
+ import("effector").EventCallable<string>;
39
39
  changeSectionSelection:
40
- import("effector").Event<string>;
40
+ import("effector").EventCallable<string>;
41
41
  init(): Promise<void>;
42
42
  }