@docsvision/webclient 6.1.10 → 6.1.12-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.
Files changed (60) hide show
  1. package/Application.d.ts +1 -0
  2. package/BackOffice/CheckStaffSectionAcccessRights.d.ts +1 -0
  3. package/BackOffice/CreateCardDialog.d.ts +15 -0
  4. package/BackOffice/CreateCardDialogLogic.d.ts +20 -0
  5. package/BackOffice/CreateCardSelectKindDialog.d.ts +10 -0
  6. package/BackOffice/DirectoryTabs.d.ts +1 -0
  7. package/BackOffice/StaffDirectoryLogic.d.ts +1 -0
  8. package/Generated/DocsVision.WebClient.Controllers.d.ts +13 -8
  9. package/Generated/DocsVision.WebClient.Models.d.ts +104 -5
  10. package/Helpers/LoadingIcon/LoadingIcon.d.ts +2 -2
  11. package/Legacy/$UserMenu.d.ts +1 -0
  12. package/Legacy/NewCardDialog.d.ts +3 -3
  13. package/Legacy/UserMenu.d.ts +8 -3
  14. package/Platform/ApplicationInfoDialog.d.ts +11 -0
  15. package/Platform/ApplicationInfoDialogData.d.ts +11 -0
  16. package/Platform/CardManagement.d.ts +1 -1
  17. package/Platform/CardManagementImpl.d.ts +3 -0
  18. package/Platform/FilePreview.d.ts +2 -0
  19. package/Platform/FilePreviewImpl.d.ts +1 -0
  20. package/Platform/WebFrameUserPanel.d.ts +2 -0
  21. package/StandardServices.d.ts +2 -1
  22. package/System/$BrowserTabId.d.ts +5 -0
  23. package/System/AddCardModalStub.d.ts +3 -0
  24. package/System/ApplicationInfoModelStub.d.ts +2 -0
  25. package/System/ExtensionManagerStub.d.ts +7 -0
  26. package/System/GetBrowserTabId.d.ts +1 -0
  27. package/System/LayoutManager.d.ts +2 -1
  28. package/System/NavigatorControllerStub.d.ts +21 -0
  29. package/System/RequestManager.d.ts +3 -1
  30. package/package.json +4 -1
  31. package/BackOffice/AddressStoriesData.d.ts +0 -22
  32. package/BackOffice/CardKindStoriesData.d.ts +0 -45
  33. package/BackOffice/CommentsStoriesData.d.ts +0 -8
  34. package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +0 -23
  35. package/BackOffice/DelegateBatchOperationStoriesData.d.ts +0 -16
  36. package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +0 -13
  37. package/BackOffice/DepartmentStoriesData.d.ts +0 -89
  38. package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +0 -15
  39. package/BackOffice/DisplayInitiatorStoriesData.d.ts +0 -35
  40. package/BackOffice/DisplayPerformersStoriesData.d.ts +0 -72
  41. package/BackOffice/EmployeeStoriesData.d.ts +0 -19
  42. package/BackOffice/FileListControlStoriesData.d.ts +0 -162
  43. package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +0 -14
  44. package/BackOffice/HistoryStoriesData.d.ts +0 -46
  45. package/BackOffice/HistoryStoriesHelpers.d.ts +0 -4
  46. package/BackOffice/LinksStoriesData.d.ts +0 -61
  47. package/BackOffice/MultipleEmployeesStoriesData.d.ts +0 -38
  48. package/BackOffice/NumeratorStoriesData.d.ts +0 -25
  49. package/BackOffice/PartnerDepartmentStoriesData.d.ts +0 -175
  50. package/BackOffice/PartnerStoriesData.d.ts +0 -141
  51. package/BackOffice/StateButtonsStoriesData.d.ts +0 -23
  52. package/BackOffice/TasksStoriesData.d.ts +0 -37
  53. package/Helpers/AddCardModalDialog/AddCardModalDialog.d.ts +0 -18
  54. package/Helpers/AddCardModalDialog/AddCardModalDialogContent.d.ts +0 -15
  55. package/Helpers/AddCardModalDialog/AddCardModalDialogKindsTree.d.ts +0 -14
  56. package/Platform/DeleteBatchOperationStoriesData.d.ts +0 -14
  57. package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +0 -17
  58. package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +0 -13
  59. package/Platform/ReadBatchBatchOperationStoriesData.d.ts +0 -14
  60. package/System/LocationContainerControlStoriesData.d.ts +0 -16
package/Application.d.ts CHANGED
@@ -87,6 +87,7 @@ export declare class Application extends ServiceContainer implements IApp {
87
87
  /** @deprecated */
88
88
  get CompanyLogo(): HTMLElement;
89
89
  set InstalledCSP(value: boolean);
90
+ private onWindowUnload;
90
91
  private isApple;
91
92
  private detectBrowsers;
92
93
  private registerNotificationListener;
@@ -1,3 +1,4 @@
1
1
  import { $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
2
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ export declare const checkStaffSectionAccessRights: (rowId: string, sectionId: string, cardDataRights: GenModels.CardDataRights, services: $SecurityController) => Promise<boolean>;
3
4
  export declare const checkStaffSectionAcccessRights: (rowId: string, sectionId: string, cardDataRights: GenModels.CardDataRights, services: $SecurityController) => Promise<boolean>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { IComponentProps } from "@docsvision/web/core/component";
4
+ import { CreateCardDialogLogic } from "@docsvision/webclient/BackOffice/CreateCardDialogLogic";
5
+ import { $NavigatorController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
6
+ import { $Folders } from "@docsvision/webclient/Legacy/$Folders";
7
+ import { $Router, $RouterNavigation } from "@docsvision/webclient/System/$Router";
8
+
9
+ export interface ICreateCardDialogProps extends IComponentProps<CreateCardDialogLogic, null> {
10
+ visible?: boolean;
11
+ onClose?: () => void;
12
+ services: $NavigatorController & $Folders & $Router & $RouterNavigation;
13
+ data?: GenModels.AddCardModalModel;
14
+ }
15
+ export declare function CreateCardDialog(props: ICreateCardDialogProps): JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { ICreateCardDialogProps } from "@docsvision/webclient/BackOffice/CreateCardDialog";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { ComponentLogic } from "@docsvision/web/core/component";
4
+ export declare class CreateCardDialogLogic extends ComponentLogic<ICreateCardDialogProps> {
5
+ domain:
6
+ import("effector").Domain;
7
+ $templates:
8
+ import("effector").Store<GenModels.CreateCardTemplatesModalModel>;
9
+ $kinds:
10
+ import("effector").Store<GenModels.CardKindInfoModel[]>;
11
+ getTemplates:
12
+ import("effector").Event<void>;
13
+ getKinds:
14
+ import("effector").Event<GenModels.AddCardModalModelLink>;
15
+ getTemplatesFx:
16
+ import("effector").Effect<void, GenModels.CreateCardTemplatesModalModel, Error>;
17
+ getKindsFx:
18
+ import("effector").Effect<GenModels.AddCardModalModelLink, GenModels.CardKindInfoModel[], Error>;
19
+ init(): void;
20
+ }
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { CardKindTreeNodeModel } from "@docsvision/webclient/BackOffice/CardKindTreeNodeModel";
3
+
4
+ export interface ICreateCardSelectKindDialogProps {
5
+ visible?: boolean;
6
+ onClose?: () => void;
7
+ onKindSelected?: (kind: CardKindTreeNodeModel) => void;
8
+ data?: CardKindTreeNodeModel[];
9
+ }
10
+ export declare function CreateCardSelectKindDialog(props: ICreateCardSelectKindDialogProps): JSX.Element;
@@ -15,6 +15,7 @@ export interface DirectoryTabsProps extends HtmlProps.div, IComponentProps<Direc
15
15
  tabId: string;
16
16
  }>;
17
17
  onTabActivated?: (tab: DirectoryTabInfo) => void;
18
+ activeTab?: number;
18
19
  }
19
20
  /** @internal */
20
21
  export declare class DirectoryTabsView {
@@ -13,6 +13,7 @@ import { IButtonDescription } from "@docsvision/webclient/BackOffice/StaffDirect
13
13
  import { LoadingStatus } from "@docsvision/webclient/System/LoadingState";
14
14
  import { SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
15
15
  export declare const sectionTabs: string[];
16
+ export declare const ACTIVE_LEFT_TAB_ID_LOCAL_STORAGE_KEY = "StaffDirectoryActiveTab";
16
17
  export declare type StaffDirectorySearchResponseT = {
17
18
  items: GenModels.SearchItemModel[];
18
19
  hasMore: boolean;
@@ -3090,7 +3090,7 @@ export declare namespace GenControllers {
3090
3090
  /**
3091
3091
  * HTTP: /Navigator/About
3092
3092
  */
3093
- about(options?: RequestOptions): Promise<any>;
3093
+ about(options?: RequestOptions): Promise<GenModels.ApplicationInfoModel>;
3094
3094
  /**
3095
3095
  * HTTP: /Navigator/SwitchView
3096
3096
  */
@@ -3098,15 +3098,15 @@ export declare namespace GenControllers {
3098
3098
  /**
3099
3099
  * HTTP: /Navigator/GetCardCreateLinks
3100
3100
  */
3101
- getCardCreateLinks(folderId: string, options?: RequestOptions): Promise<any>;
3101
+ getCardCreateLinks(folderId: string, options?: RequestOptions): Promise<GenModels.AddCardModalModel>;
3102
3102
  /**
3103
3103
  * HTTP: /Navigator/GetCardCreateTemplates
3104
3104
  */
3105
- getCardCreateTemplates(folderId: string, options?: RequestOptions): Promise<any>;
3105
+ getCardCreateTemplates(folderId: string, options?: RequestOptions): Promise<GenModels.CreateCardTemplatesModalModel>;
3106
3106
  /**
3107
3107
  * HTTP: /Navigator/GetCardKinds
3108
3108
  */
3109
- getCardKinds(requestModel: GenModels.GetCardKindsRequestModel, options?: RequestOptions): Promise<any>;
3109
+ getCardKinds(requestModel: GenModels.GetCardKindsRequestModel, options?: RequestOptions): Promise<Array<GenModels.CardKindInfoModel>>;
3110
3110
  /**
3111
3111
  * HTTP: /Navigator/SendFoldersAndUnreadCounters
3112
3112
  */
@@ -3115,6 +3115,10 @@ export declare namespace GenControllers {
3115
3115
  * HTTP: /Navigator/ResetClientCache
3116
3116
  */
3117
3117
  resetClientCache(options?: RequestOptions): Promise<any>;
3118
+ /**
3119
+ * HTTP: /Navigator/TabClosed
3120
+ */
3121
+ tabClosed(browserTabId: string, options?: RequestOptions): Promise<void>;
3118
3122
  /**
3119
3123
  * HTTP: /Navigator/ShowSelectExistingCard
3120
3124
  */
@@ -3143,13 +3147,14 @@ export declare namespace GenControllers {
3143
3147
  class NavigatorController extends ControllerBase implements INavigatorController {
3144
3148
  index(options?: RequestOptions): Promise<any>;
3145
3149
  awake(options?: RequestOptions): Promise<any>;
3146
- about(options?: RequestOptions): Promise<any>;
3150
+ about(options?: RequestOptions): Promise<GenModels.ApplicationInfoModel>;
3147
3151
  switchView(options?: RequestOptions): Promise<string>;
3148
- getCardCreateLinks(folderId: string, options?: RequestOptions): Promise<any>;
3149
- getCardCreateTemplates(folderId: string, options?: RequestOptions): Promise<any>;
3150
- getCardKinds(requestModel: GenModels.GetCardKindsRequestModel, options?: RequestOptions): Promise<any>;
3152
+ getCardCreateLinks(folderId: string, options?: RequestOptions): Promise<GenModels.AddCardModalModel>;
3153
+ getCardCreateTemplates(folderId: string, options?: RequestOptions): Promise<GenModels.CreateCardTemplatesModalModel>;
3154
+ getCardKinds(requestModel: GenModels.GetCardKindsRequestModel, options?: RequestOptions): Promise<Array<GenModels.CardKindInfoModel>>;
3151
3155
  sendFoldersAndUnreadCounters(unreadCountersRequest: GenModels.UnreadCountersRequest, options?: RequestOptions): Promise<any>;
3152
3156
  resetClientCache(options?: RequestOptions): Promise<any>;
3157
+ tabClosed(browserTabId: string, options?: RequestOptions): Promise<void>;
3153
3158
  showSelectExistingCard(requestModel: GenModels.ShowSelectExistingCardRequestModel, options?: RequestOptions): Promise<any>;
3154
3159
  showSelectNewDocumentKind(isReport?: boolean, options?: RequestOptions): Promise<any>;
3155
3160
  attachLink(model: GenModels.LinkAddModel, options?: RequestOptions): Promise<any>;
@@ -6982,6 +6982,30 @@ export declare namespace GenModels {
6982
6982
  comment: string;
6983
6983
  }
6984
6984
  }
6985
+ export declare namespace GenModels {
6986
+ interface ApplicationInfoModel {
6987
+ /**
6988
+ * Get application name
6989
+ */
6990
+ applicationName: string;
6991
+ /**
6992
+ * Get application build version
6993
+ */
6994
+ buildVersion: string;
6995
+ /**
6996
+ * Get application tenant name
6997
+ */
6998
+ tenantName: string;
6999
+ /**
7000
+ * Get registered extension
7001
+ */
7002
+ registeredExtension: Array<string>;
7003
+ /**
7004
+ * Get installed solutions
7005
+ */
7006
+ installedSolutions: Array<string>;
7007
+ }
7008
+ }
6985
7009
  export declare namespace GenModels {
6986
7010
  interface GetCardKindsRequestModel {
6987
7011
  cardTypeId: string;
@@ -7827,6 +7851,50 @@ export declare namespace GenModels {
7827
7851
  saveInFolder: string;
7828
7852
  }
7829
7853
  }
7854
+ export declare namespace GenModels {
7855
+ interface CreateCardTemplatesModalModel {
7856
+ /**
7857
+ * List of card templates
7858
+ */
7859
+ templates: Array<GenModels.CardTemplate>;
7860
+ /**
7861
+ * Available card types (distinct)
7862
+ */
7863
+ cardTypes: Array<GenModels.CardTypeWeb>;
7864
+ }
7865
+ }
7866
+ export declare namespace GenModels {
7867
+ interface CardTemplate {
7868
+ /**
7869
+ * Get template id
7870
+ *
7871
+ * @format datatype.uuid
7872
+ */
7873
+ id: string;
7874
+ /**
7875
+ * Get template name
7876
+ */
7877
+ name: string;
7878
+ /**
7879
+ * Get template card type id
7880
+ *
7881
+ * @format datatype.uuid
7882
+ */
7883
+ cardTypeId: string;
7884
+ /**
7885
+ * Get template card kind id
7886
+ *
7887
+ * @format datatype.uuid
7888
+ */
7889
+ kindId: string;
7890
+ /**
7891
+ * Get template card state id
7892
+ *
7893
+ * @format datatype.uuid
7894
+ */
7895
+ stateId: string;
7896
+ }
7897
+ }
7830
7898
  export declare namespace GenModels {
7831
7899
  interface UploadToDssResponse {
7832
7900
  /**
@@ -7990,13 +8058,13 @@ export declare namespace GenModels {
7990
8058
  */
7991
8059
  gridFilterSupported: boolean;
7992
8060
  /**
7993
- * Returns true if SmartSearch is allowed in the Docsvision system
8061
+ * Represents base alias hash
7994
8062
  */
7995
- smartSearchEnabled: boolean;
8063
+ baseAliasHash: string;
7996
8064
  /**
7997
- * Gets or sets base alias
8065
+ * Returns true if SmartSearch is allowed in the Docsvision system
7998
8066
  */
7999
- baseAlias: string;
8067
+ smartSearchEnabled: boolean;
8000
8068
  /**
8001
8069
  * Gets or sets max upload file item size
8002
8070
  */
@@ -8365,6 +8433,14 @@ export declare namespace GenModels {
8365
8433
  messageCardId: string;
8366
8434
  }
8367
8435
  }
8436
+ export declare namespace GenModels {
8437
+ interface AdminPanelSettingsModel {
8438
+ baseAlias: string;
8439
+ managementConsoleAddress: string;
8440
+ connectAddress: string;
8441
+ messages: Array<GenModels.AdminPanelMessageModel>;
8442
+ }
8443
+ }
8368
8444
  export declare namespace GenModels {
8369
8445
  interface AgreementHistoryDataModel {
8370
8446
  historyExists: boolean;
@@ -8385,6 +8461,13 @@ export declare namespace GenModels {
8385
8461
  mainFileReadAllowed: boolean;
8386
8462
  }
8387
8463
  }
8464
+ export declare namespace GenModels {
8465
+ interface ConnectSettingsModel {
8466
+ baseAlias: string;
8467
+ managementConsoleAddress: string;
8468
+ connectAddress: string;
8469
+ }
8470
+ }
8388
8471
  export declare namespace GenModels {
8389
8472
  interface ControlsInfoModel {
8390
8473
  controlDisplayName: string;
@@ -8464,6 +8547,11 @@ export declare namespace GenModels {
8464
8547
  valueCode: number;
8465
8548
  }
8466
8549
  }
8550
+ export declare namespace GenModels {
8551
+ interface FilePreviewSettingsModel {
8552
+ serverR7ConnectionAddress: string;
8553
+ }
8554
+ }
8467
8555
  export declare namespace GenModels {
8468
8556
  interface LayoutTableBindingModel {
8469
8557
  sectionId: string;
@@ -8513,6 +8601,12 @@ export declare namespace GenModels {
8513
8601
  decisionName: string;
8514
8602
  }
8515
8603
  }
8604
+ export declare namespace GenModels {
8605
+ interface ServerR7SettingsModel {
8606
+ serverR7ConnectionAddress: string;
8607
+ serverR7SecretToken: string;
8608
+ }
8609
+ }
8516
8610
  export declare namespace GenModels {
8517
8611
  interface TransformationDataModel {
8518
8612
  id: string;
@@ -8531,6 +8625,11 @@ export declare namespace GenModels {
8531
8625
  loadNewVersion: boolean;
8532
8626
  }
8533
8627
  }
8628
+ export declare namespace GenModels {
8629
+ interface WebFrameUserPanelSettingsModel {
8630
+ baseAlias: string;
8631
+ }
8632
+ }
8534
8633
  export declare namespace GenModels {
8535
8634
  interface CardTreeNodeModel extends GenModels.TreeNodeModel {
8536
8635
  /**
@@ -12337,7 +12436,7 @@ export declare namespace GenModels {
12337
12436
  }
12338
12437
  export declare namespace GenModels {
12339
12438
  /**
12340
- * Serverity of the {@link GenModels}
12439
+ * Severity of the {@link GenModels}
12341
12440
  */
12342
12441
  enum SystemStateNotificationSource {
12343
12442
  /**
@@ -15,14 +15,14 @@ export interface ILoadingIconProps {
15
15
  */
16
16
  errorClassName?: string;
17
17
  /** Loading icon color */
18
- color?: LoadincIconColor;
18
+ color?: LoadingIconColor;
19
19
  dataTestId?: string;
20
20
  }
21
21
  /** @internal */
22
22
  export interface ILoadingIconState {
23
23
  }
24
24
  /** @internal */
25
- export declare enum LoadincIconColor {
25
+ export declare enum LoadingIconColor {
26
26
  Blue = 0,
27
27
  White = 1,
28
28
  Black = 2
@@ -5,6 +5,7 @@ export interface IUserMenu {
5
5
  CloseMenu(): void;
6
6
  ShowUserProfileDialog: () => Promise<any>;
7
7
  ShowAboutDialog(title: string): void;
8
+ ShowApplicationInfoDialog(): void;
8
9
  ShowExitDialog(): void;
9
10
  UserModal: ModalWindow;
10
11
  IsClosed: boolean;
@@ -1,8 +1,8 @@
1
+ import { PerformOnce } from "@docsvision/webclient/Legacy/Utils";
1
2
  /** @internal */
2
3
  export declare class NewCardDialog {
3
- private static performOnce;
4
+ static performOnce: PerformOnce;
4
5
  static openModalFlag: boolean;
6
+ static ShowCreateCardDialog: () => Promise<void>;
5
7
  static AddNewItemEventClick(buttonElement: HTMLElement): void;
6
- private static GetItemKindsEventClick;
7
- private static GetRoute;
8
8
  }
@@ -1,4 +1,4 @@
1
- import { $LayoutController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
1
+ import { $LayoutController, $NavigatorController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
2
  import { ModalWindow } from "@docsvision/webclient/Legacy/ModalWindow";
3
3
  import { $Sidebar } from "@docsvision/webclient/Legacy/$Sidebar";
4
4
  import { $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
@@ -7,19 +7,24 @@ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
7
7
  import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
8
8
  import { BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
9
9
  import { $LogoutService } from "@docsvision/webclient/System/$LogoutService";
10
+ import { $ExtensionManager } from "@docsvision/webclient/System/IExtensionManager";
10
11
  /** @internal */
11
12
  export declare class UserMenu implements IUserMenu {
12
13
  private services;
13
14
  private traceProvider;
14
15
  private isClosed;
15
16
  toggle?: BasicApiEvent<boolean>;
16
- constructor(services: $RealtimeCommunicationService & $LayoutController & $LayoutManager & $Sidebar & $DeviceType & $WebViewIOSEnabled & $LogoutService);
17
+ /** Модальное о программе */
18
+ private aboutDialog;
19
+ constructor(services: $RealtimeCommunicationService & $LayoutController & $NavigatorController & $LayoutManager & $Sidebar & $DeviceType & $WebViewIOSEnabled & $LogoutService & $ExtensionManager);
17
20
  get IsClosed(): boolean;
18
21
  Show: () => void;
19
22
  UserModal: ModalWindow;
20
23
  CloseMenu: () => void;
21
24
  private onRouteChanges;
22
- ShowAboutDialog: (title: string) => void;
25
+ ShowAboutDialog: (title: string) => never;
26
+ ShowApplicationInfoDialog: () => Promise<void>;
27
+ hideDialog: () => void;
23
28
  ShowExitDialog: () => Promise<void>;
24
29
  ShowUserProfileDialog: () => Promise<any>;
25
30
  }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { $ExtensionManager } from "@docsvision/webclient/System/IExtensionManager";
3
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+
5
+ export interface IApplicationInfoDialogProps {
6
+ visible?: boolean;
7
+ onClose?: () => void;
8
+ data?: GenModels.ApplicationInfoModel;
9
+ services: $ExtensionManager;
10
+ }
11
+ export declare function ApplicationInfoDialog(props: IApplicationInfoDialogProps): JSX.Element;
@@ -0,0 +1,11 @@
1
+ export interface ILicense {
2
+ name: string;
3
+ url: string;
4
+ }
5
+ export interface IThirdPartySoft {
6
+ name: string;
7
+ url: string;
8
+ license: ILicense[];
9
+ version: string;
10
+ }
11
+ export declare const THIRD_PARTY_SOFTWARE: Array<IThirdPartySoft>;
@@ -49,7 +49,7 @@ export declare class CardManagement extends BaseControl<CardManagementParams, IC
49
49
  */
50
50
  edit(): void;
51
51
  private set bindingEditOperation(value);
52
- private set adminPanelMessageCardsIds(value);
52
+ private set adminPanelSettings(value);
53
53
  /** @internal */
54
54
  createImpl(): CardManagementImpl;
55
55
  }
@@ -4,6 +4,9 @@ import { BaseControlState } from "@docsvision/webclient/System/BaseControl";
4
4
  import { BaseControlImpl } from "@docsvision/webclient/System/BaseControlImpl";
5
5
  /** @internal */
6
6
  export interface ICardManagementState extends CardManagementParams, BaseControlState {
7
+ baseAlias: string;
8
+ managementConsoleAddress: string;
9
+ connectAddress: string;
7
10
  refresh: Function;
8
11
  deleteAndRedirect: Function;
9
12
  goToEdit: Function;
@@ -111,6 +111,8 @@ export declare class FilePreview extends BaseControl<FilePreviewParams, IFilePre
111
111
  get fileOpen(): boolean;
112
112
  /** Показано ли окно с комментариями */
113
113
  get isCommentsOpened(): boolean;
114
+ /** Данные для подключения к R7 */
115
+ private set filePreviewBinding(value);
114
116
  /** Скачать файл */
115
117
  download(): void;
116
118
  /**
@@ -24,6 +24,7 @@ export interface IFilePreviewState extends FilePreviewParams, BaseControlState {
24
24
  isCommentsOpened: boolean;
25
25
  wasClosed: boolean;
26
26
  useR7Viewer: boolean;
27
+ serverR7ConnectionAddress: string;
27
28
  viewer: IFileViewerConstructor | FileViewer;
28
29
  }
29
30
  export interface FilePreviewState extends IFilePreviewState {
@@ -32,6 +32,7 @@ export declare class WebFrameUserPanelParams extends BaseControlParams {
32
32
  export interface IWebFrameUserPanelState extends WebFrameUserPanelParams, BaseControlState {
33
33
  employeeStatus: GenModels.StaffEmployeeStatus;
34
34
  displayName: string;
35
+ baseAlias: string;
35
36
  }
36
37
  /**
37
38
  * Класс элемента управления WebFrameUserPanel.
@@ -55,6 +56,7 @@ export declare class WebFrameUserPanel extends BaseControl<WebFrameUserPanelPara
55
56
  set setUserDataDisplay(value: boolean);
56
57
  /** @covered */
57
58
  set setUserPanelDisplayMode(value: number);
59
+ private set WebFrameUserPanelBinding(value);
58
60
  getUserAvatar(): Promise<void>;
59
61
  getEmployeeStatus(): GenModels.StaffEmployeeStatus;
60
62
  renderUserData(userDataDisplay?: boolean, userPanelDisplayMode?: GenModels.UserPanelDisplayMode): JSX.Element;
@@ -61,6 +61,7 @@ import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSign
61
61
  import { $FolderColors } from "@docsvision/webclient/System/$FolderColors";
62
62
  import { $LogoutService } from "@docsvision/webclient/System/$LogoutService";
63
63
  import { $SessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
64
+ import { $BrowserTabId } from "@docsvision/webclient/System/$BrowserTabId";
64
65
  /** Сервис доступа к идентификатору текущего пользователя. */
65
66
  export declare type $CurrentEmployeeId = {
66
67
  currentEmployeeId: string;
@@ -150,4 +151,4 @@ export declare type $ApplicationSettings = {
150
151
  };
151
152
  export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
152
153
  /** Стандартные сервисы Web-клиента. */
153
- export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $RefreshUnreadCounters & $CloudSignature & $CryptoPro & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $ApprovalPathVisualizationController & $HoverPanel & $HoverPanel & $DigitalSignature & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight & $FolderColors & $LogoutService & $SessionRelatedContent;
154
+ export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $RefreshUnreadCounters & $CloudSignature & $CryptoPro & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $ApprovalPathVisualizationController & $HoverPanel & $HoverPanel & $DigitalSignature & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight & $FolderColors & $LogoutService & $SessionRelatedContent & $BrowserTabId;
@@ -0,0 +1,5 @@
1
+ export declare const BROWSER_TAB_ID_HEADER = "Dv-Browser-Tab-Id";
2
+ export declare type $BrowserTabId = {
3
+ browserTabId: string;
4
+ };
5
+ export declare const $BrowserTabId: string | ((model?: $BrowserTabId) => string);
@@ -0,0 +1,3 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export declare const AddCardModalTest: GenModels.AddCardModalModel;
3
+ export declare const NoTemplatesModelTest: GenModels.CreateCardTemplatesModalModel;
@@ -0,0 +1,2 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export declare const ApplicationInfoModelTest: GenModels.ApplicationInfoModel;
@@ -0,0 +1,7 @@
1
+ import { IExtension } from "@docsvision/webclient/System/IExtension";
2
+ import { IExtensionManager } from "@docsvision/webclient/System/IExtensionManager";
3
+ export declare class ExtensionManagerStub implements IExtensionManager {
4
+ registerExtension(extension: IExtension): void;
5
+ loadExtensions(): void;
6
+ extensions: IExtension[];
7
+ }
@@ -0,0 +1 @@
1
+ export declare function getBrowserTabId(): string;
@@ -15,12 +15,13 @@ import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
15
15
  import { ShowLayoutParams } from "@docsvision/webclient/System/ShowLayoutParams";
16
16
  import { ILayoutManager } from "@docsvision/webclient/System/$LayoutManager";
17
17
  import { $Router } from '@docsvision/webclient/System/$Router';
18
+ import { $BrowserTabId } from "@docsvision/webclient/System/$BrowserTabId";
18
19
  /** @internal */
19
20
  export declare type $MainContentElementId = {
20
21
  mainContentElementId: string;
21
22
  };
22
23
  export declare const $MainContentElementId: string | ((model?: $MainContentElementId) => string);
23
- export declare type $LayoutManagerServices = $SiteUrl & $ApplicationTimestamp & $LayoutCardController & $Locale & $CardId & $RowId & $CardTimestamp & $Router & $ExtendedDataSourceInfos;
24
+ export declare type $LayoutManagerServices = $SiteUrl & $ApplicationTimestamp & $LayoutCardController & $Locale & $CardId & $RowId & $CardTimestamp & $Router & $ExtendedDataSourceInfos & $BrowserTabId;
24
25
  /** Основной класс для отображения разметок и получения к ним доступа. */
25
26
  export declare class LayoutManager implements ILayoutManager {
26
27
  protected services: $LayoutManagerServices;
@@ -0,0 +1,21 @@
1
+ import { GenControllers } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { RequestOptions } from "@docsvision/webclient/Legacy/Utils";
4
+ export declare class NavigatorControllerStub implements GenControllers.INavigatorController {
5
+ tabClosed(browserTabId: string, options?: RequestOptions): Promise<void>;
6
+ index(options?: RequestOptions): Promise<any>;
7
+ awake(options?: RequestOptions): Promise<any>;
8
+ about(options?: RequestOptions): Promise<any>;
9
+ switchView(options?: RequestOptions): Promise<string>;
10
+ getCardCreateLinks(folderId: string, options?: RequestOptions): Promise<GenModels.AddCardModalModel>;
11
+ getCardCreateTemplates(folderId: string, options?: RequestOptions): Promise<GenModels.CreateCardTemplatesModalModel>;
12
+ getCardKinds(requestModel: GenModels.GetCardKindsRequestModel, options?: RequestOptions): Promise<Array<GenModels.CardKindInfoModel>>;
13
+ sendFoldersAndUnreadCounters(unreadCountersRequest: GenModels.UnreadCountersRequest, options?: RequestOptions): Promise<any>;
14
+ resetClientCache(options?: RequestOptions): Promise<any>;
15
+ showSelectExistingCard(requestModel: GenModels.ShowSelectExistingCardRequestModel, options?: RequestOptions): Promise<any>;
16
+ showSelectNewDocumentKind(isReport?: boolean, options?: RequestOptions): Promise<any>;
17
+ attachLink(model: GenModels.LinkAddModel, options?: RequestOptions): Promise<any>;
18
+ healthCheck(checkPoolSession?: boolean, options?: RequestOptions): Promise<string>;
19
+ getNavigatorFolders(navigatorFolders: GenModels.GetNavigatorFoldersRequestModel, options?: RequestOptions): Promise<string>;
20
+ attachUserFolders(folderIds: GenModels.AttachUserFoldersRequestModel, options?: RequestOptions): Promise<string>;
21
+ }
@@ -3,6 +3,7 @@ import { $CardId, $CardTimestamp, $ExtendedDataSourceInfos, $RowId } from '@docs
3
3
  import { IRequestManager } from "@docsvision/webclient/System/$RequestManager";
4
4
  import { ICommonResponse } from "@docsvision/webclient/System/ICommonResponse";
5
5
  import { RequestMethods } from "@docsvision/webclient/System/IRequestInfo";
6
+ import { $BrowserTabId } from "@docsvision/webclient/System/$BrowserTabId";
6
7
  /**
7
8
  * Класс для выполнения запросов к серверу.
8
9
  * Осуществляет стандартный механизм обработки ошибок, показа прогресса выполнения запроса и обновления timestamp карточки.
@@ -10,7 +11,7 @@ import { RequestMethods } from "@docsvision/webclient/System/IRequestInfo";
10
11
  export declare class RequestManager implements IRequestManager {
11
12
  private services;
12
13
  private lastQuery;
13
- constructor(services: $CardId & $CardTimestamp & $RowId & $ExtendedDataSourceInfos);
14
+ constructor(services: $CardId & $CardTimestamp & $RowId & $ExtendedDataSourceInfos & $BrowserTabId);
14
15
  /**
15
16
  * Выполняет GET запрос по указанному URL.
16
17
  *
@@ -64,6 +65,7 @@ export declare class RequestManager implements IRequestManager {
64
65
  * Основной метод, выполняющий отправку запросов.
65
66
  */
66
67
  protected makeRequest<TResponse>(url: string, data: any, method: RequestMethods, routeChangeProtection?: boolean, options?: RequestOptions): Promise<TResponse>;
68
+ private getRequestOptions;
67
69
  private generateErrorText;
68
70
  private unauthorizedConfirmDialog;
69
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.10",
3
+ "version": "6.1.12-beta.1",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -17,6 +17,9 @@
17
17
  "tslib": "^1.9.3",
18
18
  "typescript": "^3.2"
19
19
  },
20
+ "overrides": {
21
+ "@react-native/virtualized-lists": ">=0.85.3"
22
+ },
20
23
  "keywords": [
21
24
  "typescript",
22
25
  "typings",
@@ -1,22 +0,0 @@
1
- import { $DeviceType } from "@docsvision/webclient/StandardServices";
2
- import { $Layout } from "@docsvision/webclient/System/$Layout";
3
- import { $EditOperationStore, $LayoutInfo, $CardId } from "@docsvision/webclient/System/LayoutServices";
4
- export declare function getAddressMockServices():
5
- import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
6
- export declare function getAddressMockProps(): {
7
- placeHolder: string;
8
- value: {
9
- addressType: number;
10
- zipCode: string;
11
- city: string;
12
- address: string;
13
- country: string;
14
- };
15
- };
16
- export declare function getAddressMockValue(): {
17
- addressType: number;
18
- zipCode: string;
19
- city: string;
20
- address: string;
21
- country: string;
22
- };