@jiaozhiye/qm-design-react 1.9.16 → 1.9.18
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.
- package/lib/form/src/form-tree-select.d.ts +2 -1
- package/lib/hooks/useId.d.ts +2 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/table/src/hooks/useImperativeMethod.d.ts +0 -1
- package/lib/table/src/hooks/useTableEffect.d.ts +3 -4
- package/lib/table/src/hooks/useTableRef.d.ts +0 -3
- package/lib/table/src/table/types.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import FormContext from './context';
|
|
3
|
-
import type { IFormItem } from './types';
|
|
3
|
+
import type { IFormItem, IRecord } from './types';
|
|
4
4
|
import type { IDict } from '../../_utils/types';
|
|
5
5
|
type IProps = {
|
|
6
6
|
option: IFormItem;
|
|
@@ -10,6 +10,7 @@ type IState = {
|
|
|
10
10
|
itemList: IDict[];
|
|
11
11
|
loading: boolean;
|
|
12
12
|
};
|
|
13
|
+
export declare const updateTreeData: (list: IRecord[], key: React.Key, valueKey: string, children: IRecord[]) => IRecord[];
|
|
13
14
|
declare class FormTreeSelect extends Component<IProps, IState> {
|
|
14
15
|
static contextType: React.Context<import("./context").IFormContext | undefined>;
|
|
15
16
|
context: React.ContextType<typeof FormContext>;
|