igniteui-react-core
Version:
Ignite UI React Core.
47 lines (46 loc) • 2.29 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 { CodeGeneratingComponentRendererHandlerEmitter } from "./CodeGeneratingComponentRendererHandlerEmitter";
import { markType } from "./type";
/**
* @hidden
*/
var DotNetCodeGeneratingComponentRendererHandlerEmitter = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(DotNetCodeGeneratingComponentRendererHandlerEmitter, _super);
function DotNetCodeGeneratingComponentRendererHandlerEmitter(a, b) {
return _super.call(this, a, b) || this;
}
DotNetCodeGeneratingComponentRendererHandlerEmitter.prototype.v = function (a, b) {
_super.prototype.v.call(this, a, b);
a.addUsing(b);
};
DotNetCodeGeneratingComponentRendererHandlerEmitter.prototype.t = function (a, b) {
_super.prototype.t.call(this, a, b);
if (b) {
this.g.l("await JS.InvokeVoidAsync(\"" + a + "\");");
}
else {
this.g.l("this." + a + "();");
}
};
DotNetCodeGeneratingComponentRendererHandlerEmitter.prototype.u = function (a, b) {
_super.prototype.u.call(this, a, b);
if (b) {
this.h.l("await JS.InvokeVoidAsync(\"" + a + "\");");
}
else {
this.h.l("this." + a + "();");
}
};
DotNetCodeGeneratingComponentRendererHandlerEmitter.prototype.q = function (a, b) {
return a;
};
DotNetCodeGeneratingComponentRendererHandlerEmitter.$t = markType(DotNetCodeGeneratingComponentRendererHandlerEmitter, 'DotNetCodeGeneratingComponentRendererHandlerEmitter', CodeGeneratingComponentRendererHandlerEmitter.$);
return DotNetCodeGeneratingComponentRendererHandlerEmitter;
}(CodeGeneratingComponentRendererHandlerEmitter));
export { DotNetCodeGeneratingComponentRendererHandlerEmitter };