@docsvision/webclient 5.16.0-beta.4 → 5.16.0-beta.5
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/AgreementList.d.ts +2 -2
- package/Approval/AgreementListContent.d.ts +1 -0
- package/Approval/AgreementManagement.d.ts +3 -2
- package/Approval/AgreementStageProps.d.ts +3 -2
- package/Approval/IAgreementListContentProps.d.ts +2 -0
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +5 -4
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +2 -0
- package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DeleteShortcutBatchOperation.d.ts +2 -1
- package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +1 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +11 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryValues.d.ts +0 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +5 -0
- package/BackOffice/FileListControlImpl.d.ts +10 -0
- package/BackOffice/FileListControlLogic.d.ts +1 -0
- package/BackOffice/FileListItemComponent.d.ts +5 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/IFileMenuItem.d.ts +14 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
- package/BackOffice/InfoPopover.d.ts +2 -0
- package/BackOffice/LinksImpl.d.ts +1 -0
- package/BackOffice/Numerator.d.ts +1 -0
- package/BackOffice/NumeratorImpl.d.ts +4 -2
- package/BackOffice/PartnerBase.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +20 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerImpl.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -3
- package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
- package/BackOffice/StaffDirectoryItems.d.ts +13 -5
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +22 -2
- package/BackOffice/StaffDirectoryLogic.d.ts +2 -0
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +4 -2
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +8 -5
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +11 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -2
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +47 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +1060 -9
- package/Helpers/BoxWithButtons.d.ts +7 -1
- package/Helpers/LabeledText.d.ts +8 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Sortable/Sortable.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +1 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ModalWindow.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
- package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -1
- package/MainBundle.d.ts +1 -0
- package/Platform/$CacheManagement.d.ts +3 -1
- package/Platform/$FolderDataLoading.d.ts +3 -0
- package/Platform/$FolderGrid.d.ts +8 -0
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$UnreadCounter.d.ts +1 -1
- package/Platform/AccessListEntryTrustee.d.ts +3 -1
- package/Platform/ArchivedCardsIcon.d.ts +2 -0
- package/Platform/ArchivedCardsPlugin.d.ts +3 -0
- package/Platform/ArchivedCardsResponseResolver.d.ts +23 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CacheManagementService.d.ts +5 -0
- package/Platform/CardManagement.d.ts +2 -2
- package/Platform/CardManagementImpl.d.ts +1 -0
- package/Platform/CommentFile.d.ts +4 -1
- package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
- package/Platform/DateTimePicker.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +2 -0
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/Dropdown.d.ts +1 -0
- package/Platform/DropdownImpl.d.ts +1 -0
- package/Platform/ExportPlugin.d.ts +0 -4
- package/Platform/FilePicker.d.ts +5 -2
- package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
- package/Platform/FolderDataLoadingService.d.ts +5 -0
- package/Platform/FolderGrid.d.ts +7 -3
- package/Platform/FolderGridService.d.ts +14 -4
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderSizePlugin.d.ts +4 -1
- package/Platform/FolderSizePluginExtendedData.d.ts +1 -1
- package/Platform/FolderTypeDialog.d.ts +1 -0
- package/Platform/FolderViewItemsImpl.d.ts +1 -1
- package/Platform/GroupingRequestResolver.d.ts +12 -0
- package/Platform/GroupingResponseResolver.d.ts +17 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/IFolderLoadRequest.d.ts +4 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
- package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
- package/Platform/NewAccessListEntryTrusteeSelect.d.ts +3 -1
- package/Platform/NumberImpl.d.ts +3 -0
- package/Platform/ReadAllPlugin.d.ts +3 -5
- package/Platform/ReadBatchOperation.d.ts +2 -2
- package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
- package/Platform/RecentCardsRouteHandler.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +0 -4
- package/Platform/ResetSettingsPlugin.d.ts +2 -5
- package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
- package/Platform/SearchRouteHandler.d.ts +2 -1
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +6 -3
- package/Platform/SettingsPlugin.d.ts +3 -5
- package/Platform/SettingsPopup.d.ts +2 -1
- package/Platform/ShowAllButton.d.ts +14 -0
- package/Platform/ShowAllPlugins.d.ts +3 -0
- package/Platform/Table.d.ts +2 -3
- package/Platform/TableCellNumberFormattedPlugin.d.ts +3 -0
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TextAreaImpl.d.ts +8 -4
- package/Platform/TextBoxImpl.d.ts +5 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/index.d.ts +0 -4
- package/StandardServices.d.ts +1 -2
- package/System/BaseControl.d.ts +7 -0
- package/System/ControlTemplateView.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/IValidateEventArgs.d.ts +9 -0
- package/System/IValidationResult.d.ts +4 -0
- package/System/InputBasedControl.d.ts +5 -0
- package/System/InputBasedControlImpl.d.ts +4 -3
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +2 -0
- package/System/LayoutContainer.d.ts +1 -1
- package/System/MessageBoxService.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/ResourcesStub.d.ts +603 -68
- package/package.json +1 -1
- package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
|
@@ -14,9 +14,15 @@ export interface IBoxWithButtonsProps {
|
|
|
14
14
|
/** Shows loading incon at the left of the buttons */
|
|
15
15
|
loadingState?: LoadingState;
|
|
16
16
|
/** Buttons, that will be showed on the right side of the box */
|
|
17
|
-
buttons
|
|
17
|
+
buttons?: IBoxWithButtonsButtonInfo[];
|
|
18
|
+
/** Buttons, that will be showed on the left side of the control */
|
|
19
|
+
leftButtons?: IBoxWithButtonsButtonInfo[];
|
|
20
|
+
/** Additional class for the control */
|
|
21
|
+
optionButtonsClassName?: string;
|
|
18
22
|
/** Show buttons inside the box with absolute positioning. Defautl value: false */
|
|
19
23
|
buttonsInside?: boolean;
|
|
24
|
+
/** Function when clicking on the icon in edit in place mode */
|
|
25
|
+
onIconMouseDown?: () => void;
|
|
20
26
|
}
|
|
21
27
|
/** @internal */
|
|
22
28
|
export interface IBoxWithButtonsButtonInfo extends IIconButtonProps {
|
package/Helpers/LabeledText.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export interface ILabeledText {
|
|
|
14
14
|
className?: string;
|
|
15
15
|
/** Click on text element handler */
|
|
16
16
|
onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
|
|
17
|
+
/** Click on icon element handler */
|
|
18
|
+
onIconClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
|
|
17
19
|
/** Ref to text element handler */
|
|
18
20
|
attachText?: (elem: HTMLElement) => void;
|
|
19
21
|
/**
|
|
@@ -55,8 +57,14 @@ export interface ILabeledText {
|
|
|
55
57
|
children?: React.ReactNode;
|
|
56
58
|
/** Add wrap to text */
|
|
57
59
|
addTextWrap?: Function;
|
|
60
|
+
/** If this parameter true, then an icon is shown next to the text */
|
|
61
|
+
displayIcon?: boolean;
|
|
62
|
+
/** Class name for icon */
|
|
63
|
+
iconClass?: string;
|
|
58
64
|
onFocus?: (event: React.FocusEvent<any>) => void;
|
|
59
65
|
onBlur?: (event: React.FocusEvent<any>) => void;
|
|
66
|
+
onMouseEnter?: () => void;
|
|
67
|
+
onMouseLeave?: () => void;
|
|
60
68
|
}
|
|
61
69
|
/** @internal */
|
|
62
70
|
export declare enum LabelDotsMode {
|
|
@@ -14,7 +14,7 @@ export interface ISortableProps {
|
|
|
14
14
|
containment?: HTMLElement | JQuery | 'parent' | 'document' | 'window' | string;
|
|
15
15
|
/** Стиль курсора во время изменения порядка элементов {@link http://api.jqueryui.com/sortable/#option-cursor} */
|
|
16
16
|
cursor?: string;
|
|
17
|
-
/**
|
|
17
|
+
/** Отключение сортировки {@link http://api.jqueryui.com/sortable/#option-disabled} */
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
/** Должен ли хелпер иметь размер {@link http://api.jqueryui.com/sortable/#option-forceHelperSize} */
|
|
20
20
|
forceHelperSize?: boolean;
|
|
@@ -44,6 +44,10 @@ export interface ITypeaheadProps {
|
|
|
44
44
|
paginatorLoadLogic?: PaginatorLoadLogic;
|
|
45
45
|
/** Some extra buttons info, that would be showed at the right side of the control */
|
|
46
46
|
extraButtons?: IBoxWithButtonsButtonInfo[];
|
|
47
|
+
/** Some buttons info, that would be showed at the left side of the control */
|
|
48
|
+
leftButtons?: IBoxWithButtonsButtonInfo[];
|
|
49
|
+
/** Additional class for the control */
|
|
50
|
+
optionButtonsClassName?: string;
|
|
47
51
|
/** Show buttons inside the box with absolute positioning. Defautl value: false */
|
|
48
52
|
buttonsInside?: boolean;
|
|
49
53
|
/** Tooltip */
|
|
@@ -74,6 +78,8 @@ export interface ITypeaheadProps {
|
|
|
74
78
|
afterOpenCallback?: () => void;
|
|
75
79
|
/** Hide the pop-up if it crossed the padding */
|
|
76
80
|
hideIfBehindPadding?: boolean;
|
|
81
|
+
/** Function when clicking on the icon in edit in place mode */
|
|
82
|
+
onIconMouseDown?: () => void;
|
|
77
83
|
}
|
|
78
84
|
export declare enum PaginatorLoadLogic {
|
|
79
85
|
LoadOnlyNewItems = 0,
|
|
@@ -52,7 +52,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
52
52
|
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
53
53
|
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
54
54
|
getSelection():
|
|
55
|
-
import("C:/
|
|
55
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
56
56
|
clearSelection(cardIds?: string[]): void;
|
|
57
57
|
selectionChanged: SimpleEvent<any>;
|
|
58
58
|
protected addActionButtons(header: HTMLElement): void;
|
package/Legacy/ModalWindow.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class ModalWindow {
|
|
|
44
44
|
private CreateModalCancelButton;
|
|
45
45
|
private Destroy;
|
|
46
46
|
static ShowErrorDialog(message: string, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
47
|
-
static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
47
|
+
static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions, services?: Optional<$RootCssClass>): ModalWindow;
|
|
48
48
|
static ShowInformationDialog(message: string, headerText?: string, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
49
49
|
static ShowWarningDialog(message: string, headerText?: string, okButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
50
50
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $BarcodeSearchButtonController, $BusinessCalendarController, $ClientLogController, $CommentsController, $LayoutAgreementController, $LayoutCardController, $LayoutCardKindController, $LayoutController, $LayoutDirectoryDesignerController, $LayoutDocumentController, $LayoutFileApiController, $LayoutFileController, $LayoutFolderController, $LayoutHistoryController, $LayoutLinksController, $LayoutPartnerController, $LayoutStaffController, $LayoutTasksController, $LayoutUserSettingsController, $LocalizationController, $PagesController, $CardKindController, $DirectoryDesignerRowController, $EmployeeController, $DepartmentController, $PartnerEmployeeController, $SignatureController, $GridController, $CardDataController, $LayoutRowController, $StaffDirectoryItemsController, $FilePickerController, $TaskGroupPerformersController, $DataVisualizationController, $TasksTreeController, $CardsPresentationController, $CardOperationsController, $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
1
|
+
import { $BarcodeSearchButtonController, $BusinessCalendarController, $ClientLogController, $CommentsController, $LayoutAgreementController, $LayoutCardController, $LayoutCardKindController, $LayoutController, $LayoutDirectoryDesignerController, $LayoutDocumentController, $LayoutFileApiController, $LayoutFileController, $LayoutFolderController, $LayoutHistoryController, $LayoutLinksController, $LayoutPartnerController, $LayoutStaffController, $LayoutTasksController, $LayoutUserSettingsController, $LocalizationController, $PagesController, $CardKindController, $DirectoryDesignerRowController, $EmployeeController, $DepartmentController, $PartnerEmployeeController, $SignatureController, $GridController, $CardDataController, $LayoutRowController, $StaffDirectoryItemsController, $FilePickerController, $TaskGroupPerformersController, $DataVisualizationController, $TasksTreeController, $CardController, $CardsPresentationController, $CardOperationsController, $SecurityController, $BaseCardController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
3
3
|
import { $EmployeesController } from "@docsvision/webclient/Legacy/EmployeesController";
|
|
4
4
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
5
|
-
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController;
|
|
5
|
+
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController & $CardController & $BaseCardController;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { $LayoutCardController, $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $LayoutCardController, $LayoutFileApiController, $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
4
|
import { BaseRazorControl, BaseRazorControlParams, BaseRazorControlState } from "@docsvision/webclient/Legacy/BaseRazorControl";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
@@ -14,12 +14,18 @@ import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
|
14
14
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
15
15
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
16
16
|
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
17
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
18
|
+
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
19
|
+
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
20
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
17
21
|
/**@internal */
|
|
18
22
|
declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutFileController & $CardId & $DeviceType;
|
|
19
23
|
/** @internal */
|
|
20
24
|
export declare class TaskCardFilePanelParams extends BaseRazorControlParams {
|
|
21
25
|
shadowClass?: boolean;
|
|
22
|
-
|
|
26
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
27
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
28
|
+
services?: $LayoutCardController & $Layout & $Router & $LayoutInfo & $CardTimestamp & $FileService & $FilePreviewServices & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
23
29
|
}
|
|
24
30
|
/** @internal */
|
|
25
31
|
export interface TaskCardFilePanelState extends TaskCardFilePanelParams, BaseRazorControlState {
|
|
@@ -41,6 +47,7 @@ export declare class TaskCardFilePanelRazorControl extends BaseRazorControl<Task
|
|
|
41
47
|
findControlsForUpdateDisclosure: (addOnlyShadowClass?: boolean) => void;
|
|
42
48
|
componentDidMount(): void;
|
|
43
49
|
componentWillUnmount(): void;
|
|
50
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
|
|
44
51
|
componentDidUpdate(prevProps: any): void;
|
|
45
52
|
private updatePreview;
|
|
46
53
|
private addPreviewHandlers;
|
|
@@ -4,8 +4,13 @@ import { BaseRazorControl, BaseRazorControlParams } from "@docsvision/webclient/
|
|
|
4
4
|
import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
6
6
|
import { RequestHelper } from '@docsvision/webclient/System/RequestHelper';
|
|
7
|
-
import { $LayoutCardController, $LayoutController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
-
import { $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
7
|
+
import { $LayoutCardController, $LayoutController, $LayoutFileApiController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
+
import { $CardId, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
9
|
+
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
10
|
+
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
11
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
12
|
+
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
13
|
+
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
9
14
|
/** @internal */
|
|
10
15
|
export interface TaskReportPanelRazorControlState extends TaskReportPanelRazorControlParams, BaseControlState {
|
|
11
16
|
loading: boolean;
|
|
@@ -16,7 +21,9 @@ export interface TaskReportPanelRazorControlState extends TaskReportPanelRazorCo
|
|
|
16
21
|
}
|
|
17
22
|
export declare class TaskReportPanelRazorControlParams extends BaseRazorControlParams {
|
|
18
23
|
shadowClass?: boolean;
|
|
19
|
-
|
|
24
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
25
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
26
|
+
services?: $LayoutCardController & $Layout & $LayoutController & $LayoutInfo & $CardId & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
20
27
|
}
|
|
21
28
|
/** @internal */
|
|
22
29
|
export declare class TaskReportPanelRazorControl extends BaseRazorControl<TaskReportPanelRazorControlParams, TaskReportPanelRazorControlState> {
|
|
@@ -28,6 +35,8 @@ export declare class TaskReportPanelRazorControl extends BaseRazorControl<TaskRe
|
|
|
28
35
|
addHandlerToDisclosure: (control: HTMLElement, addOnlyShadowClass?: boolean) => void;
|
|
29
36
|
findControlsForUpdateDisclosure: (addOnlyShadowClass?: boolean) => void;
|
|
30
37
|
componentDidMount(): void;
|
|
38
|
+
componentWillUnmount(): void;
|
|
39
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
|
|
31
40
|
componentDidUpdate(prevProps: any): void;
|
|
32
41
|
mountRazorContent(razorContainer: HTMLElement): void;
|
|
33
42
|
getDisclosureHeader(): string;
|
|
@@ -5,12 +5,13 @@ import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSe
|
|
|
5
5
|
import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
|
|
6
6
|
import { $FullTextSearchEnabled } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
|
|
8
|
+
import { $CompanyLogo } from "@docsvision/webclient/Platform/$CompanyLogo";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export declare class WebFrameSearchPanelRouteHandler implements IRouteHandler<any> {
|
|
10
11
|
private services;
|
|
11
12
|
name: string;
|
|
12
13
|
private isAvaibleRouteHandler;
|
|
13
|
-
constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled);
|
|
14
|
+
constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled & $CompanyLogo);
|
|
14
15
|
private hide;
|
|
15
16
|
mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
17
|
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
package/MainBundle.d.ts
CHANGED
|
@@ -19,3 +19,4 @@ import "@docsvision/webclient/BackOffice/DirectoryValues";
|
|
|
19
19
|
import "@docsvision/webclient/BackOffice/DirectoryTree";
|
|
20
20
|
import "@docsvision/webclient/BackOffice/DirectorySearchResult";
|
|
21
21
|
import "@docsvision/webclient/System/ControlTemplate";
|
|
22
|
+
import "@docsvision/webclient/System/ServiceTemplateService";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare enum SystemCacheObjects {
|
|
2
2
|
All = 0,
|
|
3
|
-
ApplicationSettings = 1
|
|
3
|
+
ApplicationSettings = 1,
|
|
4
|
+
UserAvatar = 2
|
|
4
5
|
}
|
|
5
6
|
/** Сервис для управления кешем системных объектов. */
|
|
6
7
|
export interface ICacheManagementService {
|
|
7
8
|
resetCache(objects: SystemCacheObjects): void;
|
|
9
|
+
updateCache(object: SystemCacheObjects, value: unknown): void;
|
|
8
10
|
}
|
|
9
11
|
/** Сервис для управления кешем системных объектов. */
|
|
10
12
|
export declare type $CacheManagement = {
|
|
@@ -6,6 +6,7 @@ import { SortDirection } from '@docsvision/web/components/table/plugins/sort';
|
|
|
6
6
|
import { IColumnsWidth } from '@docsvision/web/components/table/plugins/resize-column/$ResizeColumn';
|
|
7
7
|
import { Store } from 'effector';
|
|
8
8
|
import { IFilterActiveColumn } from '@docsvision/web/components/table/plugins/filter';
|
|
9
|
+
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
9
10
|
export interface IFolderDataLoadingService {
|
|
10
11
|
init(): void;
|
|
11
12
|
addPlugin(resolver: IFolderDataLoadingPlugin): void;
|
|
@@ -21,6 +22,8 @@ export interface IFolderDataLoadingService {
|
|
|
21
22
|
saveUserSettings(columns: IColumnsWidth[]): Promise<void>;
|
|
22
23
|
resetUserSettings(): Promise<void>;
|
|
23
24
|
updateUserSettings(loader?: IFolderDataLoader): Promise<void>;
|
|
25
|
+
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
26
|
+
saveGroupingPath(path: IGroupingPathItem[]): Promise<void>;
|
|
24
27
|
}
|
|
25
28
|
export declare type $FolderDataLoading = {
|
|
26
29
|
folderDataLoading: IFolderDataLoadingService;
|
|
@@ -3,7 +3,11 @@ import { SortDirection } from '@docsvision/web/components/table/plugins/sort';
|
|
|
3
3
|
import { IFilterActiveColumn } from '@docsvision/web/components/table/plugins/filter';
|
|
4
4
|
import { ICustomContextMenuBlock, IDataItemProvider, IParamsItemProvider } from '@docsvision/webclient/Platform/$ContextMenuOptions';
|
|
5
5
|
import { IComposition } from '@docsvision/web/core/composition';
|
|
6
|
+
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
7
|
+
import { Store } from 'effector';
|
|
6
8
|
export interface IFolderGridService {
|
|
9
|
+
$groupingReadonly: Store<boolean>;
|
|
10
|
+
setGroupingReadonly(available: boolean): void;
|
|
7
11
|
onRowClick(row: IRow): void;
|
|
8
12
|
backgroundOpacity: number;
|
|
9
13
|
onSortRequest(column: IColumn, sortDirection: SortDirection): void;
|
|
@@ -12,7 +16,11 @@ export interface IFolderGridService {
|
|
|
12
16
|
getContextMenuBlocks(): ICustomContextMenuBlock[];
|
|
13
17
|
getContextMenuItemProviders(params?: IParamsItemProvider<any, any>, context?: IComposition<any, any, any>): IDataItemProvider[];
|
|
14
18
|
onSearchRequest(): Promise<void>;
|
|
19
|
+
onLoadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
15
20
|
onReloadWithNewSettings(): Promise<void>;
|
|
21
|
+
getGroupingAvailable(): boolean;
|
|
22
|
+
onGroupingPathChanged(path: IGroupingPathItem[]): void;
|
|
23
|
+
refreshPage(): void;
|
|
16
24
|
}
|
|
17
25
|
export declare type $FolderGrid = {
|
|
18
26
|
folderGrid: IFolderGridService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HeaderHoverPanelPlugin } from '@docsvision/web/components/table/plugins/hover-panel';
|
|
2
|
+
export interface IHoverPanelService {
|
|
3
|
+
getHoverPanelPlugins(defaultPlugins?: HeaderHoverPanelPlugin[]): HeaderHoverPanelPlugin[];
|
|
4
|
+
}
|
|
5
|
+
export declare type $HoverPanel = {
|
|
6
|
+
hoverPanel: IHoverPanelService;
|
|
7
|
+
};
|
|
8
|
+
export declare const $HoverPanel: string | ((model?: $HoverPanel) => IHoverPanelService);
|
|
@@ -4,7 +4,7 @@ import { IBasicEvent } from "@docsvision/webclient/System/IBasicEvent";
|
|
|
4
4
|
export interface IUnreadCounter {
|
|
5
5
|
addFolderToCount(folderId: string, sourceId: string, options: IFolderToCountOptions): void;
|
|
6
6
|
removeFolderToCount(folderId: string, sourceId: string): void;
|
|
7
|
-
setLocalCount(folderId: string, value: number, timestamp
|
|
7
|
+
setLocalCount(folderId: string, value: number, timestamp?: number, shouldNotify?: boolean): void;
|
|
8
8
|
incrementLocalCount(folderId: string, timestamp?: number, shouldNotify?: boolean): void;
|
|
9
9
|
decrementLocalCount(folderId: string, timestamp?: number, shouldNotify?: boolean): void;
|
|
10
10
|
getUnreadCardsCount(folderId: string): number | undefined;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { $StaffDirectoryItemsServices } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
3
|
+
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
4
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
4
6
|
export interface AccessListEntryTrusteeProps {
|
|
5
7
|
trustee: GenModels.AccessControlTrustee;
|
|
6
|
-
services: $StaffDirectoryItemsServices;
|
|
8
|
+
services: $StaffDirectoryItemsServices & $LayoutRowController & $LayoutManager;
|
|
7
9
|
}
|
|
8
10
|
export declare const AccessListEntryTrustee: (props: AccessListEntryTrusteeProps) => JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IFolderDataLoadingPlugin, ResponseResolveResult } from "@docsvision/webclient/Platform/IFolderDataLoadingPlugin";
|
|
2
|
+
import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { IColumn, IRow, ITableData } from "@docsvision/web/components/table/interfaces";
|
|
5
|
+
export declare enum ArchiveState {
|
|
6
|
+
NotArchived = 0,
|
|
7
|
+
Archived = 1
|
|
8
|
+
}
|
|
9
|
+
export interface IRowArchivedState {
|
|
10
|
+
value: ArchiveState;
|
|
11
|
+
}
|
|
12
|
+
export interface IColumnArchivedState {
|
|
13
|
+
value: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const getRowArchivedStatePluginData: (row: IRow) => IRowArchivedState;
|
|
16
|
+
export declare const getColumnArchivedStatePluginData: (column: IColumn) => IColumnArchivedState;
|
|
17
|
+
export declare const ARCHIVED_COLUMN_ORDER = -1;
|
|
18
|
+
export declare class ArchivedCardsResponseResolver implements IFolderDataLoadingPlugin {
|
|
19
|
+
id: string;
|
|
20
|
+
description: string;
|
|
21
|
+
order: PluginOrder;
|
|
22
|
+
resolveResponse(data: ITableData, response: GenModels.GridViewModelEx): Promise<void | ResponseResolveResult>;
|
|
23
|
+
}
|
|
@@ -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:/Users/peshne.k/devWebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
16
16
|
onSelected(): void;
|
|
17
17
|
onToggling():
|
|
18
|
-
import("C:/
|
|
18
|
+
import("C:/Users/peshne.k/devWebClient/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,5 +1,10 @@
|
|
|
1
1
|
import { ICacheManagementService, SystemCacheObjects } from '@docsvision/webclient/Platform/$CacheManagement';
|
|
2
|
+
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
3
|
+
export declare const USER_AVATAR_CACHE_KEY = "UserAvatarCacheKey";
|
|
2
4
|
/** Сервис для управления кешем системных объектов. */
|
|
3
5
|
export declare class CacheManagementService implements ICacheManagementService {
|
|
6
|
+
private services;
|
|
7
|
+
constructor(services: $LocalStorage);
|
|
4
8
|
resetCache(objects: SystemCacheObjects): void;
|
|
9
|
+
updateCache(object: SystemCacheObjects, value: unknown): void;
|
|
5
10
|
}
|
|
@@ -2,7 +2,7 @@ import { $LayoutCardController, $LayoutRowController } from "@docsvision/webclie
|
|
|
2
2
|
import { CardManagementImpl, CardManagementState } from "@docsvision/webclient/Platform/CardManagementImpl";
|
|
3
3
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
4
4
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
5
|
-
import { $CardId, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
5
|
+
import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
6
6
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
7
7
|
/**
|
|
8
8
|
* Содержит публичные свойства элемента управления [Управление карточкой]{@link CardManagement}.
|
|
@@ -22,7 +22,7 @@ export declare class CardManagementParams extends BaseControlParams {
|
|
|
22
22
|
* false - удаление не разрешено.
|
|
23
23
|
*/
|
|
24
24
|
canDelete?: boolean;
|
|
25
|
-
services?: $LayoutCardController & $LayoutRowController & $EditOperationStore & $Layout & $CardId & $Router;
|
|
25
|
+
services?: $LayoutCardController & $LayoutRowController & $EditOperationStore & $Layout & $CardId & $Router & $CardInfo;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Класс элемента управления Управление карточкой.
|
|
@@ -8,6 +8,7 @@ export interface CardManagementState extends CardManagementParams, BaseControlSt
|
|
|
8
8
|
deleteAndRedirect: Function;
|
|
9
9
|
goToEdit: Function;
|
|
10
10
|
deleting: boolean;
|
|
11
|
+
isArchived: boolean;
|
|
11
12
|
}
|
|
12
13
|
/** @internal */
|
|
13
14
|
export declare type CardManagementImplState = CardManagementState;
|
|
@@ -15,6 +15,7 @@ import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview
|
|
|
15
15
|
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
16
16
|
import { Optional } from "@docsvision/web/core/services";
|
|
17
17
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
18
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
18
19
|
/**
|
|
19
20
|
* Публичные свойства для контрола {@link CommentFile}.
|
|
20
21
|
*/
|
|
@@ -59,7 +60,9 @@ export declare class CommentFileParams extends BaseControlParams {
|
|
|
59
60
|
filePreviewOpened?: BasicApiEvent<IEventArgs>;
|
|
60
61
|
/** Событие, возникающее перед скачиванием файла. */
|
|
61
62
|
fileDownloading?: CancelableApiEvent<IEventArgs>;
|
|
62
|
-
|
|
63
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
64
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
65
|
+
services?: $FileController & $LayoutFileController & $LayoutFileApiController & $MessageBox & $LayoutLinksController & $CardInfo & $EditOperationStore & $LayoutInfo & $CardId & $FilePreviewServices & Optional<$LabelWidth> & $ApplicationSettings & $RealtimeCommunicationService;
|
|
63
66
|
}
|
|
64
67
|
/**
|
|
65
68
|
* Представляет элемент управления для редактирования файла замечаний.
|
|
@@ -9,12 +9,13 @@ import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
|
|
|
9
9
|
import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
10
10
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
11
11
|
import { $CardInfo, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
12
|
+
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
12
13
|
export declare class CopyShortcutBatchOperationParams extends BaseControlParams {
|
|
13
14
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
14
15
|
standardCssClass?: string;
|
|
15
16
|
/** Текст кнопки операции. */
|
|
16
17
|
buttonText?: string;
|
|
17
|
-
services?: $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $TableRowSelection & $CheckBoxServices & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
18
|
+
services?: $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $TableRowSelection & $CheckBoxServices & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* Класс элемента управления GridDelegateOperation.
|
|
@@ -57,6 +57,7 @@ export declare class DateTimePickerParams extends InputBasedControlParams<Date>
|
|
|
57
57
|
disablePast?: boolean;
|
|
58
58
|
/** Запретить выбор будущих дат */
|
|
59
59
|
disableFuture?: boolean;
|
|
60
|
+
displayIcon?: boolean;
|
|
60
61
|
services?: $LayoutInfo & $BusinessCalendarController & $EditOperationStore & $Router & $CardInfo & Optional<$LabelWidth>;
|
|
61
62
|
}
|
|
62
63
|
/**
|
|
@@ -75,8 +75,10 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
|
|
|
75
75
|
onError: (error: any) => void;
|
|
76
76
|
onClearKeyPress: (event: React.KeyboardEvent<any>) => void;
|
|
77
77
|
protected getDateTimePicker: () => JSX.Element;
|
|
78
|
+
protected onMouseDownIcon(e: any): void;
|
|
78
79
|
protected getDefaultInitialValue(): Date;
|
|
79
80
|
protected editInPlaceModeRender(): JSX.Element;
|
|
81
|
+
protected renderWithText(): JSX.Element;
|
|
80
82
|
protected onPlaceholderClick(event: any): void;
|
|
81
83
|
protected onDialogClose(): void;
|
|
82
84
|
protected onDateChange: (newValue: any, value: any) => void;
|
|
@@ -8,9 +8,10 @@ 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";
|
|
11
12
|
export declare class DefaultFolderTablePluginFactory implements IFolderPluginFactory {
|
|
12
13
|
private services;
|
|
13
14
|
id: string;
|
|
14
15
|
constructor(services: $CardController & $UnreadCounter & $ApplicationSettings & $Domain);
|
|
15
|
-
getTablePlugins(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType & $ApplicationSettings & $FolderDataLoading & $FolderGrid & $Domain): ITablePlugins[];
|
|
16
|
+
getTablePlugins(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType & $ApplicationSettings & $FolderDataLoading & $FolderGrid & $Domain & $HoverPanel): ITablePlugins[];
|
|
16
17
|
}
|
package/Platform/Dropdown.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare class Dropdown extends InputBasedControl<string, DropdownParams,
|
|
|
47
47
|
private set setDefault(value);
|
|
48
48
|
protected getBindings(): IBindingResult<any>[];
|
|
49
49
|
protected getDefault(): string;
|
|
50
|
+
onSaved(): Promise<void>;
|
|
50
51
|
/** @internal */
|
|
51
52
|
protected createImpl(): DropdownImpl;
|
|
52
53
|
}
|
|
@@ -48,6 +48,7 @@ export declare class DropdownImpl extends InputBasedControlImpl<string, Dropdown
|
|
|
48
48
|
protected handleDocumentFocus: (event: FocusEvent) => void;
|
|
49
49
|
setValue(value: string, redraw: boolean): void;
|
|
50
50
|
protected getTextValue(): string;
|
|
51
|
+
getTextValueFor(key: string): string;
|
|
51
52
|
protected onDropdownContainerClick(e?: any): void;
|
|
52
53
|
protected onElementClick(element: GenModels.BindingMetadata): void;
|
|
53
54
|
protected onClearValueClick(e: React.MouseEvent<any>): void;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
2
2
|
import { TablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
3
3
|
import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
|
|
4
|
-
export declare const infoExportPlugin: {
|
|
5
|
-
name: string;
|
|
6
|
-
plugin: string;
|
|
7
|
-
};
|
|
8
4
|
export declare const ExportToolbarButtonFeature = "ExportToolbarButtonFeature";
|
|
9
5
|
export declare const orderExportPlugin = 50;
|
|
10
6
|
export declare const ExportPlugin: TablePlugins.Toolbar.Component<$FolderDataLoading & $TableData>;
|
package/Platform/FilePicker.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { IValidationResult } from '@docsvision/webclient/System/IValidationResul
|
|
|
20
20
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
21
21
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
22
22
|
import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview';
|
|
23
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
23
24
|
/**
|
|
24
25
|
* Содержит публичные свойства элемента управления [Файл]{@link FilePicker}.
|
|
25
26
|
*/
|
|
@@ -30,7 +31,7 @@ export declare class FilePickerParams extends BaseControlParams {
|
|
|
30
31
|
disabled?: boolean;
|
|
31
32
|
/** Текст всплывающей подсказки. */
|
|
32
33
|
tip?: string;
|
|
33
|
-
/** Текст
|
|
34
|
+
/** Текст метки. */
|
|
34
35
|
labelText?: string;
|
|
35
36
|
/** Текст, который будет отображаться при незаданном значении @covered */
|
|
36
37
|
placeHolder?: string;
|
|
@@ -105,7 +106,9 @@ export declare class FilePickerParams extends BaseControlParams {
|
|
|
105
106
|
fileVersionsDialogClosed?: BasicApiEvent<IEventArgs>;
|
|
106
107
|
/** Событие возникает после подгрузки информации о версиях файла. @covered */
|
|
107
108
|
fileVersionsLoaded?: BasicApiEvent<IEventArgs>;
|
|
108
|
-
|
|
109
|
+
/** Событие возникает при сохранении файла в WebDAV. */
|
|
110
|
+
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
111
|
+
services?: $EditOperationStore & $FilePickerUpload & $MessageBox & $WindowLocation & $FileController & $LayoutFileController & $CardId & $FilePickerController & $DeviceType & $FileDownload & $Layout & $RealtimeCommunicationService & $FilePreviewServices;
|
|
109
112
|
}
|
|
110
113
|
/**
|
|
111
114
|
* Класс элемента управления Файл.
|
|
@@ -4,6 +4,7 @@ import { Panel, PanelParams } from "@docsvision/webclient/Platform/Panel";
|
|
|
4
4
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
5
5
|
import { $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
6
6
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
7
|
+
import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
|
|
7
8
|
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
8
9
|
import React from 'react';
|
|
9
10
|
/**
|
|
@@ -26,7 +27,7 @@ export declare class FolderCardsDashboardWidgetParams extends PanelParams {
|
|
|
26
27
|
cardsCount?: number;
|
|
27
28
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
28
29
|
standardCssClass?: string;
|
|
29
|
-
services?: $GridController & $LayoutInfo & $GridController & $LayoutManager & $Layout & $LocationContainerControlServices;
|
|
30
|
+
services?: $GridController & $LayoutInfo & $GridController & $LayoutManager & $Layout & $LocationContainerControlServices & $ExperimentalFeature;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
33
|
* @review
|
|
@@ -15,11 +15,13 @@ import { Store, Event } from "effector";
|
|
|
15
15
|
import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
|
|
16
16
|
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
17
17
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
18
|
+
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from "@docsvision/web/components/table/plugins/grouping";
|
|
18
19
|
export declare type $FolderDataLoadingDependencies = $DeviceType & $CurrentLocation & $GridController & $ApplicationSettings & $Domain & $Router & $CurrentFolder & $LastSearchResponse & $WebFrameSearchPanel;
|
|
19
20
|
export declare class FolderDataLoadingService implements IFolderDataLoadingService {
|
|
20
21
|
private defaultDataLoader;
|
|
21
22
|
private services;
|
|
22
23
|
private lastResponse;
|
|
24
|
+
private lastRequest;
|
|
23
25
|
private folderInfo;
|
|
24
26
|
private plugins;
|
|
25
27
|
constructor(defaultDataLoader: IFolderDataLoader, services: $FolderDataLoadingDependencies & $Router & $CurrentFolder);
|
|
@@ -36,7 +38,10 @@ export declare class FolderDataLoadingService implements IFolderDataLoadingServi
|
|
|
36
38
|
setDefaultDataLoader(loader: IFolderDataLoader): void;
|
|
37
39
|
updateUserSettings(customLoader?: IFolderDataLoader): Promise<void>;
|
|
38
40
|
private createRequest;
|
|
41
|
+
private checkSystemFolderSearchResultsText;
|
|
39
42
|
downloadExcelReport(): void;
|
|
40
43
|
saveUserSettings(columns: IColumnsWidth[]): Promise<void>;
|
|
41
44
|
resetUserSettings(): Promise<void>;
|
|
45
|
+
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
46
|
+
saveGroupingPath(path: IGroupingPathItem[]): Promise<void>;
|
|
42
47
|
}
|