igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
144 lines (143 loc) • 4.22 kB
JavaScript
import { AxisMatcher as AxisMatcher_internal } from "./AxisMatcher";
var IgrAxisMatcher = /** @class */ /*@__PURE__*/ (function () {
function IgrAxisMatcher() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrAxisMatcher.prototype.createImplementation = function () {
return new AxisMatcher_internal();
};
Object.defineProperty(IgrAxisMatcher.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrAxisMatcher.prototype.onImplementationCreated = function () {
};
IgrAxisMatcher.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrAxisMatcher.prototype, "name", {
/**
* If set, tries to match a Axis based on its name.
*/
get: function () {
return this.i.i;
},
set: function (v) {
this.i.i = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "title", {
/**
* If set, tries to match a Axis based on its title.
*/
get: function () {
return this.i.j;
},
set: function (v) {
this.i.j = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "index", {
/**
* If set, tries to match a Axis based on index
*/
get: function () {
return this.i.d;
},
set: function (v) {
this.i.d = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "memberPathType", {
/**
* Combined with MemberPath allows you to select a Axis by member path.
*/
get: function () {
return this.i.h;
},
set: function (v) {
this.i.h = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "memberPath", {
/**
* If set, tries to match a Axis based on a member path, combined with MemberPathType.
*/
get: function () {
return this.i.g;
},
set: function (v) {
this.i.g = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "axisType", {
/**
* If set, tries to match an Axis based on its type, to be used with the typed index, if desired.
*/
get: function () {
return this.i.f;
},
set: function (v) {
this.i.f = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAxisMatcher.prototype, "typedIndex", {
/**
* If set, indicates that the nth axis of a type should be used.
*/
get: function () {
return this.i.e;
},
set: function (v) {
this.i.e = +v;
},
enumerable: false,
configurable: true
});
IgrAxisMatcher.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
return IgrAxisMatcher;
}());
export { IgrAxisMatcher };