@cccsaurora/howler-ui 2.17.0-dev.497 → 2.17.0-dev.499
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.
|
@@ -199,8 +199,8 @@ const HitContextMenu = ({ children, getSelectedId, Component = Box }) => {
|
|
|
199
199
|
}
|
|
200
200
|
return (_jsx(MenuItem, { onClick: () => setQuery(newQuery), children: _jsx(ListItemText, { children: key }) }, key));
|
|
201
201
|
}) }) }) })] }), _jsxs(MenuItem, { id: "includes-menu-item", sx: { position: 'relative' }, onMouseEnter: ev => setShow(_show => ({ ..._show, includes: ev.target })), onMouseLeave: () => setShow(_show => ({ ..._show, includes: null })), children: [_jsx(ListItemIcon, { children: _jsx(AddCircleOutline, {}) }), _jsx(ListItemText, { sx: { flex: 1 }, children: t('hit.panel.include') }), _jsx(KeyboardArrowRight, { fontSize: "small", sx: { color: 'text.secondary', mr: -1 } }), _jsx(Fade, { in: !!show.includes, unmountOnExit: true, children: _jsx(Paper, { id: "includes-submenu", sx: calculateSubMenuStyles(show.includes), elevation: 8, children: _jsx(MenuList, { sx: { p: 0 }, dense: true, role: "group", children: template?.keys.map(key => {
|
|
202
|
-
// Build inclusion query based on current query and field
|
|
203
|
-
//
|
|
202
|
+
// Build inclusion query based on current query and field
|
|
203
|
+
// If default, we include default query
|
|
204
204
|
let newQuery = `(${query}) AND `;
|
|
205
205
|
const value = get(hit, key);
|
|
206
206
|
if (!value) {
|