@docsvision/webclient 5.17.3 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementStageEmployeesLoader.d.ts +3 -0
- package/BackOffice/$DigitalSignature.d.ts +0 -2
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/CardKindImpl.d.ts +1 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/CommandMenuComponent.d.ts +1 -1
- package/BackOffice/Comments.d.ts +2 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +3 -5
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -5
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectoryEntryModal.d.ts +2 -0
- package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +0 -1
- package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
- package/BackOffice/DssSignRequestModels.d.ts +2 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/EmployeeImpl.d.ts +0 -5
- package/BackOffice/ExistingCardLinkDialog.d.ts +2 -1
- package/BackOffice/FileListConstants.d.ts +0 -4
- package/BackOffice/FileListControl.d.ts +9 -13
- package/BackOffice/FileListControlLogic.d.ts +10 -4
- package/BackOffice/FileListItemComponent.d.ts +1 -0
- package/BackOffice/FileListItemProps.d.ts +2 -2
- package/BackOffice/FileListItemState.d.ts +3 -1
- package/BackOffice/FileSignListDialog.d.ts +2 -10
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/ICertificateStatus.d.ts +5 -4
- package/BackOffice/IFileOpenRequestModel.d.ts +13 -0
- package/BackOffice/Links.d.ts +2 -2
- package/BackOffice/LinksImpl.d.ts +1 -1
- package/BackOffice/NumeratorImpl.d.ts +2 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerSelectDialog.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SetDisplayName.d.ts +2 -0
- package/BackOffice/SignatureDialog.d.ts +2 -11
- package/BackOffice/SignatureDialog.stories.d.ts +0 -13
- package/BackOffice/SignatureDialogFrame.d.ts +0 -2
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +0 -20
- package/BackOffice/SignatureDialogMethods.d.ts +2 -2
- package/BackOffice/SignatureDialogSettings.d.ts +2 -2
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectorySelectDialog.d.ts +0 -1
- package/BackOffice/TaskListItemComponent.d.ts +1 -1
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/Utils.d.ts +0 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +1936 -2029
- package/Generated/DocsVision.WebClient.Models.d.ts +4578 -6845
- package/Helpers/Button.d.ts +0 -2
- package/Helpers/ComandBarButton.d.ts +0 -2
- package/Helpers/ComboBox/ComboBoxElement.d.ts +3 -3
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +3 -1
- package/Helpers/ComboBox/Data/ClientModels/IComboBoxElement.d.ts +0 -2
- package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
- package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +1 -1
- package/Helpers/IconButton.d.ts +0 -2
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LabeledText.d.ts +3 -1
- package/Helpers/ModalDialog/ModalDialog.d.ts +0 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +4 -3
- package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
- package/Helpers/Table/TableHelperRow.d.ts +0 -1
- package/Legacy/ApprovalFilePanel.d.ts +14 -4
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/DocumentCard.d.ts +1 -1
- package/Legacy/DocumentPanel.d.ts +0 -2
- package/Legacy/ISignatureListItemDataModel.d.ts +0 -1
- package/Legacy/LinkControl.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +13 -4
- package/Legacy/TaskCardView.d.ts +1 -0
- package/Legacy/Utils.d.ts +5 -0
- package/Platform/$CommandBarManagement.d.ts +4 -4
- package/Platform/$GridOptions.d.ts +0 -1
- package/Platform/$ScanDialog.d.ts +4 -4
- package/Platform/AutoConsolidation.d.ts +2 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/ButtonPositionsSelection.d.ts +1 -1
- package/Platform/CardLink.d.ts +8 -6
- package/Platform/CardLinkImpl.d.ts +1 -1
- package/Platform/CardManagement.d.ts +2 -1
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/CommentFile.d.ts +5 -4
- package/Platform/CommentFileImpl.d.ts +6 -1
- package/Platform/DateTimePickerImpl.d.ts +2 -2
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +1 -1
- package/Platform/ExportESignButton.d.ts +0 -2
- package/Platform/FileExtensions.d.ts +4 -1
- package/Platform/FilePreview.d.ts +5 -2
- package/Platform/FilePreviewImpl.d.ts +4 -9
- package/Platform/FileViewer.d.ts +24 -0
- package/Platform/FolderCardsDashboardWidget.d.ts +0 -2
- package/Platform/FolderViewItemsImpl.d.ts +8 -8
- package/Platform/GetDocType.d.ts +1 -0
- package/Platform/GetFileType.d.ts +1 -0
- package/Platform/IsImageExtension.d.ts +1 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/PdfjsViewer.d.ts +13 -0
- package/Platform/R7Viewer.d.ts +13 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +0 -2
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +2 -2
- package/Platform/ScanButtonImpl.d.ts +1 -0
- package/Platform/ScanDialogService.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/SettingsPopupLogic.d.ts +1 -1
- package/Platform/Table.d.ts +10 -0
- package/Platform/TableImpl.d.ts +1 -0
- package/Platform/TextListInputView.d.ts +2 -2
- package/Platform/UnreadBarService.d.ts +2 -2
- package/Platform/UnreadBarTablePlugins.d.ts +2 -2
- package/Platform/UnreadCounter.d.ts +1 -2
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/README.md +1 -1
- package/System/$FileService.d.ts +2 -0
- package/System/$LastSearchResponse.d.ts +2 -2
- package/System/$RealtimeCommunicationService.d.ts +2 -0
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/CheckIsLinux.d.ts +1 -0
- package/System/{BaseController.d.ts → ControllerBase.d.ts} +1 -1
- package/System/Decorators.d.ts +7 -7
- package/System/DirectoryBaseImpl.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -3
- package/System/FileService.d.ts +4 -0
- package/System/InputBasedControlImpl.d.ts +2 -1
- package/System/JsonUtils.d.ts +1 -0
- package/System/LastSearchResponseService.d.ts +3 -3
- package/System/RealtimeCommunicationService.d.ts +3 -1
- package/System/RealtimeServerSender.d.ts +1 -2
- package/System/ResourcesStub.d.ts +2 -62
- package/System/ServerController.d.ts +2 -2
- package/System/ServiceActionMetaData.d.ts +2 -2
- package/System/StringUtils.d.ts +1 -1
- package/System/Summernote.d.ts +0 -2
- package/System/WebServicesService.d.ts +2 -2
- package/package.json +1 -1
- package/Account/AddBackgroundMovementEffect.d.ts +0 -2
- package/BackOffice/CheckSectionAccessRights.d.ts +0 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +0 -7
- package/BackOffice/ConvertResponseToTree.d.ts +0 -4
- package/BackOffice/DeleteSection.d.ts +0 -2
- package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
- package/BackOffice/FindSection.d.ts +0 -9
- package/BackOffice/GetPowersIconClassName.d.ts +0 -7
- package/BackOffice/GetPowersRootSectionId.d.ts +0 -5
- package/BackOffice/GetSearchItemsType.d.ts +0 -2
- package/BackOffice/IExtraFileAdded.d.ts +0 -3
- package/BackOffice/IFileTypeChangeArgs.d.ts +0 -4
- package/BackOffice/IMainFileAdded.d.ts +0 -3
- package/BackOffice/INewFileList.d.ts +0 -3
- package/BackOffice/IPowerModel.d.ts +0 -10
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +0 -11
- package/BackOffice/IPowersDialog.d.ts +0 -5
- package/BackOffice/IPowersDirectoryOptions.d.ts +0 -12
- package/BackOffice/IPowersTreeRow.d.ts +0 -6
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyInfo.d.ts +0 -11
- package/BackOffice/Powers.d.ts +0 -72
- package/BackOffice/Powers.stories.d.ts +0 -19
- package/BackOffice/PowersDialogLocations.d.ts +0 -3
- package/BackOffice/PowersDirectory.d.ts +0 -49
- package/BackOffice/PowersDirectory.stories.d.ts +0 -20
- package/BackOffice/PowersDirectoryConstants.d.ts +0 -12
- package/BackOffice/PowersDirectoryContainer.d.ts +0 -7
- package/BackOffice/PowersDirectoryHead.d.ts +0 -7
- package/BackOffice/PowersDirectoryInfo.d.ts +0 -16
- package/BackOffice/PowersDirectoryLogic.d.ts +0 -172
- package/BackOffice/PowersDirectorySaveExpandedState.d.ts +0 -5
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +0 -17
- package/BackOffice/PowersDirectoryView.d.ts +0 -61
- package/BackOffice/PowersImpl.d.ts +0 -72
- package/BackOffice/PowersRootSectionConstants.d.ts +0 -17
- package/BackOffice/PowersSelectDialog.d.ts +0 -74
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +0 -2
- package/BackOffice/SignatureDialogPowersOfAttorney.d.ts +0 -9
- package/BackOffice/ToSearchArea.d.ts +0 -3
- package/Platform/SkipSavingCursorRequestResolver.d.ts +0 -12
- package/System/IRealtimeCommunicationHub.d.ts +0 -15
package/Helpers/Button.d.ts
CHANGED
|
@@ -74,8 +74,6 @@ export interface IButtonProperties {
|
|
|
74
74
|
backgroundColor?: string;
|
|
75
75
|
/** Цвет текста кнопки. */
|
|
76
76
|
textColor?: string;
|
|
77
|
-
/** Атрибут для cypress-тестирования */
|
|
78
|
-
dataTestId?: string;
|
|
79
77
|
}
|
|
80
78
|
/** @internal Режимы выравнивания кнопки. */
|
|
81
79
|
export declare enum ButtonAlignModes {
|
|
@@ -20,8 +20,6 @@ export interface ICommandBarButtonProps {
|
|
|
20
20
|
tabIndex?: number;
|
|
21
21
|
/** Класс иконки. */
|
|
22
22
|
iconClassName?: string;
|
|
23
|
-
/** Атрибут для cypress-тестирования */
|
|
24
|
-
dataTestId?: string;
|
|
25
23
|
}
|
|
26
24
|
/**
|
|
27
25
|
* @internal Представляет собой анимированную кнопку, которая выглядит как знак "+" в свёрнутом состоянии, и как "x" в развёрнутом.
|
|
@@ -11,8 +11,6 @@ export interface IComboBoxElementProps {
|
|
|
11
11
|
selected?: boolean;
|
|
12
12
|
/** Имеет ли элемент фокус в данный момент */
|
|
13
13
|
focused?: boolean;
|
|
14
|
-
/** Текст всплывающей подсказки */
|
|
15
|
-
tooltip?: string;
|
|
16
14
|
/** При нажатии на элемент */
|
|
17
15
|
onMouseDown?: Function;
|
|
18
16
|
/** При выборе элемента */
|
|
@@ -27,6 +25,8 @@ export interface IComboBoxElementProps {
|
|
|
27
25
|
onFocusPrev?: () => void;
|
|
28
26
|
/** Идентификатор */
|
|
29
27
|
id?: string;
|
|
28
|
+
/** Числовой код элемента в списке */
|
|
29
|
+
code?: number;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @internal Элемент выпадающего списка комбобокса.
|
|
@@ -44,7 +44,7 @@ export declare class ComboBoxElement extends React.Component<IComboBoxElementPro
|
|
|
44
44
|
*/
|
|
45
45
|
protected onSelect: () => void;
|
|
46
46
|
protected onKeyDown: (e: React.KeyboardEvent<any>) => void;
|
|
47
|
-
get tabIndex():
|
|
47
|
+
get tabIndex(): 0 | -1;
|
|
48
48
|
/**
|
|
49
49
|
* Фокусирует элемент
|
|
50
50
|
*/
|
|
@@ -16,6 +16,8 @@ export interface IComboBoxTitleProps {
|
|
|
16
16
|
onFocus?: (event: React.FocusEvent<any>) => void;
|
|
17
17
|
/** При снятии фокуса у заголовка */
|
|
18
18
|
onBlur?: (event: React.FocusEvent<any>) => void;
|
|
19
|
+
/** Должен ли элемент фокусироваться при монтировании */
|
|
20
|
+
autoFocus?: boolean;
|
|
19
21
|
}
|
|
20
22
|
/**
|
|
21
23
|
* @internal Заголовок комбобокса.
|
|
@@ -30,7 +32,7 @@ export declare class ComboBoxTitle extends React.Component<IComboBoxTitleProps,
|
|
|
30
32
|
protected onClick: () => void;
|
|
31
33
|
protected onKeyDown: (e: React.KeyboardEvent<any>) => void;
|
|
32
34
|
/** @internal */
|
|
33
|
-
get tabIndex():
|
|
35
|
+
get tabIndex(): 0 | -1;
|
|
34
36
|
componentDidMount(): void;
|
|
35
37
|
componentWillUnmount(): void;
|
|
36
38
|
/** @internal */
|
|
@@ -3,8 +3,6 @@ export interface IComboBoxElement {
|
|
|
3
3
|
id: string;
|
|
4
4
|
/** Отображаемый заголовок элемента */
|
|
5
5
|
title: string;
|
|
6
|
-
/** Текст всплывающей подсказки */
|
|
7
|
-
tooltip?: string;
|
|
8
6
|
/** Запретить взаимодействие с элементом в списке */
|
|
9
7
|
disabled?: boolean;
|
|
10
8
|
/** Объект с любыми пользовательскими данными (по умолчанию - undefined) */
|
|
@@ -19,7 +19,7 @@ export interface ICustomTreeNodeProps {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare class CustomTreeNode extends React.Component<ICustomTreeNodeProps, undefined> {
|
|
21
21
|
protected onClick: () => void;
|
|
22
|
-
get tabIndex():
|
|
22
|
+
get tabIndex(): 0 | -1;
|
|
23
23
|
/** @internal */
|
|
24
24
|
render(): JSX.Element;
|
|
25
25
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DVWebToolConnection {
|
|
|
12
12
|
static trySendDataEx<RequestT, ResponseT>(webService: string, data: IWebServicesRequest<RequestT>, services: $WebServices & $ApplicationSettings & $MessageBox, maxTryCount?: number): Promise<ResponseT>;
|
|
13
13
|
static tryConnect<RequestT, ResponseT>(webService: string, services: $WebServices & $ApplicationSettings & $MessageBox): Promise<IWebServicesConnection>;
|
|
14
14
|
static tryConnectEx<RequestT, ResponseT>(webService: string, services: $WebServices & $ApplicationSettings & $MessageBox, maxTryCount?: number): Promise<IWebServicesConnection>;
|
|
15
|
-
static renderModalWindow(container: HTMLElement, services: $WebServices & $ApplicationSettings & $MessageBox): void
|
|
15
|
+
static renderModalWindow(container: HTMLElement, services: $WebServices & $ApplicationSettings & $MessageBox): Promise<void>;
|
|
16
16
|
}
|
package/Helpers/IconButton.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ export declare class InputMaskView {
|
|
|
9
9
|
inputMask: typeof InputMask;
|
|
10
10
|
input:
|
|
11
11
|
import("react").ForwardRefExoticComponent<Pick<
|
|
12
|
-
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "
|
|
12
|
+
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "isError"> &
|
|
13
13
|
import("react").RefAttributes<HTMLInputElement>>;
|
|
14
14
|
}
|
|
@@ -4,4 +4,4 @@ import { HtmlProps } from '@docsvision/web/core/component/HtmlProps';
|
|
|
4
4
|
export interface IInputMaskFieldProps extends HtmlProps.input {
|
|
5
5
|
isError: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const InputMaskField: React.ForwardRefExoticComponent<Pick<IInputMaskFieldProps, "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "id" | "disabled" | "onSubmit" | "autoComplete" | "type" | "placeholder" | "value" | "autoFocus" | "dir" | "className" | "color" | "height" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "
|
|
7
|
+
export declare const InputMaskField: React.ForwardRefExoticComponent<Pick<IInputMaskFieldProps, "form" | "slot" | "style" | "title" | "pattern" | "children" | "name" | "id" | "disabled" | "onSubmit" | "autoComplete" | "type" | "placeholder" | "value" | "autoFocus" | "dir" | "className" | "color" | "height" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "isError"> & React.RefAttributes<HTMLInputElement>>;
|
package/Helpers/LabeledText.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface ILabeledText {
|
|
|
13
13
|
visible?: boolean;
|
|
14
14
|
className?: string;
|
|
15
15
|
/** Click on text element handler */
|
|
16
|
-
onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
|
|
16
|
+
onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any> | React.FocusEvent<any>) => void;
|
|
17
17
|
/** Click on icon element handler */
|
|
18
18
|
onIconClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
|
|
19
19
|
/** Ref to text element handler */
|
|
@@ -49,6 +49,8 @@ export interface ILabeledText {
|
|
|
49
49
|
valueTitle?: string;
|
|
50
50
|
/** Tab index for case, when onTextClick specified */
|
|
51
51
|
tabIndex?: number;
|
|
52
|
+
/** Tab index for label icon*/
|
|
53
|
+
tabIndexIcon?: number;
|
|
52
54
|
/** Text content aligning. */
|
|
53
55
|
align?: LabeledTextAlign;
|
|
54
56
|
/** Use custom element instead text */
|
|
@@ -41,7 +41,7 @@ export interface IPopoverProps {
|
|
|
41
41
|
/** Событие click вне всплывающего окна. */
|
|
42
42
|
onClickOutside?: (ev: MouseEvent) => void;
|
|
43
43
|
/** Событие click внутри всплывающего окна. */
|
|
44
|
-
onClickInside?: (ev: MouseEvent) => void;
|
|
44
|
+
onClickInside?: (ev: MouseEvent, element?: Popover) => void;
|
|
45
45
|
/** Событие нажатия Enter (срабатывает, даже когда фокус вне модального окна). */
|
|
46
46
|
onEnterPressed?: (ev: KeyboardEvent) => void;
|
|
47
47
|
/** Событие нажатия Esc (срабатывает, даже когда фокус вне модального окна). */
|
|
@@ -53,8 +53,8 @@ export interface IPopoverProps {
|
|
|
53
53
|
className?: string;
|
|
54
54
|
/** Минимальная ширина. */
|
|
55
55
|
minWidth?: string;
|
|
56
|
-
/**
|
|
57
|
-
|
|
56
|
+
/** Ширина всплывающего окна */
|
|
57
|
+
width?: string;
|
|
58
58
|
/** Координаты клика мыши. */
|
|
59
59
|
pageCoordinates?: any;
|
|
60
60
|
/** Показывает необходимость обработать событие contextmenu. */
|
|
@@ -185,6 +185,7 @@ export declare class Popover extends React.Component<IPopoverProps, IPopoverStat
|
|
|
185
185
|
private moveDraggableIntoView;
|
|
186
186
|
private updateTopPosition;
|
|
187
187
|
addVerticalOffset(offset: number): void;
|
|
188
|
+
private getWidthPopover;
|
|
188
189
|
private updateHorizontalPosition;
|
|
189
190
|
private renderPopover;
|
|
190
191
|
/** @internal */
|
|
@@ -30,7 +30,7 @@ export declare class SliderCheckBox extends React.Component<SliderCheckBoxProps,
|
|
|
30
30
|
constructor(props: SliderCheckBoxProps);
|
|
31
31
|
protected get canEdit(): boolean;
|
|
32
32
|
protected handleCheckBoxClick(event: any): void;
|
|
33
|
-
protected getTabIndex():
|
|
33
|
+
protected getTabIndex(): 0 | -1;
|
|
34
34
|
protected getCssClass(): string;
|
|
35
35
|
/** @internal */
|
|
36
36
|
render(): JSX.Element;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { IBasicEvent } from '@docsvision/webclient/System/IBasicEvent';
|
|
2
2
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
3
|
-
import { $CardTimestamp } from '@docsvision/webclient/System/LayoutServices';
|
|
3
|
+
import { $CardId, $CardInfo, $CardTimestamp } from '@docsvision/webclient/System/LayoutServices';
|
|
4
4
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
5
5
|
import { $FileService } from "@docsvision/webclient/System/$FileService";
|
|
6
|
-
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
6
|
+
import { $ApplicationSettings, $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
7
|
+
import { $LayoutFileController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
8
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
9
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
10
|
+
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
7
11
|
export declare class ApprovalFilePanel {
|
|
8
12
|
static ControlTypeName: string;
|
|
9
13
|
private static FileLinkCssClass;
|
|
10
14
|
private static FileSettingsCssClass;
|
|
11
|
-
private static DownloadMenuItemsCssClass;
|
|
12
15
|
private static FileItemCssClass;
|
|
13
16
|
private static FileVersionCssClass;
|
|
14
17
|
private static VersionSettingsCssClass;
|
|
@@ -28,7 +31,8 @@ export declare class ApprovalFilePanel {
|
|
|
28
31
|
private taskId;
|
|
29
32
|
private disclosureId;
|
|
30
33
|
private controlReloadRequested;
|
|
31
|
-
services: $CardTimestamp & $RequestManager & $FileService & $ApplicationSettings;
|
|
34
|
+
services: $CardTimestamp & $RequestManager & $FileService & $ApplicationSettings & $R7OfficeController & $SiteUrl & $CardInfo & $CardId & $Layout & $LayoutFileController & $WebServices & $MessageBox;
|
|
35
|
+
openedInEditorFiles: string[];
|
|
32
36
|
get ControlReloadRequested(): IBasicEvent<IEventArgs>;
|
|
33
37
|
constructor(filePanelId: string);
|
|
34
38
|
private Initialize;
|
|
@@ -38,6 +42,12 @@ export declare class ApprovalFilePanel {
|
|
|
38
42
|
private SelectEventClick;
|
|
39
43
|
private SettingEventHandler;
|
|
40
44
|
private VersionEventHandler;
|
|
45
|
+
private updateOpenFileMenuSettings;
|
|
46
|
+
getVisibilityOpenFileButton(fileId: string): boolean;
|
|
47
|
+
openFile(fileCardId: string, fileId: string, currentFileId: string, fileName: string, readonly: boolean, approvalDocumentId: string): Promise<void>;
|
|
48
|
+
private getOpenFileRequestData;
|
|
49
|
+
private sendOpenFileRequest;
|
|
50
|
+
private sendOpenFileDvWebTool;
|
|
41
51
|
getExpandedVersions(): string[];
|
|
42
52
|
expandVersions(fileId: string, expand?: boolean): void;
|
|
43
53
|
private ShowVersions;
|
|
@@ -54,7 +54,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
54
54
|
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
55
55
|
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
56
56
|
getSelection():
|
|
57
|
-
import("
|
|
57
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
58
58
|
clearSelection(cardIds?: string[]): void;
|
|
59
59
|
selectionChanged: SimpleEvent<any>;
|
|
60
60
|
protected addActionButtons(header: HTMLElement): void;
|
package/Legacy/DocumentCard.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { IRequestInfo } from "@docsvision/webclient/System/RequestMethods";
|
|
|
5
5
|
import { ServerController } from "@docsvision/webclient/System/ServerController";
|
|
6
6
|
export declare class DocumentCardController extends ServerController {
|
|
7
7
|
GetSignature(documentId: string): Promise<ISignatureDataModel>;
|
|
8
|
-
GetSignatures(documentId: string): Promise<ISignatureListDataModel>;
|
|
8
|
+
GetSignatures(documentId: string, verify?: boolean): Promise<ISignatureListDataModel>;
|
|
9
9
|
GetSignatureVerification(documentId: string, signatureId: string): Promise<ISignatureVerificationDataModel>;
|
|
10
10
|
protected sendRequest(requestInfo: IRequestInfo): Promise<any>;
|
|
11
11
|
}
|
|
@@ -3,8 +3,6 @@ import { IBasicEvent } from '@docsvision/webclient/System/IBasicEvent';
|
|
|
3
3
|
/** @internal */
|
|
4
4
|
export declare class DocumentPanel {
|
|
5
5
|
private static FileSettingsCssClass;
|
|
6
|
-
private static DocumentItemCssClass;
|
|
7
|
-
private static DownloadMenuItemsCssClass;
|
|
8
6
|
private static FileLinkCssClass;
|
|
9
7
|
private static FileDocumentLinkCssClass;
|
|
10
8
|
private static DocumentUnLinkCssClass;
|
|
@@ -7,5 +7,4 @@ export interface ISignatureListItemDataModel extends GenModels.DocumentSignature
|
|
|
7
7
|
validationState: GenModels.ValidationState;
|
|
8
8
|
signatureKind: string;
|
|
9
9
|
signatureDetails: ISignatureListItemDetailDataModel[];
|
|
10
|
-
powerOfAttorneyData: GenModels.PowerOfAttorneyVerificationModel;
|
|
11
10
|
}
|
package/Legacy/LinkControl.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class LinkControl {
|
|
|
21
21
|
constructor(rootElementId: string);
|
|
22
22
|
get IsReportMode(): boolean;
|
|
23
23
|
set IsReportMode(value: boolean);
|
|
24
|
-
AddFileLink(documentIds: any): void
|
|
24
|
+
AddFileLink(documentIds: any): Promise<void>;
|
|
25
25
|
private Init;
|
|
26
26
|
private initFilesHandlers;
|
|
27
27
|
private InitAttachFileLink;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $BarcodeSearchButtonController, $BusinessCalendarController, $ClientLogController, $CommentsController, $LayoutAgreementController, $LayoutCardController, $LayoutCardKindController, $LayoutController, $LayoutDirectoryDesignerController, $LayoutDocumentController, $LayoutFileApiController, $LayoutFileController, $LayoutFolderController, $LayoutHistoryController, $LayoutLinksController, $LayoutPartnerController, $LayoutStaffController, $LayoutTasksController, $LayoutUserSettingsController, $LocalizationController, $PagesController, $CardKindController, $DirectoryDesignerRowController, $EmployeeController, $DepartmentController, $PartnerEmployeeController, $SignatureController, $GridController, $CardDataController, $LayoutRowController, $StaffDirectoryItemsController, $FilePickerController, $TaskGroupPerformersController, $DataVisualizationController, $TasksTreeController, $CardController, $CardsPresentationController, $CardOperationsController, $SecurityController, $BaseCardController, $SignatureMethodsController, $
|
|
1
|
+
import { $BarcodeSearchButtonController, $BusinessCalendarController, $ClientLogController, $CommentsController, $LayoutAgreementController, $LayoutCardController, $LayoutCardKindController, $LayoutController, $LayoutDirectoryDesignerController, $LayoutDocumentController, $LayoutFileApiController, $LayoutFileController, $LayoutFolderController, $LayoutHistoryController, $LayoutLinksController, $LayoutPartnerController, $LayoutStaffController, $LayoutTasksController, $LayoutUserSettingsController, $LocalizationController, $PagesController, $CardKindController, $DirectoryDesignerRowController, $EmployeeController, $DepartmentController, $PartnerEmployeeController, $SignatureController, $GridController, $CardDataController, $LayoutRowController, $StaffDirectoryItemsController, $FilePickerController, $TaskGroupPerformersController, $DataVisualizationController, $TasksTreeController, $CardController, $CardsPresentationController, $CardOperationsController, $SecurityController, $BaseCardController, $SignatureMethodsController, $TaskCardController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
3
3
|
import { $EmployeesController } from "@docsvision/webclient/Legacy/EmployeesController";
|
|
4
4
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
5
|
-
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController & $CardController & $BaseCardController & $SignatureMethodsController & $
|
|
5
|
+
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController & $CardController & $BaseCardController & $SignatureMethodsController & $TaskCardController & $R7OfficeController;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { $LayoutCardController, $LayoutFileApiController, $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $LayoutCardController, $LayoutFileApiController, $LayoutFileController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
4
|
import { BaseRazorControl, BaseRazorControlParams, BaseRazorControlState } from "@docsvision/webclient/Legacy/BaseRazorControl";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
@@ -13,11 +13,13 @@ import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
|
13
13
|
import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
14
14
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
15
15
|
import { $FileController } from '@docsvision/webclient/Legacy/FileController';
|
|
16
|
-
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
16
|
+
import { $ApplicationSettings, $DeviceType, $SiteUrl } from '@docsvision/webclient/StandardServices';
|
|
17
17
|
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
18
18
|
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
19
19
|
import { ICardOpenedByWebDavMessage } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
20
20
|
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
21
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
22
|
+
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
21
23
|
/**@internal */
|
|
22
24
|
declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutFileController & $CardId & $DeviceType;
|
|
23
25
|
/** @internal */
|
|
@@ -27,7 +29,7 @@ export declare class TaskCardFilePanelParams extends BaseRazorControlParams {
|
|
|
27
29
|
fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
|
|
28
30
|
/** Событие возникает после загрузки версии файла. */
|
|
29
31
|
fileVersionUploaded?: BasicApiEvent<IEventArgs>;
|
|
30
|
-
services?: $LayoutCardController & $Layout & $Router & $LayoutInfo & $ApplicationSettings & $CardTimestamp & $FileService & $FilePreviewServices & $LayoutFileApiController & $RealtimeCommunicationService;
|
|
32
|
+
services?: $LayoutCardController & $Layout & $Router & $LayoutInfo & $ApplicationSettings & $WebServices & $MessageBox & $CardTimestamp & $FileService & $FilePreviewServices & $LayoutFileApiController & $RealtimeCommunicationService & $R7OfficeController & $SiteUrl;
|
|
31
33
|
}
|
|
32
34
|
/** @internal */
|
|
33
35
|
export interface TaskCardFilePanelState extends TaskCardFilePanelParams, BaseRazorControlState {
|
|
@@ -41,6 +43,7 @@ export declare class TaskCardFilePanelRazorControl extends BaseRazorControl<Task
|
|
|
41
43
|
private needPrepareItems;
|
|
42
44
|
private control;
|
|
43
45
|
addShadowClass: boolean;
|
|
46
|
+
openedInEditorFiles: string[];
|
|
44
47
|
protected construct(): void;
|
|
45
48
|
loadFilesAsync(): Promise<unknown>;
|
|
46
49
|
protected createParams(): TaskCardFilePanelParams;
|
|
@@ -49,9 +52,15 @@ export declare class TaskCardFilePanelRazorControl extends BaseRazorControl<Task
|
|
|
49
52
|
findControlsForUpdateDisclosure: (addOnlyShadowClass?: boolean) => void;
|
|
50
53
|
componentDidMount(): void;
|
|
51
54
|
componentWillUnmount(): void;
|
|
52
|
-
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) =>
|
|
55
|
+
protected onDocumentChangedAndSavedByWebdav: (msg: IRealTimeCommunicationMessage<ICardOpenedByWebDavMessage>) => void;
|
|
53
56
|
componentDidUpdate(prevProps: any): void;
|
|
54
57
|
private updatePreview;
|
|
58
|
+
private updateOpenFileMenuSettings;
|
|
59
|
+
getVisibilityOpenFileButton(fileId: string): boolean;
|
|
60
|
+
openFile(fileCardId: string, fileId: string, currentFileId: string, fileName: string, documentId: string, readonly: boolean, documentFileCardId: string): Promise<void>;
|
|
61
|
+
private getOpenFileRequestData;
|
|
62
|
+
private sendOpenFileRequest;
|
|
63
|
+
private sendOpenFileDvWebTool;
|
|
55
64
|
private addPreviewHandlers;
|
|
56
65
|
private getVersionedFileModel;
|
|
57
66
|
private saveFileItemsInService;
|
package/Legacy/TaskCardView.d.ts
CHANGED
package/Legacy/Utils.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare class Helpers {
|
|
|
18
18
|
static SetNumericControl(control: HTMLElement, callback?: Function): void;
|
|
19
19
|
static InsertAfter(newElement: any, targetElement: any): void;
|
|
20
20
|
static CapitalizeFirstLatter(str: string): string;
|
|
21
|
+
static HideLoadingBar(): void;
|
|
21
22
|
/** cspell:ignore toogle */
|
|
22
23
|
private toogle;
|
|
23
24
|
static RunScripts(headerFolderName: HTMLElement): void;
|
|
@@ -80,6 +81,7 @@ export declare class Helpers {
|
|
|
80
81
|
static getHashCode(str: string): number;
|
|
81
82
|
static FindControlOnLayout: (name: string) => any;
|
|
82
83
|
static CheckRouteSemantic: (semantic: StandardRouteSemantics) => boolean;
|
|
84
|
+
static IsGuid(input: string): boolean;
|
|
83
85
|
}
|
|
84
86
|
export declare function setHtmlElementText(elem: HTMLElement, text: string): void;
|
|
85
87
|
export declare function getHtmlElementText(elem: HTMLElement): string;
|
|
@@ -101,6 +103,7 @@ export declare class ErrorHelper {
|
|
|
101
103
|
static RequestNotSupported(): void;
|
|
102
104
|
static RequestError(errorText: string): void;
|
|
103
105
|
static CertificateNotFound(errorText: string): void;
|
|
106
|
+
static CertificateHasNoPrivateKey(): void;
|
|
104
107
|
}
|
|
105
108
|
/** Затемнение на весь экран с отображением анимации загрузки. */
|
|
106
109
|
export declare class ProgressOverlay {
|
|
@@ -143,6 +146,8 @@ export declare enum RequestRejectValues {
|
|
|
143
146
|
export interface RequestOptions {
|
|
144
147
|
/** Возвращать полученный ответ без предварительной обработки */
|
|
145
148
|
returnRawResponse?: boolean;
|
|
149
|
+
/** Возвращать полученный ответ ошибки без предварительной обработки */
|
|
150
|
+
returnRawError?: boolean;
|
|
146
151
|
/** Выполнять ли запрос асинхронном режиме (по умолчанию true). */
|
|
147
152
|
isAsync?: boolean;
|
|
148
153
|
/** Отключить кеширование запроса (по умолчанию true). */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
2
2
|
import { IMainFileAddingArgs } from '@docsvision/webclient/BackOffice/IMainFileAddingArgs';
|
|
3
|
+
import { IMainFileAddedArgs } from '@docsvision/webclient/BackOffice/IMainFileAddedArgs';
|
|
3
4
|
import { IExtraFileAddingArgs } from '@docsvision/webclient/BackOffice/IExtraFileAddingArgs';
|
|
4
|
-
import {
|
|
5
|
-
import { IExtraFileAdded } from '@docsvision/webclient/BackOffice/IExtraFileAdded';
|
|
5
|
+
import { IExtraFileAddedArgs } from '@docsvision/webclient/BackOffice/IExtraFileAddedArgs';
|
|
6
6
|
export interface ICommandBarManagementService {
|
|
7
7
|
mainFileAdding: CancelableApiEvent<IMainFileAddingArgs>;
|
|
8
8
|
extraFileAdding: CancelableApiEvent<IExtraFileAddingArgs>;
|
|
9
|
-
mainFileAdded: BasicApiEvent<
|
|
10
|
-
extraFileAdded: BasicApiEvent<
|
|
9
|
+
mainFileAdded: BasicApiEvent<IMainFileAddedArgs>;
|
|
10
|
+
extraFileAdded: BasicApiEvent<IExtraFileAddedArgs>;
|
|
11
11
|
canAddMain: boolean;
|
|
12
12
|
canAddExtra: boolean;
|
|
13
13
|
isFilesExpanded(): boolean;
|
|
@@ -3,16 +3,16 @@ import { ImageType } from '@docsvision/webclient/Platform/ImageType';
|
|
|
3
3
|
import { ScanInfo } from '@docsvision/webclient/Platform/RotateDirection';
|
|
4
4
|
import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
5
5
|
import { IMainFileAddingArgs } from '@docsvision/webclient/BackOffice/IMainFileAddingArgs';
|
|
6
|
+
import { IMainFileAddedArgs } from '@docsvision/webclient/BackOffice/IMainFileAddedArgs';
|
|
6
7
|
import { IExtraFileAddingArgs } from '@docsvision/webclient/BackOffice/IExtraFileAddingArgs';
|
|
7
|
-
import {
|
|
8
|
-
import { IExtraFileAdded } from '@docsvision/webclient/BackOffice/IExtraFileAdded';
|
|
8
|
+
import { IExtraFileAddedArgs } from '@docsvision/webclient/BackOffice/IExtraFileAddedArgs';
|
|
9
9
|
export interface ScanDialogProps {
|
|
10
10
|
operationName: string;
|
|
11
11
|
isMain: boolean;
|
|
12
12
|
mainFileAdding?: CancelableApiEvent<IMainFileAddingArgs>;
|
|
13
13
|
extraFileAdding?: CancelableApiEvent<IExtraFileAddingArgs>;
|
|
14
|
-
mainFileAdded?: BasicApiEvent<
|
|
15
|
-
extraFileAdded?: BasicApiEvent<
|
|
14
|
+
mainFileAdded?: BasicApiEvent<IMainFileAddedArgs>;
|
|
15
|
+
extraFileAdded?: BasicApiEvent<IExtraFileAddedArgs>;
|
|
16
16
|
onLoaded?: () => void;
|
|
17
17
|
}
|
|
18
18
|
export interface ScanDialogState {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { $TaskCardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
1
2
|
import { AutoConsolidationImpl, IAutoConsolidationState } from '@docsvision/webclient/Platform/AutoConsolidationImpl';
|
|
2
3
|
import { $ApplicationSettings, $SiteUrl } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
import { BaseControl, BaseControlParams } from '@docsvision/webclient/System/BaseControl';
|
|
@@ -30,7 +31,7 @@ export declare class AutoConsolidationParams extends BaseControlParams {
|
|
|
30
31
|
* false - ширина кнопки определяется содержимым.
|
|
31
32
|
*/
|
|
32
33
|
stretchWidth?: boolean;
|
|
33
|
-
services?: $Layout & $RequestManager & $SiteUrl & $WebServices & $CardInfo & $ApplicationSettings & $EditOperationStore & $RealtimeCommunicationService & $ControlStore & $MessageBox & $LocalStorage;
|
|
34
|
+
services?: $Layout & $RequestManager & $SiteUrl & $WebServices & $CardInfo & $ApplicationSettings & $EditOperationStore & $RealtimeCommunicationService & $ControlStore & $MessageBox & $LocalStorage & $TaskCardController;
|
|
34
35
|
}
|
|
35
36
|
export declare class AutoConsolidation extends BaseControl<AutoConsolidationParams, IAutoConsolidationState> {
|
|
36
37
|
createParams(): AutoConsolidationParams;
|
|
@@ -16,10 +16,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
|
|
|
16
16
|
UNSAFE_componentWillMount(): void;
|
|
17
17
|
componentDidMount(): void;
|
|
18
18
|
onSelecting():
|
|
19
|
-
import("
|
|
19
|
+
import("C:/Dev/WebC6.1/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
20
20
|
onSelected(): void;
|
|
21
21
|
onToggling():
|
|
22
|
-
import("
|
|
22
|
+
import("C:/Dev/WebC6.1/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
23
23
|
onToggled(): void;
|
|
24
24
|
protected onClick(event: React.MouseEvent): void;
|
|
25
25
|
protected getCssClass(): string;
|
|
@@ -31,7 +31,7 @@ export declare class ButtonPositionsSelection extends BaseControl<ButtonPosition
|
|
|
31
31
|
/** @internal */
|
|
32
32
|
protected createImpl(): ControlImpl;
|
|
33
33
|
/** @internal */
|
|
34
|
-
protected getTabIndex():
|
|
34
|
+
protected getTabIndex(): 0 | -1;
|
|
35
35
|
/** @internal */
|
|
36
36
|
componentDidMount(): void;
|
|
37
37
|
/** @internal */
|
package/Platform/CardLink.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export declare class CardLinkParams extends InputBasedControlParams<GenModels.Ca
|
|
|
35
35
|
tip?: string;
|
|
36
36
|
/** Возвращает режим редактирования. */
|
|
37
37
|
editMode?: EditMode;
|
|
38
|
+
/** Ограничивать ли ширину заголовка */
|
|
39
|
+
limitWidthLabel?: boolean;
|
|
38
40
|
/** Типы карточек, которые пользователь может выбрать при добавлении ссылки. */
|
|
39
41
|
cardTypes?: GenModels.CardNodeInfo[];
|
|
40
42
|
/** Идентификатор карточки. Параметр необходим только для случая, когда контрол находится вне разметки. */
|
|
@@ -80,12 +82,12 @@ export declare class CardLink extends InputBasedControl<GenModels.CardLinkDataMo
|
|
|
80
82
|
protected construct(): void;
|
|
81
83
|
componentDidMount(): void;
|
|
82
84
|
protected getServices(): $FileController & $LayoutFileController & $LayoutLinksController & $LayoutController & Partial<$CardId> & $EditOperationStore & $CardId & Partial<$LabelWidth> & $LayoutManager & $Layout &
|
|
83
|
-
import("
|
|
84
|
-
import("
|
|
85
|
-
import("
|
|
86
|
-
import("
|
|
87
|
-
import("
|
|
88
|
-
import("
|
|
85
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Services/$LayoutCheckService").$LayoutCheck &
|
|
86
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CardInfo &
|
|
87
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Core/RequestProcessing/$RequestManager").$RequestManager &
|
|
88
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/StandardServices").$ApplicationSettings &
|
|
89
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Services/$FileService").$FileService &
|
|
90
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/StandardServices").$DeviceType & Partial<
|
|
89
91
|
import("@docsvision/webclient/FilePreview/$FilePreview").$FilePreview> & $CardOperationsController & Partial<$LinksSearchCards> & $CardsPresentationController;
|
|
90
92
|
protected createParams(): CardLinkParams;
|
|
91
93
|
protected createImpl(): CardLinkImpl;
|
|
@@ -71,7 +71,7 @@ export declare class CardLinkImpl extends InputBasedControlImpl<GenModels.CardLi
|
|
|
71
71
|
protected updateValidationMessage(): void;
|
|
72
72
|
protected getCssClass(): string;
|
|
73
73
|
protected getTextValue(): string;
|
|
74
|
-
protected getTextTabIndex():
|
|
74
|
+
protected getTextTabIndex(): 0 | -1;
|
|
75
75
|
protected onTextKeyDown: (event: React.KeyboardEvent) => void;
|
|
76
76
|
protected onMenuKeyDown: (event: React.KeyboardEvent) => void;
|
|
77
77
|
protected onSelected: (variant: ITypeaheadVariant) => Promise<void>;
|
|
@@ -6,6 +6,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
6
6
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
7
7
|
import { $CardId, $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
8
8
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
9
|
+
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
9
10
|
/**
|
|
10
11
|
* Содержит публичные свойства элемента управления [Управление карточкой]{@link CardManagement}.
|
|
11
12
|
*/
|
|
@@ -25,7 +26,7 @@ export declare class CardManagementParams extends BaseControlParams {
|
|
|
25
26
|
*/
|
|
26
27
|
canDelete?: boolean;
|
|
27
28
|
adminPanelMessageCardsIds?: GenModels.AdminPanelMessageModel[];
|
|
28
|
-
services?: $LayoutCardController & $LayoutRowController & $EditOperationStore & $Layout & $CardId & $Router & $CardInfo & $ApplicationSettings;
|
|
29
|
+
services?: $LayoutCardController & $LayoutRowController & $EditOperationStore & $Layout & $CardId & $Router & $CardInfo & $ApplicationSettings & $MessageWindow;
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* Класс элемента управления Управление карточкой.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class CertificateSettingsView {
|
|
3
3
|
setup: (props:
|
|
4
|
-
import("
|
|
4
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/BackOffice/Dialogs/SignatureMethodsSetup/SignatureMethodsSetup").ISignatureMethodsSetupProps) => JSX.Element;
|
|
5
5
|
}
|