igniteui-react-grids
Version:
Ignite UI React grid components.
59 lines (58 loc) • 2.27 kB
JavaScript
import { ComponentArrayDataValueChangedEventArgs as ComponentArrayDataValueChangedEventArgs_internal } from "./ComponentArrayDataValueChangedEventArgs";
var IgrComponentArrayDataValueChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrComponentArrayDataValueChangedEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrComponentArrayDataValueChangedEventArgs.prototype.createImplementation = function () {
return new ComponentArrayDataValueChangedEventArgs_internal();
};
Object.defineProperty(IgrComponentArrayDataValueChangedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrComponentArrayDataValueChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrComponentArrayDataValueChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgrComponentArrayDataValueChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrComponentArrayDataValueChangedEventArgs.prototype, "detail", {
get: function () {
return this.i.a;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.a = v;
},
enumerable: false,
configurable: true
});
return IgrComponentArrayDataValueChangedEventArgs;
}());
export { IgrComponentArrayDataValueChangedEventArgs };