ps-toolkit-ui 1.3.96 → 1.3.99

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.
@@ -88,11 +88,11 @@
88
88
 
89
89
  var strings = {
90
90
  fa: {
91
- Public: {
92
- Header: {
91
+ public: {
92
+ header: {
93
93
  Logout: 'خروج'
94
94
  },
95
- Login: {
95
+ login: {
96
96
  ReSendCodeDes: '<span class="c-secondary c-p">ارسال مجدد</span>',
97
97
  ReSendCodeRemain: '<div class="ltr d-ib va-m"><div class="t-c d-ib w-20-p f-l">{}</div><div class="t-c d-ib w-5-p f-l">:</div><div class="t-c d-ib w-20-p f-l">{}</div></div><div class="d-ib va-m">مانده تا دریافت مجدد کد</div>',
98
98
  Code: 'کد تایید',
@@ -108,15 +108,15 @@
108
108
  DeviceId: 'کد نرم افزار: {}',
109
109
  Copy: 'کپی',
110
110
  },
111
- Footer: {
111
+ footer: {
112
112
  Copyright: 'تمامی حقوق این وبسایت برای پارت سیلیکون محفوظ است.',
113
113
  CreatorDesc: 'طراحی و توسعه',
114
114
  CreatorCom: 'پارت سیلیکون'
115
115
  },
116
- App: {
116
+ app: {
117
117
  Notfound: 'صفحه مورد نظر یافت نشد',
118
118
  },
119
- Notfound: {
119
+ notfound: {
120
120
  Text: 'متاسفانه صفحه مورد نظر شما یافت نشد',
121
121
  Back: 'بازگشت'
122
122
  },
@@ -326,10 +326,10 @@
326
326
  }
327
327
  var cv = _.get(this.lang, area ? area + "." + c + "." + k : c + "." + k);
328
328
  if (!cv) {
329
- cv = _.get(this.lang, "Public." + c + "." + k);
329
+ cv = _.get(this.lang, "public." + c + "." + k);
330
330
  }
331
331
  if (!cv) {
332
- cv = _.get(this.lang, "Public." + k);
332
+ cv = _.get(this.lang, "public." + k);
333
333
  }
334
334
  if (!cv) {
335
335
  return k;
@@ -7296,17 +7296,9 @@
7296
7296
  if (v === void 0) { v = null; }
7297
7297
  return app.getL("" + c + (a ? "." + a : ''), key, v);
7298
7298
  };
7299
- if (app.currentData.user !== null) {
7300
- this.permissions = this.getPermission(this.c, this.a);
7301
- if (this.permissions) {
7302
- this.permissions.Area = app.area;
7303
- }
7304
- }
7305
- else {
7306
- this.permissions = this.getPermission(this.c, this.a);
7307
- if (this.permissions) {
7308
- this.permissions.Area = app.area;
7309
- }
7299
+ this.permissions = this.getPermission(this.c, this.a);
7300
+ if (this.permissions) {
7301
+ this.permissions.Area = app.area;
7310
7302
  }
7311
7303
  }
7312
7304
  BaseComponent.prototype.getPermission = function (c, a) {