ps-toolkit-ui 0.1.67 → 0.1.68

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.
@@ -2085,7 +2085,7 @@
2085
2085
  { type: core.Component, args: [{
2086
2086
  selector: 'lib-modal',
2087
2087
  template: "<div [id]=\"modal.id + 'Modal'\" [className]=\"(modal.class ? modal.class : '') + ' modal'\">\r\n <div class=\"content\">\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:var(--black-t-44);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:5px;box-shadow:var(--box-shadow-modal);float:right;margin:50px 30%;position:relative;width:40%;z-index:2}.modal.lg .content{margin:50px 20%;width:60%}.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%}.modal .content .footer{background-color:var(--base-22);float:right;height:50px;width:100%}.modal .content .footer:before{background-image:linear-gradient(90deg,rgba(51,51,51,0),rgba(51,51,51,.25),rgba(51,51,51,0));border:0;content:\"\";float:right;height:1px;width:100%}@media (max-width:399.98px){.modal .content{margin:50px 5%;width:90%}::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:400px) and (max-width:499.98px){.modal .content{margin:50px 10%;width:80%}::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:500px) and (max-width:599.98px){.modal .content{margin:50px 15%;width:70%}::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:600px) and (max-width:699.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:700px) and (max-width:799.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.text{margin-right:10%;width:80%!important}.modal.lg .content{margin:50px 10%;width:80%}}@media (min-width:800px) and (max-width:899.98px){.modal .content{margin:50px 25%;width:50%}::ng-deep .modal .content .form .form-input-con.text{margin-right:10%;width:80%!important}.modal.lg .content{margin:50px 15%;width:70%}}@media (min-width:900px) and (max-width:999.98px){.modal .content{margin:50px 20%;width:60%}.modal.lg .content{margin:50px 15%;width:70%}}@media (min-width:1000px) and (max-width:1099.98px){.modal .content,.modal.lg .content{margin:50px 20%;width:60%}}@media (min-width:1100px) and (max-width:1199.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}}@media (min-width:1200px) and (max-width:1299.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}}"]
2088
+ styles: [".modal{background-color:var(--black-t-44);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:5px;box-shadow:var(--box-shadow-modal);float:right;margin:50px 30%;position:relative;width:40%;z-index:2}.modal.lg .content{margin:50px 20%;width:60%}.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%}.modal .content .footer{background-color:var(--base-22);float:right;height:50px;width:100%}.modal .content .footer:before{background-image:linear-gradient(90deg,rgba(51,51,51,0),rgba(51,51,51,.25),rgba(51,51,51,0));border:0;content:\"\";float:right;height:1px;width:100%}@media (max-width:399.98px){.modal .content{margin:50px 5%;width:90%}::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select,::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:400px) and (max-width:499.98px){.modal .content{margin:50px 10%;width:80%}::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select,::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:500px) and (max-width:599.98px){.modal .content{margin:50px 15%;width:70%}::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select,::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:600px) and (max-width:699.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select,::ng-deep .modal .content .form .form-input-con.text{width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:700px) and (max-width:799.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select,::ng-deep .modal .content .form .form-input-con.text{margin-right:10%;width:80%!important}.modal.lg .content{margin:50px 10%;width:80%}}@media (min-width:800px) and (max-width:899.98px){.modal .content{margin:50px 25%;width:50%}::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select,::ng-deep .modal .content .form .form-input-con.text{margin-right:10%;width:80%!important}.modal.lg .content{margin:50px 15%;width:70%}}@media (min-width:900px) and (max-width:999.98px){.modal .content{margin:50px 20%;width:60%}.modal.lg .content{margin:50px 15%;width:70%}}@media (min-width:1000px) and (max-width:1099.98px){.modal .content,.modal.lg .content{margin:50px 20%;width:60%}}@media (min-width:1100px) and (max-width:1199.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}}@media (min-width:1200px) and (max-width:1299.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}}"]
2089
2089
  },] }
2090
2090
  ];
2091
2091
  ModalComponent.ctorParameters = function () { return []; };
@@ -6292,11 +6292,11 @@
6292
6292
  }
6293
6293
  FormCarSearchComponent.prototype.ngOnInit = function () {
6294
6294
  var _this = this;
6295
- this.car = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-user', exports.InputType.SelectAutoCompletePlaque);
6296
- this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-motorcycle', exports.InputType.SelectAutoCompletePlaqueM);
6297
- this.driver = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', null, exports.InputType.SelectAutoComplete);
6295
+ this.car = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-user', exports.InputType.SelectAutoCompletePlaque, 'plaque-inp');
6296
+ this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-motorcycle', exports.InputType.SelectAutoCompletePlaqueM, 'plaque-inp');
6297
+ this.driver = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', null, exports.InputType.SelectAutoComplete, 'plaque-inp');
6298
6298
  this.driver.placeholder = this.inp.l('DriverName');
6299
- this.fingerprint = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', null, exports.InputType.Select);
6299
+ this.fingerprint = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', null, exports.InputType.Select, 'plaque-inp');
6300
6300
  this.car.displayLabel = this.motor.displayLabel = this.driver.displayLabel = this.fingerprint.displayLabel = false;
6301
6301
  this.car.url = this.motor.url = this.driver.url = this.inp.url.replace('_{}', '_' + this.type);
6302
6302
  this.car.onChange = function () {
@@ -6467,8 +6467,8 @@
6467
6467
  });
6468
6468
  FormCarComponent.prototype.ngOnInit = function () {
6469
6469
  var _this = this;
6470
- this.car = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-user', exports.InputType.Plaque, '', null, this.inp.required);
6471
- this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-motorcycle', exports.InputType.PlaqueM, '', null, this.inp.required);
6470
+ this.car = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-user', exports.InputType.Plaque, 'plaque-inp', null, this.inp.required);
6471
+ this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-motorcycle', exports.InputType.PlaqueM, 'plaque-inp', null, this.inp.required);
6472
6472
  this.car.displayLabel = this.motor.displayLabel = false;
6473
6473
  this.inp.setValue = function (v) {
6474
6474
  if (v != null) {