@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.
- package/BackOffice/$CloudSignature.d.ts +34 -0
- package/BackOffice/$CryptoPro.d.ts +10 -0
- package/BackOffice/$DigitalSignature.d.ts +75 -0
- package/BackOffice/ActualizeProfileCertificateSource.d.ts +13 -0
- package/BackOffice/{BackOfficeLayoutContextContstants.d.ts → BackOfficeLayoutContextConstants.d.ts} +0 -0
- package/BackOffice/CardKindImpl.d.ts +1 -0
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ConvertCloudToSavedCertificate.d.ts +4 -0
- package/BackOffice/ConvertLocalToSavedCertificate.d.ts +4 -0
- package/BackOffice/ConvertSignLabelsToComboBoxItems.d.ts +15 -0
- package/BackOffice/CryptoProDssService.d.ts +65 -0
- package/BackOffice/CryptoProService.d.ts +10 -0
- package/BackOffice/{BatchDelegateOperation.d.ts → DelegateBatchOperation.d.ts} +5 -5
- package/BackOffice/{BatchDelegateOperationImpl.d.ts → DelegateBatchOperationImpl.d.ts} +3 -3
- package/BackOffice/DelegationParamsPanel.d.ts +1 -1
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +38 -0
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +78 -0
- package/BackOffice/DirectoryDesignerActionButton.d.ts +7 -0
- package/BackOffice/DirectoryDesignerItemCreateWindow.d.ts +4 -0
- package/BackOffice/DirectoryDesignerItemEditWindow.d.ts +4 -0
- package/BackOffice/DirectoryDesignerItemViewWindow.d.ts +8 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +29 -15
- package/BackOffice/DirectoryDesignerRowConstants.d.ts +3 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +42 -29
- package/BackOffice/DirectoryDesignerRowItemVisualiser.d.ts +9 -0
- package/BackOffice/DirectoryDesignerTypeaheadVariant.d.ts +6 -2
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +2 -2
- package/BackOffice/DssAuthorizationModels.d.ts +6 -0
- package/BackOffice/DssCertificateModels.d.ts +30 -0
- package/BackOffice/DssPolicyModels.d.ts +51 -0
- package/BackOffice/DssSignRequestModels.d.ts +133 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +10 -3
- package/BackOffice/FileListControlImpl.d.ts +5 -0
- package/BackOffice/FileListControlLogic.d.ts +2 -1
- package/BackOffice/FileListItemComponent.d.ts +1 -1
- package/BackOffice/FileListItemProps.d.ts +2 -1
- package/BackOffice/FileSign.d.ts +12 -39
- package/BackOffice/FileSignListDialog.d.ts +7 -2
- package/BackOffice/GetSignatureMethodName.d.ts +4 -0
- package/BackOffice/HistoryView.d.ts +1 -1
- package/BackOffice/ICertificateStatus.d.ts +6 -0
- package/BackOffice/IDocumentInfoAdditionalInfoResult.d.ts +4 -0
- package/BackOffice/IDssCertificateInfoEx.d.ts +4 -0
- package/BackOffice/IFileSignInteractionModel.d.ts +8 -3
- package/BackOffice/IGetCertificateResult.d.ts +33 -0
- package/BackOffice/IGetDocumentInfoResult.d.ts +14 -0
- package/BackOffice/ISignOptions.d.ts +8 -0
- package/BackOffice/ISignRequest.d.ts +9 -0
- package/BackOffice/ISignResult.d.ts +5 -0
- package/BackOffice/ISignatureVerificationResult.d.ts +4 -0
- package/BackOffice/LoadCertificatesThumberprints.d.ts +9 -0
- package/BackOffice/LoadCloudCertificates.d.ts +4 -0
- package/BackOffice/LoadSignatureMethods.d.ts +2 -0
- package/BackOffice/LoadSystemCertificates.d.ts +4 -0
- package/BackOffice/NumeratorImpl.d.ts +1 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PrepareSignatureMethodsComboBox.d.ts +7 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/ProcessSettingsChanged.d.ts +11 -0
- package/BackOffice/SignatureButton.d.ts +36 -0
- package/BackOffice/SignatureButton.stories.d.ts +10 -0
- package/BackOffice/SignatureButtonComponent.d.ts +7 -0
- package/BackOffice/SignatureButtonContainer.d.ts +7 -0
- package/BackOffice/SignatureButtonLogic.d.ts +27 -0
- package/BackOffice/SignatureButtonMenu.d.ts +6 -0
- package/BackOffice/SignatureButtonMenuItem.d.ts +6 -0
- package/BackOffice/SignatureButtonOptions.d.ts +51 -0
- package/BackOffice/SignatureButtonView.d.ts +10 -0
- package/BackOffice/SignatureConstants.d.ts +1 -0
- package/BackOffice/SignatureDialog.d.ts +50 -0
- package/BackOffice/SignatureDialog.stories.d.ts +12 -0
- package/BackOffice/SignatureDialogFrame.d.ts +13 -0
- package/BackOffice/SignatureDialogLabels.d.ts +9 -0
- package/BackOffice/SignatureDialogLoader.d.ts +3 -0
- package/BackOffice/SignatureDialogLogic.d.ts +60 -0
- package/BackOffice/SignatureDialogMethods.d.ts +10 -0
- package/BackOffice/SignatureDialogNoPluginMessage.d.ts +6 -0
- package/BackOffice/SignatureDialogSettings.d.ts +20 -0
- package/BackOffice/SignatureMethodsSetup.d.ts +40 -0
- package/BackOffice/SignatureMethodsSetup.stories.d.ts +14 -0
- package/BackOffice/SignatureMethodsSetupCertificateRow.d.ts +14 -0
- package/BackOffice/SignatureMethodsSetupCertificateTable.d.ts +12 -0
- package/BackOffice/SignatureMethodsSetupCertificatesTableLoader.d.ts +3 -0
- package/BackOffice/SignatureMethodsSetupCloudLogin.d.ts +13 -0
- package/BackOffice/SignatureMethodsSetupFrame.d.ts +9 -0
- package/BackOffice/SignatureMethodsSetupLogic.d.ts +77 -0
- package/BackOffice/SignatureMethodsSetupNoPluginMessage.d.ts +7 -0
- package/BackOffice/SignatureMethodsSetupSelectedMethodsLoader.d.ts +3 -0
- package/BackOffice/SignatureMethodsSetupTabType.d.ts +4 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +7 -3
- package/BackOffice/SvsVerifyModels.d.ts +20 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/{TasksUtills.d.ts → TasksUtils.d.ts} +0 -0
- package/BackOffice/ToggleCertificateSelection.d.ts +2 -0
- package/BackOffice/UpdateMethodComment.d.ts +2 -0
- package/BackOffice/Utils.d.ts +3 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +166 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +1081 -217
- package/Helpers/ArtPlayer/ArtPlayer.d.ts +26 -0
- package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +10 -0
- package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +31 -0
- package/Helpers/ArtPlayer/ArtPlayerView.d.ts +13 -0
- package/Helpers/ArtPlayer/components/ArtPlayerContainer.d.ts +5 -0
- package/Helpers/ArtPlayer/components/ArtPlayerTimeCodes.d.ts +10 -0
- package/Helpers/ArtPlayer/components/ArtPlayerVideoPlayer.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/LoadArtPlayer.d.ts +5 -0
- package/Helpers/ArtPlayer/functions/SetCurrentTimeCode.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/SetPlayerLocalization.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/SortingTimeCodes.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/UpdatePlayerTime.d.ts +8 -0
- package/Helpers/ArtPlayer/models/IArtPlayer.d.ts +597 -0
- package/Helpers/ArtPlayer/models/IArtPlayerTImeCode.d.ts +6 -0
- package/Helpers/ModalDialog/CommonModalDialog.d.ts +2 -1
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +3 -3
- package/Helpers/ReactList/ReactListDynamic.d.ts +1 -0
- package/Helpers/Sortable/Data/ClientModels/ISortableItem.d.ts +7 -1
- package/Helpers/Sortable/Sortable.d.ts +13 -3
- package/Helpers/TextInput.d.ts +2 -0
- package/Helpers/TextInputDialog/Components/TextInputDialogFrame.d.ts +8 -0
- package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +10 -0
- package/Helpers/TextInputDialog/TextInputDialog.d.ts +25 -0
- package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +8 -0
- package/Helpers/TextInputDialog/TextInputDialogHost.d.ts +14 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ILabelTextareaControl.d.ts +1 -1
- package/Legacy/ISignatureDataModel.d.ts +2 -0
- package/Legacy/ISignatureListDataModel.d.ts +1 -1
- package/Legacy/ISignatureListItemDataModel.d.ts +6 -15
- package/Legacy/ISignatureListItemDetailDataModel.d.ts +8 -19
- package/Legacy/ISignatureVerificationDataModel.d.ts +4 -4
- package/Legacy/{ITextareaConrtol.d.ts → ITextareaControl.d.ts} +0 -0
- package/Legacy/LabelTextareaControl.d.ts +1 -1
- package/Legacy/NativeFunctions.d.ts +1 -20
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
- package/Legacy/TextareaControl.d.ts +1 -1
- package/Legacy/Utils.d.ts +7 -0
- package/MainBundle.d.ts +1 -0
- package/Platform/$AggregatesCheckbox.d.ts +1 -0
- package/Platform/$EmployeeStatus.d.ts +6 -2
- package/Platform/$FolderHelp.d.ts +13 -0
- package/Platform/{AcesssInheritanceButtons.d.ts → AccessInheritanceButtons.d.ts} +2 -2
- package/Platform/AggregatesApplyButtonPanel.d.ts +9 -0
- package/Platform/AggregatesCheckbox.d.ts +7 -3
- package/Platform/AggregatesCheckboxPlugins.d.ts +1 -0
- package/Platform/AggregatesCheckboxService.d.ts +17 -6
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsPlugin.d.ts +1 -1
- package/Platform/BottomEdge.d.ts +10 -0
- package/Platform/BottomEdgeBody.d.ts +4 -0
- package/Platform/BottomEdgePlugin.d.ts +4 -0
- package/Platform/CardLink.d.ts +2 -1
- package/Platform/CardManagement.d.ts +5 -1
- package/Platform/CardManagementImpl.d.ts +5 -3
- package/Platform/CardQuotesDataStub.d.ts +19 -0
- package/Platform/CertificateSettings.d.ts +40 -0
- package/Platform/CertificateSettingsContainer.d.ts +10 -0
- package/Platform/CertificateSettingsLogic.d.ts +24 -0
- package/Platform/CertificateSettingsView.d.ts +5 -0
- package/Platform/DateTimePickerImpl.d.ts +1 -0
- package/Platform/DownloadFilesBatchOperation.d.ts +2 -1
- package/Platform/DropdownImpl.d.ts +3 -1
- package/Platform/EmployeeStatusService.d.ts +4 -4
- package/Platform/Favorite.d.ts +1 -0
- package/Platform/FilePicker.d.ts +2 -2
- package/Platform/FilePreview.d.ts +2 -2
- package/Platform/FilePreviewImpl.d.ts +1 -0
- package/Platform/FolderGrid.d.ts +1 -1
- package/Platform/FolderHelpButton.d.ts +7 -0
- package/Platform/FolderHelpDialog.d.ts +9 -0
- package/Platform/FolderHelpPaths.d.ts +2 -0
- package/Platform/FolderHelpPlugins.d.ts +9 -0
- package/Platform/FolderHelpService.d.ts +10 -0
- package/Platform/FolderHelpTimeCodes.d.ts +2 -0
- package/Platform/FolderMainMenuItemImpl.d.ts +1 -1
- package/Platform/FolderManagementAdaptiveMenu.d.ts +1 -1
- package/Platform/{FolderManagmentData.d.ts → FolderManagementData.d.ts} +0 -0
- package/Platform/FolderManagementDialog.d.ts +1 -1
- package/Platform/FolderName.d.ts +2 -1
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderOperationManager.d.ts +1 -1
- package/Platform/FolderViewItemsImpl.d.ts +5 -5
- package/Platform/IAggregates.d.ts +10 -4
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/Number.d.ts +2 -0
- package/Platform/NumberImpl.d.ts +2 -1
- package/Platform/Quotes.d.ts +18 -0
- package/Platform/Quotes.stories.d.ts +8 -0
- package/Platform/QuotesButtonMore.d.ts +6 -0
- package/Platform/QuotesHighlight.d.ts +8 -0
- package/Platform/QuotesInner.d.ts +6 -0
- package/Platform/QuotesItem.d.ts +15 -0
- package/Platform/QuotesLogic.d.ts +40 -0
- package/Platform/QuotesModal.d.ts +14 -0
- package/Platform/QuotesModalButtonBlock.d.ts +6 -0
- package/Platform/QuotesModalQuote.d.ts +6 -0
- package/Platform/QuotesPlugins.d.ts +4 -0
- package/Platform/QuotesView.d.ts +16 -0
- package/Platform/QuotesWrapper.d.ts +6 -0
- package/Platform/ScrollTopBottomButtons.d.ts +1 -0
- package/Platform/ScrollTopBottomLogic.d.ts +2 -0
- package/Platform/SearchResultsFolderTablePluginFactory.d.ts +5 -5
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +3 -3
- package/Platform/SettingsPlugin.d.ts +7 -3
- package/Platform/SettingsPopupCheckBoxContainer.d.ts +1 -0
- package/Platform/SettingsPopupLogic.d.ts +13 -4
- package/Platform/SettingsPopupView.d.ts +2 -0
- package/Platform/Table.d.ts +1 -1
- package/Platform/TableColumnResponseResolver.d.ts +10 -0
- package/Platform/TablePresentationTogglePlugins.d.ts +1 -2
- package/Platform/TestUtils.d.ts +2 -1
- package/Platform/TextControlBaseImpl.d.ts +2 -0
- package/Platform/TextListInputView.d.ts +4 -4
- package/Platform/{ToggleRowAcess.d.ts → ToggleRowAccess.d.ts} +0 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/UtilsQuotes.d.ts +10 -0
- package/Platform/index.d.ts +1 -7
- package/Platform/toLocaleStringPolyfill.d.ts +2 -0
- package/StandardServices.d.ts +4 -1
- package/System/$FileService.d.ts +16 -9
- package/System/$Layout.d.ts +1 -1
- package/System/BlobToBase64.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/FileService.d.ts +14 -15
- package/System/FilterLogic.d.ts +6 -0
- package/System/GenerateTestData.d.ts +2 -0
- package/System/IAsyncControlInfo.d.ts +1 -1
- package/System/ILayoutParams.d.ts +2 -0
- package/System/InputBasedControlImpl.d.ts +1 -0
- package/System/Layout.d.ts +1 -0
- package/System/LayoutManager.d.ts +1 -1
- package/System/LayoutUtils.d.ts +1 -0
- package/System/OperationUtils.d.ts +2 -0
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/{PreventPropogation.d.ts → PreventPropagation.d.ts} +0 -0
- package/System/StringUtils.d.ts +5 -1
- package/package.json +1 -1
- package/BackOffice/FileSignCreateDialog.d.ts +0 -83
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +0 -57
- package/Globals/DVPromise.d.ts +0 -19
- package/Platform/FilterPlugin.d.ts +0 -3
- package/Platform/GropingPlugin.d.ts +0 -3
- package/Platform/ResetSettingsPlugin.d.ts +0 -18
- package/Platform/SearchPlugin.d.ts +0 -3
- package/Platform/toLocaleStringPolifill.d.ts +0 -1
package/System/$FileService.d.ts
CHANGED
|
@@ -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():
|
|
5
|
-
getFileGroups():
|
|
6
|
-
setFileGroups(groups:
|
|
7
|
-
registerFiles(files:
|
|
8
|
-
unRegisterFiles(files:
|
|
9
|
-
addNewFile(file:
|
|
10
|
-
deleteFile(file:
|
|
11
|
-
updateFile(file:
|
|
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:
|
|
21
|
+
selectedFile: IFileServiceItem;
|
|
15
22
|
}
|
|
16
23
|
export declare type $FileService = {
|
|
17
24
|
fileService: IFileService;
|
package/System/$Layout.d.ts
CHANGED
|
@@ -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:/
|
|
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:/
|
|
83
|
+
import("C:/Dev/WebCDev/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
84
84
|
/** @internal */
|
|
85
85
|
state: StateT;
|
|
86
86
|
searchInput: HTMLInputElement;
|
package/System/FileService.d.ts
CHANGED
|
@@ -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:
|
|
6
|
-
files:
|
|
7
|
-
fileGroups:
|
|
4
|
+
_selectedFile: IFileServiceItem;
|
|
5
|
+
files: IFileServiceItem[];
|
|
6
|
+
fileGroups: IFileServiceItem[][];
|
|
8
7
|
constructor();
|
|
9
|
-
get selectedFile():
|
|
10
|
-
set selectedFile(val:
|
|
11
|
-
getFiles():
|
|
12
|
-
getFileGroups():
|
|
13
|
-
setFileGroups(groups:
|
|
14
|
-
registerFiles(files:
|
|
15
|
-
unRegisterFiles(files:
|
|
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:
|
|
20
|
-
deleteFile(fileForDelete:
|
|
21
|
-
updateFile(file:
|
|
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
|
}
|
package/System/FilterLogic.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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> {
|
package/System/Layout.d.ts
CHANGED
|
@@ -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
|
-
|
|
32
|
+
pageLeaveConfirmation: PageLeaveConfirmation;
|
|
33
33
|
private internalMainContentChange;
|
|
34
34
|
protected prevConfirmationModal: ModalWindow;
|
|
35
35
|
/** @internal */
|
package/System/LayoutUtils.d.ts
CHANGED
|
@@ -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;
|
|
File without changes
|
package/System/StringUtils.d.ts
CHANGED
|
@@ -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,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
|
-
}
|
package/Globals/DVPromise.d.ts
DELETED
|
@@ -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,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 +0,0 @@
|
|
|
1
|
-
/** EMPTY FILE */
|