@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ToolbarDaughterControlParams } from '@docsvision/webclient/Platform/ToolbarDaughterControl';
|
|
2
|
+
import { PanelImpl, PanelState } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import './ToolbarDaughterControl.css';
|
|
5
|
+
export interface ToolbarDaughterControlState extends ToolbarDaughterControlParams, PanelState {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Класс элемента управления ToolbarDaughterControlImpl.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ToolbarDaughterControlImpl extends PanelImpl<ToolbarDaughterControlParams, ToolbarDaughterControlState> {
|
|
11
|
+
constructor(state: any, props: any);
|
|
12
|
+
protected getCssClass(): string;
|
|
13
|
+
renderControl(): React.ReactNode[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { $ToolbarDaughterControls } from "@docsvision/webclient/Platform/$ToolbarDaughterControls";
|
|
2
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
|
+
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
4
|
+
import { IToolbarActionContainerButton } from "@docsvision/web/components/table/plugins/toolbar-action-container";
|
|
5
|
+
export declare function getToolbarDaughterControls(services: $ToolbarDaughterControls & $DeviceType): TablePlugins.Toolbar.Component<$DeviceType>[];
|
|
6
|
+
export declare function getToolbarDaughterControlsActionButtons(services: $ToolbarDaughterControls & $DeviceType): IToolbarActionContainerButton[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { IToolbarDaughterControlsService } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
3
|
+
import { IToolbarActionContainerButton } from '@docsvision/web/components/table/plugins/toolbar-action-container';
|
|
4
|
+
import { Store, Event } from 'effector';
|
|
5
|
+
/** @internal Реализация {@link IFolderGridToolbarService}. */
|
|
6
|
+
export declare class ToolbarDaughterControlsService implements IToolbarDaughterControlsService {
|
|
7
|
+
$controls: Store<GenModels.ControlModel[]>;
|
|
8
|
+
setControls: Event<GenModels.ControlModel[]>;
|
|
9
|
+
$location: Store<GenModels.AdditionalElementsMode>;
|
|
10
|
+
setLocation: Event<GenModels.AdditionalElementsMode>;
|
|
11
|
+
constructor();
|
|
12
|
+
getRelativeToLocation: (actionButtonsRelativeToLocation: IToolbarActionContainerButton[], ...actionButtons: IToolbarActionContainerButton[]) => IToolbarActionContainerButton[];
|
|
13
|
+
}
|
|
@@ -4,8 +4,11 @@ import { $CardController } from '@docsvision/webclient/Generated/DocsVision.WebC
|
|
|
4
4
|
import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
|
|
5
5
|
import { TablePlugins, ITablePlugins } from '@docsvision/web/components/table/interfaces';
|
|
6
6
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
7
|
+
import "./UnreadBarTablePlugins.css";
|
|
7
8
|
export declare const UnreadBarFeature = "UnreadBarFeature";
|
|
9
|
+
export declare const UNREAD_BAR_COLUMN_VISIBILITY = "UnreadBarVisibility";
|
|
8
10
|
export declare const UnreadBarTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
11
|
+
export declare const UnreadBarListViewTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
9
12
|
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $CardController & $UnreadCounter & $Domain>;
|
|
10
13
|
export declare const UnreadBarTableRowMountEffect: TablePlugins.Row.MountEffect<$ApplicationSettings & $UnreadBar>;
|
|
11
14
|
export declare const UnreadBarTableRowDecorator: TablePlugins.Row.Decorator<$ApplicationSettings & $UnreadBar>;
|
|
@@ -25,7 +25,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
|
|
|
25
25
|
private attachRoot;
|
|
26
26
|
DialogBox:
|
|
27
27
|
import("styled-components").StyledComponent<(props:
|
|
28
|
-
import("C:/
|
|
28
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
29
29
|
close(): void;
|
|
30
30
|
render(): JSX.Element;
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Panel, PanelParams } from '@docsvision/webclient/Platform/Panel';
|
|
2
2
|
import { PanelState } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
3
|
import { WebFrameMainMenuContainerImpl } from '@docsvision/webclient/Platform/WebFrameMainMenuContainerImpl';
|
|
4
|
-
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
|
+
import { $ApplicationSettings, $DeviceType, $IsIE } from '@docsvision/webclient/StandardServices';
|
|
5
5
|
import { $ContentElementProvider } from '@docsvision/webclient/Platform/$ContentElementProvider';
|
|
6
6
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
7
7
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class WebFrameMainMenuContainerParams extends PanelParams {
|
|
|
16
16
|
isClosed?: boolean;
|
|
17
17
|
/** Скрыт ли ползунок для ресайза */
|
|
18
18
|
isHandleHidden?: boolean;
|
|
19
|
-
services: $ApplicationSettings & $DeviceType & $ContentElementProvider & $LocalStorage;
|
|
19
|
+
services: $ApplicationSettings & $DeviceType & $ContentElementProvider & $LocalStorage & $IsIE;
|
|
20
20
|
}
|
|
21
21
|
export interface WebFrameMainMenuContainerState extends WebFrameMainMenuContainerParams, PanelState {
|
|
22
22
|
}
|
|
@@ -8,9 +8,11 @@ import { $CompanyLogo } from '@docsvision/webclient/Platform/$CompanyLogo';
|
|
|
8
8
|
import { SearchDropdown } from '@docsvision/webclient/Legacy/SearchDropdown';
|
|
9
9
|
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
10
10
|
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
11
|
-
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
12
11
|
import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
|
|
13
12
|
import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
|
|
13
|
+
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
14
|
+
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
15
|
+
import { $FolderInfo } from '@docsvision/webclient/Platform/$FolderInfo';
|
|
14
16
|
export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
15
17
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
16
18
|
standardCssClass?: string;
|
|
@@ -24,7 +26,7 @@ export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
|
24
26
|
isClearButtonHidden?: boolean;
|
|
25
27
|
/** Скрыт ли плейсхолдер */
|
|
26
28
|
isPlaceholderHidden?: boolean;
|
|
27
|
-
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse;
|
|
29
|
+
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse & $Resources & $WebFrameSearchPanel & $FolderInfo;
|
|
28
30
|
}
|
|
29
31
|
export interface WebFrameSearchPanelState extends WebFrameSearchPanelParams, BaseControlState {
|
|
30
32
|
}
|
|
@@ -33,7 +35,6 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
33
35
|
private searchInput;
|
|
34
36
|
private searchInputText;
|
|
35
37
|
private searchPlaceholder;
|
|
36
|
-
private timer;
|
|
37
38
|
private dropdown;
|
|
38
39
|
private searchText;
|
|
39
40
|
private prevNavBarMode;
|
|
@@ -48,6 +49,7 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
48
49
|
get IsMobile(): boolean;
|
|
49
50
|
get IsSearchResults(): boolean;
|
|
50
51
|
get SearchContext(): GenModels.SearchContextOption;
|
|
52
|
+
get IsSearchEveryWhere(): boolean;
|
|
51
53
|
get SearchText(): string;
|
|
52
54
|
get Dropdown(): SearchDropdown;
|
|
53
55
|
get IsNotOpened(): boolean;
|
|
@@ -64,9 +66,9 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
64
66
|
onSearchAreaSelected: (oldVal: GenModels.SearchContextOption, newVal: GenModels.SearchContextOption) => void;
|
|
65
67
|
reset: () => void;
|
|
66
68
|
clear: () => void;
|
|
67
|
-
search: (refresh?: boolean) => void;
|
|
69
|
+
search: (refresh?: boolean, clear?: boolean) => void;
|
|
68
70
|
rebuild: () => void;
|
|
69
|
-
buildSearchRequestParams: (searchText: string, refresh: boolean) => void;
|
|
71
|
+
buildSearchRequestParams: (searchText: string, refresh: boolean, clear?: boolean) => void;
|
|
70
72
|
checkFullTextSearchAvailability: () => boolean;
|
|
71
73
|
toggleSearchPanel: () => void;
|
|
72
74
|
onExpanded: () => void;
|
|
@@ -81,6 +83,7 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
81
83
|
handleInput: (e: any) => void;
|
|
82
84
|
updateSearchText: (value: string) => void;
|
|
83
85
|
handleKeyPress: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
86
|
+
handleOnClickSearchButton: () => void;
|
|
84
87
|
handleOnKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
85
88
|
renderControl(): JSX.Element;
|
|
86
89
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { $InsideMainMenu } from '@docsvision/webclient/Platform/$InsideMainMenu';
|
|
3
2
|
import { $ApplicationSettings, $CurrentEmployee, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
3
|
import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
@@ -6,8 +5,10 @@ import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
|
6
5
|
import { $LayoutStaffController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
7
6
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
8
7
|
import { PerformOnce } from '@docsvision/webclient/Legacy/Utils';
|
|
8
|
+
import React from 'react';
|
|
9
9
|
import { $EmployeeStatus } from '@docsvision/webclient/Platform/$EmployeeStatus';
|
|
10
10
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
11
|
+
import { $Poll } from '@docsvision/webclient/System/$PollService';
|
|
11
12
|
/**
|
|
12
13
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameUserPanel}.
|
|
13
14
|
*/
|
|
@@ -26,7 +27,7 @@ export declare class WebFrameUserPanelParams extends BaseControlParams {
|
|
|
26
27
|
isMobileMenuHidden?: boolean;
|
|
27
28
|
/** Показывает формат отображения данных сотрудника */
|
|
28
29
|
userPanelDisplayMode?: number;
|
|
29
|
-
services?: $CurrentEmployee & $InsideMainMenu & $ApplicationSettings & $LayoutStaffController & $EmployeeStatus & $DeviceType & $LocalStorage;
|
|
30
|
+
services?: $CurrentEmployee & $InsideMainMenu & $ApplicationSettings & $LayoutStaffController & $EmployeeStatus & $DeviceType & $LocalStorage & $Poll;
|
|
30
31
|
}
|
|
31
32
|
export interface WebFrameUserPanelState extends WebFrameUserPanelParams, BaseControlState {
|
|
32
33
|
employeeStatus: GenModels.StaffEmployeeStatus;
|
|
@@ -65,6 +66,7 @@ export declare class WebFrameUserPanel extends BaseControl<WebFrameUserPanelPara
|
|
|
65
66
|
showUserProfile: (e: any) => void;
|
|
66
67
|
showMenuAbout: (e: any) => void;
|
|
67
68
|
showMenuExit: (e: any) => void;
|
|
69
|
+
showPoll: (e: React.MouseEvent) => void;
|
|
68
70
|
toggleMenuOnMobileVersion: (e: any) => void;
|
|
69
71
|
renderControlInsideHeader(): JSX.Element;
|
|
70
72
|
renderControlInsideMainMenu(): JSX.Element;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
-
|
|
2
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
3
|
+
export declare function applyCurrentSettings(info: {
|
|
4
|
+
gridUserSettings: GenModels.GridUserSettingsData;
|
|
5
|
+
listView: boolean;
|
|
6
|
+
tableData: ITableData;
|
|
7
|
+
viewId: string;
|
|
8
|
+
}, columns: GenModels.ViewColumnModel[]): GenModels.ViewColumnModel[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { ICurrentFolderService } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
3
|
+
export declare function filterViews(views: GenModels.FolderViewInfo[], currentFolder: ICurrentFolderService): GenModels.FolderViewInfo[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { ITableData } from "@docsvision/web/components/table/interfaces";
|
|
3
|
+
export declare const DEFAULT_LIST_VIEW_COLUMNS_COUNT_VISIBLE = 3;
|
|
4
|
+
export declare const LIST_VIEW_DEFAULT_COLUMN_VISIBILITY = "ListViewDefaultVisibility";
|
|
5
|
+
export declare const USER_SETUP_COLUMN_VISIBILITY = "UserSetupVisibility";
|
|
6
|
+
export declare function setColumnsSettings(data: ITableData, settings: GenModels.GridUserSettingsData): void;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
-
export
|
|
2
|
+
export interface IColumnVisibility {
|
|
3
|
+
columnName: string;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function updateValueCheckedColumn(columns: GenModels.ViewColumnModel[], data: IColumnVisibility): GenModels.ViewColumnModel[];
|
package/StandardServices.d.ts
CHANGED
|
@@ -48,6 +48,9 @@ import { $WebFrameDirectorySearchInfoStorageService } from "@docsvision/webclien
|
|
|
48
48
|
import { $DialogManagement } from "@docsvision/webclient/Helpers/ModalDialog/$DialogManagement";
|
|
49
49
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
50
50
|
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
51
|
+
import { $Poll } from "@docsvision/webclient/System/$PollService";
|
|
52
|
+
import { $FolderPluginProvider } from "@docsvision/webclient/Platform/$FolderPluginProvider";
|
|
53
|
+
import { $HoverPanel } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
51
54
|
/** Сервис доступа к идентификатору текущего пользователя. */
|
|
52
55
|
export declare type $CurrentEmployeeId = {
|
|
53
56
|
currentEmployeeId: string;
|
|
@@ -137,4 +140,4 @@ export declare type $ApplicationSettings = {
|
|
|
137
140
|
};
|
|
138
141
|
export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
|
|
139
142
|
/** Стандартные сервисы Web-клиента. */
|
|
140
|
-
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse;
|
|
143
|
+
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $Poll & $FolderPluginProvider & $HoverPanel;
|
|
@@ -4,9 +4,22 @@ export interface ILastSearchResponse {
|
|
|
4
4
|
readonly $instanceId: Store<string>;
|
|
5
5
|
readonly $searchText: Store<string>;
|
|
6
6
|
readonly $searchContextOption: Store<GenModels.SearchContextOption>;
|
|
7
|
+
readonly $lastSearchText: Store<string>;
|
|
8
|
+
readonly $viewId: Store<string>;
|
|
9
|
+
readonly $sortedColumn: Store<string>;
|
|
10
|
+
readonly $isDescending: Store<boolean>;
|
|
11
|
+
readonly $columns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
12
|
+
readonly $listColumns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
13
|
+
readonly $tablePresentation: Store<GenModels.TablePresentation>;
|
|
7
14
|
setInstenceId: Event<string>;
|
|
8
15
|
setSearchText: Event<string>;
|
|
9
16
|
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
17
|
+
setViewId: Event<string>;
|
|
18
|
+
setSortedColumn: Event<string>;
|
|
19
|
+
setColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
20
|
+
setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
21
|
+
setIsDescending: Event<boolean>;
|
|
22
|
+
setTablePresentation: Event<GenModels.TablePresentation>;
|
|
10
23
|
}
|
|
11
24
|
export declare type $LastSearchResponse = {
|
|
12
25
|
lastSearchResponse: ILastSearchResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Store } from 'effector';
|
|
2
|
+
export interface IPoll {
|
|
3
|
+
readonly $URL: Store<string> | null;
|
|
4
|
+
readonly $requestDate: Store<Date>;
|
|
5
|
+
show(): void;
|
|
6
|
+
}
|
|
7
|
+
export declare type $Poll = {
|
|
8
|
+
poll: IPoll;
|
|
9
|
+
};
|
|
10
|
+
export declare const $Poll: string | ((model?: $Poll) => IPoll);
|
package/System/BaseControl.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { IValidationResult } from "@docsvision/webclient/System/IValidationResul
|
|
|
20
20
|
import React from "react";
|
|
21
21
|
import { IValidateEventArgs } from '@docsvision/webclient/System/IValidateEventArgs';
|
|
22
22
|
export declare let DEFAULT_CONTROL_NAME: string;
|
|
23
|
+
export declare const BASE_CONTROL_SYSTEM_HANDLER = "BASE_CONTROL_SYSTEM_HANDLER";
|
|
23
24
|
/**
|
|
24
25
|
* Базовый класс для описания публичных свойств контрола.
|
|
25
26
|
*
|
|
@@ -62,6 +63,8 @@ export declare class BaseControlParams {
|
|
|
62
63
|
visibilityEditOperation?: string;
|
|
63
64
|
/** Определяет, есть ли возможность редактировать элемент управления: `true` - нельзя редактировать, `false` - можно. */
|
|
64
65
|
disabled?: boolean;
|
|
66
|
+
/** Хранит дополнительную информацию или настройки в виде строкового ресурса */
|
|
67
|
+
tag?: string;
|
|
65
68
|
/**
|
|
66
69
|
* Определяет, должен ли элемент управления получать фокус при переходе по Tab:
|
|
67
70
|
* `true` - должен, `false` - не должен.
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
3
3
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
+
import { Button } from 'noty';
|
|
4
5
|
export declare const getButtonsOrderKey: () => string;
|
|
5
6
|
export declare const getButtonsOrderFromLocalStorage: (localStorage: ILocalStorage) => unknown;
|
|
6
7
|
export declare const setButtonsOrderToLocalStorage: (localStorage: ILocalStorage, value: GenModels.ButtonPositions) => boolean;
|
|
7
8
|
export declare const isMac: () => boolean;
|
|
8
|
-
export declare const createButtonsOrderArray: (localStorage: ILocalStorage, ok: JSX.Element | HTMLButtonElement, cancel: JSX.Element | HTMLButtonElement) => (JSX.Element | HTMLButtonElement)[];
|
|
9
|
+
export declare const createButtonsOrderArray: (localStorage: ILocalStorage, ok: JSX.Element | HTMLButtonElement | Button, cancel: JSX.Element | HTMLButtonElement | Button) => (JSX.Element | HTMLButtonElement | Button)[];
|
|
9
10
|
export declare const renderButtonsOrder: (localStorage: ILocalStorage, ok: JSX.Element | HTMLButtonElement, cancel: JSX.Element | HTMLButtonElement) => JSX.Element;
|
|
10
11
|
export declare function updateButtonsOrderClass(localStorage: ILocalStorage): void;
|
|
@@ -25,4 +25,4 @@ export declare class CancelableEvent<T> extends BasicEvent<ICancelableEventArgs<
|
|
|
25
25
|
/** Создает экземпляр {@link CancelableEvent}. */
|
|
26
26
|
static Create<T>(sender: any, subscriberFunc?: CancelableApiEvent<T> | string): CancelableEvent<T> & BasicEventHandler<T>;
|
|
27
27
|
}
|
|
28
|
-
export declare function callCancelableEventHandlers<T>(handlers: BasicEventHandler<ICancelableEventArgs<T>>[], data: ICancelableEventArgs<T>, actualSender: any, createArgs?: (data: any) => CancelableEventArgs<T>): void;
|
|
28
|
+
export declare function callCancelableEventHandlers<T>(handlers: BasicEventHandler<ICancelableEventArgs<T>>[], data: ICancelableEventArgs<T>, actualSender: any, paramName: string, createArgs?: (data: any) => CancelableEventArgs<T>): void;
|
|
@@ -43,3 +43,5 @@ export declare function parseDateTime(dateTime: string, format?: DateFormats, as
|
|
|
43
43
|
export declare function dateTimeToString(dateTime: Date | string, format?: DateFormats): string;
|
|
44
44
|
/** Количество часов в одном дне */
|
|
45
45
|
export declare const HOURS_IN_DAY = 24;
|
|
46
|
+
/** Возвращает функцию, которую можно передать в JSON.strinfiy вторым параметром для фомрматирования дат для сервера. */
|
|
47
|
+
export declare function getDateTimeStringifyServerFormatter(services: $ApplicationSettings): (key: string, value: any) => any;
|
|
@@ -23,6 +23,8 @@ export interface DirectoryBaseState<ValueT extends NodeT | ItemT | NodeT[] | Ite
|
|
|
23
23
|
directoryDialogSelectedValue: ValueT;
|
|
24
24
|
typeahead: Typeahead;
|
|
25
25
|
beforeModalSelectedFilterPath: NodeT[];
|
|
26
|
+
maximized?: boolean;
|
|
27
|
+
maximizeButtonEnabled?: boolean;
|
|
26
28
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии DirectorySelectDialog */
|
|
27
29
|
searchFilterPath: NodeT[];
|
|
28
30
|
}
|
|
@@ -32,7 +34,8 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
|
|
|
32
34
|
static NextPageSize: number;
|
|
33
35
|
static SearchTimeout: number;
|
|
34
36
|
private services;
|
|
35
|
-
protected
|
|
37
|
+
protected: any;
|
|
38
|
+
modalHost: ModalHost;
|
|
36
39
|
constructor(props: ParamsT, state: StateT, services?: any);
|
|
37
40
|
/** Отрисовка диалога справочника. */
|
|
38
41
|
protected abstract renderSelectDialog(props: IDirectorySelectDialogProps<ValueT, NodeT, ItemT> & {
|
|
@@ -60,6 +63,7 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
|
|
|
60
63
|
showDictionary(): Promise<IDirectorySelectDialog>;
|
|
61
64
|
hideDictionary(): Promise<void>;
|
|
62
65
|
protected cancelModal(): void;
|
|
66
|
+
protected onMaximizeModal(): void;
|
|
63
67
|
protected onDirectoryDialogNodeSelected(node: ValueT): void;
|
|
64
68
|
protected onDirectoryDialogSelectButtonClick(): Promise<void>;
|
|
65
69
|
protected onFilterSelected: (items: NodeT[]) => Promise<void>;
|
|
@@ -27,6 +27,13 @@ export interface IDirectorySelectDialogProps<ValueT extends NodeT | ItemT | Node
|
|
|
27
27
|
className?: string;
|
|
28
28
|
isOpen: boolean;
|
|
29
29
|
onCancel: () => void;
|
|
30
|
+
/** Существует ли кнопка развертывания */
|
|
31
|
+
maximizeButtonEnabled?: boolean;
|
|
32
|
+
/** Вызывается при попытке развернуть окно */
|
|
33
|
+
onMaximize?: () => void;
|
|
34
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
35
|
+
maximized?: boolean;
|
|
36
|
+
services?: any;
|
|
30
37
|
}
|
|
31
38
|
/** @internal */
|
|
32
39
|
export interface IDirectoryChildrenCacheItem<DataT extends GenModels.IDirectoryItemData> {
|
|
@@ -70,10 +77,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
|
|
|
70
77
|
protected modalHost: CommonModalDialogHost;
|
|
71
78
|
static SimpleItemView:
|
|
72
79
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
73
|
-
import("C:/
|
|
80
|
+
import("C:/dev/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
74
81
|
static SimpleItemViewCompact:
|
|
75
82
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
76
|
-
import("C:/
|
|
83
|
+
import("C:/dev/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
77
84
|
/** @internal */
|
|
78
85
|
state: StateT;
|
|
79
86
|
searchInput: HTMLInputElement;
|
|
@@ -8,13 +8,32 @@ export declare class LastSearchResponseService implements ILastSearchResponse {
|
|
|
8
8
|
static InstanceId: string;
|
|
9
9
|
static SearchText: string;
|
|
10
10
|
static SearchContextOption: string;
|
|
11
|
+
static LastSearchText: string;
|
|
11
12
|
static ViewId: string;
|
|
13
|
+
static SortedColumn: string;
|
|
14
|
+
static IsDescending: string;
|
|
15
|
+
static Columns: string;
|
|
16
|
+
static ListColumns: string;
|
|
17
|
+
static TablePresentation: string;
|
|
12
18
|
$instanceId: Store<string>;
|
|
13
19
|
setInstenceId: Event<string>;
|
|
14
20
|
$searchText: Store<string>;
|
|
15
21
|
setSearchText: Event<string>;
|
|
16
22
|
$searchContextOption: Store<GenModels.SearchContextOption>;
|
|
17
23
|
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
24
|
+
$viewId: Store<string>;
|
|
25
|
+
setViewId: Event<string>;
|
|
26
|
+
$sortedColumn: Store<string>;
|
|
27
|
+
setSortedColumn: Event<string>;
|
|
28
|
+
$isDescending: Store<boolean>;
|
|
29
|
+
setIsDescending: Event<boolean>;
|
|
30
|
+
$lastSearchText: Store<string>;
|
|
31
|
+
$columns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
32
|
+
setColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
33
|
+
$listColumns: Store<GenModels.GridUserSettingsColumn[]>;
|
|
34
|
+
setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
|
|
35
|
+
$tablePresentation: Store<GenModels.TablePresentation>;
|
|
36
|
+
setTablePresentation: Event<GenModels.TablePresentation>;
|
|
18
37
|
constructor(services: $LocalStorage & $Domain);
|
|
19
38
|
private setData;
|
|
20
39
|
}
|
package/System/Layout.d.ts
CHANGED
|
@@ -114,8 +114,8 @@ export declare class Layout extends Panel<LayoutParams, LayoutState> implements
|
|
|
114
114
|
* @param control Элемент управления который требуется сохранить. Если не указан, будет сохранена вся разметка.
|
|
115
115
|
* @param options Параметры сохранения.
|
|
116
116
|
*/
|
|
117
|
-
saveCardEx(control?: LayoutControl, options?: SaveCardOptions): Promise<
|
|
118
|
-
delete(isCanceling?: boolean): Promise<
|
|
117
|
+
saveCardEx(control?: LayoutControl, options?: SaveCardOptions): Promise<void>;
|
|
118
|
+
delete(isCanceling?: boolean): Promise<void>;
|
|
119
119
|
/**
|
|
120
120
|
* Изменяет состояние карточки, по полученной операции редактирования и перезагружает разметку.
|
|
121
121
|
* @param operationId Идентификатор операции редактирования.
|
|
@@ -157,7 +157,7 @@ export declare class Layout extends Panel<LayoutParams, LayoutState> implements
|
|
|
157
157
|
/** @internal */
|
|
158
158
|
deinit(): void;
|
|
159
159
|
/** @internal Освобождает дерево компонентов. */
|
|
160
|
-
destroy(): Promise<
|
|
160
|
+
destroy(): Promise<void>;
|
|
161
161
|
/** @internal */
|
|
162
162
|
protected createImpl(): LayoutImpl;
|
|
163
163
|
}
|
|
@@ -7,7 +7,7 @@ export declare class LayoutCardControllerStub implements GenControllers.ILayoutC
|
|
|
7
7
|
newCard(createParams: GenModels.LayoutCardCreateParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
8
8
|
view(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
9
9
|
edit(cardId: string, layoutMode: string, refresh?: boolean, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
10
|
-
delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<
|
|
10
|
+
delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<string>;
|
|
11
11
|
getLayout(cardLayoutParams: GenModels.CardLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
|
|
12
12
|
getLayoutPart(layoutPartParams: GenModels.LayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
|
|
13
13
|
save(model: GenModels.SaveControlDataModel, options?: RequestOptions): Promise<void>;
|
|
@@ -72,7 +72,7 @@ export declare class LayoutContainer<T extends GenModels.LayoutViewModel> implem
|
|
|
72
72
|
/**
|
|
73
73
|
* Уничтожение разметки.
|
|
74
74
|
*/
|
|
75
|
-
destroy(): Promise<
|
|
75
|
+
destroy(): Promise<void>;
|
|
76
76
|
protected onCardChanged: (message: IRealTimeCommunicationMessage<any>) => void;
|
|
77
77
|
protected onCardDisabled: (message: IRealTimeCommunicationMessage<any>) => void;
|
|
78
78
|
/** @internal */
|
|
@@ -13,7 +13,8 @@ import { CancelableEvent } from '@docsvision/webclient/System/CancelableEvent';
|
|
|
13
13
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
14
14
|
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
15
15
|
import { LocationSourceMode } from '@docsvision/webclient/Helpers/LocationContainer/LocationSourceMode';
|
|
16
|
-
|
|
16
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
17
|
+
export declare type $LocationContainerControlServices = Optional<$LayoutController> & $LayoutManager & Optional<$CurrentLocation> & Optional<$Layout> & $DeviceType;
|
|
17
18
|
/**
|
|
18
19
|
* Содержит публичные свойства элемента управления [LayoutPosition]{@link LayoutPosition}.
|
|
19
20
|
*/
|
|
@@ -3,6 +3,7 @@ export declare class PageLeaveConfirmation {
|
|
|
3
3
|
message: string;
|
|
4
4
|
constructor(condition?: () => boolean, message?: string);
|
|
5
5
|
static Setup(condition?: () => boolean): PageLeaveConfirmation;
|
|
6
|
+
static isWebDAV: boolean;
|
|
6
7
|
dispose(): void;
|
|
7
8
|
private onBeforeWindowUnload;
|
|
8
9
|
}
|
package/System/Poll.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component/HtmlProps';
|
|
3
|
+
import './Poll.css';
|
|
4
|
+
import { NextPollDisplay } from '@docsvision/webclient/System/PollService';
|
|
5
|
+
export interface PollProps extends HtmlProps.iframe {
|
|
6
|
+
extendTime(month: NextPollDisplay): void;
|
|
7
|
+
}
|
|
8
|
+
export declare const MIN_POLL_TIME = 30;
|
|
9
|
+
/** Контейнер для опроса */
|
|
10
|
+
export declare function Poll(props: PollProps): JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { $LayoutUserSettingsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $CacheManagement } from "@docsvision/webclient/Platform/$CacheManagement";
|
|
3
|
+
import { $ApplicationSettings, $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
5
|
+
import { IPoll } from "@docsvision/webclient/System/$PollService";
|
|
6
|
+
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
7
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
8
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
9
|
+
import { Store, Event } from "effector";
|
|
10
|
+
import './PollService.css';
|
|
11
|
+
export declare enum NextPollDisplay {
|
|
12
|
+
ThreeMonths = 3,
|
|
13
|
+
SixMonths = 6
|
|
14
|
+
}
|
|
15
|
+
export declare type TPollServices = $ApplicationSettings & $Domain & $LayoutUserSettingsController & $LocalStorage & $Resources & $MessageWindow & $CacheManagement & $DeviceType;
|
|
16
|
+
export declare class PollService implements IPoll {
|
|
17
|
+
private services;
|
|
18
|
+
$URL: Store<string>;
|
|
19
|
+
$requestDate: Store<Date>;
|
|
20
|
+
setRequestDate: Event<Date>;
|
|
21
|
+
constructor(services: TPollServices);
|
|
22
|
+
private extendTime;
|
|
23
|
+
private take;
|
|
24
|
+
private nextTime;
|
|
25
|
+
private notification;
|
|
26
|
+
show: () => Promise<void>;
|
|
27
|
+
}
|
|
@@ -197,6 +197,7 @@ export declare let resourcesStub: {
|
|
|
197
197
|
Error_InvalidBarcode: string;
|
|
198
198
|
ImportESign_CommonError: string;
|
|
199
199
|
Navigator_RecentCards: string;
|
|
200
|
+
Navigator_Favorites: string;
|
|
200
201
|
FilePanel_SignButton_ValidateSigns: string;
|
|
201
202
|
PrintButton_NoTemplates: string;
|
|
202
203
|
Navigator_CSP_Plugin_NotDetected: string;
|
|
@@ -411,7 +412,7 @@ export declare let resourcesStub: {
|
|
|
411
412
|
ScanDialog_InfoScanProcess: string;
|
|
412
413
|
FilePanel_Sign_State_PartiallyValid: string;
|
|
413
414
|
ScanDialog_InfoScanPrepare: string;
|
|
414
|
-
|
|
415
|
+
Grid_MoveShortcutBatchOperationName: string;
|
|
415
416
|
Error_FilterParametersInvalid: string;
|
|
416
417
|
Grid_ForbiddenView: string;
|
|
417
418
|
AddCardModal_SelectTemplate: string;
|
|
@@ -41,6 +41,10 @@ export declare class StandardRoutes {
|
|
|
41
41
|
static ServerDefined: string;
|
|
42
42
|
/** Неизвестный тип карточки. */
|
|
43
43
|
static UnknownCardView: string;
|
|
44
|
+
/** Страница карточек добавленных в избранное. */
|
|
45
|
+
static Favorites: string;
|
|
46
|
+
/** Страница избранных карточек на основе {@see FolderDataContext}. */
|
|
47
|
+
static FavoritesPage: string;
|
|
44
48
|
static DirectoryView: string;
|
|
45
49
|
static LegacyNewTask: string;
|
|
46
50
|
static LegacyNewGroupTask: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function initSummernotePasteWithoutFormattingPlugin(): void;
|
|
2
|
+
export declare class SummernotePasteWithoutFormatingPlugin {
|
|
3
|
+
private ui;
|
|
4
|
+
private options;
|
|
5
|
+
private lang;
|
|
6
|
+
constructor(context: any);
|
|
7
|
+
events: {
|
|
8
|
+
'summernote.paste': (we: any, e: any) => void;
|
|
9
|
+
};
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
2
|
-
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
3
|
-
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
4
|
-
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
5
|
-
import { $SearchPanel } from '@docsvision/webclient/Legacy/$SearchPanel';
|
|
6
|
-
import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare class SearchPanelRouteHandler implements IRouteHandler<any> {
|
|
9
|
-
private services;
|
|
10
|
-
name: string;
|
|
11
|
-
availableRouteHandler: boolean;
|
|
12
|
-
constructor(services: $WebFrameContext & $SearchPanel & $ExperimentalFeature);
|
|
13
|
-
prepareRouteDataLoad(routeData: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
14
|
-
mountRoute(data: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
15
|
-
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
/** @internal Временная функция, перестраивающая панель поиска в обход стандартного механизма роутинга. Функция будет удалена в следующих релизах. */
|
|
18
|
-
export declare function __DangerRemountSearchPanel(): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IRowData } from '@docsvision/web/components/table/interfaces';
|
|
2
|
-
import { Event } from 'effector';
|
|
3
|
-
/** Шаблон сервиса грида. */
|
|
4
|
-
export interface IPluginTemplateService {
|
|
5
|
-
readonly somethingToggled: Event<IRowData>;
|
|
6
|
-
toggleSomething(row: IRowData): void;
|
|
7
|
-
}
|
|
8
|
-
/** Шаблон сервиса грида. */
|
|
9
|
-
export declare type $PluginTemplate = {
|
|
10
|
-
pluginTemplate: IPluginTemplateService;
|
|
11
|
-
};
|
|
12
|
-
export declare const $PluginTemplate: string | ((model?: $PluginTemplate) => IPluginTemplateService);
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ISimplePluginData } from '@docsvision/web/core/extensibility/plugins';
|
|
2
|
-
import { IRow } from "@docsvision/web/components/table/interfaces";
|
|
3
|
-
/** Шаблон объявления расширенных данных грида. */
|
|
4
|
-
export declare function getPluginTemplateExtendedData(row: IRow): ISimplePluginData<boolean>;
|