@jctrans-materials/comps-vue3 1.0.41-beta.0 → 1.0.41-beta.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/components/JcCarrierSearch/AirCarrierSearch.d.ts +1 -39
- package/dist/components/JcCarrierSearch/AirLineSearch.d.ts +1 -39
- package/dist/components/JcCarrierSearch/JcCarrierSearch.test.d.ts +1 -0
- package/dist/components/JcCarrierSearch/SeaCarrierSearch.d.ts +1 -39
- package/dist/components/JcCarrierSearch/SeaLineSearch.d.ts +1 -39
- package/dist/components/JcCarrierSearch/index.d.ts +24 -3
- package/dist/components/JcMSearch/common.d.ts +4 -14
- package/dist/components/JcMSearch/index.d.ts +1 -1
- package/dist/components/JcSearch/common.d.ts +4 -14
- 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 +3 -3
- package/dist/gio.d.ts +8 -1
- package/dist/index.cjs.js +20 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +21613 -1
- package/package.json +9 -9
- package/dist/hooks/useLang.d.ts +0 -3
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
2
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').
|
|
3
|
-
modelValue: {
|
|
4
|
-
required: true;
|
|
5
|
-
type: import('vue').PropType<string | number>;
|
|
6
|
-
};
|
|
7
|
-
lang: StringConstructor;
|
|
8
|
-
placeholder: StringConstructor;
|
|
9
|
-
showApplyData: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
blur: (...args: any[]) => void;
|
|
15
|
-
change: (...args: any[]) => void;
|
|
16
|
-
focus: (...args: any[]) => void;
|
|
17
|
-
"update:modelValue": (...args: any[]) => void;
|
|
18
|
-
apply: (...args: any[]) => void;
|
|
19
|
-
"remove-tag": (...args: any[]) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
modelValue: {
|
|
22
|
-
required: true;
|
|
23
|
-
type: import('vue').PropType<string | number>;
|
|
24
|
-
};
|
|
25
|
-
lang: StringConstructor;
|
|
26
|
-
placeholder: StringConstructor;
|
|
27
|
-
showApplyData: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{
|
|
32
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onApply?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}>, {
|
|
39
|
-
showApplyData: boolean;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
3
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
4
|
export default _default;
|
|
43
5
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
2
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').
|
|
3
|
-
modelValue: {
|
|
4
|
-
required: true;
|
|
5
|
-
type: import('vue').PropType<string | number>;
|
|
6
|
-
};
|
|
7
|
-
lang: StringConstructor;
|
|
8
|
-
placeholder: StringConstructor;
|
|
9
|
-
showApplyData: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
blur: (...args: any[]) => void;
|
|
15
|
-
change: (...args: any[]) => void;
|
|
16
|
-
focus: (...args: any[]) => void;
|
|
17
|
-
"update:modelValue": (...args: any[]) => void;
|
|
18
|
-
apply: (...args: any[]) => void;
|
|
19
|
-
"remove-tag": (...args: any[]) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
modelValue: {
|
|
22
|
-
required: true;
|
|
23
|
-
type: import('vue').PropType<string | number>;
|
|
24
|
-
};
|
|
25
|
-
lang: StringConstructor;
|
|
26
|
-
placeholder: StringConstructor;
|
|
27
|
-
showApplyData: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{
|
|
32
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onApply?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}>, {
|
|
39
|
-
showApplyData: boolean;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
3
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
4
|
export default _default;
|
|
43
5
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
2
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').
|
|
3
|
-
modelValue: {
|
|
4
|
-
required: true;
|
|
5
|
-
type: import('vue').PropType<string | number>;
|
|
6
|
-
};
|
|
7
|
-
lang: StringConstructor;
|
|
8
|
-
placeholder: StringConstructor;
|
|
9
|
-
showApplyData: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
blur: (...args: any[]) => void;
|
|
15
|
-
change: (...args: any[]) => void;
|
|
16
|
-
focus: (...args: any[]) => void;
|
|
17
|
-
"update:modelValue": (...args: any[]) => void;
|
|
18
|
-
apply: (...args: any[]) => void;
|
|
19
|
-
"remove-tag": (...args: any[]) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
modelValue: {
|
|
22
|
-
required: true;
|
|
23
|
-
type: import('vue').PropType<string | number>;
|
|
24
|
-
};
|
|
25
|
-
lang: StringConstructor;
|
|
26
|
-
placeholder: StringConstructor;
|
|
27
|
-
showApplyData: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{
|
|
32
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onApply?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}>, {
|
|
39
|
-
showApplyData: boolean;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
3
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
4
|
export default _default;
|
|
43
5
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
2
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').
|
|
3
|
-
modelValue: {
|
|
4
|
-
required: true;
|
|
5
|
-
type: import('vue').PropType<string | number>;
|
|
6
|
-
};
|
|
7
|
-
lang: StringConstructor;
|
|
8
|
-
placeholder: StringConstructor;
|
|
9
|
-
showApplyData: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
blur: (...args: any[]) => void;
|
|
15
|
-
change: (...args: any[]) => void;
|
|
16
|
-
focus: (...args: any[]) => void;
|
|
17
|
-
"update:modelValue": (...args: any[]) => void;
|
|
18
|
-
apply: (...args: any[]) => void;
|
|
19
|
-
"remove-tag": (...args: any[]) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
modelValue: {
|
|
22
|
-
required: true;
|
|
23
|
-
type: import('vue').PropType<string | number>;
|
|
24
|
-
};
|
|
25
|
-
lang: StringConstructor;
|
|
26
|
-
placeholder: StringConstructor;
|
|
27
|
-
showApplyData: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{
|
|
32
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onApply?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}>, {
|
|
39
|
-
showApplyData: boolean;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
3
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
4
|
export default _default;
|
|
43
5
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { LocationUnifiedItem, LocationType } from '@jctrans-materials/shared';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
|
|
4
|
+
export type CarrierSearchVariant = "air-carrier" | "sea-carrier" | "air-line" | "sea-line";
|
|
4
5
|
declare function __VLS_template(): {
|
|
5
6
|
prefix?(_: {}): any;
|
|
6
7
|
option?(_: {
|
|
7
8
|
item: {
|
|
9
|
+
[x: string]: unknown;
|
|
8
10
|
id: number | string;
|
|
9
11
|
type: LocationType;
|
|
10
12
|
nameCn?: string | undefined;
|
|
@@ -34,14 +36,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
34
36
|
type: StringConstructor;
|
|
35
37
|
default: string;
|
|
36
38
|
};
|
|
39
|
+
variant: {
|
|
40
|
+
type: () => CarrierSearchVariant;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
37
43
|
type: {
|
|
38
44
|
type: () => LocationType;
|
|
39
|
-
|
|
45
|
+
default: string;
|
|
40
46
|
};
|
|
41
47
|
lineType: {
|
|
42
48
|
type: () => "air" | "shipping";
|
|
43
49
|
default: string;
|
|
44
50
|
};
|
|
51
|
+
reportType: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
45
55
|
placeholder: {
|
|
46
56
|
type: StringConstructor;
|
|
47
57
|
default: string;
|
|
@@ -74,14 +84,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
74
84
|
type: StringConstructor;
|
|
75
85
|
default: string;
|
|
76
86
|
};
|
|
87
|
+
variant: {
|
|
88
|
+
type: () => CarrierSearchVariant;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
77
91
|
type: {
|
|
78
92
|
type: () => LocationType;
|
|
79
|
-
|
|
93
|
+
default: string;
|
|
80
94
|
};
|
|
81
95
|
lineType: {
|
|
82
96
|
type: () => "air" | "shipping";
|
|
83
97
|
default: string;
|
|
84
98
|
};
|
|
99
|
+
reportType: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
85
103
|
placeholder: {
|
|
86
104
|
type: StringConstructor;
|
|
87
105
|
default: string;
|
|
@@ -106,12 +124,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
106
124
|
onApply?: ((...args: any[]) => any) | undefined;
|
|
107
125
|
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
108
126
|
}>, {
|
|
127
|
+
type: LocationType;
|
|
109
128
|
modelValue: string | number | any[] | null | undefined;
|
|
110
129
|
placeholder: string;
|
|
111
130
|
lang: string;
|
|
112
|
-
|
|
131
|
+
variant: CarrierSearchVariant;
|
|
113
132
|
lineType: "air" | "shipping";
|
|
133
|
+
reportType: string;
|
|
114
134
|
multiple: boolean;
|
|
135
|
+
showApplyData: boolean;
|
|
115
136
|
defaultOptions: LocationUnifiedItem[];
|
|
116
137
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
117
138
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { LocationType } from '@jctrans-materials/shared';
|
|
2
2
|
|
|
3
|
-
export declare function getCountryApi(key: string): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').
|
|
4
|
-
export declare function searchAllApi(key: string, types: LocationType[]): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').
|
|
5
|
-
export declare function searchByNameApi(key: string, types?: LocationType[], other?: {}): Promise<
|
|
6
|
-
|
|
7
|
-
total: number;
|
|
8
|
-
current: number;
|
|
9
|
-
size: number;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const searchByIdWithTypeApi: (id: string | number | Array<number | string>, type: LocationType) => Promise<{
|
|
12
|
-
records: import('@jctrans-materials/shared').LocationUnifiedItem[];
|
|
13
|
-
total: number;
|
|
14
|
-
current: number;
|
|
15
|
-
size: number;
|
|
16
|
-
}>;
|
|
3
|
+
export declare function getCountryApi(key: string): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').LocationUnifiedItem>>;
|
|
4
|
+
export declare function searchAllApi(key: string, types: LocationType[]): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').LocationUnifiedItem>>;
|
|
5
|
+
export declare function searchByNameApi(key: string, types?: LocationType[], other?: {}): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').LocationUnifiedItem>>;
|
|
6
|
+
export declare const searchByIdWithTypeApi: (id: string | number | Array<number | string>, type: LocationType) => any;
|
|
@@ -26,8 +26,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
26
|
onApply?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
lang: string;
|
|
29
|
-
multiple: boolean;
|
|
30
29
|
reportType: ReportType;
|
|
30
|
+
multiple: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { LocationType } from '@jctrans-materials/shared';
|
|
2
2
|
|
|
3
|
-
export declare function getCountryApi(key: string): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').
|
|
4
|
-
export declare function searchAllApi(key: string, types: LocationType[]): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').
|
|
5
|
-
export declare function searchByNameApi(key: string, types?: LocationType[], other?: {}): Promise<
|
|
6
|
-
|
|
7
|
-
total: number;
|
|
8
|
-
current: number;
|
|
9
|
-
size: number;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const searchByIdWithTypeApi: (id: string | number | Array<number | string>, type: LocationType) => Promise<{
|
|
12
|
-
records: import('@jctrans-materials/shared').LocationUnifiedItem[];
|
|
13
|
-
total: number;
|
|
14
|
-
current: number;
|
|
15
|
-
size: number;
|
|
16
|
-
}>;
|
|
3
|
+
export declare function getCountryApi(key: string): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').LocationUnifiedItem>>;
|
|
4
|
+
export declare function searchAllApi(key: string, types: LocationType[]): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').LocationUnifiedItem>>;
|
|
5
|
+
export declare function searchByNameApi(key: string, types?: LocationType[], other?: {}): Promise<import('@jctrans-materials/shared').BaseResponse<import('@jctrans-materials/shared').LocationUnifiedItem>>;
|
|
6
|
+
export declare const searchByIdWithTypeApi: (id: string | number | Array<number | string>, type: LocationType) => any;
|
|
@@ -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;
|
|
@@ -98,8 +98,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
98
98
|
disabled: boolean;
|
|
99
99
|
modelValue: SearchItem | SearchItem[] | null;
|
|
100
100
|
lang: "" | "en" | "cn" | "en-US" | "zh-CN";
|
|
101
|
-
showApplyData: boolean;
|
|
102
101
|
multiple: boolean;
|
|
102
|
+
showApplyData: boolean;
|
|
103
103
|
collapseTags: boolean;
|
|
104
104
|
historyKey: string;
|
|
105
105
|
parentId: number | string | null;
|
package/dist/gio.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
|
|
3
|
-
export type TrackAttrs = Record<string, string | number | Array<string | number
|
|
3
|
+
export type TrackAttrs = Record<string, string | number | Array<string | number> | null | undefined>;
|
|
4
4
|
export type TrackDirectiveValue = string | {
|
|
5
5
|
event?: string;
|
|
6
6
|
name?: string;
|
|
@@ -39,6 +39,13 @@ export type TrackConfig = {
|
|
|
39
39
|
idMapping?: boolean;
|
|
40
40
|
hashtag?: boolean;
|
|
41
41
|
serverUrl?: string;
|
|
42
|
+
performance?: {
|
|
43
|
+
monitor?: boolean;
|
|
44
|
+
exception?: boolean;
|
|
45
|
+
network?: boolean | {
|
|
46
|
+
exclude?: string | RegExp | Array<string | RegExp>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
42
49
|
};
|
|
43
50
|
};
|
|
44
51
|
export type GioPublicApi = {
|