@ahooksjs/use-table
Advanced tools
Comparing version 0.1.0 to 0.1.1-alpha.0
@@ -124,3 +124,3 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
useUpdateEffect(query, refreshDeps); | ||
var tableProps = tableQueryProps.tableProps, | ||
var $tableProps = tableQueryProps.tableProps, | ||
getParams = tableQueryProps.getParams, | ||
@@ -130,11 +130,12 @@ actions = tableQueryProps.actions, | ||
var paginationProps = tableProps.paginationProps, | ||
$tableProps = _objectWithoutProperties(tableProps, ["paginationProps"]); | ||
var paginationProps = $tableProps.paginationProps, | ||
tableProps = _objectWithoutProperties($tableProps, ["paginationProps"]); | ||
return _objectSpread(_objectSpread({}, props), {}, { | ||
tableProps: $tableProps, | ||
return _objectSpread(_objectSpread({ | ||
actions: actions | ||
}, props), {}, { | ||
tableProps: tableProps, | ||
paginationProps: paginationProps, | ||
query: query, | ||
getParams: getParams, | ||
actions: actions | ||
getParams: getParams | ||
}); | ||
@@ -141,0 +142,0 @@ }; |
@@ -183,3 +183,3 @@ "use strict"; | ||
(0, _use.useUpdateEffect)(query, refreshDeps); | ||
var tableProps = tableQueryProps.tableProps, | ||
var $tableProps = tableQueryProps.tableProps, | ||
getParams = tableQueryProps.getParams, | ||
@@ -189,11 +189,12 @@ actions = tableQueryProps.actions, | ||
var paginationProps = tableProps.paginationProps, | ||
$tableProps = _objectWithoutProperties(tableProps, ["paginationProps"]); | ||
var paginationProps = $tableProps.paginationProps, | ||
tableProps = _objectWithoutProperties($tableProps, ["paginationProps"]); | ||
return _objectSpread(_objectSpread({}, props), {}, { | ||
tableProps: $tableProps, | ||
return _objectSpread(_objectSpread({ | ||
actions: actions | ||
}, props), {}, { | ||
tableProps: tableProps, | ||
paginationProps: paginationProps, | ||
query: query, | ||
getParams: getParams, | ||
actions: actions | ||
getParams: getParams | ||
}); | ||
@@ -200,0 +201,0 @@ }; |
{ | ||
"name": "@ahooksjs/use-table", | ||
"version": "0.1.0", | ||
"version": "0.1.1-alpha.0", | ||
"scripts": { | ||
@@ -10,3 +10,3 @@ "build:tsc": "tsc --project tsconfig.build.json --declarationDir ./lib && tsc --project tsconfig.build.json --declarationDir ./es" | ||
"dependencies": { | ||
"@ahooksjs/use-query-display": "^0.1.0" | ||
"@ahooksjs/use-query-display": "^0.1.1-alpha.0" | ||
}, | ||
@@ -20,3 +20,3 @@ "peerDependencies": { | ||
], | ||
"gitHead": "5237903ec622c2f49a750cc5aa36189335fe2dc9" | ||
"gitHead": "1611888bcbe23004c13479a12fa684a7d213603b" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83090
1795