@docsvision/webclient 6.1.16 → 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.
Files changed (59) hide show
  1. package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +2 -1
  2. package/BackOffice/AddPartnersEmployeeIconColumn.d.ts +3 -0
  3. package/BackOffice/CheckPartnersSectionAcccessRights.d.ts +3 -0
  4. package/BackOffice/ConvertPartnersDirectoryResponseToTree.d.ts +5 -0
  5. package/BackOffice/ConvertPartnersEmployeeToRow.d.ts +3 -0
  6. package/BackOffice/DeletePartnersSection.d.ts +3 -0
  7. package/BackOffice/DirectoryTree.d.ts +2 -0
  8. package/BackOffice/DirectoryTreeList.d.ts +1 -0
  9. package/BackOffice/DirectoryTreeLogic.d.ts +9 -0
  10. package/BackOffice/DirectoryTreeRowSelection.d.ts +21 -0
  11. package/BackOffice/FindPartnersSection.d.ts +9 -0
  12. package/BackOffice/GetPartnerIdFromTreeId.d.ts +7 -0
  13. package/BackOffice/GetPartnersContextMenuNames.d.ts +2 -0
  14. package/BackOffice/GetPartnersDirectoryIconClassName.d.ts +10 -0
  15. package/BackOffice/GetPartnersDirectoryRootSectionId.d.ts +6 -0
  16. package/BackOffice/GetPartnersDirectorySearchItemTab.d.ts +2 -0
  17. package/BackOffice/GetPartnersEmployeeColumns.d.ts +4 -0
  18. package/BackOffice/GetPartnersSelectedSearchItemEmployeeId.d.ts +4 -0
  19. package/BackOffice/GetPartnersSelectedSearchItemSection.d.ts +2 -0
  20. package/BackOffice/IDirectoryTreeRow.d.ts +2 -0
  21. package/BackOffice/IPartnersDirectoryOptions.d.ts +12 -0
  22. package/BackOffice/IPartnersDirectoryTreeNodeData.d.ts +6 -0
  23. package/BackOffice/IPartnersEmployeeResponseParser.d.ts +6 -0
  24. package/BackOffice/IPartnersTreeRow.d.ts +4 -0
  25. package/BackOffice/LoadPartnersEmployeeLayoutFunctions.d.ts +8 -0
  26. package/BackOffice/LoadPartnersSectionLayoutFunctions.d.ts +7 -0
  27. package/BackOffice/PartnersDirectory.d.ts +48 -4
  28. package/BackOffice/PartnersDirectoryAddToGroupModal.d.ts +28 -0
  29. package/BackOffice/PartnersDirectoryAddToGroupModalLogic.d.ts +50 -0
  30. package/BackOffice/PartnersDirectoryButtonsPanel.d.ts +8 -0
  31. package/BackOffice/PartnersDirectoryCompanySaving.d.ts +4 -0
  32. package/BackOffice/PartnersDirectoryConstants.d.ts +35 -0
  33. package/BackOffice/PartnersDirectoryContainer.d.ts +7 -0
  34. package/BackOffice/PartnersDirectoryDialogLocations.d.ts +6 -0
  35. package/BackOffice/PartnersDirectoryEmployeeColumns.d.ts +6 -0
  36. package/BackOffice/PartnersDirectoryEmployeesTabFrame.d.ts +8 -0
  37. package/BackOffice/PartnersDirectoryGroupsTree.d.ts +34 -0
  38. package/BackOffice/PartnersDirectoryHead.d.ts +7 -0
  39. package/BackOffice/PartnersDirectoryInfo.d.ts +16 -0
  40. package/BackOffice/PartnersDirectoryLogic.d.ts +366 -0
  41. package/BackOffice/PartnersDirectoryRemoveFromGroupIconGridPlugin.d.ts +15 -0
  42. package/BackOffice/PartnersDirectoryRootSectionConstants.d.ts +15 -0
  43. package/BackOffice/PartnersDirectorySearchFilters.d.ts +5 -0
  44. package/BackOffice/PartnersDirectorySelectedButtons.d.ts +11 -0
  45. package/BackOffice/PartnersDirectoryTreeAddButton.d.ts +17 -0
  46. package/BackOffice/PartnersDirectoryTreeNode.d.ts +15 -0
  47. package/BackOffice/PartnersDirectoryTreeNodeDataResolver.d.ts +3 -0
  48. package/BackOffice/PartnersDirectoryView.d.ts +99 -0
  49. package/BackOffice/PartnersEmployeeRowModelExtendedData.d.ts +5 -0
  50. package/BackOffice/ProcessPartnersEmployeeIdInViewRows.d.ts +3 -0
  51. package/BackOffice/SearchPartnersEmployees.d.ts +4 -0
  52. package/Generated/DocsVision.WebClient.Controllers.d.ts +90 -0
  53. package/Generated/DocsVision.WebClient.Models.d.ts +283 -1
  54. package/Legacy/StandardControllers.d.ts +2 -2
  55. package/Platform/PartnersDirectoryCardViewRouteHandler.d.ts +12 -0
  56. package/Platform/TableColumnImpl.d.ts +0 -1
  57. package/System/ResourcesStub.d.ts +7 -0
  58. package/System/StorybookStory.d.ts +1 -0
  59. package/package.json +1 -1
@@ -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 LayoutRowCreateParams {
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;
@@ -10460,6 +10704,44 @@ export declare namespace GenModels {
10460
10704
  Employee = 2
10461
10705
  }
10462
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
+ }
10463
10745
  export declare namespace GenModels {
10464
10746
  /**
10465
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;
@@ -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
+ }
@@ -20,6 +20,5 @@ export interface TableColumnState extends ITableColumnState {
20
20
  export declare class TableColumnImpl extends PanelImpl<TableColumnParams, ITableColumnState> {
21
21
  constructor(props: TableColumnParams, state: ITableColumnState);
22
22
  protected prepareChildren(): void;
23
- private checkVisibility;
24
23
  renderControl(): JSX.Element;
25
24
  }
@@ -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
  };
@@ -5,6 +5,7 @@ export interface IScreenshotParams {
5
5
  waitSelector?: string;
6
6
  delay?: number;
7
7
  hoverSelector?: string;
8
+ flaky?: boolean;
8
9
  }
9
10
  export interface StoryParameters {
10
11
  /** Should story be included in screenshot tests. Default: true */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.16",
3
+ "version": "6.1.17",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},