@ahooksjs/use-filter-plugin
Advanced tools
Comparing version 0.0.1 to 0.0.2-alpha.0
import { TUseFilterPlugin } from './type'; | ||
declare const useSortablePlugin: TUseFilterPlugin; | ||
export default useSortablePlugin; | ||
declare const useFilterPlugin: TUseFilterPlugin; | ||
export default useFilterPlugin; |
@@ -15,3 +15,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
var useSortablePlugin = function useSortablePlugin() { | ||
var useFilterPlugin = function useFilterPlugin() { | ||
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
@@ -47,2 +47,2 @@ var filterRef = useRef({}); | ||
export default useSortablePlugin; | ||
export default useFilterPlugin; |
@@ -1,5 +0,5 @@ | ||
import { FormTableNormalPlugin } from '@ahooksjs/use-table'; | ||
import { TableNormalPlugin } from '@ahooksjs/use-table'; | ||
export interface IOptions { | ||
transformer?: (params: any, filterParams: any) => any; | ||
} | ||
export declare type TUseFilterPlugin = (options?: IOptions) => FormTableNormalPlugin; | ||
export declare type TUseFilterPlugin = (options?: IOptions) => TableNormalPlugin; |
import { TUseFilterPlugin } from './type'; | ||
declare const useSortablePlugin: TUseFilterPlugin; | ||
export default useSortablePlugin; | ||
declare const useFilterPlugin: TUseFilterPlugin; | ||
export default useFilterPlugin; |
@@ -22,3 +22,3 @@ "use strict"; | ||
var useSortablePlugin = function useSortablePlugin() { | ||
var useFilterPlugin = function useFilterPlugin() { | ||
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
@@ -54,3 +54,3 @@ var filterRef = (0, _react.useRef)({}); | ||
var _default = useSortablePlugin; | ||
var _default = useFilterPlugin; | ||
exports.default = _default; |
@@ -1,5 +0,5 @@ | ||
import { FormTableNormalPlugin } from '@ahooksjs/use-table'; | ||
import { TableNormalPlugin } from '@ahooksjs/use-table'; | ||
export interface IOptions { | ||
transformer?: (params: any, filterParams: any) => any; | ||
} | ||
export declare type TUseFilterPlugin = (options?: IOptions) => FormTableNormalPlugin; | ||
export declare type TUseFilterPlugin = (options?: IOptions) => TableNormalPlugin; |
{ | ||
"name": "@ahooksjs/use-filter-plugin", | ||
"version": "0.0.1", | ||
"version": "0.0.2-alpha.0", | ||
"scripts": { | ||
@@ -13,3 +13,3 @@ "build:tsc": "tsc --project tsconfig.build.json --declarationDir ./lib && tsc --project tsconfig.build.json --declarationDir ./es" | ||
"dependencies": { | ||
"@ahooksjs/use-table": "^0.0.1" | ||
"@ahooksjs/use-table": "^0.0.2-alpha.0" | ||
}, | ||
@@ -20,3 +20,3 @@ "files": [ | ||
], | ||
"gitHead": "0fd0bf5f6cef648840bf37b99f604865f3930493" | ||
"gitHead": "ee471296d35000937cc6e268d5b16cb81107ea87" | ||
} |
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
7046
10
0
+ Added@ahooksjs/use-query-display@0.0.2(transitive)
+ Added@ahooksjs/use-table@0.0.2(transitive)
- Removed@ahooksjs/use-query-display@0.0.1(transitive)
- Removed@ahooksjs/use-table@0.0.1(transitive)