@canvas-components/react-list-table 0.3.81 → 0.3.82

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/README.md CHANGED
@@ -185,6 +185,8 @@ tableRef.current?.setPaginationConfig({
185
185
 
186
186
  ![单元格编辑](./assets/examples/editable-cell.gif)
187
187
 
188
+ 通过 `editClickCount={1}` 设置表格默认单击进入编辑;`2`(默认)表示双击。仅支持 `1 | 2`,修改属性后即时生效。列的 `formItemProps.clickCount` 优先于表格默认值,动态 `formItemProps` 和数组编辑项也遵循此规则;只读或禁用编辑项不会进入编辑。
189
+
188
190
  </details>
189
191
 
190
192
  <details>
package/dist/index.cjs CHANGED
@@ -8526,6 +8526,7 @@ function ReactListTableInner(props, ref) {
8526
8526
  onPaginationConfigChange,
8527
8527
  scrollbar,
8528
8528
  stickToBottom,
8529
+ editClickCount,
8529
8530
  carouselScroll,
8530
8531
  stretchColumns,
8531
8532
  resizable,
@@ -8654,6 +8655,7 @@ function ReactListTableInner(props, ref) {
8654
8655
  onPaginationConfigChange,
8655
8656
  scrollbar: effectiveScrollbar,
8656
8657
  stickToBottom,
8658
+ editClickCount,
8657
8659
  carouselScroll,
8658
8660
  stretchColumns,
8659
8661
  resizable,
@@ -8755,6 +8757,7 @@ function ReactListTableInner(props, ref) {
8755
8757
  onPaginationConfigChange,
8756
8758
  effectiveScrollbar,
8757
8759
  stickToBottom,
8760
+ editClickCount,
8758
8761
  carouselScroll,
8759
8762
  stretchColumns,
8760
8763
  resizable,
package/dist/index.js CHANGED
@@ -8525,6 +8525,7 @@ function ReactListTableInner(props, ref) {
8525
8525
  onPaginationConfigChange,
8526
8526
  scrollbar,
8527
8527
  stickToBottom,
8528
+ editClickCount,
8528
8529
  carouselScroll,
8529
8530
  stretchColumns,
8530
8531
  resizable,
@@ -8653,6 +8654,7 @@ function ReactListTableInner(props, ref) {
8653
8654
  onPaginationConfigChange,
8654
8655
  scrollbar: effectiveScrollbar,
8655
8656
  stickToBottom,
8657
+ editClickCount,
8656
8658
  carouselScroll,
8657
8659
  stretchColumns,
8658
8660
  resizable,
@@ -8754,6 +8756,7 @@ function ReactListTableInner(props, ref) {
8754
8756
  onPaginationConfigChange,
8755
8757
  effectiveScrollbar,
8756
8758
  stickToBottom,
8759
+ editClickCount,
8757
8760
  carouselScroll,
8758
8761
  stretchColumns,
8759
8762
  resizable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canvas-components/react-list-table",
3
- "version": "0.3.81",
3
+ "version": "0.3.82",
4
4
  "description": "React adapter for the list table core engine.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -38,12 +38,12 @@
38
38
  "pnpm": ">=9.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@canvas-components/chart": "0.3.9",
42
- "@canvas-components/react-print-design": "0.1.23",
43
- "@canvas-components/print-design-plugin": "^0.1.27",
41
+ "@canvas-components/list-table": "0.3.64",
44
42
  "@canvas-components/react-components": "0.3.33",
45
- "@canvas-components/list-table": "0.3.63",
46
- "@canvas-components/utils": "0.2.10"
43
+ "@canvas-components/print-design-plugin": "^0.1.28",
44
+ "@canvas-components/react-print-design": "0.1.23",
45
+ "@canvas-components/utils": "0.2.10",
46
+ "@canvas-components/chart": "0.3.9"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@canvas-components/print": "0.1.1",