@economic/taco 2.58.2-EC-64961.3 → 2.58.2-EC-64961.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/dist/taco.cjs +5 -3
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +5 -3
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.cjs
CHANGED
@@ -33383,11 +33383,11 @@ const getCellMinWidth = (fontSize = "medium") => {
|
|
33383
33383
|
return 72;
|
33384
33384
|
}
|
33385
33385
|
};
|
33386
|
-
function isCellHighlighted(query, value, dataType, localization) {
|
33386
|
+
function isCellHighlighted(query, value, row, dataType, dataTypeOptions, localization) {
|
33387
33387
|
if (value === void 0 || value === null) {
|
33388
33388
|
return false;
|
33389
33389
|
}
|
33390
|
-
return isMatched(query, value, dataType, localization);
|
33390
|
+
return isMatched(query, value, row, dataType, dataTypeOptions, localization);
|
33391
33391
|
}
|
33392
33392
|
function orderColumn(column, { orderingDisabled, orderingEnabled }) {
|
33393
33393
|
var _a;
|
@@ -33538,7 +33538,7 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
|
|
33538
33538
|
sortFn,
|
33539
33539
|
...meta
|
33540
33540
|
} = child.props;
|
33541
|
-
const id2 = untypedId;
|
33541
|
+
const id2 = untypedId ?? accessorKey;
|
33542
33542
|
const dataTypeProperties = getDataTypeProperties(child.props.dataType);
|
33543
33543
|
if (defaultHidden && enableHiding) {
|
33544
33544
|
defaultVisibility[id2] = false;
|
@@ -36471,7 +36471,9 @@ function useSearchHighlighting(cell, cellIndex, ref) {
|
|
36471
36471
|
isHighlighted2 = isCellHighlighted(
|
36472
36472
|
context.table.getState().globalFilter,
|
36473
36473
|
cell.getValue(),
|
36474
|
+
cell.row.original,
|
36474
36475
|
columnMeta.dataType,
|
36476
|
+
columnMeta.dataTypeOptions,
|
36475
36477
|
localization
|
36476
36478
|
);
|
36477
36479
|
}
|