x-essential-lib 0.5.56 → 0.5.58
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/dist/index.js
CHANGED
|
@@ -865,11 +865,11 @@ function mt(e, a) {
|
|
|
865
865
|
return;
|
|
866
866
|
}
|
|
867
867
|
if (!e && u.ctrlKey && u.altKey && u.code === "KeyD") {
|
|
868
|
-
o.dark = !o.dark;
|
|
868
|
+
o.dark = !o.dark, o.$persist();
|
|
869
869
|
return;
|
|
870
870
|
}
|
|
871
871
|
if (!e && u.ctrlKey && u.altKey && u.code === "KeyL") {
|
|
872
|
-
o.locale === "en" ? o.locale = "zhHans" : o.locale = "en";
|
|
872
|
+
o.locale === "en" ? o.locale = "zhHans" : o.locale = "en", o.$persist();
|
|
873
873
|
return;
|
|
874
874
|
}
|
|
875
875
|
};
|
|
@@ -897,7 +897,7 @@ function mt(e, a) {
|
|
|
897
897
|
const d = b[q];
|
|
898
898
|
V[q] = JSON.parse(d);
|
|
899
899
|
}
|
|
900
|
-
o.permissionObjects = V, o.permissionChecksum = b.checksum ?? "";
|
|
900
|
+
o.permissionObjects = V, o.permissionChecksum = b.checksum ?? "", o.$persist();
|
|
901
901
|
} catch (g) {
|
|
902
902
|
console.error(g);
|
|
903
903
|
}
|
package/dist/store/global.d.ts
CHANGED
package/dist/store/viewMgr.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-essential-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.58",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"lint-staged": "^15.2.2",
|
|
47
47
|
"pinia-plugin-persistedstate": "^3.2.1",
|
|
48
48
|
"prettier": "3.2.5",
|
|
49
|
-
"rollup-plugin-copy": "^3.5.0",
|
|
50
49
|
"sass": "^1.74.1",
|
|
51
50
|
"typescript": "^5.2.2",
|
|
52
51
|
"vite": "^5.2.0",
|