@docsvision/webclient 5.17.0-beta.13 → 5.17.0-beta.14

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 (103) hide show
  1. package/Approval/AgreementManagement.d.ts +4 -2
  2. package/Approval/AgreementStageProps.d.ts +4 -2
  3. package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +4 -0
  4. package/BackOffice/CardKindImpl.d.ts +1 -1
  5. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  6. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  7. package/BackOffice/DepartmentImpl.d.ts +1 -0
  8. package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
  9. package/BackOffice/DirectoryDesignerRowImpl.d.ts +12 -0
  10. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  11. package/BackOffice/EmailButtonView.d.ts +1 -1
  12. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  13. package/BackOffice/InfoPopover.d.ts +2 -0
  14. package/BackOffice/Numerator.d.ts +1 -0
  15. package/BackOffice/NumeratorImpl.d.ts +6 -1
  16. package/BackOffice/PartnerBase.d.ts +4 -2
  17. package/BackOffice/PartnerBaseImpl.d.ts +20 -0
  18. package/BackOffice/PartnerDepartmentImpl.d.ts +3 -0
  19. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  20. package/BackOffice/PartnerImpl.d.ts +3 -0
  21. package/BackOffice/PrintButtonView.d.ts +1 -1
  22. package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
  23. package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
  24. package/BackOffice/StaffDirectoryItems.d.ts +7 -3
  25. package/BackOffice/StaffDirectoryItemsImpl.d.ts +23 -3
  26. package/BackOffice/StaffDirectorySelectDialog.d.ts +4 -1
  27. package/BackOffice/TasksTable.d.ts +3 -2
  28. package/BackOffice/TasksTableView.d.ts +3 -3
  29. package/BackOffice/UserProfile.d.ts +1 -0
  30. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +2 -0
  31. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  32. package/Generated/DocsVision.WebClient.Controllers.d.ts +13 -3
  33. package/Generated/DocsVision.WebClient.Models.d.ts +80 -7
  34. package/Helpers/BoxWithButtons.d.ts +7 -1
  35. package/Helpers/LabeledText.d.ts +8 -0
  36. package/Helpers/ModalDialog/KeyHandler.d.ts +12 -0
  37. package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
  38. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  39. package/Legacy/FolderViews.d.ts +2 -0
  40. package/Legacy/SearchPanelRouteHandler.d.ts +19 -0
  41. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +3 -2
  42. package/Platform/$CompanyLogo.d.ts +1 -2
  43. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  44. package/Platform/CompanyLogoService.d.ts +3 -2
  45. package/Platform/ContextMenu.d.ts +4 -6
  46. package/Platform/DateTimePicker.d.ts +1 -0
  47. package/Platform/DateTimePickerImpl.d.ts +4 -1
  48. package/Platform/FolderGrid.d.ts +3 -2
  49. package/Platform/FolderGridImpl.d.ts +1 -0
  50. package/Platform/FolderRouteTypeMapper.d.ts +2 -3
  51. package/Platform/FolderWebFrameRouteHandler.d.ts +4 -2
  52. package/Platform/GetWebFrameHeaderContainerChildControls.d.ts +11 -0
  53. package/Platform/LoaderDialog.d.ts +1 -1
  54. package/Platform/NumberImpl.d.ts +3 -0
  55. package/Platform/ReadBatchOperation.d.ts +1 -1
  56. package/Platform/RecentCardsDashboardWidgetImpl.d.ts +3 -1
  57. package/Platform/RecentCardsRouteHandler.d.ts +2 -1
  58. package/Platform/SecurityDescriptorDialog.d.ts +6 -3
  59. package/Platform/Tab.d.ts +2 -1
  60. package/Platform/Tab.stories.d.ts +9 -0
  61. package/Platform/TextAreaImpl.d.ts +8 -4
  62. package/Platform/TextBoxImpl.d.ts +5 -0
  63. package/Platform/TextListInputView.d.ts +1 -1
  64. package/Platform/UserProfileDialog.d.ts +1 -1
  65. package/Platform/VisibilityWebFrameHeaderContainerChildControls.d.ts +2 -0
  66. package/Platform/WebFrameBodyContainer.stories.d.ts +8 -0
  67. package/Platform/WebFrameCompanyLogo.d.ts +7 -1
  68. package/Platform/WebFrameCompanyLogo.stories.d.ts +10 -0
  69. package/Platform/WebFrameContent.d.ts +11 -2
  70. package/Platform/WebFrameContentImpl.d.ts +6 -0
  71. package/Platform/WebFrameCurrentPageName.stories.d.ts +8 -0
  72. package/Platform/WebFrameHeaderContainer.d.ts +6 -1
  73. package/Platform/WebFrameHeaderContainer.stories.d.ts +17 -0
  74. package/Platform/WebFrameHeaderContainerImpl.d.ts +8 -1
  75. package/Platform/WebFrameHelpButton.stories.d.ts +10 -0
  76. package/Platform/WebFrameMainMenuButton.stories.d.ts +8 -0
  77. package/Platform/WebFrameMainMenuContainer.d.ts +2 -1
  78. package/Platform/WebFrameMainMenuContainer.stories.d.ts +10 -0
  79. package/Platform/WebFrameMainMenuContainerImpl.d.ts +3 -1
  80. package/Platform/WebFrameNavigationBar.d.ts +2 -1
  81. package/Platform/WebFrameNavigationBar.stories.d.ts +19 -0
  82. package/Platform/WebFrameNavigationBarImpl.d.ts +2 -0
  83. package/Platform/WebFrameSearchPanel.d.ts +2 -2
  84. package/Platform/WebFrameSearchPanel.stories.d.ts +14 -0
  85. package/StandardServices.d.ts +3 -1
  86. package/System/$LayoutBackground.d.ts +27 -0
  87. package/System/$PollService.d.ts +0 -3
  88. package/System/$Router.d.ts +1 -0
  89. package/System/$WebFrameContentHeight.d.ts +14 -0
  90. package/System/DirectorySelectDialog.d.ts +2 -2
  91. package/System/InputBasedControl.d.ts +5 -0
  92. package/System/InputBasedControlImpl.d.ts +4 -3
  93. package/System/Layout.d.ts +6 -0
  94. package/System/LayoutBackgroundService.d.ts +12 -0
  95. package/System/LayoutImpl.d.ts +1 -0
  96. package/System/NavigationBarStub.d.ts +31 -0
  97. package/System/Poll.d.ts +2 -2
  98. package/System/PollService.d.ts +7 -6
  99. package/System/Router.d.ts +1 -1
  100. package/System/TabStub.d.ts +13 -0
  101. package/System/WebFrameContentHeightService.d.ts +14 -0
  102. package/System/WebFrameNavigationBarStub.d.ts +283 -0
  103. package/package.json +1 -1
@@ -4,6 +4,7 @@ import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEven
4
4
  import { Image } from "@docsvision/webclient/Platform/Image";
5
5
  import { Dropdown } from "@docsvision/webclient/Platform/Dropdown";
6
6
  export declare function updateStatusBackground(sender: LayoutControl): void;
7
+ export declare function updateArchiveBlockVisibility(sender: LayoutControl): void;
7
8
  export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
8
9
  export declare function updateStatusList(sender: Dropdown, event: any): void;
9
10
  export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl, ev: any): void;
@@ -6,6 +6,8 @@ export declare class WebFrameDirectorySearchPanelService implements IWebFrameDir
6
6
  setActivity: Event<boolean>;
7
7
  startSearch: Event<ISearchRequest>;
8
8
  clearSearch: Event<void>;
9
+ $expanded: Store<boolean>;
10
+ setExpanded: Event<boolean>;
9
11
  protected domain:
10
12
  import("effector").Domain;
11
13
  constructor();
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare class WebFrameDirectorySearchPanelView {
3
3
  SearchButton: (props:
4
- import("C:/dev/WebCVersion/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
4
+ import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
5
5
  SearchBar: (props:
6
6
  import("./Components/SearchBar").ISearchBar) => JSX.Element;
7
7
  }
@@ -1150,16 +1150,26 @@ export declare namespace GenControllers {
1150
1150
  */
1151
1151
  setShowArchivedCardsSetting(showArchiveCards: boolean, options?: RequestOptions): Promise<void>;
1152
1152
  /**
1153
- * Set feedbackRequestDate
1153
+ * Poll has done
1154
1154
  */
1155
- setFeedbackRequestDateSetting(date: string, options?: RequestOptions): Promise<void>;
1155
+ pollIsDone(url: string, options?: RequestOptions): Promise<string>;
1156
+ /**
1157
+ * Refuse poll
1158
+ */
1159
+ refusePollSetting(options?: RequestOptions): Promise<string>;
1160
+ /**
1161
+ * Get poll date
1162
+ */
1163
+ getPollDateSetting(url: string, options?: RequestOptions): Promise<string>;
1156
1164
  }
1157
1165
  class LayoutUserSettingsController extends BaseController implements ILayoutUserSettingsController {
1158
1166
  getMainMenuSettings(options?: RequestOptions): Promise<GenModels.MainMenuSettings>;
1159
1167
  saveMainMenuSettings(settings: GenModels.MainMenuSettings, options?: RequestOptions): Promise<void>;
1160
1168
  getShowArchivedCardsSetting(options?: RequestOptions): Promise<boolean>;
1161
1169
  setShowArchivedCardsSetting(showArchiveCards: boolean, options?: RequestOptions): Promise<void>;
1162
- setFeedbackRequestDateSetting(date: string, options?: RequestOptions): Promise<void>;
1170
+ pollIsDone(url: string, options?: RequestOptions): Promise<string>;
1171
+ refusePollSetting(options?: RequestOptions): Promise<string>;
1172
+ getPollDateSetting(url: string, options?: RequestOptions): Promise<string>;
1163
1173
  }
1164
1174
  }
1165
1175
  export declare type $LayoutUserSettingsController = {
@@ -2469,6 +2469,10 @@ export declare namespace GenModels {
2469
2469
  * Device type
2470
2470
  */
2471
2471
  deviceType: GenModels.DeviceType;
2472
+ /**
2473
+ * Need use old grid.
2474
+ */
2475
+ useOldGrid?: boolean;
2472
2476
  }
2473
2477
  }
2474
2478
  export declare namespace GenModels {
@@ -2956,6 +2960,10 @@ export declare namespace GenModels {
2956
2960
  export declare namespace GenModels {
2957
2961
  interface RecentCardsRequest {
2958
2962
  requestModel: GenModels.CardListRequestModel;
2963
+ /**
2964
+ * Need use old grid.
2965
+ */
2966
+ useOldGrid?: boolean;
2959
2967
  }
2960
2968
  }
2961
2969
  export declare namespace GenModels {
@@ -7606,7 +7614,7 @@ export declare namespace GenModels {
7606
7614
  /**
7607
7615
  * Gets or sets current employee
7608
7616
  */
7609
- employee: GenModels.EmployeeModel;
7617
+ employee: GenModels.CurrentEmployeeInfo;
7610
7618
  /**
7611
7619
  * Gets or sets environment settings
7612
7620
  */
@@ -7663,6 +7671,10 @@ export declare namespace GenModels {
7663
7671
  * Search context options
7664
7672
  */
7665
7673
  searchContextOptions: Array<GenModels.SearchOptionModel>;
7674
+ /**
7675
+ * Gets or sets needs to use old grid.
7676
+ */
7677
+ useOldGrid: GenModels.UseOldGrid;
7666
7678
  /**
7667
7679
  * Card must be deleted into the trash or deletes from database.
7668
7680
  */
@@ -7681,6 +7693,14 @@ export declare namespace GenModels {
7681
7693
  logEnabled: boolean;
7682
7694
  }
7683
7695
  }
7696
+ export declare namespace GenModels {
7697
+ interface CurrentEmployeeInfo extends GenModels.EmployeeModel {
7698
+ /**
7699
+ * Server role
7700
+ */
7701
+ serverRole: GenModels.ServerRole;
7702
+ }
7703
+ }
7684
7704
  export declare namespace GenModels {
7685
7705
  interface EnvironmentSettings {
7686
7706
  /**
@@ -7909,12 +7929,6 @@ export declare namespace GenModels {
7909
7929
  * Show Archived Cards
7910
7930
  */
7911
7931
  showArchivedCards: boolean;
7912
- /**
7913
- * Feedback Request Date
7914
- *
7915
- * @format datatype.datetime
7916
- */
7917
- feedbackRequestDate?: string;
7918
7932
  }
7919
7933
  }
7920
7934
  export declare namespace GenModels {
@@ -10489,6 +10503,52 @@ export declare namespace GenModels {
10489
10503
  Absent = 3
10490
10504
  }
10491
10505
  }
10506
+ export declare namespace GenModels {
10507
+ /**
10508
+ * Defines UseOldGrid setting values.
10509
+ */
10510
+ enum UseOldGrid {
10511
+ /**
10512
+ * Do not use old grid.
10513
+ */
10514
+ DoNotUse = 0,
10515
+ /**
10516
+ * Show old grid only for Internet Explorer.
10517
+ */
10518
+ OnlyForIE = 1,
10519
+ /**
10520
+ * Use old grid anywhere.
10521
+ */
10522
+ Anywhere = 2
10523
+ }
10524
+ }
10525
+ export declare namespace GenModels {
10526
+ /**
10527
+ * Condition for selecting Extended layouts
10528
+ */
10529
+ enum ServerRole {
10530
+ /**
10531
+ * Layout for usual user
10532
+ */
10533
+ User = 0,
10534
+ /**
10535
+ * Layout for power user
10536
+ */
10537
+ PowerUser = 1,
10538
+ /**
10539
+ * Layout for docsvision administrator
10540
+ */
10541
+ Administrator = 2,
10542
+ /**
10543
+ * DocsVision Security Administrators
10544
+ */
10545
+ SecurityAdministrator = 3,
10546
+ /**
10547
+ * DocsVision Archive Operators
10548
+ */
10549
+ ArchiveOperator = 4
10550
+ }
10551
+ }
10492
10552
  export declare namespace System {
10493
10553
  enum DayOfWeek {
10494
10554
  Sunday = 0,
@@ -10549,6 +10609,19 @@ export declare namespace GenModels {
10549
10609
  Pdfjs = 1
10550
10610
  }
10551
10611
  }
10612
+ export declare namespace GenModels {
10613
+ enum BackgroundStyle {
10614
+ Tile = 0,
10615
+ Stretch = 1
10616
+ }
10617
+ }
10618
+ export declare namespace GenModels {
10619
+ enum BackgroundType {
10620
+ Default = 0,
10621
+ Inherit = 1,
10622
+ Custom = 2
10623
+ }
10624
+ }
10552
10625
  export declare namespace GenModels {
10553
10626
  enum AgreementHistoryMode {
10554
10627
  Button = 0,
@@ -14,9 +14,15 @@ export interface IBoxWithButtonsProps {
14
14
  /** Shows loading incon at the left of the buttons */
15
15
  loadingState?: LoadingState;
16
16
  /** Buttons, that will be showed on the right side of the box */
17
- buttons: IBoxWithButtonsButtonInfo[];
17
+ buttons?: IBoxWithButtonsButtonInfo[];
18
+ /** Buttons, that will be showed on the left side of the control */
19
+ leftButtons?: IBoxWithButtonsButtonInfo[];
20
+ /** Additional class for the control */
21
+ optionButtonsClassName?: string;
18
22
  /** Show buttons inside the box with absolute positioning. Defautl value: false */
19
23
  buttonsInside?: boolean;
24
+ /** Function when clicking on the icon in edit in place mode */
25
+ onIconMouseDown?: () => void;
20
26
  }
21
27
  /** @internal */
22
28
  export interface IBoxWithButtonsButtonInfo extends IIconButtonProps {
@@ -14,6 +14,8 @@ export interface ILabeledText {
14
14
  className?: string;
15
15
  /** Click on text element handler */
16
16
  onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
17
+ /** Click on icon element handler */
18
+ onIconClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
17
19
  /** Ref to text element handler */
18
20
  attachText?: (elem: HTMLElement) => void;
19
21
  /**
@@ -55,8 +57,14 @@ export interface ILabeledText {
55
57
  children?: React.ReactNode;
56
58
  /** Add wrap to text */
57
59
  addTextWrap?: Function;
60
+ /** If this parameter true, then an icon is shown next to the text */
61
+ displayIcon?: boolean;
62
+ /** Class name for icon */
63
+ iconClass?: string;
58
64
  onFocus?: (event: React.FocusEvent<any>) => void;
59
65
  onBlur?: (event: React.FocusEvent<any>) => void;
66
+ onMouseEnter?: () => void;
67
+ onMouseLeave?: () => void;
60
68
  }
61
69
  /** @internal */
62
70
  export declare enum LabelDotsMode {
@@ -0,0 +1,12 @@
1
+ import { HtmlProps } from "@docsvision/web/core/component";
2
+ import React from "react";
3
+ export interface IKeyHandlerProps extends HtmlProps.div {
4
+ /** Отключает обработчик. */
5
+ disabled?: boolean;
6
+ /** Обработчик события нажатия клавиши. */
7
+ onKeyDown: (ev: React.KeyboardEvent<any>) => void;
8
+ }
9
+ /**
10
+ * Реагирует событие нажатия клавиши и вызывает обработчик, переданный в параметры.
11
+ */
12
+ export declare function KeyHandler(props: IKeyHandlerProps): JSX.Element;
@@ -44,6 +44,10 @@ export interface ITypeaheadProps {
44
44
  paginatorLoadLogic?: PaginatorLoadLogic;
45
45
  /** Some extra buttons info, that would be showed at the right side of the control */
46
46
  extraButtons?: IBoxWithButtonsButtonInfo[];
47
+ /** Some buttons info, that would be showed at the left side of the control */
48
+ leftButtons?: IBoxWithButtonsButtonInfo[];
49
+ /** Additional class for the control */
50
+ optionButtonsClassName?: string;
47
51
  /** Show buttons inside the box with absolute positioning. Defautl value: false */
48
52
  buttonsInside?: boolean;
49
53
  /** Tooltip */
@@ -74,6 +78,8 @@ export interface ITypeaheadProps {
74
78
  afterOpenCallback?: () => void;
75
79
  /** Hide the pop-up if it crossed the padding */
76
80
  hideIfBehindPadding?: boolean;
81
+ /** Function when clicking on the icon in edit in place mode */
82
+ onIconMouseDown?: () => void;
77
83
  }
78
84
  export declare enum PaginatorLoadLogic {
79
85
  LoadOnlyNewItems = 0,
@@ -54,7 +54,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
54
54
  protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
55
55
  abstract getChanges(): Promise<GenModels.GridViewModel>;
56
56
  getSelection():
57
- import("C:/dev/WebCVersion/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
57
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
58
58
  clearSelection(cardIds?: string[]): void;
59
59
  selectionChanged: SimpleEvent<any>;
60
60
  protected addActionButtons(header: HTMLElement): void;
@@ -1,4 +1,5 @@
1
1
  import { IFolderViews } from "@docsvision/webclient/Legacy/$FolderViews";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
3
  /** @internal */
3
4
  export declare class FolderViews implements IFolderViews {
4
5
  private selectViewBtnId;
@@ -9,6 +10,7 @@ export declare class FolderViews implements IFolderViews {
9
10
  private viewFolderId;
10
11
  private currentViewId;
11
12
  private traceProvider;
13
+ static viewsProvider: (folderId: string) => GenModels.FolderViewInfo[];
12
14
  private get SelectViewBtn();
13
15
  private get SelectViewList();
14
16
  private get SelectViewContainer();
@@ -0,0 +1,19 @@
1
+ import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
2
+ import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
3
+ import { RouteType } from "@docsvision/webclient/System/RouteType";
4
+ import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
5
+ import { $SearchPanel } from '@docsvision/webclient/Legacy/$SearchPanel';
6
+ import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
7
+ import { $ApplicationSettings, $IsIE } from "@docsvision/webclient/StandardServices";
8
+ /** @internal */
9
+ export declare class SearchPanelRouteHandler implements IRouteHandler<any> {
10
+ private services;
11
+ name: string;
12
+ availableRouteHandler: boolean;
13
+ constructor(services: $WebFrameContext & $SearchPanel & $ExperimentalFeature & $ApplicationSettings & $IsIE);
14
+ prepareRouteDataLoad(routeData: any, routeType: RouteType): Promise<RouteHandleResult>;
15
+ mountRoute(data: any, routeType: RouteType): Promise<RouteHandleResult>;
16
+ unmountRoute(data: any, routeType: RouteType): Promise<void>;
17
+ }
18
+ /** @internal Временная функция, перестраивающая панель поиска в обход стандартного механизма роутинга. Функция будет удалена в следующих релизах. */
19
+ export declare function __DangerRemountSearchPanel(): void;
@@ -3,14 +3,15 @@ import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResul
3
3
  import { RouteType } from "@docsvision/webclient/System/RouteType";
4
4
  import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
5
5
  import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
6
- import { $FullTextSearchEnabled } from "@docsvision/webclient/StandardServices";
6
+ import { $ApplicationSettings, $FullTextSearchEnabled, $IsIE } from "@docsvision/webclient/StandardServices";
7
7
  import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
8
8
  import { $CompanyLogo } from "@docsvision/webclient/Platform/$CompanyLogo";
9
9
  /** @internal */
10
10
  export declare class WebFrameSearchPanelRouteHandler implements IRouteHandler<any> {
11
11
  private services;
12
12
  name: string;
13
- constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled & $CompanyLogo);
13
+ private isAvaibleRouteHandler;
14
+ constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled & $CompanyLogo & $ApplicationSettings & $IsIE);
14
15
  private hide;
15
16
  mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
16
17
  unmountRoute(data: any, routeType: RouteType): Promise<void>;
@@ -5,13 +5,12 @@ export declare enum LogoType {
5
5
  }
6
6
  /** Сервис для установки CompanyLogo. */
7
7
  export interface ICompanyLogoService {
8
- setCompanyLogoElements(control: HTMLElement, icon: HTMLElement): void;
8
+ setCompanyLogoElements(control: HTMLElement, icon: HTMLElement, alwaysShow?: boolean, filePath?: string): void;
9
9
  show(text?: string): void;
10
10
  showLogo(): void;
11
11
  hideLogo(): void;
12
12
  setLogoVisibility(visibility: boolean): void;
13
13
  setText(text: string): void;
14
- setImage(): void;
15
14
  getCompanyLogoElement(): HTMLElement;
16
15
  getLogoVisibility(): boolean;
17
16
  getTypeOfLogo(): LogoType;
@@ -12,10 +12,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
12
12
  constructor(props: PropsT, state?: StateT);
13
13
  UNSAFE_componentWillMount(): void;
14
14
  onSelecting():
15
- import("C:/dev/WebCVersion/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
15
+ import("C:/Users/peshne.k/devWebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
16
16
  onSelected(): void;
17
17
  onToggling():
18
- import("C:/dev/WebCVersion/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
18
+ import("C:/Users/peshne.k/devWebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
19
19
  onToggled(): void;
20
20
  protected onClick(event: React.MouseEvent<any>): void;
21
21
  protected getCssClass(): string;
@@ -7,9 +7,11 @@ export declare class CompanyLogoService implements ICompanyLogoService {
7
7
  _isHidden: boolean;
8
8
  _logoType: LogoType;
9
9
  _logoText: string;
10
+ _alwaysShow: boolean;
11
+ _filePath: string;
10
12
  updateLogoVisibility: SimpleEvent<any>;
11
13
  updateLogoType: SimpleEvent<any>;
12
- setCompanyLogoElements: (control: HTMLElement, icon: HTMLElement) => void;
14
+ setCompanyLogoElements: (control: HTMLElement, icon: HTMLElement, alwaysShow?: boolean, filePath?: string) => void;
13
15
  getCompanyLogoElement: () => HTMLElement;
14
16
  getLogoVisibility: () => boolean;
15
17
  getTypeOfLogo: () => LogoType;
@@ -19,5 +21,4 @@ export declare class CompanyLogoService implements ICompanyLogoService {
19
21
  setLogoVisibility(visibility: boolean): void;
20
22
  show: (text?: string) => void;
21
23
  setText: (text: string) => void;
22
- setImage: () => void;
23
24
  }
@@ -4,7 +4,6 @@ import { $ContextMenuOptions } from '@docsvision/webclient/Platform/$ContextMenu
4
4
  import { $ScrollContainer } from '@docsvision/web/components/table/plugins/scroll';
5
5
  import { $TableDom } from '@docsvision/web/components/table/plugins/table-dom';
6
6
  import { $Domain } from "@docsvision/web/core/state-management";
7
- import AlloyFinger from "alloyfinger";
8
7
  import { $DeviceType } from "@docsvision/webclient/StandardServices";
9
8
  import { $CheckboxService } from "@docsvision/web/components/table/plugins/checkbox";
10
9
  export declare enum RowType {
@@ -21,19 +20,14 @@ export interface ITableHeaderRowItemProps {
21
20
  export interface ITableRowItemProps {
22
21
  children?: React.ReactNode;
23
22
  }
24
- export interface IAlloy {
25
- finger?: AlloyFinger;
26
- }
27
23
  declare type $ContextMenuServices = $ScrollContainer & $TableDom & $ContextMenuOptions & $DeviceType & $CheckboxService;
28
24
  export declare class ContextMenu {
29
25
  private node;
30
26
  private composition;
31
27
  private static mMenuBarsContainer;
32
28
  private ACTIVE_ROW_CLASSNAME;
33
- private isMenuExpanded;
34
29
  private mContainer;
35
30
  private pageCoordinates;
36
- private alloy;
37
31
  private targetRow;
38
32
  private static getMenuBarsContainer;
39
33
  constructor(node: HTMLElement, composition: IComposition<any, unknown, $ContextMenuServices & $Domain>);
@@ -49,6 +43,10 @@ export declare class ContextMenu {
49
43
  hideContextMenuHandler: () => void;
50
44
  private setRowSelection;
51
45
  showContextMenuHandler: (e?: any) => void;
46
+ private longTapTimer;
47
+ private longTapInterval;
48
+ private touchstartListener;
49
+ private touchendListener;
52
50
  addContextMenuCustom: (row: HTMLElement) => void;
53
51
  removeContextMenuCustom: (row: HTMLElement) => void;
54
52
  onMenuItemClick(action: (context: IComposition) => void, enabled: boolean): void;
@@ -57,6 +57,7 @@ export declare class DateTimePickerParams extends InputBasedControlParams<Date>
57
57
  disablePast?: boolean;
58
58
  /** Запретить выбор будущих дат */
59
59
  disableFuture?: boolean;
60
+ displayIcon?: boolean;
60
61
  services?: $LayoutInfo & $BusinessCalendarController & $EditOperationStore & $Router & $CardInfo & Optional<$LabelWidth>;
61
62
  }
62
63
  /**
@@ -16,7 +16,7 @@ import "moment/locale/kk";
16
16
  import "moment/locale/lv";
17
17
  import "moment/locale/ru";
18
18
  import "moment/locale/uk";
19
- import React from "react";
19
+ import React, { KeyboardEvent } from "react";
20
20
  import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
21
21
  /** @internal */
22
22
  export interface DateTimePickerState extends DateTimePickerParams, InputBasedControlState<Date> {
@@ -75,8 +75,10 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
75
75
  onError: (error: any) => void;
76
76
  onClearKeyPress: (event: React.KeyboardEvent<any>) => void;
77
77
  protected getDateTimePicker: () => JSX.Element;
78
+ protected onMouseDownIcon(e: any): void;
78
79
  protected getDefaultInitialValue(): Date;
79
80
  protected editInPlaceModeRender(): JSX.Element;
81
+ protected renderWithText(): JSX.Element;
80
82
  protected onPlaceholderClick(event: any): void;
81
83
  protected onDialogClose(): void;
82
84
  protected onDateChange: (newValue: any, value: any) => void;
@@ -84,6 +86,7 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
84
86
  protected onDataChangedSave(): void;
85
87
  protected onInputFocus(): void;
86
88
  protected onInputBlur(): void;
89
+ protected onInputKeyDown(ev: KeyboardEvent<HTMLInputElement>): void;
87
90
  protected renderInput(): React.ReactNode;
88
91
  private renderRequiredText;
89
92
  protected renderPlaceholder(): JSX.Element;
@@ -2,7 +2,7 @@ import { $GridController, $LayoutController } from '@docsvision/webclient/Genera
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
3
  import { FolderGridImpl, FolderGridState } from '@docsvision/webclient/Platform/FolderGridImpl';
4
4
  import { $GridOptions } from '@docsvision/webclient/Platform/$GridOptions';
5
- import { $DeviceType, $ApplicationSettings } from '@docsvision/webclient/StandardServices';
5
+ import { $DeviceType, $ApplicationSettings, $IsIE } from '@docsvision/webclient/StandardServices';
6
6
  import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
7
7
  import { Optional, ServiceContainer } from '@docsvision/web/core/services';
8
8
  import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
@@ -41,7 +41,7 @@ export declare class FolderGridParams extends BaseControlParams {
41
41
  opacity?: number;
42
42
  isGroupingAllowed?: boolean;
43
43
  showList?: boolean;
44
- services?: $GridOptions & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls & $ToolbarHeight;
44
+ services?: $GridOptions & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls & $ToolbarHeight & $IsIE;
45
45
  }
46
46
  /**
47
47
  * Класс элемента управления FolderGrid.
@@ -49,6 +49,7 @@ export declare class FolderGridParams extends BaseControlParams {
49
49
  export declare class FolderGrid extends BaseControl<FolderGridParams, FolderGridState> {
50
50
  prepare(): void;
51
51
  private configureFoldreGrid;
52
+ private prepareMobileContextMenu;
52
53
  private preparePlugins;
53
54
  private processToolbarPlugins;
54
55
  private disableAllToolbarPlugins;
@@ -12,6 +12,7 @@ export interface FolderGridState extends FolderGridParams, BaseControlState {
12
12
  children: GenModels.ControlModel[];
13
13
  rowsSelectionMode: boolean;
14
14
  rowsSelectionModeChanged: BasicEvent<IEventArgs>;
15
+ newGridAvailable: boolean;
15
16
  }
16
17
  /** @internal */
17
18
  export declare class FolderGridImpl extends BaseControlImpl<FolderGridParams, FolderGridState> {
@@ -1,15 +1,14 @@
1
1
  import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
2
2
  import { IRouteInfo } from "@docsvision/webclient/System/IRouteInfo";
3
3
  import { IRouteTypeMapper } from "@docsvision/webclient/System/IRouteTypeMapper";
4
- import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
5
- import { $DeviceType } from "@docsvision/webclient/StandardServices";
4
+ import { $ApplicationSettings, $DeviceType, $IsIE } from "@docsvision/webclient/StandardServices";
6
5
  /** @internal */
7
6
  export declare class FolderRouteTypeMapper implements IRouteTypeMapper<IFolderRouteData> {
8
7
  private services;
9
8
  static SearchResultsId: string;
10
9
  static RecentCardsId: string;
11
10
  static FavoritesId: string;
12
- constructor(services: $ExperimentalFeature & $DeviceType);
11
+ constructor(services: $DeviceType & $ApplicationSettings & $IsIE);
13
12
  hashPattern: string;
14
13
  resolve(path: string, parameters: {
15
14
  [id: string]: string;
@@ -2,7 +2,9 @@ import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
2
2
  import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
3
3
  import { RouteType } from "@docsvision/webclient/System/RouteType";
4
4
  import { IFolderPageRouteData } from '@docsvision/webclient/Platform/IFolderPageRouteData';
5
- import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
5
+ import { $ApplicationSettings, $IsIE } from "@docsvision/webclient/StandardServices";
6
+ import { $LayoutBackground } from "@docsvision/webclient/System/$LayoutBackground";
7
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
6
8
  /** @internal */
7
9
  export declare class FolderWebFrameRouteHandler implements IRouteHandler<IFolderPageRouteData> {
8
10
  private services;
@@ -10,7 +12,7 @@ export declare class FolderWebFrameRouteHandler implements IRouteHandler<IFolder
10
12
  private layoutContainerName;
11
13
  private webFrameContentBackgroundClass;
12
14
  private webFrameContentName;
13
- constructor(services: $ExperimentalFeature);
15
+ constructor(services: $ApplicationSettings & $IsIE & $LayoutBackground & $LayoutManager);
14
16
  private routeTypeCheck;
15
17
  private filterClasses;
16
18
  mountRoute(data: IFolderPageRouteData, routeType: RouteType): Promise<RouteHandleResult>;
@@ -0,0 +1,11 @@
1
+ import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
2
+ export declare enum WebFrameHeaderContentAvailableControls {
3
+ CustomButton = "CustomButton",
4
+ TextBox = "TextBox",
5
+ Number = "Number",
6
+ Url = "Url",
7
+ Dropdown = "Dropdown",
8
+ Label = "Label",
9
+ RadioGroup = "RadioGroup"
10
+ }
11
+ export declare function getWebFrameHeaderContainerChildControls(controls?: LayoutControl[]): LayoutControl[];
@@ -12,7 +12,7 @@ export declare class LoaderDialog extends React.Component<Props, State> {
12
12
  cancel: () => void;
13
13
  DialogBox:
14
14
  import("styled-components").StyledComponent<(props:
15
- import("C:/dev/WebCVersion/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
15
+ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
16
16
  LoadingSpan:
17
17
  import("styled-components").StyledComponent<"span", any, {}, never>;
18
18
  render(): JSX.Element;
@@ -36,6 +36,9 @@ export declare class NumberImpl extends InputBasedControlImpl<number, NumberPara
36
36
  getValue(): number;
37
37
  protected attachInput(elem: HTMLInputElement): void;
38
38
  protected onInputBlur(event: React.FocusEvent<any>): void;
39
+ private saveCard;
40
+ private shouldSaveCardWithEditInPlaceValue;
41
+ private isLayoutViewMode;
39
42
  validate(params: any): IValidationResult;
40
43
  protected parseStringValue: (value: string, trim: boolean) => number;
41
44
  protected processInputValue(): void;
@@ -21,7 +21,7 @@ export declare class ReadBatchOperationParams extends BaseControlParams {
21
21
  standardCssClass?: string;
22
22
  /** Текст кнопки операции. */
23
23
  buttonText?: string;
24
- services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & Router & $BaseCardController & $RefreshUnreadCounters & $CurrentFolder;
24
+ services?: $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $EmployeeServices & $TextAreaServices & $CheckBoxServices & Router & $BaseCardController & $RefreshUnreadCounters & $CurrentFolder & $FolderDataLoading;
25
25
  }
26
26
  /**
27
27
  * Класс элемента управления ReadBatchOperation.
@@ -4,10 +4,12 @@ import { PanelImpl, PanelState } from "@docsvision/webclient/Platform/PanelImpl"
4
4
  import { $GridOptions, IGridOptions } from '@docsvision/webclient/Platform/$GridOptions';
5
5
  import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
6
6
  import React from "react";
7
+ import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
7
8
  import { $FolderGrid } from '@docsvision/webclient/Platform/$FolderGrid';
9
+ import { $IsIE } from "@docsvision/webclient/StandardServices";
8
10
  import { IFolderDataLoader } from '@docsvision/webclient/Platform/IFolderDataLoader';
9
11
  export declare const TABLE_BLOCK_SCROLL_CLASS = "table-scroll-block";
10
- export declare type RecentCardsDashboardWidgetServices = RecentCardsDashboardWidgetParams["services"] & $GridOptions & $FolderGrid;
12
+ export declare type RecentCardsDashboardWidgetServices = RecentCardsDashboardWidgetParams["services"] & $GridOptions & $FolderGrid & $IsIE & $ExperimentalFeature;
11
13
  /** @internal */
12
14
  export interface RecentCardsDashboardWidgetState extends RecentCardsDashboardWidgetParams, PanelState {
13
15
  gridModel: GenModels.CardListViewModel;
@@ -6,12 +6,13 @@ import { RouteType } from "@docsvision/webclient/System/RouteType";
6
6
  import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
7
7
  import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
8
8
  import { IFolderDataLoader } from "@docsvision/webclient/Platform/IFolderDataLoader";
9
+ import { $IsIE } from '@docsvision/webclient/StandardServices';
9
10
  /** @internal */
10
11
  export declare class RecentCardsRouteHandler implements IRouteHandler<IRecentCardsRouteData> {
11
12
  private services;
12
13
  private gridLocationName;
13
14
  name: string;
14
- constructor(services: $GridController & $LayoutManager & $ExperimentalFeature);
15
+ constructor(services: $GridController & $LayoutManager & $ExperimentalFeature & $IsIE);
15
16
  protected getGridModelLoader: () => IFolderDataLoader;
16
17
  loadRouteData(knownRouteData: Partial<IRecentCardsRouteData>, routeType: RouteType): Promise<RouteHandleResult>;
17
18
  mountRoute(data: IRecentCardsRouteData, routeType: RouteType): Promise<RouteHandleResult>;