@docsvision/webclient 5.16.0-beta.4 → 5.16.0-beta.5

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 (147) hide show
  1. package/Approval/AgreementList.d.ts +2 -2
  2. package/Approval/AgreementListContent.d.ts +1 -0
  3. package/Approval/AgreementManagement.d.ts +3 -2
  4. package/Approval/AgreementStageProps.d.ts +3 -2
  5. package/Approval/IAgreementListContentProps.d.ts +2 -0
  6. package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +5 -4
  7. package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +2 -0
  8. package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
  9. package/BackOffice/CardKindImpl.d.ts +1 -1
  10. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  11. package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
  12. package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
  13. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  14. package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
  15. package/BackOffice/DirectoryDesignerRowImpl.d.ts +11 -0
  16. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  17. package/BackOffice/DirectoryValues.d.ts +0 -2
  18. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  19. package/BackOffice/FileListControl.d.ts +5 -0
  20. package/BackOffice/FileListControlImpl.d.ts +10 -0
  21. package/BackOffice/FileListControlLogic.d.ts +1 -0
  22. package/BackOffice/FileListItemComponent.d.ts +5 -2
  23. package/BackOffice/FileSignCreateDialog.d.ts +1 -2
  24. package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
  25. package/BackOffice/GetEmployeeGroups.d.ts +1 -0
  26. package/BackOffice/IFileMenuItem.d.ts +14 -0
  27. package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
  28. package/BackOffice/InfoPopover.d.ts +2 -0
  29. package/BackOffice/LinksImpl.d.ts +1 -0
  30. package/BackOffice/Numerator.d.ts +1 -0
  31. package/BackOffice/NumeratorImpl.d.ts +4 -2
  32. package/BackOffice/PartnerBase.d.ts +4 -2
  33. package/BackOffice/PartnerBaseImpl.d.ts +20 -0
  34. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  35. package/BackOffice/PartnerImpl.d.ts +1 -0
  36. package/BackOffice/PrintButtonView.d.ts +1 -1
  37. package/BackOffice/SearchBar.d.ts +4 -3
  38. package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
  39. package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
  40. package/BackOffice/StaffDirectoryItems.d.ts +13 -5
  41. package/BackOffice/StaffDirectoryItemsImpl.d.ts +22 -2
  42. package/BackOffice/StaffDirectoryLogic.d.ts +2 -0
  43. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
  44. package/BackOffice/TasksTable.d.ts +4 -2
  45. package/BackOffice/TasksTableView.d.ts +3 -3
  46. package/BackOffice/TasksTree.d.ts +2 -1
  47. package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
  48. package/BackOffice/UserProfile.d.ts +8 -5
  49. package/BackOffice/UserStatus.d.ts +5 -0
  50. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +11 -1
  51. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -2
  52. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
  53. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  54. package/Generated/DocsVision.WebClient.Controllers.d.ts +47 -0
  55. package/Generated/DocsVision.WebClient.Models.d.ts +1060 -9
  56. package/Helpers/BoxWithButtons.d.ts +7 -1
  57. package/Helpers/LabeledText.d.ts +8 -0
  58. package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
  59. package/Helpers/Sortable/Sortable.d.ts +1 -1
  60. package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
  61. package/Helpers/Table/TableHelperRow.d.ts +1 -0
  62. package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
  63. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  64. package/Legacy/ModalWindow.d.ts +1 -1
  65. package/Legacy/StandardControllers.d.ts +2 -2
  66. package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
  67. package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
  68. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -1
  69. package/MainBundle.d.ts +1 -0
  70. package/Platform/$CacheManagement.d.ts +3 -1
  71. package/Platform/$FolderDataLoading.d.ts +3 -0
  72. package/Platform/$FolderGrid.d.ts +8 -0
  73. package/Platform/$HoverPanel.d.ts +8 -0
  74. package/Platform/$UnreadCounter.d.ts +1 -1
  75. package/Platform/AccessListEntryTrustee.d.ts +3 -1
  76. package/Platform/ArchivedCardsIcon.d.ts +2 -0
  77. package/Platform/ArchivedCardsPlugin.d.ts +3 -0
  78. package/Platform/ArchivedCardsResponseResolver.d.ts +23 -0
  79. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  80. package/Platform/CacheManagementService.d.ts +5 -0
  81. package/Platform/CardManagement.d.ts +2 -2
  82. package/Platform/CardManagementImpl.d.ts +1 -0
  83. package/Platform/CommentFile.d.ts +4 -1
  84. package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
  85. package/Platform/DateTimePicker.d.ts +1 -0
  86. package/Platform/DateTimePickerImpl.d.ts +2 -0
  87. package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
  88. package/Platform/Dropdown.d.ts +1 -0
  89. package/Platform/DropdownImpl.d.ts +1 -0
  90. package/Platform/ExportPlugin.d.ts +0 -4
  91. package/Platform/FilePicker.d.ts +5 -2
  92. package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
  93. package/Platform/FolderDataLoadingService.d.ts +5 -0
  94. package/Platform/FolderGrid.d.ts +7 -3
  95. package/Platform/FolderGridService.d.ts +14 -4
  96. package/Platform/FolderMainMenuItem.d.ts +1 -1
  97. package/Platform/FolderSizePlugin.d.ts +4 -1
  98. package/Platform/FolderSizePluginExtendedData.d.ts +1 -1
  99. package/Platform/FolderTypeDialog.d.ts +1 -0
  100. package/Platform/FolderViewItemsImpl.d.ts +1 -1
  101. package/Platform/GroupingRequestResolver.d.ts +12 -0
  102. package/Platform/GroupingResponseResolver.d.ts +17 -0
  103. package/Platform/HoverPanelService.d.ts +5 -0
  104. package/Platform/IFolderLoadRequest.d.ts +4 -0
  105. package/Platform/LoaderDialog.d.ts +1 -1
  106. package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
  107. package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
  108. package/Platform/NewAccessListEntryTrusteeSelect.d.ts +3 -1
  109. package/Platform/NumberImpl.d.ts +3 -0
  110. package/Platform/ReadAllPlugin.d.ts +3 -5
  111. package/Platform/ReadBatchOperation.d.ts +2 -2
  112. package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
  113. package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
  114. package/Platform/RecentCardsRouteHandler.d.ts +2 -1
  115. package/Platform/RefreshPlugin.d.ts +0 -4
  116. package/Platform/ResetSettingsPlugin.d.ts +2 -5
  117. package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
  118. package/Platform/SearchRouteHandler.d.ts +2 -1
  119. package/Platform/SearchingResultsImpl.d.ts +1 -1
  120. package/Platform/SecurityDescriptorDialog.d.ts +6 -3
  121. package/Platform/SettingsPlugin.d.ts +3 -5
  122. package/Platform/SettingsPopup.d.ts +2 -1
  123. package/Platform/ShowAllButton.d.ts +14 -0
  124. package/Platform/ShowAllPlugins.d.ts +3 -0
  125. package/Platform/Table.d.ts +2 -3
  126. package/Platform/TableCellNumberFormattedPlugin.d.ts +3 -0
  127. package/Platform/TableImpl.d.ts +2 -2
  128. package/Platform/TextAreaImpl.d.ts +8 -4
  129. package/Platform/TextBoxImpl.d.ts +5 -0
  130. package/Platform/UserProfileDialog.d.ts +1 -1
  131. package/Platform/index.d.ts +0 -4
  132. package/StandardServices.d.ts +1 -2
  133. package/System/BaseControl.d.ts +7 -0
  134. package/System/ControlTemplateView.d.ts +1 -1
  135. package/System/DirectorySelectDialog.d.ts +2 -2
  136. package/System/IValidateEventArgs.d.ts +9 -0
  137. package/System/IValidationResult.d.ts +4 -0
  138. package/System/InputBasedControl.d.ts +5 -0
  139. package/System/InputBasedControlImpl.d.ts +4 -3
  140. package/System/Layout.d.ts +3 -3
  141. package/System/LayoutCardControllerStub.d.ts +2 -0
  142. package/System/LayoutContainer.d.ts +1 -1
  143. package/System/MessageBoxService.d.ts +1 -1
  144. package/System/PageLeaveConfirmation.d.ts +1 -0
  145. package/System/ResourcesStub.d.ts +603 -68
  146. package/package.json +1 -1
  147. package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
@@ -1,13 +1,14 @@
1
- import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
2
- import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
1
+ import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
3
2
  import React from "react";
4
3
  export interface ISearchBar {
5
4
  visibility: boolean;
6
- searchFilters: GenModels.Element[];
5
+ textValue: string;
6
+ searchFilters: ISearchFilterEntry[];
7
7
  currentSearchFilterKey: SearchFilters;
8
8
  onSearchFilterChange: (newSearchFilterKey: SearchFilters) => void;
9
9
  searchPlaceholder: string;
10
10
  onSearchTextChange: (newSearchText: string) => void;
11
+ onClearButtonClick: () => void;
11
12
  onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
12
13
  }
13
14
  export declare const SearchBar: (props: ISearchBar) => JSX.Element;
@@ -2,6 +2,8 @@ export declare const STAFF_DIRECTORY_ID = "6710b92a-e148-4363-8a6f-1aa0eb18936c"
2
2
  export declare const UNIT_STAFF_SECTION_ID = "7473f07f-11ed-4762-9f1e-7ff10808ddd1";
3
3
  export declare const POSITIONS_SECTION_ID = "cfdfe60a-21a8-4010-84e9-9d2df348508c";
4
4
  export declare const EMPLOYEE_SECTION_ID = "dbc8ae9d-c1d2-4d5e-978b-339d22b32482";
5
+ export declare const GROUP_SECTION_ID = "5b607ffc-7ea2-47b1-90d4-bb72a0fe7280";
6
+ export declare const ROLE_SECTION_ID = "f6927a03-5bce-4c7e-9c8f-e61c6d9f256e";
5
7
  export declare const EMPLOYEE_CARD_TYPE_ID = "cd81a0e2-187e-417c-a21b-aefdde17c362";
6
8
  export declare const EMPLOYEES_LAST_NAME_COLUMN_ID = "Employees_LastName";
7
9
  export declare const EMPLOYEES_FIRST_NAME_COLUMN_ID = "Employees_FirstName";
@@ -0,0 +1,28 @@
1
+ import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
2
+ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
+ import { PopoverMode } from '@docsvision/webclient/Helpers/PopoverHelpers/Popover';
4
+ import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
5
+ import { LoadingState } from '@docsvision/webclient/System/LoadingState';
6
+ import React from 'react';
7
+ interface Props {
8
+ item: GenModels.IDirectoryItemData;
9
+ isOpen: boolean;
10
+ onClose: () => void;
11
+ services: $LayoutRowController & $LocationContainerControlServices;
12
+ yShift?: number;
13
+ mode?: PopoverMode;
14
+ }
15
+ interface State {
16
+ loaded: boolean;
17
+ }
18
+ export declare class StaffDirectoryInfoPopover extends React.Component<Props, State> {
19
+ state: State;
20
+ onLoadStateChange: () => void;
21
+ onLoaded: () => void;
22
+ onUnloading: () => void;
23
+ renderLoading: (state: LoadingState) => JSX.Element;
24
+ loadLayout: () => Promise<GenModels.LayoutRowViewModel>;
25
+ onClickInside: (ev: MouseEvent) => void;
26
+ render(): JSX.Element;
27
+ }
28
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { IStaffDataLoadingEventArgs } from '@docsvision/webclient/BackOffice/IStaffDataLoadingEventArgs';
2
2
  import { StaffDirectoryItemsImpl, StaffDirectoryItemsState } from '@docsvision/webclient/BackOffice/StaffDirectoryItemsImpl';
3
- import { $StaffDirectoryItemsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
3
+ import { $LayoutRowController, $LayoutStaffController, $StaffDirectoryItemsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
4
4
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
5
5
  import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
6
6
  import { $CardInfo, $EditOperationStore, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
@@ -11,7 +11,8 @@ import { Optional } from '@docsvision/web/core/services';
11
11
  import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
12
12
  import { DirectorySelectingMode } from '@docsvision/webclient/System/DirectorySelectingMode';
13
13
  import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
14
- export declare type $StaffDirectoryItemsServices = $LayoutInfo & $EditOperationStore & $StaffDirectoryItemsController & $CardInfo & Optional<$LabelWidth> & Optional<$LocalStorage>;
14
+ import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
15
+ export declare type $StaffDirectoryItemsServices = $LayoutInfo & $EditOperationStore & $StaffDirectoryItemsController & $CardInfo & Optional<$LabelWidth> & Optional<$LocalStorage> & $LayoutStaffController;
15
16
  export declare type StaffValueType = GenModels.IDirectoryItemData | GenModels.IDirectoryItemData[];
16
17
  export declare type StaffNodeType = GenModels.IDirectoryItemData;
17
18
  declare type ItemT = GenModels.IDirectoryItemData;
@@ -39,6 +40,9 @@ export declare class StaffDirectoryItemsParams<ValueT extends StaffValueType = S
39
40
  selectingNodesMode?: DirectorySelectingMode;
40
41
  onInputClick?: () => void;
41
42
  outsideInputClick?: () => void;
43
+ displayIcon?: boolean;
44
+ popoverOpen?: boolean;
45
+ selectedItem?: ItemT;
42
46
  /**
43
47
  * Событие, возникающее перед выполнением поиска записей на сервере. В обработчике события можно изменить параметры запроса.
44
48
  * Если в обработчике задать значение result, то запрос на сервер выполнен не будет.
@@ -58,7 +62,7 @@ export declare class StaffDirectoryItemsParams<ValueT extends StaffValueType = S
58
62
  /** События возникает после удаления сотрудника из списка. */
59
63
  /** @covered */
60
64
  itemRemoved?: BasicApiEvent<ValueT>;
61
- services?: $StaffDirectoryItemsServices;
65
+ services?: $StaffDirectoryItemsServices & $LayoutRowController & $LocationContainerControlServices;
62
66
  }
63
67
  export declare type StaffDirectoryItemsSingle = StaffDirectoryItems<ItemT>;
64
68
  export declare type StaffDirectoryItemsMultiple = StaffDirectoryItems<ItemT[]>;
@@ -68,7 +72,11 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
68
72
  /** @internal */
69
73
  protected createImpl(): StaffDirectoryItemsImpl;
70
74
  static ControlTypeName: string;
71
- protected getServices(): $StaffDirectoryItemsServices;
75
+ protected getServices(): $LayoutInfo & $EditOperationStore & $StaffDirectoryItemsController & $CardInfo & Partial<$LabelWidth> & Partial<$LocalStorage> & $LayoutStaffController & $LayoutRowController & Partial<
76
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
77
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
78
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
79
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout>;
72
80
  /** Сохраняет выбранные значения в списке избранных. */
73
81
  updateFavorites(): Promise<void>;
74
82
  private set staffDataSource(value);
@@ -76,7 +84,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
76
84
  private set binding(value);
77
85
  private set defaultEmployeeBinding(value);
78
86
  get inputChanged():
79
- import("C:/Dev/WebCB/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
87
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
80
88
  /** @covered */
81
89
  get inputText(): string;
82
90
  /** @covered */
@@ -1,6 +1,7 @@
1
1
  import { StaffDirectoryItemsParams, StaffNodeType, StaffValueType } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
2
2
  import { StaffDirectoryDataVisualiser } from '@docsvision/webclient/BackOffice/StaffDirectoryDataVisualiser';
3
3
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
+ import { IBoxWithButtonsButtonInfo } from '@docsvision/webclient/Helpers/BoxWithButtons';
4
5
  import { IEditPopoverProps } from '@docsvision/webclient/Helpers/PopoverHelpers/EditPopover/IEditPopoverProps';
5
6
  import { ITypeaheadProps } from '@docsvision/webclient/Helpers/Typeahead/ITypeaheadProps';
6
7
  import { ITypeaheadSearchQuery } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadSearchQuery';
@@ -19,6 +20,7 @@ export interface StaffDirectoryItemsState<ValueT extends StaffValueType = StaffV
19
20
  dataSource: GenModels.StaffItemsDataSourceModel;
20
21
  enableItemsAnimation: boolean;
21
22
  inputChanged: SimpleEvent<string>;
23
+ onMouseOverInfo: boolean;
22
24
  }
23
25
  export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValueType, StaffNodeType, ItemT, StaffDirectoryItemsParams, StaffDirectoryItemsState> {
24
26
  private initialSetValue;
@@ -31,7 +33,10 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
31
33
  getQueryContext(): GenModels.StaffQueryContext;
32
34
  protected getValuePath(value: StaffValueType): StaffNodeType[];
33
35
  protected getSelectingMode(): DirectorySelectingMode;
34
- setValue(value: StaffValueType, redraw: boolean): void;
36
+ protected setEmployeeImage: (employeeId: string) => Promise<void>;
37
+ protected getIconButtonClassName(): string;
38
+ protected getButtons(): IBoxWithButtonsButtonInfo[];
39
+ setValue(value: StaffValueType, redraw: boolean): Promise<void>;
35
40
  private saveValueOnChange;
36
41
  private valuesEqual;
37
42
  private saveCard;
@@ -55,26 +60,41 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
55
60
  private shouldShowFavorites;
56
61
  onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
57
62
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
58
- import("C:/Dev/WebCB/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
63
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
59
64
  protected onEditPopoverShowed(control: any): void;
60
65
  protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
66
+ protected onIconClick(): void;
61
67
  protected getTypeaheadProps(): ITypeaheadProps & {
62
68
  ref: any;
63
69
  };
64
70
  protected onDialogSelectedValuesChanged: (values: ItemT[]) => void;
65
71
  protected getCssClass(): string;
66
72
  protected renderWithText(): JSX.Element;
73
+ protected onMouseDownIcon(): void;
67
74
  protected renderWithTextSingleSelection: () => JSX.Element;
75
+ protected editInPlaceModeRender(): JSX.Element;
76
+ protected setItemIcon(): Promise<void>;
68
77
  protected renderWithTextMultipleSelection: () => JSX.Element;
78
+ protected getIconClassName(item: any): JSX.Element;
79
+ protected renderViewItem(): JSX.Element;
69
80
  protected renderViewItemList(vertical?: boolean, showIcons?: boolean): JSX.Element;
70
81
  protected renderSimpleViewValue(): JSX.Element;
71
82
  protected getItemIcon(item: ItemT, forceShowIcon?: boolean): string;
83
+ protected getEmployeeClassName(item: any): JSX.Element;
72
84
  protected renderEditItemList(): JSX.Element;
73
85
  protected alreadySelected(val: GenModels.IDirectoryItemData): boolean;
74
86
  protected renderInto(props: StaffDirectoryItemsParams, container: HTMLElement): void;
75
87
  protected renderSelectDialog(props: IDirectorySelectDialogProps<StaffValueType, StaffNodeType, ItemT> & {
76
88
  ref: any;
77
89
  }): JSX.Element;
90
+ protected handleMouseOverMultipleSelection: (item: ItemT) => void;
91
+ protected onMouseEnter(): void;
92
+ protected onMouseLeave(): void;
93
+ protected onDocumentMouseDown: (event: any) => void;
94
+ protected onDocumentOver: (event: any) => void;
95
+ protected onDocumentOut: (event: any) => void;
96
+ protected closePopover(): void;
97
+ protected renderCardInfo(): JSX.Element;
78
98
  renderTypeahead(): JSX.Element;
79
99
  }
80
100
  export {};
@@ -338,6 +338,8 @@ import("effector").Event<GenModels.SearchItemModel>;
338
338
  import("effector").Store<boolean>;
339
339
  onSearchResultsExpanded:
340
340
  import("effector").Event<boolean>;
341
+ clearSearch:
342
+ import("effector").Event<void>;
341
343
  $searchItemEmployeeId:
342
344
  import("effector").Store<string>;
343
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,7 @@ 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
+ constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
17
18
  resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
18
19
  resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
19
20
  get selectionAllowed(): boolean;
@@ -3,7 +3,7 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
3
3
  import { BaseControl, BaseControlParams } from '@docsvision/webclient/System/BaseControl';
4
4
  import { $LayoutInfo, $CardId, $EditOperationStore, $CardInfo } from '@docsvision/webclient/System/LayoutServices';
5
5
  import { TasksTreeNodeResolveService } from '@docsvision/webclient/BackOffice/TasksTreeNodeResolveService';
6
- import { $TasksTreeController, $LayoutFileController, $LayoutCardController, $StaffDirectoryItemsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
6
+ import { $TasksTreeController, $LayoutFileController, $LayoutCardController, $StaffDirectoryItemsController, $LayoutStaffController, $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
7
7
  import { TasksTableView } from '@docsvision/webclient/BackOffice/TasksTableView';
8
8
  import { TasksTableLogic } from '@docsvision/webclient/BackOffice/TasksTableLogic';
9
9
  import { Optional } from '@docsvision/web/core/services';
@@ -19,6 +19,8 @@ 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';
23
+ import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
22
24
  /**
23
25
  * Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
24
26
  */
@@ -65,7 +67,7 @@ export declare class TasksTableParams extends BaseControlParams {
65
67
  row: ITasksTableRow;
66
68
  }>;
67
69
  /** Сервисы. */
68
- services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo;
70
+ services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload & $LayoutStaffController & $LayoutRowController & $LayoutManager;
69
71
  }
70
72
  export interface TasksTableState extends BaseControlImplState, TasksTableParams {
71
73
  logic: TasksTableLogic;
@@ -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:/Dev/WebCB/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
22
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
23
23
  dialog: (props:
24
- import("C:/Dev/WebCB/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
24
+ import("C:/Users/peshne.k/devWebClient/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:/Dev/WebCB/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
31
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
32
  ribbonButton: typeof TasksTableRibbonButton;
33
33
  ribbonContainer: typeof TasksTableRibbonContainer;
34
34
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
9
9
  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
+ import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
12
13
  /**
13
14
  * Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
14
15
  */
@@ -40,7 +41,7 @@ export declare class TasksTreeParams extends BaseControlParams {
40
41
  /** Список опций для VIS.js. */
41
42
  options:
42
43
  import("vis").Options;
43
- services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId;
44
+ services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload;
44
45
  }
45
46
  /**
46
47
  * Класс элемента управления Дерево исполнения
@@ -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";
@@ -16,6 +16,12 @@ import { Optional } from "@docsvision/web/core/services";
16
16
  export declare class WebFrameDirectorySearchPanelParams extends BaseControlParams {
17
17
  /** Стандартный CSS класс со стилями элемента управления */
18
18
  standardCssClass?: string;
19
+ /** Выбранная область поиска. */
20
+ selectedSearchFilterKey?: SearchFilters;
21
+ /** Доступные области поиска. Для определения набора возможных областей используется сервис {@link $WebFrameDirectorySearchInfoStorageService} */
22
+ searchFilters?: ISearchFilterEntry[];
23
+ /** Текуще значение строки поиска. */
24
+ searchText?: string;
19
25
  /** Сервисы. */
20
26
  services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo>;
21
27
  }
@@ -35,5 +41,9 @@ export declare class WebFrameDirectorySearchPanel extends BaseControl<WebFrameDi
35
41
  addCssClass: () => "" | " system-web-frame-directory-search-panel_search-active";
36
42
  componentDidMount(): void;
37
43
  private onSearchStart;
44
+ protected get searchFilters(): ISearchFilterEntry[];
45
+ protected get selectedSearchFilterKey(): SearchFilters;
46
+ protected set selectedSearchFilterKey(key: SearchFilters);
47
+ protected get searchText(): string;
38
48
  renderControl(): JSX.Element;
39
49
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { IWebFrameDirectorySearchPanelOptions } from "@docsvision/webclient/BackOffice/IWebFrameDirectorySearchPanelOptions";
3
- import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
3
+ import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
4
4
  import { ISearchRequest } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
5
5
  import { WebFrameDirectorySearchPanelState } from "@docsvision/webclient/BackOffice/WebFrameDirectorySearchPanel";
6
6
  export declare class WebFrameDirectorySearchPanelLogic {
@@ -16,9 +16,12 @@ import("effector").Store<boolean>;
16
16
  import("effector").Event<boolean>;
17
17
  searchButtonClick:
18
18
  import("effector").Event<
19
+ import("react").MouseEvent<Element, MouseEvent>>;
20
+ clearButtonClick:
21
+ import("effector").Event<
19
22
  import("react").MouseEvent<Element, MouseEvent>>;
20
23
  $searchFilters:
21
- import("effector").Store<any[]>;
24
+ import("effector").Store<ISearchFilterEntry[]>;
22
25
  $searchPlaceholder:
23
26
  import("effector").Store<string>;
24
27
  $currentSearchFilterKey:
@@ -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:/Dev/WebCB/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
4
+ import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
5
5
  SearchBar: (props:
6
6
  import("./Components/SearchBar").ISearchBar) => JSX.Element;
7
7
  }
@@ -1096,10 +1096,20 @@ export declare namespace GenControllers {
1096
1096
  * @param settings Request model
1097
1097
  */
1098
1098
  saveMainMenuSettings(settings: GenModels.MainMenuSettings, options?: RequestOptions): Promise<void>;
1099
+ /**
1100
+ * Get Show Archived Cards setting
1101
+ */
1102
+ getShowArchivedCardsSetting(options?: RequestOptions): Promise<boolean>;
1103
+ /**
1104
+ * Set Show Archived Cards setting
1105
+ */
1106
+ setShowArchivedCardsSetting(showArchiveCards: boolean, options?: RequestOptions): Promise<void>;
1099
1107
  }
1100
1108
  class LayoutUserSettingsController extends BaseController implements ILayoutUserSettingsController {
1101
1109
  getMainMenuSettings(options?: RequestOptions): Promise<GenModels.MainMenuSettings>;
1102
1110
  saveMainMenuSettings(settings: GenModels.MainMenuSettings, options?: RequestOptions): Promise<void>;
1111
+ getShowArchivedCardsSetting(options?: RequestOptions): Promise<boolean>;
1112
+ setShowArchivedCardsSetting(showArchiveCards: boolean, options?: RequestOptions): Promise<void>;
1103
1113
  }
1104
1114
  }
1105
1115
  export declare type $LayoutUserSettingsController = {
@@ -1119,6 +1129,14 @@ export declare namespace GenControllers {
1119
1129
  * @returns Model with list of recent cards
1120
1130
  */
1121
1131
  recentCards(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
1132
+ /**
1133
+ * Get recent cards
1134
+ *
1135
+ * @param request Request model
1136
+ *
1137
+ * @returns Model with list of recent cards
1138
+ */
1139
+ recentCardsEx(request: GenModels.RecentCardsRequest, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
1122
1140
  /**
1123
1141
  * Get recent cards
1124
1142
  */
@@ -1126,6 +1144,7 @@ export declare namespace GenControllers {
1126
1144
  }
1127
1145
  class PagesController extends BaseController implements IPagesController {
1128
1146
  recentCards(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
1147
+ recentCardsEx(request: GenModels.RecentCardsRequest, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
1129
1148
  recentCardsGridModel(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
1130
1149
  }
1131
1150
  }
@@ -1210,6 +1229,14 @@ export declare namespace GenControllers {
1210
1229
  * @param saveAllCardsReadStatusModel Request model
1211
1230
  */
1212
1231
  setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
1232
+ /**
1233
+ * Get list {@link GenModels}
1234
+ */
1235
+ getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1236
+ /**
1237
+ * load all pages
1238
+ */
1239
+ loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
1213
1240
  }
1214
1241
  class GridController extends BaseController implements IGridController {
1215
1242
  getCardList(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
@@ -1223,6 +1250,8 @@ export declare namespace GenControllers {
1223
1250
  saveGridUserSettingsData(requestModel: GenModels.SaveGridUserSettingsDataRequestModel, options?: RequestOptions): Promise<void>;
1224
1251
  saveGridUserSettingsFolderData(requestModel: GenModels.SaveGridUserSettingsFolderDataRequestModel, options?: RequestOptions): Promise<void>;
1225
1252
  setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
1253
+ getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1254
+ loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
1226
1255
  }
1227
1256
  }
1228
1257
  export declare type $GridController = {
@@ -1335,6 +1364,24 @@ export declare type $CardOperationsController = {
1335
1364
  cardOperationsController: GenControllers.ICardOperationsController;
1336
1365
  };
1337
1366
  export declare const $CardOperationsController: string | ((model?: $CardOperationsController) => GenControllers.ICardOperationsController);
1367
+ export declare namespace GenControllers {
1368
+ /**
1369
+ * Layout card controller
1370
+ */
1371
+ interface IBaseCardController {
1372
+ /**
1373
+ * HTTP: /Card/SetWasRead
1374
+ */
1375
+ setWasRead(request: GenModels.WasReadRequest, options?: RequestOptions): Promise<string>;
1376
+ }
1377
+ class BaseCardController extends BaseController implements IBaseCardController {
1378
+ setWasRead(request: GenModels.WasReadRequest, options?: RequestOptions): Promise<string>;
1379
+ }
1380
+ }
1381
+ export declare type $BaseCardController = {
1382
+ baseCardController: GenControllers.IBaseCardController;
1383
+ };
1384
+ export declare const $BaseCardController: string | ((model?: $BaseCardController) => GenControllers.IBaseCardController);
1338
1385
  export declare namespace GenControllers {
1339
1386
  /**
1340
1387
  * Layout file controller