ag-grid-community 33.0.1 → 33.0.3
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/ag-grid-community.js +19 -11
- package/dist/ag-grid-community.min.js +1 -1
- package/dist/ag-grid-community.min.noStyle.js +1 -1
- package/dist/ag-grid-community.noStyle.js +19 -11
- package/dist/package/main.cjs.js +19 -10
- package/dist/package/main.cjs.min.js +7 -7
- package/dist/package/main.esm.min.mjs +46 -46
- package/dist/package/main.esm.mjs +19 -10
- package/dist/package/package.json +3 -3
- package/dist/types/package.json +3 -3
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -17881,8 +17881,8 @@ class BaseGridSerializingSession {
|
|
|
17881
17881
|
return processedValue;
|
|
17882
17882
|
}
|
|
17883
17883
|
shouldRenderGroupSummaryCell(node, column, currentColumnIndex) {
|
|
17884
|
-
|
|
17885
|
-
|
|
17884
|
+
// only on group rows when grouping, and not for tree data group nodes
|
|
17885
|
+
const isGroupNode = node.group && !this.gos.get('treeData');
|
|
17886
17886
|
if (!isGroupNode) {
|
|
17887
17887
|
return false;
|
|
17888
17888
|
}
|
|
@@ -20017,7 +20017,7 @@ class FilterValueService extends beanStub_1.BeanStub {
|
|
|
20017
20017
|
node,
|
|
20018
20018
|
column,
|
|
20019
20019
|
colDef,
|
|
20020
|
-
getValue: valueSvc.getValueCallback.bind(
|
|
20020
|
+
getValue: valueSvc.getValueCallback.bind(valueSvc, node),
|
|
20021
20021
|
});
|
|
20022
20022
|
if (typeof valueGetter === 'function') {
|
|
20023
20023
|
return valueGetter(params);
|
|
@@ -25865,6 +25865,9 @@ class RowContainerEventsFeature extends beanStub_1.BeanStub {
|
|
|
25865
25865
|
}
|
|
25866
25866
|
const { cellCtrl, rowCtrl } = this.getControlsForEventTarget(mouseEvent.target);
|
|
25867
25867
|
if (eventName === 'contextmenu') {
|
|
25868
|
+
if (cellCtrl?.column) {
|
|
25869
|
+
cellCtrl.dispatchCellContextMenuEvent(mouseEvent);
|
|
25870
|
+
}
|
|
25868
25871
|
this.beans.contextMenuSvc?.handleContextMenuMouseEvent(mouseEvent, undefined, rowCtrl, cellCtrl);
|
|
25869
25872
|
}
|
|
25870
25873
|
else {
|
|
@@ -28938,11 +28941,12 @@ class HeaderComp extends component_1.Component {
|
|
|
28938
28941
|
this.eMenu = undefined;
|
|
28939
28942
|
return;
|
|
28940
28943
|
}
|
|
28941
|
-
const { gos, eMenu, params
|
|
28944
|
+
const { gos, eMenu, params } = this;
|
|
28942
28945
|
const isLegacyMenu = (0, gridOptionsUtils_1._isLegacyMenuEnabled)(gos);
|
|
28943
28946
|
this.addInIcon(isLegacyMenu ? 'menu' : 'menuAlt', eMenu, params.column);
|
|
28944
28947
|
eMenu.classList.toggle('ag-header-menu-icon', !isLegacyMenu);
|
|
28945
|
-
|
|
28948
|
+
const currentSuppressMenuHide = this.shouldSuppressMenuHide();
|
|
28949
|
+
this.currentSuppressMenuHide = currentSuppressMenuHide;
|
|
28946
28950
|
this.addManagedElementListeners(eMenu, { click: () => params.showColumnMenu(eMenu) });
|
|
28947
28951
|
eMenu.classList.toggle('ag-header-menu-always-show', currentSuppressMenuHide);
|
|
28948
28952
|
}
|
|
@@ -34066,6 +34070,9 @@ class TouchService extends beanStub_1.BeanStub {
|
|
|
34066
34070
|
}
|
|
34067
34071
|
const listener = (mouseListener, touch, touchEvent) => {
|
|
34068
34072
|
const { rowCtrl, cellCtrl } = ctrl.getControlsForEventTarget(touchEvent?.target ?? null);
|
|
34073
|
+
if (cellCtrl?.column) {
|
|
34074
|
+
cellCtrl.dispatchCellContextMenuEvent(touchEvent ?? null);
|
|
34075
|
+
}
|
|
34069
34076
|
this.beans.contextMenuSvc?.handleContextMenuMouseEvent(undefined, touchEvent, rowCtrl, cellCtrl);
|
|
34070
34077
|
};
|
|
34071
34078
|
this.mockContextMenu(ctrl, ctrl.element, listener);
|
|
@@ -47317,7 +47324,7 @@ exports.coreDefaults = {
|
|
|
47317
47324
|
ref: 'textColor',
|
|
47318
47325
|
},
|
|
47319
47326
|
headerCellHoverBackgroundColor: 'transparent',
|
|
47320
|
-
headerCellMovingBackgroundColor: { ref: '
|
|
47327
|
+
headerCellMovingBackgroundColor: { ref: 'headerCellHoverBackgroundColor' },
|
|
47321
47328
|
headerCellBackgroundTransitionDuration: '0.2s',
|
|
47322
47329
|
cellTextColor: {
|
|
47323
47330
|
ref: 'textColor',
|
|
@@ -48527,7 +48534,7 @@ exports.shadowValueToCss = shadowValueToCss;
|
|
|
48527
48534
|
exports.borderStyleValueToCss = literalToCSS;
|
|
48528
48535
|
const fontFamilyValueToCss = (value) => {
|
|
48529
48536
|
if (typeof value === 'string')
|
|
48530
|
-
return
|
|
48537
|
+
return value;
|
|
48531
48538
|
if (value && 'googleFont' in value)
|
|
48532
48539
|
return (0, exports.fontFamilyValueToCss)(value.googleFont);
|
|
48533
48540
|
if (value && 'ref' in value)
|
|
@@ -48546,9 +48553,10 @@ const fontFamilyValueToCss = (value) => {
|
|
|
48546
48553
|
};
|
|
48547
48554
|
exports.fontFamilyValueToCss = fontFamilyValueToCss;
|
|
48548
48555
|
const quoteUnsafeChars = (font) =>
|
|
48549
|
-
// don't quote safe identifier names, so that
|
|
48550
|
-
// like sans-serif which are keywords not strings
|
|
48551
|
-
|
|
48556
|
+
// don't quote var() expressions or quote safe identifier names, so that
|
|
48557
|
+
// people can specify fonts like sans-serif which are keywords not strings,
|
|
48558
|
+
// or var(--my-var)
|
|
48559
|
+
/^[\w-]+$|\w\(/.test(font) ? font : JSON.stringify(font);
|
|
48552
48560
|
exports.fontWeightValueToCss = literalToCSS;
|
|
48553
48561
|
const imageValueToCss = (value) => {
|
|
48554
48562
|
if (typeof value === 'string')
|
|
@@ -54695,7 +54703,7 @@ exports.VanillaFrameworkOverrides = VanillaFrameworkOverrides;
|
|
|
54695
54703
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
54696
54704
|
exports.VERSION = void 0;
|
|
54697
54705
|
// DO NOT UPDATE MANUALLY: Generated from script during build time
|
|
54698
|
-
exports.VERSION = '33.0.
|
|
54706
|
+
exports.VERSION = '33.0.3';
|
|
54699
54707
|
|
|
54700
54708
|
|
|
54701
54709
|
/***/ }),
|