import { inject, provide, ref } from "vue";
const FORM_READONLY_KEY = Symbol("shwfed-form-readonly");
const NEVER_READONLY = ref(false);
export function provideFormReadonly(readonly) {
  provide(FORM_READONLY_KEY, readonly);
}
export function useFormReadonly() {
  return inject(FORM_READONLY_KEY, NEVER_READONLY);
}
