UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

60 lines (59 loc) 2.25 kB
/* 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 { List$1 } from "./List$1"; import { StockPricePoint } from "./StockPricePoint"; import { markType } from "./type"; import { stringIsNullOrEmpty } from "./string"; /** * @hidden */ var StockPriceHistory = /** @class */ /*@__PURE__*/ (function (_super) { __extends(StockPriceHistory, _super); function StockPriceHistory() { var _this = _super.call(this, StockPricePoint.$, 0) || this; _this._symbol = null; _this._company = null; _this.symbol = ""; _this.company = ""; return _this; } Object.defineProperty(StockPriceHistory.prototype, "title", { get: function () { var a = stringIsNullOrEmpty(this.company) ? "" : " - " + this.company; return this.symbol + a; }, enumerable: false, configurable: true }); Object.defineProperty(StockPriceHistory.prototype, "symbol", { get: function () { return this._symbol; }, set: function (a) { this._symbol = a; }, enumerable: false, configurable: true }); Object.defineProperty(StockPriceHistory.prototype, "company", { get: function () { return this._company; }, set: function (a) { this._company = a; }, enumerable: false, configurable: true }); StockPriceHistory.prototype.toString = function () { return this.symbol; }; StockPriceHistory.$t = markType(StockPriceHistory, 'StockPriceHistory', List$1.$.specialize(StockPricePoint.$)); return StockPriceHistory; }(List$1)); export { StockPriceHistory };