UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

77 lines (76 loc) 2.87 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { __extends } from "tslib"; import { GridToolbarContent } from "./GridToolbarContent"; import { WCNativeHelper } from "igniteui-react"; import { markType } from "igniteui-react-core"; import { GridToolbarBaseActionCollection } from "./GridToolbarBaseActionCollection"; /** * @hidden */ var GridToolbarActions = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GridToolbarActions, _super); function GridToolbarActions() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.d = new WCNativeHelper(); _this.f = null; _this.b = null; return _this; } Object.defineProperty(GridToolbarActions.prototype, "e", { get: function () { return this.d; }, enumerable: false, configurable: true }); Object.defineProperty(GridToolbarActions.prototype, "nativeElement", { get: function () { return this.f; }, set: function (a) { this.f = a; this.d.o = this.f; }, enumerable: false, configurable: true }); GridToolbarActions.prototype.setNativeElement = function (a) { this.nativeElement = a; }; Object.defineProperty(GridToolbarActions.prototype, "c", { get: function () { if (this.b == null) { this.b = this.e.l("actions", function (a) { return new GridToolbarBaseActionCollection(); }, null, ["GridToolbarHiding", "GridToolbarPinning", "GridToolbarExporter", "GridToolbarAdvancedFiltering"]); } return this.b; }, enumerable: false, configurable: true }); GridToolbarActions.prototype.get_a = function () { var ret_ = this.e.n("name"); return ret_; }; GridToolbarActions.prototype.set_a = function (a) { var value_ = a; this.e.w("name", value_); }; Object.defineProperty(GridToolbarActions.prototype, "a", { get: function () { return this.get_a(); }, set: function (a) { this.set_a(a); }, enumerable: false, configurable: true }); GridToolbarActions.$t = markType(GridToolbarActions, 'GridToolbarActions', GridToolbarContent.$); return GridToolbarActions; }(GridToolbarContent)); export { GridToolbarActions };