@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
@@ -2,6 +2,7 @@ import { ITaskCreatingEventArgs } from "@docsvision/webclient/BackOffice/ITaskCr
2
2
  import { TasksImpl, TasksState } from "@docsvision/webclient/BackOffice/TasksImpl";
3
3
  import { $LayoutController, $LayoutTasksController } 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 { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
6
7
  import { $Layout } from "@docsvision/webclient/System/$Layout";
7
8
  import { $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
@@ -54,7 +55,7 @@ export declare class TasksParams extends BaseControlParams {
54
55
  taskCreating?: CancelableApiEvent<ITaskCreatingEventArgs>;
55
56
  /** Событие, возникающее после того, как задания загружены (при асинхронной загрузке событие возникает после открытия разметки). */
56
57
  onTasksLoaded?: BasicApiEvent<GenModels.TaskDataModel[]>;
57
- services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
58
+ services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
58
59
  }
59
60
  /**
60
61
  * Класс элемента управления Задания
@@ -53,6 +53,10 @@ import("react").MouseEvent<Element, MouseEvent>>;
53
53
  import("effector").Event<void>;
54
54
  $dialogFixed:
55
55
  import("effector").Store<boolean>;
56
+ $dialogIsMaximized:
57
+ import("effector").Store<boolean>;
58
+ maximizeDialog:
59
+ import("effector").Event<void>;
56
60
  expandRow:
57
61
  import("effector").Event<number>;
58
62
  collapseRow:
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
19
19
  import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
20
20
  export declare class TasksTableView {
21
21
  mainButton: (props:
22
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
22
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
23
23
  dialog: (props:
24
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
24
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
25
25
  controlWrapper: typeof TasksTableControlWrapper;
26
26
  ribbon: typeof TasksTableRibbon;
27
27
  ribbonGroup:
28
28
  import("styled-components").StyledComponent<"div", any, {
29
29
  className: string;
30
30
  } &
31
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
31
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
32
  ribbonButton: typeof TasksTableRibbonButton;
33
33
  ribbonContainer: typeof TasksTableRibbonContainer;
34
34
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
9
9
  import { $Layout } from "@docsvision/webclient/System/$Layout";
10
10
  import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
11
11
  import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
12
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
12
13
  import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
13
14
  /**
14
15
  * Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
@@ -41,7 +42,7 @@ export declare class TasksTreeParams extends BaseControlParams {
41
42
  /** Список опций для VIS.js. */
42
43
  options:
43
44
  import("vis").Options;
44
- services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload;
45
+ services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload & $DeviceType;
45
46
  }
46
47
  /**
47
48
  * Класс элемента управления Дерево исполнения
@@ -18,6 +18,8 @@ export interface ITasksTreeState extends TasksTreeParams, BaseControlState {
18
18
  loadVisJsHelper: RequestHelper;
19
19
  loadTasksTreeHelper: RequestHelper;
20
20
  showFullTreeBindingAvailable: boolean;
21
+ /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
22
+ maximized?: boolean;
21
23
  }
22
24
  /** @internal */
23
25
  export declare type ITasksTreeImplState = ITasksTreeState;
@@ -46,6 +48,7 @@ export declare class TasksTreeImpl extends BaseControlImpl<TasksTreeParams, ITas
46
48
  private hasParentCard;
47
49
  renderControl(): JSX.Element;
48
50
  private renderTreeButton;
51
+ private onMaximize;
49
52
  private renderTreeModal;
50
53
  private renderTreeContent;
51
54
  }
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
9
9
  import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
10
10
  import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
11
11
  import { $Router } from "@docsvision/webclient/System/$Router";
12
+ import { $Resources } from "@docsvision/web/core/localization/$Resources";
12
13
  import { Optional } from "@docsvision/web/core/services";
13
14
  /**
14
15
  * Содержит публичные свойства элемента управления [Панель поиска в справочнике]{@link WebFrameDirectorySearchPanel}.
@@ -23,7 +24,7 @@ export declare class WebFrameDirectorySearchPanelParams extends BaseControlParam
23
24
  /** Текуще значение строки поиска. */
24
25
  searchText?: string;
25
26
  /** Сервисы. */
26
- services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo>;
27
+ services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo> & $Resources;
27
28
  }
28
29
  export interface WebFrameDirectorySearchPanelState extends BaseControlImplState, WebFrameDirectorySearchPanelParams {
29
30
  logic: WebFrameDirectorySearchPanelLogic;
@@ -30,11 +30,16 @@ import("effector").Store<SearchFilters>;
30
30
  import("effector").Event<SearchFilters>;
31
31
  $searchText:
32
32
  import("effector").Store<string>;
33
+ $isNotEmpty:
34
+ import("effector").Store<boolean>;
33
35
  onSearchTextChange:
34
36
  import("effector").Event<string>;
35
37
  onSearchTextKeyPressed:
36
38
  import("effector").Event<
37
39
  import("react").KeyboardEvent<any>>;
40
+ onSearchSubmitClick:
41
+ import("effector").Event<
42
+ import("react").MouseEvent<Element, MouseEvent>>;
38
43
  startSearch:
39
44
  import("effector").Event<ISearchRequest>;
40
45
  onSearchStart:
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare class WebFrameDirectorySearchPanelView {
3
3
  SearchButton: (props:
4
- import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
4
+ import("C:/dev/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
5
5
  SearchBar: (props:
6
6
  import("./Components/SearchBar").ISearchBar) => JSX.Element;
7
7
  }
@@ -1230,9 +1230,13 @@ export declare namespace GenControllers {
1230
1230
  */
1231
1231
  setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
1232
1232
  /**
1233
- * Get list {@link GenModels}
1233
+ * Get list of {@link GenModels} for usage in grouping
1234
1234
  */
1235
1235
  getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1236
+ /**
1237
+ * Get list of {@link GenModels} for usage in filtration
1238
+ */
1239
+ getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1236
1240
  /**
1237
1241
  * load all pages
1238
1242
  */
@@ -1251,6 +1255,7 @@ export declare namespace GenControllers {
1251
1255
  saveGridUserSettingsFolderData(requestModel: GenModels.SaveGridUserSettingsFolderDataRequestModel, options?: RequestOptions): Promise<void>;
1252
1256
  setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
1253
1257
  getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1258
+ getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1254
1259
  loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
1255
1260
  }
1256
1261
  }
@@ -119,9 +119,13 @@ export declare namespace GenModels {
119
119
  export declare namespace GenModels {
120
120
  interface GridUserSettingsData {
121
121
  /**
122
- * Gets or sets a list with user settings of each column in folder view
122
+ * Gets or sets a list with user settings of each column in folder view for Grid Presentation
123
123
  */
124
124
  columns: Array<GenModels.GridUserSettingsColumn>;
125
+ /**
126
+ * Gets or sets a list with user setting of each column in folder view for List Presentation
127
+ */
128
+ listColumns: Array<GenModels.GridUserSettingsColumn>;
125
129
  /**
126
130
  * Gets or sets grid view filters
127
131
  */
@@ -162,6 +166,10 @@ export declare namespace GenModels {
162
166
  * Gets or sets whether used default grouping
163
167
  */
164
168
  useDefaultGrouping: boolean;
169
+ /**
170
+ * Gets or sets table presentation mode
171
+ */
172
+ tablePresentation: GenModels.TablePresentation;
165
173
  }
166
174
  }
167
175
  export declare namespace GenModels {
@@ -194,6 +202,14 @@ export declare namespace GenModels {
194
202
  * Gets or sets values
195
203
  */
196
204
  values: Array<string>;
205
+ /**
206
+ * Gets or sets operation
207
+ */
208
+ operation: GenModels.FilterOperation;
209
+ /**
210
+ * Gets or sets mode
211
+ */
212
+ mode: GenModels.FilterMode;
197
213
  }
198
214
  }
199
215
  export declare namespace GenModels {
@@ -2413,7 +2429,6 @@ export declare namespace GenModels {
2413
2429
  * Device type
2414
2430
  */
2415
2431
  deviceType: GenModels.DeviceType;
2416
- useOldGrid?: boolean;
2417
2432
  }
2418
2433
  }
2419
2434
  export declare namespace GenModels {
@@ -2704,10 +2719,6 @@ export declare namespace GenModels {
2704
2719
  * Gets or sets typed value
2705
2720
  */
2706
2721
  rawValue: any;
2707
- /**
2708
- * Gets or sets typed value
2709
- */
2710
- typedValue: any;
2711
2722
  }
2712
2723
  }
2713
2724
  export declare namespace GenModels {
@@ -2905,7 +2916,6 @@ export declare namespace GenModels {
2905
2916
  export declare namespace GenModels {
2906
2917
  interface RecentCardsRequest {
2907
2918
  requestModel: GenModels.CardListRequestModel;
2908
- useOldGrid: boolean;
2909
2919
  }
2910
2920
  }
2911
2921
  export declare namespace GenModels {
@@ -2966,6 +2976,10 @@ export declare namespace GenModels {
2966
2976
  * Is column hidden
2967
2977
  */
2968
2978
  hidden: boolean;
2979
+ /**
2980
+ * Is column system
2981
+ */
2982
+ system: boolean;
2969
2983
  /**
2970
2984
  * Gets or sets column caption
2971
2985
  */
@@ -3053,9 +3067,9 @@ export declare namespace GenModels {
3053
3067
  }
3054
3068
  }
3055
3069
  export declare namespace GenModels {
3056
- interface DistinctValuesRequestModel {
3070
+ interface DistinctValuesRequestWithPagination {
3057
3071
  /**
3058
- * Gets or sets cursor id
3072
+ * Gets or sets Cursor ID
3059
3073
  *
3060
3074
  * @format datatype.uuid
3061
3075
  */
@@ -3068,6 +3082,10 @@ export declare namespace GenModels {
3068
3082
  * Gets or sets page size
3069
3083
  */
3070
3084
  pageSize: number;
3085
+ }
3086
+ }
3087
+ export declare namespace GenModels {
3088
+ interface DistinctValuesRequestModel extends GenModels.DistinctValuesRequestWithPagination {
3071
3089
  /**
3072
3090
  * Gets or sets
3073
3091
  */
@@ -3114,6 +3132,24 @@ export declare namespace GenModels {
3114
3132
  isLastLevel: boolean;
3115
3133
  }
3116
3134
  }
3135
+ export declare namespace GenModels {
3136
+ interface FilterDistinctValuesRequestModel extends GenModels.DistinctValuesRequestModel {
3137
+ /**
3138
+ * Column name
3139
+ */
3140
+ filterColumnName: string;
3141
+ /**
3142
+ * Search text
3143
+ */
3144
+ filterSearchText: string;
3145
+ /**
3146
+ * Instace ID
3147
+ *
3148
+ * @format datatype.uuid
3149
+ */
3150
+ instanceId: string;
3151
+ }
3152
+ }
3117
3153
  export declare namespace GenModels {
3118
3154
  interface GetRequestModel {
3119
3155
  locationName?: string;
@@ -9046,6 +9082,44 @@ export declare namespace GenModels {
9046
9082
  EveryWhere = 3
9047
9083
  }
9048
9084
  }
9085
+ export declare namespace GenModels {
9086
+ /**
9087
+ * Filter operation
9088
+ */
9089
+ enum FilterOperation {
9090
+ /**
9091
+ * Default
9092
+ */
9093
+ Default = 0,
9094
+ /**
9095
+ * Contains
9096
+ */
9097
+ Contains = 1,
9098
+ /**
9099
+ * Equals
9100
+ */
9101
+ Equals = 2
9102
+ }
9103
+ }
9104
+ export declare namespace GenModels {
9105
+ /**
9106
+ * Filter Mode
9107
+ */
9108
+ enum FilterMode {
9109
+ /**
9110
+ * Default
9111
+ */
9112
+ Default = 0,
9113
+ /**
9114
+ * Date List
9115
+ */
9116
+ DateList = 1,
9117
+ /**
9118
+ * Date Calendar
9119
+ */
9120
+ DateCalendar = 2
9121
+ }
9122
+ }
9049
9123
  export declare namespace GenModels {
9050
9124
  /**
9051
9125
  * Defines grid view mode
@@ -9061,6 +9135,25 @@ export declare namespace GenModels {
9061
9135
  Wrap = 1
9062
9136
  }
9063
9137
  }
9138
+ export declare namespace GenModels {
9139
+ /**
9140
+ * Table presentation mode
9141
+ */
9142
+ enum TablePresentation {
9143
+ /**
9144
+ * Depends on device
9145
+ */
9146
+ Default = 0,
9147
+ /**
9148
+ * Classic table view
9149
+ */
9150
+ GridView = 1,
9151
+ /**
9152
+ * List view
9153
+ */
9154
+ ListView = 2
9155
+ }
9156
+ }
9064
9157
  export declare namespace GenModels {
9065
9158
  /**
9066
9159
  * Type of directory value
@@ -0,0 +1,24 @@
1
+ import { IComponentProps } from '@docsvision/web/core/component';
2
+ import { Moment } from 'moment';
3
+ import React from 'react';
4
+ export interface ISelectedRangeDate {
5
+ start: Moment;
6
+ end: Moment;
7
+ }
8
+ /** Визуальные компоненты {@see DateRangePicker}. */
9
+ export declare class DateRangePickerView {
10
+ day: React.MemoExoticComponent<(props:
11
+ import("./components/DateRangePickerDay").DateRangePickerDayProps) => JSX.Element>;
12
+ toolbar: React.MemoExoticComponent<(props:
13
+ import("./components/DateRangePickerToolbar").DateRangePickerToolbarProps) => JSX.Element>;
14
+ }
15
+ /** Свойства {@see DateRangePicker} */
16
+ export interface DateRangePickerProps extends IComponentProps<never, DateRangePickerView> {
17
+ /** Текущее значение */
18
+ value: ISelectedRangeDate;
19
+ /** Изменение значения */
20
+ onChange(selectedRangeDate: ISelectedRangeDate): void;
21
+ /** Локаль */
22
+ locale?: string;
23
+ }
24
+ export declare function DateRangePicker(props: DateRangePickerProps): JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { DateRangePicker } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof DateRangePicker;
6
+ };
7
+ export default _default;
8
+ export declare const OneDay: () => JSX.Element;
9
+ export declare const FewDays: () => JSX.Element;
@@ -0,0 +1,15 @@
1
+ import './DateRangePickerDay.css';
2
+ import React from 'react';
3
+ import { Moment } from 'moment';
4
+ import { ISelectedRangeDate } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
5
+ export interface DateRangePickerDayProps {
6
+ date: Moment;
7
+ currentMonth: boolean;
8
+ rangeDate: ISelectedRangeDate;
9
+ selectableStartDate: Moment;
10
+ selectableEndDate: Moment;
11
+ setSelectableEndDate(date: Moment): void;
12
+ selectDate(date: Moment): void;
13
+ }
14
+ /** Стилевой контейнер дня {@see DateRangePicker}. */
15
+ export declare const DateRangePickerDay: React.MemoExoticComponent<(props: DateRangePickerDayProps) => JSX.Element>;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { Moment } from 'moment';
3
+ import { ToolbarComponentProps } from '@docsvision/material-ui-pickers/Picker/Picker';
4
+ import { ISelectedRangeDate } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
5
+ import './DateRangePickerToolbar.css';
6
+ export interface DateRangePickerToolbarProps extends ToolbarComponentProps {
7
+ locale: string;
8
+ rangeDate: ISelectedRangeDate;
9
+ selectableStartDate: Moment;
10
+ setOpenViewYear(state: boolean): void;
11
+ selectCurrentDate(): void;
12
+ }
13
+ /** Стилевой контейнер панели настроек {@see DateRangePicker}. */
14
+ export declare const DateRangePickerToolbar: React.MemoExoticComponent<(props: DateRangePickerToolbarProps) => JSX.Element>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
2
3
  /** Свойства {@link CommonModalDialog}. */
3
4
  export interface Props {
4
5
  /** Существует ли кнопка закрытия модального окна (крестик) */
@@ -18,18 +19,19 @@ export interface Props {
18
19
  /** Использовать стандартную ширину окна */
19
20
  defaultWidth?: boolean;
20
21
  /** Максимальная ширина окна */
22
+ maxWidth?: string;
21
23
  /** Существует ли кнопка развертывания */
22
24
  maximizeButtonEnabled?: boolean;
23
25
  /** Вызывается при попытке развернуть окно */
24
26
  onMaximize?: () => void;
25
27
  /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
26
28
  maximized?: boolean;
27
- maxWidth?: string;
28
29
  /**
29
30
  * Максимальная высота, которая будет назначена если браузер - IE. В других браузерах будет работать flexbox.
30
31
  * По умолчанию: 100vh
31
32
  */
32
33
  maxHeight?: string;
34
+ services: $DeviceType;
33
35
  }
34
36
  /**
35
37
  * Обертка, использующая {@link StackingModal}, {@link ModalBackdrop}, {@link ModalDialog},
@@ -1,5 +1,8 @@
1
+ import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
1
2
  import { $DialogManagement } from '@docsvision/webclient/Helpers/ModalDialog/$DialogManagement';
2
3
  import { Props } from '@docsvision/webclient/Helpers/ModalDialog/CommonModalDialog';
4
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
5
+ import { Optional } from '@docsvision/web/core/services';
3
6
  import React from 'react';
4
7
  /** Вспомогательный класс для отрисовки {@link CommonModalDialog} в {@link ModalHost}. */
5
8
  export declare class CommonModalDialogHost {
@@ -13,10 +16,10 @@ export declare class CommonModalDialogHost {
13
16
  private _service;
14
17
  private contentDiv;
15
18
  private isCancelled;
16
- constructor(className: string, services?: any, dialogProps?: Partial<Props>, renderCallback?: () => React.ReactNode, onAcceptCallback?: () => Promise<void>, onCancelCallback?: () => Promise<void>);
19
+ constructor(className: string, services: $DeviceType & Optional<$RootCssClass>, dialogProps?: Partial<Props>, renderCallback?: () => React.ReactNode, onAcceptCallback?: () => Promise<void>, onCancelCallback?: () => Promise<void>);
17
20
  forceUpdate(callback?: Function): Promise<void>;
18
21
  isMounted(): boolean;
19
- get service(): $DialogManagement;
22
+ get service(): $DialogManagement & $DeviceType;
20
23
  cancel: () => Promise<void>;
21
24
  accept: () => Promise<void>;
22
25
  showDialog(): Promise<unknown>;
@@ -11,6 +11,8 @@ export interface IModalDialogBoxProps {
11
11
  maxWidth?: string;
12
12
  /** Пользовательский CSS-класс */
13
13
  className?: string;
14
+ /** сработает при разворачивании окна */
15
+ maximized?: boolean;
14
16
  }
15
17
  /**
16
18
  * Представляет полотно модального окна ({@link ModalDialog}).
@@ -0,0 +1,23 @@
1
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
2
+ import React from "react";
3
+ /** Свойства для {@link ModalSidebarCloseButton} */
4
+ export interface IModalDialogMaximizeButtonProps {
5
+ /** Доступность кнопки. Значение по умолчанию: true */
6
+ enabled?: boolean;
7
+ /** Обработчик события click */
8
+ onClick: (ev: React.MouseEvent<any>) => void;
9
+ maximized?: boolean;
10
+ services: $DeviceType;
11
+ }
12
+ /**
13
+ * Представляет закрывающую кнопку в правой части выезжающей панели ({@link ModalDialog}).
14
+ *
15
+ * Пример использования:
16
+ *
17
+ * <ModalDialog isOpen={this.state.dialogOpen} >
18
+ * <ModalDialogBox defaultWidth={true}>
19
+ * <ModalDialogCloseButton onClick={() => this.setState({ dialogOpen: false })} />
20
+ * </ModalDialogBox>
21
+ * </ModalDialog>
22
+ */
23
+ export declare const ModalMaximizeButton: (props: IModalDialogMaximizeButtonProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
1
2
  import React from "react";
2
3
  /**
3
4
  * @internal
@@ -10,6 +11,12 @@ export interface IScrollableModalProps {
10
11
  onClose?: () => void;
11
12
  /** Существует ли кнопка закрытия модального окна (крестик) */
12
13
  closeButtonDisabled?: boolean;
14
+ /** Существует ли кнопка развертывания */
15
+ maximizeButtonEnabled?: boolean;
16
+ /** Вызывается при попытке развернуть окно */
17
+ onMaximize?: () => void;
18
+ /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
19
+ maximized?: boolean;
13
20
  header?: React.ReactNode;
14
21
  content?: React.ReactNode;
15
22
  buttons?: React.ReactNode;
@@ -26,6 +33,7 @@ export interface IScrollableModalProps {
26
33
  contentClassName?: string;
27
34
  buttonsClassName?: string;
28
35
  boxClassName?: string;
36
+ services: $DeviceType;
29
37
  }
30
38
  /**
31
39
  * @internal
@@ -3,6 +3,7 @@ import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
3
3
  import { $CardTimestamp } from '@docsvision/webclient/System/LayoutServices';
4
4
  import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
5
5
  export declare class ApprovalFilePanel {
6
+ static ControlTypeName: string;
6
7
  private static FileLinkCssClass;
7
8
  private static FileSettingsCssClass;
8
9
  private static FileItemCssClass;
@@ -52,7 +52,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
52
52
  protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
53
53
  abstract getChanges(): Promise<GenModels.GridViewModel>;
54
54
  getSelection():
55
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
55
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
56
56
  clearSelection(cardIds?: string[]): void;
57
57
  selectionChanged: SimpleEvent<any>;
58
58
  protected addActionButtons(header: HTMLElement): void;
@@ -4,6 +4,7 @@ import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
4
4
  import { IValidationParams } from '@docsvision/webclient/System/IValidationParams';
5
5
  import { IValidationResult } from '@docsvision/webclient/System/IValidationResult';
6
6
  import { $BusinessCalendarController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
7
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
7
8
  /** @internal */
8
9
  export declare class GroupTaskCardPerformersPanelParams extends BaseRazorControlParams {
9
10
  /** Является ли обязательным заполнение данного поля. */
@@ -11,7 +12,7 @@ export declare class GroupTaskCardPerformersPanelParams extends BaseRazorControl
11
12
  defaultCalendarId?: string;
12
13
  useBusinessCalendar?: boolean;
13
14
  autoDurationsRecalculation?: boolean;
14
- services?: $BusinessCalendarController;
15
+ services?: $BusinessCalendarController & $DeviceType;
15
16
  }
16
17
  /** @internal */
17
18
  export interface GroupTaskCardPerformersPanelState extends BaseRazorControlState, GroupTaskCardPerformersPanelParams {
@@ -1,12 +1,14 @@
1
1
  import { ModalWindowEvents, ModalWindowParams } from "@docsvision/webclient/Legacy/ModalWindowParams";
2
2
  import { Optional } from '@docsvision/web/core/services';
3
3
  import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
4
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
4
5
  /** @internal */
5
6
  export interface IModalWindowCreatorOptions {
6
7
  withoutAnimation?: boolean;
7
8
  }
8
9
  /** @deprecated Используйте {@link ModalDialog} или {@link MessageBox}. */
9
10
  export declare class ModalWindow {
11
+ private services?;
10
12
  private traceProvider;
11
13
  private params;
12
14
  private overlay;
@@ -17,18 +19,20 @@ export declare class ModalWindow {
17
19
  private modalOkButton;
18
20
  private modalCancelButton;
19
21
  private modalCloseButton;
22
+ private modalMaximizeButton;
20
23
  private buttonsDiv;
21
24
  private content;
22
25
  private isOpened;
23
26
  events: ModalWindowEvents;
24
27
  static lastError?: ModalWindow;
25
28
  private rootCssClass;
26
- constructor(params: ModalWindowParams, services?: Optional<$RootCssClass> | {});
29
+ constructor(params: ModalWindowParams, services?: Optional<$RootCssClass> & $DeviceType);
27
30
  get IsOpened(): boolean;
28
31
  get ModalElement(): HTMLElement;
29
32
  get ModalContentElement(): HTMLElement;
30
33
  get OkButtonElement(): HTMLButtonElement;
31
34
  get CancelButtonElement(): HTMLButtonElement;
35
+ private onMaximize;
32
36
  Show(withoutAnimation?: boolean): void;
33
37
  Hide(withCallbacks?: boolean, withoutAnimation?: boolean): Promise<any>;
34
38
  HideOverlay(): void;
@@ -37,6 +41,7 @@ export declare class ModalWindow {
37
41
  private CreateModal;
38
42
  private CreateModalContent;
39
43
  private CreateModalCloseButton;
44
+ private CreateModalmaximizeButton;
40
45
  private CreateModalHeader;
41
46
  private CreateModalButtonsDiv;
42
47
  private CreateModalOkButton;
@@ -44,7 +49,7 @@ export declare class ModalWindow {
44
49
  private CreateModalCancelButton;
45
50
  private Destroy;
46
51
  static ShowErrorDialog(message: string, options?: IModalWindowCreatorOptions): ModalWindow;
47
- static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions, services?: Optional<$RootCssClass>): ModalWindow;
52
+ static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions, services?: Optional<$RootCssClass> & $DeviceType): ModalWindow;
48
53
  static ShowInformationDialog(message: string, headerText?: string, options?: IModalWindowCreatorOptions): ModalWindow;
49
54
  static ShowWarningDialog(message: string, headerText?: string, okButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
50
55
  }
@@ -27,6 +27,12 @@ export declare class ModalWindowParams extends ModalWindowEvents {
27
27
  buttonCancelText: string;
28
28
  buttonCancelFunction: Function;
29
29
  userFocusTrap: boolean;
30
+ /** Существует ли кнопка развертывания */
31
+ maximizeButtonEnabled?: boolean;
32
+ /** Развернуто ли модальное окно */
33
+ maximized?: boolean;
34
+ /** Вызывается при попытке развернуть окно */
35
+ onMaximize?: () => void;
30
36
  buttons: Array<ModalButton>;
31
37
  replaceDefaultButtons: boolean;
32
38
  }
@@ -1,12 +1,13 @@
1
1
  import { FolderTree } from "@docsvision/webclient/Legacy/FolderTree";
2
2
  import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
3
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
3
4
  /** @internal */
4
5
  export declare class SelectFolderModalDialog extends FolderTree {
5
6
  private services;
6
7
  private static DialogContainerClassName;
7
8
  private onClose;
8
9
  private dialog;
9
- constructor(onClose?: (folders: string[]) => void, services?: $RequestManager);
10
+ constructor(onClose?: (folders: string[]) => void, services?: $RequestManager & $DeviceType);
10
11
  ShowDialog(): void;
11
12
  private AttachFolder;
12
13
  protected ClearSelectedFolders(): void;