zhihao-ui 1.2.5 → 1.2.8
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/es/{BaseInfo-CboHDiqp.js → BaseInfo-Dv-eon6t.js} +1 -1
- package/dist/es/Button-DBbUF88w.js +51 -0
- package/dist/es/{DatePicker-AcRbvS-8.js → DatePicker-CWQoV03Q.js} +13 -13
- package/dist/es/{DetailHeader-CoaVXtN3.js → DetailHeader-C_mAB8-2.js} +3 -3
- package/dist/es/{DetailSubTitle-Csp4LjFx.js → DetailSubTitle-DD7Yllhf.js} +2 -2
- package/dist/es/Dialog-DyDSVm-6.js +109 -0
- package/dist/es/{DiyDataTable-DBonLs6p.js → DiyDataTable-cJVfvtax.js} +5 -4
- package/dist/es/{EditInfoPair-DBbRqppY.js → EditInfoPair-D0b5jY5Y.js} +3 -3
- package/dist/es/{FileWrapper-BwQhQopY.js → FileWrapper-CMSYWmEz.js} +4 -4
- package/dist/es/{Grid-B-FutGih.js → Grid-B5O9dZNI.js} +1 -1
- package/dist/es/{InfoPair-WmMCXoUh.js → InfoPair-Do3sSVw-.js} +3 -3
- package/dist/es/{Input-DFnH7_jo.js → Input-DVpd0Yte.js} +11 -11
- package/dist/es/{Loading-BW6Doqh_.js → Loading-DwtfOhMD.js} +2 -2
- package/dist/es/Map-CMiThYaG.js +1681 -0
- package/dist/es/MessageBox-BowhqMYW.js +48 -0
- package/dist/es/{MoneyInput-BwkFhS2B.js → MoneyInput-CaTrJLi1.js} +7 -7
- package/dist/es/{PageHeadPanel-BhR3Bq1A.js → PageHeadPanel-_mKu2rMQ.js} +2 -2
- package/dist/es/{ToolTips-BEYXkt4n.js → ToolTips-BTCP0N--.js} +3 -3
- package/dist/es/index.js +34 -30
- package/dist/es/{utils-B1dH8Kx6.js → utils-DZ8-2Fg2.js} +1 -1
- package/dist/es/{vendor-Cu-cEPs_.js → vendor-BY-fHNA3.js} +9646 -8896
- package/dist/index.css +1 -1
- package/dist/types/components/ButtonGroup/ButtonGroup.test.d.ts +1 -0
- package/dist/types/components/ButtonGroup/ButtonGroup.vue.d.ts +37 -0
- package/dist/types/components/ButtonGroup/index.d.ts +38 -0
- package/dist/types/components/Dialog/Dialog.test.d.ts +1 -0
- package/dist/types/components/Dialog/Dialog.vue.d.ts +187 -14
- package/dist/types/components/Dialog/index.d.ts +296 -25
- package/dist/types/components/Dialog/types.d.ts +15 -5
- package/dist/types/components/DiyDataTable/index.d.ts +1 -0
- package/dist/types/components/Map/Map.vue.d.ts +25 -3
- package/dist/types/components/Map/config.d.ts +2 -0
- package/dist/types/components/Map/enum/index.d.ts +1 -0
- package/dist/types/components/Map/enum/ship.d.ts +10 -0
- package/dist/types/components/Map/index.d.ts +69 -6
- package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +0 -111
- package/dist/types/components/Map/interface/entity/render.d.ts +32 -0
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +4 -0
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +5 -2
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +2 -2
- package/dist/types/components/Map/interface/entity/shipTrack.d.ts +0 -4
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +171 -0
- package/dist/types/components/Map/interface/index.d.ts +5 -3
- package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +20 -0
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +6 -3
- package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +3 -0
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +1 -1
- package/dist/types/components/Map/render/drawPolygon.d.ts +9 -0
- package/dist/types/components/Map/render/renderMarker.d.ts +6 -0
- package/dist/types/components/Map/render/renderShip.d.ts +6 -1
- package/dist/types/components/Map/render/renderTruck.d.ts +7 -2
- package/dist/types/components/Map/utils/format.d.ts +2 -0
- package/dist/types/components/Map/utils/store.d.ts +3 -0
- package/dist/types/components/MessageBox/MessageBox.test.d.ts +1 -0
- package/dist/types/components/MessageBox/MessageBox.vue.d.ts +11 -218
- package/dist/types/components/MessageBox/index.d.ts +4 -342
- package/dist/types/components/index.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +26 -16
- package/package.json +1 -1
- package/dist/es/Button-C1Q6WvkI.js +0 -32
- package/dist/es/Dialog-CtU-qGdR.js +0 -74
- package/dist/es/Map-BLQnapy4.js +0 -1183
- package/dist/es/MessageBox-CjuBt74R.js +0 -100
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
template?: "operation-fix-button" | string;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
template: string;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
template: string;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
template: "operation-fix-button" | string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const ZhButtonGroup: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
template: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
8
|
+
template: "operation-fix-button" | string;
|
|
9
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
|
+
P: {};
|
|
11
|
+
B: {};
|
|
12
|
+
D: {};
|
|
13
|
+
C: {};
|
|
14
|
+
M: {};
|
|
15
|
+
Defaults: {};
|
|
16
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
template: {
|
|
18
|
+
type: import('vue').PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
22
|
+
template: "operation-fix-button" | string;
|
|
23
|
+
}>;
|
|
24
|
+
__isFragment?: never;
|
|
25
|
+
__isTeleport?: never;
|
|
26
|
+
__isSuspense?: never;
|
|
27
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
template: {
|
|
29
|
+
type: import('vue').PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
33
|
+
template: "operation-fix-button" | string;
|
|
34
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
35
|
+
$slots: {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
};
|
|
38
|
+
}) & import('vue').Plugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,44 +1,217 @@
|
|
|
1
|
-
|
|
2
1
|
declare function __VLS_template(): {
|
|
2
|
+
header?(_: {}): any;
|
|
3
3
|
default?(_: {}): any;
|
|
4
|
+
footer?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
7
|
modelValue: import('vue').PropType<boolean>;
|
|
8
|
+
size: {
|
|
9
|
+
type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
top: {
|
|
13
|
+
type: import('vue').PropType<string>;
|
|
14
|
+
};
|
|
7
15
|
title: {
|
|
8
16
|
type: import('vue').PropType<string>;
|
|
9
|
-
required: true;
|
|
10
17
|
};
|
|
11
|
-
|
|
18
|
+
appendToBody: {
|
|
19
|
+
type: import('vue').PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
appendTo: {
|
|
22
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
23
|
+
};
|
|
24
|
+
beforeClose: {
|
|
25
|
+
type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
26
|
+
};
|
|
27
|
+
destroyOnClose: {
|
|
28
|
+
type: import('vue').PropType<boolean>;
|
|
29
|
+
};
|
|
30
|
+
closeOnClickModal: {
|
|
31
|
+
type: import('vue').PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
closeOnPressEscape: {
|
|
35
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
36
|
+
};
|
|
37
|
+
lockScroll: {
|
|
38
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
39
|
+
};
|
|
40
|
+
modal: {
|
|
41
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
42
|
+
};
|
|
43
|
+
openDelay: {
|
|
44
|
+
type: import('vue').PropType<number>;
|
|
45
|
+
};
|
|
46
|
+
closeDelay: {
|
|
47
|
+
type: import('vue').PropType<number>;
|
|
48
|
+
};
|
|
49
|
+
modalClass: {
|
|
50
|
+
type: import('vue').PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
width: {
|
|
53
|
+
type: import('vue').PropType<string | number>;
|
|
54
|
+
};
|
|
55
|
+
zIndex: {
|
|
56
|
+
type: import('vue').PropType<number>;
|
|
57
|
+
};
|
|
58
|
+
trapFocus: {
|
|
59
|
+
type: import('vue').PropType<boolean>;
|
|
60
|
+
};
|
|
61
|
+
headerAriaLevel: {
|
|
62
|
+
type: import('vue').PropType<string>;
|
|
63
|
+
};
|
|
64
|
+
center: {
|
|
65
|
+
type: import('vue').PropType<boolean>;
|
|
66
|
+
};
|
|
67
|
+
alignCenter: {
|
|
68
|
+
type: import('vue').PropType<boolean>;
|
|
69
|
+
};
|
|
70
|
+
closeIcon: {
|
|
71
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
|
72
|
+
};
|
|
73
|
+
draggable: {
|
|
74
|
+
type: import('vue').PropType<boolean>;
|
|
75
|
+
};
|
|
76
|
+
overflow: {
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
78
|
+
};
|
|
79
|
+
fullscreen: {
|
|
80
|
+
type: import('vue').PropType<boolean>;
|
|
81
|
+
};
|
|
82
|
+
showClose: {
|
|
83
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
84
|
+
};
|
|
85
|
+
ariaLevel: {
|
|
86
|
+
type: import('vue').PropType<string>;
|
|
87
|
+
};
|
|
88
|
+
subTitle: {
|
|
89
|
+
type: import('vue').PropType<string>;
|
|
90
|
+
};
|
|
91
|
+
cancelButtonText: {
|
|
12
92
|
type: import('vue').PropType<string>;
|
|
93
|
+
default: string;
|
|
13
94
|
};
|
|
14
|
-
|
|
95
|
+
confirmButtonText: {
|
|
15
96
|
type: import('vue').PropType<string>;
|
|
97
|
+
default: string;
|
|
16
98
|
};
|
|
17
|
-
|
|
99
|
+
confirmButtonDisabled: {
|
|
18
100
|
type: import('vue').PropType<boolean>;
|
|
101
|
+
default: boolean;
|
|
19
102
|
};
|
|
20
103
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
|
|
22
|
-
|
|
104
|
+
cancel: () => void;
|
|
105
|
+
confirm: () => void;
|
|
106
|
+
close: () => void;
|
|
23
107
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
108
|
modelValue: import('vue').PropType<boolean>;
|
|
109
|
+
size: {
|
|
110
|
+
type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
top: {
|
|
114
|
+
type: import('vue').PropType<string>;
|
|
115
|
+
};
|
|
25
116
|
title: {
|
|
26
117
|
type: import('vue').PropType<string>;
|
|
27
|
-
required: true;
|
|
28
118
|
};
|
|
29
|
-
|
|
119
|
+
appendToBody: {
|
|
120
|
+
type: import('vue').PropType<boolean>;
|
|
121
|
+
};
|
|
122
|
+
appendTo: {
|
|
123
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
124
|
+
};
|
|
125
|
+
beforeClose: {
|
|
126
|
+
type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
127
|
+
};
|
|
128
|
+
destroyOnClose: {
|
|
129
|
+
type: import('vue').PropType<boolean>;
|
|
130
|
+
};
|
|
131
|
+
closeOnClickModal: {
|
|
132
|
+
type: import('vue').PropType<boolean>;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
closeOnPressEscape: {
|
|
136
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
137
|
+
};
|
|
138
|
+
lockScroll: {
|
|
139
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
140
|
+
};
|
|
141
|
+
modal: {
|
|
142
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
143
|
+
};
|
|
144
|
+
openDelay: {
|
|
145
|
+
type: import('vue').PropType<number>;
|
|
146
|
+
};
|
|
147
|
+
closeDelay: {
|
|
148
|
+
type: import('vue').PropType<number>;
|
|
149
|
+
};
|
|
150
|
+
modalClass: {
|
|
151
|
+
type: import('vue').PropType<string>;
|
|
152
|
+
};
|
|
153
|
+
width: {
|
|
154
|
+
type: import('vue').PropType<string | number>;
|
|
155
|
+
};
|
|
156
|
+
zIndex: {
|
|
157
|
+
type: import('vue').PropType<number>;
|
|
158
|
+
};
|
|
159
|
+
trapFocus: {
|
|
160
|
+
type: import('vue').PropType<boolean>;
|
|
161
|
+
};
|
|
162
|
+
headerAriaLevel: {
|
|
163
|
+
type: import('vue').PropType<string>;
|
|
164
|
+
};
|
|
165
|
+
center: {
|
|
166
|
+
type: import('vue').PropType<boolean>;
|
|
167
|
+
};
|
|
168
|
+
alignCenter: {
|
|
169
|
+
type: import('vue').PropType<boolean>;
|
|
170
|
+
};
|
|
171
|
+
closeIcon: {
|
|
172
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
|
173
|
+
};
|
|
174
|
+
draggable: {
|
|
175
|
+
type: import('vue').PropType<boolean>;
|
|
176
|
+
};
|
|
177
|
+
overflow: {
|
|
178
|
+
type: import('vue').PropType<boolean>;
|
|
179
|
+
};
|
|
180
|
+
fullscreen: {
|
|
181
|
+
type: import('vue').PropType<boolean>;
|
|
182
|
+
};
|
|
183
|
+
showClose: {
|
|
184
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
185
|
+
};
|
|
186
|
+
ariaLevel: {
|
|
187
|
+
type: import('vue').PropType<string>;
|
|
188
|
+
};
|
|
189
|
+
subTitle: {
|
|
190
|
+
type: import('vue').PropType<string>;
|
|
191
|
+
};
|
|
192
|
+
cancelButtonText: {
|
|
30
193
|
type: import('vue').PropType<string>;
|
|
194
|
+
default: string;
|
|
31
195
|
};
|
|
32
|
-
|
|
196
|
+
confirmButtonText: {
|
|
33
197
|
type: import('vue').PropType<string>;
|
|
198
|
+
default: string;
|
|
34
199
|
};
|
|
35
|
-
|
|
200
|
+
confirmButtonDisabled: {
|
|
36
201
|
type: import('vue').PropType<boolean>;
|
|
202
|
+
default: boolean;
|
|
37
203
|
};
|
|
38
204
|
}>> & Readonly<{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
205
|
+
onCancel?: (() => any) | undefined;
|
|
206
|
+
onConfirm?: (() => any) | undefined;
|
|
207
|
+
onClose?: (() => any) | undefined;
|
|
208
|
+
}>, {
|
|
209
|
+
size: "small" | "middle" | "large" | "extraLarge";
|
|
210
|
+
closeOnClickModal: boolean;
|
|
211
|
+
cancelButtonText: string;
|
|
212
|
+
confirmButtonText: string;
|
|
213
|
+
confirmButtonDisabled: boolean;
|
|
214
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
215
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
216
|
export default _default;
|
|
44
217
|
type __VLS_WithTemplateSlots<T, S> = T & {
|