ps-toolkit-ui 1.16.26 → 1.16.28
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 +15 -5
- 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/table.class.js +13 -5
- package/esm2015/lib/components/form/select/form.select.component.js +4 -2
- package/fesm2015/ps-toolkit-ui.js +15 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6204,13 +6204,15 @@
|
|
|
6204
6204
|
if (this.inp.onChange) {
|
|
6205
6205
|
this.inp.onChange(this.inp, isEdit);
|
|
6206
6206
|
}
|
|
6207
|
+
console.log(this.inp, this.inp.rel, 'this.inp.rel');
|
|
6207
6208
|
this.clearRel(this.inp, v);
|
|
6208
6209
|
if (!isEdit && !this.inp.multiple) {
|
|
6209
6210
|
this.cI('Tab');
|
|
6210
6211
|
}
|
|
6211
6212
|
};
|
|
6212
6213
|
FormSelectComponent.prototype.clearRel = function (i, v) {
|
|
6213
|
-
|
|
6214
|
+
console.log(i.rel, 'i.reli.reli.reli.rel');
|
|
6215
|
+
while (i.rel != null) {
|
|
6214
6216
|
i.rel.value = null;
|
|
6215
6217
|
i.rel.search = '';
|
|
6216
6218
|
i.rel.options = [];
|
|
@@ -9375,10 +9377,18 @@
|
|
|
9375
9377
|
dAccess.AccessType = exports.PermissionAccessTypeEnum.Delete;
|
|
9376
9378
|
dAccess.Icon = 'fad fa-trash';
|
|
9377
9379
|
dAccess.Name = 'Delete';
|
|
9378
|
-
_this.
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9380
|
+
if (_this.sortType === 'DESC') {
|
|
9381
|
+
_this.rows.push({
|
|
9382
|
+
Data: data,
|
|
9383
|
+
Options: [uAccess, dAccess]
|
|
9384
|
+
});
|
|
9385
|
+
}
|
|
9386
|
+
else {
|
|
9387
|
+
_this.rows.unshift({
|
|
9388
|
+
Data: data,
|
|
9389
|
+
Options: [uAccess, dAccess]
|
|
9390
|
+
});
|
|
9391
|
+
}
|
|
9382
9392
|
}
|
|
9383
9393
|
if (changeRows) {
|
|
9384
9394
|
changeRows.emit(data);
|