igniteui-react-grids
Version:
Ignite UI React grid components.
100 lines (99 loc) • 3.62 kB
JavaScript
/*
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 { BaseElement } from "igniteui-react";
import { WCNativeHelper } from "igniteui-react";
import { markType } from "igniteui-react-core";
import { GridActionsBaseDirectiveCollection } from "./GridActionsBaseDirectiveCollection";
import { GridActionsBaseDirective } from "./GridActionsBaseDirective";
import { ActionStripResourceStrings } from "./ActionStripResourceStrings";
/**
* @hidden
*/
var ActionStrip = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(ActionStrip, _super);
function ActionStrip() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.c = new WCNativeHelper();
_this.f = null;
return _this;
}
Object.defineProperty(ActionStrip.prototype, "d", {
get: function () {
return this.c;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ActionStrip.prototype, "nativeElement", {
get: function () {
return this.f;
},
set: function (a) {
this.f = a;
this.c.o = this.f;
},
enumerable: false,
configurable: true
});
ActionStrip.prototype.setNativeElement = function (a) {
this.nativeElement = a;
};
Object.defineProperty(ActionStrip.prototype, "b", {
get: function () {
var ret_ = this.d.l("actionButtons", function (a) { return new GridActionsBaseDirectiveCollection(); }, function (a) { return new GridActionsBaseDirective(); }, ["GridActionsBaseDirective", "GridEditingActions", "GridPinningActions"]);
return ret_;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ActionStrip.prototype, "e", {
get: function () {
var ret_ = this.d.n("hidden");
return ret_;
},
set: function (a) {
var value_ = a;
this.d.w("hidden", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ActionStrip.prototype, "a", {
get: function () {
var ret_ = this.d.m("resourceStrings", function (a) { return new ActionStripResourceStrings(); });
return ret_;
},
set: function (a) {
var value_ = a;
this.d.w("resourceStrings", value_);
},
enumerable: false,
configurable: true
});
ActionStrip.prototype.k = function (a) {
this.nativeElement.show(this.d.i(a));
};
ActionStrip.prototype.i = function () {
this.nativeElement.hide();
};
Object.defineProperty(ActionStrip.prototype, "h", {
get: function () {
var ret_ = this.d.n("name");
return ret_;
},
set: function (a) {
var value_ = a;
this.d.w("name", value_);
},
enumerable: false,
configurable: true
});
ActionStrip.$t = markType(ActionStrip, 'ActionStrip', BaseElement.$);
return ActionStrip;
}(BaseElement));
export { ActionStrip };