ps-toolkit-ui 1.5.41 → 1.5.43

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.
@@ -7333,6 +7333,7 @@
7333
7333
  };
7334
7334
  FormStarComponent.prototype.onChange = function (s) {
7335
7335
  this.inp.value = s;
7336
+ console.log(this.inp.value);
7336
7337
  if (this.inp.onChange) {
7337
7338
  this.inp.onChange(this.inp);
7338
7339
  }
@@ -7361,8 +7362,8 @@
7361
7362
  FormStarComponent.decorators = [
7362
7363
  { type: core.Component, args: [{
7363
7364
  selector: 'lib-form-star',
7364
- template: "<div #inputDiv [id]=\"inp.name + 'Input'\" [style]=\"inp.style\" [className]=\"'form-input-con star w-100' + (inp.error == null ? '' : ' error') + (inp.disabled || inp.loading ? ' disabled' : '') + ' ' + inp.class\">\r\n <div class=\"form-input\" (click)=\"onClick()\">\r\n <div *ngIf=\"inp.displayLabel\" class=\"label\"><i *ngIf=\"inp.required\" class=\"fas fa-star-of-life required-icon\"></i>{{inp.getLabel()}}</div>\r\n <input #inputBase type=\"text\" class=\"input-base\" (keydown)=\"onKeyDown($event)\" (focusin)=\"onFocusIn()\">\r\n <div class=\"control\">\r\n <input type=\"radio\" id=\"star1\" name=\"star\" [checked]=\"inp.value == 1 ? 'checked' : ''\" (change)=\"onChange(1)\">\r\n <label class=\"option\" for=\"star1\"></label>\r\n <input type=\"radio\" id=\"star2\" name=\"star\" [checked]=\"inp.value == 2 ? 'checked' : ''\" (change)=\"onChange(2)\">\r\n <label class=\"option\" for=\"star2\"></label>\r\n <input type=\"radio\" id=\"star3\" name=\"star\" [checked]=\"inp.value == 3 ? 'checked' : ''\" (change)=\"onChange(3)\">\r\n <label class=\"option\" for=\"star3\"></label>\r\n <input type=\"radio\" id=\"star4\" name=\"star\" [checked]=\"inp.value == 4 ? 'checked' : ''\" (change)=\"onChange(4)\">\r\n <label class=\"option\" for=\"star4\"></label>\r\n <input type=\"radio\" id=\"star5\" name=\"star\" [checked]=\"inp.value == 5 ? 'checked' : ''\" (change)=\"onChange(5)\">\r\n <label class=\"option\" for=\"star5\"></label>\r\n </div>\r\n </div>\r\n</div>\r\n",
7365
- styles: [".form-input-con.star{padding:0 15px;position:relative}.form-input-con.star .form-input{float:right;position:relative;width:100%}.form-input-con.star .form-input .label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;direction:rtl;float:right;font-size:12px;height:20px;line-height:20px;margin-bottom:3px;padding:0 10px;text-align:right;width:100%}.form-input-con.star.error .form-input .label{color:var(--red);font-size:10px}.form-input-con.star .form-input .label .required-icon{color:var(--red);font-size:9px;height:20px;line-height:20px;text-align:center;width:20px}.form-input-con.star .form-input>.control{background-color:#fff;display:table;height:35px;padding:0 35px;width:100%}.form-input-con.star .form-input .input-base{cursor:pointer;height:0;opacity:0;position:absolute;right:50%;top:50%;width:0;z-index:1}.form-input-con.star .form-input .input-base:focus+.control,.form-input-con.star .form-input:hover .control{outline:none}.form-input-con.star.error .form-input>.control{border:var(--border-input-red)}.form-input-con.star .form-input>.control input{display:none}.form-input-con.star .form-input>.control .option{color:var(--white);cursor:pointer;display:block;float:left;font-size:26px;height:35px;line-height:40px;text-align:center;text-shadow:var(--text-shadow);transition:all .2s;width:35px}.form-input-con.star .form-input>.control .option:hover{color:var(--white);font-size:26px;text-shadow:var(--text-shadow-dark)}.form-input-con.star .form-input>.control .option:before{-webkit-font-smoothing:antialiased;content:\"\\f005\";display:inline;font-family:Font Awesome\\ 5 Pro;font-style:normal;font-weight:900;height:auto;line-height:normal;margin-top:0;text-decoration:inherit;vertical-align:initial;width:auto}.form-input-con.star .form-input>.control:hover .option:before,.form-input-con.star .form-input>.control input:checked+.option~.option:before{color:var(--yellow)}.form-input-con.star .form-input>.control:hover .option:hover~.option:before{color:var(--white)}"]
7365
+ template: "<div #inputDiv [id]=\"inp.name + 'Input'\" [style]=\"inp.style\" [className]=\"'form-input-con star w-100' + (inp.error == null ? '' : ' error') + (inp.disabled || inp.loading ? ' disabled' : '') + ' ' + inp.class\">\r\n <div class=\"form-input\" (click)=\"onClick()\">\r\n <div *ngIf=\"inp.displayLabel\" class=\"label\"><i *ngIf=\"inp.required\" class=\"fas fa-star-of-life required-icon\"></i>{{inp.getLabel()}}</div>\r\n <input #inputBase type=\"text\" class=\"input-base\" (keydown)=\"onKeyDown($event)\" (focusin)=\"onFocusIn()\">\r\n <div class=\"control\">\r\n <input type=\"radio\" id=\"star1\" name=\"star\" [checked]=\"inp.value == 1 ? 'checked' : ''\" (change)=\"onChange(1)\">\r\n <label [className]=\"'option' + (inp.value == 1 ? ' checked' : '')\" for=\"star1\"></label>\r\n <input type=\"radio\" id=\"star2\" name=\"star\" [checked]=\"inp.value == 2 ? 'checked' : ''\" (change)=\"onChange(2)\">\r\n <label [className]=\"'option' + (inp.value == 2 ? ' checked' : '')\" class=\"option\" for=\"star2\"></label>\r\n <input type=\"radio\" id=\"star3\" name=\"star\" [checked]=\"inp.value == 3 ? 'checked' : ''\" (change)=\"onChange(3)\">\r\n <label [className]=\"'option' + (inp.value == 3 ? ' checked' : '')\" class=\"option\" for=\"star3\"></label>\r\n <input type=\"radio\" id=\"star4\" name=\"star\" [checked]=\"inp.value == 4 ? 'checked' : ''\" (change)=\"onChange(4)\">\r\n <label [className]=\"'option' + (inp.value == 4 ? ' checked' : '')\" class=\"option\" for=\"star4\"></label>\r\n <input type=\"radio\" id=\"star5\" name=\"star\" [checked]=\"inp.value == 5 ? 'checked' : ''\" (change)=\"onChange(5)\">\r\n <label [className]=\"'option' + (inp.value == 5 ? ' checked' : '')\" class=\"option\" for=\"star5\"></label>\r\n </div>\r\n </div>\r\n</div>\r\n",
7366
+ styles: [".form-input-con.star{padding:0 15px;position:relative}.form-input-con.star .form-input{align-items:center;display:flex;float:right;justify-content:center;position:relative;width:100%}.form-input-con.star .form-input .label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;direction:rtl;float:right;font-size:12px;height:20px;line-height:20px;margin-bottom:3px;padding:0 10px;text-align:right;width:100%}.form-input-con.star.error .form-input .label{color:var(--red);font-size:10px}.form-input-con.star .form-input .label .required-icon{color:var(--red);font-size:9px;height:20px;line-height:20px;text-align:center;width:20px}.form-input-con.star .form-input>.control{background-color:#fff;display:table;height:35px}.form-input-con.star .form-input .input-base{cursor:pointer;height:0;opacity:0;position:absolute;right:50%;top:50%;width:0;z-index:1}.form-input-con.star .form-input .input-base:focus+.control,.form-input-con.star .form-input:hover .control{outline:none}.form-input-con.star.error .form-input>.control{border:var(--border-input-red)}.form-input-con.star .form-input>.control input{display:none}.form-input-con.star .form-input>.control .option{color:var(--white);cursor:pointer;display:block;float:left;font-size:26px;height:35px;line-height:40px;text-align:center;text-shadow:var(--text-shadow);transition:all .2s;width:35px}.form-input-con.star .form-input>.control .option:hover{color:var(--white);font-size:26px;text-shadow:var(--text-shadow-dark)}.form-input-con.star .form-input>.control .option:before{-webkit-font-smoothing:antialiased;content:\"\\f005\";display:inline;font-family:Font Awesome\\ 5 Pro;font-style:normal;font-weight:900;height:auto;line-height:normal;margin-top:0;text-decoration:inherit;vertical-align:initial;width:auto}.form-input-con.star .form-input>.control input:checked+.option~.option:before{color:var(--yellow)}.form-input-con.star .form-input>.control:hover .option:before{color:var(--white)}.form-input-con.star .form-input>.control:hover .option:hover~.option:before{color:var(--yellow)}"]
7366
7367
  },] }
7367
7368
  ];
7368
7369
  FormStarComponent.ctorParameters = function () { return []; };