dcp-design-react 1.9.27 → 1.9.28

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.
@@ -12,7 +12,6 @@ type IProps = AntModalProps & {
12
12
  draggable?: boolean;
13
13
  showHeader?: boolean;
14
14
  showFullScreen?: boolean;
15
- stopMouseDownEvent?: boolean;
16
15
  onClose?: (e: EventType) => void;
17
16
  onClosed?: () => void;
18
17
  onFullChange?: (value: boolean) => void;
@@ -41,7 +40,6 @@ declare class QmModal extends Component<IProps, IState> {
41
40
  size: (props: any, propName: any, componentName: any) => void;
42
41
  spinning: PropTypes.Requireable<boolean>;
43
42
  };
44
- private $event;
45
43
  static defaultProps: {
46
44
  width: string;
47
45
  showHeader: boolean;
@@ -59,8 +57,6 @@ declare class QmModal extends Component<IProps, IState> {
59
57
  get defaultHeight(): string;
60
58
  state: IState;
61
59
  componentDidUpdate(prevProps: IProps, prevState: IState): void;
62
- addMouseDownEvent: () => void;
63
- removeMouseDownEvent: () => void;
64
60
  onStart: (ev: any, uiData: any) => void;
65
61
  toggleHandle: (ev: any) => void;
66
62
  afterVisibleChange: () => void;
@@ -7,7 +7,7 @@ import type { ComponentSize, Nullable } from '../../../_utils/types';
7
7
  export type ITableRef = {
8
8
  props: ITableProps;
9
9
  uid: string;
10
- tableManager: TableManager;
10
+ tableManager: typeof TableManager;
11
11
  elementStore: Record<string, Nullable<HTMLElement>>;
12
12
  originColumns: IColumn[];
13
13
  tableFullData: IRecord[];
@@ -84,7 +84,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
84
84
  clearRecordsMap: () => void;
85
85
  props: ITableProps;
86
86
  uid: string;
87
- tableManager: TableManager;
87
+ tableManager: typeof TableManager;
88
88
  elementStore: Record<string, Nullable<HTMLElement>>;
89
89
  originColumns: IColumn[];
90
90
  tableFullData: IRecord[];
@@ -5,13 +5,11 @@ type Instance = {
5
5
  id: string;
6
6
  vm: React.ForwardedRef<TableRef>;
7
7
  };
8
- declare class TableManager {
9
- instances: Instance[];
8
+ declare const TableManager: {
10
9
  getFocusInstance: () => Nullable<Instance>;
11
10
  getInstance: (id: string) => Nullable<Instance>;
12
11
  focus: (id: string) => void;
13
12
  register: (id: string, instance: React.ForwardedRef<TableRef>) => void;
14
13
  deregister: (id: string) => void;
15
- destroy(): void;
16
- }
14
+ };
17
15
  export default TableManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-design-react",
3
- "version": "1.9.27",
3
+ "version": "1.9.28",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",