igniteui-react-core
Version:
Ignite UI React Core.
56 lines (55 loc) • 1.93 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 { __extends } from "tslib";
import { JsonDictionaryItem } from "./JsonDictionaryItem";
import { markType } from "./type";
/**
* @hidden
*/
var JsonDictionaryArray = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(JsonDictionaryArray, _super);
function JsonDictionaryArray() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this._items = null;
return _this;
}
Object.defineProperty(JsonDictionaryArray.prototype, "items", {
get: function () {
return this._items;
},
set: function (a) {
this._items = a;
},
enumerable: false,
configurable: true
});
JsonDictionaryArray.prototype.d = function (a) {
a.i("[");
a.h();
a.g();
if (this.items != null) {
for (var b = 0; b < this.items.length; b++) {
if (b > 0) {
a.j(",");
}
var c = this.items[b];
if (c == null) {
a.i("null");
}
else {
c.d(a);
}
}
}
a.h();
a.e();
a.i("]");
};
JsonDictionaryArray.$t = markType(JsonDictionaryArray, 'JsonDictionaryArray', JsonDictionaryItem.$);
return JsonDictionaryArray;
}(JsonDictionaryItem));
export { JsonDictionaryArray };