@docsvision/webclient 6.1.9-beta.1 → 6.1.9

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.
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ /** @internal */
3
+ export interface IContentTextProps {
4
+ text: string;
5
+ }
6
+ /** @internal */
7
+ export interface IContentTextState {
8
+ isHTMLContent: () => boolean;
9
+ maxHeight?: string;
10
+ }
11
+ /** @internal */
12
+ export declare class ContentText extends React.Component<IContentTextProps, IContentTextState> {
13
+ private rootRef;
14
+ constructor(props: IContentTextProps);
15
+ componentWillUnmount(): void;
16
+ private setRef;
17
+ private getHeight;
18
+ private isHTMLContent;
19
+ render(): JSX.Element;
20
+ }
@@ -2400,6 +2400,12 @@ export declare namespace GenControllers {
2400
2400
  * @param signatureFormat Signature export format
2401
2401
  */
2402
2402
  exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2403
+ /**
2404
+ * Exports zip-archive with electronic signature files and visualization ESign
2405
+ *
2406
+ * @param exportSignatureRequest
2407
+ */
2408
+ exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
2403
2409
  /**
2404
2410
  * Downloads signature byte array
2405
2411
  */
@@ -2421,6 +2427,7 @@ export declare namespace GenControllers {
2421
2427
  checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
2422
2428
  exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2423
2429
  exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2430
+ exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
2424
2431
  downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
2425
2432
  getSignatureInfo(documentId: string, signaturePartId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureInfoModel>;
2426
2433
  getAcknowledgemenList(request: GenModels.GetAcknowledgemenListRequest, options?: RequestOptions): Promise<string>;
@@ -6662,6 +6662,28 @@ export declare namespace GenModels {
6662
6662
  attributes: Array<GenModels.UniqueAttributeValue>;
6663
6663
  }
6664
6664
  }
6665
+ export declare namespace GenModels {
6666
+ interface ExportSignatureRequest {
6667
+ /**
6668
+ * Document card id
6669
+ *
6670
+ * @format datatype.uuid
6671
+ */
6672
+ cardId: string;
6673
+ /**
6674
+ * Signature export format
6675
+ */
6676
+ signatureFormat: GenModels.SignatureFormat;
6677
+ /**
6678
+ * Include export of the powers of attorney specified at time of signing, with their signatures
6679
+ */
6680
+ withPowersOfAttorney: boolean;
6681
+ /**
6682
+ * Include export with visualization ESign
6683
+ */
6684
+ withStamp: boolean;
6685
+ }
6686
+ }
6665
6687
  export declare namespace GenModels {
6666
6688
  interface SignatureRequest {
6667
6689
  /**
@@ -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>;
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.9",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},