@docsvision/webclient 5.17.6 → 5.17.8-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 (126) hide show
  1. package/Account/LoginLogic.d.ts +2 -0
  2. package/BackOffice/Address.stories.d.ts +66 -0
  3. package/BackOffice/AddressLabel.stories.d.ts +30 -0
  4. package/BackOffice/AddressOldStyles.stories.d.ts +19 -0
  5. package/BackOffice/AddressStoriesData.d.ts +21 -0
  6. package/BackOffice/CardKind.stories.d.ts +46 -0
  7. package/BackOffice/CardKindImpl.d.ts +1 -1
  8. package/BackOffice/CardKindLabel.stories.d.ts +28 -0
  9. package/BackOffice/CardKindStoriesData.d.ts +44 -0
  10. package/BackOffice/CardKindTree.d.ts +1 -1
  11. package/BackOffice/CommandMenuComponent.d.ts +1 -1
  12. package/BackOffice/Comments.d.ts +2 -0
  13. package/BackOffice/Comments.stories.d.ts +20 -0
  14. package/BackOffice/CommentsImpl.d.ts +0 -1
  15. package/BackOffice/CommentsOldStyle.stories.d.ts +5 -0
  16. package/BackOffice/CommentsStoriesData.d.ts +8 -0
  17. package/BackOffice/CreateRelatedCardButton.stories.d.ts +165 -0
  18. package/BackOffice/CreateRelatedCardButtonOldStyles.stories.d.ts +21 -0
  19. package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +22 -0
  20. package/BackOffice/DelegateBatchOperation.stories.d.ts +58 -0
  21. package/BackOffice/DelegateBatchOperationStoriesData.d.ts +15 -0
  22. package/BackOffice/DeleteShortcutBatchOperation.stories.d.ts +48 -0
  23. package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +12 -0
  24. package/BackOffice/Department.stories.d.ts +117 -0
  25. package/BackOffice/DepartmentLabel.stories.d.ts +32 -0
  26. package/BackOffice/DepartmentOldStyles.stories.d.ts +24 -0
  27. package/BackOffice/DepartmentStoriesData.d.ts +88 -0
  28. package/BackOffice/DirectoryDesignerRow.stories.d.ts +92 -0
  29. package/BackOffice/DirectoryDesignerRowImpl.d.ts +3 -2
  30. package/BackOffice/DirectoryDesignerRowLabel.stories.d.ts +21 -0
  31. package/BackOffice/DirectoryDesignerRowOldStyles.stories.d.ts +18 -0
  32. package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +14 -0
  33. package/BackOffice/DisplayInitiator.stories.d.ts +31 -0
  34. package/BackOffice/DisplayInitiatorLabel.stories.d.ts +44 -0
  35. package/BackOffice/DisplayInitiatorStoriesData.d.ts +34 -0
  36. package/BackOffice/DisplayPerformers.stories.d.ts +132 -0
  37. package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
  38. package/BackOffice/DisplayPerformersLabel.stories.d.ts +48 -0
  39. package/BackOffice/DisplayPerformersStoriesData.d.ts +71 -0
  40. package/BackOffice/Employee.stories.d.ts +34 -0
  41. package/BackOffice/EmployeeLegacy.stories.d.ts +27 -0
  42. package/BackOffice/EmployeeStoriesData.d.ts +16 -0
  43. package/BackOffice/FileListControl.stories.d.ts +443 -0
  44. package/BackOffice/FileListControlOldStyles.stories.d.ts +214 -0
  45. package/BackOffice/FileListControlStoriesData.d.ts +161 -0
  46. package/BackOffice/FileSignListDialog.d.ts +2 -2
  47. package/BackOffice/GroupTaskCardSelectPerformers.stories.d.ts +55 -0
  48. package/BackOffice/GroupTaskCardSelectPerformersOldStyles.stories.d.ts +19 -0
  49. package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +13 -0
  50. package/BackOffice/History.stories.d.ts +35 -0
  51. package/BackOffice/HistoryOldStyle.stories.d.ts +8 -0
  52. package/BackOffice/HistoryStoriesData.d.ts +45 -0
  53. package/BackOffice/HistoryStoriesHelpers.d.ts +4 -0
  54. package/BackOffice/Links.stories.d.ts +137 -0
  55. package/BackOffice/LinksOldStyles.stories.d.ts +59 -0
  56. package/BackOffice/LinksStoriesData.d.ts +60 -0
  57. package/BackOffice/MultipleEmployees.stories.d.ts +78 -0
  58. package/BackOffice/MultipleEmployeesLabel.stories.d.ts +30 -0
  59. package/BackOffice/MultipleEmployeesOldStyles.stories.d.ts +28 -0
  60. package/BackOffice/MultipleEmployeesStoriesData.d.ts +31 -0
  61. package/BackOffice/Numerator.stories.d.ts +93 -2
  62. package/BackOffice/NumeratorImpl.d.ts +1 -1
  63. package/BackOffice/NumeratorLabel.stories.d.ts +31 -0
  64. package/BackOffice/NumeratorOldStyles.stories.d.ts +27 -0
  65. package/BackOffice/NumeratorStoriesData.d.ts +23 -0
  66. package/BackOffice/PartnerBaseImpl.d.ts +5 -1
  67. package/BackOffice/PartnerImpl.d.ts +2 -1
  68. package/BackOffice/PowersImpl.d.ts +1 -1
  69. package/BackOffice/PrintButton.d.ts +1 -1
  70. package/BackOffice/StaffDirectoryDataVisualiser.d.ts +1 -0
  71. package/BackOffice/StaffDirectoryItems.stories.d.ts +358 -0
  72. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  73. package/BackOffice/StaffDirectoryItemsLabel.stories.d.ts +19 -0
  74. package/BackOffice/StaffDirectoryItemsStoriesData.d.ts +10 -0
  75. package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
  76. package/BackOffice/StateButtons.stories.d.ts +24 -0
  77. package/BackOffice/StateButtonsOldStyle.stories.d.ts +7 -0
  78. package/BackOffice/StateButtonsStoriesData.d.ts +22 -0
  79. package/BackOffice/StateLabel.stories.d.ts +20 -0
  80. package/BackOffice/TaskListItemComponent.d.ts +1 -1
  81. package/BackOffice/Tasks.stories.d.ts +105 -0
  82. package/BackOffice/TasksStoriesData.d.ts +36 -0
  83. package/BackOffice/UniquenessCheck.stories.d.ts +40 -0
  84. package/BackOffice/UniquenessCheckStoriesData.d.ts +24 -0
  85. package/Generated/DocsVision.WebClient.Models.d.ts +8 -0
  86. package/Helpers/Breadcrumbs/Breadcrumbs.d.ts +1 -0
  87. package/Helpers/Breadcrumbs/BreadcrumbsView.d.ts +1 -0
  88. package/Helpers/Breadcrumbs/LinkView/LinkItemViewWithSeparator.d.ts +3 -1
  89. package/Helpers/ComboBox/ComboBoxElement.d.ts +1 -1
  90. package/Helpers/ComboBox/ComboBoxTitle.d.ts +1 -1
  91. package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
  92. package/Helpers/DirectorySearchInput.d.ts +4 -1
  93. package/Helpers/InputMask/InputMaskView.d.ts +1 -1
  94. package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
  95. package/Helpers/LoadingIcon/LoadingIcon.d.ts +1 -0
  96. package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
  97. package/MainBundle.d.ts +2 -0
  98. package/Platform/ButtonPositionsSelection.d.ts +1 -1
  99. package/Platform/CardLinkImpl.d.ts +1 -1
  100. package/Platform/CommentFileImpl.d.ts +1 -1
  101. package/Platform/DeleteBatchOperation.stories.d.ts +49 -0
  102. package/Platform/DeleteBatchOperationStoriesData.d.ts +13 -0
  103. package/Platform/DownloadFilesBatchOperation.stories.d.ts +50 -0
  104. package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +16 -0
  105. package/Platform/FilePreviewImpl.d.ts +1 -1
  106. package/Platform/FolderViewItemsImpl.d.ts +8 -8
  107. package/Platform/ListCheckbox.d.ts +1 -1
  108. package/Platform/MoveShortcutBatchOperation.stories.d.ts +57 -0
  109. package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +12 -0
  110. package/Platform/ReadBatchBatchOperation.stories.d.ts +40 -0
  111. package/Platform/ReadBatchBatchOperationStoriesData.d.ts +13 -0
  112. package/Platform/ScanDialogService.d.ts +1 -1
  113. package/Platform/SearchTextInput.d.ts +1 -1
  114. package/Platform/SettingsPopupLogic.d.ts +1 -1
  115. package/Platform/TextListInputView.d.ts +2 -2
  116. package/System/BaseControlImpl.d.ts +1 -1
  117. package/System/DirectoryBaseImpl.d.ts +1 -0
  118. package/System/InputBasedControlImpl.d.ts +3 -2
  119. package/System/LocationContainerControl.d.ts +2 -1
  120. package/System/LocationContainerControl.stories.d.ts +18 -0
  121. package/System/LocationContainerControlRealoadLayoutApi.stories.d.ts +20 -0
  122. package/System/LocationContainerControlStoriesData.d.ts +15 -0
  123. package/System/ResourcesStub.d.ts +10 -0
  124. package/System/StringUtils.d.ts +1 -1
  125. package/package.json +1 -1
  126. package/Account/AddBackgroundMovementEffect.d.ts +0 -2
@@ -0,0 +1,161 @@
1
+ import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
2
+ import { FileListControlParams } from "@docsvision/webclient/BackOffice/FileListControl";
3
+ import { FileListItemState } from "@docsvision/webclient/BackOffice/FileListItemState";
4
+ export declare const getFileListControlMockProps: () => FileListControlParams;
5
+ export declare const getFileListControlMockServices: (files: any) => {
6
+ layoutManager:
7
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/$LayoutManager").ILayoutManager;
8
+ layoutInfo:
9
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.LayoutInfoModel;
10
+ fileListOptions?:
11
+ import("@docsvision/webclient/FileListControlImpl").IFileListOptions;
12
+ siteUrl: string;
13
+ webServices:
14
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/WebServices/IWebServicesService").IWebServicesService;
15
+ cardTimestamp: number;
16
+ R7OfficeController:
17
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.IR7OfficeController;
18
+ fileService:
19
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/$FileService").IFileService;
20
+ documentCardController:
21
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Legacy/Controllers/DocumentCard/DocumentCard").DocumentCardController;
22
+ fileController:
23
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Legacy/Controllers/FileController/FileController").FileController;
24
+ layoutFileController:
25
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.ILayoutFileController;
26
+ layout:
27
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Controls/Layout/$Layout").ILayout;
28
+ cardId: string;
29
+ realtimeCommunicationService:
30
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/RealtimeCommunication/$RealtimeCommunicationService").IRealtimeCommunicationService;
31
+ router:
32
+ import("@docsvision/web/core/routing").IRouter;
33
+ deviceType:
34
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.DeviceType;
35
+ defaultDeviceType:
36
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.DeviceType;
37
+ editOperations?:
38
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Core/EditOperationStore/IEditOperationStore").IEditOperationStore;
39
+ cardInfo:
40
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.CardInfoModel;
41
+ requestManager:
42
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Core/RequestProcessing/$RequestManager").IRequestManager;
43
+ signatureController:
44
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.ISignatureController;
45
+ dataVisualizationController:
46
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.IDataVisualizationController;
47
+ layoutCheck:
48
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/$LayoutCheckService").ILayoutCheckService;
49
+ applicationSettings:
50
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.ApplicationSettings;
51
+ fileUpload:
52
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Platform/Services/File/IFileUploadService").IFileUploadService;
53
+ urlStore:
54
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Core/UrlStore/$UrlStore").IUrlStore;
55
+ messageBox:
56
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/$MessageBox").IMessageBoxService;
57
+ webViewIOSEnabled: boolean;
58
+ layoutFileApiController:
59
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.ILayoutFileApiController;
60
+ layoutDocumentController:
61
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.ILayoutDocumentController;
62
+ cloudSignature:
63
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/TypeScriptDefinitions/Services/CloudSignature/$CloudSignature").ICloudSignatureService;
64
+ cryptoPro:
65
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/TypeScriptDefinitions/Services/CryptoPro/$CryptoPro").ICryptoProService;
66
+ localStorage:
67
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/System/Services/$LocalStorage").ILocalStorage;
68
+ signatureMethodsController:
69
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Controllers").GenControllers.ISignatureMethodsController;
70
+ digitalSignature:
71
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/TypeScriptDefinitions/Services/DigitalSignature/$DigitalSignature").IDigitalSignatureService;
72
+ };
73
+ export declare const getFileListControlMockFiles: () => FileListItem[];
74
+ export declare const getFileListControlMockChildVersions: () => {
75
+ id: string;
76
+ versionId: string;
77
+ versionPath: string;
78
+ versionNumber: number;
79
+ author: string;
80
+ creationDate: string;
81
+ comments: any[];
82
+ }[];
83
+ export declare const getFileListControlCommandBarButtons: () => {
84
+ controlTypeName: string;
85
+ isAsync: any;
86
+ properties: {
87
+ name: string;
88
+ };
89
+ children: ({
90
+ controlTypeName: string;
91
+ isAsync: any;
92
+ properties: {
93
+ standardCssClass: string;
94
+ visibilityEditOperation: string;
95
+ visibility: boolean;
96
+ name: string;
97
+ tag: string;
98
+ click: string;
99
+ mouseOver: string;
100
+ mouseOut: string;
101
+ signatureFormat?: undefined;
102
+ };
103
+ children: any[];
104
+ } | {
105
+ controlTypeName: string;
106
+ isAsync: any;
107
+ properties: {
108
+ standardCssClass: string;
109
+ visibility: boolean;
110
+ name: string;
111
+ click: string;
112
+ mouseOver: string;
113
+ mouseOut: string;
114
+ signatureFormat: number;
115
+ visibilityEditOperation?: undefined;
116
+ tag?: undefined;
117
+ };
118
+ children: any[];
119
+ })[];
120
+ }[];
121
+ export declare function selectFirst(files: FileListItem[]): FileListItem[];
122
+ export declare function expandFirstMenu(files: FileListItem[]): FileListItem[];
123
+ export declare function lockFirst(files: FileListItem[]): FileListItem[];
124
+ export declare function signAll(files: FileListItem[]): {
125
+ data: {
126
+ hasFileCertificatedSignature: boolean;
127
+ name: string;
128
+ fileCardId: string;
129
+ fileId: string;
130
+ isLocked: boolean;
131
+ isFilePreviewSupported: boolean;
132
+ isESExportAllowed: boolean;
133
+ fileExtension: string;
134
+ childVersions:
135
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.VersionedFileModel[];
136
+ currentVersion:
137
+ import("D:/BuildAgent/work/90220ba22ade039/Bin/Generated/DocsVision.WebClient.Models").GenModels.VersionedFileModel;
138
+ hasFileSignature: boolean;
139
+ isMain: boolean;
140
+ webDavLink: string;
141
+ webDavReadonlyLink: string;
142
+ versionsCount: number;
143
+ size: number;
144
+ };
145
+ settingsMenuExpanded: boolean;
146
+ versionsListExpanded: boolean;
147
+ versionsListAnimating: boolean;
148
+ commentsDialogOpen: boolean;
149
+ uploadVersionAttachedElements:
150
+ import("@docsvision/webclient/Data/FileListAttachElements").FileListAttachedElements;
151
+ uploadSignedAttachedElement:
152
+ import("@docsvision/webclient/Data/FileListAttachElements").FileListAttachedElements;
153
+ versionListElement: HTMLElement;
154
+ itemComponent:
155
+ import("@docsvision/webclient/FileListItem/FileListItemComponent").FileListItemComponent;
156
+ file: File;
157
+ state: FileListItemState;
158
+ isSelected: boolean;
159
+ cssClasses?: string[];
160
+ }[];
161
+ export declare function prepareVersions(data: FileListItem[]): FileListItem[];
@@ -3,7 +3,7 @@ import { ISignatureListItemDataModel } from "@docsvision/webclient/Legacy/ISigna
3
3
  import { LoadingState } from "@docsvision/webclient/System/LoadingState";
4
4
  import React from "react";
5
5
  import { $LayoutDocumentController, $PowerOfAttorneyApiController, $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
6
- import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
6
+ import { $ApplicationSettings, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
7
7
  import { Popover } from "@docsvision/webclient/Helpers/PopoverHelpers/Popover";
8
8
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
9
9
  import { ISignatureListItemDetailDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDetailDataModel";
@@ -20,7 +20,7 @@ export interface IFileSignListDialogProps {
20
20
  onInit?: () => void;
21
21
  /** Вызывается при закрытии окна со списком подписей. */
22
22
  onClose?: () => void;
23
- services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature & $PowerOfAttorneyApiController & $Resources & $MessageBox & $Router;
23
+ services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $ApplicationSettings & $WebViewIOSEnabled & $RequestManager & $CloudSignature & $PowerOfAttorneyApiController & $Resources & $MessageBox & $Router;
24
24
  }
25
25
  /** @internal */
26
26
  export interface IFileSignListDialogState {
@@ -0,0 +1,55 @@
1
+ /// <reference types="react" />
2
+ import { GroupTaskCardSelectPerformers } from "@docsvision/webclient/BackOffice/GroupTaskCardSelectPerformers";
3
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+ import { WithNewStyleLayout } from "Storybook/StorybookUtils/Decorators/LayoutStory";
5
+ declare const _default: {
6
+ title: string;
7
+ component: (typeof GroupTaskCardSelectPerformers)[];
8
+ args: {
9
+ value: {
10
+ executionType: number;
11
+ intervals:
12
+ import("@docsvision/webclient/Data/TaskGroupIntervalModel").TaskGroupInterval[];
13
+ };
14
+ useBusinessCalendar: boolean;
15
+ };
16
+ decorators: (typeof WithNewStyleLayout)[];
17
+ render: (args: any) => JSX.Element;
18
+ };
19
+ export default _default;
20
+ export declare const WithValue: {
21
+ parameters: {
22
+ title: string;
23
+ };
24
+ };
25
+ export declare const Empty: {
26
+ parameters: {
27
+ title: string;
28
+ };
29
+ args: {
30
+ value: {
31
+ executionType: GenModels.ExecutionType;
32
+ intervals: any[];
33
+ };
34
+ };
35
+ };
36
+ export declare const DescriptionEdit: {
37
+ parameters: {
38
+ title: string;
39
+ };
40
+ args: {
41
+ editTaskDescriptionDialogOpened: () => void;
42
+ };
43
+ play: ({ canvasElement }: {
44
+ canvasElement: any;
45
+ }) => Promise<void>;
46
+ };
47
+ export declare const DurationEdit: {
48
+ parameters: {
49
+ title: string;
50
+ };
51
+ args: {
52
+ loaded: (sender: any) => void;
53
+ editTaskDurationDialogOpened: () => void;
54
+ };
55
+ };
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { GroupTaskCardSelectPerformers } from "@docsvision/webclient/BackOffice/GroupTaskCardSelectPerformers";
3
+ import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
4
+ declare const _default: {
5
+ title: string;
6
+ component: typeof GroupTaskCardSelectPerformers;
7
+ decorators: (typeof WithMainStoryLayout)[];
8
+ args: {
9
+ value: {
10
+ executionType: number;
11
+ intervals:
12
+ import("@docsvision/webclient/Data/TaskGroupIntervalModel").TaskGroupInterval[];
13
+ };
14
+ useBusinessCalendar: boolean;
15
+ };
16
+ render: (args: any) => JSX.Element;
17
+ };
18
+ export default _default;
19
+ export * from "App/BackOffice/Controls/GroupTaskCardSelectPerformers/Stories/GroupTaskCardSelectPerformers.stories";
@@ -0,0 +1,13 @@
1
+ import { TaskGroupInterval } from "@docsvision/webclient/BackOffice/TaskGroupIntervalModel";
2
+ import { $TaskGroupPerformersController, $BusinessCalendarController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
+ import { $DeviceType, $CurrentEmployeeId, $ApplicationSettings } from "@docsvision/webclient/StandardServices";
4
+ import { $EditOperationStore, $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
5
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
6
+ export declare function getGroupTaskCardSelectPerformersMockServices(): $EditOperationStore & $MessageBox & $DeviceType & $TaskGroupPerformersController & $LayoutInfo & $CardInfo & $CurrentEmployeeId & $BusinessCalendarController & $ApplicationSettings;
7
+ export declare function getGroupTaskCardSelectPerformersMockProps(): {
8
+ useBusinessCalendar: boolean;
9
+ };
10
+ export declare function getGroupTaskCardSelectPerformersMockValue(): {
11
+ executionType: number;
12
+ intervals: TaskGroupInterval[];
13
+ };
@@ -0,0 +1,35 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import { HistoryParams, History } from "@docsvision/webclient/BackOffice/History";
3
+ import React from "react";
4
+ declare const metaStory: Meta<HistoryParams & {
5
+ ref: React.MutableRefObject<History>;
6
+ }>;
7
+ export default metaStory;
8
+ declare type Story = StoryObj<HistoryParams & {
9
+ ref: React.MutableRefObject<History>;
10
+ }>;
11
+ export declare const Default: Story;
12
+ export declare const WithOpenedModal: Story;
13
+ export declare const EmptyWithOpenedModal: Story;
14
+ export declare const WithSearchEvent: Story;
15
+ export declare const WithSearchAuthorTooltip: Story;
16
+ export declare const WithSearchAuthor: Story;
17
+ export declare const WithSearchDate: Story;
18
+ export declare const WithEventFilterParam: Story;
19
+ export declare const WithDateFilterParam: Story;
20
+ export declare const WithAuthorFilterParam: Story;
21
+ export declare const WithCantViewHistory: Story;
22
+ export declare const WithCantViewHistoryShowPreview: Story;
23
+ export declare const WithShowPreview: Story;
24
+ export declare const WithShowPreviewAndShowMoreButtonHide: Story;
25
+ export declare const WithShowPreviewAndShowMoreButton: Story;
26
+ export declare const WithRecordsOnPageParam: Story;
27
+ export declare const WithoutShowOpenButton: Story;
28
+ export declare const WithShowFiltersInPreview: Story;
29
+ export declare const WithSearchEventInPreview: Story;
30
+ export declare const WithSearchAuthorTooltipInPreview: Story;
31
+ export declare const WithSearchAuthorInPreview: Story;
32
+ export declare const WithSearchDateInPreview: Story;
33
+ export declare const WithEventFilterParamInPreview: Story;
34
+ export declare const WithDateFilterParamInPreview: Story;
35
+ export declare const WithAuthorFilterParamInPreview: Story;
@@ -0,0 +1,8 @@
1
+ import { Meta } from "@storybook/react";
2
+ import { HistoryParams, History } from "@docsvision/webclient/BackOffice/History";
3
+ import React from "react";
4
+ declare const metaStory: Meta<HistoryParams & {
5
+ ref: React.MutableRefObject<History>;
6
+ }>;
7
+ export default metaStory;
8
+ export * from "App/BackOffice/Controls/History/Stories/History.stories";
@@ -0,0 +1,45 @@
1
+ import { $BusinessCalendarController, $LayoutHistoryController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
+ import { $CardId, $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
3
+ import { $Router } from "@docsvision/webclient/System/$Router";
4
+ import { $DeviceType } from "@docsvision/web/core/system-services/environment";
5
+ import { HistoryParams } from "@docsvision/webclient/BackOffice/History";
6
+ export declare function getHistoryServices(): $LayoutHistoryController & $CardId & $EditOperationStore & $DeviceType & $LayoutInfo & $BusinessCalendarController & $Router & $CardInfo & $LayoutStaffController;
7
+ export declare const getBindingArgHistoryStory: (hasMore: boolean) => HistoryParams;
8
+ export declare function getEmployeesMock(): {
9
+ employees: {
10
+ id: string;
11
+ isCurrent: boolean;
12
+ accountName: any;
13
+ displayName: string;
14
+ firstName: string;
15
+ lastName: string;
16
+ middleName: string;
17
+ position: string;
18
+ sdid: string;
19
+ isFavoritePerformer: boolean;
20
+ unitId: string;
21
+ units: any[];
22
+ email: any;
23
+ status: number;
24
+ departmentName: any;
25
+ dataType: number;
26
+ employeeId: string;
27
+ unit: any;
28
+ deputyDisplayName: any;
29
+ }[];
30
+ hasMore: boolean;
31
+ };
32
+ export declare function getHistoryRecordsMock(): {
33
+ records: {
34
+ logNewId: string;
35
+ id: number;
36
+ date: string;
37
+ event: string;
38
+ author: {
39
+ displayName: string;
40
+ };
41
+ }[];
42
+ hasMore: boolean;
43
+ cacheId: string;
44
+ renew: boolean;
45
+ };
@@ -0,0 +1,4 @@
1
+ export declare function typeHistoryEvent(text?: string): Promise<void>;
2
+ export declare function typeHistoryAuthor(): Promise<void>;
3
+ export declare function searchHistoryAuthor(): Promise<void>;
4
+ export declare function searchHistoryDate(): Promise<void>;
@@ -0,0 +1,137 @@
1
+ /// <reference types="react" />
2
+ import { Links } from "@docsvision/webclient/BackOffice/Links";
3
+ import { WithMiddleBlock } from "Storybook/StorybookUtils/Decorators/BlockStory";
4
+ import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
5
+ declare const _default: {
6
+ title: string;
7
+ component: typeof Links;
8
+ decorators: (typeof WithMainStoryLayout)[];
9
+ args: {
10
+ model: {
11
+ links: {
12
+ linkId: string;
13
+ displayName: string;
14
+ linkTypeId: string;
15
+ linkTypeName: string;
16
+ kind: number;
17
+ isDocument: boolean;
18
+ cardId: any;
19
+ cardTypeId: string;
20
+ cardKindId: string;
21
+ fileCardId: any;
22
+ fileVersionId: any;
23
+ creationDate: string;
24
+ authorDisplayName: string;
25
+ description: string;
26
+ url: any;
27
+ canDelete: boolean;
28
+ linkDescription: {
29
+ linkDescriptionMode: number;
30
+ text: string;
31
+ layout: any;
32
+ };
33
+ }[];
34
+ bindingInfo: any;
35
+ allowedLinkCardTypes: string[];
36
+ allowedLinkTypes: string[];
37
+ linksLoaded: boolean;
38
+ totalLinksCount: number;
39
+ descriptionColumnViewMode: number;
40
+ descriptionColumnMethodKey: string;
41
+ };
42
+ showOpened: boolean;
43
+ header: string;
44
+ createLinkLinkTypes: {
45
+ linkTypeId: string;
46
+ name: string;
47
+ displayName: string;
48
+ oppositeLinkName: string;
49
+ }[];
50
+ createLinkKinds: {
51
+ name: string;
52
+ kindId: string;
53
+ cardTypeId: string;
54
+ withDescendants: boolean;
55
+ }[];
56
+ };
57
+ render: (args: any) => JSX.Element;
58
+ };
59
+ export default _default;
60
+ export declare const Collapsed: {
61
+ parameters: {
62
+ title: string;
63
+ };
64
+ args: {
65
+ model: any;
66
+ showOpened: boolean;
67
+ };
68
+ };
69
+ export declare const Empty: {
70
+ parameters: {
71
+ title: string;
72
+ };
73
+ args: {
74
+ model: any;
75
+ };
76
+ };
77
+ export declare const WithValue: {
78
+ parameters: {
79
+ title: string;
80
+ };
81
+ };
82
+ export declare const ColumnSettingsActive: {
83
+ parameters: {
84
+ title: string;
85
+ };
86
+ play: ({ canvasElement }: {
87
+ canvasElement: any;
88
+ }) => Promise<void>;
89
+ render: (args: any) => JSX.Element;
90
+ };
91
+ export declare const CommandBarExpanded: {
92
+ parameters: {
93
+ title: string;
94
+ };
95
+ play: ({ canvasElement }: {
96
+ canvasElement: any;
97
+ }) => Promise<void>;
98
+ };
99
+ export declare const MiddleBlock: {
100
+ parameters: {
101
+ title: string;
102
+ };
103
+ decorators: (typeof WithMiddleBlock)[];
104
+ };
105
+ export declare const ItemMenu: {
106
+ parameters: {
107
+ title: string;
108
+ };
109
+ play: ({ canvasElement }: {
110
+ canvasElement: any;
111
+ }) => void;
112
+ };
113
+ export declare const ItemDescription: {
114
+ parameters: {
115
+ title: string;
116
+ };
117
+ play: ({ canvasElement }: {
118
+ canvasElement: any;
119
+ }) => void;
120
+ };
121
+ export declare const ItemDescriptionActive: {
122
+ parameters: {
123
+ title: string;
124
+ };
125
+ play: ({ canvasElement }: {
126
+ canvasElement: any;
127
+ }) => Promise<void>;
128
+ };
129
+ export declare const AddNewLinkDialog: {
130
+ parameters: {
131
+ title: string;
132
+ };
133
+ play: ({ canvasElement }: {
134
+ canvasElement: any;
135
+ }) => Promise<void>;
136
+ render: (args: any) => JSX.Element;
137
+ };
@@ -0,0 +1,59 @@
1
+ /// <reference types="react" />
2
+ import { Links } from "@docsvision/webclient/BackOffice/Links";
3
+ import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
4
+ declare const _default: {
5
+ title: string;
6
+ component: typeof Links;
7
+ decorators: (typeof WithMainStoryLayout)[];
8
+ args: {
9
+ model: {
10
+ links: {
11
+ linkId: string;
12
+ displayName: string;
13
+ linkTypeId: string;
14
+ linkTypeName: string;
15
+ kind: number;
16
+ isDocument: boolean;
17
+ cardId: any;
18
+ cardTypeId: string;
19
+ cardKindId: string;
20
+ fileCardId: any;
21
+ fileVersionId: any;
22
+ creationDate: string;
23
+ authorDisplayName: string;
24
+ description: string;
25
+ url: any;
26
+ canDelete: boolean;
27
+ linkDescription: {
28
+ linkDescriptionMode: number;
29
+ text: string;
30
+ layout: any;
31
+ };
32
+ }[];
33
+ bindingInfo: any;
34
+ allowedLinkCardTypes: string[];
35
+ allowedLinkTypes: string[];
36
+ linksLoaded: boolean;
37
+ totalLinksCount: number;
38
+ descriptionColumnViewMode: number;
39
+ descriptionColumnMethodKey: string;
40
+ };
41
+ showOpened: boolean;
42
+ header: string;
43
+ createLinkLinkTypes: {
44
+ linkTypeId: string;
45
+ name: string;
46
+ displayName: string;
47
+ oppositeLinkName: string;
48
+ }[];
49
+ createLinkKinds: {
50
+ name: string;
51
+ kindId: string;
52
+ cardTypeId: string;
53
+ withDescendants: boolean;
54
+ }[];
55
+ };
56
+ render: (args: any) => JSX.Element;
57
+ };
58
+ export default _default;
59
+ export * from "App/BackOffice/Controls/Links/Stories/Links.stories";
@@ -0,0 +1,60 @@
1
+ import { $LinksSearchCards } from "@docsvision/webclient/BackOffice/$LinksSearchCardsService";
2
+ import { $LayoutFileController, $LayoutController, $LayoutLinksController, $CardOperationsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
+ import { $FileController } from "@docsvision/webclient/Legacy/FileController";
4
+ import { $FilePreview } from "@docsvision/webclient/Platform/$FilePreview";
5
+ import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
6
+ import { $Layout } from "@docsvision/webclient/System/$Layout";
7
+ import { $EditOperationStore, $CardId, $CardTimestamp, $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
8
+ import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
9
+ import { $FileService } from "@docsvision/webclient/System/$FileService";
10
+ import { $LayoutCheck } from "@docsvision/webclient/System/$LayoutCheckService";
11
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
12
+ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
13
+ export declare function getLinksMockServices(): $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $ApplicationSettings & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & $LinksSearchCards & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & $FilePreview & $WebViewIOSEnabled;
14
+ export declare function getLinksMockProps(): {
15
+ header: string;
16
+ createLinkLinkTypes: {
17
+ linkTypeId: string;
18
+ name: string;
19
+ displayName: string;
20
+ oppositeLinkName: string;
21
+ }[];
22
+ createLinkKinds: {
23
+ name: string;
24
+ kindId: string;
25
+ cardTypeId: string;
26
+ withDescendants: boolean;
27
+ }[];
28
+ };
29
+ export declare function getLinksMockValue(): {
30
+ links: {
31
+ linkId: string;
32
+ displayName: string;
33
+ linkTypeId: string;
34
+ linkTypeName: string;
35
+ kind: number;
36
+ isDocument: boolean;
37
+ cardId: any;
38
+ cardTypeId: string;
39
+ cardKindId: string;
40
+ fileCardId: any;
41
+ fileVersionId: any;
42
+ creationDate: string;
43
+ authorDisplayName: string;
44
+ description: string;
45
+ url: any;
46
+ canDelete: boolean;
47
+ linkDescription: {
48
+ linkDescriptionMode: number;
49
+ text: string;
50
+ layout: any;
51
+ };
52
+ }[];
53
+ bindingInfo: any;
54
+ allowedLinkCardTypes: string[];
55
+ allowedLinkTypes: string[];
56
+ linksLoaded: boolean;
57
+ totalLinksCount: number;
58
+ descriptionColumnViewMode: number;
59
+ descriptionColumnMethodKey: string;
60
+ };