@vuu-ui/vuu-table-extras 0.8.14-debug → 0.8.15-debug
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/cjs/index.js +0 -20
- package/cjs/index.js.map +2 -2
- package/esm/index.js +0 -20
- package/esm/index.js.map +2 -2
- package/package.json +11 -11
package/cjs/index.js
CHANGED
|
@@ -3548,26 +3548,6 @@ var buildContextMenuDescriptors = (dataSource) => (location, options) => {
|
|
|
3548
3548
|
label: `DataGrid Settings`,
|
|
3549
3549
|
options
|
|
3550
3550
|
});
|
|
3551
|
-
} else if (location === "filter") {
|
|
3552
|
-
const { column, filter } = options;
|
|
3553
|
-
const colIsOnlyFilter = (filter == null ? void 0 : filter.column) === (column == null ? void 0 : column.name);
|
|
3554
|
-
descriptors.push({
|
|
3555
|
-
label: "Edit filter",
|
|
3556
|
-
action: "filter-edit",
|
|
3557
|
-
options
|
|
3558
|
-
});
|
|
3559
|
-
descriptors.push({
|
|
3560
|
-
label: "Remove filter",
|
|
3561
|
-
action: "filter-remove-column",
|
|
3562
|
-
options
|
|
3563
|
-
});
|
|
3564
|
-
if (column && !colIsOnlyFilter) {
|
|
3565
|
-
descriptors.push({
|
|
3566
|
-
label: `Remove all filters`,
|
|
3567
|
-
action: "remove-filters",
|
|
3568
|
-
options
|
|
3569
|
-
});
|
|
3570
|
-
}
|
|
3571
3551
|
}
|
|
3572
3552
|
return descriptors;
|
|
3573
3553
|
};
|