@jctrans-materials/comps-vue3 1.0.40-beta.8 → 1.0.40
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/SeaCarrierSearch.d.ts +1 -39
- package/dist/components/JcCarrierSearch/SeaLineSearch.d.ts +1 -39
- package/dist/components/JcCarrierSearch/index.d.ts +14 -3
- package/dist/components/JcMSearch/common.d.ts +4 -14
- package/dist/components/JcSearch/common.d.ts +4 -14
- package/dist/components/JcSearch/index.d.ts +1 -1
- package/dist/gio.d.ts +7 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.css +1 -1
- package/dist/index.esm.js +1075 -686
- package/package.json +2 -2
- 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 & {
|
|
@@ -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,6 +1,7 @@
|
|
|
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?(_: {
|
|
@@ -35,9 +36,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
36
|
type: StringConstructor;
|
|
36
37
|
default: string;
|
|
37
38
|
};
|
|
39
|
+
variant: {
|
|
40
|
+
type: () => CarrierSearchVariant;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
38
43
|
type: {
|
|
39
44
|
type: () => LocationType;
|
|
40
|
-
|
|
45
|
+
default: string;
|
|
41
46
|
};
|
|
42
47
|
lineType: {
|
|
43
48
|
type: () => "air" | "shipping";
|
|
@@ -79,9 +84,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
84
|
type: StringConstructor;
|
|
80
85
|
default: string;
|
|
81
86
|
};
|
|
87
|
+
variant: {
|
|
88
|
+
type: () => CarrierSearchVariant;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
82
91
|
type: {
|
|
83
92
|
type: () => LocationType;
|
|
84
|
-
|
|
93
|
+
default: string;
|
|
85
94
|
};
|
|
86
95
|
lineType: {
|
|
87
96
|
type: () => "air" | "shipping";
|
|
@@ -115,13 +124,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
124
|
onApply?: ((...args: any[]) => any) | undefined;
|
|
116
125
|
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
117
126
|
}>, {
|
|
127
|
+
type: LocationType;
|
|
118
128
|
modelValue: string | number | any[] | null | undefined;
|
|
119
129
|
placeholder: string;
|
|
120
130
|
lang: string;
|
|
121
|
-
|
|
131
|
+
variant: CarrierSearchVariant;
|
|
122
132
|
lineType: "air" | "shipping";
|
|
123
133
|
reportType: string;
|
|
124
134
|
multiple: boolean;
|
|
135
|
+
showApplyData: boolean;
|
|
125
136
|
defaultOptions: LocationUnifiedItem[];
|
|
126
137
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
127
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;
|
|
@@ -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;
|
|
@@ -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
|
@@ -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 = {
|