@infinite-table/infinite-react 3.2.3 → 3.2.4
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/index.d.ts +2 -2
- package/index.dev.js +8 -8
- package/index.dev.mjs +8 -8
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -441,7 +441,7 @@ declare type InfiniteTableColumn<DATA_TYPE> = {
|
|
|
441
441
|
minWidth?: number;
|
|
442
442
|
maxWidth?: number;
|
|
443
443
|
renderGroupIcon?: InfiniteTableColumnRenderFunctionForGroupRows<DATA_TYPE>;
|
|
444
|
-
|
|
444
|
+
renderRowDetailIcon?: boolean | InfiniteTableColumnRenderFunction<DATA_TYPE>;
|
|
445
445
|
renderSortIcon?: InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
|
|
446
446
|
renderFilterIcon?: InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
|
|
447
447
|
renderSelectionCheckBox?: boolean | InfiniteTableColumnRenderFunction<DATA_TYPE>;
|
|
@@ -2743,7 +2743,7 @@ declare type InfiniteTableColumnType<T> = {
|
|
|
2743
2743
|
components?: InfiniteTableColumn<T>['components'];
|
|
2744
2744
|
renderMenuIcon?: InfiniteTableColumn<T>['renderMenuIcon'];
|
|
2745
2745
|
renderSortIcon?: InfiniteTableColumn<T>['renderSortIcon'];
|
|
2746
|
-
|
|
2746
|
+
renderRowDetailIcon?: InfiniteTableColumn<T>['renderRowDetailIcon'];
|
|
2747
2747
|
renderSelectionCheckBox?: InfiniteTableColumn<T>['renderSelectionCheckBox'];
|
|
2748
2748
|
renderHeaderSelectionCheckBox?: InfiniteTableColumn<T>['renderHeaderSelectionCheckBox'];
|
|
2749
2749
|
renderValue?: InfiniteTableColumn<T>['renderValue'];
|
package/index.dev.js
CHANGED
|
@@ -5945,7 +5945,7 @@ var getComputedColumns = ({
|
|
|
5945
5945
|
contentFocusable: colType.contentFocusable,
|
|
5946
5946
|
renderMenuIcon: colType.renderMenuIcon,
|
|
5947
5947
|
renderSortIcon: colType.renderSortIcon,
|
|
5948
|
-
|
|
5948
|
+
renderRowDetailIcon: colType.renderRowDetailIcon,
|
|
5949
5949
|
renderSelectionCheckBox: colType.renderSelectionCheckBox,
|
|
5950
5950
|
renderHeaderSelectionCheckBox: colType.renderHeaderSelectionCheckBox,
|
|
5951
5951
|
headerStyle: colType.headerStyle,
|
|
@@ -7953,7 +7953,7 @@ function getColumnRenderingParams(options) {
|
|
|
7953
7953
|
renderFunctions: {
|
|
7954
7954
|
renderGroupIcon: column.renderGroupIcon || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupIcon),
|
|
7955
7955
|
renderSelectionCheckBox: column.renderSelectionCheckBox,
|
|
7956
|
-
|
|
7956
|
+
renderRowDetailIcon: column.renderRowDetailIcon,
|
|
7957
7957
|
renderValue: column.renderValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderValue),
|
|
7958
7958
|
renderGroupValue: column.renderGroupValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupValue),
|
|
7959
7959
|
renderLeafValue: column.renderLeafValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderLeafValue)
|
|
@@ -8266,7 +8266,7 @@ var { rootClassName: rootClassName6 } = internalProps;
|
|
|
8266
8266
|
var columnZIndexAtIndex4 = stripVar(InternalVars.columnZIndexAtIndex);
|
|
8267
8267
|
var InfiniteTableColumnCellContext = React37.createContext(null);
|
|
8268
8268
|
var InfiniteTableColumnCellClassName = `${rootClassName6}ColumnCell`;
|
|
8269
|
-
var
|
|
8269
|
+
var defaultRenderRowDetailIcon = (params) => {
|
|
8270
8270
|
const { toggleCurrentRowDetails, rowDetailState } = params;
|
|
8271
8271
|
return /* @__PURE__ */ React37.createElement(
|
|
8272
8272
|
ExpanderIcon,
|
|
@@ -8482,21 +8482,21 @@ function InfiniteTableColumnCellFn(props) {
|
|
|
8482
8482
|
);
|
|
8483
8483
|
}
|
|
8484
8484
|
}
|
|
8485
|
-
if (renderFunctions.
|
|
8485
|
+
if (renderFunctions.renderRowDetailIcon) {
|
|
8486
8486
|
renderParam.renderBag.rowDetailsIcon = /* @__PURE__ */ React37.createElement(
|
|
8487
8487
|
RenderCellHookComponent,
|
|
8488
8488
|
{
|
|
8489
|
-
render:
|
|
8489
|
+
render: defaultRenderRowDetailIcon,
|
|
8490
8490
|
renderParam: __spreadProps(__spreadValues({}, renderParam), {
|
|
8491
8491
|
renderBag: __spreadValues({}, renderParam.renderBag)
|
|
8492
8492
|
})
|
|
8493
8493
|
}
|
|
8494
8494
|
);
|
|
8495
|
-
if (typeof renderFunctions.
|
|
8495
|
+
if (typeof renderFunctions.renderRowDetailIcon === "function") {
|
|
8496
8496
|
renderParam.renderBag.rowDetailsIcon = /* @__PURE__ */ React37.createElement(
|
|
8497
8497
|
RenderCellHookComponent,
|
|
8498
8498
|
{
|
|
8499
|
-
render: renderFunctions.
|
|
8499
|
+
render: renderFunctions.renderRowDetailIcon,
|
|
8500
8500
|
renderParam: __spreadProps(__spreadValues({}, renderParam), {
|
|
8501
8501
|
renderBag: __spreadValues({}, renderParam.renderBag)
|
|
8502
8502
|
})
|
|
@@ -18731,7 +18731,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18731
18731
|
const valid = (0, import_react53.useMemo)(() => {
|
|
18732
18732
|
let valid2 = isValidLicense(licenseKey, {
|
|
18733
18733
|
publishedAt: 1624970570587,
|
|
18734
|
-
version: "3.2.
|
|
18734
|
+
version: "3.2.4"
|
|
18735
18735
|
});
|
|
18736
18736
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18737
18737
|
return true;
|
package/index.dev.mjs
CHANGED
|
@@ -5917,7 +5917,7 @@ var getComputedColumns = ({
|
|
|
5917
5917
|
contentFocusable: colType.contentFocusable,
|
|
5918
5918
|
renderMenuIcon: colType.renderMenuIcon,
|
|
5919
5919
|
renderSortIcon: colType.renderSortIcon,
|
|
5920
|
-
|
|
5920
|
+
renderRowDetailIcon: colType.renderRowDetailIcon,
|
|
5921
5921
|
renderSelectionCheckBox: colType.renderSelectionCheckBox,
|
|
5922
5922
|
renderHeaderSelectionCheckBox: colType.renderHeaderSelectionCheckBox,
|
|
5923
5923
|
headerStyle: colType.headerStyle,
|
|
@@ -7925,7 +7925,7 @@ function getColumnRenderingParams(options) {
|
|
|
7925
7925
|
renderFunctions: {
|
|
7926
7926
|
renderGroupIcon: column.renderGroupIcon || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupIcon),
|
|
7927
7927
|
renderSelectionCheckBox: column.renderSelectionCheckBox,
|
|
7928
|
-
|
|
7928
|
+
renderRowDetailIcon: column.renderRowDetailIcon,
|
|
7929
7929
|
renderValue: column.renderValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderValue),
|
|
7930
7930
|
renderGroupValue: column.renderGroupValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupValue),
|
|
7931
7931
|
renderLeafValue: column.renderLeafValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderLeafValue)
|
|
@@ -8238,7 +8238,7 @@ var { rootClassName: rootClassName6 } = internalProps;
|
|
|
8238
8238
|
var columnZIndexAtIndex4 = stripVar(InternalVars.columnZIndexAtIndex);
|
|
8239
8239
|
var InfiniteTableColumnCellContext = React37.createContext(null);
|
|
8240
8240
|
var InfiniteTableColumnCellClassName = `${rootClassName6}ColumnCell`;
|
|
8241
|
-
var
|
|
8241
|
+
var defaultRenderRowDetailIcon = (params) => {
|
|
8242
8242
|
const { toggleCurrentRowDetails, rowDetailState } = params;
|
|
8243
8243
|
return /* @__PURE__ */ React37.createElement(
|
|
8244
8244
|
ExpanderIcon,
|
|
@@ -8454,21 +8454,21 @@ function InfiniteTableColumnCellFn(props) {
|
|
|
8454
8454
|
);
|
|
8455
8455
|
}
|
|
8456
8456
|
}
|
|
8457
|
-
if (renderFunctions.
|
|
8457
|
+
if (renderFunctions.renderRowDetailIcon) {
|
|
8458
8458
|
renderParam.renderBag.rowDetailsIcon = /* @__PURE__ */ React37.createElement(
|
|
8459
8459
|
RenderCellHookComponent,
|
|
8460
8460
|
{
|
|
8461
|
-
render:
|
|
8461
|
+
render: defaultRenderRowDetailIcon,
|
|
8462
8462
|
renderParam: __spreadProps(__spreadValues({}, renderParam), {
|
|
8463
8463
|
renderBag: __spreadValues({}, renderParam.renderBag)
|
|
8464
8464
|
})
|
|
8465
8465
|
}
|
|
8466
8466
|
);
|
|
8467
|
-
if (typeof renderFunctions.
|
|
8467
|
+
if (typeof renderFunctions.renderRowDetailIcon === "function") {
|
|
8468
8468
|
renderParam.renderBag.rowDetailsIcon = /* @__PURE__ */ React37.createElement(
|
|
8469
8469
|
RenderCellHookComponent,
|
|
8470
8470
|
{
|
|
8471
|
-
render: renderFunctions.
|
|
8471
|
+
render: renderFunctions.renderRowDetailIcon,
|
|
8472
8472
|
renderParam: __spreadProps(__spreadValues({}, renderParam), {
|
|
8473
8473
|
renderBag: __spreadValues({}, renderParam.renderBag)
|
|
8474
8474
|
})
|
|
@@ -18707,7 +18707,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18707
18707
|
const valid = useMemo14(() => {
|
|
18708
18708
|
let valid2 = isValidLicense(licenseKey, {
|
|
18709
18709
|
publishedAt: 1624970570587,
|
|
18710
|
-
version: "3.2.
|
|
18710
|
+
version: "3.2.4"
|
|
18711
18711
|
});
|
|
18712
18712
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18713
18713
|
return true;
|