@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
@@ -0,0 +1,366 @@
1
+ /// <reference types="react" />
2
+ import { PartnersDirectoryParams } from "@docsvision/webclient/BackOffice/PartnersDirectory";
3
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+ import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
5
+ import { ShowSecurityDescriptorDialogProps } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
6
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
7
+ import { ComponentLogic } from "@docsvision/web/core/component";
8
+ import { IPartnersTreeRow } from "@docsvision/webclient/BackOffice/IPartnersTreeRow";
9
+ import { IRow, ITableData, ITableDataLoadRequest } from "@docsvision/web/components/table/interfaces";
10
+ import { IPartnersEmployeeResponseParser } from "@docsvision/webclient/BackOffice/IPartnersEmployeeResponseParser";
11
+ import { IButtonDescription } from "@docsvision/webclient/BackOffice/PartnersDirectoryTreeAddButton";
12
+ import { IFolderDataLoadingPlugin } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
13
+ import { LoadingStatus } from "@docsvision/webclient/System/LoadingState";
14
+ import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
15
+ import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
16
+ export declare const PARTNERS_ACTIVE_LEFT_TAB_ID_LOCAL_STORAGE_KEY = "PartnersDirectoryActiveTab";
17
+ export interface IPartnersDirectoryLogicOptions extends PartnersDirectoryParams {
18
+ showDeleteConfirmationDialog: (entityName: string, services: $MessageBox, isSection: boolean, dataType: GenModels.DirectoryDataType) => Promise<void>;
19
+ showSecurityDescriptorDialog: (props: ShowSecurityDescriptorDialogProps) => ModalHost;
20
+ showCreateSectionDialog: (addSection: (value?: string) => Promise<void>, loadCreateSectionLayout: any, services: any, rootSection?: any) => Promise<void>;
21
+ showEditSectionDialog: (editSection: (value?: string) => Promise<void>, loadEditSectionLayout: any, services: any, rootSection?: any) => Promise<void>;
22
+ showEditEmployeeDialog: (editEmployee: (value?: string) => Promise<void>, loadEditEmployeeLayout: any, services: any, EmployeeRow?: any) => Promise<void>;
23
+ showInsufficientAccessRightsMessage: (services: $MessageBox) => Promise<void>;
24
+ }
25
+ export type PartnersDirectorySearchResponseT = {
26
+ items: GenModels.SearchItemModel[];
27
+ hasMore: boolean;
28
+ totalCount: number;
29
+ directoryTimestamp?: number;
30
+ };
31
+ export declare class PartnersDirectoryLogic extends ComponentLogic<IPartnersDirectoryLogicOptions> {
32
+ protected domain:
33
+ import("effector").Domain;
34
+ $tree:
35
+ import("effector").StoreWritable<IPartnersTreeRow[]>;
36
+ $rootSectionId:
37
+ import("effector").StoreWritable<string>;
38
+ $selectedSection:
39
+ import("effector").StoreWritable<IPartnersTreeRow>;
40
+ $activeRightTab:
41
+ import("effector").StoreWritable<string>;
42
+ $activeLeftTab:
43
+ import("effector").StoreWritable<string>;
44
+ $showAll:
45
+ import("effector").StoreWritable<boolean>;
46
+ $showAddRowButtons:
47
+ import("effector").StoreWritable<boolean>;
48
+ showAddRowButtonsToggle:
49
+ import("effector").EventCallable<void>;
50
+ $addRowButtons:
51
+ import("effector").StoreWritable<IButtonDescription[]>;
52
+ $rootEmployeesLoading:
53
+ import("effector").StoreWritable<boolean>;
54
+ $placeholderEmployeesText:
55
+ import("effector").StoreWritable<string>;
56
+ $placeholderInfoText:
57
+ import("effector").StoreWritable<string>;
58
+ componentDidMount:
59
+ import("effector").EventCallable<void>;
60
+ activeRightTabChange:
61
+ import("effector").EventCallable<string>;
62
+ activeLeftTabChange:
63
+ import("effector").EventCallable<string>;
64
+ openLeftTab:
65
+ import("effector").EventCallable<{
66
+ tabId: string;
67
+ }>;
68
+ rootSectionChange:
69
+ import("effector").EventCallable<string>;
70
+ sectionSelected:
71
+ import("effector").EventCallable<IPartnersTreeRow>;
72
+ getPlaceholderEmployeesText:
73
+ import("effector").EventCallable<void>;
74
+ getPlaceholderInfoText:
75
+ import("effector").EventCallable<void>;
76
+ resetTree:
77
+ import("effector").EventCallable<void>;
78
+ showEmployeeInfoDialog:
79
+ import("effector").EventCallable<{
80
+ employeeId: string;
81
+ }>;
82
+ canShowEmployeeEditDialog:
83
+ import("effector").EventCallable<{
84
+ employeeId: string;
85
+ }>;
86
+ showEmployeeEditDialog:
87
+ import("effector").EventCallable<{
88
+ employeeId: string;
89
+ }>;
90
+ canShowEmployeeCreateDialog:
91
+ import("effector").EventCallable<{
92
+ parentSection: IPartnersTreeRow;
93
+ }>;
94
+ showEmployeeCreateDialog:
95
+ import("effector").EventCallable<{
96
+ parentSection: IPartnersTreeRow;
97
+ }>;
98
+ showAllToggle:
99
+ import("effector").EventCallable<boolean>;
100
+ clickAddRowOrganizationButton:
101
+ import("effector").EventCallable<void>;
102
+ clickAddRowDepartmentButton:
103
+ import("effector").EventCallable<void>;
104
+ showSectionInfoDialog:
105
+ import("effector").EventCallable<{
106
+ section: IPartnersTreeRow;
107
+ }>;
108
+ canShowSectionEditDialog:
109
+ import("effector").EventCallable<{
110
+ section: IPartnersTreeRow;
111
+ }>;
112
+ showSectionEditDialog:
113
+ import("effector").EventCallable<{
114
+ section: IPartnersTreeRow;
115
+ }>;
116
+ sectionEditDialogAccepted:
117
+ import("effector").EventCallable<{
118
+ section: IPartnersTreeRow;
119
+ }>;
120
+ canShowSectionCreateDialog:
121
+ import("effector").EventCallable<{
122
+ parentSection: IPartnersTreeRow;
123
+ type: GenModels.DirectoryDataType;
124
+ }>;
125
+ showSectionCreateDialog:
126
+ import("effector").EventCallable<{
127
+ parentSection: IPartnersTreeRow;
128
+ type: GenModels.DirectoryDataType;
129
+ }>;
130
+ showAddingToGroupDialog:
131
+ import("effector").EventCallable<{
132
+ partner: IPartnersTreeRow;
133
+ }>;
134
+ sectionCreateDialogAccepted:
135
+ import("effector").EventCallable<{
136
+ parentSection: IPartnersTreeRow;
137
+ }>;
138
+ showPartnersSecuritySettings:
139
+ import("effector").EventCallable<{
140
+ partnerSection?: IPartnersTreeRow;
141
+ isDirectory?: boolean;
142
+ descriptorTargetType?: number;
143
+ }>;
144
+ canDeletePartner:
145
+ import("effector").EventCallable<{
146
+ partnerSection?: IPartnersTreeRow;
147
+ }>;
148
+ deletePartner:
149
+ import("effector").EventCallable<{
150
+ partnerSection?: IPartnersTreeRow;
151
+ }>;
152
+ deletePartnerFx:
153
+ import("effector").Effect<{
154
+ partner?: IPartnersTreeRow;
155
+ }, void, Error>;
156
+ $deletingPartner:
157
+ import("effector").StoreWritable<IPartnersTreeRow[]>;
158
+ confirmDeleteFx:
159
+ import("effector").Effect<{
160
+ entityName: string;
161
+ isSection: boolean;
162
+ dataType: GenModels.DirectoryDataType;
163
+ }, void, Error>;
164
+ $loadingPartners:
165
+ import("effector").StoreWritable<IPartnersTreeRow[]>;
166
+ copyPartner:
167
+ import("effector").EventCallable<{
168
+ copyPartner: IPartnersTreeRow;
169
+ }>;
170
+ cancelCopied:
171
+ import("effector").EventCallable<void>;
172
+ $copiedPartnerTabId:
173
+ import("effector").StoreWritable<string>;
174
+ $copiedPartnerId:
175
+ import("effector").StoreWritable<string>;
176
+ $cutFlag:
177
+ import("effector").StoreWritable<boolean>;
178
+ $copyFlag:
179
+ import("effector").StoreWritable<boolean>;
180
+ $isEmployeeTabFlag:
181
+ import("effector").StoreWritable<boolean>;
182
+ $copiedDirectory:
183
+ import("effector").StoreWritable<string>;
184
+ $pasteVisibilityFlag:
185
+ import("effector").StoreWritable<boolean>;
186
+ cutPartner:
187
+ import("effector").EventCallable<{
188
+ cutPartner: IPartnersTreeRow;
189
+ }>;
190
+ cutPartnerItem:
191
+ import("effector").EventCallable<{
192
+ cutPartner: IPartnersTreeRow;
193
+ parentPartnerId?: string;
194
+ }>;
195
+ copyPartnerItem:
196
+ import("effector").EventCallable<{
197
+ copyPartner: IPartnersTreeRow;
198
+ }>;
199
+ removeFromGroup:
200
+ import("effector").EventCallable<{
201
+ partner: IPartnersTreeRow;
202
+ parentPartner: IPartnersTreeRow;
203
+ }>;
204
+ pastePartnersItem:
205
+ import("effector").Effect<{
206
+ parentPartnerId: string;
207
+ }, void, Error>;
208
+ loadEmployeeInfoLayoutFx:
209
+ import("effector").Effect<{
210
+ employeeId: string;
211
+ }, GenModels.LayoutViewModel, Error>;
212
+ loadEmployeeEditLayoutFx:
213
+ import("effector").Effect<{
214
+ employeeId: string;
215
+ }, GenModels.LayoutViewModel, Error>;
216
+ loadEmployeeCreateLayoutFx:
217
+ import("effector").Effect<{
218
+ parentSection: IPartnersTreeRow;
219
+ }, GenModels.LayoutViewModel, Error>;
220
+ loadRootSectionsFx:
221
+ import("effector").Effect<void, IPartnersTreeRow[], Error>;
222
+ loadSubsectionsFx:
223
+ import("effector").Effect<{
224
+ parentSectionId: string;
225
+ }, IDirectoryTreeRow<any>[], Error>;
226
+ loadMoreSubsectionsFx:
227
+ import("effector").Effect<{
228
+ parentSectionId: string;
229
+ }, IDirectoryTreeRow<any>[], Error>;
230
+ reloadSubsectionsFx:
231
+ import("effector").Effect<{
232
+ parentSectionId: string;
233
+ rootSectionId: string;
234
+ }, IDirectoryTreeRow<any>[], Error>;
235
+ loadSectionsFx:
236
+ import("effector").Effect<{
237
+ parentSectionId: string;
238
+ rootSectionId: string;
239
+ }, IDirectoryTreeRow<any>[], Error>;
240
+ loadSectionInfoLayoutFx:
241
+ import("effector").Effect<{
242
+ section: IPartnersTreeRow;
243
+ }, GenModels.LayoutViewModel, Error>;
244
+ loadSectionSummaryLayoutFx:
245
+ import("effector").Effect<{
246
+ section: IPartnersTreeRow;
247
+ }, GenModels.LayoutViewModel, Error>;
248
+ loadSectionEditLayoutFx:
249
+ import("effector").Effect<{
250
+ section: IPartnersTreeRow;
251
+ }, GenModels.LayoutViewModel, Error>;
252
+ loadSectionCreateLayoutFx:
253
+ import("effector").Effect<{
254
+ parentSection: IPartnersTreeRow;
255
+ type?: GenModels.DirectoryDataType;
256
+ }, GenModels.LayoutViewModel, Error>;
257
+ $employeesGridData:
258
+ import("effector").StoreWritable<ITableData>;
259
+ reloadEmployeesGridData:
260
+ import("effector").EventCallable<void>;
261
+ lastGridModel: GenModels.GridViewModel;
262
+ lastRequestSection: any;
263
+ loadEmployeesGridDataFx:
264
+ import("effector").Effect<{
265
+ currentData?: ITableData;
266
+ request?: ITableDataLoadRequest;
267
+ }, ITableData, Error>;
268
+ employeesGridResponseResolvers: IFolderDataLoadingPlugin[];
269
+ addToGroupFx:
270
+ import("effector").Effect<{
271
+ unitId: string;
272
+ groupIds: Array<string>;
273
+ }, Promise<void>, Error>;
274
+ removeFromGroupFx:
275
+ import("effector").Effect<{
276
+ groupId: string;
277
+ partnerId: string;
278
+ }, Promise<void>, Error>;
279
+ setPartnerGroupsFx:
280
+ import("effector").Effect<{
281
+ unitId: string;
282
+ groupIds: Array<string>;
283
+ }, GenModels.SetUnitGroupsResult, Error>;
284
+ canDeleteEmployee:
285
+ import("effector").EventCallable<{
286
+ employee: IRow;
287
+ }>;
288
+ deleteEmployee:
289
+ import("effector").EventCallable<{
290
+ employee: IRow;
291
+ }>;
292
+ deleteEmployeeFx:
293
+ import("effector").Effect<{
294
+ employee: IRow;
295
+ }, void, Error>;
296
+ $deletingEmployees:
297
+ import("effector").StoreWritable<IRow[]>;
298
+ $loadingEmployees:
299
+ import("effector").StoreWritable<IRow[]>;
300
+ contextMenu:
301
+ import("effector").EventCallable<
302
+ import("react").MouseEvent<Element, MouseEvent>>;
303
+ contextMenuFx:
304
+ import("effector").Effect<
305
+ import("react").MouseEvent<Element, MouseEvent>, void, Error>;
306
+ $contextMenuName:
307
+ import("effector").StoreWritable<string>;
308
+ $searchResult:
309
+ import("effector").StoreWritable<
310
+ import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffResponse>;
311
+ $searchLoading:
312
+ import("effector").StoreWritable<LoadingStatus>;
313
+ startSearch:
314
+ import("effector").EventCallable<{
315
+ searchFilterKey: SearchFilters;
316
+ searchText: string;
317
+ }>;
318
+ startSearchFx:
319
+ import("effector").Effect<{
320
+ searchFilterKey: SearchFilters;
321
+ searchText: string;
322
+ },
323
+ import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffResponse, Error>;
324
+ loadPartnersDirectoryResultFx:
325
+ import("effector").Effect<void,
326
+ import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffResponse, Error>;
327
+ $selectedSearchItem:
328
+ import("effector").StoreWritable<GenModels.SearchItemModel>;
329
+ $selectLast:
330
+ import("effector").StoreWritable<boolean>;
331
+ selectLastReset:
332
+ import("effector").EventCallable<void>;
333
+ searchItemSelect:
334
+ import("effector").EventCallable<GenModels.SearchItemModel>;
335
+ createTreeFromSearchItemFx:
336
+ import("effector").Effect<GenModels.SearchItemModel, IPartnersTreeRow[], Error>;
337
+ $searchResultsExpanded:
338
+ import("effector").StoreWritable<boolean>;
339
+ onSearchResultsExpanded:
340
+ import("effector").EventCallable<boolean>;
341
+ clearSearch:
342
+ import("effector").EventCallable<void>;
343
+ $searchItemEmployeeId:
344
+ import("effector").StoreWritable<string>;
345
+ $shouldUpdateSelectedSearchItem:
346
+ import("effector").StoreWritable<boolean>;
347
+ responseParser: IPartnersEmployeeResponseParser;
348
+ initActiveTab(): void;
349
+ initSelection(): void;
350
+ initTreeLoading(options: PartnersDirectoryParams): void;
351
+ initEmployeesLoad(): void;
352
+ initShowAllToggler(): void;
353
+ initAddRowButtons(): void;
354
+ initPartnerContextMenu(options: IPartnersDirectoryLogicOptions): void;
355
+ initEmployeesContextMenu(options: IPartnersDirectoryLogicOptions): void;
356
+ initSectionModals(options: IPartnersDirectoryLogicOptions): void;
357
+ initEmployeeModals(): void;
358
+ initEmployeesGrid(): void;
359
+ initContextMenu(): void;
360
+ initSearch(): void;
361
+ getSearchItemPath(item: GenModels.SearchItemModel): GenModels.SearchItemModel[];
362
+ getTargetId(parentId: string): string;
363
+ getPartnersPasteMenuItemVisible(rowId: string): boolean;
364
+ isPartnersCutButtonVisible(): boolean;
365
+ init(options: IPartnersDirectoryLogicOptions): void;
366
+ }
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { ITablePlugins, TablePlugins } from "@docsvision/web/components/table/interfaces";
3
+ import { IDirectoryValuesIconProps } from "@docsvision/webclient/BackOffice/DirectoryValuesIcon";
4
+
5
+ export declare const PARTNERS_DIRECTORY_REMOVE_FROM_GROUP_COLUMN_ID = "_Employees_Remove_From_Group";
6
+ export declare const PartnersDirectoryRemoveFromGroupIconFeature = "PartnersDirectoryRemoveFromGroupIconFeature";
7
+ export declare const PartnersDirectoryRemoveFromGroupIconGridPlugin: (options: {
8
+ component: React.ComponentType<IDirectoryValuesIconProps>;
9
+ onIconClick: (args?: any) => void;
10
+ }) => TablePlugins.Cell.Component<any>;
11
+ export declare const PartnersDirectoryIconColumnGridPlugin: TablePlugins.HeaderCell.Decorator;
12
+ export declare function PartnersDirectoryRemoveFromGroupIconGridPlugins(options: {
13
+ component: React.ComponentType<IDirectoryValuesIconProps>;
14
+ onIconClick: (args?: any) => void;
15
+ }): ITablePlugins;
@@ -0,0 +1,15 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export declare const PARTNERS_DIRECTORY_ORGANIZATION_TREE_ROOT_ID = "c78abded-db1c-4217-ae0d-51a400546923";
3
+ export declare const PARTNERS_DIRECTORY_GROUP_TREE_ROOT_ID = "78875629-78d3-4ccc-90d9-127b438c5522";
4
+ export declare const PARTNERS_DIRECTORY_POSITION_TREE_ROOT_ID = "bdafe82a-04fa-4391-98b7-5df6502e03dd";
5
+ export declare const PARTNERS_DIRECTORY_TREE_ROOT_TYPES: {
6
+ "c78abded-db1c-4217-ae0d-51a400546923": number;
7
+ "78875629-78d3-4ccc-90d9-127b438c5522": number;
8
+ "bdafe82a-04fa-4391-98b7-5df6502e03dd": GenModels.DirectoryDataType;
9
+ };
10
+ export declare const PARTNERS_DIRECTORY_TREE_ROOT_WRAP_NAMES: {
11
+ "c78abded-db1c-4217-ae0d-51a400546923": string;
12
+ "78875629-78d3-4ccc-90d9-127b438c5522": string;
13
+ "bdafe82a-04fa-4391-98b7-5df6502e03dd": string;
14
+ };
15
+ export declare const PARTNERS_DIRECTORY_SECTION_ROOT_IDS: string[];
@@ -0,0 +1,5 @@
1
+ export declare enum PartnersDirectorySearchFilters {
2
+ Organization = "0",
3
+ Employee = "1",
4
+ Group = "2"
5
+ }
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { IResourcesMap } from "@docsvision/webclient/System/IResourcesMap";
4
+
5
+ interface IPartnersDirectorySelectedButtonsProps {
6
+ selectedGroups: GenModels.PartnersDataModel[];
7
+ resources: IResourcesMap;
8
+ onGroupSelectRemove: (id: string) => void;
9
+ }
10
+ export declare function PartnersDirectorySelectedButtons(props: IPartnersDirectorySelectedButtonsProps): React.JSX.Element;
11
+ export {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { HtmlProps } from '@docsvision/web/core/component';
3
+
4
+ export interface IButtonDescription {
5
+ displayName: string;
6
+ className?: string;
7
+ visible: boolean;
8
+ onClick: () => void;
9
+ disabled?: boolean;
10
+ name?: string;
11
+ }
12
+ export interface IPartnersDirectoryTreeAddButtonProps extends HtmlProps.div {
13
+ buttons: IButtonDescription[];
14
+ onAddButtonClick: () => void;
15
+ displayName?: string;
16
+ }
17
+ export declare function PartnersDirectoryTreeAddButton(props: IPartnersDirectoryTreeAddButtonProps): React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { IPartnersDirectoryTreeNodeData } from "@docsvision/webclient/BackOffice/IPartnersDirectoryTreeNodeData";
2
+ import { TreeNode } from "@docsvision/webclient/Helpers/Tree/Data/ClientModels/TreeNode";
3
+ import { LoadingState } from "@docsvision/webclient/System/LoadingState";
4
+ /** @internal */
5
+ export declare class PartnersDirectoryTreeNode extends TreeNode {
6
+ loading: LoadingState;
7
+ selected: boolean;
8
+ constructor(data: IPartnersDirectoryTreeNodeData, level: number, parent: TreeNode, isSelected: boolean, children?: TreeNode[]);
9
+ get iconClass(): string;
10
+ get nodeClass(): string;
11
+ set selectedState(isSelected: boolean);
12
+ get dynamicChildren(): PartnersDirectoryTreeNode[];
13
+ get childrenLoaded(): boolean;
14
+ set childrenLoaded(loaded: boolean);
15
+ }
@@ -0,0 +1,3 @@
1
+ import { IPartnersDirectoryTreeNodeData } from "@docsvision/webclient/BackOffice/IPartnersDirectoryTreeNodeData";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ export declare function partnersDirectoryTreeNodeDataResolver(item: GenModels.PartnersDirectoryItem): IPartnersDirectoryTreeNodeData;
@@ -0,0 +1,103 @@
1
+ import { DirectoryFrame } from "@docsvision/webclient/BackOffice/DirectoryFrame";
2
+ import { DirectoryTabInfo } from "@docsvision/webclient/BackOffice/DirectoryTabInfo";
3
+ import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
4
+ import { DirectoryValuesIcon } from "@docsvision/webclient/BackOffice/DirectoryValuesIcon";
5
+ import { PartnersDirectoryEmployeesTabFrame } from "@docsvision/webclient/BackOffice/PartnersDirectoryEmployeesTabFrame";
6
+ import { PartnersDirectoryHead } from "@docsvision/webclient/BackOffice/PartnersDirectoryHead";
7
+ import { PartnersDirectoryInfo } from "@docsvision/webclient/BackOffice/PartnersDirectoryInfo";
8
+ import { PartnersDirectoryTreeAddButton } from "@docsvision/webclient/BackOffice/PartnersDirectoryTreeAddButton";
9
+ import { showSecurityDescriptorDialog } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
10
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
11
+ import { SliderCheckBox } from "@docsvision/webclient/Helpers/SliderCheckBox/SliderCheckBox";
12
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
13
+ import { PartnersDirectoryAddToGroupModal } from "@docsvision/webclient/BackOffice/PartnersDirectoryAddToGroupModal";
14
+ export declare const ORGANIZATION_TAB_ID = "organization";
15
+ export declare const GROUP_TAB_ID = "group";
16
+ export declare const INFO_TAB_ID = "info";
17
+ export declare const EMPLOYEES_TAB_ID = "employee";
18
+ export declare const EMPLOYEES_ICON_CLASSES = "dv-ico dv-ico-partners-user";
19
+ export declare const EMPLOYEES_REMOVE_FROM_GROUP_ICON_CLASSES = "dv-ico dv-ico-close-circle";
20
+ export declare const CREATE_SECTION_HEADERS: {
21
+ 32: string;
22
+ 16: string;
23
+ 2: string;
24
+ };
25
+ export declare const CREATE_ROOT_SECTION_HEADERS: {
26
+ [x: number]: string;
27
+ 2: string;
28
+ };
29
+ export declare class PartnersDirectoryView {
30
+ leftTabs: DirectoryTabInfo[];
31
+ rightTabs: DirectoryTabInfo[];
32
+ frame: typeof DirectoryFrame;
33
+ head: typeof PartnersDirectoryHead;
34
+ tabs: (props:
35
+ import("@docsvision/webclient/DirectoryEdit/DirectoryTabs").DirectoryTabsProps) =>
36
+ import("react").JSX.Element;
37
+ tree: (props:
38
+ import("@docsvision/webclient/DirectoryEdit/DirectoryTree").DirectoryTreeProps) =>
39
+ import("react").JSX.Element;
40
+ employees: (props:
41
+ import("@docsvision/webclient/DirectoryEdit/DirectoryValues").DirectoryValuesProps) =>
42
+ import("react").JSX.Element;
43
+ entryModal: (props:
44
+ import("@docsvision/webclient/DirectoryEdit/DirectoryEntryModal").IDirectoryEntryModalProps<any, any>) =>
45
+ import("react").JSX.Element;
46
+ sectionInfo: typeof PartnersDirectoryInfo;
47
+ showAllButton: typeof SliderCheckBox;
48
+ employeesTabFrame: typeof PartnersDirectoryEmployeesTabFrame;
49
+ removeIcon: typeof DirectoryValuesIcon;
50
+ treeAddButton: typeof PartnersDirectoryTreeAddButton;
51
+ addingToGroupModal: typeof PartnersDirectoryAddToGroupModal;
52
+ partnersContextMenuItemNames: {
53
+ createSection: string;
54
+ accessRights: string;
55
+ info: string;
56
+ edit: string;
57
+ create: string;
58
+ createOrganization: string;
59
+ createDepartment: string;
60
+ createEmployee: string;
61
+ createGroup: string;
62
+ createPosition: string;
63
+ delete: string;
64
+ addToGroup: string;
65
+ removeFromGroup: string;
66
+ copySection: string;
67
+ cutSection: string;
68
+ pasteSection: string;
69
+ cancel: string;
70
+ };
71
+ employeesContextMenuItemNames: {
72
+ info: string;
73
+ edit: string;
74
+ delete: string;
75
+ };
76
+ getConfirmationDialogText: (entityName: string, isSection: boolean, dataType: GenModels.DirectoryDataType) => any;
77
+ showDeleteConfirmationDialog: (entityName: string, services: $MessageBox, isSection: boolean, dataType: GenModels.DirectoryDataType) => Promise<void>;
78
+ showSecurityDescriptorDialog: typeof showSecurityDescriptorDialog;
79
+ getSectionInfoDialogHeader: (params: {
80
+ section: IDirectoryTreeRow;
81
+ }) => string;
82
+ getSectionEditDialogHeader: (params: {
83
+ section: IDirectoryTreeRow;
84
+ }) => string;
85
+ getSectionCreateDialogHeader: (params: {
86
+ parentSection: IDirectoryTreeRow;
87
+ type: GenModels.DirectoryDataType;
88
+ }) => string;
89
+ getEmployeeInfoDialogHeader: (params: {
90
+ employeeId: string;
91
+ }) => string;
92
+ getEmployeeEditDialogHeader: (params: {
93
+ employeeId: string;
94
+ }) => string;
95
+ getEmployeeCreateDialogHeader: (params: {
96
+ parentSection: IDirectoryTreeRow;
97
+ }) => string;
98
+ showInsufficientAccessRightsMessage: (services: $MessageBox) => Promise<void>;
99
+ searchResult: (props:
100
+ import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").IDirectorySearchResultProps) =>
101
+ import("react").JSX.Element;
102
+ getSearchInfoIconClass: (item: GenModels.SearchItemModel) => any;
103
+ }
@@ -0,0 +1,5 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { IRow } from "@docsvision/web/components/table/interfaces";
3
+ import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
4
+ export declare const EMPLOYEE_ROW_MODEL_PLUGIN_ID = "EmployeeRowModel";
5
+ export declare function getPartnersEmployeeRowModel(row: IRow): ISimplePluginData<GenModels.EmployeeDataModel>;