@docsvision/webclient 6.1.5-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 (172) hide show
  1. package/Approval/AgreementHistory.d.ts +7 -1
  2. package/Approval/AgreementHistoryImpl.d.ts +3 -3
  3. package/Approval/AgreementManagementImpl.d.ts +1 -0
  4. package/Approval/ApprovalDialogContent.d.ts +31 -0
  5. package/BackOffice/$DigitalSignature.d.ts +2 -0
  6. package/BackOffice/AuthenticationKindsView.d.ts +1 -1
  7. package/BackOffice/BackofficeConstants.d.ts +1 -0
  8. package/BackOffice/CardKindImpl.d.ts +1 -1
  9. package/BackOffice/CardKindTree.d.ts +1 -1
  10. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  11. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  12. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  13. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -1
  14. package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
  15. package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
  16. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  17. package/BackOffice/DirectorySearchResultView.d.ts +2 -2
  18. package/BackOffice/EmailButtonView.d.ts +2 -2
  19. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  20. package/BackOffice/FileListConstants.d.ts +1 -0
  21. package/BackOffice/FileListControl.d.ts +15 -1
  22. package/BackOffice/FileListControlImpl.d.ts +16 -1
  23. package/BackOffice/FileListItemComponent.d.ts +1 -0
  24. package/BackOffice/PartnerBase.d.ts +2 -2
  25. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  26. package/BackOffice/Powers.d.ts +3 -1
  27. package/BackOffice/PowersImpl.d.ts +3 -1
  28. package/BackOffice/PrintButtonView.d.ts +1 -1
  29. package/BackOffice/StaffDirectoryDataVisualiser.d.ts +1 -0
  30. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  31. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  32. package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
  33. package/BackOffice/TasksTableView.d.ts +3 -3
  34. package/Generated/DocsVision.WebClient.Controllers.d.ts +190 -11
  35. package/Generated/DocsVision.WebClient.Models.d.ts +147 -15
  36. package/Helpers/Breadcrumbs/Breadcrumbs.d.ts +1 -0
  37. package/Helpers/Breadcrumbs/BreadcrumbsView.d.ts +1 -0
  38. package/Helpers/Breadcrumbs/LinkView/LinkItemViewWithSeparator.d.ts +3 -1
  39. package/Helpers/ComboBox/ComboBoxTitle.d.ts +2 -0
  40. package/Helpers/FileViewZip/FileViewZip.d.ts +47 -0
  41. package/Helpers/FileViewZip/FileViewZipModal.d.ts +24 -0
  42. package/Helpers/InputMask/InputMaskView.d.ts +1 -1
  43. package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
  44. package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
  45. package/Helpers/Menu/DesktopMenuBar.d.ts +1 -0
  46. package/Legacy/ApprovalFilePanel.d.ts +2 -0
  47. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  48. package/Legacy/ILegacyRouter.d.ts +1 -0
  49. package/Legacy/StandardControllers.d.ts +2 -2
  50. package/Legacy/TaskCardFilePanelRazorControl.d.ts +2 -0
  51. package/Legacy/TaskCardView.d.ts +0 -1
  52. package/Legacy/Utils.d.ts +11 -0
  53. package/Libs/CryptoPro/Crypto.d.ts +6 -3
  54. package/MainBundle.d.ts +2 -0
  55. package/Platform/ApprovalVisualizationView.d.ts +1 -1
  56. package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
  57. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  58. package/Platform/CardLink.d.ts +8 -7
  59. package/Platform/CardLinkImpl.d.ts +4 -2
  60. package/Platform/CertificateSettingsView.d.ts +1 -1
  61. package/Platform/CheckFileAllowed.d.ts +2 -0
  62. package/Platform/CheckFilesAllowed.d.ts +1 -0
  63. package/Platform/CompleteTaskConditionsTableModelStub.d.ts +53 -0
  64. package/Platform/ContextMenuCustomPlugins.d.ts +1 -0
  65. package/Platform/DateTimePicker.d.ts +1 -0
  66. package/Platform/DateTimePickerImpl.d.ts +1 -1
  67. package/Platform/FileExtensions.d.ts +4 -1
  68. package/Platform/FilePicker.d.ts +11 -5
  69. package/Platform/FilePickerImpl.d.ts +14 -3
  70. package/Platform/FilePickerMenuItemsView.d.ts +1 -0
  71. package/Platform/FilePickerOperations.d.ts +13 -4
  72. package/Platform/FilePickerOperationsAvailability.d.ts +1 -0
  73. package/Platform/FilePreview.d.ts +3 -3
  74. package/Platform/FolderCardsDashboardStoriesData.d.ts +2 -0
  75. package/Platform/FolderPageRouteHelpers.d.ts +4 -3
  76. package/Platform/FolderRouteParameters.d.ts +1 -0
  77. package/Platform/FolderViewItemsImpl.d.ts +3 -5
  78. package/Platform/FolderWebFrameRouteHandler.d.ts +1 -1
  79. package/Platform/IFilePickerMenuOpeningArgs.d.ts +4 -0
  80. package/Platform/IFolderDataLoadingPlugin.d.ts +2 -1
  81. package/Platform/IFolderPageRouteData.d.ts +1 -0
  82. package/Platform/ITextBoxMaskProps.d.ts +56 -0
  83. package/Platform/ListCheckbox.d.ts +1 -1
  84. package/Platform/ListInput.d.ts +1 -1
  85. package/Platform/LoaderDialog.d.ts +1 -1
  86. package/Platform/ScanDialogService.d.ts +1 -0
  87. package/Platform/ScanDialogServiceStoriesData.d.ts +2 -0
  88. package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -2
  89. package/Platform/SearchParametersFolderResponseResolver.d.ts +1 -2
  90. package/Platform/SearchTextInput.d.ts +3 -3
  91. package/Platform/SecurityDescriptorDialog.d.ts +1 -1
  92. package/Platform/TestUtils.d.ts +1 -2
  93. package/Platform/TextBox.d.ts +3 -0
  94. package/Platform/TextBoxImpl.d.ts +11 -0
  95. package/Platform/TextBoxInputField.d.ts +3 -0
  96. package/Platform/TextBoxInputMask.d.ts +7 -0
  97. package/Platform/TextBoxInputMaskView.d.ts +10 -0
  98. package/Platform/TextListInputLogic.d.ts +1 -0
  99. package/Platform/TextListInputView.d.ts +3 -3
  100. package/Platform/UserProfileDialog.d.ts +1 -1
  101. package/StandardServices.d.ts +1 -2
  102. package/System/DirectorySelectDialog.d.ts +2 -2
  103. package/System/DownloadsTab.d.ts +578 -0
  104. package/System/FileControllerStub.d.ts +14 -0
  105. package/System/FilePreviewStub.d.ts +4 -0
  106. package/System/FileScanServiceStub.d.ts +8 -0
  107. package/System/GroupMenuChildrenModelStub.d.ts +64 -0
  108. package/System/IWebServicesConnection.d.ts +2 -0
  109. package/System/IWebServicesService.d.ts +0 -2
  110. package/System/LayoutCardControllerStub.d.ts +1 -0
  111. package/System/LinkMainMenuModelStub.d.ts +22 -0
  112. package/System/LocationContainerControlStoriesData.d.ts +15 -0
  113. package/System/PagesControllerStub.d.ts +10 -0
  114. package/System/ProfileTab.d.ts +1349 -0
  115. package/System/RealtimeCommunicationService.d.ts +17 -2
  116. package/System/ResourcesStub.d.ts +5 -0
  117. package/System/Router.d.ts +2 -1
  118. package/System/SearchingResultsStub.d.ts +48 -0
  119. package/System/SettingsTab.d.ts +716 -0
  120. package/System/StatusTab.d.ts +1135 -0
  121. package/System/TableStub.d.ts +617 -0
  122. package/System/WebServicesConnection.d.ts +2 -0
  123. package/System/WebServicesService.d.ts +10 -10
  124. package/package.json +1 -1
  125. package/Account/Login.stories.d.ts +0 -12
  126. package/BackOffice/AuthenticationKinds.stories.d.ts +0 -10
  127. package/BackOffice/DirectoryTabs.stories.d.ts +0 -8
  128. package/BackOffice/DirectoryTree.stories.d.ts +0 -9
  129. package/BackOffice/DirectoryValues.stories.d.ts +0 -8
  130. package/BackOffice/EmailButton.stories.d.ts +0 -10
  131. package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
  132. package/BackOffice/Numerator.stories.d.ts +0 -8
  133. package/BackOffice/Powers.stories.d.ts +0 -20
  134. package/BackOffice/PowersDirectory.stories.d.ts +0 -20
  135. package/BackOffice/SignatureButton.stories.d.ts +0 -10
  136. package/BackOffice/SignatureDialog.stories.d.ts +0 -25
  137. package/BackOffice/SignatureMethodsSetup.stories.d.ts +0 -14
  138. package/BackOffice/StaffDirectory.stories.d.ts +0 -24
  139. package/BackOffice/TasksTable.stories.d.ts +0 -21
  140. package/BackOffice/WebFrameDirectorySearchPanel.stories.d.ts +0 -8
  141. package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +0 -10
  142. package/Helpers/Button.stories.d.ts +0 -8
  143. package/Helpers/DropdownButton/DropdownButton.stories.d.ts +0 -10
  144. package/Helpers/EmployeeName.stories.d.ts +0 -8
  145. package/Helpers/InputMask/InputMask.stories.d.ts +0 -11
  146. package/Helpers/SearchBar.stories.d.ts +0 -8
  147. package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +0 -8
  148. package/Platform/$LastSearchParameters.d.ts +0 -10
  149. package/Platform/Aggregates.stories.d.ts +0 -8
  150. package/Platform/Diagram.stories.d.ts +0 -11
  151. package/Platform/Dropdown.stories.d.ts +0 -12
  152. package/Platform/FolderGrid.stories.d.ts +0 -17
  153. package/Platform/FolderTypeItems.stories.d.ts +0 -9
  154. package/Platform/FolderViewItems.stories.d.ts +0 -9
  155. package/Platform/LastSearchParametersService.d.ts +0 -11
  156. package/Platform/QueryCondition.stories.d.ts +0 -5
  157. package/Platform/Quotes.stories.d.ts +0 -8
  158. package/Platform/SecurityDescriptorDialog.stories.d.ts +0 -10
  159. package/Platform/SettingsPopup.stories.d.ts +0 -1
  160. package/Platform/Tab.stories.d.ts +0 -9
  161. package/Platform/TextBox.stories.d.ts +0 -10
  162. package/Platform/Toolbar.stories.d.ts +0 -12
  163. package/Platform/WebFrameBodyContainer.stories.d.ts +0 -8
  164. package/Platform/WebFrameCompanyLogo.stories.d.ts +0 -10
  165. package/Platform/WebFrameCurrentPageName.stories.d.ts +0 -8
  166. package/Platform/WebFrameHeaderContainer.stories.d.ts +0 -17
  167. package/Platform/WebFrameHelpButton.stories.d.ts +0 -10
  168. package/Platform/WebFrameMainMenuButton.stories.d.ts +0 -8
  169. package/Platform/WebFrameMainMenuContainer.stories.d.ts +0 -10
  170. package/Platform/WebFrameNavigationBar.stories.d.ts +0 -19
  171. package/Platform/WebFrameSearchPanel.stories.d.ts +0 -14
  172. package/Platform/WebFrameUserPanel.stories.d.ts +0 -12
@@ -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;
@@ -1506,6 +1506,10 @@ export declare let resourcesStub: {
1506
1506
  NoValue: string;
1507
1507
  Diagram_WaitingForData: string;
1508
1508
  Diagram_Empty: string;
1509
+ FileControls_Sorting_ByNameAsc: string;
1510
+ FileControls_Sorting_ByNameDesc: string;
1511
+ FileControls_Sorting_ByTimeAsc: string;
1512
+ FileControls_Sorting_ByTimeDesc: string;
1509
1513
  PowersDirectory: string;
1510
1514
  PowersDirectory_TreeRootName: string;
1511
1515
  PowersDirectory_CodeTab: string;
@@ -1568,4 +1572,5 @@ export declare let resourcesStub: {
1568
1572
  FilePanel_Sign_InformationAboutPowerOfAttorney: string;
1569
1573
  PowersDirectory_TreeAddButtons_ImportPowers: string;
1570
1574
  PowerOfAttorneyInfo_RegTransferStatus: string;
1575
+ TextBox_NotMatchRegExpMessage: string;
1571
1576
  };
@@ -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
+ }[];