igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
46 lines (45 loc) • 1.59 kB
JavaScript
import { FormatSpecifier as FormatSpecifier_internal } from "./FormatSpecifier";
var IgxFormatSpecifier = /** @class */ /*@__PURE__*/ (function () {
function IgxFormatSpecifier() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxFormatSpecifier.prototype.createImplementation = function () {
return new FormatSpecifier_internal();
};
Object.defineProperty(IgxFormatSpecifier.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxFormatSpecifier.prototype.onImplementationCreated = function () {
};
IgxFormatSpecifier.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
IgxFormatSpecifier.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
IgxFormatSpecifier.prototype.getLocalCulture = function () {
var iv = this.i.getLocalCulture();
return (iv);
};
return IgxFormatSpecifier;
}());
export { IgxFormatSpecifier };