@docsvision/webclient 5.17.0-beta.10 → 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/BackOffice/ChangeBoundaryValuesSection.d.ts +4 -0
- package/BackOffice/ChangeSectionValues.d.ts +4 -0
- package/BackOffice/ConvertSizetoMegabytes.d.ts +1 -0
- 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/GetEmlUrl.d.ts +11 -0
- package/BackOffice/ITaskTableSorting.d.ts +27 -0
- package/BackOffice/InitialCheckboxes.d.ts +4 -0
- package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
- package/BackOffice/SortingRows.d.ts +6 -0
- package/BackOffice/TasksTable.d.ts +3 -0
- package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
- package/BackOffice/TasksTableLogic.d.ts +8 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +100 -4
- package/Generated/DocsVision.WebClient.Models.d.ts +232 -24
- 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/Table/TableHelperHeaderRow.d.ts +1 -0
- package/MainBundle.d.ts +2 -2
- package/Platform/$AggregatesCheckbox.d.ts +19 -0
- package/Platform/$CurrentFolder.d.ts +1 -0
- package/Platform/$FileDownload.d.ts +2 -1
- package/Platform/$FolderDataLoading.d.ts +2 -0
- package/Platform/$FolderGrid.d.ts +8 -7
- package/Platform/$HoverPanel.d.ts +1 -1
- package/Platform/$SearchText.d.ts +11 -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/ContextMenu.d.ts +7 -1
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +3 -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/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/FolderDataContext.d.ts +4 -1
- package/Platform/FolderDataLoadingService.d.ts +10 -6
- package/Platform/FolderGrid.d.ts +3 -1
- package/Platform/FolderGridBatchOperationsNode.d.ts +2 -1
- package/Platform/FolderGridService.d.ts +3 -2
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderRouteTypeMapper.d.ts +1 -0
- package/Platform/HoverPanelService.d.ts +2 -2
- 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/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderLoadRequest.d.ts +2 -1
- package/Platform/LayoutIconButton.d.ts +2 -0
- package/Platform/LayoutIconButtonImpl.d.ts +1 -0
- 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/SearchResultsRequestResolver.d.ts +6 -0
- package/Platform/SearchTextProvider.d.ts +7 -0
- package/Platform/SearchTextService.d.ts +10 -0
- package/Platform/SettingsPlugin.d.ts +12 -7
- package/Platform/SettingsPopup.d.ts +4 -2
- package/Platform/SettingsPopupLogic.d.ts +9 -0
- package/Platform/SettingsPopupRequestResolver.d.ts +2 -1
- package/Platform/ShowAllButton.d.ts +3 -1
- package/Platform/TestUtils.d.ts +10 -1
- 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/WebFrameSearchPanel.d.ts +5 -4
- package/Platform/WebFrameUserPanel.d.ts +4 -2
- package/Platform/filterViews.d.ts +3 -0
- package/StandardServices.d.ts +3 -1
- package/System/$LastSearchResponse.d.ts +13 -0
- package/System/$PollService.d.ts +10 -0
- package/System/ButtonPositionsSelectionUtils.d.ts +2 -1
- package/System/GridAggregatesModelStub.d.ts +13 -0
- package/System/LastSearchResponseService.d.ts +19 -0
- package/System/LayoutCardControllerStub.d.ts +1 -1
- 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/package.json +1 -1
- package/Platform/$PluginTemplate.d.ts +0 -12
- 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
|
@@ -162,6 +162,10 @@ export declare namespace GenModels {
|
|
|
162
162
|
* User requested view without sorting.
|
|
163
163
|
*/
|
|
164
164
|
disableSorting: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Grid aggregate search value
|
|
167
|
+
*/
|
|
168
|
+
aggregates: Array<GenModels.AggregateFilterItem>;
|
|
165
169
|
/**
|
|
166
170
|
* Gets or sets whether used default grouping
|
|
167
171
|
*/
|
|
@@ -170,6 +174,10 @@ export declare namespace GenModels {
|
|
|
170
174
|
* Gets or sets table presentation mode
|
|
171
175
|
*/
|
|
172
176
|
tablePresentation: GenModels.TablePresentation;
|
|
177
|
+
/**
|
|
178
|
+
* Gets or sets column width mode
|
|
179
|
+
*/
|
|
180
|
+
columnWidthMode: GenModels.ColumnWidthMode;
|
|
173
181
|
}
|
|
174
182
|
}
|
|
175
183
|
export declare namespace GenModels {
|
|
@@ -232,6 +240,38 @@ export declare namespace GenModels {
|
|
|
232
240
|
activeValue: string;
|
|
233
241
|
}
|
|
234
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
|
+
}
|
|
235
275
|
export declare namespace GenModels {
|
|
236
276
|
interface UnreadCountersRequest {
|
|
237
277
|
/**
|
|
@@ -3024,6 +3064,12 @@ export declare namespace GenModels {
|
|
|
3024
3064
|
* @format datatype.uuid
|
|
3025
3065
|
*/
|
|
3026
3066
|
viewId: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Get or sets instance id
|
|
3069
|
+
*
|
|
3070
|
+
* @format datatype.uuid
|
|
3071
|
+
*/
|
|
3072
|
+
instanceId?: string;
|
|
3027
3073
|
/**
|
|
3028
3074
|
* Gets or sets grid user settings data
|
|
3029
3075
|
*/
|
|
@@ -3150,6 +3196,72 @@ export declare namespace GenModels {
|
|
|
3150
3196
|
instanceId: string;
|
|
3151
3197
|
}
|
|
3152
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
|
+
}
|
|
3153
3265
|
export declare namespace GenModels {
|
|
3154
3266
|
interface GetRequestModel {
|
|
3155
3267
|
locationName?: string;
|
|
@@ -3407,6 +3519,36 @@ export declare namespace GenModels {
|
|
|
3407
3519
|
displayName: string;
|
|
3408
3520
|
}
|
|
3409
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
|
+
}
|
|
3410
3552
|
export declare namespace GenModels {
|
|
3411
3553
|
interface WasReadRequest {
|
|
3412
3554
|
/**
|
|
@@ -7506,6 +7648,10 @@ export declare namespace GenModels {
|
|
|
7506
7648
|
* Search context options
|
|
7507
7649
|
*/
|
|
7508
7650
|
searchContextOptions: Array<GenModels.SearchOptionModel>;
|
|
7651
|
+
/**
|
|
7652
|
+
* Card must be deleted into the trash or deletes from database.
|
|
7653
|
+
*/
|
|
7654
|
+
deletePermanently: boolean;
|
|
7509
7655
|
}
|
|
7510
7656
|
}
|
|
7511
7657
|
export declare namespace GenModels {
|
|
@@ -7590,6 +7736,10 @@ export declare namespace GenModels {
|
|
|
7590
7736
|
* Application pool credentials.
|
|
7591
7737
|
*/
|
|
7592
7738
|
poolAccountName: string;
|
|
7739
|
+
/**
|
|
7740
|
+
* Feedback URL
|
|
7741
|
+
*/
|
|
7742
|
+
feedbackUrl: string;
|
|
7593
7743
|
}
|
|
7594
7744
|
}
|
|
7595
7745
|
export declare namespace GenModels {
|
|
@@ -7744,6 +7894,12 @@ export declare namespace GenModels {
|
|
|
7744
7894
|
* Show Archived Cards
|
|
7745
7895
|
*/
|
|
7746
7896
|
showArchivedCards: boolean;
|
|
7897
|
+
/**
|
|
7898
|
+
* Feedback Request Date
|
|
7899
|
+
*
|
|
7900
|
+
* @format datatype.datetime
|
|
7901
|
+
*/
|
|
7902
|
+
feedbackRequestDate?: string;
|
|
7747
7903
|
}
|
|
7748
7904
|
}
|
|
7749
7905
|
export declare namespace GenModels {
|
|
@@ -9154,6 +9310,25 @@ export declare namespace GenModels {
|
|
|
9154
9310
|
ListView = 2
|
|
9155
9311
|
}
|
|
9156
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
|
+
}
|
|
9157
9332
|
export declare namespace GenModels {
|
|
9158
9333
|
/**
|
|
9159
9334
|
* Type of directory value
|
|
@@ -9386,6 +9561,29 @@ export declare namespace GenModels {
|
|
|
9386
9561
|
GenericRead = -2147483648
|
|
9387
9562
|
}
|
|
9388
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
|
+
}
|
|
9389
9587
|
export declare namespace GenModels {
|
|
9390
9588
|
/**
|
|
9391
9589
|
* Image generator type
|
|
@@ -9747,7 +9945,11 @@ export declare namespace GenModels {
|
|
|
9747
9945
|
/**
|
|
9748
9946
|
* Search results
|
|
9749
9947
|
*/
|
|
9750
|
-
SearchResults = 1
|
|
9948
|
+
SearchResults = 1,
|
|
9949
|
+
/**
|
|
9950
|
+
* Favorites folder
|
|
9951
|
+
*/
|
|
9952
|
+
Favorites = 2
|
|
9751
9953
|
}
|
|
9752
9954
|
}
|
|
9753
9955
|
export declare namespace GenModels {
|
|
@@ -10445,6 +10647,12 @@ export declare namespace GenModels {
|
|
|
10445
10647
|
NewWindow = 2
|
|
10446
10648
|
}
|
|
10447
10649
|
}
|
|
10650
|
+
export declare namespace GenModels {
|
|
10651
|
+
enum AdditionalElementsMode {
|
|
10652
|
+
Left = 0,
|
|
10653
|
+
Right = 1
|
|
10654
|
+
}
|
|
10655
|
+
}
|
|
10448
10656
|
export declare namespace GenModels {
|
|
10449
10657
|
enum BarcodeSearchButtonMode {
|
|
10450
10658
|
CurrentTab = 0,
|
|
@@ -11044,6 +11252,29 @@ export declare namespace GenModels {
|
|
|
11044
11252
|
Layout = 1
|
|
11045
11253
|
}
|
|
11046
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
|
+
}
|
|
11047
11278
|
export declare namespace GenModels {
|
|
11048
11279
|
/**
|
|
11049
11280
|
* Field subtype
|
|
@@ -11123,26 +11354,3 @@ export declare namespace GenModels {
|
|
|
11123
11354
|
CardState = 17
|
|
11124
11355
|
}
|
|
11125
11356
|
}
|
|
11126
|
-
export declare namespace GenModels {
|
|
11127
|
-
/**
|
|
11128
|
-
* Data source variants from control FolderDataContext
|
|
11129
|
-
*/
|
|
11130
|
-
enum FolderDataContextMode {
|
|
11131
|
-
/**
|
|
11132
|
-
* From specified data source
|
|
11133
|
-
*/
|
|
11134
|
-
FromDataSource = 0,
|
|
11135
|
-
/**
|
|
11136
|
-
* From specified folder id
|
|
11137
|
-
*/
|
|
11138
|
-
KnownFolder = 1,
|
|
11139
|
-
/**
|
|
11140
|
-
* From current route
|
|
11141
|
-
*/
|
|
11142
|
-
FromUrl = 2,
|
|
11143
|
-
/**
|
|
11144
|
-
* System folder
|
|
11145
|
-
*/
|
|
11146
|
-
SystemFolder = 3
|
|
11147
|
-
}
|
|
11148
|
-
}
|
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
|
+
}
|
|
@@ -23,6 +23,7 @@ export interface ITableHeaderCellHelperProps {
|
|
|
23
23
|
key?: string;
|
|
24
24
|
/** Tooltip */
|
|
25
25
|
title?: string;
|
|
26
|
+
onClick?(ev: React.MouseEvent): void;
|
|
26
27
|
}
|
|
27
28
|
/** @internal */
|
|
28
29
|
export declare const TableHelperHeaderRow: (props: ITableHelperHeaderRowProps) => JSX.Element;
|
package/MainBundle.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ import '@docsvision/webclient/Platform/SecurityDescriptorDialog';
|
|
|
18
18
|
import "@docsvision/webclient/BackOffice/DirectoryValues";
|
|
19
19
|
import "@docsvision/webclient/BackOffice/DirectoryTree";
|
|
20
20
|
import "@docsvision/webclient/BackOffice/DirectorySearchResult";
|
|
21
|
-
import "@docsvision/webclient/
|
|
22
|
-
import "@docsvision/webclient/
|
|
21
|
+
import "@docsvision/webclient/Templates/ControlTemplate";
|
|
22
|
+
import "@docsvision/webclient/Templates/ServiceTemplateService";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { IAggregate, IAggregatesState, ISelectItemData } from "@docsvision/webclient/Platform/IAggregates";
|
|
3
|
+
import { Store } from "effector";
|
|
4
|
+
export interface IAggregatesCheckboxService {
|
|
5
|
+
readonly $isAggregatesAvailable: Store<boolean>;
|
|
6
|
+
/** Дерево значений агрегации. */
|
|
7
|
+
readonly $aggregates: Store<IAggregate[] | null>;
|
|
8
|
+
/** Состояние загрузки агрегатов */
|
|
9
|
+
readonly $aggregatesState: Store<IAggregatesState>;
|
|
10
|
+
/** Выбранные значения агрегатов */
|
|
11
|
+
readonly $selectedAggregateItems: Store<GenModels.GridAggregateValue[]>;
|
|
12
|
+
toggleAggregate(item: IAggregate): void;
|
|
13
|
+
selectItemValue(data: ISelectItemData): void;
|
|
14
|
+
clearAll(): void;
|
|
15
|
+
}
|
|
16
|
+
export declare type $Aggregates = {
|
|
17
|
+
aggregates: IAggregatesCheckboxService;
|
|
18
|
+
};
|
|
19
|
+
export declare const $Aggregates: string | ((model?: $Aggregates) => IAggregatesCheckboxService);
|
|
@@ -14,6 +14,7 @@ export interface ICurrentFolderService {
|
|
|
14
14
|
readonly forceVirtualFolderSearch?: boolean;
|
|
15
15
|
readonly searchId?: string;
|
|
16
16
|
readonly systemFolder?: GenModels.SystemFolders;
|
|
17
|
+
readonly viewSelection?: string;
|
|
17
18
|
}
|
|
18
19
|
/** Сервис информации о текущей папке. */
|
|
19
20
|
export declare type $CurrentFolder = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
1
2
|
/** Сервис для корректного инициирования скачивания файла из скриптов. */
|
|
2
3
|
export interface IFileDownload {
|
|
3
4
|
/** Обычное скачивание через создание ссылки и клик по ней. */
|
|
@@ -7,7 +8,7 @@ export interface IFileDownload {
|
|
|
7
8
|
*
|
|
8
9
|
* Позволяет скачивать файлы последовательно, однако имеет ограничение на размер файла (он загружается в память браузера).
|
|
9
10
|
*/
|
|
10
|
-
saveAs(url: string, fileName: string): Promise<Blob>;
|
|
11
|
+
saveAs(url: string, fileName: string, options?: RequestOptions): Promise<Blob>;
|
|
11
12
|
}
|
|
12
13
|
/** Сервис для корректного инициирования скачивания файла из скриптов. */
|
|
13
14
|
export declare type $FileDownload = {
|
|
@@ -14,6 +14,7 @@ export interface IFolderDataLoadingService {
|
|
|
14
14
|
removePlugin(id: string): void;
|
|
15
15
|
getPlugins(): IFolderDataLoadingPlugin[];
|
|
16
16
|
readonly currentData: Store<ITableData>;
|
|
17
|
+
readonly lastResponse: GenModels.GridViewModel;
|
|
17
18
|
readonly pageSize: number;
|
|
18
19
|
loadData(options?: IFolderLoadRequest, loader?: IFolderDataLoader): Promise<void>;
|
|
19
20
|
sortBy(columnId: string, sortDirection: SortDirection): Promise<void>;
|
|
@@ -24,6 +25,7 @@ export interface IFolderDataLoadingService {
|
|
|
24
25
|
savePresentation(tablePresentation: GenModels.TablePresentation): Promise<void>;
|
|
25
26
|
resetUserSettings(): Promise<void>;
|
|
26
27
|
updateUserSettings(loader?: IFolderDataLoader): Promise<void>;
|
|
28
|
+
saveAggregatesToGridUserSettings(items: GenModels.GridAggregateValue[]): Promise<void>;
|
|
27
29
|
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
28
30
|
saveGroupingPath(path: IGroupingPathItem[]): Promise<void>;
|
|
29
31
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IColumn, IRow, ITableData, ITableDataLoadRequest } from
|
|
2
|
-
import { SortDirection } from
|
|
3
|
-
import { IFilterActiveColumn } from
|
|
4
|
-
import { ICustomContextMenuBlock, IDataItemProvider, IParamsItemProvider } from
|
|
5
|
-
import { IComposition } from '@docsvision/web/core/composition';
|
|
1
|
+
import { IColumn, IRow, ITableData, ITableDataLoadRequest } from "@docsvision/web/components/table/interfaces";
|
|
2
|
+
import { SortDirection } from "@docsvision/web/components/table/plugins/sort";
|
|
3
|
+
import { IFilterActiveColumn } from "@docsvision/web/components/table/plugins/filter";
|
|
4
|
+
import { ICustomContextMenuBlock, IDataItemProvider, IParamsItemProvider } from "@docsvision/webclient/Platform/$ContextMenuOptions";
|
|
6
5
|
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
7
6
|
import { Store } from 'effector';
|
|
8
|
-
import {
|
|
7
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
8
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
9
9
|
export interface IFolderGridService {
|
|
10
10
|
$groupingReadonly: Store<boolean>;
|
|
11
11
|
setGroupingReadonly(available: boolean): void;
|
|
@@ -17,11 +17,12 @@ export interface IFolderGridService {
|
|
|
17
17
|
onRowClick(row: IRow): void;
|
|
18
18
|
backgroundOpacity: number;
|
|
19
19
|
defaultTablePresentation: GenModels.TablePresentation;
|
|
20
|
-
onSortRequest(column: IColumn, sortDirection: SortDirection): void
|
|
20
|
+
onSortRequest(column: IColumn, sortDirection: SortDirection): Promise<void>;
|
|
21
21
|
onFilterRequest(filterData: IFilterActiveColumn[]): void;
|
|
22
22
|
onLoadData(data?: ITableData, options?: ITableDataLoadRequest): Promise<void>;
|
|
23
23
|
getContextMenuBlocks(): ICustomContextMenuBlock[];
|
|
24
24
|
getContextMenuItemProviders(params?: IParamsItemProvider<any, any>, context?: IComposition<any, any, any>): IDataItemProvider[];
|
|
25
|
+
onChangeAggregateValue(items: GenModels.GridAggregateValue[]): void;
|
|
25
26
|
onSearchRequest(): Promise<void>;
|
|
26
27
|
onLoadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
27
28
|
onReloadWithNewSettings(): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HeaderHoverPanelPlugin } from '@docsvision/web/components/table/plugins/hover-panel';
|
|
2
2
|
export interface IHoverPanelService {
|
|
3
|
-
|
|
3
|
+
getPlugins(defaultPlugins: HeaderHoverPanelPlugin[]): HeaderHoverPanelPlugin[];
|
|
4
4
|
}
|
|
5
5
|
export declare type $HoverPanel = {
|
|
6
6
|
hoverPanel: IHoverPanelService;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Store } from 'effector';
|
|
2
|
+
/** Интефрейс сервиса {@see $SearchText} */
|
|
3
|
+
export interface ISearchTextService {
|
|
4
|
+
readonly $current: Store<string>;
|
|
5
|
+
setCurrent(text: string): void;
|
|
6
|
+
}
|
|
7
|
+
/** Предоставляет информацию об поисковом запросе. */
|
|
8
|
+
export declare type $SearchText = {
|
|
9
|
+
searchText: ISearchTextService;
|
|
10
|
+
};
|
|
11
|
+
export declare const $SearchText: string | ((model?: $SearchText) => ISearchTextService);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { IToolbarActionContainerButton } from '@docsvision/web/components/table/plugins/toolbar-action-container';
|
|
3
|
+
import { Store, Event } from 'effector';
|
|
4
|
+
/** */
|
|
5
|
+
export interface IToolbarDaughterControlsService {
|
|
6
|
+
/** Содержит информацию о дочерних контролах */
|
|
7
|
+
readonly $controls: Store<GenModels.ControlModel[]>;
|
|
8
|
+
/** Добавляет контролы в хранилище */
|
|
9
|
+
setControls: Event<GenModels.ControlModel[]>;
|
|
10
|
+
/** Расположение элементов относительно стандартных элементов */
|
|
11
|
+
readonly $location: Store<GenModels.AdditionalElementsMode>;
|
|
12
|
+
/** Добовляет информацию о расположении контролов относительно стандартных кнопок */
|
|
13
|
+
setLocation: Event<GenModels.AdditionalElementsMode>;
|
|
14
|
+
/** Отдаёт дочерние контролы панели настроек таблицы относительно расположения стандартных кнопок панели настроек */
|
|
15
|
+
getRelativeToLocation(actionButtonsRelativeToLocation: IToolbarActionContainerButton[], ...actionButtons: IToolbarActionContainerButton[]): IToolbarActionContainerButton[];
|
|
16
|
+
}
|
|
17
|
+
export declare type $ToolbarDaughterControls = {
|
|
18
|
+
toolbarDaughterControls: IToolbarDaughterControlsService;
|
|
19
|
+
};
|
|
20
|
+
export declare const $ToolbarDaughterControls: string | ((model?: $ToolbarDaughterControls) => IToolbarDaughterControlsService);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { ISelectItemData } from '@docsvision/webclient/Platform/IAggregates';
|
|
4
|
+
import '@docsvision/webclient/Platform/Controls/FolderGrid/Plugins/AggregatesCheckbox/components/aggregates-tree/aggregates-group/list-item/AggregatesListItem.css';
|
|
5
|
+
import './AggregateItemCheckbox.css';
|
|
6
|
+
export interface IAggregateItemCheckbox {
|
|
7
|
+
item: GenModels.GridAggregateValue;
|
|
8
|
+
onChange(data: ISelectItemData): void;
|
|
9
|
+
value: boolean;
|
|
10
|
+
count: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const AggregateItemCheckbox: React.FC<IAggregateItemCheckbox>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FolderGrid } from "@docsvision/webclient/Platform/FolderGrid";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof FolderGrid;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const WithAggregates: () => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $Aggregates } from '@docsvision/webclient/Platform/$AggregatesCheckbox';
|
|
3
|
+
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
4
|
+
import { ICompositionPluginProps } from '@docsvision/web/core/composition';
|
|
5
|
+
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
6
|
+
export interface IAggregatesTextResources {
|
|
7
|
+
showMoreText: string;
|
|
8
|
+
collapseItemsText: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const AggregatesCheckbox: ({ composition }: ICompositionPluginProps<any, ITableData, $Aggregates & $Resources>) => JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { $AggregatesCheckboxServices } from "@docsvision/webclient/Platform/AggregatesCheckboxService";
|
|
2
|
+
import { IAggregatesServiceOptions } from "@docsvision/webclient/Platform/IAggregates";
|
|
3
|
+
import { ITablePlugins, TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
4
|
+
import { $TableFilterService } from "@docsvision/web/components/table/plugins/filter";
|
|
5
|
+
import { $SidePanel } from "@docsvision/web/components/table/plugins/side-panel";
|
|
6
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
7
|
+
import { $Aggregates } from "@docsvision/webclient/Platform/$AggregatesCheckbox";
|
|
8
|
+
export declare const AggregatesFeature = "Aggregates";
|
|
9
|
+
export declare const AggregatesPanelContentSidePanelPlugin: TablePlugins.SidePanel.Component<$SidePanel & $Aggregates & $Resources & $AggregatesCheckboxServices>;
|
|
10
|
+
export declare const getAggregatesServiceProvider: (options: IAggregatesServiceOptions) => TablePlugins.ServiceProvider<$Aggregates & $AggregatesCheckboxServices & $TableFilterService>;
|
|
11
|
+
export declare const getAggregatesPlugins: (options: IAggregatesServiceOptions) => ITablePlugins;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { $GridController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IAggregate, IAggregateServiceOptions, IAggregatesState, ILoadItemsOptions, ISelectItemData } from "@docsvision/webclient/Platform/IAggregates";
|
|
4
|
+
import { $SidePanel } from "@docsvision/web/components/table/plugins/side-panel";
|
|
5
|
+
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
6
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
7
|
+
import { Store, Event, Effect } from "effector";
|
|
8
|
+
import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
|
|
9
|
+
import { IAggregatesCheckboxService } from "@docsvision/webclient/Platform/$AggregatesCheckbox";
|
|
10
|
+
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
11
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
12
|
+
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
13
|
+
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
14
|
+
export declare type $AggregatesCheckboxServices = $Domain & $SidePanel & $TableData & $GridController & $FolderGrid & $CurrentFolder & $LastSearchResponse & $WebFrameSearchPanel & $FolderDataLoading;
|
|
15
|
+
export declare class AggregatesCheckboxService implements IAggregatesCheckboxService {
|
|
16
|
+
private options;
|
|
17
|
+
private services;
|
|
18
|
+
$isAggregatesAvailable: Store<boolean>;
|
|
19
|
+
$aggregates: Store<IAggregate[]>;
|
|
20
|
+
$lastAggregates: Store<IAggregate[]>;
|
|
21
|
+
$selectedAggregateItems: Store<GenModels.GridAggregateValue[] | null>;
|
|
22
|
+
$aggregatesState: Store<IAggregatesState>;
|
|
23
|
+
loadAggregateItemsFx: Effect<ILoadItemsOptions | void, IAggregate[]>;
|
|
24
|
+
toggleAggregate: Event<IAggregate>;
|
|
25
|
+
selectItemValue: Event<ISelectItemData>;
|
|
26
|
+
setAggregatesAvailabe: Event<boolean>;
|
|
27
|
+
setLoading: Event<boolean>;
|
|
28
|
+
toggleAll: Event<boolean>;
|
|
29
|
+
clearAll: Event<void>;
|
|
30
|
+
selectItem: any;
|
|
31
|
+
$lastDataId: Store<string>;
|
|
32
|
+
constructor(options: IAggregateServiceOptions, services: $AggregatesCheckboxServices);
|
|
33
|
+
private getSelection;
|
|
34
|
+
updateTableAndAggregates(selectedAggregates: GenModels.GridAggregateValue[], options?: ILoadItemsOptions): Promise<void>;
|
|
35
|
+
getAggregates({ dropFilters }?: ILoadItemsOptions): Promise<IAggregate[]>;
|
|
36
|
+
prepareAggregates(aggregateModel: GenModels.GridAggregateModel[]): GenModels.GridAggregateModel[];
|
|
37
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
3
|
+
import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
|
|
4
|
+
export declare function getCurrentAggregates(cellData: ITableData): ISimplePluginData<GenModels.AggregateFilterItem[]>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { IAggregate, ISelectItemData } from '@docsvision/webclient/Platform/IAggregates';
|
|
4
|
+
import { IAggregatesTextResources } from '@docsvision/webclient/Platform/AggregatesCheckbox';
|
|
5
|
+
import '@docsvision/webclient/Platform/Controls/FolderGrid/Plugins/AggregatesCheckbox/components/aggregates-tree/aggregates-group/AggregatesGroup.css';
|
|
6
|
+
export interface IAggregatesGroup {
|
|
7
|
+
aggregate: IAggregate;
|
|
8
|
+
renderItem(item: GenModels.GridAggregateValue, onItemSelect: (data: ISelectItemData) => void): React.ReactElement;
|
|
9
|
+
toggleAggregate(item: IAggregate): void;
|
|
10
|
+
onItemSelect(data: ISelectItemData): void;
|
|
11
|
+
textResources: IAggregatesTextResources;
|
|
12
|
+
}
|
|
13
|
+
export declare const AggregatesGroup: React.FC<IAggregatesGroup>;
|