ps-toolkit-ui 1.20.2 → 1.20.14
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 +10 -1
- 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 +6 -1
- package/esm2015/lib/classes/table.class.js +6 -2
- package/fesm2015/ps-toolkit-ui.js +10 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2599,6 +2599,11 @@
|
|
|
2599
2599
|
}
|
|
2600
2600
|
else if (_this.type === exports.InputType.Tree || _this.type === exports.InputType.TreeRadio) {
|
|
2601
2601
|
_this.rows = _this.getRows(result, null);
|
|
2602
|
+
if (_this.value != null) {
|
|
2603
|
+
setTimeout(function () {
|
|
2604
|
+
_this.setValue(_this.value, true);
|
|
2605
|
+
}, 500);
|
|
2606
|
+
}
|
|
2602
2607
|
}
|
|
2603
2608
|
if (done) {
|
|
2604
2609
|
done();
|
|
@@ -9813,7 +9818,11 @@
|
|
|
9813
9818
|
this.rows.forEach(function (row) {
|
|
9814
9819
|
var x = {};
|
|
9815
9820
|
_this.cols.forEach(function (col) {
|
|
9816
|
-
|
|
9821
|
+
var txt = _this.getText(_this.getCell(row, col));
|
|
9822
|
+
if (col.type === exports.TableCollType.Price) {
|
|
9823
|
+
txt = txt.replace('ریال', '').trim();
|
|
9824
|
+
}
|
|
9825
|
+
x[_this.l(col.name)] = txt;
|
|
9817
9826
|
});
|
|
9818
9827
|
data.push(x);
|
|
9819
9828
|
});
|