@nokecy/qc-ui 1.0.38 → 1.0.39

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.
@@ -20,12 +20,12 @@ export declare const GridPlusContext: React.Context<{
20
20
  */
21
21
  applyToGlobal: (gridKey: string) => void;
22
22
  /**
23
- * 恢复当前表格为“默认列配置”
23
+ * 恢复当前用户当前表格为“默认列配置”
24
24
  * @param gridKey 表格唯一标识
25
25
  */
26
26
  resetCurrent: (gridKey: string) => void;
27
27
  /**
28
- * 全局恢复所有表格为默认列配置
28
+ * 恢复所有用户当前表格为“默认列配置”
29
29
  */
30
- resetAll: () => void;
30
+ resetAll: (gridKey: string) => void;
31
31
  }>;
@@ -8,7 +8,7 @@ export declare const useGridPlusColumnState: () => {
8
8
  onSaveColumnState: (gridKey: string, columnState: any[]) => void;
9
9
  applyToGlobal: (gridKey: string) => void;
10
10
  resetCurrent: (gridKey: string) => void;
11
- resetAll: () => void;
11
+ resetAll: (gridKey: string) => void;
12
12
  };
13
13
  export { AgGridPlus, AgGridColumn, GridPlusContext };
14
14
  export { dateValueFormatter, dateTimeValueFormatter, convertFilterModel, convertSortModel, flattenTreeDeep, toTree, flatten } from "./utils";
@@ -110,12 +110,12 @@ var Setting = function Setting(props) {
110
110
  }
111
111
  }, "\u6062\u590D\u9ED8\u8BA4")
112
112
  }, {
113
- key: '3',
113
+ key: '4',
114
114
  label: /*#__PURE__*/_react2.default.createElement("a", {
115
115
  target: "_blank",
116
116
  rel: "noopener noreferrer",
117
117
  onClick: function onClick() {
118
- resetAll();
118
+ resetAll(gridKey);
119
119
  }
120
120
  }, "\u5168\u5C40\u6062\u590D\u9ED8\u8BA4")
121
121
  }];
@@ -20,12 +20,12 @@ export declare const GridPlusContext: React.Context<{
20
20
  */
21
21
  applyToGlobal: (gridKey: string) => void;
22
22
  /**
23
- * 恢复当前表格为“默认列配置”
23
+ * 恢复当前用户当前表格为“默认列配置”
24
24
  * @param gridKey 表格唯一标识
25
25
  */
26
26
  resetCurrent: (gridKey: string) => void;
27
27
  /**
28
- * 全局恢复所有表格为默认列配置
28
+ * 恢复所有用户当前表格为“默认列配置”
29
29
  */
30
- resetAll: () => void;
30
+ resetAll: (gridKey: string) => void;
31
31
  }>;
@@ -8,7 +8,7 @@ export declare const useGridPlusColumnState: () => {
8
8
  onSaveColumnState: (gridKey: string, columnState: any[]) => void;
9
9
  applyToGlobal: (gridKey: string) => void;
10
10
  resetCurrent: (gridKey: string) => void;
11
- resetAll: () => void;
11
+ resetAll: (gridKey: string) => void;
12
12
  };
13
13
  export { AgGridPlus, AgGridColumn, GridPlusContext };
14
14
  export { dateValueFormatter, dateTimeValueFormatter, convertFilterModel, convertSortModel, flattenTreeDeep, toTree, flatten } from "./utils";
@@ -101,12 +101,12 @@ var Setting = function Setting(props) {
101
101
  }
102
102
  }, "\u6062\u590D\u9ED8\u8BA4")
103
103
  }, {
104
- key: '3',
104
+ key: '4',
105
105
  label: /*#__PURE__*/React.createElement("a", {
106
106
  target: "_blank",
107
107
  rel: "noopener noreferrer",
108
108
  onClick: function onClick() {
109
- resetAll();
109
+ resetAll(gridKey);
110
110
  }
111
111
  }, "\u5168\u5C40\u6062\u590D\u9ED8\u8BA4")
112
112
  }];