@lemon-fe/components 1.2.15 → 1.3.0-alpha.1
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/LICENSE +9 -0
- package/README.md +17 -0
- package/es/data-grid/cell-editors/date.d.ts +2 -2
- package/es/data-grid/cell-editors/number.d.ts +2 -2
- package/es/data-grid/cell-editors/row.d.ts +2 -2
- package/es/data-grid/cell-editors/select.d.ts +3 -3
- package/es/data-grid/cell-editors/text.d.ts +2 -2
- package/es/data-grid/cell-editors/utils.d.ts +1 -1
- package/es/data-grid/components/custom-panel/index.d.ts +1 -1
- package/es/data-grid/components/custom-panel/item.d.ts +1 -1
- package/es/data-grid/components/custom-panel/typings.d.ts +1 -1
- package/es/data-grid/index.d.ts +8 -7
- package/es/data-grid/index.js +3 -11
- package/es/data-grid/index.less +1 -1
- package/es/data-grid/renderer/actions-renderer.d.ts +1 -1
- package/es/data-grid/renderer/actions.d.ts +1 -1
- package/es/data-grid/renderer/cell-delete-renderer.d.ts +1 -1
- package/es/data-grid/renderer/cell-index-renderer.d.ts +1 -1
- package/es/data-grid/renderer/cell-renderer.d.ts +1 -1
- package/es/data-grid/renderer/detali-cell-renderer.d.ts +1 -1
- package/es/data-grid/renderer/header-renderer.d.ts +1 -1
- package/es/data-grid/typings.d.ts +2 -2
- package/es/data-grid/utils.d.ts +1 -1
- package/es/index.d.ts +4 -3
- package/es/index.js +4 -2
- package/es/select-view/index.d.ts +1 -1
- package/package.json +9 -18
- package/es/data-grid/modules/clipboard/clipboard/clipboardService.d.ts +0 -62
- package/es/data-grid/modules/clipboard/clipboard/clipboardService.js +0 -1007
- package/es/data-grid/modules/clipboard/clipboardModule.d.ts +0 -2
- package/es/data-grid/modules/clipboard/clipboardModule.js +0 -10
- package/es/data-grid/modules/clipboard/main.d.ts +0 -1
- package/es/data-grid/modules/clipboard/main.js +0 -1
- package/es/data-grid/modules/clipboard/version.d.ts +0 -1
- package/es/data-grid/modules/clipboard/version.js +0 -2
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/columnModelItem.d.ts +0 -26
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/columnModelItem.js +0 -94
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/columnToolPanel.d.ts +0 -32
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/columnToolPanel.js +0 -272
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/modelItemUtils.d.ts +0 -16
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/modelItemUtils.js +0 -209
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/pivotModePanel.d.ts +0 -9
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/pivotModePanel.js +0 -68
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsHeaderPanel.d.ts +0 -32
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsHeaderPanel.js +0 -150
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsListPanel.d.ts +0 -44
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsListPanel.js +0 -455
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsListPanelItemDragFeature.d.ts +0 -26
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsListPanelItemDragFeature.js +0 -224
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsPanel.d.ts +0 -24
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/primaryColsPanel.js +0 -123
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/toolPanelColumnComp.d.ts +0 -37
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/toolPanelColumnComp.js +0 -314
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/toolPanelColumnGroupComp.d.ts +0 -51
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/toolPanelColumnGroupComp.js +0 -406
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/toolPanelContextMenu.d.ts +0 -24
- package/es/data-grid/modules/column-tool-panel/columnToolPanel/toolPanelContextMenu.js +0 -264
- package/es/data-grid/modules/column-tool-panel/columnsToolPanelModule.d.ts +0 -2
- package/es/data-grid/modules/column-tool-panel/columnsToolPanelModule.js +0 -29
- package/es/data-grid/modules/column-tool-panel/main.d.ts +0 -2
- package/es/data-grid/modules/column-tool-panel/main.js +0 -3
- package/es/data-grid/modules/column-tool-panel/version.d.ts +0 -1
- package/es/data-grid/modules/column-tool-panel/version.js +0 -2
- package/es/data-grid/modules/master-detail/main.d.ts +0 -1
- package/es/data-grid/modules/master-detail/main.js +0 -1
- package/es/data-grid/modules/master-detail/masterDetail/detailCellRenderer.d.ts +0 -14
- package/es/data-grid/modules/master-detail/masterDetail/detailCellRenderer.js +0 -144
- package/es/data-grid/modules/master-detail/masterDetail/detailCellRendererCtrl.d.ts +0 -19
- package/es/data-grid/modules/master-detail/masterDetail/detailCellRendererCtrl.js +0 -203
- package/es/data-grid/modules/master-detail/masterDetailModule.d.ts +0 -2
- package/es/data-grid/modules/master-detail/masterDetailModule.js +0 -18
- package/es/data-grid/modules/master-detail/version.d.ts +0 -1
- package/es/data-grid/modules/master-detail/version.js +0 -2
- package/es/data-grid/modules/menu/main.d.ts +0 -1
- package/es/data-grid/modules/menu/main.js +0 -1
- package/es/data-grid/modules/menu/menu/chartMenuItemMapper.d.ts +0 -13
- package/es/data-grid/modules/menu/menu/chartMenuItemMapper.js +0 -351
- package/es/data-grid/modules/menu/menu/contextMenu.d.ts +0 -13
- package/es/data-grid/modules/menu/menu/contextMenu.js +0 -267
- package/es/data-grid/modules/menu/menu/enterpriseMenu.d.ts +0 -66
- package/es/data-grid/modules/menu/menu/enterpriseMenu.js +0 -592
- package/es/data-grid/modules/menu/menu/menuItemMapper.d.ts +0 -13
- package/es/data-grid/modules/menu/menu/menuItemMapper.js +0 -328
- package/es/data-grid/modules/menu/menuModule.d.ts +0 -2
- package/es/data-grid/modules/menu/menuModule.js +0 -12
- package/es/data-grid/modules/menu/version.d.ts +0 -1
- package/es/data-grid/modules/menu/version.js +0 -2
- package/es/data-grid/modules/row-grouping/main.d.ts +0 -4
- package/es/data-grid/modules/row-grouping/main.js +0 -4
- package/es/data-grid/modules/row-grouping/rowGrouping/aggFuncService.d.ts +0 -23
- package/es/data-grid/modules/row-grouping/rowGrouping/aggFuncService.js +0 -250
- package/es/data-grid/modules/row-grouping/rowGrouping/aggregationStage.d.ts +0 -22
- package/es/data-grid/modules/row-grouping/rowGrouping/aggregationStage.js +0 -285
- package/es/data-grid/modules/row-grouping/rowGrouping/batchRemover.d.ts +0 -12
- package/es/data-grid/modules/row-grouping/rowGrouping/batchRemover.js +0 -77
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/baseDropZonePanel.d.ts +0 -75
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/baseDropZonePanel.js +0 -516
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/dropZoneColumnComp.d.ts +0 -40
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/dropZoneColumnComp.js +0 -367
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/gridHeaderDropZones.d.ts +0 -11
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/gridHeaderDropZones.js +0 -85
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/pivotDropZonePanel.d.ts +0 -17
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/pivotDropZonePanel.js +0 -139
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/rowGroupDropZonePanel.d.ts +0 -15
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/rowGroupDropZonePanel.js +0 -105
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/valueDropZonePanel.d.ts +0 -15
- package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/valueDropZonePanel.js +0 -105
- package/es/data-grid/modules/row-grouping/rowGrouping/filterAggregatesStage.d.ts +0 -9
- package/es/data-grid/modules/row-grouping/rowGrouping/filterAggregatesStage.js +0 -136
- package/es/data-grid/modules/row-grouping/rowGrouping/groupFilter/groupFilter.d.ts +0 -39
- package/es/data-grid/modules/row-grouping/rowGrouping/groupFilter/groupFilter.js +0 -319
- package/es/data-grid/modules/row-grouping/rowGrouping/groupFilter/groupFloatingFilter.d.ts +0 -23
- package/es/data-grid/modules/row-grouping/rowGrouping/groupFilter/groupFloatingFilter.js +0 -163
- package/es/data-grid/modules/row-grouping/rowGrouping/groupStage.d.ts +0 -48
- package/es/data-grid/modules/row-grouping/rowGrouping/groupStage.js +0 -740
- package/es/data-grid/modules/row-grouping/rowGrouping/pivotColDefService.d.ts +0 -24
- package/es/data-grid/modules/row-grouping/rowGrouping/pivotColDefService.js +0 -396
- package/es/data-grid/modules/row-grouping/rowGrouping/pivotStage.d.ts +0 -19
- package/es/data-grid/modules/row-grouping/rowGrouping/pivotStage.js +0 -182
- package/es/data-grid/modules/row-grouping/rowGroupingModule.d.ts +0 -2
- package/es/data-grid/modules/row-grouping/rowGroupingModule.js +0 -28
- package/es/data-grid/modules/row-grouping/version.d.ts +0 -1
- package/es/data-grid/modules/row-grouping/version.js +0 -2
- package/es/data-grid/modules/side-bar/main.d.ts +0 -2
- package/es/data-grid/modules/side-bar/main.js +0 -2
- package/es/data-grid/modules/side-bar/sideBar/common/toolPanelColDefService.d.ts +0 -11
- package/es/data-grid/modules/side-bar/sideBar/common/toolPanelColDefService.js +0 -216
- package/es/data-grid/modules/side-bar/sideBar/horizontalResizeComp.d.ts +0 -19
- package/es/data-grid/modules/side-bar/sideBar/horizontalResizeComp.js +0 -108
- package/es/data-grid/modules/side-bar/sideBar/sideBarButtonComp.d.ts +0 -16
- package/es/data-grid/modules/side-bar/sideBar/sideBarButtonComp.js +0 -84
- package/es/data-grid/modules/side-bar/sideBar/sideBarButtonsComp.d.ts +0 -18
- package/es/data-grid/modules/side-bar/sideBar/sideBarButtonsComp.js +0 -89
- package/es/data-grid/modules/side-bar/sideBar/sideBarComp.d.ts +0 -28
- package/es/data-grid/modules/side-bar/sideBar/sideBarComp.js +0 -325
- package/es/data-grid/modules/side-bar/sideBar/sideBarDefParser.d.ts +0 -10
- package/es/data-grid/modules/side-bar/sideBar/sideBarDefParser.js +0 -95
- package/es/data-grid/modules/side-bar/sideBar/toolPanelWrapper.d.ts +0 -17
- package/es/data-grid/modules/side-bar/sideBar/toolPanelWrapper.js +0 -103
- package/es/data-grid/modules/side-bar/sideBarModule.d.ts +0 -2
- package/es/data-grid/modules/side-bar/sideBarModule.js +0 -22
- package/es/data-grid/modules/side-bar/version.d.ts +0 -1
- package/es/data-grid/modules/side-bar/version.js +0 -2
package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/rowGroupDropZonePanel.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
7
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
8
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
9
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
10
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
12
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
16
|
-
var __decorate = this && this.__decorate || function (decorators, target, key, desc) {
|
|
17
|
-
var c = arguments.length,
|
|
18
|
-
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
19
|
-
d;
|
|
20
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
import { _, Autowired, DragAndDropService, Events, PostConstruct } from "@ag-grid-community/core";
|
|
24
|
-
import { BaseDropZonePanel } from "./baseDropZonePanel";
|
|
25
|
-
export var RowGroupDropZonePanel = /*#__PURE__*/function (_BaseDropZonePanel) {
|
|
26
|
-
_inherits(RowGroupDropZonePanel, _BaseDropZonePanel);
|
|
27
|
-
var _super = _createSuper(RowGroupDropZonePanel);
|
|
28
|
-
function RowGroupDropZonePanel(horizontal) {
|
|
29
|
-
_classCallCheck(this, RowGroupDropZonePanel);
|
|
30
|
-
return _super.call(this, horizontal, 'rowGroup');
|
|
31
|
-
}
|
|
32
|
-
_createClass(RowGroupDropZonePanel, [{
|
|
33
|
-
key: "passBeansUp",
|
|
34
|
-
value: function passBeansUp() {
|
|
35
|
-
_get(_getPrototypeOf(RowGroupDropZonePanel.prototype), "setBeans", this).call(this, {
|
|
36
|
-
gridOptionsService: this.gridOptionsService,
|
|
37
|
-
eventService: this.eventService,
|
|
38
|
-
context: this.getContext(),
|
|
39
|
-
loggerFactory: this.loggerFactory,
|
|
40
|
-
dragAndDropService: this.dragAndDropService
|
|
41
|
-
});
|
|
42
|
-
var localeTextFunc = this.localeService.getLocaleTextFunc();
|
|
43
|
-
var emptyMessage = localeTextFunc('rowGroupColumnsEmptyMessage', 'Drag here to set row groups');
|
|
44
|
-
var title = localeTextFunc('groups', 'Row Groups');
|
|
45
|
-
_get(_getPrototypeOf(RowGroupDropZonePanel.prototype), "init", this).call(this, {
|
|
46
|
-
dragAndDropIcon: DragAndDropService.ICON_GROUP,
|
|
47
|
-
icon: _.createIconNoSpan('rowGroupPanel', this.gridOptionsService, null),
|
|
48
|
-
emptyMessage: emptyMessage,
|
|
49
|
-
title: title
|
|
50
|
-
});
|
|
51
|
-
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.refreshGui.bind(this));
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
key: "getAriaLabel",
|
|
55
|
-
value: function getAriaLabel() {
|
|
56
|
-
var translate = this.localeService.getLocaleTextFunc();
|
|
57
|
-
var label = translate('ariaRowGroupDropZonePanelLabel', 'Row Groups');
|
|
58
|
-
return label;
|
|
59
|
-
}
|
|
60
|
-
}, {
|
|
61
|
-
key: "getTooltipParams",
|
|
62
|
-
value: function getTooltipParams() {
|
|
63
|
-
var res = _get(_getPrototypeOf(RowGroupDropZonePanel.prototype), "getTooltipParams", this).call(this);
|
|
64
|
-
res.location = 'rowGroupColumnsList';
|
|
65
|
-
return res;
|
|
66
|
-
}
|
|
67
|
-
}, {
|
|
68
|
-
key: "isColumnDroppable",
|
|
69
|
-
value: function isColumnDroppable(column) {
|
|
70
|
-
// we never allow grouping of secondary columns
|
|
71
|
-
if (this.gridOptionsService.is('functionsReadOnly') || !column.isPrimary()) {
|
|
72
|
-
return false;
|
|
73
|
-
}
|
|
74
|
-
return column.isAllowRowGroup() && !column.isRowGroupActive();
|
|
75
|
-
}
|
|
76
|
-
}, {
|
|
77
|
-
key: "updateColumns",
|
|
78
|
-
value: function updateColumns(columns) {
|
|
79
|
-
if (this.gridOptionsService.is('functionsPassive')) {
|
|
80
|
-
var event = {
|
|
81
|
-
type: Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST,
|
|
82
|
-
columns: columns
|
|
83
|
-
};
|
|
84
|
-
this.eventService.dispatchEvent(event);
|
|
85
|
-
} else {
|
|
86
|
-
this.columnModel.setRowGroupColumns(columns, "toolPanelUi");
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}, {
|
|
90
|
-
key: "getIconName",
|
|
91
|
-
value: function getIconName() {
|
|
92
|
-
return this.isPotentialDndColumns() ? DragAndDropService.ICON_GROUP : DragAndDropService.ICON_NOT_ALLOWED;
|
|
93
|
-
}
|
|
94
|
-
}, {
|
|
95
|
-
key: "getExistingColumns",
|
|
96
|
-
value: function getExistingColumns() {
|
|
97
|
-
return this.columnModel.getRowGroupColumns();
|
|
98
|
-
}
|
|
99
|
-
}]);
|
|
100
|
-
return RowGroupDropZonePanel;
|
|
101
|
-
}(BaseDropZonePanel);
|
|
102
|
-
__decorate([Autowired('columnModel')], RowGroupDropZonePanel.prototype, "columnModel", void 0);
|
|
103
|
-
__decorate([Autowired('loggerFactory')], RowGroupDropZonePanel.prototype, "loggerFactory", void 0);
|
|
104
|
-
__decorate([Autowired('dragAndDropService')], RowGroupDropZonePanel.prototype, "dragAndDropService", void 0);
|
|
105
|
-
__decorate([PostConstruct], RowGroupDropZonePanel.prototype, "passBeansUp", null);
|
package/es/data-grid/modules/row-grouping/rowGrouping/columnDropZones/valueDropZonePanel.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Column, ITooltipParams, WithoutGridCommon } from "@ag-grid-community/core";
|
|
2
|
-
import { BaseDropZonePanel } from "./baseDropZonePanel";
|
|
3
|
-
export declare class ValuesDropZonePanel extends BaseDropZonePanel {
|
|
4
|
-
private columnModel;
|
|
5
|
-
private loggerFactory;
|
|
6
|
-
private dragAndDropService;
|
|
7
|
-
constructor(horizontal: boolean);
|
|
8
|
-
private passBeansUp;
|
|
9
|
-
protected getAriaLabel(): string;
|
|
10
|
-
getTooltipParams(): WithoutGridCommon<ITooltipParams>;
|
|
11
|
-
protected getIconName(): string;
|
|
12
|
-
protected isColumnDroppable(column: Column): boolean;
|
|
13
|
-
protected updateColumns(columns: Column[]): void;
|
|
14
|
-
protected getExistingColumns(): Column[];
|
|
15
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
7
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
8
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
9
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
10
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
12
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
16
|
-
var __decorate = this && this.__decorate || function (decorators, target, key, desc) {
|
|
17
|
-
var c = arguments.length,
|
|
18
|
-
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
19
|
-
d;
|
|
20
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
import { _, Autowired, DragAndDropService, Events, PostConstruct } from "@ag-grid-community/core";
|
|
24
|
-
import { BaseDropZonePanel } from "./baseDropZonePanel";
|
|
25
|
-
export var ValuesDropZonePanel = /*#__PURE__*/function (_BaseDropZonePanel) {
|
|
26
|
-
_inherits(ValuesDropZonePanel, _BaseDropZonePanel);
|
|
27
|
-
var _super = _createSuper(ValuesDropZonePanel);
|
|
28
|
-
function ValuesDropZonePanel(horizontal) {
|
|
29
|
-
_classCallCheck(this, ValuesDropZonePanel);
|
|
30
|
-
return _super.call(this, horizontal, 'aggregation');
|
|
31
|
-
}
|
|
32
|
-
_createClass(ValuesDropZonePanel, [{
|
|
33
|
-
key: "passBeansUp",
|
|
34
|
-
value: function passBeansUp() {
|
|
35
|
-
_get(_getPrototypeOf(ValuesDropZonePanel.prototype), "setBeans", this).call(this, {
|
|
36
|
-
gridOptionsService: this.gridOptionsService,
|
|
37
|
-
eventService: this.eventService,
|
|
38
|
-
context: this.getContext(),
|
|
39
|
-
loggerFactory: this.loggerFactory,
|
|
40
|
-
dragAndDropService: this.dragAndDropService
|
|
41
|
-
});
|
|
42
|
-
var localeTextFunc = this.localeService.getLocaleTextFunc();
|
|
43
|
-
var emptyMessage = localeTextFunc('valueColumnsEmptyMessage', 'Drag here to aggregate');
|
|
44
|
-
var title = localeTextFunc('values', 'Values');
|
|
45
|
-
_get(_getPrototypeOf(ValuesDropZonePanel.prototype), "init", this).call(this, {
|
|
46
|
-
dragAndDropIcon: DragAndDropService.ICON_AGGREGATE,
|
|
47
|
-
icon: _.createIconNoSpan('valuePanel', this.gridOptionsService, null),
|
|
48
|
-
emptyMessage: emptyMessage,
|
|
49
|
-
title: title
|
|
50
|
-
});
|
|
51
|
-
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VALUE_CHANGED, this.refreshGui.bind(this));
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
key: "getAriaLabel",
|
|
55
|
-
value: function getAriaLabel() {
|
|
56
|
-
var translate = this.localeService.getLocaleTextFunc();
|
|
57
|
-
var label = translate('ariaValuesDropZonePanelLabel', 'Values');
|
|
58
|
-
return label;
|
|
59
|
-
}
|
|
60
|
-
}, {
|
|
61
|
-
key: "getTooltipParams",
|
|
62
|
-
value: function getTooltipParams() {
|
|
63
|
-
var res = _get(_getPrototypeOf(ValuesDropZonePanel.prototype), "getTooltipParams", this).call(this);
|
|
64
|
-
res.location = 'valueColumnsList';
|
|
65
|
-
return res;
|
|
66
|
-
}
|
|
67
|
-
}, {
|
|
68
|
-
key: "getIconName",
|
|
69
|
-
value: function getIconName() {
|
|
70
|
-
return this.isPotentialDndColumns() ? DragAndDropService.ICON_AGGREGATE : DragAndDropService.ICON_NOT_ALLOWED;
|
|
71
|
-
}
|
|
72
|
-
}, {
|
|
73
|
-
key: "isColumnDroppable",
|
|
74
|
-
value: function isColumnDroppable(column) {
|
|
75
|
-
// we never allow grouping of secondary columns
|
|
76
|
-
if (this.gridOptionsService.is('functionsReadOnly') || !column.isPrimary()) {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
return column.isAllowValue() && !column.isValueActive();
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
key: "updateColumns",
|
|
83
|
-
value: function updateColumns(columns) {
|
|
84
|
-
if (this.gridOptionsService.is('functionsPassive')) {
|
|
85
|
-
var event = {
|
|
86
|
-
type: Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST,
|
|
87
|
-
columns: columns
|
|
88
|
-
};
|
|
89
|
-
this.eventService.dispatchEvent(event);
|
|
90
|
-
} else {
|
|
91
|
-
this.columnModel.setValueColumns(columns, "toolPanelUi");
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}, {
|
|
95
|
-
key: "getExistingColumns",
|
|
96
|
-
value: function getExistingColumns() {
|
|
97
|
-
return this.columnModel.getValueColumns();
|
|
98
|
-
}
|
|
99
|
-
}]);
|
|
100
|
-
return ValuesDropZonePanel;
|
|
101
|
-
}(BaseDropZonePanel);
|
|
102
|
-
__decorate([Autowired('columnModel')], ValuesDropZonePanel.prototype, "columnModel", void 0);
|
|
103
|
-
__decorate([Autowired('loggerFactory')], ValuesDropZonePanel.prototype, "loggerFactory", void 0);
|
|
104
|
-
__decorate([Autowired('dragAndDropService')], ValuesDropZonePanel.prototype, "dragAndDropService", void 0);
|
|
105
|
-
__decorate([PostConstruct], ValuesDropZonePanel.prototype, "passBeansUp", null);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IRowNodeStage, StageExecuteParams, BeanStub } from "@ag-grid-community/core";
|
|
2
|
-
export declare class FilterAggregatesStage extends BeanStub implements IRowNodeStage {
|
|
3
|
-
private filterManager;
|
|
4
|
-
private columnModel;
|
|
5
|
-
execute(params: StageExecuteParams): void;
|
|
6
|
-
private setAllChildrenCountTreeData;
|
|
7
|
-
private setAllChildrenCountGridGrouping;
|
|
8
|
-
private setAllChildrenCount;
|
|
9
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
7
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
8
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
10
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
13
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
-
var __decorate = this && this.__decorate || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length,
|
|
16
|
-
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
17
|
-
d;
|
|
18
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
-
};
|
|
21
|
-
import { Autowired, Bean, BeanStub } from "@ag-grid-community/core";
|
|
22
|
-
var FilterAggregatesStage = /*#__PURE__*/function (_BeanStub) {
|
|
23
|
-
_inherits(FilterAggregatesStage, _BeanStub);
|
|
24
|
-
var _super = _createSuper(FilterAggregatesStage);
|
|
25
|
-
function FilterAggregatesStage() {
|
|
26
|
-
_classCallCheck(this, FilterAggregatesStage);
|
|
27
|
-
return _super.apply(this, arguments);
|
|
28
|
-
}
|
|
29
|
-
_createClass(FilterAggregatesStage, [{
|
|
30
|
-
key: "execute",
|
|
31
|
-
value: function execute(params) {
|
|
32
|
-
var _this = this;
|
|
33
|
-
var isPivotMode = this.columnModel.isPivotMode();
|
|
34
|
-
var isAggFilterActive = this.filterManager.isAggregateFilterPresent();
|
|
35
|
-
// This is the default filter for applying only to leaf nodes, realistically this should not apply as primary agg columns,
|
|
36
|
-
// should not be applied by the filterManager if getGroupAggFiltering is missing. Predicate will apply filters to leaf level.
|
|
37
|
-
var defaultPrimaryColumnPredicate = function defaultPrimaryColumnPredicate(params) {
|
|
38
|
-
return !params.node.group;
|
|
39
|
-
};
|
|
40
|
-
// Default secondary column predicate, selecting only leaf level groups.
|
|
41
|
-
var defaultSecondaryColumnPredicate = function defaultSecondaryColumnPredicate(params) {
|
|
42
|
-
return params.node.leafGroup;
|
|
43
|
-
};
|
|
44
|
-
// The predicate to determine whether filters should apply to this row. Either defined by the user in groupAggFiltering or a default depending
|
|
45
|
-
// on current pivot mode status.
|
|
46
|
-
var applyFilterToNode = this.gridOptionsService.getGroupAggFiltering() || (isPivotMode ? defaultSecondaryColumnPredicate : defaultPrimaryColumnPredicate);
|
|
47
|
-
var changedPath = params.changedPath;
|
|
48
|
-
var preserveChildren = function preserveChildren(node) {
|
|
49
|
-
var recursive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
50
|
-
if (node.childrenAfterFilter) {
|
|
51
|
-
node.childrenAfterAggFilter = node.childrenAfterFilter;
|
|
52
|
-
if (recursive) {
|
|
53
|
-
node.childrenAfterAggFilter.forEach(function (child) {
|
|
54
|
-
return preserveChildren(child, recursive);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
_this.setAllChildrenCount(node);
|
|
58
|
-
}
|
|
59
|
-
if (node.sibling) {
|
|
60
|
-
node.sibling.childrenAfterAggFilter = node.childrenAfterAggFilter;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var filterChildren = function filterChildren(node) {
|
|
64
|
-
var _a;
|
|
65
|
-
node.childrenAfterAggFilter = ((_a = node.childrenAfterFilter) === null || _a === void 0 ? void 0 : _a.filter(function (child) {
|
|
66
|
-
var _a;
|
|
67
|
-
var shouldFilterRow = applyFilterToNode({
|
|
68
|
-
node: child
|
|
69
|
-
});
|
|
70
|
-
if (shouldFilterRow) {
|
|
71
|
-
var doesNodePassFilter = _this.filterManager.doesRowPassAggregateFilters({
|
|
72
|
-
rowNode: child
|
|
73
|
-
});
|
|
74
|
-
if (doesNodePassFilter) {
|
|
75
|
-
// Node has passed, so preserve children
|
|
76
|
-
preserveChildren(child, true);
|
|
77
|
-
return true;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
var hasChildPassed = (_a = child.childrenAfterAggFilter) === null || _a === void 0 ? void 0 : _a.length;
|
|
81
|
-
return hasChildPassed;
|
|
82
|
-
})) || null;
|
|
83
|
-
_this.setAllChildrenCount(node);
|
|
84
|
-
if (node.sibling) {
|
|
85
|
-
node.sibling.childrenAfterAggFilter = node.childrenAfterAggFilter;
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
changedPath.forEachChangedNodeDepthFirst(isAggFilterActive ? filterChildren : preserveChildren, true);
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
key: "setAllChildrenCountTreeData",
|
|
92
|
-
value: function setAllChildrenCountTreeData(rowNode) {
|
|
93
|
-
// for tree data, we include all children, groups and leafs
|
|
94
|
-
var allChildrenCount = 0;
|
|
95
|
-
rowNode.childrenAfterAggFilter.forEach(function (child) {
|
|
96
|
-
// include child itself
|
|
97
|
-
allChildrenCount++;
|
|
98
|
-
// include children of children
|
|
99
|
-
allChildrenCount += child.allChildrenCount;
|
|
100
|
-
});
|
|
101
|
-
rowNode.setAllChildrenCount(allChildrenCount);
|
|
102
|
-
}
|
|
103
|
-
}, {
|
|
104
|
-
key: "setAllChildrenCountGridGrouping",
|
|
105
|
-
value: function setAllChildrenCountGridGrouping(rowNode) {
|
|
106
|
-
// for grid data, we only count the leafs
|
|
107
|
-
var allChildrenCount = 0;
|
|
108
|
-
rowNode.childrenAfterAggFilter.forEach(function (child) {
|
|
109
|
-
if (child.group) {
|
|
110
|
-
allChildrenCount += child.allChildrenCount;
|
|
111
|
-
} else {
|
|
112
|
-
allChildrenCount++;
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
rowNode.setAllChildrenCount(allChildrenCount);
|
|
116
|
-
}
|
|
117
|
-
}, {
|
|
118
|
-
key: "setAllChildrenCount",
|
|
119
|
-
value: function setAllChildrenCount(rowNode) {
|
|
120
|
-
if (!rowNode.hasChildren()) {
|
|
121
|
-
rowNode.setAllChildrenCount(null);
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
if (this.gridOptionsService.isTreeData()) {
|
|
125
|
-
this.setAllChildrenCountTreeData(rowNode);
|
|
126
|
-
} else {
|
|
127
|
-
this.setAllChildrenCountGridGrouping(rowNode);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}]);
|
|
131
|
-
return FilterAggregatesStage;
|
|
132
|
-
}(BeanStub);
|
|
133
|
-
__decorate([Autowired('filterManager')], FilterAggregatesStage.prototype, "filterManager", void 0);
|
|
134
|
-
__decorate([Autowired('columnModel')], FilterAggregatesStage.prototype, "columnModel", void 0);
|
|
135
|
-
FilterAggregatesStage = __decorate([Bean('filterAggregatesStage')], FilterAggregatesStage);
|
|
136
|
-
export { FilterAggregatesStage };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { AgPromise, Column, IAfterGuiAttachedParams, IFilterComp, IFilterParams, TabGuardComp } from '@ag-grid-community/core';
|
|
2
|
-
export declare class GroupFilter extends TabGuardComp implements IFilterComp {
|
|
3
|
-
static EVENT_COLUMN_ROW_GROUP_CHANGED: string;
|
|
4
|
-
static EVENT_SELECTED_COLUMN_CHANGED: string;
|
|
5
|
-
private readonly filterManager;
|
|
6
|
-
private readonly columnModel;
|
|
7
|
-
private readonly eGroupField;
|
|
8
|
-
private readonly eUnderlyingFilter;
|
|
9
|
-
private params;
|
|
10
|
-
private groupColumn;
|
|
11
|
-
private selectedColumn;
|
|
12
|
-
private selectedFilter;
|
|
13
|
-
private filterColumnPairs;
|
|
14
|
-
private eGroupFieldSelect;
|
|
15
|
-
private afterGuiAttachedParams;
|
|
16
|
-
constructor();
|
|
17
|
-
private postConstruct;
|
|
18
|
-
init(params: IFilterParams): AgPromise<void>;
|
|
19
|
-
private validateParams;
|
|
20
|
-
private updateGroups;
|
|
21
|
-
private getSourceColumns;
|
|
22
|
-
private updateGroupField;
|
|
23
|
-
private createGroupFieldSelectElement;
|
|
24
|
-
private getUnderlyingFilters;
|
|
25
|
-
private addUnderlyingFilterElement;
|
|
26
|
-
private updateSelectedColumn;
|
|
27
|
-
isFilterActive(): boolean;
|
|
28
|
-
doesFilterPass(): boolean;
|
|
29
|
-
getModel(): null;
|
|
30
|
-
setModel(): AgPromise<void>;
|
|
31
|
-
afterGuiAttached(params?: IAfterGuiAttachedParams): void;
|
|
32
|
-
afterGuiDetached(): void;
|
|
33
|
-
private onColumnRowGroupChanged;
|
|
34
|
-
private getFilterColumnPair;
|
|
35
|
-
getSelectedFilter(): IFilterComp | undefined;
|
|
36
|
-
getSelectedColumn(): Column | undefined;
|
|
37
|
-
isFilterAllowed(): boolean;
|
|
38
|
-
destroy(): void;
|
|
39
|
-
}
|