import { toLowerFirstChar } from "../input/StringUtilities.mjs";
//#region src/utilities/crud/useDefaultFormValues.js
const useDefaultFormValues = (initialObjectSchema, filterPropertyName = "name", excludePropertyName = "identifier") => {
	const result = initialObjectSchema?.filter((x) => !(x?.extendedProperties[excludePropertyName] || x.name === "clusterId" || x?.extendedProperties?.udpFieldProperties?.maintainenceConfig?.hiddenForm)).map((x) => {
		return [toLowerFirstChar(x[filterPropertyName]), ""];
	});
	return { defaultFormValues: !!result ? Object.fromEntries(result) : {} };
};
//#endregion
export { useDefaultFormValues as default };

//# sourceMappingURL=useDefaultFormValues.mjs.map