igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
31 lines (30 loc) • 1.25 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 { Base, Type, Delegate_$type, markType, getInstanceType } from "igniteui-react-core";
import { Dictionary$2 } from "igniteui-react-core";
/**
* @hidden
*/
export let MessageHandler = /*@__PURE__*/ (() => {
class MessageHandler extends Base {
constructor() {
super(...arguments);
this.a = new Dictionary$2(Type.$, Delegate_$type, 0);
}
b(a, b) {
this.a.addItem(a, b);
}
c(a) {
let b;
if (((() => { let c = this.a.tryGetValue(getInstanceType(a), b); b = c.p1; return c.ret; })())) {
b(a);
}
}
}
MessageHandler.$t = /*@__PURE__*/ markType(MessageHandler, 'MessageHandler');
return MessageHandler;
})();