ps-toolkit-ui 1.12.7 → 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.
- package/bundles/ps-toolkit-ui.umd.js +28 -4
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +12 -1
- package/esm2015/lib/classes/steps.class.js +3 -2
- package/fesm2015/ps-toolkit-ui.js +13 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/form.class.d.ts +1 -0
- package/lib/classes/steps.class.d.ts +1 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -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
|
|
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 (
|
|
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 (
|
|
2274
|
+
finally { if (e_7) throw e_7.error; }
|
|
2252
2275
|
}
|
|
2253
2276
|
return true;
|
|
2254
2277
|
};
|
|
@@ -8341,7 +8364,8 @@
|
|
|
8341
8364
|
this.items = [];
|
|
8342
8365
|
this.activeAll = false;
|
|
8343
8366
|
this.isDone = false;
|
|
8344
|
-
this.updateAccess =
|
|
8367
|
+
this.updateAccess = true;
|
|
8368
|
+
this.viewAccess = true;
|
|
8345
8369
|
this.onDone = function () { };
|
|
8346
8370
|
this.onLoadStep = function () { };
|
|
8347
8371
|
this.l = l;
|