vue-devui 1.3.2 → 1.3.3-alpha.4
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.
- package/README.md +2 -0
- package/checkbox/index.es.js +2 -1
- package/checkbox/index.umd.js +3 -3
- package/date-picker-pro/index.es.js +2 -1
- package/date-picker-pro/index.umd.js +4 -4
- package/message/index.es.js +2 -2
- package/message/index.umd.js +1 -1
- package/message/style.css +1 -1
- package/package.json +1 -1
- package/pagination/index.es.js +2 -1
- package/pagination/index.umd.js +1 -1
- package/select/index.es.js +2 -1
- package/select/index.umd.js +4 -4
- package/splitter/index.es.js +6 -15
- package/splitter/index.umd.js +9 -9
- package/style.css +1 -1
- package/table/index.es.js +2 -1
- package/table/index.umd.js +4 -4
- package/time-select/index.es.js +2 -1
- package/time-select/index.umd.js +1 -1
- package/tree/index.es.js +4 -2
- package/tree/index.umd.js +4 -4
- package/types/auto-complete/src/auto-complete-types.d.ts +4 -3
- package/types/auto-complete/src/composables/use-input-handle.d.ts +2 -2
- package/types/mention/__tests__/mention.spec.d.ts +1 -0
- package/types/shared/utils/is.d.ts +1 -0
- package/types/virtual-list/src/components/resize-observer.d.ts +2 -0
- package/vue-devui.es.js +15668 -7111
- package/vue-devui.umd.js +21 -21
|
@@ -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:
|
|
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
|
|
164
|
+
latestSource: Ref;
|
|
165
165
|
modelValue: Ref<string>;
|
|
166
166
|
hoverIndex: Ref<number>;
|
|
167
|
-
valueParser:
|
|
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,
|
|
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
|
|
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;
|