@jiaozhiye/qm-design-react 1.10.17 → 1.10.19
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/drawer/style/index.less +104 -104
- package/lib/form/src/form.d.ts +1 -1
- package/lib/index.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/locale/lang/en.d.ts +4 -0
- package/lib/locale/lang/en.js +9 -5
- package/lib/locale/lang/zh-cn.d.ts +4 -0
- package/lib/locale/lang/zh-cn.js +9 -5
- package/lib/pivot-grid/index.d.ts +3 -0
- package/lib/pivot-grid/src/config/index.d.ts +9 -0
- package/lib/pivot-grid/src/grid-layout/Body.d.ts +3 -0
- package/lib/pivot-grid/src/grid-layout/Context.d.ts +20 -0
- package/lib/pivot-grid/src/grid-layout/CountPanel.d.ts +7 -0
- package/lib/pivot-grid/src/grid-layout/Footer.d.ts +3 -0
- package/lib/pivot-grid/src/grid-layout/GroupCard.d.ts +10 -0
- package/lib/pivot-grid/src/grid-layout/Header.d.ts +3 -0
- package/lib/pivot-grid/src/grid-layout/List.d.ts +7 -0
- package/lib/pivot-grid/src/grid-layout/ResizeBar.d.ts +7 -0
- package/lib/pivot-grid/src/grid-layout/index.d.ts +3 -0
- package/lib/pivot-grid/src/main/Context.d.ts +39 -0
- package/lib/pivot-grid/src/main/index.d.ts +3 -0
- package/lib/pivot-grid/src/main/types.d.ts +8 -0
- package/lib/pivot-grid/src/top-bar/FieldsPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/FilterPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/GroupPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/LineHeightPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/SearchPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/SorterPanel.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/ViewMode.d.ts +3 -0
- package/lib/pivot-grid/src/top-bar/index.d.ts +3 -0
- package/lib/pivot-grid/src/utils/index.d.ts +2 -0
- package/lib/pivot-grid/style/grid-layout.less +234 -0
- package/lib/pivot-grid/style/index.less +10 -0
- package/lib/pivot-grid/style/main.less +43 -0
- package/lib/pivot-grid/style/top-bar.less +105 -0
- package/lib/pivot-grid/style/variable.less +9 -0
- package/lib/style/index.css +392 -2
- package/lib/style/index.less +2 -1
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/hooks/useTableMemo.d.ts +1 -0
- package/lib/table/src/pivot-grid/index.d.ts +7 -0
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +3 -1
- package/lib/table/src/toolbox/index.d.ts +1 -0
- package/lib/table/style/index.less +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ declare const useTableMemo: <T extends ITableProps>(props: T, extra: IExtra) =>
|
|
|
39
39
|
isTableClipboard: boolean;
|
|
40
40
|
isSuperSearch: boolean;
|
|
41
41
|
isFastSearch: boolean;
|
|
42
|
+
isPivotGrid: boolean;
|
|
42
43
|
isGroupSummary: boolean;
|
|
43
44
|
isGroupSubtotal: boolean;
|
|
44
45
|
isTreeTable: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ToolMethodRef } from '../table/types';
|
|
3
|
+
type IFastSearchProps = {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const PivotGrid: React.ForwardRefExoticComponent<IFastSearchProps & React.RefAttributes<ToolMethodRef>>;
|
|
7
|
+
export default PivotGrid;
|
|
@@ -270,6 +270,7 @@ export declare const propTypes: {
|
|
|
270
270
|
showToolBox: PropTypes.Requireable<boolean>;
|
|
271
271
|
showColumnDefine: PropTypes.Requireable<boolean>;
|
|
272
272
|
showTableInfo: PropTypes.Requireable<boolean>;
|
|
273
|
+
showPivotGrid: PropTypes.Requireable<boolean>;
|
|
273
274
|
onlyShowIcon: PropTypes.Requireable<boolean>;
|
|
274
275
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
275
276
|
onDataChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -9,6 +9,7 @@ export type InsertMode = 'before' | 'after';
|
|
|
9
9
|
export type IFilterType = 'text' | 'textarea' | 'checkbox' | 'radio' | 'number' | 'date' | 'tree';
|
|
10
10
|
export type ICheckStrategy = 'SHOW_ALL' | 'SHOW_PARENT' | 'SHOW_CHILD';
|
|
11
11
|
export type IEditerType = 'text' | 'textarea' | 'number' | 'select' | 'select-multiple' | 'checkbox' | 'switch' | 'search-helper' | 'search-helper-multiple' | 'tree-helper' | 'tree-helper-multiple' | 'date' | 'datetime' | 'time' | 'month' | 'year' | 'custom';
|
|
12
|
+
export type IOrderBy = 'ascend' | 'descend';
|
|
12
13
|
export type ISelectionType = 'checkbox' | 'radio';
|
|
13
14
|
export type IRecord<T = any> = {
|
|
14
15
|
[key: string]: T;
|
|
@@ -86,7 +87,7 @@ export type ISuperFilter = {
|
|
|
86
87
|
bracketLeft: string;
|
|
87
88
|
fieldName: string;
|
|
88
89
|
expression: string;
|
|
89
|
-
value:
|
|
90
|
+
value: any;
|
|
90
91
|
bracketRight: string;
|
|
91
92
|
logic: string;
|
|
92
93
|
};
|
|
@@ -402,6 +403,7 @@ export type ITableProps = {
|
|
|
402
403
|
showToolBox?: boolean;
|
|
403
404
|
showColumnDefine?: boolean;
|
|
404
405
|
showTableInfo?: boolean;
|
|
406
|
+
showPivotGrid?: boolean;
|
|
405
407
|
children?: React.ReactNode;
|
|
406
408
|
onlyShowIcon?: boolean;
|
|
407
409
|
onChange?: (pagination: IPagination, filters: IFilter, sorter: ISorter, superFilters: ISuperFilter[], extra: {
|