@jctrans-materials/comps-vue2 1.0.37-beta.0 → 1.0.37-beta.2

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,56 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ modelValue: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: undefined;
9
+ };
10
+ lang: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showApplyData: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }, {
23
+ carrierId: import('vue').WritableComputedRef<string | number>;
24
+ currentPlaceholder: import('vue').ComputedRef<string>;
25
+ onCarrierChange: (value: string | number) => void;
26
+ lang: string;
27
+ showApplyData: boolean;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "update:modelValue" | "update:value" | "change" | "apply")[], string, Readonly<import('vue').ExtractPropTypes<{
29
+ value: {
30
+ type: (StringConstructor | NumberConstructor)[];
31
+ default: string;
32
+ };
33
+ modelValue: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: undefined;
36
+ };
37
+ lang: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ placeholder: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ showApplyData: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>>, {
50
+ value: string | number;
51
+ modelValue: string | number;
52
+ lang: string;
53
+ placeholder: string;
54
+ showApplyData: boolean;
55
+ }>;
56
+ export default _default;
@@ -0,0 +1,56 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ modelValue: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: undefined;
9
+ };
10
+ lang: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showApplyData: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }, {
23
+ carrierId: import('vue').WritableComputedRef<string | number>;
24
+ currentPlaceholder: import('vue').ComputedRef<string>;
25
+ onCarrierChange: (value: string | number) => void;
26
+ lang: string;
27
+ showApplyData: boolean;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "update:modelValue" | "update:value" | "change" | "apply")[], string, Readonly<import('vue').ExtractPropTypes<{
29
+ value: {
30
+ type: (StringConstructor | NumberConstructor)[];
31
+ default: string;
32
+ };
33
+ modelValue: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: undefined;
36
+ };
37
+ lang: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ placeholder: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ showApplyData: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>>, {
50
+ value: string | number;
51
+ modelValue: string | number;
52
+ lang: string;
53
+ placeholder: string;
54
+ showApplyData: boolean;
55
+ }>;
56
+ export default _default;
@@ -0,0 +1,56 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ modelValue: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: undefined;
9
+ };
10
+ lang: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showApplyData: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }, {
23
+ carrierId: import('vue').WritableComputedRef<string | number>;
24
+ currentPlaceholder: import('vue').ComputedRef<string>;
25
+ onCarrierChange: (value: string | number) => void;
26
+ lang: string;
27
+ showApplyData: boolean;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "update:modelValue" | "update:value" | "change" | "apply")[], string, Readonly<import('vue').ExtractPropTypes<{
29
+ value: {
30
+ type: (StringConstructor | NumberConstructor)[];
31
+ default: string;
32
+ };
33
+ modelValue: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: undefined;
36
+ };
37
+ lang: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ placeholder: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ showApplyData: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>>, {
50
+ value: string | number;
51
+ modelValue: string | number;
52
+ lang: string;
53
+ placeholder: string;
54
+ showApplyData: boolean;
55
+ }>;
56
+ export default _default;
@@ -0,0 +1,56 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ modelValue: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: undefined;
9
+ };
10
+ lang: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showApplyData: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }, {
23
+ carrierId: import('vue').WritableComputedRef<string | number>;
24
+ currentPlaceholder: import('vue').ComputedRef<string>;
25
+ onCarrierChange: (value: string | number) => void;
26
+ lang: string;
27
+ showApplyData: boolean;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "update:modelValue" | "update:value" | "change" | "apply")[], string, Readonly<import('vue').ExtractPropTypes<{
29
+ value: {
30
+ type: (StringConstructor | NumberConstructor)[];
31
+ default: string;
32
+ };
33
+ modelValue: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: undefined;
36
+ };
37
+ lang: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ placeholder: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ showApplyData: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>>, {
50
+ value: string | number;
51
+ modelValue: string | number;
52
+ lang: string;
53
+ placeholder: string;
54
+ showApplyData: boolean;
55
+ }>;
56
+ export default _default;
@@ -0,0 +1,121 @@
1
+ import { LocationUnifiedItem, LocationType } from '@jctrans-materials/shared';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ value: {
5
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
6
+ default: undefined;
7
+ };
8
+ modelValue: {
9
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
10
+ default: undefined;
11
+ };
12
+ lang: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ type: {
17
+ type: () => LocationType;
18
+ required: true;
19
+ };
20
+ lineType: {
21
+ type: () => "air" | "shipping";
22
+ default: string;
23
+ };
24
+ placeholder: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ multiple: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ showApplyData: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ defaultOptions: {
37
+ type: () => LocationUnifiedItem[];
38
+ default: () => never[];
39
+ };
40
+ }, {
41
+ selectRef: import('vue').Ref<any>;
42
+ innerValue: import('vue').WritableComputedRef<string | number | unknown[]>;
43
+ loading: import('vue').Ref<boolean>;
44
+ options: import('vue').Ref<{
45
+ id: number | string;
46
+ type: LocationType;
47
+ nameCn?: string | undefined;
48
+ nameEn?: string | undefined;
49
+ display?: string | undefined;
50
+ displayEn?: string | undefined;
51
+ displayCn?: string | undefined;
52
+ code?: string | undefined;
53
+ scacCode?: string | undefined;
54
+ iataCode?: string | undefined;
55
+ carrierCode?: string | undefined;
56
+ lineType?: string | undefined;
57
+ continent?: Record<string, any> | undefined;
58
+ country?: Record<string, any> | undefined;
59
+ city?: Record<string, any> | undefined;
60
+ province?: Record<string, any> | undefined;
61
+ raw?: any;
62
+ }[]>;
63
+ currentPlaceholder: import('vue').ComputedRef<string>;
64
+ isEn: import('vue').ComputedRef<boolean>;
65
+ onRemoteMethod: (query: string) => void;
66
+ handleVisibleChange: (visible: boolean) => void;
67
+ handleClear: () => void;
68
+ handleChange: (val: any) => void;
69
+ handleApply: () => void;
70
+ ICON_MORE: string;
71
+ showApplyData: boolean;
72
+ normalizeOptionValue: (id: any) => any;
73
+ multiple: boolean;
74
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "update:modelValue" | "update:value" | "change" | "apply")[], string, Readonly<import('vue').ExtractPropTypes<{
75
+ value: {
76
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
77
+ default: undefined;
78
+ };
79
+ modelValue: {
80
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
81
+ default: undefined;
82
+ };
83
+ lang: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ type: {
88
+ type: () => LocationType;
89
+ required: true;
90
+ };
91
+ lineType: {
92
+ type: () => "air" | "shipping";
93
+ default: string;
94
+ };
95
+ placeholder: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ multiple: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ showApplyData: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ defaultOptions: {
108
+ type: () => LocationUnifiedItem[];
109
+ default: () => never[];
110
+ };
111
+ }>>, {
112
+ value: string | number | unknown[];
113
+ modelValue: string | number | unknown[];
114
+ lang: string;
115
+ lineType: "air" | "shipping";
116
+ placeholder: string;
117
+ multiple: boolean;
118
+ showApplyData: boolean;
119
+ defaultOptions: LocationUnifiedItem[];
120
+ }>;
121
+ export default _default;
@@ -159,16 +159,16 @@ declare const _default: import('vue').DefineComponent<{
159
159
  default: boolean;
160
160
  };
161
161
  }>>, {
162
+ value: unknown[] | Record<string, any>;
163
+ lang: string;
164
+ placeholder: string;
162
165
  multiple: boolean;
166
+ showApplyData: boolean;
163
167
  disabled: boolean;
164
- value: Record<string, any> | unknown[];
165
168
  collapseTags: boolean;
166
169
  searchTypeList: unknown[];
167
170
  historyKey: string;
168
- lang: string;
169
- placeholder: string;
170
171
  showSearchIcon: boolean;
171
172
  showItemTag: boolean;
172
- showApplyData: boolean;
173
173
  }>;
174
174
  export default _default;