ps-toolkit-ui 1.20.72 → 1.20.74

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.
@@ -6073,7 +6073,7 @@
6073
6073
  { type: core.Component, args: [{
6074
6074
  selector: 'lib-form-select-item',
6075
6075
  template: "<div [className]=\"'option-con' + (item.value == select.value ? ' selected' : '') + (item.disabled ? ' disabled' : '') + (select.type == type.SelectSearchRadio ? ' radio' : '')\" *ngIf=\"item.show\" [attr.data-value]=\"item.value\">\r\n<!-- <i class=\"fas fa-caret-left caret-icon\" (click)=\"toggleChildren($event)\" *ngIf=\"item.options.length > 0\"></i>-->\r\n <div (click)=\"selectOption.emit(item.value)\" class=\"option\">\r\n <div [className]=\"(item.selected ? 'checked ' : item.selected == null ? 'null ' : '') + ' check'\" *ngIf=\"select.multiple || (select.type == type.SelectSearchRadio && item.options.length == 0)\"></div>\r\n <span [innerHTML]=\"select.l(item.name) | safeHtml\"></span>\r\n <span *ngIf=\"item.option && item.option.Color\" class=\"color\" [style]=\"{backgroundColor: item.option.Color}\"></span>\r\n </div>\r\n <div *ngIf=\"item.options.length > 0 && (select.level === null || select.level > level)\" class=\"children rightline\">\r\n <lib-form-select-item (selectOption)=\"selectOption.emit($event)\" [level]=\"level + 1\" [parent]=\"item\" [item]=\"op\" [select]=\"select\" *ngFor=\"let op of item.options\"></lib-form-select-item>\r\n </div>\r\n</div>\r\n",
6076
- styles: [".option-con{float:right;width:100%}.option-con .caret-icon{float:right;font-size:20px;height:35px;line-height:33px;text-align:center;width:35px}.option-con .children{float:left;position:relative;width:calc(100% - 25px)}.option{align-items:center;border-radius:0;cursor:pointer;display:flex;float:left;font-size:10px;justify-content:center;line-height:15px;min-height:30px;padding:3px 10px;position:relative;text-align:center;width:100%}.option:has(.check){padding-right:25px}.option .color{border-radius:var(--border-radius-base);height:15px;position:absolute;right:20px;top:7.5px;width:15px}::ng-deep .plaque-inp .option{direction:ltr}.option .check:after{content:\"\\f0c8\";font-family:Font Awesome\\ 5 Pro;font-size:18px;font-weight:400;height:20px;line-height:20px;position:absolute;right:5px;top:5px;width:20px}.option.radio .check:after{content:\"\\f111\"}.option .check.checked:after{animation:pop .18s ease-in;color:var(--green);content:\"\\f14a\";font-weight:900}.option.radio .check.checked:after{content:\"\\f192\"}.option .check.null:after{animation:pop .18s ease-in;color:var(--green);content:\"\\f146\";font-weight:900}.option-con.hover:not(.disabled)>.option,.option-con.selected>.option{background-color:var(--black-white)}.option-con.disabled>.option{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-shadow:unset;cursor:default;filter:blur(.5px);opacity:.7;pointer-events:none}"]
6076
+ styles: [".option-con{float:right;width:100%}.option-con .caret-icon{float:right;font-size:20px;height:35px;line-height:33px;text-align:center;width:35px}.option-con .children{float:left;position:relative;width:calc(100% - 25px)}.option-con .option{align-items:center;border-radius:0;cursor:pointer;display:flex;float:left;font-size:10px;justify-content:center;line-height:15px;min-height:30px;padding:3px 10px;position:relative;text-align:center;width:100%}.option-con .option:has(.check){padding-right:25px}.option-con .option .color{border-radius:var(--border-radius-base);height:15px;position:absolute;right:20px;top:7.5px;width:15px}::ng-deep .plaque-inp .option{direction:ltr}.option-con .option .check:after{content:\"\\f0c8\";font-family:Font Awesome\\ 5 Pro;font-size:18px;font-weight:400;height:20px;line-height:20px;position:absolute;right:5px;top:5px;width:20px}.option-con.radio .option .check:after{content:\"\\f111\"}.option-con .option .check.checked:after{animation:pop .18s ease-in;color:var(--green);content:\"\\f14a\";font-weight:900}.option-con.radio .option .check.checked:after{content:\"\\f192\"}.option .check.null:after{animation:pop .18s ease-in;color:var(--green);content:\"\\f146\";font-weight:900}.option-con.hover:not(.disabled)>.option,.option-con.selected>.option{background-color:var(--black-white)}.option-con.disabled>.option{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-shadow:unset;cursor:default;filter:blur(.5px);opacity:.7;pointer-events:none}"]
6077
6077
  },] }
6078
6078
  ];
6079
6079
  FormSelectItemComponent.propDecorators = {
@@ -6317,7 +6317,9 @@
6317
6317
  };
6318
6318
  FormSelectComponent.prototype.selectOption = function (v, isEdit) {
6319
6319
  if (isEdit === void 0) { isEdit = false; }
6320
+ console.log(v, this.inp.options);
6320
6321
  var va = this.getValue(v);
6322
+ console.log(va);
6321
6323
  if (this.inp.type === exports.InputType.SelectSearchRadio && va.options.length !== 0) {
6322
6324
  return;
6323
6325
  }