@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.js
CHANGED
@@ -33365,11 +33365,11 @@ const getCellMinWidth = (fontSize = "medium") => {
|
|
33365
33365
|
return 72;
|
33366
33366
|
}
|
33367
33367
|
};
|
33368
|
-
function isCellHighlighted(query, value, dataType, localization) {
|
33368
|
+
function isCellHighlighted(query, value, row, dataType, dataTypeOptions, localization) {
|
33369
33369
|
if (value === void 0 || value === null) {
|
33370
33370
|
return false;
|
33371
33371
|
}
|
33372
|
-
return isMatched(query, value, dataType, localization);
|
33372
|
+
return isMatched(query, value, row, dataType, dataTypeOptions, localization);
|
33373
33373
|
}
|
33374
33374
|
function orderColumn(column, { orderingDisabled, orderingEnabled }) {
|
33375
33375
|
var _a;
|
@@ -33520,7 +33520,7 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
|
|
33520
33520
|
sortFn,
|
33521
33521
|
...meta
|
33522
33522
|
} = child.props;
|
33523
|
-
const id2 = untypedId;
|
33523
|
+
const id2 = untypedId ?? accessorKey;
|
33524
33524
|
const dataTypeProperties = getDataTypeProperties(child.props.dataType);
|
33525
33525
|
if (defaultHidden && enableHiding) {
|
33526
33526
|
defaultVisibility[id2] = false;
|
@@ -36453,7 +36453,9 @@ function useSearchHighlighting(cell, cellIndex, ref) {
|
|
36453
36453
|
isHighlighted2 = isCellHighlighted(
|
36454
36454
|
context.table.getState().globalFilter,
|
36455
36455
|
cell.getValue(),
|
36456
|
+
cell.row.original,
|
36456
36457
|
columnMeta.dataType,
|
36458
|
+
columnMeta.dataTypeOptions,
|
36457
36459
|
localization
|
36458
36460
|
);
|
36459
36461
|
}
|