@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
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -6,5 +6,5 @@ export declare class DefaultFolderDataLoader implements IFolderDataLoader {
|
|
|
6
6
|
id: string;
|
|
7
7
|
constructor(services: $GridController);
|
|
8
8
|
load(request: GenModels.CardListRequestModel): Promise<GenModels.GridViewModelEx>;
|
|
9
|
-
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData): Promise<void>;
|
|
9
|
+
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData, instanceId?: string): Promise<void>;
|
|
10
10
|
}
|
|
@@ -8,9 +8,12 @@ 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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { $LayoutController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
3
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
4
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
5
|
+
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
6
|
+
import { IFavoritesPageRouteData } from '@docsvision/webclient/Platform/IFavoritesPageRouteData';
|
|
7
|
+
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class FavoritesPageRouteHandler implements IRouteHandler<IFavoritesPageRouteData> {
|
|
10
|
+
private services;
|
|
11
|
+
protected gridLocationName: string;
|
|
12
|
+
name: string;
|
|
13
|
+
constructor(services: $LayoutController & $LayoutManager & $Router);
|
|
14
|
+
prepareRouteDataLoad(knownRouteData: Partial<IFavoritesPageRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
|
|
15
|
+
loadRouteData(knownRouteData: Partial<IFavoritesPageRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
|
+
mountRoute(data: IFavoritesPageRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
17
|
+
unmountRoute(data: IFavoritesPageRouteData, routeType: RouteType): Promise<{}>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IFavoritesRouteData } from "@docsvision/webclient/Platform/IFavoritesRouteData";
|
|
4
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
5
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
6
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
7
|
+
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class FavoritesRouteHandler implements IRouteHandler<IFavoritesRouteData> {
|
|
10
|
+
private services;
|
|
11
|
+
private gridLocationName;
|
|
12
|
+
name: string;
|
|
13
|
+
constructor(services: $GridController & $LayoutManager);
|
|
14
|
+
protected gridModelLoader: (requestData: any, isMobile: boolean) => Promise<GenModels.GridViewModel>;
|
|
15
|
+
loadRouteData(knownRouteData: Partial<IFavoritesRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
|
+
mountRoute(data: IFavoritesRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
17
|
+
unmountRoute(data: IFavoritesRouteData, routeType: RouteType): Promise<{}>;
|
|
18
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
1
2
|
import { IFileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
2
3
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
3
4
|
import "file-saver";
|
|
@@ -6,5 +7,5 @@ export declare class FileDownloadService implements IFileDownload {
|
|
|
6
7
|
private services;
|
|
7
8
|
constructor(services: $RequestManager);
|
|
8
9
|
download(url: string): void;
|
|
9
|
-
saveAs(url: string, fileName: string): Promise<Blob>;
|
|
10
|
+
saveAs(url: string, fileName: string, options?: RequestOptions): Promise<Blob>;
|
|
10
11
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '@docsvision/webclient/Platform/Controls/FolderGrid/Plugins/Filtering/components/inputs/FocusableTextInput.css';
|
|
3
|
+
import './FilterDate.css';
|
|
4
|
+
import { IFilterComponent } from '@docsvision/webclient/Platform/IFilterComponent';
|
|
5
|
+
export declare enum FilterDateMode {
|
|
6
|
+
DateList = 0,
|
|
7
|
+
DateCalendar = 1
|
|
8
|
+
}
|
|
9
|
+
export interface FilterDateProps extends IFilterComponent {
|
|
10
|
+
}
|
|
11
|
+
export declare const FilterDate: React.NamedExoticComponent<FilterDateProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './FilterDateRangePicker.css';
|
|
3
|
+
import { IFilterComponent } from '@docsvision/webclient/Platform/IFilterComponent';
|
|
4
|
+
export interface FilterDateRangePickerProps extends IFilterComponent {
|
|
5
|
+
}
|
|
6
|
+
export declare function FilterDateRangePicker(props: FilterDateRangePickerProps): JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IFilterComponent } from '@docsvision/webclient/Platform/IFilterComponent';
|
|
3
|
+
export interface FilterDateTextListInputProps extends IFilterComponent {
|
|
4
|
+
}
|
|
5
|
+
export declare function FilterDateTextListInput(props: FilterDateTextListInputProps): JSX.Element;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import '@docsvision/webclient/Platform/Controls/FolderGrid/Plugins/Filtering/components/inputs/FocusableTextInput.css';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
onChange(e: any, clear?: boolean, ref?: RefObject<HTMLInputElement>): void;
|
|
6
|
-
focused?: boolean;
|
|
7
|
-
onChangeFocus?(e: any, flag: boolean): void;
|
|
8
|
-
customClass: string;
|
|
9
|
-
forwardRef: RefObject<any>;
|
|
3
|
+
import { IFilterComponent } from '@docsvision/webclient/Platform/IFilterComponent';
|
|
4
|
+
export interface PanelInputProps extends IFilterComponent {
|
|
10
5
|
}
|
|
11
6
|
export declare const FocusableTextInput: React.NamedExoticComponent<PanelInputProps>;
|
package/Platform/Folder.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { $LayoutFolderController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
3
|
import { FolderImpl, FolderState } from "@docsvision/webclient/Platform/FolderImpl";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
5
6
|
import { IDataChangedEventArgs } from "@docsvision/webclient/System/IDataChangedEventArgs";
|
|
6
7
|
import { $CardInfo, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -37,7 +38,7 @@ export declare class FolderParams extends BaseControlParams {
|
|
|
37
38
|
folderList?: GenModels.SelectFolderNode[];
|
|
38
39
|
/** Событие возникает после выбора папки. */
|
|
39
40
|
dataChanged?: BasicApiEvent<IDataChangedEventArgs>;
|
|
40
|
-
services?: $LayoutFolderController & $CardInfo & $LayoutInfo;
|
|
41
|
+
services?: $LayoutFolderController & $CardInfo & $LayoutInfo & $DeviceType;
|
|
41
42
|
/** Флаг, отвечающий за отображение дерева папок */
|
|
42
43
|
displayFolderTree: boolean;
|
|
43
44
|
}
|
|
@@ -17,6 +17,8 @@ export interface IFolderContentProps {
|
|
|
17
17
|
isModal?: boolean;
|
|
18
18
|
onFolderClick?: any;
|
|
19
19
|
showFolderType?: GenModels.FolderNodeType;
|
|
20
|
+
/** Максимизировано ли модальное окно */
|
|
21
|
+
maximized?: boolean;
|
|
20
22
|
}
|
|
21
23
|
/** @internal */
|
|
22
24
|
export declare class FolderContent extends React.Component<IFolderContentProps, IFolderContentState> {
|
|
@@ -10,6 +10,7 @@ import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
|
10
10
|
import { $FolderPluginProvider } from '@docsvision/webclient/Platform/$FolderPluginProvider';
|
|
11
11
|
import { Optional } from '@docsvision/web/core/services';
|
|
12
12
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
13
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
13
14
|
export declare type $FolderDataContextServices = Optional<$CurrentFolder> & $CurrentLocation & $GridController & $DeviceType & $FolderPluginProvider & $WebFrameSearchPanel;
|
|
14
15
|
/**
|
|
15
16
|
* Содержит публичные свойства элемента управления [Данные папки]{@link FolderDataContext}.
|
|
@@ -27,7 +28,9 @@ export declare class FolderDataContextParams extends PanelParams {
|
|
|
27
28
|
gridViewModel?: GenModels.GridViewModel;
|
|
28
29
|
/** Расширения, определяющие набор доступных сервисов и способ загрузки данных папки. */
|
|
29
30
|
plugins?: IFolderDataLoadingPlugin[];
|
|
30
|
-
|
|
31
|
+
/** Доступные представления. */
|
|
32
|
+
viewSelection?: string;
|
|
33
|
+
services?: $FolderDataContextServices & $LastSearchResponse;
|
|
31
34
|
}
|
|
32
35
|
/**
|
|
33
36
|
* Класс элемента управления Данные папки.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IFolderDataLoader } from "@docsvision/webclient/Platform/IFolderDataLoader";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
3
|
import { IFolderDataLoadingService } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
3
4
|
import { $ApplicationSettings, $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { $CurrentLocation } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -10,21 +11,22 @@ import { IColumnsWidth } from "@docsvision/web/components/table/plugins/resize-c
|
|
|
10
11
|
import { SortDirection } from "@docsvision/web/components/table/plugins/sort";
|
|
11
12
|
import { IFilterActiveColumn } from "@docsvision/web/components/table/plugins/filter";
|
|
12
13
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
13
|
-
import { $Router } from
|
|
14
|
+
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
14
15
|
import { Store, Event } from "effector";
|
|
15
|
-
import { $CurrentFolder } from
|
|
16
|
+
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
16
17
|
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
17
18
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
18
19
|
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from "@docsvision/web/components/table/plugins/grouping";
|
|
20
|
+
import { AggregateItem } from "@docsvision/webclient/Platform/IAggregates";
|
|
19
21
|
export declare type $FolderDataLoadingDependencies = $DeviceType & $CurrentLocation & $GridController & $ApplicationSettings & $Domain & $Router & $CurrentFolder & $LastSearchResponse & $WebFrameSearchPanel;
|
|
20
22
|
export declare class FolderDataLoadingService implements IFolderDataLoadingService {
|
|
21
23
|
private defaultDataLoader;
|
|
22
24
|
private services;
|
|
23
|
-
|
|
25
|
+
lastResponse: GenModels.GridViewModel;
|
|
24
26
|
private lastRequest;
|
|
25
27
|
private folderInfo;
|
|
26
28
|
private plugins;
|
|
27
|
-
constructor(defaultDataLoader: IFolderDataLoader, services: $FolderDataLoadingDependencies
|
|
29
|
+
constructor(defaultDataLoader: IFolderDataLoader, services: $FolderDataLoadingDependencies);
|
|
28
30
|
init(): void;
|
|
29
31
|
addPlugin(plugin: IFolderDataLoadingPlugin): void;
|
|
30
32
|
removePlugin(id: string): void;
|
|
@@ -33,15 +35,19 @@ export declare class FolderDataLoadingService implements IFolderDataLoadingServi
|
|
|
33
35
|
setCurrentData: Event<ITableData>;
|
|
34
36
|
pageSize: number;
|
|
35
37
|
loadData(options: IFolderLoadRequest, customLoader?: IFolderDataLoader): Promise<void>;
|
|
38
|
+
private createRequest;
|
|
39
|
+
private resolveRequest;
|
|
40
|
+
private resolveResponse;
|
|
36
41
|
sortBy(columnId: string, sortDirection: SortDirection): Promise<void>;
|
|
37
|
-
filterBy(
|
|
42
|
+
filterBy(filterColumns: IFilterActiveColumn[]): Promise<void>;
|
|
38
43
|
setDefaultDataLoader(loader: IFolderDataLoader): void;
|
|
39
44
|
updateUserSettings(customLoader?: IFolderDataLoader): Promise<void>;
|
|
40
|
-
private createRequest;
|
|
41
45
|
private checkSystemFolderSearchResultsText;
|
|
42
46
|
downloadExcelReport(): void;
|
|
43
|
-
|
|
47
|
+
saveColumnSettings(columns: IColumnsWidth[]): Promise<void>;
|
|
48
|
+
savePresentation(tablePresentation: GenModels.TablePresentation): Promise<void>;
|
|
44
49
|
resetUserSettings(): Promise<void>;
|
|
45
50
|
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
46
51
|
saveGroupingPath(path: IGroupingPathItem[]): Promise<void>;
|
|
52
|
+
saveAggregatesToGridUserSettings(items: AggregateItem[]): Promise<void>;
|
|
47
53
|
}
|