@jiaozhiye/qm-design-react 1.7.60 → 1.8.0
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/_utils/util.d.ts +1 -0
- package/lib/form/src/fields-filter.d.ts +1 -3
- package/lib/form/src/form.d.ts +2 -0
- package/lib/form/src/types.d.ts +4 -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/table/types.d.ts +0 -1
- package/lib/table/src/utils/index.d.ts +2 -1
- package/lib/tinymce/src/index.d.ts +5 -1
- package/package.json +2 -2
|
@@ -38,7 +38,8 @@ export declare const getGroupValidData: (list: IRecord[]) => IRecord<any>[];
|
|
|
38
38
|
export declare const createOrderBy: (sorter: ISorter) => string;
|
|
39
39
|
export declare const createWhereSQL: (filters: any, showType?: boolean) => string;
|
|
40
40
|
export declare const groupByProps: (array?: IRecord[], props?: string[]) => any[][];
|
|
41
|
-
export declare const
|
|
41
|
+
export declare const deepGetColumn: (arr: IColumn[], value: string) => IColumn[] | undefined;
|
|
42
|
+
export declare const deepGetRowkey: (arr: IRecord[], value: IRowKey) => IRowKey[] | undefined;
|
|
42
43
|
export declare const deepFindRecord: (arr: IRecord[], fn: (node: IRecord) => boolean) => Nullable<IRecord>;
|
|
43
44
|
export declare const deepTreeFilter: (tree: any[], fn: (node: unknown) => boolean) => any[];
|
|
44
45
|
export declare const flatToTree: (list: any[], id: string, pid: string) => any[];
|
|
@@ -16,7 +16,11 @@ type IProps = {
|
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
className?: string;
|
|
18
18
|
style?: CSSProperties;
|
|
19
|
-
onChange?: (value: string) => void;
|
|
19
|
+
onChange?: (value: string, editor: any) => void;
|
|
20
|
+
onResizeEditor?: (option: {
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
}, ev: any) => void;
|
|
20
24
|
};
|
|
21
25
|
export type TinymceProps = IProps;
|
|
22
26
|
declare class QmTinymce extends Component<IProps> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiaozhiye/qm-design-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "A Component Library for React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"@rollup/plugin-json": "^4.1.0",
|
|
90
90
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
91
91
|
"@rollup/plugin-replace": "^4.0.0",
|
|
92
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
92
93
|
"@rollup/plugin-typescript": "^8.5.0",
|
|
93
94
|
"@types/lodash-es": "^4.17.6",
|
|
94
95
|
"@types/react": "^17.0.58",
|
|
@@ -124,7 +125,6 @@
|
|
|
124
125
|
"react-dom": "17.0.2",
|
|
125
126
|
"rimraf": "^3.0.2",
|
|
126
127
|
"rollup": "^2.79.1",
|
|
127
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
128
128
|
"style-loader": "^3.3.2",
|
|
129
129
|
"ts-loader": "^9.4.4",
|
|
130
130
|
"typescript": "^4.9.5",
|