@tanstack/react-table
Advanced tools
Comparing version 8.0.0-alpha.9 to 8.0.0-alpha.11
@@ -33,81 +33,3 @@ /** | ||
function _objectWithoutPropertiesLoose(source, excluded) { | ||
if (source == null) return {}; | ||
var target = {}; | ||
var sourceKeys = Object.keys(source); | ||
var key, i; | ||
for (i = 0; i < sourceKeys.length; i++) { | ||
key = sourceKeys[i]; | ||
if (excluded.indexOf(key) >= 0) continue; | ||
target[key] = source[key]; | ||
} | ||
return target; | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) return; | ||
if (typeof o === "string") return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) n = o.constructor.name; | ||
if (n === "Map" || n === "Set") return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) o = it; | ||
var i = 0; | ||
return function () { | ||
if (i >= o.length) return { | ||
done: true | ||
}; | ||
return { | ||
done: false, | ||
value: o[i++] | ||
}; | ||
}; | ||
} | ||
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
function _toPrimitive(input, hint) { | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return (hint === "string" ? String : Number)(input); | ||
} | ||
function _toPropertyKey(arg) { | ||
var key = _toPrimitive(arg, "string"); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
exports.arrayLikeToArray = _arrayLikeToArray; | ||
exports.createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose; | ||
exports["extends"] = _extends; | ||
exports.objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose; | ||
exports.toPrimitive = _toPrimitive; | ||
exports.toPropertyKey = _toPropertyKey; | ||
exports.unsupportedIterableToArray = _unsupportedIterableToArray; | ||
//# sourceMappingURL=_rollupPluginBabelHelpers.js.map |
@@ -15,31 +15,72 @@ /** | ||
var types = require('./types.js'); | ||
var utils = require('./utils.js'); | ||
var columnFilterRowsFn = require('./utils/columnFilterRowsFn.js'); | ||
var globalFilterRowsFn = require('./utils/globalFilterRowsFn.js'); | ||
var sortRowsFn = require('./utils/sortRowsFn.js'); | ||
var groupRowsFn = require('./utils/groupRowsFn.js'); | ||
var expandRowsFn = require('./utils/expandRowsFn.js'); | ||
var paginateRowsFn = require('./utils/paginateRowsFn.js'); | ||
var createTable = require('./createTable.js'); | ||
var _rollupPluginBabelHelpers = require('./_virtual/_rollupPluginBabelHelpers.js'); | ||
var React = require('react'); | ||
var tableCore = require('@tanstack/table-core'); | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { return e[k]; } | ||
}); | ||
} | ||
}); | ||
} | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
} | ||
var React__namespace = /*#__PURE__*/_interopNamespace(React); | ||
exports.Please_use_the_create_table_column_utilities_to_define_columns = types.Please_use_the_create_table_column_utilities_to_define_columns; | ||
exports.flattenBy = utils.flattenBy; | ||
exports.flexRender = utils.flexRender; | ||
exports.functionalUpdate = utils.functionalUpdate; | ||
exports.isFunction = utils.isFunction; | ||
exports.makeStateUpdater = utils.makeStateUpdater; | ||
exports.memo = utils.memo; | ||
exports.noop = utils.noop; | ||
exports.propGetter = utils.propGetter; | ||
exports.columnFilterRowsFn = columnFilterRowsFn.columnFilterRowsFn; | ||
exports.globalFilterRowsFn = globalFilterRowsFn.globalFilterRowsFn; | ||
exports.sortRowsFn = sortRowsFn.sortRowsFn; | ||
exports.groupRowsFn = groupRowsFn.groupRowsFn; | ||
exports.expandRowsFn = expandRowsFn.expandRowsFn; | ||
exports.paginateRowsFn = paginateRowsFn.paginateRowsFn; | ||
exports.createTable = createTable.createTable; | ||
exports.createTableFactory = createTable.createTableFactory; | ||
function useTable(table, options) { | ||
var _table$__options; | ||
// Compose in the generic options to the user options | ||
var resolvedOptions = _rollupPluginBabelHelpers["extends"]({}, (_table$__options = table.__options) != null ? _table$__options : {}, { | ||
state: {}, | ||
// Dummy state | ||
onStateChange: function onStateChange() {} | ||
}, options); // Create a new table instance and store it in state | ||
var _React$useState = React__namespace.useState(function () { | ||
return tableCore.createTableInstance(resolvedOptions); | ||
}), | ||
instance = _React$useState[0]; // By default, manage table state here using the instance's initial state | ||
var _React$useState2 = React__namespace.useState(function () { | ||
return instance.initialState; | ||
}), | ||
state = _React$useState2[0], | ||
setState = _React$useState2[1]; // Compose the default state above with any user state. This will allow the user | ||
// to only control a subset of the state if desired. | ||
instance.setOptions(function (prev) { | ||
return _rollupPluginBabelHelpers["extends"]({}, prev, options, { | ||
state: _rollupPluginBabelHelpers["extends"]({}, state, options.state), | ||
// Similarly, we'll maintain both our internal state and any user-provided | ||
// state. | ||
onStateChange: function onStateChange(updater) { | ||
setState(updater); | ||
options.onStateChange == null ? void 0 : options.onStateChange(updater); | ||
} | ||
}); | ||
}); | ||
return instance; | ||
} | ||
exports.useTable = useTable; | ||
Object.keys(tableCore).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return tableCore[k]; } | ||
}); | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -10,119 +10,8 @@ { | ||
{ | ||
"name": "packages/react-table/src", | ||
"children": [ | ||
{ | ||
"uid": "929b-54", | ||
"name": "types.ts" | ||
}, | ||
{ | ||
"uid": "929b-58", | ||
"name": "utils.tsx" | ||
}, | ||
{ | ||
"name": "utils", | ||
"children": [ | ||
{ | ||
"uid": "929b-60", | ||
"name": "columnFilterRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "929b-62", | ||
"name": "globalFilterRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "929b-64", | ||
"name": "sortRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "929b-66", | ||
"name": "groupRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "929b-68", | ||
"name": "expandRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "929b-70", | ||
"name": "paginateRowsFn.ts" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "features", | ||
"children": [ | ||
{ | ||
"uid": "929b-72", | ||
"name": "Visibility.ts" | ||
}, | ||
{ | ||
"uid": "929b-76", | ||
"name": "Grouping.ts" | ||
}, | ||
{ | ||
"uid": "929b-78", | ||
"name": "Ordering.ts" | ||
}, | ||
{ | ||
"uid": "929b-80", | ||
"name": "Pinning.ts" | ||
}, | ||
{ | ||
"uid": "929b-82", | ||
"name": "ColumnSizing.ts" | ||
}, | ||
{ | ||
"uid": "929b-84", | ||
"name": "Headers.ts" | ||
}, | ||
{ | ||
"uid": "929b-88", | ||
"name": "Filters.ts" | ||
}, | ||
{ | ||
"uid": "929b-92", | ||
"name": "Sorting.ts" | ||
}, | ||
{ | ||
"uid": "929b-94", | ||
"name": "Expanding.ts" | ||
}, | ||
{ | ||
"uid": "929b-96", | ||
"name": "Pagination.ts" | ||
}, | ||
{ | ||
"uid": "929b-98", | ||
"name": "RowSelection.ts" | ||
} | ||
] | ||
}, | ||
{ | ||
"uid": "929b-74", | ||
"name": "aggregationTypes.ts" | ||
}, | ||
{ | ||
"uid": "929b-86", | ||
"name": "filterTypes.ts" | ||
}, | ||
{ | ||
"uid": "929b-90", | ||
"name": "sortTypes.ts" | ||
}, | ||
{ | ||
"uid": "929b-100", | ||
"name": "core.tsx" | ||
}, | ||
{ | ||
"uid": "929b-102", | ||
"name": "createTable.tsx" | ||
}, | ||
{ | ||
"uid": "929b-104", | ||
"name": "index.tsx" | ||
} | ||
] | ||
"uid": "ff18-113", | ||
"name": "\u0000rollupPluginBabelHelpers.js" | ||
}, | ||
{ | ||
"uid": "929b-56", | ||
"name": "\u0000rollupPluginBabelHelpers.js" | ||
"name": "packages/react-table/src/index.tsx", | ||
"uid": "ff18-115" | ||
} | ||
@@ -135,179 +24,20 @@ ] | ||
"nodeParts": { | ||
"929b-54": { | ||
"renderedLength": 166, | ||
"gzipLength": 144, | ||
"ff18-113": { | ||
"renderedLength": 410, | ||
"gzipLength": 231, | ||
"brotliLength": 0, | ||
"mainUid": "929b-53" | ||
"mainUid": "ff18-112" | ||
}, | ||
"929b-56": { | ||
"renderedLength": 2695, | ||
"gzipLength": 1065, | ||
"ff18-115": { | ||
"renderedLength": 1429, | ||
"gzipLength": 565, | ||
"brotliLength": 0, | ||
"mainUid": "929b-55" | ||
}, | ||
"929b-58": { | ||
"renderedLength": 4669, | ||
"gzipLength": 1600, | ||
"brotliLength": 0, | ||
"mainUid": "929b-57" | ||
}, | ||
"929b-60": { | ||
"renderedLength": 3174, | ||
"gzipLength": 863, | ||
"brotliLength": 0, | ||
"mainUid": "929b-59" | ||
}, | ||
"929b-62": { | ||
"renderedLength": 2540, | ||
"gzipLength": 721, | ||
"brotliLength": 0, | ||
"mainUid": "929b-61" | ||
}, | ||
"929b-64": { | ||
"renderedLength": 2436, | ||
"gzipLength": 818, | ||
"brotliLength": 0, | ||
"mainUid": "929b-63" | ||
}, | ||
"929b-66": { | ||
"renderedLength": 4814, | ||
"gzipLength": 1358, | ||
"brotliLength": 0, | ||
"mainUid": "929b-65" | ||
}, | ||
"929b-68": { | ||
"renderedLength": 595, | ||
"gzipLength": 266, | ||
"brotliLength": 0, | ||
"mainUid": "929b-67" | ||
}, | ||
"929b-70": { | ||
"renderedLength": 720, | ||
"gzipLength": 281, | ||
"brotliLength": 0, | ||
"mainUid": "929b-69" | ||
}, | ||
"929b-72": { | ||
"renderedLength": 5994, | ||
"gzipLength": 1197, | ||
"brotliLength": 0, | ||
"mainUid": "929b-71" | ||
}, | ||
"929b-74": { | ||
"renderedLength": 2520, | ||
"gzipLength": 755, | ||
"brotliLength": 0, | ||
"mainUid": "929b-73" | ||
}, | ||
"929b-76": { | ||
"renderedLength": 7432, | ||
"gzipLength": 1682, | ||
"brotliLength": 0, | ||
"mainUid": "929b-75" | ||
}, | ||
"929b-78": { | ||
"renderedLength": 2455, | ||
"gzipLength": 776, | ||
"brotliLength": 0, | ||
"mainUid": "929b-77" | ||
}, | ||
"929b-80": { | ||
"renderedLength": 5170, | ||
"gzipLength": 1012, | ||
"brotliLength": 0, | ||
"mainUid": "929b-79" | ||
}, | ||
"929b-82": { | ||
"renderedLength": 10300, | ||
"gzipLength": 2129, | ||
"brotliLength": 0, | ||
"mainUid": "929b-81" | ||
}, | ||
"929b-84": { | ||
"renderedLength": 22694, | ||
"gzipLength": 3326, | ||
"brotliLength": 0, | ||
"mainUid": "929b-83" | ||
}, | ||
"929b-86": { | ||
"renderedLength": 4437, | ||
"gzipLength": 786, | ||
"brotliLength": 0, | ||
"mainUid": "929b-85" | ||
}, | ||
"929b-88": { | ||
"renderedLength": 15764, | ||
"gzipLength": 2857, | ||
"brotliLength": 0, | ||
"mainUid": "929b-87" | ||
}, | ||
"929b-90": { | ||
"renderedLength": 2752, | ||
"gzipLength": 846, | ||
"brotliLength": 0, | ||
"mainUid": "929b-89" | ||
}, | ||
"929b-92": { | ||
"renderedLength": 11106, | ||
"gzipLength": 2521, | ||
"brotliLength": 0, | ||
"mainUid": "929b-91" | ||
}, | ||
"929b-94": { | ||
"renderedLength": 7454, | ||
"gzipLength": 1685, | ||
"brotliLength": 0, | ||
"mainUid": "929b-93" | ||
}, | ||
"929b-96": { | ||
"renderedLength": 6009, | ||
"gzipLength": 1261, | ||
"brotliLength": 0, | ||
"mainUid": "929b-95" | ||
}, | ||
"929b-98": { | ||
"renderedLength": 17331, | ||
"gzipLength": 3086, | ||
"brotliLength": 0, | ||
"mainUid": "929b-97" | ||
}, | ||
"929b-100": { | ||
"renderedLength": 17695, | ||
"gzipLength": 3452, | ||
"brotliLength": 0, | ||
"mainUid": "929b-99" | ||
}, | ||
"929b-102": { | ||
"renderedLength": 2579, | ||
"gzipLength": 806, | ||
"brotliLength": 0, | ||
"mainUid": "929b-101" | ||
}, | ||
"929b-104": { | ||
"renderedLength": 0, | ||
"gzipLength": 0, | ||
"brotliLength": 0, | ||
"mainUid": "929b-103" | ||
"mainUid": "ff18-114" | ||
} | ||
}, | ||
"nodeMetas": { | ||
"929b-53": { | ||
"id": "/packages/react-table/src/types.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-54" | ||
}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
}, | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-55": { | ||
"ff18-112": { | ||
"id": "\u0000rollupPluginBabelHelpers.js", | ||
"moduleParts": { | ||
"index.production.js": "929b-56" | ||
"index.production.js": "ff18-113" | ||
}, | ||
@@ -317,545 +47,38 @@ "imported": [], | ||
{ | ||
"uid": "929b-57" | ||
}, | ||
{ | ||
"uid": "929b-101" | ||
}, | ||
{ | ||
"uid": "929b-99" | ||
}, | ||
{ | ||
"uid": "929b-71" | ||
}, | ||
{ | ||
"uid": "929b-91" | ||
}, | ||
{ | ||
"uid": "929b-93" | ||
}, | ||
{ | ||
"uid": "929b-81" | ||
}, | ||
{ | ||
"uid": "929b-95" | ||
}, | ||
{ | ||
"uid": "929b-97" | ||
}, | ||
{ | ||
"uid": "929b-73" | ||
"uid": "ff18-114" | ||
} | ||
] | ||
}, | ||
"929b-57": { | ||
"id": "/packages/react-table/src/utils.tsx", | ||
"ff18-114": { | ||
"id": "/packages/react-table/src/index.tsx", | ||
"moduleParts": { | ||
"index.production.js": "929b-58" | ||
"index.production.js": "ff18-115" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
"uid": "ff18-112" | ||
}, | ||
{ | ||
"uid": "929b-105" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
"uid": "ff18-116" | ||
}, | ||
{ | ||
"uid": "929b-65" | ||
}, | ||
{ | ||
"uid": "929b-99" | ||
}, | ||
{ | ||
"uid": "929b-71" | ||
}, | ||
{ | ||
"uid": "929b-77" | ||
}, | ||
{ | ||
"uid": "929b-79" | ||
}, | ||
{ | ||
"uid": "929b-83" | ||
}, | ||
{ | ||
"uid": "929b-87" | ||
}, | ||
{ | ||
"uid": "929b-91" | ||
}, | ||
{ | ||
"uid": "929b-75" | ||
}, | ||
{ | ||
"uid": "929b-93" | ||
}, | ||
{ | ||
"uid": "929b-81" | ||
}, | ||
{ | ||
"uid": "929b-95" | ||
}, | ||
{ | ||
"uid": "929b-97" | ||
"uid": "ff18-117" | ||
} | ||
] | ||
}, | ||
"929b-59": { | ||
"id": "/packages/react-table/src/utils/columnFilterRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-60" | ||
}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
} | ||
] | ||
}, | ||
"929b-61": { | ||
"id": "/packages/react-table/src/utils/globalFilterRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-62" | ||
}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
} | ||
] | ||
}, | ||
"929b-63": { | ||
"id": "/packages/react-table/src/utils/sortRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-64" | ||
}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
} | ||
] | ||
}, | ||
"929b-65": { | ||
"id": "/packages/react-table/src/utils/groupRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-66" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
} | ||
] | ||
"importedBy": [], | ||
"isEntry": true | ||
}, | ||
"929b-67": { | ||
"id": "/packages/react-table/src/utils/expandRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-68" | ||
}, | ||
"ff18-116": { | ||
"id": "react", | ||
"moduleParts": {}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
}, | ||
{ | ||
"uid": "929b-69" | ||
"uid": "ff18-114" | ||
} | ||
] | ||
}, | ||
"929b-69": { | ||
"id": "/packages/react-table/src/utils/paginateRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-70" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-67" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
} | ||
] | ||
"isExternal": true | ||
}, | ||
"929b-71": { | ||
"id": "/packages/react-table/src/features/Visibility.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-72" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-73": { | ||
"id": "/packages/react-table/src/aggregationTypes.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-74" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-75" | ||
} | ||
] | ||
}, | ||
"929b-75": { | ||
"id": "/packages/react-table/src/features/Grouping.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-76" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-73" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
}, | ||
{ | ||
"uid": "929b-77" | ||
} | ||
] | ||
}, | ||
"929b-77": { | ||
"id": "/packages/react-table/src/features/Ordering.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-78" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-57" | ||
}, | ||
{ | ||
"uid": "929b-75" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-79": { | ||
"id": "/packages/react-table/src/features/Pinning.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-80" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-81": { | ||
"id": "/packages/react-table/src/features/ColumnSizing.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-82" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
}, | ||
{ | ||
"uid": "929b-83" | ||
} | ||
] | ||
}, | ||
"929b-83": { | ||
"id": "/packages/react-table/src/features/Headers.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-84" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-57" | ||
}, | ||
{ | ||
"uid": "929b-81" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-85": { | ||
"id": "/packages/react-table/src/filterTypes.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-86" | ||
}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-87" | ||
} | ||
] | ||
}, | ||
"929b-87": { | ||
"id": "/packages/react-table/src/features/Filters.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-88" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-85" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-89": { | ||
"id": "/packages/react-table/src/sortTypes.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-90" | ||
}, | ||
"imported": [], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-91" | ||
} | ||
] | ||
}, | ||
"929b-91": { | ||
"id": "/packages/react-table/src/features/Sorting.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-92" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-89" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-93": { | ||
"id": "/packages/react-table/src/features/Expanding.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-94" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-95": { | ||
"id": "/packages/react-table/src/features/Pagination.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-96" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-97": { | ||
"id": "/packages/react-table/src/features/RowSelection.ts", | ||
"moduleParts": { | ||
"index.production.js": "929b-98" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-99" | ||
} | ||
] | ||
}, | ||
"929b-99": { | ||
"id": "/packages/react-table/src/core.tsx", | ||
"moduleParts": { | ||
"index.production.js": "929b-100" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
}, | ||
{ | ||
"uid": "929b-53" | ||
}, | ||
{ | ||
"uid": "929b-71" | ||
}, | ||
{ | ||
"uid": "929b-77" | ||
}, | ||
{ | ||
"uid": "929b-79" | ||
}, | ||
{ | ||
"uid": "929b-83" | ||
}, | ||
{ | ||
"uid": "929b-87" | ||
}, | ||
{ | ||
"uid": "929b-91" | ||
}, | ||
{ | ||
"uid": "929b-75" | ||
}, | ||
{ | ||
"uid": "929b-93" | ||
}, | ||
{ | ||
"uid": "929b-81" | ||
}, | ||
{ | ||
"uid": "929b-95" | ||
}, | ||
{ | ||
"uid": "929b-97" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-101" | ||
} | ||
] | ||
}, | ||
"929b-101": { | ||
"id": "/packages/react-table/src/createTable.tsx", | ||
"moduleParts": { | ||
"index.production.js": "929b-102" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-55" | ||
}, | ||
{ | ||
"uid": "929b-105" | ||
}, | ||
{ | ||
"uid": "929b-99" | ||
} | ||
], | ||
"importedBy": [ | ||
{ | ||
"uid": "929b-103" | ||
} | ||
] | ||
}, | ||
"929b-103": { | ||
"id": "/packages/react-table/src/index.tsx", | ||
"moduleParts": { | ||
"index.production.js": "929b-104" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "929b-53" | ||
}, | ||
{ | ||
"uid": "929b-57" | ||
}, | ||
{ | ||
"uid": "929b-59" | ||
}, | ||
{ | ||
"uid": "929b-61" | ||
}, | ||
{ | ||
"uid": "929b-63" | ||
}, | ||
{ | ||
"uid": "929b-65" | ||
}, | ||
{ | ||
"uid": "929b-67" | ||
}, | ||
{ | ||
"uid": "929b-69" | ||
}, | ||
{ | ||
"uid": "929b-101" | ||
} | ||
], | ||
"importedBy": [], | ||
"isEntry": true | ||
}, | ||
"929b-105": { | ||
"id": "react", | ||
"ff18-117": { | ||
"id": "@tanstack/table-core", | ||
"moduleParts": {}, | ||
@@ -865,6 +88,3 @@ "imported": [], | ||
{ | ||
"uid": "929b-57" | ||
}, | ||
{ | ||
"uid": "929b-101" | ||
"uid": "ff18-114" | ||
} | ||
@@ -871,0 +91,0 @@ ], |
@@ -1,9 +0,3 @@ | ||
export * from './types'; | ||
export * from './utils'; | ||
export * from './utils/columnFilterRowsFn'; | ||
export * from './utils/globalFilterRowsFn'; | ||
export * from './utils/sortRowsFn'; | ||
export * from './utils/groupRowsFn'; | ||
export * from './utils/expandRowsFn'; | ||
export * from './utils/paginateRowsFn'; | ||
export * from './createTable'; | ||
export * from '@tanstack/table-core'; | ||
import { PartialKeys, Options, TableInstance, PartialGenerics, CreateTableFactoryOptions, TableFactory } from '@tanstack/table-core'; | ||
export declare function useTable<TGenerics extends PartialGenerics>(table: TableFactory<TGenerics>, options: PartialKeys<Omit<Options<TGenerics>, keyof CreateTableFactoryOptions<any, any, any>>, 'state' | 'onStateChange'>): TableInstance<TGenerics>; |
{ | ||
"name": "@tanstack/react-table", | ||
"author": "Tanner Linsley", | ||
"version": "8.0.0-alpha.9", | ||
"version": "8.0.0-alpha.11", | ||
"description": "Hooks for building lightweight, fast and extendable datagrids for React", | ||
@@ -36,2 +36,5 @@ "license": "MIT", | ||
], | ||
"dependencies": { | ||
"@tanstack/table-core": "^8.0.0-alpha.9" | ||
}, | ||
"peerDependencies": { | ||
@@ -38,0 +41,0 @@ "react": ">=16", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
122124
3
15
416
1
+ Added@tanstack/table-core@8.20.5(transitive)