ps-toolkit-ui 0.2.46 → 0.2.47
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 +4 -2
- 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/helper.class.js +3 -3
- package/esm2015/lib/classes/string.class.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +3 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/helper.class.d.ts +1 -1
- package/lib/classes/string.class.d.ts +1 -0
- package/package.json +1 -1
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
Alert: 'هشدار',
|
|
146
146
|
AccessDenied: 'عدم دسترسی',
|
|
147
147
|
Image: 'تصویر',
|
|
148
|
+
ImageFile: 'تصویر',
|
|
148
149
|
Grade: 'پایه تحصیلی',
|
|
149
150
|
Close: 'بستن',
|
|
150
151
|
Desc: 'توضیحات',
|
|
@@ -979,8 +980,9 @@
|
|
|
979
980
|
}
|
|
980
981
|
document.cookie = name + '=' + (value || '') + expires + '; path=/';
|
|
981
982
|
};
|
|
982
|
-
HelperClass.getCookie = function (name) {
|
|
983
|
+
HelperClass.getCookie = function (name, def) {
|
|
983
984
|
var e_1, _a;
|
|
985
|
+
if (def === void 0) { def = null; }
|
|
984
986
|
var nameEQ = name + '=';
|
|
985
987
|
var ca = document.cookie.split(';');
|
|
986
988
|
try {
|
|
@@ -1001,7 +1003,7 @@
|
|
|
1001
1003
|
}
|
|
1002
1004
|
finally { if (e_1) throw e_1.error; }
|
|
1003
1005
|
}
|
|
1004
|
-
return
|
|
1006
|
+
return def;
|
|
1005
1007
|
};
|
|
1006
1008
|
HelperClass.eraseCookie = function (name) {
|
|
1007
1009
|
document.cookie.split(';')
|