@docsvision/webclient 5.17.0-beta.22 → 5.17.0-beta.23

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.
@@ -10,7 +10,7 @@ import("@docsvision/web/components/modals/modal-dialog").ModalDialogProps) => JS
10
10
  import("./components/EmailButtonItem").EmailButtonItemProps) => JSX.Element;
11
11
  checkbox:
12
12
  import("react").ForwardRefExoticComponent<Pick<
13
- | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "checked" | "readOnly" | "required" | "htmlFor" | "onSetupLogic" | "onSetupView" | "indeterminate" | "labelText" | "innerRef" | "dataTestId"> &
13
+ | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "checked" | "readOnly" | "required" | "htmlFor" | "dataTestId" | "onSetupLogic" | "onSetupView" | "indeterminate" | "labelText" | "innerRef"> &
14
14
  import("react").RefAttributes<unknown>>;
15
15
  files: (props:
16
16
  import("./components/EmailButtonFiles").EmailButtonFilesProps) => JSX.Element;
@@ -60,6 +60,10 @@ import("effector").Store<string>;
60
60
  initMainContextMenu(): void;
61
61
  componentDidMount:
62
62
  import("effector").Event<void>;
63
+ checkReadDirectoryAccess:
64
+ import("effector").Effect<void, boolean, Error>;
65
+ $readDirectoryAccess:
66
+ import("effector").Store<boolean>;
63
67
  loadRootSectionsFx:
64
68
  import("effector").Effect<void, IPowersTreeRow[], Error>;
65
69
  loadSubsectionsFx:
@@ -0,0 +1,2 @@
1
+ export declare function saveDirectoryExpandedNodeIds(nodes: string[]): void;
2
+ export declare function getDirectoryExpandedNodeIds(): any;
@@ -29,6 +29,7 @@ export interface IStaffDirectorySelectDialogProps extends IDirectorySelectDialog
29
29
  initialSelectedValues: ItemT[];
30
30
  dataSource: GenModels.StaffItemsDataSourceModel;
31
31
  favoritesKey?: string;
32
+ dataTestId?: string;
32
33
  services: $StaffDirectoryItemsController & $CardInfo;
33
34
  }
34
35
  /** @internal */
@@ -74,6 +74,8 @@ export interface IButtonProperties {
74
74
  backgroundColor?: string;
75
75
  /** Цвет текста кнопки. */
76
76
  textColor?: string;
77
+ /** Атрибут для cypress-тестирования */
78
+ dataTestId?: string;
77
79
  }
78
80
  /** @internal Режимы выравнивания кнопки. */
79
81
  export declare enum ButtonAlignModes {
@@ -20,6 +20,8 @@ export interface ICommandBarButtonProps {
20
20
  tabIndex?: number;
21
21
  /** Класс иконки. */
22
22
  iconClassName?: string;
23
+ /** Атрибут для cypress-тестирования */
24
+ dataTestId?: string;
23
25
  }
24
26
  /**
25
27
  * @internal Представляет собой анимированную кнопку, которая выглядит как знак "+" в свёрнутом состоянии, и как "x" в развёрнутом.
@@ -35,6 +35,8 @@ export interface IIconButtonProps {
35
35
  disabled?: boolean;
36
36
  /** Использовать подсказку, как текст после кнопки */
37
37
  useText?: boolean;
38
+ /** Атрибут для cypress-тестирования */
39
+ dataTestId?: string;
38
40
  children?: React.ReactNode[];
39
41
  }
40
42
  /**
@@ -10,6 +10,7 @@ export interface IModalDialogProps {
10
10
  * По умолчанию: true
11
11
  */
12
12
  stopClickPropagation?: boolean;
13
+ dataTestId?: string;
13
14
  }
14
15
  /**
15
16
  * Представляет всплывающее окно.
@@ -15,6 +15,7 @@ export interface ITableRowHelperProps {
15
15
  innerRef?: (HTMLElement: any) => void;
16
16
  onClick?: (ev: React.MouseEvent) => void;
17
17
  id?: string;
18
+ dataTestName?: string;
18
19
  }
19
20
  /** @internal */
20
21
  export interface ITableRowCellHelperProps {
@@ -34,6 +34,7 @@ export interface IDirectorySelectDialogProps<ValueT extends NodeT | ItemT | Node
34
34
  /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
35
35
  maximized?: boolean;
36
36
  services?: any;
37
+ dataTestId?: string;
37
38
  }
38
39
  /** @internal */
39
40
  export interface IDirectoryChildrenCacheItem<DataT extends GenModels.IDirectoryItemData> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "5.17.0-beta.22",
3
+ "version": "5.17.0-beta.23",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -1,2 +0,0 @@
1
- export declare function saveExpandedNodeIds(nodes: string[]): void;
2
- export declare function getExpandedNodeIds(): any;