Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@af-utils/react-mobx-table

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@af-utils/react-mobx-table - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

8

lib/bundlesize.index.js

@@ -1,4 +0,4 @@

export const raw = 15535;
export const min = 9153;
export const minGz = 3408;
export const minBrotli = 3112;
export const raw = 15529;
export const min = 9147;
export const minGz = 3405;
export const minBrotli = 3106;

@@ -245,3 +245,3 @@ import { Fragment as e, memo as t, useLayoutEffect as r, useMemo as o } from "react";

return t;
}, E = (e, t, r) => {
}, W = (e, t, r) => {
let o = 0;

@@ -251,9 +251,9 @@ if (Array.isArray(e)) {

for (const s of e) n = r(s), n && (o += n[t]);
} else for (const n of e.values()) n && (o += E(n, t, r));
} else for (const n of e.values()) n && (o += W(n, t, r));
return o;
}, W = n((e => {
}, j = n((e => {
let {m: t, column: r, rowIndexes: o} = e;
if ("count" === r.totals) return H(o);
if ("sum" === r.totals) {
const e = E(o, r.key, t.getRowData);
const e = W(o, r.key, t.getRowData);
if (r.formatTotal) {

@@ -266,3 +266,3 @@ const o = t.getTotalsFormattingHelper ? t.getTotalsFormattingHelper() : null;

return null;
})), j = G("user-select: none", "cursor: pointer", "padding-right: 0.3em"), O = G("margin-left: 1em"), P = n((t => {
})), E = G("user-select: none", "cursor: pointer", "padding-right: 0.3em"), O = G("margin-left: 1em"), P = n((t => {
let {m: r, columns: o, i: n} = t;

@@ -277,3 +277,3 @@ const s = r.collapsedGroups.has(n);

children: [ /*#__PURE__*/ C("span", {
className: j,
className: E,
onClick: () => r.toggleCollapsedGroup(n),

@@ -292,3 +292,3 @@ "data-collapsed": s ? "" : void 0,

children: [ /*#__PURE__*/ w("span", {
children: [ o.label, ":  ", /*#__PURE__*/ C(W, {
children: [ o.label, ":  ", /*#__PURE__*/ C(j, {
m: r,

@@ -347,5 +347,5 @@ column: o,

})), Y = /*#__PURE__*/ t((e => {
let {itemCount: t, getEstimatedItemSize: i, overscanCount: l, estimatedWidgetSize: u, getRowData: a, getKey: d, getTotalsFormattingHelper: f, columns: x, GroupLabel: G = Q, className: I, components: b, footer: S, ...D} = e;
let {itemCount: t, estimatedItemSize: i, overscanCount: l, estimatedWidgetSize: u, getRowData: a, getKey: d, getTotalsFormattingHelper: f, columns: x, GroupLabel: G = Q, className: I, components: b, footer: S, ...D} = e;
const F = m({
getEstimatedItemSize: i,
estimatedItemSize: i,
estimatedWidgetSize: u,

@@ -391,3 +391,3 @@ overscanCount: l

/*#__PURE__*/
return C(W, {
return C(j, {
m: N,

@@ -394,0 +394,0 @@ column: t,

{
"name": "@af-utils/react-mobx-table",
"private": false,
"version": "0.0.40",
"version": "0.0.41",
"description": "React components for rendering tables",

@@ -55,4 +55,4 @@ "repository": "https://github.com/nowaalex/af-virtual-scroll.git",

"peerDependencies": {
"@af-utils/react-table": "^0.0.38",
"@af-utils/react-virtual-headless": "^0.0.33",
"@af-utils/react-table": "^0.0.39",
"@af-utils/react-virtual-headless": "^0.0.34",
"@af-utils/styled": "^0.0.13",

@@ -59,0 +59,0 @@ "mobx": "^6.3.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc