@docsvision/webclient 6.1.4-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.
@@ -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
  *
@@ -808,24 +808,6 @@ export declare type $GridController = {
808
808
  gridController: GenControllers.IGridController;
809
809
  };
810
810
  export declare const $GridController: string | ((model?: $GridController) => GenControllers.IGridController);
811
- export declare namespace GenControllers {
812
- /**
813
- * Controller for receiving access token
814
- */
815
- interface IJwtTokenController {
816
- /**
817
- * Get access token for Bearer authorization
818
- */
819
- getAccessToken(options?: RequestOptions): Promise<string>;
820
- }
821
- class JwtTokenController extends ControllerBase implements IJwtTokenController {
822
- getAccessToken(options?: RequestOptions): Promise<string>;
823
- }
824
- }
825
- export declare type $JwtTokenController = {
826
- jwtTokenController: GenControllers.IJwtTokenController;
827
- };
828
- export declare const $JwtTokenController: string | ((model?: $JwtTokenController) => GenControllers.IJwtTokenController);
829
811
  export declare namespace GenControllers {
830
812
  /**
831
813
  * Layout controller
@@ -138,10 +138,6 @@ export declare namespace GenModels {
138
138
  * @format datatype.uuid
139
139
  */
140
140
  unitId: string;
141
- /**
142
- * All units of employee, including parent units.
143
- */
144
- units: Array<string>;
145
141
  /**
146
142
  * Email
147
143
  */
@@ -2734,6 +2730,31 @@ export declare namespace GenModels {
2734
2730
  * @format datatype.uuid
2735
2731
  */
2736
2732
  powerOfAttorneyId: string;
2733
+ /**
2734
+ * Данные отзыва доверенности
2735
+ */
2736
+ revocationData: GenModels.PowerOfAttorneyRevocationData;
2737
+ }
2738
+ }
2739
+ export declare namespace GenModels {
2740
+ interface PowerOfAttorneyRevocationData {
2741
+ revocationType: GenModels.PowerOfAttorneyRevocationType;
2742
+ revocationReason: string;
2743
+ applicantInfo: GenModels.PowerOfAttorneyRevocationApplicantInfo;
2744
+ }
2745
+ }
2746
+ export declare namespace GenModels {
2747
+ interface PowerOfAttorneyRevocationApplicantInfo {
2748
+ applicantType: GenModels.PowerOfAttorneyRevocationApplicantType;
2749
+ name: string;
2750
+ inn: string;
2751
+ kpp: string;
2752
+ ogrn: string;
2753
+ snils: string;
2754
+ lastName: string;
2755
+ firstName: string;
2756
+ middleName: string;
2757
+ phone: string;
2737
2758
  }
2738
2759
  }
2739
2760
  export declare namespace GenModels {
@@ -10070,6 +10091,19 @@ export declare namespace GenModels {
10070
10091
  OperationError = 5
10071
10092
  }
10072
10093
  }
10094
+ export declare namespace GenModels {
10095
+ enum PowerOfAttorneyRevocationType {
10096
+ Representative = 0,
10097
+ Principal = 1
10098
+ }
10099
+ }
10100
+ export declare namespace GenModels {
10101
+ enum PowerOfAttorneyRevocationApplicantType {
10102
+ Organization = 0,
10103
+ SoleProprietor = 1,
10104
+ Individual = 2
10105
+ }
10106
+ }
10073
10107
  export declare namespace GenModels {
10074
10108
  /**
10075
10109
  * Possible objects, that security descriptor can be applied to.
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.4-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": {},