Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

18
node_modules/@mantine/form/esm/paths/reorder-path.mjs generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'use client';
import { getPath } from './get-path.mjs';
import { setPath } from './set-path.mjs';
function reorderPath(path, { from, to }, values) {
const currentValue = getPath(path, values);
if (!Array.isArray(currentValue)) {
return values;
}
const cloned = [...currentValue];
const item = currentValue[from];
cloned.splice(from, 1);
cloned.splice(to, 0, item);
return setPath(path, cloned, values);
}
export { reorderPath };
//# sourceMappingURL=reorder-path.mjs.map