@docsvision/webclient 6.1.3-beta.1 → 6.1.4-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
  }
@@ -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[];
@@ -808,6 +808,24 @@ 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);
811
829
  export declare namespace GenControllers {
812
830
  /**
813
831
  * Layout controller
@@ -138,6 +138,10 @@ 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>;
141
145
  /**
142
146
  * Email
143
147
  */
@@ -2730,31 +2734,6 @@ export declare namespace GenModels {
2730
2734
  * @format datatype.uuid
2731
2735
  */
2732
2736
  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;
2758
2737
  }
2759
2738
  }
2760
2739
  export declare namespace GenModels {
@@ -7970,10 +7949,6 @@ export declare namespace GenModels {
7970
7949
  * Disable warning if file is read only
7971
7950
  */
7972
7951
  disableReadOnlyWarning: boolean;
7973
- /**
7974
- * Port on localhost that util is listening.
7975
- */
7976
- dvSupServiceConnectionPort: number;
7977
7952
  }
7978
7953
  }
7979
7954
  export declare namespace GenModels {
@@ -10095,19 +10070,6 @@ export declare namespace GenModels {
10095
10070
  OperationError = 5
10096
10071
  }
10097
10072
  }
10098
- export declare namespace GenModels {
10099
- enum PowerOfAttorneyRevocationType {
10100
- Representative = 0,
10101
- Principal = 1
10102
- }
10103
- }
10104
- export declare namespace GenModels {
10105
- enum PowerOfAttorneyRevocationApplicantType {
10106
- Organization = 0,
10107
- SoleProprietor = 1,
10108
- Individual = 2
10109
- }
10110
- }
10111
10073
  export declare namespace GenModels {
10112
10074
  /**
10113
10075
  * Possible objects, that security descriptor can be applied to.
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.4-beta.1",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},