ps-toolkit-ui 1.3.95 → 1.3.98
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.
- package/bundles/ps-toolkit-ui.umd.js +17 -17
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/lang.class.js +3 -3
- package/esm2015/lib/classes/string.class.js +7 -7
- package/esm2015/lib/components/alert/alert.component.js +2 -2
- package/esm2015/lib/components/calendar/calendar.component.js +2 -2
- package/esm2015/lib/components/confirm/confirm.component.js +2 -2
- package/esm2015/lib/components/footer/footer.component.js +2 -2
- package/esm2015/lib/components/header/header.component.js +2 -2
- package/esm2015/lib/components/loading/loading.component.js +2 -2
- package/esm2015/lib/components/notfound/notfound.component.js +2 -2
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +2 -2
- package/esm2015/lib/components/sidebar/sidebar.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +17 -17
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/string.class.d.ts +6 -6
- package/package.json +1 -1
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
|
|
89
89
|
var strings = {
|
|
90
90
|
fa: {
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
public: {
|
|
92
|
+
header: {
|
|
93
93
|
Logout: 'خروج'
|
|
94
94
|
},
|
|
95
|
-
|
|
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
|
-
|
|
111
|
+
footer: {
|
|
112
112
|
Copyright: 'تمامی حقوق این وبسایت برای پارت سیلیکون محفوظ است.',
|
|
113
113
|
CreatorDesc: 'طراحی و توسعه',
|
|
114
114
|
CreatorCom: 'پارت سیلیکون'
|
|
115
115
|
},
|
|
116
|
-
|
|
116
|
+
app: {
|
|
117
117
|
Notfound: 'صفحه مورد نظر یافت نشد',
|
|
118
118
|
},
|
|
119
|
-
|
|
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, "
|
|
329
|
+
cv = _.get(this.lang, "public." + c + "." + k);
|
|
330
330
|
}
|
|
331
331
|
if (!cv) {
|
|
332
|
-
cv = _.get(this.lang, "
|
|
332
|
+
cv = _.get(this.lang, "public." + k);
|
|
333
333
|
}
|
|
334
334
|
if (!cv) {
|
|
335
335
|
return k;
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
356
356
|
this.l = function (key, v) {
|
|
357
357
|
if (v === void 0) { v = null; }
|
|
358
|
-
return lang.get('
|
|
358
|
+
return lang.get('public', 'footer', key, v);
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
return FooterComponent;
|
|
@@ -2011,7 +2011,7 @@
|
|
|
2011
2011
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
2012
2012
|
var l = function (key, v) {
|
|
2013
2013
|
if (v === void 0) { v = null; }
|
|
2014
|
-
return lang.get('
|
|
2014
|
+
return lang.get('public', 'header', key, v);
|
|
2015
2015
|
};
|
|
2016
2016
|
this.logoutInp = new InputClass(config.environment, l, 'Logout', 'fa-duotone fa-right-from-bracket', exports.InputType.Button, 'grey h-30 p-0');
|
|
2017
2017
|
this.logoutInp.onClick = function () {
|
|
@@ -2067,7 +2067,7 @@
|
|
|
2067
2067
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
2068
2068
|
this.l = function (key, v) {
|
|
2069
2069
|
if (v === void 0) { v = null; }
|
|
2070
|
-
return lang.get('
|
|
2070
|
+
return lang.get('sublic', 'Sidebar', key, v);
|
|
2071
2071
|
};
|
|
2072
2072
|
}
|
|
2073
2073
|
SidebarItemComponent.prototype.openClose = function (e) {
|
|
@@ -2153,7 +2153,7 @@
|
|
|
2153
2153
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
2154
2154
|
this.l = function (key, v) {
|
|
2155
2155
|
if (v === void 0) { v = null; }
|
|
2156
|
-
return lang.get('
|
|
2156
|
+
return lang.get('public', 'sidebar', key, v);
|
|
2157
2157
|
};
|
|
2158
2158
|
router$1.events.subscribe(function (event) {
|
|
2159
2159
|
if (event instanceof router.NavigationEnd) {
|
|
@@ -6258,7 +6258,7 @@
|
|
|
6258
6258
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6259
6259
|
var l = function (key, v) {
|
|
6260
6260
|
if (v === void 0) { v = null; }
|
|
6261
|
-
return lang.get('
|
|
6261
|
+
return lang.get('public', 'alert', key, v);
|
|
6262
6262
|
};
|
|
6263
6263
|
this.alert = new ModalClass(config.environment, l, 'Alert');
|
|
6264
6264
|
this.alert.form = new FormClass(config.environment, l, 'Alert');
|
|
@@ -6293,7 +6293,7 @@
|
|
|
6293
6293
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6294
6294
|
this.l = function (key, v) {
|
|
6295
6295
|
if (v === void 0) { v = null; }
|
|
6296
|
-
return lang.get('
|
|
6296
|
+
return lang.get('public', 'confirm', key, v);
|
|
6297
6297
|
};
|
|
6298
6298
|
}
|
|
6299
6299
|
ConfirmComponent.prototype.ngOnInit = function () {
|
|
@@ -6340,7 +6340,7 @@
|
|
|
6340
6340
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6341
6341
|
this.l = function (key, v) {
|
|
6342
6342
|
if (v === void 0) { v = null; }
|
|
6343
|
-
return lang.get('
|
|
6343
|
+
return lang.get('public', 'notfound', key, v);
|
|
6344
6344
|
};
|
|
6345
6345
|
this.back = new InputClass(config.environment, this.l, 'Back', 'fa-duotone fa-arrow-right', exports.InputType.Button, '');
|
|
6346
6346
|
this.back.onClick = function () {
|
|
@@ -6998,7 +6998,7 @@
|
|
|
6998
6998
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6999
6999
|
this.l = function (key, v) {
|
|
7000
7000
|
if (v === void 0) { v = null; }
|
|
7001
|
-
return lang.get('
|
|
7001
|
+
return lang.get('public', null, key, v);
|
|
7002
7002
|
};
|
|
7003
7003
|
}
|
|
7004
7004
|
return LoadingComponent;
|
|
@@ -7093,7 +7093,7 @@
|
|
|
7093
7093
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
7094
7094
|
this.l = function (key, v) {
|
|
7095
7095
|
if (v === void 0) { v = null; }
|
|
7096
|
-
return lang.get('
|
|
7096
|
+
return lang.get('public', null, key, v);
|
|
7097
7097
|
};
|
|
7098
7098
|
this.months = [this.l('Month1'), this.l('Month2'), this.l('Month3'), this.l('Month4'), this.l('Month5'), this.l('Month6'), this.l('Month7'), this.l('Month8'), this.l('Month9'), this.l('Month10'), this.l('Month11'), this.l('Month12')];
|
|
7099
7099
|
this.setActive(moment__namespace());
|