@jctrans-materials/comps-vue3 1.0.40-beta.4 → 1.0.40-beta.6
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/components/JcSearch/hooks/useSearchHistory.d.ts +2 -2
- package/dist/components/JcSearch/hooks/useSearchLogic.d.ts +2 -2
- package/dist/components/JcSearch/hooks/useSelectBehavior.d.ts +1 -1
- package/dist/components/JcSearch/index.d.ts +2 -2
- package/dist/index.cjs.js +20 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +21217 -1
- package/package.json +8 -8
|
@@ -3,7 +3,7 @@ import { SearchItem } from '../type';
|
|
|
3
3
|
|
|
4
4
|
export declare function useSearchHistory(historyKey: Ref<string | undefined>): {
|
|
5
5
|
searchHistory: Ref<{
|
|
6
|
-
[x: string]:
|
|
6
|
+
[x: string]: unknown;
|
|
7
7
|
id?: string | number | undefined;
|
|
8
8
|
type: string;
|
|
9
9
|
display?: string | undefined;
|
|
@@ -13,7 +13,7 @@ export declare function useSearchHistory(historyKey: Ref<string | undefined>): {
|
|
|
13
13
|
nameEn?: string | undefined;
|
|
14
14
|
nameCn?: string | undefined;
|
|
15
15
|
}[], SearchItem[] | {
|
|
16
|
-
[x: string]:
|
|
16
|
+
[x: string]: unknown;
|
|
17
17
|
id?: string | number | undefined;
|
|
18
18
|
type: string;
|
|
19
19
|
display?: string | undefined;
|
|
@@ -7,7 +7,7 @@ interface SearchContext {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function useSearchLogic(query: Ref<string>, searchTypeList: Ref<string[]>, context?: SearchContext): {
|
|
9
9
|
searchResults: Ref<{
|
|
10
|
-
[x: string]:
|
|
10
|
+
[x: string]: unknown;
|
|
11
11
|
id?: string | number | undefined;
|
|
12
12
|
type: string;
|
|
13
13
|
display?: string | undefined;
|
|
@@ -17,7 +17,7 @@ export declare function useSearchLogic(query: Ref<string>, searchTypeList: Ref<s
|
|
|
17
17
|
nameEn?: string | undefined;
|
|
18
18
|
nameCn?: string | undefined;
|
|
19
19
|
}[], SearchItem[] | {
|
|
20
|
-
[x: string]:
|
|
20
|
+
[x: string]: unknown;
|
|
21
21
|
id?: string | number | undefined;
|
|
22
22
|
type: string;
|
|
23
23
|
display?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
|
|
3
|
-
export declare function useSelectBehavior(multiple: boolean, inputRef: Ref<HTMLInputElement | null>, query: Ref<string>, emits:
|
|
3
|
+
export declare function useSelectBehavior(multiple: boolean, inputRef: Ref<HTMLInputElement | null>, query: Ref<string>, emits: (event: "blur") => void): {
|
|
4
4
|
isDropdownVisible: Ref<boolean, boolean>;
|
|
5
5
|
openDropdown: () => boolean;
|
|
6
6
|
closeDropdown: () => boolean;
|
|
@@ -20,7 +20,7 @@ declare function __VLS_template(): {
|
|
|
20
20
|
suffix?(_: {}): any;
|
|
21
21
|
history?(_: {
|
|
22
22
|
searchHistory: {
|
|
23
|
-
[x: string]:
|
|
23
|
+
[x: string]: unknown;
|
|
24
24
|
id?: string | number | undefined;
|
|
25
25
|
type: string;
|
|
26
26
|
display?: string | undefined;
|
|
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
|
|
|
33
33
|
}): any;
|
|
34
34
|
results?(_: {
|
|
35
35
|
searchResults: {
|
|
36
|
-
[x: string]:
|
|
36
|
+
[x: string]: unknown;
|
|
37
37
|
id?: string | number | undefined;
|
|
38
38
|
type: string;
|
|
39
39
|
display?: string | undefined;
|