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

21
node_modules/@mantine/form/cjs/paths/replace-path.cjs generated vendored Normal file
View File

@@ -0,0 +1,21 @@
'use client';
'use strict';
var getPath = require('./get-path.cjs');
var setPath = require('./set-path.cjs');
function replacePath(path, item, index, values) {
const currentValue = getPath.getPath(path, values);
if (!Array.isArray(currentValue)) {
return values;
}
if (currentValue.length <= index) {
return values;
}
const cloned = [...currentValue];
cloned[index] = item;
return setPath.setPath(path, cloned, values);
}
exports.replacePath = replacePath;
//# sourceMappingURL=replace-path.cjs.map