@scvzerng/element-plus-search-vue2 0.1.0 → 0.1.1
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/dist/types/vue2/src/SearchBar.vue.d.ts +5 -5
- package/dist/types/vue2/src/SearchBarItem.vue.d.ts +1 -1
- package/dist/types/vue2/src/SearchBarState.d.ts +2 -2
- package/dist/types/vue2/src/SearchItemRender.d.ts +1 -1
- package/dist/types/vue2/src/componentTextGetters.d.ts +1 -1
- package/dist/types/vue2/src/helper/vModel.d.ts +1 -1
- package/dist/types/vue2/src/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Searchable } from '
|
|
1
|
+
import type { Searchable } from '../../shared/src';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
searches: Searchable[];
|
|
4
4
|
id: string;
|
|
@@ -21,14 +21,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
required?: boolean | undefined;
|
|
22
22
|
index: number;
|
|
23
23
|
visible: boolean;
|
|
24
|
-
disabled: boolean | import(
|
|
24
|
+
disabled: boolean | import('../../shared/src').PredicateCallback;
|
|
25
25
|
span: number;
|
|
26
26
|
initValue?: any;
|
|
27
|
-
enable: boolean | import(
|
|
27
|
+
enable: boolean | import('../../shared/src').PredicateCallback;
|
|
28
28
|
pinned: boolean;
|
|
29
29
|
tagFilter?: ((value: any) => boolean) | undefined;
|
|
30
|
-
render: import(
|
|
31
|
-
transform?: import(
|
|
30
|
+
render: import('../../shared/src').SearchItemRender;
|
|
31
|
+
transform?: import('../../shared/src').TransformCallback<any> | undefined;
|
|
32
32
|
onChange?: ((value: any, api: import("../../shared/src/types/SearchBarState.js").SearchBarStateLike) => void) | undefined;
|
|
33
33
|
clean: () => void;
|
|
34
34
|
reset: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SearchBarState as BaseSearchBarState, type ConfigStorage, SearchItem, SearchConfig, SearchItemLayout, SearchTag } from '
|
|
2
|
-
import type { Searchable } from '
|
|
1
|
+
import { SearchBarState as BaseSearchBarState, type ConfigStorage, SearchItem, SearchConfig, SearchItemLayout, SearchTag } from '../../shared/src';
|
|
2
|
+
import type { Searchable } from '../../shared/src';
|
|
3
3
|
export { SearchItem, SearchConfig, SearchItemLayout, SearchTag };
|
|
4
4
|
export declare class SearchBarState extends BaseSearchBarState {
|
|
5
5
|
constructor(id: string, searches: Searchable[], onSearch: (params: any) => Promise<void>, storage?: ConfigStorage);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './helper/vModel';
|
|
2
2
|
export { default as SearchBar } from './SearchBar.vue';
|
|
3
|
-
export * from '
|
|
3
|
+
export * from '../../shared/src';
|
|
4
4
|
import type { Ref } from 'vue';
|
|
5
|
-
import type { SearchValueLike } from '
|
|
5
|
+
import type { SearchValueLike } from '../../shared/src';
|
|
6
6
|
export interface RefreshInstance<SEARCH_OBJECT> {
|
|
7
7
|
refresh: (searchObject?: SEARCH_OBJECT) => void | Promise<void>;
|
|
8
8
|
}
|