@docsvision/webclient 5.16.0-beta.4 → 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 (219) hide show
  1. package/Approval/AgreementHistoryImpl.d.ts +2 -0
  2. package/Approval/AgreementList.d.ts +2 -2
  3. package/Approval/AgreementListContent.d.ts +1 -0
  4. package/Approval/AgreementListImpl.d.ts +3 -0
  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/Address.d.ts +3 -2
  10. package/BackOffice/CardKind.d.ts +3 -2
  11. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  12. package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
  13. package/BackOffice/CreateWindow.d.ts +2 -1
  14. package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
  15. package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
  16. package/BackOffice/Department.d.ts +3 -2
  17. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  18. package/BackOffice/DepartmentImpl.d.ts +2 -0
  19. package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
  20. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  21. package/BackOffice/DirectoryValues.d.ts +0 -2
  22. package/BackOffice/EditTaskDescription.d.ts +2 -1
  23. package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
  24. package/BackOffice/EditTaskDuration.d.ts +2 -2
  25. package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
  26. package/BackOffice/EditWindow.d.ts +2 -1
  27. package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
  28. package/BackOffice/FileListControl.d.ts +5 -0
  29. package/BackOffice/FileListControlImpl.d.ts +10 -0
  30. package/BackOffice/FileListControlLogic.d.ts +1 -0
  31. package/BackOffice/FileListItemComponent.d.ts +5 -2
  32. package/BackOffice/FileRenamingDialog.d.ts +2 -2
  33. package/BackOffice/FileSignCreateDialog.d.ts +1 -2
  34. package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
  35. package/BackOffice/GetEmployeeGroups.d.ts +1 -0
  36. package/BackOffice/IFileMenuItem.d.ts +14 -0
  37. package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
  38. package/BackOffice/LinksImpl.d.ts +1 -0
  39. package/BackOffice/NumeratorImpl.d.ts +1 -1
  40. package/BackOffice/PartnerBase.d.ts +4 -3
  41. package/BackOffice/PartnerBaseImpl.d.ts +2 -0
  42. package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
  43. package/BackOffice/PartnerSelectDialog.d.ts +8 -1
  44. package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
  45. package/BackOffice/PrintButtonView.d.ts +1 -1
  46. package/BackOffice/SearchBar.d.ts +8 -3
  47. package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
  48. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  49. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  50. package/BackOffice/StaffDirectoryLogic.d.ts +2 -0
  51. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
  52. package/BackOffice/Tasks.d.ts +2 -1
  53. package/BackOffice/TasksTable.d.ts +2 -1
  54. package/BackOffice/TasksTableLogic.d.ts +4 -0
  55. package/BackOffice/TasksTableView.d.ts +3 -3
  56. package/BackOffice/TasksTree.d.ts +3 -1
  57. package/BackOffice/TasksTreeImpl.d.ts +3 -0
  58. package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
  59. package/BackOffice/UserProfile.d.ts +8 -5
  60. package/BackOffice/UserStatus.d.ts +5 -0
  61. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +13 -2
  62. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +10 -2
  63. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
  64. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  65. package/Generated/DocsVision.WebClient.Controllers.d.ts +52 -0
  66. package/Generated/DocsVision.WebClient.Models.d.ts +1158 -14
  67. package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
  68. package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
  69. package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
  70. package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
  71. package/Helpers/ModalDialog/CommonModalDialog.d.ts +8 -0
  72. package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
  73. package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
  74. package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
  75. package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
  76. package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
  77. package/Helpers/Sortable/Sortable.d.ts +1 -1
  78. package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
  79. package/Helpers/Table/TableHelperRow.d.ts +1 -0
  80. package/Legacy/ApprovalFilePanel.d.ts +1 -0
  81. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  82. package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
  83. package/Legacy/ModalWindow.d.ts +7 -2
  84. package/Legacy/ModalWindowParams.d.ts +6 -0
  85. package/Legacy/SelectFolderModalDialog.d.ts +2 -1
  86. package/Legacy/StandardControllers.d.ts +2 -2
  87. package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
  88. package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
  89. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -2
  90. package/MainBundle.d.ts +1 -0
  91. package/Platform/$CacheManagement.d.ts +3 -1
  92. package/Platform/$ContextMenuOptions.d.ts +17 -10
  93. package/Platform/$FolderDataLoading.d.ts +6 -1
  94. package/Platform/$FolderGrid.d.ts +15 -0
  95. package/Platform/$HoverPanel.d.ts +8 -0
  96. package/Platform/$TablePresentationToggle.d.ts +8 -0
  97. package/Platform/$UnreadCounter.d.ts +1 -1
  98. package/Platform/ArchivedCardsIcon.d.ts +5 -0
  99. package/Platform/ArchivedCardsPlugin.d.ts +3 -0
  100. package/Platform/ArchivedCardsResponseResolver.d.ts +22 -0
  101. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  102. package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
  103. package/Platform/CacheManagementService.d.ts +5 -0
  104. package/Platform/CalendarInput.d.ts +1 -1
  105. package/Platform/CardManagement.d.ts +2 -2
  106. package/Platform/CardManagementImpl.d.ts +1 -0
  107. package/Platform/ClearButton.d.ts +7 -5
  108. package/Platform/CommentFile.d.ts +4 -1
  109. package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
  110. package/Platform/ContextMenuOptionsService.d.ts +7 -4
  111. package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
  112. package/Platform/DateInput.d.ts +3 -13
  113. package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
  114. package/Platform/Dropdown.d.ts +5 -0
  115. package/Platform/DropdownImpl.d.ts +1 -0
  116. package/Platform/ExportPlugin.d.ts +0 -4
  117. package/Platform/FilePicker.d.ts +5 -2
  118. package/Platform/FilterDate.d.ts +11 -0
  119. package/Platform/FilterDateRangePicker.d.ts +6 -0
  120. package/Platform/FilterDateTextListInput.d.ts +5 -0
  121. package/Platform/FocusableTextInput.d.ts +3 -8
  122. package/Platform/Folder.d.ts +2 -1
  123. package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
  124. package/Platform/FolderContent.d.ts +2 -0
  125. package/Platform/FolderDataLoadingService.d.ts +8 -1
  126. package/Platform/FolderGrid.d.ts +8 -4
  127. package/Platform/FolderGrid.stories.d.ts +1 -0
  128. package/Platform/FolderGridConstants.d.ts +7 -0
  129. package/Platform/FolderGridService.d.ts +17 -4
  130. package/Platform/FolderImpl.d.ts +2 -0
  131. package/Platform/FolderMainMenuItem.d.ts +1 -1
  132. package/Platform/FolderSizePlugin.d.ts +4 -1
  133. package/Platform/FolderSizePluginExtendedData.d.ts +1 -1
  134. package/Platform/FolderTypeDialog.d.ts +1 -0
  135. package/Platform/FolderViewItemsImpl.d.ts +1 -1
  136. package/Platform/GroupingRequestResolver.d.ts +12 -0
  137. package/Platform/GroupingResponseResolver.d.ts +17 -0
  138. package/Platform/HoverPanelService.d.ts +5 -0
  139. package/Platform/IFilterComponent.d.ts +29 -0
  140. package/Platform/IFolderLoadRequest.d.ts +4 -0
  141. package/Platform/InputWithMask.d.ts +4 -3
  142. package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
  143. package/Platform/ListCheckbox.d.ts +6 -0
  144. package/Platform/ListContent.d.ts +8 -0
  145. package/Platform/ListContentHightlight.d.ts +9 -0
  146. package/Platform/ListEmpty.d.ts +6 -0
  147. package/Platform/ListEmptySearchIcon.d.ts +6 -0
  148. package/Platform/ListInput.d.ts +9 -0
  149. package/Platform/ListItem.d.ts +6 -0
  150. package/Platform/ListLoading.d.ts +6 -0
  151. package/Platform/ListSearchIcon.d.ts +6 -0
  152. package/Platform/ListSlot.d.ts +7 -0
  153. package/Platform/ListTotalItem.d.ts +8 -0
  154. package/Platform/ListViewResponseResolver.d.ts +13 -0
  155. package/Platform/LoaderDialog.d.ts +1 -1
  156. package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
  157. package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
  158. package/Platform/ReadAllPlugin.d.ts +3 -5
  159. package/Platform/ReadBatchOperation.d.ts +2 -2
  160. package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
  161. package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
  162. package/Platform/RecentCardsRouteHandler.d.ts +2 -1
  163. package/Platform/RefreshPlugin.d.ts +0 -4
  164. package/Platform/ResetSettingsPlugin.d.ts +2 -5
  165. package/Platform/ScanDialogService.d.ts +2 -1
  166. package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
  167. package/Platform/SearchRouteHandler.d.ts +2 -1
  168. package/Platform/SearchTextInput.d.ts +6 -0
  169. package/Platform/SearchingResultsImpl.d.ts +1 -1
  170. package/Platform/SecurityDescriptorDialog.d.ts +3 -3
  171. package/Platform/SecurityDialogFrame.d.ts +2 -1
  172. package/Platform/SettingsPlugin.d.ts +3 -5
  173. package/Platform/SettingsPopup.d.ts +2 -1
  174. package/Platform/SettingsPopup.stories.d.ts +1 -0
  175. package/Platform/SettingsPopupExtendedData.d.ts +2 -2
  176. package/Platform/SettingsPopupLogic.d.ts +7 -1
  177. package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
  178. package/Platform/ShowAllButton.d.ts +14 -0
  179. package/Platform/ShowAllPlugins.d.ts +3 -0
  180. package/Platform/Table.d.ts +4 -4
  181. package/Platform/TableCellNumberFormattedPlugin.d.ts +3 -0
  182. package/Platform/TableCreateRowWindow.d.ts +2 -1
  183. package/Platform/TableEditRowWindow.d.ts +2 -1
  184. package/Platform/TableImpl.d.ts +2 -2
  185. package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
  186. package/Platform/TablePresentationToggleService.d.ts +8 -0
  187. package/Platform/TextListInput.d.ts +6 -0
  188. package/Platform/TextListInputLogic.d.ts +55 -0
  189. package/Platform/TextListInputView.d.ts +40 -0
  190. package/Platform/TextListInputWrapper.d.ts +7 -0
  191. package/Platform/UnreadBarTablePlugins.d.ts +3 -0
  192. package/Platform/UserProfileDialog.d.ts +1 -1
  193. package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
  194. package/Platform/WebFrameSearchPanel.d.ts +4 -2
  195. package/Platform/applyCurrentSettings.d.ts +7 -1
  196. package/Platform/index.d.ts +0 -4
  197. package/Platform/setColumnsSettings.d.ts +6 -0
  198. package/Platform/updateValueCheckedColumn.d.ts +5 -1
  199. package/StandardServices.d.ts +2 -2
  200. package/System/BaseControl.d.ts +8 -0
  201. package/System/CancelableEvent.d.ts +1 -1
  202. package/System/ControlTemplateView.d.ts +1 -1
  203. package/System/DateTimeUtils.d.ts +2 -0
  204. package/System/DirectoryBaseImpl.d.ts +5 -1
  205. package/System/DirectorySelectDialog.d.ts +9 -2
  206. package/System/IValidateEventArgs.d.ts +9 -0
  207. package/System/IValidationResult.d.ts +4 -0
  208. package/System/Layout.d.ts +3 -3
  209. package/System/LayoutCardControllerStub.d.ts +2 -0
  210. package/System/LayoutContainer.d.ts +1 -1
  211. package/System/LocationContainerControl.d.ts +2 -1
  212. package/System/MessageBoxService.d.ts +1 -1
  213. package/System/PageLeaveConfirmation.d.ts +1 -0
  214. package/System/ResourcesStub.d.ts +603 -68
  215. package/System/summernote-paste-without-formating.d.ts +10 -0
  216. package/package.json +1 -1
  217. package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
  218. package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
  219. package/Platform/GridConstants.d.ts +0 -4
@@ -11,6 +11,7 @@ export interface AgreementHistoryState extends BaseControlState, AgreementHistor
11
11
  dialog: ModalHost;
12
12
  isHistoryDataReceived: boolean;
13
13
  loading: boolean;
14
+ maximized: boolean;
14
15
  lastLoadedData: GenModels.ApprovalHistoryViewModel;
15
16
  }
16
17
  /** @internal */
@@ -27,6 +28,7 @@ export declare class AgreementHistoryImpl extends BaseControlImpl<AgreementHisto
27
28
  /** Показать отчёт. */
28
29
  showReport(): void;
29
30
  private closeDialog;
31
+ private onMaximize;
30
32
  /** Скрыть отчёт. */
31
33
  hideReport(): void;
32
34
  /** Можно ли показать отчёт. */
@@ -3,7 +3,7 @@ import { IAgreementListReportOpenedEventArgs } from "@docsvision/webclient/Appro
3
3
  import { IAgreementListReportOpeningEventArgs } from "@docsvision/webclient/Approval/IAgreementListReportOpeningEventArgs";
4
4
  import { $LayoutAgreementController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
5
5
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
6
- import { $SiteUrl } from "@docsvision/webclient/StandardServices";
6
+ import { $DeviceType, $SiteUrl, $IsIE } from "@docsvision/webclient/StandardServices";
7
7
  import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
8
8
  import { $CardId, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
9
9
  import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
@@ -37,7 +37,7 @@ export declare class AgreementListParams extends BaseControlParams {
37
37
  agreementReportOpened?: BasicApiEvent<IAgreementListReportOpenedEventArgs>;
38
38
  /** События возникает после закрытия окна листа согласования. */
39
39
  agreementReportClosed?: BasicApiEvent<IEventArgs>;
40
- services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl>;
40
+ services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl> & $DeviceType & $IsIE;
41
41
  }
42
42
  /**
43
43
  * Класс элемента управления Лист согласования.
@@ -20,6 +20,7 @@ export declare class AgreementListContent extends React.Component<IAgreementList
20
20
  protected renderTable(columnsParam: IAgreementListTableColumn[]): JSX.Element;
21
21
  protected renderHeader(columns: IAgreementListTableColumn[]): JSX.Element;
22
22
  protected renderRow(item: GenModels.AgreementListItemModel, columns: IAgreementListTableColumn[]): JSX.Element;
23
+ getWidthStyle(width: string): React.CSSProperties;
23
24
  protected getCaption(): string;
24
25
  render(): JSX.Element;
25
26
  }
@@ -11,6 +11,8 @@ export interface AgreementListState extends AgreementListParams, BaseControlStat
11
11
  loading: boolean;
12
12
  dialog: ModalWindow;
13
13
  lastLoadedData: GenModels.AgreementListModel;
14
+ /** Развернуто ли модальное окно */
15
+ maximized?: boolean;
14
16
  }
15
17
  /** @internal */
16
18
  export declare type AgreementListImplState = AgreementListState;
@@ -22,6 +24,7 @@ export declare class AgreementListImpl extends BaseControlImpl<AgreementListPara
22
24
  getCssClass(): string;
23
25
  showReport(): void;
24
26
  hideReport(): void;
27
+ onMaximize(): void;
25
28
  showModalWindow(data: GenModels.AgreementListModel): void;
26
29
  renderControl(): JSX.Element;
27
30
  }
@@ -1,8 +1,10 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { $IsIE } from "@docsvision/webclient/StandardServices";
2
3
  /** @internal */
3
4
  export interface IAgreementListContentProps {
4
5
  data: GenModels.AgreementListModel;
5
6
  documentNumber: string;
6
7
  documentName: string;
7
8
  title: string;
9
+ services: $IsIE;
8
10
  }
@@ -1,11 +1,12 @@
1
1
  import { DirectorySearchFilters, NomenclatureSearchFilters } from "@docsvision/webclient/BackOffice/Index";
2
2
  export declare type SearchFilters = DirectorySearchFilters | NomenclatureSearchFilters;
3
+ export interface ISearchFilterEntry {
4
+ key: SearchFilters;
5
+ value: string;
6
+ }
3
7
  export interface IDirectorySearchInfo {
4
8
  directoryTypeId: string;
5
- searchFilters: Array<{
6
- key: SearchFilters;
7
- value: string;
8
- }>;
9
+ searchFilters: Array<ISearchFilterEntry>;
9
10
  getSearchPlaceholder: (searchFilterKey: SearchFilters) => string;
10
11
  }
11
12
  interface IDirectorySearchInfoMap {
@@ -13,6 +13,8 @@ export interface IWebFrameDirectorySearchPanelService {
13
13
  setActivity: Event<boolean>;
14
14
  /** Событие начала поиска в справочнике */
15
15
  startSearch: Event<ISearchRequest>;
16
+ /** Событие очистки поисковой формы */
17
+ clearSearch: Event<void>;
16
18
  }
17
19
  export declare type $WebFrameDirectorySearchPanelService = {
18
20
  webFrameDirectorySearchPanelService: IWebFrameDirectorySearchPanelService;
@@ -1,2 +1,3 @@
1
1
  import { ITableData } from "@docsvision/web/components/table/interfaces";
2
+ export declare const ICON_COLUMN_WIDTH = 50;
2
3
  export declare function addEmployeeColumn(data: ITableData, removeIcon?: boolean): void;
@@ -1,5 +1,6 @@
1
1
  import { AddressImpl, AddressState } from '@docsvision/webclient/BackOffice/AddressImpl';
2
2
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
3
4
  import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
4
5
  import { $Layout } from '@docsvision/webclient/System/$Layout';
5
6
  import { $CardId, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
@@ -12,7 +13,7 @@ export declare class AddressParams extends InputBasedControlParams<GenModels.Add
12
13
  standardCssClass?: string;
13
14
  /** Режим представления данных в элементе управления. */
14
15
  addressType?: number;
15
- services?: $LayoutInfo & $CardId & $Layout & $EditOperationStore;
16
+ services?: $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
16
17
  }
17
18
  /**
18
19
  * Класс элемента управления Адрес.
@@ -20,7 +21,7 @@ export declare class AddressParams extends InputBasedControlParams<GenModels.Add
20
21
  */
21
22
  export declare class Address extends InputBasedControl<GenModels.AddressModel, AddressParams, AddressState> {
22
23
  protected createParams(): AddressParams;
23
- protected getServices(): $LayoutInfo & $CardId & $Layout & $EditOperationStore;
24
+ protected getServices(): $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
24
25
  /** @internal */
25
26
  protected createImpl(): AddressImpl;
26
27
  private set setBinding(value);
@@ -1,6 +1,7 @@
1
1
  import { CardKindImpl, CardKindState } from "@docsvision/webclient/BackOffice/CardKindImpl";
2
2
  import { $LayoutCardKindController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
4
5
  import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
5
6
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
6
7
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
@@ -20,7 +21,7 @@ export declare class CardKindParams extends InputBasedControlParams<GenModels.Ca
20
21
  /** Список видов карточек, доступных для выбора (по умолчанию все виды доступны). */
21
22
  availableKinds?: string[];
22
23
  /** Сервисы. */
23
- services?: $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Optional<$LabelWidth>;
24
+ services?: $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Optional<$LabelWidth> & $DeviceType;
24
25
  }
25
26
  /**
26
27
  * Класс элемента управления Вид карточки.
@@ -29,7 +30,7 @@ export declare class CardKindParams extends InputBasedControlParams<GenModels.Ca
29
30
  */
30
31
  export declare class CardKind extends InputBasedControl<GenModels.CardKindModel, CardKindParams, CardKindState> {
31
32
  protected createParams(): CardKindParams;
32
- protected getServices(): $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Partial<$LabelWidth>;
33
+ protected getServices(): $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Partial<$LabelWidth> & $DeviceType;
33
34
  protected createImpl(): CardKindImpl;
34
35
  protected getBindings(): IBindingResult<any>[];
35
36
  private set cardKindData(value);
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, St
37
37
  unselectAll(): Promise<void>;
38
38
  protected HeaderCell:
39
39
  import("styled-components").StyledComponent<(props:
40
- import("C:/Dev/WebCB/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
40
+ import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
41
41
  protected TaskStatus:
42
42
  import("styled-components").StyledComponent<"a", any, {}, never>;
43
43
  protected SelectableCell:
44
44
  import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
45
- import("C:/Dev/WebCB/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
45
+ import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
46
46
  selected: boolean;
47
47
  }, never>;
48
48
  protected FileCell:
49
49
  import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
50
- import("C:/Dev/WebCB/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
50
+ import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
51
51
  selected: boolean;
52
52
  }, never>;
53
53
  protected SelectAllCheckboxLabel:
@@ -1,11 +1,13 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
2
  import { ISortableItem } from '@docsvision/webclient/Helpers/Sortable/Data/ClientModels/ISortableItem';
3
3
  import React from 'react';
4
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
4
5
  export interface Props {
5
6
  linkColumns: GenModels.LinksColumnsConfiguration;
6
7
  defaultLinkColumns: GenModels.LinksColumnsConfiguration;
7
8
  onAccept: (linkColumns: GenModels.LinksColumnsConfiguration) => void;
8
9
  onCancel: () => void;
10
+ services: $DeviceType;
9
11
  }
10
12
  export interface State {
11
13
  order: string[];
@@ -1,4 +1,5 @@
1
1
  import { $DepartmentController, $LayoutRowController, $LayoutStaffController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
3
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
4
- export declare function showCreateWindow(itemType: GenModels.PartnerItemType, parentItem: GenModels.DepartmentModel, selectedFilterPath: GenModels.DepartmentModel[] | null, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<GenModels.DepartmentModel | GenModels.EmployeeDataModel>;
4
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
5
+ export declare function showCreateWindow(itemType: GenModels.PartnerItemType, parentItem: GenModels.DepartmentModel, selectedFilterPath: GenModels.DepartmentModel[] | null, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<GenModels.DepartmentModel | GenModels.EmployeeDataModel>;
@@ -2,6 +2,7 @@ import { DeleteShortcutBatchOperationImpl, DeleteShortcutBatchOperationState } f
2
2
  import { $LayoutFolderController, $LayoutCardController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  import { $CheckBoxServices } from "@docsvision/webclient/Platform/CheckBox";
4
4
  import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
5
+ import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
5
6
  import { $BatchOperations } from "@docsvision/webclient/Platform/$BatchOperations";
6
7
  import { $BatchOperationsPerformer } from "@docsvision/webclient/Platform/$BatchOperationsPerformer";
7
8
  import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagement";
@@ -14,7 +15,7 @@ export declare class DeleteShortcutBatchOperationParams extends BaseControlParam
14
15
  standardCssClass?: string;
15
16
  /** Текст кнопки операции. */
16
17
  buttonText?: string;
17
- services?: $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $TableRowSelection & $CheckBoxServices & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
18
+ services?: $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $TableRowSelection & $CheckBoxServices & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
18
19
  }
19
20
  export declare class DeleteShortcutBatchOperation extends BaseControl<DeleteShortcutBatchOperationParams, DeleteShortcutBatchOperationState> {
20
21
  /** @notest @internal */
@@ -14,6 +14,7 @@ export declare class DeleteShortcutBatchOperationImpl extends BaseControlImpl<De
14
14
  protected onDeleteClick(): void;
15
15
  private deleteShortcuts;
16
16
  isVisible(): boolean;
17
+ getCssClass(): string;
17
18
  private getButtonText;
18
19
  protected renderControl(): JSX.Element;
19
20
  }
@@ -1,6 +1,7 @@
1
1
  import { DepartmentImpl, DepartmentState } from "@docsvision/webclient/BackOffice/DepartmentImpl";
2
2
  import { $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
4
5
  import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
5
6
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
6
7
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
@@ -22,7 +23,7 @@ export declare class DepartmentParams extends InputBasedControlParams<GenModels.
22
23
  dialogMode?: GenModels.DepartmentDialogMode;
23
24
  /** Задержка перед поиском (в мс) */
24
25
  searchDelay?: number;
25
- services?: $LayoutStaffController & $EditOperationStore & $LayoutInfo;
26
+ services?: $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
26
27
  }
27
28
  /**
28
29
  * Класс элемента управления Подразделение.
@@ -32,7 +33,7 @@ export declare class DepartmentParams extends InputBasedControlParams<GenModels.
32
33
  export declare class Department extends InputBasedControl<GenModels.DepartmentModel, DepartmentParams, DepartmentState> {
33
34
  protected createParams(): DepartmentParams;
34
35
  private get departmentImpl();
35
- protected getServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo;
36
+ protected getServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
36
37
  private set DepartmentBinding(value);
37
38
  /** Показано ли модальное окно выбора организации/подразделения. */
38
39
  get isDictionaryShown(): boolean;
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
6
6
  import("styled-components").StyledComponent<any, any, object, string>;
7
7
  export declare const Item:
8
8
  import("styled-components").StyledComponent<(props:
9
- import("C:/Dev/WebCB/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
9
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
10
10
  export declare const ReadonlyLinkItemView:
11
11
  import("styled-components").StyledComponent<any, any, object, string>;
@@ -23,6 +23,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
23
23
  static NextPageSize: number;
24
24
  private typeahead;
25
25
  private dialogHost;
26
+ private maximized?;
26
27
  constructor(props: DepartmentParams, state: DepartmentState);
27
28
  componentDidUpdate(): void;
28
29
  protected get source(): GenModels.DepartmentDataSource;
@@ -42,6 +43,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
42
43
  protected onDirectoryDialogSelectButtonClick(): void;
43
44
  protected onInputChange(event: any): void;
44
45
  private afterOpenCallback;
46
+ private onMaximize;
45
47
  get isDictionaryShown(): boolean;
46
48
  protected renderDialog: () => JSX.Element;
47
49
  protected renderInputWithPlaceholder(): React.ReactNode;
@@ -1,6 +1,7 @@
1
1
  import { DirectoryDesignerRowImpl, DirectoryDesignerRowState } from "@docsvision/webclient/BackOffice/DirectoryDesignerRowImpl";
2
2
  import { $LayoutDirectoryDesignerController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
4
5
  import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
5
6
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
6
7
  import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
@@ -25,7 +26,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
25
26
  selectionArea?: GenModels.DirectoryDesignerSearchArea;
26
27
  /** Задержка перед поиском (в мс) */
27
28
  searchDelay?: number;
28
- services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
29
+ services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
29
30
  /** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
30
31
  directoryWindowOpening?: CancelableApiEvent<void>;
31
32
  /** Событие, возникающее после открытия модального окна для выбора контрагентов. */
@@ -43,7 +44,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
43
44
  export declare class DirectoryDesignerRow extends InputBasedControl<GenModels.DirectoryDesignerRowModel, DirectoryDesignerRowParams, DirectoryDesignerRowState> {
44
45
  private get departmentImpl();
45
46
  protected createParams(): DirectoryDesignerRowParams;
46
- protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
47
+ protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
47
48
  private set DirectoryDesignerRowBinding(value);
48
49
  private set DefaultBindingHandler(value);
49
50
  protected set defaultValue(value: GenModels.DirectoryDesignerRowModel);
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
13
13
  import("./components/DirectorySearchContent").IDirectorySearchContentProps, "data" | "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "opened" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "renderContent"> &
14
14
  import("react").RefAttributes<unknown>>;
15
15
  iconButton: (props:
16
- import("C:/Dev/WebCB/Helpers/IconButton").IIconButtonProps) => JSX.Element;
16
+ import("C:/dev/WebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
17
17
  searchResultList: typeof DirectorySearchResultList;
18
18
  searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
19
19
  searchInfo: typeof DirectorySearchInfo;
@@ -15,7 +15,6 @@ import { Optional } from "@docsvision/web/core/services";
15
15
  import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
16
16
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
17
17
  import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
18
- import { DirectoryValuesHScrollContainer } from "@docsvision/webclient/BackOffice/DirectoryValuesHScrollContainer";
19
18
  import { $SelectionRow } from "@docsvision/webclient/BackOffice/$SelectionRow";
20
19
  /** @internal */
21
20
  export interface DirectoryValuesProps extends Omit<TableCompositionProps, "data">, IComponentProps<DirectoryValuesLogic, DirectoryValuesView> {
@@ -37,7 +36,6 @@ export interface DirectoryValuesProps extends Omit<TableCompositionProps, "data"
37
36
  export declare class DirectoryValuesView {
38
37
  wrapper: typeof DirectoryValuesWrapper;
39
38
  container: typeof DirectoryValuesContainer;
40
- horizontalScroll: typeof DirectoryValuesHScrollContainer;
41
39
  valuesAddButton: typeof DirectoryValuesAddButton;
42
40
  composition: (props: TableCompositionProps) => JSX.Element;
43
41
  rowIcon: typeof DirectoryValuesIcon;
@@ -2,9 +2,10 @@ import { TaskGroupInterval } from '@docsvision/webclient/BackOffice/TaskGroupInt
2
2
  import { ITaskDescriptionDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDescriptionDialogManagement';
3
3
  import { Optional } from '@docsvision/web/core/services';
4
4
  import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
5
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
5
6
  export declare class EditTaskDescription {
6
7
  private onTaskDescriptionChanged;
7
8
  private services?;
8
- constructor(onTaskDescriptionChanged: (task: TaskGroupInterval, newDescription: string) => Promise<void>, services?: Optional<$RootCssClass>);
9
+ constructor(onTaskDescriptionChanged: (task: TaskGroupInterval, newDescription: string) => Promise<void>, services?: Optional<$RootCssClass> & $DeviceType);
9
10
  showEditDialog: (task: TaskGroupInterval) => Promise<ITaskDescriptionDialogManagement>;
10
11
  }
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { ITaskDescriptionDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDescriptionDialogManagement';
3
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
3
4
  export interface IEditTaskDescriptionDialogProps {
4
5
  isOpen: boolean;
5
6
  text: string;
6
7
  management: ITaskDescriptionDialogManagement;
7
8
  onAccept: (newText: string) => void;
8
9
  onCancel: () => void;
10
+ services: $DeviceType;
9
11
  }
10
12
  export declare const EditTaskDescriptionDialog: (props: IEditTaskDescriptionDialogProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
2
  import { StateAccessor } from '@docsvision/webclient/System/StateAccessor';
3
3
  import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
4
- import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
4
+ import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
5
5
  import { TaskGroupInterval } from '@docsvision/webclient/BackOffice/TaskGroupIntervalModel';
6
6
  import { ITaskDurationDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDurationDialogManagement';
7
7
  import { Optional } from '@docsvision/web/core/services';
@@ -13,6 +13,6 @@ export declare class EditTaskDuration {
13
13
  private executionType;
14
14
  private taskGroupDurationSpecified;
15
15
  private services;
16
- constructor(onTaskDurationChanged: (task: TaskGroupInterval, startDate: Date, endDate: Date, duration: number) => void, useBusinessCalendar: () => boolean, getBusinessCalendarSources: (task: TaskGroupInterval) => GenModels.BusinessCalendarSource[], executionType: StateAccessor<GenModels.ExecutionType>, taskGroupDurationSpecified: () => boolean, services: $MessageBox & $ApplicationSettings & Optional<$RootCssClass>);
16
+ constructor(onTaskDurationChanged: (task: TaskGroupInterval, startDate: Date, endDate: Date, duration: number) => void, useBusinessCalendar: () => boolean, getBusinessCalendarSources: (task: TaskGroupInterval) => GenModels.BusinessCalendarSource[], executionType: StateAccessor<GenModels.ExecutionType>, taskGroupDurationSpecified: () => boolean, services: $MessageBox & $ApplicationSettings & Optional<$RootCssClass> & $DeviceType);
17
17
  showEditDialog: (task: TaskGroupInterval) => Promise<ITaskDurationDialogManagement>;
18
18
  }
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
3
  import { ITaskDurationDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDurationDialogManagement';
4
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
4
5
  export interface IEditTaskDurationDialogProps {
5
6
  isOpen: boolean;
6
7
  startDate: Date;
@@ -15,6 +16,6 @@ export interface IEditTaskDurationDialogProps {
15
16
  onCancel: () => void;
16
17
  gettingDuration: () => void;
17
18
  gotDuration: () => void;
18
- services: any;
19
+ services: $DeviceType;
19
20
  }
20
21
  export declare const EditTaskDurationDialog: (props: IEditTaskDurationDialogProps) => JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
3
4
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
4
- export declare function showEditWindow(item: GenModels.PartnerDirectoryItem, selectedFilterPath: GenModels.DepartmentModel[], services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<unknown>;
5
+ export declare function showEditWindow(item: GenModels.PartnerDirectoryItem, selectedFilterPath: GenModels.DepartmentModel[], services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<unknown>;
@@ -8,31 +8,39 @@ import { $LinksSearchCards } from '@docsvision/webclient/BackOffice/$LinksSearch
8
8
  import { Optional } from '@docsvision/web/core/services';
9
9
  import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
10
10
  import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
11
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
11
12
  export interface Props {
12
13
  onClose: Function;
13
14
  onAddExistingCardLink: Function;
14
15
  onAddedExistingCardLink: Function;
15
- services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards>;
16
+ services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType;
16
17
  linkTypeEditable?: boolean;
18
+ /** Существует ли кнопка развертывания */
19
+ maximizeButtonEnabled?: boolean;
20
+ /** Вызывается при попытке развернуть окно */
21
+ onMaximize?: () => void;
17
22
  }
18
23
  interface State {
19
24
  layout: ILayout;
20
25
  savingState: LoadingState;
21
- services: $LinksSearchCards;
26
+ services: $LinksSearchCards & $DeviceType;
27
+ /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
28
+ maximized: boolean;
22
29
  }
23
30
  export declare class ExistingCardLinkDialog extends React.Component<Props, State> implements IDialog {
24
31
  static ExistingCardLinkSearchLayout: string;
25
32
  private layoutRoot;
26
33
  constructor(props: any);
27
- static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards>, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
34
+ static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
28
35
  componentDidMount(): void;
29
36
  loadLayout(): Promise<void>;
30
37
  private onCancel;
31
38
  private attachRoot;
32
39
  DialogBox:
33
40
  import("styled-components").StyledComponent<(props:
34
- import("C:/Dev/WebCB/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
41
+ import("C:/dev/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
35
42
  close(): void;
43
+ onMaximize: () => void;
36
44
  render(): JSX.Element;
37
45
  }
38
46
  export {};
@@ -47,6 +47,7 @@ import { IFileSignUploadingArgs } from '@docsvision/webclient/BackOffice/IFileSi
47
47
  import { $UrlStore } from "@docsvision/webclient/System/$UrlStore";
48
48
  import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
49
49
  import { $FileUpload } from "@docsvision/webclient/Platform/IFileUploadService";
50
+ import { IFileMenuOpeningArgs } from "@docsvision/webclient/BackOffice/IFileMenuOpeningArgs";
50
51
  /**
51
52
  * Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
52
53
  */
@@ -128,6 +129,8 @@ export declare class FileListControlParams extends BaseControlParams {
128
129
  filePreviewing?: CancelableApiEvent<IFilePreviewingArgs>;
129
130
  /** Событие возникает перед отображением визуализации файла. */
130
131
  fileVisualizing?: CancelableApiEvent<IFileVisualizingArgs>;
132
+ /** Событие возникает при открытии меню файла. */
133
+ fileMenuOpening?: CancelableApiEvent<IFileMenuOpeningArgs>;
131
134
  /** Событие возникает после удаления основного файла. */
132
135
  mainFileDeleted?: BasicApiEvent<IMainFileDeletedArgs>;
133
136
  /** Событие возникает после удаления дополнительного файла. */
@@ -164,6 +167,8 @@ export declare class FileListControlParams extends BaseControlParams {
164
167
  collapsed?: BasicApiEvent<IEventArgs>;
165
168
  /** Событие возникает при разворачивании контрола. */
166
169
  expanded?: BasicApiEvent<IEventArgs>;
170
+ /** Событие возникает при сохранении файла в WebDAV. */
171
+ fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
167
172
  /** Сервисы. */
168
173
  services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $LayoutInfo & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController;
169
174
  }
@@ -23,9 +23,18 @@ export interface FileListControlState extends BaseControlImplState, FileListCont
23
23
  childCommandBarExpanded: boolean;
24
24
  }
25
25
  export declare type FileListImplState = FileListControlState;
26
+ export declare const WEB_DAV_FILE_CLOSED_MESSAGE_TYPE = "FileClosed";
27
+ export declare const WEB_DAV_FILE_OPENED_FOR_READING_MESSAGE_TYPE = "FileOpenForReading";
28
+ export declare const WEB_DAV_FILE_OPENED_FOR_EDITING_MESSAGE_TYPE = "FileOpenForWriting";
29
+ export declare const WEB_DAV_FILE_CHANGED_AND_SAVED_MESSAGE_TYPE = "NewFileVersionAdded";
26
30
  export interface ICardChangedByWebDavMessage {
27
31
  OwnerCardId: string;
28
32
  }
33
+ export interface ICardOpenedByWebDavMessage {
34
+ CardId: string;
35
+ FileId: string;
36
+ FileName: string;
37
+ }
29
38
  /** @internal */
30
39
  export declare class FileListControlImpl extends BaseControlImpl<FileListControlParams, FileListControlState> {
31
40
  mainAttach: FileListAttachedElements;
@@ -51,6 +60,7 @@ export declare class FileListControlImpl extends BaseControlImpl<FileListControl
51
60
  init(): Promise<void>;
52
61
  registerFilesInService(files: FileListItem[]): void;
53
62
  protected onDocumentChangedByWebdav(msg: IRealTimeCommunicationMessage<ICardChangedByWebDavMessage>): void;
63
+ protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
54
64
  protected getCssClass(): string;
55
65
  get isEditMode(): boolean;
56
66
  protected getFilesSignInfo(): IFileSignInfo[];
@@ -48,6 +48,7 @@ export declare class FileListControlLogic {
48
48
  reloadFiles(): Promise<void>;
49
49
  protected updateVersionsOnLoad(): void;
50
50
  closeAllMenusBut(fileItem: FileListItem): void;
51
+ fileMenuOpening(fileItem: FileListItem, data: any): Promise<any>;
51
52
  removeFileItem(index: number): void;
52
53
  clearFileItems(): void;
53
54
  protected get state(): FileListImplState;
@@ -5,6 +5,7 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
5
5
  import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
6
6
  import React from "react";
7
7
  import "@docsvision/webclient/Helpers/DragAndDrop/DraggableMobilePolyfill";
8
+ import { IFileMenuItem } from "@docsvision/webclient/BackOffice/IFileMenuItem";
8
9
  /** @internal */
9
10
  export declare class FileListItemComponent extends React.Component<FileListItemProps, any> {
10
11
  protected fileCommentWindowCloser: () => void;
@@ -14,6 +15,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
14
15
  viewWithSigantureAction: string;
15
16
  versionsRequestHelper: RequestHelper;
16
17
  childVersionsLoaded: boolean;
18
+ menuItems: any;
17
19
  constructor(props: FileListItemProps);
18
20
  componentWillUnmount(): void;
19
21
  canRead(fileItem: FileListItem): boolean;
@@ -27,7 +29,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
27
29
  onLockOperationClick(fileItem: FileListItem): void;
28
30
  onUnlockOperationClick(fileItem: FileListItem): void;
29
31
  protected onDeleteOperationClick(fileItem: FileListItem): void;
30
- protected onFileMenuClick(fileItem: FileListItem): void;
32
+ protected onFileMenuClick(fileItem: FileListItem): Promise<void>;
31
33
  protected onDownloadOperationClick(fileItem: FileListItem): void;
32
34
  protected onViewWithSignaturesClick(fileItem: FileListItem): void;
33
35
  onAddCommentClick(fileItem: FileListItem): void;
@@ -44,7 +46,8 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
44
46
  protected renderVersionList(fileItem: FileListItem): JSX.Element;
45
47
  protected getLoaderWidth(i: number): number;
46
48
  protected renderEditMode(): JSX.Element;
47
- protected renderMenuItems(fileItem: FileListItem): React.ReactNode[];
49
+ protected createMenuItemsList(fileItem: FileListItem): IFileMenuItem[];
50
+ protected renderMenuItems(menuItems: any): any;
48
51
  onUploadSignedFileClick(e: React.MouseEvent, fileItem: FileListItem): void;
49
52
  onRenameFileClick(ev: any, fileItem: FileListItem): void;
50
53
  protected renderViewModeFileMenu(fileItem: FileListItem): JSX.Element;
@@ -4,11 +4,11 @@ import { $CardId } from '@docsvision/webclient/System/LayoutServices';
4
4
  import { $LayoutFileController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
5
5
  import { $FileService } from '@docsvision/webclient/System/$FileService';
6
6
  import { FileListControlLogic } from '@docsvision/webclient/BackOffice/FileListControlLogic';
7
- import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
7
+ import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
8
8
  export interface Props {
9
9
  onClose: () => void;
10
10
  fileItem: FileListItem;
11
- services: $CardId & $LayoutFileController & $FileService & $ApplicationSettings;
11
+ services: $CardId & $LayoutFileController & $FileService & $ApplicationSettings & $DeviceType;
12
12
  logic: FileListControlLogic;
13
13
  }
14
14
  export interface State {
@@ -2,7 +2,6 @@ import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/Cl
2
2
  import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
3
3
  import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
4
4
  import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
5
- import { IFilePreviewModel } from "@docsvision/webclient/Legacy/IFilePreviewModel";
6
5
  import { LoadingState } from "@docsvision/webclient/System/LoadingState";
7
6
  import { ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
8
7
  import React from "react";
@@ -62,7 +61,7 @@ export declare class FileSignCreateDialog extends React.Component<IFileSignCreat
62
61
  isSimpleSign: () => boolean;
63
62
  checkIsCertificateExist: () => Promise<boolean>;
64
63
  /** Обновляет список доступных меток для подписи. */
65
- updateLabels: () => Promise<IFilePreviewModel>;
64
+ updateLabels: () => Promise<void>;
66
65
  /** При изменении варианта подписания подписи. */
67
66
  protected onModeChange: (selectedElement: IComboBoxElement) => void;
68
67
  /** Получить отформатированный список меток для комбобокса. */