@docsvision/webclient 5.17.0-beta.1 → 5.17.0-beta.10

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 (304) hide show
  1. package/Approval/AgreementList.d.ts +2 -2
  2. package/Approval/AgreementListContent.d.ts +1 -0
  3. package/Approval/IAgreementListContentProps.d.ts +2 -0
  4. package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +8 -3
  5. package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +4 -1
  6. package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
  7. package/BackOffice/BatchDelegateOperation.d.ts +2 -1
  8. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  9. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  10. package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
  11. package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
  12. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  13. package/BackOffice/DirectoryEntryModal.d.ts +3 -0
  14. package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
  15. package/BackOffice/DirectoryFrame.d.ts +2 -0
  16. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  17. package/BackOffice/DirectorySearchResult.d.ts +2 -0
  18. package/BackOffice/DirectorySearchResultLogic.d.ts +1 -0
  19. package/BackOffice/DirectorySearchResultView.d.ts +3 -2
  20. package/BackOffice/DirectoryTabs.d.ts +3 -0
  21. package/BackOffice/DirectoryTree.d.ts +3 -0
  22. package/BackOffice/DirectoryTreeLogic.d.ts +1 -0
  23. package/BackOffice/DirectoryValues.d.ts +7 -5
  24. package/BackOffice/DirectoryValuesLogic.d.ts +1 -0
  25. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  26. package/BackOffice/FileListControl.d.ts +5 -0
  27. package/BackOffice/FileListControlImpl.d.ts +10 -0
  28. package/BackOffice/FileListControlLogic.d.ts +1 -0
  29. package/BackOffice/FileListItemComponent.d.ts +5 -2
  30. package/BackOffice/FileSignCreateDialog.d.ts +1 -2
  31. package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
  32. package/BackOffice/FindStaffSection.d.ts +4 -1
  33. package/BackOffice/GetEmployeeGroups.d.ts +1 -0
  34. package/BackOffice/IFileMenuItem.d.ts +14 -0
  35. package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
  36. package/BackOffice/Index.d.ts +10 -1
  37. package/BackOffice/LinksImpl.d.ts +1 -0
  38. package/BackOffice/LoadEmployees.d.ts +2 -5
  39. package/BackOffice/NumeratorImpl.d.ts +2 -1
  40. package/BackOffice/PartnerBase.d.ts +2 -2
  41. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  42. package/BackOffice/PrintButtonView.d.ts +1 -1
  43. package/BackOffice/SearchBar.d.ts +10 -4
  44. package/BackOffice/SearchEmployees.d.ts +2 -1
  45. package/BackOffice/StaffDirectory.d.ts +2 -1
  46. package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
  47. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  48. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  49. package/BackOffice/StaffDirectoryLogic.d.ts +28 -23
  50. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
  51. package/BackOffice/TasksTable.d.ts +2 -1
  52. package/BackOffice/TasksTableLogic.d.ts +2 -0
  53. package/BackOffice/TasksTableView.d.ts +3 -3
  54. package/BackOffice/TasksTree.d.ts +2 -1
  55. package/BackOffice/TimeOfPerformanceImpl.d.ts +0 -9
  56. package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
  57. package/BackOffice/UserProfile.d.ts +8 -5
  58. package/BackOffice/UserStatus.d.ts +5 -0
  59. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +13 -2
  60. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +12 -3
  61. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
  62. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  63. package/Generated/DocsVision.WebClient.Controllers.d.ts +93 -0
  64. package/Generated/DocsVision.WebClient.Models.d.ts +1327 -39
  65. package/Helpers/ComboBox/ComboBoxTitle.d.ts +4 -0
  66. package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
  67. package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
  68. package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
  69. package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
  70. package/Helpers/MainMenu/ItemText.d.ts +2 -0
  71. package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
  72. package/Helpers/Sortable/Sortable.d.ts +1 -1
  73. package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
  74. package/Helpers/Table/TableHelperRow.d.ts +1 -0
  75. package/Helpers/Tree/ITreeBaseProps.d.ts +9 -0
  76. package/Legacy/ApprovalFilePanel.d.ts +1 -0
  77. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  78. package/Legacy/GridOptions.d.ts +1 -0
  79. package/Legacy/ModalWindow.d.ts +1 -1
  80. package/Legacy/NavBarRouteHandler.d.ts +1 -1
  81. package/Legacy/SearchDropdown.d.ts +3 -1
  82. package/Legacy/Sidebar.d.ts +1 -0
  83. package/Legacy/StandardControllers.d.ts +2 -2
  84. package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
  85. package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
  86. package/Legacy/Utils.d.ts +3 -7
  87. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +17 -0
  88. package/MainBundle.d.ts +1 -0
  89. package/Platform/$BatchOperations.d.ts +3 -0
  90. package/Platform/$CacheManagement.d.ts +3 -1
  91. package/Platform/$ContextMenuOptions.d.ts +86 -6
  92. package/Platform/$CurrentFolder.d.ts +2 -0
  93. package/Platform/$FolderDataLoading.d.ts +12 -2
  94. package/Platform/$FolderGrid.d.ts +24 -0
  95. package/Platform/$GridOptions.d.ts +1 -0
  96. package/Platform/$HoverPanel.d.ts +8 -0
  97. package/Platform/$SaveColumns.d.ts +7 -0
  98. package/Platform/$TablePresentationToggle.d.ts +8 -0
  99. package/Platform/$UnreadCounter.d.ts +1 -1
  100. package/Platform/$WebFrameSearchPanel.d.ts +30 -0
  101. package/Platform/ArchivedCardsIcon.d.ts +5 -0
  102. package/Platform/ArchivedCardsPlugin.d.ts +3 -0
  103. package/Platform/ArchivedCardsResponseResolver.d.ts +22 -0
  104. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  105. package/Platform/BatchOperationsPlugin.d.ts +4 -0
  106. package/Platform/ButtonPositionsSelectionRadioButton.d.ts +9 -0
  107. package/Platform/CacheManagementService.d.ts +5 -0
  108. package/Platform/CalendarIcon.d.ts +2 -0
  109. package/Platform/CalendarInput.d.ts +8 -0
  110. package/Platform/CardManagement.d.ts +2 -2
  111. package/Platform/CardManagementImpl.d.ts +1 -0
  112. package/Platform/ClearButton.d.ts +8 -0
  113. package/Platform/CommentFile.d.ts +4 -1
  114. package/Platform/ContextMenu.d.ts +12 -5
  115. package/Platform/ContextMenuCustomPlugins.d.ts +4 -2
  116. package/Platform/ContextMenuOptionsService.d.ts +43 -12
  117. package/Platform/ContextMenuUtils.d.ts +5 -0
  118. package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
  119. package/Platform/DateFormatParsingResponseResolver.d.ts +1 -1
  120. package/Platform/DateInput.d.ts +6 -0
  121. package/Platform/DefaultFolderDataLoader.d.ts +1 -1
  122. package/Platform/DefaultFolderResponseResolver.d.ts +1 -1
  123. package/Platform/DefaultFolderTablePluginFactory.d.ts +3 -1
  124. package/Platform/Dropdown.d.ts +7 -0
  125. package/Platform/Dropdown.stories.d.ts +12 -0
  126. package/Platform/DropdownImpl.d.ts +1 -0
  127. package/Platform/ExportPlugin.d.ts +6 -0
  128. package/Platform/FilePicker.d.ts +5 -2
  129. package/Platform/FilterDate.d.ts +11 -0
  130. package/Platform/FilterDateRangePicker.d.ts +6 -0
  131. package/Platform/FilterDateTextListInput.d.ts +5 -0
  132. package/Platform/FilterPlugin.d.ts +3 -0
  133. package/Platform/FilteringExtendedData.d.ts +4 -0
  134. package/Platform/FilteringRequestResolver.d.ts +11 -0
  135. package/Platform/FilteringResponseResolver.d.ts +10 -0
  136. package/Platform/FocusableTextInput.d.ts +6 -0
  137. package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
  138. package/Platform/FolderCountersRouteHandler.d.ts +1 -1
  139. package/Platform/FolderDashboardWidgetImpl.d.ts +1 -0
  140. package/Platform/FolderDataContext.d.ts +2 -1
  141. package/Platform/FolderDataContextImpl.d.ts +7 -2
  142. package/Platform/FolderDataLoadingService.d.ts +31 -15
  143. package/Platform/FolderGrid.d.ts +25 -4
  144. package/Platform/FolderGrid.stories.d.ts +4 -0
  145. package/Platform/FolderGridBatchOperationsNode.d.ts +32 -0
  146. package/Platform/FolderGridBatchOperationsNodeImpl.d.ts +14 -0
  147. package/Platform/FolderGridConstants.d.ts +7 -0
  148. package/Platform/FolderGridImpl.d.ts +9 -1
  149. package/Platform/FolderGridService.d.ts +42 -2
  150. package/Platform/FolderGridServiceUtils.d.ts +1 -0
  151. package/Platform/FolderGroupDashboardWidgetImpl.d.ts +1 -0
  152. package/Platform/FolderMainMenuItem.d.ts +1 -1
  153. package/Platform/FolderName.d.ts +4 -0
  154. package/Platform/FolderNameImpl.d.ts +0 -2
  155. package/Platform/FolderPluginProvider.d.ts +5 -2
  156. package/Platform/FolderSizePlugin.d.ts +10 -0
  157. package/Platform/FolderSizePluginExtendedData.d.ts +9 -0
  158. package/Platform/FolderSizeResponseResolver.d.ts +10 -0
  159. package/Platform/FolderTypeDialog.d.ts +1 -0
  160. package/Platform/FolderViewItemsImpl.d.ts +4 -4
  161. package/Platform/FolderWebFrameRouteHandler.d.ts +18 -0
  162. package/Platform/FormatNumberToCultureString.d.ts +8 -0
  163. package/Platform/GridOperationsService.d.ts +3 -0
  164. package/Platform/GridRowModel.d.ts +2 -2
  165. package/Platform/GropingPlugin.d.ts +3 -0
  166. package/Platform/GroupingRequestResolver.d.ts +12 -0
  167. package/Platform/GroupingResponseResolver.d.ts +17 -0
  168. package/Platform/HoverPanelService.d.ts +5 -0
  169. package/Platform/ICommonFolderInfo.d.ts +1 -0
  170. package/Platform/IFilterComponent.d.ts +29 -0
  171. package/Platform/IFolderDataLoader.d.ts +1 -1
  172. package/Platform/IFolderDataLoadingPlugin.d.ts +2 -2
  173. package/Platform/IFolderLoadRequest.d.ts +5 -0
  174. package/Platform/IFolderPluginFactory.d.ts +2 -0
  175. package/Platform/ITableRowColorPlugin.d.ts +7 -0
  176. package/Platform/InputWithMask.d.ts +16 -0
  177. package/Platform/ListCheckbox.d.ts +6 -0
  178. package/Platform/ListContent.d.ts +8 -0
  179. package/Platform/ListContentHightlight.d.ts +9 -0
  180. package/Platform/ListEmpty.d.ts +6 -0
  181. package/Platform/ListEmptySearchIcon.d.ts +6 -0
  182. package/Platform/ListInput.d.ts +9 -0
  183. package/Platform/ListItem.d.ts +6 -0
  184. package/Platform/ListLoading.d.ts +6 -0
  185. package/Platform/ListSearchIcon.d.ts +6 -0
  186. package/Platform/ListSlot.d.ts +7 -0
  187. package/Platform/ListTotalItem.d.ts +8 -0
  188. package/Platform/ListViewResponseResolver.d.ts +13 -0
  189. package/Platform/LoadExistingFolderDataLoader.d.ts +2 -2
  190. package/Platform/LoaderDialog.d.ts +1 -1
  191. package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
  192. package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
  193. package/Platform/PageSizeFolderDataLoadingPlugin.d.ts +1 -1
  194. package/Platform/Panel.d.ts +2 -0
  195. package/Platform/PanelImpl.d.ts +1 -1
  196. package/Platform/ReadAllPlugin.d.ts +11 -0
  197. package/Platform/ReadAllPluginExtendedData.d.ts +9 -0
  198. package/Platform/ReadAllResponseResolver.d.ts +10 -0
  199. package/Platform/ReadBatchOperation.d.ts +30 -0
  200. package/Platform/ReadBatchOperationImpl.d.ts +20 -0
  201. package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
  202. package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
  203. package/Platform/RecentCardsRouteHandler.d.ts +2 -1
  204. package/Platform/RefreshPlugin.d.ts +6 -0
  205. package/Platform/ResetSettingsPlugin.d.ts +12 -0
  206. package/Platform/SaveColumnsResponseResolver.d.ts +10 -0
  207. package/Platform/SaveColumnsService.d.ts +8 -0
  208. package/Platform/SaveColumnsServiceProvider.d.ts +6 -0
  209. package/Platform/SearchInfoExtendedData.d.ts +4 -0
  210. package/Platform/SearchParametersFolderExtendedData.d.ts +4 -0
  211. package/Platform/SearchParametersFolderRequestResolver.d.ts +11 -0
  212. package/Platform/SearchParametersFolderResponseResolver.d.ts +12 -0
  213. package/Platform/SearchPlugin.d.ts +3 -0
  214. package/Platform/SearchRequestResolver.d.ts +12 -0
  215. package/Platform/SearchResponseResolver.d.ts +11 -0
  216. package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
  217. package/Platform/SearchResultsFolderDataLoadingPluginFactory.d.ts +9 -0
  218. package/Platform/SearchResultsFolderTablePluginFactory.d.ts +16 -0
  219. package/Platform/SearchResultsRequestResolver.d.ts +14 -0
  220. package/Platform/SearchResultsResponseResolver.d.ts +12 -0
  221. package/Platform/SearchRouteHandler.d.ts +2 -1
  222. package/Platform/SearchTextInput.d.ts +6 -0
  223. package/Platform/SearchingResultsImpl.d.ts +1 -1
  224. package/Platform/SecurityDescriptorDialog.d.ts +1 -1
  225. package/Platform/Settings.d.ts +3 -0
  226. package/Platform/SettingsPlugin.d.ts +15 -0
  227. package/Platform/SettingsPopup.d.ts +15 -0
  228. package/Platform/SettingsPopup.stories.d.ts +1 -0
  229. package/Platform/SettingsPopupCheckBoxContainer.d.ts +6 -0
  230. package/Platform/SettingsPopupColumn.d.ts +5 -0
  231. package/Platform/SettingsPopupExtendedData.d.ts +9 -0
  232. package/Platform/SettingsPopupItemView.d.ts +7 -0
  233. package/Platform/SettingsPopupLogic.d.ts +53 -0
  234. package/Platform/SettingsPopupRequestResolver.d.ts +11 -0
  235. package/Platform/SettingsPopupResponseResolver.d.ts +11 -0
  236. package/Platform/SettingsPopupRow.d.ts +5 -0
  237. package/Platform/SettingsPopupView.d.ts +23 -0
  238. package/Platform/ShowAllButton.d.ts +14 -0
  239. package/Platform/ShowAllPlugins.d.ts +3 -0
  240. package/Platform/SortingResponseResolver.d.ts +2 -1
  241. package/Platform/Table.d.ts +2 -3
  242. package/Platform/TableBackgroundOpacityPlugin.d.ts +4 -0
  243. package/Platform/TableCellNumberFormattedPlugin.d.ts +7 -0
  244. package/Platform/TableCellNumberRightAlignPlugin.d.ts +4 -0
  245. package/Platform/TableCellOpacityPlugin.d.ts +3 -0
  246. package/Platform/TableImpl.d.ts +2 -2
  247. package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
  248. package/Platform/TablePresentationToggleService.d.ts +8 -0
  249. package/Platform/TableRowColorPlugin.d.ts +4 -0
  250. package/Platform/TableRowColorResponseResolver.d.ts +10 -0
  251. package/Platform/TableRowSelectionService.d.ts +22 -0
  252. package/Platform/TableRowSelectionServiceProvider.d.ts +9 -0
  253. package/Platform/TableSelectionRowModel.d.ts +13 -0
  254. package/Platform/TestUtils.d.ts +16 -0
  255. package/Platform/TextListInput.d.ts +6 -0
  256. package/Platform/TextListInputLogic.d.ts +55 -0
  257. package/Platform/TextListInputView.d.ts +40 -0
  258. package/Platform/TextListInputWrapper.d.ts +7 -0
  259. package/Platform/Toolbar.stories.d.ts +12 -0
  260. package/Platform/UnreadBarTablePlugins.d.ts +3 -0
  261. package/Platform/UnreadResponseResolver.d.ts +2 -1
  262. package/Platform/UserCulture.d.ts +2 -0
  263. package/Platform/UserProfileDialog.d.ts +1 -1
  264. package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
  265. package/Platform/WebFrameSearchPanel.d.ts +7 -1
  266. package/Platform/WebFrameSearchPanelService.d.ts +24 -0
  267. package/Platform/XIcon.d.ts +2 -0
  268. package/Platform/applyCurrentSettings.d.ts +8 -0
  269. package/Platform/canUseCssVariables.d.ts +1 -0
  270. package/Platform/formatNumberToCulture.d.ts +8 -0
  271. package/Platform/getArrayWidth.d.ts +2 -0
  272. package/Platform/index.d.ts +13 -0
  273. package/Platform/setColumnsSettings.d.ts +6 -0
  274. package/Platform/updateColumnsVisible.d.ts +2 -0
  275. package/Platform/updateValueCheckedColumn.d.ts +6 -0
  276. package/Platform/utils.d.ts +3 -0
  277. package/StandardServices.d.ts +6 -2
  278. package/System/$LastSearchResponse.d.ts +14 -0
  279. package/System/$Layout.d.ts +2 -1
  280. package/System/BaseControl.d.ts +8 -0
  281. package/System/CancelableEvent.d.ts +1 -1
  282. package/System/ControlTemplateView.d.ts +1 -1
  283. package/System/DateTimeUtils.d.ts +2 -0
  284. package/System/DirectoryBaseImpl.d.ts +4 -3
  285. package/System/DirectorySelectDialog.d.ts +2 -2
  286. package/System/HandleTabSelection.d.ts +34 -0
  287. package/System/IRouteInfo.d.ts +2 -0
  288. package/System/IValidateEventArgs.d.ts +9 -0
  289. package/System/IValidationResult.d.ts +4 -0
  290. package/System/LastSearchResponseService.d.ts +20 -0
  291. package/System/Layout.d.ts +3 -3
  292. package/System/LayoutCardControllerStub.d.ts +2 -0
  293. package/System/LayoutContainer.d.ts +1 -1
  294. package/System/LocationContainerControl.d.ts +2 -1
  295. package/System/MessageBoxService.d.ts +1 -1
  296. package/System/PageLeaveConfirmation.d.ts +1 -0
  297. package/System/ResourcesStub.d.ts +603 -68
  298. package/System/summernote-paste-without-formating.d.ts +10 -0
  299. package/package.json +1 -1
  300. package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
  301. package/Legacy/AgreementSidebar.d.ts +0 -38
  302. package/Legacy/LegacyModels.d.ts +0 -178
  303. package/Legacy/SearchPanelRouteHandler.d.ts +0 -16
  304. package/Platform/GridConstants.d.ts +0 -4
@@ -1,6 +1,9 @@
1
1
  import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
2
- export declare function findStaffSection(staffId: string, tree: IDirectoryTreeRow[]): {
2
+ export declare type FindStaffSectionResult = {
3
3
  row: IDirectoryTreeRow;
4
4
  parentRow: IDirectoryTreeRow;
5
5
  index: number;
6
+ path: IDirectoryTreeRow[];
6
7
  };
8
+ export declare function findStaffSection(staffId: string, tree: IDirectoryTreeRow[]): FindStaffSectionResult;
9
+ export declare function findStaffSectionImpl(staffId: string, tree: IDirectoryTreeRow[], path: IDirectoryTreeRow[]): FindStaffSectionResult;
@@ -4,5 +4,6 @@ import { ICancelableEventArgs } from "@docsvision/webclient/System/ICancelableEv
4
4
  import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
5
5
  export declare const EMPLOYEE_GROUPS_CONTROL_NAME = "group";
6
6
  export declare const TAB_CONTROL_NAME = "tab";
7
+ export declare const ADD_TAB_PAGE_CONTROL_NAME = "addTabPage";
7
8
  export declare function setEmployeeGroup(sender: LayoutControl, e: ICancelableEventArgs<ICardSavingEventArgs>): Promise<void>;
8
9
  export declare function getEmployeeGroup(sender: LayoutControl, e: IEventArgs): Promise<void>;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ export interface IFileMenuItem {
3
+ onClick: (e?: any) => void;
4
+ title: string;
5
+ name: string;
6
+ displayName: string;
7
+ visible: boolean;
8
+ className?: string;
9
+ ref?: React.Ref<HTMLSpanElement>;
10
+ children?: any;
11
+ attributes?: {
12
+ [key: string]: string;
13
+ };
14
+ }
@@ -0,0 +1,6 @@
1
+ import { IFileListItem } from "@docsvision/webclient/BackOffice/IFileListItem";
2
+ import { IFileMenuItem } from "@docsvision/webclient/BackOffice/IFileMenuItem";
3
+ export interface IFileMenuOpeningArgs {
4
+ fileItem: IFileListItem;
5
+ fileMenuItems: IFileMenuItem[];
6
+ }
@@ -1 +1,10 @@
1
- export {};
1
+ export declare enum DirectorySearchFilters {
2
+ Organization = "0",
3
+ Employee = "1",
4
+ Group = "2",
5
+ JobTitle = "3"
6
+ }
7
+ export declare enum NomenclatureSearchFilters {
8
+ Case = "0",
9
+ Unit = "1"
10
+ }
@@ -81,6 +81,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
81
81
  protected onDeleteFileMenuClick(linkItem: LinkItem): void;
82
82
  protected onLinkMenuClick(linkItem: LinkItem): void;
83
83
  protected getLinkIconClass(linkItem: LinkItem): "dv-ico icon-spin loader-animate" | "dv-ico ico-dv-card" | "dv-ico ico-file" | "dv-ico ico-url";
84
+ protected afterLinkAdded: () => Promise<string[]>;
84
85
  protected onDownloadFile(linkItem: LinkItem): void;
85
86
  protected getShowFilesForLinksTypesIds: () => string[];
86
87
  protected hideInfoPopover(linkItem: LinkItem): void;
@@ -2,8 +2,7 @@ import { IEmployeeResponseParser } from "@docsvision/webclient/BackOffice/IEmplo
2
2
  import { $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
4
  import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
5
- import { ITableData } from "@docsvision/web/components/table/interfaces";
6
- import { ILoadRequest } from "@docsvision/web/components/table/plugins/table-data";
5
+ import { ITableData, ITableDataLoadRequest } from "@docsvision/web/components/table/interfaces";
7
6
  export declare type LoadedPages = {
8
7
  sectionId: string;
9
8
  pages: {
@@ -13,11 +12,9 @@ export declare type LoadedPages = {
13
12
  export declare type LoadEmployeesOptions = {
14
13
  sectionId: string;
15
14
  sectionType: GenModels.DirectoryDataType;
16
- request: ILoadRequest;
15
+ request: ITableDataLoadRequest;
17
16
  currentData: ITableData;
18
17
  services: $ApplicationSettings & $StaffDirectoryItemsController;
19
18
  responseParser: IEmployeeResponseParser;
20
- lastLoad: Promise<ITableData>;
21
- loadedPages: LoadedPages;
22
19
  };
23
20
  export declare function loadEmployees(params: LoadEmployeesOptions): Promise<ITableData>;
@@ -24,12 +24,13 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
24
24
  constructor(props: NumeratorParams, state: NumeratorState);
25
25
  generateNewNumberEx(saveToTheCard?: boolean, saveCardBefore?: boolean): Promise<INumberInfo>;
26
26
  generateNewNumber(saveToTheCard: boolean, prepareAction: () => Promise<any>): Promise<INumberInfo>;
27
+ getTabIndexForButtons(): 0 | -1;
27
28
  onSaved(): Promise<any>;
28
29
  componentDidMount(): void;
29
30
  protected getTextValue(): string;
30
31
  protected onInputChange(event: any): void;
31
32
  validate(params: any): IValidationResult;
32
- clearNumber(): Promise<any>;
33
+ clearNumber(): Promise<void>;
33
34
  protected renderInto(props: NumeratorParams, container: HTMLElement): void;
34
35
  protected get editAvailable(): boolean;
35
36
  protected get withInputMode(): boolean;
@@ -67,8 +67,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
67
67
  export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
68
68
  /** @internal */
69
69
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
70
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
71
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
70
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
71
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
72
72
  /** @internal */
73
73
  protected get partnerImpl(): PartnerBaseImpl<T>;
74
74
  private set partnerBindingHandler(value);
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
39
39
  export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
40
40
  /** @internal */
41
41
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
42
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
42
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
45
45
  /** @internal */
46
46
  protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
47
47
  init(): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare class PrintButtonView {
3
3
  dropdownButton: (props:
4
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
4
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
5
5
  }
@@ -1,12 +1,18 @@
1
- import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
1
+ import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
2
+ import { $Resources } from "@docsvision/web/core/localization/$Resources";
2
3
  import React from "react";
3
4
  export interface ISearchBar {
4
5
  visibility: boolean;
5
- searchFilters: GenModels.Element[];
6
- currentSearchFilterKey: string;
7
- onSearchFilterChange: (newSearchFilterKey: string) => void;
6
+ isNotEmpty: boolean;
7
+ textValue: string;
8
+ searchFilters: ISearchFilterEntry[];
9
+ currentSearchFilterKey: SearchFilters;
10
+ onSearchFilterChange: (newSearchFilterKey: SearchFilters) => void;
8
11
  searchPlaceholder: string;
9
12
  onSearchTextChange: (newSearchText: string) => void;
13
+ onClearButtonClick: () => void;
10
14
  onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
15
+ onSearchSubmitClick: (e: React.MouseEvent) => void;
16
+ services: $Resources;
11
17
  }
12
18
  export declare const SearchBar: (props: ISearchBar) => JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import { StaffDirectorySearchResponseT } from "@docsvision/webclient/BackOffice/StaffDirectoryLogic";
2
+ import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
2
3
  import { $StaffDirectoryItemsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
- export declare function searchEmployees(searchText: string, searchFilterKey: string, services: $StaffDirectoryItemsController, maxCount?: number, skipCount?: number): Promise<StaffDirectorySearchResponseT>;
4
+ export declare function searchEmployees(searchText: string, searchFilterKey: SearchFilters, services: $StaffDirectoryItemsController, maxCount?: number, skipCount?: number): Promise<StaffDirectorySearchResponseT>;
@@ -15,6 +15,7 @@ import { Optional } from "@docsvision/web/core/services";
15
15
  import { $WebFrameDirectorySearchPanelService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
16
16
  import { IStaffTreeRow } from "@docsvision/webclient/BackOffice/IStaffTreeRow";
17
17
  import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
18
+ import { $Domain } from "@docsvision/web/core/state-management";
18
19
  /**
19
20
  * Содержит публичные свойства элемента управления [Справочник сотрудников]{@link StaffDirectory}.
20
21
  */
@@ -28,7 +29,7 @@ export declare class StaffDirectoryParams extends BaseControlParams {
28
29
  /** Вызывается после любого изменении отображаемого в левой части дерева. */
29
30
  currentSectionTreeUpdated?: BasicApiEvent<IStaffTreeRow[]>;
30
31
  /** Сервисы. */
31
- services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & $DepartmentController & Optional<$StaffDirectoryOptions> & $DeviceType & $StaffDirectoryItemsController & $IsIE & $WebFrameDirectorySearchPanelService & $LayoutStaffController;
32
+ services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & $DepartmentController & Optional<$StaffDirectoryOptions> & $DeviceType & $StaffDirectoryItemsController & $IsIE & $WebFrameDirectorySearchPanelService & $LayoutStaffController & $Domain;
32
33
  }
33
34
  export interface StaffDirectoryState extends BaseControlImplState, StaffDirectoryParams, IStaffDirectoryLogicOptions {
34
35
  logic: StaffDirectoryLogic;
@@ -14,3 +14,18 @@ export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
14
14
  export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
15
15
  export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
16
16
  export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
17
+ export declare const CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID";
18
+ export declare const CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID";
19
+ export declare const CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID";
20
+ export declare const CONTEXT_MENU_STAFF_NAME_ID = "CONTEXT_MENU_STAFF_NAME_ID";
21
+ export declare const CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID = "CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID";
22
+ export declare const CONTEXT_MENU_STAFF_PASTE_ID = "CONTEXT_MENU_STAFF_PASTE_ID";
23
+ export declare const CONTEXT_MENU_STAFF_INFO_ID = "CONTEXT_MENU_STAFF_INFO_ID";
24
+ export declare const CONTEXT_MENU_STAFF_EDIT_ID = "CONTEXT_MENU_STAFF_EDIT_ID";
25
+ export declare const CONTEXT_MENU_STAFF_DELETE_ID = "CONTEXT_MENU_STAFF_DELETE_ID";
26
+ export declare const CONTEXT_MENU_STAFF_COPY_ID = "CONTEXT_MENU_STAFF_COPY_ID";
27
+ export declare const CONTEXT_MENU_STAFF_CUT_ID = "CONTEXT_MENU_STAFF_CUT_ID";
28
+ export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
29
+ export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
30
+ export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
31
+ export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
@@ -76,7 +76,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
76
76
  private set binding(value);
77
77
  private set defaultEmployeeBinding(value);
78
78
  get inputChanged():
79
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
79
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
80
80
  /** @covered */
81
81
  get inputText(): string;
82
82
  /** @covered */
@@ -55,7 +55,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
55
55
  private shouldShowFavorites;
56
56
  onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
57
57
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
58
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
58
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
59
59
  protected onEditPopoverShowed(control: any): void;
60
60
  protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
61
61
  protected getTypeaheadProps(): ITypeaheadProps & {
@@ -1,20 +1,17 @@
1
1
  /// <reference types="react" />
2
- import { LoadEmployeesOptions } from "@docsvision/webclient/BackOffice/LoadEmployees";
3
2
  import { IEmployeeResponseParser } from "@docsvision/webclient/BackOffice/IEmployeeResponseParser";
4
3
  import { StaffDirectoryParams } from "@docsvision/webclient/BackOffice/StaffDirectory";
5
4
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
6
5
  import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
7
6
  import { ShowSecurityDescriptorDialogProps } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
8
7
  import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
9
- import { IRow, ITableData } from "@docsvision/web/components/table/interfaces";
10
- import { ILoadRequest, ITableDataService } from "@docsvision/web/components/table/plugins/table-data";
8
+ import { IRow, ITableData, ITableDataLoadRequest } from "@docsvision/web/components/table/interfaces";
11
9
  import { ComponentLogic } from "@docsvision/web/core/component";
12
10
  import { IStaffTreeRow } from "@docsvision/webclient/BackOffice/IStaffTreeRow";
13
- import { IFolderDataLoadingService } from "@docsvision/webclient/Platform/$FolderDataLoading";
14
- import { IFolderLoadRequest } from "@docsvision/webclient/Platform/IFolderLoadRequest";
15
11
  import { IFolderDataLoadingPlugin } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
16
12
  import { IButtonDescription } from "@docsvision/webclient/BackOffice/StaffDirectoryTreeAddButton";
17
13
  import { LoadingStatus } from "@docsvision/webclient/System/LoadingState";
14
+ import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
18
15
  export declare const sectionTabs: string[];
19
16
  export declare type StaffDirectorySearchResponseT = {
20
17
  items: GenModels.SearchItemModel[];
@@ -80,6 +77,7 @@ import("effector").Effect<
80
77
  import("react").MouseEvent<Element, MouseEvent>, void, Error>;
81
78
  $contextMenuName:
82
79
  import("effector").Store<string>;
80
+ getPaste: any;
83
81
  initContextMenu(): void;
84
82
  componentDidMount:
85
83
  import("effector").Event<void>;
@@ -100,18 +98,15 @@ import("effector").Effect<{
100
98
  rootSectionId: string;
101
99
  }, any, Error>;
102
100
  initTreeLoading(options: StaffDirectoryParams): void;
103
- employeesService: {
104
- $data:
101
+ $positionEmployeesData:
105
102
  import("effector").Store<ITableData>;
106
- setData:
107
- import("effector").Event<ITableData>;
108
- load:
109
- import("effector").Effect<ILoadRequest<any>, void, Error>;
110
- reload:
111
- import("effector").Effect<ILoadRequest<any>, void, Error>;
112
- };
113
- loadEmployeesFx:
114
- import("effector").Effect<LoadEmployeesOptions, ITableData, Error>;
103
+ loadPositionEmployeesFx:
104
+ import("effector").Effect<{
105
+ currentData?: ITableData;
106
+ request?: ITableDataLoadRequest;
107
+ }, ITableData, Error>;
108
+ reloadPositionEmployees:
109
+ import("effector").Event<void>;
115
110
  $rootEmployeesLoading:
116
111
  import("effector").Store<boolean>;
117
112
  $placeholderEmployeesText:
@@ -119,11 +114,18 @@ import("effector").Store<string>;
119
114
  $placeholderInfoText:
120
115
  import("effector").Store<string>;
121
116
  responseParser: IEmployeeResponseParser;
122
- initEmployeesLoad(options: StaffDirectoryParams): void;
123
- employeesGridDataService: ITableDataService;
124
- employeesGridLoadingService: Partial<IFolderDataLoadingService>;
125
- loadEmployeesGridFx:
126
- import("effector").Effect<IFolderLoadRequest, GenModels.GridViewModel, Error>;
117
+ initPositionEmployeesLoad(options: StaffDirectoryParams): void;
118
+ $employeesGridData:
119
+ import("effector").Store<ITableData>;
120
+ reloadEmployeesGridData:
121
+ import("effector").Event<void>;
122
+ lastGridModel: GenModels.GridViewModel;
123
+ lastRequestSection: any;
124
+ loadEmployeesGridDataFx:
125
+ import("effector").Effect<{
126
+ currentData?: ITableData;
127
+ request?: ITableDataLoadRequest;
128
+ }, ITableData, Error>;
127
129
  employeesGridResponseResolvers: IFolderDataLoadingPlugin[];
128
130
  addToGroupFx:
129
131
  import("effector").Effect<{
@@ -283,6 +285,7 @@ import("effector").Event<{
283
285
  import("effector").Effect<{
284
286
  parentStaffId: string;
285
287
  }, void, Error>;
288
+ getStaffPasteMenuItemVisible(rowId: string): boolean;
286
289
  getTargetId(parentId: string): string;
287
290
  isStaffCutButtonVisible(): boolean;
288
291
  initStaffContextMenu(options: IStaffDirectoryLogicOptions): void;
@@ -315,12 +318,12 @@ import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffRespons
315
318
  import("effector").Store<LoadingStatus>;
316
319
  startSearch:
317
320
  import("effector").Event<{
318
- searchFilterKey: string;
321
+ searchFilterKey: SearchFilters;
319
322
  searchText: string;
320
323
  }>;
321
324
  startSearchFx:
322
325
  import("effector").Effect<{
323
- searchFilterKey: string;
326
+ searchFilterKey: SearchFilters;
324
327
  searchText: string;
325
328
  },
326
329
  import("@docsvision/webclient/DirectoryEdit/DirectorySearchResult").StaffResponse, Error>;
@@ -335,6 +338,8 @@ import("effector").Event<GenModels.SearchItemModel>;
335
338
  import("effector").Store<boolean>;
336
339
  onSearchResultsExpanded:
337
340
  import("effector").Event<boolean>;
341
+ clearSearch:
342
+ import("effector").Event<void>;
338
343
  $searchItemEmployeeId:
339
344
  import("effector").Store<string>;
340
345
  initSearch(): void;
@@ -6,6 +6,7 @@ import { ITasksTreeContainerState } from "@docsvision/webclient/BackOffice/ITask
6
6
  import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
7
7
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
8
8
  import { $FileController } from "@docsvision/webclient/Legacy/FileController";
9
+ import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
9
10
  import { $CardId } from '@docsvision/webclient/System/LayoutServices';
10
11
  import React from "react";
11
12
  /** @internal */
@@ -13,7 +14,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
13
14
  private services;
14
15
  private readonly moreDots;
15
16
  private isOpenDelegationLabel;
16
- constructor(services: () => $FileController & $LayoutFileController & $CardId);
17
+ private fileIdInPreviewState;
18
+ constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
17
19
  resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
18
20
  resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
19
21
  get selectionAllowed(): boolean;
@@ -23,8 +25,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
23
25
  protected getHelpBoxHeaderIcon(groupName: any): string;
24
26
  protected getLabel(nodeModel: GenModels.TaskTreeNodeModel): string;
25
27
  protected getImage(nodeModel: GenModels.TaskTreeNodeModel): string;
26
- protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps, hasAccess?: boolean): any;
27
- protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps, hasAccess?: boolean): string;
28
+ protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): any;
29
+ protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): string;
28
30
  protected getDelegationLabel(delegationRecord: GenModels.DelegationRecord): JSX.Element;
29
31
  protected getDelegationLabelText(delegationRecord: GenModels.DelegationRecord): string;
30
32
  protected getDelegationHistory(delegationRecords: GenModels.DelegationRecord[]): string[];
@@ -19,6 +19,7 @@ import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
19
19
  import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
20
20
  import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
21
21
  import { $UrlStore } from '@docsvision/webclient/System/$UrlStore';
22
+ import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
22
23
  /**
23
24
  * Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
24
25
  */
@@ -65,7 +66,7 @@ export declare class TasksTableParams extends BaseControlParams {
65
66
  row: ITasksTableRow;
66
67
  }>;
67
68
  /** Сервисы. */
68
- services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo;
69
+ services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload;
69
70
  }
70
71
  export interface TasksTableState extends BaseControlImplState, TasksTableParams {
71
72
  logic: TasksTableLogic;
@@ -42,6 +42,8 @@ import("effector").Store<boolean>;
42
42
  import("effector").Event<void>;
43
43
  showCurrentTaskTree:
44
44
  import("effector").Event<void>;
45
+ $canShowFullTree:
46
+ import("effector").Store<boolean>;
45
47
  $dialogIsOpen:
46
48
  import("effector").Store<boolean>;
47
49
  openDialog:
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
19
19
  import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
20
20
  export declare class TasksTableView {
21
21
  mainButton: (props:
22
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
22
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
23
23
  dialog: (props:
24
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
24
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
25
25
  controlWrapper: typeof TasksTableControlWrapper;
26
26
  ribbon: typeof TasksTableRibbon;
27
27
  ribbonGroup:
28
28
  import("styled-components").StyledComponent<"div", any, {
29
29
  className: string;
30
30
  } &
31
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
31
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
32
  ribbonButton: typeof TasksTableRibbonButton;
33
33
  ribbonContainer: typeof TasksTableRibbonContainer;
34
34
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -10,6 +10,7 @@ import { $Layout } from "@docsvision/webclient/System/$Layout";
10
10
  import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
11
11
  import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
12
12
  import { $DeviceType } from "@docsvision/webclient/StandardServices";
13
+ import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
13
14
  /**
14
15
  * Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
15
16
  */
@@ -41,7 +42,7 @@ export declare class TasksTreeParams extends BaseControlParams {
41
42
  /** Список опций для VIS.js. */
42
43
  options:
43
44
  import("vis").Options;
44
- services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $DeviceType;
45
+ services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload & $DeviceType;
45
46
  }
46
47
  /**
47
48
  * Класс элемента управления Дерево исполнения
@@ -20,10 +20,6 @@ export interface TimeOfPerformanceState extends TimeOfPerformanceParams, PanelSt
20
20
  durationChangeDebouncer: Debouncer;
21
21
  unmounted: boolean;
22
22
  }
23
- export declare enum TypeOfControl {
24
- EndDate = 0,
25
- Duration = 1
26
- }
27
23
  /** @internal */
28
24
  export declare class TimeOfPerformanceImpl extends PanelImpl<TimeOfPerformanceParams, TimeOfPerformanceState> {
29
25
  constructor(props: TimeOfPerformanceParams, state: TimeOfPerformanceState);
@@ -33,11 +29,6 @@ export declare class TimeOfPerformanceImpl extends PanelImpl<TimeOfPerformancePa
33
29
  updateStartDate(): Promise<void>;
34
30
  updateEndDate(): Promise<void>;
35
31
  onStartDateChanged: (sender: any, args: IDataChangedEventArgsEx<Date>) => Promise<void>;
36
- getControlValue: (isEndDateControl: boolean, startDate: Date, secondParam: Date | number) => Promise<any>;
37
- updateDatesWithoutStartDate: () => Promise<void>;
38
- updateDatesWithStartDateLessThanCurrent: (isEndDateControl: boolean, currentDate: Date, currentControlValue: Date | number) => Promise<void>;
39
- updateDatesWithStartDate: (isEndDateControl: boolean, currentControlValue: Date | number) => Promise<void>;
40
- updateEndDateAndDuration: (type: TypeOfControl) => Promise<void>;
41
32
  onEndDateChanged: (sender: any, args: IDataChangedEventArgsEx<Date>) => Promise<void>;
42
33
  onDurationChanged: (sender: any, args: IDataChangedEventArgsEx<number>) => Promise<void>;
43
34
  showLoader(control: LayoutControl): void;
@@ -33,7 +33,7 @@ export declare class UniquenessCheckImpl extends BaseControlImpl<UniquenessCheck
33
33
  private modalHost;
34
34
  private lastUniquenessCheck;
35
35
  constructor(props: UniquenessCheckParams, state: UniquenessCheckState);
36
- protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<unknown>;
36
+ protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<void>;
37
37
  protected renderUniquenessContentTable(): JSX.Element;
38
38
  protected renderHeader(): JSX.Element;
39
39
  protected renderRow(columns: GenModels.UniqueAttributeCard[]): JSX.Element;
@@ -1,12 +1,15 @@
1
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
- import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
3
- import { CancelableEventArgs } from '@docsvision/webclient/System/CancelableEventArgs';
4
- import { Image } from '@docsvision/webclient/Platform/Image';
5
- import { Dropdown } from '@docsvision/webclient/Platform/Dropdown';
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
3
+ import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEventArgs";
4
+ import { Image } from "@docsvision/webclient/Platform/Image";
5
+ import { Dropdown } from "@docsvision/webclient/Platform/Dropdown";
6
6
  export declare function updateStatusBackground(sender: LayoutControl): void;
7
7
  export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
8
8
  export declare function updateStatusList(sender: Dropdown, event: any): void;
9
9
  export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl, ev: any): void;
10
+ export declare function displayInformationOfAbsence(sender: LayoutControl, ev: any): void;
10
11
  export declare function getDefaultImage(sender: Image): Promise<void>;
11
12
  export declare function onCardSaving_checkSequenceOfDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): boolean;
13
+ export declare function setShowArchivedCardsFromSettings(sender: LayoutControl): void;
14
+ export declare function setShowArchivedCardsToSettings(sender: LayoutControl, e?: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
12
15
  export declare function onCardSaving_checkDeputyTableAndDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
@@ -0,0 +1,5 @@
1
+ export declare const USER_STATUS_ACTIVE = "Active";
2
+ export declare const USER_STATUS_SICK = "Sick";
3
+ export declare const USER_STATUS_VACATION = "Vacation";
4
+ export declare const USER_STATUS_BUSINESS_TRIP = "BusinessTrip";
5
+ export declare const USER_STATUS_ABSENT = "Absent";
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { $WebFrameDirectorySearchPanelOptions } from "@docsvision/webclient/BackOffice/IWebFrameDirectorySearchPanelOptions";
3
- import { $WebFrameDirectorySearchInfoStorageService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
3
+ import { $WebFrameDirectorySearchInfoStorageService, ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
4
4
  import { $WebFrameDirectorySearchPanelService, ISearchRequest } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
5
5
  import { WebFrameDirectorySearchPanelLogic } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanelLogic";
6
6
  import { WebFrameDirectorySearchPanelView } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanelView";
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
9
9
  import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
10
10
  import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
11
11
  import { $Router } from "@docsvision/webclient/System/$Router";
12
+ import { $Resources } from "@docsvision/web/core/localization/$Resources";
12
13
  import { Optional } from "@docsvision/web/core/services";
13
14
  /**
14
15
  * Содержит публичные свойства элемента управления [Панель поиска в справочнике]{@link WebFrameDirectorySearchPanel}.
@@ -16,8 +17,14 @@ import { Optional } from "@docsvision/web/core/services";
16
17
  export declare class WebFrameDirectorySearchPanelParams extends BaseControlParams {
17
18
  /** Стандартный CSS класс со стилями элемента управления */
18
19
  standardCssClass?: string;
20
+ /** Выбранная область поиска. */
21
+ selectedSearchFilterKey?: SearchFilters;
22
+ /** Доступные области поиска. Для определения набора возможных областей используется сервис {@link $WebFrameDirectorySearchInfoStorageService} */
23
+ searchFilters?: ISearchFilterEntry[];
24
+ /** Текуще значение строки поиска. */
25
+ searchText?: string;
19
26
  /** Сервисы. */
20
- services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo>;
27
+ services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo> & $Resources;
21
28
  }
22
29
  export interface WebFrameDirectorySearchPanelState extends BaseControlImplState, WebFrameDirectorySearchPanelParams {
23
30
  logic: WebFrameDirectorySearchPanelLogic;
@@ -35,5 +42,9 @@ export declare class WebFrameDirectorySearchPanel extends BaseControl<WebFrameDi
35
42
  addCssClass: () => "" | " system-web-frame-directory-search-panel_search-active";
36
43
  componentDidMount(): void;
37
44
  private onSearchStart;
45
+ protected get searchFilters(): ISearchFilterEntry[];
46
+ protected get selectedSearchFilterKey(): SearchFilters;
47
+ protected set selectedSearchFilterKey(key: SearchFilters);
48
+ protected get searchText(): string;
38
49
  renderControl(): JSX.Element;
39
50
  }
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { IWebFrameDirectorySearchPanelOptions } from "@docsvision/webclient/BackOffice/IWebFrameDirectorySearchPanelOptions";
3
+ import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
3
4
  import { ISearchRequest } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
4
5
  import { WebFrameDirectorySearchPanelState } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanel";
5
6
  export declare class WebFrameDirectorySearchPanelLogic {
@@ -15,22 +16,30 @@ import("effector").Store<boolean>;
15
16
  import("effector").Event<boolean>;
16
17
  searchButtonClick:
17
18
  import("effector").Event<
19
+ import("react").MouseEvent<Element, MouseEvent>>;
20
+ clearButtonClick:
21
+ import("effector").Event<
18
22
  import("react").MouseEvent<Element, MouseEvent>>;
19
23
  $searchFilters:
20
- import("effector").Store<any[]>;
24
+ import("effector").Store<ISearchFilterEntry[]>;
21
25
  $searchPlaceholder:
22
26
  import("effector").Store<string>;
23
27
  $currentSearchFilterKey:
24
- import("effector").Store<string>;
28
+ import("effector").Store<SearchFilters>;
25
29
  onSearchFilterChange:
26
- import("effector").Event<string>;
30
+ import("effector").Event<SearchFilters>;
27
31
  $searchText:
28
32
  import("effector").Store<string>;
33
+ $isNotEmpty:
34
+ import("effector").Store<boolean>;
29
35
  onSearchTextChange:
30
36
  import("effector").Event<string>;
31
37
  onSearchTextKeyPressed:
32
38
  import("effector").Event<
33
39
  import("react").KeyboardEvent<any>>;
40
+ onSearchSubmitClick:
41
+ import("effector").Event<
42
+ import("react").MouseEvent<Element, MouseEvent>>;
34
43
  startSearch:
35
44
  import("effector").Event<ISearchRequest>;
36
45
  onSearchStart:
@@ -5,6 +5,7 @@ export declare class WebFrameDirectorySearchPanelService implements IWebFrameDir
5
5
  setVisibility: Event<boolean>;
6
6
  setActivity: Event<boolean>;
7
7
  startSearch: Event<ISearchRequest>;
8
+ clearSearch: Event<void>;
8
9
  protected domain:
9
10
  import("effector").Domain;
10
11
  constructor();
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare class WebFrameDirectorySearchPanelView {
3
3
  SearchButton: (props:
4
- import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
4
+ import("C:/dev/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
5
5
  SearchBar: (props:
6
6
  import("./Components/SearchBar").ISearchBar) => JSX.Element;
7
7
  }