@docsvision/webclient 6.1.5-beta.1 → 6.1.6-beta.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.
Files changed (80) hide show
  1. package/Approval/AgreementHistory.d.ts +7 -1
  2. package/Approval/AgreementHistoryImpl.d.ts +3 -3
  3. package/Approval/AgreementManagementImpl.d.ts +1 -0
  4. package/Approval/ApprovalDialogContent.d.ts +31 -0
  5. package/BackOffice/$DigitalSignature.d.ts +2 -0
  6. package/BackOffice/CardKindImpl.d.ts +1 -1
  7. package/BackOffice/CardKindTree.d.ts +1 -1
  8. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -1
  9. package/BackOffice/FileListConstants.d.ts +1 -0
  10. package/BackOffice/FileListControl.d.ts +15 -1
  11. package/BackOffice/FileListControl.stories.d.ts +10 -0
  12. package/BackOffice/FileListControlImpl.d.ts +16 -1
  13. package/BackOffice/FileListItemComponent.d.ts +1 -0
  14. package/BackOffice/Powers.d.ts +2 -0
  15. package/BackOffice/PowersImpl.d.ts +2 -0
  16. package/BackOffice/StaffDirectoryDataVisualiser.d.ts +1 -0
  17. package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
  18. package/Generated/DocsVision.WebClient.Controllers.d.ts +123 -5
  19. package/Generated/DocsVision.WebClient.Models.d.ts +119 -0
  20. package/Helpers/Breadcrumbs/Breadcrumbs.d.ts +1 -0
  21. package/Helpers/Breadcrumbs/BreadcrumbsView.d.ts +1 -0
  22. package/Helpers/Breadcrumbs/LinkView/LinkItemViewWithSeparator.d.ts +3 -1
  23. package/Helpers/FileViewZip/FileViewZip.d.ts +47 -0
  24. package/Helpers/FileViewZip/FileViewZipModal.d.ts +24 -0
  25. package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
  26. package/Helpers/Menu/DesktopMenuBar.d.ts +1 -0
  27. package/Legacy/ApprovalFilePanel.d.ts +2 -0
  28. package/Legacy/TaskCardFilePanelRazorControl.d.ts +2 -0
  29. package/Legacy/TaskCardView.d.ts +0 -1
  30. package/Legacy/Utils.d.ts +9 -0
  31. package/Libs/CryptoPro/Crypto.d.ts +6 -3
  32. package/MainBundle.d.ts +2 -0
  33. package/Platform/CardLink.d.ts +2 -1
  34. package/Platform/CardLinkImpl.d.ts +4 -2
  35. package/Platform/ContextMenuCustomPlugins.d.ts +1 -0
  36. package/Platform/DateTimePicker.d.ts +1 -0
  37. package/Platform/DateTimePickerImpl.d.ts +1 -1
  38. package/Platform/FileExtensions.d.ts +4 -1
  39. package/Platform/FilePicker.d.ts +11 -5
  40. package/Platform/FilePicker.stories.d.ts +11 -0
  41. package/Platform/FilePickerImpl.d.ts +14 -3
  42. package/Platform/FilePickerMenuItemsView.d.ts +1 -0
  43. package/Platform/FilePickerOperations.d.ts +13 -4
  44. package/Platform/FilePickerOperationsAvailability.d.ts +1 -0
  45. package/Platform/FilePreview.d.ts +3 -3
  46. package/Platform/FolderPageRouteHelpers.d.ts +4 -3
  47. package/Platform/FolderRouteParameters.d.ts +1 -0
  48. package/Platform/FolderWebFrameRouteHandler.d.ts +1 -1
  49. package/Platform/IFilePickerMenuOpeningArgs.d.ts +4 -0
  50. package/Platform/IFolderDataLoadingPlugin.d.ts +2 -1
  51. package/Platform/IFolderPageRouteData.d.ts +1 -0
  52. package/Platform/ITextBoxMaskProps.d.ts +56 -0
  53. package/Platform/OpenedDialogFixture.d.ts +2 -0
  54. package/Platform/ScanDialogService.d.ts +1 -0
  55. package/Platform/ScanDialogService.stories.d.ts +22 -0
  56. package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -2
  57. package/Platform/SearchParametersFolderResponseResolver.d.ts +1 -2
  58. package/Platform/SearchTextInput.d.ts +2 -2
  59. package/Platform/TestUtils.d.ts +1 -2
  60. package/Platform/TextBox.d.ts +3 -0
  61. package/Platform/TextBox.stories.d.ts +17 -9
  62. package/Platform/TextBoxImpl.d.ts +11 -0
  63. package/Platform/TextBoxInputField.d.ts +3 -0
  64. package/Platform/TextBoxInputMask.d.ts +7 -0
  65. package/Platform/TextBoxInputMaskView.d.ts +10 -0
  66. package/Platform/TextListInputLogic.d.ts +1 -0
  67. package/StandardServices.d.ts +1 -2
  68. package/System/FileScanServiceStub.d.ts +8 -0
  69. package/System/IWebServicesConnection.d.ts +2 -0
  70. package/System/IWebServicesService.d.ts +0 -2
  71. package/System/LayoutCardControllerStub.d.ts +1 -0
  72. package/System/LocationContainerControl.stories.d.ts +18 -0
  73. package/System/LocationContainerControlRealoadLayoutApi.stories.d.ts +20 -0
  74. package/System/LocationContainerControlStoriesData.d.ts +15 -0
  75. package/System/ResourcesStub.d.ts +5 -0
  76. package/System/WebServicesConnection.d.ts +2 -0
  77. package/System/WebServicesService.d.ts +10 -10
  78. package/package.json +1 -1
  79. package/Platform/$LastSearchParameters.d.ts +0 -10
  80. package/Platform/LastSearchParametersService.d.ts +0 -11
@@ -23,3 +23,4 @@ export interface IDownloadFilePickerMenuItemProps extends IFilePickerMenuItemPro
23
23
  }
24
24
  export declare const DownloadFilePickerMenuItem: (props: IDownloadFilePickerMenuItemProps) => JSX.Element;
25
25
  export declare const DeleteFilePickerMenuItem: (props: IFilePickerMenuItemProps) => JSX.Element;
26
+ export declare const ViewZipFilePickerMenuItem: (props: IFilePickerMenuItemProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { $FilePickerController, $LayoutFileController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
1
+ import { $FilePickerController, $LayoutFileController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
3
  import { $FileController } from '@docsvision/webclient/Legacy/FileController';
4
4
  import { FilePickerAccessState } from '@docsvision/webclient/Platform/FilePickerMenuItemsView';
@@ -6,18 +6,27 @@ import { FilePickerOperationsAvailability } from '@docsvision/webclient/Platform
6
6
  import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
7
7
  import { $WindowLocation } from '@docsvision/webclient/Platform/$WindowLocation';
8
8
  import { $FilePickerUpload } from '@docsvision/webclient/Platform/IFilePickerUploadService';
9
- import { $CardId } from '@docsvision/webclient/System/LayoutServices';
9
+ import { $CardId, $CardInfo, $CardTimestamp } from "@docsvision/webclient/System/LayoutServices";
10
10
  import { EventEmitter } from '@docsvision/webclient/System/EventEmitter';
11
11
  import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
12
12
  import { $FilePreviewServices } from '@docsvision/webclient/Platform/FilePreview';
13
- import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
13
+ import { $ApplicationSettings, $SiteUrl } from "@docsvision/webclient/StandardServices";
14
+ import { $Layout } from "@docsvision/webclient/System/$Layout";
15
+ import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
16
+ import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
14
17
  export declare class FilePickerOperations {
15
- open(file: GenModels.FileCardModel, accessState: FilePickerAccessState, events: EventEmitter, services: $MessageBox & $WindowLocation & $ApplicationSettings): Promise<void>;
18
+ openedInEditorFiles: string[];
19
+ open(file: GenModels.FileCardModel, accessState: FilePickerAccessState, events: EventEmitter, services: $MessageBox & $WindowLocation & $ApplicationSettings & $Layout & $SiteUrl & $CardId & $CardTimestamp & $R7OfficeController & $CardInfo & $RequestManager & $WebServices, afterCloseEditorEvent?: () => void): Promise<void>;
16
20
  preview(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel, access: FilePickerOperationsAvailability, events: EventEmitter, onDownloadClick: () => void, services: $FileController & $LayoutFileController & $CardId & $FilePreviewServices): Promise<void>;
17
21
  showCommentsDialog(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel, enableAddComments: boolean, dialogOpenEvents: EventEmitter, dialogCloseEvents: EventEmitter, addCommentEvents: EventEmitter, deleteCommentEvents: EventEmitter, services: $LayoutFileController & $CardId): Promise<void>;
22
+ private getOpenFileRequestData;
23
+ private sendOpenFileRequest;
24
+ private reloadFiles;
25
+ private sendOpenFileDvWebTool;
18
26
  addFileVersion(file: GenModels.FileCardModel, inputContainer: HTMLElement, services: $MessageBox & $FilePickerUpload): Promise<File>;
19
27
  replaceFile(file: GenModels.FileCardModel, inputContainer: HTMLElement, services: $MessageBox & $FilePickerUpload): Promise<File>;
20
28
  openSelectFileDialog(file: GenModels.FileCardModel, inputContainer: HTMLElement, services: $MessageBox & $FilePickerUpload): Promise<File>;
21
29
  download(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel | null, events: EventEmitter, logInfo: GenModels.LogInfo, services: $FileDownload & $FilePickerController): Promise<void>;
22
30
  saveAs(file: GenModels.FileCardModel, version: GenModels.FileCardVersionModel | null, events: EventEmitter, logInfo: GenModels.LogInfo, services: $FilePickerController & $FileDownload): Promise<Blob>;
31
+ showViewZipDialog(file: GenModels.FileCardModel, services: $FilePickerController & $CardId): Promise<void>;
23
32
  }
@@ -9,6 +9,7 @@ export declare class FilePickerOperationsAvailability {
9
9
  private getServices;
10
10
  constructor(getAccessState: () => FilePickerAccessState, getEditMode: () => EditMode, getFile: () => GenModels.FileCardModel, getServices: () => $DeviceType);
11
11
  private check;
12
+ get canRead(): boolean;
12
13
  get canOpen(): boolean;
13
14
  get canPreview(): boolean;
14
15
  get canComment(): boolean;
@@ -8,7 +8,7 @@ import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/
8
8
  import { IFilePreviewingArgs } from '@docsvision/webclient/BackOffice/IFilePreviewingArgs';
9
9
  import { IFilePreviewedArgs } from '@docsvision/webclient/BackOffice/IFilePreviewedArgs';
10
10
  import { $FileController } from '@docsvision/webclient/Legacy/FileController';
11
- import { $LayoutFileController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
11
+ import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
12
12
  import { IFileVersionDownloadingArgs } from '@docsvision/webclient/BackOffice/IFileVersionDownloadingArgs';
13
13
  import { IFileVersionDownloadedArgs } from '@docsvision/webclient/BackOffice/IFileVersionDownloadedArgs';
14
14
  import { $FileService } from '@docsvision/webclient/System/$FileService';
@@ -19,14 +19,14 @@ import { IFileVersionCommentDeletedArgs } from '@docsvision/webclient/BackOffice
19
19
  import { $Layout } from '@docsvision/webclient/System/$Layout';
20
20
  import { EditMode } from '@docsvision/webclient/System/EditMode';
21
21
  import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
22
- import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
22
+ import { $ApplicationSettings, $DeviceType, $SiteUrl } from "@docsvision/webclient/StandardServices";
23
23
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
24
24
  import { BodyContainerProvider } from '@docsvision/webclient/Helpers/BodyContainerProvider';
25
25
  import React from 'react';
26
26
  import { $FilePreview } from '@docsvision/webclient/Platform/$FilePreview';
27
27
  import { Optional } from '@docsvision/web/core/services';
28
28
  import { FileViewer, IFileViewerConstructor } from '@docsvision/webclient/Platform/FileViewer';
29
- export declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $ApplicationSettings & $LayoutFileController & $CardId & $FileService & $Layout & $DeviceType & Optional<$FilePreview> & $ApplicationSettings;
29
+ export declare type $FilePreviewServices = $LayoutCheck & $CardInfo & $RequestManager & $FileController & $ApplicationSettings & $LayoutFileController & $CardId & $FileService & $Layout & $DeviceType & Optional<$FilePreview> & $ApplicationSettings & Optional<$SiteUrl>;
30
30
  export declare class FilePreviewParams extends BaseControlParams {
31
31
  /** Стандартный CSS класс со стилями элемента управления. */
32
32
  standardCssClass?: string;
@@ -1,8 +1,9 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
1
2
  import { IFolderPageRouteData } from '@docsvision/webclient/Platform/IFolderPageRouteData';
2
3
  /** @internal */
3
4
  export declare class FolderPageRouteHelpers {
4
- static openFolder(folderId: string, color?: string): void;
5
- static makeFolderUrl(folderId: string, color?: string): string;
5
+ static openFolder(folderId: string, color?: string, parameters?: GenModels.SearchParameter[]): void;
6
+ static makeFolderUrl(folderId: string, color?: string, parameters?: GenModels.SearchParameter[]): string;
6
7
  static getRecentCardsUrl(): string;
7
- static makeFolderPageRouteData(folderId?: string, color?: string): IFolderPageRouteData;
8
+ static makeFolderPageRouteData(folderId?: string, color?: string, parameters?: GenModels.SearchParameter[]): IFolderPageRouteData;
8
9
  }
@@ -2,4 +2,5 @@
2
2
  export declare class FolderRouteParameters {
3
3
  static FolderId: string;
4
4
  static Color: string;
5
+ static SearchParameters: string;
5
6
  }
@@ -16,6 +16,6 @@ export declare class FolderWebFrameRouteHandler implements IRouteHandler<IFolder
16
16
  private get useNewGrid();
17
17
  private routeTypeCheck;
18
18
  private filterClasses;
19
- mountRoute(data: IFolderPageRouteData, routeType: RouteType): Promise<RouteHandleResult>;
19
+ prepareRouteMount(data: IFolderPageRouteData, routeType: RouteType): Promise<RouteHandleResult>;
20
20
  unmountRoute(data: IFolderPageRouteData, routeType: RouteType): Promise<void>;
21
21
  }
@@ -0,0 +1,4 @@
1
+ import { IFilePickerMenuItem } from "@docsvision/webclient/Platform/FilePickerMenu";
2
+ export interface IFilePickerMenuOpeningArgs {
3
+ fileMenuItems: IFilePickerMenuItem[];
4
+ }
@@ -13,5 +13,6 @@ export interface IFolderDataLoadingPlugin {
13
13
  }
14
14
  export declare enum ResponseResolveResult {
15
15
  Default = 0,
16
- RepeatQuery = 1
16
+ RepeatQuery = 1,
17
+ Break = 2
17
18
  }
@@ -4,5 +4,6 @@ import { ICommonFolderInfo } from "@docsvision/webclient/Platform/ICommonFolderI
4
4
  export interface IFolderPageRouteData {
5
5
  layout?: GenModels.LayoutViewModel;
6
6
  folderInfo?: ICommonFolderInfo;
7
+ parameters?: GenModels.SearchParameter[];
7
8
  useLastParameters?: boolean;
8
9
  }
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ import { TextBoxInputMaskView } from "@docsvision/webclient/Platform/TextBoxInputMaskView";
3
+ import { HtmlProps, IComponentProps } from "@docsvision/web/core/component";
4
+ import { InputState, MaskOptions } from "react-input-mask";
5
+ export interface ITextBoxMaskProps extends HtmlProps.input, IComponentProps<never, TextBoxInputMaskView> {
6
+ /**
7
+ * Маска. Символы формата:
8
+ * * `9`: `0-9`
9
+ * * `a`: `A-Z, a-z`
10
+ * * `\*`: `A-Z, a-z, 0-9`
11
+ *
12
+ * Любой символ можно экранировать с помощью обратной косой черты, которая обычно отображается как двойная обратная косая черта в строках JS.
13
+ * Например, немецкая маска телефона с неустранимым префиксом +49 будет выглядеть как `mask="+4\\9 99 999 99"` или `mask={"+4\\\\9 99 999 99"}`
14
+ */
15
+ mask: string | null;
16
+ /**
17
+ * Символ для покрытия незаполненных редактируемых частей маски. Символ по умолчанию "_".
18
+ * Если установлено значение null, незаполненные части будут пустыми, как и при обычном вводе.
19
+ */
20
+ maskChar?: string | null;
21
+ /**
22
+ * Определяет символы формата с символами в качестве ключей и соответствующей строкой RegExp в качестве значений.
23
+ * По умолчанию:
24
+ * ```
25
+ * {
26
+ * "9": "[0-9]",
27
+ * "a": "[A-Za-z]",
28
+ * "*": "[A-Za-z0-9]"
29
+ * }```
30
+ */
31
+ formatChars?: {
32
+ [key: string]: string;
33
+ };
34
+ /**
35
+ * Показывать маску даже при пустом вводе без фокуса
36
+ */
37
+ alwaysShowMask?: boolean;
38
+ /**
39
+ * Если вам нужно реализовать более сложное поведение маскирования, вы можете использовать
40
+ * функцию beforeMaskedValueChange для изменения замаскированного значения прежде, чем
41
+ * значение будет изменено
42
+ */
43
+ beforeMaskedValueChange?(newState: InputState, oldState: InputState, userInput: string, maskOptions: MaskOptions): InputState;
44
+ /**
45
+ * Используйте inputRef вместо ref, если вам нужен узел для управления фокусом, выбором и т. д
46
+ */
47
+ inputRef?: React.Ref<HTMLInputElement>;
48
+ /** Использовать маску. По умолчанию: true */
49
+ useMask?: boolean;
50
+ /** Событие фокуса */
51
+ onFocus?: (ev: React.FocusEvent<HTMLInputElement>) => void;
52
+ /** Событие потери фокуса */
53
+ onBlur?: (ev: React.FocusEvent<HTMLInputElement>) => void;
54
+ /** Событие изменения значения в поле ввода */
55
+ onChange?: (ev: React.ChangeEvent<HTMLInputElement>) => void;
56
+ }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const openedDialogFixture: () => JSX.Element;
@@ -51,6 +51,7 @@ export declare class ScanDialogService implements IScanDialog {
51
51
  attachScan: (element: HTMLElement) => void;
52
52
  zoomScan: (value: ZoomOptions) => void;
53
53
  rotateScan: (direction: RotateDirection) => void;
54
+ deletePage: () => void;
54
55
  switchPage: (button: PageSwitchers) => void;
55
56
  createCanvas: (src: string, direction: RotateDirection, callback: any) => void;
56
57
  renderPreviewBlock: () => JSX.Element;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { IComponentProps } from '@docsvision/web/core/component';
3
+ import { StoryObj } from '@storybook/react';
4
+ declare const _default: {
5
+ title: string;
6
+ component: () => JSX.Element;
7
+ decorators:
8
+ import("@storybook/csf").DecoratorFunction<{
9
+ component: any;
10
+ storyResult:
11
+ import("@storybook/react/dist/ts3.9/client/preview/types").StoryFnReactReturnType;
12
+ },
13
+ import("@storybook/react").Args>[];
14
+ };
15
+ export default _default;
16
+ declare type Story = StoryObj<IScanDialogParams>;
17
+ export declare const Default: Story;
18
+ export declare const SelectScanner: Story;
19
+ export declare const ScanOneImage: Story;
20
+ export declare const ScanPreviewImage: Story;
21
+ export interface IScanDialogParams extends IComponentProps {
22
+ }
@@ -3,10 +3,10 @@ import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
3
3
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
4
  import { IFolderLoadRequest } from '@docsvision/webclient/Platform/IFolderLoadRequest';
5
5
  import { ITableData } from '@docsvision/web/components/table/interfaces';
6
- import { $SearchParametersFolder } from '@docsvision/webclient/Platform/$SearchParametersFolder';
6
+ import { $Router } from '@docsvision/webclient/System/$Router';
7
7
  export declare class SearchParametersFolderRequestResolver implements IFolderDataLoadingPlugin {
8
8
  id: string;
9
9
  description: string;
10
10
  order: PluginOrder;
11
- resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $SearchParametersFolder): Promise<void>;
11
+ resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel, services?: $Router): Promise<void>;
12
12
  }
@@ -3,7 +3,6 @@ import { $SearchParametersFolder } from '@docsvision/webclient/Platform/$SearchP
3
3
  import { IFolderDataLoadingPlugin, ResponseResolveResult } from '@docsvision/webclient/Platform/IFolderDataLoadingPlugin';
4
4
  import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
5
5
  import { ITableData } from '@docsvision/web/components/table/interfaces';
6
- import { $LastSearchParameters } from '@docsvision/webclient/Platform/$LastSearchParameters';
7
6
  import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
8
7
  import { $Router } from '@docsvision/webclient/System/$Router';
9
8
  export declare class SearchParametersFolderResponseResolver implements IFolderDataLoadingPlugin {
@@ -11,6 +10,6 @@ export declare class SearchParametersFolderResponseResolver implements IFolderDa
11
10
  description?: "Показывает модальное окно с поисковыми параметрами";
12
11
  order: PluginOrder.System;
13
12
  private layoutSearchParametersDialog;
14
- resolveResponse?(data: ITableData, response?: GenModels.GridViewModelEx, services?: $SearchParametersFolder & $LastSearchParameters & $CurrentFolder & $Router): Promise<void | ResponseResolveResult>;
13
+ resolveResponse?(data: ITableData, response?: GenModels.GridViewModelEx, services?: $SearchParametersFolder & $CurrentFolder & $Router): Promise<void | ResponseResolveResult>;
15
14
  private loadSearchParametres;
16
15
  }
@@ -1,5 +1,5 @@
1
- import { HtmlProps } from '@docsvision/web/core/component';
2
- import React from 'react';
1
+ import { HtmlProps } from "@docsvision/web/core/component";
2
+ import React from "react";
3
3
 
4
4
  export interface ISearchTextInputProps extends HtmlProps.input {
5
5
  }
@@ -17,7 +17,6 @@ import { $ToolbarActionContainer } from '@docsvision/web/components/table/plugin
17
17
  import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
18
18
  import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
19
19
  import { $HoverPanel } from '@docsvision/webclient/Platform/$HoverPanel';
20
- import { $LastSearchParameters } from '@docsvision/webclient/Platform/$LastSearchParameters';
21
20
  import { $EmployeeStatus } from '@docsvision/webclient/Platform/$EmployeeStatus';
22
21
  import { $IsIE } from '@docsvision/web/core/system-services/environment';
23
22
  export declare let ScrollContainer:
@@ -26,4 +25,4 @@ export declare let ScrollContainerWrapper:
26
25
  import("styled-components").StyledComponent<"div", any, {}, never>;
27
26
  export declare function common(): FolderGridParams;
28
27
  export declare let gridStory: (name: string, render: (services: any) => JSX.Element, params?: StoryParameters) => () => JSX.Element;
29
- export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls & $HoverPanel & $LastSearchParameters & $EmployeeStatus & $IsIE;
28
+ export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls & $HoverPanel & $EmployeeStatus & $IsIE;
@@ -1,3 +1,4 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
1
2
  import { TextBoxImpl, ITextBoxState } from "@docsvision/webclient/Platform/TextBoxImpl";
2
3
  import { TextControlBase, TextControlBaseParams } from "@docsvision/webclient/Platform/TextControlBase";
3
4
  import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
@@ -8,6 +9,8 @@ export declare class TextBoxParams extends TextControlBaseParams {
8
9
  /** Стандартный CSS класс со стилями элемента управления. */
9
10
  standardCssClass?: string;
10
11
  services?: $LayoutInfo & $EditOperationStore;
12
+ /** Модель содержит маску ввода и регулярное выражение для проверки значения. */
13
+ inputMask?: GenModels.InputMaskModel;
11
14
  }
12
15
  /**
13
16
  * Вспомогательный контрол для редактирования текстовой информации.
@@ -1,10 +1,18 @@
1
1
  /// <reference types="react" />
2
- import { TextBox } from '@docsvision/webclient/Platform/TextBox';
3
- declare const _default: {
4
- title: string;
5
- component: typeof TextBox;
6
- };
7
- export default _default;
8
- export declare const Edit: () => JSX.Element;
9
- export declare const EditInPlace: () => JSX.Element;
10
- export declare const View: () => JSX.Element;
2
+ import { TextBox, TextBoxParams } from '@docsvision/webclient/Platform/TextBox';
3
+ import { Meta, StoryObj } from '@storybook/react';
4
+ declare type Story = StoryObj<TextBoxParams & {
5
+ ref: React.MutableRefObject<TextBox>;
6
+ }>;
7
+ declare const metaStory: Meta<TextBoxParams & {
8
+ ref: React.MutableRefObject<TextBox>;
9
+ }>;
10
+ export default metaStory;
11
+ export declare const Edit: Story;
12
+ export declare const EditInPlace: Story;
13
+ export declare const View: Story;
14
+ export declare const EditWithMask: Story;
15
+ export declare const EditInPlaceWithMask: Story;
16
+ export declare const ViewWithMask: Story;
17
+ export declare const ValidationErrorRequired: Story;
18
+ export declare const ValidationErrorWithMask: Story;
@@ -2,6 +2,9 @@ import { IEditPopoverProps } from "@docsvision/webclient/Helpers/PopoverHelpers/
2
2
  import { TextBox, TextBoxParams } from "@docsvision/webclient/Platform/TextBox";
3
3
  import { TextControlBaseImpl, ITextControlBaseState } from "@docsvision/webclient/Platform/TextControlBaseImpl";
4
4
  import React from "react";
5
+ import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
6
+ import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
7
+ import { ITextBoxMaskProps } from "@docsvision/webclient/Platform/ITextBoxMaskProps";
5
8
  /** @internal */
6
9
  export interface ITextBoxState extends TextBoxParams, ITextControlBaseState {
7
10
  }
@@ -11,11 +14,19 @@ export interface TextBoxState extends ITextBoxState {
11
14
  export declare type TextBoxImplState = ITextBoxState;
12
15
  /** @internal */
13
16
  export declare class TextBoxImpl extends TextControlBaseImpl<TextBoxParams, ITextBoxState> {
17
+ protected maskChar: string;
14
18
  constructor(props: TextBoxParams, state: ITextBoxState);
19
+ protected renderInput(): React.ReactNode;
15
20
  protected renderInto(props: TextBoxParams, container: HTMLElement): void;
16
21
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<TextBox>;
22
+ validate(params: IValidationParams): IValidationResult;
23
+ protected validatePattern(params: IValidationParams): IValidationResult;
24
+ protected validateMask(params: IValidationParams): IValidationResult;
17
25
  protected onInputBlur(event: React.FocusEvent): void;
18
26
  private saveCard;
19
27
  private shouldSaveCardWithEditInPlaceValue;
20
28
  private isLayoutViewMode;
29
+ private useMask;
30
+ private useRegExp;
31
+ protected getMaskProps(): ITextBoxMaskProps;
21
32
  }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { HtmlProps } from "@docsvision/web/core/component/HtmlProps";
3
+ export declare const TextBoxInputField: React.ForwardRefExoticComponent<Pick<HtmlProps.input, "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"> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ITextBoxMaskProps } from "@docsvision/webclient/Platform/ITextBoxMaskProps";
3
+ /**
4
+ * Предоставляет возможность отобразить элемент с маской.
5
+ *
6
+ */
7
+ export declare function TextBoxInputMask(props: ITextBoxMaskProps): JSX.Element;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import InputMask from "react-input-mask";
3
+ /** Визуальные компоненты {@see TextBoxInputMask}. */
4
+ export declare class TextBoxInputMaskView {
5
+ inputMask: typeof InputMask;
6
+ input:
7
+ import("react").ForwardRefExoticComponent<Pick<
8
+ | "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"> &
9
+ import("react").RefAttributes<HTMLInputElement>>;
10
+ }
@@ -41,6 +41,7 @@ import("effector").Store<IListItems[]>;
41
41
  import("effector").Store<boolean>;
42
42
  setLoading:
43
43
  import("effector").Event<boolean>;
44
+ commonDateFormat: string;
44
45
  private getListData;
45
46
  private getGrouping;
46
47
  private format;
@@ -53,7 +53,6 @@ import { $RefreshUnreadCounters } from "@docsvision/webclient/Platform/$RefreshU
53
53
  import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
54
54
  import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
55
55
  import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
56
- import { $LastSearchParameters } from "@docsvision/webclient/Platform/$LastSearchParameters";
57
56
  import { $Poll } from "@docsvision/webclient/System/$PollService";
58
57
  import { $FolderPluginProvider } from "@docsvision/webclient/Platform/$FolderPluginProvider";
59
58
  import { $LayoutBackground } from "@docsvision/webclient/System/$LayoutBackground";
@@ -150,4 +149,4 @@ export declare type $ApplicationSettings = {
150
149
  };
151
150
  export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
152
151
  /** Стандартные сервисы Web-клиента. */
153
- export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $RefreshUnreadCounters & $LastSearchParameters & $CloudSignature & $CryptoPro & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $ApprovalPathVisualizationController & $HoverPanel & $HoverPanel & $DigitalSignature & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight & $FolderColors;
152
+ export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $RefreshUnreadCounters & $CloudSignature & $CryptoPro & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $ApprovalPathVisualizationController & $HoverPanel & $HoverPanel & $DigitalSignature & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight & $FolderColors;
@@ -0,0 +1,8 @@
1
+ import { IFileScanService } from "@docsvision/webclient/Platform/$FileScan";
2
+ import { ScanOptions } from "@docsvision/webclient/Platform/ScanOptions";
3
+ export declare class FileScanServiceStub implements IFileScanService {
4
+ getScannerList(): Promise<string[]>;
5
+ scan(scannerName: string, options: ScanOptions): Promise<string>;
6
+ scanAll(scannerName: string, options: ScanOptions): Promise<string[]>;
7
+ getFileList(base64Images: string[]): FileList;
8
+ }
@@ -11,4 +11,6 @@ export interface IWebServicesConnection {
11
11
  waitForMessage<T>(): Promise<T>;
12
12
  /** Закрывает соединение. */
13
13
  close(): void;
14
+ /** Обработчик, вызываемый при закрытии соединения. */
15
+ onCloseConnectionHandler: () => void;
14
16
  }
@@ -9,7 +9,6 @@ export interface IWebServicesService {
9
9
  /**
10
10
  * Отправляет сообщение в агент веб-сервисов методом GET, и возвращает полученный ответ.
11
11
  * @param plugin Адрес плагина, для которого предназначено сообщение.
12
- * @param action Действие плагина, которое необходимо выполнить. Может быть не задано.
13
12
  * @param message JavaScript объект, содержащий параметры запроса.
14
13
  * @returns JavaScript объект ответа.
15
14
  */
@@ -17,7 +16,6 @@ export interface IWebServicesService {
17
16
  /**
18
17
  * Отправляет сообщение в агент веб-сервисов методом POST, и возвращает полученный ответ.
19
18
  * @param plugin Адрес плагина, для которого предназначено сообщение.
20
- * @param action Действие плагина, которое необходимо выполнить. Может быть не задано.
21
19
  * @param message JavaScript объект, содержащий параметры запроса.
22
20
  * @returns JavaScript объект ответа.
23
21
  */
@@ -11,6 +11,7 @@ export declare class LayoutCardControllerStub implements GenControllers.ILayoutC
11
11
  delete(deleteCardRequestModel: GenModels.DeleteCardRequestModel, options?: RequestOptions): Promise<string>;
12
12
  getLayout(cardLayoutParams: GenModels.CardLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
13
13
  getLayoutPart(layoutPartParams: GenModels.LayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
14
+ getLayoutPartEx(layoutPartParams: GenModels.LayoutPartParamsEx, options?: RequestOptions): Promise<GenModels.LayoutModel>;
14
15
  save(model: GenModels.SaveControlDataModel, options?: RequestOptions): Promise<void>;
15
16
  checkModifiedAndLocked(cardId: string, timestamp: number, options?: RequestOptions): Promise<void>;
16
17
  changeState(changeStateDataModel: GenModels.ChangeStateDataModelWithParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
@@ -0,0 +1,18 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import React from "react";
3
+ import { LocationContainerControl, LocationContainerControlParams } from "@docsvision/webclient/System/LocationContainerControl";
4
+ declare const metaStory: Meta<LocationContainerControlParams & {
5
+ ref: React.MutableRefObject<LocationContainerControl>;
6
+ }>;
7
+ export default metaStory;
8
+ declare type Story = StoryObj<LocationContainerControlParams & {
9
+ ref: React.MutableRefObject<LocationContainerControl>;
10
+ }>;
11
+ export declare const WithLayoutModel: Story;
12
+ export declare const WithoutLayoutModel: Story;
13
+ export declare const AsyncModeWithLayoutModel: Story;
14
+ export declare const AsyncModeWithoutLayoutModel: Story;
15
+ export declare const WithoutLayoutModelWithCustomLoader: Story;
16
+ export declare const WithLayoutModelWithCustomLoader: Story;
17
+ export declare const AsyncWithoutLayoutModelWithCustomLoader: Story;
18
+ export declare const AsyncWithLayoutModelWithCustomLoader: Story;
@@ -0,0 +1,20 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import React from "react";
3
+ import { LocationContainerControl, LocationContainerControlParams } from "@docsvision/webclient/System/LocationContainerControl";
4
+ declare const metaStory: Meta<LocationContainerControlParams & {
5
+ ref: React.MutableRefObject<LocationContainerControl>;
6
+ }>;
7
+ export default metaStory;
8
+ declare type Story = StoryObj<LocationContainerControlParams & {
9
+ ref: React.MutableRefObject<LocationContainerControl>;
10
+ }>;
11
+ export declare const ReloadWithLayoutModel: Story;
12
+ export declare const ReloadWithoutLayoutModel: Story;
13
+ export declare const ReloadAsyncModeWithLayoutModel: Story;
14
+ export declare const ReloadAsyncModeWithoutLayoutModel: Story;
15
+ export declare const ReloadAsyncModeFromEmptyLayout: Story;
16
+ export declare const ReloadFromEmptyLayout: Story;
17
+ export declare const ReloadWithoutLayoutModelWithCustomLoader: Story;
18
+ export declare const ReloadWithLayoutModelWithCustomLoader: Story;
19
+ export declare const ReloadAsyncWithoutLayoutModelWithCustomLoader: Story;
20
+ export declare const ReloadAsyncWithLayoutModelWithCustomLoader: Story;
@@ -0,0 +1,15 @@
1
+ import { $LayoutController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { $CurrentLocation } from "@docsvision/webclient/System/LayoutServices";
4
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
5
+ import { $Layout } from "@docsvision/webclient/System/$Layout";
6
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
7
+ export declare function getLocationContainerMockServices(): $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType;
8
+ export declare function locationContainerStoryCustomloader(): Promise<GenModels.LayoutViewModel>;
9
+ export declare function locationContainerStoryCustomloaderForReaload(): Promise<GenModels.LayoutViewModel>;
10
+ export declare const locationContainerStoryLayoutGuid = "b64c55d9-4817-4ad4-9816-8af35022c32e";
11
+ export declare function locationContainerStoryRegisterControls(): void;
12
+ export declare function getLayoutModel({ controlName, layoutId }: {
13
+ controlName: any;
14
+ layoutId: any;
15
+ }): GenModels.LayoutViewModel;
@@ -1506,6 +1506,10 @@ export declare let resourcesStub: {
1506
1506
  NoValue: string;
1507
1507
  Diagram_WaitingForData: string;
1508
1508
  Diagram_Empty: string;
1509
+ FileControls_Sorting_ByNameAsc: string;
1510
+ FileControls_Sorting_ByNameDesc: string;
1511
+ FileControls_Sorting_ByTimeAsc: string;
1512
+ FileControls_Sorting_ByTimeDesc: string;
1509
1513
  PowersDirectory: string;
1510
1514
  PowersDirectory_TreeRootName: string;
1511
1515
  PowersDirectory_CodeTab: string;
@@ -1568,4 +1572,5 @@ export declare let resourcesStub: {
1568
1572
  FilePanel_Sign_InformationAboutPowerOfAttorney: string;
1569
1573
  PowersDirectory_TreeAddButtons_ImportPowers: string;
1570
1574
  PowerOfAttorneyInfo_RegTransferStatus: string;
1575
+ TextBox_NotMatchRegExpMessage: string;
1571
1576
  };
@@ -4,8 +4,10 @@ import { IWebServicesRequest } from '@docsvision/webclient/System/IWebServicesRe
4
4
  export declare class WebServicesConnection implements IWebServicesConnection {
5
5
  plugin: string;
6
6
  private _socket;
7
+ internalCloseConnectionHandler: () => void;
7
8
  constructor(plugin: string, _socket: WebSocket);
8
9
  get isOpen(): boolean;
10
+ set onCloseConnectionHandler(handler: () => void);
9
11
  send<T>(message: IWebServicesRequest<T>): void;
10
12
  waitForMessage<T>(): Promise<T>;
11
13
  close(): void;
@@ -1,12 +1,12 @@
1
- import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
2
- import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
3
- import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
4
- import { ControllerBase, HttpMethods } from '@docsvision/webclient/System/ControllerBase';
5
- import { $WebSockets } from '@docsvision/webclient/System/$WebSockets';
6
- import { IWebServicesConnection } from '@docsvision/webclient/System/IWebServicesConnection';
7
- import { IWebServicesInfo } from '@docsvision/webclient/System/IWebServicesInfo';
8
- import { IWebServicesRequest } from '@docsvision/webclient/System/IWebServicesRequest';
9
- import { IWebServicesService } from '@docsvision/webclient/System/IWebServicesService';
1
+ import { RequestOptions } from "@docsvision/webclient/Legacy/Utils";
2
+ import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
3
+ import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
4
+ import { ControllerBase, HttpMethods } from "@docsvision/webclient/System/ControllerBase";
5
+ import { $WebSockets } from "@docsvision/webclient/System/$WebSockets";
6
+ import { IWebServicesConnection } from "@docsvision/webclient/System/IWebServicesConnection";
7
+ import { IWebServicesInfo } from "@docsvision/webclient/System/IWebServicesInfo";
8
+ import { IWebServicesRequest } from "@docsvision/webclient/System/IWebServicesRequest";
9
+ import { IWebServicesService } from "@docsvision/webclient/System/IWebServicesService";
10
10
  /** @internal Реализация {@link IWebServicesService}. */
11
11
  export declare class WebServicesService extends ControllerBase implements IWebServicesService {
12
12
  protected services: $RequestManager & $WebSockets & $ApplicationSettings;
@@ -20,7 +20,7 @@ export declare class WebServicesService extends ControllerBase implements IWebSe
20
20
  action: string;
21
21
  isApi: boolean;
22
22
  method: HttpMethods;
23
- data: any;
23
+ data: unknown;
24
24
  relativePath: boolean;
25
25
  }): string;
26
26
  private get addressConnect();