@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.
Files changed (48) hide show
  1. package/lib/drawer/style/index.less +104 -104
  2. package/lib/form/src/form.d.ts +1 -1
  3. package/lib/index.d.ts +4 -0
  4. package/lib/index.esm.js +1 -1
  5. package/lib/index.full.js +1 -1
  6. package/lib/index.js +1 -1
  7. package/lib/locale/lang/en.d.ts +4 -0
  8. package/lib/locale/lang/en.js +9 -5
  9. package/lib/locale/lang/zh-cn.d.ts +4 -0
  10. package/lib/locale/lang/zh-cn.js +9 -5
  11. package/lib/pivot-grid/index.d.ts +3 -0
  12. package/lib/pivot-grid/src/config/index.d.ts +9 -0
  13. package/lib/pivot-grid/src/grid-layout/Body.d.ts +3 -0
  14. package/lib/pivot-grid/src/grid-layout/Context.d.ts +20 -0
  15. package/lib/pivot-grid/src/grid-layout/CountPanel.d.ts +7 -0
  16. package/lib/pivot-grid/src/grid-layout/Footer.d.ts +3 -0
  17. package/lib/pivot-grid/src/grid-layout/GroupCard.d.ts +10 -0
  18. package/lib/pivot-grid/src/grid-layout/Header.d.ts +3 -0
  19. package/lib/pivot-grid/src/grid-layout/List.d.ts +7 -0
  20. package/lib/pivot-grid/src/grid-layout/ResizeBar.d.ts +7 -0
  21. package/lib/pivot-grid/src/grid-layout/index.d.ts +3 -0
  22. package/lib/pivot-grid/src/main/Context.d.ts +39 -0
  23. package/lib/pivot-grid/src/main/index.d.ts +3 -0
  24. package/lib/pivot-grid/src/main/types.d.ts +8 -0
  25. package/lib/pivot-grid/src/top-bar/FieldsPanel.d.ts +3 -0
  26. package/lib/pivot-grid/src/top-bar/FilterPanel.d.ts +3 -0
  27. package/lib/pivot-grid/src/top-bar/GroupPanel.d.ts +3 -0
  28. package/lib/pivot-grid/src/top-bar/LineHeightPanel.d.ts +3 -0
  29. package/lib/pivot-grid/src/top-bar/SearchPanel.d.ts +3 -0
  30. package/lib/pivot-grid/src/top-bar/SorterPanel.d.ts +3 -0
  31. package/lib/pivot-grid/src/top-bar/ViewMode.d.ts +3 -0
  32. package/lib/pivot-grid/src/top-bar/index.d.ts +3 -0
  33. package/lib/pivot-grid/src/utils/index.d.ts +2 -0
  34. package/lib/pivot-grid/style/grid-layout.less +234 -0
  35. package/lib/pivot-grid/style/index.less +10 -0
  36. package/lib/pivot-grid/style/main.less +43 -0
  37. package/lib/pivot-grid/style/top-bar.less +105 -0
  38. package/lib/pivot-grid/style/variable.less +9 -0
  39. package/lib/style/index.css +392 -2
  40. package/lib/style/index.less +2 -1
  41. package/lib/style/index.min.css +1 -1
  42. package/lib/table/src/hooks/useTableMemo.d.ts +1 -0
  43. package/lib/table/src/pivot-grid/index.d.ts +7 -0
  44. package/lib/table/src/table/props.d.ts +1 -0
  45. package/lib/table/src/table/types.d.ts +3 -1
  46. package/lib/table/src/toolbox/index.d.ts +1 -0
  47. package/lib/table/style/index.less +1 -1
  48. 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: unknown;
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: {
@@ -11,6 +11,7 @@ type IToolBoxProps = {
11
11
  showCollection?: boolean;
12
12
  showFastSearch?: boolean;
13
13
  showSuperSearch?: boolean;
14
+ showPivotGrid?: boolean;
14
15
  showGroupSummary?: boolean;
15
16
  showToolBox?: boolean;
16
17
  };
@@ -2,7 +2,7 @@
2
2
  * @Author: 焦质晔
3
3
  * @Date: 2021-07-23 19:05:57
4
4
  * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2024-07-23 09:28:50
5
+ * @Last Modified time: 2024-11-28 20:00:14
6
6
  */
7
7
  @import './variable.less';
8
8
  @import './toper.less';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.10.17",
3
+ "version": "1.10.19",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",