ps-toolkit-ui 1.8.38 → 1.8.41

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.
@@ -277,6 +277,7 @@
277
277
  DbUpdateException: 'امکان حذف رکورد مورد نظر به دلیل استفاده شدن در سامانه وجود ندارد',
278
278
  UserMaxSessionCount: 'تعداد لاگین انجام شده بیش از سقف مجاز است.',
279
279
  UserInvalidIp: 'آی‌پی شما نامعتبر است.',
280
+ UserWithoutStore: 'انباری برای این نام کاربری ثبت نشده است.',
280
281
  // tslint:disable-next-line
281
282
  LoadingDot: '<span class="dot-spinner black"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
282
283
  LoadingDotWhite: '<span class="dot-spinner white"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
@@ -5252,8 +5253,8 @@
5252
5253
  FormSelectItemComponent.decorators = [
5253
5254
  { type: core.Component, args: [{
5254
5255
  selector: 'lib-form-select-item',
5255
- template: "<div [className]=\"'option-con' + (item.value == select.value ? ' selected' : '')\" *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\"></div>\r\n <span [innerHTML]=\"select.l(item.name) | safeHtml\"></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",
5256
- 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% - 35px)}.option{align-items:center;border-radius:0;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%}::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 .check.checked:after{content:\"\\f14a\"}.option .check.checked:after,.option .check.null:after{animation:pop .18s ease-in;color:var(--green);font-weight:900}.option .check.null:after{content:\"\\f146\"}.option-con.hover>.option,.option-con.selected>.option{background-color:var(--black-white)}"]
5256
+ template: "<div [className]=\"'option-con' + (item.value == select.value ? ' selected' : '')\" *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\"></div>\r\n <span [innerHTML]=\"select.l(item.name) | safeHtml\"></span>\r\n <span *ngIf=\"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",
5257
+ 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% - 35px)}.option{align-items:center;border-radius:0;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 .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 .check.checked:after{content:\"\\f14a\"}.option .check.checked:after,.option .check.null:after{animation:pop .18s ease-in;color:var(--green);font-weight:900}.option .check.null:after{content:\"\\f146\"}.option-con.hover>.option,.option-con.selected>.option{background-color:var(--black-white)}"]
5257
5258
  },] }
5258
5259
  ];
5259
5260
  FormSelectItemComponent.propDecorators = {
@@ -6002,13 +6003,16 @@
6002
6003
  }
6003
6004
  };
6004
6005
  FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {
6006
+ var _this = this;
6005
6007
  if (changeIndex === void 0) { changeIndex = false; }
6006
- if (changeIndex) {
6007
- this.inputBase.nativeElement.select();
6008
- }
6009
- else {
6010
- this.inputBase.nativeElement.focus();
6011
- }
6008
+ setTimeout(function () {
6009
+ if (changeIndex) {
6010
+ _this.inputBase.nativeElement.select();
6011
+ }
6012
+ else {
6013
+ _this.inputBase.nativeElement.focus();
6014
+ }
6015
+ });
6012
6016
  };
6013
6017
  FormTextboxComponent.prototype.onFocusOut = function (e) {
6014
6018
  if (this.inp.onFocusOut !== null) {
@@ -7043,6 +7047,9 @@
7043
7047
  this.onFocusIn();
7044
7048
  };
7045
7049
  FormVehicleComponent.prototype.onFocusIn = function () {
7050
+ setTimeout(function () {
7051
+ $('#Part1TextInput .control').focus();
7052
+ }, 100);
7046
7053
  };
7047
7054
  return FormVehicleComponent;
7048
7055
  }());