318cd6d27de68dca34d385cb0b2b2139758dcf1ae3ad04ba5cccb15186e998b95c84e46f18dd624498e3ab65a4b63568a787da656bf40281f2020436cf4260 842 B

12345678910111213141516171819
  1. import type { ComputedRef, Ref } from 'vue';
  2. import type { FormItemContext } from '../types';
  3. export declare const useFormItem: () => {
  4. form: import("../types").FormContext | undefined;
  5. formItem: FormItemContext | undefined;
  6. };
  7. export type IUseFormItemInputCommonProps = {
  8. id?: string;
  9. label?: string | number | boolean | Record<string, any>;
  10. ariaLabel?: string | number | boolean | Record<string, any>;
  11. };
  12. export declare const useFormItemInputId: (props: Partial<IUseFormItemInputCommonProps>, { formItemContext, disableIdGeneration, disableIdManagement, }: {
  13. formItemContext?: FormItemContext;
  14. disableIdGeneration?: ComputedRef<boolean> | Ref<boolean>;
  15. disableIdManagement?: ComputedRef<boolean> | Ref<boolean>;
  16. }) => {
  17. isLabeledByFormItem: ComputedRef<boolean>;
  18. inputId: Ref<string | undefined>;
  19. };