@docsvision/webclient 6.1.15 → 6.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementManagementImpl.d.ts +1 -1
- package/Approval/AgreementStageState.d.ts +1 -0
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +2 -1
- package/BackOffice/AddPartnersEmployeeIconColumn.d.ts +3 -0
- package/BackOffice/CheckPartnersSectionAcccessRights.d.ts +3 -0
- package/BackOffice/ConvertPartnersDirectoryResponseToTree.d.ts +5 -0
- package/BackOffice/ConvertPartnersEmployeeToRow.d.ts +3 -0
- package/BackOffice/DeletePartnersSection.d.ts +3 -0
- package/BackOffice/DirectoryTree.d.ts +2 -0
- package/BackOffice/DirectoryTreeList.d.ts +1 -0
- package/BackOffice/DirectoryTreeLogic.d.ts +9 -0
- package/BackOffice/DirectoryTreeRowSelection.d.ts +21 -0
- package/BackOffice/FindPartnersSection.d.ts +9 -0
- package/BackOffice/GetPartnerIdFromTreeId.d.ts +7 -0
- package/BackOffice/GetPartnersContextMenuNames.d.ts +2 -0
- package/BackOffice/GetPartnersDirectoryIconClassName.d.ts +10 -0
- package/BackOffice/GetPartnersDirectoryRootSectionId.d.ts +6 -0
- package/BackOffice/GetPartnersDirectorySearchItemTab.d.ts +2 -0
- package/BackOffice/GetPartnersEmployeeColumns.d.ts +4 -0
- package/BackOffice/GetPartnersSelectedSearchItemEmployeeId.d.ts +4 -0
- package/BackOffice/GetPartnersSelectedSearchItemSection.d.ts +2 -0
- package/BackOffice/IDirectoryTreeRow.d.ts +2 -0
- package/BackOffice/IPartnersDirectoryOptions.d.ts +12 -0
- package/BackOffice/IPartnersDirectoryTreeNodeData.d.ts +6 -0
- package/BackOffice/IPartnersEmployeeResponseParser.d.ts +6 -0
- package/BackOffice/IPartnersTreeRow.d.ts +4 -0
- package/BackOffice/LoadPartnersEmployeeLayoutFunctions.d.ts +8 -0
- package/BackOffice/LoadPartnersSectionLayoutFunctions.d.ts +7 -0
- package/BackOffice/PartnersDirectory.d.ts +48 -4
- package/BackOffice/PartnersDirectoryAddToGroupModal.d.ts +28 -0
- package/BackOffice/PartnersDirectoryAddToGroupModalLogic.d.ts +50 -0
- package/BackOffice/PartnersDirectoryButtonsPanel.d.ts +8 -0
- package/BackOffice/PartnersDirectoryCompanySaving.d.ts +4 -0
- package/BackOffice/PartnersDirectoryConstants.d.ts +35 -0
- package/BackOffice/PartnersDirectoryContainer.d.ts +7 -0
- package/BackOffice/PartnersDirectoryDialogLocations.d.ts +6 -0
- package/BackOffice/PartnersDirectoryEmployeeColumns.d.ts +6 -0
- package/BackOffice/PartnersDirectoryEmployeesTabFrame.d.ts +8 -0
- package/BackOffice/PartnersDirectoryGroupsTree.d.ts +34 -0
- package/BackOffice/PartnersDirectoryHead.d.ts +7 -0
- package/BackOffice/PartnersDirectoryInfo.d.ts +16 -0
- package/BackOffice/PartnersDirectoryLogic.d.ts +366 -0
- package/BackOffice/PartnersDirectoryRemoveFromGroupIconGridPlugin.d.ts +15 -0
- package/BackOffice/PartnersDirectoryRootSectionConstants.d.ts +15 -0
- package/BackOffice/PartnersDirectorySearchFilters.d.ts +5 -0
- package/BackOffice/PartnersDirectorySelectedButtons.d.ts +11 -0
- package/BackOffice/PartnersDirectoryTreeAddButton.d.ts +17 -0
- package/BackOffice/PartnersDirectoryTreeNode.d.ts +15 -0
- package/BackOffice/PartnersDirectoryTreeNodeDataResolver.d.ts +3 -0
- package/BackOffice/PartnersDirectoryView.d.ts +99 -0
- package/BackOffice/PartnersEmployeeRowModelExtendedData.d.ts +5 -0
- package/BackOffice/ProcessPartnersEmployeeIdInViewRows.d.ts +3 -0
- package/BackOffice/SearchPartnersEmployees.d.ts +4 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +108 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +284 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Platform/FilePreviewImpl.d.ts +1 -0
- package/Platform/PartnersDirectoryCardViewRouteHandler.d.ts +12 -0
- package/Platform/ResetTrusteeOrder.d.ts +2 -0
- package/Platform/Table.d.ts +8 -2
- package/Platform/TableColumn.d.ts +2 -0
- package/Platform/TableColumnImpl.d.ts +3 -0
- package/Platform/TableColumnWrapper.d.ts +2 -0
- package/System/ResourcesStub.d.ts +7 -0
- package/System/StorybookStory.d.ts +1 -0
- package/package.json +1 -1
- package/System/GenerateTestData.d.ts +0 -2
|
@@ -1170,6 +1170,96 @@ export declare type $PartnerEmployeeController = {
|
|
|
1170
1170
|
partnerEmployeeController: GenControllers.IPartnerEmployeeController;
|
|
1171
1171
|
};
|
|
1172
1172
|
export declare const $PartnerEmployeeController: string | ((model?: $PartnerEmployeeController) => GenControllers.IPartnerEmployeeController);
|
|
1173
|
+
export declare namespace GenControllers {
|
|
1174
|
+
/**
|
|
1175
|
+
* Layout controller for partners directory
|
|
1176
|
+
*/
|
|
1177
|
+
interface IPartnersDirectoryController {
|
|
1178
|
+
/**
|
|
1179
|
+
* Get Partners Grid Data
|
|
1180
|
+
*/
|
|
1181
|
+
getPartnersGridData(requestModel: GenModels.PartnersGridRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Load partners data (tree)
|
|
1184
|
+
*
|
|
1185
|
+
* @param query Search string
|
|
1186
|
+
*/
|
|
1187
|
+
loadPartnersData(query: GenModels.PartnersQuery, options?: RequestOptions): Promise<GenModels.PartnersLoadResponse>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Adds partner companies to group
|
|
1190
|
+
*
|
|
1191
|
+
* @param model Instance od the {@link GenModels}
|
|
1192
|
+
*/
|
|
1193
|
+
addToGroup(model: GenModels.PartnersAddToGroupRequestModel, options?: RequestOptions): Promise<void>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Removes partners companies from group
|
|
1196
|
+
*
|
|
1197
|
+
* @param groupId source group id
|
|
1198
|
+
* @param partnerId partner company id
|
|
1199
|
+
*/
|
|
1200
|
+
removeUnitFromGroup(groupId: string, partnerId: string, options?: RequestOptions): Promise<void>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Move unit to another parent
|
|
1203
|
+
*/
|
|
1204
|
+
moveUnit(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Copy unit
|
|
1207
|
+
*/
|
|
1208
|
+
copyUnit(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Deletes unit
|
|
1211
|
+
*/
|
|
1212
|
+
deleteUnit(unitId: string, options?: RequestOptions): Promise<void>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Move group to another parent
|
|
1215
|
+
*/
|
|
1216
|
+
moveGroup(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Copy group
|
|
1219
|
+
*/
|
|
1220
|
+
copyGroup(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Deletes group
|
|
1223
|
+
*/
|
|
1224
|
+
deleteGroup(groupId: string, options?: RequestOptions): Promise<void>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Move employee to another unit
|
|
1227
|
+
*/
|
|
1228
|
+
moveEmployee(model: GenModels.PartnersEmployeeMoveModel, options?: RequestOptions): Promise<void>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Deletes employee
|
|
1231
|
+
*/
|
|
1232
|
+
deleteEmployee(employeeId: string, options?: RequestOptions): Promise<void>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Get partner unit groups
|
|
1235
|
+
*/
|
|
1236
|
+
getUnitGroups(unitId: string, options?: RequestOptions): Promise<Array<GenModels.PartnersGroupDataModel>>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Set unit groups
|
|
1239
|
+
*/
|
|
1240
|
+
setUnitGroups(unitGroupsQuery: GenModels.SetUnitGroupsQuery, options?: RequestOptions): Promise<GenModels.SetUnitGroupsResult>;
|
|
1241
|
+
}
|
|
1242
|
+
class PartnersDirectoryController extends ControllerBase implements IPartnersDirectoryController {
|
|
1243
|
+
getPartnersGridData(requestModel: GenModels.PartnersGridRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
|
|
1244
|
+
loadPartnersData(query: GenModels.PartnersQuery, options?: RequestOptions): Promise<GenModels.PartnersLoadResponse>;
|
|
1245
|
+
addToGroup(model: GenModels.PartnersAddToGroupRequestModel, options?: RequestOptions): Promise<void>;
|
|
1246
|
+
removeUnitFromGroup(groupId: string, partnerId: string, options?: RequestOptions): Promise<void>;
|
|
1247
|
+
moveUnit(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1248
|
+
copyUnit(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1249
|
+
deleteUnit(unitId: string, options?: RequestOptions): Promise<void>;
|
|
1250
|
+
moveGroup(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1251
|
+
copyGroup(model: GenModels.PartnersDirectoryMoveModel, options?: RequestOptions): Promise<void>;
|
|
1252
|
+
deleteGroup(groupId: string, options?: RequestOptions): Promise<void>;
|
|
1253
|
+
moveEmployee(model: GenModels.PartnersEmployeeMoveModel, options?: RequestOptions): Promise<void>;
|
|
1254
|
+
deleteEmployee(employeeId: string, options?: RequestOptions): Promise<void>;
|
|
1255
|
+
getUnitGroups(unitId: string, options?: RequestOptions): Promise<Array<GenModels.PartnersGroupDataModel>>;
|
|
1256
|
+
setUnitGroups(unitGroupsQuery: GenModels.SetUnitGroupsQuery, options?: RequestOptions): Promise<GenModels.SetUnitGroupsResult>;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
export declare type $PartnersDirectoryController = {
|
|
1260
|
+
partnersDirectoryController: GenControllers.IPartnersDirectoryController;
|
|
1261
|
+
};
|
|
1262
|
+
export declare const $PartnersDirectoryController: string | ((model?: $PartnersDirectoryController) => GenControllers.IPartnersDirectoryController);
|
|
1173
1263
|
export declare namespace GenControllers {
|
|
1174
1264
|
/**
|
|
1175
1265
|
* Api controller with power of attorney methods
|
|
@@ -1309,6 +1399,10 @@ export declare namespace GenControllers {
|
|
|
1309
1399
|
* Gets access token for file.
|
|
1310
1400
|
*/
|
|
1311
1401
|
getAccessToken(fileCardId: string, versionId: string, ownerCardId: string, options?: RequestOptions): Promise<any>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Gets an access token for a file after checking role-based access rights.
|
|
1404
|
+
*/
|
|
1405
|
+
getAccessTokenWithAccessCheck(cardId: string, fileCardId: string, versionId: string, ownerCardId: string, options?: RequestOptions): Promise<any>;
|
|
1312
1406
|
/**
|
|
1313
1407
|
* Send message to web client.
|
|
1314
1408
|
*/
|
|
@@ -1324,6 +1418,7 @@ export declare namespace GenControllers {
|
|
|
1324
1418
|
updateFile(form: Array<Array<string>>, options?: RequestOptions): Promise<any>;
|
|
1325
1419
|
removeAccessToken(accessToken: string, options?: RequestOptions): Promise<any>;
|
|
1326
1420
|
getAccessToken(fileCardId: string, versionId: string, ownerCardId: string, options?: RequestOptions): Promise<any>;
|
|
1421
|
+
getAccessTokenWithAccessCheck(cardId: string, fileCardId: string, versionId: string, ownerCardId: string, options?: RequestOptions): Promise<any>;
|
|
1327
1422
|
sendMessageAfterUnlock(accessToken: string, options?: RequestOptions): Promise<any>;
|
|
1328
1423
|
}
|
|
1329
1424
|
}
|
|
@@ -1343,11 +1438,11 @@ export declare namespace GenControllers {
|
|
|
1343
1438
|
/**
|
|
1344
1439
|
* Gets server connection address
|
|
1345
1440
|
*/
|
|
1346
|
-
getServerAddress(options?: RequestOptions): Promise<
|
|
1441
|
+
getServerAddress(options?: RequestOptions): Promise<any>;
|
|
1347
1442
|
}
|
|
1348
1443
|
class R7TokenActivationController extends ControllerBase implements IR7TokenActivationController {
|
|
1349
1444
|
getAccessToken(config: string, options?: RequestOptions): Promise<any>;
|
|
1350
|
-
getServerAddress(options?: RequestOptions): Promise<
|
|
1445
|
+
getServerAddress(options?: RequestOptions): Promise<any>;
|
|
1351
1446
|
}
|
|
1352
1447
|
}
|
|
1353
1448
|
export declare type $R7TokenActivationController = {
|
|
@@ -2140,6 +2235,16 @@ export declare namespace GenControllers {
|
|
|
2140
2235
|
* @returns JSON representation of {@link GenModels}
|
|
2141
2236
|
*/
|
|
2142
2237
|
interruptCurrentStages(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
|
|
2238
|
+
/**
|
|
2239
|
+
* Interrupt current stages
|
|
2240
|
+
*
|
|
2241
|
+
* @param documentCardId Document card id
|
|
2242
|
+
* @param reconcileCardId Reconcile card id
|
|
2243
|
+
* @param stageId Interrupted stage id
|
|
2244
|
+
*
|
|
2245
|
+
* @returns JSON representation of {@link GenModels}
|
|
2246
|
+
*/
|
|
2247
|
+
interruptStage(documentCardId: string, reconcileCardId: string, stageId: string, options?: RequestOptions): Promise<void>;
|
|
2143
2248
|
/**
|
|
2144
2249
|
* Stop agreement
|
|
2145
2250
|
*
|
|
@@ -2194,6 +2299,7 @@ export declare namespace GenControllers {
|
|
|
2194
2299
|
createReconciliation(model: GenModels.ReconcilationCreationModel, options?: RequestOptions): Promise<string>;
|
|
2195
2300
|
changeStages(model: GenModels.ReconcilationEditModel, options?: RequestOptions): Promise<void>;
|
|
2196
2301
|
interruptCurrentStages(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
|
|
2302
|
+
interruptStage(documentCardId: string, reconcileCardId: string, stageId: string, options?: RequestOptions): Promise<void>;
|
|
2197
2303
|
agreementStop(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
|
|
2198
2304
|
agreementFinish(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
|
|
2199
2305
|
agreementPause(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
|
|
@@ -2613,6 +2613,218 @@ export declare namespace GenModels {
|
|
|
2613
2613
|
collection: Array<string>;
|
|
2614
2614
|
}
|
|
2615
2615
|
}
|
|
2616
|
+
export declare namespace GenModels {
|
|
2617
|
+
interface PartnersGridRequestModel {
|
|
2618
|
+
/**
|
|
2619
|
+
* Instance id
|
|
2620
|
+
*
|
|
2621
|
+
* @format datatype.uuid
|
|
2622
|
+
*/
|
|
2623
|
+
instanceId?: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* Hierarchy type
|
|
2626
|
+
*/
|
|
2627
|
+
hierarchyType: GenModels.PartnersHierarchyType;
|
|
2628
|
+
/**
|
|
2629
|
+
* Hierarchy item id
|
|
2630
|
+
*
|
|
2631
|
+
* @format datatype.uuid
|
|
2632
|
+
*/
|
|
2633
|
+
hierarchyItemID: string;
|
|
2634
|
+
/**
|
|
2635
|
+
* Gets or sets use sub-items
|
|
2636
|
+
*/
|
|
2637
|
+
withChildren: boolean;
|
|
2638
|
+
/**
|
|
2639
|
+
* Gets or sets page number
|
|
2640
|
+
*/
|
|
2641
|
+
pageNumber: number;
|
|
2642
|
+
/**
|
|
2643
|
+
* Page size
|
|
2644
|
+
*/
|
|
2645
|
+
pageSize: number;
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2648
|
+
export declare namespace GenModels {
|
|
2649
|
+
interface PartnersQuery {
|
|
2650
|
+
/**
|
|
2651
|
+
* Is query exec from staff directory
|
|
2652
|
+
*/
|
|
2653
|
+
isDirectoryLoadContext?: boolean;
|
|
2654
|
+
/**
|
|
2655
|
+
* Query type
|
|
2656
|
+
*/
|
|
2657
|
+
queryType: GenModels.PartnersSearchQueryType;
|
|
2658
|
+
/**
|
|
2659
|
+
* Search mode
|
|
2660
|
+
*/
|
|
2661
|
+
itemTypes: GenModels.DirectoryDataType;
|
|
2662
|
+
/**
|
|
2663
|
+
* Check children types
|
|
2664
|
+
*/
|
|
2665
|
+
childItemTypes?: GenModels.DirectoryDataType;
|
|
2666
|
+
/**
|
|
2667
|
+
* Search text
|
|
2668
|
+
*/
|
|
2669
|
+
searchText?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* Parent id
|
|
2672
|
+
*
|
|
2673
|
+
* @format datatype.uuid
|
|
2674
|
+
*/
|
|
2675
|
+
parentId?: string;
|
|
2676
|
+
/**
|
|
2677
|
+
* Type of entity, which id passed in ParentId
|
|
2678
|
+
*/
|
|
2679
|
+
parentType?: GenModels.DirectoryDataType;
|
|
2680
|
+
/**
|
|
2681
|
+
* Skip and max count
|
|
2682
|
+
*/
|
|
2683
|
+
pagination: GenModels.Pagination;
|
|
2684
|
+
/**
|
|
2685
|
+
* List of identifiers, which should be removed from result.
|
|
2686
|
+
*/
|
|
2687
|
+
excludeItems?: Array<string>;
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
export declare namespace GenModels {
|
|
2691
|
+
interface PartnersLoadResponse {
|
|
2692
|
+
/**
|
|
2693
|
+
* List of partner directory items
|
|
2694
|
+
*/
|
|
2695
|
+
items: Array<GenModels.PartnersDirectoryItem>;
|
|
2696
|
+
/**
|
|
2697
|
+
* Total items count, including not loaded items or zero, if total count is not available.
|
|
2698
|
+
*/
|
|
2699
|
+
totalItemsCount: number;
|
|
2700
|
+
/**
|
|
2701
|
+
* Total partners count
|
|
2702
|
+
*/
|
|
2703
|
+
hasMore: boolean;
|
|
2704
|
+
/**
|
|
2705
|
+
* Directory timestamp
|
|
2706
|
+
*/
|
|
2707
|
+
directoryTimestamp: number;
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
export declare namespace GenModels {
|
|
2711
|
+
interface PartnersDirectoryItem {
|
|
2712
|
+
/**
|
|
2713
|
+
* Item data
|
|
2714
|
+
*/
|
|
2715
|
+
data: GenModels.IDirectoryItemData;
|
|
2716
|
+
/**
|
|
2717
|
+
* Has item any children
|
|
2718
|
+
*/
|
|
2719
|
+
hasChildren: boolean;
|
|
2720
|
+
/**
|
|
2721
|
+
* Partner search info
|
|
2722
|
+
*/
|
|
2723
|
+
searchInfo: GenModels.SearchInfo;
|
|
2724
|
+
/**
|
|
2725
|
+
* Path where item located. Loaded only for search queries.
|
|
2726
|
+
*/
|
|
2727
|
+
path: Array<GenModels.IDirectoryItemData>;
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
export declare namespace GenModels {
|
|
2731
|
+
interface PartnersAddToGroupRequestModel {
|
|
2732
|
+
/**
|
|
2733
|
+
* Gets or sets partner company identifier
|
|
2734
|
+
*
|
|
2735
|
+
* @format datatype.uuid
|
|
2736
|
+
*/
|
|
2737
|
+
unitId: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* Gets or sets groups identifiers collection
|
|
2740
|
+
*/
|
|
2741
|
+
groupIds: Array<string>;
|
|
2742
|
+
}
|
|
2743
|
+
}
|
|
2744
|
+
export declare namespace GenModels {
|
|
2745
|
+
interface PartnersDirectoryMoveModel {
|
|
2746
|
+
/**
|
|
2747
|
+
* Source item Id (partner company or group)
|
|
2748
|
+
*
|
|
2749
|
+
* @format datatype.uuid
|
|
2750
|
+
*/
|
|
2751
|
+
sourceId: string;
|
|
2752
|
+
/**
|
|
2753
|
+
* Target Id (partner company or group)
|
|
2754
|
+
*
|
|
2755
|
+
* @format datatype.uuid
|
|
2756
|
+
*/
|
|
2757
|
+
targetId: string;
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
export declare namespace GenModels {
|
|
2761
|
+
interface PartnersEmployeeMoveModel {
|
|
2762
|
+
/**
|
|
2763
|
+
* Partner employee Id
|
|
2764
|
+
*
|
|
2765
|
+
* @format datatype.uuid
|
|
2766
|
+
*/
|
|
2767
|
+
employeeId: string;
|
|
2768
|
+
/**
|
|
2769
|
+
* Target Id
|
|
2770
|
+
*
|
|
2771
|
+
* @format datatype.uuid
|
|
2772
|
+
*/
|
|
2773
|
+
targetId: string;
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
export declare namespace GenModels {
|
|
2777
|
+
interface PartnersDataModel extends GenModels.IDirectoryItemData {
|
|
2778
|
+
/**
|
|
2779
|
+
* Entity identifier
|
|
2780
|
+
*
|
|
2781
|
+
* @format datatype.uuid
|
|
2782
|
+
*/
|
|
2783
|
+
id: string;
|
|
2784
|
+
/**
|
|
2785
|
+
* Entity name
|
|
2786
|
+
*/
|
|
2787
|
+
name: string;
|
|
2788
|
+
/**
|
|
2789
|
+
* Type of the data
|
|
2790
|
+
*/
|
|
2791
|
+
dataType: GenModels.DirectoryDataType;
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
export declare namespace GenModels {
|
|
2795
|
+
interface PartnersGroupDataModel extends GenModels.PartnersDataModel {
|
|
2796
|
+
/**
|
|
2797
|
+
* Type of the data
|
|
2798
|
+
*/
|
|
2799
|
+
dataType: GenModels.DirectoryDataType;
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
export declare namespace GenModels {
|
|
2803
|
+
interface SetUnitGroupsQuery {
|
|
2804
|
+
/**
|
|
2805
|
+
* Gets or sets employee identifier
|
|
2806
|
+
*
|
|
2807
|
+
* @format datatype.uuid
|
|
2808
|
+
*/
|
|
2809
|
+
unitId: string;
|
|
2810
|
+
/**
|
|
2811
|
+
* Gets or sets groups identifiers
|
|
2812
|
+
*/
|
|
2813
|
+
groupIds: Array<string>;
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
export declare namespace GenModels {
|
|
2817
|
+
interface SetUnitGroupsResult {
|
|
2818
|
+
/**
|
|
2819
|
+
* Gets or sets error message
|
|
2820
|
+
*/
|
|
2821
|
+
errorMessage: string;
|
|
2822
|
+
/**
|
|
2823
|
+
* Gets or sets denied groups
|
|
2824
|
+
*/
|
|
2825
|
+
deniedGroups: Array<string>;
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2616
2828
|
export declare namespace GenModels {
|
|
2617
2829
|
interface FindPowersOfAttorneyRequest {
|
|
2618
2830
|
/**
|
|
@@ -6119,16 +6331,48 @@ export declare namespace GenModels {
|
|
|
6119
6331
|
}
|
|
6120
6332
|
}
|
|
6121
6333
|
export declare namespace GenModels {
|
|
6122
|
-
interface
|
|
6334
|
+
interface RowCreateParams {
|
|
6335
|
+
/**
|
|
6336
|
+
* Card identifier
|
|
6337
|
+
*
|
|
6338
|
+
* @format datatype.uuid
|
|
6339
|
+
*/
|
|
6123
6340
|
cardId: string;
|
|
6341
|
+
/**
|
|
6342
|
+
* Section identifier
|
|
6343
|
+
*
|
|
6344
|
+
* @format datatype.uuid
|
|
6345
|
+
*/
|
|
6124
6346
|
sectionId: string;
|
|
6347
|
+
/**
|
|
6348
|
+
* Gets or sets layout mode
|
|
6349
|
+
*
|
|
6350
|
+
* @format datatype.uuid
|
|
6351
|
+
*/
|
|
6125
6352
|
layoutMode?: string;
|
|
6353
|
+
/**
|
|
6354
|
+
* Gets or sets parent row id
|
|
6355
|
+
*
|
|
6356
|
+
* @format datatype.uuid
|
|
6357
|
+
*/
|
|
6126
6358
|
parentRowId?: string;
|
|
6359
|
+
/**
|
|
6360
|
+
* Gets or sets tree parent row id
|
|
6361
|
+
*
|
|
6362
|
+
* @format datatype.uuid
|
|
6363
|
+
*/
|
|
6127
6364
|
parentTreeRowId?: string;
|
|
6128
6365
|
layoutParams: Array<GenModels.LayoutParamModel>;
|
|
6366
|
+
/**
|
|
6367
|
+
* Some data, provided by extensions for bypassing to lifecycle.
|
|
6368
|
+
*/
|
|
6129
6369
|
customContext?: any;
|
|
6130
6370
|
}
|
|
6131
6371
|
}
|
|
6372
|
+
export declare namespace GenModels {
|
|
6373
|
+
interface LayoutRowCreateParams extends GenModels.RowCreateParams {
|
|
6374
|
+
}
|
|
6375
|
+
}
|
|
6132
6376
|
export declare namespace GenModels {
|
|
6133
6377
|
interface LayoutRowViewModel extends GenModels.LayoutViewModel {
|
|
6134
6378
|
rowInfo: GenModels.RowInfoModel;
|
|
@@ -8569,6 +8813,7 @@ export declare namespace GenModels {
|
|
|
8569
8813
|
columnWidth: string;
|
|
8570
8814
|
tip: string;
|
|
8571
8815
|
visibility: boolean;
|
|
8816
|
+
visibilityEditOperation: string;
|
|
8572
8817
|
}
|
|
8573
8818
|
}
|
|
8574
8819
|
export declare namespace GenModels {
|
|
@@ -10459,6 +10704,44 @@ export declare namespace GenModels {
|
|
|
10459
10704
|
Employee = 2
|
|
10460
10705
|
}
|
|
10461
10706
|
}
|
|
10707
|
+
export declare namespace GenModels {
|
|
10708
|
+
/**
|
|
10709
|
+
* Hierarchy type
|
|
10710
|
+
*/
|
|
10711
|
+
enum PartnersHierarchyType {
|
|
10712
|
+
/**
|
|
10713
|
+
* Group
|
|
10714
|
+
*/
|
|
10715
|
+
Group = 2,
|
|
10716
|
+
/**
|
|
10717
|
+
* Position
|
|
10718
|
+
*/
|
|
10719
|
+
Position = 4,
|
|
10720
|
+
/**
|
|
10721
|
+
* Unit
|
|
10722
|
+
*/
|
|
10723
|
+
Unit = 16
|
|
10724
|
+
}
|
|
10725
|
+
}
|
|
10726
|
+
export declare namespace GenModels {
|
|
10727
|
+
/**
|
|
10728
|
+
* Staff query type
|
|
10729
|
+
*/
|
|
10730
|
+
enum PartnersSearchQueryType {
|
|
10731
|
+
/**
|
|
10732
|
+
* Load tree level items.
|
|
10733
|
+
*/
|
|
10734
|
+
LoadTree = 0,
|
|
10735
|
+
/**
|
|
10736
|
+
* Find items by search in directory window.
|
|
10737
|
+
*/
|
|
10738
|
+
DirectorySearch = 1,
|
|
10739
|
+
/**
|
|
10740
|
+
* Find items by typeahead search.
|
|
10741
|
+
*/
|
|
10742
|
+
QuickSearch = 2
|
|
10743
|
+
}
|
|
10744
|
+
}
|
|
10462
10745
|
export declare namespace GenModels {
|
|
10463
10746
|
/**
|
|
10464
10747
|
* Определяет необходимость использования доверенности при выполнении операции
|
|
@@ -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, $TaskCardController, $R7OfficeController, $NavigatorController, $RealtimeCommunicationController } 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, $TaskCardController, $R7OfficeController, $NavigatorController, $RealtimeCommunicationController, $PartnersDirectoryController } 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 & $TaskCardController & $R7OfficeController & $PowersDirectoryController & $NavigatorController & $RealtimeCommunicationController;
|
|
5
|
+
export declare type $StandardControllers = $BusinessCalendarController & $DocumentCardController & $FileController & $LayoutAgreementController & $LayoutCardController & $LayoutCardKindController & $LayoutController & $LayoutDirectoryDesignerController & $LayoutDocumentController & $LayoutFileController & $LayoutFolderController & $LayoutHistoryController & $LayoutLinksController & $LayoutPartnerController & $LayoutStaffController & $LayoutTasksController & $LayoutUserSettingsController & $PagesController & $EmployeesController & $CommentsController & $LayoutFileApiController & $LocalizationController & $BarcodeSearchButtonController & $ClientLogController & $CardKindController & $DirectoryDesignerRowController & $EmployeeController & $DepartmentController & $PartnerEmployeeController & $SignatureController & $GridController & $CardDataController & $LayoutRowController & $StaffDirectoryItemsController & $FilePickerController & $TaskGroupPerformersController & $DataVisualizationController & $CardOperationsController & $CardsPresentationController & $TasksTreeController & $SecurityController & $CardController & $BaseCardController & $SignatureMethodsController & $TaskCardController & $R7OfficeController & $PowersDirectoryController & $NavigatorController & $RealtimeCommunicationController & $PartnersDirectoryController;
|
|
@@ -26,6 +26,7 @@ export interface IFilePreviewState extends FilePreviewParams, BaseControlState {
|
|
|
26
26
|
useR7Viewer: boolean;
|
|
27
27
|
serverR7ConnectionAddress: string;
|
|
28
28
|
viewer: IFileViewerConstructor | FileViewer;
|
|
29
|
+
r7AccessError: boolean;
|
|
29
30
|
}
|
|
30
31
|
export interface FilePreviewState extends IFilePreviewState {
|
|
31
32
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IExistingCardRouteData } from "@docsvision/webclient/Platform/IExistingCardRouteData";
|
|
2
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
3
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
4
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
5
|
+
import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
|
|
6
|
+
export declare class PartnersDirectoryCardViewRouteHandler implements IRouteHandler<IExistingCardRouteData> {
|
|
7
|
+
private services;
|
|
8
|
+
constructor(services: $RouterNavigation);
|
|
9
|
+
order: number;
|
|
10
|
+
name: string;
|
|
11
|
+
prepareRouteDataLoad?(routeData: IExistingCardRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
12
|
+
}
|
package/Platform/Table.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { IRowEventArgs } from "@docsvision/webclient/Platform/IRowEventArgs";
|
|
|
5
5
|
import { TableImpl, ITableState } from "@docsvision/webclient/Platform/TableImpl";
|
|
6
6
|
import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
|
|
7
7
|
import { $Layout, SaveCardOptions } from "@docsvision/webclient/System/$Layout";
|
|
8
|
-
import { $CardId, $RowId, $RowInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
8
|
+
import { $CardId, $EditOperationStore, $RowId, $RowInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
9
9
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
10
10
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
11
11
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -72,7 +72,7 @@ export declare class TableParams extends PanelParams {
|
|
|
72
72
|
expanding: CancelableApiEvent<IEventArgs>;
|
|
73
73
|
/** Событие, возникающее при разворачивании. */
|
|
74
74
|
expanded: BasicApiEvent<IEventArgs>;
|
|
75
|
-
services?: $LayoutCardController & $LayoutRowController & $Layout & $CardId & $RowId & Optional<$RowInfo> & $LayoutManager & $DeviceType;
|
|
75
|
+
services?: $LayoutCardController & $LayoutRowController & $Layout & $CardId & $RowId & Optional<$RowInfo> & $LayoutManager & $DeviceType & $EditOperationStore;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Класс элемента управления Таблица
|
|
@@ -127,6 +127,12 @@ export declare class Table extends Panel<TableParams, ITableState> {
|
|
|
127
127
|
* @param visibility Виден ли или нет
|
|
128
128
|
*/
|
|
129
129
|
setColumnVisibility(columnNumber: number, visibility: boolean): void;
|
|
130
|
+
/**
|
|
131
|
+
* Установка видимости для столбца таблицы.
|
|
132
|
+
* @param columnNumber Номер столбца
|
|
133
|
+
* @param visibility Виден ли или нет
|
|
134
|
+
*/
|
|
135
|
+
setColumnVisibilityEditOperation(columnNumber: number, visibilityEditOperation: string): void;
|
|
130
136
|
/**
|
|
131
137
|
* Возвращает номер строки или -1, если строка не найдена.
|
|
132
138
|
* @param rowId Идентификатор искомой строки
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Panel, PanelParams } from "@docsvision/webclient/Platform/Panel";
|
|
2
2
|
import { TableColumnImpl, ITableColumnState } from "@docsvision/webclient/Platform/TableColumnImpl";
|
|
3
|
+
import { $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
3
4
|
/**
|
|
4
5
|
* Содержит публичные свойства элемента управления [Столбец таблицы]{@link TableColumn}.
|
|
5
6
|
*/
|
|
6
7
|
export declare class TableColumnParams extends PanelParams {
|
|
7
8
|
/** Стандартный CSS класс со стилями элемента управления. */
|
|
8
9
|
standardCssClass?: string;
|
|
10
|
+
services: $EditOperationStore;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Класс элемента управления Столбец таблицы
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { PanelImpl, IPanelState } from "@docsvision/webclient/Platform/PanelImpl";
|
|
3
3
|
import { TableColumnParams } from "@docsvision/webclient/Platform/TableColumn";
|
|
4
4
|
import { TableImpl } from "@docsvision/webclient/Platform/TableImpl";
|
|
5
|
+
import { $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
5
6
|
/** @internal */
|
|
6
7
|
export interface ITableColumnState extends TableColumnParams, IPanelState {
|
|
7
8
|
/** Таблица. */
|
|
@@ -10,6 +11,8 @@ export interface ITableColumnState extends TableColumnParams, IPanelState {
|
|
|
10
11
|
columnNumber: number;
|
|
11
12
|
/** Ширина столбца таблицы (любые единицы измерения). */
|
|
12
13
|
columnWidth: string;
|
|
14
|
+
/** Сервисы */
|
|
15
|
+
services: $EditOperationStore;
|
|
13
16
|
}
|
|
14
17
|
export interface TableColumnState extends ITableColumnState {
|
|
15
18
|
}
|
|
@@ -18,5 +18,7 @@ export declare class TableColumnWrapper implements GenModels.LayoutTableColumnIn
|
|
|
18
18
|
set tip(val: string);
|
|
19
19
|
get visibility(): boolean;
|
|
20
20
|
set visibility(val: boolean);
|
|
21
|
+
get visibilityEditOperation(): string;
|
|
22
|
+
set visibilityEditOperation(val: string);
|
|
21
23
|
}
|
|
22
24
|
export {};
|
|
@@ -1581,4 +1581,11 @@ export declare let resourcesStub: {
|
|
|
1581
1581
|
PowersDirectory_TreeAddButtons_ImportPowers: string;
|
|
1582
1582
|
PowerOfAttorneyInfo_RegTransferStatus: string;
|
|
1583
1583
|
TextBox_NotMatchRegExpMessage: string;
|
|
1584
|
+
DialogHeader_AddingToGroup: string;
|
|
1585
|
+
Dialog_Close: string;
|
|
1586
|
+
PartnersDirectory_Selected: string;
|
|
1587
|
+
PartnersDirectory_SelectedNone: string;
|
|
1588
|
+
PartnersDirectory_Organizations_Filter: string;
|
|
1589
|
+
PartnersDirectory_Groups_Filter: string;
|
|
1590
|
+
PartnersDirectory_Employees_Filter: string;
|
|
1584
1591
|
};
|
package/package.json
CHANGED