feat: initial commit - Phase 1 & 2 core features

This commit is contained in:
hiderfong
2026-04-22 17:07:33 +08:00
commit 1773bda06b
25005 changed files with 6252106 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { hasOwn } from "@vue/shared";
import { get, set } from "lodash-unified";
//#region ../../packages/utils/objects.ts
const keysOf = (arr) => Object.keys(arr);
const entriesOf = (arr) => Object.entries(arr);
const getProp = (obj, path, defaultValue) => {
return {
get value() {
return get(obj, path, defaultValue);
},
set value(val) {
set(obj, path, val);
}
};
};
//#endregion
export { entriesOf, getProp, hasOwn, keysOf };
//# sourceMappingURL=objects.mjs.map