linkmore-design 1.1.27-alpha.0 → 1.1.27-alpha.2

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 (63) hide show
  1. package/dist/LmEditTable/EditTable.d.ts +4 -0
  2. package/dist/LmEditTable/components/customRenderEmpty.d.ts +2 -0
  3. package/dist/LmEditTable/components/index.d.ts +2 -1
  4. package/dist/LmEditTable/util.d.ts +3 -0
  5. package/{lib/LmEditTable/virtual/VirtualRowBack.d.ts → dist/LmEditTable/virtual/VirtualRow2.d.ts} +7 -6
  6. package/dist/LmTable/virTual/VirtualRow.d.ts +1 -1
  7. package/dist/index.umd.js +398 -111
  8. package/dist/index.umd.min.js +21 -21
  9. package/dist/variables.css +41 -0
  10. package/es/LmEditTable/EditTable.d.ts +4 -0
  11. package/es/LmEditTable/EditTable.js +68 -11
  12. package/es/LmEditTable/components/customRenderEmpty.d.ts +2 -0
  13. package/es/LmEditTable/components/customRenderEmpty.js +20 -0
  14. package/es/LmEditTable/components/index.d.ts +2 -1
  15. package/es/LmEditTable/components/index.js +2 -1
  16. package/es/LmEditTable/rowSort/DndContainerRow.js +6 -3
  17. package/es/LmEditTable/style/index.css +41 -0
  18. package/es/LmEditTable/style/variables.css +41 -0
  19. package/es/LmEditTable/util.d.ts +3 -0
  20. package/es/LmEditTable/util.js +61 -1
  21. package/es/LmEditTable/virtual/VirtualRow.js +94 -16
  22. package/{dist/LmEditTable/virtual/VirtualRowBack.d.ts → es/LmEditTable/virtual/VirtualRow2.d.ts} +7 -6
  23. package/es/LmEditTable/virtual/VirtualRow2.js +62 -0
  24. package/es/LmEditTable/virtual/VirtualTable.js +17 -9
  25. package/es/LmEditTable/virtual/context.js +14 -2
  26. package/es/LmFilter/baseFilter/index.js +3 -2
  27. package/es/LmFilter/filterFns/index.js +4 -2
  28. package/es/LmTable/virTual/VirtualRow.d.ts +1 -1
  29. package/es/LmTable/virTual/VirtualRow.js +80 -44
  30. package/es/LmTable/virTual/VirtualTable.js +17 -9
  31. package/es/LmTable/virTual/context.js +14 -2
  32. package/es/LmUpload/body/UploadCore.js +1 -1
  33. package/es/Radio/index.js +9 -1
  34. package/es/Switch/index.js +7 -2
  35. package/es/styles/variables.css +41 -0
  36. package/lib/LmEditTable/EditTable.d.ts +4 -0
  37. package/lib/LmEditTable/EditTable.js +67 -9
  38. package/lib/LmEditTable/components/customRenderEmpty.d.ts +2 -0
  39. package/lib/LmEditTable/components/customRenderEmpty.js +32 -0
  40. package/lib/LmEditTable/components/index.d.ts +2 -1
  41. package/lib/LmEditTable/components/index.js +8 -0
  42. package/lib/LmEditTable/rowSort/DndContainerRow.js +5 -3
  43. package/lib/LmEditTable/style/index.css +41 -0
  44. package/lib/LmEditTable/style/variables.css +41 -0
  45. package/lib/LmEditTable/util.d.ts +3 -0
  46. package/lib/LmEditTable/util.js +64 -0
  47. package/lib/LmEditTable/virtual/VirtualRow.js +93 -16
  48. package/{es/LmEditTable/virtual/VirtualRowBack.d.ts → lib/LmEditTable/virtual/VirtualRow2.d.ts} +1 -0
  49. package/lib/LmEditTable/virtual/{VirtualRowBack.js → VirtualRow2.js} +13 -48
  50. package/lib/LmEditTable/virtual/VirtualTable.js +16 -8
  51. package/lib/LmEditTable/virtual/context.js +14 -2
  52. package/lib/LmFilter/baseFilter/index.js +3 -2
  53. package/lib/LmFilter/filterFns/index.js +4 -2
  54. package/lib/LmTable/virTual/VirtualRow.d.ts +1 -1
  55. package/lib/LmTable/virTual/VirtualRow.js +79 -44
  56. package/lib/LmTable/virTual/VirtualTable.js +16 -8
  57. package/lib/LmTable/virTual/context.js +14 -2
  58. package/lib/LmUpload/body/UploadCore.js +1 -1
  59. package/lib/Radio/index.js +9 -1
  60. package/lib/Switch/index.js +9 -2
  61. package/lib/styles/variables.css +41 -0
  62. package/package.json +1 -1
  63. package/es/LmEditTable/virtual/VirtualRowBack.js +0 -100
@@ -15,6 +15,7 @@ interface ILmEditTable extends TableProps<any> {
15
15
  size?: TableProps<any>['size'];
16
16
  colSortOpen?: boolean;
17
17
  indexCol?: boolean | Record<string, any>;
18
+ autoSizer?: boolean;
18
19
  filterChange?: (data: TableProps<any>['columns']) => void;
19
20
  recordCreatorProps?: {
20
21
  creatorButtonText?: string;
@@ -27,6 +28,9 @@ interface ILmEditTable extends TableProps<any> {
27
28
  rowSelection?: TableProps<any>['rowSelection'] & {
28
29
  selectedRows?: Record<string, any>;
29
30
  };
31
+ rowDisabled?: {
32
+ disabledRows?: Record<string, any>;
33
+ };
30
34
  }
31
35
  export interface CountdownHandle {
32
36
  setRow: (data: any) => void;
@@ -0,0 +1,2 @@
1
+ declare const CustomizeRenderEmpty: () => JSX.Element;
2
+ export default CustomizeRenderEmpty;
@@ -1,7 +1,8 @@
1
1
  import DraggableContainer from './DraggableContainer';
2
2
  import BottomOpetateComponent from './bottomOpetateComponent';
3
3
  import QuickOpetate from './QuickOpetate';
4
- export { DraggableContainer, BottomOpetateComponent, QuickOpetate };
4
+ import CustomizeRenderEmpty from './customRenderEmpty';
5
+ export { DraggableContainer, BottomOpetateComponent, QuickOpetate, CustomizeRenderEmpty };
5
6
  declare const _default: {
6
7
  DraggableContainer: ({ keys, onSortEnd, virtual, rowKey, options, tableWidth, ...props }: {
7
8
  [x: string]: any;
@@ -9,6 +9,9 @@ export declare function checkExpandIconColumnIndex({ rowSelection, sortOpen, ind
9
9
  sortOpen: any;
10
10
  indexCol: any;
11
11
  }): number;
12
+ export declare function checkDataSourceIsEmpty(config: any, dataSource: any, scrollInfo: any): any;
13
+ /** 根据传入的disabedRows, 得出最终需要disabed的rowKeys */
14
+ export declare function checkTableRowIsDisable(deepDataSource: any, disabledRows: any, rowKey: any): any[];
12
15
  declare const _default: {
13
16
  isObjEmpty: typeof isObjEmpty;
14
17
  };
@@ -1,6 +1,7 @@
1
- import React from 'react';
2
- interface rowProps {
3
- children?: any;
4
- }
5
- declare const VirtualRow: React.NamedExoticComponent<rowProps>;
6
- export default VirtualRow;
1
+ import React from 'react';
2
+ interface rowProps {
3
+ children?: any;
4
+ pref?: any;
5
+ }
6
+ declare const VirtualRow: React.NamedExoticComponent<rowProps>;
7
+ export default VirtualRow;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface rowProps {
3
- children: any;
3
+ children?: any;
4
4
  }
5
5
  declare const VirtualRow: React.NamedExoticComponent<rowProps>;
6
6
  export default VirtualRow;