ps-toolkit-ui 1.4.94 → 1.4.95
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 +2 -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/components/form/radio/form.radio.component.js +1 -3
- package/esm2015/lib/components/modal/modal.component.js +2 -2
- package/esm2015/lib/components/table/row/table.row.component.js +2 -3
- package/fesm2015/ps-toolkit-ui.js +2 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2047,7 +2047,7 @@
|
|
|
2047
2047
|
}
|
|
2048
2048
|
ModalComponent.prototype.ngOnInit = function () {
|
|
2049
2049
|
var _this = this;
|
|
2050
|
-
this.close = new InputClass(this.modal.environment, this.modal.l, null, '
|
|
2050
|
+
this.close = new InputClass(this.modal.environment, this.modal.l, null, 'fas fa-times', exports.InputType.Icon, 'w-u h-30 red close-modal');
|
|
2051
2051
|
this.close.onClick = function () {
|
|
2052
2052
|
_this.modal.hide();
|
|
2053
2053
|
};
|
|
@@ -2711,7 +2711,6 @@
|
|
|
2711
2711
|
var _loop_3 = function (r) {
|
|
2712
2712
|
if (r.table) {
|
|
2713
2713
|
var options = JSON.parse(JSON.stringify(_this.row.Options));
|
|
2714
|
-
console.log(options);
|
|
2715
2714
|
var p = new PermissionClass();
|
|
2716
2715
|
p.RelatedId = _this.row.Data.Id;
|
|
2717
2716
|
p.Area = _this.table.permissions.Area;
|
|
@@ -2816,7 +2815,7 @@
|
|
|
2816
2815
|
return HelperClass.getDate(cv);
|
|
2817
2816
|
}
|
|
2818
2817
|
else if (col.type === exports.TableCollType.DateTime) {
|
|
2819
|
-
return HelperClass.getDateTime(cv);
|
|
2818
|
+
return '<span class="ltr">' + HelperClass.getDateTime(cv) + '</span>';
|
|
2820
2819
|
}
|
|
2821
2820
|
else if (col.type === exports.TableCollType.Time) {
|
|
2822
2821
|
return HelperClass.getTime(cv);
|
|
@@ -4950,7 +4949,6 @@
|
|
|
4950
4949
|
var _this = this;
|
|
4951
4950
|
this.inp.load();
|
|
4952
4951
|
this.inp.setValue = function (v) {
|
|
4953
|
-
console.log(v, 'v');
|
|
4954
4952
|
_this.inp.value = v !== null ? v.toString() : null;
|
|
4955
4953
|
if (_this.inp.value == null && _this.inp.options.length > 0) {
|
|
4956
4954
|
_this.inp.value = _this.inp.options.find(function (x) { return true; }).value;
|
|
@@ -4968,7 +4966,6 @@
|
|
|
4968
4966
|
};
|
|
4969
4967
|
this.inp.clear = function () {
|
|
4970
4968
|
_this.inp.error = null;
|
|
4971
|
-
console.log(_this.inp.default, 'this.inp.default');
|
|
4972
4969
|
_this.inp.setValue(_this.inp.default, false);
|
|
4973
4970
|
};
|
|
4974
4971
|
this.inp.data = function () {
|