@fe-free/core 1.1.4 → 1.1.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @fe-free/core
2
2
 
3
+ ## 1.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: curd operate show logic
8
+ - @fe-free/tool@1.1.6
9
+
10
+ ## 1.1.5
11
+
12
+ ### Patch Changes
13
+
14
+ - feat: curd delte export
15
+ - @fe-free/tool@1.1.5
16
+
3
17
  ## 1.1.4
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/core",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -29,7 +29,7 @@
29
29
  "react-syntax-highlighter": "^15.5.0",
30
30
  "vanilla-jsoneditor": "^0.23.1",
31
31
  "zustand": "^4.5.4",
32
- "@fe-free/tool": "1.1.4"
32
+ "@fe-free/tool": "1.1.6"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@ant-design/pro-components": "^2.7.15",
package/src/crud/crud.tsx CHANGED
@@ -208,7 +208,8 @@ const CRUD = forwardRef<CRUDMethods, CRUDProps>(function CRUD(props, ref) {
208
208
  actions.includes('read') ||
209
209
  actions.includes('read_detail') ||
210
210
  actions.includes('update') ||
211
- actions.includes('delete')
211
+ actions.includes('delete') ||
212
+ operateColumnProps?.moreOperator
212
213
  ) {
213
214
  return [
214
215
  ...(tableProps.columns || tableProps.columns || []),
@@ -1,2 +1,3 @@
1
1
  export { CRUD } from './crud';
2
2
  export type { CRUDProps, CRUDMethods } from './crud';
3
+ export { useDelete, OperateDelete } from './crud_delete';
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { CRUD } from './crud';
1
+ export { CRUD, useDelete, OperateDelete } from './crud';
2
2
  export type { CRUDProps, CRUDMethods } from './crud';
3
3
 
4
4
  export { ProFormJSON, ProFormJavascript, proFormSelectSearchProps } from './form';