@jiaozhiye/qm-design-react 1.7.59 → 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 -0
- package/lib/form/src/form.d.ts +2 -0
- package/lib/form/src/types.d.ts +4 -0
- package/lib/form/style/index.less +361 -352
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style/index.css +9 -0
- package/lib/style/index.min.css +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 +4 -3
|
@@ -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",
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"types": "lib/index.d.ts",
|
|
47
47
|
"style": "lib/style/index.css",
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"react": ">=16.14.0"
|
|
49
|
+
"react": ">=16.14.0",
|
|
50
|
+
"react-dom": ">=16.14.0"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
53
|
"@rc-component/portal": "^1.1.2",
|
|
@@ -88,6 +89,7 @@
|
|
|
88
89
|
"@rollup/plugin-json": "^4.1.0",
|
|
89
90
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
90
91
|
"@rollup/plugin-replace": "^4.0.0",
|
|
92
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
91
93
|
"@rollup/plugin-typescript": "^8.5.0",
|
|
92
94
|
"@types/lodash-es": "^4.17.6",
|
|
93
95
|
"@types/react": "^17.0.58",
|
|
@@ -123,7 +125,6 @@
|
|
|
123
125
|
"react-dom": "17.0.2",
|
|
124
126
|
"rimraf": "^3.0.2",
|
|
125
127
|
"rollup": "^2.79.1",
|
|
126
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
127
128
|
"style-loader": "^3.3.2",
|
|
128
129
|
"ts-loader": "^9.4.4",
|
|
129
130
|
"typescript": "^4.9.5",
|