biz9-logic 4.8.164 → 4.8.166
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/biz9_config +1 -1
- package/index.js +13 -1
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1829,6 +1829,8 @@ class Schedule {
|
|
|
1829
1829
|
};
|
|
1830
1830
|
class Storage {
|
|
1831
1831
|
static get = (window,key) => {
|
|
1832
|
+
return 0;
|
|
1833
|
+
/*
|
|
1832
1834
|
if(window){
|
|
1833
1835
|
if(Str.check_is_null(window.localStorage.getItem(key))){
|
|
1834
1836
|
return null;
|
|
@@ -1838,27 +1840,37 @@ class Storage {
|
|
|
1838
1840
|
}else{
|
|
1839
1841
|
return null;
|
|
1840
1842
|
}
|
|
1843
|
+
*/
|
|
1841
1844
|
}
|
|
1842
1845
|
static set = (window,key,obj) => {
|
|
1846
|
+
return 1;
|
|
1847
|
+
/*
|
|
1843
1848
|
if(window){
|
|
1844
1849
|
if(window.localStorage){
|
|
1845
1850
|
window.localStorage.setItem(key,JSON.stringify(obj));
|
|
1846
1851
|
}
|
|
1847
1852
|
}
|
|
1853
|
+
*/
|
|
1848
1854
|
}
|
|
1849
1855
|
static remove = (window,key) =>{
|
|
1856
|
+
return 2;
|
|
1857
|
+
/*
|
|
1850
1858
|
if(window){
|
|
1851
1859
|
if(window.localStorage){
|
|
1852
1860
|
window.localStorage.removeItem(key);
|
|
1853
1861
|
}
|
|
1854
1862
|
}
|
|
1863
|
+
*/
|
|
1855
1864
|
}
|
|
1856
1865
|
static clear = (window) =>{
|
|
1857
|
-
|
|
1866
|
+
return 3;
|
|
1867
|
+
/*
|
|
1868
|
+
ifwindow){
|
|
1858
1869
|
if(window.localStorage){
|
|
1859
1870
|
window.localStorage.clear();
|
|
1860
1871
|
}
|
|
1861
1872
|
}
|
|
1873
|
+
*/
|
|
1862
1874
|
}
|
|
1863
1875
|
}
|
|
1864
1876
|
class User_Logic {
|