@docsvision/webclient 6.1.7 → 6.1.9-beta.1
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/Account/Altcha.d.ts +10 -0
- package/Account/LoginContainer.d.ts +2 -0
- package/Account/LoginLogic.d.ts +18 -1
- package/Application.d.ts +3 -3
- package/BackOffice/AddressStoriesData.d.ts +22 -0
- package/BackOffice/CardKindStoriesData.d.ts +45 -0
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/CommentsStoriesData.d.ts +8 -0
- package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +23 -0
- package/BackOffice/DelegateBatchOperationStoriesData.d.ts +16 -0
- package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +13 -0
- package/BackOffice/DepartmentStoriesData.d.ts +89 -0
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +3 -1
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +4 -2
- package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +15 -0
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DisplayInitiatorStoriesData.d.ts +35 -0
- package/BackOffice/DisplayPerformersStoriesData.d.ts +72 -0
- package/BackOffice/EmailButtonView.d.ts +1 -1
- package/BackOffice/EmployeeStoriesData.d.ts +19 -0
- package/BackOffice/FileListControlLogic.d.ts +2 -1
- package/BackOffice/FileListControlStoriesData.d.ts +162 -0
- package/BackOffice/GetSearchItemsType.d.ts +2 -0
- package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +14 -0
- package/BackOffice/HistoryStoriesData.d.ts +46 -0
- package/BackOffice/HistoryStoriesHelpers.d.ts +4 -0
- package/BackOffice/LinksStoriesData.d.ts +61 -0
- package/BackOffice/MultipleEmployeesStoriesData.d.ts +34 -0
- package/BackOffice/NumeratorStoriesData.d.ts +25 -0
- package/BackOffice/PartnerDepartmentStoriesData.d.ts +175 -0
- package/BackOffice/PartnerStoriesData.d.ts +141 -0
- package/BackOffice/StateButtonsStoriesData.d.ts +23 -0
- package/BackOffice/TasksStoriesData.d.ts +37 -0
- package/BackOffice/TasksTableCell.d.ts +4 -4
- package/BackOffice/ToSearchArea.d.ts +3 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +10 -9
- package/Generated/DocsVision.WebClient.Models.d.ts +2553 -70
- package/Helpers/FileComments/FileComments.d.ts +2 -1
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LoadingIcon/LoadingIcon.d.ts +1 -0
- package/Helpers/PopoverHelpers/Popover.d.ts +2 -0
- package/Helpers/Sortable/Sortable.d.ts +5 -0
- package/Legacy/UserMenu.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -2
- package/Platform/ApprovalVisualizationView.d.ts +1 -1
- package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
- package/Platform/DeleteBatchOperationStoriesData.d.ts +14 -0
- package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +17 -0
- package/Platform/FavoritesPageRouteHandler.d.ts +5 -5
- package/Platform/FavoritesRouteHandler.d.ts +3 -3
- package/Platform/FolderDataLoadingService.d.ts +2 -0
- package/Platform/FolderGrid.d.ts +2 -1
- package/Platform/FolderGridService.d.ts +4 -4
- package/Platform/FolderNameImpl.d.ts +0 -1
- package/Platform/FolderRouteHelpers.d.ts +1 -4
- package/Platform/FolderViewItemsImpl.d.ts +23 -23
- package/Platform/FolderWebFrameRouteHandler.d.ts +2 -3
- package/Platform/GetWarningModal.d.ts +2 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +1 -1
- package/Platform/LoadExistingFolderDataLoader.d.ts +5 -2
- package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +13 -0
- package/Platform/ReadBatchBatchOperationStoriesData.d.ts +14 -0
- package/Platform/RecentCardsPageRouteHandler.d.ts +5 -5
- package/Platform/RecentCardsRouteHandler.d.ts +4 -4
- package/Platform/ResetSettings.d.ts +2 -2
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SessionExpiredHandler.d.ts +6 -0
- package/Platform/TestUtils.d.ts +3 -1
- package/Platform/TextAreaImpl.d.ts +2 -0
- package/Platform/TextBoxInputField.d.ts +1 -1
- package/Platform/TextBoxInputMaskView.d.ts +1 -1
- package/Platform/TextListInputView.d.ts +3 -3
- package/Platform/WebFrameSearchPanel.d.ts +15 -15
- package/StandardServices.d.ts +3 -2
- package/System/$LayoutManager.d.ts +3 -0
- package/System/$LogoutService.d.ts +7 -0
- package/System/$SessionRelatedContent.d.ts +11 -0
- package/System/DirectoryBaseImpl.d.ts +1 -0
- package/System/Localizations.d.ts +1 -0
- package/System/LocationContainerControlStoriesData.d.ts +2 -1
- package/System/LogoutService.d.ts +9 -0
- package/System/OutcomingLocalStorageCommunicationChannel.d.ts +1 -0
- package/System/PagesControllerStub.d.ts +0 -1
- package/System/ResourcesStub.d.ts +8 -0
- package/System/SessionRelatedContentService.d.ts +8 -0
- package/System/StorybookStory.d.ts +8 -4
- package/System/Summernote.d.ts +2 -0
- package/package.json +1 -2
- package/Legacy/$FolderViews.d.ts +0 -8
- package/Legacy/BasicGridHtmlBuilder.d.ts +0 -133
- package/Legacy/DesktopGridHtmlBuilder.d.ts +0 -30
- package/Legacy/FilterSidePanel.d.ts +0 -4
- package/Legacy/FolderViewHandler.d.ts +0 -9
- package/Legacy/FolderViews.d.ts +0 -26
- package/Legacy/FormFactor.d.ts +0 -5
- package/Legacy/Grid.d.ts +0 -50
- package/Legacy/GridModeService.d.ts +0 -10
- package/Legacy/GridRowSelectionService.d.ts +0 -12
- package/Legacy/GridRowsSelectionLogic.d.ts +0 -30
- package/Legacy/IGridHtmlBuilder.d.ts +0 -25
- package/Legacy/ISortingColumn.d.ts +0 -5
- package/Legacy/MobileGridHtmlBuilder.d.ts +0 -31
- package/Platform/FolderCountersRouteHandler.d.ts +0 -29
- package/Platform/GridManagement.d.ts +0 -8
|
@@ -4,7 +4,8 @@ import { $CurrentLocation } from "@docsvision/webclient/System/LayoutServices";
|
|
|
4
4
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
6
6
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
7
|
-
export declare function getLocationContainerMockServices():
|
|
7
|
+
export declare function getLocationContainerMockServices():
|
|
8
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType;
|
|
8
9
|
export declare function locationContainerStoryCustomloader(): Promise<GenModels.LayoutViewModel>;
|
|
9
10
|
export declare function locationContainerStoryCustomloaderForReaload(): Promise<GenModels.LayoutViewModel>;
|
|
10
11
|
export declare const locationContainerStoryLayoutGuid = "b64c55d9-4817-4ad4-9816-8af35022c32e";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
2
|
+
import { ILogoutService } from "@docsvision/webclient/System/$LogoutService";
|
|
3
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
4
|
+
/** Интерфейс отправителя сообщений к серверу в режиме реального времени, используемый в {@link LogoutService} */
|
|
5
|
+
export declare class LogoutService implements ILogoutService {
|
|
6
|
+
private services;
|
|
7
|
+
constructor(services: $RealtimeCommunicationService & $LayoutManager);
|
|
8
|
+
logout(): Promise<void>;
|
|
9
|
+
}
|
|
@@ -20,4 +20,5 @@ export declare class OutcomingLocalStorageCommunicationChannel {
|
|
|
20
20
|
removeStorageItem(): void;
|
|
21
21
|
setQueue(data: IRealTimeCommunicationMessage<any>[]): void;
|
|
22
22
|
getQueue(): IRealTimeCommunicationMessage<any>[];
|
|
23
|
+
removeMessagesFromQueue(messageType?: string): void;
|
|
23
24
|
}
|
|
@@ -3,7 +3,6 @@ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
3
3
|
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
4
4
|
export declare class PagesControllerStub implements GenControllers.IPagesController {
|
|
5
5
|
recentCards(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
6
|
-
recentCardsEx(request: GenModels.RecentCardsRequest, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
7
6
|
recentCardsGridModel(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
|
|
8
7
|
favorites(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
9
8
|
favoritesCardsGridModel(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
|
|
@@ -798,6 +798,14 @@ export declare let resourcesStub: {
|
|
|
798
798
|
TasksTree_Important: string;
|
|
799
799
|
WrongEndDateOfDatesWarning: string;
|
|
800
800
|
ControlTypes_ReadBatchOperationName: string;
|
|
801
|
+
DownloadFilesBatchOperationName: string;
|
|
802
|
+
DownloadFilesBatchOperationButtonHeader: string;
|
|
803
|
+
DownloadFilesBatchOperation_NoFilesWithSignError: string;
|
|
804
|
+
DeleteBatchOperation_DeleteCardsMessage: string;
|
|
805
|
+
DeleteBatchOperation_DeletePermanentlyCardsMessage: string;
|
|
806
|
+
ControlTypes_DeleteBatchOperationName: string;
|
|
807
|
+
DeleteOperationName: string;
|
|
808
|
+
ControlTypes_DeleteBatchOperation: string;
|
|
801
809
|
Partner_FullName: string;
|
|
802
810
|
FileList_DropZone_ExtraFilesText: string;
|
|
803
811
|
DirectorySearch_ExpandResultsButton: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ISessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
|
|
2
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
3
|
+
import { Store, Event } from "effector";
|
|
4
|
+
export declare class SessionRelatedContentService implements ISessionRelatedContent {
|
|
5
|
+
$hasSessionRelatedContent: Store<boolean>;
|
|
6
|
+
setHasSessionRelatedContent: Event<boolean>;
|
|
7
|
+
constructor(services: $Domain);
|
|
8
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
export interface IScreenshotParams {
|
|
3
|
+
skip?: boolean;
|
|
4
|
+
fullwidth?: boolean;
|
|
5
|
+
waitSelector?: string;
|
|
6
|
+
delay?: number;
|
|
7
|
+
hoverSelector?: string;
|
|
8
|
+
}
|
|
2
9
|
export interface StoryParameters {
|
|
3
10
|
/** Should story be included in screenshot tests. Default: true */
|
|
4
|
-
|
|
11
|
+
screenshot?: IScreenshotParams;
|
|
5
12
|
disableMobile?: boolean;
|
|
6
13
|
}
|
|
7
14
|
export declare function story(title: string, story: () => JSX.Element, params?: StoryParameters): () => JSX.Element;
|
|
8
|
-
/** loki скриншотит только то, что находится в div.#root, поэтому, если контент не входит в его границы, надо растянуть контент на всю высоту */
|
|
9
|
-
export declare const StretchRoot:
|
|
10
|
-
import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/System/Summernote.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export interface ISummernoteProps {
|
|
|
10
10
|
input: HTMLElement;
|
|
11
11
|
popoverImageDisplay: boolean;
|
|
12
12
|
onSummernoteImageUpload: (files: FileList) => void;
|
|
13
|
+
onSummernoteImageLinkInsert?: (url: string) => void;
|
|
14
|
+
onSummernoteDialogShown?: () => void;
|
|
13
15
|
currentEmployeeId?: string;
|
|
14
16
|
onTextChange?: (text: string) => void;
|
|
15
17
|
onAddingCommentWithMention?: (text: string) => void;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docsvision/webclient",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9-beta.1",
|
|
4
4
|
"description": "Type definitions for DocsVision WebClient scripts and extensions.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@types/classnames": "^2.2.6",
|
|
9
9
|
"@types/jquery": "^3.3.22",
|
|
10
|
-
"@types/moment": "^2.13.0",
|
|
11
10
|
"@types/qs": "^6.5.1",
|
|
12
11
|
"@types/react": "^16.6",
|
|
13
12
|
"@types/react-dom": "^16.0.6",
|
package/Legacy/$FolderViews.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface IFolderViews {
|
|
2
|
-
Build(folderId: string, viewSourceId: string, searchId: string, currentViewId: string, currentViewName: string): void;
|
|
3
|
-
Destroy(): void;
|
|
4
|
-
}
|
|
5
|
-
export declare type $FolderViews = {
|
|
6
|
-
folderViews: IFolderViews;
|
|
7
|
-
};
|
|
8
|
-
export declare const $FolderViews: string | ((model?: $FolderViews) => IFolderViews);
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { $GridController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
-
import { GridOptions } from "@docsvision/webclient/Legacy/GridOptions";
|
|
4
|
-
import { IGridHtmlBuilder } from "@docsvision/webclient/Legacy/IGridHtmlBuilder";
|
|
5
|
-
import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
|
|
6
|
-
import { GridRowsSelectionLogic } from '@docsvision/webclient/Legacy/GridRowsSelectionLogic';
|
|
7
|
-
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
8
|
-
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
9
|
-
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
10
|
-
import { $RefreshUnreadCounters } from "@docsvision/webclient/Platform/$RefreshUnreadCounters";
|
|
11
|
-
export declare const RESIZEABLE_STORAGE_ID = "Storage";
|
|
12
|
-
export declare const WIDTH_STORE = ".widths";
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
15
|
-
protected folderId: any;
|
|
16
|
-
private viewId;
|
|
17
|
-
protected allowRowResize: boolean;
|
|
18
|
-
private pageSize;
|
|
19
|
-
private dateMinWidth;
|
|
20
|
-
protected tableHeaderContainer: HTMLElement;
|
|
21
|
-
protected tableBodyContainer: HTMLElement;
|
|
22
|
-
protected gridFooterContainer: HTMLElement;
|
|
23
|
-
private refreshButton;
|
|
24
|
-
private resetButton;
|
|
25
|
-
private loader;
|
|
26
|
-
private filterLoader;
|
|
27
|
-
protected rootElement: HTMLElement;
|
|
28
|
-
protected targetElement: HTMLElement;
|
|
29
|
-
protected options: GridOptions;
|
|
30
|
-
private selectedCards;
|
|
31
|
-
private colspanValue;
|
|
32
|
-
private groupColumnList;
|
|
33
|
-
private popupNotification;
|
|
34
|
-
private colRowResizableStorage;
|
|
35
|
-
private isRequestAllowed;
|
|
36
|
-
protected selectionLogic: GridRowsSelectionLogic;
|
|
37
|
-
/** getModel property is getting overrided by parent grid class */
|
|
38
|
-
getModel: () => GenModels.GridViewModel;
|
|
39
|
-
refreshed: SimpleEvent<void>;
|
|
40
|
-
modelChanged: SimpleEvent<any>;
|
|
41
|
-
rowsSelectionModeChanged: SimpleEvent<boolean>;
|
|
42
|
-
filterLayout: GenModels.LayoutViewModel;
|
|
43
|
-
static RowDefaultHeight: string;
|
|
44
|
-
static DefaultForeColor: string;
|
|
45
|
-
static DefaultBackColor: string;
|
|
46
|
-
static FilterSettingsName: string;
|
|
47
|
-
private traceProvider;
|
|
48
|
-
protected services: $GridController & $WebFrameContext & $MessageBox & $CurrentFolder & $RefreshUnreadCounters;
|
|
49
|
-
constructor(options: GridOptions);
|
|
50
|
-
abstract rowsSelectionMode: boolean;
|
|
51
|
-
abstract buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): any;
|
|
52
|
-
abstract rebuildIfNeeded(isBuild: boolean, model?: GenModels.GridViewModel): any;
|
|
53
|
-
protected abstract onRefreshButtonClick(): any;
|
|
54
|
-
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
55
|
-
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
56
|
-
getSelection():
|
|
57
|
-
import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
58
|
-
clearSelection(cardIds?: string[]): void;
|
|
59
|
-
selectionChanged: SimpleEvent<any>;
|
|
60
|
-
protected addActionButtons(header: HTMLElement): void;
|
|
61
|
-
protected buildExportExcelButton(): HTMLSpanElement;
|
|
62
|
-
protected downloadExcelReport(e: any): void;
|
|
63
|
-
getCurrentPage(): number | null;
|
|
64
|
-
protected destroyGrid(): void;
|
|
65
|
-
buildTableHeader(options: GridOptions, tableHeaderContainer: HTMLElement, modelGrid?: GenModels.GridViewModel): void;
|
|
66
|
-
protected shouldBuildHeader(columns: GenModels.GridColumn[], headerElements: NodeListOf<Element>): boolean;
|
|
67
|
-
private getColumnMinWidth;
|
|
68
|
-
private getColumnWidth;
|
|
69
|
-
/**
|
|
70
|
-
* Равномерна ли ширина столбцов
|
|
71
|
-
*/
|
|
72
|
-
private areColumnsEven;
|
|
73
|
-
private removeLoader;
|
|
74
|
-
private addLoader;
|
|
75
|
-
private removeFilterLoader;
|
|
76
|
-
private addFilterLoader;
|
|
77
|
-
buildTableBody(options: GridOptions, tableBodyContainer: HTMLElement): void;
|
|
78
|
-
protected initColRowResizable(model: GenModels.GridViewModel, hideRowResizeGrips: boolean): void;
|
|
79
|
-
protected initColRowResizablePlugin(options: any): void;
|
|
80
|
-
protected onRowWidthResize(ev: any): void;
|
|
81
|
-
protected applyGridFilters(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
82
|
-
buildHeader(options: GridOptions, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
83
|
-
protected saveFolderSettings(saveForView?: boolean): Promise<void>;
|
|
84
|
-
protected resetFolderSettings(): Promise<void>;
|
|
85
|
-
protected buildRow(model: GenModels.GridViewModel, i: number): HTMLTableRowElement;
|
|
86
|
-
private buildColumn;
|
|
87
|
-
private isGroupColumn;
|
|
88
|
-
private createEmptyTableRow;
|
|
89
|
-
protected buildSwitcher(compact: HTMLElement, wrap: HTMLElement, model: GenModels.GridViewModel, rootElement: HTMLElement): void;
|
|
90
|
-
buildGridFooter(options: GridOptions, gridFooterContainer: HTMLElement): void;
|
|
91
|
-
protected buildInOrder(): void;
|
|
92
|
-
applyGridFilter(): Promise<void>;
|
|
93
|
-
private getDateMinWidth;
|
|
94
|
-
private initHeaderCell;
|
|
95
|
-
reload(): Promise<GenModels.GridViewModel>;
|
|
96
|
-
protected getDataFromServer(queryRequest: GenModels.QueryViewRequest, instanceId: string, isMobile?: boolean, silent?: boolean): Promise<GenModels.GridViewModel>;
|
|
97
|
-
private syncRouteData;
|
|
98
|
-
protected getValueByKey(gridItem: GenModels.GridRow, key: string, itemType?: number): any;
|
|
99
|
-
private divide;
|
|
100
|
-
private getGroups;
|
|
101
|
-
private buildGroupingBody;
|
|
102
|
-
private buildGroupingColumns;
|
|
103
|
-
private updateGroupCSS;
|
|
104
|
-
protected createGroupRow(model: GenModels.GridViewModel, groups: GenModels.GridRow[], body: HTMLElement, isOpen: boolean, groupId: string, i: number): HTMLTableRowElement;
|
|
105
|
-
private initGroupingElement;
|
|
106
|
-
private chainesEqual;
|
|
107
|
-
private toggleGroup;
|
|
108
|
-
private addChain;
|
|
109
|
-
private removeChain;
|
|
110
|
-
private saveGroupSettings;
|
|
111
|
-
private loadGroupSettings;
|
|
112
|
-
protected updateHtmlRowReadStatus(itemID: string, setRead: boolean): void;
|
|
113
|
-
protected iniItemSelector(element: HTMLElement, itemID: any): void;
|
|
114
|
-
private buildPageNavigator;
|
|
115
|
-
private initPageLink;
|
|
116
|
-
private activateOneStep;
|
|
117
|
-
private activateCounter;
|
|
118
|
-
protected getPageData(pageNumber: any, instanceId: any, model: GenModels.GridViewModel, silent?: boolean): Promise<GenModels.GridViewModel>;
|
|
119
|
-
protected getPage(pageNumber: any, refresh?: boolean): Promise<GenModels.GridViewModel>;
|
|
120
|
-
private desktopCallback;
|
|
121
|
-
protected rebuildGrid(): void;
|
|
122
|
-
private getSortingColumn;
|
|
123
|
-
private saveGridState;
|
|
124
|
-
private onRefresh;
|
|
125
|
-
private onReset;
|
|
126
|
-
/**
|
|
127
|
-
* Визуальное уведомление о необходимости обновить грид
|
|
128
|
-
*/
|
|
129
|
-
showUpdateRequest(show?: boolean): void;
|
|
130
|
-
closeUpdateRequest(): void;
|
|
131
|
-
protected initRowClick(cardID: string, element: HTMLElement): void;
|
|
132
|
-
showErrorMessage(serverResponse: string): void;
|
|
133
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { BasicGridHtmlBuilder } from '@docsvision/webclient/Legacy/BasicGridHtmlBuilder';
|
|
2
|
-
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
-
import { GridOptions } from '@docsvision/webclient/Legacy/GridOptions';
|
|
4
|
-
export declare class DesktopGridHtmlBuilder extends BasicGridHtmlBuilder {
|
|
5
|
-
private tableHeader;
|
|
6
|
-
private tableBody;
|
|
7
|
-
private gridFooter;
|
|
8
|
-
private rowsSelectionModeEnabled;
|
|
9
|
-
buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
10
|
-
rebuildTable: () => void;
|
|
11
|
-
private debouncer;
|
|
12
|
-
updateTableSize: () => void;
|
|
13
|
-
applyGridFilter(): Promise<void>;
|
|
14
|
-
protected destroyGrid(): void;
|
|
15
|
-
rebuildIfNeeded(isBuild: boolean, model?: GenModels.GridViewModel): void;
|
|
16
|
-
get rowsSelectionMode(): boolean;
|
|
17
|
-
set rowsSelectionMode(val: boolean);
|
|
18
|
-
private updateHeadVisibility;
|
|
19
|
-
buildTableHeader(options: GridOptions, tableHeaderContainer: HTMLElement, modelGrid?: GenModels.GridViewModel): void;
|
|
20
|
-
protected shouldBuildHeader(columns: GenModels.GridColumn[], headerElements: NodeListOf<Element>): boolean;
|
|
21
|
-
protected buildRow(model: GenModels.GridViewModel, rowIndex: number): HTMLTableRowElement;
|
|
22
|
-
protected createGroupRow(model: GenModels.GridViewModel, groups: GenModels.GridRow[], body: HTMLElement, isOpen: boolean, groupId: string, rowIndex: number): HTMLTableRowElement;
|
|
23
|
-
protected initRowClick(cardID: string, element: HTMLElement): void;
|
|
24
|
-
protected applyGridFilters(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
25
|
-
getChanges(): Promise<GenModels.GridViewModel>;
|
|
26
|
-
protected buildInOrder(): void;
|
|
27
|
-
protected onRefreshButtonClick(): void;
|
|
28
|
-
protected buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
29
|
-
private refreshLayoutToMakeIEBugsRunAway;
|
|
30
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
2
|
-
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
3
|
-
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
4
|
-
/** @internal */
|
|
5
|
-
export declare class FolderViewHandler implements IRouteHandler<any> {
|
|
6
|
-
name: string;
|
|
7
|
-
mountRoute(data: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
8
|
-
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
|
9
|
-
}
|
package/Legacy/FolderViews.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IFolderViews } from "@docsvision/webclient/Legacy/$FolderViews";
|
|
2
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
-
/** @internal */
|
|
4
|
-
export declare class FolderViews implements IFolderViews {
|
|
5
|
-
private selectViewBtnId;
|
|
6
|
-
private viewsContainerId;
|
|
7
|
-
private selectViewListId;
|
|
8
|
-
private folderId;
|
|
9
|
-
private views;
|
|
10
|
-
private viewFolderId;
|
|
11
|
-
private currentViewId;
|
|
12
|
-
private traceProvider;
|
|
13
|
-
static viewsProvider: (folderId: string) => GenModels.FolderViewInfo[];
|
|
14
|
-
private get SelectViewBtn();
|
|
15
|
-
private get SelectViewList();
|
|
16
|
-
private get SelectViewContainer();
|
|
17
|
-
constructor(viewsContainerId: string, selectViewsBtnId: string, selectViewListId: string);
|
|
18
|
-
get HasViews(): boolean;
|
|
19
|
-
Build(folderId: string, viewSourceId: string, searchId: string, currentViewId?: string, currentViewName?: string): void;
|
|
20
|
-
Destroy(): void;
|
|
21
|
-
private Initialize;
|
|
22
|
-
private BuildViewsList;
|
|
23
|
-
private static GetViewsListForFolder;
|
|
24
|
-
private selectView;
|
|
25
|
-
private checkExternalClick;
|
|
26
|
-
}
|
package/Legacy/FormFactor.d.ts
DELETED
package/Legacy/Grid.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
-
import { GridOptions } from "@docsvision/webclient/Legacy/GridOptions";
|
|
3
|
-
import { IGridHtmlBuilder } from "@docsvision/webclient/Legacy/IGridHtmlBuilder";
|
|
4
|
-
import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
|
|
5
|
-
import { BasicEvent } from '@docsvision/webclient/System/BasicEvent';
|
|
6
|
-
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare class Grid {
|
|
9
|
-
private targetElement;
|
|
10
|
-
private rootElement;
|
|
11
|
-
private htmlBuilder;
|
|
12
|
-
private gridModel;
|
|
13
|
-
get model(): GenModels.GridViewModel;
|
|
14
|
-
update(m: GenModels.GridViewModel): void;
|
|
15
|
-
readonly modelChanged: BasicEvent<IEventArgs>;
|
|
16
|
-
readonly selectionChanged: BasicEvent<IEventArgs>;
|
|
17
|
-
readonly rowsSelectionModeChanged: BasicEvent<IEventArgs>;
|
|
18
|
-
getSelection(): any;
|
|
19
|
-
clearSelection(cardIds?: string[]): any;
|
|
20
|
-
options: GridOptions;
|
|
21
|
-
constructor(element: HTMLElement, model: GenModels.GridViewModel, options: GridOptions, htmlBuilder: IGridHtmlBuilder);
|
|
22
|
-
reload(): Promise<GenModels.GridViewModel>;
|
|
23
|
-
private onModelChange;
|
|
24
|
-
private onSelectionChange;
|
|
25
|
-
private onSelectionModeChange;
|
|
26
|
-
private initialize;
|
|
27
|
-
applyFilters(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Возвращает загруженные с сервера новые данные грида
|
|
30
|
-
*/
|
|
31
|
-
getChanges(): Promise<GenModels.GridViewModel>;
|
|
32
|
-
/**
|
|
33
|
-
* Визуальное уведомление о необходимости обновить грид
|
|
34
|
-
*/
|
|
35
|
-
showUpdateRequest(show?: boolean): void;
|
|
36
|
-
closeUpdateRequest(): void;
|
|
37
|
-
get refreshed(): SimpleEvent<void>;
|
|
38
|
-
isSearching(): any;
|
|
39
|
-
get rowsSelectionMode(): boolean;
|
|
40
|
-
set rowsSelectionMode(val: boolean);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Is two grid models equal
|
|
44
|
-
* @param model1 First grid model
|
|
45
|
-
* @param model2 Second grid model
|
|
46
|
-
* @param ignoreMeta Ignore meta data differences or not
|
|
47
|
-
* @param ignoreReadStatus Ignore read status or not
|
|
48
|
-
* @param paramsToCheck Row params to check on differences
|
|
49
|
-
*/
|
|
50
|
-
export declare function isEqual(model1: GenModels.GridViewModel, model2: GenModels.GridViewModel, ignoreMeta?: boolean, ignoreReadStatus?: boolean, paramsToCheck?: string[]): boolean;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Grid } from '@docsvision/webclient/Legacy/Grid';
|
|
2
|
-
import { ITableModeService } from '@docsvision/webclient/Platform/$TableMode';
|
|
3
|
-
import { IBasicEvent } from '@docsvision/webclient/System/IBasicEvent';
|
|
4
|
-
export declare class GridModeService implements ITableModeService {
|
|
5
|
-
private grid;
|
|
6
|
-
constructor(grid: Grid);
|
|
7
|
-
get rowsSelectionMode(): boolean;
|
|
8
|
-
set rowsSelectionMode(val: boolean);
|
|
9
|
-
rowsSelectionModeChanged: IBasicEvent<boolean>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Grid } from '@docsvision/webclient/Legacy/Grid';
|
|
2
|
-
import { ITableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
3
|
-
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
4
|
-
import { TableRowsSelectionModel } from '@docsvision/webclient/Platform/TableRowsSelectionModel';
|
|
5
|
-
export declare class GridRowSelectionService implements ITableRowSelection {
|
|
6
|
-
private grid;
|
|
7
|
-
constructor(grid: Grid);
|
|
8
|
-
get selection(): TableRowsSelectionModel;
|
|
9
|
-
/** Снимает выделение с указанных карточек. Если параметр не задан - то со всех карточек. */
|
|
10
|
-
clearSelection(cardIds?: string[]): void;
|
|
11
|
-
readonly selectionChanged: SimpleEvent<unknown>;
|
|
12
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
-
import { TableRowsSelectionModel } from '@docsvision/webclient/Platform/TableRowsSelectionModel';
|
|
3
|
-
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
4
|
-
import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
5
|
-
export declare class GridRowsSelectionLogic {
|
|
6
|
-
private tableHeaderContainer;
|
|
7
|
-
private tableBodyContainer;
|
|
8
|
-
private mobileRootElement;
|
|
9
|
-
private getModel;
|
|
10
|
-
private services;
|
|
11
|
-
private selectedRowColor;
|
|
12
|
-
private selection;
|
|
13
|
-
readonly selectionChanged: SimpleEvent<TableRowsSelectionModel>;
|
|
14
|
-
initialize(tableHeaderContainer: HTMLElement, tableBodyContainer: HTMLElement, getModel: () => GenModels.GridViewModel, services: $GridController): void;
|
|
15
|
-
initializeMobile(rootElement: HTMLElement, getModel: () => GenModels.GridViewModel, services: $GridController): void;
|
|
16
|
-
createRowSelectionToggleColumn(model: GenModels.GridViewModel, rowIndex: number): HTMLTableDataCellElement;
|
|
17
|
-
createHeaderSelectionToggleColumn(model: GenModels.GridViewModel): HTMLTableHeaderCellElement;
|
|
18
|
-
private applySelection;
|
|
19
|
-
private applyHeaderInputSelection;
|
|
20
|
-
private rowSelected;
|
|
21
|
-
private onHeaderSelectionCheckBoxChecked;
|
|
22
|
-
private onRowSelectionCheckBoxChecked;
|
|
23
|
-
onForceSelectRowCLick(e: MouseEvent): void;
|
|
24
|
-
onMobileRowSelection(rowItem: HTMLElement, model: GenModels.GridViewModel): void;
|
|
25
|
-
checkMobileRowSelected(rowId: string): boolean;
|
|
26
|
-
onMobileRowCancelSelection(): void;
|
|
27
|
-
private loadAllRows;
|
|
28
|
-
getSelection(model?: GenModels.GridViewModel): TableRowsSelectionModel;
|
|
29
|
-
clearSelection(cardIds?: string[]): void;
|
|
30
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { GridOptions } from "@docsvision/webclient/Legacy/GridOptions";
|
|
2
|
-
import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
|
|
3
|
-
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
-
/** @internal */
|
|
5
|
-
export interface IGridHtmlBuilder {
|
|
6
|
-
getModel: () => any;
|
|
7
|
-
refreshed: SimpleEvent<void>;
|
|
8
|
-
modelChanged: SimpleEvent<any>;
|
|
9
|
-
selectionChanged: SimpleEvent<any>;
|
|
10
|
-
rowsSelectionModeChanged: SimpleEvent<boolean>;
|
|
11
|
-
buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
12
|
-
rebuildIfNeeded(isBuild: boolean, model?: GenModels.GridViewModel): void;
|
|
13
|
-
buildTableBody(options: GridOptions, tableBodyContainer: HTMLElement): void;
|
|
14
|
-
buildTableHeader(options: GridOptions, tableHeaderContainer: HTMLElement, modelGrid?: GenModels.GridViewModel): void;
|
|
15
|
-
buildGridFooter(options: GridOptions, gridFooterContainer: HTMLElement): void;
|
|
16
|
-
applyGridFilter(): void;
|
|
17
|
-
buildHeader(options: GridOptions, targetElement: HTMLElement, rootElement: HTMLElement): any;
|
|
18
|
-
getChanges(): Promise<any>;
|
|
19
|
-
showUpdateRequest(show: boolean): any;
|
|
20
|
-
closeUpdateRequest(): any;
|
|
21
|
-
rowsSelectionMode: boolean;
|
|
22
|
-
getSelection(): any;
|
|
23
|
-
clearSelection(cardIds?: string[]): any;
|
|
24
|
-
reload(): Promise<GenModels.GridViewModel>;
|
|
25
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BasicGridHtmlBuilder } from '@docsvision/webclient/Legacy/BasicGridHtmlBuilder';
|
|
2
|
-
import { GridOptions } from '@docsvision/webclient/Legacy/GridOptions';
|
|
3
|
-
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
-
export declare class MobileGridHtmlBuilder extends BasicGridHtmlBuilder {
|
|
5
|
-
private mobileGridContainer;
|
|
6
|
-
private groupSelectionModeEnabled;
|
|
7
|
-
longTapFlag: boolean;
|
|
8
|
-
commonGridModel: GenModels.GridViewModel;
|
|
9
|
-
constructor(options: GridOptions, targetElement: HTMLElement);
|
|
10
|
-
buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
11
|
-
rebuildIfNeeded(isBuild: boolean, model?: GenModels.GridViewModel): void;
|
|
12
|
-
reload(): Promise<any>;
|
|
13
|
-
applyGridFilter(): Promise<void>;
|
|
14
|
-
buildMobileGrid(options: GridOptions, rootElement: HTMLElement): void;
|
|
15
|
-
getChanges(): Promise<GenModels.GridViewModel>;
|
|
16
|
-
get rowsSelectionMode(): boolean;
|
|
17
|
-
set rowsSelectionMode(val: boolean);
|
|
18
|
-
protected destroyMobileGrid(): void;
|
|
19
|
-
protected AddPage(model: GenModels.GridViewModel, isFirstPage: boolean): void;
|
|
20
|
-
protected applyGridFilters(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
|
|
21
|
-
protected buildInOrder(): void;
|
|
22
|
-
protected onRefreshButtonClick(): void;
|
|
23
|
-
protected buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
24
|
-
protected updateHtmlRowReadStatus(itemID: string, setRead: boolean): void;
|
|
25
|
-
protected countNotClosable(model: GenModels.GridViewModel, i: number): any;
|
|
26
|
-
private AddShowCardMobileEvent;
|
|
27
|
-
private buildMobilePaging;
|
|
28
|
-
private destroyMobilePaging;
|
|
29
|
-
private AddLoadMoreClick;
|
|
30
|
-
private loadMoreData;
|
|
31
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Grid } from "@docsvision/webclient/Legacy/Grid";
|
|
3
|
-
import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
|
|
4
|
-
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
5
|
-
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
6
|
-
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
7
|
-
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
8
|
-
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
9
|
-
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare class FolderCountersRouteHandler implements IRouteHandler<IFolderRouteData> {
|
|
12
|
-
protected services: $RealtimeCommunicationService & $WebFrameContext;
|
|
13
|
-
name: string;
|
|
14
|
-
protected timer: any;
|
|
15
|
-
protected grid: Grid;
|
|
16
|
-
protected isNotifying: boolean;
|
|
17
|
-
protected sessionSuspended: boolean;
|
|
18
|
-
/** @deprecated Use {@link SessionExpiredHandler.SuspednedMessageType} */
|
|
19
|
-
static get SuspendedMessageType(): string;
|
|
20
|
-
constructor(services: $RealtimeCommunicationService & $WebFrameContext);
|
|
21
|
-
mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
22
|
-
unmountRoute(data: IFolderRouteData, routeType: RouteType): Promise<{}>;
|
|
23
|
-
protected createTimer(gridModel: any, refreshTimeout: number): NodeJS.Timer;
|
|
24
|
-
protected clearTimer(): void;
|
|
25
|
-
protected onSessionAwokenOrCreated: () => void;
|
|
26
|
-
protected onSessionSuspendedOrDisposed: () => void;
|
|
27
|
-
protected onGridRefresh: () => void;
|
|
28
|
-
protected onCountersChanged: (message: IRealTimeCommunicationMessage<any>) => void;
|
|
29
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
-
import { Grid } from '@docsvision/webclient/Legacy/Grid';
|
|
3
|
-
import { ITableManagementService } from '@docsvision/webclient/Platform/$TableManagement';
|
|
4
|
-
export declare class GridManagementService implements ITableManagementService {
|
|
5
|
-
private grid;
|
|
6
|
-
constructor(grid: Grid);
|
|
7
|
-
reload(): Promise<GenModels.GridViewModel>;
|
|
8
|
-
}
|