@gisce/ooui 0.21.0 → 0.22.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Tree.d.ts CHANGED
@@ -20,6 +20,8 @@ declare class Tree {
20
20
  */
21
21
  _colors: string | null;
22
22
  get colors(): string | null;
23
+ _status: string | null;
24
+ get status(): string | null;
23
25
  /**
24
26
  * Editable value
25
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["Tree.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,UAAU,CAAC;AAK9B,aAAK,mBAAmB,GAAG,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC;AAEpD,cAAM,IAAI;IACR;;OAEG;IACH,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,MAAM,QAET;IAED,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAC1B,IAAI,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,CAExB;IAED,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;OAEG;IACH,KAAK,EAAE,MAAM,CAAU;IACvB,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;OAEG;IACH,SAAS,EAAE,mBAAmB,CAAQ;IACtC,IAAI,QAAQ,IAAI,mBAAmB,CAElC;gBAEW,MAAM,EAAE,MAAM;IAI1B,KAAK,CAAC,GAAG,EAAE,MAAM;IAkDjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAOpC;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["Tree.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,UAAU,CAAC;AAK9B,aAAK,mBAAmB,GAAG,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC;AAEpD,cAAM,IAAI;IACR;;OAEG;IACH,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,MAAM,QAET;IAED,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAC1B,IAAI,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,CAExB;IAED,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;OAEG;IACH,KAAK,EAAE,MAAM,CAAU;IACvB,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;OAEG;IACH,SAAS,EAAE,mBAAmB,CAAQ;IACtC,IAAI,QAAQ,IAAI,mBAAmB,CAElC;gBAEW,MAAM,EAAE,MAAM;IAI1B,KAAK,CAAC,GAAG,EAAE,MAAM;IAsDjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAOpC;AAED,eAAe,IAAI,CAAC"}
package/dist/ooui.es.js CHANGED
@@ -102,12 +102,12 @@ const Ci = ({
102
102
  default:
103
103
  return !1;
104
104
  }
105
- }, $ = (t) => Ti(t, { level: "xml" }), Ai = ({
105
+ }, q = (t) => Ti(t, { level: "xml" }), Ai = ({
106
106
  attrs: t,
107
107
  values: e,
108
108
  fields: r
109
109
  }) => {
110
- const u = t.replace(/\(/g, "[").replace(/\)/g, "]").replace(/\'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), f = $(u), g = JSON.parse(f), b = {};
110
+ const u = t.replace(/\(/g, "[").replace(/\)/g, "]").replace(/\'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), f = q(u), g = JSON.parse(f), b = {};
111
111
  for (const w of Object.keys(g))
112
112
  g[w].map((S) => Ci({ entry: S, values: e, fields: r })).every((S) => S === !0) && (b[w] = !0);
113
113
  return b;
@@ -125,7 +125,7 @@ const Ci = ({
125
125
  };
126
126
  class U extends Te {
127
127
  constructor(e) {
128
- super(e), this._id = "", this._label = "", this._nolabel = !1, this._required = !1, this._activated = !0, this._selectionValues = /* @__PURE__ */ new Map([]), this._activated = !0, e && (e.name && (this._id = e.name), e.activated && (this._activated = e.activated), e.string && (this._label = $(e.string)), e.help && (this._tooltip = $(e.help)), e.nolabel && (e.nolabel === "1" || typeof e.nolabel == "boolean" && e.nolabel === !0) && (this._nolabel = !0), e.required && (e.required === "1" || e.required === !0 || e.required === "True") && (this._required = !0), e.sum && (this._sum = e.sum), e.selection && (this._selectionValues = new Map(e.selection)));
128
+ super(e), this._id = "", this._label = "", this._nolabel = !1, this._required = !1, this._activated = !0, this._selectionValues = /* @__PURE__ */ new Map([]), this._activated = !0, e && (e.name && (this._id = e.name), e.activated && (this._activated = e.activated), e.string && (this._label = q(e.string)), e.help && (this._tooltip = q(e.help)), e.nolabel && (e.nolabel === "1" || typeof e.nolabel == "boolean" && e.nolabel === !0) && (this._nolabel = !0), e.required && (e.required === "1" || e.required === !0 || e.required === "True") && (this._required = !0), e.sum && (this._sum = e.sum), e.selection && (this._selectionValues = new Map(e.selection)));
129
129
  }
130
130
  get id() {
131
131
  return this._id;
@@ -303,7 +303,7 @@ const qe = class extends Te {
303
303
  qe._defaultColspan,
304
304
  this.readOnly,
305
305
  t && t.key
306
- ), t && (t.name && (this._id = t.name), t.colspan ? this._container.colspan = +t.colspan : this._mustExpand = !0, t.string && (this._label = $(t.string)));
306
+ ), t && (t.name && (this._id = t.name), t.colspan ? this._container.colspan = +t.colspan : this._mustExpand = !0, t.string && (this._label = q(t.string)));
307
307
  }
308
308
  get id() {
309
309
  return this._id;
@@ -397,7 +397,7 @@ class ki extends U {
397
397
  ...e,
398
398
  nolabel: (e == null ? void 0 : e.nolabel) !== void 0 ? e.nolabel : !0
399
399
  }), this._buttonType = "workflow", this._caption = "", this._confirmMessage = "", this._primary = !1, this._danger = !1, e) {
400
- if (e.string && (this._caption = $(e.string)), e.buttonType && (this._buttonType = e.buttonType), e.confirm && (this._confirmMessage = $(e.confirm)), e.special && e.special === "cancel" && (this._buttonType = "cancel"), e.icon && (this._icon = e.icon), e.primary) {
400
+ if (e.string && (this._caption = q(e.string)), e.buttonType && (this._buttonType = e.buttonType), e.confirm && (this._confirmMessage = q(e.confirm)), e.special && e.special === "cancel" && (this._buttonType = "cancel"), e.icon && (this._icon = e.icon), e.primary) {
401
401
  const r = e.primary;
402
402
  (r === "1" || r === 1 || r === !0) && (this._primary = !0);
403
403
  }
@@ -497,7 +497,7 @@ class wt extends U {
497
497
  class Ut extends U {
498
498
  constructor(e) {
499
499
  if (super(e), this._placeholder = "", this._mustExpand = !1, this._translatable = !1, e) {
500
- if (e.placeholder && (this._placeholder = $(e.placeholder)), e.colspan || (this._mustExpand = !0), e.height)
500
+ if (e.placeholder && (this._placeholder = q(e.placeholder)), e.colspan || (this._mustExpand = !0), e.height)
501
501
  try {
502
502
  this._height = parseInt(e.height);
503
503
  } catch {
@@ -671,7 +671,7 @@ class Tr extends U {
671
671
  }
672
672
  class zi extends Te {
673
673
  constructor(e) {
674
- super(e), this._label = "", this._icon = null, e && (e.string && (this._label = $(e.string)), e.icon && (this._icon = e.icon));
674
+ super(e), this._label = "", this._icon = null, e && (e.string && (this._label = q(e.string)), e.icon && (this._icon = e.icon));
675
675
  }
676
676
  get label() {
677
677
  return this._label;
@@ -1065,7 +1065,7 @@ const on = ({
1065
1065
  };
1066
1066
  function ln(t) {
1067
1067
  try {
1068
- return JSON.parse(t);
1068
+ return JSON.parse(t.replace(/'/g, '"'));
1069
1069
  } catch {
1070
1070
  return null;
1071
1071
  }
@@ -1087,9 +1087,9 @@ function rt(t, e) {
1087
1087
  for (var B = []; t[r]; )
1088
1088
  if (t.charCodeAt(r) == a) {
1089
1089
  if (t.charCodeAt(r + 1) === b) {
1090
- var V = r + 2;
1090
+ var $ = r + 2;
1091
1091
  r = t.indexOf(u, r);
1092
- var Z = t.substring(V, r);
1092
+ var Z = t.substring($, r);
1093
1093
  if (Z.indexOf(A) == -1) {
1094
1094
  var H = t.substring(0, r).split(`
1095
1095
  `);
@@ -1150,7 +1150,7 @@ Char: ` + t[r]
1150
1150
  function D() {
1151
1151
  r++;
1152
1152
  const A = R(), B = {};
1153
- let V = [];
1153
+ let $ = [];
1154
1154
  for (; t.charCodeAt(r) !== f && t[r]; ) {
1155
1155
  var Z = t.charCodeAt(r);
1156
1156
  if (Z > 64 && Z < 91 || Z > 96 && Z < 123) {
@@ -1162,7 +1162,7 @@ Char: ` + t[r]
1162
1162
  return {
1163
1163
  tagName: A,
1164
1164
  attributes: B,
1165
- children: V
1165
+ children: $
1166
1166
  };
1167
1167
  } else
1168
1168
  G = null, r--;
@@ -1173,18 +1173,18 @@ Char: ` + t[r]
1173
1173
  if (t.charCodeAt(r - 1) !== b)
1174
1174
  if (A == "script") {
1175
1175
  var J = r + 1;
1176
- r = t.indexOf("<\/script>", r), V = [t.slice(J, r)], r += 9;
1176
+ r = t.indexOf("<\/script>", r), $ = [t.slice(J, r)], r += 9;
1177
1177
  } else if (A == "style") {
1178
1178
  var J = r + 1;
1179
- r = t.indexOf("</style>", r), V = [t.slice(J, r)], r += 8;
1179
+ r = t.indexOf("</style>", r), $ = [t.slice(J, r)], r += 8;
1180
1180
  } else
1181
- C.indexOf(A) === -1 ? (r++, V = F(A)) : r++;
1181
+ C.indexOf(A) === -1 ? (r++, $ = F(A)) : r++;
1182
1182
  else
1183
1183
  r++;
1184
1184
  return {
1185
1185
  tagName: A,
1186
1186
  attributes: B,
1187
- children: V
1187
+ children: $
1188
1188
  };
1189
1189
  }
1190
1190
  function W() {
@@ -2011,7 +2011,7 @@ y.prototype.readDoubleLE = function(e, r) {
2011
2011
  y.prototype.readDoubleBE = function(e, r) {
2012
2012
  return r || Y(e, 8, this.length), it(this, e, !1, 52, 8);
2013
2013
  };
2014
- function q(t, e, r, i, n, s) {
2014
+ function V(t, e, r, i, n, s) {
2015
2015
  if (!ne(t))
2016
2016
  throw new TypeError('"buffer" argument must be a Buffer instance');
2017
2017
  if (e > n || e < s)
@@ -2022,7 +2022,7 @@ function q(t, e, r, i, n, s) {
2022
2022
  y.prototype.writeUIntLE = function(e, r, i, n) {
2023
2023
  if (e = +e, r = r | 0, i = i | 0, !n) {
2024
2024
  var s = Math.pow(2, 8 * i) - 1;
2025
- q(this, e, r, i, s, 0);
2025
+ V(this, e, r, i, s, 0);
2026
2026
  }
2027
2027
  var a = 1, u = 0;
2028
2028
  for (this[r] = e & 255; ++u < i && (a *= 256); )
@@ -2032,7 +2032,7 @@ y.prototype.writeUIntLE = function(e, r, i, n) {
2032
2032
  y.prototype.writeUIntBE = function(e, r, i, n) {
2033
2033
  if (e = +e, r = r | 0, i = i | 0, !n) {
2034
2034
  var s = Math.pow(2, 8 * i) - 1;
2035
- q(this, e, r, i, s, 0);
2035
+ V(this, e, r, i, s, 0);
2036
2036
  }
2037
2037
  var a = i - 1, u = 1;
2038
2038
  for (this[r + a] = e & 255; --a >= 0 && (u *= 256); )
@@ -2040,7 +2040,7 @@ y.prototype.writeUIntBE = function(e, r, i, n) {
2040
2040
  return r + i;
2041
2041
  };
2042
2042
  y.prototype.writeUInt8 = function(e, r, i) {
2043
- return e = +e, r = r | 0, i || q(this, e, r, 1, 255, 0), y.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[r] = e & 255, r + 1;
2043
+ return e = +e, r = r | 0, i || V(this, e, r, 1, 255, 0), y.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[r] = e & 255, r + 1;
2044
2044
  };
2045
2045
  function nt(t, e, r, i) {
2046
2046
  e < 0 && (e = 65535 + e + 1);
@@ -2048,10 +2048,10 @@ function nt(t, e, r, i) {
2048
2048
  t[r + n] = (e & 255 << 8 * (i ? n : 1 - n)) >>> (i ? n : 1 - n) * 8;
2049
2049
  }
2050
2050
  y.prototype.writeUInt16LE = function(e, r, i) {
2051
- return e = +e, r = r | 0, i || q(this, e, r, 2, 65535, 0), y.TYPED_ARRAY_SUPPORT ? (this[r] = e & 255, this[r + 1] = e >>> 8) : nt(this, e, r, !0), r + 2;
2051
+ return e = +e, r = r | 0, i || V(this, e, r, 2, 65535, 0), y.TYPED_ARRAY_SUPPORT ? (this[r] = e & 255, this[r + 1] = e >>> 8) : nt(this, e, r, !0), r + 2;
2052
2052
  };
2053
2053
  y.prototype.writeUInt16BE = function(e, r, i) {
2054
- return e = +e, r = r | 0, i || q(this, e, r, 2, 65535, 0), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 8, this[r + 1] = e & 255) : nt(this, e, r, !1), r + 2;
2054
+ return e = +e, r = r | 0, i || V(this, e, r, 2, 65535, 0), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 8, this[r + 1] = e & 255) : nt(this, e, r, !1), r + 2;
2055
2055
  };
2056
2056
  function at(t, e, r, i) {
2057
2057
  e < 0 && (e = 4294967295 + e + 1);
@@ -2059,15 +2059,15 @@ function at(t, e, r, i) {
2059
2059
  t[r + n] = e >>> (i ? n : 3 - n) * 8 & 255;
2060
2060
  }
2061
2061
  y.prototype.writeUInt32LE = function(e, r, i) {
2062
- return e = +e, r = r | 0, i || q(this, e, r, 4, 4294967295, 0), y.TYPED_ARRAY_SUPPORT ? (this[r + 3] = e >>> 24, this[r + 2] = e >>> 16, this[r + 1] = e >>> 8, this[r] = e & 255) : at(this, e, r, !0), r + 4;
2062
+ return e = +e, r = r | 0, i || V(this, e, r, 4, 4294967295, 0), y.TYPED_ARRAY_SUPPORT ? (this[r + 3] = e >>> 24, this[r + 2] = e >>> 16, this[r + 1] = e >>> 8, this[r] = e & 255) : at(this, e, r, !0), r + 4;
2063
2063
  };
2064
2064
  y.prototype.writeUInt32BE = function(e, r, i) {
2065
- return e = +e, r = r | 0, i || q(this, e, r, 4, 4294967295, 0), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 24, this[r + 1] = e >>> 16, this[r + 2] = e >>> 8, this[r + 3] = e & 255) : at(this, e, r, !1), r + 4;
2065
+ return e = +e, r = r | 0, i || V(this, e, r, 4, 4294967295, 0), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 24, this[r + 1] = e >>> 16, this[r + 2] = e >>> 8, this[r + 3] = e & 255) : at(this, e, r, !1), r + 4;
2066
2066
  };
2067
2067
  y.prototype.writeIntLE = function(e, r, i, n) {
2068
2068
  if (e = +e, r = r | 0, !n) {
2069
2069
  var s = Math.pow(2, 8 * i - 1);
2070
- q(this, e, r, i, s - 1, -s);
2070
+ V(this, e, r, i, s - 1, -s);
2071
2071
  }
2072
2072
  var a = 0, u = 1, f = 0;
2073
2073
  for (this[r] = e & 255; ++a < i && (u *= 256); )
@@ -2077,7 +2077,7 @@ y.prototype.writeIntLE = function(e, r, i, n) {
2077
2077
  y.prototype.writeIntBE = function(e, r, i, n) {
2078
2078
  if (e = +e, r = r | 0, !n) {
2079
2079
  var s = Math.pow(2, 8 * i - 1);
2080
- q(this, e, r, i, s - 1, -s);
2080
+ V(this, e, r, i, s - 1, -s);
2081
2081
  }
2082
2082
  var a = i - 1, u = 1, f = 0;
2083
2083
  for (this[r + a] = e & 255; --a >= 0 && (u *= 256); )
@@ -2085,19 +2085,19 @@ y.prototype.writeIntBE = function(e, r, i, n) {
2085
2085
  return r + i;
2086
2086
  };
2087
2087
  y.prototype.writeInt8 = function(e, r, i) {
2088
- return e = +e, r = r | 0, i || q(this, e, r, 1, 127, -128), y.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[r] = e & 255, r + 1;
2088
+ return e = +e, r = r | 0, i || V(this, e, r, 1, 127, -128), y.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[r] = e & 255, r + 1;
2089
2089
  };
2090
2090
  y.prototype.writeInt16LE = function(e, r, i) {
2091
- return e = +e, r = r | 0, i || q(this, e, r, 2, 32767, -32768), y.TYPED_ARRAY_SUPPORT ? (this[r] = e & 255, this[r + 1] = e >>> 8) : nt(this, e, r, !0), r + 2;
2091
+ return e = +e, r = r | 0, i || V(this, e, r, 2, 32767, -32768), y.TYPED_ARRAY_SUPPORT ? (this[r] = e & 255, this[r + 1] = e >>> 8) : nt(this, e, r, !0), r + 2;
2092
2092
  };
2093
2093
  y.prototype.writeInt16BE = function(e, r, i) {
2094
- return e = +e, r = r | 0, i || q(this, e, r, 2, 32767, -32768), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 8, this[r + 1] = e & 255) : nt(this, e, r, !1), r + 2;
2094
+ return e = +e, r = r | 0, i || V(this, e, r, 2, 32767, -32768), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 8, this[r + 1] = e & 255) : nt(this, e, r, !1), r + 2;
2095
2095
  };
2096
2096
  y.prototype.writeInt32LE = function(e, r, i) {
2097
- return e = +e, r = r | 0, i || q(this, e, r, 4, 2147483647, -2147483648), y.TYPED_ARRAY_SUPPORT ? (this[r] = e & 255, this[r + 1] = e >>> 8, this[r + 2] = e >>> 16, this[r + 3] = e >>> 24) : at(this, e, r, !0), r + 4;
2097
+ return e = +e, r = r | 0, i || V(this, e, r, 4, 2147483647, -2147483648), y.TYPED_ARRAY_SUPPORT ? (this[r] = e & 255, this[r + 1] = e >>> 8, this[r + 2] = e >>> 16, this[r + 3] = e >>> 24) : at(this, e, r, !0), r + 4;
2098
2098
  };
2099
2099
  y.prototype.writeInt32BE = function(e, r, i) {
2100
- return e = +e, r = r | 0, i || q(this, e, r, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 24, this[r + 1] = e >>> 16, this[r + 2] = e >>> 8, this[r + 3] = e & 255) : at(this, e, r, !1), r + 4;
2100
+ return e = +e, r = r | 0, i || V(this, e, r, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), y.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 24, this[r + 1] = e >>> 16, this[r + 2] = e >>> 8, this[r + 3] = e & 255) : at(this, e, r, !1), r + 4;
2101
2101
  };
2102
2102
  function Hr(t, e, r, i, n, s) {
2103
2103
  if (r + i > t.length)
@@ -3042,7 +3042,7 @@ function ci() {
3042
3042
  return this._writableState && this._writableState.getBuffer();
3043
3043
  }
3044
3044
  });
3045
- function V(d, h, x) {
3045
+ function $(d, h, x) {
3046
3046
  return !d.objectMode && d.decodeStrings !== !1 && typeof h == "string" && (h = n.from(h, x)), h;
3047
3047
  }
3048
3048
  Object.defineProperty(M.prototype, "writableHighWaterMark", {
@@ -3053,7 +3053,7 @@ function ci() {
3053
3053
  });
3054
3054
  function Z(d, h, x, O, P, o) {
3055
3055
  if (!x) {
3056
- var l = V(h, O, P);
3056
+ var l = $(h, O, P);
3057
3057
  O !== l && (x = !0, P = "buffer", O = l);
3058
3058
  }
3059
3059
  var v = h.objectMode ? 1 : O.length;
@@ -3649,20 +3649,20 @@ function di() {
3649
3649
  D(o, I);
3650
3650
  else if (k.objectMode || l && l.length > 0)
3651
3651
  if (typeof l != "string" && !k.objectMode && Object.getPrototypeOf(l) !== i.prototype && (l = s(l)), T)
3652
- k.endEmitted ? D(o, new c()) : V(o, k, l, !0);
3652
+ k.endEmitted ? D(o, new c()) : $(o, k, l, !0);
3653
3653
  else if (k.ended)
3654
3654
  D(o, new S());
3655
3655
  else {
3656
3656
  if (k.destroyed)
3657
3657
  return !1;
3658
- k.reading = !1, k.decoder && !v ? (l = k.decoder.write(l), k.objectMode || l.length !== 0 ? V(o, k, l, !1) : ee(o, k)) : V(o, k, l, !1);
3658
+ k.reading = !1, k.decoder && !v ? (l = k.decoder.write(l), k.objectMode || l.length !== 0 ? $(o, k, l, !1) : ee(o, k)) : $(o, k, l, !1);
3659
3659
  }
3660
3660
  else
3661
3661
  T || (k.reading = !1, ee(o, k));
3662
3662
  }
3663
3663
  return !k.ended && (k.length < k.highWaterMark || k.length === 0);
3664
3664
  }
3665
- function V(o, l, v, T) {
3665
+ function $(o, l, v, T) {
3666
3666
  l.flowing && l.length === 0 && !l.sync ? (l.awaitDrain = 0, o.emit("data", v)) : (l.length += l.objectMode ? 1 : v.length, T ? l.buffer.unshift(v) : l.buffer.push(v), l.needReadable && Q(o)), ee(o, l);
3667
3667
  }
3668
3668
  function Z(o, l) {
@@ -4141,7 +4141,7 @@ class cs {
4141
4141
  parse(e, r) {
4142
4142
  var i;
4143
4143
  const { values: n = {}, readOnly: s = !1 } = r || {}, a = rt(e).filter((u) => u.tagName === "form")[0];
4144
- this._string = ((i = a.attributes) == null ? void 0 : i.string) || null, this._string && (this._string = $(this._string)), this._readOnly = s, this._context = n.id ? { active_id: n.id, active_ids: [n.id] } : {}, this._invisibleFields = [], this.parseNode({
4144
+ this._string = ((i = a.attributes) == null ? void 0 : i.string) || null, this._string && (this._string = q(this._string)), this._readOnly = s, this._context = n.id ? { active_id: n.id, active_ids: [n.id] } : {}, this._invisibleFields = [], this.parseNode({
4145
4145
  fields: a.children,
4146
4146
  container: this._container,
4147
4147
  values: n
@@ -4221,7 +4221,7 @@ function vr(t) {
4221
4221
  }
4222
4222
  class ks {
4223
4223
  constructor(e) {
4224
- this._columns = [], this._string = null, this._type = "tree", this._colors = null, this._editable = null, this._fields = e;
4224
+ this._columns = [], this._string = null, this._type = "tree", this._colors = null, this._status = null, this._editable = null, this._fields = e;
4225
4225
  }
4226
4226
  get fields() {
4227
4227
  return this._fields;
@@ -4238,12 +4238,15 @@ class ks {
4238
4238
  get colors() {
4239
4239
  return this._colors;
4240
4240
  }
4241
+ get status() {
4242
+ return this._status;
4243
+ }
4241
4244
  get editable() {
4242
4245
  return this._editable;
4243
4246
  }
4244
4247
  parse(e) {
4245
4248
  const r = rt(e).filter((n) => n.tagName === "tree")[0];
4246
- this._string = r.attributes.string || null, this._string && (this._string = $(this._string)), this._colors = r.attributes.colors || null, this._colors && (this._colors = $(this._colors)), this._editable = r.attributes.editable || null;
4249
+ this._string = r.attributes.string || null, this._string && (this._string = q(this._string)), this._colors = r.attributes.colors || null, this._colors && (this._colors = q(this._colors)), this._status = r.attributes.status || null, this._status && (this._status = q(this._status)), this._editable = r.attributes.editable || null;
4247
4250
  const i = new jt();
4248
4251
  r.children.forEach((n) => {
4249
4252
  const { tagName: s, attributes: a } = n;
@@ -4400,7 +4403,7 @@ class bi {
4400
4403
  const gs = (t) => t === 1 || t === "1" || t === !0 || t === "True";
4401
4404
  class mi extends bi {
4402
4405
  constructor(e, r) {
4403
- super(r), this._color = null, this._icon = null, this._totalDomain = null, this._showPercent = !1, this._suffix = null, this._type = e, this._color = r.attributes.color || null, this._color && (this._color = $(this._color)), this._icon = r.attributes.icon || null, this._icon && (this._icon = $(this._icon)), this._suffix = r.attributes.suffix || null, this._totalDomain = r.attributes.totalDomain || null, this._showPercent = gs(r.attributes.showPercent);
4406
+ super(r), this._color = null, this._icon = null, this._totalDomain = null, this._showPercent = !1, this._suffix = null, this._type = e, this._color = r.attributes.color || null, this._color && (this._color = q(this._color)), this._icon = r.attributes.icon || null, this._icon && (this._icon = q(this._icon)), this._suffix = r.attributes.suffix || null, this._totalDomain = r.attributes.totalDomain || null, this._showPercent = gs(r.attributes.showPercent);
4404
4407
  }
4405
4408
  get color() {
4406
4409
  return this._color;