@infinite-table/infinite-react 6.0.10 → 6.0.11

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.dev.js CHANGED
@@ -8118,6 +8118,7 @@ function ExpandCollapseIcon(props) {
8118
8118
  {
8119
8119
  "data-name": "expand-collapse-icon",
8120
8120
  "data-state": currentState,
8121
+ "data-disabled": disabled,
8121
8122
  xmlns: "http://www.w3.org/2000/svg",
8122
8123
  height: `${size}px`,
8123
8124
  viewBox: "0 0 24 24",
@@ -9186,7 +9187,7 @@ function InfiniteTableColumnCellFn(props) {
9186
9187
  },
9187
9188
  [rowIndex, rowDisabled, column.computedVisibleIndex, keyboardNavigation]
9188
9189
  );
9189
- const { selectionMode, cellSelection } = dataSourceState;
9190
+ const { selectionMode, cellSelection, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
9190
9191
  const cellSelected = renderParam.cellSelected;
9191
9192
  renderParam.domRef = domRef;
9192
9193
  renderParam.htmlElementRef = htmlElementRef;
@@ -9379,6 +9380,7 @@ function InfiniteTableColumnCellFn(props) {
9379
9380
  hidden,
9380
9381
  inEdit,
9381
9382
  rowDetailState,
9383
+ column.renderTreeIcon || column.renderTreeIconForParentNode ? isNodeReadOnly2 : false,
9382
9384
  ...objectValuesExcept(renderParam, {
9383
9385
  renderBag: true,
9384
9386
  selectCell: true,
@@ -19833,7 +19835,7 @@ function useCellRendering(param) {
19833
19835
  componentActions: dataSourceActions,
19834
19836
  api: dataSourceApi
19835
19837
  } = useDataSourceContextValue();
19836
- const { dataArray } = dataSourceState;
19838
+ const { dataArray, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
19837
19839
  const getData = useLatest(dataArray);
19838
19840
  const {
19839
19841
  rowHeight,
@@ -20007,6 +20009,7 @@ function useCellRendering(param) {
20007
20009
  showZebraRows,
20008
20010
  brain,
20009
20011
  repaintId,
20012
+ isNodeReadOnly2,
20010
20013
  rowStyle,
20011
20014
  rowClassName,
20012
20015
  cellClassName,
@@ -22199,7 +22202,7 @@ var useLicense = (licenseKey = "") => {
22199
22202
  }
22200
22203
  let valid2 = isValidLicense(licenseKey, {
22201
22204
  publishedAt: 1624970570587,
22202
- version: "6.0.10"
22205
+ version: "6.0.11"
22203
22206
  });
22204
22207
  if (!licenseKey && !valid2 && isInsidePlayground) {
22205
22208
  return true;
package/index.dev.mjs CHANGED
@@ -8067,6 +8067,7 @@ function ExpandCollapseIcon(props) {
8067
8067
  {
8068
8068
  "data-name": "expand-collapse-icon",
8069
8069
  "data-state": currentState,
8070
+ "data-disabled": disabled,
8070
8071
  xmlns: "http://www.w3.org/2000/svg",
8071
8072
  height: `${size}px`,
8072
8073
  viewBox: "0 0 24 24",
@@ -9135,7 +9136,7 @@ function InfiniteTableColumnCellFn(props) {
9135
9136
  },
9136
9137
  [rowIndex, rowDisabled, column.computedVisibleIndex, keyboardNavigation]
9137
9138
  );
9138
- const { selectionMode, cellSelection } = dataSourceState;
9139
+ const { selectionMode, cellSelection, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
9139
9140
  const cellSelected = renderParam.cellSelected;
9140
9141
  renderParam.domRef = domRef;
9141
9142
  renderParam.htmlElementRef = htmlElementRef;
@@ -9328,6 +9329,7 @@ function InfiniteTableColumnCellFn(props) {
9328
9329
  hidden,
9329
9330
  inEdit,
9330
9331
  rowDetailState,
9332
+ column.renderTreeIcon || column.renderTreeIconForParentNode ? isNodeReadOnly2 : false,
9331
9333
  ...objectValuesExcept(renderParam, {
9332
9334
  renderBag: true,
9333
9335
  selectCell: true,
@@ -19791,7 +19793,7 @@ function useCellRendering(param) {
19791
19793
  componentActions: dataSourceActions,
19792
19794
  api: dataSourceApi
19793
19795
  } = useDataSourceContextValue();
19794
- const { dataArray } = dataSourceState;
19796
+ const { dataArray, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
19795
19797
  const getData = useLatest(dataArray);
19796
19798
  const {
19797
19799
  rowHeight,
@@ -19965,6 +19967,7 @@ function useCellRendering(param) {
19965
19967
  showZebraRows,
19966
19968
  brain,
19967
19969
  repaintId,
19970
+ isNodeReadOnly2,
19968
19971
  rowStyle,
19969
19972
  rowClassName,
19970
19973
  cellClassName,
@@ -22157,7 +22160,7 @@ var useLicense = (licenseKey = "") => {
22157
22160
  }
22158
22161
  let valid2 = isValidLicense(licenseKey, {
22159
22162
  publishedAt: 1624970570587,
22160
- version: "6.0.10"
22163
+ version: "6.0.11"
22161
22164
  });
22162
22165
  if (!licenseKey && !valid2 && isInsidePlayground) {
22163
22166
  return true;
package/index.js CHANGED
@@ -8118,6 +8118,7 @@ function ExpandCollapseIcon(props) {
8118
8118
  {
8119
8119
  "data-name": "expand-collapse-icon",
8120
8120
  "data-state": currentState,
8121
+ "data-disabled": disabled,
8121
8122
  xmlns: "http://www.w3.org/2000/svg",
8122
8123
  height: `${size}px`,
8123
8124
  viewBox: "0 0 24 24",
@@ -9186,7 +9187,7 @@ function InfiniteTableColumnCellFn(props) {
9186
9187
  },
9187
9188
  [rowIndex, rowDisabled, column.computedVisibleIndex, keyboardNavigation]
9188
9189
  );
9189
- const { selectionMode, cellSelection } = dataSourceState;
9190
+ const { selectionMode, cellSelection, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
9190
9191
  const cellSelected = renderParam.cellSelected;
9191
9192
  renderParam.domRef = domRef;
9192
9193
  renderParam.htmlElementRef = htmlElementRef;
@@ -9379,6 +9380,7 @@ function InfiniteTableColumnCellFn(props) {
9379
9380
  hidden,
9380
9381
  inEdit,
9381
9382
  rowDetailState,
9383
+ column.renderTreeIcon || column.renderTreeIconForParentNode ? isNodeReadOnly2 : false,
9382
9384
  ...objectValuesExcept(renderParam, {
9383
9385
  renderBag: true,
9384
9386
  selectCell: true,
@@ -19833,7 +19835,7 @@ function useCellRendering(param) {
19833
19835
  componentActions: dataSourceActions,
19834
19836
  api: dataSourceApi
19835
19837
  } = useDataSourceContextValue();
19836
- const { dataArray } = dataSourceState;
19838
+ const { dataArray, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
19837
19839
  const getData = useLatest(dataArray);
19838
19840
  const {
19839
19841
  rowHeight,
@@ -20007,6 +20009,7 @@ function useCellRendering(param) {
20007
20009
  showZebraRows,
20008
20010
  brain,
20009
20011
  repaintId,
20012
+ isNodeReadOnly2,
20010
20013
  rowStyle,
20011
20014
  rowClassName,
20012
20015
  cellClassName,
@@ -22199,7 +22202,7 @@ var useLicense = (licenseKey = "") => {
22199
22202
  }
22200
22203
  let valid2 = isValidLicense(licenseKey, {
22201
22204
  publishedAt: 1624970570587,
22202
- version: "6.0.10"
22205
+ version: "6.0.11"
22203
22206
  });
22204
22207
  if (!licenseKey && !valid2 && isInsidePlayground) {
22205
22208
  return true;
package/index.mjs CHANGED
@@ -8067,6 +8067,7 @@ function ExpandCollapseIcon(props) {
8067
8067
  {
8068
8068
  "data-name": "expand-collapse-icon",
8069
8069
  "data-state": currentState,
8070
+ "data-disabled": disabled,
8070
8071
  xmlns: "http://www.w3.org/2000/svg",
8071
8072
  height: `${size}px`,
8072
8073
  viewBox: "0 0 24 24",
@@ -9135,7 +9136,7 @@ function InfiniteTableColumnCellFn(props) {
9135
9136
  },
9136
9137
  [rowIndex, rowDisabled, column.computedVisibleIndex, keyboardNavigation]
9137
9138
  );
9138
- const { selectionMode, cellSelection } = dataSourceState;
9139
+ const { selectionMode, cellSelection, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
9139
9140
  const cellSelected = renderParam.cellSelected;
9140
9141
  renderParam.domRef = domRef;
9141
9142
  renderParam.htmlElementRef = htmlElementRef;
@@ -9328,6 +9329,7 @@ function InfiniteTableColumnCellFn(props) {
9328
9329
  hidden,
9329
9330
  inEdit,
9330
9331
  rowDetailState,
9332
+ column.renderTreeIcon || column.renderTreeIconForParentNode ? isNodeReadOnly2 : false,
9331
9333
  ...objectValuesExcept(renderParam, {
9332
9334
  renderBag: true,
9333
9335
  selectCell: true,
@@ -19791,7 +19793,7 @@ function useCellRendering(param) {
19791
19793
  componentActions: dataSourceActions,
19792
19794
  api: dataSourceApi
19793
19795
  } = useDataSourceContextValue();
19794
- const { dataArray } = dataSourceState;
19796
+ const { dataArray, isNodeReadOnly: isNodeReadOnly2 } = dataSourceState;
19795
19797
  const getData = useLatest(dataArray);
19796
19798
  const {
19797
19799
  rowHeight,
@@ -19965,6 +19967,7 @@ function useCellRendering(param) {
19965
19967
  showZebraRows,
19966
19968
  brain,
19967
19969
  repaintId,
19970
+ isNodeReadOnly2,
19968
19971
  rowStyle,
19969
19972
  rowClassName,
19970
19973
  cellClassName,
@@ -22157,7 +22160,7 @@ var useLicense = (licenseKey = "") => {
22157
22160
  }
22158
22161
  let valid2 = isValidLicense(licenseKey, {
22159
22162
  publishedAt: 1624970570587,
22160
- version: "6.0.10"
22163
+ version: "6.0.11"
22161
22164
  });
22162
22165
  if (!licenseKey && !valid2 && isInsidePlayground) {
22163
22166
  return true;
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "bugs": {
26
26
  "url": "https://github.com/infinite-table/infinite-react/issues"
27
27
  },
28
- "version": "6.0.10",
28
+ "version": "6.0.11",
29
29
  "main": "index.js",
30
30
  "module": "index.mjs",
31
31
  "typings": "index.d.ts",
@@ -34,5 +34,5 @@
34
34
  },
35
35
  "license": "Commercial & Open Source",
36
36
  "//": "will be updated at build time",
37
- "publishedAt": 1730471230037
37
+ "publishedAt": 1730473416383
38
38
  }