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.
@@ -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 null;
1006
+ return def;
1005
1007
  };
1006
1008
  HelperClass.eraseCookie = function (name) {
1007
1009
  document.cookie.split(';')