synos-helena 21.14.4 → 21.14.5

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.
Binary file
package/lib/index.d.ts CHANGED
@@ -20,12 +20,14 @@
20
20
  // ../antd/lib/divider
21
21
  // ../antd/lib/drawer
22
22
  // ../antd/lib/dropdown
23
+ // ../~/util/constants
23
24
  // HLHeaderButton
24
25
  // HLHeaderSearch
25
26
  // HLHealthCheck/HLHealthCheck
26
27
  // HLModulesMenu
27
28
  // HLNotification
28
29
  // HLUserBox
30
+ // ../antd/lib/tooltip
29
31
  // ../react-markdown/lib/react-markdown
30
32
  // ../react-router-dom
31
33
  // ../antd/lib/page-header
@@ -34,7 +36,6 @@
34
36
  // ../antd/lib/radio
35
37
  // ../antd/lib/select
36
38
  // ../antd/lib/switch
37
- // ../antd/lib/tooltip
38
39
 
39
40
  import { AlertProps } from 'antd/lib/alert';
40
41
  import { ButtonProps } from 'antd/lib/button';
@@ -61,6 +62,7 @@ import { DrawerProps } from 'antd/lib/drawer';
61
62
  import { DropDownProps } from 'antd/lib/dropdown';
62
63
  import { TableProps } from 'antd';
63
64
  import { ReactNode } from 'react';
65
+ import { ERROR_SIZES } from '~/util/constants';
64
66
  import { Form } from 'antd';
65
67
  import React, { ReactNode } from 'react';
66
68
  import { HLHeaderButtonPropTypes } from 'src/HLHeaderButton';
@@ -70,6 +72,7 @@ import { HLModulesMenuPropTypes } from 'src/HLModulesMenu';
70
72
  import { HLNotificationPropTypes } from 'src/HLNotification';
71
73
  import { HLUserBoxPropTypes } from 'src/HLUserBox';
72
74
  import { Input } from 'antd';
75
+ import { TooltipProps } from 'antd/lib/tooltip';
73
76
  import { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown';
74
77
  import { Link } from 'react-router-dom';
75
78
  import { BreadcrumbProps } from 'antd';
@@ -81,7 +84,6 @@ import { RadioChangeEvent } from 'antd/lib/radio';
81
84
  import { LabeledValue } from 'antd/lib/select';
82
85
  import { SpinProps } from 'antd/lib/spin';
83
86
  import { SwitchProps } from 'antd/lib/switch';
84
- import { TooltipProps } from 'antd/lib/tooltip';
85
87
 
86
88
 
87
89
  export type HLAlertPropTypes = AlertProps;
@@ -368,7 +370,7 @@ export const HLEditTable: React.FC<HLEditTablePropTypes>;
368
370
 
369
371
 
370
372
  export interface ErrorPropTypes {
371
- size?: 'small' | 'big' | 'page' | string;
373
+ size?: ERROR_SIZES.SMALL | ERROR_SIZES.BIG | ERROR_SIZES.PAGE | string;
372
374
  gray?: boolean;
373
375
  content?: ReactNode;
374
376
  icon?: ReactNode;
@@ -475,6 +477,7 @@ export interface HLInputPropTypes {
475
477
  ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
476
478
  onValueFromEvent?: (unknown) => unknown;
477
479
  style?: React.CSSProperties;
480
+ tooltip?: string;
478
481
  autoComplete?: string;
479
482
  readOnly?: boolean;
480
483
  onFocus?: (unknown) => unknown | undefined;
@@ -903,6 +906,7 @@ export interface HLInputPropTypes {
903
906
  ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
904
907
  onValueFromEvent?: (unknown) => unknown;
905
908
  style?: React.CSSProperties;
909
+ tooltip?: string;
906
910
  autoComplete?: string;
907
911
  readOnly?: boolean;
908
912
  onFocus?: (unknown) => unknown | undefined;