@docsvision/webclient 5.16.1 → 5.17.0-beta.12
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/$WebFrameDirectorySearchPanelService.d.ts +4 -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/WebFrameDirectorySearchPanelService.d.ts +2 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +113 -5
- package/Generated/DocsVision.WebClient.Models.d.ts +358 -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/Helpers/Typeahead/Typeahead.d.ts +1 -1
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +4 -2
- package/Legacy/GridOptions.d.ts +3 -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/$CompanyLogo.d.ts +1 -1
- 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/$GridOptions.d.ts +9 -4
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$LastSearchParameters.d.ts +10 -0
- package/Platform/$RefreshUnreadCounters.d.ts +10 -0
- package/Platform/$SearchParametersFolder.d.ts +13 -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/{SearchParametersFolderExtendedData.d.ts → AggregatesExtendedData.d.ts} +1 -1
- 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/CompanyLogoService.d.ts +3 -1
- 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 +3 -3
- package/Platform/DefaultFolderTablePluginFactory.d.ts +9 -6
- 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/FilePickerImpl.d.ts +1 -0
- 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/FolderCardsDashboardWidgetDataLoader.d.ts +13 -0
- package/Platform/FolderCardsDashboardWidgetImpl.d.ts +14 -13
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderDashboardWidget.d.ts +1 -0
- package/Platform/FolderDashboardWidgetImpl.d.ts +3 -1
- package/Platform/FolderDataContext.d.ts +6 -2
- package/Platform/FolderDataLoadingService.d.ts +13 -7
- package/Platform/FolderGrid.d.ts +9 -3
- 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/FolderGroupDashboardWidget.d.ts +3 -0
- package/Platform/FolderGroupDashboardWidgetImpl.d.ts +7 -1
- 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/FolderSizePlugin.d.ts +2 -1
- package/Platform/FolderWebFrameRouteHandler.d.ts +3 -2
- package/Platform/GetWebFrameHeaderContainerChildControls.d.ts +11 -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 +4 -3
- package/Platform/IFolderLoadRequest.d.ts +2 -1
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/LastSearchParametersService.d.ts +11 -0
- 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 +11 -5
- package/Platform/ReadBatchOperation.d.ts +4 -1
- package/Platform/RecentCardsDashboardWidget.d.ts +1 -0
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +15 -0
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +14 -14
- package/Platform/RecentCardsRouteHandler.d.ts +2 -2
- package/Platform/RefreshPlugin.d.ts +10 -4
- package/Platform/RefreshUnreadCountersService.d.ts +13 -0
- package/Platform/ResetSettingsPlugin.d.ts +10 -4
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -1
- package/Platform/SearchParametersFolderResponseResolver.d.ts +5 -1
- package/Platform/SearchParametersFolderService.d.ts +12 -0
- 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 +12 -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/UnreadBarService.d.ts +3 -1
- package/Platform/UnreadBarTablePlugins.d.ts +6 -1
- package/Platform/UnreadResponseResolver.d.ts +2 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/VisibilityWebFrameHeaderContainerChildControls.d.ts +2 -0
- package/Platform/WebFrameCompanyLogo.d.ts +4 -0
- package/Platform/WebFrameContent.d.ts +9 -1
- package/Platform/WebFrameContentImpl.d.ts +4 -0
- package/Platform/WebFrameHeaderContainer.d.ts +5 -1
- package/Platform/WebFrameHeaderContainerImpl.d.ts +8 -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 +8 -1
- package/System/$LastSearchResponse.d.ts +13 -0
- package/System/$LayoutBackground.d.ts +27 -0
- package/System/$PollService.d.ts +10 -0
- package/System/$Router.d.ts +1 -0
- package/System/BaseControl.d.ts +3 -0
- package/System/BaseControlImpl.d.ts +1 -1
- 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 +9 -3
- package/System/LayoutBackgroundService.d.ts +12 -0
- package/System/LayoutCardControllerStub.d.ts +1 -1
- package/System/LayoutContainer.d.ts +1 -1
- package/System/LayoutImpl.d.ts +1 -0
- 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/Router.d.ts +1 -0
- 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
|
@@ -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
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
2
|
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
3
3
|
import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
|
|
4
|
-
export declare function
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
import './AggregatesNotAvailable.css';
|
|
4
|
+
export interface IAggregatesNotAvailableProps extends HtmlProps.div {
|
|
5
|
+
}
|
|
6
|
+
export declare const AggregatesNotAvailable: (props: IAggregatesNotAvailableProps) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IFolderDataLoadingPlugin } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
2
|
+
import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
5
|
+
import { IFolderLoadRequest } from "@docsvision/webclient/Platform/IFolderLoadRequest";
|
|
6
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
7
|
+
export declare class AggregatesRequestResolver implements IFolderDataLoadingPlugin {
|
|
8
|
+
id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
order: PluginOrder;
|
|
11
|
+
resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $LastSearchResponse): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IFolderDataLoadingPlugin, ResponseResolveResult } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
2
|
+
import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
5
|
+
export declare class AggregatesResponseResolver implements IFolderDataLoadingPlugin {
|
|
6
|
+
id: string;
|
|
7
|
+
description: string;
|
|
8
|
+
order: PluginOrder;
|
|
9
|
+
resolveResponse(data: ITableData, response: GenModels.GridViewModel): Promise<void | ResponseResolveResult>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IAggregatesState, IAggregate, ISelectItemData } from "@docsvision/webclient/Platform/IAggregates";
|
|
4
|
+
import { IComposition } from "@docsvision/web/core/composition";
|
|
5
|
+
import { IAggregatesTextResources } from "@docsvision/webclient/Platform/AggregatesCheckbox";
|
|
6
|
+
import "./AggregatesTree.css";
|
|
7
|
+
export interface IAggregateTreeProps {
|
|
8
|
+
/** Дерево группировки. Значение null означает, что данные еще в процессе загрузки. */
|
|
9
|
+
aggregates?: IAggregate[] | null;
|
|
10
|
+
textResources: IAggregatesTextResources;
|
|
11
|
+
aggregatesState?: IAggregatesState;
|
|
12
|
+
composition?: IComposition;
|
|
13
|
+
toggleAggregate?: (item: IAggregate) => void;
|
|
14
|
+
onItemSelect?: (data: ISelectItemData) => void;
|
|
15
|
+
onLoadMoreItems?: (aggregates: GenModels.GridAggregateModel[]) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const AggregatesTree: ({ aggregates, aggregatesState, ...props }: IAggregateTreeProps) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { IAggregate } from "@docsvision/webclient/Platform/IAggregates";
|
|
3
|
+
export declare const NUMBER_OF_AGGREGATE_ITEMS_IN_ONE_GROUP = 7;
|
|
4
|
+
export declare const setMainAggregateFirst: (aggregates: IAggregate[] | null) => IAggregate[];
|
|
5
|
+
export declare const prepareToShowByGroups: (items: GenModels.GridAggregateValue[], numberOfExpandedGroups: number) => GenModels.GridAggregateValue[];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
export interface ArchivedCardsIconProps extends HtmlProps.svg {
|
|
4
|
+
}
|
|
5
|
+
export declare const ArchivedCardsIcon: (props: ArchivedCardsIconProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
2
|
-
import '
|
|
2
|
+
import './ArchivedCards.css';
|
|
3
3
|
export declare const TableCellArchivedCardsContent: TablePlugins.Cell.Component;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IFolderDataLoadingPlugin, ResponseResolveResult } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
2
2
|
import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
-
import {
|
|
4
|
+
import { IRow, ITableData } from "@docsvision/web/components/table/interfaces";
|
|
5
5
|
export declare enum ArchiveState {
|
|
6
6
|
NotArchived = 0,
|
|
7
7
|
Archived = 1
|
|
@@ -13,7 +13,6 @@ export interface IColumnArchivedState {
|
|
|
13
13
|
value: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare const getRowArchivedStatePluginData: (row: IRow) => IRowArchivedState;
|
|
16
|
-
export declare const getColumnArchivedStatePluginData: (column: IColumn) => IColumnArchivedState;
|
|
17
16
|
export declare const ARCHIVED_COLUMN_ORDER = -1;
|
|
18
17
|
export declare class ArchivedCardsResponseResolver implements IFolderDataLoadingPlugin {
|
|
19
18
|
id: string;
|
|
@@ -12,10 +12,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
|
|
|
12
12
|
constructor(props: PropsT, state?: StateT);
|
|
13
13
|
UNSAFE_componentWillMount(): void;
|
|
14
14
|
onSelecting():
|
|
15
|
-
import("C:/
|
|
15
|
+
import("C:/dev/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
16
16
|
onSelected(): void;
|
|
17
17
|
onToggling():
|
|
18
|
-
import("C:/
|
|
18
|
+
import("C:/dev/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
19
19
|
onToggled(): void;
|
|
20
20
|
protected onClick(event: React.MouseEvent<any>): void;
|
|
21
21
|
protected getCssClass(): string;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BatchOperationsProgressDialogProps, BatchOperationsProgressDialogState, IBatchOperationsProgressDialog } from '@docsvision/webclient/Platform/$BatchOperationsProgressDialog';
|
|
3
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
export declare class BatchOperationsProgressDialogService implements IBatchOperationsProgressDialog {
|
|
5
|
+
private services;
|
|
4
6
|
private host;
|
|
5
7
|
private props;
|
|
6
8
|
private state;
|
|
7
|
-
constructor();
|
|
9
|
+
constructor(services: $DeviceType);
|
|
8
10
|
open(props: BatchOperationsProgressDialogProps): Promise<void>;
|
|
9
11
|
updateState(state: BatchOperationsProgressDialogState): Promise<void>;
|
|
10
12
|
close(): Promise<void>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import '@docsvision/webclient/Platform/Controls/FolderGrid/Plugins/Filtering/components/ClearButton.css';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { Moment } from 'moment';
|
|
4
|
+
export interface IFilteringClearButtonProps {
|
|
5
|
+
onChange(value: (string | Moment)[]): void;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const ClearButton: FC<IFilteringClearButtonProps>;
|
|
@@ -7,9 +7,11 @@ export declare class CompanyLogoService implements ICompanyLogoService {
|
|
|
7
7
|
_isHidden: boolean;
|
|
8
8
|
_logoType: LogoType;
|
|
9
9
|
_logoText: string;
|
|
10
|
+
_alwaysShow: boolean;
|
|
11
|
+
_filePath: string;
|
|
10
12
|
updateLogoVisibility: SimpleEvent<any>;
|
|
11
13
|
updateLogoType: SimpleEvent<any>;
|
|
12
|
-
setCompanyLogoElements: (control: HTMLElement, icon: HTMLElement) => void;
|
|
14
|
+
setCompanyLogoElements: (control: HTMLElement, icon: HTMLElement, alwaysShow?: boolean, filePath?: string) => void;
|
|
13
15
|
getCompanyLogoElement: () => HTMLElement;
|
|
14
16
|
getLogoVisibility: () => boolean;
|
|
15
17
|
getTypeOfLogo: () => LogoType;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ConfigurableMainMenuContainerButtonImpl, ConfigurableMainMenuContainerButtonState } from "@docsvision/webclient/Platform/ConfigurableMainMenuContainerButtonImpl";
|
|
2
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
2
3
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
3
4
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
4
5
|
import { $ControlStore } from '@docsvision/webclient/System/LayoutServices';
|
|
@@ -36,7 +37,7 @@ export declare class ConfigurableMainMenuContainerButtonParams extends BaseContr
|
|
|
36
37
|
attachFolderClicked?: BasicApiEvent<void>;
|
|
37
38
|
/** Активирован элемент меню "Обновить дерево папок". */
|
|
38
39
|
refreshFoldersClicked?: BasicApiEvent<void>;
|
|
39
|
-
services?: $ControlStore & $Layout & $RequestManager;
|
|
40
|
+
services?: $ControlStore & $Layout & $RequestManager & $DeviceType;
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* Добавляет в web-разметку кнопку в виде иконки шестеренки для открытия меню {@link СonfigurableMainMenuContainer}.
|
|
@@ -6,6 +6,7 @@ import { $TableDom } from '@docsvision/web/components/table/plugins/table-dom';
|
|
|
6
6
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
7
7
|
import AlloyFinger from "alloyfinger";
|
|
8
8
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
9
|
+
import { $CheckboxService } from "@docsvision/web/components/table/plugins/checkbox";
|
|
9
10
|
export declare enum RowType {
|
|
10
11
|
TableHeaderRowItem = 0,
|
|
11
12
|
TableRowItem = 1
|
|
@@ -23,25 +24,30 @@ export interface ITableRowItemProps {
|
|
|
23
24
|
export interface IAlloy {
|
|
24
25
|
finger?: AlloyFinger;
|
|
25
26
|
}
|
|
26
|
-
declare type $ContextMenuServices = $ScrollContainer & $TableDom & $ContextMenuOptions & $DeviceType;
|
|
27
|
+
declare type $ContextMenuServices = $ScrollContainer & $TableDom & $ContextMenuOptions & $DeviceType & $CheckboxService;
|
|
27
28
|
export declare class ContextMenu {
|
|
28
29
|
private node;
|
|
29
30
|
private composition;
|
|
30
31
|
private static mMenuBarsContainer;
|
|
32
|
+
private ACTIVE_ROW_CLASSNAME;
|
|
31
33
|
private isMenuExpanded;
|
|
32
34
|
private mContainer;
|
|
33
35
|
private pageCoordinates;
|
|
34
36
|
private alloy;
|
|
37
|
+
private targetRow;
|
|
35
38
|
private static getMenuBarsContainer;
|
|
36
39
|
constructor(node: HTMLElement, composition: IComposition<any, unknown, $ContextMenuServices & $Domain>);
|
|
37
40
|
static Setup(node: HTMLElement, composition: IComposition<any, unknown, $ContextMenuServices & $Domain>): void;
|
|
38
41
|
renderContextMenu(): JSX.Element;
|
|
39
42
|
onShow(): void;
|
|
43
|
+
private shouldShow;
|
|
44
|
+
private isMobile;
|
|
40
45
|
onHide(): void;
|
|
41
46
|
componentWillUnmount(): void;
|
|
42
47
|
openMenu: () => void;
|
|
43
48
|
closeMenu: () => void;
|
|
44
49
|
hideContextMenuHandler: () => void;
|
|
50
|
+
private setRowSelection;
|
|
45
51
|
showContextMenuHandler: (e?: any) => void;
|
|
46
52
|
addContextMenuCustom: (row: HTMLElement) => void;
|
|
47
53
|
removeContextMenuCustom: (row: HTMLElement) => void;
|
|
@@ -28,9 +28,11 @@ export declare class ContextMenuOptionsService implements IContextMenuOptionsSer
|
|
|
28
28
|
constructor(services: $Domain);
|
|
29
29
|
get menuClassName(): string;
|
|
30
30
|
set menuClassName(value: string);
|
|
31
|
-
get $itemProviders(): Store<ContextMenuItemsManagementData
|
|
32
|
-
get $itemFilters(): Store<ContextMenuItemsManagementData
|
|
31
|
+
get $itemProviders(): Store<ContextMenuItemsManagementData<IDataItemProvider[]>>;
|
|
32
|
+
get $itemFilters(): Store<ContextMenuItemsManagementData<IDataItemFilter[]>>;
|
|
33
33
|
static initBase(target: ContextMenuOptionsService, services: $Domain): void;
|
|
34
|
+
isAddedProvider(id: string, compositionName: string): boolean;
|
|
35
|
+
isAddedFilter(id: string, compositionName: string): boolean;
|
|
34
36
|
addItemProvider(data: IDataItemProvider): void;
|
|
35
37
|
addItemFilter(data: IDataItemFilter): void;
|
|
36
38
|
deleteItemProvider(functionName?: string): void;
|
|
@@ -38,8 +40,9 @@ export declare class ContextMenuOptionsService implements IContextMenuOptionsSer
|
|
|
38
40
|
registerBlocks(newBlocks: ICustomContextMenuBlock[]): void;
|
|
39
41
|
unregisterBlocks(unregisteredBlockNames: string[]): void;
|
|
40
42
|
protected getItemsByContext(context: IComposition<any, any, $TableData>): any[];
|
|
41
|
-
protected addFunction(functionData: ContextMenuItemsManagementData
|
|
42
|
-
protected removeFunction(functionData: ContextMenuItemsManagementData
|
|
43
|
+
protected addFunction(functionData: ContextMenuItemsManagementData<IDataItemProvider[] | IDataItemFilter[]>, newFunction: IDataItemProvider | IDataItemFilter): ContextMenuItemsManagementData<IDataItemProvider[] | IDataItemFilter[]>;
|
|
44
|
+
protected removeFunction(functionData: ContextMenuItemsManagementData<IDataItemProvider[] | IDataItemFilter[]>, functionName?: string, composition?: string): ContextMenuItemsManagementData<IDataItemProvider[] | IDataItemFilter[]>;
|
|
43
45
|
protected addItems(currentItems: ICustomContextMenuOption[], newItems?: ICustomContextMenuOption[]): ICustomContextMenuOption[];
|
|
44
46
|
private filterElementsInComposition;
|
|
47
|
+
protected isAdded(id: string, data: ContextMenuItemsManagementData<IDataItemProvider[] | IDataItemFilter[]>, compositionName: string): boolean;
|
|
45
48
|
}
|
package/Platform/DateInput.d.ts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { IDateFormatPluginData } from '@docsvision/web/components/table/plugins/filter/elements/filter-panel/FilterPanelLogic';
|
|
1
|
+
import React from 'react';
|
|
3
2
|
import './DateInput.css';
|
|
4
|
-
import
|
|
5
|
-
export interface DateInputProps {
|
|
6
|
-
dateFormatData: IDateFormatPluginData;
|
|
7
|
-
value: string;
|
|
8
|
-
onChange(e: any, clear?: boolean, ref?: RefObject<HTMLInputElement>): void;
|
|
9
|
-
focused?: boolean;
|
|
10
|
-
onChangeFocus?(e: any, flag: boolean): void;
|
|
11
|
-
isValueValid?: boolean;
|
|
12
|
-
locale?: string;
|
|
13
|
-
customClass: string;
|
|
14
|
-
forwardRef: RefObject<ReactInputMask>;
|
|
3
|
+
import { IFilterComponent } from '@docsvision/webclient/Platform/IFilterComponent';
|
|
4
|
+
export interface DateInputProps extends IFilterComponent {
|
|
15
5
|
}
|
|
16
6
|
export declare const DateInput: React.FC<DateInputProps>;
|
|
@@ -2,9 +2,9 @@ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
2
2
|
import { IFolderDataLoader } from '@docsvision/webclient/Platform/IFolderDataLoader';
|
|
3
3
|
import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
4
4
|
export declare class DefaultFolderDataLoader implements IFolderDataLoader {
|
|
5
|
-
|
|
5
|
+
protected services: $GridController;
|
|
6
6
|
id: string;
|
|
7
7
|
constructor(services: $GridController);
|
|
8
|
-
load(request: GenModels.CardListRequestModel): Promise<GenModels.GridViewModelEx>;
|
|
9
|
-
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData): Promise<void>;
|
|
8
|
+
load(request: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.GridViewModelEx>;
|
|
9
|
+
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData, instanceId?: string): Promise<void>;
|
|
10
10
|
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { IFolderPluginFactory } from "@docsvision/webclient/Platform/IFolderPluginFactory";
|
|
2
|
-
import { ICommonFolderInfo } from
|
|
3
|
-
import { $CurrentLocation } from
|
|
4
|
-
import { $ApplicationSettings, $DeviceType } from
|
|
5
|
-
import { $CardController } from
|
|
6
|
-
import { $UnreadCounter } from
|
|
2
|
+
import { ICommonFolderInfo } from "@docsvision/webclient/Platform/ICommonFolderInfo";
|
|
3
|
+
import { $CurrentLocation } from "@docsvision/webclient/System/LayoutServices";
|
|
4
|
+
import { $ApplicationSettings, $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
|
+
import { $CardController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
6
|
+
import { $UnreadCounter } from "@docsvision/webclient/Platform/$UnreadCounter";
|
|
7
7
|
import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
|
|
8
8
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
9
9
|
import { ITablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
10
10
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
11
|
+
import { $HoverPanel } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
12
|
+
import { $ToolbarActionContainer } from "@docsvision/web/components/table/plugins/toolbar-action-container/$ToolbarActionContainerService";
|
|
13
|
+
import { $ToolbarDaughterControls } from "@docsvision/webclient/Platform/$ToolbarDaughterControls";
|
|
11
14
|
export declare class DefaultFolderTablePluginFactory implements IFolderPluginFactory {
|
|
12
15
|
private services;
|
|
13
16
|
id: string;
|
|
14
17
|
constructor(services: $CardController & $UnreadCounter & $ApplicationSettings & $Domain);
|
|
15
|
-
getTablePlugins(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType & $ApplicationSettings & $FolderDataLoading & $FolderGrid & $Domain): ITablePlugins[];
|
|
18
|
+
getTablePlugins(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType & $ApplicationSettings & $FolderDataLoading & $FolderGrid & $Domain & $HoverPanel & $ToolbarActionContainer & $ToolbarDaughterControls): ITablePlugins[];
|
|
16
19
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { $EmployeeServices } from '@docsvision/webclient/BackOffice/Employee';
|
|
2
|
+
import { $LayoutCardController, $LayoutTasksController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
|
+
import { $CheckBoxServices } from '@docsvision/webclient/Platform/CheckBox';
|
|
4
|
+
import { $TextAreaServices } from '@docsvision/webclient/Platform/TextArea';
|
|
5
|
+
import { $BatchOperations } from '@docsvision/webclient/Platform/$BatchOperations';
|
|
6
|
+
import { $BatchOperationsPerformer } from '@docsvision/webclient/Platform/$BatchOperationsPerformer';
|
|
7
|
+
import { $TableManagement } from '@docsvision/webclient/Platform/$TableManagement';
|
|
8
|
+
import { $TableMode } from '@docsvision/webclient/Platform/$TableMode';
|
|
9
|
+
import { $TableRowSelection } from '@docsvision/webclient/Platform/$TableRowSelection';
|
|
10
|
+
import { BaseControl, BaseControlParams } from '@docsvision/webclient/System/BaseControl';
|
|
11
|
+
import { Router } from '@docsvision/webclient/System/Router';
|
|
12
|
+
import { DeleteBatchOperationImpl, DeleteBatchOperationState } from '@docsvision/webclient/Platform/DeleteBatchOperationImpl';
|
|
13
|
+
import { $FolderDataLoading } from '@docsvision/webclient/Platform/$FolderDataLoading';
|
|
14
|
+
/**
|
|
15
|
+
* Содержит публичные свойства элемента управления [ControlTypes_DeleteBatchOperation]{@link ControlTypes_DeleteBatchOperation}.
|
|
16
|
+
*/
|
|
17
|
+
export declare class DeleteBatchOperationParams extends BaseControlParams {
|
|
18
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
19
|
+
standardCssClass?: string;
|
|
20
|
+
/** Текст кнопки операции. */
|
|
21
|
+
buttonText?: string;
|
|
22
|
+
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & Router & $LayoutCardController;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Класс элемента управления DeleteBatchOperation.
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteBatchOperation extends BaseControl<DeleteBatchOperationParams, DeleteBatchOperationState> {
|
|
28
|
+
/** @notest @internal */
|
|
29
|
+
protected createParams(): DeleteBatchOperationParams;
|
|
30
|
+
protected createImpl(): DeleteBatchOperationImpl;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
3
|
+
import { BaseControlImpl } from '@docsvision/webclient/System/BaseControlImpl';
|
|
4
|
+
import { DeleteBatchOperationParams } from '@docsvision/webclient/Platform/DeleteBatchOperation';
|
|
5
|
+
import './DeleteBatchOperation.css';
|
|
6
|
+
export interface DeleteBatchOperationState extends DeleteBatchOperationParams, BaseControlState {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Класс элемента управления ControlTypes_DeleteBatchOperation.
|
|
10
|
+
*/
|
|
11
|
+
export declare class DeleteBatchOperationImpl extends BaseControlImpl<DeleteBatchOperationParams, DeleteBatchOperationState> {
|
|
12
|
+
constructor(state: any, props: any);
|
|
13
|
+
componentDidMount(): void;
|
|
14
|
+
componentWillUnmount(): void;
|
|
15
|
+
onSelectionChanged: () => void;
|
|
16
|
+
private onDeleteClick;
|
|
17
|
+
private getOperationInfo;
|
|
18
|
+
private isVisible;
|
|
19
|
+
getCssClass(): string;
|
|
20
|
+
private delete;
|
|
21
|
+
private getButtonText;
|
|
22
|
+
renderControl(): JSX.Element;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DownloadDocumentFileMode } from "@docsvision/webclient/Platform/DownloadDocumentFileMode";
|
|
2
|
+
import { IFileInfo } from "@docsvision/webclient/Platform/IFileInfo";
|
|
3
|
+
export interface DownloadBatchOperationFileInfoCard {
|
|
4
|
+
fileInfo: IFileInfo;
|
|
5
|
+
downloadDocumentFileMode: DownloadDocumentFileMode;
|
|
6
|
+
cardId: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseControlParams, BaseControl } from '@docsvision/webclient/System/BaseControl';
|
|
2
|
+
import { $TableRowSelection } from '@docsvision/webclient/Platform/$TableRowSelection';
|
|
3
|
+
import { $BatchOperationsPerformer } from '@docsvision/webclient/Platform/$BatchOperationsPerformer';
|
|
4
|
+
import { $TableManagement } from '@docsvision/webclient/Platform/$TableManagement';
|
|
5
|
+
import { $TableMode } from '@docsvision/webclient/Platform/$TableMode';
|
|
6
|
+
import { $BatchOperations } from '@docsvision/webclient/Platform/$BatchOperations';
|
|
7
|
+
import { DownloadFilesBatchOperationImpl, DownloadFilesBatchOperationState } from './DownloadFilesBatchOperationImpl';
|
|
8
|
+
import { DownloadDocumentFileMode } from './DownloadDocumentFileMode';
|
|
9
|
+
import { $UrlResolver } from '@docsvision/webclient/System/$UrlResolver';
|
|
10
|
+
import { $Folders } from '@docsvision/webclient/Legacy/$Folders';
|
|
11
|
+
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
12
|
+
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
13
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
14
|
+
import { $CardDataController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
15
|
+
export declare class DownloadFilesBatchOperationParams extends BaseControlParams {
|
|
16
|
+
standardCssClass?: string;
|
|
17
|
+
buttonText?: string;
|
|
18
|
+
downloadDocumentFileMode?: DownloadDocumentFileMode;
|
|
19
|
+
folders?: string[];
|
|
20
|
+
services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $Folders & $FileDownload & $RequestManager & $UrlResolver & $CardDataController;
|
|
21
|
+
includeMainFiles?: boolean;
|
|
22
|
+
includeAdditionalFiles?: boolean;
|
|
23
|
+
downloadFilesWithSignature?: boolean;
|
|
24
|
+
/** Формат подписи */
|
|
25
|
+
signatureFormat?: GenModels.SignatureFormat;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Класс элемента управления DownloadFilesBatchOperation.
|
|
29
|
+
*/
|
|
30
|
+
export declare class DownloadFilesBatchOperation extends BaseControl<DownloadFilesBatchOperationParams, DownloadFilesBatchOperationState> {
|
|
31
|
+
constructor(props: any);
|
|
32
|
+
private set setFolders(value);
|
|
33
|
+
/** @notest @internal */
|
|
34
|
+
protected createParams(): DownloadFilesBatchOperationParams;
|
|
35
|
+
protected createImpl(): DownloadFilesBatchOperationImpl;
|
|
36
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "file-saver";
|
|
3
|
+
import { DownloadFilesBatchOperationParams } from '@docsvision/webclient/Platform/DownloadFilesBatchOperation';
|
|
4
|
+
import { BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
5
|
+
import { BaseControlImpl } from '@docsvision/webclient/System/BaseControlImpl';
|
|
6
|
+
import './DownloadFilesBatchOperation.css';
|
|
7
|
+
export interface DownloadFilesBatchOperationState extends DownloadFilesBatchOperationParams, BaseControlState {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Класс элемента управления DownloadFilesBatchOperation.
|
|
11
|
+
*/
|
|
12
|
+
export declare class DownloadFilesBatchOperationImpl extends BaseControlImpl<DownloadFilesBatchOperationParams, DownloadFilesBatchOperationState> {
|
|
13
|
+
componentDidMount(): void;
|
|
14
|
+
componentWillUnmount(): void;
|
|
15
|
+
onSelectionChanged: () => void;
|
|
16
|
+
private getOperationInfo;
|
|
17
|
+
private onClickDownloadWithSign;
|
|
18
|
+
private downloadWithSign;
|
|
19
|
+
private onDownloadFilesClick;
|
|
20
|
+
private downloadFile;
|
|
21
|
+
private isAvailable;
|
|
22
|
+
private isVisible;
|
|
23
|
+
getCssClass(): string;
|
|
24
|
+
private getButtonText;
|
|
25
|
+
renderControl(): JSX.Element;
|
|
26
|
+
}
|
package/Platform/Dropdown.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ import { Optional } from '@docsvision/web/core/services';
|
|
|
14
14
|
export declare class DropdownParams extends InputBasedControlParams<string> {
|
|
15
15
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
16
16
|
standardCssClass?: string;
|
|
17
|
+
/** Дополнительный CSS класс для раскрывающегося списка */
|
|
18
|
+
customCssForPopover?: string;
|
|
17
19
|
/** Список элементов, доступных для выбора */
|
|
18
20
|
items: GenModels.Element[];
|
|
19
21
|
/** Флаг развернутости Раскрывающегося списка */
|
|
@@ -30,6 +32,8 @@ export declare class DropdownParams extends InputBasedControlParams<string> {
|
|
|
30
32
|
expanded?: BasicApiEvent<IEventArgs>;
|
|
31
33
|
elementContentRenderFunc?: (element: GenModels.Element) => JSX.Element;
|
|
32
34
|
services?: $EditOperationStore & $LayoutInfo & Optional<$LabelWidth>;
|
|
35
|
+
/** Статичное смещение всплывающего окна Popover от вычисленного положения по оси Y в пикселях. */
|
|
36
|
+
yShift?: number;
|
|
33
37
|
}
|
|
34
38
|
/**
|
|
35
39
|
* Класс элемента управления Раскрывающийся список.
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
2
|
-
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
3
2
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
4
|
-
|
|
5
|
-
export declare
|
|
6
|
-
export declare const ExportPlugin:
|
|
3
|
+
import { IComposition } from "@docsvision/web/core/composition/IComposition";
|
|
4
|
+
export declare type $ExportToolbarActionServices = $TableData & $FolderDataLoading;
|
|
5
|
+
export declare const ExportPlugin: {
|
|
6
|
+
name: string;
|
|
7
|
+
iconClass: string;
|
|
8
|
+
title: string;
|
|
9
|
+
onClick: typeof exportExcel;
|
|
10
|
+
};
|
|
11
|
+
declare function exportExcel(composition: IComposition<any, any, $ExportToolbarActionServices>): Promise<void>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControlParams, BaseControl, BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
3
|
+
import { IBindingResult } from '@docsvision/webclient/System/IBindingResult';
|
|
4
|
+
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
5
|
+
import { $EditOperationStore } from '@docsvision/webclient/System/LayoutServices';
|
|
6
|
+
export declare class FavoriteParams extends BaseControlParams {
|
|
7
|
+
standardCssClass?: string;
|
|
8
|
+
isFavorite: boolean;
|
|
9
|
+
canEdit?: boolean;
|
|
10
|
+
services: $EditOperationStore;
|
|
11
|
+
}
|
|
12
|
+
export interface FavoriteState extends BaseControlState, FavoriteParams {
|
|
13
|
+
}
|
|
14
|
+
export declare class Favorite extends BaseControl<FavoriteParams, FavoriteState> {
|
|
15
|
+
constructor(params: any);
|
|
16
|
+
protected set binding(binding: IBindingResult<boolean>);
|
|
17
|
+
createParams(): FavoriteParams;
|
|
18
|
+
createImpl(): ControlImpl;
|
|
19
|
+
renderControl(): JSX.Element;
|
|
20
|
+
private onClick;
|
|
21
|
+
private addRemoveFavoriteCard;
|
|
22
|
+
}
|