@docsvision/webclient 5.17.0-beta.4 → 5.17.0-beta.8

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 (134) hide show
  1. package/Approval/AgreementHistoryImpl.d.ts +2 -0
  2. package/Approval/AgreementList.d.ts +2 -2
  3. package/Approval/AgreementListImpl.d.ts +3 -0
  4. package/BackOffice/Address.d.ts +3 -2
  5. package/BackOffice/CardKind.d.ts +3 -2
  6. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  7. package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
  8. package/BackOffice/CreateWindow.d.ts +2 -1
  9. package/BackOffice/Department.d.ts +3 -2
  10. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  11. package/BackOffice/DepartmentImpl.d.ts +2 -0
  12. package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
  13. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  14. package/BackOffice/EditTaskDescription.d.ts +2 -1
  15. package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
  16. package/BackOffice/EditTaskDuration.d.ts +2 -2
  17. package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
  18. package/BackOffice/EditWindow.d.ts +2 -1
  19. package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
  20. package/BackOffice/FileRenamingDialog.d.ts +2 -2
  21. package/BackOffice/PartnerBase.d.ts +4 -3
  22. package/BackOffice/PartnerBaseImpl.d.ts +2 -0
  23. package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
  24. package/BackOffice/PartnerSelectDialog.d.ts +8 -1
  25. package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
  26. package/BackOffice/PrintButtonView.d.ts +1 -1
  27. package/BackOffice/SearchBar.d.ts +4 -0
  28. package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
  29. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  30. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  31. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +3 -2
  32. package/BackOffice/Tasks.d.ts +2 -1
  33. package/BackOffice/TasksTableLogic.d.ts +4 -0
  34. package/BackOffice/TasksTableView.d.ts +3 -3
  35. package/BackOffice/TasksTree.d.ts +2 -1
  36. package/BackOffice/TasksTreeImpl.d.ts +3 -0
  37. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
  38. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
  39. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  40. package/Generated/DocsVision.WebClient.Controllers.d.ts +6 -1
  41. package/Generated/DocsVision.WebClient.Models.d.ts +102 -9
  42. package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
  43. package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
  44. package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
  45. package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
  46. package/Helpers/ModalDialog/CommonModalDialog.d.ts +3 -1
  47. package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
  48. package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
  49. package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
  50. package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
  51. package/Legacy/ApprovalFilePanel.d.ts +1 -0
  52. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  53. package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
  54. package/Legacy/ModalWindow.d.ts +7 -2
  55. package/Legacy/ModalWindowParams.d.ts +6 -0
  56. package/Legacy/SelectFolderModalDialog.d.ts +2 -1
  57. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
  58. package/Platform/$ContextMenuOptions.d.ts +1 -0
  59. package/Platform/$FolderDataLoading.d.ts +3 -1
  60. package/Platform/$FolderGrid.d.ts +7 -0
  61. package/Platform/$TablePresentationToggle.d.ts +8 -0
  62. package/Platform/ArchivedCardsIcon.d.ts +4 -1
  63. package/Platform/ArchivedCardsPlugin.d.ts +1 -1
  64. package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
  65. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  66. package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
  67. package/Platform/CalendarInput.d.ts +1 -1
  68. package/Platform/ClearButton.d.ts +7 -5
  69. package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
  70. package/Platform/DateInput.d.ts +3 -13
  71. package/Platform/Dropdown.d.ts +4 -0
  72. package/Platform/FilterDate.d.ts +11 -0
  73. package/Platform/FilterDateRangePicker.d.ts +6 -0
  74. package/Platform/FilterDateTextListInput.d.ts +5 -0
  75. package/Platform/FocusableTextInput.d.ts +3 -8
  76. package/Platform/Folder.d.ts +2 -1
  77. package/Platform/FolderContent.d.ts +2 -0
  78. package/Platform/FolderDataLoadingService.d.ts +3 -1
  79. package/Platform/FolderGrid.d.ts +1 -1
  80. package/Platform/FolderGrid.stories.d.ts +1 -0
  81. package/Platform/FolderGridConstants.d.ts +7 -0
  82. package/Platform/FolderGridService.d.ts +4 -1
  83. package/Platform/FolderImpl.d.ts +2 -0
  84. package/Platform/IFilterComponent.d.ts +29 -0
  85. package/Platform/InputWithMask.d.ts +4 -3
  86. package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
  87. package/Platform/ListCheckbox.d.ts +6 -0
  88. package/Platform/ListContent.d.ts +8 -0
  89. package/Platform/ListContentHightlight.d.ts +9 -0
  90. package/Platform/ListEmpty.d.ts +6 -0
  91. package/Platform/ListEmptySearchIcon.d.ts +6 -0
  92. package/Platform/ListInput.d.ts +9 -0
  93. package/Platform/ListItem.d.ts +6 -0
  94. package/Platform/ListLoading.d.ts +6 -0
  95. package/Platform/ListSearchIcon.d.ts +6 -0
  96. package/Platform/ListSlot.d.ts +7 -0
  97. package/Platform/ListTotalItem.d.ts +8 -0
  98. package/Platform/ListViewResponseResolver.d.ts +13 -0
  99. package/Platform/LoaderDialog.d.ts +1 -1
  100. package/Platform/ScanDialogService.d.ts +2 -1
  101. package/Platform/SearchTextInput.d.ts +6 -0
  102. package/Platform/SecurityDescriptorDialog.d.ts +3 -3
  103. package/Platform/SecurityDialogFrame.d.ts +2 -1
  104. package/Platform/SettingsPopup.d.ts +1 -1
  105. package/Platform/SettingsPopup.stories.d.ts +1 -0
  106. package/Platform/SettingsPopupExtendedData.d.ts +2 -2
  107. package/Platform/SettingsPopupLogic.d.ts +7 -1
  108. package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
  109. package/Platform/Table.d.ts +2 -1
  110. package/Platform/TableCreateRowWindow.d.ts +2 -1
  111. package/Platform/TableEditRowWindow.d.ts +2 -1
  112. package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
  113. package/Platform/TablePresentationToggleService.d.ts +8 -0
  114. package/Platform/TextListInput.d.ts +6 -0
  115. package/Platform/TextListInputLogic.d.ts +55 -0
  116. package/Platform/TextListInputView.d.ts +40 -0
  117. package/Platform/TextListInputWrapper.d.ts +7 -0
  118. package/Platform/UnreadBarTablePlugins.d.ts +3 -0
  119. package/Platform/UserProfileDialog.d.ts +1 -1
  120. package/Platform/WebFrameSearchPanel.d.ts +4 -2
  121. package/Platform/applyCurrentSettings.d.ts +7 -1
  122. package/Platform/setColumnsSettings.d.ts +6 -0
  123. package/Platform/updateValueCheckedColumn.d.ts +5 -1
  124. package/StandardServices.d.ts +2 -1
  125. package/System/BaseControl.d.ts +1 -0
  126. package/System/CancelableEvent.d.ts +1 -1
  127. package/System/ControlTemplateView.d.ts +1 -1
  128. package/System/DirectoryBaseImpl.d.ts +5 -1
  129. package/System/DirectorySelectDialog.d.ts +9 -2
  130. package/System/LocationContainerControl.d.ts +2 -1
  131. package/System/summernote-paste-without-formating.d.ts +10 -0
  132. package/package.json +1 -1
  133. package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
  134. 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 { $IsIE, $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> & $IsIE;
40
+ services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl> & $DeviceType & $IsIE;
41
41
  }
42
42
  /**
43
43
  * Класс элемента управления Лист согласования.
@@ -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,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:/Users/sorokin.v/rep/WebClient/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:/Users/sorokin.v/rep/WebClient/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:/Users/sorokin.v/rep/WebClient/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>;
@@ -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:/Users/sorokin.v/rep/WebClient/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:/Users/sorokin.v/rep/WebClient/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;
@@ -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:/Users/sorokin.v/rep/WebClient/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 {};
@@ -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 {
@@ -4,6 +4,7 @@ import { PartnerBaseImpl, PartnerBaseState } from "@docsvision/webclient/BackOff
4
4
  import { PartnerSelectDialog } from "@docsvision/webclient/BackOffice/PartnerSelectDialog";
5
5
  import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
6
6
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
7
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
7
8
  import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
8
9
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
9
10
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
@@ -56,7 +57,7 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
56
57
  currentFilterChanging?: CancelableApiEvent<IPartnerFilterChangeEventArgs>;
57
58
  /** Событие, возникающее после изменения фильтра контрагентов. */
58
59
  currentFilterChanged?: BasicApiEvent<IPartnerFilterChangeEventArgs>;
59
- services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
60
+ services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
60
61
  }
61
62
  /**
62
63
  * Класс элемента управления Сотрудник контрагента.
@@ -66,8 +67,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
66
67
  export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
67
68
  /** @internal */
68
69
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
69
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
70
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController;
70
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
71
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
71
72
  /** @internal */
72
73
  protected get partnerImpl(): PartnerBaseImpl<T>;
73
74
  private set partnerBindingHandler(value);
@@ -24,6 +24,7 @@ export interface PartnerBaseState<T> extends PartnerBaseParams<T>, InputBasedCon
24
24
  beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
25
25
  /** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
26
26
  searchFilterPath: GenModels.DepartmentModel[];
27
+ maximized?: boolean;
27
28
  }
28
29
  /** @internal */
29
30
  export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControlImpl<T, ParamsT, StateT> {
@@ -53,6 +54,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
53
54
  showDictionary(): void;
54
55
  hideDictionary(): void;
55
56
  protected cancelModal: () => void;
57
+ protected onMaximize: () => void;
56
58
  protected onDirectoryDialogNodeSelected(node: T): void;
57
59
  protected onDirectoryDialogSelectButtonClick(): Promise<void>;
58
60
  protected onFilterSelected: (items: GenModels.DepartmentModel[], resetPreviousPath?: boolean) => Promise<void>;
@@ -2,6 +2,7 @@ import { IPartnerDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/I
2
2
  import { PartnerDirectoryBaseImpl, PartnerDirectoryBaseState } from "@docsvision/webclient/BackOffice/PartnerDirectoryBaseImpl";
3
3
  import { $DepartmentController, $LayoutController, $LayoutPartnerController, $LayoutRowController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
4
4
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
5
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
5
6
  import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
6
7
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
7
8
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
@@ -28,7 +29,7 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
28
29
  searchResultsLoading?: CancelableApiEvent<IPartnerDataLoadingEventArgs>;
29
30
  /** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
30
31
  searchResultsLoaded?: BasicApiEvent<IPartnerDataLoadingEventArgs>;
31
- services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
32
+ services?: $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
32
33
  }
33
34
  /**
34
35
  * Класс элемента управления Сотрудник контрагента.
@@ -38,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
38
39
  export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
39
40
  /** @internal */
40
41
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
41
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
42
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
43
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController;
42
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
44
45
  /** @internal */
45
46
  protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
46
47
  init(): Promise<void>;
@@ -13,6 +13,7 @@ import { LoadingState } from "@docsvision/webclient/System/LoadingState";
13
13
  import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
14
14
  import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
15
15
  import React from "react";
16
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
16
17
  /** @internal */
17
18
  export interface IPartnerSelectDialogSearchPathOptions {
18
19
  path: GenModels.DepartmentModel[];
@@ -36,7 +37,13 @@ export interface IPartnerSelectDialogProps {
36
37
  selectedPartner: GenModels.EmployeeDataModel | GenModels.DepartmentModel;
37
38
  isOpen: boolean;
38
39
  onCancel: () => void;
39
- services: $LayoutPartnerController & $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
40
+ /** Существует ли кнопка развертывания */
41
+ maximizeButtonEnabled?: boolean;
42
+ /** Вызывается при попытке развернуть окно */
43
+ onMaximize?: () => void;
44
+ /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
45
+ maximized?: boolean;
46
+ services: $LayoutPartnerController & $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
40
47
  }
41
48
  /** @internal */
42
49
  export interface IPartnerChildrenCacheItem {
@@ -3,6 +3,7 @@ import { $DepartmentController, $LayoutRowController, $LayoutStaffController } f
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
4
  import { RerenderHost } from '@docsvision/webclient/Helpers/RerenderHost';
5
5
  import { ITypeaheadVariant } from "@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadVariant";
6
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
6
7
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
7
8
  import React from 'react';
8
9
  /** @internal */
@@ -13,10 +14,10 @@ export declare class PartnerTypeaheadVariant implements ITypeaheadVariant {
13
14
  reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void;
14
15
  departmentMode: boolean;
15
16
  visible: boolean;
16
- services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController;
17
+ services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType;
17
18
  infoPopoverOpen: boolean;
18
19
  infoRerender: RerenderHost;
19
- constructor(item: GenModels.PartnerDirectoryItem, visualiser: PartnerDirectoryItemVisualiser, editAllowed: boolean, reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void, departmentMode: boolean, visible: boolean, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController);
20
+ constructor(item: GenModels.PartnerDirectoryItem, visualiser: PartnerDirectoryItemVisualiser, editAllowed: boolean, reload: (newValue: GenModels.DepartmentModel | GenModels.EmployeeDataModel) => void, departmentMode: boolean, visible: boolean, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType);
20
21
  get name(): string;
21
22
  get value(): string;
22
23
  get iconCssClass(): string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare class PrintButtonView {
3
3
  dropdownButton: (props:
4
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
4
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
5
5
  }
@@ -1,7 +1,9 @@
1
1
  import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
2
+ import { $Resources } from "@docsvision/web/core/localization/$Resources";
2
3
  import React from "react";
3
4
  export interface ISearchBar {
4
5
  visibility: boolean;
6
+ isNotEmpty: boolean;
5
7
  textValue: string;
6
8
  searchFilters: ISearchFilterEntry[];
7
9
  currentSearchFilterKey: SearchFilters;
@@ -10,5 +12,7 @@ export interface ISearchBar {
10
12
  onSearchTextChange: (newSearchText: string) => void;
11
13
  onClearButtonClick: () => void;
12
14
  onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
15
+ onSearchSubmitClick: (e: React.MouseEvent) => void;
16
+ services: $Resources;
13
17
  }
14
18
  export declare const SearchBar: (props: ISearchBar) => JSX.Element;
@@ -14,3 +14,18 @@ export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
14
14
  export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
15
15
  export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
16
16
  export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
17
+ export declare const CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID";
18
+ export declare const CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID";
19
+ export declare const CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID";
20
+ export declare const CONTEXT_MENU_STAFF_NAME_ID = "CONTEXT_MENU_STAFF_NAME_ID";
21
+ export declare const CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID = "CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID";
22
+ export declare const CONTEXT_MENU_STAFF_PASTE_ID = "CONTEXT_MENU_STAFF_PASTE_ID";
23
+ export declare const CONTEXT_MENU_STAFF_INFO_ID = "CONTEXT_MENU_STAFF_INFO_ID";
24
+ export declare const CONTEXT_MENU_STAFF_EDIT_ID = "CONTEXT_MENU_STAFF_EDIT_ID";
25
+ export declare const CONTEXT_MENU_STAFF_DELETE_ID = "CONTEXT_MENU_STAFF_DELETE_ID";
26
+ export declare const CONTEXT_MENU_STAFF_COPY_ID = "CONTEXT_MENU_STAFF_COPY_ID";
27
+ export declare const CONTEXT_MENU_STAFF_CUT_ID = "CONTEXT_MENU_STAFF_CUT_ID";
28
+ export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
29
+ export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
30
+ export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
31
+ export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
@@ -76,7 +76,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
76
76
  private set binding(value);
77
77
  private set defaultEmployeeBinding(value);
78
78
  get inputChanged():
79
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
79
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
80
80
  /** @covered */
81
81
  get inputText(): string;
82
82
  /** @covered */
@@ -55,7 +55,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
55
55
  private shouldShowFavorites;
56
56
  onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
57
57
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
58
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
58
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
59
59
  protected onEditPopoverShowed(control: any): void;
60
60
  protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
61
61
  protected getTypeaheadProps(): ITypeaheadProps & {
@@ -14,6 +14,7 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
14
14
  private services;
15
15
  private readonly moreDots;
16
16
  private isOpenDelegationLabel;
17
+ private fileIdInPreviewState;
17
18
  constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
18
19
  resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
19
20
  resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
@@ -24,8 +25,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
24
25
  protected getHelpBoxHeaderIcon(groupName: any): string;
25
26
  protected getLabel(nodeModel: GenModels.TaskTreeNodeModel): string;
26
27
  protected getImage(nodeModel: GenModels.TaskTreeNodeModel): string;
27
- protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps, hasAccess?: boolean): any;
28
- protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps, hasAccess?: boolean): string;
28
+ protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): any;
29
+ protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): string;
29
30
  protected getDelegationLabel(delegationRecord: GenModels.DelegationRecord): JSX.Element;
30
31
  protected getDelegationLabelText(delegationRecord: GenModels.DelegationRecord): string;
31
32
  protected getDelegationHistory(delegationRecords: GenModels.DelegationRecord[]): string[];