ps-toolkit-ui 1.5.10 → 1.5.11

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.
@@ -2084,8 +2084,8 @@
2084
2084
  ModalComponent.decorators = [
2085
2085
  { type: core.Component, args: [{
2086
2086
  selector: 'lib-modal',
2087
- template: "<div [id]=\"modal.id + 'Modal'\" class=\"modal\">\r\n <div [className]=\"(modal.class ? modal.class : '') + (modal.class.includes('xlg') ? '' : modal.class.includes('lg') ? 'w-1000-60 m-r-1000-20 w-700-70 m-r-700-15' : 'w-1300-40 m-r-1300-30 w-1100-50 m-r-1100-25 w-600-60 m-r-600-20 w-500-70 m-r-500-15 w-400-80 m-r-400-10') + ' content w-90 m-r-5'\">\r\n <lib-form-button [inp]=\"close\"></lib-form-button>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n <lib-form *ngIf=\"modal.form != null && modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-table *ngIf=\"modal.table != null\" [table]=\"modal.table\"></lib-table>\r\n <lib-form *ngIf=\"modal.form != null && !modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-accordion *ngIf=\"modal.accordion != null\" [accordion]=\"modal.accordion\"></lib-accordion>\r\n </div>\r\n </div>\r\n</div>\r\n",
2088
- styles: [".modal{background-color:rgba(51,51,51,.26666666666666666);display:none;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:999}.modal .content{background-color:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow-modal);margin-bottom:50px;margin-top:50px;position:relative;z-index:2}.modal.xs .content{margin:50px 40%;width:20%}.modal.xlg .content{margin:50px 5%;width:90%}.modal .content .header{float:right;position:relative;text-align:center;width:100%}.modal .content .header .title{float:left;font-family:VazirBold;font-size:18px;height:40px;line-height:40px;width:100%}::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-25px;position:absolute;top:-10px;z-index:5}.modal .content .body{float:right;position:relative;width:100%}@media (max-width:399.98px){.modal .content .close-modal{left:-15px!important}}"]
2087
+ template: "<div [id]=\"modal.id + 'Modal'\" class=\"modal\">\r\n <div [className]=\"(modal.class ? modal.class : '') + (modal.class.includes('xlg') ? '' : modal.class.includes('lg') ? ' w-1000-60 m-r-1000-20 w-700-70 m-r-700-15' : ' w-1300-40 m-r-1300-30 w-1100-50 m-r-1100-25 w-600-60 m-r-600-20 w-500-70 m-r-500-15 w-400-80 m-r-400-10') + ' content w-90 m-r-5'\">\r\n <lib-form-button [inp]=\"close\"></lib-form-button>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n <lib-form *ngIf=\"modal.form != null && modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-table *ngIf=\"modal.table != null\" [table]=\"modal.table\"></lib-table>\r\n <lib-form *ngIf=\"modal.form != null && !modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-accordion *ngIf=\"modal.accordion != null\" [accordion]=\"modal.accordion\"></lib-accordion>\r\n </div>\r\n </div>\r\n</div>\r\n",
2088
+ styles: [".modal{background-color:rgba(51,51,51,.26666666666666666);display:none;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:999}.modal .content{background-color:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow-modal);margin-bottom:50px;margin-top:50px;position:relative;z-index:2}.modal .content .header{float:right;position:relative;text-align:center;width:100%}.modal .content .header .title{float:left;font-family:VazirBold;font-size:18px;height:40px;line-height:40px;width:100%}::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-25px;position:absolute;top:-10px;z-index:5}.modal .content .body{float:right;position:relative;width:100%}@media (max-width:399.98px){.modal .content .close-modal{left:-15px!important}}"]
2089
2089
  },] }
2090
2090
  ];
2091
2091
  ModalComponent.ctorParameters = function () { return []; };
@@ -4645,6 +4645,7 @@
4645
4645
  }
4646
4646
  };
4647
4647
  FormPlaqueSelectComponent.prototype.plaqueChangeFocus = function (p, a) {
4648
+ var _this = this;
4648
4649
  if (this.inp.type === exports.InputType.SelectAutoCompletePlaque) {
4649
4650
  if (p === 'Part1') {
4650
4651
  if (a === 'Tab' || a === 'Enter') {
@@ -4694,8 +4695,7 @@
4694
4695
  if (a === 'Tab' || a === 'Enter') {
4695
4696
  this.part3.focus();
4696
4697
  if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
4697
- this.loadOptions();
4698
- console.log('loadOptions');
4698
+ setTimeout(function () { _this.loadOptions(); }, 100);
4699
4699
  }
4700
4700
  }
4701
4701
  else if (a === 'ShiftTab' || a === 'ShiftEnter') {
@@ -4709,8 +4709,7 @@
4709
4709
  else if (a === 'ShiftTab' || a === 'ShiftEnter') {
4710
4710
  this.part1.focus();
4711
4711
  if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
4712
- this.loadOptions();
4713
- console.log('loadOptions');
4712
+ setTimeout(function () { _this.loadOptions(); }, 100);
4714
4713
  }
4715
4714
  }
4716
4715
  }