@docsvision/webclient 5.17.0-beta.14 → 5.17.0-beta.15

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 (256) hide show
  1. package/BackOffice/$CloudSignature.d.ts +34 -0
  2. package/BackOffice/$CryptoPro.d.ts +10 -0
  3. package/BackOffice/$DigitalSignature.d.ts +75 -0
  4. package/BackOffice/ActualizeProfileCertificateSource.d.ts +13 -0
  5. package/BackOffice/{BackOfficeLayoutContextContstants.d.ts → BackOfficeLayoutContextConstants.d.ts} +0 -0
  6. package/BackOffice/CardKindImpl.d.ts +1 -0
  7. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  8. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  9. package/BackOffice/ConvertCloudToSavedCertificate.d.ts +4 -0
  10. package/BackOffice/ConvertLocalToSavedCertificate.d.ts +4 -0
  11. package/BackOffice/ConvertSignLabelsToComboBoxItems.d.ts +15 -0
  12. package/BackOffice/CryptoProDssService.d.ts +65 -0
  13. package/BackOffice/CryptoProService.d.ts +10 -0
  14. package/BackOffice/{BatchDelegateOperation.d.ts → DelegateBatchOperation.d.ts} +5 -5
  15. package/BackOffice/{BatchDelegateOperationImpl.d.ts → DelegateBatchOperationImpl.d.ts} +3 -3
  16. package/BackOffice/DelegationParamsPanel.d.ts +1 -1
  17. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  18. package/BackOffice/DigitalSignatureService.d.ts +38 -0
  19. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +78 -0
  20. package/BackOffice/DirectoryDesignerActionButton.d.ts +7 -0
  21. package/BackOffice/DirectoryDesignerItemCreateWindow.d.ts +4 -0
  22. package/BackOffice/DirectoryDesignerItemEditWindow.d.ts +4 -0
  23. package/BackOffice/DirectoryDesignerItemViewWindow.d.ts +8 -0
  24. package/BackOffice/DirectoryDesignerRow.d.ts +29 -15
  25. package/BackOffice/DirectoryDesignerRowConstants.d.ts +3 -0
  26. package/BackOffice/DirectoryDesignerRowImpl.d.ts +42 -29
  27. package/BackOffice/DirectoryDesignerRowItemVisualiser.d.ts +9 -0
  28. package/BackOffice/DirectoryDesignerTypeaheadVariant.d.ts +6 -2
  29. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  30. package/BackOffice/DirectorySearchResultView.d.ts +2 -2
  31. package/BackOffice/DssAuthorizationModels.d.ts +6 -0
  32. package/BackOffice/DssCertificateModels.d.ts +30 -0
  33. package/BackOffice/DssPolicyModels.d.ts +51 -0
  34. package/BackOffice/DssSignRequestModels.d.ts +133 -0
  35. package/BackOffice/EmailButtonView.d.ts +2 -2
  36. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  37. package/BackOffice/FileListControl.d.ts +10 -3
  38. package/BackOffice/FileListControlImpl.d.ts +5 -0
  39. package/BackOffice/FileListControlLogic.d.ts +2 -1
  40. package/BackOffice/FileListItemComponent.d.ts +1 -1
  41. package/BackOffice/FileListItemProps.d.ts +2 -1
  42. package/BackOffice/FileSign.d.ts +12 -39
  43. package/BackOffice/FileSignListDialog.d.ts +7 -2
  44. package/BackOffice/GetSignatureMethodName.d.ts +4 -0
  45. package/BackOffice/HistoryView.d.ts +1 -1
  46. package/BackOffice/ICertificateStatus.d.ts +6 -0
  47. package/BackOffice/IDocumentInfoAdditionalInfoResult.d.ts +4 -0
  48. package/BackOffice/IDssCertificateInfoEx.d.ts +4 -0
  49. package/BackOffice/IFileSignInteractionModel.d.ts +8 -3
  50. package/BackOffice/IGetCertificateResult.d.ts +33 -0
  51. package/BackOffice/IGetDocumentInfoResult.d.ts +14 -0
  52. package/BackOffice/ISignOptions.d.ts +8 -0
  53. package/BackOffice/ISignRequest.d.ts +9 -0
  54. package/BackOffice/ISignResult.d.ts +5 -0
  55. package/BackOffice/ISignatureVerificationResult.d.ts +4 -0
  56. package/BackOffice/LoadCertificatesThumberprints.d.ts +9 -0
  57. package/BackOffice/LoadCloudCertificates.d.ts +4 -0
  58. package/BackOffice/LoadSignatureMethods.d.ts +2 -0
  59. package/BackOffice/LoadSystemCertificates.d.ts +4 -0
  60. package/BackOffice/NumeratorImpl.d.ts +1 -0
  61. package/BackOffice/PartnerBase.d.ts +2 -2
  62. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  63. package/BackOffice/PrepareSignatureMethodsComboBox.d.ts +7 -0
  64. package/BackOffice/PrintButtonView.d.ts +1 -1
  65. package/BackOffice/ProcessSettingsChanged.d.ts +11 -0
  66. package/BackOffice/SignatureButton.d.ts +36 -0
  67. package/BackOffice/SignatureButton.stories.d.ts +10 -0
  68. package/BackOffice/SignatureButtonComponent.d.ts +7 -0
  69. package/BackOffice/SignatureButtonContainer.d.ts +7 -0
  70. package/BackOffice/SignatureButtonLogic.d.ts +27 -0
  71. package/BackOffice/SignatureButtonMenu.d.ts +6 -0
  72. package/BackOffice/SignatureButtonMenuItem.d.ts +6 -0
  73. package/BackOffice/SignatureButtonOptions.d.ts +51 -0
  74. package/BackOffice/SignatureButtonView.d.ts +10 -0
  75. package/BackOffice/SignatureConstants.d.ts +1 -0
  76. package/BackOffice/SignatureDialog.d.ts +50 -0
  77. package/BackOffice/SignatureDialog.stories.d.ts +12 -0
  78. package/BackOffice/SignatureDialogFrame.d.ts +13 -0
  79. package/BackOffice/SignatureDialogLabels.d.ts +9 -0
  80. package/BackOffice/SignatureDialogLoader.d.ts +3 -0
  81. package/BackOffice/SignatureDialogLogic.d.ts +60 -0
  82. package/BackOffice/SignatureDialogMethods.d.ts +10 -0
  83. package/BackOffice/SignatureDialogNoPluginMessage.d.ts +6 -0
  84. package/BackOffice/SignatureDialogSettings.d.ts +20 -0
  85. package/BackOffice/SignatureMethodsSetup.d.ts +40 -0
  86. package/BackOffice/SignatureMethodsSetup.stories.d.ts +14 -0
  87. package/BackOffice/SignatureMethodsSetupCertificateRow.d.ts +14 -0
  88. package/BackOffice/SignatureMethodsSetupCertificateTable.d.ts +12 -0
  89. package/BackOffice/SignatureMethodsSetupCertificatesTableLoader.d.ts +3 -0
  90. package/BackOffice/SignatureMethodsSetupCloudLogin.d.ts +13 -0
  91. package/BackOffice/SignatureMethodsSetupFrame.d.ts +9 -0
  92. package/BackOffice/SignatureMethodsSetupLogic.d.ts +77 -0
  93. package/BackOffice/SignatureMethodsSetupNoPluginMessage.d.ts +7 -0
  94. package/BackOffice/SignatureMethodsSetupSelectedMethodsLoader.d.ts +3 -0
  95. package/BackOffice/SignatureMethodsSetupTabType.d.ts +4 -0
  96. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  97. package/BackOffice/StaffDirectoryItemsImpl.d.ts +7 -3
  98. package/BackOffice/SvsVerifyModels.d.ts +20 -0
  99. package/BackOffice/TasksTableView.d.ts +3 -3
  100. package/BackOffice/{TasksUtills.d.ts → TasksUtils.d.ts} +0 -0
  101. package/BackOffice/ToggleCertificateSelection.d.ts +2 -0
  102. package/BackOffice/UpdateMethodComment.d.ts +2 -0
  103. package/BackOffice/Utils.d.ts +3 -0
  104. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  105. package/Generated/DocsVision.WebClient.Controllers.d.ts +166 -2
  106. package/Generated/DocsVision.WebClient.Models.d.ts +1081 -217
  107. package/Helpers/ArtPlayer/ArtPlayer.d.ts +26 -0
  108. package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +10 -0
  109. package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +31 -0
  110. package/Helpers/ArtPlayer/ArtPlayerView.d.ts +13 -0
  111. package/Helpers/ArtPlayer/components/ArtPlayerContainer.d.ts +5 -0
  112. package/Helpers/ArtPlayer/components/ArtPlayerTimeCodes.d.ts +10 -0
  113. package/Helpers/ArtPlayer/components/ArtPlayerVideoPlayer.d.ts +7 -0
  114. package/Helpers/ArtPlayer/functions/LoadArtPlayer.d.ts +5 -0
  115. package/Helpers/ArtPlayer/functions/SetCurrentTimeCode.d.ts +7 -0
  116. package/Helpers/ArtPlayer/functions/SetPlayerLocalization.d.ts +7 -0
  117. package/Helpers/ArtPlayer/functions/SortingTimeCodes.d.ts +7 -0
  118. package/Helpers/ArtPlayer/functions/UpdatePlayerTime.d.ts +8 -0
  119. package/Helpers/ArtPlayer/models/IArtPlayer.d.ts +597 -0
  120. package/Helpers/ArtPlayer/models/IArtPlayerTImeCode.d.ts +6 -0
  121. package/Helpers/ModalDialog/CommonModalDialog.d.ts +2 -1
  122. package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +3 -3
  123. package/Helpers/ReactList/ReactListDynamic.d.ts +1 -0
  124. package/Helpers/Sortable/Data/ClientModels/ISortableItem.d.ts +7 -1
  125. package/Helpers/Sortable/Sortable.d.ts +13 -3
  126. package/Helpers/TextInput.d.ts +2 -0
  127. package/Helpers/TextInputDialog/Components/TextInputDialogFrame.d.ts +8 -0
  128. package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +10 -0
  129. package/Helpers/TextInputDialog/TextInputDialog.d.ts +25 -0
  130. package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +8 -0
  131. package/Helpers/TextInputDialog/TextInputDialogHost.d.ts +14 -0
  132. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  133. package/Legacy/ILabelTextareaControl.d.ts +1 -1
  134. package/Legacy/ISignatureDataModel.d.ts +2 -0
  135. package/Legacy/ISignatureListDataModel.d.ts +1 -1
  136. package/Legacy/ISignatureListItemDataModel.d.ts +6 -15
  137. package/Legacy/ISignatureListItemDetailDataModel.d.ts +8 -19
  138. package/Legacy/ISignatureVerificationDataModel.d.ts +4 -4
  139. package/Legacy/{ITextareaConrtol.d.ts → ITextareaControl.d.ts} +0 -0
  140. package/Legacy/LabelTextareaControl.d.ts +1 -1
  141. package/Legacy/NativeFunctions.d.ts +1 -20
  142. package/Legacy/StandardControllers.d.ts +2 -2
  143. package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
  144. package/Legacy/TextareaControl.d.ts +1 -1
  145. package/Legacy/Utils.d.ts +7 -0
  146. package/MainBundle.d.ts +1 -0
  147. package/Platform/$AggregatesCheckbox.d.ts +1 -0
  148. package/Platform/$EmployeeStatus.d.ts +6 -2
  149. package/Platform/$FolderHelp.d.ts +13 -0
  150. package/Platform/{AcesssInheritanceButtons.d.ts → AccessInheritanceButtons.d.ts} +2 -2
  151. package/Platform/AggregatesApplyButtonPanel.d.ts +9 -0
  152. package/Platform/AggregatesCheckbox.d.ts +7 -3
  153. package/Platform/AggregatesCheckboxPlugins.d.ts +1 -0
  154. package/Platform/AggregatesCheckboxService.d.ts +17 -6
  155. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  156. package/Platform/BatchOperationsPlugin.d.ts +1 -1
  157. package/Platform/BottomEdge.d.ts +10 -0
  158. package/Platform/BottomEdgeBody.d.ts +4 -0
  159. package/Platform/BottomEdgePlugin.d.ts +4 -0
  160. package/Platform/CardLink.d.ts +2 -1
  161. package/Platform/CardManagement.d.ts +5 -1
  162. package/Platform/CardManagementImpl.d.ts +5 -3
  163. package/Platform/CardQuotesDataStub.d.ts +19 -0
  164. package/Platform/CertificateSettings.d.ts +40 -0
  165. package/Platform/CertificateSettingsContainer.d.ts +10 -0
  166. package/Platform/CertificateSettingsLogic.d.ts +24 -0
  167. package/Platform/CertificateSettingsView.d.ts +5 -0
  168. package/Platform/DateTimePickerImpl.d.ts +1 -0
  169. package/Platform/DownloadFilesBatchOperation.d.ts +2 -1
  170. package/Platform/DropdownImpl.d.ts +3 -1
  171. package/Platform/EmployeeStatusService.d.ts +4 -4
  172. package/Platform/Favorite.d.ts +1 -0
  173. package/Platform/FilePicker.d.ts +2 -2
  174. package/Platform/FilePreview.d.ts +2 -2
  175. package/Platform/FilePreviewImpl.d.ts +1 -0
  176. package/Platform/FolderGrid.d.ts +1 -1
  177. package/Platform/FolderHelpButton.d.ts +7 -0
  178. package/Platform/FolderHelpDialog.d.ts +9 -0
  179. package/Platform/FolderHelpPaths.d.ts +2 -0
  180. package/Platform/FolderHelpPlugins.d.ts +9 -0
  181. package/Platform/FolderHelpService.d.ts +10 -0
  182. package/Platform/FolderHelpTimeCodes.d.ts +2 -0
  183. package/Platform/FolderMainMenuItemImpl.d.ts +1 -1
  184. package/Platform/FolderManagementAdaptiveMenu.d.ts +1 -1
  185. package/Platform/{FolderManagmentData.d.ts → FolderManagementData.d.ts} +0 -0
  186. package/Platform/FolderManagementDialog.d.ts +1 -1
  187. package/Platform/FolderName.d.ts +2 -1
  188. package/Platform/FolderNameImpl.d.ts +1 -0
  189. package/Platform/FolderOperationManager.d.ts +1 -1
  190. package/Platform/FolderViewItemsImpl.d.ts +5 -5
  191. package/Platform/IAggregates.d.ts +10 -4
  192. package/Platform/ListCheckbox.d.ts +1 -1
  193. package/Platform/ListInput.d.ts +1 -1
  194. package/Platform/LoaderDialog.d.ts +1 -1
  195. package/Platform/Number.d.ts +2 -0
  196. package/Platform/NumberImpl.d.ts +2 -1
  197. package/Platform/Quotes.d.ts +18 -0
  198. package/Platform/Quotes.stories.d.ts +8 -0
  199. package/Platform/QuotesButtonMore.d.ts +6 -0
  200. package/Platform/QuotesHighlight.d.ts +8 -0
  201. package/Platform/QuotesInner.d.ts +6 -0
  202. package/Platform/QuotesItem.d.ts +15 -0
  203. package/Platform/QuotesLogic.d.ts +40 -0
  204. package/Platform/QuotesModal.d.ts +14 -0
  205. package/Platform/QuotesModalButtonBlock.d.ts +6 -0
  206. package/Platform/QuotesModalQuote.d.ts +6 -0
  207. package/Platform/QuotesPlugins.d.ts +4 -0
  208. package/Platform/QuotesView.d.ts +16 -0
  209. package/Platform/QuotesWrapper.d.ts +6 -0
  210. package/Platform/ScrollTopBottomButtons.d.ts +1 -0
  211. package/Platform/ScrollTopBottomLogic.d.ts +2 -0
  212. package/Platform/SearchResultsFolderTablePluginFactory.d.ts +5 -5
  213. package/Platform/SearchTextInput.d.ts +1 -1
  214. package/Platform/SecurityDescriptorDialog.d.ts +3 -3
  215. package/Platform/SettingsPlugin.d.ts +7 -3
  216. package/Platform/SettingsPopupCheckBoxContainer.d.ts +1 -0
  217. package/Platform/SettingsPopupLogic.d.ts +13 -4
  218. package/Platform/SettingsPopupView.d.ts +2 -0
  219. package/Platform/Table.d.ts +1 -1
  220. package/Platform/TableColumnResponseResolver.d.ts +10 -0
  221. package/Platform/TablePresentationTogglePlugins.d.ts +1 -2
  222. package/Platform/TestUtils.d.ts +2 -1
  223. package/Platform/TextControlBaseImpl.d.ts +2 -0
  224. package/Platform/TextListInputView.d.ts +4 -4
  225. package/Platform/{ToggleRowAcess.d.ts → ToggleRowAccess.d.ts} +0 -0
  226. package/Platform/UserProfileDialog.d.ts +1 -1
  227. package/Platform/UtilsQuotes.d.ts +10 -0
  228. package/Platform/index.d.ts +1 -7
  229. package/Platform/toLocaleStringPolyfill.d.ts +2 -0
  230. package/StandardServices.d.ts +4 -1
  231. package/System/$FileService.d.ts +16 -9
  232. package/System/$Layout.d.ts +1 -1
  233. package/System/BlobToBase64.d.ts +1 -0
  234. package/System/DirectorySelectDialog.d.ts +2 -2
  235. package/System/FileService.d.ts +14 -15
  236. package/System/FilterLogic.d.ts +6 -0
  237. package/System/GenerateTestData.d.ts +2 -0
  238. package/System/IAsyncControlInfo.d.ts +1 -1
  239. package/System/ILayoutParams.d.ts +2 -0
  240. package/System/InputBasedControlImpl.d.ts +1 -0
  241. package/System/Layout.d.ts +1 -0
  242. package/System/LayoutManager.d.ts +1 -1
  243. package/System/LayoutUtils.d.ts +1 -0
  244. package/System/OperationUtils.d.ts +2 -0
  245. package/System/PageLeaveConfirmation.d.ts +1 -0
  246. package/System/{PreventPropogation.d.ts → PreventPropagation.d.ts} +0 -0
  247. package/System/StringUtils.d.ts +5 -1
  248. package/package.json +1 -1
  249. package/BackOffice/FileSignCreateDialog.d.ts +0 -83
  250. package/BackOffice/FileSignSelectCertificateDialog.d.ts +0 -57
  251. package/Globals/DVPromise.d.ts +0 -19
  252. package/Platform/FilterPlugin.d.ts +0 -3
  253. package/Platform/GropingPlugin.d.ts +0 -3
  254. package/Platform/ResetSettingsPlugin.d.ts +0 -18
  255. package/Platform/SearchPlugin.d.ts +0 -3
  256. package/Platform/toLocaleStringPolifill.d.ts +0 -1
@@ -1,17 +1,24 @@
1
1
  import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
2
2
  import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
3
+ export declare enum FileServiceOrder {
4
+ Primary = 0,
5
+ Secondary = 1
6
+ }
7
+ export interface IFileServiceItem extends FileListItem {
8
+ order?: FileServiceOrder;
9
+ }
3
10
  export interface IFileService {
4
- getFiles(): FileListItem[];
5
- getFileGroups(): FileListItem[][];
6
- setFileGroups(groups: FileListItem[][]): void;
7
- registerFiles(files: FileListItem[]): void;
8
- unRegisterFiles(files: FileListItem[]): void;
9
- addNewFile(file: FileListItem, files: FileListItem[]): void;
10
- deleteFile(file: FileListItem): void;
11
- updateFile(file: FileListItem): void;
11
+ getFiles(): IFileServiceItem[];
12
+ getFileGroups(): IFileServiceItem[][];
13
+ setFileGroups(groups: IFileServiceItem[][], files?: IFileServiceItem[]): void;
14
+ registerFiles(files: IFileServiceItem[], order?: FileServiceOrder): void;
15
+ unRegisterFiles(files: IFileServiceItem[]): void;
16
+ addNewFile(file: IFileServiceItem, files: IFileServiceItem[]): void;
17
+ deleteFile(file: IFileServiceItem): void;
18
+ updateFile(file: IFileServiceItem): void;
12
19
  selectedFileWasChanged: SimpleEvent<any>;
13
20
  fileListWasChanged: SimpleEvent<any>;
14
- selectedFile: FileListItem;
21
+ selectedFile: IFileServiceItem;
15
22
  }
16
23
  export declare type $FileService = {
17
24
  fileService: IFileService;
@@ -84,7 +84,7 @@ export interface ILayout extends ILayoutCheckService {
84
84
  /** Иниицирует перерисовку разметки. */
85
85
  forceUpdate(callBack?: () => any): any;
86
86
  /** Удаляет текущую карточку или строку секции */
87
- delete(): Promise<any>;
87
+ delete(isCanceling?: boolean): Promise<any>;
88
88
  /** возвращает сервис */
89
89
  getService<$T>(serviceName?: FieldSpec<any, $T>): $T;
90
90
  }
@@ -0,0 +1 @@
1
+ export declare function blobToBase64(blob: Blob): Promise<string>;
@@ -77,10 +77,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
77
77
  protected modalHost: CommonModalDialogHost;
78
78
  static SimpleItemView:
79
79
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
80
- import("C:/Users/peshne.k/devWebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
80
+ import("C:/Dev/WebCDev/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
81
81
  static SimpleItemViewCompact:
82
82
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
83
- import("C:/Users/peshne.k/devWebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
83
+ import("C:/Dev/WebCDev/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
84
84
  /** @internal */
85
85
  state: StateT;
86
86
  searchInput: HTMLInputElement;
@@ -1,24 +1,23 @@
1
- import { IFileService } from '@docsvision/webclient/System/$FileService';
2
- import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
1
+ import { FileServiceOrder, IFileService, IFileServiceItem } from '@docsvision/webclient/System/$FileService';
3
2
  import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
4
3
  export declare class FileService implements IFileService {
5
- _selectedFile: FileListItem;
6
- files: FileListItem[];
7
- fileGroups: FileListItem[][];
4
+ _selectedFile: IFileServiceItem;
5
+ files: IFileServiceItem[];
6
+ fileGroups: IFileServiceItem[][];
8
7
  constructor();
9
- get selectedFile(): FileListItem;
10
- set selectedFile(val: FileListItem);
11
- getFiles(): FileListItem[];
12
- getFileGroups(): FileListItem[][];
13
- setFileGroups(groups: FileListItem[][]): void;
14
- registerFiles(files: FileListItem[]): void;
15
- unRegisterFiles(files: FileListItem[]): void;
8
+ get selectedFile(): IFileServiceItem;
9
+ set selectedFile(val: IFileServiceItem);
10
+ getFiles(): IFileServiceItem[];
11
+ getFileGroups(): IFileServiceItem[][];
12
+ setFileGroups(groups: IFileServiceItem[][], files?: IFileServiceItem[]): void;
13
+ registerFiles(files: IFileServiceItem[], order?: FileServiceOrder): void;
14
+ unRegisterFiles(files: IFileServiceItem[]): void;
16
15
  private sortFiles;
17
16
  private sortFlatFileList;
18
17
  private sortGroupFileList;
19
- addNewFile(newFile: FileListItem, fileList?: FileListItem[]): void;
20
- deleteFile(fileForDelete: FileListItem): void;
21
- updateFile(file: FileListItem): void;
18
+ addNewFile(newFile: IFileServiceItem, fileList?: IFileServiceItem[]): void;
19
+ deleteFile(fileForDelete: IFileServiceItem): void;
20
+ updateFile(file: IFileServiceItem): void;
22
21
  selectedFileWasChanged: SimpleEvent<any>;
23
22
  fileListWasChanged: SimpleEvent<any>;
24
23
  }
@@ -22,3 +22,9 @@ export declare function filterSelectedPath<NodeT extends GenModels.IDirectoryIte
22
22
  * @param predefinedFilter Значение фильтра, которое которое недоступно для очистки в пользовательском интерфейсе.
23
23
  */
24
24
  export declare function isFilterInSelectedPath<NodeT extends GenModels.IDirectoryItemData>(selectedPath: NodeT[], predefinedFilter: NodeT): boolean;
25
+ /**
26
+ * Входит ли значение filter в состав selectedPath.
27
+ * @param selectedPath Выбранное значение фильтра.
28
+ * @param predefinedFilter Значение фильтра, которое которое недоступно для очистки в пользовательском интерфейсе.
29
+ */
30
+ export declare function isFilterPathInSelectedPath<NodeT extends GenModels.IDirectoryItemData>(selectedPath: NodeT[], filter: NodeT[]): boolean;
@@ -0,0 +1,2 @@
1
+ export declare function generateTestData<T>(modelName: string, testCaseId?: string): Promise<T>;
2
+ export declare function generateTestDataArray<T>(modelName: string, count?: number, testCaseId?: string): Promise<T[]>;
@@ -1,4 +1,4 @@
1
- interface IAsyncControlInfo {
1
+ export interface IAsyncControlInfo {
2
2
  name: string;
3
3
  parentName: string;
4
4
  }
@@ -1,3 +1,4 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
1
2
  import { $StandardControllers } from "@docsvision/webclient/Legacy/StandardControllers";
2
3
  import { $StandardServices } from "@docsvision/webclient/StandardServices";
3
4
  import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
@@ -8,6 +9,7 @@ import { ICardStateChangingEventArgs } from "@docsvision/webclient/System/ICardS
8
9
  import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
9
10
  export interface ILayoutSavedEventArgs extends IEventArgs {
10
11
  options: SaveCardOptions;
12
+ bindings?: Array<GenModels.BindingsWriteRequest>;
11
13
  }
12
14
  export interface ILayoutPrepareSavingEventArgs extends IEventArgs {
13
15
  options: SaveCardOptions;
@@ -14,6 +14,7 @@ export interface InputBasedControlState<ModelT> extends BaseControlState, InputB
14
14
  inputFocused: boolean;
15
15
  validationMessage: string;
16
16
  hadValue: boolean;
17
+ isTooltipDisabled?: boolean;
17
18
  }
18
19
  /** Базовый класс реализации {@link InputBasedControl}. */
19
20
  export declare abstract class InputBasedControlImpl<ModelT, PropsT extends InputBasedControlParams<ModelT>, StateT extends InputBasedControlState<ModelT>> extends BaseControlImpl<PropsT, StateT> {
@@ -1,3 +1,4 @@
1
+ /// <reference types="webclient-globals" />
1
2
  import { $LayoutController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
2
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
4
  import { $StandardControllers } from '@docsvision/webclient/Legacy/StandardControllers';
@@ -29,7 +29,7 @@ export declare class LayoutManager implements ILayoutManager {
29
29
  protected layoutCardLayoutPosition: string;
30
30
  protected layoutUnloadingEvent: CancelableEvent<ILayout>;
31
31
  protected layoutUnloadedEvent: SimpleEvent<ILayout>;
32
- protected pageLeaveConfirmation: PageLeaveConfirmation;
32
+ pageLeaveConfirmation: PageLeaveConfirmation;
33
33
  private internalMainContentChange;
34
34
  protected prevConfirmationModal: ModalWindow;
35
35
  /** @internal */
@@ -1,3 +1,4 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { IAsyncControlInfo } from "@docsvision/webclient/System/IAsyncControlInfo";
2
3
  export declare function collectControlNames(controls: GenModels.ControlModel[], parentName: string, asyncControlInfos: IAsyncControlInfo[]): void;
3
4
  export declare function replaceControls(controls: GenModels.ControlModel[], newControl: GenModels.ControlModel): void;
@@ -3,5 +3,7 @@ import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
3
3
  import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
4
4
  /** Проверяет, что операция редактирования доступна. */
5
5
  export declare function editOperationAvailable(store: $EditOperationStore, binding: IBindingResult<any>, control?: LayoutControl): boolean;
6
+ /** Проверяет, что операция редактирования доступна. */
7
+ export declare function editOperationAvailableById(store: $EditOperationStore, editOperation: string, control?: LayoutControl): boolean;
6
8
  /** Проверяет, что встроенная операция редактирования доступна. */
7
9
  export declare function builtinEditOperationAvailable(store: $EditOperationStore, builtinOperationId: string, control?: LayoutControl): boolean;
@@ -5,5 +5,6 @@ export declare class PageLeaveConfirmation {
5
5
  static Setup(condition?: () => boolean): PageLeaveConfirmation;
6
6
  static isWebDAV: boolean;
7
7
  dispose(): void;
8
+ start(): void;
8
9
  private onBeforeWindowUnload;
9
10
  }
@@ -9,6 +9,10 @@ export declare function capitalizeFirstLetter(str: any): any;
9
9
  /** Разбивает строку на подстроки, разделяя ее по указанному вхождению. */
10
10
  export declare function splitFirstSymbol(str: string, symbol: string): string[];
11
11
  export declare function replaceAll(srt: string, search: string, replacement: string): string;
12
+ export interface IToCamelCaseExceptions {
13
+ oldValue: string;
14
+ newValue: string;
15
+ }
12
16
  /**
13
17
  * Преобразует имена свойств в объекте так, чтобы они начинались с прописной буквы.
14
18
  *
@@ -16,7 +20,7 @@ export declare function replaceAll(srt: string, search: string, replacement: str
16
20
  *
17
21
  * let lowerModel = JSON.parse(str, toCamelCase);
18
22
  */
19
- export declare function toCamelCase(key: any, value: any): any;
23
+ export declare function toCamelCase(key: any, value: any, exceptions?: IToCamelCaseExceptions[]): any;
20
24
  /** Возвращает true, если переданная строка оканчивается на двоеточие. */
21
25
  export declare function endsWithColon(str: string): boolean;
22
26
  /** Функция предназначенная для сортировки в алфавитном порядке при помощи Array.sort. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "5.17.0-beta.14",
3
+ "version": "5.17.0-beta.15",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -1,83 +0,0 @@
1
- import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
2
- import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
3
- import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
4
- import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
5
- import { LoadingState } from "@docsvision/webclient/System/LoadingState";
6
- import { ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
7
- import React from "react";
8
- import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
9
- /** @internal */
10
- export interface IFileSignCreateDialogProps {
11
- /** Идентификатор документа. */
12
- documentId: string;
13
- /** Вызывается при подписи. */
14
- onSign?: (selectedCertInfo: ICryptoCertificateInfo, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean) => void;
15
- /** Вызывается при отмене подписи. */
16
- onCancel?: () => void;
17
- /** Загрузка */
18
- loading?: boolean;
19
- /** Сервисы */
20
- services: $DocumentCardController & $WebViewIOSEnabled;
21
- }
22
- /** @internal */
23
- export interface IFileSignCreateDialogState {
24
- /** Информация о стадии инициализации компонента. */
25
- initLoading: LoadingState;
26
- /** Идентификатор выбранной метки для подписи. */
27
- selectedLabel?: ISignatureLabel;
28
- /** Идентификатор выбранного варианта подписания подписи (простой или сертификат). */
29
- selectedModeId: string;
30
- /** Информация о выбранном сертификате для подписи (если подпись не является простой). */
31
- selectedCertInfo: ICryptoCertificateInfo;
32
- /** Название выбранного сертификата для подписи (если подпись не является простой). */
33
- selectedCertName: string;
34
- /** Сертификат из профиля пользователя. */
35
- defaultCertInfo?: ICryptoCertificateInfo;
36
- /** Необходимо ли подписать Поля */
37
- signFields?: boolean;
38
- /** Необходимо ли подписать Дополнения */
39
- signAttachments?: boolean;
40
- /** Список меток для подписи. */
41
- signLabels: ISignatureLabel[];
42
- /** Пользовательский отпечаток. */
43
- thumbprint: string;
44
- /** Таймштамп последнего изменения карточки. */
45
- timestamp: number;
46
- /** Экземпляр ModalHost для работы с модальным окном для выбора сертификата. */
47
- certSelectModalHost: ModalHost;
48
- /** Видно ли модальное окно для выбора сертификата. */
49
- isCertSelectVisible: boolean;
50
- /** Загрузка */
51
- loading?: boolean;
52
- }
53
- /** @internal */
54
- export declare class FileSignCreateDialog extends React.Component<IFileSignCreateDialogProps, IFileSignCreateDialogState> {
55
- static readonly SELECT_CERTIFICATE_MODE = "select-certificate";
56
- constructor(props: IFileSignCreateDialogProps);
57
- componentDidUpdate(props: any, state: any): void;
58
- /** @internal */
59
- UNSAFE_componentWillMount(): Promise<void>;
60
- /** Является ли подпись простой. */
61
- isSimpleSign: () => boolean;
62
- checkIsCertificateExist: () => Promise<boolean>;
63
- /** Обновляет список доступных меток для подписи. */
64
- updateLabels: () => Promise<void>;
65
- /** При изменении варианта подписания подписи. */
66
- protected onModeChange: (selectedElement: IComboBoxElement) => void;
67
- /** Получить отформатированный список меток для комбобокса. */
68
- protected getLabelsForCombobox: () => IComboBoxElement[];
69
- /** Получить отформатированный список вариантов подписания для комбобокса. */
70
- protected getModesForCombobox: () => IComboBoxElement[];
71
- /** Открывает модальное окно для выбора сертификата. */
72
- protected openCertSelectWindow: () => void;
73
- /** При закрытии модального окна для выбора сертификата. */
74
- protected onCloseCertSelectWindow: (selectedCertInfo: ICryptoCertificateInfo) => void;
75
- /** При подписании. */
76
- protected onSign: () => void;
77
- /** При отмене подписания. */
78
- protected onCancel: () => void;
79
- /** Отрисовывает модальное окно для выбора сертификата. */
80
- protected renderSelectCertDialog(): React.ReactNode;
81
- /** @internal */
82
- render(): JSX.Element;
83
- }
@@ -1,57 +0,0 @@
1
- import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
2
- import { ICryptoCertificate, ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
3
- import React from "react";
4
- import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
5
- /** @internal */
6
- export interface IFileSignSelectCertificateDialogProps {
7
- /** Видно ли окно. */
8
- isVisible?: boolean;
9
- /** Вызывается при закрытии данного окна. */
10
- onClose?: (selectedCertInfo: ICryptoCertificateInfo) => void;
11
- /** Сервисы */
12
- services?: $WebViewIOSEnabled;
13
- }
14
- /** @internal */
15
- export interface IFileSignSelectCertificateDialogState {
16
- /** Инициализирован ли компонент. */
17
- isInitialized: boolean;
18
- /** Выбранный сертификат для подписи. */
19
- selectedCert: ICryptoCertificate;
20
- /** Видно ли окно. */
21
- isVisible: boolean;
22
- /** Список доступных сертификатов для подписи. */
23
- certs: ICryptoCertificate[];
24
- /** Помощник для загрузки данных о списке сертификатов. */
25
- loadingHelper: RequestHelper;
26
- }
27
- /** @internal */
28
- export declare class FileSignSelectCertificateDialog extends React.Component<IFileSignSelectCertificateDialogProps, IFileSignSelectCertificateDialogState> {
29
- constructor(props: IFileSignSelectCertificateDialogProps);
30
- /** @internal */
31
- UNSAFE_componentWillMount(): void;
32
- /** @internal */
33
- UNSAFE_componentWillReceiveProps(nextProps: IFileSignSelectCertificateDialogProps): void;
34
- /** Загружаются ли сертификаты в данный момент. */
35
- get isCertsLoading(): boolean;
36
- /** Обновляет список доступных сертификатов. */
37
- updateCerts: () => Promise<ICryptoCertificate[]>;
38
- /** Показать окно. */
39
- show: () => void;
40
- /** Скрыть окно. */
41
- hide: () => void;
42
- /** При закрытии окна. */
43
- protected onClose: () => void;
44
- /**
45
- * При нажатии на строку таблицы для выбора сертификата.
46
- * @param cert Информация о сертификате для данной строки.
47
- */
48
- protected onCertRowClick: (cert: ICryptoCertificate) => void;
49
- /**
50
- * Отрисовывает строку таблицы для выбора сертификата.
51
- * @param cert Информация о сертификате для данной строки.
52
- */
53
- protected renderCertRow(cert: ICryptoCertificate): JSX.Element;
54
- private saveCertList;
55
- /** @internal */
56
- render(): JSX.Element;
57
- }
@@ -1,19 +0,0 @@
1
- /// <reference types="jquery" />
2
- /**
3
- * Расширение Promise, частично совместимое с JQuery.Deferred.
4
- *
5
- * Класс используется для перехода от использования JQuery.Deferred в пользу использования Promise.
6
- */
7
- declare class DVPromise<T = unknown> extends Promise<T> {
8
- constructor(executor?: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void);
9
- reject(...args: any[]): this;
10
- resolve(...args: T[]): this;
11
- always(alwaysCallback: JQuery.Deferred.Callback<T | any>): this;
12
- done(doneCallback: JQuery.Deferred.Callback<T>): this;
13
- fail(failCallback: JQuery.Deferred.Callback<any>): this;
14
- promise(): Promise<T>;
15
- state(): 'pending' | 'resolved' | 'rejected';
16
- static reject<T = never>(reason?: any): DVPromise<T>;
17
- static resolve<T>(value: T | PromiseLike<T>): DVPromise<T>;
18
- static resolve(): DVPromise<void>;
19
- }
@@ -1,3 +0,0 @@
1
- import { TablePlugins } from "@docsvision/web/components/table/interfaces";
2
- export declare const FilterToolbarButtonFeature = "FilterToolbarButtonFeature";
3
- export declare const FilterPlugin: TablePlugins.Toolbar.Component;
@@ -1,3 +0,0 @@
1
- import { TablePlugins } from "@docsvision/web/components/table/interfaces";
2
- export declare const GroupingToolbarButtonFeature = "GroupingToolbarButtonFeature";
3
- export declare const GropingPlugin: TablePlugins.Toolbar.Component;
@@ -1,18 +0,0 @@
1
- import { $SaveColumns } from "@docsvision/webclient/Platform/$SaveColumns";
2
- import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
3
- import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
4
- import { $FolderInfo } from "@docsvision/webclient/Platform/$FolderInfo";
5
- import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
6
- import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
7
- import { $ResizeColumn } from "@docsvision/web/components/table/plugins/resize-column/$ResizeColumn";
8
- import { $TableData } from "@docsvision/web/components/table/plugins/table-data";
9
- import { IComposition } from "@docsvision/web/core/composition";
10
- export declare type $ResetSettingsToolbarActionServices = $TableData & $FolderDataLoading & $FolderInfo & $LastSearchResponse & $WebFrameSearchPanel & $ResizeColumn & $SaveColumns & $FolderGrid;
11
- export declare const ResetSettingsPlugin: {
12
- name: string;
13
- iconClass: string;
14
- title: string;
15
- onClick: typeof resetSettings;
16
- };
17
- declare function resetSettings(composition: IComposition<any, any, $ResetSettingsToolbarActionServices>): Promise<void>;
18
- export {};
@@ -1,3 +0,0 @@
1
- import { TablePlugins } from "@docsvision/web/components/table/interfaces";
2
- export declare const SearchToolbarButtonFeature = "SearchToolbarButtonFeature";
3
- export declare const SearchPlugin: TablePlugins.Toolbar.Component;
@@ -1 +0,0 @@
1
- /** EMPTY FILE */