ps-toolkit-ui 0.0.152 → 0.0.153
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 -16
- 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/label/form.label.component.js +15 -17
- package/fesm2015/ps-toolkit-ui.js +14 -16
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/form/label/form.label.component.d.ts +1 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -4023,28 +4023,27 @@
|
|
|
4023
4023
|
function FormLabelComponent() {
|
|
4024
4024
|
}
|
|
4025
4025
|
FormLabelComponent.prototype.ngOnInit = function () {
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
// }
|
|
4026
|
+
var _this = this;
|
|
4027
|
+
this.inp.setValue = function (v) {
|
|
4028
|
+
_this.inp.value = v;
|
|
4029
|
+
};
|
|
4030
|
+
this.inp.isValid = function () {
|
|
4031
|
+
return true;
|
|
4032
|
+
};
|
|
4033
|
+
this.inp.clear = function () {
|
|
4034
|
+
};
|
|
4035
|
+
};
|
|
4036
|
+
FormLabelComponent.prototype.onClick = function () {
|
|
4037
|
+
if (this.inp.onClick) {
|
|
4038
|
+
this.inp.onClick(this.inp);
|
|
4039
|
+
}
|
|
4041
4040
|
};
|
|
4042
4041
|
return FormLabelComponent;
|
|
4043
4042
|
}());
|
|
4044
4043
|
FormLabelComponent.decorators = [
|
|
4045
4044
|
{ type: core.Component, args: [{
|
|
4046
4045
|
selector: 'lib-form-label',
|
|
4047
|
-
template: "<div [id]=\"inp.name + 'Input'\" (click)=\"onClick()\" #inputDiv [className]=\"inp.class + ' form-input label'\" [innerHTML]=\"inp.
|
|
4046
|
+
template: "<div [id]=\"inp.name + 'Input'\" (click)=\"onClick()\" #inputDiv [className]=\"inp.class + ' form-input label'\" [innerHTML]=\"inp.value\">\r\n</div>\r\n<div>{{inp.value}}</div>\r\n<div>{{inp.l('CloseYearLabel')}}</div>\r\n",
|
|
4048
4047
|
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
4048
|
},] }
|
|
4050
4049
|
];
|