@docsvision/webclient 5.16.0 → 5.17.0-beta.3
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/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +2 -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/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/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/PrintButtonView.d.ts +1 -1
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +2 -1
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +2 -1
- package/BackOffice/TasksTableLogic.d.ts +4 -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/WebFrameDirectorySearchPanelView.d.ts +1 -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/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/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +3 -3
- package/Platform/SecurityDialogFrame.d.ts +2 -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/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/System/BaseControl.d.ts +2 -0
- package/System/ControlTemplateView.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/Layout.d.ts +3 -3
- package/System/LayoutContainer.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/package.json +1 -1
package/BackOffice/Tasks.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ITaskCreatingEventArgs } from "@docsvision/webclient/BackOffice/ITaskCr
|
|
|
2
2
|
import { TasksImpl, TasksState } from "@docsvision/webclient/BackOffice/TasksImpl";
|
|
3
3
|
import { $LayoutController, $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
4
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
6
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
7
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
7
8
|
import { $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -54,7 +55,7 @@ export declare class TasksParams extends BaseControlParams {
|
|
|
54
55
|
taskCreating?: CancelableApiEvent<ITaskCreatingEventArgs>;
|
|
55
56
|
/** Событие, возникающее после того, как задания загружены (при асинхронной загрузке событие возникает после открытия разметки). */
|
|
56
57
|
onTasksLoaded?: BasicApiEvent<GenModels.TaskDataModel[]>;
|
|
57
|
-
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
|
|
58
|
+
services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* Класс элемента управления Задания
|
|
@@ -19,6 +19,7 @@ import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
|
19
19
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
20
20
|
import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
|
|
21
21
|
import { $UrlStore } from '@docsvision/webclient/System/$UrlStore';
|
|
22
|
+
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
22
23
|
/**
|
|
23
24
|
* Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
|
|
24
25
|
*/
|
|
@@ -65,7 +66,7 @@ export declare class TasksTableParams extends BaseControlParams {
|
|
|
65
66
|
row: ITasksTableRow;
|
|
66
67
|
}>;
|
|
67
68
|
/** Сервисы. */
|
|
68
|
-
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo;
|
|
69
|
+
services?: $LayoutInfo & $TasksTreeController & $CardId & Optional<$TaskTableOptions> & $UrlStore & $EditOperationStore & $RouterNavigation & $WindowLocation & $ApplicationSettings & $FileController & $LayoutFileController & $DeviceType & $LayoutCardController & $MessageBox & $StaffDirectoryItemsController & $CardInfo & $FileDownload;
|
|
69
70
|
}
|
|
70
71
|
export interface TasksTableState extends BaseControlImplState, TasksTableParams {
|
|
71
72
|
logic: TasksTableLogic;
|
|
@@ -53,6 +53,10 @@ import("react").MouseEvent<Element, MouseEvent>>;
|
|
|
53
53
|
import("effector").Event<void>;
|
|
54
54
|
$dialogFixed:
|
|
55
55
|
import("effector").Store<boolean>;
|
|
56
|
+
$dialogIsMaximized:
|
|
57
|
+
import("effector").Store<boolean>;
|
|
58
|
+
maximizeDialog:
|
|
59
|
+
import("effector").Event<void>;
|
|
56
60
|
expandRow:
|
|
57
61
|
import("effector").Event<number>;
|
|
58
62
|
collapseRow:
|
|
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
|
|
|
19
19
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
20
20
|
export declare class TasksTableView {
|
|
21
21
|
mainButton: (props:
|
|
22
|
-
import("C:/
|
|
22
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
23
23
|
dialog: (props:
|
|
24
|
-
import("C:/
|
|
24
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
|
|
25
25
|
controlWrapper: typeof TasksTableControlWrapper;
|
|
26
26
|
ribbon: typeof TasksTableRibbon;
|
|
27
27
|
ribbonGroup:
|
|
28
28
|
import("styled-components").StyledComponent<"div", any, {
|
|
29
29
|
className: string;
|
|
30
30
|
} &
|
|
31
|
-
import("C:/
|
|
31
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
32
32
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
33
33
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
34
34
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
@@ -9,6 +9,8 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
9
9
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
10
10
|
import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
11
11
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
12
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
13
|
+
import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
|
|
12
14
|
/**
|
|
13
15
|
* Содержит публичные свойства элемента управления [Дерево исполнения]{@link TasksTree}.
|
|
14
16
|
*/
|
|
@@ -40,7 +42,7 @@ export declare class TasksTreeParams extends BaseControlParams {
|
|
|
40
42
|
/** Список опций для VIS.js. */
|
|
41
43
|
options:
|
|
42
44
|
import("vis").Options;
|
|
43
|
-
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId;
|
|
45
|
+
services?: $FileController & $LayoutFileController & $RequestManager & $CardInfo & $EditOperationStore & $Layout & $CardId & $FileDownload & $DeviceType;
|
|
44
46
|
}
|
|
45
47
|
/**
|
|
46
48
|
* Класс элемента управления Дерево исполнения
|
|
@@ -18,6 +18,8 @@ export interface ITasksTreeState extends TasksTreeParams, BaseControlState {
|
|
|
18
18
|
loadVisJsHelper: RequestHelper;
|
|
19
19
|
loadTasksTreeHelper: RequestHelper;
|
|
20
20
|
showFullTreeBindingAvailable: boolean;
|
|
21
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
22
|
+
maximized?: boolean;
|
|
21
23
|
}
|
|
22
24
|
/** @internal */
|
|
23
25
|
export declare type ITasksTreeImplState = ITasksTreeState;
|
|
@@ -46,6 +48,7 @@ export declare class TasksTreeImpl extends BaseControlImpl<TasksTreeParams, ITas
|
|
|
46
48
|
private hasParentCard;
|
|
47
49
|
renderControl(): JSX.Element;
|
|
48
50
|
private renderTreeButton;
|
|
51
|
+
private onMaximize;
|
|
49
52
|
private renderTreeModal;
|
|
50
53
|
private renderTreeContent;
|
|
51
54
|
}
|
|
@@ -33,7 +33,7 @@ export declare class UniquenessCheckImpl extends BaseControlImpl<UniquenessCheck
|
|
|
33
33
|
private modalHost;
|
|
34
34
|
private lastUniquenessCheck;
|
|
35
35
|
constructor(props: UniquenessCheckParams, state: UniquenessCheckState);
|
|
36
|
-
protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<
|
|
36
|
+
protected showModal(showButtons: boolean, showAcceptButton: boolean, context: UniquenessCheckContext): Promise<void>;
|
|
37
37
|
protected renderUniquenessContentTable(): JSX.Element;
|
|
38
38
|
protected renderHeader(): JSX.Element;
|
|
39
39
|
protected renderRow(columns: GenModels.UniqueAttributeCard[]): JSX.Element;
|
|
@@ -7,6 +7,7 @@ export declare function updateStatusBackground(sender: LayoutControl): void;
|
|
|
7
7
|
export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
|
|
8
8
|
export declare function updateStatusList(sender: Dropdown, event: any): void;
|
|
9
9
|
export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl, ev: any): void;
|
|
10
|
+
export declare function displayInformationOfAbsence(sender: LayoutControl, ev: any): void;
|
|
10
11
|
export declare function getDefaultImage(sender: Image): Promise<void>;
|
|
11
12
|
export declare function onCardSaving_checkSequenceOfDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): boolean;
|
|
12
13
|
export declare function setShowArchivedCardsFromSettings(sender: LayoutControl): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const USER_STATUS_ACTIVE = "Active";
|
|
2
|
+
export declare const USER_STATUS_SICK = "Sick";
|
|
3
|
+
export declare const USER_STATUS_VACATION = "Vacation";
|
|
4
|
+
export declare const USER_STATUS_BUSINESS_TRIP = "BusinessTrip";
|
|
5
|
+
export declare const USER_STATUS_ABSENT = "Absent";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class WebFrameDirectorySearchPanelView {
|
|
3
3
|
SearchButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
5
5
|
SearchBar: (props:
|
|
6
6
|
import("./Components/SearchBar").ISearchBar) => JSX.Element;
|
|
7
7
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
2
3
|
/** Свойства {@link CommonModalDialog}. */
|
|
3
4
|
export interface Props {
|
|
4
5
|
/** Существует ли кнопка закрытия модального окна (крестик) */
|
|
@@ -19,11 +20,18 @@ export interface Props {
|
|
|
19
20
|
defaultWidth?: boolean;
|
|
20
21
|
/** Максимальная ширина окна */
|
|
21
22
|
maxWidth?: string;
|
|
23
|
+
/** Существует ли кнопка развертывания */
|
|
24
|
+
maximizeButtonEnabled?: boolean;
|
|
25
|
+
/** Вызывается при попытке развернуть окно */
|
|
26
|
+
onMaximize?: () => void;
|
|
27
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
28
|
+
maximized?: boolean;
|
|
22
29
|
/**
|
|
23
30
|
* Максимальная высота, которая будет назначена если браузер - IE. В других браузерах будет работать flexbox.
|
|
24
31
|
* По умолчанию: 100vh
|
|
25
32
|
*/
|
|
26
33
|
maxHeight?: string;
|
|
34
|
+
services: $DeviceType;
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
37
|
* Обертка, использующая {@link StackingModal}, {@link ModalBackdrop}, {@link ModalDialog},
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
|
|
1
2
|
import { $DialogManagement } from '@docsvision/webclient/Helpers/ModalDialog/$DialogManagement';
|
|
2
3
|
import { Props } from '@docsvision/webclient/Helpers/ModalDialog/CommonModalDialog';
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
|
+
import { Optional } from '@docsvision/web/core/services';
|
|
3
6
|
import React from 'react';
|
|
4
7
|
/** Вспомогательный класс для отрисовки {@link CommonModalDialog} в {@link ModalHost}. */
|
|
5
8
|
export declare class CommonModalDialogHost {
|
|
@@ -13,10 +16,10 @@ export declare class CommonModalDialogHost {
|
|
|
13
16
|
private _service;
|
|
14
17
|
private contentDiv;
|
|
15
18
|
private isCancelled;
|
|
16
|
-
constructor(className: string, services
|
|
19
|
+
constructor(className: string, services: $DeviceType & Optional<$RootCssClass>, dialogProps?: Partial<Props>, renderCallback?: () => React.ReactNode, onAcceptCallback?: () => Promise<void>, onCancelCallback?: () => Promise<void>);
|
|
17
20
|
forceUpdate(callback?: Function): Promise<void>;
|
|
18
21
|
isMounted(): boolean;
|
|
19
|
-
get service(): $DialogManagement;
|
|
22
|
+
get service(): $DialogManagement & $DeviceType;
|
|
20
23
|
cancel: () => Promise<void>;
|
|
21
24
|
accept: () => Promise<void>;
|
|
22
25
|
showDialog(): Promise<unknown>;
|
|
@@ -11,6 +11,8 @@ export interface IModalDialogBoxProps {
|
|
|
11
11
|
maxWidth?: string;
|
|
12
12
|
/** Пользовательский CSS-класс */
|
|
13
13
|
className?: string;
|
|
14
|
+
/** сработает при разворачивании окна */
|
|
15
|
+
maximized?: boolean;
|
|
14
16
|
}
|
|
15
17
|
/**
|
|
16
18
|
* Представляет полотно модального окна ({@link ModalDialog}).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
2
|
+
import React from "react";
|
|
3
|
+
/** Свойства для {@link ModalSidebarCloseButton} */
|
|
4
|
+
export interface IModalDialogMaximizeButtonProps {
|
|
5
|
+
/** Доступность кнопки. Значение по умолчанию: true */
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
/** Обработчик события click */
|
|
8
|
+
onClick: (ev: React.MouseEvent<any>) => void;
|
|
9
|
+
maximized?: boolean;
|
|
10
|
+
services: $DeviceType;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Представляет закрывающую кнопку в правой части выезжающей панели ({@link ModalDialog}).
|
|
14
|
+
*
|
|
15
|
+
* Пример использования:
|
|
16
|
+
*
|
|
17
|
+
* <ModalDialog isOpen={this.state.dialogOpen} >
|
|
18
|
+
* <ModalDialogBox defaultWidth={true}>
|
|
19
|
+
* <ModalDialogCloseButton onClick={() => this.setState({ dialogOpen: false })} />
|
|
20
|
+
* </ModalDialogBox>
|
|
21
|
+
* </ModalDialog>
|
|
22
|
+
*/
|
|
23
|
+
export declare const ModalMaximizeButton: (props: IModalDialogMaximizeButtonProps) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
1
2
|
import React from "react";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -10,6 +11,12 @@ export interface IScrollableModalProps {
|
|
|
10
11
|
onClose?: () => void;
|
|
11
12
|
/** Существует ли кнопка закрытия модального окна (крестик) */
|
|
12
13
|
closeButtonDisabled?: boolean;
|
|
14
|
+
/** Существует ли кнопка развертывания */
|
|
15
|
+
maximizeButtonEnabled?: boolean;
|
|
16
|
+
/** Вызывается при попытке развернуть окно */
|
|
17
|
+
onMaximize?: () => void;
|
|
18
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
19
|
+
maximized?: boolean;
|
|
13
20
|
header?: React.ReactNode;
|
|
14
21
|
content?: React.ReactNode;
|
|
15
22
|
buttons?: React.ReactNode;
|
|
@@ -26,6 +33,7 @@ export interface IScrollableModalProps {
|
|
|
26
33
|
contentClassName?: string;
|
|
27
34
|
buttonsClassName?: string;
|
|
28
35
|
boxClassName?: string;
|
|
36
|
+
services: $DeviceType;
|
|
29
37
|
}
|
|
30
38
|
/**
|
|
31
39
|
* @internal
|
|
@@ -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/sorokin.v/rep/WebClient/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;
|
|
@@ -4,6 +4,7 @@ import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
|
4
4
|
import { IValidationParams } from '@docsvision/webclient/System/IValidationParams';
|
|
5
5
|
import { IValidationResult } from '@docsvision/webclient/System/IValidationResult';
|
|
6
6
|
import { $BusinessCalendarController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
7
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
7
8
|
/** @internal */
|
|
8
9
|
export declare class GroupTaskCardPerformersPanelParams extends BaseRazorControlParams {
|
|
9
10
|
/** Является ли обязательным заполнение данного поля. */
|
|
@@ -11,7 +12,7 @@ export declare class GroupTaskCardPerformersPanelParams extends BaseRazorControl
|
|
|
11
12
|
defaultCalendarId?: string;
|
|
12
13
|
useBusinessCalendar?: boolean;
|
|
13
14
|
autoDurationsRecalculation?: boolean;
|
|
14
|
-
services?: $BusinessCalendarController;
|
|
15
|
+
services?: $BusinessCalendarController & $DeviceType;
|
|
15
16
|
}
|
|
16
17
|
/** @internal */
|
|
17
18
|
export interface GroupTaskCardPerformersPanelState extends BaseRazorControlState, GroupTaskCardPerformersPanelParams {
|
package/Legacy/ModalWindow.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ModalWindowEvents, ModalWindowParams } from "@docsvision/webclient/Legacy/ModalWindowParams";
|
|
2
2
|
import { Optional } from '@docsvision/web/core/services';
|
|
3
3
|
import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
/** @internal */
|
|
5
6
|
export interface IModalWindowCreatorOptions {
|
|
6
7
|
withoutAnimation?: boolean;
|
|
7
8
|
}
|
|
8
9
|
/** @deprecated Используйте {@link ModalDialog} или {@link MessageBox}. */
|
|
9
10
|
export declare class ModalWindow {
|
|
11
|
+
private services?;
|
|
10
12
|
private traceProvider;
|
|
11
13
|
private params;
|
|
12
14
|
private overlay;
|
|
@@ -17,18 +19,20 @@ export declare class ModalWindow {
|
|
|
17
19
|
private modalOkButton;
|
|
18
20
|
private modalCancelButton;
|
|
19
21
|
private modalCloseButton;
|
|
22
|
+
private modalMaximizeButton;
|
|
20
23
|
private buttonsDiv;
|
|
21
24
|
private content;
|
|
22
25
|
private isOpened;
|
|
23
26
|
events: ModalWindowEvents;
|
|
24
27
|
static lastError?: ModalWindow;
|
|
25
28
|
private rootCssClass;
|
|
26
|
-
constructor(params: ModalWindowParams, services?: Optional<$RootCssClass>
|
|
29
|
+
constructor(params: ModalWindowParams, services?: Optional<$RootCssClass> & $DeviceType);
|
|
27
30
|
get IsOpened(): boolean;
|
|
28
31
|
get ModalElement(): HTMLElement;
|
|
29
32
|
get ModalContentElement(): HTMLElement;
|
|
30
33
|
get OkButtonElement(): HTMLButtonElement;
|
|
31
34
|
get CancelButtonElement(): HTMLButtonElement;
|
|
35
|
+
private onMaximize;
|
|
32
36
|
Show(withoutAnimation?: boolean): void;
|
|
33
37
|
Hide(withCallbacks?: boolean, withoutAnimation?: boolean): Promise<any>;
|
|
34
38
|
HideOverlay(): void;
|
|
@@ -37,6 +41,7 @@ export declare class ModalWindow {
|
|
|
37
41
|
private CreateModal;
|
|
38
42
|
private CreateModalContent;
|
|
39
43
|
private CreateModalCloseButton;
|
|
44
|
+
private CreateModalmaximizeButton;
|
|
40
45
|
private CreateModalHeader;
|
|
41
46
|
private CreateModalButtonsDiv;
|
|
42
47
|
private CreateModalOkButton;
|
|
@@ -44,7 +49,7 @@ export declare class ModalWindow {
|
|
|
44
49
|
private CreateModalCancelButton;
|
|
45
50
|
private Destroy;
|
|
46
51
|
static ShowErrorDialog(message: string, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
47
|
-
static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
52
|
+
static ShowConfirmDialog(message: string, yesButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions, services?: Optional<$RootCssClass> & $DeviceType): ModalWindow;
|
|
48
53
|
static ShowInformationDialog(message: string, headerText?: string, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
49
54
|
static ShowWarningDialog(message: string, headerText?: string, okButton?: Function, cancelButton?: Function, options?: IModalWindowCreatorOptions): ModalWindow;
|
|
50
55
|
}
|
|
@@ -27,6 +27,12 @@ export declare class ModalWindowParams extends ModalWindowEvents {
|
|
|
27
27
|
buttonCancelText: string;
|
|
28
28
|
buttonCancelFunction: Function;
|
|
29
29
|
userFocusTrap: boolean;
|
|
30
|
+
/** Существует ли кнопка развертывания */
|
|
31
|
+
maximizeButtonEnabled?: boolean;
|
|
32
|
+
/** Развернуто ли модальное окно */
|
|
33
|
+
maximized?: boolean;
|
|
34
|
+
/** Вызывается при попытке развернуть окно */
|
|
35
|
+
onMaximize?: () => void;
|
|
30
36
|
buttons: Array<ModalButton>;
|
|
31
37
|
replaceDefaultButtons: boolean;
|
|
32
38
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { FolderTree } from "@docsvision/webclient/Legacy/FolderTree";
|
|
2
2
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
3
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
4
|
/** @internal */
|
|
4
5
|
export declare class SelectFolderModalDialog extends FolderTree {
|
|
5
6
|
private services;
|
|
6
7
|
private static DialogContainerClassName;
|
|
7
8
|
private onClose;
|
|
8
9
|
private dialog;
|
|
9
|
-
constructor(onClose?: (folders: string[]) => void, services?: $RequestManager);
|
|
10
|
+
constructor(onClose?: (folders: string[]) => void, services?: $RequestManager & $DeviceType);
|
|
10
11
|
ShowDialog(): void;
|
|
11
12
|
private AttachFolder;
|
|
12
13
|
protected ClearSelectedFolders(): void;
|
|
@@ -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);
|
|
@@ -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/sorokin.v/rep/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
16
16
|
onSelected(): void;
|
|
17
17
|
onToggling():
|
|
18
|
-
import("C:/
|
|
18
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
19
19
|
onToggled(): void;
|
|
20
20
|
protected onClick(event: React.MouseEvent<any>): void;
|
|
21
21
|
protected getCssClass(): string;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BatchOperationsProgressDialogProps, BatchOperationsProgressDialogState, IBatchOperationsProgressDialog } from '@docsvision/webclient/Platform/$BatchOperationsProgressDialog';
|
|
3
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
export declare class BatchOperationsProgressDialogService implements IBatchOperationsProgressDialog {
|
|
5
|
+
private services;
|
|
4
6
|
private host;
|
|
5
7
|
private props;
|
|
6
8
|
private state;
|
|
7
|
-
constructor();
|
|
9
|
+
constructor(services: $DeviceType);
|
|
8
10
|
open(props: BatchOperationsProgressDialogProps): Promise<void>;
|
|
9
11
|
updateState(state: BatchOperationsProgressDialogState): Promise<void>;
|
|
10
12
|
close(): Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ConfigurableMainMenuContainerButtonImpl, ConfigurableMainMenuContainerButtonState } from "@docsvision/webclient/Platform/ConfigurableMainMenuContainerButtonImpl";
|
|
2
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
2
3
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
3
4
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
4
5
|
import { $ControlStore } from '@docsvision/webclient/System/LayoutServices';
|
|
@@ -36,7 +37,7 @@ export declare class ConfigurableMainMenuContainerButtonParams extends BaseContr
|
|
|
36
37
|
attachFolderClicked?: BasicApiEvent<void>;
|
|
37
38
|
/** Активирован элемент меню "Обновить дерево папок". */
|
|
38
39
|
refreshFoldersClicked?: BasicApiEvent<void>;
|
|
39
|
-
services?: $ControlStore & $Layout & $RequestManager;
|
|
40
|
+
services?: $ControlStore & $Layout & $RequestManager & $DeviceType;
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* Добавляет в web-разметку кнопку в виде иконки шестеренки для открытия меню {@link СonfigurableMainMenuContainer}.
|
|
@@ -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/Folder.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { $LayoutFolderController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
3
|
import { FolderImpl, FolderState } from "@docsvision/webclient/Platform/FolderImpl";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
5
6
|
import { IDataChangedEventArgs } from "@docsvision/webclient/System/IDataChangedEventArgs";
|
|
6
7
|
import { $CardInfo, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -37,7 +38,7 @@ export declare class FolderParams extends BaseControlParams {
|
|
|
37
38
|
folderList?: GenModels.SelectFolderNode[];
|
|
38
39
|
/** Событие возникает после выбора папки. */
|
|
39
40
|
dataChanged?: BasicApiEvent<IDataChangedEventArgs>;
|
|
40
|
-
services?: $LayoutFolderController & $CardInfo & $LayoutInfo;
|
|
41
|
+
services?: $LayoutFolderController & $CardInfo & $LayoutInfo & $DeviceType;
|
|
41
42
|
/** Флаг, отвечающий за отображение дерева папок */
|
|
42
43
|
displayFolderTree: boolean;
|
|
43
44
|
}
|
|
@@ -17,6 +17,8 @@ export interface IFolderContentProps {
|
|
|
17
17
|
isModal?: boolean;
|
|
18
18
|
onFolderClick?: any;
|
|
19
19
|
showFolderType?: GenModels.FolderNodeType;
|
|
20
|
+
/** Максимизировано ли модальное окно */
|
|
21
|
+
maximized?: boolean;
|
|
20
22
|
}
|
|
21
23
|
/** @internal */
|
|
22
24
|
export declare class FolderContent extends React.Component<IFolderContentProps, IFolderContentState> {
|
package/Platform/FolderImpl.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import React from "react";
|
|
|
11
11
|
export interface FolderState extends FolderParams, BaseControlState {
|
|
12
12
|
checkFolderForAvailable: (folderId: string) => Promise<GenModels.CheckResult>;
|
|
13
13
|
validationMessage: string;
|
|
14
|
+
maximized: boolean;
|
|
14
15
|
}
|
|
15
16
|
/** @internal */
|
|
16
17
|
export declare type FolderImplState = FolderState;
|
|
@@ -22,6 +23,7 @@ export declare class FolderImpl extends BaseControlImpl<FolderParams, FolderStat
|
|
|
22
23
|
componentDidMount(): void;
|
|
23
24
|
updateFolderContent(): void;
|
|
24
25
|
private setFolderInTree;
|
|
26
|
+
private onMaximize;
|
|
25
27
|
onButtonClick(): Promise<void>;
|
|
26
28
|
showModal(): React.ReactNode;
|
|
27
29
|
closeWindow(): void;
|
|
@@ -100,7 +100,7 @@ export declare class FolderMainMenuItem extends BaseNavigationMainMenuItem<Folde
|
|
|
100
100
|
/** @internal */
|
|
101
101
|
protected set forceVirtualFolderSearch(val: string | boolean);
|
|
102
102
|
/** @internal */
|
|
103
|
-
protected set folderInfo(
|
|
103
|
+
protected set folderInfo(infoSrc: string | GenModels.FolderNode);
|
|
104
104
|
/**
|
|
105
105
|
* Является ли элемент меню проксирующим, то есть видны только подэлементы, а сам данный элемент меню не виден
|
|
106
106
|
*/
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IHoverPanelService as IHoverPanelService } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
2
|
+
import { HeaderHoverPanelPlugin } from "@docsvision/web/components/table/plugins/hover-panel";
|
|
3
|
+
export declare class HoverPanelService implements IHoverPanelService {
|
|
4
|
+
getHoverPanelPlugins(defaultPlugins?: HeaderHoverPanelPlugin<any>[]): HeaderHoverPanelPlugin<any>[];
|
|
5
|
+
}
|
|
@@ -4,12 +4,13 @@ import { Layout } from "@docsvision/webclient/System/Layout";
|
|
|
4
4
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
5
5
|
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
6
6
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
7
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
7
8
|
/** @internal */
|
|
8
9
|
export declare class LayoutSearchParametersDialog {
|
|
9
10
|
private services;
|
|
10
11
|
static SearchParametersDialogLayoutPosition: string;
|
|
11
12
|
static LastSearchLocalStoragePrefix: string;
|
|
12
|
-
constructor(services: $LayoutManager & $LayoutController & $LocalStorage & $MessageBox);
|
|
13
|
+
constructor(services: $LayoutManager & $LayoutController & $LocalStorage & $MessageBox & $DeviceType);
|
|
13
14
|
cancel: () => any;
|
|
14
15
|
showDialog(searchId: string, layout?: GenModels.LayoutViewModel): Promise<GenModels.SearchParameter[]>;
|
|
15
16
|
getParameters(layout: Layout): GenModels.SearchParameter[];
|
|
@@ -12,7 +12,7 @@ export declare class LoaderDialog extends React.Component<Props, State> {
|
|
|
12
12
|
cancel: () => void;
|
|
13
13
|
DialogBox:
|
|
14
14
|
import("styled-components").StyledComponent<(props:
|
|
15
|
-
import("C:/
|
|
15
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
16
16
|
LoadingSpan:
|
|
17
17
|
import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
18
18
|
render(): JSX.Element;
|
|
@@ -10,6 +10,7 @@ import { $CardInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
|
10
10
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
11
11
|
import { ZoomOptions, RotateDirection, PageSwitchers, ScanInfo } from '@docsvision/webclient/Platform/RotateDirection';
|
|
12
12
|
import { PageLeaveConfirmation } from '@docsvision/webclient/System/PageLeaveConfirmation';
|
|
13
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
13
14
|
export interface ISavedScanOptions {
|
|
14
15
|
selectedScannerID: string;
|
|
15
16
|
selectedResolutionID: string;
|
|
@@ -27,7 +28,7 @@ export declare class ScanDialogService implements IScanDialog {
|
|
|
27
28
|
private scannersList;
|
|
28
29
|
protected pageLeaveConfirmation: PageLeaveConfirmation;
|
|
29
30
|
private performScanOnce;
|
|
30
|
-
constructor(services: $LocalStorage & $FileScan & $LayoutCheck & $CardInfo & $RequestManager);
|
|
31
|
+
constructor(services: $LocalStorage & $FileScan & $LayoutCheck & $CardInfo & $RequestManager & $DeviceType);
|
|
31
32
|
savedOptionsKey: string;
|
|
32
33
|
getScannersList: () => Promise<string[]>;
|
|
33
34
|
open: (props: ScanDialogProps) => Promise<void>;
|
|
@@ -20,7 +20,7 @@ export declare class SearchingResultsImpl extends BaseControlImpl<SearchingResul
|
|
|
20
20
|
fillCardsSelection(): void;
|
|
21
21
|
getCardsSelection(): GenModels.CardPresentation[];
|
|
22
22
|
private scrollListToFirstItem;
|
|
23
|
-
protected clearCacheCards: () => Promise<
|
|
23
|
+
protected clearCacheCards: () => Promise<void>;
|
|
24
24
|
initCacheCardsPresentation: () => Promise<void>;
|
|
25
25
|
protected loadCardsPresentation: (indexes?: number[]) => Promise<void>;
|
|
26
26
|
selectItem: (cardModel: GenModels.CardPresentation) => void;
|
|
@@ -5,13 +5,13 @@ import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
|
|
|
5
5
|
import { showDisableInheritanceModeSelectDialog } from '@docsvision/webclient/Platform/DisableInheritanceModeSelectDialog';
|
|
6
6
|
import { ColumnWidthOptions } from '@docsvision/webclient/Platform/ColumnWidthOptions';
|
|
7
7
|
import { SecurityDescriptorDialogLogic } from '@docsvision/webclient/Platform/SecurityDescriptorDialogLogic';
|
|
8
|
-
import { $CurrentEmployeeId } from '@docsvision/webclient/StandardServices';
|
|
8
|
+
import { $CurrentEmployeeId, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
9
9
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
10
10
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
11
11
|
import { IComponentProps } from '@docsvision/web/core/component';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import "./SecurityDescriptorDialog.css";
|
|
14
|
-
export declare type $SecurityDescriptorDialogServices = $SecurityController & $LocalStorage & $CurrentEmployeeId & $StaffDirectoryItemsServices & $MessageBox;
|
|
14
|
+
export declare type $SecurityDescriptorDialogServices = $SecurityController & $LocalStorage & $CurrentEmployeeId & $StaffDirectoryItemsServices & $MessageBox & $DeviceType;
|
|
15
15
|
export interface SecurityDescriptorDialogProps extends IComponentProps<SecurityDescriptorDialogLogic, SecurityDescriptorDialogView> {
|
|
16
16
|
target: GenModels.SecurityTarget;
|
|
17
17
|
canEdit?: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class SecurityDescriptorDialogView {
|
|
|
23
23
|
frame: (props:
|
|
24
24
|
import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
|
|
25
25
|
table: (props:
|
|
26
|
-
import("C:/
|
|
26
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
|
|
27
27
|
tableHead: (props:
|
|
28
28
|
import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
|
|
29
29
|
inheritanceButtons: (props:
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
1
2
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import './SecurityDialogFrame.css';
|
|
@@ -13,6 +14,6 @@ export interface SecurityDialogFrameProps {
|
|
|
13
14
|
onAcceptClick: () => void;
|
|
14
15
|
onApplyClick: () => void;
|
|
15
16
|
onCancelClick: () => void;
|
|
16
|
-
services: $LocalStorage;
|
|
17
|
+
services: $LocalStorage & $DeviceType;
|
|
17
18
|
}
|
|
18
19
|
export declare const SecurityDialogFrame: (props: SecurityDialogFrameProps) => JSX.Element;
|