index.d.ts 799 B

12345678910111213
  1. import type { ExtractPropTypes } from 'vue';
  2. export declare const SCOPE = "use-empty-values";
  3. export declare const DEFAULT_EMPTY_VALUES: (string | null | undefined)[];
  4. export declare const DEFAULT_VALUE_ON_CLEAR: undefined;
  5. export declare const useEmptyValuesProps: {
  6. readonly emptyValues: ArrayConstructor;
  7. readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
  8. };
  9. export declare const useEmptyValues: (props: ExtractPropTypes<typeof useEmptyValuesProps>, defaultValue?: null | undefined) => {
  10. emptyValues: import("vue").ComputedRef<unknown[]>;
  11. valueOnClear: import("vue").ComputedRef<any>;
  12. isEmptyValue: (value: any) => boolean;
  13. };