@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/Platform/Table.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { IRowEventArgs } from "@docsvision/webclient/Platform/IRowEventArgs";
|
|
|
5
5
|
import { TableImpl, TableState } from "@docsvision/webclient/Platform/TableImpl";
|
|
6
6
|
import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
|
|
7
7
|
import { $Layout, SaveCardOptions } from "@docsvision/webclient/System/$Layout";
|
|
8
|
-
import { ILayoutSavedEventArgs } from '@docsvision/webclient/System/ILayoutParams';
|
|
9
8
|
import { $CardId, $RowId, $RowInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
10
9
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
11
10
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
@@ -15,6 +14,7 @@ import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
|
15
14
|
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
16
15
|
import { Optional } from '@docsvision/web/core/services';
|
|
17
16
|
import { SaveControlDataModelEventArgs } from '@docsvision/webclient/System/Layout';
|
|
17
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
18
18
|
/**
|
|
19
19
|
* Содержит публичные свойства элемента управления [Таблица]{@link Table}.
|
|
20
20
|
*/
|
|
@@ -71,7 +71,7 @@ export declare class TableParams extends PanelParams {
|
|
|
71
71
|
expanding: CancelableApiEvent<IEventArgs>;
|
|
72
72
|
/** Событие, возникающее при разворачивании. */
|
|
73
73
|
expanded: BasicApiEvent<IEventArgs>;
|
|
74
|
-
services?: $LayoutCardController & $LayoutRowController & $Layout & $CardId & $RowId & Optional<$RowInfo> & $LayoutManager;
|
|
74
|
+
services?: $LayoutCardController & $LayoutRowController & $Layout & $CardId & $RowId & Optional<$RowInfo> & $LayoutManager & $DeviceType;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Класс элемента управления Таблица
|
|
@@ -147,11 +147,11 @@ export declare class Table extends Panel<TableParams, TableState> {
|
|
|
147
147
|
/** Включает режим отложенных изменений, при котором добавление и удаление строк не сохраняется на сервер сразу при вызове методов. */
|
|
148
148
|
beginEdit(): void;
|
|
149
149
|
/** Выключает режим отложенных изменений и сохраняет произведенные правки, если необходимо. */
|
|
150
|
-
endEdit(): Promise<
|
|
150
|
+
endEdit(): Promise<this>;
|
|
151
151
|
/** @internal */
|
|
152
152
|
protected onCardSaving(sender: any, args: ICancelableEventArgs<SaveControlDataModelEventArgs>): void;
|
|
153
153
|
/** @internal */
|
|
154
|
-
|
|
154
|
+
onSaved(): Promise<void>;
|
|
155
155
|
/** @internal */
|
|
156
156
|
protected createImpl(): TableImpl;
|
|
157
157
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
2
3
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
3
|
-
export declare function showTableRowCreateWindow(cardId: string, sectionId: string, parentRowId: string | null, services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<string>;
|
|
4
|
+
export declare function showTableRowCreateWindow(cardId: string, sectionId: string, parentRowId: string | null, services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
2
3
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
3
|
-
export declare function showTableEditWindow(cardId: string, sectionId: string, rowId: string, services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<void>;
|
|
4
|
+
export declare function showTableEditWindow(cardId: string, sectionId: string, rowId: string, services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<void>;
|
package/Platform/TableImpl.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare type TableImplState = TableState;
|
|
|
32
32
|
/** @internal */
|
|
33
33
|
export declare class TableImpl extends PanelImpl<TableParams, TableState> {
|
|
34
34
|
static BindingNotSpecifiedMetadataKey: string;
|
|
35
|
-
lastTableOperation: Promise<
|
|
35
|
+
lastTableOperation: Promise<Table>;
|
|
36
36
|
removeRowPerformOnce: PerformOnce;
|
|
37
37
|
private modalHost;
|
|
38
38
|
addRowPerformOnce: PerformOnce;
|
|
@@ -67,7 +67,7 @@ export declare class TableImpl extends PanelImpl<TableParams, TableState> {
|
|
|
67
67
|
* следует использовать ее только там, где это некритично.
|
|
68
68
|
*/
|
|
69
69
|
protected checkRowIsEmpty(rowIndex: number): boolean;
|
|
70
|
-
removeRowInternal(rowIndex: number, isEmpty?: boolean): Promise<
|
|
70
|
+
removeRowInternal(rowIndex: number, isEmpty?: boolean): Promise<Table>;
|
|
71
71
|
protected onRemoveRowClick(row: IRowInfo): void;
|
|
72
72
|
protected onEditRowClick(row: IRowInfo): void;
|
|
73
73
|
protected getCssClass(): string;
|
|
@@ -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:/Users/sorokin.v/rep/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
|
}
|
package/System/BaseControl.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ export declare class BaseControlParams {
|
|
|
62
62
|
visibilityEditOperation?: string;
|
|
63
63
|
/** Определяет, есть ли возможность редактировать элемент управления: `true` - нельзя редактировать, `false` - можно. */
|
|
64
64
|
disabled?: boolean;
|
|
65
|
+
/** Хранит дополнительную информацию или настройки в виде строкового ресурса */
|
|
66
|
+
tag?: string;
|
|
65
67
|
/**
|
|
66
68
|
* Определяет, должен ли элемент управления получать фокус при переходе по Tab:
|
|
67
69
|
* `true` - должен, `false` - не должен.
|
|
@@ -4,7 +4,7 @@ import { ControlTemplateText } from "@docsvision/webclient/System/ControlTemplat
|
|
|
4
4
|
export declare class ControlTemplateView {
|
|
5
5
|
text: typeof ControlTemplateText;
|
|
6
6
|
button: (props:
|
|
7
|
-
import("C:/
|
|
7
|
+
import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
8
8
|
frame: typeof ControlTemplateFrame;
|
|
9
9
|
buttonText: string;
|
|
10
10
|
}
|
|
@@ -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:/Users/sorokin.v/rep/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:/Users/sorokin.v/rep/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
77
84
|
/** @internal */
|
|
78
85
|
state: StateT;
|
|
79
86
|
searchInput: HTMLInputElement;
|
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
|
}
|
|
@@ -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 */
|
|
@@ -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
|
}
|