ps-toolkit-ui 1.6.93 → 1.6.96

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.
@@ -843,6 +843,7 @@
843
843
  ResultStatusEnum[ResultStatusEnum["Unauthorized"] = 2] = "Unauthorized";
844
844
  ResultStatusEnum[ResultStatusEnum["NotAccess"] = 3] = "NotAccess";
845
845
  ResultStatusEnum[ResultStatusEnum["NotRegistered"] = 4] = "NotRegistered";
846
+ ResultStatusEnum[ResultStatusEnum["ExpiredRegistered"] = 5] = "ExpiredRegistered";
846
847
  })(exports.ResultStatusEnum || (exports.ResultStatusEnum = {}));
847
848
  (function (PermissionTypeEnum) {
848
849
  PermissionTypeEnum[PermissionTypeEnum["Form"] = -1] = "Form";
@@ -1335,6 +1336,9 @@
1335
1336
  if (res.status === exports.ResultStatusEnum.NotRegistered) {
1336
1337
  m = form.l('FormBaseErrorNotRegistered');
1337
1338
  }
1339
+ else if (res.status === exports.ResultStatusEnum.ExpiredRegistered) {
1340
+ m = form.l('FormBaseErrorExpiredRegistered');
1341
+ }
1338
1342
  else if (res.status === exports.ResultStatusEnum.Unauthorized) {
1339
1343
  m = form.l('FormBaseErrorExpired');
1340
1344
  }
@@ -6611,8 +6615,8 @@
6611
6615
  ErrorComponent.decorators = [
6612
6616
  { type: core.Component, args: [{
6613
6617
  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",
6615
- 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}}"]
6618
+ template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"message === 'notregistered'\">\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 === 'expiredregistered'\">\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",
6619
+ 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:30px;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:25px}#Error .error-con .error-icon{font-size:170px}}@media (min-width:400px) and (max-width:499.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-text{font-size:25px}#Error .error-con .error-icon{font-size:170px}}@media (min-width:500px) and (max-width:599.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-icon{font-size:200px}}@media (min-width:600px) and (max-width:699.99px){#Error .error-con{right:10%;width:80%}}"]
6616
6620
  },] }
6617
6621
  ];
6618
6622
  ErrorComponent.ctorParameters = function () { return [