ps-toolkit-ui 0.0.146 → 0.0.151
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 +4 -3
- 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 +2 -2
- package/esm2015/lib/components/form/label/form.label.component.js +4 -2
- package/esm2015/lib/components/table/row/table.row.component.js +1 -2
- package/fesm2015/ps-toolkit-ui.js +4 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2855,7 +2855,6 @@
|
|
|
2855
2855
|
_this.table.form.inputs.filter(function (x) { return x.inEditDisabled; }).forEach(function (x) { return x.disabled = true; });
|
|
2856
2856
|
_this.table.form.inputs.filter(function (x) { return !x.inEditVisible; }).forEach(function (x) { return x.visible = false; });
|
|
2857
2857
|
if (_this.table.modal) {
|
|
2858
|
-
console.log(_this.table.modal, 'this.table.modal');
|
|
2859
2858
|
_this.table.modal.show();
|
|
2860
2859
|
}
|
|
2861
2860
|
});
|
|
@@ -4025,6 +4024,8 @@
|
|
|
4025
4024
|
}
|
|
4026
4025
|
FormLabelComponent.prototype.ngOnInit = function () {
|
|
4027
4026
|
var _this = this;
|
|
4027
|
+
console.log(this.inp.value, 'this.inp.value');
|
|
4028
|
+
console.log(this.inp.l(this.inp.value), 'this.inp.l(this.inp.value)');
|
|
4028
4029
|
this.inp.setValue = function (v) {
|
|
4029
4030
|
_this.inp.value = v;
|
|
4030
4031
|
};
|
|
@@ -4044,7 +4045,7 @@
|
|
|
4044
4045
|
FormLabelComponent.decorators = [
|
|
4045
4046
|
{ type: core.Component, args: [{
|
|
4046
4047
|
selector: 'lib-form-label',
|
|
4047
|
-
template: "<div [id]=\"inp.name + 'Input'\" (click)=\"onClick()\" #inputDiv [className]=\"inp.class + ' form-input label'\" [innerHTML]=\"inp.l(inp.value)\">\r\n</div>\r\n",
|
|
4048
|
+
template: "<div [id]=\"inp.name + 'Input'\" (click)=\"onClick()\" #inputDiv [className]=\"inp.class + ' form-input label'\" [innerHTML]=\"inp.l(inp.value)\">\r\n</div>\r\n<div>{{inp.l(inp.value)}}</div>\r\n",
|
|
4048
4049
|
styles: [".form-input.label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;float:right;font-size:12px;line-height:30px;padding:0 15px;position:relative;text-align:center;width:100%}.form-input.label.underline{margin:20px 15px;width:calc(100% - 30px)}.form-input.label.form-group-title{margin:0 15px 10px;width:calc(100% - 30px)}.form-input.label.space{margin:10px 15px;width:calc(100% - 30px)}.form-input.label.h-58{height:58px;line-height:58px}.form-input.label.h-45{height:45px;line-height:45px}.form-input.label.h-30{height:30px;line-height:30px}.form-input.label.h-25{height:25px;line-height:25px}"]
|
|
4049
4050
|
},] }
|
|
4050
4051
|
];
|
|
@@ -7319,7 +7320,7 @@
|
|
|
7319
7320
|
}
|
|
7320
7321
|
else {
|
|
7321
7322
|
if (!this.modal) {
|
|
7322
|
-
this.modal = new ModalClass(this.environment, this.l, this.name);
|
|
7323
|
+
this.modal = new ModalClass(this.environment, this.l, this.form.name);
|
|
7323
7324
|
}
|
|
7324
7325
|
this.modal.form = this.form;
|
|
7325
7326
|
}
|