@docsvision/webclient 6.1.9-beta.1 → 6.1.10

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.
@@ -13,6 +13,8 @@ export declare class ExportESignButtonParams extends BaseControlParams {
13
13
  signatureFormat?: GenModels.SignatureFormat;
14
14
  /** Экспорт с доверенностью */
15
15
  exportWithPowerOfAttorney?: boolean;
16
+ /** Экспорт с визуализацией ЭП */
17
+ exportWithESignVisualization?: boolean;
16
18
  }
17
19
  /**
18
20
  * Класс элемента управления Экспорт файлов с подписью.
@@ -22,5 +22,6 @@ export declare enum FileExtensions {
22
22
  PDF = ".pdf",
23
23
  TXT = ".txt",
24
24
  ADOC = ".adoc",
25
- CPP = ".cpp"
25
+ CPP = ".cpp",
26
+ WEBP = ".webp"
26
27
  }
@@ -23,6 +23,8 @@ export declare class FolderCardsDashboardWidgetParams extends PanelParams {
23
23
  sortColumnName?: string;
24
24
  /** Направление сортировки - если true, то по убыванию, иначе по возрастанию. */
25
25
  sortDescending?: string;
26
+ /** Показывать Ленту вместо Грида*/
27
+ showListByDefault?: boolean;
26
28
  /** Колличество карточек которые будут отображены. По умолчанию 5. */
27
29
  cardsCount?: number;
28
30
  /** Стандартный CSS класс со стилями элемента управления */
@@ -3,6 +3,17 @@ import { PluginOrder } from "@docsvision/webclient/System/PluginOrder";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
4
  import { ITableData } from "@docsvision/web/components/table/interfaces";
5
5
  import { ICommonFolderInfo } from "@docsvision/webclient/Platform/ICommonFolderInfo";
6
+ interface IGroupingSelectionItem {
7
+ columnId: string;
8
+ level: number;
9
+ name: string;
10
+ value: string;
11
+ count: number;
12
+ parent?: IGroupingSelectionItem;
13
+ serverValue?: string;
14
+ actuality?: "pending" | "confirmed" | "stale";
15
+ resolved?: boolean;
16
+ }
6
17
  export declare class GroupingResponseResolver implements IFolderDataLoadingPlugin {
7
18
  id: string;
8
19
  description: string;
@@ -15,3 +26,5 @@ export declare function getGroupingPathFromResponse(response: GenModels.GridView
15
26
  columnId: string;
16
27
  sortDescending: boolean;
17
28
  }[];
29
+ export declare function getGroupingSelectionFromResponse(response: GenModels.GridViewModel, data: ITableData): IGroupingSelectionItem;
30
+ export {};
@@ -18,6 +18,8 @@ export declare class RecentCardsDashboardWidgetParams extends PanelParams {
18
18
  /** Стандартный CSS класс со стилями элемента управления */
19
19
  standardCssClass?: string;
20
20
  opacity?: number;
21
+ /** Показывать Ленту вместо Грида*/
22
+ showListByDefault?: boolean;
21
23
  services?: $PagesController & $GridController & $LayoutManager & $Layout & $LocationContainerControlServices & $ExperimentalFeature & $Router & $LayoutInfo;
22
24
  }
23
25
  /** @internal */
@@ -10,9 +10,9 @@ export declare class RecentCardsDashboardWidgetDataLoader extends DefaultFolderD
10
10
  id: string;
11
11
  constructor(services: $PagesController & $GridController & $LayoutInfo, widgetParams?: any);
12
12
  load(request: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.GridViewModel>;
13
- loadLayoutModel(requestData: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.CardListViewModel>;
13
+ loadLayoutModel(requestData?: GenModels.CardListRequestModel, isMobile?: boolean): Promise<GenModels.CardListViewModel>;
14
14
  findControl(parent: GenModels.ControlModel, controlName: string): GenModels.ControlModel;
15
- prepareRequest(originalRequest: GenModels.CardListRequestModel): GenModels.CardListRequestModel;
15
+ prepareRequest(originalRequest?: GenModels.CardListRequestModel): GenModels.CardListRequestModel;
16
16
  protected getRequestOptions(isMobile: boolean): RequestOptions;
17
17
  prepareResponse(model: GenModels.GridViewModelEx): GenModels.GridViewModelEx;
18
18
  }
@@ -7,6 +7,7 @@ import { IBasicEvent } from "@docsvision/webclient/System/IBasicEvent";
7
7
  import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
8
8
  import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
9
9
  import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
10
+ import { HubConnection } from "@microsoft/signalr";
10
11
  /** @internal */
11
12
  export declare class UnreadCounter implements IUnreadCounter {
12
13
  private services;
@@ -54,7 +55,7 @@ export declare class UnreadCounter implements IUnreadCounter {
54
55
  protected onApplicationActivityRestored(): void;
55
56
  refreshServerState(): void;
56
57
  protected sendFoldersToService(preventAwakeOrCreateSession?: boolean): void;
57
- protected sendFoldersToServer: (message: IRealTimeCommunicationMessage<any>, connection: signalR.HubConnection) => Promise<void>;
58
+ protected sendFoldersToServer: (message: IRealTimeCommunicationMessage<any>, connection: HubConnection) => Promise<void>;
58
59
  protected processResponse: (response: IRealTimeCommunicationMessage<UnreadCountersResponse>) => void;
59
60
  protected getCurrentEmployee(): string;
60
61
  }
@@ -1,2 +1,3 @@
1
+ import { HubConnection } from "@microsoft/signalr";
1
2
  import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
2
- export declare type RealtimeServerSender<T> = (messageItem: IRealTimeCommunicationMessage<T>, connection?: signalR.HubConnection) => Promise<any> | Promise<any>;
3
+ export declare type RealtimeServerSender<T> = (messageItem: IRealTimeCommunicationMessage<T>, connection?: HubConnection) => Promise<any> | Promise<any>;
@@ -0,0 +1,62 @@
1
+ export declare const mockExecutionTasks: {
2
+ executionTasks: {
3
+ childTasks: {
4
+ taskId: string;
5
+ kindId: string;
6
+ taskName: string;
7
+ performer: {
8
+ id: string;
9
+ };
10
+ endDate: string;
11
+ documentId: string;
12
+ stateType: number;
13
+ authorId: string;
14
+ controllerId: string;
15
+ stateName: string;
16
+ description: string;
17
+ endDateActual: string;
18
+ timestamp: number;
19
+ currentPerformer: {
20
+ id: string;
21
+ };
22
+ order: number;
23
+ availableOperations: any[];
24
+ }[];
25
+ executionTypeName: string;
26
+ executionType: number;
27
+ description: string;
28
+ };
29
+ attributes: {
30
+ taskGroupId: string;
31
+ name: string;
32
+ description: string;
33
+ author: {
34
+ id: string;
35
+ };
36
+ controller: {
37
+ id: string;
38
+ };
39
+ responsible: {
40
+ id: string;
41
+ };
42
+ startDate: string;
43
+ endDate: string;
44
+ creationDate: string;
45
+ kindName: string;
46
+ kindId: string;
47
+ controlDate: string;
48
+ onControl: boolean;
49
+ stateName: string;
50
+ timestamp: number;
51
+ stateType: number;
52
+ requiresAcceptance: boolean;
53
+ acceptanceCheckResult: {
54
+ responsibleTaskHasBranch: boolean;
55
+ taskHasBranch: boolean;
56
+ };
57
+ availableOperations: any[];
58
+ duration: number;
59
+ controlHour: number;
60
+ };
61
+ viewBag: string;
62
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.9-beta.1",
3
+ "version": "6.1.10",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -1,5 +0,0 @@
1
- import { BaseRazorControl, BaseRazorControlParams, BaseRazorControlState } from "@docsvision/webclient/Legacy/BaseRazorControl";
2
- /** @internal */
3
- export declare class TaskGroupWorkStatusRazorControl extends BaseRazorControl<BaseRazorControlParams, BaseRazorControlState> {
4
- protected createParams(): BaseRazorControlParams;
5
- }