@docsvision/webclient 6.1.6-beta.1 → 6.1.7

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 (115) hide show
  1. package/BackOffice/AuthenticationKindsView.d.ts +1 -1
  2. package/BackOffice/BackofficeConstants.d.ts +1 -0
  3. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  4. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  5. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  6. package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
  7. package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
  8. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  9. package/BackOffice/DirectorySearchResultView.d.ts +2 -2
  10. package/BackOffice/EmailButtonView.d.ts +2 -2
  11. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  12. package/BackOffice/PartnerBase.d.ts +2 -2
  13. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  14. package/BackOffice/Powers.d.ts +1 -1
  15. package/BackOffice/PowersImpl.d.ts +1 -1
  16. package/BackOffice/PrintButtonView.d.ts +1 -1
  17. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  18. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  19. package/BackOffice/TasksTableView.d.ts +3 -3
  20. package/Generated/DocsVision.WebClient.Controllers.d.ts +67 -6
  21. package/Generated/DocsVision.WebClient.Models.d.ts +57 -44
  22. package/Helpers/ComboBox/ComboBoxTitle.d.ts +2 -0
  23. package/Helpers/InputMask/InputMaskView.d.ts +1 -1
  24. package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
  25. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  26. package/Legacy/ILegacyRouter.d.ts +1 -0
  27. package/Legacy/StandardControllers.d.ts +2 -2
  28. package/Legacy/Utils.d.ts +2 -0
  29. package/Platform/ApprovalVisualizationView.d.ts +1 -1
  30. package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
  31. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  32. package/Platform/CardLink.d.ts +7 -7
  33. package/Platform/CertificateSettingsView.d.ts +1 -1
  34. package/Platform/CheckFileAllowed.d.ts +2 -0
  35. package/Platform/CheckFilesAllowed.d.ts +1 -0
  36. package/Platform/CompleteTaskConditionsTableModelStub.d.ts +53 -0
  37. package/Platform/FolderCardsDashboardStoriesData.d.ts +2 -0
  38. package/Platform/FolderViewItemsImpl.d.ts +3 -5
  39. package/Platform/ListCheckbox.d.ts +1 -1
  40. package/Platform/ListInput.d.ts +1 -1
  41. package/Platform/LoaderDialog.d.ts +1 -1
  42. package/Platform/ScanDialogServiceStoriesData.d.ts +2 -0
  43. package/Platform/SearchTextInput.d.ts +1 -1
  44. package/Platform/SecurityDescriptorDialog.d.ts +1 -1
  45. package/Platform/TextBoxInputField.d.ts +1 -1
  46. package/Platform/TextBoxInputMaskView.d.ts +1 -1
  47. package/Platform/TextListInputView.d.ts +3 -3
  48. package/Platform/UserProfileDialog.d.ts +1 -1
  49. package/System/DirectorySelectDialog.d.ts +2 -2
  50. package/System/DownloadsTab.d.ts +578 -0
  51. package/System/FileControllerStub.d.ts +14 -0
  52. package/System/FilePreviewStub.d.ts +4 -0
  53. package/System/GroupMenuChildrenModelStub.d.ts +64 -0
  54. package/System/LinkMainMenuModelStub.d.ts +22 -0
  55. package/System/PagesControllerStub.d.ts +10 -0
  56. package/System/ProfileTab.d.ts +1349 -0
  57. package/System/RealtimeCommunicationService.d.ts +17 -2
  58. package/System/Router.d.ts +2 -1
  59. package/System/SearchingResultsStub.d.ts +48 -0
  60. package/System/SettingsTab.d.ts +716 -0
  61. package/System/StatusTab.d.ts +1135 -0
  62. package/System/TableStub.d.ts +617 -0
  63. package/package.json +1 -1
  64. package/Account/Login.stories.d.ts +0 -12
  65. package/BackOffice/AuthenticationKinds.stories.d.ts +0 -10
  66. package/BackOffice/DirectoryTabs.stories.d.ts +0 -8
  67. package/BackOffice/DirectoryTree.stories.d.ts +0 -9
  68. package/BackOffice/DirectoryValues.stories.d.ts +0 -8
  69. package/BackOffice/EmailButton.stories.d.ts +0 -10
  70. package/BackOffice/FileListControl.stories.d.ts +0 -10
  71. package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
  72. package/BackOffice/Numerator.stories.d.ts +0 -8
  73. package/BackOffice/Powers.stories.d.ts +0 -20
  74. package/BackOffice/PowersDirectory.stories.d.ts +0 -20
  75. package/BackOffice/SignatureButton.stories.d.ts +0 -10
  76. package/BackOffice/SignatureDialog.stories.d.ts +0 -25
  77. package/BackOffice/SignatureMethodsSetup.stories.d.ts +0 -14
  78. package/BackOffice/StaffDirectory.stories.d.ts +0 -24
  79. package/BackOffice/TasksTable.stories.d.ts +0 -21
  80. package/BackOffice/WebFrameDirectorySearchPanel.stories.d.ts +0 -8
  81. package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +0 -10
  82. package/Helpers/Button.stories.d.ts +0 -8
  83. package/Helpers/DropdownButton/DropdownButton.stories.d.ts +0 -10
  84. package/Helpers/EmployeeName.stories.d.ts +0 -8
  85. package/Helpers/InputMask/InputMask.stories.d.ts +0 -11
  86. package/Helpers/SearchBar.stories.d.ts +0 -8
  87. package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +0 -8
  88. package/Platform/Aggregates.stories.d.ts +0 -8
  89. package/Platform/Diagram.stories.d.ts +0 -11
  90. package/Platform/Dropdown.stories.d.ts +0 -12
  91. package/Platform/FilePicker.stories.d.ts +0 -11
  92. package/Platform/FolderGrid.stories.d.ts +0 -17
  93. package/Platform/FolderTypeItems.stories.d.ts +0 -9
  94. package/Platform/FolderViewItems.stories.d.ts +0 -9
  95. package/Platform/OpenedDialogFixture.d.ts +0 -2
  96. package/Platform/QueryCondition.stories.d.ts +0 -5
  97. package/Platform/Quotes.stories.d.ts +0 -8
  98. package/Platform/ScanDialogService.stories.d.ts +0 -22
  99. package/Platform/SecurityDescriptorDialog.stories.d.ts +0 -10
  100. package/Platform/SettingsPopup.stories.d.ts +0 -1
  101. package/Platform/Tab.stories.d.ts +0 -9
  102. package/Platform/TextBox.stories.d.ts +0 -18
  103. package/Platform/Toolbar.stories.d.ts +0 -12
  104. package/Platform/WebFrameBodyContainer.stories.d.ts +0 -8
  105. package/Platform/WebFrameCompanyLogo.stories.d.ts +0 -10
  106. package/Platform/WebFrameCurrentPageName.stories.d.ts +0 -8
  107. package/Platform/WebFrameHeaderContainer.stories.d.ts +0 -17
  108. package/Platform/WebFrameHelpButton.stories.d.ts +0 -10
  109. package/Platform/WebFrameMainMenuButton.stories.d.ts +0 -8
  110. package/Platform/WebFrameMainMenuContainer.stories.d.ts +0 -10
  111. package/Platform/WebFrameNavigationBar.stories.d.ts +0 -19
  112. package/Platform/WebFrameSearchPanel.stories.d.ts +0 -14
  113. package/Platform/WebFrameUserPanel.stories.d.ts +0 -12
  114. package/System/LocationContainerControl.stories.d.ts +0 -18
  115. package/System/LocationContainerControlRealoadLayoutApi.stories.d.ts +0 -20
@@ -5,6 +5,7 @@ import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRea
5
5
  import { RealtimeServerSender } from "@docsvision/webclient/System/RealtimeServerSender";
6
6
  import { RealtimeSubscriber as RealtimeSubscriberClass } from "@docsvision/webclient/System/RealtimeSubscriber";
7
7
  import { NotyDef } from "@docsvision/webclient/System/PopupNotification";
8
+ import { $RealtimeCommunicationController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
8
9
  /** @internal */
9
10
  export interface IRealtimeMasterTabInfo {
10
11
  masterTabId?: string;
@@ -37,6 +38,8 @@ export declare class RealtimeCommunicationService implements IRealtimeCommunicat
37
38
  private static TabChannelType;
38
39
  private static RegisterTabChannel;
39
40
  private static RegisterTabMessage;
41
+ private static WhereYouAreMasterMessage;
42
+ private static MasterIsThereMessage;
40
43
  private static TabRegisteredMessage;
41
44
  private static TabUnregisteredMessage;
42
45
  /** Тип сообщения об установлении соединения с сервером. */
@@ -67,8 +70,12 @@ export declare class RealtimeCommunicationService implements IRealtimeCommunicat
67
70
  private reconnectTimeout;
68
71
  private clearStorageTimeout;
69
72
  private pendingMessagesToServer;
73
+ private masterAnsweredToCall;
74
+ private callingForMaster;
75
+ private masterUnreachable;
70
76
  /** @internal */
71
- constructor(services: $CurrentEmployeeId & $LocalStorage);
77
+ constructor(services: $CurrentEmployeeId & $LocalStorage & $RealtimeCommunicationController);
78
+ onDisconnectedMessage(DisconnectedMessage: string, onDisconnectedMessage: any): void;
72
79
  /** Идентификатор текущей пользовательской сессии. */
73
80
  get sessionId(): string;
74
81
  /** Отправить сообщение на сервер. */
@@ -98,9 +105,14 @@ export declare class RealtimeCommunicationService implements IRealtimeCommunicat
98
105
  /** Идентификатор вкладки, осуществляющей взаимодействие с сервером. */
99
106
  get masterTabId(): string | undefined;
100
107
  /** @internal */
101
- protected onMonitorMasterTabTimerTick: () => void;
108
+ protected onMonitorMasterTabTimerTick: () => Promise<void>;
102
109
  /** @internal */
103
110
  protected onInitializeSlaveTab(info: IRealtimeMasterTabInfo): void;
111
+ /** Ask master if it is alive */
112
+ protected callForMaster(): Promise<boolean>;
113
+ protected checkMasterAnsweredToCall(): boolean;
114
+ protected onMasterAnsweredToCall: (message: IRealTimeCommunicationMessage<string>) => void;
115
+ protected onCallForMasterReceived: (message: IRealTimeCommunicationMessage<string>) => void;
104
116
  /** @internal */
105
117
  protected onRegisteredAsSlave: (message: IRealTimeCommunicationMessage<string>) => void;
106
118
  /** @internal */
@@ -121,6 +133,9 @@ export declare class RealtimeCommunicationService implements IRealtimeCommunicat
121
133
  /** @internal */
122
134
  protected onCurrentTabClose: () => void;
123
135
  /** @internal */
136
+ protected onCurrentTabFreeze: () => void;
137
+ private releaseMaster;
138
+ /** @internal */
124
139
  protected onTabClose: (message: IRealTimeCommunicationMessage<ITabClosedData>) => void;
125
140
  /** @internal */
126
141
  protected closeChannelFromTab(tabId: string): void;
@@ -121,7 +121,8 @@ export declare class Router implements IRouter, ILegacyRouter, IRouterNavigation
121
121
  /** Вызывает removeEventListener для главного элемента содержимого Web-клиента. */
122
122
  RemoveMainContentEventListener(eventType: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
123
123
  private LoadData;
124
- private SetContent;
124
+ /** @internal */
125
+ SetContent(contentElement: HTMLElement, html: string): void;
125
126
  private OnMainContentChanging;
126
127
  private ClearAndGetMainContent;
127
128
  private renderMainContentLoader;
@@ -0,0 +1,48 @@
1
+ export declare const cards: {
2
+ instanceId: string;
3
+ cardTypeId: string;
4
+ description: string;
5
+ wasRead: boolean;
6
+ creationDateTime: string;
7
+ changeDateTime: string;
8
+ }[];
9
+ export declare const presentation: {
10
+ id: string;
11
+ description: string;
12
+ typeId: string;
13
+ kindId: any;
14
+ presentationType: string;
15
+ additionalInfo: any;
16
+ }[];
17
+ export declare const longNameCard: {
18
+ instanceId: string;
19
+ cardTypeId: string;
20
+ description: string;
21
+ wasRead: boolean;
22
+ creationDateTime: string;
23
+ changeDateTime: string;
24
+ }[];
25
+ export declare const longNamePresentation: {
26
+ id: string;
27
+ description: string;
28
+ typeId: string;
29
+ kindId: any;
30
+ presentationType: string;
31
+ additionalInfo: any;
32
+ }[];
33
+ export declare const emptyNameCard: {
34
+ instanceId: string;
35
+ cardTypeId: string;
36
+ description: string;
37
+ wasRead: boolean;
38
+ creationDateTime: string;
39
+ changeDateTime: string;
40
+ }[];
41
+ export declare const emptyNamePresentation: {
42
+ id: string;
43
+ description: string;
44
+ typeId: string;
45
+ kindId: any;
46
+ presentationType: string;
47
+ additionalInfo: any;
48
+ }[];