vue-devui 1.3.2 → 1.3.3-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -144,7 +144,7 @@ export declare type SearchFnType = (term: string) => SourceType;
144
144
  export declare type FormatterType = (item: string | SourceItemObj) => string;
145
145
  export declare type DefaultFuncType = () => void;
146
146
  export declare type HandleSearch = (term: string, enableLazyLoad?: boolean) => void;
147
- export declare type RecentlyFocus = (latestSource: SourceType) => void;
147
+ export declare type RecentlyFocus = (latestSource: Array<SourceItemObj>) => void;
148
148
  export declare type InputDebounceCb = (value: string) => void;
149
149
  export declare type TransInputFocusEmit = () => unknown;
150
150
  export declare type SelectOptionClick = (item: string | SourceItemObj) => void;
@@ -161,9 +161,10 @@ export declare type DropdownProps = {
161
161
  dropDownRef: Ref;
162
162
  showLoading: Ref<boolean>;
163
163
  loadMore: () => void;
164
- latestSource: Ref<Array<SourceItemObj>>;
164
+ latestSource: Ref;
165
165
  modelValue: Ref<string>;
166
166
  hoverIndex: Ref<number>;
167
- valueParser: () => void;
167
+ valueParser: Ref;
168
+ isDisabled: ComputedRef<boolean>;
168
169
  };
169
170
  export declare const DropdownPropsKey: InjectionKey<DropdownProps>;
@@ -1,3 +1,3 @@
1
1
  import { Ref, SetupContext } from 'vue';
2
- import { HandleSearch, RecentlyFocus, TransInputFocusEmit, SourceType, SourceItemObj, UseInputHandle } from '../auto-complete-types';
3
- export default function useInputHandle(ctx: SetupContext, searchList: Ref<SourceType>, showNoResultItemTemplate: Ref<boolean>, modelValue: Ref<string>, isDisabled: Ref<boolean>, delay: Ref<number>, handleSearch: HandleSearch, transInputFocusEmit: Ref<TransInputFocusEmit>, recentlyFocus: RecentlyFocus, latestSource: Ref<Array<SourceItemObj>>): UseInputHandle;
2
+ import { HandleSearch, RecentlyFocus, TransInputFocusEmit, SourceType, UseInputHandle } from '../auto-complete-types';
3
+ export default function useInputHandle(ctx: SetupContext, searchList: Ref<SourceType>, showNoResultItemTemplate: Ref<boolean>, modelValue: Ref<string>, isDisabled: Ref<boolean>, delay: Ref<number>, handleSearch: HandleSearch, transInputFocusEmit: Ref<TransInputFocusEmit>, recentlyFocus: RecentlyFocus, latestSource: Ref): UseInputHandle;
@@ -0,0 +1 @@
1
+ export {};
@@ -5,3 +5,4 @@ export declare const isObject: (value: unknown) => value is Record<string, unkno
5
5
  export declare const isFunction: (value: unknown) => value is () => unknown;
6
6
  export declare const isUndefined: (value: unknown) => value is undefined;
7
7
  export declare const isNull: (value: unknown) => value is null;
8
+ export declare const isHTMLElement: (value: unknown) => value is HTMLElement;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _default;