@tanstack/table-core 8.5.11 → 8.5.12
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/build/cjs/core/cell.js +6 -1
- package/build/cjs/core/cell.js.map +1 -1
- package/build/esm/index.js +4 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +17 -17
- package/build/stats-react.json +319 -312
- package/build/umd/index.development.js +4 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/core/cell.ts +16 -9
package/build/stats-html.html
CHANGED
|
@@ -660,11 +660,11 @@ var drawChart = (function (exports) {
|
|
|
660
660
|
return availableSizeProperties;
|
|
661
661
|
};
|
|
662
662
|
|
|
663
|
-
var t,u,
|
|
663
|
+
var t,r,u,i,o=0,c=[],f=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:f}),i.__[t]}function p(n){return o=1,y(z,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):z(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var c=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!!i&&(!c||c.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&w(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function s(u,i){var o=d(t++,4);!l$1.__s&&w(o.__H,i)&&(o.__=u,o.i=i,r.__h.push(o));}function _(n){return o=5,F(function(){return {current:n}},[])}function F(n,r){var u=d(t++,7);return w(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function q(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function b(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(j),t.__H.__h.forEach(k),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=f,n.__N=n.i=void 0;})):(i.__h.forEach(j),i.__h.forEach(k),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==c.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||function(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));})(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==f&&(n.__=n.__V),n.i=void 0,n.__V=f;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return !n.__||k(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{j(n);}catch(n){r=n;}}),r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function k(n){var t=r;n.__c=n.__(),r=t;}function w(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function z(n,t){return "function"==typeof t?t(n):t}
|
|
664
664
|
|
|
665
665
|
const SideBar = ({ availableSizeProperties, sizeProperty, setSizeProperty, onExcludeChange, onIncludeChange, }) => {
|
|
666
|
-
const [includeValue, setIncludeValue] =
|
|
667
|
-
const [excludeValue, setExcludeValue] =
|
|
666
|
+
const [includeValue, setIncludeValue] = p("");
|
|
667
|
+
const [excludeValue, setExcludeValue] = p("");
|
|
668
668
|
const handleSizePropertyChange = (sizeProp) => () => {
|
|
669
669
|
if (sizeProp !== sizeProperty) {
|
|
670
670
|
setSizeProperty(sizeProp);
|
|
@@ -700,8 +700,8 @@ var drawChart = (function (exports) {
|
|
|
700
700
|
};
|
|
701
701
|
};
|
|
702
702
|
const useFilter = () => {
|
|
703
|
-
const [includeFilter, setIncludeFilter] =
|
|
704
|
-
const [excludeFilter, setExcludeFilter] =
|
|
703
|
+
const [includeFilter, setIncludeFilter] = p("");
|
|
704
|
+
const [excludeFilter, setExcludeFilter] = p("");
|
|
705
705
|
const setIncludeFilterTrottled = F(() => throttleFilter(setIncludeFilter, 200), []);
|
|
706
706
|
const setExcludeFilterTrottled = F(() => throttleFilter(setExcludeFilter, 200), []);
|
|
707
707
|
const isModuleIncluded = F(() => {
|
|
@@ -954,8 +954,8 @@ var drawChart = (function (exports) {
|
|
|
954
954
|
const { getModuleColor } = q(StaticContext);
|
|
955
955
|
const { backgroundColor, fontColor } = getModuleColor(node);
|
|
956
956
|
const { x0, x1, y1, y0, data, children = null } = node;
|
|
957
|
-
const textRef =
|
|
958
|
-
const textRectRef =
|
|
957
|
+
const textRef = _(null);
|
|
958
|
+
const textRectRef = _();
|
|
959
959
|
const width = x1 - x0;
|
|
960
960
|
const height = y1 - y0;
|
|
961
961
|
const textProps = {
|
|
@@ -970,7 +970,7 @@ var drawChart = (function (exports) {
|
|
|
970
970
|
else {
|
|
971
971
|
textProps.y = height / 2;
|
|
972
972
|
}
|
|
973
|
-
|
|
973
|
+
s(() => {
|
|
974
974
|
if (width == 0 || height == 0 || !textRef.current) {
|
|
975
975
|
return;
|
|
976
976
|
}
|
|
@@ -1208,8 +1208,8 @@ var drawChart = (function (exports) {
|
|
|
1208
1208
|
const COMPRESSED = (e$1("span", { children: [e$1("b", { children: LABELS.gzipLength }), " and ", e$1("b", { children: LABELS.brotliLength }), " is a byte size of individual file after individual", " ", "transformations,", e$1("br", {}), " treeshake and compression."] }));
|
|
1209
1209
|
const Tooltip = ({ node, visible, root, sizeProperty }) => {
|
|
1210
1210
|
const { availableSizeProperties, getModuleSize, data } = q(StaticContext);
|
|
1211
|
-
const ref =
|
|
1212
|
-
const [style, setStyle] =
|
|
1211
|
+
const ref = _(null);
|
|
1212
|
+
const [style, setStyle] = p({});
|
|
1213
1213
|
const content = F(() => {
|
|
1214
1214
|
if (!node)
|
|
1215
1215
|
return null;
|
|
@@ -1257,7 +1257,7 @@ var drawChart = (function (exports) {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
setStyle(pos);
|
|
1259
1259
|
};
|
|
1260
|
-
|
|
1260
|
+
h(() => {
|
|
1261
1261
|
const handleMouseMove = (event) => {
|
|
1262
1262
|
updatePosition({
|
|
1263
1263
|
x: event.pageX,
|
|
@@ -1273,9 +1273,9 @@ var drawChart = (function (exports) {
|
|
|
1273
1273
|
};
|
|
1274
1274
|
|
|
1275
1275
|
const Chart = ({ root, sizeProperty, selectedNode, setSelectedNode }) => {
|
|
1276
|
-
const [showTooltip, setShowTooltip] =
|
|
1277
|
-
const [tooltipNode, setTooltipNode] =
|
|
1278
|
-
|
|
1276
|
+
const [showTooltip, setShowTooltip] = p(false);
|
|
1277
|
+
const [tooltipNode, setTooltipNode] = p(undefined);
|
|
1278
|
+
h(() => {
|
|
1279
1279
|
const handleMouseOut = () => {
|
|
1280
1280
|
setShowTooltip(false);
|
|
1281
1281
|
};
|
|
@@ -1294,8 +1294,8 @@ var drawChart = (function (exports) {
|
|
|
1294
1294
|
|
|
1295
1295
|
const Main = () => {
|
|
1296
1296
|
const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = q(StaticContext);
|
|
1297
|
-
const [sizeProperty, setSizeProperty] =
|
|
1298
|
-
const [selectedNode, setSelectedNode] =
|
|
1297
|
+
const [sizeProperty, setSizeProperty] = p(availableSizeProperties[0]);
|
|
1298
|
+
const [selectedNode, setSelectedNode] = p(undefined);
|
|
1299
1299
|
const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter();
|
|
1300
1300
|
console.time("getNodeSizeMultiplier");
|
|
1301
1301
|
const getNodeSizeMultiplier = F(() => {
|
|
@@ -4014,7 +4014,7 @@ var drawChart = (function (exports) {
|
|
|
4014
4014
|
</script>
|
|
4015
4015
|
<script>
|
|
4016
4016
|
/*<!--*/
|
|
4017
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages/table-core/src","children":[{"uid":"5d5c-1","name":"utils.ts"},{"name":"core","children":[{"uid":"5d5c-3","name":"column.ts"},{"uid":"5d5c-5","name":"headers.ts"},{"uid":"5d5c-33","name":"table.ts"},{"uid":"5d5c-35","name":"cell.ts"},{"uid":"5d5c-37","name":"row.ts"}]},{"name":"features","children":[{"uid":"5d5c-7","name":"ColumnSizing.ts"},{"uid":"5d5c-9","name":"Expanding.ts"},{"uid":"5d5c-13","name":"Filters.ts"},{"uid":"5d5c-17","name":"Grouping.ts"},{"uid":"5d5c-19","name":"Ordering.ts"},{"uid":"5d5c-21","name":"Pagination.ts"},{"uid":"5d5c-23","name":"Pinning.ts"},{"uid":"5d5c-25","name":"RowSelection.ts"},{"uid":"5d5c-29","name":"Sorting.ts"},{"uid":"5d5c-31","name":"Visibility.ts"}]},{"uid":"5d5c-11","name":"filterFns.ts"},{"uid":"5d5c-15","name":"aggregationFns.ts"},{"uid":"5d5c-27","name":"sortingFns.ts"},{"uid":"5d5c-39","name":"columnHelper.ts"},{"name":"utils","children":[{"uid":"5d5c-41","name":"getCoreRowModel.ts"},{"uid":"5d5c-43","name":"filterRowsUtils.ts"},{"uid":"5d5c-45","name":"getFilteredRowModel.ts"},{"uid":"5d5c-47","name":"getFacetedRowModel.ts"},{"uid":"5d5c-49","name":"getFacetedUniqueValues.ts"},{"uid":"5d5c-51","name":"getFacetedMinMaxValues.ts"},{"uid":"5d5c-53","name":"getSortedRowModel.ts"},{"uid":"5d5c-55","name":"getGroupedRowModel.ts"},{"uid":"5d5c-57","name":"getExpandedRowModel.ts"},{"uid":"5d5c-59","name":"getPaginationRowModel.ts"}]},{"uid":"5d5c-61","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"5d5c-1":{"renderedLength":2290,"gzipLength":843,"brotliLength":0,"mainUid":"5d5c-0"},"5d5c-3":{"renderedLength":2682,"gzipLength":862,"brotliLength":0,"mainUid":"5d5c-2"},"5d5c-5":{"renderedLength":15536,"gzipLength":2605,"brotliLength":0,"mainUid":"5d5c-4"},"5d5c-7":{"renderedLength":9960,"gzipLength":2215,"brotliLength":0,"mainUid":"5d5c-6"},"5d5c-9":{"renderedLength":5642,"gzipLength":1336,"brotliLength":0,"mainUid":"5d5c-8"},"5d5c-11":{"renderedLength":3252,"gzipLength":764,"brotliLength":0,"mainUid":"5d5c-10"},"5d5c-13":{"renderedLength":10398,"gzipLength":1905,"brotliLength":0,"mainUid":"5d5c-12"},"5d5c-15":{"renderedLength":2447,"gzipLength":657,"brotliLength":0,"mainUid":"5d5c-14"},"5d5c-17":{"renderedLength":5132,"gzipLength":1332,"brotliLength":0,"mainUid":"5d5c-16"},"5d5c-19":{"renderedLength":2192,"gzipLength":764,"brotliLength":0,"mainUid":"5d5c-18"},"5d5c-21":{"renderedLength":6084,"gzipLength":1367,"brotliLength":0,"mainUid":"5d5c-20"},"5d5c-23":{"renderedLength":8126,"gzipLength":1439,"brotliLength":0,"mainUid":"5d5c-22"},"5d5c-25":{"renderedLength":13260,"gzipLength":2555,"brotliLength":0,"mainUid":"5d5c-24"},"5d5c-27":{"renderedLength":2914,"gzipLength":936,"brotliLength":0,"mainUid":"5d5c-26"},"5d5c-29":{"renderedLength":9101,"gzipLength":2166,"brotliLength":0,"mainUid":"5d5c-28"},"5d5c-31":{"renderedLength":4847,"gzipLength":1096,"brotliLength":0,"mainUid":"5d5c-30"},"5d5c-33":{"renderedLength":7454,"gzipLength":1791,"brotliLength":0,"mainUid":"5d5c-32"},"5d5c-35":{"renderedLength":759,"gzipLength":343,"brotliLength":0,"mainUid":"5d5c-34"},"5d5c-37":{"renderedLength":2041,"gzipLength":682,"brotliLength":0,"mainUid":"5d5c-36"},"5d5c-39":{"renderedLength":1168,"gzipLength":409,"brotliLength":0,"mainUid":"5d5c-38"},"5d5c-41":{"renderedLength":1910,"gzipLength":750,"brotliLength":0,"mainUid":"5d5c-40"},"5d5c-43":{"renderedLength":2418,"gzipLength":599,"brotliLength":0,"mainUid":"5d5c-42"},"5d5c-45":{"renderedLength":4071,"gzipLength":1086,"brotliLength":0,"mainUid":"5d5c-44"},"5d5c-47":{"renderedLength":1183,"gzipLength":499,"brotliLength":0,"mainUid":"5d5c-46"},"5d5c-49":{"renderedLength":1056,"gzipLength":417,"brotliLength":0,"mainUid":"5d5c-48"},"5d5c-51":{"renderedLength":1120,"gzipLength":430,"brotliLength":0,"mainUid":"5d5c-50"},"5d5c-53":{"renderedLength":3091,"gzipLength":1003,"brotliLength":0,"mainUid":"5d5c-52"},"5d5c-55":{"renderedLength":5261,"gzipLength":1470,"brotliLength":0,"mainUid":"5d5c-54"},"5d5c-57":{"renderedLength":1245,"gzipLength":491,"brotliLength":0,"mainUid":"5d5c-56"},"5d5c-59":{"renderedLength":1455,"gzipLength":492,"brotliLength":0,"mainUid":"5d5c-58"},"5d5c-61":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"5d5c-60"}},"nodeMetas":{"5d5c-0":{"id":"/packages/table-core/src/utils.ts","moduleParts":{"index.production.js":"5d5c-1"},"imported":[],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"},{"uid":"5d5c-2"},{"uid":"5d5c-4"},{"uid":"5d5c-36"},{"uid":"5d5c-6"},{"uid":"5d5c-8"},{"uid":"5d5c-12"},{"uid":"5d5c-16"},{"uid":"5d5c-18"},{"uid":"5d5c-20"},{"uid":"5d5c-22"},{"uid":"5d5c-24"},{"uid":"5d5c-28"},{"uid":"5d5c-30"},{"uid":"5d5c-40"},{"uid":"5d5c-44"},{"uid":"5d5c-46"},{"uid":"5d5c-48"},{"uid":"5d5c-50"},{"uid":"5d5c-52"},{"uid":"5d5c-54"},{"uid":"5d5c-56"},{"uid":"5d5c-58"}]},"5d5c-2":{"id":"/packages/table-core/src/core/column.ts","moduleParts":{"index.production.js":"5d5c-3"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-4":{"id":"/packages/table-core/src/core/headers.ts","moduleParts":{"index.production.js":"5d5c-5"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-6":{"id":"/packages/table-core/src/features/ColumnSizing.ts","moduleParts":{"index.production.js":"5d5c-7"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-8":{"id":"/packages/table-core/src/features/Expanding.ts","moduleParts":{"index.production.js":"5d5c-9"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-10":{"id":"/packages/table-core/src/filterFns.ts","moduleParts":{"index.production.js":"5d5c-11"},"imported":[],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-12"}]},"5d5c-12":{"id":"/packages/table-core/src/features/Filters.ts","moduleParts":{"index.production.js":"5d5c-13"},"imported":[{"uid":"5d5c-10"},{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-14":{"id":"/packages/table-core/src/aggregationFns.ts","moduleParts":{"index.production.js":"5d5c-15"},"imported":[],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-16"}]},"5d5c-16":{"id":"/packages/table-core/src/features/Grouping.ts","moduleParts":{"index.production.js":"5d5c-17"},"imported":[{"uid":"5d5c-14"},{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"},{"uid":"5d5c-18"}]},"5d5c-18":{"id":"/packages/table-core/src/features/Ordering.ts","moduleParts":{"index.production.js":"5d5c-19"},"imported":[{"uid":"5d5c-0"},{"uid":"5d5c-16"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-20":{"id":"/packages/table-core/src/features/Pagination.ts","moduleParts":{"index.production.js":"5d5c-21"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-22":{"id":"/packages/table-core/src/features/Pinning.ts","moduleParts":{"index.production.js":"5d5c-23"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-24":{"id":"/packages/table-core/src/features/RowSelection.ts","moduleParts":{"index.production.js":"5d5c-25"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-26":{"id":"/packages/table-core/src/sortingFns.ts","moduleParts":{"index.production.js":"5d5c-27"},"imported":[],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-28"}]},"5d5c-28":{"id":"/packages/table-core/src/features/Sorting.ts","moduleParts":{"index.production.js":"5d5c-29"},"imported":[{"uid":"5d5c-26"},{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-30":{"id":"/packages/table-core/src/features/Visibility.ts","moduleParts":{"index.production.js":"5d5c-31"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-32"}]},"5d5c-32":{"id":"/packages/table-core/src/core/table.ts","moduleParts":{"index.production.js":"5d5c-33"},"imported":[{"uid":"5d5c-0"},{"uid":"5d5c-2"},{"uid":"5d5c-4"},{"uid":"5d5c-6"},{"uid":"5d5c-8"},{"uid":"5d5c-12"},{"uid":"5d5c-16"},{"uid":"5d5c-18"},{"uid":"5d5c-20"},{"uid":"5d5c-22"},{"uid":"5d5c-24"},{"uid":"5d5c-28"},{"uid":"5d5c-30"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-34":{"id":"/packages/table-core/src/core/cell.ts","moduleParts":{"index.production.js":"5d5c-35"},"imported":[],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-36"}]},"5d5c-36":{"id":"/packages/table-core/src/core/row.ts","moduleParts":{"index.production.js":"5d5c-37"},"imported":[{"uid":"5d5c-0"},{"uid":"5d5c-34"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-40"},{"uid":"5d5c-54"},{"uid":"5d5c-42"}]},"5d5c-38":{"id":"/packages/table-core/src/columnHelper.ts","moduleParts":{"index.production.js":"5d5c-39"},"imported":[],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-40":{"id":"/packages/table-core/src/utils/getCoreRowModel.ts","moduleParts":{"index.production.js":"5d5c-41"},"imported":[{"uid":"5d5c-36"},{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-42":{"id":"/packages/table-core/src/utils/filterRowsUtils.ts","moduleParts":{"index.production.js":"5d5c-43"},"imported":[{"uid":"5d5c-36"}],"importedBy":[{"uid":"5d5c-44"},{"uid":"5d5c-46"}]},"5d5c-44":{"id":"/packages/table-core/src/utils/getFilteredRowModel.ts","moduleParts":{"index.production.js":"5d5c-45"},"imported":[{"uid":"5d5c-0"},{"uid":"5d5c-42"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-46":{"id":"/packages/table-core/src/utils/getFacetedRowModel.ts","moduleParts":{"index.production.js":"5d5c-47"},"imported":[{"uid":"5d5c-0"},{"uid":"5d5c-42"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-48":{"id":"/packages/table-core/src/utils/getFacetedUniqueValues.ts","moduleParts":{"index.production.js":"5d5c-49"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-50":{"id":"/packages/table-core/src/utils/getFacetedMinMaxValues.ts","moduleParts":{"index.production.js":"5d5c-51"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-52":{"id":"/packages/table-core/src/utils/getSortedRowModel.ts","moduleParts":{"index.production.js":"5d5c-53"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-54":{"id":"/packages/table-core/src/utils/getGroupedRowModel.ts","moduleParts":{"index.production.js":"5d5c-55"},"imported":[{"uid":"5d5c-36"},{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-56":{"id":"/packages/table-core/src/utils/getExpandedRowModel.ts","moduleParts":{"index.production.js":"5d5c-57"},"imported":[{"uid":"5d5c-0"}],"importedBy":[{"uid":"5d5c-60"},{"uid":"5d5c-58"}]},"5d5c-58":{"id":"/packages/table-core/src/utils/getPaginationRowModel.ts","moduleParts":{"index.production.js":"5d5c-59"},"imported":[{"uid":"5d5c-0"},{"uid":"5d5c-56"}],"importedBy":[{"uid":"5d5c-60"}]},"5d5c-60":{"id":"/packages/table-core/src/index.ts","moduleParts":{"index.production.js":"5d5c-61"},"imported":[{"uid":"5d5c-32"},{"uid":"5d5c-62"},{"uid":"5d5c-2"},{"uid":"5d5c-4"},{"uid":"5d5c-36"},{"uid":"5d5c-34"},{"uid":"5d5c-6"},{"uid":"5d5c-8"},{"uid":"5d5c-12"},{"uid":"5d5c-16"},{"uid":"5d5c-18"},{"uid":"5d5c-20"},{"uid":"5d5c-22"},{"uid":"5d5c-24"},{"uid":"5d5c-28"},{"uid":"5d5c-30"},{"uid":"5d5c-10"},{"uid":"5d5c-26"},{"uid":"5d5c-14"},{"uid":"5d5c-38"},{"uid":"5d5c-0"},{"uid":"5d5c-40"},{"uid":"5d5c-44"},{"uid":"5d5c-46"},{"uid":"5d5c-48"},{"uid":"5d5c-50"},{"uid":"5d5c-52"},{"uid":"5d5c-54"},{"uid":"5d5c-56"},{"uid":"5d5c-58"}],"importedBy":[],"isEntry":true},"5d5c-62":{"id":"/packages/table-core/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5d5c-60"}]}},"env":{"rollup":"2.77.2"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4017
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages/table-core/src","children":[{"uid":"361d-1","name":"utils.ts"},{"name":"core","children":[{"uid":"361d-3","name":"column.ts"},{"uid":"361d-5","name":"headers.ts"},{"uid":"361d-33","name":"table.ts"},{"uid":"361d-35","name":"cell.ts"},{"uid":"361d-37","name":"row.ts"}]},{"name":"features","children":[{"uid":"361d-7","name":"ColumnSizing.ts"},{"uid":"361d-9","name":"Expanding.ts"},{"uid":"361d-13","name":"Filters.ts"},{"uid":"361d-17","name":"Grouping.ts"},{"uid":"361d-19","name":"Ordering.ts"},{"uid":"361d-21","name":"Pagination.ts"},{"uid":"361d-23","name":"Pinning.ts"},{"uid":"361d-25","name":"RowSelection.ts"},{"uid":"361d-29","name":"Sorting.ts"},{"uid":"361d-31","name":"Visibility.ts"}]},{"uid":"361d-11","name":"filterFns.ts"},{"uid":"361d-15","name":"aggregationFns.ts"},{"uid":"361d-27","name":"sortingFns.ts"},{"uid":"361d-39","name":"columnHelper.ts"},{"name":"utils","children":[{"uid":"361d-41","name":"getCoreRowModel.ts"},{"uid":"361d-43","name":"filterRowsUtils.ts"},{"uid":"361d-45","name":"getFilteredRowModel.ts"},{"uid":"361d-47","name":"getFacetedRowModel.ts"},{"uid":"361d-49","name":"getFacetedUniqueValues.ts"},{"uid":"361d-51","name":"getFacetedMinMaxValues.ts"},{"uid":"361d-53","name":"getSortedRowModel.ts"},{"uid":"361d-55","name":"getGroupedRowModel.ts"},{"uid":"361d-57","name":"getExpandedRowModel.ts"},{"uid":"361d-59","name":"getPaginationRowModel.ts"}]},{"uid":"361d-61","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"361d-1":{"renderedLength":2290,"gzipLength":843,"brotliLength":0,"mainUid":"361d-0"},"361d-3":{"renderedLength":2682,"gzipLength":862,"brotliLength":0,"mainUid":"361d-2"},"361d-5":{"renderedLength":15536,"gzipLength":2605,"brotliLength":0,"mainUid":"361d-4"},"361d-7":{"renderedLength":9960,"gzipLength":2215,"brotliLength":0,"mainUid":"361d-6"},"361d-9":{"renderedLength":5642,"gzipLength":1336,"brotliLength":0,"mainUid":"361d-8"},"361d-11":{"renderedLength":3252,"gzipLength":764,"brotliLength":0,"mainUid":"361d-10"},"361d-13":{"renderedLength":10398,"gzipLength":1905,"brotliLength":0,"mainUid":"361d-12"},"361d-15":{"renderedLength":2447,"gzipLength":657,"brotliLength":0,"mainUid":"361d-14"},"361d-17":{"renderedLength":5132,"gzipLength":1332,"brotliLength":0,"mainUid":"361d-16"},"361d-19":{"renderedLength":2192,"gzipLength":764,"brotliLength":0,"mainUid":"361d-18"},"361d-21":{"renderedLength":6084,"gzipLength":1367,"brotliLength":0,"mainUid":"361d-20"},"361d-23":{"renderedLength":8126,"gzipLength":1439,"brotliLength":0,"mainUid":"361d-22"},"361d-25":{"renderedLength":13260,"gzipLength":2555,"brotliLength":0,"mainUid":"361d-24"},"361d-27":{"renderedLength":2914,"gzipLength":936,"brotliLength":0,"mainUid":"361d-26"},"361d-29":{"renderedLength":9101,"gzipLength":2166,"brotliLength":0,"mainUid":"361d-28"},"361d-31":{"renderedLength":4847,"gzipLength":1096,"brotliLength":0,"mainUid":"361d-30"},"361d-33":{"renderedLength":7454,"gzipLength":1791,"brotliLength":0,"mainUid":"361d-32"},"361d-35":{"renderedLength":924,"gzipLength":409,"brotliLength":0,"mainUid":"361d-34"},"361d-37":{"renderedLength":2041,"gzipLength":682,"brotliLength":0,"mainUid":"361d-36"},"361d-39":{"renderedLength":1168,"gzipLength":409,"brotliLength":0,"mainUid":"361d-38"},"361d-41":{"renderedLength":1910,"gzipLength":750,"brotliLength":0,"mainUid":"361d-40"},"361d-43":{"renderedLength":2418,"gzipLength":599,"brotliLength":0,"mainUid":"361d-42"},"361d-45":{"renderedLength":4071,"gzipLength":1086,"brotliLength":0,"mainUid":"361d-44"},"361d-47":{"renderedLength":1183,"gzipLength":499,"brotliLength":0,"mainUid":"361d-46"},"361d-49":{"renderedLength":1056,"gzipLength":417,"brotliLength":0,"mainUid":"361d-48"},"361d-51":{"renderedLength":1120,"gzipLength":430,"brotliLength":0,"mainUid":"361d-50"},"361d-53":{"renderedLength":3091,"gzipLength":1003,"brotliLength":0,"mainUid":"361d-52"},"361d-55":{"renderedLength":5261,"gzipLength":1470,"brotliLength":0,"mainUid":"361d-54"},"361d-57":{"renderedLength":1245,"gzipLength":491,"brotliLength":0,"mainUid":"361d-56"},"361d-59":{"renderedLength":1455,"gzipLength":492,"brotliLength":0,"mainUid":"361d-58"},"361d-61":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"361d-60"}},"nodeMetas":{"361d-0":{"id":"/packages/table-core/src/utils.ts","moduleParts":{"index.production.js":"361d-1"},"imported":[],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"},{"uid":"361d-2"},{"uid":"361d-4"},{"uid":"361d-36"},{"uid":"361d-34"},{"uid":"361d-6"},{"uid":"361d-8"},{"uid":"361d-12"},{"uid":"361d-16"},{"uid":"361d-18"},{"uid":"361d-20"},{"uid":"361d-22"},{"uid":"361d-24"},{"uid":"361d-28"},{"uid":"361d-30"},{"uid":"361d-40"},{"uid":"361d-44"},{"uid":"361d-46"},{"uid":"361d-48"},{"uid":"361d-50"},{"uid":"361d-52"},{"uid":"361d-54"},{"uid":"361d-56"},{"uid":"361d-58"}]},"361d-2":{"id":"/packages/table-core/src/core/column.ts","moduleParts":{"index.production.js":"361d-3"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-4":{"id":"/packages/table-core/src/core/headers.ts","moduleParts":{"index.production.js":"361d-5"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-6":{"id":"/packages/table-core/src/features/ColumnSizing.ts","moduleParts":{"index.production.js":"361d-7"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-8":{"id":"/packages/table-core/src/features/Expanding.ts","moduleParts":{"index.production.js":"361d-9"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-10":{"id":"/packages/table-core/src/filterFns.ts","moduleParts":{"index.production.js":"361d-11"},"imported":[],"importedBy":[{"uid":"361d-60"},{"uid":"361d-12"}]},"361d-12":{"id":"/packages/table-core/src/features/Filters.ts","moduleParts":{"index.production.js":"361d-13"},"imported":[{"uid":"361d-10"},{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-14":{"id":"/packages/table-core/src/aggregationFns.ts","moduleParts":{"index.production.js":"361d-15"},"imported":[],"importedBy":[{"uid":"361d-60"},{"uid":"361d-16"}]},"361d-16":{"id":"/packages/table-core/src/features/Grouping.ts","moduleParts":{"index.production.js":"361d-17"},"imported":[{"uid":"361d-14"},{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"},{"uid":"361d-18"}]},"361d-18":{"id":"/packages/table-core/src/features/Ordering.ts","moduleParts":{"index.production.js":"361d-19"},"imported":[{"uid":"361d-0"},{"uid":"361d-16"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-20":{"id":"/packages/table-core/src/features/Pagination.ts","moduleParts":{"index.production.js":"361d-21"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-22":{"id":"/packages/table-core/src/features/Pinning.ts","moduleParts":{"index.production.js":"361d-23"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-24":{"id":"/packages/table-core/src/features/RowSelection.ts","moduleParts":{"index.production.js":"361d-25"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-26":{"id":"/packages/table-core/src/sortingFns.ts","moduleParts":{"index.production.js":"361d-27"},"imported":[],"importedBy":[{"uid":"361d-60"},{"uid":"361d-28"}]},"361d-28":{"id":"/packages/table-core/src/features/Sorting.ts","moduleParts":{"index.production.js":"361d-29"},"imported":[{"uid":"361d-26"},{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-30":{"id":"/packages/table-core/src/features/Visibility.ts","moduleParts":{"index.production.js":"361d-31"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-32"}]},"361d-32":{"id":"/packages/table-core/src/core/table.ts","moduleParts":{"index.production.js":"361d-33"},"imported":[{"uid":"361d-0"},{"uid":"361d-2"},{"uid":"361d-4"},{"uid":"361d-6"},{"uid":"361d-8"},{"uid":"361d-12"},{"uid":"361d-16"},{"uid":"361d-18"},{"uid":"361d-20"},{"uid":"361d-22"},{"uid":"361d-24"},{"uid":"361d-28"},{"uid":"361d-30"}],"importedBy":[{"uid":"361d-60"}]},"361d-34":{"id":"/packages/table-core/src/core/cell.ts","moduleParts":{"index.production.js":"361d-35"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-36"}]},"361d-36":{"id":"/packages/table-core/src/core/row.ts","moduleParts":{"index.production.js":"361d-37"},"imported":[{"uid":"361d-0"},{"uid":"361d-34"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-40"},{"uid":"361d-54"},{"uid":"361d-42"}]},"361d-38":{"id":"/packages/table-core/src/columnHelper.ts","moduleParts":{"index.production.js":"361d-39"},"imported":[],"importedBy":[{"uid":"361d-60"}]},"361d-40":{"id":"/packages/table-core/src/utils/getCoreRowModel.ts","moduleParts":{"index.production.js":"361d-41"},"imported":[{"uid":"361d-36"},{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"}]},"361d-42":{"id":"/packages/table-core/src/utils/filterRowsUtils.ts","moduleParts":{"index.production.js":"361d-43"},"imported":[{"uid":"361d-36"}],"importedBy":[{"uid":"361d-44"},{"uid":"361d-46"}]},"361d-44":{"id":"/packages/table-core/src/utils/getFilteredRowModel.ts","moduleParts":{"index.production.js":"361d-45"},"imported":[{"uid":"361d-0"},{"uid":"361d-42"}],"importedBy":[{"uid":"361d-60"}]},"361d-46":{"id":"/packages/table-core/src/utils/getFacetedRowModel.ts","moduleParts":{"index.production.js":"361d-47"},"imported":[{"uid":"361d-0"},{"uid":"361d-42"}],"importedBy":[{"uid":"361d-60"}]},"361d-48":{"id":"/packages/table-core/src/utils/getFacetedUniqueValues.ts","moduleParts":{"index.production.js":"361d-49"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"}]},"361d-50":{"id":"/packages/table-core/src/utils/getFacetedMinMaxValues.ts","moduleParts":{"index.production.js":"361d-51"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"}]},"361d-52":{"id":"/packages/table-core/src/utils/getSortedRowModel.ts","moduleParts":{"index.production.js":"361d-53"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"}]},"361d-54":{"id":"/packages/table-core/src/utils/getGroupedRowModel.ts","moduleParts":{"index.production.js":"361d-55"},"imported":[{"uid":"361d-36"},{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"}]},"361d-56":{"id":"/packages/table-core/src/utils/getExpandedRowModel.ts","moduleParts":{"index.production.js":"361d-57"},"imported":[{"uid":"361d-0"}],"importedBy":[{"uid":"361d-60"},{"uid":"361d-58"}]},"361d-58":{"id":"/packages/table-core/src/utils/getPaginationRowModel.ts","moduleParts":{"index.production.js":"361d-59"},"imported":[{"uid":"361d-0"},{"uid":"361d-56"}],"importedBy":[{"uid":"361d-60"}]},"361d-60":{"id":"/packages/table-core/src/index.ts","moduleParts":{"index.production.js":"361d-61"},"imported":[{"uid":"361d-32"},{"uid":"361d-62"},{"uid":"361d-2"},{"uid":"361d-4"},{"uid":"361d-36"},{"uid":"361d-34"},{"uid":"361d-6"},{"uid":"361d-8"},{"uid":"361d-12"},{"uid":"361d-16"},{"uid":"361d-18"},{"uid":"361d-20"},{"uid":"361d-22"},{"uid":"361d-24"},{"uid":"361d-28"},{"uid":"361d-30"},{"uid":"361d-10"},{"uid":"361d-26"},{"uid":"361d-14"},{"uid":"361d-38"},{"uid":"361d-0"},{"uid":"361d-40"},{"uid":"361d-44"},{"uid":"361d-46"},{"uid":"361d-48"},{"uid":"361d-50"},{"uid":"361d-52"},{"uid":"361d-54"},{"uid":"361d-56"},{"uid":"361d-58"}],"importedBy":[],"isEntry":true},"361d-62":{"id":"/packages/table-core/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"361d-60"}]}},"env":{"rollup":"2.79.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4018
4018
|
|
|
4019
4019
|
const run = () => {
|
|
4020
4020
|
const width = window.innerWidth;
|