@docsvision/webclient 5.16.0 → 5.17.0-beta.11
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.
- package/Approval/AgreementHistoryImpl.d.ts +2 -0
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListImpl.d.ts +3 -0
- package/BackOffice/Address.d.ts +3 -2
- package/BackOffice/CardKind.d.ts +3 -2
- package/BackOffice/ChangeBoundaryValuesSection.d.ts +4 -0
- package/BackOffice/ChangeSectionValues.d.ts +4 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
- package/BackOffice/ConvertSizetoMegabytes.d.ts +1 -0
- package/BackOffice/CreateWindow.d.ts +2 -1
- package/BackOffice/Department.d.ts +3 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DepartmentImpl.d.ts +2 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/EditTaskDescription.d.ts +2 -1
- package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
- package/BackOffice/EditTaskDuration.d.ts +2 -2
- package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
- package/BackOffice/EditWindow.d.ts +2 -1
- package/BackOffice/EmailButton.d.ts +21 -0
- package/BackOffice/EmailButton.stories.d.ts +10 -0
- package/BackOffice/EmailButtonContainer.d.ts +8 -0
- package/BackOffice/EmailButtonFiles.d.ts +7 -0
- package/BackOffice/EmailButtonItem.d.ts +12 -0
- package/BackOffice/EmailButtonLogic.d.ts +42 -0
- package/BackOffice/EmailButtonOptions.d.ts +36 -0
- package/BackOffice/EmailButtonSectionId.d.ts +2 -0
- package/BackOffice/EmailButtonSelectedSize.d.ts +9 -0
- package/BackOffice/EmailButtonView.d.ts +19 -0
- package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
- package/BackOffice/FileRenamingDialog.d.ts +2 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/GetEmlUrl.d.ts +11 -0
- package/BackOffice/ITaskTableSorting.d.ts +27 -0
- package/BackOffice/InitialCheckboxes.d.ts +4 -0
- package/BackOffice/NumeratorImpl.d.ts +1 -1
- package/BackOffice/PartnerBase.d.ts +4 -3
- package/BackOffice/PartnerBaseImpl.d.ts +2 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
- package/BackOffice/PartnerSelectDialog.d.ts +8 -1
- package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
- package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -0
- package/BackOffice/SortingRows.d.ts +6 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +5 -1
- package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
- package/BackOffice/TasksTableLogic.d.ts +12 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +3 -1
- package/BackOffice/TasksTreeImpl.d.ts +3 -0
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +1 -0
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +106 -5
- package/Generated/DocsVision.WebClient.Models.d.ts +334 -33
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
- package/Helpers/IconButton.d.ts +2 -0
- package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
- package/Helpers/Menu/MobileMenuBar.d.ts +1 -0
- package/Helpers/MessageBox/MessageBox.d.ts +6 -1
- package/Helpers/ModalDialog/CommonModalDialog.d.ts +8 -0
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
- package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
- package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
- package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
- package/Legacy/ModalWindow.d.ts +7 -2
- package/Legacy/ModalWindowParams.d.ts +6 -0
- package/Legacy/SelectFolderModalDialog.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
- package/MainBundle.d.ts +2 -2
- package/Platform/$AggregatesCheckbox.d.ts +19 -0
- package/Platform/$ContextMenuOptions.d.ts +17 -10
- package/Platform/$CurrentFolder.d.ts +1 -0
- package/Platform/$FileDownload.d.ts +2 -1
- package/Platform/$FolderDataLoading.d.ts +5 -1
- package/Platform/$FolderGrid.d.ts +14 -6
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$SearchText.d.ts +11 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/$ToolbarDaughterControls.d.ts +20 -0
- package/Platform/AggregateItemCheckbox.d.ts +12 -0
- package/Platform/Aggregates.stories.d.ts +8 -0
- package/Platform/AggregatesCheckbox.d.ts +10 -0
- package/Platform/AggregatesCheckboxPlugins.d.ts +11 -0
- package/Platform/AggregatesCheckboxService.d.ts +37 -0
- package/Platform/AggregatesExtendedData.d.ts +4 -0
- package/Platform/AggregatesGroup.d.ts +13 -0
- package/Platform/AggregatesListItem.d.ts +5 -0
- package/Platform/AggregatesNotAvailable.d.ts +6 -0
- package/Platform/AggregatesPanelHeader.d.ts +6 -0
- package/Platform/AggregatesRequestResolver.d.ts +12 -0
- package/Platform/AggregatesResponseResolver.d.ts +10 -0
- package/Platform/AggregatesTree.d.ts +17 -0
- package/Platform/AggregatesTreeLoader.d.ts +2 -0
- package/Platform/AggregatesUtils.d.ts +5 -0
- package/Platform/ArchivedCardsIcon.d.ts +4 -1
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/CalendarInput.d.ts +1 -1
- package/Platform/ClearButton.d.ts +7 -5
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/ContextMenu.d.ts +7 -1
- package/Platform/ContextMenuOptionsService.d.ts +7 -4
- package/Platform/DateInput.d.ts +3 -13
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +4 -1
- package/Platform/DeleteBatchOperation.d.ts +31 -0
- package/Platform/DeleteBatchOperationImpl.d.ts +23 -0
- package/Platform/DownloadBatchOperationFileInfoCard.d.ts +7 -0
- package/Platform/DownloadDocumentFileMode.d.ts +5 -0
- package/Platform/DownloadFilesBatchOperation.d.ts +36 -0
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +26 -0
- package/Platform/Dropdown.d.ts +4 -0
- package/Platform/ExportPlugin.d.ts +10 -4
- package/Platform/Favorite.d.ts +22 -0
- package/Platform/FavoritesPageRouteHandler.d.ts +18 -0
- package/Platform/FavoritesRouteHandler.d.ts +18 -0
- package/Platform/FileDownloadService.d.ts +2 -1
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FocusableTextInput.d.ts +3 -8
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderDataContext.d.ts +4 -1
- package/Platform/FolderDataLoadingService.d.ts +13 -7
- package/Platform/FolderGrid.d.ts +4 -2
- package/Platform/FolderGrid.stories.d.ts +1 -0
- package/Platform/FolderGridBatchOperationsNode.d.ts +2 -1
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridService.d.ts +7 -3
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderRouteTypeMapper.d.ts +1 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/IAggregates.d.ts +34 -0
- package/Platform/ICommonFolderInfo.d.ts +1 -0
- package/Platform/IFavoritesPageRouteData.d.ts +6 -0
- package/Platform/IFavoritesRouteData.d.ts +7 -0
- package/Platform/IFileHasSignature.d.ts +4 -0
- package/Platform/IFileInfo.d.ts +5 -0
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderLoadRequest.d.ts +2 -1
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/LayoutIconButton.d.ts +2 -0
- package/Platform/LayoutIconButtonImpl.d.ts +1 -0
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/ListCheckbox.d.ts +6 -0
- package/Platform/ListContent.d.ts +8 -0
- package/Platform/ListContentHightlight.d.ts +9 -0
- package/Platform/ListEmpty.d.ts +6 -0
- package/Platform/ListEmptySearchIcon.d.ts +6 -0
- package/Platform/ListInput.d.ts +9 -0
- package/Platform/ListItem.d.ts +6 -0
- package/Platform/ListLoading.d.ts +6 -0
- package/Platform/ListSearchIcon.d.ts +6 -0
- package/Platform/ListSlot.d.ts +7 -0
- package/Platform/ListTotalItem.d.ts +8 -0
- package/Platform/ListViewResponseResolver.d.ts +13 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/{MoveShortcutsBatchOperation.d.ts → MoveShortcutBatchOperation.d.ts} +5 -5
- package/Platform/{MoveShortcutsBatchOperationImpl.d.ts → MoveShortcutBatchOperationImpl.d.ts} +5 -5
- package/Platform/ReadAllPlugin.d.ts +10 -5
- package/Platform/ReadBatchOperation.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +10 -4
- package/Platform/ResetSettingsPlugin.d.ts +10 -4
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchResultsRequestResolver.d.ts +6 -0
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SearchTextProvider.d.ts +7 -0
- package/Platform/SearchTextService.d.ts +10 -0
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +3 -3
- package/Platform/SecurityDialogFrame.d.ts +2 -1
- package/Platform/SettingsPlugin.d.ts +12 -7
- package/Platform/SettingsPopup.d.ts +5 -3
- package/Platform/SettingsPopup.stories.d.ts +1 -0
- package/Platform/SettingsPopupExtendedData.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +16 -1
- package/Platform/SettingsPopupRequestResolver.d.ts +2 -1
- package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
- package/Platform/ShowAllButton.d.ts +3 -1
- package/Platform/Table.d.ts +4 -4
- package/Platform/TableCreateRowWindow.d.ts +2 -1
- package/Platform/TableEditRowWindow.d.ts +2 -1
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TestUtils.d.ts +10 -1
- package/Platform/TextListInput.d.ts +6 -0
- package/Platform/TextListInputLogic.d.ts +55 -0
- package/Platform/TextListInputView.d.ts +40 -0
- package/Platform/TextListInputWrapper.d.ts +7 -0
- package/Platform/ToggleArrowIcon.d.ts +5 -0
- package/Platform/ToolbarDaughterControl.d.ts +18 -0
- package/Platform/ToolbarDaughterControlImpl.d.ts +14 -0
- package/Platform/ToolbarDaughterControlsPlugin.d.ts +6 -0
- package/Platform/ToolbarDaughterControlsService.d.ts +13 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.d.ts +8 -5
- package/Platform/WebFrameUserPanel.d.ts +4 -2
- package/Platform/applyCurrentSettings.d.ts +7 -1
- package/Platform/filterViews.d.ts +3 -0
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateValueCheckedColumn.d.ts +5 -1
- package/StandardServices.d.ts +4 -1
- package/System/$LastSearchResponse.d.ts +13 -0
- package/System/$PollService.d.ts +10 -0
- package/System/BaseControl.d.ts +3 -0
- package/System/ButtonPositionsSelectionUtils.d.ts +2 -1
- package/System/CancelableEvent.d.ts +1 -1
- package/System/DateTimeUtils.d.ts +2 -0
- package/System/DirectoryBaseImpl.d.ts +5 -1
- package/System/DirectorySelectDialog.d.ts +9 -2
- package/System/GridAggregatesModelStub.d.ts +13 -0
- package/System/LastSearchResponseService.d.ts +19 -0
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +1 -1
- package/System/LayoutContainer.d.ts +1 -1
- package/System/LocationContainerControl.d.ts +2 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/Poll.d.ts +10 -0
- package/System/PollService.d.ts +27 -0
- package/System/ResourcesStub.d.ts +2 -1
- package/System/StandardRoutes.d.ts +4 -0
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
- package/Platform/$PluginTemplate.d.ts +0 -12
- package/Platform/GridConstants.d.ts +0 -4
- package/Platform/PluginTemplateExtendedData.d.ts +0 -4
- package/Platform/PluginTemplatePlugins.d.ts +0 -15
- package/Platform/PluginTemplateService.d.ts +0 -11
- package/Platform/Settings.d.ts +0 -3
- package/Platform/TemplateRequestResolver.d.ts +0 -12
- package/Platform/TemplateResponseResolver.d.ts +0 -11
- package/System/$ServiceTemplate.d.ts +0 -16
- package/System/ControlTemplate.d.ts +0 -23
- package/System/ControlTemplate.stories.d.ts +0 -9
- package/System/ControlTemplateContainer.d.ts +0 -7
- package/System/ControlTemplateEffect.d.ts +0 -3
- package/System/ControlTemplateFrame.d.ts +0 -8
- package/System/ControlTemplateLogic.d.ts +0 -17
- package/System/ControlTemplateOptions.d.ts +0 -30
- package/System/ControlTemplateText.d.ts +0 -7
- package/System/ControlTemplateView.d.ts +0 -10
- package/System/ServiceTemplateService.d.ts +0 -13
|
@@ -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
|
*/
|
|
@@ -158,10 +162,22 @@ export declare namespace GenModels {
|
|
|
158
162
|
* User requested view without sorting.
|
|
159
163
|
*/
|
|
160
164
|
disableSorting: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Grid aggregate search value
|
|
167
|
+
*/
|
|
168
|
+
aggregates: Array<GenModels.AggregateFilterItem>;
|
|
161
169
|
/**
|
|
162
170
|
* Gets or sets whether used default grouping
|
|
163
171
|
*/
|
|
164
172
|
useDefaultGrouping: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Gets or sets table presentation mode
|
|
175
|
+
*/
|
|
176
|
+
tablePresentation: GenModels.TablePresentation;
|
|
177
|
+
/**
|
|
178
|
+
* Gets or sets column width mode
|
|
179
|
+
*/
|
|
180
|
+
columnWidthMode: GenModels.ColumnWidthMode;
|
|
165
181
|
}
|
|
166
182
|
}
|
|
167
183
|
export declare namespace GenModels {
|
|
@@ -194,6 +210,14 @@ export declare namespace GenModels {
|
|
|
194
210
|
* Gets or sets values
|
|
195
211
|
*/
|
|
196
212
|
values: Array<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Gets or sets operation
|
|
215
|
+
*/
|
|
216
|
+
operation: GenModels.FilterOperation;
|
|
217
|
+
/**
|
|
218
|
+
* Gets or sets mode
|
|
219
|
+
*/
|
|
220
|
+
mode: GenModels.FilterMode;
|
|
197
221
|
}
|
|
198
222
|
}
|
|
199
223
|
export declare namespace GenModels {
|
|
@@ -216,6 +240,38 @@ export declare namespace GenModels {
|
|
|
216
240
|
activeValue: string;
|
|
217
241
|
}
|
|
218
242
|
}
|
|
243
|
+
export declare namespace GenModels {
|
|
244
|
+
interface AggregateFilterItem {
|
|
245
|
+
/**
|
|
246
|
+
* Gets or sets aggregation alias
|
|
247
|
+
*/
|
|
248
|
+
aggregationAlias: string;
|
|
249
|
+
/**
|
|
250
|
+
* Gets or sets selected value
|
|
251
|
+
*/
|
|
252
|
+
stringValue: string;
|
|
253
|
+
/**
|
|
254
|
+
* Gets or sets range values
|
|
255
|
+
*/
|
|
256
|
+
rangeValues: GenModels.AggregateRangeValues;
|
|
257
|
+
/**
|
|
258
|
+
* Gets or sets values count
|
|
259
|
+
*/
|
|
260
|
+
count: number;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
export declare namespace GenModels {
|
|
264
|
+
interface AggregateRangeValues {
|
|
265
|
+
/**
|
|
266
|
+
* From value
|
|
267
|
+
*/
|
|
268
|
+
from: string;
|
|
269
|
+
/**
|
|
270
|
+
* To value
|
|
271
|
+
*/
|
|
272
|
+
to: string;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
219
275
|
export declare namespace GenModels {
|
|
220
276
|
interface UnreadCountersRequest {
|
|
221
277
|
/**
|
|
@@ -2413,7 +2469,6 @@ export declare namespace GenModels {
|
|
|
2413
2469
|
* Device type
|
|
2414
2470
|
*/
|
|
2415
2471
|
deviceType: GenModels.DeviceType;
|
|
2416
|
-
useOldGrid?: boolean;
|
|
2417
2472
|
}
|
|
2418
2473
|
}
|
|
2419
2474
|
export declare namespace GenModels {
|
|
@@ -2704,10 +2759,6 @@ export declare namespace GenModels {
|
|
|
2704
2759
|
* Gets or sets typed value
|
|
2705
2760
|
*/
|
|
2706
2761
|
rawValue: any;
|
|
2707
|
-
/**
|
|
2708
|
-
* Gets or sets typed value
|
|
2709
|
-
*/
|
|
2710
|
-
typedValue: any;
|
|
2711
2762
|
}
|
|
2712
2763
|
}
|
|
2713
2764
|
export declare namespace GenModels {
|
|
@@ -2905,7 +2956,6 @@ export declare namespace GenModels {
|
|
|
2905
2956
|
export declare namespace GenModels {
|
|
2906
2957
|
interface RecentCardsRequest {
|
|
2907
2958
|
requestModel: GenModels.CardListRequestModel;
|
|
2908
|
-
useOldGrid: boolean;
|
|
2909
2959
|
}
|
|
2910
2960
|
}
|
|
2911
2961
|
export declare namespace GenModels {
|
|
@@ -2966,6 +3016,10 @@ export declare namespace GenModels {
|
|
|
2966
3016
|
* Is column hidden
|
|
2967
3017
|
*/
|
|
2968
3018
|
hidden: boolean;
|
|
3019
|
+
/**
|
|
3020
|
+
* Is column system
|
|
3021
|
+
*/
|
|
3022
|
+
system: boolean;
|
|
2969
3023
|
/**
|
|
2970
3024
|
* Gets or sets column caption
|
|
2971
3025
|
*/
|
|
@@ -3010,6 +3064,12 @@ export declare namespace GenModels {
|
|
|
3010
3064
|
* @format datatype.uuid
|
|
3011
3065
|
*/
|
|
3012
3066
|
viewId: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Get or sets instance id
|
|
3069
|
+
*
|
|
3070
|
+
* @format datatype.uuid
|
|
3071
|
+
*/
|
|
3072
|
+
instanceId?: string;
|
|
3013
3073
|
/**
|
|
3014
3074
|
* Gets or sets grid user settings data
|
|
3015
3075
|
*/
|
|
@@ -3053,9 +3113,9 @@ export declare namespace GenModels {
|
|
|
3053
3113
|
}
|
|
3054
3114
|
}
|
|
3055
3115
|
export declare namespace GenModels {
|
|
3056
|
-
interface
|
|
3116
|
+
interface DistinctValuesRequestWithPagination {
|
|
3057
3117
|
/**
|
|
3058
|
-
* Gets or sets
|
|
3118
|
+
* Gets or sets Cursor ID
|
|
3059
3119
|
*
|
|
3060
3120
|
* @format datatype.uuid
|
|
3061
3121
|
*/
|
|
@@ -3068,6 +3128,10 @@ export declare namespace GenModels {
|
|
|
3068
3128
|
* Gets or sets page size
|
|
3069
3129
|
*/
|
|
3070
3130
|
pageSize: number;
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
export declare namespace GenModels {
|
|
3134
|
+
interface DistinctValuesRequestModel extends GenModels.DistinctValuesRequestWithPagination {
|
|
3071
3135
|
/**
|
|
3072
3136
|
* Gets or sets
|
|
3073
3137
|
*/
|
|
@@ -3114,6 +3178,90 @@ export declare namespace GenModels {
|
|
|
3114
3178
|
isLastLevel: boolean;
|
|
3115
3179
|
}
|
|
3116
3180
|
}
|
|
3181
|
+
export declare namespace GenModels {
|
|
3182
|
+
interface FilterDistinctValuesRequestModel extends GenModels.DistinctValuesRequestModel {
|
|
3183
|
+
/**
|
|
3184
|
+
* Column name
|
|
3185
|
+
*/
|
|
3186
|
+
filterColumnName: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* Search text
|
|
3189
|
+
*/
|
|
3190
|
+
filterSearchText: string;
|
|
3191
|
+
/**
|
|
3192
|
+
* Instace ID
|
|
3193
|
+
*
|
|
3194
|
+
* @format datatype.uuid
|
|
3195
|
+
*/
|
|
3196
|
+
instanceId: string;
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
export declare namespace GenModels {
|
|
3200
|
+
interface GridAggregateRequest {
|
|
3201
|
+
/**
|
|
3202
|
+
* Gets or sets folder ID
|
|
3203
|
+
*
|
|
3204
|
+
* @format datatype.uuid
|
|
3205
|
+
*/
|
|
3206
|
+
folderId: string;
|
|
3207
|
+
/**
|
|
3208
|
+
* Gets or sets query ID
|
|
3209
|
+
*
|
|
3210
|
+
* @format datatype.uuid
|
|
3211
|
+
*/
|
|
3212
|
+
queryId: string;
|
|
3213
|
+
/**
|
|
3214
|
+
* Gets or sets instance ID
|
|
3215
|
+
*
|
|
3216
|
+
* @format datatype.uuid
|
|
3217
|
+
*/
|
|
3218
|
+
instanceId: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* Gets or sets filters
|
|
3221
|
+
*/
|
|
3222
|
+
filters: Array<GenModels.AggregateFilterItem>;
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
export declare namespace GenModels {
|
|
3226
|
+
interface GridAggregateModel {
|
|
3227
|
+
/**
|
|
3228
|
+
* Grid aggregate name
|
|
3229
|
+
*/
|
|
3230
|
+
name: string;
|
|
3231
|
+
/**
|
|
3232
|
+
* Grid aggregate alias
|
|
3233
|
+
*/
|
|
3234
|
+
alias: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* Is Grid aggregate main?
|
|
3237
|
+
*/
|
|
3238
|
+
isMain: boolean;
|
|
3239
|
+
/**
|
|
3240
|
+
* List of grid aggregate value
|
|
3241
|
+
*/
|
|
3242
|
+
aggregateValues: Array<GenModels.GridAggregateValue>;
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
export declare namespace GenModels {
|
|
3246
|
+
interface GridAggregateValue {
|
|
3247
|
+
/**
|
|
3248
|
+
* Aggregate value name
|
|
3249
|
+
*/
|
|
3250
|
+
name: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* Aggregate value alias
|
|
3253
|
+
*/
|
|
3254
|
+
alias: string;
|
|
3255
|
+
/**
|
|
3256
|
+
* Aggregate value count
|
|
3257
|
+
*/
|
|
3258
|
+
count: number;
|
|
3259
|
+
/**
|
|
3260
|
+
* Aggregate value count
|
|
3261
|
+
*/
|
|
3262
|
+
checked?: boolean;
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3117
3265
|
export declare namespace GenModels {
|
|
3118
3266
|
interface GetRequestModel {
|
|
3119
3267
|
locationName?: string;
|
|
@@ -3371,6 +3519,36 @@ export declare namespace GenModels {
|
|
|
3371
3519
|
displayName: string;
|
|
3372
3520
|
}
|
|
3373
3521
|
}
|
|
3522
|
+
export declare namespace GenModels {
|
|
3523
|
+
interface IsHasFileCertificateSignatureModel {
|
|
3524
|
+
/**
|
|
3525
|
+
* Indicates has the file a certificate signature
|
|
3526
|
+
*/
|
|
3527
|
+
isHasFileCertificateSignature: boolean;
|
|
3528
|
+
/**
|
|
3529
|
+
* The name for downloading file
|
|
3530
|
+
*/
|
|
3531
|
+
fileDownloadName: string;
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
export declare namespace GenModels {
|
|
3535
|
+
interface DowloadFilesOperationFileInfoModel {
|
|
3536
|
+
/**
|
|
3537
|
+
* File id
|
|
3538
|
+
*
|
|
3539
|
+
* @format datatype.uuid
|
|
3540
|
+
*/
|
|
3541
|
+
fileId: string;
|
|
3542
|
+
/**
|
|
3543
|
+
* File name
|
|
3544
|
+
*/
|
|
3545
|
+
fileName: string;
|
|
3546
|
+
/**
|
|
3547
|
+
* is main
|
|
3548
|
+
*/
|
|
3549
|
+
isMain: boolean;
|
|
3550
|
+
}
|
|
3551
|
+
}
|
|
3374
3552
|
export declare namespace GenModels {
|
|
3375
3553
|
interface WasReadRequest {
|
|
3376
3554
|
/**
|
|
@@ -7470,6 +7648,10 @@ export declare namespace GenModels {
|
|
|
7470
7648
|
* Search context options
|
|
7471
7649
|
*/
|
|
7472
7650
|
searchContextOptions: Array<GenModels.SearchOptionModel>;
|
|
7651
|
+
/**
|
|
7652
|
+
* Card must be deleted into the trash or deletes from database.
|
|
7653
|
+
*/
|
|
7654
|
+
deletePermanently: boolean;
|
|
7473
7655
|
}
|
|
7474
7656
|
}
|
|
7475
7657
|
export declare namespace GenModels {
|
|
@@ -7554,6 +7736,10 @@ export declare namespace GenModels {
|
|
|
7554
7736
|
* Application pool credentials.
|
|
7555
7737
|
*/
|
|
7556
7738
|
poolAccountName: string;
|
|
7739
|
+
/**
|
|
7740
|
+
* Feedback URL
|
|
7741
|
+
*/
|
|
7742
|
+
feedbackUrl: string;
|
|
7557
7743
|
}
|
|
7558
7744
|
}
|
|
7559
7745
|
export declare namespace GenModels {
|
|
@@ -7708,6 +7894,12 @@ export declare namespace GenModels {
|
|
|
7708
7894
|
* Show Archived Cards
|
|
7709
7895
|
*/
|
|
7710
7896
|
showArchivedCards: boolean;
|
|
7897
|
+
/**
|
|
7898
|
+
* Feedback Request Date
|
|
7899
|
+
*
|
|
7900
|
+
* @format datatype.datetime
|
|
7901
|
+
*/
|
|
7902
|
+
feedbackRequestDate?: string;
|
|
7711
7903
|
}
|
|
7712
7904
|
}
|
|
7713
7905
|
export declare namespace GenModels {
|
|
@@ -9046,6 +9238,44 @@ export declare namespace GenModels {
|
|
|
9046
9238
|
EveryWhere = 3
|
|
9047
9239
|
}
|
|
9048
9240
|
}
|
|
9241
|
+
export declare namespace GenModels {
|
|
9242
|
+
/**
|
|
9243
|
+
* Filter operation
|
|
9244
|
+
*/
|
|
9245
|
+
enum FilterOperation {
|
|
9246
|
+
/**
|
|
9247
|
+
* Default
|
|
9248
|
+
*/
|
|
9249
|
+
Default = 0,
|
|
9250
|
+
/**
|
|
9251
|
+
* Contains
|
|
9252
|
+
*/
|
|
9253
|
+
Contains = 1,
|
|
9254
|
+
/**
|
|
9255
|
+
* Equals
|
|
9256
|
+
*/
|
|
9257
|
+
Equals = 2
|
|
9258
|
+
}
|
|
9259
|
+
}
|
|
9260
|
+
export declare namespace GenModels {
|
|
9261
|
+
/**
|
|
9262
|
+
* Filter Mode
|
|
9263
|
+
*/
|
|
9264
|
+
enum FilterMode {
|
|
9265
|
+
/**
|
|
9266
|
+
* Default
|
|
9267
|
+
*/
|
|
9268
|
+
Default = 0,
|
|
9269
|
+
/**
|
|
9270
|
+
* Date List
|
|
9271
|
+
*/
|
|
9272
|
+
DateList = 1,
|
|
9273
|
+
/**
|
|
9274
|
+
* Date Calendar
|
|
9275
|
+
*/
|
|
9276
|
+
DateCalendar = 2
|
|
9277
|
+
}
|
|
9278
|
+
}
|
|
9049
9279
|
export declare namespace GenModels {
|
|
9050
9280
|
/**
|
|
9051
9281
|
* Defines grid view mode
|
|
@@ -9061,6 +9291,44 @@ export declare namespace GenModels {
|
|
|
9061
9291
|
Wrap = 1
|
|
9062
9292
|
}
|
|
9063
9293
|
}
|
|
9294
|
+
export declare namespace GenModels {
|
|
9295
|
+
/**
|
|
9296
|
+
* Table presentation mode
|
|
9297
|
+
*/
|
|
9298
|
+
enum TablePresentation {
|
|
9299
|
+
/**
|
|
9300
|
+
* Depends on device
|
|
9301
|
+
*/
|
|
9302
|
+
Default = 0,
|
|
9303
|
+
/**
|
|
9304
|
+
* Classic table view
|
|
9305
|
+
*/
|
|
9306
|
+
GridView = 1,
|
|
9307
|
+
/**
|
|
9308
|
+
* List view
|
|
9309
|
+
*/
|
|
9310
|
+
ListView = 2
|
|
9311
|
+
}
|
|
9312
|
+
}
|
|
9313
|
+
export declare namespace GenModels {
|
|
9314
|
+
/**
|
|
9315
|
+
* Column width mode
|
|
9316
|
+
*/
|
|
9317
|
+
enum ColumnWidthMode {
|
|
9318
|
+
/**
|
|
9319
|
+
* Minimal
|
|
9320
|
+
*/
|
|
9321
|
+
Minimal = 0,
|
|
9322
|
+
/**
|
|
9323
|
+
* Medium
|
|
9324
|
+
*/
|
|
9325
|
+
Medium = 1,
|
|
9326
|
+
/**
|
|
9327
|
+
* Maximal
|
|
9328
|
+
*/
|
|
9329
|
+
Maximal = 2
|
|
9330
|
+
}
|
|
9331
|
+
}
|
|
9064
9332
|
export declare namespace GenModels {
|
|
9065
9333
|
/**
|
|
9066
9334
|
* Type of directory value
|
|
@@ -9293,6 +9561,29 @@ export declare namespace GenModels {
|
|
|
9293
9561
|
GenericRead = -2147483648
|
|
9294
9562
|
}
|
|
9295
9563
|
}
|
|
9564
|
+
export declare namespace GenModels {
|
|
9565
|
+
/**
|
|
9566
|
+
* Defines file attachments mode for SendEmailButton control.
|
|
9567
|
+
*/
|
|
9568
|
+
enum FileAttachmentsMode {
|
|
9569
|
+
/**
|
|
9570
|
+
* Attach only main files.
|
|
9571
|
+
*/
|
|
9572
|
+
OnlyMainFiles = 0,
|
|
9573
|
+
/**
|
|
9574
|
+
* Attach only additional files.
|
|
9575
|
+
*/
|
|
9576
|
+
OnlyAdditionalFiles = 1,
|
|
9577
|
+
/**
|
|
9578
|
+
* Attach all files.
|
|
9579
|
+
*/
|
|
9580
|
+
AllFiles = 2,
|
|
9581
|
+
/**
|
|
9582
|
+
* No need to attach files.
|
|
9583
|
+
*/
|
|
9584
|
+
WithoutFiles = 3
|
|
9585
|
+
}
|
|
9586
|
+
}
|
|
9296
9587
|
export declare namespace GenModels {
|
|
9297
9588
|
/**
|
|
9298
9589
|
* Image generator type
|
|
@@ -9654,7 +9945,11 @@ export declare namespace GenModels {
|
|
|
9654
9945
|
/**
|
|
9655
9946
|
* Search results
|
|
9656
9947
|
*/
|
|
9657
|
-
SearchResults = 1
|
|
9948
|
+
SearchResults = 1,
|
|
9949
|
+
/**
|
|
9950
|
+
* Favorites folder
|
|
9951
|
+
*/
|
|
9952
|
+
Favorites = 2
|
|
9658
9953
|
}
|
|
9659
9954
|
}
|
|
9660
9955
|
export declare namespace GenModels {
|
|
@@ -10352,6 +10647,12 @@ export declare namespace GenModels {
|
|
|
10352
10647
|
NewWindow = 2
|
|
10353
10648
|
}
|
|
10354
10649
|
}
|
|
10650
|
+
export declare namespace GenModels {
|
|
10651
|
+
enum AdditionalElementsMode {
|
|
10652
|
+
Left = 0,
|
|
10653
|
+
Right = 1
|
|
10654
|
+
}
|
|
10655
|
+
}
|
|
10355
10656
|
export declare namespace GenModels {
|
|
10356
10657
|
enum BarcodeSearchButtonMode {
|
|
10357
10658
|
CurrentTab = 0,
|
|
@@ -10951,6 +11252,29 @@ export declare namespace GenModels {
|
|
|
10951
11252
|
Layout = 1
|
|
10952
11253
|
}
|
|
10953
11254
|
}
|
|
11255
|
+
export declare namespace GenModels {
|
|
11256
|
+
/**
|
|
11257
|
+
* Data source variants from control FolderDataContext
|
|
11258
|
+
*/
|
|
11259
|
+
enum FolderDataContextMode {
|
|
11260
|
+
/**
|
|
11261
|
+
* From specified data source
|
|
11262
|
+
*/
|
|
11263
|
+
FromDataSource = 0,
|
|
11264
|
+
/**
|
|
11265
|
+
* From specified folder id
|
|
11266
|
+
*/
|
|
11267
|
+
KnownFolder = 1,
|
|
11268
|
+
/**
|
|
11269
|
+
* From current route
|
|
11270
|
+
*/
|
|
11271
|
+
FromUrl = 2,
|
|
11272
|
+
/**
|
|
11273
|
+
* System folder
|
|
11274
|
+
*/
|
|
11275
|
+
SystemFolder = 3
|
|
11276
|
+
}
|
|
11277
|
+
}
|
|
10954
11278
|
export declare namespace GenModels {
|
|
10955
11279
|
/**
|
|
10956
11280
|
* Field subtype
|
|
@@ -11030,26 +11354,3 @@ export declare namespace GenModels {
|
|
|
11030
11354
|
CardState = 17
|
|
11031
11355
|
}
|
|
11032
11356
|
}
|
|
11033
|
-
export declare namespace GenModels {
|
|
11034
|
-
/**
|
|
11035
|
-
* Data source variants from control FolderDataContext
|
|
11036
|
-
*/
|
|
11037
|
-
enum FolderDataContextMode {
|
|
11038
|
-
/**
|
|
11039
|
-
* From specified data source
|
|
11040
|
-
*/
|
|
11041
|
-
FromDataSource = 0,
|
|
11042
|
-
/**
|
|
11043
|
-
* From specified folder id
|
|
11044
|
-
*/
|
|
11045
|
-
KnownFolder = 1,
|
|
11046
|
-
/**
|
|
11047
|
-
* From current route
|
|
11048
|
-
*/
|
|
11049
|
-
FromUrl = 2,
|
|
11050
|
-
/**
|
|
11051
|
-
* System folder
|
|
11052
|
-
*/
|
|
11053
|
-
SystemFolder = 3
|
|
11054
|
-
}
|
|
11055
|
-
}
|
|
@@ -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>;
|
package/Helpers/IconButton.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export interface IAdaptiveMenuBarProps {
|
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
targetGetter?: () => HTMLElement;
|
|
12
12
|
handleOutsideClick?: boolean;
|
|
13
|
+
menuBarClassName?: string;
|
|
14
|
+
renderBackdrop?: boolean;
|
|
13
15
|
}
|
|
14
16
|
/** @internal */
|
|
15
17
|
export interface IAdaptiveMenuBarState {
|
|
@@ -69,7 +69,7 @@ export declare class MessageBox {
|
|
|
69
69
|
* });
|
|
70
70
|
*
|
|
71
71
|
*/
|
|
72
|
-
static ShowConfirmation(content: React.ReactNode, customCaptionText?: React.ReactNode, customButtonOkText?: React.ReactNode, customButtonCancelText?: React.ReactNode, hideByBackdropClick?: boolean): Promise<any>;
|
|
72
|
+
static ShowConfirmation(content: React.ReactNode, customCaptionText?: React.ReactNode, customButtonOkText?: React.ReactNode, customButtonCancelText?: React.ReactNode, hideByBackdropClick?: boolean, msgType?: MessageBoxType): Promise<any>;
|
|
73
73
|
static ShowCustom<T>(content: React.ReactNode, customCaptionText: React.ReactNode, buttons: MessageBoxButton<T>[], hideByBackdropClick?: boolean): Promise<T>;
|
|
74
74
|
/**
|
|
75
75
|
* Показывает модальное окно с информацией об исключении
|
|
@@ -91,3 +91,8 @@ export declare class MessageBox {
|
|
|
91
91
|
private static Show;
|
|
92
92
|
private static renderModalHeader;
|
|
93
93
|
}
|
|
94
|
+
export declare enum MessageBoxType {
|
|
95
|
+
Error = 0,
|
|
96
|
+
Warning = 1,
|
|
97
|
+
Info = 2
|
|
98
|
+
}
|
|
@@ -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
|
/** Существует ли кнопка закрытия модального окна (крестик) */
|
|
@@ -19,11 +20,18 @@ export interface Props {
|
|
|
19
20
|
defaultWidth?: boolean;
|
|
20
21
|
/** Максимальная ширина окна */
|
|
21
22
|
maxWidth?: string;
|
|
23
|
+
/** Существует ли кнопка развертывания */
|
|
24
|
+
maximizeButtonEnabled?: boolean;
|
|
25
|
+
/** Вызывается при попытке развернуть окно */
|
|
26
|
+
onMaximize?: () => void;
|
|
27
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
28
|
+
maximized?: boolean;
|
|
22
29
|
/**
|
|
23
30
|
* Максимальная высота, которая будет назначена если браузер - IE. В других браузерах будет работать flexbox.
|
|
24
31
|
* По умолчанию: 100vh
|
|
25
32
|
*/
|
|
26
33
|
maxHeight?: string;
|
|
34
|
+
services: $DeviceType;
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
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
|
|
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}).
|