@infinite-table/infinite-react 5.0.0-canary.4 → 5.0.0-canary.5

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
@@ -8289,10 +8289,7 @@ function getColumnRenderingParams(options) {
8289
8289
  });
8290
8290
  const { getState } = context;
8291
8291
  const { editingCell } = getState();
8292
- const formattedResult = getFormattedValueContextForCell(__spreadProps(__spreadValues({}, options), {
8293
- // column: groupByColumnReference || column,
8294
- column
8295
- }));
8292
+ const formattedResult = getFormattedValueContextForCell(options);
8296
8293
  const { formattedValueContext } = formattedResult;
8297
8294
  const inEdit = context.api.isEditorVisibleForCell({
8298
8295
  columnId: column.id,
@@ -8326,11 +8323,22 @@ function getColumnRenderingParams(options) {
8326
8323
  renderGroupValue: column.renderGroupValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupValue),
8327
8324
  renderLeafValue: column.renderLeafValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderLeafValue)
8328
8325
  },
8329
- renderParams: getColumnRenderParam(__spreadProps(__spreadValues({}, options), {
8326
+ renderParams: getColumnRenderParam({
8327
+ // prefer this over spreading the options object
8328
+ // for better performance
8329
+ rowIndexInHorizontalLayoutPage: options.rowIndexInHorizontalLayoutPage,
8330
+ horizontalLayoutPageIndex: options.horizontalLayoutPageIndex,
8331
+ column: options.column,
8332
+ rowInfo: options.rowInfo,
8333
+ visibleColumnsIds: options.visibleColumnsIds,
8334
+ columnsMap: options.columnsMap,
8335
+ fieldsToColumn: options.fieldsToColumn,
8336
+ context: options.context,
8337
+ // override the following:
8330
8338
  align: align2,
8331
8339
  verticalAlign,
8332
8340
  formattedValueContext
8333
- })),
8341
+ }),
8334
8342
  groupByColumnReference
8335
8343
  };
8336
8344
  }
@@ -19855,7 +19863,7 @@ var useLicense = (licenseKey = "") => {
19855
19863
  }
19856
19864
  let valid2 = isValidLicense(licenseKey, {
19857
19865
  publishedAt: 1624970570587,
19858
- version: "5.0.0-canary.4"
19866
+ version: "5.0.0-canary.5"
19859
19867
  });
19860
19868
  if (!licenseKey && !valid2 && isInsidePlayground) {
19861
19869
  return true;
package/index.dev.mjs CHANGED
@@ -8246,10 +8246,7 @@ function getColumnRenderingParams(options) {
8246
8246
  });
8247
8247
  const { getState } = context;
8248
8248
  const { editingCell } = getState();
8249
- const formattedResult = getFormattedValueContextForCell(__spreadProps(__spreadValues({}, options), {
8250
- // column: groupByColumnReference || column,
8251
- column
8252
- }));
8249
+ const formattedResult = getFormattedValueContextForCell(options);
8253
8250
  const { formattedValueContext } = formattedResult;
8254
8251
  const inEdit = context.api.isEditorVisibleForCell({
8255
8252
  columnId: column.id,
@@ -8283,11 +8280,22 @@ function getColumnRenderingParams(options) {
8283
8280
  renderGroupValue: column.renderGroupValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupValue),
8284
8281
  renderLeafValue: column.renderLeafValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderLeafValue)
8285
8282
  },
8286
- renderParams: getColumnRenderParam(__spreadProps(__spreadValues({}, options), {
8283
+ renderParams: getColumnRenderParam({
8284
+ // prefer this over spreading the options object
8285
+ // for better performance
8286
+ rowIndexInHorizontalLayoutPage: options.rowIndexInHorizontalLayoutPage,
8287
+ horizontalLayoutPageIndex: options.horizontalLayoutPageIndex,
8288
+ column: options.column,
8289
+ rowInfo: options.rowInfo,
8290
+ visibleColumnsIds: options.visibleColumnsIds,
8291
+ columnsMap: options.columnsMap,
8292
+ fieldsToColumn: options.fieldsToColumn,
8293
+ context: options.context,
8294
+ // override the following:
8287
8295
  align: align2,
8288
8296
  verticalAlign,
8289
8297
  formattedValueContext
8290
- })),
8298
+ }),
8291
8299
  groupByColumnReference
8292
8300
  };
8293
8301
  }
@@ -19821,7 +19829,7 @@ var useLicense = (licenseKey = "") => {
19821
19829
  }
19822
19830
  let valid2 = isValidLicense(licenseKey, {
19823
19831
  publishedAt: 1624970570587,
19824
- version: "5.0.0-canary.4"
19832
+ version: "5.0.0-canary.5"
19825
19833
  });
19826
19834
  if (!licenseKey && !valid2 && isInsidePlayground) {
19827
19835
  return true;
package/index.js CHANGED
@@ -8289,10 +8289,7 @@ function getColumnRenderingParams(options) {
8289
8289
  });
8290
8290
  const { getState } = context;
8291
8291
  const { editingCell } = getState();
8292
- const formattedResult = getFormattedValueContextForCell(__spreadProps(__spreadValues({}, options), {
8293
- // column: groupByColumnReference || column,
8294
- column
8295
- }));
8292
+ const formattedResult = getFormattedValueContextForCell(options);
8296
8293
  const { formattedValueContext } = formattedResult;
8297
8294
  const inEdit = context.api.isEditorVisibleForCell({
8298
8295
  columnId: column.id,
@@ -8326,11 +8323,22 @@ function getColumnRenderingParams(options) {
8326
8323
  renderGroupValue: column.renderGroupValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupValue),
8327
8324
  renderLeafValue: column.renderLeafValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderLeafValue)
8328
8325
  },
8329
- renderParams: getColumnRenderParam(__spreadProps(__spreadValues({}, options), {
8326
+ renderParams: getColumnRenderParam({
8327
+ // prefer this over spreading the options object
8328
+ // for better performance
8329
+ rowIndexInHorizontalLayoutPage: options.rowIndexInHorizontalLayoutPage,
8330
+ horizontalLayoutPageIndex: options.horizontalLayoutPageIndex,
8331
+ column: options.column,
8332
+ rowInfo: options.rowInfo,
8333
+ visibleColumnsIds: options.visibleColumnsIds,
8334
+ columnsMap: options.columnsMap,
8335
+ fieldsToColumn: options.fieldsToColumn,
8336
+ context: options.context,
8337
+ // override the following:
8330
8338
  align: align2,
8331
8339
  verticalAlign,
8332
8340
  formattedValueContext
8333
- })),
8341
+ }),
8334
8342
  groupByColumnReference
8335
8343
  };
8336
8344
  }
@@ -19855,7 +19863,7 @@ var useLicense = (licenseKey = "") => {
19855
19863
  }
19856
19864
  let valid2 = isValidLicense(licenseKey, {
19857
19865
  publishedAt: 1624970570587,
19858
- version: "5.0.0-canary.4"
19866
+ version: "5.0.0-canary.5"
19859
19867
  });
19860
19868
  if (!licenseKey && !valid2 && isInsidePlayground) {
19861
19869
  return true;
package/index.mjs CHANGED
@@ -8246,10 +8246,7 @@ function getColumnRenderingParams(options) {
8246
8246
  });
8247
8247
  const { getState } = context;
8248
8248
  const { editingCell } = getState();
8249
- const formattedResult = getFormattedValueContextForCell(__spreadProps(__spreadValues({}, options), {
8250
- // column: groupByColumnReference || column,
8251
- column
8252
- }));
8249
+ const formattedResult = getFormattedValueContextForCell(options);
8253
8250
  const { formattedValueContext } = formattedResult;
8254
8251
  const inEdit = context.api.isEditorVisibleForCell({
8255
8252
  columnId: column.id,
@@ -8283,11 +8280,22 @@ function getColumnRenderingParams(options) {
8283
8280
  renderGroupValue: column.renderGroupValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderGroupValue),
8284
8281
  renderLeafValue: column.renderLeafValue || (groupByColumnReference == null ? void 0 : groupByColumnReference.renderLeafValue)
8285
8282
  },
8286
- renderParams: getColumnRenderParam(__spreadProps(__spreadValues({}, options), {
8283
+ renderParams: getColumnRenderParam({
8284
+ // prefer this over spreading the options object
8285
+ // for better performance
8286
+ rowIndexInHorizontalLayoutPage: options.rowIndexInHorizontalLayoutPage,
8287
+ horizontalLayoutPageIndex: options.horizontalLayoutPageIndex,
8288
+ column: options.column,
8289
+ rowInfo: options.rowInfo,
8290
+ visibleColumnsIds: options.visibleColumnsIds,
8291
+ columnsMap: options.columnsMap,
8292
+ fieldsToColumn: options.fieldsToColumn,
8293
+ context: options.context,
8294
+ // override the following:
8287
8295
  align: align2,
8288
8296
  verticalAlign,
8289
8297
  formattedValueContext
8290
- })),
8298
+ }),
8291
8299
  groupByColumnReference
8292
8300
  };
8293
8301
  }
@@ -19821,7 +19829,7 @@ var useLicense = (licenseKey = "") => {
19821
19829
  }
19822
19830
  let valid2 = isValidLicense(licenseKey, {
19823
19831
  publishedAt: 1624970570587,
19824
- version: "5.0.0-canary.4"
19832
+ version: "5.0.0-canary.5"
19825
19833
  });
19826
19834
  if (!licenseKey && !valid2 && isInsidePlayground) {
19827
19835
  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": "5.0.0-canary.4",
28
+ "version": "5.0.0-canary.5",
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": 1727299420068
37
+ "publishedAt": 1727301169534
38
38
  }