igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
62 lines (61 loc) • 2.27 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 { LegendBase } from "./LegendBase";
import { LegendBaseView } from "./LegendBaseView";
import { fromEn, delegateCombine, markType } from "igniteui-angular-core";
import { FinancialLegendViewManager } from "./FinancialLegendViewManager";
/**
* @hidden
*/
export let FinancialLegend = /*@__PURE__*/ (() => {
class FinancialLegend extends LegendBase {
constructor() {
super();
this.ab = FinancialLegend.$;
let a = this.at;
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
if (b.oldItems != null) {
for (let c of fromEn(b.oldItems)) {
this.bb.ao(c);
}
}
if (b.newItems != null) {
for (let d of fromEn(b.newItems)) {
this.bb.y(d);
}
}
});
}
aj() {
return new FinancialLegendView(this);
}
get bb() {
return this.ak;
}
addChildInOrder(a, b) {
this.at.add(a);
}
get_isFinancial() {
return true;
}
}
FinancialLegend.$t = markType(FinancialLegend, 'FinancialLegend', LegendBase.$);
return FinancialLegend;
})();
/**
* @hidden
*/
export let FinancialLegendView = /*@__PURE__*/ (() => {
class FinancialLegendView extends LegendBaseView {
constructor(a) {
super(a);
this.d = new FinancialLegendViewManager(this);
}
}
FinancialLegendView.$t = markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
return FinancialLegendView;
})();