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.
@@ -4023,28 +4023,27 @@
4023
4023
  function FormLabelComponent() {
4024
4024
  }
4025
4025
  FormLabelComponent.prototype.ngOnInit = function () {
4026
- // console.log(this.inp.value, 'this.inp.value');
4027
- // console.log(this.inp.l(this.inp.value), 'this.inp.l(this.inp.value)');
4028
- // this.inp.setValue = (v) => {
4029
- // this.inp.value = v;
4030
- // };
4031
- // this.inp.isValid = () => {
4032
- // return true;
4033
- // };
4034
- // this.inp.clear = () => {
4035
- // };
4036
- // }
4037
- // onClick(): void{
4038
- // if (this.inp.onClick){
4039
- // this.inp.onClick(this.inp);
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.l(inp.value)\">\r\n</div>\r\n",
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
  ];