ps-toolkit-ui 1.6.93 → 1.6.94

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.
@@ -6596,10 +6596,9 @@
6596
6596
  ]; };
6597
6597
 
6598
6598
  var ErrorComponent = /** @class */ (function () {
6599
- function ErrorComponent(config, route) {
6599
+ function ErrorComponent(config) {
6600
6600
  this.config = config;
6601
- this.route = route;
6602
- this.message = this.route.snapshot.paramMap.get('message');
6601
+ this.message = 'not-registered';
6603
6602
  var lang = new LangClass(config.currentLang, config.strings);
6604
6603
  this.l = function (key, v) {
6605
6604
  if (v === void 0) { v = null; }
@@ -6611,13 +6610,12 @@
6611
6610
  ErrorComponent.decorators = [
6612
6611
  { type: core.Component, args: [{
6613
6612
  selector: 'lib-error',
6614
- template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"message === 'not-registered'\">\r\n <i class=\"fa-duotone fa-registered error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorNotRegistered\")}}</div>\r\n </div>\r\n <div class=\"error-con\" *ngIf=\"message === 'expired-registered'\">\r\n <i class=\"fa-duotone fa-hourglass-end error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorExpiredRegistered\")}}</div>\r\n </div>\r\n</div>\r\n",
6613
+ template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"message === 'not-registered'\">\r\n <i class=\"fa-duotone fa-registered error-icon\"></i>\r\n <div class=\"error\">{{l(\"FormBaseErrorNotRegistered\")}}</div>\r\n </div>\r\n <div class=\"error-con\" *ngIf=\"message === 'expired-registered'\">\r\n <i class=\"fa-duotone fa-hourglass-end error-icon\"></i>\r\n <div class=\"error\">{{l(\"FormBaseErrorExpiredRegistered\")}}</div>\r\n </div>\r\n</div>\r\n",
6615
6614
  styles: ["#Error{align-items:center;background-color:#fff;display:flex;float:right;justify-content:center;min-height:calc(100vh - 125px);position:relative;width:100%}#Error .error-con{border-radius:var(--border-radius-base);float:right;height:100%;width:100%}#Error .error-con .error-text{float:right;font-family:VazirBold;font-size:60px;height:100px;line-height:120px;position:relative;text-align:center;width:100%;z-index:2}#Error .error-con .error-icon{color:var(--base-white);float:right;font-size:150px;text-align:center;width:100%}@media (max-width:399.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-text{font-size:90px}#Error .error-con .error-icon{font-size:300px;left:-90px}}@media (min-width:400px) and (max-width:499.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-text{font-size:110px}#Error .error-con .error-icon{font-size:380px}}@media (min-width:500px) and (max-width:599.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-text{font-size:110px}#Error .error-con .error-icon{font-size:380px}}@media (min-width:600px) and (max-width:699.99px){#Error .error-con{right:10%;width:80%}#Error .error-con .error-text{font-size:120px}}"]
6616
6615
  },] }
6617
6616
  ];
6618
6617
  ErrorComponent.ctorParameters = function () { return [
6619
- { type: PsToolkitUiConfigService },
6620
- { type: router.ActivatedRoute }
6618
+ { type: PsToolkitUiConfigService }
6621
6619
  ]; };
6622
6620
 
6623
6621
  var FormFingerComponent = /** @class */ (function () {