@docsvision/webclient 5.17.8 → 5.17.9

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 (73) hide show
  1. package/App.d.ts +1 -1
  2. package/Application.d.ts +1 -1
  3. package/BackOffice/AddressStoriesData.d.ts +2 -1
  4. package/BackOffice/CardKindStoriesData.d.ts +2 -1
  5. package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +2 -1
  6. package/BackOffice/DelegateBatchOperationStoriesData.d.ts +2 -1
  7. package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +2 -1
  8. package/BackOffice/DepartmentStoriesData.d.ts +2 -1
  9. package/BackOffice/DirectoryDesignerRow.stories.d.ts +6 -0
  10. package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +2 -1
  11. package/BackOffice/DisplayInitiatorStoriesData.d.ts +2 -1
  12. package/BackOffice/DisplayPerformersLabel.stories.d.ts +5 -0
  13. package/BackOffice/DisplayPerformersStoriesData.d.ts +2 -1
  14. package/BackOffice/EmailButtonView.d.ts +1 -1
  15. package/BackOffice/EmployeeStoriesData.d.ts +4 -1
  16. package/BackOffice/FileListConstants.d.ts +2 -0
  17. package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +2 -1
  18. package/BackOffice/HistoryStoriesData.d.ts +2 -1
  19. package/BackOffice/LinksStoriesData.d.ts +2 -1
  20. package/BackOffice/MultipleEmployees.stories.d.ts +3 -0
  21. package/BackOffice/MultipleEmployeesStoriesData.d.ts +4 -1
  22. package/BackOffice/NumeratorStoriesData.d.ts +2 -1
  23. package/BackOffice/Partner.stories.d.ts +46 -0
  24. package/BackOffice/PartnerDepartment.stories.d.ts +39 -0
  25. package/BackOffice/PartnerDepartmentLabel.stories.d.ts +37 -0
  26. package/BackOffice/PartnerDepartmentOldStyles.stories.d.ts +19 -0
  27. package/BackOffice/PartnerDepartmentStoriesData.d.ts +175 -0
  28. package/BackOffice/PartnerLabel.stories.d.ts +25 -0
  29. package/BackOffice/PartnerOldStyles.stories.d.ts +19 -0
  30. package/BackOffice/PartnerStoriesData.d.ts +141 -0
  31. package/BackOffice/SignatureMethodsSetupCertificateRow.d.ts +1 -0
  32. package/BackOffice/SignatureMethodsSetupLogic.d.ts +1 -0
  33. package/BackOffice/StaffDirectoryItemsStoriesData.d.ts +2 -1
  34. package/BackOffice/StateButtonsStoriesData.d.ts +2 -1
  35. package/BackOffice/StateLabel.stories.d.ts +1 -0
  36. package/BackOffice/TasksStoriesData.d.ts +2 -1
  37. package/BackOffice/UniquenessCheckStoriesData.d.ts +2 -1
  38. package/Generated/DocsVision.WebClient.Controllers.d.ts +68 -0
  39. package/Generated/DocsVision.WebClient.Models.d.ts +60 -0
  40. package/Helpers/Sortable/Sortable.d.ts +1 -1
  41. package/Legacy/StandardControllers.d.ts +2 -2
  42. package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
  43. package/Libs/CryptoPro/Crypto.d.ts +3 -3
  44. package/MainBundle.d.ts +2 -0
  45. package/Platform/DeleteBatchOperationStoriesData.d.ts +2 -1
  46. package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +2 -1
  47. package/Platform/FilePreviewImpl.d.ts +4 -1
  48. package/Platform/FilterViews.d.ts +1 -1
  49. package/Platform/FolderGrid.d.ts +2 -2
  50. package/Platform/IsViewNotAvailable.d.ts +2 -0
  51. package/Platform/ListContentHightlight.stories.d.ts +60 -0
  52. package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +2 -1
  53. package/Platform/ReadBatchBatchOperationStoriesData.d.ts +2 -1
  54. package/Platform/SearchResultsItem.d.ts +2 -1
  55. package/Platform/SearchingResultsImpl.d.ts +2 -0
  56. package/Platform/SessionExpiredHandler.d.ts +2 -0
  57. package/Platform/SettingsPopupItemView.d.ts +3 -1
  58. package/Platform/TestUtils.d.ts +3 -2
  59. package/Platform/TextAreaImpl.d.ts +1 -0
  60. package/RegisterServices.d.ts +2 -1
  61. package/StandardServices.d.ts +3 -2
  62. package/StartUp.d.ts +2 -1
  63. package/System/$LongQueries.d.ts +7 -0
  64. package/System/$SessionRelatedContent.d.ts +11 -0
  65. package/System/InputBasedControl.d.ts +2 -0
  66. package/System/InputBasedControlImpl.d.ts +4 -0
  67. package/System/LocationContainerControlStoriesData.d.ts +2 -1
  68. package/System/LongQueriesService.d.ts +20 -0
  69. package/System/RealtimeCommunicationService.d.ts +1 -0
  70. package/System/SessionRelatedContentService.d.ts +8 -0
  71. package/package.json +1 -1
  72. package/System/$PageReloadRequired.d.ts +0 -8
  73. package/System/PageReloadRequiredService.d.ts +0 -5
@@ -0,0 +1,141 @@
1
+ import { $DepartmentController, $LayoutPartnerController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ export declare function getMockServices():
4
+ import("@docsvision/web/core/services").ServiceContainer & $LayoutPartnerController & $DepartmentController;
5
+ export declare function closeModal(): void;
6
+ export declare function getEmployee(): GenModels.EmployeeDataModel;
7
+ export declare function getSelectedFilterPath(): {
8
+ id: string;
9
+ name: string;
10
+ fullName: string;
11
+ inn: any;
12
+ notAvailable: boolean;
13
+ departmentType: number;
14
+ childrenLoaded: boolean;
15
+ hasChildren: boolean;
16
+ hasEmployee: boolean;
17
+ children: any[];
18
+ dataType: number;
19
+ }[];
20
+ export declare function getLoadTreeResponse(): {
21
+ items: {
22
+ itemType: number;
23
+ data: {
24
+ id: string;
25
+ name: string;
26
+ fullName: string;
27
+ inn: any;
28
+ notAvailable: boolean;
29
+ departmentType: number;
30
+ childrenLoaded: boolean;
31
+ hasChildren: boolean;
32
+ hasEmployee: boolean;
33
+ children: any[];
34
+ dataType: number;
35
+ };
36
+ hasChildren: boolean;
37
+ }[];
38
+ totalItemsCount: number;
39
+ directoryTimestamp: number;
40
+ };
41
+ export declare function getLoadTreeSingleResponse(): Promise<{
42
+ items: {
43
+ itemType: number;
44
+ data: {
45
+ id: string;
46
+ isCurrent: boolean;
47
+ accountName: any;
48
+ displayName: string;
49
+ firstName: string;
50
+ lastName: string;
51
+ middleName: string;
52
+ position: any;
53
+ sdid: string;
54
+ isFavoritePerformer: boolean;
55
+ unitId: string;
56
+ units: any[];
57
+ email: any;
58
+ status: number;
59
+ departmentName: any;
60
+ dataType: number;
61
+ };
62
+ hasChildren: boolean;
63
+ }[];
64
+ totalItemsCount: number;
65
+ directoryTimestamp: number;
66
+ }>;
67
+ export declare function getLoadTreeEmptyResponse(): Promise<{
68
+ items: any[];
69
+ totalItemsCount: number;
70
+ directoryTimestamp: number;
71
+ }>;
72
+ export declare function getDirectorySearchDepartmentsResponse(): Promise<{
73
+ items: {
74
+ searchInfo: {
75
+ matched: boolean;
76
+ matchedFieldName: string;
77
+ matchedFieldValue: string;
78
+ };
79
+ path: any[];
80
+ itemType: number;
81
+ data: {
82
+ id: string;
83
+ name: string;
84
+ fullName: string;
85
+ inn: any;
86
+ notAvailable: boolean;
87
+ departmentType: number;
88
+ childrenLoaded: boolean;
89
+ hasChildren: boolean;
90
+ hasEmployee: any;
91
+ children: any[];
92
+ dataType: number;
93
+ };
94
+ hasChildren: boolean;
95
+ }[];
96
+ hasMore: boolean;
97
+ directoryTimestamp: number;
98
+ }>;
99
+ export declare function getDirectorySearchEmployeeResponse(): Promise<{
100
+ items: {
101
+ searchInfo: {
102
+ matched: boolean;
103
+ matchedFieldName: string;
104
+ matchedFieldValue: string;
105
+ };
106
+ path: {
107
+ id: string;
108
+ name: string;
109
+ fullName: string;
110
+ departmentType: number;
111
+ dataType: number;
112
+ }[];
113
+ itemType: number;
114
+ data: {
115
+ id: string;
116
+ isCurrent: boolean;
117
+ accountName: any;
118
+ displayName: string;
119
+ firstName: string;
120
+ lastName: string;
121
+ middleName: string;
122
+ position: any;
123
+ sdid: string;
124
+ isFavoritePerformer: boolean;
125
+ unitId: string;
126
+ units: any[];
127
+ email: any;
128
+ status: number;
129
+ departmentName: any;
130
+ dataType: number;
131
+ };
132
+ hasChildren: boolean;
133
+ }[];
134
+ hasMore: boolean;
135
+ directoryTimestamp: number;
136
+ }>;
137
+ export declare function getDirectorySearchEmptyResponse(): Promise<{
138
+ items: any[];
139
+ hasMore: boolean;
140
+ directoryTimestamp: number;
141
+ }>;
@@ -7,6 +7,7 @@ import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/Standar
7
7
  export interface ISignatureMethodsSetupCertificateRowProps extends ITabsNavPanelProps {
8
8
  item: ISortableItem<GenModels.SignatureMethod>;
9
9
  canToggle: boolean;
10
+ localSignatureAvailable: boolean;
10
11
  onToggle: (method: GenModels.SignatureMethod) => void;
11
12
  onCommentChange: (method: GenModels.SignatureMethod, comment: string) => void;
12
13
  services: $ApplicationSettings & $DeviceType;
@@ -24,6 +24,7 @@ import("effector").Event<{
24
24
  method: GenModels.SignatureMethod;
25
25
  comment: string;
26
26
  }>;
27
+ private isLocalCertificateMethod;
27
28
  initSelectedCertificatesLogic(): void;
28
29
  $localCertificates: Store<GenModels.SavedCertificateInfo[]>;
29
30
  initLocalCertificates:
@@ -6,5 +6,6 @@ import { $CardInfo, $CurrentLocation, $EditOperationStore, $LayoutInfo } from "@
6
6
  import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
7
7
  import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
8
8
  import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
9
- export declare function getStaffDirectoryItemsMockServices(): $LayoutInfo & $EditOperationStore & $LayoutRowController & $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType & $StaffDirectoryItemsController & $CardInfo & $LabelWidth & $LocalStorage & $LayoutStaffController;
9
+ export declare function getStaffDirectoryItemsMockServices():
10
+ import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $EditOperationStore & $LayoutRowController & $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType & $StaffDirectoryItemsController & $CardInfo & $LabelWidth & $LocalStorage & $LayoutStaffController;
10
11
  export declare function getStaffDirectoryItemsMockProps(): StaffDirectoryItemsParams;
@@ -3,7 +3,8 @@ import { $Layout } from "@docsvision/webclient/System/$Layout";
3
3
  import { $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
4
4
  import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
5
5
  import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
6
- export declare function getStateButtonsServices(): $EditOperationStore & $Layout & $LayoutInfo & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
6
+ export declare function getStateButtonsServices():
7
+ import("@docsvision/web/core/services").ServiceContainer & $EditOperationStore & $Layout & $LayoutInfo & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
7
8
  export declare function getStateButtonsMockOperations(): {
8
9
  operationId: string;
9
10
  builtInOperationId: string;
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  }) => {
11
11
  stateId: string;
12
12
  caption: string;
13
+ defaultName: string;
13
14
  builtInStateId: string;
14
15
  };
15
16
  component: typeof State;
@@ -7,7 +7,8 @@ import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
7
7
  export declare function getTasksMockServices({ emptyTaskList, longList }?: {
8
8
  emptyTaskList: boolean;
9
9
  longList: boolean;
10
- }): $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
10
+ }):
11
+ import("@docsvision/web/core/services").ServiceContainer & $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
11
12
  export declare function getTasksMockProps(): {
12
13
  header: string;
13
14
  tasksCreateInfo: {
@@ -2,7 +2,8 @@ import { $LayoutController, $LayoutDocumentController } from "@docsvision/webcli
2
2
  import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
3
3
  import { $Layout } from "@docsvision/webclient/System/$Layout";
4
4
  import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
5
- export declare function getUniquenessCheckMockServices(): $LayoutDocumentController & $CardInfo & $LayoutController & $LayoutInfo & $Layout & $ApplicationSettings;
5
+ export declare function getUniquenessCheckMockServices():
6
+ import("@docsvision/web/core/services").ServiceContainer & $LayoutDocumentController & $CardInfo & $LayoutController & $LayoutInfo & $Layout & $ApplicationSettings;
6
7
  export declare function getUniquenessCheckMockProps(): {
7
8
  isModalVisible: boolean;
8
9
  visibility: boolean;
@@ -414,6 +414,56 @@ export declare type $FileAccessController = {
414
414
  fileAccessController: GenControllers.IFileAccessController;
415
415
  };
416
416
  export declare const $FileAccessController: string | ((model?: $FileAccessController) => GenControllers.IFileAccessController);
417
+ export declare namespace GenControllers {
418
+ /**
419
+ * File hash controller
420
+ */
421
+ interface IFileHashController {
422
+ /**
423
+ * Get hash of file data
424
+ *
425
+ * @param fileId File ID
426
+ * @param algorithm Hash algorithm name
427
+ *
428
+ * @returns Returns the hash of the file
429
+ */
430
+ getDataHash(fileId: string, algorithm: string, options?: RequestOptions): Promise<string>;
431
+ /**
432
+ * Get hash of attachment stream
433
+ *
434
+ * @param cardId Card id
435
+ * @param algorithm Hash algorithm name
436
+ *
437
+ * @returns Returns the hash of the attachment stream
438
+ */
439
+ getAttachmentStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
440
+ /**
441
+ * Get hash of fields stream
442
+ *
443
+ * @param cardId Card id
444
+ * @param algorithm Hash algorithm name
445
+ *
446
+ * @returns Returns the hash of the fields stream
447
+ */
448
+ getFieldsStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
449
+ /**
450
+ * Get hash algorithm name from certificate in base64
451
+ *
452
+ * @returns Hash algorithm name
453
+ */
454
+ getCertificateHashAlgorithm(options?: RequestOptions): Promise<any>;
455
+ }
456
+ class FileHashController extends BaseController implements IFileHashController {
457
+ getDataHash(fileId: string, algorithm: string, options?: RequestOptions): Promise<string>;
458
+ getAttachmentStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
459
+ getFieldsStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
460
+ getCertificateHashAlgorithm(options?: RequestOptions): Promise<any>;
461
+ }
462
+ }
463
+ export declare type $FileHashController = {
464
+ fileHashController: GenControllers.IFileHashController;
465
+ };
466
+ export declare const $FileHashController: string | ((model?: $FileHashController) => GenControllers.IFileHashController);
417
467
  export declare namespace GenControllers {
418
468
  /**
419
469
  * Api controller with power of attorney methods
@@ -512,6 +562,24 @@ export declare type $PowerOfAttorneyApiController = {
512
562
  powerOfAttorneyApiController: GenControllers.IPowerOfAttorneyApiController;
513
563
  };
514
564
  export declare const $PowerOfAttorneyApiController: string | ((model?: $PowerOfAttorneyApiController) => GenControllers.IPowerOfAttorneyApiController);
565
+ export declare namespace GenControllers {
566
+ /**
567
+ * Session management controller
568
+ */
569
+ interface ISessionManagementController {
570
+ /**
571
+ * Recreates session
572
+ */
573
+ recreateSession(requestRecreateQuery: GenModels.SessionRecreateQueryModel, options?: RequestOptions): Promise<GenModels.SessionRecreateResultModel>;
574
+ }
575
+ class SessionManagementController extends BaseController implements ISessionManagementController {
576
+ recreateSession(requestRecreateQuery: GenModels.SessionRecreateQueryModel, options?: RequestOptions): Promise<GenModels.SessionRecreateResultModel>;
577
+ }
578
+ }
579
+ export declare type $SessionManagementController = {
580
+ sessionManagementController: GenControllers.ISessionManagementController;
581
+ };
582
+ export declare const $SessionManagementController: string | ((model?: $SessionManagementController) => GenControllers.ISessionManagementController);
515
583
  export declare namespace GenControllers {
516
584
  /**
517
585
  * Access signature methods configuration
@@ -949,6 +949,22 @@ export declare namespace GenModels {
949
949
  withChildrenPowerOfAttorney: boolean;
950
950
  }
951
951
  }
952
+ export declare namespace GenModels {
953
+ interface SessionRecreateQueryModel {
954
+ /**
955
+ * Gets or sets value indicating whether session was recreated manually or by closing tab
956
+ */
957
+ manual: boolean;
958
+ }
959
+ }
960
+ export declare namespace GenModels {
961
+ interface SessionRecreateResultModel {
962
+ /**
963
+ * Gets or sets value indicating session recreate result
964
+ */
965
+ result: GenModels.SessionRecreateResult;
966
+ }
967
+ }
952
968
  export declare namespace GenModels {
953
969
  interface SignatureMethodSettings {
954
970
  /**
@@ -3087,6 +3103,14 @@ export declare namespace GenModels {
3087
3103
  * Displayed name of power of attorney
3088
3104
  */
3089
3105
  powerOfAttorneyTitle: string;
3106
+ /**
3107
+ * Principal Inn
3108
+ */
3109
+ principalInn: string;
3110
+ /**
3111
+ * Representative Inn
3112
+ */
3113
+ representativeInn: string;
3090
3114
  /**
3091
3115
  * Power of attorney number
3092
3116
  *
@@ -5216,6 +5240,10 @@ export declare namespace GenModels {
5216
5240
  * @format datatype.uuid
5217
5241
  */
5218
5242
  cardId: string;
5243
+ /**
5244
+ * Card, to associate log record with is creating.
5245
+ */
5246
+ cardCreating: boolean;
5219
5247
  }
5220
5248
  }
5221
5249
  export declare namespace GenModels {
@@ -6489,6 +6517,7 @@ export declare namespace GenModels {
6489
6517
  departmentName: string;
6490
6518
  comment: string;
6491
6519
  decisionText: string;
6520
+ positionName: string;
6492
6521
  }
6493
6522
  }
6494
6523
  export declare namespace GenModels {
@@ -6909,6 +6938,10 @@ export declare namespace GenModels {
6909
6938
  * Gets or sets caption
6910
6939
  */
6911
6940
  caption: string;
6941
+ /**
6942
+ * Gets or sets default state name (non-localized)
6943
+ */
6944
+ defaultName: string;
6912
6945
  /**
6913
6946
  * Not configurable persistent state identifier.
6914
6947
  *
@@ -9610,6 +9643,10 @@ export declare namespace GenModels {
9610
9643
  * Possible extensions for signature files.
9611
9644
  */
9612
9645
  signatureFileExtensions: Array<string>;
9646
+ /**
9647
+ * Selecting a mechanism for generating an electronic signature
9648
+ */
9649
+ calculateSignatureHashOnServer: boolean;
9613
9650
  /**
9614
9651
  * Settings for cloud signature (DSS)
9615
9652
  */
@@ -10799,6 +10836,10 @@ export declare namespace GenModels {
10799
10836
  * Gets or sets completion option where task state in Completed
10800
10837
  */
10801
10838
  completionOption: GenModels.CompletionOptionModel;
10839
+ /**
10840
+ * Gets or sets completed user
10841
+ */
10842
+ completedUser: GenModels.EmployeeModel;
10802
10843
  /**
10803
10844
  * Task performer
10804
10845
  */
@@ -11553,6 +11594,25 @@ export declare namespace GenModels {
11553
11594
  Individual = 2
11554
11595
  }
11555
11596
  }
11597
+ export declare namespace GenModels {
11598
+ /**
11599
+ * Represents session recreation result
11600
+ */
11601
+ enum SessionRecreateResult {
11602
+ /**
11603
+ * Session was not recreated.
11604
+ */
11605
+ None = 0,
11606
+ /**
11607
+ * Session recreation started.
11608
+ */
11609
+ RecreationStarted = 1,
11610
+ /**
11611
+ * Session was not recreated, sessions recreation limit was reached.
11612
+ */
11613
+ LimitReached = 2
11614
+ }
11615
+ }
11556
11616
  export declare namespace GenModels {
11557
11617
  /**
11558
11618
  * Where from signature method was received.
@@ -147,7 +147,7 @@ export declare class Sortable extends React.Component<ISortableProps, undefined>
147
147
  * @param props Свойства компонента
148
148
  */
149
149
  protected getSortablePluginOptions(props: ISortableProps): {
150
- axis: "x" | "y";
150
+ axis: "y" | "x";
151
151
  containment: string | HTMLElement | JQuery<HTMLElement>;
152
152
  cursor: string;
153
153
  disabled: boolean;
@@ -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, $PowersDirectoryController, $NavigatorController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
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, $PowersDirectoryController, $NavigatorController, $SessionManagementController } 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 & $PowersDirectoryController & $NavigatorController;
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 & $PowersDirectoryController & $NavigatorController & $SessionManagementController;
@@ -40,6 +40,7 @@ export interface TaskCardFilePanelState extends TaskCardFilePanelParams, BaseRaz
40
40
  export declare class TaskCardFilePanelRazorControl extends BaseRazorControl<TaskCardFilePanelParams, TaskCardFilePanelState> {
41
41
  private needPrepareItems;
42
42
  private control;
43
+ private panelName;
43
44
  addShadowClass: boolean;
44
45
  protected construct(): void;
45
46
  loadFilesAsync(): Promise<unknown>;
@@ -84,10 +84,10 @@ export declare class Crypto {
84
84
  static GetCertificateInfoByThumbprint(thumbprint: any): Promise<ICryptoCertificateInfo>;
85
85
  private static GetCertificateByThumbprint_NPAPI;
86
86
  static CheckForPlugIn(): any;
87
- static SignFilesWithCertificate(encryptedInfo: EncryptedInfo, files: IFileSignInfo[], cardId: string, signFields?: boolean, signAttachments?: boolean, signType?: number, tspService?: string): Promise<any>;
88
- static SignFilesWithCertificateEx(encryptedInfo: EncryptedInfo, files: IFileSignInfo[], cardId: string, signFields?: boolean, signAttachments?: boolean, signType?: number, tspService?: string): Promise<any>;
87
+ static SignFilesWithCertificate(encryptedInfo: EncryptedInfo, files: IFileSignInfo[], cardId: string, signFields?: boolean, signAttachments?: boolean, signType?: number, tspService?: string, signHash?: boolean): Promise<any>;
88
+ static SignFilesWithCertificateEx(encryptedInfo: EncryptedInfo, files: IFileSignInfo[], cardId: string, signFields?: boolean, signAttachments?: boolean, signType?: number, tspService?: string, signHash?: boolean): Promise<any>;
89
89
  static CanAsync(): boolean;
90
- static SignData(encryptedInfo: EncryptedInfo, dataToSign: any, signType?: any, tspService?: any): any;
90
+ static SignData(encryptedInfo: EncryptedInfo, dataToSign: any, signType?: any, tspService?: any, signHashAlgorithmCode?: number): any;
91
91
  private static Verify;
92
92
  static GetCertsList(): Promise<ICryptoCertificate[]>;
93
93
  private static GetCertsList_NPAPI;
package/MainBundle.d.ts CHANGED
@@ -28,3 +28,5 @@ import "@docsvision/webclient/Helpers/DynamicTree/IDynamicTreeNodeData";
28
28
  import "@docsvision/webclient/BackOffice/SignatureConstants";
29
29
  import "@docsvision/webclient/BackOffice/FileSignCreateDialog";
30
30
  import "@docsvision/webclient/BackOffice/FileSignSelectCertificateDialog";
31
+ import { ServiceContainer } from "@docsvision/web/core/services";
32
+ export declare function getPageloadServices(applicationSettings: any): ServiceContainer;
@@ -9,5 +9,6 @@ import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
9
9
  import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
10
10
  import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
11
11
  import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
12
- export declare function getDeleteBatchOperationMockServices(): $ApplicationSettings & $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
12
+ export declare function getDeleteBatchOperationMockServices():
13
+ import("@docsvision/web/core/services").ServiceContainer & $ApplicationSettings & $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
13
14
  export declare function getDeleteBatchOperationMockProps(): {};
@@ -12,5 +12,6 @@ import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSele
12
12
  import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
13
13
  import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
14
14
  import { $UrlResolver } from "@docsvision/webclient/System/$UrlResolver";
15
- export declare function getDownloadFilesBatchOperationMockServices(): $ApplicationSettings & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $Folders & $FileDownload & $RequestManager & $UrlResolver & $CardDataController & $BatchOperationsProgressDialog & $FolderGrid & $FolderDataLoading;
15
+ export declare function getDownloadFilesBatchOperationMockServices():
16
+ import("@docsvision/web/core/services").ServiceContainer & $ApplicationSettings & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $Folders & $FileDownload & $RequestManager & $UrlResolver & $CardDataController & $BatchOperationsProgressDialog & $FolderGrid & $FolderDataLoading;
16
17
  export declare function getDownloadFilesBatchOperationMockProps(): {};
@@ -20,7 +20,7 @@ export interface IFilePreviewState extends FilePreviewParams, BaseControlState {
20
20
  afterOpenCloseWindow: BasicApiEvent<IFilePreviewedArgs>;
21
21
  fileItem: FileListItem;
22
22
  files: FileListItem[];
23
- pdfUrl: string;
23
+ previewUrl: string;
24
24
  isCommentsOpened: boolean;
25
25
  wasClosed: boolean;
26
26
  useR7Viewer: boolean;
@@ -107,6 +107,9 @@ export declare class FilePreviewImpl extends BaseControlImpl<FilePreviewParams,
107
107
  getPdfJsPreview: () => JSX.Element;
108
108
  getR7Preview: () => JSX.Element;
109
109
  filePreviewDialog: () => JSX.Element;
110
+ private renderPreview;
111
+ private getPreviewUrl;
112
+ private getPdfJsUrl;
110
113
  private getR7ViewerUrl;
111
114
  private getDocType;
112
115
  private getFileId;
@@ -1,3 +1,3 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
2
  import { ICurrentFolderService } from "@docsvision/webclient/Platform/$CurrentFolder";
3
- export declare function filterViews(views: GenModels.FolderViewInfo[], currentFolder: ICurrentFolderService): GenModels.FolderViewInfo[];
3
+ export declare function filterViews(views: GenModels.FolderViewInfo[], currentFolder: ICurrentFolderService, currentView?: string): GenModels.FolderViewInfo[];
@@ -23,7 +23,7 @@ import { $ToolbarHeight } from '@docsvision/web/components/table/plugins/toolbar
23
23
  import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
24
24
  import { $SidePanel } from '@docsvision/web/components/table/plugins/side-panel';
25
25
  import { $Aggregates } from '@docsvision/webclient/Platform/$AggregatesCheckbox';
26
- import { $PageReloadRequired } from "@docsvision/webclient/System/$PageReloadRequired";
26
+ import { $SessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
27
27
  /**
28
28
  * Содержит публичные свойства элемента управления [Метка]{@link Grid}.
29
29
  */
@@ -45,7 +45,7 @@ export declare class FolderGridParams extends BaseControlParams {
45
45
  opacity?: number;
46
46
  isGroupingAllowed?: boolean;
47
47
  showList?: boolean;
48
- services?: $GridOptions & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls & $ToolbarHeight & $SidePanel & Optional<$Aggregates> & $IsIE & $PageReloadRequired;
48
+ services?: $GridOptions & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls & $ToolbarHeight & $SidePanel & Optional<$Aggregates> & $IsIE & $SessionRelatedContent;
49
49
  }
50
50
  /**
51
51
  * Класс элемента управления FolderGrid.
@@ -0,0 +1,2 @@
1
+ import { ICurrentFolderService } from "@docsvision/webclient/Platform/$CurrentFolder";
2
+ export declare function isViewNotAvailable(viewId: string, currentFolder: ICurrentFolderService): boolean;
@@ -0,0 +1,60 @@
1
+ /// <reference types="react" />
2
+ import { ListContentHightlight } from "@docsvision/webclient/Platform/ListContentHightlight";
3
+ import { ColumnType } from "@docsvision/web/components/table/interfaces";
4
+ declare const _default: {
5
+ title: string;
6
+ component: typeof ListContentHightlight;
7
+ args: {
8
+ children: string;
9
+ type: ColumnType;
10
+ };
11
+ render: (args: any) => JSX.Element;
12
+ };
13
+ export default _default;
14
+ export declare const HtmlText: {
15
+ parameters: {
16
+ title: string;
17
+ };
18
+ };
19
+ export declare const HtmlTextHighlight: {
20
+ parameters: {
21
+ title: string;
22
+ };
23
+ args: {
24
+ searchText: string;
25
+ };
26
+ };
27
+ export declare const SearchInHtmlTags: {
28
+ parameters: {
29
+ title: string;
30
+ };
31
+ args: {
32
+ searchText: string;
33
+ children: string;
34
+ };
35
+ };
36
+ export declare const StringText: {
37
+ parameters: {
38
+ title: string;
39
+ };
40
+ args: {
41
+ children: string;
42
+ };
43
+ };
44
+ export declare const StringTextHighlighted: {
45
+ parameters: {
46
+ title: string;
47
+ };
48
+ args: {
49
+ searchText: string;
50
+ children: string;
51
+ };
52
+ };
53
+ export declare const TextWithUnicode: {
54
+ parameters: {
55
+ title: string;
56
+ };
57
+ args: {
58
+ children: string;
59
+ };
60
+ };
@@ -8,5 +8,6 @@ import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagemen
8
8
  import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
9
9
  import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
10
10
  import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
11
- export declare function getMoveShortcutBatchOperationMockServices(): $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
11
+ export declare function getMoveShortcutBatchOperationMockServices():
12
+ import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
12
13
  export declare function getMoveShortcutBatchOperationMockProps(): {};
@@ -9,5 +9,6 @@ import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagemen
9
9
  import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
10
10
  import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
11
11
  import { $Router } from "@docsvision/web/core/routing";
12
- export declare function getReadBatchOperationMockServices(): $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $Router & $BaseCardController & $RefreshUnreadCounters & $CurrentFolder & $FolderGrid;
12
+ export declare function getReadBatchOperationMockServices():
13
+ import("@docsvision/web/core/services").ServiceContainer & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $Router & $BaseCardController & $RefreshUnreadCounters & $CurrentFolder & $FolderGrid;
13
14
  export declare function getReadBatchOperationMockProps(): {};
@@ -7,8 +7,9 @@ export interface ISearchResultsItemProps {
7
7
  selected: boolean;
8
8
  onClick: (presentation: GenModels.CardPresentation) => void;
9
9
  onMultiSelectClick: (presentation: GenModels.CardPresentation) => void;
10
+ onMultiSelectArrayClick: (presentation: GenModels.CardPresentation) => void;
10
11
  htmlPresentation: boolean;
11
12
  highlighted: boolean;
12
13
  services: $DeviceType & $ApplicationSettings;
13
14
  }
14
- export declare function SearchResultsItem({ card, cardPresentation, selected, highlighted, onClick, onMultiSelectClick, htmlPresentation, services }: ISearchResultsItemProps): JSX.Element;
15
+ export declare function SearchResultsItem({ card, cardPresentation, selected, highlighted, onClick, onMultiSelectClick, onMultiSelectArrayClick, htmlPresentation, services }: ISearchResultsItemProps): JSX.Element;
@@ -16,6 +16,7 @@ export declare type SearchingResultsImplState = ISearchingResultsState;
16
16
  /** @internal */
17
17
  export declare class SearchingResultsImpl extends BaseControlImpl<SearchingResultsParams, ISearchingResultsState> {
18
18
  reactList: ReactListDynamic;
19
+ private lastSelectedCard;
19
20
  constructor(props: any, state: any);
20
21
  setCardsValue: (cards: GenModels.DigestRow[]) => Promise<void>;
21
22
  clearCardsSelection(): void;
@@ -27,6 +28,7 @@ export declare class SearchingResultsImpl extends BaseControlImpl<SearchingResul
27
28
  protected loadCardsPresentation: (indexes?: number[]) => Promise<void>;
28
29
  selectItem: (cardModel: GenModels.CardPresentation) => void;
29
30
  multiSelectItem: (cardModel: GenModels.CardPresentation) => void;
31
+ multiSelectArray: (cardModel: GenModels.CardPresentation) => void;
30
32
  protected renderItem: (key: number, data: unknown, index: number) => JSX.Element;
31
33
  protected renderLoadingItem: (index: number, key: number) => JSX.Element;
32
34
  renderControl(): JSX.Element;