@jctrans-materials/comps-vue3 1.0.41-beta.4 → 1.0.41-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.
@@ -0,0 +1,89 @@
1
+ interface CompanyOptionItem {
2
+ value: string;
3
+ code: string;
4
+ kqId: string;
5
+ nameCn: string;
6
+ [key: string]: any;
7
+ }
8
+ interface Props {
9
+ lang?: string;
10
+ companyName?: string;
11
+ countryId: string | number | null;
12
+ useKq?: boolean;
13
+ kqCode?: string | number;
14
+ kqInfo?: Record<string, any>;
15
+ city?: Record<string, any>;
16
+ disabled?: boolean;
17
+ defaultFirstOption?: boolean;
18
+ allowCreate?: boolean;
19
+ }
20
+ declare function __VLS_template(): {
21
+ prefix?(_: {}): any;
22
+ };
23
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
24
+ lang: string;
25
+ companyName: string;
26
+ useKq: boolean;
27
+ kqCode: string;
28
+ kqInfo: () => {};
29
+ city: () => {};
30
+ disabled: boolean;
31
+ defaultFirstOption: boolean;
32
+ allowCreate: boolean;
33
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ "update:companyName": (val: string) => void;
35
+ "update:useKq": (val: boolean) => void;
36
+ "update:kqCode": (val: string) => void;
37
+ "update:kqInfo": (val: Record<string, any>) => void;
38
+ change: (val: string | CompanyOptionItem | undefined) => void;
39
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
40
+ lang: string;
41
+ companyName: string;
42
+ useKq: boolean;
43
+ kqCode: string;
44
+ kqInfo: () => {};
45
+ city: () => {};
46
+ disabled: boolean;
47
+ defaultFirstOption: boolean;
48
+ allowCreate: boolean;
49
+ }>>> & Readonly<{
50
+ onChange?: ((val: string | CompanyOptionItem | undefined) => any) | undefined;
51
+ "onUpdate:companyName"?: ((val: string) => any) | undefined;
52
+ "onUpdate:useKq"?: ((val: boolean) => any) | undefined;
53
+ "onUpdate:kqCode"?: ((val: string) => any) | undefined;
54
+ "onUpdate:kqInfo"?: ((val: Record<string, any>) => any) | undefined;
55
+ }>, {
56
+ disabled: boolean;
57
+ city: Record<string, any>;
58
+ lang: string;
59
+ companyName: string;
60
+ useKq: boolean;
61
+ kqCode: string | number;
62
+ kqInfo: Record<string, any>;
63
+ defaultFirstOption: boolean;
64
+ allowCreate: boolean;
65
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
66
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
67
+ export default _default;
68
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
+ type __VLS_TypePropsToRuntimeProps<T> = {
70
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
71
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
+ } : {
73
+ type: import('vue').PropType<T[K]>;
74
+ required: true;
75
+ };
76
+ };
77
+ type __VLS_WithDefaults<P, D> = {
78
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
79
+ default: D[K];
80
+ }> : P[K];
81
+ };
82
+ type __VLS_Prettify<T> = {
83
+ [K in keyof T]: T[K];
84
+ } & {};
85
+ type __VLS_WithTemplateSlots<T, S> = T & {
86
+ new (): {
87
+ $slots: S;
88
+ };
89
+ };
@@ -73,8 +73,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
73
73
  change: (...args: any[]) => void;
74
74
  focus: (...args: any[]) => void;
75
75
  "update:modelValue": (...args: any[]) => void;
76
- apply: (...args: any[]) => void;
77
76
  "remove-tag": (...args: any[]) => void;
77
+ apply: (...args: any[]) => void;
78
78
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
79
79
  modelValue: {
80
80
  type: PropType<string | number | Array<any> | null | undefined>;
@@ -121,17 +121,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
121
121
  onChange?: ((...args: any[]) => any) | undefined;
122
122
  onFocus?: ((...args: any[]) => any) | undefined;
123
123
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
124
- onApply?: ((...args: any[]) => any) | undefined;
125
124
  "onRemove-tag"?: ((...args: any[]) => any) | undefined;
125
+ onApply?: ((...args: any[]) => any) | undefined;
126
126
  }>, {
127
127
  type: LocationType;
128
128
  modelValue: string | number | any[] | null | undefined;
129
129
  placeholder: string;
130
130
  lang: string;
131
+ multiple: boolean;
131
132
  variant: CarrierSearchVariant;
132
133
  lineType: "air" | "shipping";
133
134
  reportType: string;
134
- multiple: boolean;
135
135
  showApplyData: boolean;
136
136
  defaultOptions: LocationUnifiedItem[];
137
137
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, 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
- reportType: ReportType;
30
29
  multiple: boolean;
30
+ reportType: ReportType;
31
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
32
  export default _default;
33
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -99,8 +99,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
99
99
  modelValue: SearchItem | SearchItem[] | null;
100
100
  lang: "" | "en" | "cn" | "en-US" | "zh-CN";
101
101
  multiple: boolean;
102
- showApplyData: boolean;
103
102
  collapseTags: boolean;
103
+ showApplyData: boolean;
104
104
  historyKey: string;
105
105
  parentId: number | string | null;
106
106
  parentType: "Country" | "City" | null;
@@ -34,8 +34,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
34
34
  }>, {
35
35
  modelValue: any[];
36
36
  placeholder: string;
37
- lineType: "air" | "shipping";
38
37
  multiple: boolean;
38
+ lineType: "air" | "shipping";
39
39
  lineId: number | null;
40
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
41
  export default _default;