ps-toolkit-ui 1.6.87 → 1.6.90

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.
@@ -309,6 +309,9 @@
309
309
  FormBaseErrorPermission: 'عدم دسترسی',
310
310
  PaymentError: 'خطا در اتصال به درگاه بانکی',
311
311
  Error: 'متاسفانه در سیستم خطایی به وجود آمده است. لطفا مجددا تلاش کنید',
312
+ ErrorFingerPrintNoDeviceConnected: 'دستگاه اثرانگشت به سیستم متصل نیست',
313
+ ErrorFingerPrintOpenDeviceFailed: 'خطا در باز کردن دستگاه اثرانگشت',
314
+ ErrorFingerPrintInitDBFailed: 'خطا در باز کردن دیتابیس دستگاه اثرانگشت',
312
315
  }
313
316
  }
314
317
  };
@@ -837,6 +840,7 @@
837
840
  ResultStatusEnum[ResultStatusEnum["Success"] = 1] = "Success";
838
841
  ResultStatusEnum[ResultStatusEnum["Unauthorized"] = 2] = "Unauthorized";
839
842
  ResultStatusEnum[ResultStatusEnum["NotAccess"] = 3] = "NotAccess";
843
+ ResultStatusEnum[ResultStatusEnum["NotRegistered"] = 4] = "NotRegistered";
840
844
  })(exports.ResultStatusEnum || (exports.ResultStatusEnum = {}));
841
845
  (function (PermissionTypeEnum) {
842
846
  PermissionTypeEnum[PermissionTypeEnum["Form"] = -1] = "Form";
@@ -1326,7 +1330,10 @@
1326
1330
  }
1327
1331
  else {
1328
1332
  var m = '';
1329
- if (res.status === exports.ResultStatusEnum.Unauthorized) {
1333
+ if (res.status === exports.ResultStatusEnum.NotRegistered) {
1334
+ m = form.l('FormBaseErrorRegistered');
1335
+ }
1336
+ else if (res.status === exports.ResultStatusEnum.Unauthorized) {
1330
1337
  m = form.l('FormBaseErrorExpired');
1331
1338
  }
1332
1339
  else if (res.status === exports.ResultStatusEnum.NotAccess) {
@@ -1431,7 +1438,10 @@
1431
1438
  }
1432
1439
  else {
1433
1440
  var m = '';
1434
- if (res.status === exports.ResultStatusEnum.Unauthorized) {
1441
+ if (res.status === exports.ResultStatusEnum.NotRegistered) {
1442
+ m = 'FormBaseErrorRegistered';
1443
+ }
1444
+ else if (res.status === exports.ResultStatusEnum.Unauthorized) {
1435
1445
  m = 'FormBaseErrorExpired';
1436
1446
  }
1437
1447
  else if (res.status === exports.ResultStatusEnum.NotAccess) {
@@ -1495,7 +1505,10 @@
1495
1505
  }
1496
1506
  else {
1497
1507
  var m = '';
1498
- if (res.status === exports.ResultStatusEnum.Unauthorized) {
1508
+ if (res.status === exports.ResultStatusEnum.NotRegistered) {
1509
+ m = 'FormBaseErrorRegistered';
1510
+ }
1511
+ else if (res.status === exports.ResultStatusEnum.Unauthorized) {
1499
1512
  m = 'FormBaseErrorExpired';
1500
1513
  }
1501
1514
  else if (res.status === exports.ResultStatusEnum.NotAccess) {
@@ -5683,9 +5696,6 @@
5683
5696
  if (f.selected) {
5684
5697
  l.push(f.value);
5685
5698
  }
5686
- if (f.selected && f.options.length !== 0) {
5687
- continue;
5688
- }
5689
5699
  var rs = this.getSelected(f.options);
5690
5700
  l = l.concat(rs);
5691
5701
  }