UNPKG

igniteui-react-core

Version:
50 lines (49 loc) 1.72 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 { JsonDictionaryItem } from "./JsonDictionaryItem"; import { markType } from "./type"; /** * @hidden */ export let JsonDictionaryValue = /*@__PURE__*/ (() => { class JsonDictionaryValue extends JsonDictionaryItem { constructor() { super(); this._value = null; this.e = 0; } get value() { return this._value; } set value(a) { this._value = a; } d(a) { switch (this.e) { case 1: if (this.value) { a.i("true"); } else { a.i("false"); } break; case 3: a.i("null"); break; case 0: a.i(this.value.toString()); break; case 2: a.i("\"" + this.a(this.value) + "\""); break; } } } JsonDictionaryValue.$t = /*@__PURE__*/ markType(JsonDictionaryValue, 'JsonDictionaryValue', JsonDictionaryItem.$); return JsonDictionaryValue; })();