ps-toolkit-ui 1.12.8 → 1.12.9

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.
@@ -2183,6 +2183,29 @@
2183
2183
  }
2184
2184
  return l;
2185
2185
  };
2186
+ InputClass.prototype.getAllRows = function (rows) {
2187
+ var e_6, _b;
2188
+ if (rows === void 0) { rows = this.rows; }
2189
+ var l = [];
2190
+ try {
2191
+ for (var rows_2 = __values(rows), rows_2_1 = rows_2.next(); !rows_2_1.done; rows_2_1 = rows_2.next()) {
2192
+ var f = rows_2_1.value;
2193
+ if (!this.onlyChild || f.children.length === 0) {
2194
+ l.push(f);
2195
+ }
2196
+ var rs = this.getAllRows(f.children);
2197
+ l = l.concat(rs);
2198
+ }
2199
+ }
2200
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
2201
+ finally {
2202
+ try {
2203
+ if (rows_2_1 && !rows_2_1.done && (_b = rows_2.return)) _b.call(rows_2);
2204
+ }
2205
+ finally { if (e_6) throw e_6.error; }
2206
+ }
2207
+ return l;
2208
+ };
2186
2209
  return InputClass;
2187
2210
  }());
2188
2211
  var OptionClass = /** @class */ (function () {
@@ -2233,7 +2256,7 @@
2233
2256
  this.rows = rows;
2234
2257
  }
2235
2258
  AccordionClass.prototype.check = function () {
2236
- var e_6, _b;
2259
+ var e_7, _b;
2237
2260
  try {
2238
2261
  for (var _c = __values(this.rows), _d = _c.next(); !_d.done; _d = _c.next()) {
2239
2262
  var row = _d.value;
@@ -2243,12 +2266,12 @@
2243
2266
  }
2244
2267
  }
2245
2268
  }
2246
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
2269
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
2247
2270
  finally {
2248
2271
  try {
2249
2272
  if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
2250
2273
  }
2251
- finally { if (e_6) throw e_6.error; }
2274
+ finally { if (e_7) throw e_7.error; }
2252
2275
  }
2253
2276
  return true;
2254
2277
  };