@docsvision/webclient 6.1.3-beta.1 → 6.1.5-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.
@@ -47,5 +47,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
47
47
  private onMaximize;
48
48
  get isDictionaryShown(): boolean;
49
49
  protected renderDialog: () => JSX.Element;
50
+ protected onMouseDownIcon(): void;
51
+ protected onButtonBlur(event: React.FocusEvent): void;
50
52
  protected renderInputWithPlaceholder(): React.ReactNode;
51
53
  }
@@ -57,6 +57,7 @@ import { IRowClickArgs } from "@docsvision/webclient/BackOffice/IRowClickArgs";
57
57
  import { IFileVersionExpandingArgs } from "@docsvision/webclient/BackOffice/IFileVersionExpandingArgs";
58
58
  import { IFileClickingArgs } from "@docsvision/webclient/BackOffice/IFileClickingArgs";
59
59
  import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
60
+ import { $FileDownload } from "@docsvision/webclient/Platform/$FileDownload";
60
61
  /**
61
62
  * Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
62
63
  */
@@ -191,7 +192,7 @@ export declare class FileListControlParams extends BaseControlParams {
191
192
  /** Сервисы. */
192
193
  services?: FileListServices;
193
194
  }
194
- export declare type FileListServices = $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $CloudSignature & $CryptoPro & $LocalStorage & $SignatureMethodsController & $DigitalSignature & $LayoutManager & $LayoutInfo & $FileListOptions & $SiteUrl & $WebServices & $CardTimestamp & $R7OfficeController;
195
+ export declare type FileListServices = $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $CloudSignature & $CryptoPro & $LocalStorage & $FileDownload & $SignatureMethodsController & $DigitalSignature & $LayoutManager & $LayoutInfo & $FileListOptions & $SiteUrl & $WebServices & $CardTimestamp & $R7OfficeController;
195
196
  /**
196
197
  * Класс элемента управления Список файлов.
197
198
  *
@@ -16,7 +16,7 @@ export declare class FileListControlLogic {
16
16
  filesToRemove: FileListItem[];
17
17
  openedInEditorFiles: string[];
18
18
  static readonly illegalFileNameCharacters: RegExp;
19
- static readonly terminalServiceUrl: string;
19
+ static readonly terminalServiceUrl = "http://localhost:5050/";
20
20
  constructor(forceUpdate?: () => void);
21
21
  init(_mainAttach: FileListAttachedElements, _extraAttach: FileListAttachedElements, _parent: FileListControlImpl): void;
22
22
  loadFilesFromModel(model: GenModels.FileListDataModel, oldFiles?: FileListItem[]): FileListItem[];
@@ -7970,10 +7970,6 @@ export declare namespace GenModels {
7970
7970
  * Disable warning if file is read only
7971
7971
  */
7972
7972
  disableReadOnlyWarning: boolean;
7973
- /**
7974
- * Port on localhost that util is listening.
7975
- */
7976
- dvSupServiceConnectionPort: number;
7977
7973
  }
7978
7974
  }
7979
7975
  export declare namespace GenModels {
package/Legacy/Utils.d.ts CHANGED
@@ -15,6 +15,7 @@ export declare class Helpers {
15
15
  static UpdateCaption(headerText?: string, color?: string): void;
16
16
  static GetKindNameFromFullString(str: string): string;
17
17
  static GetFileExtension(fileName: string): string;
18
+ static GetFileNameWithoutExtension(fileName: string): string;
18
19
  static SetNumericControl(control: HTMLElement, callback?: Function): void;
19
20
  static InsertAfter(newElement: any, targetElement: any): void;
20
21
  static CapitalizeFirstLatter(str: string): string;
@@ -77,7 +77,8 @@ export declare class LocationContainerControl extends BaseControl<LocationContai
77
77
  /** @internal */
78
78
  init(): void;
79
79
  /** @internal */
80
- protected initInternal(): Promise<any>;
80
+ protected initInternal(isReload?: boolean): Promise<unknown>;
81
+ reloadLayout(): Promise<void>;
81
82
  /** @internal */
82
83
  protected loadLayout(): Promise<GenModels.LayoutViewModel>;
83
84
  /** @internal */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.3-beta.1",
3
+ "version": "6.1.5-beta.1",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},