igniteui-react-core
Version:
Ignite UI React Core.
46 lines (45 loc) • 1.65 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 { List$1 } from "./List$1";
import { StockPricePoint } from "./StockPricePoint";
import { markType } from "./type";
import { stringIsNullOrEmpty } from "./string";
/**
* @hidden
*/
export let StockPriceHistory = /*@__PURE__*/ (() => {
class StockPriceHistory extends List$1 {
constructor() {
super(StockPricePoint.$, 0);
this._symbol = null;
this._company = null;
this.symbol = "";
this.company = "";
}
get title() {
let a = stringIsNullOrEmpty(this.company) ? "" : " - " + this.company;
return this.symbol + a;
}
get symbol() {
return this._symbol;
}
set symbol(a) {
this._symbol = a;
}
get company() {
return this._company;
}
set company(a) {
this._company = a;
}
toString() {
return this.symbol;
}
}
StockPriceHistory.$t = /*@__PURE__*/ markType(StockPriceHistory, 'StockPriceHistory', /*@__PURE__*/ List$1.$.specialize(StockPricePoint.$));
return StockPriceHistory;
})();